* emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8e6a67b7
DA
12012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4 frame-first-window, frame-root-window, frame-selected-window,
5 minibuffer-selected-window, minibuffer-window,
6 window-absolute-pixel-edges, window-at, window-body-height,
7 window-body-width, window-display-table, window-combination-limit,
8 window-frame, window-fringes, window-inside-absolute-pixel-edges,
9 window-inside-edges, window-inside-pixel-edges, window-left-child,
10 window-left-column, window-margins, window-next-buffers,
11 window-next-sibling, window-new-normal, window-new-total,
12 window-normal-size, window-parameter, window-parameters, window-parent,
13 window-pixel-edges, window-point, window-prev-buffers,
14 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
15 window-start, window-text-height, window-top-child, window-top-line,
16 window-total-height, window-total-width and window-use-time to the list
17 of functions without side-effects.
18 (toplevel): Add window-valid-p to the list of error-free functions
19 without side-effects.
20
53fc914f
AM
212012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22
23 * textmodes/ispell.el (ispell-program-name): Update
24 spellchecker parameters when customized.
25
9749e2b0
GM
262012-11-04 Glenn Morris <rgm@gnu.org>
27
28 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
29
2cbafa56
CY
302012-11-04 Chong Yidong <cyd@gnu.org>
31
32 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
33 same-window-* variables.
34
85178ca1
JL
352012-11-04 Juri Linkov <juri@jurta.org>
36
37 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
38 (isearch-describe-key, isearch-describe-mode): Use a display
39 action instead of binding same-window-* variables (Bug#10040).
40
5c677d44
GM
412012-11-03 Glenn Morris <rgm@gnu.org>
42
49138400
GM
43 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
44 Rename handler properties back from cl-- to cl-. (Bug#12788)
45
5c677d44
GM
46 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
47
1d4341f9
EZ
482012-11-03 Eli Zaretskii <eliz@gnu.org>
49
50 * term/pc-win.el: Don't load term/internal from here.
51
52 * loadup.el: Load term/internal from here.
53
12fd5ee1
FEG
542012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
55
56 * progmodes/python.el (inferior-python-mode): Fix hang in
57 jit-lock (Bug#12645).
58
43bcfda6
MR
592012-11-03 Martin Rudalics <rudalics@gmx.at>
60
61 * window.el (switch-to-visible-buffer)
62 (switch-to-buffer-preserve-window-point): Fix doc-strings.
63
376a8e83
GM
642012-11-03 Glenn Morris <rgm@gnu.org>
65
66 * emacs-lisp/cl-lib.el (cl--random-time):
67 Rename from cl-random-time. (Bug#12773)
68 (cl--gensym-counter, cl--random-state): Update callers.
69 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
70
0f7b074f
CY
712012-11-03 Chong Yidong <cyd@gnu.org>
72
73 * cus-start.el: Make cursor-type customizable (Bug#11633).
74
3a6851d9
GM
752012-11-02 Glenn Morris <rgm@gnu.org>
76
00a3b041
GM
77 * filecache.el: No need to load find-lisp when compiling.
78 (find-lisp-find-files): Autoload it.
79 (file-cache-add-directory-recursively): Don't require find-lisp.
80
11fef14a
GM
81 * image.el (image-type-from-file-name): Trivial simplification.
82
3a6851d9
GM
83 * emacs-lisp/bytecomp.el (byte-compile-eval):
84 Decouple "noruntime" and "cl-functions" warnings.
85
b4b096e4
SB
862012-11-01 Stephen Berman <stephen.berman@gmx.net>
87
88 * play/gomoku.el (gomoku-display-statistics): Update mode line
89 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
90
218e997a
MR
912012-10-31 Martin Rudalics <rudalics@gmx.at>
92
93 * window.el (quit-restore-window): If the window has been
94 created on an existing frame and ended up as the sole window on
95 that frame, do not delete it (Bug#12764).
96
b08b6da7
SM
972012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
98
3618df45
SM
99 * progmodes/sh-script.el (sh--inside-noncommand-expression):
100 Rename from sh--inside-arithmetic-expression, handle more cases
101 (bug#11263).
102
b08b6da7
SM
103 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
104 (sh-font-lock-open-heredoc): Use it (bug#12770).
105
4ddedf94
GM
1062012-10-30 Glenn Morris <rgm@gnu.org>
107
f43a5263
GM
108 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
109
4ddedf94
GM
110 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
111
748b0d84
CY
1122012-10-29 Chong Yidong <cyd@gnu.org>
113
b5dd9a77
CY
114 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
115 function key is stored in a keyboard macro (Bug#4894).
116
748b0d84
CY
117 * thingatpt.el (number-at-point): Apply a thing-at-point property.
118
e07fcbdc
SM
1192012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
120
d7f9cc85
SM
121 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
122 header comments".
123 (diff-unified->context, diff-context->unified)
124 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
125
c606253c
SM
126 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
127
e07fcbdc
SM
128 * files.el (find-alternate-file): Only ask one question (bug#12487).
129
894b9dd9
CY
1302012-10-29 Chong Yidong <cyd@gnu.org>
131
1dc2755a
CY
132 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
133 Suggested by Dan Nicolaescu (Bug#6326).
134
329c48d8
CY
135 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
136
2230fa5b 137 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 138
e84cad57
CY
139 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
140
1913c5f5
CY
141 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
142
894b9dd9
CY
143 * face-remap.el (face-remap-add-relative): Handle the case where a
144 face-remapping-alist entry is a cons cell (Bug#12762).
145
329c48d8
CY
1462012-10-29 Kevin Ryde <user42@zip.com.au>
147
148 * woman.el (woman-parse-numeric-value): Handle picas correctly
149 (Bug#12639).
150
a0ccbcbd
GM
1512012-10-29 Glenn Morris <rgm@gnu.org>
152
153 * emacs-lisp/cl.el (defsetf): Doc fix.
154
b3871e59
SM
1552012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
158 syntax to the matching opener, if any (bug#12547).
159 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
160 matching open as a "case-(".
161 (sh-smie-rc-grammar): Add a corresponding rule for it.
162
cd44022c
DH
1632012-10-28 Daniel Hackney <dan@haxney.org>
164
165 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
166 "PKGNAME-autoloads.el" in case we created it.
167
70edffb1
SM
1682012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
169
86957a0c
SM
170 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
171 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 172 (completion--twq-all): Disable too-strict assertions.
86957a0c 173
70edffb1
SM
174 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
175
d069271c
EZ
1762012-10-27 Eli Zaretskii <eliz@gnu.org>
177
178 * profiler.el (profiler-report-make-entry-part): Fix help-echo
179 text to match the real keybindings.
180
e2f022a3
JL
1812012-10-27 Juri Linkov <juri@jurta.org>
182
183 * wdired.el (wdired-keep-marker-rename): New defcustom.
184 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
185 (Bug#11795)
186
187 * dired.el (dired-keep-marker-rename): Add reference to
188 `wdired-keep-marker-rename' in the docstring.
189 Add default character value ?R to display initially in
190 Customization UI instead of ?@.
191
df171c23
MR
1922012-10-27 Martin Rudalics <rudalics@gmx.at>
193
194 * window.el (display-buffer): In doc-string describe
195 window-height and window-width alist entries.
196
197 * time.el (display-time-world): Restore fit-window-to-buffer
198 behavior.
199
05b621a6
CY
2002012-10-27 Chong Yidong <cyd@gnu.org>
201
202 * subr.el (insert-buffer-substring-as-yank): Doc fix.
203
55f197b2
J
2042012-10-26 Jambunathan K <kjambunathan@gmail.com>
205
206 * minibuffer.el (completion-category-overrides): New completion
207 category `bookmark' (bug#11131).
208
372212df
SM
2092012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
210
150f809c
SM
211 * emacs-lisp/advice.el (ad-assemble-advised-definition):
212 Silence bogus compiler warnings for ad-do-it.
213
372212df
SM
214 * bookmark.el (bookmark-completing-read): Set the completion category
215 to `bookmark' (bug#11131).
216
c5772569
B
2172012-10-26 Bastien <bzg@altern.org>
218 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * face-remap.el: Use lexical-binding.
221 (text-scale-adjust): Improve docstring. Use itself for the temporary
222 overlay-map bindings, so as to repeat the "Use..." message each time.
223
a2be0357
SM
2242012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
225
63314e57
SM
226 * emacs-lisp/macroexp.el (macroexp--expand-all):
227 Obey byte-compile-warning-enabled-p (bug#12486).
228
a2be0357
SM
229 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
230 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
231
8c7727c3
MR
2322012-10-26 Martin Rudalics <rudalics@gmx.at>
233
234 * mouse.el (mouse-drag-line): Move last form into preceding when
235 clause (Bug#12731).
236
237 * help.el (resize-temp-buffer-window): Fix doc-string.
238
3f2a848d
DE
2392012-10-25 David Engster <deng@randomsample.de>
240
241 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 242 Remove. This feature is already integrated in imenu.
3f2a848d
DE
243
244 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
245 always loaded. Require `speedbar' unconditionally.
246
a7723be6
SM
2472012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
248
aaabfc8b
SM
249 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
250
414a8595
SM
251 * minibuffer.el (minibuffer-force-complete): Fix thinko.
252
fb5b9475
SM
253 * net/ldap.el (ldap-search-internal): The official ldif format starts
254 with a "version: 1" header (bug#12724).
255
a7723be6
SM
256 * emacs-lisp/package.el (package-installed-p): Warn if not ready
257 (bug#12721).
258
a05cb6e3
GM
2592012-10-25 Glenn Morris <rgm@gnu.org>
260
261 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
262
3c92de70
SM
2632012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * minibuffer.el (minibuffer-force-complete): Use one more marker
266 for the temporary-overlay-map command (bug#12619).
267
a4b6d7c6
CY
2682012-10-24 Chong Yidong <cyd@gnu.org>
269
270 * time.el (display-time-world-mode): Derive from special-mode.
271 (display-time-world): Use display-buffer (Bug#12708).
272 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
273 (display-time-world-display): Wrap the final delete-char inside
274 inhibit-read-only.
a4b6d7c6 275
75e8f9d2
CY
2762012-10-24 Chong Yidong <cyd@gnu.org>
277
cd996018
CY
278 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
279 Doc fix.
280
75e8f9d2
CY
281 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
282
d92df117
SM
2832012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * minibuffer.el (completion--all-sorted-completions-location): New var.
286 (completion--cache-all-sorted-completions)
287 (completion--flush-all-sorted-completions): Use it.
288 (completion-in-region, completion-in-region--postch)
289 (completion-at-point, completion-help-at-point): Use markers in
290 completion-in-region--data (bug#12619).
291
9c3e39f3
SM
2922012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
293
c79825bd
SM
294 * progmodes/compile.el (compilation-start): Try to handle common
295 quoting of `cd' argument (bug#12640).
296
9c3e39f3
SM
297 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
298 (bug#12671).
299
a6709bc7
GM
3002012-10-23 Glenn Morris <rgm@gnu.org>
301
302 * progmodes/gud.el (gud-menu-map):
303 Check gdb-active-process is bound. (Bug#12358)
304
d1069532
SM
3052012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
306
d20d69c0
SM
307 * repeat.el (repeat): Set real-this-command (bug#12232).
308
d1069532
SM
309 * htmlfontify.el (hfy-post-html-hook):
310 * filesets.el (filesets-cache-fill-content-hook):
311 * arc-mode.el (archive-extract-hook):
312 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
313 * net/rcirc.el (rcirc-sentinel-functions)
314 (rcirc-receive-message-functions, rcirc-activity-functions)
315 (rcirc-print-functions):
316 * net/dbus.el (dbus-event-error-functions):
317 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
318 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
319 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
320 * term/sun.el (sun-raw-prefix-hooks):
321 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
322
f7eac6d8
MA
3232012-10-23 Michael Albinus <michael.albinus@gmx.de>
324
d1069532
SM
325 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
326 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
327 (tramp-smb-wait-for-output): Add timeout to
328 `tramp-accept-process-output' calls.
329
608d9d7c
CY
3302012-10-23 Chong Yidong <cyd@gnu.org>
331
49238e7f
CY
332 * faces.el (font-list-limit): Define as an obsolete variable.
333
334 * startup.el (command-line):
335 * cus-start.el: Don't refer to font-list-limit.
336
608d9d7c
CY
337 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
338
4ff5b1b2
SM
3392012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * subr.el (internal-temp-output-buffer-show): Rename from
342 temp-output-buffer-show, since previously compiled files expect this name.
343
ea1d4aac
GM
3442012-10-23 Glenn Morris <rgm@gnu.org>
345
346 * image.el (image-type-from-file-name): If multiple types match,
347 return the first one that is supported. (Bug#9045)
348
eda82a31
GM
3492012-10-22 Glenn Morris <rgm@gnu.org>
350
351 * image.el (imagemagick-enabled-types): Doc fix.
352
4f020bec
TA
3532012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
354
355 * progmodes/which-func.el (which-func-current): The hash-table may have
356 an explicit nil (bug#12338).
357
c77d37e2
SM
3582012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * electric.el (electric-pair-delete-selection-self-insert-function):
361 Rename to electric-pair-will-use-region, return a boolean.
362 (electric-pair-mode): Adjust accordingly. Don't require delsel.
363
364 * delsel.el (delete-selection-helper): Use a function instead of a hook.
365 (delete-selection-pre-hook): Use use-region-p.
366 (delete-selection-self-insert-function): Remove.
367 (self-insert-command): Obey self-insert-uses-region-functions.
368 (self-insert-iso): Revert to previous setting, since we don't actually
369 know what that command does.
370 (delete-selection-self-insert-hooks): Remove.
371
b1d39ccc
SL
3722012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
373
374 * delsel.el (delete-selection-helper): New function, extracted from
375 delete-selection-pre-hook.
376 (delete-selection-pre-hook): Use it.
377 (delete-selection-self-insert-function): New function.
378 (delete-selection-self-insert-hooks): New hook.
379 (self-insert-command, self-insert-iso): Use it.
380 * electric.el (electric-pair-syntax): New function, extracted from
381 electric-pair-post-self-insert-function.
382 (electric-pair-post-self-insert-function): Use it.
383 (electric-pair-delete-selection-self-insert-function): New function.
384 (electric-pair-mode): Require delsel and setup
385 delete-selection-self-insert-hooks (bug#11520).
386
045ef729
CY
3872012-10-20 Chong Yidong <cyd@gnu.org>
388
4c5d08a8
CY
389 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
390 no changes to show (Bug#12586).
391
045ef729
CY
392 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
393 list explicitly (Bug#12571).
394
3503c798 3952012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 396
b1d39ccc
SL
397 * progmodes/flymake.el (flymake-create-temp-inplace):
398 Use file-truename.
79e1997a 399
2068905b
EZ
4002012-10-20 Eli Zaretskii <eliz@gnu.org>
401
402 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
403
4c9e9550
JB
4042012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
405
406 * calc/calc-units.el (math-extract-units): Properly extract powers
407 of units.
408
1a6e7e38
DC
4092012-10-20 Daniel Colascione <dancol@dancol.org>
410
411 * frame.el (make-frame): Set x-display-name as we used to in order
412 to unbreak creating an X11 frame from an Emacs daemon started
413 without a display.
414
8e808318
SM
4152012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * minibuffer.el (minibuffer-force-complete): Make the next completion use
418 the same completion-field (bug@12221).
419
fb0104da
MR
4202012-10-19 Martin Rudalics <rudalics@gmx.at>
421
422 * emacs-lisp/debug.el (debug): Record height of debugger window
423 also when debugger will be back (Bug#8789).
424
8c27235e
CY
4252012-10-18 Chong Yidong <cyd@gnu.org>
426
427 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
428 Convert to defcustom.
429 (gdb-get-source-file): Don't bind pop-up-windows.
430
431 * progmodes/gud.el (gud-display-line): Don't specially re-use
432 other frames for the gdb-mi case (Bug#12648).
433
90eacf99
SM
4342012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
435
aaf0c300
SM
436 * emacs-lisp/advice.el: Clean up commentary a bit.
437 (ad-do-advised-functions, ad-with-originals): Use `declare'.
438 (byte-code-function-p): Never redefine.
439
90eacf99
SM
440 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
441
281c9d2b
GM
4422012-10-18 Glenn Morris <rgm@gnu.org>
443
40714e3d
GM
444 * dired.el (dired-sort-toggle): Some ls implementations only allow
445 a single option string. (Bug#12666)
446
281c9d2b
GM
447 * minibuffer.el (completion-cycle-threshold): Doc fix.
448
b278604e
KH
4492012-10-17 Kenichi Handa <handa@gnu.org>
450
90eacf99
SM
451 * international/mule.el (set-keyboard-coding-system):
452 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
453 Supply TERMINAL arg to set-input-meta-mode.
454
df171c23 4552012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
456
457 * wdired.el (wdired-old-marks): New variable.
458 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
459 (wdired-do-renames): Move point with renamed file and don't lose
460 mark status (Bug#11795).
461
e5a94ec4
JL
4622012-10-16 Juri Linkov <juri@jurta.org>
463
464 * replace.el (query-replace-help): Mention multi-buffer replacement
465 keys in the Help message. (Bug#12655)
466
d18a0d24
CY
4672012-10-15 Chong Yidong <cyd@gnu.org>
468
469 * emacs-lisp/byte-run.el (defsubst): Doc fix.
470
8111f5e6
EZ
4712012-10-14 Eli Zaretskii <eliz@gnu.org>
472
7b9abf24
EZ
473 * window.el (display-buffer): Doc fix.
474
8111f5e6
EZ
475 * progmodes/compile.el (compilation-error-regexp-alist-alist):
476 Adjust the msft regexp to the output of Studio 2010, and move msft
477 before edg-1. See the discussion on emacs-devel,
478 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
479 for the details.
480
5046ef67
SM
4812012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
482
9760c73c
SM
483 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
484 (oset): Move uses of object-class-fast macro after its definition.
485
5046ef67
SM
486 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
487
0d11ff1c
CY
4882012-10-13 Chong Yidong <cyd@gnu.org>
489
490 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
491 enabled, re-enable it (Bug#11963).
492
88ded8ac
MR
4932012-10-13 Martin Rudalics <rudalics@gmx.at>
494
495 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
496 non-nil, restore window configuration (Bug#12623).
497
bd0ffffd
SM
4982012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
499
06485aa8
SM
500 * help-fns.el (describe-variable, describe-function-1):
501 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
502
bd0ffffd
SM
503 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
504
3a989246
GM
5052012-10-12 Glenn Morris <rgm@gnu.org>
506
507 * mail/rmailsum.el (rmail-header-summary):
508 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
509
55cd00c8
FEG
5102012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
511
bd0ffffd
SM
512 * progmodes/python.el (python-mode-map):
513 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
514 (python-nav--up-list): Fix behavior for blocks on the same level.
515
ac9fc2c7
SM
5162012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
517
d8cc4c00 518 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 519
5253a5fd
SM
520 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
521 changes to the format of load-history.
522
ac9fc2c7
SM
523 * international/mule-cmds.el (read-char-by-name): Move let-binding of
524 completion-ignore-case in case that var is buffer-local (bug#12615).
525
cde44a77
KH
5262012-10-11 Kenichi Handa <handa@gnu.org>
527
528 * international/eucjp-ms.el: Re-generated.
529
4ef4a10d
KH
5302012-10-10 Kenichi Handa <handa@gnu.org>
531
532 * select.el (xselect--encode-string): If a coding is specified for
533 selection, and that is compatible with COMPOUND_TEXT, use it.
534
9d7f027b
MR
5352012-10-10 Martin Rudalics <rudalics@gmx.at>
536
537 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
538 (switch-to-buffer):
539 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 540
238f3a58
SM
5412012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
544 Don't document nil as a useful value (bug#12583).
545
1d51f99c
MA
5462012-10-09 Michael Albinus <michael.albinus@gmx.de>
547
238f3a58
SM
548 * net/tramp.el (tramp-debug-message):
549 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
550 (with-tramp-progress-reporter): Rename from
551 `tramp-with-progress-reporter'.
238f3a58
SM
552 (with-tramp-file-property, with-tramp-connection-property):
553 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
554 `with-connection-property', respectively.
555
556 * net/tramp-cache.el: Remove `with-file-property' and
557 `with-connection-property'.
558
559 * net/tramp.el:
560 * net/tramp-gvfs.el:
561 * net/tramp-sh.el:
562 * net/tramp-smb.el: Adapt callees.
563
564 * net/trampver.el: Update release number.
565
26b77251
GM
5662012-10-09 Glenn Morris <rgm@gnu.org>
567
9a5f296f
GM
568 * w32-fns.el (set-message-beep):
569 * term/w32-win.el (set-message-beep): Update declarations.
570
94c66ce5
SM
5712012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
572
10766e9e
SM
573 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
574 (mode-line-widen, mode-line-input-method-map)
575 (mode-line-coding-system-map, mode-line-remote)
576 (mode-line-unbury-buffer, mode-line-bury-buffer)
577 (mode-line-next-buffer, mode-line-previous-buffer):
578 Replace save-selected-window+select-window => with-selected-window.
579
f754db08
SM
580 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
581 * progmodes/cc-vars.el (bq-process): Remove, unused.
582
94c66ce5
SM
583 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
584
a4ff7fe1
FEG
5852012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
586
587 Implemented `backward-up-list'-like navigation.
588 * progmodes/python.el (python-nav-up-list)
589 (python-nav-backward-up-list): New functions.
590 (python-mode-map): Define substitute key for backward-up-list to
591 python-nav-backward-up-list.
592
24517d82
FEG
5932012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
594
595 * progmodes/python.el (python-fill-paragraph): Rename from
596 python-fill-paragraph-function. Fixed fill-paragraph for
597 decorators (Bug#12605).
598
51867ae2
FEG
5992012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
600
601 * progmodes/python.el (python-shell-output-filter): Handle extra
602 carriage return in OSX (Bug#12409).
603
a5b773c4
FEG
6042012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
605
606 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 607 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
608 (python-syntax-propertize-function): Use it.
609 (python-shell-output-syntax-table): New var.
610 (inferior-python-mode): Prevent unbalanced parens/quotes from
611 previous output mess with current input context.
612
13373538
JB
6132012-10-08 Juanma Barranquero <lekktu@gmail.com>
614
615 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
616 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
617
775a132d
MA
6182012-10-08 Michael Albinus <michael.albinus@gmx.de>
619
620 * ffap.el (ffap-replace-file-component): Support Tramp file name
621 syntax, not only ange-ftp's one.
622
3ab44929
GM
6232012-10-08 Glenn Morris <rgm@gnu.org>
624
57f1dee4
GM
625 * cus-start.el (message-log-max): Set :version.
626
3ab44929
GM
627 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
628
6a088630
MR
6292012-10-08 Martin Rudalics <rudalics@gmx.at>
630
631 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
632 the minibuffer window (Bug#10851).
633
8dbce54c
FEG
6342012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
635
636 Enhancements on forward-sexp movement.
637 * progmodes/python.el (python-nav-beginning-of-statement)
638 (python-nav-end-of-statement): Return point-marker.
639 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
640 (python-info-current-symbol)
641 (python-info-statement-starts-block-p): Rename from
642 python-info-beginning-of-block-p.
643 (python-info-statement-ends-block-p): Rename from
644 python-info-end-of-block-p.
645 (python-info-beginning-of-statement-p)
646 (python-info-end-of-statement-p)
647 (python-info-beginning-of-block-p, python-info-end-of-block-p):
648 New functions.
649
5acd2b3e
SM
6502012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
653 frame-selected-windows.
654
e08348a0
DC
6552012-10-08 Daniel Colascione <dancol@dancol.org>
656
657 * battery.el (battery-status-function): Check for
658 w32-battery-status itself, not system-time windows-nt.
659
660 * frame.el: Require cl-lib.
661 (display-format-alist): New variable mapping frame types to
662 functions that initialize them.
663 (window-system-for-display): New function: interprets
664 display-format-alist.
665 (make-frame-on-display): Remove existing display-selection logic
666 and just forward to make-frame, which will now DTRT.
667 (make-frame): Restructure to use window-system-for-display to
668 figure out how to create a frame on a given display.
669 (display-mouse-p): Look for frame-type w32, not a particular
670 system-type.
671
672 * loadup.el: Load w32 lisp code when we have the w32 feature.
673
674 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
675 system-type windows-nt.
676
677 * server.el (server-create-window-system-frame): Look for window
678 type.
679 (server-proces-filter): Only force a window system when windows-nt
680 _and_ w32. Explain why.
681
682 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
683 of window systems we configure for the mode.
684
685 * startup.el (command-line): Mark window system is initialized
686 after we've done it.
687
688 * common-win.el (x-select-text): Look for w32, not windows-nt.
689
690 * ns-win.el: Require cl-lib. Add ourselves to
691 display-format-alist.
692 (ns-initialize-window-system): Assert we're not initialized twice.
693
694 * w32-win.el: Enable lexical binding; require cl-lib; add
695 ourselves to display-format-alist.
696 (w32-handle-dropped-file): Convert incoming dropped files from
697 Windows paths to Cygwin ones before passing them on to the rest of
698 Emacs.
699 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
700 (w32-initialize-window-system): Assert we're not initialized twice.
701
702 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
703 (x-initialize-window-system): Assert we're not initialized twice.
704
705 * w32-common-fns.el: New File.
706 (w32-version, w32-using-nt, w32-get-clipboard-data)
707 (w32-set-clipboard-data, x-set-selection, x-get-selection)
708 (w32-charset-info-alist, x-last-selected, text)
709 (x-get-selection-value, x-selection-value): Move here.
710
711 * w32-fns.el: Require w32-common-fns.
712 (w32-version, w32-using-nt, w32-get-clipboard-data)
713 (w32-set-clipboard-data, x-set-selection, x-get-selection)
714 (w32-charset-info-alist, x-last-selected, text)
715 (x-get-selection-value, x-selection-value): Move to
716 w32-common-fns.
717
718 * w32-vars.el:
719 (w32-allow-system-shell, w32-system-shells): Define only in
720 non-cygwin case.
721
795b1482
SM
7222012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
725 (read-passwd): Remove a few more potential sources of leaks.
726
f27c99dc
FEG
7272012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
728
729 * progmodes/python.el (inferior-python-mode)
795b1482 730 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
731 variables copied from parent buffer.
732
fcacb558
JD
7332012-10-07 Jan Djärv <jan.h.d@swipnet.se>
734
735 * term/ns-win.el (ns-read-file-name): Update declaration to match
736 nsfns.m.
737 (ns-respond-to-change-font): Change fontsize separatly so we are sure
738 it is set when font is acted upon.
739
be0d5bae
FEG
7402012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
741
742 Enhancements to indentation.
743 * progmodes/python.el (python-indent-context): Give priority to
744 inside-string context. Make comments indentation markers.
745 (python-indent-region): Do not mess with strings, unless it's the
746 enclosing set of quotes.
747
13af0d10
SM
7482012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
749
662a9d0e
SM
750 * window.el (internal--before-save-selected-window)
751 (internal--after-save-selected-window): New functions extracted from
752 save-selected-window. Make sure we return the `alist' we construct.
753 (save-selected-window): Use them.
754
755 * textmodes/tex-mode.el (tex-recenter-output-buffer):
756 Use with-selected-window.
757
13af0d10
SM
758 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
759 forms that define macros (bug#12593).
760
6aa75fb6
KH
7612012-10-07 Kenichi Handa <handa@gnu.org>
762
13af0d10
SM
763 * international/mule-conf.el (compound-text-with-extensions):
764 Add :mime-charset property as x-ctext.
6aa75fb6 765
78d876b9
SM
7662012-10-07 Stefan Merten <smerten@oekonux.de>
767
768 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
769 (rst-indent-literal-normal, rst-indent-literal-minimized)
770 (rst-indent-comment): Correct :version tag.
557337e9 771 (rst-official-cvs-rev): Correct version string.
78d876b9 772
99a1e701
GM
7732012-10-07 Glenn Morris <rgm@gnu.org>
774
775 * mail/rmailmm.el (rmail-mime-process-multipart):
776 Do not confuse a multipart message with an epilogue
777 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
778
08f18c3d
FEG
7792012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
780
781 Fix shell output retrieval and comint-prompt-regexp init.
782 * progmodes/python.el (inferior-python-mode):
783 (python-shell-make-comint): Fix initialization of
784 comint-prompt-regexp from copied file local variables.
785 (python-shell-fetched-lines): Remove var.
786 (python-shell-output-filter-in-progress): Rename from
787 python-shell-fetch-lines-in-progress.
788 (python-shell-output-filter-buffer): Rename from
789 python-shell-fetch-lines-string.
790 (python-shell-fetch-lines-filter): Delete function.
791 (python-shell-output-filter): New function.
792 (python-shell-send-string-no-output): Use them.
793
82ed3ab4
GM
7942012-10-07 Glenn Morris <rgm@gnu.org>
795
1595ecfa
GM
796 * hi-lock.el (hi-lock-process-phrase):
797 Try to make it less fragile. (Bug#7161)
798
82ed3ab4
GM
799 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
800
f1f4dba0
GM
8012012-10-06 Glenn Morris <rgm@gnu.org>
802
addc11ed 803 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
804 non-existent mode `help'.
805 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 806
460042b8
GM
807 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
808 (reftex-create-bibtex-footer): Fix custom types.
809
67667c70
GM
810 * progmodes/sh-script.el (sh-indent-after-continuation):
811 Add explicit :group.
812
18dec750
GM
813 * textmodes/rst.el (rst-preferred-decorations)
814 (rst-shift-basic-offset): Clarify obsolescence versions.
815
d1a1c7e6
GM
816 * profiler.el (profiler): Add missing group :version tag.
817 * avoid.el (mouse-avoidance-banish-position):
818 * proced.el (proced-renice-command):
819 * calc/calc.el (calc-ensure-consistent-units):
820 * calendar/icalendar.el (icalendar-import-format-uid):
821 * net/tramp.el (tramp-save-ad-hoc-proxies):
822 * progmodes/bug-reference.el (bug-reference-bug-regexp):
823 * progmodes/flymake.el (flymake-error-bitmap)
824 (flymake-warning-bitmap, flymake-fringe-indicator-position):
825 * progmodes/sh-script.el (sh-indent-after-continuation):
826 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
827 (verilog-before-save-font-hook, verilog-after-save-font-hook):
828 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
829 (vhdl-array-index-record-field-in-sensitivity-list)
830 (vhdl-indent-comment-like-next-code-line):
831 * textmodes/reftex-vars.el (reftex-ref-style-alist)
832 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
833 (reftex-cite-key-separator, reftex-create-bibtex-header)
834 (reftex-create-bibtex-footer):
835 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
836 (rst-indent-literal-normal, rst-indent-literal-minimized)
837 (rst-indent-comment): Add missing custom :version tags.
838
ef35abb4
GM
839 * calendar/timeclock.el (timeclock-modeline-display):
840 Add missing obsolete alias for renamed user option.
841
d1aae614
GM
842 * strokes.el (strokes-modeline-string):
843 * emulation/crisp.el (crisp-mode-modeline-string):
844 * eshell/esh-mode.el (eshell-status-in-modeline):
845 Aliases to defcustoms must come before the defcustom.
846
f1f4dba0
GM
847 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
848 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
849 (cal-tex-cursor-week-monday): Doc fixes.
850 (cal-tex-cursor-week2-summary): Doc fix.
851 Rename from cal-tex-cursor-week-at-a-glance.
852
853 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
854 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
855
856 * calendar/calendar.el (calendar-mode-map):
857 Add cal-tex-cursor-week2-summary.
858
d39109c3
SM
8592012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
860
685f87b0
SM
861 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
862
d39109c3
SM
863 * subr.el (read-passwd-map): New var.
864 (read-passwd): Use `read-string' again.
865 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
866
5694896d
J
8672012-10-06 Jambunathan K <kjambunathan@gmail.com>
868
869 * register.el (append-to-register, prepend-to-register):
870 Deactivate mark, as does `copy-to-register' (bug#12389).
871
9414dd8d
CY
8722012-10-06 Chong Yidong <cyd@gnu.org>
873
874 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
875
2b89bca4
KH
8762012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
877
878 * international/characters.el: Fix simple mistake ((car chars) ->
879 elt), delete duplicated code.
880
d5acb99a
GM
8812012-10-06 Glenn Morris <rgm@gnu.org>
882
883 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
884
123ec157
JS
8852012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
886
887 * color.el (color-hsl-to-rgb): Fix incorrect results for
888 small and large hue values. (Bug#12559)
889
7fa36ccb
FEG
8902012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
891
892 Enhancements to docstring formatting when filling paragraphs.
893 * progmodes/python.el (python-fill-docstring-style): Rename from
894 python-fill-string-style. Added new style.
895 (python-fill-string): Use new style. Better checks for
896 docstrings.
897
d8788e1e
GM
8982012-10-05 Glenn Morris <rgm@gnu.org>
899
204f3953
GM
900 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
901
d8788e1e
GM
902 * color.el (color-name-to-rgb, color-rgb-to-hex)
903 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
904 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
905 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
906 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
907
8d956cef
GM
908 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
909
e8757f09 9102012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
911
912 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
913 to get the correct size across symlinks.
914
e8757f09
GM
915 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
916
0e2ae83d
JL
9172012-10-04 Juri Linkov <juri@jurta.org>
918
919 * replace.el (query-replace-interactive): Declare obsolete.
920 (query-replace-read-from): Add the last incremental search string
921 to the list of default values accessible via M-n.
922 (map-query-replace-regexp): Use `read-regexp'.
923 (query-replace, query-replace-regexp, query-replace-regexp-eval)
924 (map-query-replace-regexp, replace-string, replace-regexp):
925 Fix docstrings to replace mentions of `query-replace-interactive'
926 with alternatives. (Bug#12526)
927
93cacb6d
JL
9282012-10-04 Juri Linkov <juri@jurta.org>
929
930 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
931 (dired-pop-to-buffer): Declare obsolete.
932 (dired-mark-pop-up): Doc fix.
933
fc345011
FEG
9342012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
935
936 Allow user to set docstring style for fill-paragraph.
937 * progmodes/python.el
938 (python-fill-comment-function, python-fill-string-function)
939 (python-fill-decorator-function, python-fill-paren-function):
940 Remove :safe for defcustoms.
941 (python-fill-string-style): New defcustom
5694896d 942 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
943 (python-fill-string): Honor python-fill-string-style settings.
944
6bab5d8b
MR
9452012-10-04 Martin Rudalics <rudalics@gmx.at>
946
947 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
948 after setting its buffer (Bug#10805).
949
a1a9f411
FEG
9502012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
951
952 Fix cornercase for string syntax.
953 * progmodes/python.el (python-syntax-propertize-function):
954 Simplify and enhance the regexp for unescaped quotes. Now it also
955 matches quotes in weird situations like the single quote in
956 "something\"'".
957 (python-syntax-stringify): Simplify num-quotes detecting code.
958
05e153a6
GM
9592012-10-03 Glenn Morris <rgm@gnu.org>
960
961 * help-macro.el (three-step-help):
962 Revert 2012-09-29 change. (Bug#12567)
963
2e566ecb
MR
9642012-10-03 Martin Rudalics <rudalics@gmx.at>
965
96ef9ccd
MR
966 * menu-bar.el (kill-this-buffer): Don't do anything when
967 `menu-frame' is not alive or visible (Bug#8184).
968
2e566ecb
MR
969 * emacs-lisp/debug.el (debug): When quitting the debugger window
970 restore current buffer (Bug#12502).
971
a96e1cb7
CY
9722012-10-02 Chong Yidong <cyd@gnu.org>
973
5694896d
J
974 * progmodes/hideif.el (hif-lookup, hif-defined):
975 Handle semantic-c-takeover-hideif.
a96e1cb7 976
b3ecad33
PE
9772012-10-02 Paul Eggert <eggert@cs.ucla.edu>
978
979 Change sampling interval units from ms to ns.
980 * profiler.el (profiler-sampling-interval): Change units
981 from ms to ns, multiplying the default by 1000000 so that
982 it remains 1 ms.
983 (profiler-report-cpu-line-format): Give enough room for
984 the maximum counters on 64-bit hosts.
985 (profiler-report-render-calltree-1): Call them "CPU samples",
986 not "Time (ms)", since they are not milliseconds now (and
987 never really were).
988
8cb51b66 9892012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 990
5694896d
J
991 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
992 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 993
fd795bf4
CY
9942012-10-02 Chong Yidong <cyd@gnu.org>
995
996 * emacs-lisp/eieio.el: Restore Version header.
997
fe0a74f9
SM
9982012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
999
6be9197e
SM
1000 * vc/diff-mode.el (diff--auto-refine-data): New var.
1001 (diff-hunk): Use it to delay refinement.
1002 (diff-mode): Remove overlays when we turn off font-lock.
1003
18486139
SM
1004 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1005 (table-initialize-table-fixed-width-mode)
1006 (table-set-table-fixed-width-mode): Remove functions.
1007 (table-command-list): Move initialization into declaration.
1008 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1009 (table-with-cache-buffer): Use `declare'.
1010 (table-span-cell): Simplify via CSE.
1011 (table-fixed-width-mode): Use define-minor-mode.
1012 (table-call-interactively, table-funcall, table-apply): Remove.
1013 (table-function): New function, to replace them.
1014
d83ef976
SM
1015 * bookmark.el (bookmark-search-pattern): Remove var.
1016 (bookmark-read-search-input): Remove function.
1017 (bookmark-bmenu-search): Reimplement using a minibuffer.
1018
cd386662
SM
1019 * faces.el (modeline): Remove obsolete face name.
1020
fe0a74f9
SM
1021 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1022 and give a non-nil default value.
1023 (add-change-log-entry): Simplify accordingly.
1024
9f7b98f8
DG
10252012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1026
1027 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1028 (vc-git-log-edit-toggle-amend): New function.
1029 (vc-git-log-edit-toggle-signoff): New function.
1030 (vc-git-log-edit-mode): New major mode.
1031 (vc-git-log-edit-mode-map): Keymap for it.
1032 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1033
1034 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1035 header names.
1036 (log-edit-toggle-header): New function.
1037 (log-edit-extract-headers): Accept function values in HEADERS alist.
1038
62a81506
CY
10392012-10-01 David Engster <deng@randomsample.de>
1040
1041 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1042 from symbol property and change message to be more consistent with
1043 Emacs proper.
1044 (eieio-describe-generic): Add filename for each implementation.
1045 Fix indices for generic and normal methods.
1046 (eieio-method-def, eieio-class-def): New buttons.
1047 (eieio-help-find-method-definition)
1048 (eieio-help-find-class-definition): New functions.
1049 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1050 class, constructor and method definitions.
1051
1052 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1053 information in symbol property.
1054 (scoped-class): Remove.
1055 (eieio-slot-name-index, call-next-method): Check if it is bound.
1056
10572012-10-01 Leo P. White <lpw25@cam.ac.uk>
1058
1059 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1060 (eieio-custom-mode): New major mode.
1061 (eieio-customize-object): Use it.
1062
10632012-10-01 Eric Ludlam <zappo@gnu.org>
1064
1065 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1066 specifying the expected class, and whether subclassing is allowed.
1067 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1068 (eieio-persistent-validate/fix-slot-value)
1069 (eieio-persistent-slot-type-is-class-p): New functions.
1070 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1071
1072 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1073 Stop using unused publd variable.
1074
1075 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1076 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1077 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1078 (eieio-speedbar-handle-click): Do not specify a class for the
1079 method. Fixes method invocation order problems with EDE.
1080
375e49d4
SM
10812012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1084 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1085
16ce6ccd
KF
10862012-10-01 Karl Fogel <kfogel@red-bean.com>
1087
1088 * bookmark.el (bookmark-version-control): Give tags in the
1089 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1090 (bookmark-write-file): Bind `print-circle' to `t' to allow
1091 circular custom bookmark types. (Bug#12503)
16ce6ccd 1092
19e54a4d
PE
10932012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1094
86ec63ba
PE
1095 Revert the FOLLOW-SYMLINKS change for file-attributes.
1096 * files.el (remote-file-name-inhibit-cache, after-find-file):
1097 * time.el (display-time-file-nonempty-p): Undo last change.
1098
19e54a4d
PE
1099 * profiler.el (profiler-sampling-interval): Change default back to 1.
1100 See Stefan Monnier in
1101 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1102
0478776b
FEG
11032012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1104
1105 Shell output catching a la gud-gdb.
1106 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1107 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1108 New Vars.
0478776b
FEG
1109 (python-shell-fetch-lines-filter): New function.
1110 (python-shell-send-string-no-output): Use them.
1111
c22bac2c
TM
11122012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1113
1114 * profiler.el (profiler-sampling-interval): Rename from
1115 profiler-sample-interval.
1116 (profiler-sampling-interval): Default to 10.
1117 (profiler-find-profile): New command (was profiler-find-log).
1118 (profiler-find-profile-other-window): New command.
1119 (profiler-find-profile-other-frame): New command.
1120 (profiler-profile): Introduce API-level data structure.
1121
e7a2937b
PE
11222012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1123
1124 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1125 * files.el (remote-file-name-inhibit-cache):
1126 * time.el (display-time-file-nonempty-p): Use it.
1127 * files.el (after-find-file): Don't chase links before calling
1128 file-exists-p, as file-exists-p already does the right thing.
1129
4f595e15
RA
11302012-09-30 Ralf Angeli <angeli@caeruleus.net>
1131
1132 Merge from standalone RefTeX repository.
1133
1134 The following ChangeLog entries are shortened versions of the
1135 original ones with file paths adapted. A not so strongly edited
1136 version of the original ChangeLog can be found in the commit log.
1137
1138 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1139 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1140 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1141
1142 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1143 that entries with whitespace at various places are found.
1144 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1145 Include @String definitions in the resulting bib file. Add header
1146 and footer defined in `reftex-create-bibtex-header' and
1147 `reftex-create-bibtex-footer'.
1148 (reftex-do-citation): Make it possible again to insert
1149 non-existent entries. Save match data when asking for optional
1150 arguments. Return all keys, not just the first one.
1151 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1152 all citations in the same line.
1153 (reftex-parse-bibtex-entry): Accept additional optional argument
1154 `raw' and keep quotes or braces if it is non-nil. Match fields
1155 containing hyphens besides word constituents.
1156 (reftex-get-string-refs): New function.
1157 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1158 and ask if it should be reread in case it did.
1159 (reftex-pop-to-bibtex-entry)
1160 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1161 entries with spaces or tabs in front of arguments.
1162 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1163 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1164 Match entries containing numbers and symbol constituents.
1165 (reftex-do-citation, reftex-figure-out-cite-format):
1166 Use `reftex-cite-key-separator'.
4f595e15
RA
1167
1168 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1169 (reftex-mouse-view-crossref): Explain why point is set.
1170
1171 * textmodes/reftex-global.el: Whitespace changes.
1172
1173 * textmodes/reftex-index.el: Move provide statement to end of
1174 file.
1175 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1176 (reftex-index-visit-phrases-buffer): Set marker when visiting
1177 buffer. This allows for returning from the phrases file to the
1178 file one was just editing instead of the file where the last
1179 phrases was added from.
1180 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1181 punctuation syntax as it usually is not used as string quote in
1182 TeX-related modes and may occur unmatched. The change also
1183 prevents fontification of quoted content.
1184 (reftex-index-phrases-mode): Use it.
1185
375e49d4
SM
1186 * textmodes/reftex-parse.el (reftex-parse-from-file):
1187 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1188 (reftex-parse-from-file): Use beginning of match instead of end as
1189 bound.
1190
1191 * textmodes/reftex-ref.el: Adapt creation of
1192 `reftex-<package>-<macro>' functions to new structure of
1193 `reftex-ref-style-alist'.
375e49d4
SM
1194 (reftex-reference): Use `reftex-ref-style-list' function.
1195 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1196 reference macro if `reftex-ref-macro-prompt' is non-nil.
1197 (reftex-reference): Pass refstyle to `reftex-format-special'.
1198 Determine reference macro by looking at
375e49d4
SM
1199 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1200 Use only one special format function.
4f595e15
RA
1201 (reftex-varioref-vref, reftex-fancyref-fref)
1202 (reftex-fancyref-Fref): Remove definitions. The functions are now
1203 generated from `reftex-ref-style-alist'.
1204 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1205 Remove.
1206 (reftex-format-special): New function.
1207
1208 * textmodes/reftex-sel.el
1209 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1210 of `reftex-ref-style-alist'. Remove code for testing macro type.
1211 (reftex-select-toggle-varioref)
1212 (reftex-select-toggle-fancyref): Remove.
1213 (reftex-select-cycle-ref-style-internal)
1214 (reftex-select-cycle-ref-style-forward)
1215 (reftex-select-cycle-ref-style-backward): New functions.
1216 (reftex-select-label-map): Use `v' and `V' for general cycling
1217 through reference styles. Add `p' for switching between number
1218 and page reference types.
1219
375e49d4
SM
1220 * textmodes/reftex-toc.el (reftex-re-enlarge):
1221 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1222 the horizontal version throws an error even if the parameter is 0.
1223
1224 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1225 (reftex-plug-into-AUCTeX): Doc fix.
1226 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1227 string. Adapt to new name.
1228 (reftex-ref-style-alist): Change structure so that it is not
1229 possible to use multiple different package names within a style.
375e49d4
SM
1230 Remove the symbols for symbols for macro type distinction.
1231 Add characters for macro selection.
4f595e15
RA
1232 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1233 (reftex-create-bibtex-footer): New variables.
1234 (reftex-format-ref-function): Mention third argument of special
1235 format function.
375e49d4
SM
1236 (reftex-ref-style-alist, reftex-ref-style-default-list):
1237 New variables.
4f595e15
RA
1238 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1239 to new implementation. Mark as obsolete. Add compatibility code
1240 for honoring the variable values in case they are set.
375e49d4
SM
1241 (reftex-cite-format-builtin, reftex-bibliography-commands):
1242 Add support for ConTeXt.
1243 (reftex-format-ref-function, reftex-format-cite-function):
1244 Fix custom type.
4f595e15
RA
1245 (reftex-cite-key-separator): New variable.
1246
1247 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1248 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1249 `reftex-syntax-table' because parens have to retain their paren
1250 syntax in order for parsing of BibTeX entries like @book(...) to
1251 work.
1252 (reftex-in-comment): Do not error out if `comment-start-skip' is
1253 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1254 (reftex-tie-multifile-symbols): Add doc string.
1255 Initialize `reftex-ref-style-list'.
4f595e15
RA
1256 (reftex-untie-multifile-symbols): Add doc string.
1257 (reftex-add-index-macros): Doc fix.
1258 (reftex-ref-style-activate, reftex-ref-style-toggle)
1259 (reftex-ref-style-list): New functions.
1260 (reftex-mode-menu): Use them. Adapt to new structure of
1261 `reftex-ref-style-alist'.
1262 (reftex-select-with-char): Kill the RefTeX Select buffer when
1263 done.
1264 (reftex-remove-if): New function.
1265 (reftex-erase-all-selection-and-index-buffers)
1266 (reftex-mode-menu): Reference styles are now computed from
1267 `reftex-ref-style-alist'. Fix typo.
1268 (reftex-report-bug): New function.
1269 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1270 algorithms with O(n log n). Introduce optional argument SORT (not
1271 yet used).
1272
440ba395
FEG
12732012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1274
1275 Enhancements for triple-quote string syntax.
375e49d4
SM
1276 * progmodes/python.el (python-syntax-propertize-function):
1277 Match both quote cases in one regexp.
440ba395
FEG
1278 (python-syntax-stringify): Handle matches properly.
1279
4c478e6b
JL
12802012-09-30 Juri Linkov <juri@jurta.org>
1281
1282 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1283 to nil around the call to `insert' to prevent
4c478e6b
JL
1284 directory time modification by lock_file. (Bug#2295)
1285 * tar-mode.el (tar-summarize-buffer): Idem.
1286
d80d54b2
JL
12872012-09-30 Juri Linkov <juri@jurta.org>
1288
1289 * facemenu.el (list-colors-sort): Add option "Luminance".
1290 (list-colors-sort-key): Implement it.
1291
1292 * vc/diff-mode.el (diff-refine-removed):
1293 * vc/ediff-init.el (ediff-fine-diff-A):
1294 * vc/smerge-mode.el (smerge-refined-removed):
1295 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1296
d7e642cc
JD
12972012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1298
1299 * term/ns-win.el (x-file-dialog): New function.
1300
ee41332b
JB
13012012-09-30 Juanma Barranquero <lekktu@gmail.com>
1302
1303 * ido.el (ido-max-directory-size): Default to nil; the current
1304 default is small for POSIX systems, and impractical on Windows 7
1305 now that lstat returns directory sizes for NTFS.
1306
5938d519
MR
13072012-09-30 Martin Rudalics <rudalics@gmx.at>
1308
1309 In buffer display functions handle window-height/window-width
1310 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1311 * window.el (window--display-buffer): New argument ALIST.
1312 Obey window-height and window-width alist entries.
1313 (window--try-to-split-window): New argument ALIST.
1314 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1315 changed and window-combination-limit equals `window-size'.
1316 (display-buffer-in-atom-window)
1317 (display-buffer-in-major-side-window)
1318 (display-buffer-in-side-window, display-buffer-same-window)
1319 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1320 (display-buffer-pop-up-window, display-buffer-below-selected)
1321 (display-buffer-at-bottom, display-buffer-in-previous-window)
1322 (display-buffer-use-some-window): Adjust all callers of
1323 window--display-buffer and window--try-to-split-window.
1324 (fit-frame-to-buffer): New option.
1325 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1326 is non-nil.
1327 (display-buffer-in-major-side-window): Evaluate window-height /
1328 window-width alist entries.
1329
1330 * help.el (temp-buffer-resize-frames)
1331 (temp-buffer-resize-regexps): Remove options.
1332 (temp-buffer-resize-mode): Adjust doc-string.
1333 (resize-temp-buffer-window): Don't consult
1334 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1335 temp-buffer-resize-frames.
1336
375e49d4
SM
1337 * dired.el (dired-mark-pop-up):
1338 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1339 entry.
1340
c4c0c2df
CY
13412012-09-30 Chong Yidong <cyd@gnu.org>
1342
48de8b12
CY
1343 * server.el (server-host): Document the security implications.
1344 (server-auth-key): Doc fix.
1345
1346 * startup.el (initial-buffer-choice): Doc fix.
1347
1348 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1349
a97dc380
CY
1350 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1351 restriction change.
1352
d39d3c8e
CY
1353 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1354
c4c0c2df
CY
1355 * help-fns.el (help-fns--obsolete): Fix last change.
1356
98a5e33b
SM
13572012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1358
34cf6f39
SM
1359 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1360 (minor-mode-map-alist): Remove redundant code.
1361
e01c13fe
SM
1362 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1363 visited in a buffer.
1364 (cvs-insert-visited-file): New function.
1365 (find-file-hook): Use it.
1366
1367 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1368
02661b3a
SM
1369 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1370 chose face.
1371 (log-edit-empty-buffer-p): Don't require a space after a header.
1372
43711d4b
SM
1373 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1374
38a30d64
SM
1375 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1376
4ffb41a9
SM
1377 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1378 a proper minor-mode.
1379
98a5e33b
SM
1380 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1381
de82e29b
GM
13822012-09-29 Glenn Morris <rgm@gnu.org>
1383
5cc2e639
GM
1384 * winner.el (winner-mode): Remove variable (let define-minor-mode
1385 handle it).
1386 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1387 Doc fixes.
1388 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1389 (winner-mode): Use define-minor-mode.
1390
7bd302eb
GM
1391 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1392 the full definition in loaddefs, rather than duplicating it.
1393
2923922f 1394 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1395
0e3e4156
GM
1396 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1397 (inferior-lisp-program, inferior-lisp-load-command)
1398 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1399 No need to autoload defcustoms.
0e3e4156 1400
de82e29b
GM
1401 * hippie-exp.el (hippie-expand-try-functions-list)
1402 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1403 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1404 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1405 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1406 * progmodes/vhdl-mode.el (vhdl-line-expand):
1407 Explicitly load hippie-exp, so it does not get autoloaded
1408 while hippie-expand-try-functions-list is let-bound.
1409
e60b51ab
GM
14102012-09-28 Glenn Morris <rgm@gnu.org>
1411
277f0cfa
GM
1412 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1413
e60b51ab
GM
1414 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1415 Only "cl.el" counts as cl these days.
1416
53baf48a
JL
14172012-09-28 Juri Linkov <juri@jurta.org>
1418
1419 Display archive errors in the echo area instead of inserting
1420 to the file buffer.
1421
1422 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1423 to STDERR-TEST that can be a regexp matching a successful output.
1424 Create a temporary file and redirect stderr to it. Search for
1425 STDERR-TEST in the stderr output and display it in the echo area
1426 if no match is found.
1427 (archive-extract-by-file): New function like
1428 `archive-extract-by-stdout' but extracting archives to files
1429 and looking for successful matches in stdout. Function body is
1430 mostly copied from `archive-rar-extract'.
1431 (archive-rar-extract): Use `archive-extract-by-file'.
1432 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1433
9c1228c3
LL
14342012-09-28 Leo Liu <sdl.web@gmail.com>
1435
375e49d4
SM
1436 * pcomplete.el (pcomplete-show-completions):
1437 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1438
9c1228c3
LL
1439 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1440
7f457c06
SM
14412012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1442
3df749b0
SM
1443 * type-break.el: Use lexical-binding.
1444 (type-break-mode): Use define-minor-mode.
1445
7f457c06
SM
1446 * emacs-lisp/pcase.el (pcase--mark-used): New.
1447 (pcase--u1): Use it (bug#12512).
1448
1449 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1450 in load-history with the right file name.
1451
c00ebc98
TH
14522012-09-28 Tassilo Horn <tsdh@gnu.org>
1453
1454 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1455 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1456 (doc-view-get-bounding-box): Make bounding box slicing work for
1457 ODF and DVI documents.
1458
96fb7170
GM
14592012-09-28 Glenn Morris <rgm@gnu.org>
1460
1461 * type-break.el (type-break-mode, type-break-interval)
1462 (type-break-good-rest-interval, type-break-keystroke-threshold):
1463 No need to autoload.
1464 (type-break-good-rest-interval, type-break-keystroke-threshold):
1465 Add :set-after.
1466
5bc93c67
CY
14672012-09-28 Chong Yidong <cyd@gnu.org>
1468
1469 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1470 Add :version tag.
1471
9cad61d6
SM
14722012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1473
e28e67b3 1474 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1475
daee954c
GM
14762012-09-27 Glenn Morris <rgm@gnu.org>
1477
a88324d4
GM
1478 * faces.el (x-display-name): Declare (for without-x builds).
1479
8e5064e5
GM
1480 * linum.el (linum-format): Don't autoload it. Improve :type.
1481
cc1783c2
GM
1482 * progmodes/tcl.el: Don't require outline when compiling.
1483 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1484 * textmodes/sgml-mode.el: Don't require outline when compiling.
1485 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1486
48c339f2
GM
1487 * term.el (term-ansi-reset):
1488 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1489
daee954c
GM
1490 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1491 files for RCS and SCCS. (Bug#9781)
1492
b7f42161
CY
14932012-09-27 Chong Yidong <cyd@gnu.org>
1494
1495 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1496 change; value should be t.
1497
a2e770db
SM
14982012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1499
83600dc8
SM
1500 * image-mode.el: Use lexical-binding.
1501 (image-mode-winprops): Use t to stand for the window of
1502 a buffer that's not displayed.
1503 * doc-view.el (doc-view-new-window-function): Handle the new
1504 t in winprops.
1505 (doc-view-enlarge): Make it a real nop if the size is not changed.
1506 (doc-view-display): Handle the case where the buffer is not (yet?)
1507 displayed in any window.
1508 (doc-view-saved-settings): New var.
1509 (doc-view-mode): Use it.
1510 (doc-view-fallback-mode): Set it.
1511
a2e770db
SM
1512 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1513 Set lexical-binding.
1514 (minibuffer-eldef-shorten-default): New var.
1515 (minibuffer-default-in-prompt-regexps): Use it for new default.
1516 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1517
e3b60857
JB
15182012-09-26 Juanma Barranquero <lekktu@gmail.com>
1519
1520 * international/uni-bidi.el:
1521 * international/uni-category.el:
1522 * international/uni-name.el:
1523 * international/uni-numeric.el: Regenerate.
1524
3a880af4
SM
15252012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1526 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * profiler.el: New file.
1529
07b1a5fb
SM
15302012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1533 (testcover-reinstrument): Simplify with CSE.
1534
42019c2e
JB
15352012-09-26 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1538
179f044b
WS
15392012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1540
1541 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1542 (verilog-auto-input, verilog-auto-insert-lisp)
1543 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1544 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1545 (verilog-auto-unused, verilog-auto-wire)
1546 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1547 newline. Reported by Andrew Jones.
1548 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1549 Reported by Brad Dobbie.
07b1a5fb
SM
1550 (verilog-batch-delete-trailing-whitespace):
1551 Create verilog-batch-delete-trailing-whitespace.
1552 Reported by Brad Dobbie.
179f044b
WS
1553 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1554 parameters from another module. Reported by Dan Katz.
1555 (verilog-auto, verilog-auto-assign-modport)
1556 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1557 AUTOINOUTMODPORT for UVM interface module shell generation.
1558 Reported by Brad Dobbie.
1559 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1560 standard behavior.
1561 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1562 Reported by Matt Martin.
1563
9c52dd5a
MR
15642012-09-25 Martin Rudalics <rudalics@gmx.at>
1565
1566 * window.el (window--resize-child-windows): When resizing child
1567 windows proportionally, process them in reverse order to
1568 preserve the "when splitting a window the new one gets the odd
1569 line" behavior.
1570 (window--resize-root-window-vertically): When resizing the
1571 minibuffer window try to affect only windows at the bottom of the
1572 frame. (Bug#12419)
1573
863666eb
CY
15742012-09-25 Chong Yidong <cyd@gnu.org>
1575
1576 * subr.el (declare): Doc fix.
1577
1578 * help-fns.el (help-fns--obsolete): Handle macros properly.
1579
59f7af81
CY
15802012-09-25 Chong Yidong <cyd@gnu.org>
1581
1582 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1583 this function obsolete.
1584
1585 * calendar/cal-x.el (calendar-two-frame-setup)
1586 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1587 * calendar/calendar.el (american-calendar, european-calendar)
1588 (calendar-for-loop):
1589 * comint.el (comint-dynamic-simple-complete)
1590 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1591 * desktop.el (desktop-load-default):
1592 * dired-x.el (dired-omit-here-always)
1593 (dired-hack-local-variables, dired-default-directory):
1594 * emacs-lisp/derived.el (derived-mode-class):
1595 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1596 * emacs-lock.el (toggle-emacs-lock):
1597 * epa.el (epa-display-verify-result):
1598 * epg.el (epg-sign-keys, epg-start-sign-keys)
1599 (epg-passphrase-callback-function):
1600 * eshell/esh-util.el (eshell-for):
1601 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1602 (eshell-add-to-window-buffer-names):
1603 * files.el (locate-file-completion):
1604 * imenu.el (imenu-example--create-c-index)
1605 (imenu-example--create-lisp-index)
1606 (imenu-example--lisp-extract-index-name)
1607 (imenu-example--name-and-position):
1608 * international/mule-cmds.el (princ-list):
1609 * international/mule-diag.el (decode-codepage-char):
1610 * international/mule-util.el (detect-coding-with-priority):
1611 * iswitchb.el (iswitchb-read-buffer):
1612 * mail/mailalias.el (mail-complete):
1613 * mail/sendmail.el (mail-sent-via):
1614 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1615 (mouse-major-mode-menu):
1616 * password-cache.el (password-read-and-add):
1617 * pcomplete.el (pcomplete-parse-comint-arguments):
1618 * progmodes/sh-script.el (sh-maybe-here-document):
1619 * replace.el (query-replace-regexp-eval):
1620 * savehist.el (savehist-load):
1621 * simple.el (choose-completion-delete-max-match):
1622 * term.el (term-dynamic-simple-complete):
1623 * vc/ediff-init.el (ediff-check-version):
1624 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1625 * vc/vc.el (vc-diff-switches-list):
1626 * view.el (view-return-to-alist-update): Likewise.
1627
1628 * subr.el (eval-next-after-load, makehash, insert-string)
1629 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1630 mark obsolete.
1631 (mode-line-inverse-video): Variable deleted.
1632
1633 * international/mule-util.el (string-to-sequence): Remove.
1634
1635 * calendar/calendar.el (calendar-version):
1636 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1637 (icalendar-convert-diary-to-ical):
1638 * cus-edit.el (custom-mode):
1639 * ansi-color.el (ansi-color-unfontify-region):
1640 * international/latin1-disp.el (latin1-char-displayable-p):
1641 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1642 * progmodes/which-func.el (which-func-update-1):
1643 Use define-obsolete-function-alias.
59f7af81
CY
1644
1645 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1646 * net/newst-treeview.el (newsticker-groups-filename):
1647 Fix incorrect obsolescence declaration.
59f7af81
CY
1648
1649 * allout.el (allout-passphrase-hint-string): Likewise.
1650 (allout-init): Use a declare form to mark obsolete.
1651
1652 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1653 this applies to functions.
1654
1655 * iswitchb.el (iswitchb-read-buffer): Move code of
1656 iswitchb-define-mode-map here, and delete that obsolete function.
1657
1658 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1659 font-lock-reference-face.
1660
cca96c97
GM
16612012-09-25 Glenn Morris <rgm@gnu.org>
1662
b06eeda8
GM
1663 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1664 Doc fixes.
1665
cca96c97
GM
1666 * eshell/em-term.el (eshell-term-name):
1667 Default to term-term-name. (Bug#12485)
1668
dc4f818b
FEG
16692012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1670
cca96c97
GM
1671 * progmodes/python.el (python-shell-send-buffer): Better handling
1672 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1673
289c24bd
GM
16742012-09-24 Glenn Morris <rgm@gnu.org>
1675
1676 * eshell/esh-cmd.el (eshell-find-alias-function):
1677 Tighten up file-name regexp. (Bug#12499)
1678
8fb8b88f
FEG
16792012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1680
1681 Enhancements for triple-quote string syntax.
1682 * progmodes/python.el (python-quote-syntax): Remove.
1683 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1684 (python-syntax-count-quotes, python-syntax-stringify):
1685 New functions.
8fb8b88f 1686
6c27f0f8
CY
16872012-09-24 Chong Yidong <cyd@gnu.org>
1688
a5f2b6ec
CY
1689 * mail/supercite.el (sc-version): Remove obsolete function.
1690 (sc-describe): Don't mark as obsolete, since it is bound.
1691 (sc-submit-bug-report): Remove.
1692
1693 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1694 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1695 (log-edit-require-final-newline)
1696 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1697
1698 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1699 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1700 * vc/vc.el (vc-checkout-carefully): Likewise.
1701
1702 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1703 (emerge-version): Remove.
1704
1705 * progmodes/compile.el (compile-internal): Remove.
1706 (compilation-parse-errors-function): Fix typo.
1707
1708 * international/mule.el (set-char-table-default): Remove.
1709 (set-coding-priority, make-coding-system, generic-char-p)
1710 (charset-list, charset-bytes, charset-id): Use declare to mark
1711 functions as obsolete.
1712
1713 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1714 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1715 * vc/vc-hooks.el (vc-default-registered): Don't use
1716 vc-master-templates.
1717
07b1a5fb
SM
1718 * font-lock.el (font-lock-reference-face):
1719 Use define-obsolete-variable-alias.
6c27f0f8
CY
1720
1721 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1722 * calendar/calendar.el (calendar-font-lock-keywords):
1723 * calendar/diary-lib.el (diary-font-lock-keywords)
1724 (diary-fancy-font-lock-keywords):
1725 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1726 * textmodes/reftex-index.el (reftex-insert-index):
1727 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1728 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1729 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1730 * progmodes/prolog.el (prolog-font-lock-keywords):
1731 * progmodes/idlwave.el (idlwave-idl-keywords):
1732 * progmodes/ada-mode.el (ada-font-lock-keywords):
1733 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1734
bcc0adbf
GM
17352012-09-24 Glenn Morris <rgm@gnu.org>
1736
1737 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1738
095bb823
FEG
17392012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1740
1741 * progmodes/python.el (python-indent-line): More consistent cursor
1742 movement behavior.
1743
70efc5c9
SM
17442012-09-23 Stefan Merten <smerten@oekonux.de>
1745
1746 * textmodes/rst.el: Fix compiler warning.
1747
2f438239
RW
17482012-09-23 Roland Winkler <winkler@gnu.org>
1749
07b1a5fb
SM
1750 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1751 Transcribe also LaTeX hyphenation.
2f438239
RW
1752 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1753 bibtex-reformat-previous-options.
1754
936ad041
RW
17552012-09-23 Roland Winkler <winkler@gnu.org>
1756
1757 * proced.el (proced-renice-command): New variable.
1758 (proced-marked-processes): New function.
1759 (proced-with-processes-buffer): New macro.
1760 (proced-send-signal): Use them.
1761 (proced-renice): New command bound to r.
1762
6fab0274
RW
17632012-09-23 Roland Winkler <winkler@gnu.org>
1764
1765 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1766 ibuffer-saved-filter-groups has one element, shortcut the call of
1767 completing-read. (Bug#12331)
1768
9a930676
CY
17692012-09-23 Chong Yidong <cyd@gnu.org>
1770
1771 * bindings.el (mode-line-toggle-read-only):
1772 * bs.el (bs-toggle-readonly):
1773 * buff-menu.el (Buffer-menu-toggle-read-only):
1774 * dired.el (dired-toggle-read-only):
1775 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1776
d07ff9db
CY
17772012-09-23 Chong Yidong <cyd@gnu.org>
1778
1779 * image.el (image-type-available-p): Adapt to init-image-library
1780 argument changes.
1781
51c4474e
JL
17822012-09-22 Juri Linkov <juri@jurta.org>
1783
1784 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1785 `dired-toggle-read-only'. (Bug#12462)
1786
43bf5e8e
MR
17872012-09-22 Martin Rudalics <rudalics@gmx.at>
1788
1789 * subr.el (temp-output-buffer-show): New function.
1790 (with-output-to-temp-buffer): Call temp-output-buffer-show
1791 instead of internal-temp-output-buffer-show.
1792
c88b867f
CY
17932012-09-22 Chong Yidong <cyd@gnu.org>
1794
3df47cd5
CY
1795 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1796 (Bug#12462).
1797
c88b867f
CY
1798 * repeat.el (repeat): Doc fix (Bug#12348).
1799
1800 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1801 (Bug#10909).
1802
1803 * simple.el (shell-command-on-region): Doc fix.
3171e303 1804 (read-only-mode): Doc fix.
c88b867f 1805
df9685f3
EZ
18062012-09-22 Eli Zaretskii <eliz@gnu.org>
1807
1808 * emacs-lisp/timer.el (run-with-idle-timer)
1809 (timer-activate-when-idle): Warn against reinvoking an idle timer
1810 from within its own timer action. (Bug#12447)
1811
8e17c9ba
MR
18122012-09-22 Martin Rudalics <rudalics@gmx.at>
1813
1814 * cus-start.el (window-combination-limit): Add new optional
1815 values.
1816 * window.el (temp-buffer-window-show)
1817 (window--try-to-split-window): Handle new values of
1818 window-combination-limit (Bug#1806).
1819 (split-window): Test window-combination-limit for t instead of
1820 non-nil.
1821 (display-buffer-at-bottom): New buffer display action function.
1822 * help.el (temp-buffer-resize-regexps): New option.
1823 (temp-buffer-resize-mode): Rewrite doc-string.
1824 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1825 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1826
48a24920
SM
18272012-09-22 Stefan Merten <smerten@oekonux.de>
1828
70efc5c9 1829 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1830 (rst-official-version)
1831 (rst-package-emacs-version-alist): Sync with official version
1832 V1.4.0.
1833 (rst-faces-defaults, rst-set-level-default)
1834 (rst-level-face-max, rst-level-face-base-color)
1835 (rst-level-face-base-light, rst-level-face-format-light)
1836 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1837 (rst-adornment-faces-alist): Match new setup.
1838 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1839 (rst-level-5, rst-level-6): New faces.
1840
82f8cd94
CY
18412012-09-22 Chong Yidong <cyd@gnu.org>
1842
1843 * simple.el (undo): Handle indirect buffers (Bug#8207).
1844
acfa068f 18452012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1846
1847 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1848 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1849 (ido-set-matches-1): Use it. (Bug#2042)
1850
acfa068f 18512012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1852
1853 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1854 Fix 2011-05-17 change. (Bug#12418)
1855
acfa068f 18562012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1857
1858 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1859
acfa068f 18602012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1861
1862 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1863 Be more robust about locating simple.el.
1864
acfa068f 18652012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1866
1867 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1868
acfa068f
CY
18692012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1870
1871 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1872
41a97e6f
JL
18732012-09-20 Juri Linkov <juri@jurta.org>
1874
eb2deaff
JL
1875 * replace.el (query-replace-read-from): Use `read-regexp' instead
1876 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1877 (occur-read-primary-args): Use `read-regexp' instead of
1878 `read-string'.
1879 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1880 `read-from-minibuffer'.
1881 * isearch.el (isearch-occur): Use `read-regexp' instead of
1882 `read-string'.
1883 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1884 `read-from-minibuffer'.
1885 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1886 of `read-string'. (Bug#7567)
1887
5825610b
JL
1888 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1889 and allow accepting a list of strings prepended to a list of
1890 standard default values. Doc fix. (Bug#12321)
1891
eebbf404
JL
1892 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1893
41a97e6f
JL
1894 * replace.el (read-regexp): Don't add ": " when PROMPT already
1895 ends with a colon and space. (Bug#12321)
1896
c9e452d3
TH
18972012-09-20 Tassilo Horn <tsdh@gnu.org>
1898
1899 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1900 error.
1901
ee97deee
SM
19022012-09-20 Stefan Merten <smerten@oekonux.de>
1903
70efc5c9 1904 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1905 Fixes feature request bug#11711.
1906 (rst-mode): Create `imenu-create-index-function'.
1907 (rst-get-stripped-line): Delete after refactoring.
1908 (rst-section-tree, rst-section-tree-rec)
1909 (rst-section-tree-point): Refactor and document properly.
1910 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1911 (rst-imenu-convert-cell, rst-imenu-create-index):
1912 New function.
ee97deee 1913
f490dab9
SM
19142012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1915
95b9712e
SM
1916 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1917 (macroexp--expand-all): Use it.
1918 (macroexp--funcall-and-return): Remove by folding it into its sole
1919 caller (macroexp--warn-and-return).
1920 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1921 Use macroexp--obsolete-warning.
1922
f490dab9
SM
1923 * calc/calc.el: Fix last change by removing the whole chunk, since it
1924 was only needed back when Calc was not bundled.
1925
96e8d411
MR
19262012-09-20 Martin Rudalics <rudalics@gmx.at>
1927
1928 * emacs-lisp/debug.el (debug): Restore assignment to
1929 debugger-old-buffer removed on 2012-09-08.
1930
0876a82d
JL
19312012-09-20 Juri Linkov <juri@jurta.org>
1932
1933 * dired-aux.el (dired-diff): Remove (require 'diff) since
1934 `diff-latest-backup-file' is now autoloaded.
1935
9f7c28f0
CY
19362012-09-20 Chong Yidong <cyd@gnu.org>
1937
1938 * vc/diff.el (diff-latest-backup-file): Autoload.
1939
7a04bee9
SM
19402012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1941
e6f0a80d
SM
1942 * calc/calc.el: Remove redundant autoload shape check.
1943 (sel-mode): Don't defvar.
1944 (calc-get-stack-element): Add `sel-mode' arg instead.
1945 (calc-top, calc-top-list): Pass it this additional argument.
1946 * calc/calc-store.el (calc-store-map):
1947 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1948 (calc-map-equation, calc-outer-product, calc-inner-product):
1949 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1950
7a04bee9
SM
1951 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1952
12734222
JL
19532012-09-19 Juri Linkov <juri@jurta.org>
1954
1955 * dired-aux.el (dired-diff): Add (require 'diff) because
1956 `diff-latest-backup-file' is not autoloaded.
1957 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1958 of `dired-get-filename' to t to not report error when there is
1959 no default file on the current line.
1960
46624b4f
SM
19612012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1962
ce97595b
SM
1963 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1964 macroexp--eval-if-compile.
1965 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1966 (macroexp--expand-all): Use them (bug#12371).
1967
46624b4f
SM
1968 * doc-view.el (doc-view-guess-paper-size)
1969 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1970
db8a5a18
TH
19712012-09-19 Tassilo Horn <tsdh@gnu.org>
1972
1973 New feature: set optimal slice from BoundingBox information.
1974 * doc-view.el (doc-view-mode-map): Add keybinding.
1975 (doc-view-menu): Add menu entry.
1976 (doc-view-set-slice): Adapt docstring.
1977 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1978 (doc-view-scale-bounding-box)
1979 (doc-view-set-slice-from-bounding-box): New functions.
1980 (doc-view-paper-sizes): New defvar.
1981
69f6644c
GM
19822012-09-19 Glenn Morris <rgm@gnu.org>
1983
35f5b19d
GM
1984 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1985 (byte-compile-log-warning): Autoload. (Bug#12371)
1986
69f6644c
GM
1987 * calendar/calendar.el (calendar-american-month-header)
1988 (calendar-european-month-header, calendar-iso-month-header)
1989 (calendar-month-header): New options.
1990 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1991 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1992
e543ae91
JD
19932012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1994
1995 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1996
2fd5e67d
JL
19972012-09-18 Juri Linkov <juri@jurta.org>
1998
1999 * dired-aux.el (dired-diff): Restore original functionality of
2000 getting the default value, but keep new feature of using the
2001 latest existing backup file (`diff-latest-backup-file').
2002
42917e79
JL
20032012-09-18 Juri Linkov <juri@jurta.org>
2004
2005 * dired.el (dired-mark): If the region is active in Transient Mark
2006 mode, mark all files in the active region. Doc fix.
2007 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2008 Doc fix. (Bug#10624)
2009
20f70ede
JL
20102012-09-18 Juri Linkov <juri@jurta.org>
2011
2012 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2013 attributes for M-n are pulled from the file at point.
2014 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2015 Suggested by Drew Adams. (Bug#10624)
2016
32fb8162
DG
20172012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2018
2019 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2020 whitespace after "end".
2021 (ruby-do-end-to-brace): Collapse block to one line if it fits
2022 within fill-column.
2023
37ab5092
MR
20242012-09-18 Martin Rudalics <rudalics@gmx.at>
2025
2026 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2027 value.
2028 (debug): Don't remove debugger window when debugger is expected
2029 to be back.
2030
ed1f0bd3
CY
20312012-09-18 Chong Yidong <cyd@gnu.org>
2032
2033 * custom.el (defface): Doc fix.
2034
2035 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2036
a11035b8
MB
20372012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2038
2039 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2040 to initialize query-on-exit; then test that instead (bug#12288).
2041
64f6a736
SM
20422012-09-17 Stefan Merten <smerten@oekonux.de>
2043
70efc5c9 2044 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2045 (rst-defcustom-testcover, rst-testcover-add-compose)
2046 (rst-testcover-add-1value): New functions.
2047 (rst-portable-mark-active-p): Replace by `use-region-p'.
2048 (rst-update-section, rst-classify-adornment)
2049 (rst-find-title-line): Mark `1value' forms.
2050 (rst-classify-adornment): Remove superfluous form.
2051 (rst-update-section, rst-get-adornments-around)
2052 (rst-adornment-complete-p, rst-get-next-adornment)
2053 (rst-adjust, rst-promote-region)
2054 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2055 (rst-find-pfx-in-region, rst-section-tree-rec)
2056 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2057 (rst-toc-node, rst-toc, rst-forward-section)
2058 (rst-iterate-leftmost-paragraphs)
2059 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2060 (rst-bullet-list-region)
2061 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2062 (rst-compile-find-conf, rst-compile)
2063 (rst-repeat-last-character): Fix style.
2064
580bd868
CY
20652012-09-17 Chong Yidong <cyd@gnu.org>
2066
2067 * comint.el (comint--complete-file-name-data): Don't add a space
2068 if the status is `sole'; that adds a gratuitous space in the
2069 completion-cycling case (Bug#12092).
2070
2071 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2072
69de3ec6
RS
20732012-09-17 Richard Stallman <rms@gnu.org>
2074
0dee970c
RS
2075 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2076 only in the mime-shown mode, not in raw mode.
2077 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2078 mime processing. (Bug#12305)
0dee970c 2079
6b250df6
GM
2080 * mail/rmail.el (rmail-retry-failure):
2081 Turn off mime processing first. (Bug#12037)
acb1c47b 2082
69de3ec6
RS
2083 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2084
d079ee5f
CY
20852012-09-17 Chong Yidong <cyd@gnu.org>
2086
2087 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2088 (shell-dynamic-complete-functions): Convert to defcustom.
2089 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2090
865fe16f
CY
2091 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2092 * comint.el (comint-prompt-read-only):
2093 * custom.el (defcustom):
2094 * hi-lock.el (hi-lock-mode):
2095 * ibuffer.el (ibuffer-formats):
2096 * ielm.el (ielm-prompt-read-only):
2097 * novice.el (disable-command):
2098 * saveplace.el (toggle-save-place):
2099 * speedbar.el (speedbar-supported-extension-expressions):
2100 * startup.el (auto-save-list-file-prefix, init-file-user)
2101 (after-init-hook, inhibit-startup-echo-area-message):
2102 * strokes.el (strokes-help):
2103 * time-stamp.el (time-stamp):
2104 * calendar/calendar.el (calendar, diary-file):
2105 * calendar/diary-lib.el (diary-mail-entries, diary)
2106 (diary-list-entries-hook):
2107 * calendar/holidays.el (holidays, calendar-holidays):
2108 * calendar/lunar.el (lunar-phases):
2109 * calendar/solar.el (sunrise-sunset):
2110 * emulation/edt.el (edt-load-keys):
2111 * emulation/viper.el (viper-mode):
2112 * eshell/em-alias.el (eshell-command-aliases-list):
2113 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2114 * international/ogonek.el (ogonek-information):
2115 * net/tramp-cmds.el (tramp-bug):
2116 * net/quickurl.el (quickurl-reread-hook-postfix):
2117 * play/decipher.el (decipher-font-lock-keywords):
2118 * progmodes/cc-styles.el (c-set-style):
2119 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2120 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2121 * progmodes/octave-mod.el (octave-mode):
2122 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2123 * progmodes/verilog-mode.el (verilog-read-defines):
2124 * textmodes/two-column.el (2C-mode): Likewise.
2125
48093eb9
KY
21262012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2127
2128 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2129 that holds many addresses.
2130
c584eaf9
CY
21312012-09-16 Chong Yidong <cyd@gnu.org>
2132
40d70ecb
CY
2133 * align.el (align-areas): Call the indication function with
2134 positions instead of markers for arguments (Bug#12343).
2135
1667e065
CY
2136 * files.el (parse-colon-path): Use split-string (Bug#12351).
2137
fdc2806d 2138 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2139 (display-buffer-function): Mark as obsolete.
fdc2806d 2140
f1be615c 2141 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2142 values similar to font-lock-keywords (Bug#12136).
2143 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2144 (compilation-error-regexp-alist): Doc fix.
2145
f40a9709
GM
21462012-09-15 Glenn Morris <rgm@gnu.org>
2147
72aa16e1
GM
2148 * version.el (emacs-bzr-version-bzr): New function.
2149 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2150
82375160
GM
2151 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2152 checkouts, check the parent dirstate matches the branch.
2153 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2154 empty string.
2155
f40a9709
GM
2156 * version.el (emacs-bzr-version): Doc fix.
2157 (emacs-bzr-version-dirstate): New function.
2158 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2159 is local try and check that it matches the branch. If not, just
2160 use dirstate information. (Bug#12441)
2161
cb26b7f5
JL
21622012-09-14 Juri Linkov <juri@jurta.org>
2163
2164 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2165 (Bug#12399)
2166
2de39f08
SM
21672012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2168
0fb3cb7c
SM
2169 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2170
2de39f08
SM
2171 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2172 Remove obsolete byte-compiler hack that tried to silence some warnings.
2173 (edebug-submit-bug-report): Remove.
2174 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2175 Remove aliases, use the un-prefixed name instead.
2176 (edebug-pop-to-buffer): Consider other frames.
2177 (edebug-original-read):: Make it more obvious that it's always defined.
2178 (edebug--make-form-data-entry, edebug--form-data-name)
2179 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2180 single-dashed name, and implement with cl-defstruct.
2181 (edebug-set-form-data-entry): Use the standard accessors.
2182 (edebug-make-top-form-data-entry): Use push.
2183 (edebug-no-match): Drop useless `funcall'.
2184 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2185 to functions.
2186 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2187 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2188 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2189 (easy-menu-define, with-custom-print): Remove redundant specs.
2190 (edebug-outside-overriding-local-map)
2191 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2192 (edebug--display): Bind unread-command-events directly to nil rather
2193 than binding it to unread-command-events and later setting it to nil.
2194 (edebug--display): Kill edebug-eval-buffer here...
2195 (edebug--recursive-edit): ...rather than here.
2196 Bind standard-output and standard-input.
2197 (edebug-eval): Check cl-macroexpand-all is fboundp.
2198 (edebug-temp-display-freq-count): Fix last change.
2199
2200 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2201 * subr.el (noreturn, 1value): Add `debug' spec.
2202 * emacs-lisp/advice.el: Require cl-lib.
2203 (ad-copy-tree): Remove, use copy-tree instead.
2204 (ad-dolist): Remove use dolist or cl-dolist instead.
2205 (ad-do-return): Remove, use cl-return instead.
2206 (defadvice): Add `debug' spec.
2207
5b68b333
JL
22082012-09-13 Juri Linkov <juri@jurta.org>
2209
2210 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2211 (Bug#12399)
2212
b9800ec4
GM
22132012-09-13 Glenn Morris <rgm@gnu.org>
2214
6a2e6868
GM
2215 * calc/calc.el (math-compose-expr):
2216 * calc/calc-ext.el (math-compose-expr):
2217 * progmodes/cc-defs.el (cl-macroexpand-all):
2218 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2219 (cl-macroexpand-all): Update declarations.
2220
b9800ec4
GM
2221 * vc/vc.el: No need to require ediff.
2222 (ediff-load-version-control): Declare.
2223 (ediff-vc-internal): Fix declaration.
2224 (vc-version-ediff): Require ediff.
2225
c18e885b
PE
22262012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2227
2228 Use a more backwards-compatible timer format (Bug#12430).
2229 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2230 being right after USECS, as that better supports old code that
2231 inadvisedly looked directly at the timer vector.
2232
d607d303
KH
22332012-09-13 Kenichi Handa <handa@gnu.org>
2234
2235 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2236 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2237 `coding-priority' property of these language environment.
2238
72eac303
PE
22392012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2240
2241 Fix glitches caused by addition of psec to timers (Bug#12430).
2242 * image.el (image-animate-timer):
2243 * time.el (display-time-world-timer):
2244 Use timer--function and timer--args rather than raw access to
2245 timer vector.
2246
2168fe4f
GM
22472012-09-13 Glenn Morris <rgm@gnu.org>
2248
2249 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2250 If not compiling a file, try using load-file-name.
2251
bd8d6108
SM
22522012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2253
c0c54fbd
SM
2254 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2255 Fix last change.
2256 (edebug-update-eval-list): Use `push'.
2257
bd8d6108
SM
2258 * emacs-lisp/edebug.el: Use lexical-binding.
2259 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2260 Mark unused args with underscore.
2261 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2262 (edebug-form-data): Use defvar-local.
2263 (edebug-make-before-and-after-form, edebug-make-after-form):
2264 Use backquote.
2265 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2266 Not dynamically scoped any more.
2267 (edebug--enter-trace): Add arguments `function' and `args'.
2268 Rename from edebug-enter-trace.
2269 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2270 (edebug--update-coverage): Add `after-index' and `value' args.
2271 Rename from edebug-update-coverage.
2272 (edebug-slow-after): Call it accordingly.
2273 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2274 edebug-recursive-edit.
2275 (edebug--display): Call it accordingly. Add args `value',
2276 `offset-index', and `arg-mode'. Rename from edebug-display.
2277 (edebug-debugger, edebug): Call it accordingly.
2278 (edebug-eval-display-list): Use dolist.
2279
a9f9d9de
JL
22802012-09-12 Juri Linkov <juri@jurta.org>
2281
2282 * info.el (Info-search): Don't check for isearch-mode and
2283 isearch-regexp before let-binding search-spaces-regexp to
2284 Info-search-whitespace-regexp.
2285 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2286 search-whitespace-regexp if isearch-lax-whitespace or
2287 isearch-regexp-lax-whitespace is non-nil.
2288 (Info-mode): Don't set local variable search-whitespace-regexp.
2289 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2290
bfeae2cf
SM
22912012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2294 (debugger-env-macro): Remove support for unread-command-char.
2295
2296 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2297 the temporary map re-appearing on emulation-mode-map-alists.
2298
2299 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2300 since 22.1.
2301
2302 * ehelp.el (with-electric-help): Accept functions in
2303 electric-help-form-to-execute.
2304 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2305 And replace unread-command-char -> unread-command-events.
2306
fbbcaf1b
MA
23072012-09-12 Michael Albinus <michael.albinus@gmx.de>
2308
2309 Sync with Tramp 2.2.6.
2310
2311 * net/tramp.el (tramp-accept-process-output): Don't use
2312 JUST-THIS-ONE in the XEmacs case.
2313
2314 * net/trampver.el: Update release number.
2315
4dece104
MR
23162012-09-12 Martin Rudalics <rudalics@gmx.at>
2317
bfeae2cf
SM
2318 * emacs-lisp/debug.el (debugger-previous-window-height):
2319 New variable.
4dece104
MR
2320 (debug): When debugger-jumping-flag is non-nil try to restore
2321 height of debugger window. (Bug#8789)
2322
45b82ad0
SM
23232012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2324
60c49c0f
SM
2325 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2326 overriding-local-map and pre/post-command-hook here.
2327 (edebug-recursive-edit): Do it here instead (bug#12345).
2328 (edebug-outside-unread-command-char): Remove all uses of
2329 unread-command-char.
2330
45b82ad0
SM
2331 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2332 inhibit-debugger is bound instead.
2333
baa26ea0
BG
23342012-09-11 Bastien Guerry <bzg@gnu.org>
2335
2336 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2337 (Bug#12346)
baa26ea0 2338
04e8abfa
BG
23392012-09-11 Bastien Guerry <bzg@gnu.org>
2340
96d03571 2341 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2342 (Bug#12347)
96d03571
BG
2343
23442012-09-11 Bastien Guerry <bzg@gnu.org>
2345
fc0c31f8 2346 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2347
04e082b0
MM
23482012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2349
2350 * progmodes/sql.el: Version 3.1
2351 (sql-db2-escape-newlines): New variable.
2352 (sql-escape-newlines-filter): Use it.
2353
399a361b
JB
23542012-09-10 Juanma Barranquero <lekktu@gmail.com>
2355
2356 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2357
0780c517
DN
23582012-09-10 Dan Nicolaescu <dann@gnu.org>
2359
45b82ad0
SM
2360 * vc/diff-mode.el (diff-mode-menu):
2361 Bind diff-remove-trailing-whitespace.
0780c517 2362
9b851e25
SM
23632012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2366 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2367 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2368 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2369 (eval-defun-2): Remove bogus interactive spec.
2370 (lisp-indent-line): Remove redundant whole-exp code, now done in
2371 indent-according-to-mode.
2372 (save-match-data): Remove redundant indent data.
2373
2374 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2375 Use `declare'.
2376
3231d532
JL
23772012-09-09 Juri Linkov <juri@jurta.org>
2378
2379 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2380 (replace-lax-whitespace, query-replace-regexp)
2381 (query-replace-regexp-eval, replace-regexp): Doc fix.
2382 (perform-replace, replace-highlight): Let-bind
2383 isearch-lax-whitespace to replace-lax-whitespace and
2384 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2385
2386 * isearch.el (isearch-query-replace): Let-bind
2387 replace-lax-whitespace to isearch-lax-whitespace and
2388 replace-regexp-lax-whitespace to
2389 isearch-regexp-lax-whitespace. (Bug#10885)
2390
70fe8236
SM
23912012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2394
8ed43f15
AM
23952012-09-09 Alan Mackenzie <acm@muc.de>
2396
70fe8236
SM
2397 * progmodes/cc-engine.el (c-state-cache-init):
2398 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2399 (c-record-parse-state-state):
2400 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2401
bfabf70a
AS
24022012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2403
2404 * register.el (register-separator): Rename from
2405 separator-register. All uses changed. Doc fix.
2406 (register): Fix version.
2407
011474aa
CY
24082012-09-09 Chong Yidong <cyd@gnu.org>
2409
2410 * replace.el (query-replace-map): Bind four new symbols for
2411 requesting window scrolling.
2412
2413 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2414 query-replace-map (Bug#8948).
2415
2416 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2417
2418 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2419 since they are now in query-replace-map.
2420
2421 * window.el (scroll-other-window-down): Make the arg optional.
2422
a8b7cd8d
CY
24232012-09-09 Chong Yidong <cyd@gnu.org>
2424
2425 * files.el (hack-local-variables-confirm): Use quit-window to kill
2426 the *Local Variables* buffer.
2427
c3268831
DG
24282012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2429
2430 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2431 not just expect to be at its beginning. Adjust callees.
2432 Succeed when do-end block has no space before the pipe character.
2433 (ruby-brace-to-do-end): When the original block is one-liner,
2434 convert to multiline. Reindent the result.
2435
0979429b
J
24362012-09-08 Jambunathan K <kjambunathan@gmail.com>
2437
2438 * register.el (register): New group.
27359e99 2439 (separator-register): New user option.
0979429b
J
2440 (increment-register): Route it to `append-to-register', if
2441 register contains text. Implication is that `C-x r +' can now be
2442 used for appending to a text register (bug#12217).
2443 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2444 `separator-register'.
0979429b 2445
ace2989a
AM
24462012-09-08 Alan Mackenzie <acm@muc.de>
2447
2448 AWK Mode: make auto-newline work when there's "==" in the pattern.
2449 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2450 correctly.
0979429b
J
2451 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2452 Test more rigorously for "=" token.
ace2989a 2453
616c6c36
DG
24542012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2455
0979429b
J
2456 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2457 Only fail when reached LIMIT.
616c6c36 2458
35d98877
CY
24592012-09-08 Chong Yidong <cyd@gnu.org>
2460
2461 * dired.el (dired-mode-map): Don't bind M-=.
2462
2463 * dired-aux.el (dired-diff): Use backup file as default.
2464
1715f2db
DA
24652012-09-08 Drew Adams <drew.adams@oracle.com>
2466
2467 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2468
6dcef6ec
CY
24692012-09-08 Chong Yidong <cyd@gnu.org>
2470
2471 * subr.el (syntax-after, syntax-class): Doc fix.
2472
fa2bcf43
MR
24732012-09-08 Martin Rudalics <rudalics@gmx.at>
2474
2475 * window.el (display-buffer-in-previous-window): New buffer
2476 display action function.
2477
2478 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2479 (debugger-previous-window): New variable.
2480 (debug): Rewrite using display-buffer-in-previous-window,
2481 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2482
daac280a
SM
24832012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2486
9dd40b00
MM
24872012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2488
daac280a
SM
2489 * progmodes/python.el (python-shell-send-string):
2490 When default-directory is remote, create temp file on remote
9dd40b00
MM
2491 filesystem.
2492 (python-shell-send-file): When file is remote, pass local view of
2493 file paths to remote Python interpreter. (Bug#12340)
2494
145823ec
CY
24952012-09-07 Chong Yidong <cyd@gnu.org>
2496
cee2e90d
CY
2497 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2498
0d7eb2ea
CY
2499 * files.el (after-find-file): Don't fail on a read-only buffer if
2500 require-final-newline is `visit' or `visit-save' (Bug#11156).
2501
145823ec
CY
2502 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2503
daac280a
SM
2504 * userlock.el (ask-user-about-supersession-threat):
2505 Use read-char-choice (Bug#12093).
145823ec 2506
74c582e6
CY
25072012-09-07 Chong Yidong <cyd@gnu.org>
2508
e5c2edf7
CY
2509 * subr.el (buffer-narrowed-p): New function.
2510
2511 * ses.el (ses-widen):
2512 * simple.el (count-words--buffer-message):
1f9f395d 2513 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2514
2515 * simple.el (count-words-region): Don't signal an error if there
2516 is a non-nil prefix arg and the mark is not set.
c640e87d 2517
74c582e6
CY
2518 * help.el (describe-key-briefly): Allow the message to be seen
2519 when invoked from the minibuffer (Bug#7014).
2520
d81ceaaf
DG
25212012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2522
2523 * progmodes/ruby-mode.el (ruby-end-of-defun)
2524 (ruby-beginning-of-defun): Simplify, allow indentation before
2525 block beginning and end keywords.
8f06acce
DG
2526 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2527 (ruby-end-of-defun): Expect that the point is at the beginning of
2528 the defun.
d81ceaaf 2529
d458ef98
SM
25302012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2533 (bug#12367).
2534 (cl--make-usage-args): Strip _ from argument names.
2535
20367d28
RS
25362012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2537
2538 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2539 obsolete alias speedbar-key-map.
2540 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2541 (vhdl-index-menu-init): Don't use obsolete variable
2542 font-lock-maximum-size.
2543
3424a4f6
CY
25442012-09-06 Chong Yidong <cyd@gnu.org>
2545
2546 * frame.el (window-system-version): Mark as obsolete.
2547
fcbfbdea
CY
2548 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2549 of obsolete variable speedbar-key-map.
2550
826b3235
JL
25512012-09-06 Juri Linkov <juri@jurta.org>
2552
2553 * replace.el (replace-lax-whitespace): New defcustom.
2554 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2555 (replace-string, replace-regexp): Mention it in docstrings.
2556 (perform-replace, replace-highlight): Let-bind
2557 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2558 to the values of replace-lax-whitespace and regexp-flag.
2559 Don't let-bind search-whitespace-regexp. (Bug#10885)
2560
2561 * isearch.el (isearch-query-replace): Let-bind
2562 replace-lax-whitespace instead of let-binding
2563 replace-search-function and replace-re-search-function.
2564 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2565 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2566 (isearch-toggle-symbol): Set isearch-regexp to nil
2567 in isearch-word mode (like in isearch-toggle-word).
2568
1ec5e41d
JL
25692012-09-06 Juri Linkov <juri@jurta.org>
2570
2571 * replace.el (replace-search-function)
2572 (replace-re-search-function): Set default values to nil.
2573 (perform-replace): Let-bind isearch-related variables based on
2574 replace-related values, call `isearch-search-fun' and let-bind
2575 the result to `search-function'. Remove code that sets
2576 `search-function' and `search-string' separately for
2577 `delimited-flag'.
2578 (replace-highlight): Add new argument `delimited-flag' and
2579 rename other arguments to the names used in `perform-replace'.
2580 Let-bind `isearch-word' to the argument `delimited-flag'.
2581 (Bug#10885, bug#10887)
2582
0ba2d4b6
DG
25832012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2584
2585 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2586 ruby-beginning-of-indent, simplify, allow all keywords to have
2587 indentation before them.
2588 (ruby-beginning-of-indent): Adjust for above. Search until the
2589 found point is not inside a string or comment.
2590 (ruby-font-lock-keywords): Allow symbols to start with "@"
2591 character, give them higher priority than variables.
2592 (ruby-syntax-propertize-function)
2593 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2594 matchers. Expression expansions are not comments when inside a
2595 string, and there comment syntax status is irrelevant.
2596 (ruby-match-expression-expansion): New function. Check that
2597 expression expansion is inside a string, and it's not escaped.
2598 (ruby-font-lock-keywords): Use it.
2599
ef654460
MR
26002012-09-05 Martin Rudalics <rudalics@gmx.at>
2601
2602 * help.el (temp-buffer-max-height): New default value.
2603 (temp-buffer-resize-frames): New option.
2604 (resize-temp-buffer-window): Optionally resize frame.
2605
2606 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2607 (fit-frame-to-buffer): New function.
2608
7e570fbf 26092012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2610
2611 * emulation/cua-rect.el (cua--init-rectangles):
2612 * textmodes/picture.el (picture-mode-map):
2613 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2614 like forward-char and backward-char. (Bug#12317)
2615
7e570fbf 26162012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2617
2618 * progmodes/flymake.el (flymake-warning-re): New variable.
2619 (flymake-parse-line): Use it.
2620
7e570fbf 26212012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2622
2623 * calendar/holidays.el (holiday-christian-holidays):
2624 Rename an entry. (Bug#12289)
2625
7e570fbf 26262012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2627
2628 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2629 (bug#12222).
2630
972debf2
SM
26312012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * loadup.el: Load macroexp. Remove hack.
2634 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2635 (macroexp--expand-all): Use it to get better warnings.
2636 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2637 (internal-macroexpand-for-load): New functions.
2638 (macroexp--pending-eager-loads): New var.
2639 (emacs-startup-hook): New hack to replace one in loadup.el.
2640 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2641 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2642 (cl-psetf): Simplify.
2643 (cl-defstruct): Add indent rule.
2644
8ce192e3
LI
26452012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2646
2647 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2648 over `user-mail-address' for the SMTP MAIL FROM envelope.
2649 (smtpmail-via-smtp): Ditto.
2650
6578b4d8
DG
26512012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2652
2653 * progmodes/ruby-mode.el: Clean up keybindings.
2654 (ruby-mode-map): Don't bind ruby-electric-brace,
2655 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2656 backward-kill-word, reindent-then-newline-and-indent.
2657 (ruby-mark-defun): Remove.
2658 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2659 (ruby-mode): Set local beginning-of-defun-function and
2660 end-of-defun-function values.
2661
c5e28e39
MR
26622012-09-03 Martin Rudalics <rudalics@gmx.at>
2663
2664 * window.el (temp-buffer-window-setup-hook)
2665 (temp-buffer-window-show-hook): New hooks.
2666 (temp-buffer-window-setup, temp-buffer-window-show)
2667 (with-temp-buffer-window): New functions.
972debf2
SM
2668 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2669 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2670
2671 * help.el (temp-buffer-resize-mode): Fix doc-string.
2672 (resize-temp-buffer-window): New optional argument WINDOW.
2673
2674 * files.el (recover-file, save-buffers-kill-emacs):
2675 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2676
73406194
MA
26772012-09-02 Michael Albinus <michael.albinus@gmx.de>
2678
2679 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2680 remote definition of `default-directory', ensure we can connect.
2681
63dd1c6f
JL
26822012-09-02 Juri Linkov <juri@jurta.org>
2683
2684 Toggle whitespace matching mode with M-s SPC.
2685 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2686
2687 * isearch.el (search-whitespace-regexp): Doc fix.
2688 Remove cons cell customization.
2689 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2690 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2691 New variables.
2692 (isearch-forward, isearch-forward-regexp): Doc fix.
2693 (isearch-toggle-lax-whitespace): New command.
2694 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2695 (re-search-forward-lax-whitespace)
2696 (re-search-backward-lax-whitespace): New functions.
2697 (isearch-whitespace-regexp): Remove function.
2698 (isearch-query-replace): Let-bind replace-search-function and
2699 replace-re-search-function.
2700 (isearch-occur): Let-bind search-spaces-regexp according to the
2701 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2702 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2703 condition for C-q SPC.
2704 (isearch-search-fun-default): Use new functions mentioned above.
2705 (isearch-search-forward, isearch-search-backward): Remove functions.
2706 (isearch-search): Don't let-bind search-spaces-regexp.
2707 (isearch-lazy-highlight-space-regexp): Remove variable.
2708 (isearch-lazy-highlight-lax-whitespace)
2709 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2710 (isearch-lazy-highlight-new-loop): Use them.
2711 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2712
af7dda05
CY
27132012-09-02 Chong Yidong <cyd@gnu.org>
2714
2715 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2716
d67d3afd
GM
27172012-09-02 Glenn Morris <rgm@gnu.org>
2718
2719 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2720
69678719
GM
27212012-09-01 Glenn Morris <rgm@gnu.org>
2722
2723 * term.el: Tidy up menu definitions.
2724 (term-mode-map): Use easymenu for In/Out, Complete menus.
2725 (term-pager-break-map): Initialize in the defvar.
2726 (term-terminal-menu, term-signals-menu): Define with easymenu.
2727 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2728 (term-pager-menu): New, extracted from term-process-pager.
2729 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2730 (term-update-mode-line): Propertize line/char and page items.
2731 (term-process-pager): Move keymap initialization elsewhere.
2732
78dd6ab1
MR
27332012-09-01 Martin Rudalics <rudalics@gmx.at>
2734
2735 * window.el (switch-to-prev-buffer): Handle additional values of
2736 BURY-OR-KILL argument. Don't switch in minibuffer window.
2737 (switch-to-next-buffer): Don't switch in minibuffer window.
2738 (quit-restore-window): New function based on quit-window.
2739 Handle additional values of former KILL argument.
2740 (quit-window): Call quit-restore-window with appropriate
2741 interpretation of KILL argument.
2742 (display-buffer-below-selected): New buffer display action
2743 function.
2744
3d10e134
SM
27452012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * minibuffer.el (completion-at-point-functions): Complete docstring
2748 (bug#12254).
2749
0e23ef9d
PE
27502012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2751
2752 Better seed support for (random).
2753 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2754 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2755 * play/mpuz.el, play/tetris.el, play/zone.el:
2756 * calc/calc-comb.el (math-init-random-base):
2757 * play/blackbox.el (bb-init-board):
2758 * play/life.el (life):
2759 * server.el (server-use-tcp):
2760 * type-break.el (type-break):
2761 Remove unnecessary call to (random t).
2762 * net/sasl.el (sasl-unique-id-function):
2763 Change (random t) to (random), now that the latter is more random.
2764 * play/life.el (life-initialized): Remove no-longer-needed var.
2765
862382df
MR
27662012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2767
2768 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2769 Consider frame's buffer predicate when choosing the buffer.
2770 (Bug#12081)
2771
262a66e1
RS
27722012-08-30 Richard Stallman <rms@gnu.org>
2773
2774 * simple.el (special-mode-map): Delete binding for `z'.
2775
f17e1d00
AS
27762012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2777
2778 * progmodes/compile.el (compilation-always-kill): Doc fix.
2779
24777832
CY
27802012-08-30 Chong Yidong <cyd@gnu.org>
2781
2782 * window.el (display-buffer-reuse-frames): Make the obsolescence
2783 message more informative.
2784
69ba1f04
GM
27852012-08-30 Glenn Morris <rgm@gnu.org>
2786
2787 * paren.el (show-paren-delay):
2788 Add a :set function. Doc fix. (Bug#12297)
2789
f0019ede
MB
27902012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2791
2792 * progmodes/compile.el (compilation-always-kill): New var.
2793 (compilation-start): Use it.
2794
35e62fc9
SM
27952012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2796
af070a1c
SM
2797 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2798 * files.el (read-only-mode): Move to simple.el.
2799
35e62fc9
SM
2800 * files.el (read-only-mode): New minor mode.
2801 (toggle-read-only): Use it and mark obsolete.
2802 (find-file--read-only):
2803 * vc/vc.el (vc-next-action, vc-checkout):
2804 * vc/vc-cvs.el (vc-cvs-checkout):
2805 * obsolete/vc-mcvs.el (vc-mcvs-update):
2806 * ffap.el (ffap--toggle-read-only): Update callers.
2807
c2c43c23
MA
28082012-08-29 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2811 remote shell scripts.
2812 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2813
2814 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2815 "/usr/local/sbin".
2816
9fba804b
SM
28172012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2820
eada0861 28212012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2822
806f0cc7
LL
2823 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2824 completion-at-point. (Bug#12220)
2825
3bb213b9
LL
2826 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2827
22ab32ef
LL
2828 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2829
eada0861 28302012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2831
19c17fc1
CY
2832 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2833 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2834
eada0861 28352012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2836
2837 * progmodes/hideif.el (hif-compress-define-list):
2838 Fix typo. (Bug#11951)
2839
eada0861 28402012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2841
2842 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2843 buffer local setting.
2844
27d6c5a8
LL
2845 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2846 rcirc-encode-coding-system.
2847
eada0861 28482012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2849
2850 * net/rcirc.el (rcirc-split-message): New function.
2851 (rcirc-send-message): Use it. (Bug#12051)
2852
d44688e4
JL
28532012-08-28 Juri Linkov <juri@jurta.org>
2854
2855 * info.el (Info-fontify-node): Hide empty lines at the end of
2856 the node. (Bug#12272)
2857
34f10d41
MR
28582012-08-27 Drew Adams <drew.adams@oracle.com>
2859
2860 * dired.el (dired-pop-to-buffer): Make window start at beginning
2861 of buffer (Bug#12281).
2862
77f1f99c
CY
28632012-08-26 Chong Yidong <cyd@gnu.org>
2864
2865 * window.el (special-display-regexps, special-display-frame-alist)
2866 (special-display-buffer-names, special-display-function)
2867 (display-buffer-reuse-frames): Mark as obsolete.
2868
2869 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2870
2871 * help.el (help-print-return-message): Don't treat
2872 display-buffer-reuse-frames specially.
2873
d97af5a0
CY
28742012-08-26 Chong Yidong <cyd@gnu.org>
2875
9fba804b
SM
2876 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2877 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2878 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2879 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2880 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2881 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2882 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2883 the functions directly with gdb-display-buffer-other-frame-action.
2884 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2885 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2886 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2887 (gdb-display-registers-buffer): Define directly.
2888 (def-gdb-display-buffer): Macro deleted.
2889 (gdb-display-buffer): Remove second and third args, callers don't
2890 use them. Defer to the default display-buffer behavior, apart
2891 from making windows dedicated.
2892 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2893
2894 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2895
2896 * window.el (display-buffer-pop-up-frame): Handle a
2897 pop-up-frame-parameters alist entry.
2898 (display-buffer): Document it.
2899
dd7ffad6
CY
29002012-08-26 Chong Yidong <cyd@gnu.org>
2901
2902 * isearch.el (search-whitespace-regexp): Make string and nil
2903 values apply to both ordinary and regexp search. Allow a cons
2904 cell value to distinguish between the two.
2905 (isearch-whitespace-regexp, isearch-search-forward)
2906 (isearch-search-backward): New functions.
2907 (isearch-occur, isearch-search-fun-default, isearch-search)
2908 (isearch-lazy-highlight-new-loop): Use them.
2909 (isearch-forward, isearch-forward-regexp): Doc fix.
2910
4c47bd1e
CY
29112012-08-26 Chong Yidong <cyd@gnu.org>
2912
2913 * faces.el (help-argument-name): Always inherit from italic
2914 (Bug#12213).
2915
9aba119d
MR
29162012-08-25 Martin Rudalics <rudalics@gmx.at>
2917
2918 * window.el (window--even-window-heights): Even heights when
2919 WINDOW and the selected window form a vertical combination.
2920 (display-buffer-use-some-window): Provide that window used gets
2921 sized back by quit-window. (Bug#11880) and (Bug#12091)
2922
ca5256ad
PE
29232012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2924
2925 Fix file time stamp problem with bzr and CVS (Bug#12001).
2926 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2927 in the file's time stamp, since the version control system loses
2928 that information.
2929
d1c0d176
JL
29302012-08-22 Juri Linkov <juri@jurta.org>
2931
2932 * info.el (Info-fontify-node): Hide the suffix of the
2933 Info file name in the header line. (Bug#12187)
2934
141562ff
GM
29352012-08-22 Glenn Morris <rgm@gnu.org>
2936
2937 * calendar/cal-tex.el (cal-tex-weekly-common):
2938 Restore leading blank page.
2939
61a48e19 29402012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2941
2942 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2943 the region under `shift-select-mode'. (Bug#12231)
2944
29452012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2946
2947 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2948 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2949 gives details on why the space is never needed.
2950
ea95074e
MR
29512012-08-22 Martin Rudalics <rudalics@gmx.at>
2952
9fba804b
SM
2953 * window.el (walk-window-tree, window-with-parameter):
2954 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2955 should run on the minibuffer window.
2956 (window-at-side-list): Don't operate on minibuffer window.
2957 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2958 (window--size-ignore): Rename to window--size-ignore-p.
2959 Update callers.
caceae25
MR
2960 (display-buffer-in-atom-window, window--major-non-side-window)
2961 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2962 (delete-side-window, display-buffer-in-side-window):
2963 New functions.
caceae25
MR
2964 (window--side-check, window-deletable-p, delete-window)
2965 (delete-other-windows, split-window): Handle side windows and
2966 atomic windows appropriately.
2967 (window--display-buffer): Call display-buffer-record-window also
2968 when the window buffer did not change.
ea95074e 2969
80a51fa0
CS
29702012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2971
2972 * help-fns.el (help-fns--key-bindings):
2973 Abbreviate non-symbol remap targets. (Bug#12174)
2974
fbb6300b
MR
29752012-08-22 Martin Rudalics <rudalics@gmx.at>
2976
2977 * dired.el (dired-mark-remembered): Don't clobber point.
2978 (Bug#11795)
2979
2b2c0794
GM
29802012-08-22 Glenn Morris <rgm@gnu.org>
2981
2982 * progmodes/bug-reference.el (bug-reference): New custom group.
2983 (bug-reference-bug-regexp): Make it a defcustom.
2984
37219830
DU
29852012-08-22 Daiki Ueno <ueno@unixuser.org>
2986
2987 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2988 (js-paren-indent-offset, js-square-indent-offset)
2989 (js-curly-indent-offset): Add :safe (Bug#12257).
2990
94e0e559
EC
29912012-08-22 Edward O'Connor <hober0@gmail.com>
2992
2993 * json.el (json-key-format): Add error properties.
2994 (json-encode-key): New function.
2995 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2996 Use json-encode-key.
2997
da485f5e
GM
29982012-08-22 Glenn Morris <rgm@gnu.org>
2999
3000 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3001 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3002 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3003 Update for above change.
3004
c6cc78b8
AS
30052012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3006
3007 * cus-face.el (custom-face-attributes): Fix customize type for the
3008 :underline attribute. (Bug#11805)
3009
5481664a
MR
30102012-08-21 Martin Rudalics <rudalics@gmx.at>
3011
3012 * window.el (window-point-1, set-window-point-1): Remove.
3013 (window-in-direction, record-window-buffer)
3014 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3015 (window--state-get-1, display-buffer-record-window):
3016 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3017 window-point and set-window-point respectively.
3018
6d74698e
GM
30192012-08-21 Glenn Morris <rgm@gnu.org>
3020
b7fa2691
GM
3021 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3022 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3023 Use it.
3024
52f56d5a
GM
3025 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3026 (cal-tex-shortday): New function.
3027 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3028 (cal-tex-cursor-filofax-daily): Use the above.
3029
9f1ee09e
GM
3030 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3031 New functions.
3032 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3033 (cal-tex-cursor-filofax-week): Use them.
3034
79858159
GM
3035 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3036 New constants.
3037 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3038 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3039
d346b2b4
GM
3040 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3041 (cal-tex-end-document): Don't rely on buffer name.
3042
b2403709
GM
3043 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3044 Use cal-tex-vspace.
3045 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3046 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3047 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3048 Use cal-tex-arg.
b2403709 3049
1cebb5c0
GM
3050 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3051 (cal-tex-cursor-week, cal-tex-cursor-week2)
3052 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3053 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3054 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3055 (cal-tex-insert-preamble, cal-tex-b-document)
3056 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3057 Improve cal-tex-cmd usage.
3058
c68cd5d4
GM
3059 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3060 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3061 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3062 (cal-tex-weekly-paper): New function.
3063 (cal-tex-cursor-week, cal-tex-cursor-week2)
3064 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3065 (cal-tex-cursor-day): Use it.
3066
9dca4801
GM
3067 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3068 (cal-tex-cursor-filofax-week): Remove leading blank page.
3069
1941e134
GM
3070 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3071 Add autoload cookie. For now at least, don't use color, since
3072 no other cal-tex function does.
3073
6d74698e
GM
3074 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3075 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3076 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3077
64cde199
JL
30782012-08-21 Juri Linkov <juri@jurta.org>
3079
3080 * info.el (Info-file-attributes): New variable.
3081 (info-insert-file-contents): Add file attributes to
3082 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3083 `Info-toc-nodes' when previous modtime of the Info file is less
3084 than new modtime.
3085 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3086 of info.el. (Bug#12230)
3087
32757648
GM
30882012-08-20 Glenn Morris <rgm@gnu.org>
3089
3090 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3091 * calendar/holidays.el (calendar-holiday-list):
3092 Report errors with display-warning rather than beep'n'sleep.
3093
a32fbbcf
MA
30942012-08-20 Michael Albinus <michael.albinus@gmx.de>
3095
3096 * net/tramp.el (tramp-accept-process-output): Accept only output
3097 from PROC. Otherwise, process filters and sentinels might be
3098 confused. (Bug#12145)
3099
a05731a0
CY
31002012-08-20 Chong Yidong <cyd@gnu.org>
3101
3102 * descr-text.el (describe-text-properties-1): Use overlays-in to
3103 report on empty overlays (Bug#3322).
3104
36e8d1eb
GM
31052012-08-20 Glenn Morris <rgm@gnu.org>
3106
3d300447
GM
3107 * mail/rmailout.el (rmail-output-read-file-name):
3108 Trap and report errors in rmail-output-file-alist elements.
3109
36e8d1eb
GM
3110 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3111 since most non-font-lock faces are not also variables).
3112
b96e5814
ER
31132012-08-20 Edward Reingold <reingold@iit.edu>
3114
3115 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3116 New function. (Bug12160)
3117
7cef3569
GM
31182012-08-19 Glenn Morris <rgm@gnu.org>
3119
3120 * mail/rmailout.el (rmail-output-read-file-name):
3121 Fix previous change (when the alist is nil or does not match).
3122
17975d7f
CY
31232012-08-19 Chong Yidong <cyd@gnu.org>
3124
3125 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3126 (Bug#12228).
3127
2170b1bd
CY
31282012-08-18 Chong Yidong <cyd@gnu.org>
3129
3130 * simple.el (yank-handled-properties): New defcustom.
3131 (yank-excluded-properties): Add font-lock-face and category.
3132 (yank): Doc fix.
3133
9fba804b
SM
3134 * subr.el (remove-yank-excluded-properties):
3135 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3136 and category is now done this way, instead of being hard-coded.
3137 (insert-for-yank-1): Remove font-lock-face handling.
3138 (yank-handle-font-lock-face-property)
3139 (yank-handle-category-property): New function.
3140
ee218151
GM
31412012-08-17 Glenn Morris <rgm@gnu.org>
3142
3143 * mail/rmailout.el (rmail-output-read-file-name):
3144 Check rmail-output-file-alist against the full message body
3145 in the correct rmail buffer. (Bug#12214)
3146
4a6bc3fd
MA
31472012-08-17 Michael Albinus <michael.albinus@gmx.de>
3148
9fba804b
SM
3149 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3150 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3151
383dcbf9
CY
31522012-08-17 Chong Yidong <cyd@gnu.org>
3153
3154 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3155 font spec, set the font directly (Bug#3228).
3156
998c4a6a
MR
31572012-08-17 Martin Rudalics <rudalics@gmx.at>
3158
3159 * window.el (delete-window): Fix last fix.
3160
52162052
MR
31612012-08-16 Martin Rudalics <rudalics@gmx.at>
3162
3163 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3164 (window-child, window-child-count, window-last-child)
3165 (window-normalize-window, window-combined-p)
3166 (window-combinations, window-atom-root, window-min-size)
3167 (window-sizable, window-sizable-p, window-size-fixed-p)
3168 (window-min-delta, window-max-delta, window--resizable)
3169 (window--resizable-p, window-resizable, window-total-size)
3170 (window-full-height-p, window-full-width-p, window-body-size)
3171 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3172 (minimize-window, window-deletable-p, delete-window)
3173 (delete-other-windows, set-window-buffer-start-and-point)
3174 (next-buffer, previous-buffer, split-window, balance-windows-2)
3175 (set-window-text-height, window-buffer-height)
3176 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3177 (truncated-partial-width-window-p): Minor code adjustments.
3178 In doc-strings state whether the argument window has to denote a
85c2386b 3179 live, valid or any window.
52162052 3180
1c308380
PS
31812012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3182
3183 * progmodes/subword.el (subword-forward-function)
3184 (subword-backward-function, subword-forward-regexp)
3185 (subword-backward-regexp): New variables.
3186 (subword-forward, subword-forward-internal, subword-backward-internal):
3187 Use new variables, eg so that different "word" definitions
3188 can be easily used. (Bug#11411)
3189
94c9ece1
SM
31902012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3193 for composite selectors.
3194 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3195 operation just because we can't find a previous revision.
3196
f2045622
CY
31972012-08-15 Chong Yidong <cyd@gnu.org>
3198
3199 * frame.el (set-frame-font): Accept font objects.
3200
582db660
SM
32012012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3202
3203 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3204
2f29c200
WJ
32052012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3206
456e62c2
WJ
3207 * man.el (Man-overstrike-face, Man-underline-face)
3208 (Man-reverse-face): Remove variables.
3209 (Man-overstrike, Man-underline, Man-reverse): New faces.
3210 (Man-fontify-manpage): Use them instead of the variables.
3211 (Man-cleanup-manpage): Comment change.
3212 (Man-ansi-color-map): New variable.
3213 (Man-fontify-manpage): Use it.
3214 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3215
2f29c200
WJ
3216 Implement ANSI SGR parameters 22-27 (bug#12146).
3217 * ansi-color.el (ansi-colors): Doc fix.
3218 (ansi-color-context, ansi-color-context-region): Doc fix.
3219 (ansi-color--find-face): New function.
3220 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3221 Rename the local variable `face' to `codes' since it is now a list of
3222 ansi codes. Doc fix.
3223 (ansi-color-get-face): Remove.
3224 (ansi-color-parse-sequence): New function, derived from
3225 ansi-color-get-face.
3226 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3227 codes 22-27.
3228
b4f5e9df
SM
32292012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * subr.el (read-passwd): Allow use from a minibuffer.
3232
ba025fbd
EZ
32332012-08-14 Eli Zaretskii <eliz@gnu.org>
3234
3235 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3236 inside comments and strings as identifiers.
3237
3238 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3239 expression to evaluate. This allows to evaluate expressions with
3240 embedded whitespace.
3241 (gud-tooltip-tips): Add a blank before the newline in the
3242 message-box text, for the benefit of message-box emulation on
3243 MS-Windows.
3244
3245 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3246 messages from GDB, pop them up in a tooltip to give feedback to
3247 user.
b4f5e9df
SM
3248 (gdb-tooltip-print-1): Quote the expression to evaluate.
3249 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3250 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3251 if the TTY name is nil or empty (which happens when communicating
3252 with the inferior via pipes, e.g. on MS-Windows).
3253 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3254 don't send that to the GUD buffer.
3255
c548f821
GM
32562012-08-14 Glenn Morris <rgm@gnu.org>
3257
3258 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3259 Optimize away setq-default with no args, as for setq. (Bug#12195)
3260
55802e4a
CY
32612012-08-14 Chong Yidong <cyd@gnu.org>
3262
4abcdac8
CY
3263 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3264
55802e4a
CY
3265 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3266 (Bug#12085).
3267
3c3cda1a
GM
32682012-08-14 Glenn Morris <rgm@gnu.org>
3269
3270 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3271
e1873bd0
MA
32722012-08-14 Michael Albinus <michael.albinus@gmx.de>
3273
3274 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3275 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3276 Use cached shell name.
3277
925411b4
FEG
32782012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3279
3280 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3281 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3282
e636fafe
DG
32832012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3284
3285 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3286 (ruby-percent-literal-beg-re): New constant.
3287 (ruby-syntax-general-delimiters-goto-beg): Rename to
3288 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3289 (ruby-syntax-propertize-general-delimiters): Rename to
3290 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3291 popular term. Adjust comments everywhere.
3292 (ruby-syntax-propertize-percent-literal): Only propertize when not
3293 inside a simple string or comment. When the literal is unclosed,
3294 leave the text after it unpropertized.
f063063a
DG
3295 (ruby-syntax-methods-before-regexp): New constant.
3296 (ruby-syntax-propertize-function): Use it to recognize regexps.
3297 Don't look at the text after regexp, just use the whitelist.
e636fafe 3298
e5b19827
AS
32992012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3300
3301 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3302 non-nil always load the compiled file if it exists. (Bug#12197)
3303
a9f6f311
CY
33042012-08-14 Chong Yidong <cyd@gnu.org>
3305
3306 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3307 (hi-lock-set-pattern): When deciding whether to use font lock or
3308 overlays, look at font-lock-mode instead of font-lock-fontified
3309 (Bug#12168).
3310 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3311 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3312
7d806b1e
DU
33132012-08-14 Daiki Ueno <ueno@unixuser.org>
3314
3315 * subr.el (internal--after-with-selected-window): Fix typo
3316 (Bug#12193).
3317
5beed586
FEG
33182012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3319
3320 Use `completion-table-dynamic' for completion functions.
3321 * progmodes/python.el
3322 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3323 (python-shell-completion--get-completions):
3324 Remove functions.
5beed586
FEG
3325 (python-shell-completion-complete-at-point): New function.
3326 (python-completion-complete-at-point): Use it.
3327
92cb3b04
J
33282012-08-13 Jambunathan K <kjambunathan@gmail.com>
3329
3330 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3331 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3332
89660017
SM
33332012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3c98c962
SM
3335 * subr.el (function-get): Refine `autoload' arg so it can also
3336 autoload functions for gv.el (bug#12191).
3337 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3338 autoloads macros.
3339
aa7c6dbe
SM
3340 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3341 Prefer pcase-let over destructuring-bind.
3342 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3343 Also, remove whitespace as we go, rather than after accumulating the
3344 various places.
3345
89660017
SM
3346 * subr.el (internal--before-with-selected-window)
3347 (internal--after-with-selected-window): Fix typo seleted->selected.
3348 (with-selected-window): Adjust callers.
3349 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3350
31cd32c9
BG
33512012-08-13 Bastien Guerry <bzg@gnu.org>
3352
0fcd3d9f 3353 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3354 enhancement. (Bug#12172)
3355
1b15d8ad
AS
33562012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3357
31e54db0
AS
3358 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3359 type 1-6.
3360 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3361 extended headers.
3362
1b15d8ad
AS
3363 * files.el (hack-local-variables-filter): Remove useless eval.
3364
35cb9c06
MR
33652012-08-13 Martin Rudalics <rudalics@gmx.at>
3366
3367 * subr.el (with-selected-window): Fix last change.
3368
1439443b
SM
33692012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * subr.el (internal--before-with-seleted-window)
3372 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3373 (with-selected-window): Use them, to replace dependency on
3374 tty-top-frame.
1439443b 3375
0d9e2599
NN
33762012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3377
3378 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3379 binding for `newline'.
3380 (ruby-move-to-block): When moving backward, stop at block opening,
3381 not indentation.
3382 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3383 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3384 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3385 `ruby-toggle-block'.
3386
ba10c48c
SM
33872012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * ibuffer.el (ibuffer-do-toggle-read-only):
3390 * dired.el (dired-toggle-read-only):
3391 * buff-menu.el (Buffer-menu-toggle-read-only):
3392 * bindings.el (mode-line-toggle-read-only):
3393 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3394
9229c658
AS
33952012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3396
3397 * descr-text.el (describe-char): Put the overlays over the
3398 "displayed as" character.
3399
0fd09128
JB
34002012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3401
3402 * calc/calc-units.el (math-default-units-table): Give an
3403 initial value.
3404 (math-put-default-units): Add options to put composite units and
3405 unit systems in the default units table.
3406 (calc-convert-units): Send composite units to
3407 `math-put-default-units' when appropriate.
3408
9ff9402d 34092012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3410
fbb5e336
GM
3411 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3412
7aacaf15
GM
3413 * tutorial.el (help-with-tutorial):
3414 * emacs-lisp/copyright.el (copyright-update-directory):
3415 * emacs-lisp/autoload.el (autoload-find-generated-file)
3416 (autoload-find-file): Disable local eval: (for insurance).
3417
f40b9f10
GM
3418 * files.el (hack-local-variables-filter): If an eval: form is not
3419 known to be safe, and enable-local-variables is :safe, then ignore
3420 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3421 This is CVE-2012-3479.
f40b9f10 3422
daa9f1a6
SM
34232012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3426 (rx-form): Simplify.
3427
9cd80478
DG
34282012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3429
0d9e2599
NN
3430 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3431 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3432 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3433 (ruby-syntax-propertize-function): Adjust for changes in
3434 `ruby-syntax-propertize-heredoc'.
3435
34362012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3437
9cd80478
DG
3438 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3439 binding (use `M-;' instead).
9cd80478 3440 (ruby-singleton-class-p): New function.
0d9e2599 3441 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3442
d301b413
SM
34432012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3444
3445 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3446
1530c98e
CY
34472012-08-10 Chong Yidong <cyd@gnu.org>
3448
3449 * progmodes/python.el (python-shell-get-process-name): Don't mess
3450 with same-window-buffer-names.
3451
3452 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3453 (eshell-remove-from-window-buffer-names): Make obsolete.
3454 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3455 (eshell): Just use pop-to-buffer-same-window instead.
3456
e1293765
CY
34572012-08-10 Chong Yidong <cyd@gnu.org>
3458
3459 * bindings.el: Bind M-= back to count-words-region.
3460
3461 * simple.el (count-words-region): Accept a prefix arg for acting
3462 on the entire buffer.
3463 (count-words--buffer-message): New helper function.
3464
e1894109
SM
34652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3468 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3469 (event-start, event-end): Use posn-at-point to return a more
3470 informative posn.
3471 (posnp): New function.
3472 * mouse.el (popup-menu-normalize-position): Use it.
3473
c69f56a2
MY
34742012-08-10 Masatake YAMATO <yamato@redhat.com>
3475
3476 * mouse.el (popup-menu-normalize-position): New function.
3477 (popup-menu): Use `popup-menu-normalize-position' to normalize
3478 the form for POSITION argument.
3479
3480 * term/x-win.el (x-menu-bar-open):
3481 Use the value returend from (posn-at-point) as position
3482 passed to `popup-menu'.
3483
31673780
JB
34842012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3485
3486 * calc/calccomp.el (math-compose-expr): Add extra argument
3487 indicating that parentheses should be put around products in
3488 denominators. Give multiplication precedence over division during
3489 composition.
3490
dab7711b
CY
34912012-08-09 Chong Yidong <cyd@gnu.org>
3492
dee4ef93
CY
3493 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3494 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3495 (Man-untabify-command, manual-program): Convert to defcustom
3496 (Bug#10429).
3497
73e2bbc5
CY
3498 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3499
3e861c8a
CY
3500 * descr-text.el (describe-char): Don't insert extra newlines
3501 (Bug#10127).
3502
a9f5a649
CY
3503 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3504 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3505
dab7711b
CY
3506 * align.el (align-region): Delete temporary markers (Bug#10047).
3507 Plus some code cleanups.
3508
e0cc4efa
FEG
35092012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3510
3511 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3512 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3513 (python-shell-internal-last-output): Use make-local-variable
3514 instead of make-variable-buffer-local.
3515
489af14f
FEG
35162012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3517
3518 * progmodes/python.el: Enhancements to forward-sexp.
3519 (python-nav-forward-sexp): Rename from
3520 python-nav-forward-sexp-function.
c69f56a2
MY
3521 (python-nav--forward-sexp, python-nav--backward-sexp):
3522 New functions.
489af14f 3523
0fc50303
JB
35242012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3525
3526 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3527 modes and simplification modes.
3528
5d65606a
SM
35292012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 * delsel.el (delete-selection-pre-hook): Don't propagate the
3532 file-supersession signals (bug#12161).
3533
4250fdf5
SM
35342012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3537 (cl-map-extents): Add compatibility aliases (bug#12135).
3538
d9f9b465
MA
35392012-08-08 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3542 tests by `ignore-error'.
3543 (tramp-find-shell): Open also a new shell, when cache is already
3544 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3545
ce0fcefa
JL
35462012-08-08 Juri Linkov <juri@jurta.org>
3547
3548 * bookmark.el: Add `defaults' property to the bookmark record.
3549 (bookmark-current-buffer): Doc fix.
3550 (bookmark-make-record): Add `defaults' property with default values
3551 to the bookmark record.
3552 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3553 with `bookmark-insert-current-bookmark'.
3554 (bookmark-set): Get `defaults' property from the bookmark record
3555 and use it in `read-from-minibuffer'.
3556 (bookmark-insert-current-bookmark): Remove function.
3557
3558 * info.el (Info-bookmark-make-record): Add `defaults' property
3559 with values of canonical Info node name, the current Info file
3560 name and the current Info node name. (Bug#12107)
3561
53fa8652
JL
35622012-08-08 Juri Linkov <juri@jurta.org>
3563
3564 * files.el (basic-save-buffer): Use `buffer-name' as the default
3565 of `read-file-name' when buffer is not visiting a file (bug#12128).
3566
242c0a95
JL
35672012-08-08 Juri Linkov <juri@jurta.org>
3568
3569 * info.el (Info-isearch-search): Doc fix.
3570 (Info-search): Change search-failed message from "initial node" to
3571 "end of node" (bug#12078).
3572 (Info-isearch-search): Change `isearch-string-state' to
3573 `isearch--state-string'.
3574
32ac3a6b
GM
35752012-08-08 Glenn Morris <rgm@gnu.org>
3576
3577 * language/persian.el: Remove file.
f8c1afd5 3578 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3579 * loadup.el: Remove language/persian.
3580
2c2d9c9c
OF
35812012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3582
3583 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3584
2d79ec42
FEG
35852012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3586
3587 * progmodes/python.el Fixed defsubst warning.
3588 (python-syntax-context) Rename from python-info-ppss-context.
3589 (python-syntax-context-type): Rename from
3590 python-info-ppss-context-type.
3591 (python-syntax-comment-or-string-p): Rename from
3592 python-info-ppss-comment-or-string-p.
3593
2bd255dd
JB
35942012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3595
3596 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3597
c395097f
AS
35982012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3599
6125983e
AS
3600 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3601 a defcustom that is quoted with backquote.
3602
4250fdf5
SM
3603 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3604 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3605 (math-do-arg-check, math-define-function-body): Use backquote forms.
3606 * calc/calc-ext.el (math-defcache): Likewise.
3607 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3608 * allout.el (allout-new-exposure): Likewise.
3609 * calc/calcalg2.el (math-tracing-integral): Likewise.
3610 * info.el (Info-last-menu-item): Likewise.
3611 * emulation/vip.el (vip-loop): Likewise.
3612 * textmodes/artist.el (artist-funcall): Likewise.
3613 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3614 Construct menu-item directly.
3615
4250fdf5
SM
3616 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3617 Don't declare.
c395097f 3618
5fb50dd3
CY
36192012-08-07 Chong Yidong <cyd@gnu.org>
3620
3621 * simple.el (deactivate-mark): Preserve text properties when
3622 saving the primary selection (Bug#8384).
3623
54eea618
KR
36242012-08-07 Kevin Ryde <user42@zip.com.au>
3625
3626 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3627 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3628 and continue processing (Bug#12110).
3629
638eaeb9
SM
36302012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3633 syntax-propertize-function (bug#10095).
3634
ea376861
SM
36352012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3636
f91b35be
SM
3637 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3638 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3639 describe-function-1.
3640 (describe-function-1): Use them. Move compiler macro after sig.
3641 (help-fns--compiler-macro): Use function-get. Assume we're already in
3642 standard-output. Adjust layout to new call order.
3643
ea376861
SM
3644 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3645 re-binding a symbol that has a symbol-macro (bug#12119).
3646
d5be7bd0
MB
36472012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3648
3649 * language/persian.el: New file. (Bug#11812)
3650 * loadup.el: Add language/persian.el.
3651
90749b53
CY
36522012-08-06 Chong Yidong <cyd@gnu.org>
3653
3654 * window.el (window--maybe-raise-frame): New function.
3655 (window--display-buffer): Split off from here.
3656 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3657 (display-buffer-pop-up-window, display-buffer-use-some-window):
3658 Obey an inhibit-switch-frame action alist entry.
3659 (display-buffer): Update doc.
3660
3661 * replace.el (occur-after-change-function): Avoid losing focus by
3662 using the inhibit-switch-frame display parameter (Bug#12139).
3663
ba7b0154
FEG
36642012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3665
3666 Make internal shell process buffer names start with space.
3667 * progmodes/python.el (python-shell-make-comint): Add optional
3668 argument INTERNAL.
3669 (run-python-internal): Use it.
3670 (python-shell-internal-get-or-create-process): Check for new
3671 internal buffer names.
3672
5eaeacb5
GM
36732012-08-06 Glenn Morris <rgm@gnu.org>
3674
e296d94b 3675 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3676 Do less getting and setting of environment variables.
3677
b7ccbdc2
CY
36782012-08-05 Chong Yidong <cyd@gnu.org>
3679
777fe95e
CY
3680 * proced.el (proced): Add substitution string to docstring to
3681 trigger autoloading of the proced library on C-h f (Bug#1768).
3682
4250fdf5
SM
3683 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3684 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3685
3686 * imenu.el (imenu-generic-expression): Move documentation here
3687 from imenu--generic-function.
3688 (imenu--generic-function): Refer to imenu-generic-expression.
3689
9e3b7800 36902012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3691
3692 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3693 indentation declaration.
3694 (viper-loop): Add indentation declaration (Bug#7025).
3695
e5d9c0d1
CY
36962012-08-05 Chong Yidong <cyd@gnu.org>
3697
f0422feb
CY
3698 * help-fns.el (describe-variable): Add hyperlink for
3699 directory-local variables files. Improve buffer-local and
3700 permanent-local reporting; suggested by MON KEY (Bug#6644).
3701
3702 * help-mode.el (help-dir-local-var-def): New button type.
3703
e5d9c0d1
CY
3704 * files.el (kill-buffer-hook): Provide a defvar.
3705
a4f2deaa
GM
37062012-08-05 Glenn Morris <rgm@gnu.org>
3707
3708 * eshell/esh-ext.el (eshell/addpath):
3709 Also update eshell-path-env. (Bug#12013)
3710
a9dd5754
CY
37112012-08-05 Chong Yidong <cyd@gnu.org>
3712
a4f2deaa 3713 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3714
d014c740
CY
3715 * fringe.el (fringe-styles): Add docstring.
3716 (fringe--check-mode): New function.
3717 (set-fringe-mode, set-fringe-style): Use it.
3718 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3719
a9dd5754
CY
3720 * files.el (set-auto-mode): Fix invalid setq call.
3721
7c2dc8bd
SM
37222012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * isearch.el: Misc simplification; use defstruct.
3725 (isearch-mode-map): Dense maps now work like sparse ones.
3726 (isearch--state): New defstruct.
3727 (isearch-string-state, isearch-message-state, isearch-point-state)
3728 (isearch-success-state, isearch-forward-state)
3729 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3730 (isearch-wrapped-state, isearch-barrier-state)
3731 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3732 replaced by defstruct's accessors.
3733 (isearch--set-state): Rename from isearch-top-state and change
3734 calling convention.
3735 (isearch-push-state): Use new isearch--get-state.
3736 (isearch-toggle-word): Disable regexp when enabling word.
3737 (isearch-message-prefix): Remove unused arg _c-q-hack.
3738 (isearch-message-suffix): Remove unused arg _ellipsis.
3739
7fcc0070
AS
37402012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3741
3742 * simple.el (list-processes--refresh): For a server use :host or
3743 :local as the address.
97ad0769 3744 (list-processes): Doc fix.
7fcc0070 3745
a11035b8 37462012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3747
3748 * lisp/mpc.el: Support password in host argument.
3749 (mpc--proc-connect): Parse and use new password element.
3750 Set mpc-proc variable instead of returning process.
3751 (mpc-proc): Adjust accordingly.
3752
6dad7178
EZ
37532012-08-03 Eli Zaretskii <eliz@gnu.org>
3754
18949c2f
EZ
3755 * whitespace.el (whitespace-display-mappings): Use Unicode
3756 codepoints, instead of emacs-mule codepoints. See
3757 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3758 for the details.
3759
6dad7178
EZ
3760 * files.el (file-truename): Don't skip symlink-chasing part on
3761 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3762 Windows into the loop that recursively chases symlinks.
3763 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3764 MS-DOS.
3765
385b0198
CY
37662012-08-03 Chong Yidong <cyd@gnu.org>
3767
6200f3c4
CY
3768 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3769
385b0198
CY
3770 * sort.el (sort-regexp-fields): Doc fix.
3771
b9e74744
TH
37722012-08-03 Tassilo Horn <tsdh@gnu.org>
3773
3774 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3775 labels regex position point at the expected place.
3776
41013cb4
MK
37772012-08-03 MON KEY <monkey@sandpframing.com>
3778
3779 * net/imap.el (imap-interactive-login, imap-authenticate)
3780 (imap-mailbox-lsub, imap-mailbox-list)
3781 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3782 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3783 (imap-parse-response): Doc fix.
3784
0ffee616
JT
37852012-08-03 João Távora <joaotavora@gmail.com>
3786
3787 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3788 if sexp scanning does not move point (Bug#5734).
3789
cfcc9cc8
TH
37902012-08-02 Tassilo Horn <tsdh@gnu.org>
3791
3792 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3793 Add listings, minted, and ctable packages.
3794 (reftex-label-alist-builtin): Move listings, minted, and ctable
3795 entries before LaTeX.
a01bbb84 3796 (reftex-label-alist): Docfix.
cfcc9cc8 3797
66ec2442
BG
37982012-08-02 Bastien Guerry <bzg@gnu.org>
3799
3800 * replace.el (occur): Fix docstring (bug#12122).
3801
837b365b
GM
38022012-08-02 Glenn Morris <rgm@gnu.org>
3803
3804 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3805
e098de97
PE
38062012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3807
3808 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3809 * international/mule-cmds.el: Create
3810 inactivate-current-input-method-function as an obsolete alias for
3811 deactivate-current-input-method-function. See Katsumi Yamaoka in
3812 <http://bugs.gnu.org/10150#46>.
3813
a0f95636
JB
38142012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3815
3816 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3817 of nested `if's.
3818
0d26d7c4
GM
38192012-08-01 Glenn Morris <rgm@gnu.org>
3820
3821 * progmodes/autoconf.el (autoconf-definition-regexp):
3822 Add AH_TEMPLATE, adjust submatch numbering.
3823 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3824 (autoconf-current-defun-function): Update for above change.
3825 (autoconf-current-defun-function): First skip to end of current word.
3826
b686ba06
RS
38272012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3828
3829 * calendar/cal-html.el (cal-html-insert-agenda-days):
3830 Fix typo. (Bug#12018)
3831
0d49da68
FEG
38322012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3833
3834 Shell processes: enhancements to startup and CEDET compatibility.
3835 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3836 (python-shell-make-comint): accept-process-output at startup.
3837 (run-python-internal): Set inferior-python-mode-hook to nil.
3838 (python-shell-internal-get-or-create-process): call sit-for.
3839 (python-preoutput-result): Add obsolete alias.
3840 (python-shell-internal-send-string): Use it.
3841 (python-shell-send-setup-code): Remove call to
3842 accept-process-output.
3843
f1a71c6e
AS
38442012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3845
3846 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3847 (Bug#12108)
3848
d2605269
JB
38492012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3850
3851 * calc-mode.el (calc-basic-simplification-mode): Rename from
3852 `calc-limited-simplification-mode'.
3853 (calc-alg-simplification-mode): New function.
fc0c31f8 3854 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3855
d2605269
JB
3856 * calc.el (calc-set-mode-line): Adjust mode line display for
3857 basic simplification mode.
3858
3859 * calc-help.el (calc-m-prefix-help): Update help message.
3860
3861 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3862 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3863
a3827a43
BG
38642012-07-31 Bastien Guerry <bzg@gnu.org>
3865
3866 * man.el (man): Fix comment. (bug#12101)
3867
502e3f89
MR
38682012-07-31 Martin Rudalics <rudalics@gmx.at>
3869
3870 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3871 Don't return a non-nil value when no suitable buffer was found.
3872
d7714961
FEG
38732012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3874
3875 * progmodes/python.el (run-python-internal): Disable font lock for
3876 internal shells.
3877
1f45e27e
SM
38782012-07-30 Stefan Merten <smerten@oekonux.de>
3879
70efc5c9 3880 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3881 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3882 (rst-official-version, rst-official-cvs-rev)
3883 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3884 (rst-mode-map): New key binding.
3885
0aee6912
PE
38862012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3887
3888 Update .PHONY listings in makefiles.
3889 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3890 autoloads, update-subdirs, updates, bzr-update, update-authors,
3891 compile-onefile, compile-calc, backup-compiled-files,
3892 compile-after-backup, compile-one-process, mh-autoloads,
3893 bootstrap-clean, distclean, maintainer-clean.
3894
9052f9f0
JB
38952012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3896
1823ac5a
JB
3897 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3898 (calc-set-mode-line): Don't display "AlgSimp ".
3899
3900 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3901 (calc-lim-simplify-mode): New function.
3902 (calc-set-simplify-mode): Default to 'alg.
3903 (calc-default-simplify-mode): Make algebraic simplifications
3904 the default.
3905
3906 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3907 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3908
8d7c7eed 3909 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3910 indicate new simplification modes.
3911
1823ac5a
JB
3912 * calc/README: Mention new default simplification mode.
3913
9052f9f0
JB
3914 * calc/calc.el (math-normalize-error): New variable.
3915 (math-normalize): Set `math-normalize-error' to t
3916 when there's an error.
3917
3918 * calc/calc-alg.el (math-simplify): Don't simplify when
3919 `math-normalize' returns an error.
3920
20ba0cb4
EZ
39212012-07-29 Eli Zaretskii <eliz@gnu.org>
3922
3923 * international/mule-cmds.el (set-locale-environment): Revert last
3924 change, since display-graphic-p returns nil when this function is
3925 called during startup. Instead...
3926
3927 * term/w32console.el (terminal-init-w32console): ...setup the
3928 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3929
a5dcc929
JL
39302012-07-29 Juri Linkov <juri@jurta.org>
3931
3932 * simple.el (goto-line): Don't display default line number in the
3933 prompt because it should be displayed by `read-number' (bug#9952).
3934 Add the current line number to the defaults of `goto-line' to
3935 allow its easier modification by users with `M-n' (bug#9201).
3936
3937 * subr.el (read-number): Support multiple default values like in
3938 other minibuffer reading functions. Replace `read' with
3939 `string-to-number' for consistency with `number-to-string'.
3940
72b255c7
PE
39412012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3942
3943 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3944 * emulation/viper-init.el (viper-deactivate-input-method-action):
3945 Rename from viper-inactivate-input-method-action.
3946 (viper-deactivate-input-method):
3947 Rename from viper-inactivate-input-method.
3948 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3949 * international/mule-cmds.el (deactivate-input-method):
3950 Rename from inactivate-input-method.
3951 Also run input-method-deactivate-hook.
3952 (deactivate-current-input-method-function):
3953 Rename from inactivate-current-input-method-function.
3954 (input-method-deactivate-hook): New hook.
3955 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3956 (inactivate-input-method): Mark obsolete.
3957
72b255c7
PE
3958 * international/quail.el (quail-activate):
3959 Also run quail-deactivate-hook.
3960 (quail-deactivate): Rename from quail-inactivate.
3961 * international/robin.el (robin-activate):
3962 Also run robin-deactivate-hook.
3963 (robin-deactivate): Rename from robin-inactivate.
3964
2549c068
CY
39652012-07-29 Chong Yidong <cyd@gnu.org>
3966
3967 * simple.el (indicate-copied-region): New function.
3968 (kill-ring-save): Split off from here.
3969
3970 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3971 (kill-rectangle): Set deactivate-mark to t on read-only error.
3972
3973 * register.el (copy-to-register, copy-rectangle-to-register):
3974 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3975 (append-to-register, prepend-to-register): Call indicate-copied-region.
3976
39772012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3978
3979 * simple.el (async-shell-command-buffer): New defcustom.
3980 (shell-command): Use it. (Bug#4719)
3981
01bd1b0d
EZ
39822012-07-28 Eli Zaretskii <eliz@gnu.org>
3983
3984 * international/mule-cmds.el (set-locale-environment): In a
3985 console session on MS-Windows, set up keyboard and terminal
3986 encoding from the OEM codepage, not the ANSI codepage.
3987 (Bug#12055)
3988
a55739d3
CY
39892012-07-28 Chong Yidong <cyd@gnu.org>
3990
3991 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3992 gdb-get-location.
3993
0e1a094f 39942012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3995
3996 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3997 the alist (bug#12029).
3998
20329d73
EZ
39992012-07-28 Eli Zaretskii <eliz@gnu.org>
4000
4001 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4002 (compile-always, compile-first)
4003 ($(lisp)/calendar/cal-loaddefs.el)
4004 ($(lisp)/calendar/diary-loaddefs.el)
4005 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4006 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4007 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4008 instead of on update-subdirs.
4009 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4010
345a2258
CY
40112012-07-28 Chong Yidong <cyd@gnu.org>
4012
1eee6341
CY
4013 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4014 directory if vc-deduce-backend returns nil (Bug#7350).
4015
345a2258
CY
4016 * simple.el (delete-trailing-lines): New option.
4017 (delete-trailing-whitespace): Obey it (Bug#11879).
4018
049a0936
DE
40192012-07-28 David Engster <deng@randomsample.de>
4020
4021 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4022 Explanation of new 'symbol-qnames feature in doc-strings.
4023 (xml-maybe-do-ns): Return expanded names as plain symbols if
4024 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4025 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4026
aa81af71
FEG
40272012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4028
4029 Consistent completion in inferior python with emacs -nw.
4030 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4031 binding in inferior-python-mode-map with "\t".
4032 (python-shell-completion-complete-at-point)
4033 (python-completion-complete-at-point): Remove interactive spec.
4034
e827b1eb
JB
40352012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4036
4037 * calc/calccomp.el (math-compose-expr): Undo previous change.
4038
a90dfb95
FEG
40392012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4040
4250fdf5 4041 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4042 run-python.
4043 (python-shell-make-comint): Fix pop-to-buffer call.
4044 (run-python): Autoload. New arg SHOW.
4045 (python-shell-get-or-create-process): Do not pop python process
4046 buffer.
4047
32770973 40482012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4049
4050 * notifications.el (notifications-on-action-signal)
4051 (notifications-on-closed-signal): Use also the bus address for the map.
4052 (notifications-notify, notifications-close-notification)
fc0c31f8 4053 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4054
86332df2
TH
40552012-07-27 Tassilo Horn <tsdh@gnu.org>
4056
4250fdf5
SM
4057 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4058 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4059 ctable macro.
4060 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4061 labels written in keyvals syntax.
4062
ca1302a4
JB
40632012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4064
4065 * calc/calccomp.el (math-compose-expr): Use parentheses when
4066 there is a product in the denominator of a fraction.
4067
f8b91036
EZ
40682012-07-26 Eli Zaretskii <eliz@gnu.org>
4069
4070 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4071 ($(lisp)/calendar/diary-loaddefs.el)
4072 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4073 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4074 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4075 rewritten while the autoload files are built at the same time,
4076 which needs to load subdirs.el.
4077
c8e5a42c
MR
40782012-07-26 Martin Rudalics <rudalics@gmx.at>
4079
4080 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4081 (mouse-drag-line): Don't exit tracking when a switch-frame or
4082 switch-window event occurs (Bug#12006).
4083
670d85ea
SM
40842012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * mouse.el (popup-menu): Fix last change.
4087
7abaf5cc
SM
40882012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 Autoload from Lisp with more care. Follow aliases when looking for
4091 function properties.
4092 * subr.el (autoloadp): New function.
4093 (symbol-file): Use it.
4094 (function-get): New function.
4095 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4096 autoload-do-load.
4097 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4098 (lisp-indent-function):
4099 * emacs-lisp/gv.el (gv-get):
4100 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4101 * emacs-lisp/byte-opt.el (byte-optimize-form):
4102 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4103 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4104 Use function-get.
4105 * emacs-lisp/cl.el: Don't propagate function properties any more.
4106
4107 * speedbar.el (speedbar-add-localized-speedbar-support):
4108 * emacs-lisp/disass.el (disassemble-internal):
4109 * desktop.el (desktop-load-file):
4110 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4111 (describe-function-1):
4112 * emacs-lisp/find-func.el (find-function-noselect):
4113 * emacs-lisp/elp.el (elp-instrument-function):
4114 * emacs-lisp/advice.el (ad-has-proper-definition):
4115 * apropos.el (apropos-safe-documentation, apropos-macrop):
4116 * emacs-lisp/debug.el (debug-on-entry):
4117 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4118 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4119 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4120
b1364986
AA
41212012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4122
4123 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4124 function, not an obsolete variable (Bug#12046).
4125
67ada220
AS
41262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4127
4128 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4129
f08088e3
CS
41302012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4131
4132 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4133 window only if it is still live (Bug#12034).
4134
8137e7b3
MR
41352012-07-25 Martin Rudalics <rudalics@gmx.at>
4136
4137 * subr.el (redirect-frame-focus): Add advertised calling
4138 convention (Bug#12030).
4139
09ae5da1
PE
41402012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4141
4142 Prefer typical American spelling for "acknowledgment".
4143 * vc/add-log.el (change-log-acknowledgment): Rename from
4144 change-log-acknowledgement, with an alias for the old name.
4145
3cc5a3a8
JB
41462012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4147
4148 * calc-alg.el (math-simplify-divide): Don't cross multiply
4149 in an equation when the lhs is a variable.
4150
b7af7f62
JD
41512012-07-24 Julien Danjou <julien@danjou.info>
4152
4153 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4154 Remove, unused.
4155
ec1b09b1
EZ
41562012-07-23 Eli Zaretskii <eliz@gnu.org>
4157
4158 * startup.el (command-line): Don't display an empty user name in
4159 the error message about non-existent home directory, when
4160 init-file-user was set to an empty string. See
4161 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4162 for the details and context.
4163
b525fd8a
VB
41642012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4165
4166 * ses.el (ses-cell-formula-aset): New macro.
4167 (ses-cell-references-aset): New macro.
4168 (ses-cell-p): New function.
4169 (ses-rename-cell): Do no longer rely on complex operations like
4170 ses-cell-set-formula or ses-set-cell to change the cell and handle
4171 the undo at the same time, but rather use lower level new macros
4172 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4173 the undo directly. Refresh the mode line.
b525fd8a 4174
2c73e345
LL
41752012-07-21 Leo Liu <sdl.web@gmail.com>
4176
670d85ea
SM
4177 * progmodes/cc-cmds.el (c-defun-name):
4178 Use match-string-no-properties instead for consistency.
2c73e345 4179
542dfbde
LL
41802012-07-20 Leo Liu <sdl.web@gmail.com>
4181
3646bcd6
LL
4182 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4183 (Bug#7879)
4184
542dfbde
LL
4185 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4186
25721031
CY
41872012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4190 * progmodes/bug-reference.el, misearch.el: Provide themselves
4191 (bug#11915).
4192
4193 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4194 of narrowed buffer (bug#11966).
4195
316e68a7
VB
41962012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4197
4198 * ses.el (ses-rename-cell): Set new name also in reference list of
4199 cells of which the renamed cell depends.
4200
bbf0e7d9
MY
42012012-07-20 Masatake YAMATO <yamato@redhat.com>
4202
4203 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4204 to check whether menu-bar is shown or not. If not shown,
4205 show the menu-bar as a popup menu instead of using tmm.
4206 * mouse.el (popup-menu): Accept `point' as `position' argument.
4207
c28662a8
DG
42082012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4209
4210 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4211 up inside string symbol literal (bug#11923).
4212
87ab808f
EZ
42132012-07-20 Eli Zaretskii <eliz@gnu.org>
4214
4215 * startup.el (fancy-startup-text): Read the whole tutorial, not
4216 just its first 256 bytes. Prevents gibberish in display of the
4217 tutorial title.
4218
89dea803
DA
42192012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4220
4221 Drop idle buffer compaction due to an absence of the
4222 proved efficiency.
4223 * compact.el: Remove.
4224
8a4e6db8
SS
42252012-07-19 Sam Steingold <sds@gnu.org>
4226
4227 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4228 vc-bzr-pull & vc-bzr-merge-branch.
4229 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4230 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4231 for consistency with compilation-error-regexp-alist.
4232 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4233 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4234 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4235 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4236
5db81e33
SM
42372012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * emacs-lisp/chart.el: Use lexical-binding.
4240 (chart-emacs-storage): Don't hardcode the list of entries.
4241
5b835e1d
DA
42422012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4243
4244 Next round of tweaks caused by Fgarbage_collect changes.
4245 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4246
9cd47b72
DA
42472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4248
4249 Compact buffers when idle.
4250 * compact.el: New file.
4251
1d6fc0df
SM
42522012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * subr.el (eventp): Presume that if it looks vaguely like an event,
4255 it's an event (bug#10190).
4256
1d29cc7d
FEG
42572012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4258
4259 Enhancements to ppss related code (thanks Stefan).
4260 * progmodes/python.el (python-indent-context)
4261 (python-indent-calculate-indentation, python-indent-dedent-line)
4262 (python-indent-electric-colon, python-nav-forward-block)
4263 (python-mode-abbrev-table)
1d6fc0df 4264 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4265 for ppss context.
4266 (python-info-continuation-line-p): Cleanup.
4267 (python-info-ppss-context): Do not catch 'quote.
4268 (python-info-ppss-context-type)
4269 (python-info-ppss-comment-or-string-p): Simplify.
4270
d583cbe6
FEG
42712012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4272
4273 * progmodes/python.el: Enhancements to eldoc support.
4274 (python-info-current-symbol): New function.
4275 (python-eldoc-at-point): Use python-info-current-symbol.
4276 (python-info-current-defun): Fix cornercase on first defun scan.
4277 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4278 and signal error when no inferior python process is available.
4279
eceb6feb
DG
42802012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4281
4282 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4283 assume it's always t.
4284 (vc-git-registered): Remove caching, the function is only called
4285 once.
4286 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4287
4c8ff0fe
CY
42882012-07-18 Chong Yidong <cyd@gnu.org>
4289
19fb7186
CY
4290 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4291
9587c688
CY
4292 * simple.el (count-words): Report on narrowing (Bug#9959).
4293
0fe776a1
CY
4294 * bindings.el: Bind M-= to count-words.
4295
4c8ff0fe
CY
4296 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4297
7f5331cc
MY
42982012-07-18 Masatake YAMATO <yamato@redhat.com>
4299
4300 * progmodes/sh-script.el (sh-imenu-generic-expression):
4301 Capture a function with `function' keyword and without parentheses
4302 like "function FOO" (bug#11856).
4303
2dc2a609
TH
43042012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4305
4306 * window.el (split-window-sensibly): Make WINDOW argument
4307 optional.
4308
439f7677
CY
43092012-07-18 Chong Yidong <cyd@gnu.org>
4310
9aeb25a6
CY
4311 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4312
439f7677
CY
4313 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4314 and make C-x 8 RET exit isearch (Bug#11439).
4315
4316 * international/iso-transl.el: Move isearch-mode-map key
4317 definitions to isearch.el.
4318
12999ea8
SM
43192012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4322 (eieio-defclass): Use gv-define-setter when possible.
4323
3ab6e069
DA
43242012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4325
4326 Reflect recent changes in Fgarbage_collect.
4327 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4328 reflect new format of data returned by Fgarbage_collect.
4329
0a60bc10
FEG
43302012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4331
4332 New utility functions + python-info-ppss-context fix (Bug#11910).
4333 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4334 (python-info-ppss-comment-or-string-p): New functions.
4335 (python-info-ppss-context): Small fix for string check.
4336
6dafa0d5
JL
43372012-07-17 Juri Linkov <juri@jurta.org>
4338
4339 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4340 (dired-do-async-shell-command): Don't add `*' at the end of the
4341 command (Bug#11815).
4342 (dired-do-shell-command): Doc fix.
4343 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4344 Join the individual commands using either "&" or ";" as the
4345 separator depending on the values of these trailing characters.
4346 At the end re-add the trailing "&". (Bug#10598)
4347
4348 * simple.el (async-shell-command): Sync the interactive spec with
4349 `shell-command'. Doc fix.
4350 (shell-command): Doc fix.
4351
b19dd9d1
JL
43522012-07-17 Juri Linkov <juri@jurta.org>
4353
4354 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4355
bcdc27d7 43562012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4357
bcdc27d7 4358 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4359 * progmodes/python.el (python-nav-beginning-of-statement):
4360 Rename from python-nav-statement-start.
bcdc27d7
FEG
4361 (python-nav-end-of-statement): Rename from
4362 python-nav-statement-end.
4363 (python-nav-beginning-of-block): Rename from
4364 python-nav-block-start.
4365 (python-nav-end-of-block): Rename from python-nav-block-end.
4366
191da00e
FEG
43672012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4368
7f5331cc
MY
4369 * progmodes/python.el (python-shell-send-string-no-output):
4370 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4371 future interactions (Bug#11868).
4372
4dc7c8d5 43732012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4374
88ecaf8f
SM
4375 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4376
ef501ef0
SM
4377 * emacs-lisp/elint.el (elint-find-args-in-code):
4378 Use help-function-arglist, so as to handle lexical byte-code.
4379
aa7aaf8f
SM
4380 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4381 change (bug#11826).
4382
45fd731c
SM
43832012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4384
2143fa32
SM
4385 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4386 Avoid spuriously marking the buffer as modified because of c-is-sws.
4387
efc26dbe
SM
4388 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4389 as not-a-comment (bug#11946).
4390
f5695c9a
SM
4391 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4392 for uninterned vars.
4393
4394 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4395 Use read-event since we don't really want to read chars but bytes.
4396
45fd731c
SM
4397 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4398 $$..$$ but also $..$ using regexps (bug#11953).
4399 Use tex-verbatim for \url and \path.
4400 (tex-font-lock-keywords): Define as defconst like the others.
4401 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4402
ddfc8813
RK
44032012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4404
4405 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4406 alias for insert-char.
4407
758e556a
FEG
44082012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4409
4410 * progmodes/python.el: Simplified imenu implementation.
4411 (python-nav-jump-to-defun): Remove command.
4412 (python-mode-map): Use `imenu' instead.
4413 (python-nav-list-defun-positions-cache)
4414 (python-imenu-include-defun-type, python-imenu-make-tree)
4415 (python-imenu-subtree-root-label, python-imenu-index-alist):
4416 Remove vars.
4417 (python-nav-list-defun-positions, python-nav-read-defun)
4418 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4419 (python-imenu-make-tree, python-imenu-create-index):
4420 Remove functions.
758e556a
FEG
4421 (python-mode): Update to interact with imenu by setting
4422 `imenu-extract-index-name-function' only.
4423
032d23ab
FEG
44242012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4425
4426 * progmodes/python.el: Enhancements to navigation commands.
4427 (python-nav-backward-sentence)
4428 (python-nav-forward-sentence): Remove.
4429 (python-nav-backward-statement, python-nav-forward-statement)
4430 (python-nav-statement-start, python-nav-statement-end)
4431 (python-nav-backward-block, python-nav-forward-block)
4432 (python-nav-block-start, python-nav-block-end)
4433 (python-nav-forward-sexp-function)
4434 (python-info-current-line-comment-p)
4435 (python-info-current-line-empty-p): New functions.
4436 (python-indent-context): Use `python-nav-statement-start'.
4437
01795a1b
MA
44382012-07-16 Michael Albinus <michael.albinus@gmx.de>
4439
9328d9aa
MA
4440 * eshell/em-ls.el (eshell/ls): Use `apply'.
4441
4442 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4443 multi-hops, instead of Tramp internals.
4444
01795a1b
MA
4445 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4446
4447 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4448 when F1 and F2 are located on different hosts.
4449
63408057
CY
44502012-07-14 Chong Yidong <cyd@gnu.org>
4451
4452 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4453 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4454 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4455 (xterm-mouse--read-event-sequence-1000)
4456 (xterm-mouse--read-event-sequence-1006): New functions. For old
4457 mouse protocol, handle M-mouse-X events correctly.
4458 (xterm-mouse-event): New arg specifying mouse protocol.
4459 (turn-on-xterm-mouse-tracking-on-terminal)
4460 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4461 sequence to toggle extended coordinates on newer XTerms.
4462 This appears to be harmless on terminals which do not support this.
63408057 4463
cd276f6e
LL
44642012-07-14 Leo Liu <sdl.web@gmail.com>
4465
28ca98ac
LL
4466 Add fringe bitmap indicators for flymake. (Bug#11253)
4467 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4468 (flymake-make-overlay): New arg BITMAP.
4469 (flymake-error-bitmap, flymake-warning-bitmap)
4470 (flymake-fringe-indicator-position): New user variables.
4471
cd276f6e
LL
4472 * fringe.el: New bitmap exclamation-mark.
4473
04408072
JD
44742012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4475
4476 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4477 also (Bug#7879).
4478
b5cf7fc4
CY
44792012-07-14 Chong Yidong <cyd@gnu.org>
4480
4481 * electric.el (electric-pair-post-self-insert-function): Fix pair
4482 insertion in empty-region case (Bug#11520).
4483
be755c79
RT
44842012-07-14 Chong Yidong <cyd@gnu.org>
4485
45fd731c
SM
4486 * bindings.el: Consolidate ctl-x-r-map bindings.
4487 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4488
4489 * rect.el, register.el: Move bindings to bindings.el.
4490
44912012-07-14 Reuben Thomas <rrt@sc3d.org>
4492
4493 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4494
7f5b3198
AS
44952012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4496
4497 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4498
97662200
JB
44992012-07-13 Juanma Barranquero <lekktu@gmail.com>
4500
80185fed
JB
4501 * bindings.el (top): Use `mapc' instead of `mapcar'.
4502
97662200
JB
4503 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4504
2bb1ae55
MA
45052012-07-13 Michael Albinus <michael.albinus@gmx.de>
4506
4507 * progmodes/sql.el (sql-comint): Suppress the check for program on
4508 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4509 (Bug#11908)
4510
dea31bd3
CY
45112012-07-13 Chong Yidong <cyd@gnu.org>
4512
4513 * bindings.el: Assign a non-nil permanent-local property to
4514 per-buffer variables which lack a default value (Bug#11930).
4515
4516 * help-fns.el (describe-variable): In the "automatically becomes
4517 local" notice, take note of permanent-local variables.
4518
b68b3337
CY
45192012-07-13 Chong Yidong <cyd@gnu.org>
4520
4521 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4522 to allow printing the message when called from Lisp.
4523
4524 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4525 Remove toggle-read-only.
4526
4527 * bs.el (bs-toggle-readonly):
45fd731c
SM
4528 * buff-menu.el (Buffer-menu-toggle-read-only):
4529 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4530
4531 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4532 Remove with-no-warnings around toggle-read-only.
4533 (ffap-read-only, ffap-read-only-other-window)
4534 (ffap-read-only-other-frame): Callers changed.
4535
4536 * help-mode.el: Don't require view package.
4537 (help-mode-finish): Set buffer-read-only instead of calling
4538 toggle-read-only.
4539
4540 * bindings.el (mode-line-toggle-read-only):
4541 * dired.el (dired-toggle-read-only):
4542 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4543 with non-nil second arg.
4544
4545 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4546 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4547 directly.
4548
56bc1586
EZ
45492012-07-12 Eli Zaretskii <eliz@gnu.org>
4550
4551 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4552 not incf.
4553
a464a6c7
SM
45542012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 More CL cleanups and reduction of use of cl.el.
4557 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4558 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4559 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4560 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4561 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4562 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4563 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4564 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4565 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4566 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4567 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4568 * eshell/em-cmpl.el, eshell/em-banner.el:
4569 * calendar/parse-time.el: Use cl-lib.
4570 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4571 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4572 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4573 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4574 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4575 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4576 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4577 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4578 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4579 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4580 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4581 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4582 `lambda' rather than with `quote'.
4583 (eshell-do-opt): Adjust accordingly.
4584 (eshell-process-option): Simplify.
4585 * eshell/esh-var.el:
4586 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4587 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4588 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4589 to `pcase--dontcare'.
4590 * emacs-lisp/cl.el (labels): Mark obsolete.
4591 (cl--letf, letf): Move to cl-lib.
4592 (cl--letf*, letf*): Remove.
4593 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4594 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4595 (cl-progv): Rewrite.
4596 (cl--letf, cl-letf): Move from cl.el.
4597 (cl-letf*): New macro.
4598 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4599
7ad4afe1
MA
46002012-07-11 Michael Albinus <michael.albinus@gmx.de>
4601
4602 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4603
9af57756
CY
46042012-07-11 Chong Yidong <cyd@gnu.org>
4605
4606 * vc/log-edit.el (log-edit-vc-backend): New variable.
4607 (log-edit): Doc fix.
4608
4609 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4610 argument of log-edit to set up all local variables.
4611 (vc-start-logentry): New optional arg specifying VC backend.
4612
4613 * vc/vc.el (vc-checkin): Use it.
4614 (vc-deduce-fileset): Handle Log Edit buffers.
4615 (vc-diff): Make first argument optional too.
4616
4617 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4618
8477cc7a
MA
46192012-07-10 Michael Albinus <michael.albinus@gmx.de>
4620
4621 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4622 command, just in case. The function is not needed anymore.
4623 (eshell-external-command): Do not call `eshell-remote-command'.
4624
19faa8e8
SM
46252012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4626
f58e0fd5
SM
4627 Reduce use of (require 'cl).
4628 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4629 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4630 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4631 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4632 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4633 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4634 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4635 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4636 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4637 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4638 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4639 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4640 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4641 (byte-compile-unfold-bcf, byte-compile-check-variable):
4642 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4643 (byte-compile-nilconstp):
4644 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4645 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4646
2519d43a
SM
4647 * emacs-lisp/gv.el (cond): Make it a valid place.
4648 (if): Simplify slightly.
4649
19faa8e8
SM
4650 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4651 (pcase--self-quoting-p): New function.
4652 (pcase--u1): Use it.
4653
c4907a5e
GM
46542012-07-10 Glenn Morris <rgm@gnu.org>
4655
4656 * emacs-lisp/authors.el (authors-fixed-entries):
4657 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4658
c4444d16
PE
46592012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4660
4661 Rename configure.in to configure.ac (Bug#11603).
4662 * emacs-lisp/authors.el (authors-canonical-file-name):
4663 * progmodes/autoconf.el (autoconf-mode):
4664 Prefer configure.ac to configure.in.
4665
d75be97d
CY
46662012-07-08 Chong Yidong <cyd@gnu.org>
4667
01ac65bd
CY
4668 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4669 Implement the mouse-1-click-follows-link handling properly.
4670
4671 * info.el (Info-link-keymap): Use follow-link mechanism for
4672 header-line links (Bug#374).
4673
d75be97d
CY
4674 * simple.el (deactivate-mark): Do not set the primary selection
4675 if another program has acquired it (Bug#11772).
4676
87a92845 46772012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4678
4679 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4680 (woman-decode-region): Replace escaped-escapes without destroying
4681 bold or underline (Bug#11552).
87a92845 4682 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4683
621b9d6c
CY
46842012-07-07 Chong Yidong <cyd@gnu.org>
4685
4686 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4687 (interprogram-cut-function, interprogram-paste-function):
4688 Mention that we typically mean the clipboard.
621b9d6c 4689
133a11fc
GM
46902012-07-06 Glenn Morris <rgm@gnu.org>
4691
0d27a45e
GM
4692 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4693
133a11fc
GM
4694 * files.el (toggle-read-only): Restrict message to interactive use.
4695
07b151f1
MA
46962012-07-06 Michael Albinus <michael.albinus@gmx.de>
4697
4698 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4699
4700 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4701
211b896b
GM
47022012-07-06 Glenn Morris <rgm@gnu.org>
4703
50394322
GM
4704 * Makefile.in (compile-one-process): Rename from "recompile".
4705
211b896b
GM
4706 * Makefile.in (bzr-update): "compile" is the same as "recompile
4707 autoloads", but parallelizable, so use that instead.
4708
4737eec9
DG
47092012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4710
4711 * window.el (quit-window): Always restore window height when
8137e7b3 4712 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4713
226c3633 47142012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4715
4716 * simple.el (kill-whole-line): Doc tweak.
4717
226c3633 47182012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4719
4720 * files.el (file-relative-name): Compare file names
4721 case-insensitively if on MS-Windows or MS-DOS, or if
4722 read-file-name-completion-ignore-case is non-nil. Don't use
4723 case-fold-search for this purpose. (Bug#11827)
4724
4dc7c8d5
SM
47252012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4726
4727 * calendar/cal-dst.el (calendar-current-time-zone):
4728 Return calendar-current-time-zone-cache if non-nil.
4729
47302012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 47312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4732
19faa8e8
SM
4733 * calendar/cal-dst.el (calendar-current-time-zone):
4734 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4735
60198fc9
GM
47362012-07-06 Glenn Morris <rgm@gnu.org>
4737
4738 * Makefile.in (cvs-update): Remove old alias.
4739
957b3189
MA
47402012-07-05 Michael Albinus <michael.albinus@gmx.de>
4741
4742 Sync with Tramp 2.2.6-pre.
4743
4744 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4745 compatible declaration.
4746
19faa8e8
SM
4747 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4748 Protect `list-load-path-shadows' call.
957b3189
MA
4749
4750 * net/tramp-compat.el (top): Require packages, which aren't
4751 autoloaded anymore for XEmacs. Protect call of
4752 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4753 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4754 it hurts at least for SXEmacs.
4755 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4756 standard-value for `temporary-file-directory'.
4757
4758 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4759 Redirect stderr to /dev/null.
4760 (tramp-sh-handle-write-region): uid and gid can be floats.
4761 Reported by Russell Sim <russell.sim@gmail.com>.
4762 (tramp-sh-handle-vc-registered): Hide errors.
4763 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4764 and `start-file-process'.
4765 (tramp-maybe-open-connection): Check also whether `non-essential'
4766 is bound.
4767
566df3fc
CY
47682012-07-04 Chong Yidong <cyd@gnu.org>
4769
4770 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4771 (xml-parse-tag): Likewise, and avoid changing entity tables.
4772 (xml-syntax-table): Define from scratch, making sure not to give
4773 x2000 and other Unicode spaces whitespace syntax, since those are
4774 not spaces in XML.
4775 (xml-parse-fragment): Delete unused function.
4776 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4777 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4778 (xml-entity-ref, xml-pe-reference-re)
4779 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4780 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4781 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4782 (xml-entity-value-re): Use syntax references in regexps where
4783 possible; no need to define inside a let-binding.
4784 (xml-parse-dtd): Use xml-pe-reference-re.
4785 (xml-entity-or-char-ref-re): New defconst.
4786 (xml-parse-string, xml-substitute-special): Use it.
4787
30eabd7a
SM
47882012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4789
0781098a
SM
4790 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4791 (find-file--read-only): New function.
4792 (find-file-read-only, find-file-read-only-other-window)
4793 (find-file-read-only-other-frame): Use it.
4794 (insert-file-contents-literally): Don't `fset'.
4795 (get-free-disk-space): Use locate-dominating-file.
4796
b5771c0d
SM
4797 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4798 function is already compiled.
4799
30eabd7a
SM
4800 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4801
b4886f6e
MA
48022012-07-03 Michael Albinus <michael.albinus@gmx.de>
4803
4804 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4805 files on the same host.
4806
b9d82339
AS
48072012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4808
4809 * help-fns.el (describe-function-1): Only call
4810 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4811
a76e6535
CY
48122012-07-03 Chong Yidong <cyd@gnu.org>
4813
4814 * xml.el: Protect parser against XML bombs.
4815 (xml-entity-expansion-limit): New variable.
4816 (xml-parse-string, xml-substitute-special): Use it.
4817 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4818
b544fef2
GM
48192012-07-03 Glenn Morris <rgm@gnu.org>
4820
4821 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4822 Allow linking to specific messages in debbugs reports (eg 123#5).
4823
a7aef6f5
CY
48242012-07-02 Chong Yidong <cyd@gnu.org>
4825
4826 * xml.el: Fix entity and character reference expansion, allowing
4827 them to expand into markup as per XML spec.
4828 (xml-default-ns): New variable.
4829 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4830 (xml-parse-region): Make first two arguments optional.
4831 Discard text properties.
4832 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4833 All callers changed.
a7aef6f5
CY
4834 (xml-parse-tag): Call xml-parse-tag-1. For backward
4835 compatibility, this function should not modify buffer contents.
4836 (xml-parse-tag-1): Fix opening-tag regexp.
4837 (xml-parse-string): Rewrite, handling entity and character
4838 references properly.
4839 (xml--entity-replacement-text): Signal an error if a parameter
4840 entity is undefined.
4841
3df31c9f
SM
48422012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4843
2b5208f1
SM
4844 * comint.el (comint-output-filter): Filter out repeated prompts.
4845
3df31c9f
SM
4846 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4847 and file-name-absolute-p.
4848 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4849 internal calls.
4850
e3ac1281
PE
48512012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4852
4853 Spelling fixes.
4854 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4855 Rename from byte-compile--refiy-function. All uses changed.
4856
fbf2e7ad
CY
48572012-07-01 Chong Yidong <cyd@gnu.org>
4858
4859 * xml.el (xml--parse-buffer): New function. Move most of
4860 xml-parse-region here.
4861 (xml-parse-region): Copy region into a temporary buffer, since
4862 parameter entity substitution requires changing buffer contents.
4863 Use xml--parse-buffer.
4864 (xml-parse-file): Use xml--parse-buffer.
4865 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4866 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4867
9bf0aa15
GM
48682012-06-30 Glenn Morris <rgm@gnu.org>
4869
bbce2853
GM
4870 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4871
9bf0aa15
GM
4872 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4873 Remove outdated and unnecessary dbus declarations.
4874
0d23c240
EZ
48752012-06-30 Eli Zaretskii <eliz@gnu.org>
4876
4877 * emacs-lisp/timer.el (timer-until): Subtract results of
4878 float-time, instead of taking float-time of the result of
4879 time-subtract, since float-time signals an error for negative time
4880 arguments.
4881
b3218de1
CY
48822012-06-30 Chong Yidong <cyd@gnu.org>
4883
4884 * xml.el (xml-*-re): Convert defvars into defconsts, and
4885 eval-and-compile them so eval-and-compile works on derivatives.
4886 (xml--entity-replacement-text): Use eval-and-comple.
4887
a40c87a0
MA
48882012-06-30 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * vc/vc-git.el (vc-git-registered): Use cache property
4891 `git-registered'.
4892 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4893 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4894 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4895
ac87de97
DG
48962012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4897
4898 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4899 removed (likely outside Emacs). (Bug#11757)
ac87de97 4900
ac10fe06
SM
49012012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4902
3df31c9f 4903 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4904
7f3fbd5d
CY
49052012-06-30 Chong Yidong <cyd@gnu.org>
4906
4907 * xml.el: Implement XML parameter entities.
4908 (xml-parameter-entity-alist): New variable.
4909 (xml-parse-region, xml-parse-fragment): Preserve previous values
4910 of xml-entity-alist and xml-parameter-entity-alist, so that
4911 repeated calls on different documents do not change them.
4912 (xml-parse-tag): Fix doctype regexp.
4913 (xml--entity-replacement-text): New function.
4914 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4915 properly requires url retrieval which is unimplemented.
4916 (xml-escape-string): Doc fix.
4917
3cfbebba
SM
49182012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4921
2af3565e
DA
49222012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4923
4924 * fringe.el (fringe-mode): Doc fix.
4925
929df0e7
MA
49262012-06-29 Michael Albinus <michael.albinus@gmx.de>
4927
4928 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4929 is non-nil.
4930 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4931 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4932
c8d3a25c 49332012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4934
c8d3a25c
GM
4935 * calendar/cal-dst.el (calendar-current-time-zone):
4936 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4937
c8d3a25c 49382012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4939
4940 * progmodes/which-func.el (which-func-format):
4941 Add mouse-face. (Bug#11698)
4942
c8d3a25c
GM
49432012-06-29 Leo Liu <sdl.web@gmail.com>
4944
4945 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4946
49472012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * minibuffer.el (minibuffer-confirm-exit-commands):
4950 Add completion-at-point (bug#11725).
4951
49522012-06-29 Glenn Morris <rgm@gnu.org>
4953
4954 * progmodes/f90.el (f90-font-lock-keywords-2):
4955 Add some preprocessor elements. (Bug#10499)
4956
49572012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4960 Use syntax-propertize (bug#11739).
4961
2badeec4
JB
49622012-06-28 Juanma Barranquero <lekktu@gmail.com>
4963
4964 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4965
ae4969c2
JD
49662012-06-28 Julien Danjou <julien@danjou.info>
4967
4968 * term.el (term-handle-colors-array): Use a set of new faces to
4969 color the terminal. Also uses :inverse-video property.
4970 (term-default-fg-color): Set to nil by default, deprecate in favor
4971 of `term-face'.
4972 (term-default-bg-color): Set to nil by default, deprecate in favor
4973 of `term-face'.
4974 (term-current-face): Use `term-face' by default.
4975 (term-bold-attribute): Variable deleted.
4976
1c9bd870
GM
49772012-06-28 Glenn Morris <rgm@gnu.org>
4978
4979 * simple.el (completion-list-mode-finish):
4980 Don't use toggle-read-only. (Since completion-list-mode has
4981 a special mode-class, it wasn't doing anything extra anyway.)
4982
c207708c
SM
49832012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 Make inlining of other-mode interpreted functions work (bug#11799).
4986 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4987 (byte-compile): Use it to fix compilation of lexical-binding closures.
4988 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4989 function, if needed.
4990
3fd56834
SM
49912012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4992
04901786
SM
4993 * help-mode.el (help-make-xrefs): Don't just withstand
4994 cyclic-variable-indirection but any error in documentation-property.
4995
1ec4b7b2
SM
4996 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4997 memory use.
4998 * bindings.el (bindings--define-key): New function.
4999 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5000 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5001 * bindings.el: Use it to purecopy define-key bindings.
5002
e309e2a5
SM
5003 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5004
d5c6faf9
SM
5005 * emacs-lisp/cl.el (flet): Mark obsolete.
5006 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5007 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5008 * progmodes/js.el (js-c-fill-paragraph):
5009 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5010 (ebrowse-switch-member-buffer-to-derived-class):
5011 * play/5x5.el (5x5-solver): Use cl-flet.
5012
6e9590e2
SM
5013 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5014 (cl--symbol-function): New macro.
5015 (cl--letf, cl--letf*): Use it.
5016
3fd56834
SM
5017 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5018 Strip "toggle-" if any.
5019
35ff222c
GM
50202012-06-27 Glenn Morris <rgm@gnu.org>
5021
1ba6038a
GM
5022 * info.el (Info-default-directory-list): Move here from paths.el.
5023 * paths.el: Remove file, which is now empty.
5024 * loadup.el: No longer load "paths".
5025
0ea0e51b
GM
5026 * custom.el (custom-initialize-delay): Doc fix.
5027
35ff222c
GM
5028 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5029 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5030 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5031 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5032 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5033 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5034 * eshell/eshell.el (eshell-defgroup): Remove alias.
5035
c89926a5
CY
50362012-06-27 Chong Yidong <cyd@gnu.org>
5037
5038 * help.el (help-enable-auto-load): New variable.
5039
5040 * help-fns.el (help-fns--autoloaded-p): New function.
5041 (describe-function-1): Refer to a function as "autoloaded" if it
5042 was autoloaded at any time in the past. Perform autoloading if
5043 help-enable-auto-load is non-nil.
5044
cc06e7e7
EZ
50452012-06-26 Eli Zaretskii <eliz@gnu.org>
5046
5047 * makefile.w32-in (compile, compile-always): Depend on
5048 update-subdirs, not on subdirs.el. Otherwise, several different
5049 sub-targets of 'bootstrap' running in parallel could
5050 simultaneously write to subdirs.el, producing a garbled file.
5051
d2c32364
SS
50522012-06-26 Sam Steingold <sds@gnu.org>
5053
5054 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5055 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5056 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5057 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5058 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5059 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5060 * textmodes/tex-mode.el: Use it.
5061 Did not touch cedet and org because they are maintained elsewhere.
5062
5cf983b2
MR
50632012-06-26 Martin Rudalics <rudalics@gmx.at>
5064
5065 * calendar/calendar.el (calendar-exit): Don't try to delete or
5066 iconify last frame. See:
5067 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5068
8c4f2952
JD
50692012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5070
5071 * server.el (server-process-filter): Remember dir in the
5072 process's `server-client-directory' properties.
5073
772b2e2c
CY
50742012-06-24 Chong Yidong <cyd@gnu.org>
5075
5076 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5077 non-tag text.
5078
711b11e1
JB
50792012-06-23 Juanma Barranquero <lekktu@gmail.com>
5080
5081 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5082
dc5d230c
SM
50832012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * help-fns.el (describe-variable): Don't croak when doc is not found.
5086 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5087 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5088 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5089 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5090 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5091 ((lambda ..) ..).
5092 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5093
136e1c1d
CY
50942012-06-23 Chong Yidong <cyd@gnu.org>
5095
e8c1cabf
CY
5096 * info.el (Info-mouse-follow-link): Accept symbol values of
5097 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5098 (Info-fontify-node): Use Info-link-keymap for all navigation
5099 buttons, with link-args property to perform the desired action.
5100 (Info-link-keymap): Doc fix.
5101 (Info-next-link-keymap, Info-prev-link-keymap)
5102 (Info-up-link-keymap): Delete now-unused keymaps.
5103
0e9e6c6a
CY
51042012-06-23 Chong Yidong <cyd@gnu.org>
5105
05e89fea
CY
5106 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5107
0e9e6c6a
CY
5108 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5109 system abbrevs.
5110
5111 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5112
e33c6771
SM
51132012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5114
b68581e2
SM
5115 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5116 (bug#11719).
5117
e33c6771
SM
5118 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5119 the requote function doesn't work properly (bug#11714).
5120
7117e105
GM
51212012-06-23 Glenn Morris <rgm@gnu.org>
5122
5123 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5124
36cec983
SM
51252012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 Further GV/CL cleanups.
5128 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5129 gv-expander.
5130 (gv--defun-declaration): New function.
5131 (defun-declarations-alist): Use it.
5132 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5133 (gv-place): Autoload.
5134 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5135 original definition of dotimes and dolist.
5136 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5137 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5138 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5139 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5140 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5141 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5142 to the function's definition.
5143 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5144 * window.el:
5145 * files.el:
5146 * faces.el:
5147 * env.el: Don't use CL.
5148
d35af63c
PE
51492012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5150
5151 Support higher-resolution time stamps (Bug#9000).
5152
5153 * calendar/time-date.el (with-decoded-time-value): New arg
5154 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5155 (encode-time-value): New optional arg PICO. New type 3.
5156 (time-to-seconds) [!float-time]: Support the new picoseconds
5157 component if it's used.
5158 (seconds-to-time, time-subtract, time-add):
5159 Support ps-resolution time stamps as well.
5160
5161 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5162 (timerp): Timer vectors now have length 9, not 8.
5163 (timer--time): Support new-style (4-part) time stamps.
5164 (timer-next-integral-multiple-of-time): Time stamps now have
5165 picosecond resolution, so take a bit more care about rounding.
5166 (timer-relative-time, timer-inc-time): New optional arg psecs.
5167 (timer-set-time-with-usecs): Set psecs to 0.
5168 (timer--activate): Check psecs component, too.
5169
5170 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5171
ac77b21a
SM
51722012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5173
f143bfe3
SM
5174 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5175 Move the non-essential binding to the post/pre-command-hook where it is
5176 more obviously correct.
5177
ac77b21a
SM
5178 * subr.el (read-passwd): Don't use a history at all.
5179 * savehist.el (savehist-save): Remove password saved accidentally
5180 because of the above bug.
5181
76386c5a
BG
51822012-06-22 Bastien Guerry <bzg@gnu.org>
5183
5184 * files.el (toggle-read-only): Display a message telling whether
5185 the buffer is read-only or not (bug#11726).
5186
2ee3d7f0
SM
51872012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * emacs-lisp/gv.el: New file.
5190 * subr.el (push, pop): Extend to generalized variables.
5191 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5192 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5193 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5194 gv-define-simple-setter, and gv-define-expander.
5195 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5196 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5197 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5198 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5199 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5200 gv-letplace.
5201 (cl-defstruct): Don't define setf-method any more.
5202 * emacs-lisp/cl.el (flet): Don't autoload.
5203 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5204 (define-setf-expander, defsetf, define-modify-macro)
5205 (cl-struct-setf-expander): Move from cl-lib.el.
5206 * emacs-lisp/syntax.el:
5207 * emacs-lisp/ewoc.el:
5208 * emacs-lisp/smie.el:
5209 * emacs-lisp/cconv.el:
5210 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5211 (timer--time): Use gv-define-simple-setter.
5212 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5213 to avoid coding-system problems in subr.el. Adjust all users.
5214 (macroexp--maxsize, macroexp-small-p): New functions.
5215 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5216 * scroll-bar.el (scroll-bar-mode):
5217 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5218 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5219 * winner.el (winner-configuration, winner-make-point-alist)
5220 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5221 * files.el (locate-file-completion-table): Avoid list*.
5222
c5695d1d
CY
52232012-06-22 Chong Yidong <cyd@gnu.org>
5224
5225 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5226 (dired-create-files): Doc fix (Bug#11329).
5227 (dired-do-copy): Doc fix (Bug#11334).
5228 (dired-mark-read-string): Doc fix (Bug#11553).
5229
2ee3d7f0
SM
5230 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5231 Doc fix (Bug#11326).
c5695d1d
CY
5232 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5233 (dired-dwim-target): Doc fix.
5234
5235 * wdired.el (wdired-mode): Doc fix.
5236
89b5595a
GM
52372012-06-22 Glenn Morris <rgm@gnu.org>
5238
575db3f1
GM
5239 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5240 (pcmpl-rpm-cache-stamp-file): New constant.
5241 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5242 (pcmpl-rpm-packages): Optionally cache list of packages.
5243
a4c8dd51
GM
5244 * pcmpl-rpm.el (pcmpl-rpm): New group.
5245 (pcmpl-rpm-query-options): New option.
5246 (pcmpl-rpm-packages): No need to inline it.
5247 Use pcmpl-rpm-query-options.
5248
89b5595a
GM
5249 * calendar/calendar.el (calendar-in-read-only-buffer):
5250 Avoid some needless mode changes.
5251
e76f0800
CY
52522012-06-21 Chong Yidong <cyd@gnu.org>
5253
5254 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5255 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5256 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5257
297a8f1d
CY
52582012-06-20 Chong Yidong <cyd@gnu.org>
5259
5260 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5261
d34c18b1
DR
52622012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5263
5264 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5265 (bug#11201).
5266
32f7f28e
CY
52672012-06-20 Chong Yidong <cyd@gnu.org>
5268
5269 * term.el (term-window-width): Handle the case of a missing right
5270 fringe (Bug#8837).
5271 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5272 (term-mode): Use define-derived-mode. Minor cleanups.
5273 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5274 (term-move-columns, term-insert-char, term-emulate-terminal)
5275 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5276
493c6688
MA
52772012-06-20 Michael Albinus <michael.albinus@gmx.de>
5278
d34c18b1
DR
5279 * net/ange-ftp.el (ange-ftp-get-passwd):
5280 Bind `enable-recursive-minibuffers'.
493c6688
MA
5281 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5282
3f06ecf4
DR
52832012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5284
5285 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5286
68f12411
GM
52872012-06-19 Glenn Morris <rgm@gnu.org>
5288
5289 * progmodes/python.el (python-mode): Derive from prog-mode.
5290
b3820318
KG
52912012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5292
5293 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5294 (edt-user-menu-bar-update-buffers): New functions.
5295 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5296
c6bf3022
CY
52972012-06-19 Chong Yidong <cyd@gnu.org>
5298
5299 * subr.el (with-selected-window): Preserve the selected window's
5300 terminal's top-frame (Bug#4702).
5301
5302 * window.el (save-selected-window): Likewise.
5303
25f09295
SM
53042012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * progmodes/python.el (python-rx-constituents): Move backquote.
5307 (python-skeleton-define, python-define-auxiliary-skeleton):
5308 Use `declare'.
5309
6b11952a
MA
53102012-06-18 Michael Albinus <michael.albinus@gmx.de>
5311
5312 * minibuffer.el (read-file-name-default): Revert the patch from
5313 2012-06-17.
5314
ee4b1330
SM
53152012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5318 (pcase--u1, pcase--q1): Don't use apply-partially.
5319
35647f79
GM
53202012-06-18 Glenn Morris <rgm@gnu.org>
5321
5322 * progmodes/python.el (python-proc, python-buffer)
5323 (python-send-receive, python-send-string): Fix obsolete versions.
5324
24b0cff0
MR
53252012-06-18 Martin Rudalics <rudalics@gmx.at>
5326
5327 * window.el (special-display-p): Completely remove stringp
5328 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5329
29855149
MA
53302012-06-17 Michael Albinus <michael.albinus@gmx.de>
5331
5332 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5333
5334 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5335
5336 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5337 * net/tramp-sh.el (tramp-maybe-open-connection):
5338 Throw if `non-essential' is non-nil.
5339
07463363
MR
53402012-06-17 Martin Rudalics <rudalics@gmx.at>
5341
5342 * window.el (special-display-p): Signal an error if BUFFER-NAME
5343 is not a string (Bug#11713).
5344
48d1354e
PE
53452012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5346
5347 * progmodes/python.el (python-info-beginning-of-backslash):
5348 Rename from python-info-beginning-of-backlash, as a spelling fix.
5349
eb4a8a9a
CY
53502012-06-17 Chong Yidong <cyd@gnu.org>
5351
5352 * term.el (term-emulate-terminal): If term-check-size is called,
5353 move point to the process mark without resetting point (Bug#4635).
5354
ddfbf826 53552012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5356
5357 * international/mule-cmds.el (mule-menu-keymap)
5358 (set-language-environment, set-locale-environment): Doc tweaks.
5359
9b0e3eba
AA
53602012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5361
5362 * cus-face.el (custom-face-attributes): Add wave-style underline
5363 attribute.
5364 * faces.el (set-face-attribute): Update docstring to describe
5365 wave-style underline attribute.
5366
771e3eae
CY
53672012-06-16 Chong Yidong <cyd@gnu.org>
5368
5369 * term/xterm.el (terminal-init-xterm): Discard input before
5370 querying background mode (Bug#10959).
5371
7ae2ea10
SM
53722012-06-16 Stefan Merten <smerten@oekonux.de>
5373
5374 * textmodes/rst.el: Added and corrected some comments.
5375 (rst-re-alist-def): Improve symbol syntax.
5376 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5377 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5378 (rst-official-version, rst-official-cvs-rev): Update version
5379 information.
7ae2ea10 5380
b6974efa
JB
53812012-06-15 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5384 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5385
8826d473
GM
53862012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5387
5388 * progmodes/python.el: New python.el merge.
5389 (python-guess-indent): Obsolete var.
5390 (python-indent-guess-indent-offset): New defcustom.
5391 (python-indent): Obsolete var.
5392 (python-indent-offset): New defcustom.
5393 (python-python-command, python-jython-command): Delete var.
5394 (python-shell-interpreter): New defcustom.
5395 (python-pdbtrack-do-tracking-p): Delete var.
5396 (python-pdbtrack-activate): New defcustom.
5397 (python-use-skeletons): Obsolete var.
5398 (python-skeleton-autoinsert): New defcustom.
5399 (inferior-python-filter-regexp, python-continuation-offset)
5400 (python-honour-comment-indentation, python-indent-string-contents)
5401 (python-jython-packages, python-mode-hook)
5402 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5403 (python-shell-prompt-alist)
5404 (python-source-modes): Delete defcustoms.
5405 (python-check-buffer-name, python-eldoc-setup-code)
5406 (python-eldoc-string-code, python-ffap-setup-code)
5407 (python-ffap-string-code, python-fill-comment-function)
5408 (python-fill-decorator-function, python-fill-paren-function)
5409 (python-fill-string-function, python-imenu-include-defun-type)
5410 (python-imenu-make-tree, python-imenu-subtree-root-label)
5411 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5412 (python-shell-compilation-regexp-alist)
5413 (python-shell-completion-module-string-code)
5414 (python-shell-completion-pdb-string-code)
5415 (python-shell-completion-setup-code)
5416 (python-shell-completion-string-code)
5417 (python-shell-enable-font-lock, python-shell-exec-path)
5418 (python-shell-extra-pythonpaths)
5419 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5420 (python-shell-process-environment)
5421 (python-shell-prompt-block-regexp)
5422 (python-shell-prompt-output-regexp)
5423 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5424 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5425 (python-shell-virtualenv-path): New defcustoms.
5426 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5427 (inferior-python-mode-syntax-table, python--prompt-regexp)
5428 (python-buffer, python-command python-python-command)
5429 (python-default-template, python-imports, python-indent-index)
5430 (python-indent-list, python-indent-list-length)
5431 (python-mode-running, python-pdbtrack-is-tracking-p)
5432 (python-preoutput-continuation, python-preoutput-leftover)
5433 (python-preoutput-result, python-preoutput-skip-next-prompt)
5434 (python-prev-dir/file, python-recursing)
5435 (python-saved-check-command, python-version-checked)
5436 (python-which-func-length-limit)
5437 (view-return-to-alist): Delete vars.
5438 (python-check-custom-command, python-dotty-syntax-table)
5439 (python-imenu-index-alist, python-indent-current-level)
5440 (python-indent-dedenters, python-indent-levels)
5441 (python-nav-beginning-of-defun-regexp)
5442 (python-nav-list-defun-positions-cache)
5443 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5444 (python-shell-internal-buffer)
5445 (python-skeleton-available): New vars.
5446 (def-python-skeleton): Delete macro.
5447 (python-skeleton-define): New macro.
5448 (python-define-auxiliary-skeleton, python-rx): New macros.
5449 (python-insert-class): Delete command.
5450 (python-skeleton-class): New command.
5451 (python-insert-def): Delete command.
5452 (python-skeleton-def): New command.
5453 (python-insert-for): Delete command.
5454 (python-skeleton-for): New command.
5455 (python-insert-if): Delete command.
5456 (python-skeleton-if): New command.
5457 (python-insert-try/except, python-insert-try/finally): Delete commands.
5458 (python-skeleton-try): New command.
5459 (python-insert-while): Delete command.
5460 (python-skeleton-while): New command.
5461 (python-backspace): Delete command.
5462 (python-indent-dedent-line-backspace): New command.
5463 (python-electric-colon): Delete command.
5464 (python-indent-electric-colon): New command.
5465 (python-guess-indent): Delete command.
5466 (python-indent-guess-indent-offset): New command.
5467 (python-shift-left): Delete command.
5468 (python-indent-shift-left): New command.
5469 (python-shift-right): Delete command.
5470 (python-indent-shift-right): New command.
5471 (python-find-function): Delete command.
5472 (python-nav-jump-to-defun): New command.
5473 (python-next-statement): Delete command.
5474 (python-nav-forward-sentence): New command.
5475 (python-previous-statement): Delete command.
5476 (python-nav-backward-sentence): New command.
5477 (python-fill-paragraph): Delete command.
5478 (python-fill-paragraph-function): New command.
5479 (python-send-buffer): Delete command.
5480 (python-shell-send-buffer): New command.
5481 (python-send-defun): Delete command.
5482 (python-shell-send-defun): New command.
5483 (python-send-region, python-send-region-and-go): Delete commands.
5484 (python-shell-send-region)
5485 (python-shell-switch-to-shell): New commands.
5486 (python-send-string): Delete command.
5487 (python-shell-send-string): New command.
5488 (python-switch-to-python): Delete command.
5489 (python-shell-switch-to-shell): New command.
5490 (python-describe-symbol): Delete command.
5491 (python-eldoc-at-point): New command.
5492 (python--set-prompt-regexp, python-args-to-list)
5493 (python-after-info-look, python-check-version)
5494 (python-check-comint-prompt, python-find-imports)
5495 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5496 (python-unload-function, python-expand-template)
5497 (python-maybe-jython, python-preoutput-filter)
5498 (python-pdbtrack-get-source-buffer)
5499 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5500 (python-pdbtrack-toggle-stack-tracking)
5501 (python-pdbtrack-track-stack-file, python-initial-text)
5502 (python-first-word, python-comment-line-p, python-send-command)
5503 (python-setup-brm, python-sentinel, python-set-proc)
5504 (python-skip-out, python-input-filter, python-outdent-p)
5505 (python-outline-level, python-backslash-continuation-line-p)
5506 (python-end-of-block, python-end-of-statement, python-mark-block)
5507 (python-beginning-of-block, python-beginning-of-statement)
5508 (python-blank-line-p, python-beginning-of-string)
5509 (python-open-block-statement-p): Delete functions.
5510 (python-indent-line, python-indent-line-1): Delete functions.
5511 (python-indent-line): New function.
5512 (python-indentation-levels): Delete function.
5513 (python-indent-calculate-levels): New function.
5514 (python-proc): Delete function.
5515 (python-shell-get-process): New function.
5516 (python-send-receive): Delete function.
5517 (python-shell-send-string-no-output): New function.
5518 (python-module-path): Delete function.
5519 (python-ffap-module-path): New function.
5520 (python-completion-at-point)
5521 (python-symbol-completions): Delete functions.
5522 (python-completion-complete-at-point): New function.
5523 (python-load-file): Delete function.
5524 (python-shell-send-file): New function.
5525 (python-calculate-indentation): Delete function.
5526 (python-indent-calculate-indentation): New function.
5527 (python-skip-comments/blanks): Delete function.
5528 (python-util-forward-comment): New function.
5529 (python-continuation-line-p): Delete function.
5530 (python-info-continuation-line-p): New function.
5531 (python-which-func, python-current-defun): Delete function.
5532 (python-info-current-defun): New function.
5533 (python-beginning-of-defun): Delete function.
5534 (python-nav-beginning-of-defun): New function.
5535 (python-close-block-statement-p)
5536 (python-block-end-p): Delete function.
5537 (python-info-closing-block): New function.
5538 (python-comint-output-filter-function)
5539 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5540 (python-fill-comment, python-fill-decorator, python-fill-paren)
5541 (python-fill-string, python-imenu-make-element-tree)
5542 (python-imenu-make-tree, python-imenu-tree-assoc)
5543 (python-indent-context, python-indent-dedent-line)
5544 (python-indent-line-function)
5545 (python-indent-post-self-insert-function)
5546 (python-indent-toggle-levels)
5547 (python-info-assignment-continuation-line-p)
5548 (python-info-beginning-of-backlash)
5549 (python-info-block-continuation-line-p)
5550 (python-info-closing-block-message)
5551 (python-info-line-ends-backslash-p)
5552 (python-info-looking-at-beginning-of-defun)
5553 (python-info-ppss-context, python-info-ppss-context-type)
5554 (python-nav-list-defun-positions, python-nav-read-defun)
5555 (python-nav-sentence-end, python-nav-sentence-start)
5556 (python-pdbtrack-comint-output-filter-function)
5557 (python-pdbtrack-set-tracked-buffer)
5558 (python-shell-calculate-exec-path)
5559 (python-shell-calculate-process-environment)
5560 (python-shell-completion--do-completion-at-point)
5561 (python-shell-completion--get-completions)
5562 (python-shell-completion-complete-at-point)
5563 (python-shell-completion-complete-or-indent)
5564 (python-shell-get-or-create-process)
5565 (python-shell-get-process-name)
5566 (python-shell-internal-get-or-create-process)
5567 (python-shell-internal-get-process-name)
5568 (python-shell-internal-send-string, python-shell-make-comint)
5569 (python-shell-parse-command, python-shell-send-setup-code)
5570 (python-skeleton-add-menu-items)
5571 (python-util-clone-local-variables, python-util-position)
5572 (run-python-internal, python-indentation-levels)
5573 (python-nav-beginning-of-defun)
5574 (python-completion-complete-at-point): New functions.
5575 (run-python): Change arguments. New API requirements.
5576
4302f5ba
SM
55772012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5578
f38ea36d
SM
5579 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5580 (bug#11649).
5581
5582 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5583 (macroexp--expand-all): Use it.
5584
4302f5ba
SM
5585 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5586 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5587 Use `cl-function' instead.
5588
33377562
JB
55892012-06-14 Juanma Barranquero <lekktu@gmail.com>
5590
5591 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5592 Suggested by Stefan Monnier while discussing bug#11657.
5593
54c5ba1a
SS
55942012-06-14 Sam Steingold <sds@gnu.org>
5595
5596 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5597
f9f1b1fe
AS
55982012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5599
5600 * play/doctor.el (doctor-doc): Remove parameter and use
5601 doctor-sent instead of sent.
5602 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5603
a81068ba
SM
56042012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5a315f9c
SM
5606 * files.el: Require cl-lib.
5607 (file-name-non-special): Replace case -> cl-case.
5608
5609 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5610
a81068ba
SM
5611 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5612 mapping from #' to function*.
5613
8cca9703
CY
56142012-06-13 Chong Yidong <cyd@gnu.org>
5615
5616 * mouse.el (mouse-drag-track): Do not set the mark if the user
5617 releases the mouse without selecting anything (Bug#11588).
5618
a12ac9d7
SM
56192012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5620
ccf1dc18
SM
5621 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5622 as well (bug#11646).
5623
ef62b23d
SM
5624 * loadup.el: Count byte-code functions as well.
5625
c4c8444a
SM
5626 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5627 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5628
a12ac9d7
SM
5629 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5630 (bug#11649). Add cl-defun and cl-defmacro.
5631
87e6e64f
DA
56322012-06-13 Drew Adams <drew.adams@oracle.com>
5633
5634 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5635 Fix last change.
5636
682cefaf
MA
56372012-06-13 Michael Albinus <michael.albinus@gmx.de>
5638
5639 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5640 Otherwise, it blocks in batch mode.
5641
773e1f08
JB
56422012-06-13 Juanma Barranquero <lekktu@gmail.com>
5643
5644 * help-mode.el (bookmark-make-record-default): Declare.
5645
60057926
CY
56462012-06-13 Chong Yidong <cyd@gnu.org>
5647
5648 * emacs-lisp/package.el (list-packages): Compute a list of
5649 packages that are newly-available since the last list-packages
5650 invocation.
5651 (package-menu--new-package-list): New var.
5652 (package-menu--generate, package-menu--print-info)
5653 (package-menu--status-predicate, package-menu-mark-install):
5654 Handle new status label "new".
5655
ad4d226c
SM
56562012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5659 conversion to backquotes.
5660
f1a4e679
CY
56612012-06-12 Chong Yidong <cyd@gnu.org>
5662
5663 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5664 Rename from gud-inhibit-global-bindings.
5665
5666 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5667
5668 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5669 hook from nxml-glyph-set-hook.
5670
5671 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5672 declaration.
5673
5674 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5675
5676 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5677 Convert to defcustom.
5678
0c9e42b5
DA
56792012-06-12 Drew Adams <drew.adams@oracle.com>
5680
5681 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5682 New functions.
5683 (help-mode): Use them.
5684
09e06855
GM
56852012-06-11 Glenn Morris <rgm@gnu.org>
5686
5687 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5688 Use preprocessor face for directives.
5689 (fortran-directive-re): Doc fix.
5690
71adb94b
SM
56912012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5692
2eb87922
SM
5693 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5694 conversion to backquotes (bug#11652).
5695
71adb94b
SM
5696 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5697 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5698 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5699 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5700 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5701 (cl-ninth, cl-tenth): Mark them as inlinable.
5702 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5703 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5704 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5705 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5706 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5707 (cl-list*, cl-adjoin): Don't put an autoload manually.
5708 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5709 (cl--compiler-macro-list*): Add autoload cookie.
5710 (cl--compiler-macro-cXXr): New function.
2eb87922 5711
71adb94b
SM
5712 * help-fns.el (help-fns--compiler-macro): New function extracted from
5713 describe-function-1; follow aliases and use `compiler-macro' property.
5714 (describe-function-1): Use it.
5715
a6674402
CY
57162012-06-11 Chong Yidong <cyd@gnu.org>
5717
5718 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5719 is uninstalled, if imagemagick is installed.
5720
bb3faf5b
SM
57212012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * emacs-lisp/cl-lib.el: Use lexical-binding.
5724 (cl-map-extents, cl-maclisp-member): Remove.
5725 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5726 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5727 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5728 * emacs-lisp/cl-extra.el: Use lexical-binding.
5729 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5730 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5731 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5732 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5733 * emacs-lisp/cl-seq.el: Use lexical-binding.
5734 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5735 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5736 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5737 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5738 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5739 CL's internals.
5740
2fe4b125
MA
57412012-06-11 Michael Albinus <michael.albinus@gmx.de>
5742
5743 Sync with Tramp 2.2.6-pre.
5744
5745 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5746 `print-length' and `print-level' to nil, in order to avoid
5747 truncation. Reported by Christopher Schmidt
5748 <christopher@ristopher.com>.
5749
5750 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5751
5752 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5753 New defmacro.
5754 (tramp-compat-copy-directory): Add optional argument
5755 COPY-CONTENTS. It is not handled yet.
5756
5757 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5758 (tramp-ftp-file-name-p): Simplify.
5759
5760 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5761 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5762 connection vector.
5763
5764 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5765 (tramp-methods): Do not use `tramp-password-end-of-line'.
5766 (tramp-completion-function-alist-putty): Handle UNIX case.
5767 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5768 (tramp-do-file-attributes-with-stat)
5769 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5770 gid as real numbers. They could run out of integer range on cygwin.
5771 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5772 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5773 (tramp-open-connection-setup-interactive-shell):
5774 Use `tramp-cleanup'. Move check for busyboxes ...
5775 (tramp-find-shell): ... here. Simplify implementation.
5776 Set "remote-shell" property also for alternative shells.
5777 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5778 If failing, a regular file would be written otherwise.
5779 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5780 (tramp-find-inline-encoding): Cache the coding commands in the
5781 process cache. Apply test command on the remote side, if defined.
5782 (tramp-find-inline-compress): Cache the compress commands in the
5783 process cache.
5784 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5785 when requested. Handle hops.
5786 (tramp-current-connection): New defvar.
87e6e64f
DA
5787 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5788 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5789 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5790 (tramp-get-inline-compress, tramp-get-inline-coding):
5791 Read connection properties from the process cache.
2fe4b125
MA
5792
5793 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5794 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5795 New defconsts.
2fe4b125
MA
5796 (tramp-smb-prompt): Extend for powershell prompt.
5797 (tramp-smb-file-name-handler-alist): Add handlers for
5798 `process-file', `shell-command' and `start-file-process'.
5799 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5800 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5801 (tramp-smb-file-name-p): Simplify.
5802 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5803 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5804 (tramp-smb-shell-quote-argument): New defuns.
5805 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5806 Implement using "tar". By this, time-stamps are preserved.
5807 (tramp-smb-handle-copy-file): Handle also the case of directories.
5808 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5809 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5810 Use `tramp-get-connection-buffer').
2fe4b125
MA
5811 (tramp-smb-handle-rename-file): Use "rename", when source and
5812 target are on the same share.
87e6e64f
DA
5813 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5814 Use `tramp-smb-server-version'.
2fe4b125
MA
5815 (tramp-smb-wait-for-output): Remove prompt.
5816
5817 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5818 (tramp-methods, tramp-rsh-end-of-line):
5819 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5820 (tramp-save-ad-hoc-proxies): New defcustom.
5821 (tramp-completion-function-alist): Adapt docstring.
5822 (tramp-default-password-end-of-line): Remove defcustom.
5823 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5824 (tramp-user-regexp, tramp-file-name-regexp-unified)
5825 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5826 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5827 (tramp-remote-file-name-spec-regexp): New defconst.
5828 (tramp-file-name-structure): Extend structure for hops.
5829 (tramp-get-method-parameter): Move up.
5830 (tramp-file-name-p, tramp-dissect-file-name)
5831 (with-parsed-tramp-file-name): Handle hops.
5832 (tramp-file-name-hop): New defun.
5833 (tramp-make-tramp-file-name): New optional arg HOP.
5834 (tramp-message-show-progress-reporter-message): New defvar.
5835 (tramp-with-progress-reporter): Use it. We cannot use
5836 `tramp-message-show-message' here, because this suppresses also
5837 error buffers.
5838 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5839 `tramp-message-show-message' is nil.
5840 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5841 (tramp-cleanup): New defun.
5842 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5843 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5844 an error unchanged.
5845 (tramp-completion-handle-file-name-all-completions): Handle hops.
5846 Fix an error when called from ido.
5847 (tramp-completion-dissect-file-name): Use better local variable
5848 name. Add hop to the vector.
5849 (tramp-handle-insert-file-contents): Use progress-reporter for the
5850 whole scenario.
5851 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5852 to `t'.
5853 (tramp-check-for-regexp): Simplify search.
5854 (tramp-enter-password): Remove it. Move implementation ...
5855 (tramp-action-password): ... here.
5856 (tramp-mode-string-to-int, tramp-local-host-p)
5857 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5858 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5859 Set tramp-autoload cookie.
2fe4b125
MA
5860
5861 * net/trampver.el: Update release number.
5862
58632012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5864 Michael Albinus <michael.albinus@gmx.de>
5865
5866 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5867 (tramp-parse-group, tramp-parse-file)
5868 (tramp-parse-shostkeys-sknownhosts): New defuns.
5869 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5870 (tramp-parse-shosts-group, tramp-parse-sconfig)
5871 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5872 (tramp-parse-sknownhosts, tramp-parse-hosts)
5873 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5874 Use them.
5875 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5876 (tramp-parse-putty-group): Don't narrow.
5877 (tramp-parse-putty): Make a loop.
5878 (tramp-file-name-handler): Catch the `suppress' signal.
5879
72834e10
CY
58802012-06-11 Chong Yidong <cyd@gnu.org>
5881
5882 * image.el (imagemagick-register-types): Put the ImageMagick entry
5883 at the end of image-type-file-name-regexps.
5884
a4712e11
JB
58852012-06-11 Johan Bockgård <bojohan@gnu.org>
5886
5887 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5888 (pcase, pcase-let*, pcase-dolist): Use them.
5889
82ad98e3
SM
58902012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * emacs-lisp/pcase.el (pcase--let*): New function.
5893 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5894 (pcase--expand): Use macroexp-let².
5895
f80efb86
SM
58962012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5899 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5900 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5901 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5902 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5903 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5904
31ca4639 59052012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5906
31ca4639
CY
5907 * mail/rmail.el (rmail-yank-current-message): Leave point at
5908 correct position. (Bug#11660)
94f0aa34 5909
31ca4639 59102012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5911
31ca4639 5912 * allout-widgets.el: Fix code header.
9e1b8ec4 5913
31ca4639 59142012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5915
f80efb86
SM
5916 * cus-edit.el (customize-changed-options-previous-release):
5917 Bump to 24.1.
31ca4639 5918
642b6d30
AS
59192012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5920
5921 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5922
4f5d2ba1
CY
59232012-06-09 Chong Yidong <cyd@gnu.org>
5924
5925 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5926
e75852fd
MR
59272012-06-09 Martin Rudalics <rudalics@gmx.at>
5928
5929 * window.el (special-display-popup-frame): Don't use
5930 window--display-buffer (Bug#11651).
5931
1e48e282
EZ
59322012-06-09 Eli Zaretskii <eliz@gnu.org>
5933
8a26b487
EZ
5934 Fix parallel builds: make sure loaddefs.el is not being written
5935 while Lisp files are compiled.
5936 (compile): Don't depend on 'mh-autoloads'.
5937 (compile-CMD, compile-SH): Depend on 'autoloads'.
5938 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5939
1e48e282
EZ
5940 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5941
6175e34b
CY
59422012-06-09 Chong Yidong <cyd@gnu.org>
5943
5944 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5945 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5946 Doc fixes (Bug#11225).
5947
d9857e53
SM
59482012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5951 a function if there's a clear indication that it has a compiler-macro.
5952 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5953 (macro-declarations-alist): Add arglist to declaration functions.
5954 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5955 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5956 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5957 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5958 Also add autoload to find the compiler macro.
5959 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5960 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5961 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5962 (cl--compiler-macro-get): New functions, replacing calls to
5963 cl-define-compiler-macro.
5964 (cl-typep) [compiler-macro]: Use macroexp-let².
5965
f81298f8 59662012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5967
5968 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5969 string properly, fixes Bug#11473.
5970
4b56d0fe
CY
59712012-06-08 Chong Yidong <cyd@gnu.org>
5972
5973 * faces.el (set-face-attribute): Doc fix.
5974 (modify-face): Don't use :bold and :italic.
5975 (error, warning, success): Tweak definitions.
5976
5977 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5978 (custom-modified, custom-set, custom-changed, custom-themed)
5979 (custom-saved, custom-button, custom-button-mouse)
5980 (custom-button-pressed, custom-state, custom-comment-tag)
5981 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5982 (custom-group-subtitle): Use new-style face specs.
5983 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5984 (custom-set-face, custom-changed-face, custom-saved-face)
5985 (custom-button-face, custom-button-pressed-face)
5986 (custom-documentation-face, custom-state-face)
5987 (custom-comment-face, custom-comment-tag-face)
5988 (custom-variable-tag-face, custom-variable-button-face)
5989 (custom-face-tag-face, custom-group-tag-face-1)
5990 (custom-group-tag-face): Remove obsolete face alias.
5991
5992 * epa.el (epa-validity-high, epa-validity-medium)
5993 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5994 (epa-field-name, epa-field-body):
5995 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5996 (font-lock-keyword-face, font-lock-builtin-face)
5997 (font-lock-function-name-face, font-lock-variable-name-face)
5998 (font-lock-type-face, font-lock-constant-face):
5999 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6000 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6001 * speedbar.el (speedbar-button-face, speedbar-file-face)
6002 (speedbar-directory-face, speedbar-tag-face)
6003 (speedbar-selected-face, speedbar-highlight-face)
6004 (speedbar-separator-face):
6005 * whitespace.el (whitespace-newline, whitespace-space)
6006 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6007 (whitespace-line, whitespace-space-before-tab)
6008 (whitespace-space-after-tab, whitespace-indentation)
6009 (whitespace-empty):
6010 * emulation/cua-base.el (cua-global-mark):
6011 * eshell/em-prompt.el (eshell-prompt):
6012 * net/newst-plainview.el (newsticker-new-item-face)
6013 (newsticker-old-item-face, newsticker-immortal-item-face)
6014 (newsticker-obsolete-item-face, newsticker-date-face)
6015 (newsticker-statistics-face, newsticker-default-face):
6016 * net/newst-reader.el (newsticker-feed-face)
6017 (newsticker-extra-face, newsticker-enclosure-face):
6018 * net/newst-treeview.el (newsticker-treeview-face)
6019 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6020 (newsticker-treeview-immortal-face)
6021 (newsticker-treeview-obsolete-face)
6022 (newsticker-treeview-selection-face):
6023 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6024 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6025 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6026 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6027 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6028 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6029 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6030 (mpuz-text):
6031 * progmodes/vera-mode.el (vera-font-lock-number)
6032 (vera-font-lock-function, vera-font-lock-interface):
6033 * textmodes/table.el (table-cell): Use new-style face specs, and
6034 don't use the old :bold and :italic attributes.
6035
6036 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6037 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6038 (ebrowse-member-class, ebrowse-progress): Likewise.
6039 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6040 (ebrowse-file-name-face, ebrowse-default-face)
6041 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6042 (ebrowse-progress-face): Remove obsolete faces.
6043
6044 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6045 Inherit from error and warning faces respectively.
6046
6047 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6048 Likewise.
f80efb86
SM
6049 (flyspell-incorrect-face, flyspell-duplicate-face):
6050 Remove obsolete aliases.
4b56d0fe 6051
03310646
MA
60522012-06-08 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6055 Avoid infloop.
6056
513749ee
SM
60572012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6058
6059 * startup.el (argv, argi): Make lexically scoped.
6060 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6061 * emacs-lisp/cl-macs.el: Use lexical-binding.
6062 Rename cl-bind-* to cl--bind-*.
6063 * files.el: Don't require `cl' since it doesn't use it.
6064 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6065
595ef4ad
JB
60662012-06-08 Juanma Barranquero <lekktu@gmail.com>
6067
6068 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6069 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6070 instead of calling external sort utility.
6071 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6072
e9f66fcb
EZ
60732012-06-08 Eli Zaretskii <eliz@gnu.org>
6074
6075 * descr-text.el (describe-char): Mention how to insert the
6076 character, if the current input method doesn't support it.
6077 See the discussion in this thread for the details:
6078 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6079
3d10db47
SS
60802012-06-08 Sam Steingold <sds@gnu.org>
6081
6082 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6083 XF86Back to previous-buffer.
6084 (minibuffer-local-map): Bind them to next-history-element and
6085 previous-history-element respectively.
6086 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6087 help-go-back respectively.
6088 * info.el (Info-mode-map): Bind them to Info-history-forward and
6089 Info-history-back respectively.
6090 These are the keys next to Up on the ThinkPad keyboard.
6091
de7e2b36
SM
60922012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6095 * emacs-lisp/cl-macs.el: Provide itself.
6096 (cl--labels-convert-cache): New var.
6097 (cl--labels-convert): New function.
6098 (cl-flet, cl-labels): New implementation with new semantics, relying on
6099 lexical-binding.
6100 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6101 (cl-closure-vars, cl--function-convert-cache)
6102 (cl--function-convert): Move from cl-macs.el.
6103 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6104 rename by removing the "cl-" prefix.
6105 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6106
6fa6c4ae
SM
61072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6110 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6111 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6112 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6113 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6114 (cl-hash-table-count): Add old compatibility aliases.
6115
6116 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6117 Use macroexpand-all-environment instead.
6118 (cl--old-macroexpand): New var.
6119 (cl--sm-macroexpand): New function.
6120 (cl-symbol-macrolet): Use it during macro expansion.
6121 (cl--function-convert-cache): New var.
6122 (cl--function-convert): New function, extracted from
6123 cl-macroexpand-all.
6124 (cl-lexical-let): Use it.
6125
6126 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6127 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6128 (cl-member): Remove old alias.
6129
6130 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6131 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6132 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6133 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6134 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6135 (cl-macroexpand-cmacs): Remove var.
6136 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6137 Use macroexpand-all instead.
6138
4dd1c416
SM
61392012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6142 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6143 (macroexp-copyable-p): New functions and macros.
6144 * emacs-lisp/edebug.el (edebug-unwrap):
6145 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6146 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6147 (pcase--let*): Remove.
6148 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6149 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6150 macroexp-const-p instead.
6151 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6152
6153 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6154 instead of "cl-" for internal definitions. Use macroexp-const-p.
6155 (cl-old-bc-file-form): Remove var.
6156 (cl-const-exprs-p): Remove fun.
6157 (cl-labels, cl-macrolet): Use backquote.
6158 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6159 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6160 (cl-define-setf-expander): Rename from cl-define-setf-method.
6161 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6162
6163 * international/mule-cmds.el: Don't require CL.
6164 (view-hello-file): Don't use `letf'.
6165
ed8bd4d7
SM
61662012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6167
7287f2f3
SM
6168 * tmm.el (tmm-prompt): Use string-prefix-p.
6169 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6170 (tmm-add-prompt): Use minibuffer-completion-help.
6171 (tmm-delete-map): Remove.
6172
ed8bd4d7
SM
6173 * subr.el (kbd): Make it its own function.
6174
7b4cdbf4
SM
61752012-06-07 Stefan Merten <smerten@oekonux.de>
6176
6177 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6178 Silence compiler warnings. Fix versions.
ed8bd4d7 6179 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6180 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6181 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6182 (rst-package-emacs-version-alist): Correct Emacs version to
6183 represent major merge with upstream.
ed8bd4d7 6184 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6185
2b48d721
GM
61862012-06-06 Glenn Morris <rgm@gnu.org>
6187
6188 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6189 Only print environment variables if set.
6190
fa779ab0
SM
61912012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6194 (macroexp--cons): Rename from maybe-cons.
6195 (macroexp--accumulate): Rename from macroexp-accumulate.
6196 (macroexp--all-forms): Rename from macroexpand-all-forms.
6197 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6198 (macroexp--expand-all): Rename from macroexpand-all-1.
6199
628299e0
SS
62002012-06-06 Sam Steingold <sds@gnu.org>
6201
6202 * calendar/calendar.el (calendar-in-read-only-buffer):
6203 Call `special-mode' to enable the standard read-only keybindings.
6204
b7bb5838
SM
62052012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6208 with "loading" messages (bug#11635).
6209
dfb308ba
MA
62102012-06-06 Michael Albinus <michael.albinus@gmx.de>
6211
6212 * files.el (enable-remote-dir-locals): New option.
6213 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6214
0372ee92
MA
6215 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6216 Ensure, that the temp directory is local.
6217
6218 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6219 `temporary-file-directory'.
6220
eed0bb91
MA
6221 * progmodes/python.el (python-send-region): Ensure, that the
6222 temporary file is created also in the remote case.
6223
7a58f64d
GM
62242012-06-06 Glenn Morris <rgm@gnu.org>
6225
f7dd4e98
GM
6226 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6227 (vc-rcs-update-changelog): Use it.
6228
090bd7cb 6229 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6230
7a58f64d
GM
6231 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6232 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6233 (vc-sccs-diff): Replace use of the external vcdiff script.
6234
daed4003
GM
62352012-06-05 Glenn Morris <rgm@gnu.org>
6236
6237 * ledit.el: Move to obsolete/.
6238
48c455c7
SS
62392012-06-05 Sam Steingold <sds@gnu.org>
6240
ed9265fc 6241 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6242 patch (Bug#11140).
6243
57a7d507
SM
62442012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6245
090bd7cb 6246 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6247
53aacf21
SM
6248 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6249 compiler-macro expansion.
6250
57a7d507
SM
6251 Add native compiler-macro support.
6252 * emacs-lisp/macroexp.el (macroexpand-all-1):
6253 Support compiler-macros directly. Properly follow aliases and apply
6254 the compiler macros more thoroughly.
6255 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6256 macroexpand now properly follows aliases.
6257 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6258 (cl-compiler-macroexpand): Use new prop.
6259 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6260
6261 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6262
51a5f9d8
MR
62632012-06-05 Martin Rudalics <rudalics@gmx.at>
6264
6265 * window.el (get-lru-window, get-mru-window, get-largest-window):
6266 New argument NOT-SELECTED to avoid picking the selected window.
6267 (window--display-buffer-1, window--display-buffer-2): Replace by
6268 new function window--display-buffer
6269 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6270 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6271 Use window--display-buffer.
51a5f9d8
MR
6272 (display-buffer-use-some-window): Remove temporary dedication
6273 hack by calling get-lru-window and get-largest-window with
6274 NOT-SELECTED argument non-nil. Call window--display-buffer.
6275
08f9f738
GM
62762012-06-05 Glenn Morris <rgm@gnu.org>
6277
6278 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6279 Replace external vcdiff script.
6280
e364a2b7
SM
62812012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6284
041df390
CY
62852012-06-04 Chong Yidong <cyd@gnu.org>
6286
e364a2b7
SM
6287 * image.el (imagemagick-types-inhibit): Revert last change.
6288 Add INFO and M.
47b36b94 6289 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6290
7c1898a7
SM
62912012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emacs-lisp/cl-lib.el: Rename from cl.el.
6294 * emacs-lisp/cl.el: New compatibility file.
6295 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6296 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6297 to obey the "cl-" prefix.
6298 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6299
0c3461de
GM
63002012-06-03 Glenn Morris <rgm@gnu.org>
6301
1e266c88
GM
6302 * emacs-lisp/authors.el (authors-aliases): Addition.
6303
0c3461de
GM
6304 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6305 Fix :version.
6306
d8a52e15
SM
63072012-06-03 Stefan Merten <smerten@oekonux.de>
6308
6309 * textmodes/rst.el: Add comments.
6310 (rst-transition, rst-adornment): New faces.
6311 (rst-adornment-faces-alist): Make default safe to reevaluate.
6312 Fixes
6313 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6314 Improve customization tags.
6315 (rst-define-level-faces): Clarify meaning.
6316
5205d6f6
CY
63172012-06-03 Chong Yidong <cyd@gnu.org>
6318
6319 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6320 (compilation-mode-line-run, compilation-mode-line-exit):
6321 New faces.
5205d6f6
CY
6322 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6323
757ee657
JD
63242012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6325
7c1898a7
SM
6326 * progmodes/which-func.el (which-func-update-ediff-windows):
6327 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6328
5f2c76c6
CY
63292012-06-03 Chong Yidong <cyd@gnu.org>
6330
6331 * bindings.el: Remove explicit help text from format-mode-line.
6332 It is now supplied by mode-line-default-help-echo.
6333 (mode-line-front-space, mode-line-end-spaces)
6334 (mode-line-misc-info): New variables.
6335 (mode-line-modes, mode-line-position): Move the default value to
6336 the variable definition.
6337 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6338 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6339 (mode-line-modified-help-echo): New functions.
6340 (mode-line-mule-info, mode-line-modified): Use them.
6341 (mode-line-eol-desc, propertized-buffer-identification):
6342 Consistency fixes for help text.
cbe46e5f
CY
6343 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6344 set-buffer-file-coding-system (Bug#289).
6345 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6346
f2d6a3df
SM
63472012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * simple.el (execute-extended-command): Set real-this-command
6350 (bug#11506).
6351
37269466
CY
63522012-06-02 Chong Yidong <cyd@gnu.org>
6353
6354 Remove incorrect uses of "modeline" in comments, docstrings, and
6355 function/variable names (Bug#10329).
6356
6357 * cus-edit.el (mode-line):
6358 * dframe.el (dframe-mouse-hscroll):
6359 * emacs-lisp/re-builder.el:
6360 * emacs-lisp/easy-mmode.el (define-minor-mode):
6361 * frame.el (set-frame-name):
6362 * help.el (lookup-minor-mode-from-indicator):
6363 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6364 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6365 (c-toggle-hungry-state):
6366 * progmodes/antlr-mode.el (antlr-language-alist):
6367 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6368 * progmodes/vhdl-mode.el (vhdl-mode):
6369 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6370 * term/ns-win.el (ns-face-at-pos):
6371 * term/sup-mouse.el (sup-mouse-report):
6372 * textmodes/flyspell.el (flyspell-mode-line-string):
6373 * textmodes/ispell.el (ispell-highlight-face):
6374 * textmodes/reftex-global.el:
6375 * vc/vc-arch.el (vc-arch-mode-line-string):
6376 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6377 * vc/vc-git.el (vc-git-mode-line-string):
6378 * vc/vc-hooks.el (vc-display-status)
6379 (vc-default-mode-line-string):
6380 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6381
6382 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6383
6384 * dired.el (dired-sort-set-mode-line): Rename from
6385 dired-sort-set-modeline. All callers changed.
6386
6387 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6388 eshell-status-in-modeline.
6389
6390 * foldout.el (foldout-mode-line-string): Rename from
6391 foldout-modeline-string. All callers changed.
6392 (foldout-update-mode-line): Rename from foldout-update-modeline.
6393
6394 * subr.el (redraw-modeline): Make into obsolete alias.
6395
6396 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6397 timeclock-modeline-display. Make old name an alias.
6398 (timeclock-update-mode-line): Likewise. All callers changed.
6399 (timeclock-mode-line-display): No need to check before using
6400 add-hook.
6401 (timeclock-relative, timeclock-day-over-hook)
6402 (timeclock-use-elapsed, timeclock-mode-string)
6403 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6404
6405 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6406 crisp-mode-modeline-string.
6407
6408 * play/solitaire.el (solitaire-build-mode-line): Rename from
6409 solitaire-build-modeline. All callers changed.
6410
6411 * play/zone.el (zone-hiding-mode-line): Rename from
6412 zone-hiding-modeline. All callers changed.
6413 (zone): Remove unusued `modeline-hidden-level' property.
6414
6415 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6416 xscheme-modeline-initialize. All callers changed.
6417
6418 * strokes.el (strokes-lighter): Rename from
6419 strokes-modeline-string.
6420
6421 * textmodes/sgml-mode.el (html-face-tag-alist)
6422 (html-tag-face-alist): Use mode-line face instead of obsolete
6423 alias modeline.
6424
42152ee4
SM
64252012-06-02 Stefan Merten <smerten@oekonux.de>
6426
6427 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6428 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6429
95f520b5
CY
64302012-06-02 Chong Yidong <cyd@gnu.org>
6431
6432 * image.el (imagemagick-enabled-types): Rename from
6433 imagemagick-types-enable. Add many more types.
6434 (imagemagick-types-inhibit): Change default to nil.
6435 (imagemagick-filter-types): Caller changed.
6436
4a5f187a
SM
64372012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6438
03fef3e6
SM
6439 * emacs-lisp/cl-macs.el: Use backquotes.
6440 (cl-transform-function-property): Use eval-and-compile rather than
6441 abusing `require'.
6442 (defstruct): Use declare-function instead of with-no-warnings.
6443
4a5f187a
SM
6444 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6445 (byte-compile-output-docform): Re-add the print-circle bindings.
6446 (byte-compile-fix-header): Use #$ just because it's shorter.
6447 (byte-compile-output-file-form): Remove defun/defmacro.
6448
bd56924f
MR
64492012-06-01 Martin Rudalics <rudalics@gmx.at>
6450
6451 * simple.el (choose-completion): Remove now obsolete binding for
6452 owindow.
6453
046e38ce
MA
64542012-06-01 Michael Albinus <michael.albinus@gmx.de>
6455
6456 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6457 in order to avoid "Stack overflow in regexp matcher".
6458
32d72c2f
GM
64592012-05-31 Glenn Morris <rgm@gnu.org>
6460
6461 * image.el: For clarity, call imagemagick-register-types at
6462 top-level, rather than relying on a custom :initialize.
6463 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6464 (imagemagick-filter-types): New function. (Bug#7406)
6465 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6466 If disabling support, remove elements altogether rather
6467 than using an impossible regexp.
6468 (imagemagick-types-inhibit): Give it the default init function.
6469
dd41169b
SM
64702012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6471
4a5f187a
SM
6472 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6473 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6474
efc00ab1 64752012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6476
6477 * desktop.el (desktop-read): Clear previous and next buffers for
6478 all windows and bury *Messages* buffer (bug#11556).
6479
500fcedc
SM
64802012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 Add `declare' for `defun'. Align `defmacro's with it.
6483 * emacs-lisp/easy-mmode.el (define-minor-mode)
6484 (define-globalized-minor-mode): Don't autoload the var definitions.
6485 * emacs-lisp/byte-run.el: Use lexical-binding.
6486 (defun-declarations-alist, macro-declarations-alist): New vars.
6487 (defmacro, defun): Use them.
6488 (make-obsolete, define-obsolete-function-alias)
6489 (make-obsolete-variable, define-obsolete-variable-alias):
6490 Use `declare'.
6491 (macro-declaration-function): Mark obsolete.
6492 * emacs-lisp/autoload.el: Use lexical-binding.
6493 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6494
6e8a1786
AM
64952012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6496
6497 * textmodes/ispell.el (ispell-with-no-warnings):
6498 Define as a macro.
500fcedc
SM
6499 (ispell-kill-ispell, ispell-change-dictionary):
6500 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6501 `interactive-p'.
6502
61b108cc
SM
65032012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6504
6505 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6506 (macro-declaration-function): Move var from C code.
6507 (macro-declaration-function): Define function with defalias.
6508 * emacs-lisp/macroexp.el (macroexpand-all-1):
6509 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6510 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6511 defun/defmacro any more.
6512 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6513 Provide fallback for unknown arglist.
6514 (byte-compile-arglist-warn): Change calling convention.
6515 (byte-compile-output-file-form): Move print-vars binding.
6516 (byte-compile-output-docform): Simplify accordingly.
6517 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6518 (byte-compile-defmacro-declaration): Remove.
6519 (byte-compile-file-form-defmumble): Generalize to defalias.
6520 (byte-compile-output-as-comment): Return byte-positions.
6521 Simplify callers accordingly.
6522 (byte-compile-lambda): Use `assert'.
6523 (byte-compile-defun, byte-compile-defmacro): Remove.
6524 (byte-compile-file-form-defalias):
6525 Use byte-compile-file-form-defmumble.
6526 (byte-compile-defalias-warn): Remove.
6527
6d3f7c2f
SM
65282012-05-29 Stefan Merten <smerten@oekonux.de>
6529
6530 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6531 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6532
6533 (rst-mode-abbrev-table): Merge definition.
6534 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6535 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6536
6dbaa1c7
UJ
65372012-05-29 Ulf Jasper <ulf.jasper@web.de>
6538
6539 * calendar/icalendar.el
6540 (icalendar-export-region): Export UID properly.
6541
d209e2fb 65422012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6543 * calendar/icalendar.el (icalendar-import-format):
6544 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6545 (icalendar-import-format-uid): New.
6546 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6547 Export UID.
6548
6876a58d
SM
65492012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6552 different alternative patterns.
6553 (pcase-codegen): Be more careful to preserve identity.
6554 (pcase--u1): Don't forget to mark vars as used.
6555
6556 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6557 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6558 (byte-compile-from-buffer): ...rather than here.
6559
6560 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6561 functions from byte-compile-function-environment.
6562
46b7967e
TN
65632012-05-29 Troels Nielsen <bn.troels@gmail.com>
6564
6565 * window.el (window-deletable-p): Avoid deleting the root window
6566 of a frame with an active minibuffer.
6567
69d565e2
MR
65682012-05-29 Martin Rudalics <rudalics@gmx.at>
6569
6570 * simple.el (choose-completion): Use quit-window (Bug#11567).
6571
a149fa51
CY
65722012-05-29 Chong Yidong <cyd@gnu.org>
6573
6574 * whitespace.el (whitespace-cleanup): Fix usage of
6575 whitespace-empty-at-bob-regexp (Bug#11492).
6576
2b311310
AH
65772012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6578
6579 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6580 revert (Bug#11488).
6581
b9cb2387
JL
65822012-05-29 Juri Linkov <juri@jurta.org>
6583
6584 * isearch.el (isearch-mode-map): Bind `M-s _' to
6585 `isearch-toggle-symbol'. Bind `M-s c' to
6586 `isearch-toggle-case-fold'.
6587 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6588 (isearch-forward): Add `M-s _' to the docstring.
6589 (isearch-forward-symbol, isearch-toggle-case-fold)
6590 (isearch-symbol-regexp): New functions. (Bug#11381)
6591
d5e61c1c
JL
65922012-05-29 Juri Linkov <juri@jurta.org>
6593
6594 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6595 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6596 a function, call it to get the regexp.
6597 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6598 property `isearch-message-prefix' instead of the string "word ".
6599 (isearch-search-fun-default): For the case of `isearch-word',
6600 return a lambda that calls re-search-forward/re-search-backward
6601 with a regexp returned by `word-search-regexp' or by the function
6602 in `isearch-word'.
6603
8cbd80f7
JL
66042012-05-29 Juri Linkov <juri@jurta.org>
6605
6606 * isearch.el (isearch-search-fun-default): New function.
6607 (isearch-search-fun): Move default part to the new function
6608 `isearch-search-fun-default'.
6609 (isearch-search-fun-function): Set the default value to
6610 `isearch-search-fun-default'. (Bug#11381)
6611
6612 * comint.el (comint-history-isearch-end):
6613 Use `isearch-search-fun-default'.
6614 (comint-history-isearch-search): Use `isearch-search-fun-default'
6615 and remove spacial case for `isearch-word'.
6616 (comint-history-isearch-wrap): Remove spacial case for
6617 `isearch-word'.
6618
6619 * hexl.el (hexl-isearch-search-function):
6620 Use `isearch-search-fun-default'.
6621
6622 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6623 Use `word-search-regexp' for `isearch-word'.
6624
6625 * misearch.el (multi-isearch-search-fun):
6626 Use `isearch-search-fun-default'.
6627
6628 * simple.el (minibuffer-history-isearch-search):
6629 Use `isearch-search-fun-default' and remove spacial case for
6630 `isearch-word'.
6631 (minibuffer-history-isearch-wrap): Remove spacial case for
6632 `isearch-word'.
6633
6634 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6635 Remove spacial case for `isearch-word'.
6636 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6637
85c8c5b6
AM
66382012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6639
6640 Decrease XEmacs incompatibilities.
6641 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6642 Use `string-match'.
6643 (flyspell-delete-region-overlays): Use alternative definition for
6644 XEmacs.
6645 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6646 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6647 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6648 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6649 `define-obsolete-face-alias' under XEmacs, but old method.
6650
6651 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6652 `with-no-warnings' definition or Emacs alias.
6653 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6654 (ispell-word): Do not use `region-p' if XEmacs.
6655
8cab9efc
AM
66562012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6657
6658 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6659 Check for `ispell-dictionary-base-alist' instead of full
6660 `ispell-dictionary-alist'.
6661 (ispell-init-process): Show spellchecker when starting new Ispell
6662 process.
6663
fda91268
RZ
66642012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6667 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6668
694ea8e3
JB
66692012-05-27 Juanma Barranquero <lekktu@gmail.com>
6670
6671 * version.el (motif-version-string, gtk-version-string)
6672 (ns-version-string): Declare.
6673
e4d4f539
JL
66742012-05-27 Juri Linkov <juri@jurta.org>
6675
6676 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6677 after the `eval-defun-1' specialcaseing
6678 like in `edebug-eval-defun' (bug#10181).
6679
6680 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6681 like in `eval-defun-1'.
6682
33017faf 66832012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6684
fda91268
RZ
6685 * mail/sendmail.el (mail-yank-region):
6686 Recognize rmail-yank-current-message in addition to insert-buffer.
6687 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6688 a *mail* buffer created through rmail-start-mail with sendmail as
6689 mail-user-agent.
6690
33017faf
GM
66912012-05-27 Chong Yidong <cyd@gnu.org>
6692
6693 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6694 Default to 256 (Bug#11267).
6695
6696 * help.el (describe-mode): Doc fix.
6697
04188bb9
GM
66982012-05-26 Glenn Morris <rgm@gnu.org>
6699
38264cc9
GM
6700 * w32-fns.el (w32-init-info): Remove.
6701 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6702
eb7afdad
GM
6703 * info.el (info-initialize): For self-contained NS builds, put the
6704 included info/ directory at the front. (Bug#2791)
6705
04188bb9
GM
6706 * paths.el (Info-default-directory-list): Make it a defcustom,
6707 mainly so that we can use custom-initialize-delay.
6708
a179e3f7
SM
67092012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6710
43416392
SM
6711 * subr.el (buffer-has-markers-at): Mark obsolete.
6712
a179e3f7 6713 * subr.el (lambda): Use declare.
43416392 6714
a179e3f7
SM
6715 * emacs-lisp/lisp-mode.el (lambda):
6716 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6717
34a008d9
AH
67182012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6719
6720 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6721
0a3b289f
GM
67222012-05-26 Glenn Morris <rgm@gnu.org>
6723
6724 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6725
758c81e8
GM
67262012-05-25 Glenn Morris <rgm@gnu.org>
6727
f9f334f0
GM
6728 * paths.el: Remove no-byte-compile.
6729 * loadup.el: No need to load paths.el uncompiled.
6730
87eb79c2
GM
6731 * image.el (imagemagick-types-inhibit): Doc fix.
6732
758c81e8
GM
6733 * version.el: Remove no-byte-compile and associated formatting.
6734 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6735 is ancient code from when there was an "inc-vers.el".
6736
e7e85dc0
SM
67372012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6738
6739 * progmodes/gdb-mi.el: Minor style changes.
6740 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6741 Turn into minor modes.
6742 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6743 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6744 (gdb-shell): Remove unneeded let-binding.
6745 (gdb-get-many-fields): Eliminate O(n²) behavior.
6746
f31237a4
EZ
67472012-05-25 Eli Zaretskii <eliz@gnu.org>
6748
6749 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6750 platforms that don't link in fontset.c.
6751
bc1b21bb
JL
67522012-05-25 Juri Linkov <juri@jurta.org>
6753
6754 Use the same diff color scheme as in modern VCSes (bug#10181).
6755
6756 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6757 to avoid confusion with `diff-added' that now uses green colors.
6758 (diff-removed): Use shades of red.
6759 (diff-added): Use shades of green.
6760 (diff-changed): Leave just the yellow color.
6761 (diff-use-changed-face): New variable.
6762 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6763 how to highlight context diff changes.
6764 (diff-refine-change): Use shades of yellow.
6765 (diff-refine-removed): New face that uses shades of red.
6766 (diff-refine-added): New face that uses shades of green.
6767 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6768 `diff-refine-removed' in the call to `smerge-refine-subst'
6769 depending on the value of `diff-use-changed-face'.
6770
6771 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6772 (smerge-other): Use shades of green.
6773 (smerge-base): Use shades of yellow.
6774 (smerge-refined-change): Empty face.
6775 (smerge-refined-removed): New face that uses shades of red.
6776 (smerge-refined-added): New face that uses shades of green.
6777 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6778 args `props-r' and `props-a', and use them. Doc fix.
6779 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6780 on its value use different faces `smerge-refined-change',
6781 `smerge-refined-removed', `smerge-refined-added' in the call to
6782 `smerge-refine-subst'.
6783
6784 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6785 Add face condition `min-colors 88' with shades of red.
6786 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6787 `min-colors 88' with shades of green.
6788 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6789 `min-colors 88' with shades of yellow.
6790
6df9112c
GM
67912012-05-24 Glenn Morris <rgm@gnu.org>
6792
ead5edc0
GM
6793 * paths.el (prune-directory-list, remote-shell-program): Move to...
6794 * files.el (prune-directory-list, remote-shell-program): ...here.
6795 For the latter, delay initialization, prefer ssh, just search PATH.
6796
f18b81e6
GM
6797 * paths.el (term-file-prefix): Move to faces.el (the only user).
6798 * faces.el (term-file-prefix): Move here, make it a defcustom.
6799
ee2f89a6
GM
6800 * paths.el (news-directory, news-path, news-inews-program):
6801 Move to gnus/nnspool.el.
61a583ca 6802
f8815e4c
GM
6803 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6804
c8f3b42c
GM
6805 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6806 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6807 Make the latter a defcustom, with a delayed initialization.
6808
6df9112c
GM
6809 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6810 These were deleted from Gnus itself late 2010.
6811
5dadff36
JB
68122012-05-22 Juanma Barranquero <lekktu@gmail.com>
6813
9e1701c6
JB
6814 * progmodes/which-func.el (which-func-ff-hook):
6815 Check against user-error, not error.
6816
bd7239f5 6817 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6818 cl-specs.el, which no longer exists.
6819
3290526d
GM
68202012-05-22 Glenn Morris <rgm@gnu.org>
6821
6822 * info.el (info-emacs-bug): New command.
6823 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6824 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6825
ff0c3cfb
GM
68262012-05-21 Glenn Morris <rgm@gnu.org>
6827
6828 * makefile.w32-in (update-subdirs-SH):
6829 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6830
5814f126
SM
68312012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6832
a52c0aa0
SM
6833 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6834
5814f126
SM
6835 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6836 Simplify Maven regexp, and make sure the file can't start with a space
6837 (bug#11517).
6838
b847032c
GM
68392012-05-21 Glenn Morris <rgm@gnu.org>
6840
6841 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6842 Scrap superfluous subshells.
6843
3858bfe7
SM
68442012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6847 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6848
d14b0029
JB
68492012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6850
6851 * calc/calc.el (calc-ensure-consistent-units): New variable.
6852
a52c0aa0
SM
6853 * calc/calc-units.el (math-consistent-units-p)
6854 (math-check-unit-consistency): New functions.
6855 (calc-quick-units, calc-convert-units):
6856 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6857 is non-nil.
d14b0029
JB
6858 (calc-extract-units): Fix typo.
6859
60c4db3a
SM
68602012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6861
77f3b62e
SM
6862 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6863
60c4db3a
SM
6864 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6865 (flyspell-default-deplacement-commands): Don't spell check after
6866 repeated window/frame switches (e.g. triggered by mouse-movement).
6867 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6868 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6869 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6870 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6871 Remove unused vars.
6872 (flyspell-get-casechars, flyspell-get-not-casechars):
6873 Simplify; Don't bother removing a ] just to add it back.
6874 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6875
d209e2fb 68762012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6877
6878 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6879 New functions.
bd7239f5 6880 (math-function-table): Add support for more C functions.
b1a10716 6881
3f1b25b5
AM
68822012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6883
090bd7cb
JB
6884 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6885 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6886 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6887
b581bb5c
SM
68882012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6891 their respective macro declarations.
6892 * skeleton.el (define-skeleton):
6893 * progmodes/compile.el (define-compilation-mode):
6894 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6895 (define-ibuffer-filter):
6896 * emacs-lisp/generic.el (define-generic-mode):
6897 * emacs-lisp/easy-mmode.el (define-minor-mode)
6898 (define-globalized-minor-mode):
6899 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6900 * emacs-lisp/byte-run.el (defsubst):
6901 * custom.el (deftheme): Add doc-string metadata.
6902
70b8ef8f
SM
69032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6906
b1198e17
SM
69072012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6908
9abdc45d
SM
6909 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6910
b1198e17
SM
6911 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6912 * emacs-lisp/cl-macs.el: Idem.
6913 * emacs-lisp/cl-specs.el: Remove.
6914
4735906a
SM
69152012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 Minor renaming of internal CL functions and variables.
6918 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6919 (cl--position): Rename from cl-position.
6920 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6921 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6922 (cl--random-state): Rename from *random-state*.
6923
ac348012
SM
69242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6927 parens around the arg list (bug#11499).
6928
a0a79cde
JL
69292012-05-17 Juri Linkov <juri@jurta.org>
6930
6931 * isearch.el (word-search-regexp, word-search-backward)
6932 (word-search-forward, word-search-backward-lax)
6933 (word-search-forward-lax): Move functions from search.c
6934 (bug#10145, bug#11381).
6935
65034a51
AM
69362012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6937
090bd7cb
JB
6938 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6939 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6940 Delay for otherchars as for normal word components.
65034a51 6941
1a72a195
SM
69422012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * minibuffer.el (completion--sifn-requote): Fix last change.
6945 (minibuffer-local-must-match-filename-map):
6946 Move define-obsolete-variable-alias before its var.
6947
fdb058c2
SM
69482012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6949
c41045e6
SM
6950 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6951
036dfb8b
SM
6952 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6953 behavior.
6954 (completion--string-equal-p): New function.
6955 (completion--twq-all): Use it to get better assertion failure data.
6956
2473256d
SM
6957 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6958 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6959 (shell--requote-argument): New functions.
6960 (shell-completion-vars): Use them.
6961 (shell--parse-pcomplete-arguments): Rename from
6962 shell-parse-pcomplete-arguments.
6963 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6964 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6965 Obey comint-file-name-quote-list.
6966
fdb058c2
SM
6967 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6968 (smie-indent-keyword): Use it.
6969
51fa99f1
SM
69702012-05-14 Stefan Merten <smerten@oekonux.de>
6971
6972 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6973
e18afed7 69742012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6975
6976 * net/rlogin.el (rlogin-mode-map): Fix last change.
6977
e18afed7 69782012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6979
6980 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6981 the following \r\n using a single `process-send-string', since the
6982 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6983 with two `process-send-string's (Bug#11444).
8633b1f4 6984
e18afed7 69852012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6986
fdb058c2
SM
6987 * shell.el (shell-parse-pcomplete-arguments):
6988 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6989
2d21d7f6
WJ
69902012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6991
e18afed7 6992 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6993 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6994 (image-transform-width, image-transform-fit-width): New functions.
6995 (image-transform-properties): Use them.
6996 (image-transform-check-size): New function.
6997 (image-toggle-display-image): Use it (for testing).
6998 (image-transform-set-rotation): Reduce angle mod 360.
6999 Delete obsolete comment.
7000
7102e6d0
WJ
70012012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7002
7003 * image-mode.el: Fix scaling (bug#11399).
7004 (image-transform-resize): Doc fix.
7005 (image-transform-properties): Default scale is 1 and height should
7006 be an integer.
7007
06bc5e6e
SM
70082012-05-13 Johan Bockgård <bojohan@gnu.org>
7009
7010 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7011 than hard-coding `car', to fix misbehavior when moving forward.
7012
0ae03b6a
CY
70132012-05-13 Chong Yidong <cyd@gnu.org>
7014
7015 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7016 (tabulated-list-entries, tabulated-list-padding)
7017 (tabulated-list-sort-key): Make permanent-local.
7018
7019 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7020 (electric-buffer-list): Put electric buffer menu
7021 command descriptions in this docstring, instead of the docstring
7022 of electric-buffer-menu-mode. Code cleanups.
7023 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7024 Electric-buffer-menu-mode.
7025 (electric-buffer-update-highlight): Minor code cleanup.
7026
205a7391
MA
70272012-05-13 Michael Albinus <michael.albinus@gmx.de>
7028
7029 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7030 (Bug#11447)
7031
e5bd0a28
SM
70322012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 Move define-obsolete-variable-alias before the var's definition.
7035 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7036 * tooltip.el (tooltip-hook):
7037 * textmodes/reftex-toc.el (reftex-toc-map):
7038 * textmodes/reftex-sel.el (reftex-select-label-map)
7039 (reftex-select-bib-map):
7040 * textmodes/reftex-index.el (reftex-index-map)
7041 (reftex-index-phrases-map):
7042 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7043 * progmodes/meta-mode.el (meta-mode-map):
7044 * novice.el (disabled-command-hook):
7045 * loadhist.el (unload-hook-features-list):
7046 * frame.el (blink-cursor):
7047 * files.el (find-file-not-found-hooks, write-file-hooks)
7048 (write-contents-hooks):
7049 * emulation/tpu-edt.el (GOLD-map):
7050 * emacs-lock.el (emacs-lock-from-exiting):
7051 * emacs-lisp/generic.el (generic-font-lock-defaults):
7052 * emacs-lisp/chart.el (chart-map):
7053 * dos-fns.el (register-name-alist):
7054 * dired-x.el (dired-omit-files-p):
7055 * desktop.el (desktop-enable):
7056 * cus-edit.el (custom-mode-hook):
7057 * buff-menu.el (buffer-menu-mode-hook):
7058 * bookmark.el (bookmark-read-annotation-text-func)
7059 (bookmark-exit-hooks):
7060 * allout.el (allout-mode-deactivate-hook)
7061 (allout-exposure-change-hook, allout-structure-added-hook)
7062 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7063 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7064 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7065 comes before the corresponding variable's definition.
7066
ac59c2f6
CY
70672012-05-12 Chong Yidong <cyd@gnu.org>
7068
7069 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7070 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7071 (Buffer-menu-mode-map): Bind it.
7072 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7073
dee6c9a3
SM
70742012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7075
2171cea5
SM
7076 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7077 (prolog-upper-case-string, prolog-lower-case-string)
7078 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7079 (prolog-use-smie, prolog-smie-grammar): New vars.
7080 (prolog-smie-forward-token, prolog-smie-backward-token)
7081 (prolog-smie-rules): New funs.
7082 (prolog-comment-indent): Remove.
7083 (prolog-mode-variables): Use default comment indentation instead.
7084 Setup SMIE.
7085 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7086 (prolog-mode): Don't call them any more.
7087 (prolog-electric-colon, prolog-electric-dash)
7088 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7089
aa0382bd
SM
7090 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7091
dbacb4bd
SM
7092 * minibuffer.el (completion--twq-all): Again, allow case differences.
7093
13bdd94c
SM
7094 * term.el: Move keymap initialization code to be more idiomatic.
7095 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7096 (term-terminal-menu): Move initialization into declaration.
7097 (term-escape-char): Let the user set it in her .emacs.
7098
ff46c759
SM
7099 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7100 Provide SMIE-based indentation (not enabled by default yet).
7101 (sh-mode-map): Don't bind electric keys.
7102 Use electric-pair-mode instead of skeleton-pair.
7103 (sh-assignment-regexp): Fit within 80 columns.
7104 (sh-indent-supported): Specify actual shell name instead of boolean.
7105 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7106 (sh-maybe-here-document): Use it. Make obsolete.
7107 (sh-electric-here-document-mode) New minor mode.
7108 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7109 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7110 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7111 (sh-smie-rc-grammar, sh-use-smie): New vars.
7112 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7113 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7114 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7115 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7116 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7117 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7118 (sh-set-shell): Use smie-setup if requested.
7119
dee6c9a3
SM
7120 * term.el (term-set-escape-char): Properly set term-escape-char.
7121 See http://stackoverflow.com/questions/10524656.
7122
9f9aa044
CY
71232012-05-10 Chong Yidong <cyd@gnu.org>
7124
7125 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7126 Use url-generic-parse-url, and handle host names and Windows
7127 filenames properly.
7128 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7129 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7130 URL schemes to work on.
7131 (ffap--toggle-read-only): New function.
7132 (ffap-read-only, ffap-read-only-other-window)
7133 (ffap-read-only-other-frame): Use it.
7134 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7135 necessary for ffap-url-unwrap-remote.
7136
836d29b3
DA
71372012-05-10 Dave Abrahams <dave@boostpro.com>
7138
7139 * cus-start.el (create-lockfiles): Add it.
7140
00fd78ed
CY
71412012-05-09 Chong Yidong <cyd@gnu.org>
7142
7143 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7144 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7145
666b903b 71462012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7147
7148 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7149
666b903b 71502012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7151
7152 * ansi-color.el (ansi-color-process-output): Check for validity of
7153 comint-last-output-start before using it. This avoids a bad
7154 interaction with gdb-mi's input/output buffer.
7155
666b903b 71562012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7157
7158 * files.el (dir-locals-read-from-file):
7159 Mention dir-locals in any error message.
7160
666b903b 71612012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7162
7163 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7164 package (Bug#11410).
7165
f677562b
CY
7166 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7167 variables into description.
7168
666b903b 71692012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7170
7171 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7172 shell-delimiter-argument-list (bug#11348).
7173 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7174
b499d8d0
JB
71752012-05-09 Juanma Barranquero <lekktu@gmail.com>
7176
8f6b6da8
JB
7177 * textmodes/rst.el: Silence byte-compiler warnings.
7178 (rst-re-alist, rst-reset-section-caches): Move around.
7179 (rst-re): Use `characterp', not `char-valid-p'.
7180 (font-lock-beg, font-lock-end): Declare.
7181
4824146a
JB
7182 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7183 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7184
b499d8d0
JB
7185 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7186
ad89bb83
GM
71872012-05-08 Glenn Morris <rgm@gnu.org>
7188
7189 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7190
8bba5a75
SM
71912012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7192
49ed9c8e
SM
7193 * vc/log-edit.el: Add GNU coding standards highlighting.
7194 (log-edit-font-lock-gnu-style)
7195 (log-edit-font-lock-gnu-keywords): New vars.
7196 (log-edit-font-lock-keywords): New fun.
7197 (log-edit-mode): Don't fold case in font-lock.
7198 (log-edit-font-lock-keywords): Do not assume case-folding.
7199
07d00b56
SM
7200 * imenu.el: Misc cleanup. Make docstrings out of comments.
7201 Use lexical-binding.
7202 (imenu--index-alist, imenu--last-menubar-index-alist)
7203 (imenu-menubar-modified-tick): Use defvar-local.
7204 (imenu--split-menu): Remove unused var.
7205 (imenu--cleanup-seen): Declare as global.
7206 (imenu--cleanup): Use dolist.
7207
8bba5a75
SM
7208 * subr.el (defvar-local): Add debug spec and doc-string position.
7209
5075bdb5
GM
72102012-05-08 Glenn Morris <rgm@gnu.org>
7211
090bd7cb 7212 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7213 * language/english.el, language/georgian.el, language/greek.el:
7214 * language/japanese.el, language/khmer.el, language/korean.el:
7215 * language/lao.el, language/misc-lang.el, language/romanian.el:
7216 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7217 * language/thai.el, language/utf-8-lang.el:
7218 Remove no-byte-compile setting.
7219
5075bdb5
GM
7220 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7221
06f679a7
AH
72222012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7223
7224 * progmodes/make-mode.el (makefile-browse):
7225 Remove unnecessary interactive. (Bug#11324)
7226
03794570
GM
72272012-05-07 Glenn Morris <rgm@gnu.org>
7228
af8630f4
GM
7229 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7230
03794570
GM
7231 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7232
f0809a9d
SM
72332012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7234
28be5ce7
SM
7235 * loadup.el: Preload newcomment.el.
7236 * newcomment.el: Move autoload-only code to toplevel.
7237
f0809a9d
SM
7238 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7239 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7240 Handle new :right-align column property.
7241 (tabulated-list-print-col): Idem, plus use `display' text-property to
7242 try and preserve alignment for variable pitch fonts.
7243
1241b724
CY
72442012-05-07 Chong Yidong <cyd@gnu.org>
7245
7246 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7247 (tabulated-list-use-header-line): New var.
7248 (tabulated-list-init-header): Use it.
7249 (tabulated-list-print-fake-header): New function.
7250 (tabulated-list-print): Use it.
7251 (tabulated-list-sort-button-map): Add non-header-line commands.
7252 (tabulated-list-init-header): Add column name property to basic
7253 labels as well.
7254 (tabulated-list-col-sort): Handle non-header-line button case.
7255 (tabulated-list--sort-by-column-name): Fix a corner case.
7256
f0809a9d
SM
7257 * buff-menu.el (list-buffers--refresh):
7258 Handle Buffer-menu-use-header-line.
1241b724 7259
e5f9458f
CY
72602012-05-06 Chong Yidong <cyd@gnu.org>
7261
7262 * buff-menu.el: Convert to Tabulated List mode.
7263 (Buffer-menu-buffer+size-width): Make obsolete.
7264 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7265 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7266 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7267 documentation into docstring of buffer-menu.
7268 (Buffer-menu-toggle-files-only): Add an informative message.
7269 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7270 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7271 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7272 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7273 (Buffer-menu-execute, Buffer-menu-select)
7274 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7275 (Buffer-menu-bury): Use Tabulated List machinery.
7276 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7277 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7278 Delete.
e5f9458f
CY
7279 (list-buffers--refresh): New function.
7280 (list-buffers-noselect): Use it.
7281 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7282 (Buffer-menu--pretty-file-name): New helper functions.
7283
7284 * loadup.el: Preload tabulated-list.
7285
7286 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7287 tabulated-list-sort-column.
7288 (tabulated-list-init-header): Add the initial aligning space even
7289 if tabulated-list-padding is zero.
7290
e129292c
CS
72912012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7292
7293 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7294 whose cdr is not a cons cell correctly (bug#11038).
7295
6632d361
CY
72962012-05-06 Chong Yidong <cyd@gnu.org>
7297
e129292c
CS
7298 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7299 Accept additional plist in column descriptors.
6632d361
CY
7300 (tabulated-list-init-header): Obey it.
7301 (tabulated-list-get-entry): New function.
7302 (tabulated-list-put-tag): Use it. Use string-width instead of
7303 length.
7304 (tabulated-list--column-number): New function.
7305 (tabulated-list-print): Use it.
e129292c
CS
7306 (tabulated-list-print-col): New function.
7307 Set `tabulated-list-column-name' property on each column's text.
6632d361 7308 (tabulated-list-print-entry): Use it.
e129292c
CS
7309 (tabulated-list-delete-entry, tabulated-list-set-col):
7310 New functions.
6632d361
CY
7311 (tabulated-list-sort-column): New command (Bug#11337).
7312
3cc99f68
CY
7313 * buff-menu.el (list-buffers): Move C-x C-b binding from
7314 buff-menu.el to bindings.el.
7315
7316 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7317 :advertised-binding feature.
7318
52b61776
TN
73192012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7320
7321 * progmodes/compile.el (compilation-internal-error-properties):
7322 Calculate start position correctly when end-col is set but
7323 end-line is not (Bug#11382).
7324
ebfe2597
WJ
73252012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7326
7327 * man.el (Man-unindent): Use text-property-default-nonsticky to
7328 prevent untabify from inheriting face properties (Bug#11408).
7329
6d3f7c2f
SM
73302012-05-05 Stefan Merten <smerten@oekonux.de>
7331
7332 * textmodes/rst.el: Major merge with upstream development up to
7333 Docutils SVN r7399 / rst.el V1.2.1.
7334
7335 Clarify maintainership and authors.
7336
7337 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7338 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7339 (rst-official-version, rst-official-cvs-rev, rst-version)
7340 (rst-package-emacs-version-alist): New functions and variables
7341 for version information.
7342
7343 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7344 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7345 (rst-mode-syntax-table, rst-mode): New and corrected functions
7346 and variables representing reStructuredText features.
7347
7348 (rst-re): New function for reStructuredText regexes. Use in
7349 many places.
7350
7351 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7352 (rst-mode-map): Rebind keys.
7353
7354 (rst-mode-lazy, rst-font-lock-keywords)
7355 (rst-font-lock-extend-region)
7356 (rst-font-lock-extend-region-internal)
7357 (rst-font-lock-extend-region-extend)
7358 (rst-font-lock-find-unindented-line-limit)
7359 (rst-font-lock-find-unindented-line-match)
7360 (rst-adornment-level, rst-font-lock-adornment-level)
7361 (rst-font-lock-adornment-match)
7362 (rst-font-lock-handle-adornment-pre-match-form)
7363 (rst-font-lock-handle-adornment-matcher): Major revision of
7364 font-locking. Integrate with other code. Use `jit-lock-mode'.
7365
7366 (rst-preferred-adornments, rst-adjust-hook)
7367 (rst-new-adornment-down, rst-preferred-bullets)
7368 (rst-preferred-bullets, rst-indent, rst-indent-width)
7369 (rst-indent-field, rst-indent-literal-normal)
7370 (rst-indent-literal-minimized, rst-indent-comment): Change,
7371 extend and improve customization.
7372
7373 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7374 (rst-normalize-cursor-position, rst-get-decoration)
7375 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7376 (rst-rstrip, rst-toc-insert-find-delete-contents)
7377 (rst-shift-fill-region, rst-compute-bullet-tabs)
7378 (rst-debug-print-tabs, rst-debug-mark-found)
7379 (rst-shift-region-guts, rst-shift-region-right)
7380 (rst-shift-region-left, rst-use-char-classes)
7381 (rst-font-lock-keywords-function)
7382 (rst-font-lock-indentation-point)
7383 (rst-font-lock-find-unindented-line-begin)
7384 (rst-font-lock-find-unindented-line-end)
7385 (rst-font-lock-find-unindented-line)
7386 (rst-font-lock-adornment-point, rst-font-lock-level)
7387 (rst-adornment-level-alist): Remove functions and variables.
7388
7389 (rst-compare-adornments, rst-get-adornment-match)
7390 (rst-suggest-new-adornment, rst-get-adornments-around)
7391 (rst-adornment-complete-p, rst-get-next-adornment)
7392 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7393 (rst-straighten-adornments): Standardize function names to
7394 use "adornment" instead of "decoration". Correct callers.
7395 Similar standardizing in many places.
7396
7397 (rst-update-section, rst-adjust, rst-promote-region)
7398 (rst-enumerate-region, rst-bullet-list-region)
7399 (rst-repeat-last-character): Correct use of `interactive'.
7400
7401 (rst-classify-adornment, rst-find-all-adornments)
7402 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7403 (rst-find-leftmost-column, rst-repeat-last-character):
7404 Refactor functions.
7405
7406 (rst-find-title-line, rst-reset-section-caches)
7407 (rst-get-adornments-around, rst-adjust-adornment-work)
7408 (rst-arabic-to-roman, rst-roman-to-arabic)
7409 (rst-insert-list-pos, rst-insert-list-new-item)
7410 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7411 New functions.
7412
7413 (rst-all-sections, rst-section-hierarchy)
7414 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7415 New variables.
7416
7417 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7418 configuration instead of only buffer. Change where necessary.
7419
7420 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7421 (rst-shift-region, rst-adaptive-fill): New functions for
7422 indentation and filling.
7423
7424 (rst-comment-line-break, rst-comment-indent)
7425 (rst-comment-insert-comment, rst-comment-region)
7426 (rst-uncomment-region): New functions for handling comments.
7427
7428 (rst-compile): Quote shell arguments.
7429
7430 (rst-compile-pdf-preview, rst-compile-slides-preview):
7431 Delete temporary files after use.
7432
a43f98b3
GM
74332012-05-05 Glenn Morris <rgm@gnu.org>
7434
48176e8b
GM
7435 * calendar/cal-html.el: Optionally include holidays in the output.
7436 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7437 (cal-html-holidays): New option.
7438 (cal-html-css-default): Add holiday entry.
7439 (holiday-in-range): Autoload it.
7440 (cal-html-htmlify-entry): Add optional class argument.
7441 (cal-html-htmlify-list): Add optional holidays argument.
7442 (cal-html-insert-agenda-days): Include holidays in the output.
7443 (cal-html-one-month): Maybe include holidays.
7444
a43f98b3
GM
7445 * calendar/holidays.el (holiday-in-range):
7446 Move here from cal-tex-list-holidays.
7447 * calendar/cal-tex.el (cal-tex-list-holidays):
7448 Make it an obsolete alias for holiday-in-range. Update all callers.
7449
fef9d149 74502012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7451
7452 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7453 Nextstep.
7454
248da2f4
RW
74552012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7456
7457 * files.el (file-auto-mode-skip): New var.
7458 (set-auto-mode-1): Use it.
7459
f95e9344
SM
74602012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7461
df96ab1e
SM
7462 * repeat.el: Use lexical-binding.
7463 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7464 (repeat-undo-count): Remove.
7465 (repeat):
7466 * progmodes/octave-mod.el (octave-abbrev-start):
7467 * progmodes/f90.el (f90-abbrev-start):
7468 * face-remap.el (text-scale-adjust):
7469 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7470
5342bb06
SM
7471 * emacs-lisp/pcase.el (pcase--let*): New function.
7472 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7473 a bit more.
7474 (pcase--split-pred): Be more clever about ruling out overlap between
7475 a predicate and some constant pattern.
7476 (pcase--q1): Use `null' instead of (eq foo nil).
7477
f95e9344
SM
7478 * subr.el (setq-local, defvar-local): New macros.
7479 (kbd): Redefine as an alias.
7480 (with-selected-window): Leave unrelated frames alone.
7481 (set-temporary-overlay-map): New function.
7482
71873e2b
SM
74832012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * subr.el (user-error): New function.
7486 * window.el (switch-to-buffer):
7487 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7488 (smerge-match-conflict):
7489 * simple.el (previous-matching-history-element)
7490 (next-matching-history-element, goto-history-element, undo-more)
7491 (undo-start):
7492 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7493 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7494 (next-file, tags-loop-scan, list-tags, complete-tag):
7495 * progmodes/compile.el (compilation-loop):
7496 * mouse.el (mouse-minibuffer-check):
7497 * man.el (Man-bgproc-sentinel, Man-goto-page):
7498 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7499 (Info-history-forward, Info-follow-reference, Info-menu)
7500 (Info-extract-menu-item, Info-extract-menu-counting)
7501 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7502 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7503 (Info-next-reference, Info-prev-reference, Info-index)
7504 (Info-index-next, Info-follow-nearest-node)
7505 (Info-copy-current-node-name):
7506 * imenu.el (imenu--make-index-alist)
7507 (imenu-default-create-index-function, imenu-add-to-menubar):
7508 * files.el (basic-save-buffer, recover-file):
7509 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7510 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7511 (checkdoc-message-text, checkdoc-defun):
7512 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7513 * cus-edit.el (customize-changed-options, customize-rogue)
7514 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7515 (custom-variable-mark-to-reset-standard)
7516 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7517 (custom-file):
7518 * completion.el (check-completion-length):
7519 * comint.el (comint-search-arg)
7520 (comint-previous-matching-input-string-position)
7521 (comint-previous-matching-input)
7522 (comint-replace-by-expanded-history-before-point, comint-send-input)
7523 (comint-copy-old-input, comint-backward-matching-input)
7524 (comint-goto-process-mark, comint-set-process-mark):
7525 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7526 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7527
8a61ee22
SM
75282012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7529
66408d1e
SM
7530 * dabbrev.el (dabbrev--ignore-case-p): New function.
7531 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7532 Use it.
7533
8a61ee22
SM
7534 * files.el (automount-dir-prefix): Mark as obsolete.
7535
3c74813a
GM
75362012-05-04 Glenn Morris <rgm@gnu.org>
7537
7538 * patcomp.el, play/bruce.el: Move to obsolete/.
7539
0bfcf5c5
PE
75402012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7541
7542 Fix minor Y10k bugs.
7543 * arc-mode.el (archive-unixdate):
7544 * autoinsert.el (auto-insert-alist):
7545 * calc/calc-forms.el (math-this-year):
7546 * emacs-lisp/copyright.el (copyright-current-year)
7547 (copyright-update-year, copyright):
7548 * tar-mode.el (tar-clip-time-string):
7549 * time.el (display-time-update):
7550 Don't assume years have 4 digits.
7551
78f3273a
CY
75522012-05-04 Chong Yidong <cyd@gnu.org>
7553
7554 * dos-w32.el (file-name-buffer-file-type-alist)
7555 (direct-print-region-use-command-dot-com):
7556 * ffap.el (ffap-menu-regexp):
7557 * find-file.el (ff-special-constructs):
7558 * follow.el (follow-debug):
7559 * forms.el (forms--debug):
7560 * iswitchb.el (iswitchb-all-frames):
7561 * ido.el (ido-all-frames):
7562 * emacs-lisp/timer.el (timer-max-repeats):
7563 * mail/feedmail.el (feedmail-mail-send-hook)
7564 (feedmail-mail-send-hook-queued):
7565 * mail/footnote.el (footnote-signature-separator):
7566 * mail/mailabbrev.el (mail-alias-separator-string)
7567 (mail-abbrev-mode-regexp):
7568 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7569 * progmodes/idlwave.el (idlwave-libinfo-file)
7570 (idlwave-default-completion-case-is-down)
7571 (idlwave-library-routines): Convert defvars to defcustoms.
7572
7573 * mail/rmail.el (rmail-decode-mime-charset):
7574 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7575 (idlwave-shell-fix-inserted-breaks)
7576 (idlwave-shell-activate-alt-keybindings)
7577 (idlwave-shell-use-breakpoint-glyph):
7578 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7579
f7ae6719
SM
75802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7583
47086495
WS
75842012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7585
7586 * progmodes/verilog-mode.el (font-lock-keywords):
7587 Fix mis-highligting auto. Reported by Craig Barner.
7588 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7589 defines from global name space. Reported by Dan Dever.
47086495
WS
7590 (verilog-auto-reset, verilog-auto-reset-widths)
7591 (verilog-auto-tieoff): Support using unbased numbers for
7592 AUTORESET and AUTOTIEOFF.
7593 (verilog-submit-bug-report): Update variable list.
7594 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7595 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7596 (verilog-auto-template-lint): Fix hash error when linting modules
7597 with no used templates.
7598 (verilog-warn, verilog-warn-error)
7599 (verilog-warn-fatal): When non-interactive report multiple
7600 warnings before exiting. Suggested by Brad Dobbie.
7601 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7602 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7603 to report unused template errors. Reported by Brad Dobbie.
7604 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7605 nets, bug438. Reported by Vns Blore.
47086495
WS
7606 (verilog-auto-inout-module, verilog-auto-reg)
7607 (verilog-read-decls, verilog-read-sub-decls-sig)
7608 (verilog-signals-edit-wire-reg, verilog-signals-with):
7609 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7610 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7611 "reg" for backwards compatibility presuming Verilog 2001.
7612 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7613 (verilog-preprocess): Fix replication of preprocess output.
7614 Reported by Brad Dobbie.
7615 (verilog-auto-inst-interfaced-ports):
7616 Create verilog-auto-inst-interfaced-ports, bug429.
7617 Reported by Julian Gorfajn.
7618 (verilog-after-save-font-hook)
7619 (verilog-before-save-font-hook): New variable.
7620 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7621 (verilog-save-font-mods): Wrap disabling fontification, reported
7622 by David Rogoff.
7623 (verilog-do-indent, verilog-pretty-declarations-auto)
7624 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7625 Reported by Pierre-David Pfister.
7626 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7627 of class declarations, bug292. Reported by Kevin Heilman.
7628 (verilog-read-decls): Fix 'parameter type' not appearing in
7629 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7630 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7631 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7632 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7633 Reported by David Kravitz.
7634
76352012-05-03 Michael McNamara <mac@mail.brushroad.com>
7636
7637 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7638 assignment with tests in ifs and for loops.
7639 (verilog-extended-complete-re, verilog-complete-reg): Change so
7640 that DPI inport functions don't look like fuction declarations.
7641 (verilog-pretty-expr): Don't line up assignment
7642 operations to the test and increment in if and for loops
7643 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7644 that DPI inport functions don't look like fuction declarations.
47086495 7645
2e51d4b5
KH
76462012-05-03 Kenichi Handa <handa@m17n.org>
7647
7648 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7649 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7650 (Bug#11282).
7651
2bd785a2
SM
76522012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * emacs-lisp/bytecomp.el
7655 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7656 since cconv.el might have introduced :fun-body, internal-make-closure,
7657 and friends for bytecomp to handle (bug#11391).
7658 * custom.el (defcustom): Avoid ((λ ..) ..).
7659
99d27583
SM
76602012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7663
55a71479
JB
76642012-05-02 Juanma Barranquero <lekktu@gmail.com>
7665
7666 * notifications.el (dbus-debug):
7667 * term/linux.el (gpm-mouse-enable):
7668 * term/screen.el (xterm-register-default-colors): Declare.
7669
7b97c764
CY
76702012-05-02 Chong Yidong <cyd@gnu.org>
7671
2bc356d7
CY
7672 * cus-start.el (gc-cons-percentage, exec-suffixes)
7673 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7674 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7675 (make-cursor-line-fully-visible, void-text-area-pointer)
7676 (font-list-limit): Add customization data.
7677
7b97c764
CY
7678 * allout.el (allout-exposure-change-functions)
7679 (allout-structure-added-functions)
7680 (allout-structure-deleted-functions)
7681 (allout-structure-shifted-functions): Rename abnormal hooks from
7682 *-hook, and convert to defcustoms.
5d3385a0
JB
7683 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7684 Convert to defcustoms.
7b97c764
CY
7685 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7686
7687 * allout-widgets.el: Hook callers changed.
7688
90207a15 76892012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7690
7691 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7692 the yanked message in preference to the default value of
7693 buffer-file-coding-system.
7694
90207a15 76952012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7696
5d3385a0
JB
7697 * window.el (display-buffer--action-function-custom-type):
7698 Fix entry.
d9558cad 7699
90207a15 77002012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7701
7702 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7703
d80ac57b
GM
77042012-05-01 Glenn Morris <rgm@gnu.org>
7705
976f7668
GM
7706 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7707
beb83b5a
GM
7708 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7709
d80ac57b
GM
7710 * cus-edit.el (custom-variable-documentation): Simplify with format.
7711
b593d6a9 77122012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7713 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7714
7715 * simple.el (suggest-key-bindings, execute-extended-command):
7716 Move from keyboard.c.
7717
782fbf2a
CY
77182012-05-01 Chong Yidong <cyd@gnu.org>
7719
7720 * follow.el: Eliminate advice.
7721 (set-process-filter, process-filter, sit-for): Advice deleted.
7722 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7723 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7724 Vars deleted.
782fbf2a
CY
7725 (follow-auto): Use a :set function.
7726 (follow-mode): Rewritten. Don't advise process filters.
7727 (follow-switch-to-current-buffer-all, follow-scroll-up)
7728 (follow-scroll-down): Assume follow-mode is bound.
7729 (follow-comint-scroll-to-bottom)
7730 (follow-align-compilation-windows): New functions.
7731 (follow--window-sorter): New function.
7732 (follow-all-followers): Use it to explicitly sort windows by their
7733 positions; don't make assumptions about next-window order.
7734 (follow-windows-start-end, follow-delete-other-windows-and-split)
7735 (follow-calc-win-start): Doc fix.
7736 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7737 vertical-motion unnecessarily.
7738 (follow-adjust-window): New function.
7739 (follow-post-command-hook): Use it.
7740 (follow-call-set-process-filter, follow-call-process-filter)
7741 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7742 (follow-stop-intercept-process-output, follow-generic-filter):
7743 Functions deleted.
7744 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7745 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7746 New functions, replacing advice on scroll-bar-* commands.
87233a14 7747 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7748
7749 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7750 (comint-postoutput-scroll-to-bottom): Use it.
7751 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7752
290af740
GM
77532012-05-01 Glenn Morris <rgm@gnu.org>
7754
7755 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7756 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7757 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7758 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7759 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7760 Remove no-byte-compile setting.
7761
6eac8dc9
SM
77622012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7765 all-completions code to not return a number in the last cdr.
7766
9cc7819c
LL
77672012-04-30 Leo Liu <sdl.web@gmail.com>
7768
7769 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7770 read-only error.
7771
c93b886f
CY
77722012-04-29 Chong Yidong <cyd@gnu.org>
7773
7774 * follow.el (follow-calc-win-end): Rewrite to handle partial
7775 screen lines correctly (Bug#8390).
7776 (follow-avoid-tail-recenter): Minor cleanup.
7777
8b6c19f4
SM
77782012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 Avoid the obsolete `assoc' package.
7781 * speedbar.el (speedbar-refresh): Avoid adelete.
7782 (speedbar-file-lists): Simplify and avoid aput.
7783 * man.el (Man--sections, Man--refpages): New vars, replacing
7784 Man-sections-alist and Man-refpages-alist.
7785 (Man-build-section-alist, Man-build-references-alist):
7786 Use them; avoid aput.
7787 (Man--last-section, Man--last-refpage): New vars.
7788 (Man-follow-manual-reference): Use them.
7789 Use the `default' arg of completing-read.
7790 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7791
c5bb7569
CY
77922012-04-27 Chong Yidong <cyd@gnu.org>
7793
d1d2e2e8
CY
7794 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7795
15cd8efd
CY
7796 * startup.el (x-apply-session-resources): New function.
7797
7798 * term/ns-win.el (ns-initialize-window-system):
7799 * term/w32-win.el (w32-initialize-window-system):
7800 * term/x-win.el (x-initialize-window-system): Use it to properly
7801 set menu-bar-mode and other vars from X resources, even if the
7802 initial frame is not a window-system frame (Bug#2299).
7803
c5bb7569
CY
7804 * subr.el (read-key): Avoid running filter function when setting
7805 up temporary tool bar entries (Bug#9922).
7806
a8e7d6d7 78072012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7808
7809 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7810 (Bug#11344)
7811
a8e7d6d7 78122012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7813
7814 * select.el (xselect--encode-string): New function, split from
7815 xselect-convert-to-string.
7816 (xselect-convert-to-string): Use it.
7817 (xselect-convert-to-filename, xselect-convert-to-os)
7818 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7819 returned strings are properly encoded (Bug#11315).
7820
a8e7d6d7 78212012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7822
7823 * simple.el (delete-active-region): Move to killing custom group.
7824
a8e7d6d7 78252012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7826
7827 * progmodes/which-func.el (which-func-current): Quote %
7828 characters for mode-line processing.
7829
578c1d4b 78302012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7831
7832 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7833 reaching eob (Bug#11286).
7834
a8e7d6d7 78352012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7836
7837 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7838 (gdb): Make it buffer-local and init to zero.
7839 (gdb-control-commands-regexp): New variable.
7840 (gdb-send): Don't wrap in "-interpreter-exec console" if
7841 gdb-control-level is positive. Increment gdb-control-level
7842 whenever the command matches gdb-control-commands-regexp, and
7843 decrement it each time the command is "end". (Bug#11279)
7844
a8e7d6d7 78452012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7846
7847 * window.el (adjust-window-trailing-edge, enlarge-window)
7848 (shrink-window, window-resize):
7849 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7850 windows (Bug#11276).
7851
b3608390
CY
78522012-04-27 Chong Yidong <cyd@gnu.org>
7853
7854 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7855 fix "missing prefix" warning. All callers changed.
b3608390 7856
797e6e88
SM
78572012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * emacs-lisp/assoc.el: Move to obsolete/.
7860
e95a67dc
SM
78612012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7862
657c21e4 7863 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7864
7865 * term/ns-win.el (ns-define-service):
7866 * progmodes/pascal.el (pascal-goto-defun):
7867 * progmodes/js.el (js--read-tab):
7868 * progmodes/etags.el (tags-lazy-completion-table):
7869 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7870 * emacs-lisp/ewoc.el (ewoc--wrap):
7871 * emacs-lisp/assoc.el (aput, adelete, amake):
7872 * doc-view.el (doc-view-convert-current-doc):
7873 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7874
cb3e7ae0
CY
78752012-04-26 Chong Yidong <cyd@gnu.org>
7876
dce04f7f
CY
7877 * image.el (image-type-from-buffer): Only return supported image
7878 type (Bug#9045).
7879
cb3e7ae0
CY
7880 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7881 value, for symmetry with diff-end-of-hunk.
7882 (diff-split-hunk, diff-find-source-location)
7883 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7884 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7885 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7886 compute the relevant hunk or file properly (Bug#6005).
7887 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7888
0d42eb3e
SM
78892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * vc/vc-mtn.el:
7892 * vc/vc-hg.el:
7893 * vc/vc-git.el:
7894 * vc/vc-dir.el:
7895 * vc/vc-cvs.el:
7896 * vc/vc-bzr.el:
7897 * vc/vc-arch.el:
7898 * vc/vc.el: Replace lexical-let by lexical-binding.
7899 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7900 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7901 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7902
f08ae1c9
CY
79032012-04-26 Chong Yidong <cyd@gnu.org>
7904
8b71081d
CY
7905 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7906 (diff-mode-shared-map): Bind it to / and [remap undo].
7907
f08ae1c9
CY
7908 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7909 (ediff-window-setup-function): Use it as the default, to set up
7910 windows based on whether the current frame is graphical (Bug#2138).
7911 (ediff-choose-window-setup-function-automatically): Make obsolete.
7912
7913 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7914
ef24141c
SM
79152012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7916
cc356a5d
SM
7917 * ffap.el: Remove old code for obsolete package.
7918 (ffap-complete-as-file-p): Remove.
7919
b4ff4f1f
SM
7920 Use completion-table-with-quoting for comint and pcomplete.
7921 * comint.el (comint--unquote&requote-argument)
7922 (comint--unquote-argument, comint--requote-argument): New functions.
7923 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7924 (comint-quote-filename): Use regexp-opt-charset.
7925 (comint--common-suffix, comint--common-quoted-suffix)
7926 (comint--table-subvert): Remove.
7927 (comint-unquote-function, comint-requote-function): New vars.
7928 (comint--complete-file-name-data): Use them with
7929 completion-table-with-quoting.
7930 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7931 * pcomplete.el (pcomplete-arg-quote-list)
7932 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7933 (pcomplete-unquote-argument-function): Default to non-nil.
7934 (pcomplete-unquote-argument): Simplify.
7935 (pcomplete--common-quoted-suffix): Remove.
7936 (pcomplete-requote-argument-function): New var.
7937 (pcomplete--common-suffix): New function.
7938 (pcomplete-completions-at-point): Use completion-table-with-quoting
7939 and completion-table-subvert.
7940
79c4eeb4
SM
7941 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7942 (minibuffer--double-dollars): Preserve properties.
7943 (completion--sifn-requote): New function.
7944 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7945
ef24141c
SM
7946 * minibuffer.el: Add support for completion of quoted/escaped data.
7947 (completion-table-with-quoting, completion-table-subvert): New funs.
7948 (completion--twq-try, completion--twq-all): New functions.
7949 (completion--nth-completion): New function.
7950 (completion-try-completion, completion-all-completions): Use it.
7951
784e7d6e
LL
79522012-04-25 Leo Liu <sdl.web@gmail.com>
7953
dd2ac746
SM
7954 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7955 Use compilation-message if available to find real filename.
784e7d6e 7956
07875ee7
CY
79572012-04-25 Chong Yidong <cyd@gnu.org>
7958
7959 * vc/diff-mode.el (diff-setup-whitespace): New function.
7960 (diff-mode): Use it.
7961
7962 * vc/diff.el (diff-sentinel):
7963 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7964 Whitespace mode variables based on diff style (Bug#8612).
7965
5055880d
LL
79662012-04-25 Leo Liu <sdl.web@gmail.com>
7967
daf75653
LL
7968 * progmodes/python.el (python-send-region): Add suffix .py to the
7969 temp file.
7970
5055880d
LL
7971 * files.el (auto-mode-alist): Use javascript-mode instead.
7972
db9b177b
AH
79732012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7974
ef24141c 7975 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7976
090bd7cb 7977 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7978 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7979 references, see Bug#9.
ef24141c 7980 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7981 when receiving a fault reply.
ef24141c 7982 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7983
090bd7cb 7984 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7985 (soap-inspect-simple-type): New function.
db9b177b 7986
090bd7cb 7987 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7988 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7989 (soap-decode-basic-type, soap-encode-basic-type):
7990 support unsignedInt and double basic types.
db9b177b 7991 (soap-resolve-references-for-simple-type)
ef24141c
SM
7992 (soap-parse-simple-type, soap-encode-simple-type): New function.
7993 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7994
090bd7cb 7995 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7996 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7997 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7998 the local name of "soapenc:Array".
7999 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8000 decoding integer, byte and anyURI xsd types.
8001
1fc6097b
CY
80022012-04-25 Chong Yidong <cyd@gnu.org>
8003
8004 * cus-edit.el (custom-buffer-create-internal): Update header text.
8005
afc6df87
EZ
80062012-04-25 Eli Zaretskii <eliz@gnu.org>
8007
8008 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8009 settings on 'system-type', not on 'window-system'. On MS-Windows,
8010 set interactive-mode on in GDB.
8011
dfbd787f
SM
80122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8015 (ruby-syntax-propertize-regexp): Remove.
8016 (ruby-syntax-propertize-function): Split regexp into chunks.
8017 Match following code directly.
8018
85222d44
DG
80192012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8020
51a8ea2a
DG
8021 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8022 (ruby-syntax-propertize-regexp): New function.
8023 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8024 by a special keyword.
8025
85222d44
DG
8026 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8027 (ruby-syntax-general-delimiters-goto-beg)
8028 (ruby-syntax-propertize-general-delimiters): New functions.
8029 (ruby-syntax-propertize-function): Use them to handle GDL.
8030 (ruby-font-lock-keywords): Move old handling of GDL...
8031 (ruby-font-lock-syntactic-keywords): .. to here.
8032 (ruby-calculate-indent): Adjust indentation for GDL.
8033
b613912b
MA
80342012-04-24 Michael Albinus <michael.albinus@gmx.de>
8035
b5380639
MA
8036 * notifications.el (top): Remove unneeded declarations.
8037 (notifications-specification-version): Change to "1.2".
e43042fe 8038 (notifications-interface, notifications-notify-method)
b613912b
MA
8039 (notifications-close-notification-method): Fix docstring.
8040 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8041 (notifications-notify): Add :action-items, :resident and
8042 :transient hints. Change "image_data" to "image-data" and
8043 "image_path" to "image-path".
b613912b
MA
8044 (notifications-get-capabilities): New defun.
8045
257440aa
LL
80462012-04-24 Leo Liu <sdl.web@gmail.com>
8047
8048 * progmodes/python.el: Move hideshow setup to the end.
8049
b1bac16e
MR
80502012-04-24 Martin Rudalics <rudalics@gmx.at>
8051
8052 * window.el (handle-select-window): Clear echo area since this is
8053 no more done by read_char (Bug#11304).
8054
d81bd059
SM
80552012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8058 and `/ M' to filter-derived-mode.
8059 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8060 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8061 (ibuffer-mark-by-mode): Use default rather than initial-input.
8062 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8063
c4cf6d91
IA
80642012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8065
8066 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8067 (ibuffer-filter-by-derived-mode): New filter.
8068 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8069
7511ded8
CY
80702012-04-23 Andreas Politz <politza@fh-trier.de>
8071
8072 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8073
775c916b
CY
80742012-04-23 Chong Yidong <cyd@gnu.org>
8075
8076 * cus-edit.el (customize-apropos, customize-apropos-options):
8077 Disable matching of non-option variables (Bug#11176).
8078 (customize-option, customize-option-other-window)
8079 (customize-changed-options): Doc fix.
8080 (customize-apropos-options, customize-apropos-faces)
8081 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8082
8083 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8084 Fix word list splitting (Bug#11132).
46c71e23
CY
8085 (apropos-symbol, apropos-keybinding, apropos-label)
8086 (apropos-property, apropos-function-button)
8087 (apropos-variable-button, apropos-misc-button): New faces.
8088 (apropos-symbol-face, apropos-keybinding-face)
8089 (apropos-label-face, apropos-property-face, apropos-match-face):
8090 Variables removed (Bug#8396).
8091 (apropos-library-button, apropos-format-plist, apropos-print)
8092 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8093
2df41f9c
MA
80942012-04-23 Michael Albinus <michael.albinus@gmx.de>
8095
8096 * net/xesam.el (xesam-mode-map): Use let-bound map in
8097 initialization. (Bug#11292)
8098
da00640a
AM
80992012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8100
8101 Preserve ispell session localwords when switching back to
8102 original buffer.
8103
090bd7cb
JB
8104 * textmodes/ispell.el (ispell-buffer-session-localwords):
8105 New buffer-local variable to hold buffer session localwords.
ed9265fc 8106 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8107 localwords.
8108 (ispell-command-loop, ispell-change-dictionary)
8109 (ispell-buffer-local-words): Preserve session localwords when
8110 needed.
8111
090bd7cb
JB
8112 * textmodes/flyspell.el (flyspell-process-localwords)
8113 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8114
f621ccf5
AM
81152012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8116
090bd7cb
JB
8117 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8118 using obsolete `translation-table-for-input'.
ef24141c
SM
8119 (ispell-word, ispell-process-line, ispell-complete-word):
8120 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8121
c2d1019e
CY
81222012-04-22 Chong Yidong <cyd@gnu.org>
8123
8124 * cus-edit.el (custom-variable-menu)
8125 (custom-variable-reset-saved, custom-face-menu)
8126 (custom-face-reset-saved): If there is no saved value, make the
8127 "reset-saved" operation bring back the default (Bug#9509).
8128 (custom-face-state): Properly detect themed faces.
8129
eeddc531
CY
8130 * faces.el (face-spec-set): Stop supporting deprecated form of
8131 third arg.
8132
dcbf5805
MA
81332012-04-22 Michael Albinus <michael.albinus@gmx.de>
8134
8135 Move functions from C to Lisp. Make non-blocking method calls
8136 the default. Implement further D-Bus standard interfaces.
8137
ef24141c
SM
8138 * net/dbus.el (dbus-message-internal): Declare function.
8139 Remove unneeded function declarations.
dcbf5805
MA
8140 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8141 (dbus-message-type-method-return, dbus-message-type-error)
8142 (dbus-message-type-signal): Declare variables. Remove local
8143 definitions.
8144 (dbus-interface-dbus, dbus-interface-peer)
8145 (dbus-interface-introspectable, dbus-interface-properties)
8146 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8147 Adapt docstring.
8148 (dbus-interface-objectmanager): New defconst.
8149 (dbus-call-method, dbus-call-method-asynchronously)
8150 (dbus-send-signal, dbus-method-return-internal)
8151 (dbus-method-error-internal, dbus-register-service)
8152 (dbus-register-signal, dbus-register-method): New defuns, moved
8153 from dbusbind.c
8154 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8155 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8156 New defuns.
dcbf5805
MA
8157 (dbus-call-method-non-blocking): Make it an obsolete function.
8158 (dbus-unregister-object, dbus-unregister-service)
8159 (dbus-handle-event, dbus-register-property)
8160 (dbus-property-handler): Obey the new structure of
8161 `bus-registered-objects'.
8162 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8163 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8164 Use `dbus-call-method'.
8165
cf20dee0
CY
81662012-04-22 Chong Yidong <cyd@gnu.org>
8167
8168 * cus-edit.el (custom-commands, custom-reset-menu)
8169 (Custom-reset-standard): Tweak labels.
8170 (custom-reset-button-menu): Change default to t.
8171 (custom-buffer-create-internal): For the custom-reset-button-menu
8172 case, put the revert button first.
8173 (custom-group-subtitle): New face.
8174 (custom-group-value-create): Align docstring to a specific column.
8175
8176 * wid-edit.el (widget-documentation-link-add): Don't handle
8177 indentation in this function.
8178 (widget-documentation-string-indent-to): New function.
8179 (widget-documentation-string-value-create): Use it.
8180
8181 * autorevert.el (auto-revert):
8182 * epg-config.el (epg):
8183 * ibuffer.el (ibuffer):
8184 * mpc.el (mpc):
8185 * ses.el (ses):
8186 * eshell/eshell.el (eshell):
8187 * net/ange-ftp.el (ange-ftp):
8188 * progmodes/ebnf2ps.el (postscript):
8189 * progmodes/flymake.el (flymake):
8190 * progmodes/prolog.el (prolog):
8191 * progmodes/verilog-mode.el (verilog-mode):
8192 * progmodes/which-func.el (which-func):
8193 * term/xterm.el (xterm):
8194 * textmodes/picture.el (picture):
8195 * textmodes/tildify.el (tildify):
8196 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8197 customization buffers.
8198
583e23bd
AM
81992012-04-22 Alan Mackenzie <acm@muc.de>
8200
8201 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8202 Adding a ) can hide the resulting (..) from searches. Fix it.
8203 Bound the backward search to the position of the existing (.
8204
7dd51bf1
JB
82052012-04-21 Juanma Barranquero <lekktu@gmail.com>
8206
8207 * progmodes/verilog-mode.el (verilog-mode): Check whether
8208 which-func-modes is t before adding verilog-mode.
8209 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8210
d64a438f
LL
82112012-04-21 Leo Liu <sdl.web@gmail.com>
8212
7dd51bf1 8213 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8214
081e8d65
MV
82152012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8216
8217 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8218 filling of the last column of a table (Bug#5635).
8219 (woman-find-next-control-line): New arg, specifying an additional
8220 regexp component for the control line.
8221 (woman2-roff-buffer): Use it.
8222 (woman-break-table): New function.
8223 (woman2-TS): Use it.
8224
82252012-04-21 Chong Yidong <cyd@gnu.org>
8226
8227 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8228 (woman-horizontal-escapes, woman-negative-vertical-space)
8229 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8230 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8231
ed571ccb
SM
82322012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * minibuffer.el (completion-file-name-table): Complete user names.
8235
39773899
LL
82362012-04-20 Leo Liu <sdl.web@gmail.com>
8237
8238 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8239 and pcase-let*.
8240
de6ff46d
CY
82412012-04-20 Chong Yidong <cyd@gnu.org>
8242
8243 * server.el (server-execute): Respect initial-buffer-choice if it
8244 is a string and there are no files to open (Bug#2825).
8245 (server-create-window-system-frame, server-create-tty-frame):
8246 Don't switch buffers here.
2d0e8e61
CY
8247 (server-process-filter): Only try to open a window system frame if
8248 compiled with graphical support (Bug#8314).
de6ff46d 8249
54071013
DN
82502012-04-20 Dan Nicolaescu <dann@gnu.org>
8251
8252 * battery.el (battery-echo-area-format): Display remaining time
8253 for sysfs backend too (Bug#11269).
8254 (battery-linux-sysfs): Fix conditional for the charge.
8255
f30d612a
CY
82562012-04-20 Chong Yidong <cyd@gnu.org>
8257
c07a4c0b 8258 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8259 (gdb-inferior-io--init-proc): New function.
8260 (gdb-init-1): Use it.
8261 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8262 responsible for allocating a new pty and hooking it to gdb when
8263 the old pty gets an EIO due to process exit.
8264 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8265 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8266 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8267
2116e93c
EZ
82682012-04-20 Eli Zaretskii <eliz@gnu.org>
8269
8270 * window.el (window-min-size, window-sizable, window-min-delta)
8271 (window-max-delta, window--resizable, window-resizable)
8272 (window-total-size, window-full-height-p, window-full-width-p)
8273 (window-in-direction, window--resize-mini-window, window-resize)
8274 (window--resize-child-windows-normal)
8275 (window--resize-child-windows, window--resize-siblings)
8276 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8277 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8278
c07a4c0b 82792012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8280
ef24141c
SM
8281 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8282 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8283 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8284 pty process (Bug#11273).
8285 (gdb-update): New arg to suppress talking to the gdb process.
8286 (gdb-done-or-error): Use it.
8287 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8288 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8289 sentinel not being called.
8290
8291 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8292
d02766ab
CY
8293 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8294
c07a4c0b 82952012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8296
8297 * net/network-stream.el (open-network-stream): Doc fix.
8298
c07a4c0b 82992012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8300
8301 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8302
c07a4c0b 83032012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8304
8305 Ensure searching for keywords is case sensitive.
8306
8307 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8308 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8309 (c-defun-name, c-mark-function, c-cpp-define-name)
8310 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8311 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8312
ef24141c
SM
8313 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8314 Bind case-fold-search to nil.
f0f6bc35 8315
c07a4c0b 83162012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8317
8318 * mail/sendmail.el (mail-bury): Call return action with the right
8319 Rmail buffer (Bug#11242).
8320
9a864fa2
CY
8321 * server.el (server-process-filter): Handle corner case where both
8322 tty and nowait options are present (Bug#11102).
8323
539aa513
EZ
83242012-04-20 Eli Zaretskii <eliz@gnu.org>
8325
8326 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8327 (top level): Put into the executable the ident-style '$Id:' tag on
8328 windows-nt as well.
539aa513 8329
cfc7d5da
SM
83302012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * electric.el (electric-indent-post-self-insert-function): Check that
8333 electric-indent-mode is enabled in current buffer.
8334
5b01685c
JB
83352012-04-19 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * imenu.el (imenu-progress-message): Restore; it is "used" in
8338 erc/erc-imenu.el and net/snmp-mode.el.
8339
4d6769e1
JB
83402012-04-19 Juanma Barranquero <lekktu@gmail.com>
8341
8342 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8343 (mouse-avoidance-nudge-mouse): Remove unused binding.
8344
8345 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8346
8347 * descr-text.el (describe-char):
8348 * progmodes/python.el (python-describe-symbol):
8349 Don't call `toggle-read-only', set `buffer-read-only'.
8350
8351 * imenu.el (imenu-default-goto-function): Mark unused args.
8352 (imenu-progress-message): Remove obsolete macro; all callers changed.
8353
8354 * subr.el (keymap-canonicalize): Remove unused binding.
8355 (read-passwd): Mark unused arg.
8356
8357 * tutorial.el (tutorial--display-changes): Remove unused binding.
8358 (tutorial--save-tutorial-to): Remove unused variable.
8359
8360 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8361 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8362 (package-generate-autoloads, package-menu--generate)
8363 (package-menu--find-upgrades): Remove unused bindings.
8364
8365 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8366 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8367 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8368 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8369 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8370 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8371 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8372 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8373 (cua-delete-char-rectangle): Mark unused args.
8374 (cua-align-rectangle): Remove unused binding.
8375
8376 * mail/rmail.el (compilation--message->loc)
8377 (epa--find-coding-system-for-mime-charset): Declare.
8378
8379 * net/dbus.el (dbus-register-service): Declare.
8380 (dbus-name-owner-changed-handler): Remove unused binding.
8381
8382 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8383 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8384 (nxml-scan-backward-within): Mark unused arg.
8385 (nxml-dynamic-markup-word): Remove unused binding.
8386
8387 * mouse.el (mouse-menu-major-mode-map):
8388 * emacs-lisp/authors.el (authors-scan-change-log)
8389 (authors-add-to-author-list):
8390 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8391 * emacs-lisp/smie.el (smie-auto-fill):
8392 * mail/sendmail.el (mail-bury):
8393 * mail/unrmail.el (unrmail):
8394 * net/tls.el (open-tls-stream):
8395 * textmodes/picture.el (picture-mouse-set-point):
8396 Remove unused bindings.
8397
8c8fc5df
MA
83982012-04-19 Michael Albinus <michael.albinus@gmx.de>
8399
8400 * net/tramp.el (tramp-action-password): Let-bind
8401 `enable-recursive-minibuffers' to t.
8402
a77b0ac9
SS
84032012-04-18 Sam Steingold <sds@gnu.org>
8404
8405 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8406 instead of 'string to accommodate values like [f11].
8407 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8408 * progmodes/gdb-mi.el: Likewise.
8409
12a106a9
LL
84102012-04-18 Leo Liu <sdl.web@gmail.com>
8411
8412 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8413 current buffer.
8414 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8415 LOCAL is nil.
8416
bc6494ef
CY
84172012-04-18 Chong Yidong <cyd@gnu.org>
8418
8419 * simple.el (line-move): Use forward-line if in batch mode
8420 (Bug#11053).
8421
c09c46b2
CS
84222012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8423
8424 * files.el (after-find-file): Do not try to add a final newline if
8425 the buffer is read-only (Bug#11156).
8426
5f6530ea
RS
84272012-04-17 Richard Stallman <rms@gnu.org>
8428
8429 * mail/rmail.el (rmail-start-mail):
8430 Pass (rmail-mail-return...) for the return-action.
8431 Pass (rmail-yank-current-message...) for the yank-action.
8432 (rmail-yank-current-message): New function.
8433 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8434 (rmail-reply): Likewise.
8435 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8436
8437 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8438 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8439 buffer, not newbuf.
8440
197b6f3c
JB
84412012-04-17 Juanma Barranquero <lekktu@gmail.com>
8442
8443 * server.el (server-ensure-safe-dir): Simplify.
8444
2311d8e5 84452012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8446
2311d8e5
GM
8447 * emacs-lisp/smie.el: Provide smarter auto-filling.
8448 (smie-auto-fill): New function.
8449 (smie-setup): Use it.
98fb480e 8450
2311d8e5
GM
8451 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8452
84532012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8454
8455 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8456 (comment-indent): Use it.
8457
2311d8e5 84582012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8459
8460 * ses.el: The overall change is to add cell renaming, that is
8461 setting fancy names for cell symbols other than name matching
8462 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8463 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8464 (ses-create-cell-variable): New defun.
2311d8e5 8465 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8466 (ses-relocate-formula): Relocate formulas only for cells the
8467 symbols of which are not renamed, i.e. symbols whose names do not
8468 match regexp "\\`[A-Z]+[0-9]+\\'".
8469 (ses-relocate-all): Relocate values only for cells the symbols of
8470 which are not renamed.
8471 (ses-load): Create cells variables as the (ses-cell ...) are read,
8472 in order to check row col consistency with cell symbol name only
8473 for cells that are not renamed.
8474 (ses-replace-name-in-formula): New defun.
8475 (ses-rename-cell): New defun.
4bdf2ad2 8476
fc72b15c
PO
84772012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8478
8479 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8480 New option (bug#11118).
8481 (perl-calculate-indent): Respect it.
8482
12e10e61
GM
84832012-04-17 Glenn Morris <rgm@gnu.org>
8484
8485 * dired-aux.el (dired-mark-read-string): Doc fix.
8486
30009afd
DA
84872012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8488
8489 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8490 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8491
41f03f4d
GM
84922012-04-17 Glenn Morris <rgm@gnu.org>
8493
8494 * mouse.el (mouse-drag-track):
8495 * speedbar.el (speedbar-frame-mode):
8496 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8497
f45f90f3
LL
84982012-04-16 Leo Liu <sdl.web@gmail.com>
8499
8500 * progmodes/python.el: Trivial cleanup.
8501
94ee8db5
GM
85022012-04-16 Glenn Morris <rgm@gnu.org>
8503
121b8917
GM
8504 * vc/vc.el (vc-string-prefix-p):
8505 * vc/pcvs-util.el (cvs-string-prefix-p):
8506 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8507 * mpc.el (mpc-string-prefix-p):
8508 Make all of these into obsolete aliases for string-prefix-p.
8509 Update callers.
8510 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8511
1197ecfa
GM
8512 * textmodes/two-column.el: Move custom options to the start.
8513 (frame-width): Remove compat definition.
8514 (2C-associate-buffer, 2C-dissociate):
8515 Use with-current-buffer rather than save-excursion.
8516 (2C-dissociate): Force a mode-line update.
8517 (2C-autoscroll): Use ignore-errors.
8518
099e7202
GM
8519 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8520 Autoload trivia.
8521
bf350d6a
GM
8522 * emacs-lisp/cl-extra.el (*random-state*):
8523 Remove unnecessary declaration.
8524
0e829eab
GM
8525 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8526
e3ad7552
GM
8527 * play/cookie1.el (cookie-snarf):
8528 Give an explicit error if input file cannot be read.
8529
68892d27
GM
8530 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8531
20f0c46d
GM
8532 * progmodes/perl-mode.el (c-macro-expand):
8533 Remove unnecessary autoload (it is in loaddefs.el).
8534
5a0978ce
GM
8535 * textmodes/picture.el (picture-desired-column)
8536 (picture-update-desired-column): Convert comments to doc-strings.
8537 (picture-substitute): Remove function.
8538 (picture-mode-map): Initialize in the defvar.
8539
6b955486
GM
8540 * woman.el: Remove eval-after-load for tar-mode.
8541 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8542 (woman-tar-extract-file): Autoload it.
8543
94ee8db5
GM
8544 * frame.el (automatic-hscrolling): Make this alias obsolete.
8545
177eca34
AM
85462012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8547
090bd7cb 8548 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8549 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8550 (ispell-dictionary-base-alist): Revert to original XEmacs
8551 friendly version for default. [:alpha:] will be added in
090bd7cb 8552 `ispell-set-spellchecker-params' if needed.
177eca34 8553
c505aaeb
CY
85542012-04-16 Chong Yidong <cyd@gnu.org>
8555
b19dd9d1 8556 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8557 (imagemagick-register-types): Use it.
8558 (imagemagick-types-inhibit): Add :set function. Allow new value
8559 of t to inhibit all types.
8560
8561 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8562 so we can preload it.
8563
8564 * loadup.el (fboundp): Preload regexp-opt, needed by
8565 imagemagick-register-types.
8566
60efac0f
CY
85672012-04-15 Chong Yidong <cyd@gnu.org>
8568
8569 * frame.el (scrolling): Remove nearly unused customization group.
8570
8571 * scroll-all.el (scroll-all-mode): Move to windows group.
8572
5dd1713e
CY
85732012-04-15 Chong Yidong <cyd@gnu.org>
8574
8575 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8576
e6fd457e
CY
85772012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8580 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8581
e153c136
GM
85822012-04-15 Glenn Morris <rgm@gnu.org>
8583
8584 * simple.el (process-file-side-effects): Doc fix.
8585
e6fd457e 85862012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8587
8588 * international/mule-cmds.el (set-language-environment): Doc fix.
8589
3603c3b1
JB
85902012-04-14 Juanma Barranquero <lekktu@gmail.com>
8591
8592 * server.el (server-auth-key, server-generate-key): Doc fixes.
8593 (server-get-auth-key): Doc fix. Use `string-match-p'.
8594 (server-start): Reflow docstring.
8595
e6de100c
LI
85962012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8597
8598 * server.el (server-generate-key): `called-interactively-p'
8599 requires a parameter.
8600
29734c21
MN
86012012-04-14 Michal Nazarewicz <mina86@mina86.com>
8602
8603 * server.el (server-auth-key): New variable.
75f1671a 8604 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8605 (server-start): Use the new variable and functions to allow
8606 setting a permanent server key (bug#9423).
8607
d65c9521
LL
86082012-04-14 Leo Liu <sdl.web@gmail.com>
8609
8610 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8611
5ae255c7
PE
86122012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8613
8614 Spelling fixes.
8615 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8616 Emacs uses American spelling.
8617
d5e6342e
JB
86182012-04-14 Juanma Barranquero <lekktu@gmail.com>
8619
8620 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8621 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8622 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8623 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8624
ab036cd7
SM
86252012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * progmodes/which-func.el (which-func-modes): Change default.
8628
35dc09a1 86292012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8630
8631 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8632 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8633
35dc09a1 86342012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8635
8636 * custom.el (custom-theme-set-variables): Doc fix.
8637
35dc09a1 86382012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8639
8640 * international/mule.el (set-auto-coding-for-load): Doc fix.
8641
35dc09a1 86422012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8643
35dc09a1
GM
8644 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8645 imenu work again for Objective C Mode. Correct the *-index values,
8646 these having been disturbed by a previous change in 2011-08.
57f845ee 8647
0de3da9f
AM
8648 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8649 Correct two search limits.
8650
35dc09a1 86512012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8652
8653 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8654
35dc09a1 86552012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8656
8657 * international/characters.el: Fix sorting.
8658
35dc09a1 86592012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8660
8661 * international/characters.el: Add more missing Latin case pairs.
8662
35dc09a1 86632012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8664
8665 * files.el (dir-locals-set-class-variables): Doc fix.
8666
35dc09a1 86672012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8668
3f1b5bf8
EZ
8669 * international/characters.el: Add set-case-syntax-pair call for
8670 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8671 counterpart. (Bug#11209)
8672
9f847f41
EZ
8673 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8674
35dc09a1 86752012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8676
8677 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8678
35dc09a1 86792012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8680
35dc09a1
GM
8681 * textmodes/ispell.el (ispell-dictionary-base-alist):
8682 Add data for Hebrew.
e2627d21 8683
35dc09a1 86842012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8685
35dc09a1
GM
8686 * net/rcirc.el (rcirc-cmd-quit):
8687 Revert 2012-03-18 change (Bug#11192).
5c14e333 8688
35dc09a1 86892012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8690
8691 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8692
35dc09a1 86932012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8694
4517fe3a
SM
8695 * minibuffer.el (completion-in-region-mode-map):
8696 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8697
b472a594
VD
86982012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8699
8700 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8701
09b95ce3
MY
87022012-04-13 Masatake YAMATO <yamato@redhat.com>
8703
8704 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8705 to allow `C-M-f' and `C-M-b' to move to the nearest path
8706 separator (bug#9511).
8707
4b63a9ca
LI
87082012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8709
8710 * avoid.el: Require cl when compiling. And also move the
8711 `provide' to the end.
8712
7b55b8bf
TV
87132012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8714
8715 * avoid.el (mouse-avoidance-banish-position): New variable.
8716 (mouse-avoidance-banish-destination): Use it (bug#10165).
8717
adedaa1f
LL
87182012-04-13 Leo Liu <sdl.web@gmail.com>
8719
8720 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8721
70e74021
KB
87222012-04-13 Ken Brown <kbrown@cornell.edu>
8723
8724 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8725 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8726 (browse-url-filename-alist): For the same reason, don't modify
8727 file:// URLs on Cygwin.
8728
e75e89ba
SM
87292012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8732 the region on shift if the binding is already shifted (bug#11221).
8733
82f289a4
GM
87342012-04-12 Glenn Morris <rgm@gnu.org>
8735
8736 * mail/mailpost.el: Move to obsolete/.
8737
d333dc4c
DA
87382012-04-12 Drew Adams <drew.adams@oracle.com>
8739
8740 * imenu.el (imenu--generic-function): Ignore invisible definitions
8741 (bug#10123).
8742
0d15b5ba
VD
87432012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8744
8745 * hexl.el (hexl-bits): New variable.
8746 (hexl-options): Mention the variable in the doc string.
75f1671a 8747 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8748 (hexl-mode): Mention the new variable.
75f1671a
JB
8749 (hexl-mode, hexl-current-address, hexl-current-address):
8750 Use the displen.
0d15b5ba
VD
8751 (hexl-ascii-start-column): New function.
8752 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8753 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8754
64a440db
AM
87552012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8756
8757 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8758 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8759 the encoding, as expected by hunspell.
8760
6decb6c2
SM
87612012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * battery.el (battery--linux-sysfs-regexp): New const.
8764 (battery-status-function): Use it. Remove yeeloong special case.
8765 (battery-yeeloong-sysfs): Remove.
8766 (battery-echo-area-format): Remove yeeloong special case.
8767
088be6fb
SM
87682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8769
6622e416
SM
8770 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8771 Reported by Noah Friedman.
8772
088be6fb
SM
8773 * subr.el (read-passwd): Use read-string.
8774
b49f886e
LMI
87752012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8776
8777 * vcursor.el (vcursor-move): Increase the priority of the overlay
8778 (bug#9663).
8779
a63067fc
DD
87802012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8781
8782 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8783 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8784
ac3cf14a
WS
87852012-04-11 William Stevenson <yhvh2000@gmail.com>
8786
8787 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8788 define-minor-mode (bug#10760).
8789
c4fc691b 87902012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8791
4d6769e1 8792 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8793 that directories matching `grep-find-ignored-files' won't be
8794 pruned (bug#10351).
8795
af23e2e5
CY
87962012-04-11 Chong Yidong <cyd@gnu.org>
8797
8798 * startup.el (command-line): Remove support for long-obsolete
8799 variable font-lock-face-attributes.
8800
ab7ce8c1
GM
88012012-04-11 Glenn Morris <rgm@gnu.org>
8802
8803 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8804
de8c03dc
SM
88052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * window.el (window--state-get-1): Obey window-point-insertion-type.
8808
050cc68b
LB
88092012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8810
8811 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8812 to previous function when point is on the first character of a
75f1671a 8813 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8814
a38c310c
GM
88152012-04-11 Glenn Morris <rgm@gnu.org>
8816
effed0c2
GM
8817 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8818 not just file-errors.
8819
a38c310c
GM
8820 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8821 (vc-bzr-sha1): Use internal sha1.
8822
0221e323
SM
88232012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8826
43956923
SG
88272012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8828
8829 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8830 that start in the middle of the line (bug#10496).
8831
6a8c9eaf
DN
88322012-04-10 Dan Nicolaescu <dann@gnu.org>
8833
8834 * battery.el (battery-linux-proc-acpi): Only one battery is
8835 discharged at a time, but that seems to confuse battery.el when
8836 computing `rate-type' for the battery not being discharged
8837 (bug#10332).
8838
1930bf5d
SM
88392012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8840
2a718f6f
SM
8841 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8842
599430d0
SM
8843 * international/quail.el: Use dolist and simplify.
8844 (quail-define-package, quail-update-keyboard-layout)
8845 (quail-define-rules): Use dolist.
8846 (quail-insert-kbd-layout, quail-get-translation): CSE.
8847
a2754b6c
SM
8848 * tmm.el: Use dolist, remove left over hook.
8849 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8850 Use dolist.
8851 (calendar-load-hook): Don't mess with it.
8852
1930bf5d
SM
8853 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8854 Use derived-mode-p. Run the diff asynchronously.
8855
9f67961c
LMI
88562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8857
8858 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8859
2a8ce227
JB
88602012-04-10 Juanma Barranquero <lekktu@gmail.com>
8861
8862 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8863 (list-dynamic-libraries--loaded): New function.
8864 (list-dynamic-libraries--refresh): Use it.
8865
8f33b5f8
NW
88662012-04-10 Nathan Weizenbaum <nweiz@google.com>
8867
1930bf5d
SM
8868 * progmodes/python.el (python-fill-paragraph):
8869 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8870 disabled (bug#7018).
8871
b12f0439
L
88722012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8873
1930bf5d 8874 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8875 DOS/MS Windows for the Baltic languages. There are still plenty
8876 of texts written in this encoding/codepage (bug#6519).
b12f0439 8877
57c3bd01
GM
88782012-04-10 Glenn Morris <rgm@gnu.org>
8879
8880 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8881 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8882
6c3eab30
FA
88832012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8884
1930bf5d 8885 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8886 next-line "n" and previous-line "p" in order to make recentf more
8887 consistent with ibuffer, dired or org-mode (bug#9387).
8888
24d78a88
LMI
88892012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8890
bc72b5d9
LMI
8891 * image.el (put-image): Return the overlay created instead of the
8892 optional input string (bug#7834). Note that this may break code
8893 that is (for some reason or other) depending on `put-image'
8894 returning the string.
8895
bd2dba5a
LMI
8896 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8897
74beb59f
LMI
8898 * simple.el (zap-to-char): Allow zapping using input methods
8899 (bug#1580).
8900
24d78a88
LMI
8901 * textmodes/fill.el (fill-region): Leave point and mark where they
8902 were before filling (bug#5399).
8903
263f20cd
GM
89042012-04-09 Glenn Morris <rgm@gnu.org>
8905
8906 * version.el (emacs-bzr-get-version):
8907 Handle lightweight checkouts of local branches.
8908
58d1f797
AS
89092012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8910
263f20cd 8911 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8912
b4d3bc10
CY
89132012-04-09 Chong Yidong <cyd@gnu.org>
8914
8915 * custom.el (custom-variable-p): Return nil for non-symbol
8916 arguments instead of signaling an error.
8917 (user-variable-p): Obsolete alias for custom-variable-p.
8918
8919 * apropos.el (apropos-variable):
8920 * files-x.el (read-file-local-variable):
8921 * simple.el (set-variable):
8922 * woman.el (woman-mini-help):
8923 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8924
fd06db5d
GM
89252012-04-09 Glenn Morris <rgm@gnu.org>
8926
e5fcdb5e
GM
8927 * startup.el (normal-top-level): Don't look for leim-list.el
8928 in places where it will not be found. (Bug#910)
8929
fd06db5d
GM
8930 * international/mule-cmds.el (set-default-coding-systems):
8931 * files.el (normal-mode):
8932 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8933 This function was removed with ucs-tables.el in 2008.
8934
b39bb7e1
EZ
89352012-04-08 Eli Zaretskii <eliz@gnu.org>
8936
8937 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8938 ispell-encoding8-command to "-i", without a trailing space.
8939 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8940 separate command-line arguments, to specify the encoding, since
8941 that's how hunspell expects it.
8942
5c5b8e23
GM
89432012-04-08 Glenn Morris <rgm@gnu.org>
8944
8945 * loadup.el: Load bindings before cus-start.
8946 This reduces somewhat the number of "rogue" settings in emacs -Q.
8947
a1ed8b05
GM
89482012-04-07 Glenn Morris <rgm@gnu.org>
8949
8950 * version.el (emacs-bzr-get-version): New function.
dfae128a 8951 (emacs-bzr-version): New variable.
a1ed8b05
GM
8952 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8953 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8954
b142f158
EZ
89552012-04-07 Eli Zaretskii <eliz@gnu.org>
8956
dfae128a
GM
8957 * international/uni-bidi.el, international/uni-category.el:
8958 * international/uni-combining.el, international/uni-decimal.el:
8959 * international/uni-decomposition.el, international/uni-digit.el:
8960 * international/uni-lowercase.el, international/uni-mirrored.el:
8961 * international/uni-name.el, international/uni-numeric.el:
8962 * international/uni-titlecase.el, international/uni-uppercase.el:
8963 Update for Unicode 6.1.
b142f158 8964
9078ead6
EZ
89652012-04-07 Eli Zaretskii <eliz@gnu.org>
8966
8967 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8968
f23d2c7d
LMI
89692012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8970
8971 * window.el (shrink-window): Mention the `window-min-height'
8972 variable in the doc string.
8973
0a0a3573
BG
89742012-04-05 Bastien Guerry <bzg@altern.org>
8975
8976 * color.el (color-lighten-name): Fix typo.
8977
e5248ac9
SM
89782012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 * server.el (server--on-display-p): New function.
8981 (server--on-display-p): Use it.
8982
b4243e22
GV
89832012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8984
8985 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8986 (bug#11145).
8987
305d9f44
SM
89882012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * comint.el (comint--common-quoted-suffix): Check string boundary
8991 before comparing (bug#11158).
8992 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8993
3d439cd1
CY
89942012-04-04 Chong Yidong <cyd@gnu.org>
8995
321cc491
CY
8996 * minibuffer.el (completion-extra-properties): Doc fix.
8997
3d439cd1
CY
8998 * subr.el (delayed-warnings-hook): Doc fix.
8999
2d562c0f
DU
90002012-04-04 Daiki Ueno <ueno@unixuser.org>
9001
9002 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9003 selection (Bug#11159).
9004 (epa-insert-keys): Inform that the default public key will be
9005 exported if no key is selected.
9006
4443f204
RS
90072012-04-04 Richard Stallman <rms@gnu.org>
9008
9009 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9010
529c06b6
CY
90112012-04-03 Chong Yidong <cyd@gnu.org>
9012
9013 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9014 mail-insert-file, not its obsolete alias mail-attach-file.
9015
66b907dc
MA
90162012-04-03 Michael Albinus <michael.albinus@gmx.de>
9017
9018 * notifications.el (notifications-notify): Fix docstring.
9019
c0ea195d
GM
90202012-04-02 Glenn Morris <rgm@gnu.org>
9021
9022 * emacs-lisp/authors.el (authors-aliases): Another addition.
9023
5ca64e00
MA
90242012-04-02 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9027 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9028 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9029
42ee526b
CY
90302012-04-01 Chong Yidong <cyd@gnu.org>
9031
9032 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9033 Handle root directory properly.
9034 (copy-directory): Caller changed.
9035
9036 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9037 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9038
0b021094
GM
90392012-03-31 Glenn Morris <rgm@gnu.org>
9040
40f86458
GM
9041 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9042
7019c177
GM
9043 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9044
a1daddd6
GM
9045 * calendar/calendar.el (calendar-window-list)
9046 (calendar-hide-window): Restore. (Bug#11140)
9047 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9048
0b021094
GM
9049 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9050
40311efc
TV
90512012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9052
9053 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9054 Check if file is a symlink (Bug#10489).
9055
9056 * files.el (copy-directory): Likewise.
9057
5319014e
CY
90582012-03-30 Chong Yidong <cyd@gnu.org>
9059
9060 * image.el (imagemagick-types-inhibit)
9061 (imagemagick-register-types): Doc fix.
9062
935d1290
AM
90632012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9064
090bd7cb 9065 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9066 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9067 and treats ~word as ordinary words in pipe mode.
935d1290 9068
61c6e8fd
GM
90692012-03-30 Glenn Morris <rgm@gnu.org>
9070
9071 * tutorial.el (help-with-tutorial): Ensure local variables don't
9072 happen to make the buffer read-only. (Bug#11127)
9073
81fdff00
SM
90742012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9077 (perl-calculate-indent): Return `noindent' in strings.
9078
6e7a6ec0
SS
90792012-03-28 Sam Steingold <sds@gnu.org>
9080
9081 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9082 instead of the broken adhockery which does not prevent calendar
9083 buffers from being displayed at random after exit.
9084 (calendar-window-list, calendar-hide-window): Remove the broken
9085 adhockery.
9086
fee88ca0
GM
90872012-03-28 Glenn Morris <rgm@gnu.org>
9088
9089 * replace.el (query-replace-map): Doc fix.
9090
38de3354
AS
90912012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9092
9093 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9094 contents. (Bug#11109)
9095
b973155e
SM
90962012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9099 (bug#11077).
9100 (avl-tree--check, avl-tree--check-node): New funs.
9101
dcb6e7b3
MR
91022012-03-27 Martin Rudalics <rudalics@gmx.at>
9103
9104 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9105 (switch-to-prev-buffer, switch-to-next-buffer):
9106 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9107 showing a buffer already is done on the same frame.
9108
b4fa35fa
GM
91092012-03-27 Glenn Morris <rgm@gnu.org>
9110
9111 * startup.el (mail-host-address): Doc fix.
9112
f9210e18
SM
91132012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9116 than 197 variables.
9117
c0bf7753
AF
91182012-03-26 Ami Fischman <ami@fischman.org>
9119
9120 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9121
33da7b16
GM
91222012-03-26 Glenn Morris <rgm@gnu.org>
9123
02243d9d
GM
9124 * files.el (save-buffers-kill-emacs): Doc fix.
9125
33da7b16
GM
9126 * startup.el (normal-top-level, command-line, command-line-1):
9127 Give them doc strings.
9128
e5a69fd0
EZ
91292012-03-25 Eli Zaretskii <eliz@gnu.org>
9130
9131 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9132 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9133
9a69676a
CY
91342012-03-25 Chong Yidong <cyd@gnu.org>
9135
4125cb8b
CY
9136 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9137 theme if it was previously enabled before (Bug#11031).
9138
dd470960
CY
9139 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9140 spec with custom-face-get-current-spec if its :shown-value is not
9141 determined yet (Bug#9337).
4125cb8b 9142 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9143
9a69676a
CY
9144 * button.el (button-at): Minor addition to docstring.
9145
6e7e90fa
SL
91462012-03-24 Simon Leinen <simon.leinen@gmail.com>
9147
9148 * vc/vc.el (vc-merge): Fix a prompt.
9149
f06e2758
CY
91502012-03-24 Chong Yidong <cyd@gnu.org>
9151
9152 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9153 point (Bug#9623).
9154
6e7e90fa
SL
9155 * button.el (button-at): Minor addition to docstring.
9156
b9d0879b
SM
91572012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * newcomment.el (comment-choose-indent): No space after BOL.
9160
e71cebb3
SS
91612012-03-22 Sam Steingold <sds@gnu.org>
9162
9163 * window.el (switch-to-prev-buffer): Revert last patch because the
9164 bug turned out to be an advertised feature (Elisp manual 28.14).
9165
335aff35
GM
91662012-03-22 Glenn Morris <rgm@gnu.org>
9167
9168 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9169 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9170
c676576a
LMI
91712012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9172
9173 * net/network-stream.el (network-stream-open-starttls): Make error
9174 message under Windows be less misleading.
9175
126f3d39
LW
91762012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9177
9178 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9179 understands (bug#9942).
9180
64fee311
CY
91812012-03-22 Chong Yidong <cyd@gnu.org>
9182
9183 * simple.el (end-of-visible-line): Handle return value of
9184 next-single-property-change properly (Bug#9371).
9185
a640d29a
KH
91862012-03-22 Kenichi Handa <handa@m17n.org>
9187
9188 * international/quail.el (quail-insert-kbd-layout): Fix previous
9189 change. To avoid unwanted bidi reordering, use
9190 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9191
39675016
DG
91922012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9193
9194 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9195 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9196 (ruby-beginning-of-indent): Be more careful with the difference
9197 between word-boundary and symbol boundary.
9198 (ruby-mode-syntax-table): Make : a symbol constituent.
9199
0a6934fc 92002012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9201
3d008e4f
SM
9202 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9203
0a6934fc
SM
92042012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9205
af67c9d7
SM
9206 * progmodes/etags.el (tags-completion-at-point-function):
9207 Improve last fix.
9208
1acad97c
SM
9209 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9210
e298b5da
SS
92112012-03-21 Sam Steingold <sds@gnu.org>
9212
9213 * progmodes/etags.el (tags-completion-at-point-function):
9214 Avoid the error when point is inside the pattern.
9215
91d82a70
JY
92162012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9217
9218 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9219 line (Bug#10855).
9220
69188b79
CY
92212012-03-21 Drew Adams <drew.adams@oracle.com>
9222
9223 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9224
99fc91fe
AK
92252012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9226
9227 * ido.el (ido-set-current-directory, ido-read-internal)
9228 (ido-choose-completion-string, ido-completion-help): Handle nil
9229 value of ido-completion-buffer (Bug#11008).
9230
087bbb4c
SS
92312012-03-21 Sam Steingold <sds@gnu.org>
9232
9233 * window.el (switch-to-prev-buffer): Do not switch to a visible
9234 window previous buffer, just like with the frame previous buffers.
9235
fb5b8aca
CY
92362012-03-21 Chong Yidong <cyd@gnu.org>
9237
9238 * faces.el (make-face, make-empty-face, copy-face):
9239 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9240 Doc fixes.
9241
dc9924b8
SM
92422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9245 (widget-complete): Remove broken use of it.
9246
f0bcceb9
CY
92472012-03-20 Chong Yidong <cyd@gnu.org>
9248
dc9924b8
SM
9249 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9250 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9251 characters.
9252
ee52ebf3
TH
92532012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9254
9255 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9256 to draw rectangles, not squares. (Regression introduced by revno
9257 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9258
4c5779ab
CY
92592012-03-18 Chong Yidong <cyd@gnu.org>
9260
9261 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9262 it is not yet defined (for temacs).
9263
15360934
LL
92642012-03-18 Leo Liu <sdl.web@gmail.com>
9265
735135f9
PE
9266 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9267 prefix.
15360934 9268
d9a8eb66
EZ
92692012-03-17 Eli Zaretskii <eliz@gnu.org>
9270
9271 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9272 (ispell-choices-win-default-height, ispell-silently-savep)
9273 (ispell-dictionary-alist, ispell-encoding8-command)
9274 (ispell-check-version, ispell-aspell-find-dictionary)
9275 (ispell-valid-dictionary-list, ispell-words-keyword)
9276 (ispell-get-word, ispell-internal-change-dictionary)
9277 (ispell-region, ispell-skip-region-list)
9278 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9279 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9280 (ispell-message-text-end, ispell-message)
9281 (ispell-buffer-local-parsing): Doc fix.
9282
f02ff80d
J
92832012-03-13 Jambunathan K <kjambunathan@gmail.com>
9284
9285 * htmlfontify.el: Add support for code block fontification for ODT
9286 export (Bug #9914).
9287 (hfy-optimisations): Define new option
9288 `body-text-only'
9289 (hfy-fontify-buffer): Honor above setting.
9290 (hfy-begin-span, hfy-end-span): New routines factored out form
9291 `hfy-fontify-buffer'.
9292 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9293 that permit insertion of custom tags.
9294 (hfy-fontify-buffer): Use above handlers.
9295 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9296 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9297 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9298 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9299 bind a special variable `hfy-user-sheet-assoc'.
9300 (htmlfontify-string): New defun.
9301 (hfy-compile-face-map): Make sure that the last char in the
9302 buffer is correctly fontified.
9303 (hfy-face-resolve-face): Whitespace only change.
9304
9ac7a13f
EZ
93052012-03-17 Eli Zaretskii <eliz@gnu.org>
9306
9307 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9308 message more clear.
9309
e2b5bdd7
LL
93102012-03-16 Leo Liu <sdl.web@gmail.com>
9311
9312 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9313
2e492df3
AM
93142012-03-16 Alan Mackenzie <acm@muc.de>
9315
9316 Further optimise the handling of large macros.
9317
9318 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9319 limit to a call of `c-literal-limits'.
9320 (c-determine-+ve-limit): New function.
dc9924b8
SM
9321 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9322 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9323 In CASE 5B, restrict a search limit to 500.
9324 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9325
9326 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9327 Restrict macro bounds to +-500 from after-change's BEG END.
9328
50e94f0c
LL
93292012-03-16 Leo Liu <sdl.web@gmail.com>
9330
9331 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9332
6f09f6ed
AH
93332012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9334
9335 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9336 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9337
c7e73d51
GM
93382012-03-16 Glenn Morris <rgm@gnu.org>
9339
da986230
GM
9340 * view.el (view-buffer, view-buffer-other-window)
9341 (view-buffer-other-frame): Doc fixes re special mode-class.
9342
0835f01e
GM
9343 * subr.el (eval-after-load): If named feature is provided not from
9344 a file, run after-load forms. (Bug#10946)
9345
c7e73d51
GM
9346 * calendar/calendar.el (calendar-insert-at-column):
9347 Handle non-unit-width characters a bit better. (Bug#10978)
9348
3f2eafd1
CY
93492012-03-15 Chong Yidong <cyd@gnu.org>
9350
9351 * emacs-lisp/ring.el (ring-extend): New function.
9352 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9353
9354 * comint.el (comint-read-input-ring)
9355 (comint-add-to-input-history): Grow comint-input-ring lazily.
9356
103af3fe
SM
93572012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9358
663b1677
SM
9359 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9360 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9361
103af3fe
SM
9362 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9363 (imenu-add-to-menubar): Don't add a redundant index.
9364 (imenu-update-menubar): Handle a dynamically composed keymap.
9365
899cb7cb
KY
93662012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9367
9368 * mail/sendmail.el (mail-encode-header):
9369 Bind rfc2047-encode-encoded-words to nil.
9370
3809f91d
GM
93712012-03-13 Glenn Morris <rgm@gnu.org>
9372
9373 * calendar/calendar.el (calendar-string-spread):
9374 Handle non-unit-width characters a bit better. (Bug#10978)
9375
9e345a01
LL
93762012-03-13 Leo Liu <sdl.web@gmail.com>
9377
9378 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9379 directory and file as argument (Bug#10822).
9380
4a07df36
KS
93812012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9382
9383 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9384 For dynamically generated code, follow $PC.
9385 (gdb-disassembly-handler-custom): Handle no function name case.
9386
4aaa9356
TL
93872012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9388
9389 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9390 * emulation/ws-mode.el (ws-query-replace):
9391 * sort.el (sort-regexp-fields):
9392 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9393
225979da
SM
93942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * dabbrev.el: Fix cycle completion order (bug#10963).
9397 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9398 (dabbrev-completion): Don't use an obarray; provide
9399 a cycle-sort-function.
9400
e2f1fdab
LL
94012012-03-12 Leo Liu <sdl.web@gmail.com>
9402
dc9924b8 9403 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9404 (kill-do-not-save-duplicates): Doc fix.
9405
b19490ed
SM
94062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * dabbrev.el: Fix cycle completion (bug#10963).
9409 Use lexical binding and wrap to 80 columns.
9410 (dabbrev-completion): Delay computing the list of completions.
9411
4b05d722
KH
94122012-03-12 Kenichi Handa <handa@m17n.org>
9413
9414 * international/quail.el (quail-insert-kbd-layout): Surround each
9415 row by LRO and PDF instead of inserting many LRMs. Pad the left
9416 and right of each non-spacing marks. Insert invisible space
9417 between lower and upper characters to prevent composition.
9418
dbbc2e69
SM
94192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * minibuffer.el (minibuffer-complete): Don't get confused when the
9422 function is run twice via different commands (bug#10958).
9423 (complete-with-action): Fix docstring.
9424
292112ed
CY
94252012-03-12 Chong Yidong <cyd@gnu.org>
9426
5d1ac394
CY
9427 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9428 (nxml-completion-at-point-function): New function.
9429 (nxml-mode): Use it.
9430 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9431
292112ed
CY
9432 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9433 Load generated autoloads file before byte compiling (Bug#10970).
9434 (package--make-autoloads-and-compile): New helper fun.
9435
4098f8f7
CS
94362012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9437
9438 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9439
8f754691
MA
94402012-03-11 Michael Albinus <michael.albinus@gmx.de>
9441
9442 * autorevert.el (auto-revert-handler): Ensure, that
9443 file-readable-p is applied only for local files or in
9444 auto-revert-tail-mode.
9445
e29ab36b
AS
94462012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9447
dbbc2e69
SM
9448 * server.el (server-eval-at): Handle non-tcp connections.
9449 Decode result string.
ad0bf5b6 9450
e29ab36b
AS
9451 * server.el (server-msg-size): New constant.
9452 (server-reply-print): New function.
9453 (server-eval-and-print): Use it.
9454 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9455 Handle -print-nonl.
9456
de5939ba
CS
94572012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9458
9459 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9460 (Bug#10987).
9461
0c93eabf
CY
94622012-03-11 Chong Yidong <cyd@gnu.org>
9463
397a688f
CY
9464 * simple.el (goto-line): Doc fix (Bug#9938).
9465
2cc775f9
CY
9466 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9467
0c93eabf
CY
9468 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9469 when finished (Bug#10963).
9470
c491fa41
MR
94712012-03-11 Martin Rudalics <rudalics@gmx.at>
9472
9473 * window.el (split-window-below): Fix bug in case where
9474 split-window-keep-point is nil (Bug#10971).
9475
300e8fa5
JL
94762012-03-11 Juri Linkov <juri@jurta.org>
9477
9478 * replace.el (replace-highlight): Set isearch-word to nil
9479 unconditionally. (Bug#10887)
9480
dbf6c5a1
EZ
94812012-03-10 Eli Zaretskii <eliz@gnu.org>
9482
9483 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9484 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9485 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9486 (mairix-widget-create-query): Add usage information about mairix
9487 search forms: negating words, searching for substrings, etc.
9488
b9e501de
JP
94892012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9490
9491 * international/fontset.el (font-encoding-alist): Add an entry for
9492 ksx1001 (Bug#5667).
9493
92795c91
RS
94942012-03-10 Richard Stallman <rms@gnu.org>
9495
1694e6c1
RS
9496 * mail/sendmail.el (mail-encode-header):
9497 Set rfc2047-encode-encoded-words.
9498
607e8555
RS
9499 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9500
de3bc99a
RS
9501 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9502 view buffer means not swapped.
9503 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9504 (rmail-write-region-annotate): Error if real text has disappeared.
9505
92795c91
RS
9506 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9507
699bd04e
CY
95082012-03-10 Chong Yidong <cyd@gnu.org>
9509
9510 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9511 * emulation/cua-base.el (cua--init-keymaps):
9512 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9513
570a1714
MR
95142012-03-10 Martin Rudalics <rudalics@gmx.at>
9515
dbbc2e69
SM
9516 * speedbar.el (speedbar-unhighlight-one-tag-line):
9517 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9518
82dcf4e4
CY
95192012-03-10 Chong Yidong <cyd@gnu.org>
9520
7a2c7ca7
CY
9521 * minibuffer.el (completion-in-region, completion-help-at-point):
9522 Give the completion field overlay a high priority (Bug#6830).
9523
82dcf4e4
CY
9524 * dired.el (dired-goto-file): Recognize absolute file name
9525 listings (Bug#7126).
9526 (dired-goto-file-1): New helper function.
9527 (dired-toggle-read-only): Inhibit warnings.
9528
052e28ac
MA
95292012-03-09 Michael Albinus <michael.albinus@gmx.de>
9530
75f1671a 9531 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9532 there are no properties.
9533
95d5e396
LL
95342012-03-09 Leo Liu <sdl.web@gmail.com>
9535
9536 * savehist.el (savehist-printable): Stricter check for string
9537 value (Bug#10937).
9538
3f018d6d
EZ
95392012-03-09 Eli Zaretskii <eliz@gnu.org>
9540
dbbc2e69
SM
9541 * mail/smtpmail.el (smtpmail-send-it):
9542 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9543 valid mbox format.
9544
f7fd3d79
GM
95452012-03-09 Glenn Morris <rgm@gnu.org>
9546
9547 * files.el (dir-locals-find-file):
9548 Don't check result is regular, readable.
9549 (dir-locals-read-from-file): Demote errors.
9550
6ff6e72f
EZ
95512012-03-08 Eli Zaretskii <eliz@gnu.org>
9552
dbbc2e69
SM
9553 * international/quail.el (quail-insert-kbd-layout):
9554 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9555 layout cell, to prevent their reordering by bidi display engine.
9556 For details, see the discussion in
9557 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9558
9cec7834
AM
95592012-03-08 Alan Mackenzie <acm@muc.de>
9560
9561 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9562 the starting position; make it extend the marked region when
9563 invoked repeatedly - all under appropriate circumstances.
9564 Fixes bugs #5525, #10906.
9565
9a40b8d4
GM
95662012-03-08 Glenn Morris <rgm@gnu.org>
9567
9568 * files.el (locate-dominating-file, dir-locals-find-file):
9569 Undo 2012-03-06 change.
9570
7a08ed35
EZ
95712012-03-07 Eli Zaretskii <eliz@gnu.org>
9572
dbbc2e69
SM
9573 * international/quail.el (quail-help):
9574 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9575 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9576 for the reason.
9577
5aca4f71 95782012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9579
9580 Avoid superfluous registering of signals. (Bug#10807)
9581
9582 * notifications.el (notifications-on-action-object)
9583 (notifications-on-close-object): New defvars.
9584 (notifications-on-action-signal, notifications-on-closed-signal):
9585 Unregister the signal if not needed any longer.
9586 (notifications-notify): Register `notifications-action-signal' or
9587 `notifications-closed-signal', if :on-action or :on-close has been
9588 passed as argument.
9589
78e8b10a
CY
95902012-03-07 Chong Yidong <cyd@gnu.org>
9591
9592 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9593 non-X platforms.
9594
69481eb8
GM
95952012-03-06 Glenn Morris <rgm@gnu.org>
9596
9597 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9598 (x-disown-selection-internal, x-get-selection-internal):
9599 Doc fix (add arglist signatures). (Bug#10783)
9600
133b8e11
KS
96012012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9602
9603 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9604 Handle breakpoints with no "type".
9605
99a83064
GM
96062012-03-06 Glenn Morris <rgm@gnu.org>
9607
9608 * files.el (locate-dominating-file): Add optional predicate argument.
9609 (dir-locals-find-file): Make use of above change.
9610
17798e78
TTN
96112012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9612
9613 * info.el (Info-insert-dir): Also try "dir.gz".
9614
eb182446
GM
96152012-03-06 Glenn Morris <rgm@gnu.org>
9616
8f2114ee
GM
9617 * files.el (dir-locals-find-file):
9618 Ignore non-readable or non-regular files. (Bug#10928)
9619
eb182446
GM
9620 * files.el (locate-dominating-file): Doc fix.
9621
24679323
AS
96222012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9623
9624 * calendar/calendar.el (calendar-set-mode-line):
9625 `getenv' returns a string. (Bug#10951)
9626
01d972a9
LL
96272012-03-05 Leo Liu <sdl.web@gmail.com>
9628
109aa8a9
LL
9629 * simple.el (backward-delete-char-untabify): Constrain point to
9630 field (Bug#10939).
9631
01d972a9
LL
9632 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9633
10607bea
CY
96342012-03-05 Chong Yidong <cyd@gnu.org>
9635
9636 * simple.el (count-words): If called from Lisp, return the word
9637 count, for symmetry with `count-lines'. Arglist changed.
9638 (count-words--message): Args changed. Consolidate counting code
9639 from count-words and count-words-region.
9640 (count-words-region): Caller changed.
9641 (count-lines-region): Make it an obsolete alias.
9642
5dd11cfe
TH
96432012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9644
9645 * saveplace.el (save-place-to-alist)
9646 (save-place-ignore-files-regexp): Allow value nil to disable this
9647 feature.
9648
c349f4e6
CY
96492012-03-04 Chong Yidong <cyd@gnu.org>
9650
9651 * faces.el (face-spec-reset-face): For the default face, reset the
9652 attributes to default values (Bug#10748).
9653
e627be4c
LMI
96542012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9655
9656 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9657 previous patch: Check `message-send-mail-function', and not the
9658 default function (bug#10897).
9659
ebeabff4
MA
96602012-03-04 Michael Albinus <michael.albinus@gmx.de>
9661
a41a6cf4
MA
9662 * notifications.el (notifications-on-action-signal)
9663 (notifications-on-closed-signal): Check for unique service name of
9664 incoming event. Fix error in removing entry.
ebeabff4 9665 (top): Register for signals with wildcard service name.
a41a6cf4 9666 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9667
c1ca42b4
CY
96682012-03-04 Chong Yidong <cyd@gnu.org>
9669
dc9924b8 9670 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9671
ea16568d
GM
96722012-03-04 Glenn Morris <rgm@gnu.org>
9673
9674 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9675 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9676 (expand-abbrev, define-abbrev-table): Doc fixes.
9677
fbae4637
LMI
96782012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9679
9680 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9681 `message-default-send-mail-function' and not `send-mail-function'
9682 when doing the prompting for `sendmail-query-once' before sending
9683 in Message buffers (bug#10897).
9684
a1e7225c
LMI
9685 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9686 This is inconsistent with all the other stream functions, which leave
9687 the setting up to the higher levels (if so wanted) (bug#10931).
9688
56d093a9
AM
96892012-03-02 Alan Mackenzie <acm@muc.de>
9690
9691 Depessimize the handling of very large macros.
9692
9693 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9694 (c-macro-cache-syntactic): New variables to implement a one
9695 element macro cache.
9696 (c-invalidate-macro-cache): New function.
9697 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9698 Adapt to use the new cache.
9699 (c-state-safe-place): Use better the cache of safe positions.
9700 (c-state-semi-nonlit-pos-cache)
9701 (c-state-semi-nonlit-pos-cache-limit):
9702 New variables for...
9703 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9704 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9705 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9706 Use c-state-semi-safe-place.
56d093a9 9707
dbbc2e69
SM
9708 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9709 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9710
817e5c3d
MA
97112012-03-02 Michael Albinus <michael.albinus@gmx.de>
9712
dbbc2e69
SM
9713 * jka-compr.el (jka-compr-call-process):
9714 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9715 not remote.
9716
a032a702
MA
97172012-03-01 Michael Albinus <michael.albinus@gmx.de>
9718
9719 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9720 access of FILE2, if FILE1 does not exist.
9721
99a54f21
MA
9722 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9723 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9724
9725 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9726 Add "PAGER=" to `process-environment'.
9727
f6561e1f
MM
97282012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9729
9730 * progmodes/sql.el: Bug fix
9731 (sql-get-login-ext): Save login values in globals.
9732 (sql-get-login): Use new version of `sql-get-login-ext'.
9733 (sql-interactive-mode): Set global `sql-connection' to nil.
9734 (sql-connect): Set global values for connection.
9735 (sql-product-interactive): Save global values as buffer local.
9736
2d44d9cc
LL
97372012-02-29 Leo Liu <sdl.web@gmail.com>
9738
9739 * abbrev.el (define-abbrevs): Reset sys to nil.
9740
96b49301 97412012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9742
bf7f9bc5
JB
9743 * files.el (file-equal-p): Rename from `files-equal-p'.
9744 Return nil when one or both files don't exist.
96b49301 9745 (file-subdir-of-p): Now only top directory must exists,
9746 return nil if it doesn't.
bf7f9bc5
JB
9747 (copy-directory): No need to test with `file-subdir-of-p' after
9748 creating dir.
9749 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9750 to `file-equal-p'.
96b49301 9751
44e97401
GM
97522012-02-28 Glenn Morris <rgm@gnu.org>
9753
9754 * shell.el (shell-mode):
9755 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9756 * play/landmark.el (landmark-font-lock-face-O):
9757 * play/handwrite.el (handwrite):
9758 * play/gomoku.el (gomoku-O):
9759 * net/browse-url.el (browse-url-browser-display):
9760 * international/mule.el (define-charset):
9761 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9762 * filesets.el (filesets-find-file-delay):
9763 * eshell/em-xtra.el (eshell-xtra):
9764 * eshell/em-unix.el (eshell-grep):
9765 * emulation/viper.el (viper-mode):
9766 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9767 * emacs-lisp/easymenu.el (easy-menu-define):
9768 * calendar/timeclock.el (timeclock-use-display-time):
9769 * bs.el (bs-mode):
9770 * bookmark.el (bookmark-save-flag):
9771 Doc fix (standardize possessive apostrophe usage).
9772
c98c6276
CY
97732012-02-27 Chong Yidong <cyd@gnu.org>
9774
bf7f9bc5
JB
9775 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9776 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9777
c98c6276
CY
9778 * font-lock.el (font-lock-specified-p): Rename from
9779 font-lock-spec-present. Callers changed.
9780
9c62cd04 97812012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9782
bf7f9bc5
JB
9783 * emacs-lisp/package.el (package-compute-transaction):
9784 Handle holding a package version to t in package-load-list.
8ac9e529 9785
530739c9
MA
97862012-02-26 Michael Albinus <michael.albinus@gmx.de>
9787
9788 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9789 (tramp-get-inode, tramp-get-device): Use cached values.
9790
487915d7
AM
97912012-02-26 Alan Mackenzie <acm@muc.de>
9792
9793 Check there is a font-lock specification before doing initial
9794 fontification.
9795
9796 * font-core.el (font-lock-mode): Move the conditional from
9797 :after-hook to font-lock-initial-fontify.
9798 (font-lock-default-function): Move the check for a specification
9799 to font-lock-spec-present.
9800
dc9924b8 9801 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9802 (font-lock-spec-present): New function.
9803
4fd96557
JB
98042012-02-26 Jim Blandy <jimb@red-bean.com>
9805
9806 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9807 (gdb-send): Apply it to the operand of the '-interpreter-exec
9808 console' command, so that we can pass arguments with (say) quotes
9809 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9810
9a4888c0
CY
98112012-02-26 Chong Yidong <cyd@gnu.org>
9812
07498861
CY
9813 * help-fns.el (describe-function-1): Clarify description of
9814 remapping (Bug#10844).
9815
9a4888c0
CY
9816 * files.el (files-equal-p): Doc fix.
9817 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9818 and quit the loop once a mismatch is found.
9819
ea8fb88d
JB
98202012-02-25 Juanma Barranquero <lekktu@gmail.com>
9821
9822 * bs.el (bs--show-with-configuration): Don't throw an error
9823 if the window cannot be split; otherwise, subsequent calls to
9824 bs-show fail, restoring a stale window config. (Bug#10882)
9825
525795c1
JD
98262012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9827
9828 * term/ns-win.el (global-map): Bind ns-drag-file to
9829 ns-find-file (Bug#5855, Bug#10050).
9830
f008086f
AS
98312012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9832
9833 * calendar/parse-time.el (parse-time-string): Allow extractor to
9834 return nil.
9835
a3fcfa99
MA
98362012-02-25 Michael Albinus <michael.albinus@gmx.de>
9837
91027d08
JB
9838 * net/tramp.el (tramp-file-name-for-operation):
9839 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9840
9841 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9842 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9843 Add COPY-CONTENTS argument.
a3fcfa99 9844
67b0de11
CY
98452012-02-25 Chong Yidong <cyd@gnu.org>
9846
9847 Add custom groups for VC backends, for consistency with vc-bzr.
9848
9849 * vc/vc-arch.el (vc-arch):
9850 * vc/vc-cvs.el (vc-cvs):
9851 * vc/vc-git.el (vc-git):
9852 * vc/vc-hg.el (vc-hg):
9853 * vc/vc-mtn.el (vc-mtn):
9854 * vc/vc-rcs.el (vc-rcs):
9855 * vc/vc-sccs.el (vc-sccs):
9856 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9857 All relevant defcustoms reassigned.
9858
3c9dfce6
CY
98592012-02-25 Chong Yidong <cyd@gnu.org>
9860
1339bf43
CY
9861 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9862
3c9dfce6
CY
9863 * term/x-win.el (x-initialize-window-system): Reduce default for
9864 x-selection-timeout to 5 seconds (Bug#8869).
9865
25b2e303 98662012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9867
ec70a47d
GM
9868 * files.el (files-equal-p, file-subdir-of-p): New functions.
9869 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9870 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9871 * dired-aux.el (dired-copy-file-recursive): Same.
9872 (dired-create-files): Modify destination when source is equal to
9873 dest when copying files.
53a46cd0 9874 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9875
914260cd
MA
98762012-02-24 Michael Albinus <michael.albinus@gmx.de>
9877
9878 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9879 (Bug#10874)
9880
2cb228f7
AM
98812012-02-23 Alan Mackenzie <acm@muc.de>
9882
9883 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9884 parameter "after-hook:" to allow the expansion to run code after
9885 the execution of the mode hooks.
9886
9887 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9888 from font-lock-mode-internal.
2cb228f7 9889
91027d08 9890 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9891 :after-hook.
9892
8f0fde21
SM
98932012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9894
3e88618b
SM
9895 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9896 (completion--cache-all-sorted-completions): New function.
9897 (completion-all-sorted-completions): Use it.
9898 (completion--do-completion, minibuffer-force-complete):
9899 Use it to re-instate the flush hook.
9900
8f0fde21
SM
9901 * icomplete.el (icomplete-completions): Replace last fix with a better
9902 one (bug#10850).
9903
8e911f6f
DG
99042012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9905
9906 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9907 when it might call us back infinitely (bug#10797).
9908
49fe4321
GM
99092012-02-23 Glenn Morris <rgm@gnu.org>
9910
9911 * minibuffer.el (completion-category-overrides): Doc fix.
9912
b291b572
SM
99132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9916 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9917
31a9ef2e
GM
99182012-02-23 Glenn Morris <rgm@gnu.org>
9919
5e6e6794 9920 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9921 (authors-obsolete-files-regexps, authors-ignored-files)
9922 (authors-ambiguous-files, authors-renamed-files-alist):
9923 Add more entries.
9924
0bd1e074
JL
99252012-02-23 Juri Linkov <juri@jurta.org>
9926
9927 * isearch.el (isearch-occur): Sync interactive spec with occur's
9928 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9929
b617673c
JL
9930 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9931
19e9789e
JL
99322012-02-22 Juri Linkov <juri@jurta.org>
9933
9934 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9935 (ucs-insert): Doc fix. Check for hex digits in the string.
9936 Don't display `nil' in the error message. (Bug#10857)
9937
f41ce09d
AM
99382012-02-22 Alan Mackenzie <acm@muc.de>
9939
7a71b18d 9940 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9941
ac2eceee
GM
99422012-02-22 Glenn Morris <rgm@gnu.org>
9943
9944 * ffap.el (ffap-c-path):
9945 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9946
abd1f678
CY
99472012-02-22 Chong Yidong <cyd@gnu.org>
9948
9949 * custom.el (load-theme): Doc fix.
9950
f25aef2e
GM
99512012-02-22 Glenn Morris <rgm@gnu.org>
9952
9953 * dired-x.el (dired-guess-shell-alist-default):
9954 Remove escape sequences from nroff output. (Bug#172)
9955
5f8dc2ca
GM
99562012-02-21 Glenn Morris <rgm@gnu.org>
9957
6ff86ec4
GM
9958 * vc/emerge.el (emerge-defvar-local):
9959 Set `permanent-local' property rather than unused `preserved'.
9960
be3223a3 9961 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9962 (picture-mode-map): Use it. (Bug#10860)
9963 (picture-mode): Doc fix.
9964
3fe58f4f
JB
99652012-02-21 Juanma Barranquero <lekktu@gmail.com>
9966
9967 * newcomment.el (uncomment-region-default): Remove unused binding.
9968
f9a998c3
GM
99692012-02-21 Glenn Morris <rgm@gnu.org>
9970
9971 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9972 (picture-self-insert, picture-tab-chars): Doc fix.
9973 (picture-mode-map): Fix C-a, C-e.
9974
c6029348
GM
99752012-02-20 Glenn Morris <rgm@gnu.org>
9976
9977 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9978
ab1ce9d7
LL
99792012-02-20 Leo Liu <sdl.web@gmail.com>
9980
9981 * icomplete.el (icomplete-completions): Check FROM arg before
9982 passing to substring (Bug#10850).
9983
0fd40f89
CY
99842012-02-19 Chong Yidong <cyd@gnu.org>
9985
9986 * comint.el: Require ansi-color.
9987 (comint-output-filter-functions): Add ansi-color-process-output.
9988
9989 * ansi-color.el: Don't set comint-output-filter-functions; it is
9990 now in the initial value defined in comint.el.
9991 (ansi-color-apply-face-function): New variable.
9992 (ansi-color-apply-on-region): Use it.
9993 (ansi-color-apply-overlay-face): New function.
9994
9995 * shell.el (shell): No need to require ansi-color.
9996 (shell-mode): Use ansi-color-apply-face-function to highlight
9997 color escapes using font-lock-face property (Bug#10835).
9998
20af2394
CY
99992012-02-19 Chong Yidong <cyd@gnu.org>
10000
10001 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10002 mode-line formats (Bug#10839).
10003
e23a3fbe
GM
100042012-02-18 Glenn Morris <rgm@gnu.org>
10005
b474519e
GM
10006 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10007
10008 * mail/undigest.el (unforward-rmail-message): Doc fix.
10009
e23a3fbe
GM
10010 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10011
57939ff4
EZ
100122012-02-18 Eli Zaretskii <eliz@gnu.org>
10013
10014 * international/characters.el (script-list): Sync with the latest
10015 Unicode Character Database.
10016
0c23686e
AS
100172012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10018
10019 * international/titdic-cnv.el: Remove duplicate coding tag.
10020 * language/cham.el: Likewise.
10021 * language/tai-viet.el: Likewise.
10022
6818b449
GM
100232012-02-18 Glenn Morris <rgm@gnu.org>
10024
10025 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10026 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10027 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10028 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10029 * calendar/holidays.el (holiday-bahai-holidays)
10030 (calendar-holidays, list-holidays):
10031 Use utf-8 Bahá'í in doc-strings, menus, etc.
10032
0311a3fc
TH
100332012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10034
10035 * saveplace.el (save-place-ignore-files-regexp): New variable
10036 allowing for excluding files from saving their location of point.
10037 The default value matches the temporary commit message editing
10038 files from Git, SVN, Bazaar, and Mercurial.
10039 (save-place-to-alist): Use it.
10040
d209e2fb 100412012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10042 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10043
10044 * newcomment.el (uncomment-region-default): Don't leave extra space
10045 when an arg is provided (bug#8150).
10046
ee0ce425
TZ
100472012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10048
eb864a71 10049 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10050
95ddf442
GM
100512012-02-17 Glenn Morris <rgm@gnu.org>
10052
10053 * net/socks.el: Require network-stream. (Bug#10599)
10054
48dd1e39 100552012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10056
10057 * international/charprop.el:
10058 * international/uni-name.el:
10059 * international/uni-old-name.el:
10060 * international/uni-comment.el: Regenerate.
10061
d68cd087
GM
100622012-02-16 Glenn Morris <rgm@gnu.org>
10063
10064 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10065 Interactively in calendar buffer, give an error if not on a date.
10066
13932042
GM
100672012-02-15 Glenn Morris <rgm@gnu.org>
10068
10069 * shell.el (shell-delimiter-argument-list):
10070 Revert 2011-02-17 change. (Bug#8027)
10071
c3a70e2b
CY
100722012-02-15 Chong Yidong <cyd@gnu.org>
10073
60236b0d
CY
10074 * minibuffer.el (completion-at-point-functions): Doc fix.
10075
c3a70e2b
CY
10076 * custom.el (defcustom): Doc fix; note use of defvar.
10077
9f26dc24
GM
100782012-02-15 Glenn Morris <rgm@gnu.org>
10079
10080 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10081 Doc fixes.
10082
6546b134
GM
100832012-02-14 Glenn Morris <rgm@gnu.org>
10084
10085 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10086
d29b2b4c
LI
100872012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10088
10089 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10090 way the ports list is computed.
835bdcba
LI
10091 (smtpmail-query-smtp-server): Prompt the user for a port number if
10092 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10093
08dcdbc9
TZ
100942012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10095
10096 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10097
2605051a
GM
100982012-02-13 Glenn Morris <rgm@gnu.org>
10099
10100 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10101
7ee99f32
TZ
101022012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10103
10104 * net/gnutls.el (gnutls-trustfiles): New variable.
10105 (gnutls-negotiate): Use it.
10106
5f0af64f
LI
101072012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10108
10109 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10110 does its stuff if Gnus is running.
10111
c14fcc95
AM
101122012-02-13 Alan Mackenzie <acm@muc.de>
10113
10114 Fix a loop in c-set-fl-decl-start.
10115
7a71b18d 10116 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10117 c-backward-syntactic-ws actually moves backwards.
10118
142b4d90
LL
101192012-02-13 Leo Liu <sdl.web@gmail.com>
10120
10121 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10122 beginning so that all \C-o chars are removed.
10123
fa9958a6
TZ
101242012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10125
dc9924b8 10126 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10127
0bc5886a
AM
101282012-02-12 Alan Mackenzie <acm@muc.de>
10129
10130 Fix infinite loop with long macros.
4d6769e1 10131 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10132
d4bd55e7
CY
101332012-02-12 Chong Yidong <cyd@gnu.org>
10134
10135 * window.el (display-buffer): Doc fix (Bug#10785).
10136
66f3fe22
GM
101372012-02-12 Glenn Morris <rgm@gnu.org>
10138
bd7da63e
GM
10139 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10140 (x-disown-selection-internal, x-get-selection-internal):
10141 Sync docs with the xselect.c versions.
10142
66f3fe22
GM
10143 * allout-widgets.el: Add missing license notice.
10144
3e0d2fa7
GM
101452012-02-11 Glenn Morris <rgm@gnu.org>
10146
cfecdf09
GM
10147 * select.el (x-get-selection-internal, x-own-selection-internal)
10148 (x-disown-selection-internal):
10149 * x-dnd.el (x-get-selection-internal): Update declarations.
10150
6d216d7f
GM
10151 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10152
2bed3f04
GM
10153 * window.el (window-sides-slots):
10154 * tool-bar.el (tool-bar-position):
10155 * term/xterm.el (xterm-extra-capabilities):
10156 * ses.el (ses-self-reference-early-detection):
10157 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10158 (verilog-auto-wire-type)
10159 (verilog-auto-delete-trailing-whitespace)
10160 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10161 (verilog-auto-tieoff-declaration):
10162 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10163 (sql-oracle-statement-starters, sql-oracle-scan-on):
10164 * progmodes/prolog.el (prolog-align-comments-flag)
10165 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10166 (prolog-left-indent-regexp, prolog-paren-indent-p)
10167 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10168 (prolog-types, prolog-mode-specificators)
10169 (prolog-determinism-specificators, prolog-directives)
10170 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10171 (prolog-electric-dot-flag)
10172 (prolog-electric-dot-full-predicate-template)
10173 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10174 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10175 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10176 (prolog-program-switches, prolog-prompt-regexp)
10177 (prolog-debug-on-string, prolog-debug-off-string)
10178 (prolog-trace-on-string, prolog-trace-off-string)
10179 (prolog-zip-on-string, prolog-zip-off-string)
10180 (prolog-use-standard-consult-compile-method-flag)
10181 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10182 (prolog-imenu-max-lines, prolog-info-predicate-index)
10183 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10184 (prolog-char-quote-workaround):
10185 * progmodes/cc-vars.el (c-defun-tactic):
10186 * net/tramp.el (tramp-encoding-command-interactive)
10187 (tramp-local-end-of-line):
10188 * net/soap-client.el (soap-client):
10189 * net/netrc.el (netrc-file):
10190 * net/gnutls.el (gnutls):
10191 * minibuffer.el (completion-category-overrides)
10192 (completion-cycle-threshold)
10193 (completion-pcm-complete-word-inserts-delimiters):
10194 * man.el (Man-name-local-regexp):
10195 * mail/feedmail.el (feedmail-display-full-frame):
10196 * international/characters.el (glyphless-char-display-control):
10197 * eshell/em-ls.el (eshell-ls-date-format):
10198 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10199 (lisp-lambda-list-keyword-parameter-indentation)
10200 (lisp-lambda-list-keyword-parameter-alignment):
10201 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10202 * dired-x.el (dired-omit-verbose):
10203 * cus-theme.el (custom-theme-allow-multiple-selections):
10204 * calc/calc.el (calc-highlight-selections-with-faces)
10205 (calc-lu-field-reference, calc-lu-power-reference)
10206 (calc-note-threshold):
10207 * battery.el (battery-mode-line-limit):
10208 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10209 (archive-7z-update):
10210 * allout.el (allout-prefixed-keybindings)
10211 (allout-unprefixed-keybindings)
10212 (allout-inhibit-auto-fill-on-headline)
10213 (allout-flattened-numbering-abbreviation):
10214 * allout-widgets.el (allout-widgets-auto-activation)
10215 (allout-widgets-icons-dark-subdir)
10216 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10217 (allout-widgets-theme-dark-background)
10218 (allout-widgets-theme-light-background)
10219 (allout-widgets-item-image-properties-emacs)
10220 (allout-widgets-item-image-properties-xemacs)
10221 (allout-widgets-run-unit-tests-on-load)
10222 (allout-widgets-time-decoration-activity)
10223 (allout-widgets-hook-error-post-time)
10224 (allout-widgets-track-decoration):
10225 Add missing :version tags to new defcustoms and defgroups.
10226
5fec1b8e
GM
10227 * progmodes/sql.el (sql-ansi-statement-starters)
10228 (sql-oracle-statement-starters): Add custom type.
10229
3e0d2fa7
GM
10230 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10231 (prolog-system-version): Give it a type.
10232
90b671e2
EZ
102332012-02-11 Eli Zaretskii <eliz@gnu.org>
10234
10235 * term/pc-win.el (x-select-text, x-selection-owner-p)
10236 (x-own-selection-internal, x-disown-selection-internal)
10237 (x-get-selection-internal): Sync doc strings and argument lists
10238 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10239
5eac0c02
LL
102402012-02-11 Leo Liu <sdl.web@gmail.com>
10241
10242 * progmodes/python.el (python-end-of-statement): Fix infinite
10243 loop. (Bug#10788)
10244
f82cb659
GM
102452012-02-10 Glenn Morris <rgm@gnu.org>
10246
10247 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10248 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10249
cc26d239
LI
102502012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10251
10252 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10253 about SMTP before checking the From header.
10254
91027d08 10255 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10256 into own function for reuse by emacsbug.el.
10257
1be3ca5a
LL
102582012-02-10 Leo Liu <sdl.web@gmail.com>
10259
10260 * subr.el (condition-case-unless-debug): Rename from
10261 condition-case-no-debug. All callers changed.
10262 (with-demoted-errors): Fix caller.
10263
10264 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10265 * nxml/rng-valid.el (rng-do-some-validation):
10266 * emacs-lisp/package.el (package-refresh-contents)
10267 (package-menu-execute):
10268 * desktop.el (desktop-create-buffer):
91027d08 10269 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10270
b011fbfe
GM
102712012-02-10 Glenn Morris <rgm@gnu.org>
10272
b2096d72
GM
10273 * textmodes/bibtex.el:
10274 Add missing :version tags for new/changed defcustoms.
10275
b011fbfe
GM
10276 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10277
4c7e65bf
LI
102782012-02-09 Lars Ingebrigtsen <larsi@rusty>
10279
10280 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10281 (smtpmail-via-smtp): Use it, or fall back on the From address.
10282 (smtpmail-send-it): Ditto.
10283
f3934f6f
SM
102842012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10287 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10288 (byte-compile-tmp-var): New const.
10289 (byte-compile-defvar): Use it to minimize .elc size.
10290 Just use `defvar' rather than simulate it (bug#10761).
10291
a075a2c5
GM
102922012-02-09 Glenn Morris <rgm@gnu.org>
10293
cf3aa21b
GM
10294 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10295
354998cd
GM
10296 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10297 Add :version tags.
10298
dc9924b8
SM
10299 * progmodes/compile.el (compilation-error-screen-columns)
10300 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10301
dab3703d
GM
10302 * vc/log-view.el (log-view-toggle-entry-display):
10303 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10304
3f88cd72
GM
10305 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10306 (report-emacs-bug-can-use-xdg-email):
10307 (report-emacs-bug-insert-to-mailer): Doc fixes.
10308 (report-emacs-bug): Message fix.
10309
d95b247d
GM
10310 * net/browse-url.el (browse-url-can-use-xdg-open)
10311 (browse-url-xdg-open): Doc fixes.
10312
a075a2c5
GM
10313 * electric.el (electric-indent-mode, electric-pair-mode)
10314 (electric-layout-rules, electric-layout-mode): Doc fixes.
10315 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10316
ffb6157e
MR
103172012-02-08 Martin Rudalics <rudalics@gmx.at>
10318
10319 * server.el (server-unselect-display): Don't inadvertently kill
10320 the current buffer. (Bug#10729)
10321
e1ac4066
GM
103222012-02-08 Glenn Morris <rgm@gnu.org>
10323
34e8a2da
GM
10324 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10325 (sql-list-table): Doc fixes.
10326
b4ac6e8c
GM
10327 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10328 Comment out (does nothing).
10329
e1ac4066
GM
10330 * completion.el (dynamic-completion-mode):
10331 * dirtrack.el (dirtrack-debug-mode):
10332 * electric.el (electric-layout-mode):
10333 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10334 * face-remap.el (text-scale-mode, buffer-face-mode):
10335 * iimage.el (iimage-mode):
10336 * image-mode.el (image-transform-mode):
10337 * minibuffer.el (completion-in-region-mode):
10338 * scroll-lock.el (scroll-lock-mode):
10339 * simple.el (next-error-follow-minor-mode):
10340 * tar-mode.el (tar-subfile-mode):
10341 * tooltip.el (tooltip-mode):
10342 * vcursor.el (vcursor-use-vcursor-map):
10343 * wid-browse.el (widget-minor-mode):
10344 * emulation/tpu-edt.el (tpu-edt-mode):
10345 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10346 * international/iso-ascii.el (iso-ascii-mode):
10347 * language/thai-util.el (thai-word-mode):
10348 * mail/supercite.el (sc-minor-mode):
10349 * net/goto-addr.el (goto-address-mode):
10350 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10351 * progmodes/cwarn.el (cwarn-mode):
10352 * progmodes/flymake.el (flymake-mode):
10353 * progmodes/glasses.el (glasses-mode):
10354 * progmodes/hideshow.el (hs-minor-mode):
10355 * progmodes/pascal.el (pascal-outline-mode):
10356 * textmodes/enriched.el (enriched-mode):
10357 * vc/smerge-mode.el (smerge-mode):
10358 Doc fixes (minor mode argument).
10359
5e0d957f
EZ
103602012-02-07 Eli Zaretskii <eliz@gnu.org>
10361
10362 * ls-lisp.el (ls-lisp-sanitize): New function.
10363 (ls-lisp-insert-directory): Use it to fix or remove any elements
10364 in file-alist with missing attributes. (Bug#4673)
10365
98d7371e
AM
103662012-02-07 Alan Mackenzie <acm@muc.de>
10367
10368 Fix spurious recognition of c-in-knr-argdecl.
10369
10370 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10371 putative K&R region.
10372
667ced3a
AM
103732012-02-07 Alan Mackenzie <acm@muc.de>
10374
eb864a71
LM
10375 * progmodes/cc-engine.el (c-forward-objc-directive):
10376 Prevent looping in "#pragma mark @implementation".
667ced3a 10377
5b77774d
MA
103782012-02-07 Michael Albinus <michael.albinus@gmx.de>
10379
10380 * notifications.el (notifications-on-closed-signal): Make `reason'
10381 optional. (Bug#10744)
10382
af008560
GM
103832012-02-07 Glenn Morris <rgm@gnu.org>
10384
60d47423
GM
10385 * emacs-lisp/easy-mmode.el (define-minor-mode):
10386 Doc fixes for the macro and the mode it defines.
10387
dd605cc4
GM
10388 * image.el (imagemagick-types-inhibit): Doc fix.
10389
af008560
GM
10390 * cus-start.el (imagemagick-render-type): Add it.
10391
5cc59a37
LI
103922012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10393
4d6769e1
JB
10394 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10395 Set the default at load time, too, so that `font-lock-fontify-buffer'
10396 can be called without setting up the entire mode first. This fixes
10397 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10398
9a6dd747
CY
103992012-02-06 Chong Yidong <cyd@gnu.org>
10400
2d16b285
CY
10401 * simple.el (list-processes--refresh): Delete exited processes
10402 (Bug#8094).
10403
171e9b6e
CY
10404 * comint.el (comint-next-prompt): next-single-char-property-change
10405 and prev-single-char-property-change never return nil (Bug#8657).
10406
9a6dd747
CY
10407 * custom.el (defcustom): Doc fix (Bug#9711).
10408
aa4589a7
CY
104092012-02-05 Chong Yidong <cyd@gnu.org>
10410
5c2a252f
CY
10411 * cus-edit.el (custom-variable-reset-backup): Quote the value
10412 before storing it in the customized-value property (Bug#6712).
4aab9006 10413 (custom-display): Add a customization type tag.
983b9602 10414 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10415
aa4589a7
CY
10416 * wid-edit.el (widget-field-value-get): New optional arg to
10417 suppress trailing whitespace truncation.
10418 (character): Use it (Bug#2689).
10419
1ff980ae
AS
104202012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10421
10422 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10423 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10424
03988c98
CY
104252012-02-05 Chong Yidong <cyd@gnu.org>
10426
eeb6cc88
CY
10427 * cus-edit.el (custom-variable-value-create): For mismatched
10428 types, show the current value (Bug#7600).
10429
03988c98
CY
10430 * custom.el (defcustom): Doc fix.
10431
f8cdeef0
GM
104322012-02-05 Glenn Morris <rgm@gnu.org>
10433
10434 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10435
0696d255
JB
104362012-02-05 Juanma Barranquero <lekktu@gmail.com>
10437
10438 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10439 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10440 (pp-last-sexp): Use `looking-at-p'.
10441
34c99998
GM
104422012-02-04 Glenn Morris <rgm@gnu.org>
10443
8f05da42
GM
10444 * files.el (revert-buffer):
10445 Doc fix (mention revert-buffer-in-progress-p).
10446
f160676e
GM
10447 * emacs-lisp/ert-x.el (ert-simulate-command):
10448 Check deferred-action-list (which is obsolete) is bound.
10449
c7291ad9
GM
10450 * subr.el (with-wrapper-hook): Doc fixes.
10451
34c99998
GM
10452 * simple.el (filter-buffer-substring-functions)
10453 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10454
6283a7d3
LL
104552012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10456
10457 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10458 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10459
e96e3013
LL
104602012-02-04 Leo Liu <sdl.web@gmail.com>
10461
10462 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10463
8ded50f2
GM
104642012-02-04 Glenn Morris <rgm@gnu.org>
10465
82ff1d13
GM
10466 * image.el (image-extension-data): Add obsolete alias.
10467
987a0a16
GM
10468 * isearch.el (isearch-update): Doc fix.
10469
ea32ef46
GM
10470 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10471
8ded50f2
GM
10472 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10473
eea14f31
GM
104742012-02-03 Glenn Morris <rgm@gnu.org>
10475
10476 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10477 (image-animate-timeout): Doc fix.
10478
10479 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10480
12f381b7
GM
104812012-02-02 Glenn Morris <rgm@gnu.org>
10482
953cebf5
GM
10483 * server.el (server-auth-dir): Doc fix.
10484 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10485
12f381b7
GM
10486 * subr.el (run-mode-hooks): Doc fix.
10487
953a8c3b
JL
104882012-02-02 Juri Linkov <juri@jurta.org>
10489
10490 * image-mode.el (image-toggle-display-image): Remove tautological
10491 `major-mode' from the `derived-mode-p' test.
10492
c5d3843c
KH
104932012-02-02 Kenichi Handa <handa@m17n.org>
10494
9f6e692e 10495 * composite.el (compose-region): Cancel previous change.
c5d3843c 10496
159462d4 104972012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10498
10499 * composite.el (compose-region, compose-string): Signal error for
10500 a null string component (Bug#6988).
10501
9f562668
CY
105022012-02-01 Chong Yidong <cyd@gnu.org>
10503
e2cef717
CY
10504 * view.el (view-buffer-other-window, view-buffer-other-frame):
10505 Handle special modes like view-buffer (Bug#10650).
10506 (view-buffer): Simplify.
10507
9f562668
CY
10508 * frame.el (set-frame-font): Tweak meaning of third argument.
10509
9f6e692e
JB
10510 * dynamic-setting.el (font-setting-change-default-font):
10511 Use set-frame-font (Bug#9982).
9f562668 10512
781acb9f
GM
105132012-02-01 Glenn Morris <rgm@gnu.org>
10514
6035be52
GM
10515 * progmodes/compile.el (compilation-internal-error-properties):
10516 Respect compilation-first-column in the "*compilation*" buffer.
10517
781acb9f
GM
10518 * emacs-lisp/easy-mmode.el (define-minor-mode):
10519 Relax :variable's test for a named function.
10520
abbceb00
AM
105212012-01-31 Alan Mackenzie <acm@muc.de>
10522
10523 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10524 off by one error.
10525
fce3fdeb
CY
105262012-01-31 Chong Yidong <cyd@gnu.org>
10527
10528 * frame.el (set-frame-font): New arg ALL-FRAMES.
10529
10530 * menu-bar.el (menu-set-font): Use set-frame-font.
10531
10532 * faces.el (face-spec-reset-face): Don't apply unspecified
10533 attribute values to the default face.
10534
47893581
JB
105352012-01-31 Juanma Barranquero <lekktu@gmail.com>
10536
10537 * progmodes/cwarn.el (cwarn): Remove dead link.
10538 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10539 Remove * from defcustom docstrings.
10540 (turn-on-cwarn-mode): Make obsolete.
10541 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10542 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10543
e58e988a
GM
105442012-01-31 Glenn Morris <rgm@gnu.org>
10545
60dc2671 10546 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10547 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10548 Allow named functions to be used as the cdr of :variable.
e58e988a 10549
7a3f511d
GM
105502012-01-30 Glenn Morris <rgm@gnu.org>
10551
10552 * emacs-lisp/authors.el (authors-fixed-entries):
10553 Remove reference to deleted file rnewspost.el.
10554
cb882333
JB
105552012-01-29 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * window.el (window-with-parameter): Remove unused variable `windows'.
10558 (window--side-check): Remove unused variable `code'.
10559 (window--resize-siblings): Remove unused variable `first'.
10560 (adjust-window-trailing-edge): Remove unused variable `failed'.
10561 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10562 Use `let', not `let*'.
10563 (balance-windows-2): Remove unused variable `found'.
10564 (window--state-put-2): Remove unused variable `splits'.
10565 (window-state-put): Remove unused variable `selected'.
10566 (same-window-p): Use `string-match-p'.
10567 (display-buffer-assq-regexp): Remove unused variable `value'.
10568 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10569 Mark argument ALIST as ignored.
10570 (pop-to-buffer): Remove unused variable `old-window'.
10571
907201af
EZ
105722012-01-29 Eli Zaretskii <eliz@gnu.org>
10573
10574 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10575 and .lzma compressed files.
10576
ea162670
CY
105772012-01-29 Chong Yidong <cyd@gnu.org>
10578
5b95ee8a
CY
10579 * frame.el (window-system-default-frame-alist): Doc fix.
10580
ea162670
CY
10581 * dynamic-setting.el (font-setting-change-default-font): Don't
10582 change the default face if SET-FONT argument is non-nil (Bug#9982).
10583
d6e6f4b1
SB
105842012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10585
10586 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10587
0f29fa41 105882012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10589
10590 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10591 breakpoints in files outside current directory (Bug#6098).
10592
db174434
CY
105932012-01-29 Chong Yidong <cyd@gnu.org>
10594
6b25e4e2
SE
10595 * progmodes/python.el: Require ansi-color at top-level.
10596
6df6ae42
JB
10597 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10598 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10599 (lisp-mode-abbrev-table): Add doc.
10600 (lisp-mode-variables): Don't set local-abbrev-table.
10601 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10602
e70ee681
RW
106032012-01-28 Roland Winkler <winkler@gnu.org>
10604
10605 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10606
ace88aa2
RW
106072012-01-28 Roland Winkler <winkler@gnu.org>
10608
10609 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10610 (bibtex-set-dialect): Use it. Either set global values of
10611 dialect-dependent variables or bind these variables buffer-locally
10612 (Bug#10254).
10613 (bibtex-mode): Call bibtex-set-dialect via
10614 hack-local-variables-hook.
eb864a71
LM
10615 (bibtex-dialect): Update docstring.
10616 Add safe-local-variable predicate.
ace88aa2
RW
10617 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10618 bibtex-set-dialect.
10619 (bibtex-mode-map): Define menu for each dialect.
10620 (bibtex-entry): Fix docstring.
10621
93376c5b
CY
106222012-01-28 Chong Yidong <cyd@gnu.org>
10623
10624 * eshell/esh-arg.el (eshell-quote-argument): New function.
10625
10626 * eshell/esh-ext.el (eshell-invoke-batch-file):
10627 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10628 first arg to eshell-parse-command (Bug#10523).
10629
4372494f
DA
106302012-01-28 Drew Adams <drew.adams@oracle.com>
10631
10632 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10633 `default-directory' is non-nil.
10634
4d4ec1f8
EZ
106352012-01-28 Eli Zaretskii <eliz@gnu.org>
10636
10637 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10638 line that displays system-configuration-options. (Bug#9924)
10639
7c188927
DA
106402012-01-28 Drew Adams <drew.adams@oracle.com>
10641
10642 * descr-text.el (describe-char): Show information about POS, in
10643 addition to information about the character at POS. Improve and
10644 update the doc string. Change "code point" to "code point in
10645 charset", to avoid confusion with the character's Unicode code
10646 point shown above that. (Bug#10129)
10647
e0da685a
EZ
106482012-01-28 Eli Zaretskii <eliz@gnu.org>
10649
10650 * descr-text.el (describe-char): Show the raw character, not only
10651 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10652 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10653 for the reasons.
10654
70550acf
PH
106552012-01-28 Phil Hagelberg <phil@hagelb.org>
10656
eb864a71
LM
10657 * emacs-lisp/package.el (package-install):
10658 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10659
0ce8e868
CY
106602012-01-28 Chong Yidong <cyd@gnu.org>
10661
cb882333
JB
10662 * emacs-lisp/package.el (package-maybe-load-descriptor):
10663 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10664 (package-maybe-load-descriptor): Use it.
10665 (package-download-transaction): Fully load required packages
10666 inside the loop, so that `require' calls work (Bug#10593).
10667 (package-install): No need to call package-initialize now.
10668
2e7f3bea
CY
106692012-01-28 Chong Yidong <cyd@gnu.org>
10670
6e9bad14
CY
10671 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10672
f823b8ca
CY
10673 * tooltip.el (tooltip-mode): Doc fix.
10674 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10675
2680c309
CY
10676 * frame.el (set-cursor-color): Doc fix (Bug#352).
10677
d7a9e63b
CY
10678 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10679 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10680
2e7f3bea
CY
10681 * cus-edit.el (custom-buffer-create-internal): Fix search button
10682 action (Bug#10542).
2ae01800 10683 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10684
fc4f7a23
EW
106852012-01-27 Eduard Wiebe <usenet@pusto.de>
10686
10687 * dired.el (dired-mark-files-regexp):
10688 Include any subdirectory components. (Bug#10445)
10689
7dd37071
ML
106902012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10691
10692 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10693 Handle [host]:port syntax. (Bug#10533)
10694
a268160b
AH
106952012-01-27 Alex Harsanyi <harsanyi@mac.com>
10696
10697 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10698
e43273ef
GM
106992012-01-26 Glenn Morris <rgm@gnu.org>
10700
10701 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10702 * term.el (term-raw-escape-map): Use Control-X-prefix.
10703 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10704
1edf595d
MR
107052012-01-25 Martin Rudalics <rudalics@gmx.at>
10706
10707 * window.el (window-state-get, window--state-get-1): Don't deal
10708 with fixed-sizeness of windows. Simplify code.
10709
fa8eafef
JC
107102012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10711
6df6ae42
JB
10712 * window.el (window--state-get-1, window--state-put-2):
10713 Don't save and restore the mark.
fa8eafef 10714
0b21c100
CY
107152012-01-25 Chong Yidong <cyd@gnu.org>
10716
10717 * custom.el (custom-variable-p): Doc fix.
10718
5ae1a6c8
GM
107192012-01-25 Glenn Morris <rgm@gnu.org>
10720
40047858
GM
10721 * dired.el (dired-goto-file): Handle some of the more common
10722 characters that `ls -b' escapes. (Bug#10596)
10723
5ddce96c
GM
10724 * progmodes/compile.el (compilation-next-error-function):
10725 Respect compilation-first-column in the "*compilation*" buffer.
10726 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10727
5ae1a6c8
GM
10728 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10729
b559f1a9
GM
107302012-01-24 Glenn Morris <rgm@gnu.org>
10731
10732 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10733
6725d21a
JD
107342012-01-24 Julien Danjou <julien@danjou.info>
10735
10736 * color.el (color-rgb-to-hsl): Fix value computing.
10737 (color-hue-to-rgb): New function.
10738 (color-hsl-to-rgb): New function.
10739 (color-clamp, color-saturate-hsl, color-saturate-name)
10740 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10741 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10742
70df4bbe
GM
107432012-01-24 Glenn Morris <rgm@gnu.org>
10744
10745 * vc/vc-rcs.el (vc-rcs-create-tag):
10746 * vc/vc-sccs.el (vc-sccs-create-tag):
10747 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10748
802a2ae2
ML
107492012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10750
10751 * eshell/esh-util.el (eshell-read-hosts-file):
10752 Skip comment lines. (Bug#10549)
10753
d7128bb1
ML
10754 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10755
d1a5c3b4
JB
107562012-01-23 Juanma Barranquero <lekktu@gmail.com>
10757
2724d9c7
JB
10758 * subr.el (display-delayed-warnings): Doc fix.
10759 (collapse-delayed-warnings): New function to collapse identical
10760 adjacent warnings.
10761 (delayed-warnings-hook): Add it.
d1a5c3b4 10762
a5509865
MA
107632012-01-22 Michael Albinus <michael.albinus@gmx.de>
10764
10765 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10766
a5509865
MA
10767 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10768 (tramp-default-user-alist): Don't add "pscp".
10769 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10770 property "login-as", if set. (Bug#10530)
10771
cc6d5805
MA
107722012-01-21 Michael Albinus <michael.albinus@gmx.de>
10773
10774 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10775 "plink1" and "psftp". (Bug#10530)
10776
107772012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10778
10779 * international/mule-cmds.el (prefer-coding-system): Show a
10780 warning message if the default value of file-name-coding-system
10781 was not changed.
10782
f0960428
JC
107832012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10784
cb882333
JB
10785 * windmove.el (windmove-reference-loc):
10786 Fix windmove-reference-loc miscalculation.
f0960428 10787
dd6f2a63
JB
107882012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10789
10790 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10791 default unit.
10792
7b447e9b
GM
107932012-01-21 Glenn Morris <rgm@gnu.org>
10794
117a9ea1
GM
10795 * international/mule.el (auto-coding-alist): Add .tbz.
10796
7b447e9b
GM
10797 * files.el (local-enable-local-variables): Doc fix.
10798 (inhibit-local-variables-regexps): Rename from
10799 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10800 Doc fix. Add some extensions from auto-coding-alist.
10801 (inhibit-local-variables-suffixes):
10802 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10803 (inhibit-local-variables-p):
10804 New function, extracted from set-auto-mode-1.
10805 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10806 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10807 (hack-local-variables): Doc fix. Make the mode-only case
10808 respect enable-local-variables and friends.
10809 Respect inhibit-local-variables-regexps for file-locals, but
10810 not for directory-locals.
10811 (set-visited-file-name):
10812 Take account of inhibit-local-variables-regexps.
10813 Whether it applies may change as the file name is changed.
10814 * jka-cmpr-hook.el (jka-compr-install):
10815 * jka-compr.el (jka-compr-uninstall):
10816 Update for inhibit-first-line-modes-suffixes name change.
10817
dd6e3cdd
MR
108182012-01-20 Martin Rudalics <rudalics@gmx.at>
10819
10820 * help-macro.el (make-help-screen): Temporarily restore original
10821 binding for minor-mode-map-alist (Bug#10454).
10822
0d0deb38
JD
108232012-01-19 Julien Danjou <julien@danjou.info>
10824
10825 * color.el (color-name-to-rgb): Use the white color to find the max
10826 color component value and return correctly computed values.
10827 (color-name-to-rgb): Add missing float conversion for max value.
10828
34a02f46
MR
108292012-01-19 Martin Rudalics <rudalics@gmx.at>
10830
10831 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10832 special state value for window-persistent-parameters.
10833 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10834 (window--state-put-2): Reset all window parameters to nil before
10835 assigning values of persistent parameters.
10836
606c44c4
AM
108372012-01-18 Alan Mackenzie <acm@muc.de>
10838
10839 Eliminate sluggishness and hangs in fontification of "semicolon
10840 deserts".
10841
cb882333
JB
10842 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10843 Change value 10000 -> 3000.
606c44c4
AM
10844 (c-state-safe-place): Reformulate so it doesn't stack up an
10845 infinite number of wrong entries in c-state-nonlit-pos-cache.
10846 (c-determine-limit-get-base, c-determine-limit): New functions to
10847 determine backward search limits disregarding literals.
10848 (c-find-decl-spots): Amend commenting.
10849 (c-cheap-inside-bracelist-p): New function which detects "={".
10850
10851 * progmodes/cc-fonts.el
10852 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10853 backward search.
10854 (c-font-lock-declarations): Fix an occurrence of point being
10855 undefined. Check additionally for point being in a bracelist or
10856 near a macro invocation without a semicolon so as to avoid a
10857 fruitless time consuming search for a declarator. Give a more
10858 precise search limit for declarators using the new
10859 c-determine-limit.
10860
f3860cea
GM
108612012-01-18 Glenn Morris <rgm@gnu.org>
10862
10863 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10864 (set-auto-mode): Doc fixes.
10865
1db03b16
GM
108662012-01-17 Glenn Morris <rgm@gnu.org>
10867
0e6038be
GM
10868 * isearch.el (search-nonincremental-instead): Fix doc typo.
10869
1db03b16
GM
10870 * dired.el (dired-insert-directory): Handle newlines in directory name.
10871 (dired-build-subdir-alist): Unescape newlines in directory name.
10872
4cb0aa75
MA
108732012-01-17 Michael Albinus <michael.albinus@gmx.de>
10874
10875 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10876 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10877 (tramp-action-terminal): Use it. (Bug#10530)
10878
1d00653d
SM
108792012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10880
10881 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10882
6a6ee00d
MR
108832012-01-16 Martin Rudalics <rudalics@gmx.at>
10884
10885 * window.el (window-state-ignored-parameters): Remove variable.
10886 (window--state-get-1): Rename argument MARKERS to IGNORE.
10887 Handle persistent window parameters. Make copy of clone-of
10888 parameter only if requested. (Bug#10348)
10889 (window--state-put-2): Install a window parameter only if it has
10890 a non-nil value or an existing parameter shall be overwritten.
10891
97912def
MA
108922012-01-15 Michael Albinus <michael.albinus@gmx.de>
10893
10894 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10895
688070a5
EZ
108962012-01-14 Eli Zaretskii <eliz@gnu.org>
10897
10898 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10899 don't pass the (nil) value of `upnode' to string-match.
10900
301afadc
CY
109012012-01-14 Chong Yidong <cyd@gnu.org>
10902
10903 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10904 Fix values recognized by the cursorBlink resource.
301afadc 10905
9e5788aa
PE
109062012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10907
10908 * epg.el (epg--make-temp-file): Avoid permission race condition
10909 when running on old Emacs versions (bug#10403).
10910
3cdb7f5a
GM
109112012-01-14 Glenn Morris <rgm@gnu.org>
10912
10913 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10914
8c82b1b4
AM
109152012-01-13 Alan Mackenzie <acm@muc.de>
10916
10917 Fix filling for when filladapt mode is enabled.
10918
10919 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10920 c-mask-paragraph, pass in `fill-paragraph' rather than
10921 `fill-region-as-paragraph'. (This is a reversion of a previous
10922 change.)
eb864a71
LM
10923 * progmodes/cc-mode.el (c-basic-common-init):
10924 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10925
e517eda4
GM
109262012-01-13 Glenn Morris <rgm@gnu.org>
10927
1498536e
GM
10928 * dired.el (dired-switches-escape-p): New function.
10929 (dired-insert-directory): Use dired-switches-escape-p.
10930 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10931
e517eda4
GM
10932 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10933
328f984d
GM
109342012-01-12 Glenn Morris <rgm@gnu.org>
10935
10936 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10937 changes in adaptive-fill-regexp. (Bug#10276)
10938
2cc769a8
AM
109392012-01-11 Alan Mackenzie <acm@muc.de>
10940
10941 Fix Emacs bug #10463 - put `widen's around the critical spots.
10942
1d00653d 10943 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10944 widen around each invocation of c-state-pp-to-literal. Remove an
10945 unused let variable.
10946
e52c37fa
GM
109472012-01-11 Glenn Morris <rgm@gnu.org>
10948
10949 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10950 Doc fix.
e52c37fa 10951
96f8741e
CY
109522012-01-10 Chong Yidong <cyd@gnu.org>
10953
1d00653d
SM
10954 * net/network-stream.el (network-stream-open-starttls):
10955 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10956 response to the capability command.
10957
b09a806e
GM
109582012-01-10 Glenn Morris <rgm@gnu.org>
10959
10960 * mail/unrmail.el (unrmail): Tweak previous change.
10961
7655cb66
CY
109622012-01-09 Chong Yidong <cyd@gnu.org>
10963
10964 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10965
9d5a8f0b
AM
109662012-01-08 Alan Mackenzie <acm@muc.de>
10967
10968 Optimise font locking in long enum definitions.
10969
10970 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10971 arm to a cond form to handle enums.
10972 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10973 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10974
9a0115ab 109752012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10976
10977 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10978 (Bug#10401)
6bb72cbd 10979
f186bb95
LMI
109802012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10981
29232a68
LMI
10982 * faces.el (set-face-attribute): Clarify the meaning of the nil
10983 frame (bug#10294).
10984
4e5d086d
LMI
10985 * subr.el (with-selected-frame): Mention that the selected frame
10986 is restored (bug#9980).
10987
8e66aebe
LMI
10988 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10989 (bug#9759).
10990
cd394be1 10991 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10992 (password-read): Don't autoload unused function.
10993
adf4e762
JB
109942012-01-07 Juanma Barranquero <lekktu@gmail.com>
10995
10996 * progmodes/which-func.el (which-func-mode): Turn into a
10997 non-interactive function and mark as obsolete (bug#10428).
10998
89bd9ccd
CY
109992012-01-06 Chong Yidong <cyd@gnu.org>
11000
11001 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11002 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11003 functions, along with 1 and -1.
11004
4afee9d5
EZ
110052012-01-06 Eli Zaretskii <eliz@gnu.org>
11006
11007 * time.el (display-time-load-average)
11008 (display-time-default-load-average): Doc fixes. See the thread
11009 starting at
11010 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11011 for the details.
11012
536aea70
GM
110132012-01-06 Glenn Morris <rgm@gnu.org>
11014
665ae865
GM
11015 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11016 has no messages. (Bug#10377)
11017
c869783d
GM
11018 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11019 than Info-edit. (Bug#10385)
11020
2bb4227e
GM
11021 * time.el (display-time-load-average, display-time-next-load-average):
11022 Doc fixes.
11023
7d5944b9
GM
11024 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11025 local setting of buffer-read-only to the input buffer. (Bug#10419)
11026
536aea70
GM
11027 * calendar/calendar.el (calendar-mode):
11028 Locally set scroll-margin to 0. (Bug#10379)
11029
7dccca16
UM
110302012-01-06 Ulrich Mueller <ulm@gentoo.org>
11031
11032 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11033
afbb7930
GM
110342012-01-05 Glenn Morris <rgm@gnu.org>
11035
11036 * eshell/em-unix.el (diff-no-select): Autoload it.
11037 (eshell/diff): Use diff-no-select. (Bug#10420)
11038
04482335
CY
110392012-01-05 Chong Yidong <cyd@gnu.org>
11040
7baca3bc
CY
11041 * shell.el (shell-dynamic-complete-functions): Revert last change.
11042 (shell-command-completion-function): New function.
11043 (shell-completion-vars): Use it to implement
11044 shell-completion-execonly (Bug#10417).
11045
04482335
CY
11046 * custom.el (enable-theme): Don't set custom-safe-themes.
11047
1d00653d
SM
11048 * cus-theme.el (custom-theme-merge-theme):
11049 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11050
bb5aa5d6
MM
110512012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11052
11053 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11054 first prompt in `sql-interacive-mode'.
11055 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11056 keywords.
6df6ae42 11057 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11058 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11059 context of original buffer. Invoke `sql-login-hook'.
11060
a7183d7c
EZ
110612012-01-04 Eli Zaretskii <eliz@gnu.org>
11062
11063 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11064 letters in cite-prefix.
11065
a1eacd1e
LMI
110662012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11067
11068 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11069
787cdb34
CY
110702012-01-03 Chong Yidong <cyd@gnu.org>
11071
1d00653d
SM
11072 * shell.el (shell-dynamic-complete-functions):
11073 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11074 comint-filename-completion first (Bug#10417).
11075
30710442
RS
110762012-01-02 Richard Stallman <rms@gnu.org>
11077
11078 * battery.el (battery-status-function):
11079 Detect when to use battery-yeeloong-sysfs.
11080 (battery-echo-area-format): Add string for Yeeloong.
11081 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11082 (battery-yeeloong-sysfs): New function.
11083
f75bfc33
CY
110842012-01-02 Chong Yidong <cyd@gnu.org>
11085
11086 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11087 (dirtrack): Merge code for handling relative filenames in prompt
11088 from shell-dir-cookie-watcher.
11089 (dirtrack-debug-message): New arg to avoid excess format calls.
11090
11091 * shell.el (shell-dir-cookie-re): Variable deleted.
11092 (shell-dir-cookie-watcher): Function deleted.
11093 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11094 with dirtrack-mode.
11095
651e947e
EZ
110962012-01-01 Eli Zaretskii <eliz@gnu.org>
11097
1d00653d
SM
11098 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11099 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11100 libgnutls-26.dll.
11101
94d4c7dc
AS
111022011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11103
11104 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11105
8d43f3cd
EZ
111062011-12-31 Eli Zaretskii <eliz@gnu.org>
11107
11108 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11109 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11110
98c8795a
MA
111112011-12-29 Michael Albinus <michael.albinus@gmx.de>
11112
11113 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11114 also for alternative shells.
11115 (tramp-open-connection-setup-interactive-shell): Check, whether
11116 the shell is a busybox.
11117 (tramp-send-command): Don't suppress multiple prompts for
11118 busyboxes, it hurts.
11119
51281b32
CY
111202011-12-28 Chong Yidong <cyd@gnu.org>
11121
11122 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11123 (gdb-get-source-file): Move mode line update to
11124 gdb-get-source-file (Bug#10087).
11125
2170cb53
CY
111262011-12-25 Chong Yidong <cyd@gnu.org>
11127
11128 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11129 gud-gdb-marker-filter without taking it as an argument.
11130 (gud-gdb-run-command-fetch-lines): Caller changed.
11131 (gud-gdb-completion-function): New variable.
11132 (gud-gdb-completion-at-point): Use it.
11133 (gud-gdb-completions-1): Split from gud-gdb-completions.
11134
11135 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11136 function as separate arguments.
11137 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11138 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11139 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11140 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11141 (gdb-stopped, def-gdb-auto-update-trigger)
11142 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11143 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11144 Callers changed.
2170cb53
CY
11145 (gud-gdbmi-completions): New function.
11146 (gdb): Use it for generating the completion table.
11147
be8b11bb
AM
111482011-12-24 Alan Mackenzie <acm@muc.de>
11149
11150 Introduce a mechanism to widen the region used in context font
1d00653d 11151 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11152
1d00653d
SM
11153 * progmodes/cc-langs.el (c-before-font-lock-functions):
11154 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11155 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11156 functions to be run just before context (etc.) font locking.
11157
11158 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11159 New, functionality extracted from
be8b11bb 11160 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11161 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11162 (c-after-change): Set c-in-after-change-fontification.
11163 (c-set-fl-decl-start): Rejig its interface, so it can be called
11164 from both after-change and context fontifying.
b81d40f0
JB
11165 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11166 New functions.
11167 (c-standard-font-lock-fontify-region-function): New variable.
11168 (c-font-lock-fontify-region): New function.
be8b11bb 11169
341cf6ac
JL
111702011-12-24 Juri Linkov <juri@jurta.org>
11171
11172 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11173 (Bug#10348)
11174
bffcee0a
MA
111752011-12-23 Michael Albinus <michael.albinus@gmx.de>
11176
11177 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11178 existence of source file. (Bug#10325)
11179
cb5e207c
AM
111802011-12-23 Alan Mackenzie <acm@muc.de>
11181
11182 Fix unstable fontification inside templates.
11183
b81d40f0
JB
11184 * progmodes/cc-langs.el (c-before-font-lock-functions):
11185 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11186 additionally has c-set-fl-decl-start. The other languages (apart
11187 from AWK) have that as a single entry.
11188
b81d40f0
JB
11189 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11190 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11191 c-set-fl-decl-start.
11192
b81d40f0
JB
11193 * progmodes/cc-mode.el (c-common-init, c-after-change):
11194 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11195 (c-set-fl-decl-start): New function, extracted from
11196 c-font-lock-enclosing-decls and enhanced.
11197
60ff536c
JB
111982011-12-23 Juanma Barranquero <lekktu@gmail.com>
11199
11200 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11201
1c4757d6
JL
112022011-12-22 Juri Linkov <juri@jurta.org>
11203
11204 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11205
d031f2c7
CY
112062011-12-22 Chong Yidong <cyd@gnu.org>
11207
11208 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11209
bace743a
DA
112102011-12-21 Drew Adams <drew.adams@oracle.com>
11211
11212 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11213
728a1f2b
JC
112142011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11215
11216 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11217
0d373f73
TZ
112182011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11219
fec0aaa4
TZ
11220 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11221 highlighting and support. Fix up comments for capitalization.
11222 (cfengine-mode-debug): New var.
11223 (cfengine3-mode): Change the modeline indicator to "CFE3".
11224 (cfengine3-font-lock-keywords): Improve defun highlighting.
11225 (cfengine2-actions): Rename from `cfengine-actions'.
11226 (cfengine2-font-lock-keywords): Rename from
11227 `cfengine-font-lock-keywords'.
11228 (cfengine2-imenu-expression): Rename from
11229 `cfengine-imenu-expression'.
11230 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11231 (cfengine2-beginning-of-defun): Rename from
11232 `cfengine-beginning-of-defun'.
11233 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11234 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11235 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11236 modeline indicator to "CFE2".
11237 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11238 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11239
bc86f573
CY
112402011-12-21 Chong Yidong <cyd@gnu.org>
11241
11242 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11243 filename argument.
11244
d45ba96b
MR
112452011-12-20 Martin Rudalics <rudalics@gmx.at>
11246
11247 * window.el (window-normalize-buffer-to-display): Remove.
11248 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11249
a6198c90
CY
112502011-12-19 Chong Yidong <cyd@gnu.org>
11251
11252 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11253 Don't signal an error in a predicate function; return non-nil.
11254 (vc-dir-mark-file): Move the error here.
11255 (vc-dir-mark-unmark): If acting on the region, keep going if one
11256 of the entries cannot be marked/unmarked.
11257 (vc-dir-mark-all-files): If current entry is a directory, mark
11258 only child files, as documented.
11259
34c5fb55
VB
112602011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11261
11262 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11263 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11264 addition.
11265
c803b2b7
JD
112662011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11267
11268 * term/ns-win.el (ns-get-selection-internal)
11269 (ns-store-selection-internal): Declare.
1154d12e
JB
11270 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11271 Declare as obsolete.
11272 (ns-get-pasteboard, ns-paste-secondary):
11273 Use ns-get-selection-internal.
41e9b956 11274 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11275 Use ns-store-selection-internal.
c803b2b7 11276
9cff91f8 112772011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11278
11279 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11280 (vc-deduce-fileset): Doc fix.
99a289d9 11281
f16c898a
AS
112822011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11283
11284 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11285
763237c4
SS
112862011-12-13 Sam Steingold <sds@gnu.org>
11287
11288 * man.el (Man-getpage-in-background): When running under a
11289 window-system, ignore $MANWIDTH and $COLUMNS.
11290
5fc1c122
KH
112912011-12-15 Kenichi Handa <handa@m17n.org>
11292
11293 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11294 (setup-ethiopic-environment-internal): Comment out key-binding for
11295 ethio-toggle-punctuation.
11296
13d49cbb
AM
112972011-12-13 Alan Mackenzie <acm@muc.de>
11298
898169a2
AM
11299 Add the switch statement to AWK Mode.
11300
7a71b18d 11301 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11302 "default" to the keywords regexp.
11303
7a71b18d 11304 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11305 expression as the rest.
1d00653d
SM
11306 (c-nonlabel-token-key): Allow string literals for AWK.
11307 Refactor for the other modes.
898169a2 11308
13d49cbb 11309 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11310 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11311 routines. Limit backward searching in c-font-lock-enclosing.decl.
11312
11313 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11314 pp-state and literal type in addition to the limits.
1d00653d 11315 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11316 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11317 (c-slow-in-literal, c-fast-in-literal): Remove.
11318 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11319
11320 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11321 being in a literal. Add a limit for backward searching.
11322
11323 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11324 c-slow-in-literal.
11325
15e0efc7
SM
113262011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11329
454592a6
MR
113302011-12-13 Martin Rudalics <rudalics@gmx.at>
11331
11332 * window.el (delete-other-windows): Use correct frame in call to
11333 window-with-parameter.
11334
87393f26
DP
113352011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11336
11337 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11338 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11339 (makefile-gmake-statements, makefile-makepp-statements):
11340 Use it and add new makepp keywords.
11341 (makefile-makepp-font-lock-keywords): Add new patterns.
11342 (makefile-match-function-end): Match new [...] and [[...]].
11343
11636b22
JB
113442011-12-11 Juanma Barranquero <lekktu@gmail.com>
11345
11346 * ses.el (ses-call-printer-return, ses-cell-property-get)
11347 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11348 (ses-create-cell-variable, ses-reset-header-string)
11349 (ses-cell-set-formula, ses-repair-cell-reference-all)
11350 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11351 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11352 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11353 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11354 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11355 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11356 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11357 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11358 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11359 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11360 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11361 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11362
cf018193
VB
113632011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11364
11365 * ses.el: The overall change is to add cell renaming, that is
11366 setting fancy names for cell symbols other than name matching
11367 "\\`[A-Z]+[0-9]+\\'" regexp .
11368 (ses-create-cell-variable): New defun.
11369 (ses-relocate-formula): Relocate formulas only for cells the
11370 symbols of which are not renamed, i.e. symbols whose names do not
11371 match regexp "\\`[A-Z]+[0-9]+\\'".
11372 (ses-relocate-all): Relocate values only for cells the symbols of
11373 which are not renamed.
11374 (ses-load): Create cells variables as the (ses-cell ...) are read,
11375 in order to check row col consistency with cell symbol name only
11376 for cells that are not renamed.
11377 (ses-replace-name-in-formula): New defun.
11378 (ses-rename-cell): New defun.
11379
ee957461
CY
113802011-12-11 Chong Yidong <cyd@gnu.org>
11381
11382 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11383 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11384
9a9e9ef0
MR
113852011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11386
11387 * window.el (other-window): Fix docstring.
11388
92a8eba5
EZ
113892011-12-10 Eli Zaretskii <eliz@gnu.org>
11390
11391 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11392 `from' or `to' address before taking its substring.
11393 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11394 encoded name is chopped in the middle of the encoded string, and
11395 thus displayed encoded.
11396
e152e577
JB
113972011-12-10 Juanma Barranquero <lekktu@gmail.com>
11398
11399 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11400
e5d84bfe
EZ
114012011-12-10 Eli Zaretskii <eliz@gnu.org>
11402
11403 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11404 to use texinfo-update-node and commands that call it if the
11405 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11406 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11407 (texinfo-all-menus-update, texinfo-master-menu)
11408 (texinfo-update-node, texinfo-every-node-update)
11409 (texinfo-multiple-files-update): Doc fix. Warn against updating
11410 all the @node lines.
11411 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11412 argument is numeric. Explain better in the doc string what the
11413 function really does.
11414 (texinfo-insert-master-menu-list): Improve the error message
11415 displayed if there's no menu in the Top node.
11416 (Bug#2975) See also this thread:
e5d84bfe
EZ
11417 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11418
1d84e9bb
MG
114192011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11420
11421 * speedbar.el (speedbar-supported-extension-expressions):
11422 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11423
382c953b
JB
114242011-12-09 Juanma Barranquero <lekktu@gmail.com>
11425
11426 * printing.el (pr-mode-alist):
11427 * simple.el (filter-buffer-substring-functions)
11428 (completion-list-insert-choice-function):
11429 * window.el (window-with-parameter, window-atom-root)
11430 (window-sides-slots, window-size-fixed, window-min-delta)
11431 (window-max-delta, window--resize-mini-window)
11432 (window--resize-child-windows-normal, window-tree)
11433 (delete-other-windows, quit-window, split-window)
11434 (display-buffer-record-window, special-display-buffer-names)
11435 (special-display-regexps, special-display-popup-frame)
11436 (same-window-p, split-window-sensibly)
11437 (display-buffer-overriding-action, display-buffer-alist)
11438 (display-buffer-base-action, display-buffer, switch-to-buffer)
11439 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11440 (fit-window-to-buffer, recenter-positions)
11441 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11442 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11443 and remove unneeded backslashes in docstrings.
11444
39c9faef
SM
114452011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11446
98449af8
SM
11447 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11448
39c9faef
SM
11449 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11450 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11451 end in ".mk".
11452 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11453 when reading the makefile (bug#10116).
11454
86ed9fdc
SM
114552011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11456
11457 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11458 (bug#10116).
11459
5580f89d
GM
114602011-12-06 Glenn Morris <rgm@gnu.org>
11461
11462 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11463
28d3917c
CY
114642011-12-06 Chong Yidong <cyd@gnu.org>
11465
11466 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11467
a98edce9
JB
114682011-12-06 Juanma Barranquero <lekktu@gmail.com>
11469
11470 * textmodes/table.el (table-shorten-cell): Fix typo.
11471
e65adfac
CG
114722011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11473
11474 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11475
71cc0b74
EZ
114762011-12-05 Eli Zaretskii <eliz@gnu.org>
11477
11478 * descr-text.el (describe-char): Fix display of strong
11479 right-to-left characters and directional embeddings and overrides.
11480
11481 * simple.el (what-cursor-position): Fix display of codepoints of
11482 strong right-to-left characters.
11483
315bc30d
CY
114842011-12-05 Chong Yidong <cyd@gnu.org>
11485
11486 * faces.el (read-color): Doc fix.
11487
58a70b94
GM
114882011-12-05 Glenn Morris <rgm@gnu.org>
11489
11490 * align.el (align--set-marker): Add doc-string.
11491 Don't try to move something that is not a marker. (Bug#10216)
11492
5158face
GM
114932011-12-04 Glenn Morris <rgm@gnu.org>
11494
11495 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11496 overly zealous deletion of trailing whitespace.
11497
520fca41
JB
114982011-12-04 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * server.el (server-delete-client): On Windows, do not try to delete
11501 the only terminal.
11502 (server-process-filter): On Windows, treat requests for a tty frame as
11503 if they were for a GUI frame if the running server is in GUI mode.
11504
5e605a2e
GM
115052011-12-03 Glenn Morris <rgm@gnu.org>
11506
11507 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11508
5c3fe83f
SM
115092011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11510
6f5e57e7
SM
11511 * electric.el: Streamline electric-indent's hook.
11512 (electric-indent-chars): Revert to simple list.
11513 (electric-indent-functions): New var.
11514 (electric-indent-post-self-insert-function): Use it.
11515
5c3fe83f
SM
11516 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11517 there's no inferior buffer (bug#10196).
11518 (prolog-consult-compile): Don't use toggle-read-only.
11519
6bdac736
MA
115202011-12-02 Michael Albinus <michael.albinus@gmx.de>
11521
11522 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11523 interrupt. (Bug#10187)
11524
6131ba7f
SM
115252011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11526
99c79fee
SM
11527 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11528 (bug#9160).
11529
6131ba7f
SM
11530 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11531 (bug#10191).
11532
cb0a02ea
JL
115332011-12-02 Juri Linkov <juri@jurta.org>
11534
11535 * info.el (Info-search): Display "end of manual" when Isearch
11536 reaches the end of single-file Info manual. (Bug#9918)
11537
66e0570c
EZ
115382011-12-02 Eli Zaretskii <eliz@gnu.org>
11539
11540 * isearch.el (isearch-message-prefix): Run the input method part
11541 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11542
02b16839
JL
115432011-12-02 Juri Linkov <juri@jurta.org>
11544
11545 * isearch.el (isearch-occur): Use `word-search-regexp' for
11546 `isearch-word'.
11547 (isearch-search-and-update): Add condition for `isearch-word' and
11548 call `word-search-regexp'. (Bug#10145)
11549
0b950688
GM
115502011-12-01 Glenn Morris <rgm@gnu.org>
11551
11552 * eshell/em-hist.el (eshell-hist-initialize):
11553 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11554 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11555
9505c3c7
SM
115562011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11557
11558 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11559
1bbe96b2 115602011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11561
a1beca85
SM
11562 * progmodes/verilog-mode.el (verilog-pretty-expr):
11563 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11564 verilog, such as += *= and the like.
11565 (verilog-assignment-operator-re): Regular expression to find the
11566 assigment operator in a verilog assignment.
11567 (verilog-assignment-operation-re): Regular expression to find an
11568 assignment statement for pretty-expr.
11569 (verilog-in-attribute-p): Query returns true if point is in an
11570 attribute context; used to skip these for expression line up from
11571 pretty-expr.
11572 (verilog-in-parameter-p): Query returns true if point is in an
11573 parameter definition context; used to skip these for expression
11574 line up from pretty-expr.
11575 (verilog-in-parenthesis-p): Query returns true if point is in a
11576 parenthetical expression, specifically ( ) but not [ ] or { };
11577 used by pretty-expr.
11578 (verilog-just-one-space): If there is no space, don't add one.
11579 (verilog-get-lineup-indent-2): Specifically skip just attribute
11580 contexts for expression lineup, rather than skipping all
11581 parenthetical expressions.
11582 (verilog-calculate-indent): Fix comment, and fix indent.
11583 (verilog-do-indent): Indent declarations in lists (suggested by
11584 Joachim Lechner).
11585 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11586 skeleton items.
11587 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11588 by Alain Mellan).
11589
1bbe96b2 115902011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11591
11592 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11593 parameters with embedded comments. Reported by Ray Stevens.
11594 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11595 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11596 Reported by Tim Holt.
11597 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11598 instantiated by upper module causing wrong expansion until AUTOed a
11599 second time. Reported by K C Buckenmaier.
11600 (verilog-diff-auto): Fix showing .* as a difference when
11601 `verilog-auto-star-save' off. Reported by Dan Dever.
11602 (verilog-auto-reset, verilog-read-always-signals)
11603 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11604 temporary signals in reset list if
11605 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11606 style to each signal's assignment type, bug381.
11607 Reported by Thomas Esposito.
6288f0ca
WS
11608 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11609 (verilog-uvm-statement-re): Support UVM indentation and
11610 highlighting, with old OVM keywords only.
a1beca85 11611 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11612 Support AUTOTIEOFF creating non-wire data types.
11613 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11614 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11615 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11616 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11617 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11618 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11619 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11620 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11621 non-numeric vector width. Reported by Alex Reed.
11622 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11623 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11624 (verilog-auto-delete-trailing-whitespace):
11625 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11626 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11627 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11628 Fix verilog-scan-cache corruption when running user AUTO expansion
11629 hooks that call indentation routines.
11630 (verilog-simplify-range-expression): Fix typo ignoring lower case
11631 identifiers.
11632 (verilog-delete-auto): Fix delete-autos to also remove user created
11633 automatics, as long as they start with AUTO.
11634 (verilog-batch-diff-auto, verilog-diff-auto)
11635 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11636 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11637 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11638 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11639 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11640 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11641 is disabled and its cache will get corrupt, causing AUTOS not to
11642 expand. Instead use only -quick functions.
11643 (verilog-scan-region): Fix scanning over escaped quotes.
11644 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11645 (verilog-re-search-backward-quick)
11646 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11647 related functions now ignore strings, to fix misparsing of strings
11648 with magic comments embedded in them.
a1beca85
SM
11649 (verilog-read-auto-template):
11650 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11651 Reported by Brad Dobbie.
11652 (verilog-read-auto-template):
11653 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11654 Reported by Brad Dobbie.
6288f0ca
WS
11655 (verilog-auto-inst, verilog-auto-inst-param)
11656 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11657 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11658 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11659 debugging templates without merge conflicts, bug357.
11660 Reported by Brad Dobbie.
11661 (verilog-read-auto-template):
11662 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11663 Reported by Brad Dobbie.
11664 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11665 abbrevs so user won't be asked to save.
11666 (verilog-read-auto-lisp-present): Fix to start at beginning of
11667 buffer in case called outside of verilog-auto.
11668 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11669 to "X-2". Reported by Matthew Myers.
11670 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11671 all inputs from module templates. Reported by Leith Johnson.
11672 (verilog-module-inside-filename-p): Fix locating programs as with
11673 modules.
11674 (verilog-auto-inst-port): Fix vl-width expressions when using
11675 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11676 (verilog-decls-get-regs, verilog-decls-get-signals,
11677 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11678 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11679 verilog-read-decls): Combine reg and wire structures into one var
11680 structure to represent SystemVerilog concepts.
11681 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11682 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11683 (verilog-auto-wire-type, verilog-insert-definition):
11684 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11685 SystemVerilog "logic" keyword instead of "wire"/"reg".
11686 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11687 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11688 ifdef or generate if so there's not a driver conflict).
11689 Reported by Matthew Myers.
11690 (verilog-auto-declare-nettype, verilog-insert-definition):
11691 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11692 `default_nettype none. Reported by Julian Gorfajn.
11693 (verilog-read-always-signals-recurse, verilog-read-decls)
11694 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11695 malformed end statement, bug325. Reported by Joshua Wise and
11696 Andrew Drake.
11697 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11698 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11699 when expanding .* in interfaces, bug320.
11700 Reported by Pierre-David Pfister.
6288f0ca 11701 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11702 name and open parenthesis, bug317.
11703 Reported by Pierre-David Pfister.
6288f0ca
WS
11704 (verilog-simplify-range-expression): Fix simplification of
11705 multiplications inside AUTOWIRE connections, bug303.
11706 (verilog-auto-inst-port): Support parameter expansion in
11707 multidimensional arrays.
11708 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11709 after "assert property". Reported by Julian Gorfajn.
11710 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11711 with multiplication, bug303.
11712 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11713 Reported by Jan Frode Lonnum.
11714
1bbe96b2
GM
117152011-11-30 Juanma Barranquero <lekktu@gmail.com>
11716
11717 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11718 (hfy-shell-file-name, hfy-shell):
11719 * international/fontset.el (x-decompose-font-name): Fix typos.
11720
117212011-11-29 Ken Brown <kbrown@cornell.edu>
11722
11723 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11724 (gdb-version): Remove defvar.
11725 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11726 (gdb-gud-context-command, gdb-non-stop-handler)
11727 (gdb-current-context-command, gdb-stopped): Use it.
11728 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11729 (gdb-non-stop-handler): Don't enable pretty-printing here.
11730 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11731 non-stop mode. Use the following.
11732 (gdb-check-target-async): New defun.
11733 (gud-watch, gdb-stopped): Fix whitespace.
11734 (gdb-get-source-file): Don't try to display the source file if
11735 `gdb-main-file' is nil.
11736
117372011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * align.el: Try to generate fewer markers (bug#10047).
11740 (align--set-marker): New macro.
11741 (align-region): Use it.
11742
c935221f
SM
117432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11744
11745 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11746
e70b5064
CY
117472011-11-29 Chong Yidong <cyd@gnu.org>
11748
11749 * indent.el (indent-for-tab-command, indent-according-to-mode):
11750 Doc fix.
11751 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11752
f3af92b7
MA
117532011-11-29 Michael Albinus <michael.albinus@gmx.de>
11754
11755 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11756 aware of remote file names. (Bug#10124)
11757
ed472be9
CY
117582011-11-29 Chong Yidong <cyd@gnu.org>
11759
11760 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11761
24510c22
SM
117622011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * files.el (find-file): Don't use force-same-window (bug#10144).
11765 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11766 use pop-to-buffer if the selected window can't be used.
11767 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11768
c60c3703
EZ
117692011-11-28 Eli Zaretskii <eliz@gnu.org>
11770
11771 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11772 special-mode-map.
11773
e95def75
CY
117742011-11-28 Chong Yidong <cyd@gnu.org>
11775
11776 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11777
c3f1c606
NR
117782011-11-27 Nick Roberts <nickrob@snap.net.nz>
11779
11780 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11781 gdb-get-source-file-list on gdb-create-source-file-list.
11782
00db469c
EZ
117832011-11-26 Eli Zaretskii <eliz@gnu.org>
11784
11785 * whitespace.el (whitespace-newline): Use a different foreground
11786 color for 16-color light-background displays.
11787
4ad3bc2a
CY
117882011-11-24 Chong Yidong <cyd@gnu.org>
11789
11790 * window.el (display-buffer--special-action): Doc fix.
11791
e9fce1ac
JB
117922011-11-25 Juanma Barranquero <lekktu@gmail.com>
11793
11794 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11795 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11796 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11797 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11798 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11799 (avl-tree-stack-first):
11800 * emacs-lisp/cconv.el (cconv--analyse-use):
11801 * net/gnutls.el (gnutls-negotiate): Fix typos.
11802
cb825e5d
GM
118032011-11-24 Glenn Morris <rgm@gnu.org>
11804
3adbe224
GM
11805 * lpr.el (lpr-windows-system, lpr-lp-system):
11806 * mail/binhex.el (binhex-begin-line):
11807 * progmodes/grep.el (grep-history, grep-find-history):
11808 * textmodes/flyspell.el:
11809 * vc/pcvs-defs.el (cvs-global-menu):
11810 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11811 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11812 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11813
321decc8
GM
11814 * net/tls.el: Fix case of "GnuTLS".
11815
420b63ad
GM
11816 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11817
cb825e5d
GM
11818 * version.el (emacs-build-system): Give it a doc-string.
11819
a0649f08
JL
118202011-11-24 Juri Linkov <juri@jurta.org>
11821
11822 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11823
c0bc0fd4
GM
118242011-11-24 Glenn Morris <rgm@gnu.org>
11825
11826 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11827 if called on a non-mime message just toggle the headers. (Bug#8006)
11828
20db1522
JB
118292011-11-24 Juanma Barranquero <lekktu@gmail.com>
11830
11831 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11832 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11833 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11834 (allout-rebullet-heading, allout-open-sibtopic)
11835 (allout-toggle-current-subtree-encryption)
11836 (allout-toggle-subtree-encryption, allout-encrypt-string)
11837 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11838 (allout-distinctive-bullets-string, allout-auto-activation):
11839 * window.el (window-normalize-buffer-to-display):
11840 * progmodes/verilog-mode.el (verilog-batch-indent):
11841 * textmodes/bibtex.el (bibtex-field-braces-opt)
11842 (bibtex-field-strings-opt):
11843 * vc/cvs-status.el (cvs-tree-merge):
11844 Fix typos.
11845
7262a87c
MA
118462011-11-23 Michael Albinus <michael.albinus@gmx.de>
11847
11848 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11849 `non-essential' to t, in order to avoid remote connections.
11850
283430a1
EZ
118512011-11-23 Eli Zaretskii <eliz@gnu.org>
11852
a1beca85
SM
11853 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11854 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11855 case-insensitively.
11856
d2992a38
ML
118572011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11858
11859 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11860
50419064
GM
118612011-11-23 Glenn Morris <rgm@gnu.org>
11862
da94eca1
GM
11863 * paths.el (rmail-file-name): Reformat the doc-string so that it
11864 is picked up.
11865
9aac4de2
GM
11866 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11867 (rmail-auto-file): Ignore case in the "special" field names,
11868 as mail-fetch-field does for all others.
11869
8038d2d2
GM
11870 * mail/rmail.el (rmail-forward):
11871 * mail/rmailkwd.el (rmail-set-label):
11872 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11873 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11874
f3fe222a
GM
11875 * mail/rmail.el (rmail-current-message): Doc fix.
11876
50419064
GM
11877 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11878
28109f49
SM
118792011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11882
394c65f1
GM
118832011-11-22 Glenn Morris <rgm@gnu.org>
11884
11885 * mail/rmailmm.el (test-rmail-mime-handler)
11886 (test-rmail-mime-bulk-handler)
11887 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11888
f2a0aa3a
JL
118892011-11-21 Juri Linkov <juri@jurta.org>
11890
1154d12e
JB
11891 * calc/calc.el (calc-read-key-sequence):
11892 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11893
9c34a344
LMI
118942011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11895
11896 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11897 Tell the caller that the next line needs recomputation, even
11898 though it doesn't start a sexp (bug#10094).
11899
f04a3be9
SM
119002011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11903
7978747f
SM
119042011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11905
f04a3be9
SM
11906 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11907 Use force-same-window.
7978747f 11908
fe7a3057
JB
119092011-11-20 Juanma Barranquero <lekktu@gmail.com>
11910
11911 * descr-text.el (describe-char-unicode-data):
11912 * json.el (json-string-escape):
11913 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11914 (Footnote-unicode, Footnote-style-p):
11915 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11916
24901d61
CY
119172011-11-20 Chong Yidong <cyd@gnu.org>
11918
11919 * window.el (replace-buffer-in-windows): Restore interactive spec.
11920
bac7ff22
SM
119212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11922
24f3d7b9
SM
11923 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11924
bac7ff22
SM
11925 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11926 (byte-compile-global-not-obsolete-vars): New var.
11927 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11928 Use it.
11929 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11930
cd1181db
JB
119312011-11-20 Juanma Barranquero <lekktu@gmail.com>
11932
11933 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11934 * progmodes/pascal.el (electric-pascal-equal):
11935 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11936 * xml.el (xml-substitute-special): Fix typos.
11937
7fb18e9e
GM
119382011-11-20 Glenn Morris <rgm@gnu.org>
11939
11940 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11941 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11942 Doc fixes.
11943 (rmail-decode-mime-charset): Mark as obsolete.
11944
11945 * mail/rmailsum.el (rmail-message-regexp-p-1):
11946 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11947 Before using mime functions, check they are set. (Bug#10077)
11948
d5a6b3ba
JL
119492011-11-19 Juri Linkov <juri@jurta.org>
11950
11951 * info.el (Info-finder-find-node): Use `package--builtins' instead
11952 of `package-alist'. Use node names formed by the pattern "Keyword "
11953 and the keyword name.
11954
e981b61f
AS
119552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11956
1d00653d 11957 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11958
3ffbc301
JL
119592011-11-19 Juri Linkov <juri@jurta.org>
11960
11961 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11962 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11963 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11964 `old-history', `old-history-forward'. Add let-binding
11965 `window-selected'. Remove calls to `kill-buffer',
11966 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11967 before calling `Info-find-node', so `Info-find-node-2' will reread
11968 the Info file. Restore window positions only when `window-selected'
11969 is non-nil.
11970
30c62133
JL
119712011-11-19 Juri Linkov <juri@jurta.org>
11972
11973 * isearch.el (isearch-lazy-highlight-new-loop):
11974 Remove condition `(not isearch-error)'. (Bug#9918)
11975
11976 * misearch.el (multi-isearch-search-fun): Add condition
11977 `(not bound)' to ignore lazy-highlighting search.
11978 Add the search-failed message "end of multi" when the end of
11979 multi-sequence is reached. Uncapitalize the search-failed
11980 message "Repeat for next buffer".
11981
11982 * info.el (Info-search): Add the search-failed message
11983 "end of the manual" when the end of the manual is reached
11984 in Isearch mode.
11985
645ca9cf
JL
119862011-11-19 Juri Linkov <juri@jurta.org>
11987
11988 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11989 Use non-destructive `remove' instead of `delete' because
11990 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11991 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11992
df754f66
JL
119932011-11-19 Juri Linkov <juri@jurta.org>
11994
11995 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11996 to nil instead of binding `search-ring' and `regexp-search-ring'.
11997 (Bug#9185)
11998
0e23d96a
EZ
119992011-11-19 Eli Zaretskii <eliz@gnu.org>
12000
12001 * simple.el (line-move): Force movement by logical lines for any
12002 hscrolled window, not only when auto-hscroll-mode is on.
12003 (line-move-visual): Update doc string to that effect. (Bug#10076)
12004
8a6ccb66
AS
120052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12006
12007 * language/european.el (macintosh): Define as alias for mac-roman.
12008
49ae5b39
EZ
120092011-11-19 Eli Zaretskii <eliz@gnu.org>
12010
12011 * mail/rmailmm.el (rmail-mime-display-header)
12012 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12013 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12014 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12015 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12016 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12017 of a raw aref.
12018 (rmail-mime-entity-segment): To get past the tagline, move forward
12019 2 more lines, to account for the 2 empty lines that precede and
12020 follow the line with the buttons.
12021 (rmail-mime-update-tagline): Move one more line, to get past the
12022 empty line that follows the buttons in the tagline. (Bug#9520)
12023
c56cad4a
MR
120242011-11-19 Martin Rudalics <rudalics@gmx.at>
12025
12026 * window.el (window-max-delta-1, window-min-delta-1)
12027 (window-min-size-1, window-state-get-1, window-state-put-1)
12028 (window-state-put-2): Use "window--" prefix.
12029
cbe71af3
SM
120302011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12031
2ad52c60
SM
12032 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12033 (smie-warning-count): New var.
12034 (smie-set-prec2tab): Use it.
12035 (smie-bnf->prec2): Improve warnings. Add docstring.
12036 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12037 (smie-bnf--set-class): New function.
12038 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12039 corner case.
12040
6944dbc1
SM
12041 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12042 (compilation-error-properties, compilation-move-to-column):
12043 Handle compilation-first-column while in the target buffer.
12044
c400c4d7
SM
12045 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12046 Don't hardcode point-min==1.
12047
6dbe3e96
SM
12048 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12049 (eshell-rewrite-for-command): Remove workaround.
12050 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12051 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12052 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12053
cbe71af3
SM
12054 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12055
a8e1496d
GM
120562011-11-17 Glenn Morris <rgm@gnu.org>
12057
12058 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12059 Ignore buffer-local generated-autoload-file if it is the same
12060 as the global value. (Bug#10049)
12061
df85d315
JB
120622011-11-17 Juanma Barranquero <lekktu@gmail.com>
12063
12064 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12065 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12066 (reftex-toc-previous-heading, reftex-toc-max-level)
12067 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12068 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12069 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12070 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12071 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12072 (reftex-toc-rename-label, reftex-toc-visit-location)
12073 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12074 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12075 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12076 leaving "*toc*" only for references to the buffer.
12077
a0c2d0ae
MR
120782011-11-17 Martin Rudalics <rudalics@gmx.at>
12079
12080 * window.el (window-resize, delete-window, split-window):
12081 Replace window-splits by window-combination-resize.
1d00653d 12082 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12083
35c0bac8
GM
120842011-11-17 Glenn Morris <rgm@gnu.org>
12085
12086 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12087 Make bash entry derive from sh entry, not shell entry.
12088
d0c8fc8a
MA
120892011-11-16 Michael Albinus <michael.albinus@gmx.de>
12090
7262a87c
MA
12091 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12092 local file name.
12093
7877f373
JB
120942011-11-16 Juanma Barranquero <lekktu@gmail.com>
12095
12096 * menu-bar.el (menu-bar-file-menu):
12097 * printing.el (pr-ps-utility):
12098 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12099 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12100 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12101 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12102 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12103 (icalendar--convert-cyclic-to-ical)
12104 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12105 (icalendar--convert-ical-to-diary)
12106 (icalendar--convert-recurring-to-diary)
12107 (icalendar--convert-non-recurring-all-day-to-diary)
12108 (icalendar-import-format-sample):
12109 * progmodes/idlw-shell.el (idlwave-shell-mode):
12110 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12111 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12112 (vhdl-ps-print-init): Fix typos.
12113
10649b82
KM
121142011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12115
9d0cfcd6
GM
12116 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12117 FSF and collapse date sequence, obscure author/maintainer email address
12118 better, remove extra version line, track relocation of author's webpage.
10649b82 12119
9d0cfcd6
GM
12120 * progmodes/python.el (python-pdbtrack-input-prompt)
12121 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12122 regular python pdb prompts. Adjustments shamelessly taken exactly as
12123 suggested in EmacsWiki page (tiny change):
12124 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12125
58179cce
JB
121262011-11-16 Juanma Barranquero <lekktu@gmail.com>
12127
12128 * expand.el (expand-pos, expand-index, expand-point):
12129 Remove redundant info from docstring.
12130 (expand-add-abbrevs): Doc fix.
12131 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12132 (expand-sample-perl-mode-expand-list): Fix typos.
12133
12134 * net/dbus.el (dbus-event-member-name):
12135 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12136 * term/pc-win.el (msdos-create-frame-with-faces):
12137 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12138
b6f67890
MR
121392011-11-16 Martin Rudalics <rudalics@gmx.at>
12140
12141 * window.el (split-window, window-state-get-1)
12142 (window-state-put-1, window-state-put-2): Rename occurrences of
12143 window-nest to window-combination-limit.
1d00653d 12144 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12145
ce7ddba0
CY
121462011-11-16 Chong Yidong <cyd@gnu.org>
12147
12148 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12149 regexp (Bug#10033).
12150
3ae704f4
SM
121512011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12152
12153 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12154 `completing-read' will remove *Completions* and will preserve
12155 current-buffer for us.
12156 (tmm-add-prompt): Users of *Completions* will always (re)set its
12157 major mode.
12158 (tmm-old-comp-map): Remove.
12159
6ad1cdde
GM
121602011-11-16 Glenn Morris <rgm@gnu.org>
12161
12162 * mail/rmailedit.el: Require rmailmm when compiling.
12163 (rmail-old-mime-state): New declaration.
12164 (rmail-edit-current-message): If editing a mime message,
12165 edit the "raw" message from the mbox buffer.
12166 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12167
d20faa20
GM
121682011-11-15 Glenn Morris <rgm@gnu.org>
12169
12170 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12171 which wasn't being used. Add optional arg to force given state.
12172 (rmail-mime): Add optional arg to force given state.
12173
c7015153
JB
121742011-11-15 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12177 * frame.el (display-mm-dimensions-alist):
12178 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12179 (outline-move-subtree-down):
12180 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12181 (newsticker--treeview-do-get-node):
12182 * net/quickurl.el (quickurl-list-buffer-name):
12183 * progmodes/dcl-mode.el (dcl-mode):
12184 * progmodes/gdb-mi.el (gdb-mapcar*):
12185 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12186
45261b50
GM
121872011-11-15 Glenn Morris <rgm@gnu.org>
12188
12189 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12190 in a boolean sense, so just make it a boolean, and fix the doc.
12191 (rmail-show-mime-function, rmail-mime-feature)
12192 (rmail-require-mime-maybe): Doc fixes.
12193 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12194
12195 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12196
0d26e0b6
JB
121972011-11-15 Juanma Barranquero <lekktu@gmail.com>
12198
12199 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12200 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12201 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12202 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12203
447f30f6
GM
122042011-11-15 Glenn Morris <rgm@gnu.org>
12205
672b871d
GM
12206 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12207 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12208 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12209 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12210 (rmail-mime, rmail-show-mime): Doc fixes.
12211
f6aa5bb1
GM
12212 * term/ns-win.el (mode-line-frame-identification):
12213 Leave it alone. (Bug#10051)
12214
947cd66b
GM
12215 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12216
447f30f6
GM
12217 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12218 Handle empty buffers. (Bug#9978)
12219
0b381c7e
JB
122202011-11-14 Juanma Barranquero <lekktu@gmail.com>
12221
12222 * international/mule.el (define-charset):
12223 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12224 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12225 * progmodes/verilog-mode.el (verilog-backward-token):
12226 * textmodes/ispell.el (lookup-words):
12227 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12228
71e027ac
GM
122292011-11-14 Glenn Morris <rgm@gnu.org>
12230
56632ce4
GM
12231 * progmodes/executable.el
12232 (executable-make-buffer-file-executable-if-script-p):
12233 Handle file-modes returning nil.
12234
40500957
GM
12235 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12236 message - not necessary, and causes problems. (Bug#9831)
12237
071c2340
GM
12238 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12239
d3cfca60
GM
12240 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12241
71e027ac
GM
12242 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12243 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12244 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12245
89d61221
MR
122462011-11-12 Martin Rudalics <rudalics@gmx.at>
12247
12248 * window.el (window-resize, delete-window): Use window-splits
12249 variable instead of function.
12250 (window-state-get-1, window-state-put-2, window-state-put):
12251 Don't deal with windows' splits status.
12252
98282f6f
GM
122532011-11-12 Glenn Morris <rgm@gnu.org>
12254
12255 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12256 (apropos-documentation): Doc fixes.
12257
40a8bdf6
JB
122582011-11-11 Juanma Barranquero <lekktu@gmail.com>
12259
12260 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12261 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12262
65bd19ff
SM
122632011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12264
12265 * electric.el (electric-indent-post-self-insert-function): Make it
12266 possible for a char to only indent in some circumstances.
12267 (electric-indent-mode): Simplify.
12268
54f9154c
MR
122692011-11-11 Martin Rudalics <rudalics@gmx.at>
12270
12271 * window.el (windows-with-parameter): Remove unused function.
12272 (windows-at-side): Rename to window-at-side-list.
12273 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12274 (window-side-check, window-size-ignore, window-size-fixed-1)
12275 (window-in-direction-2): Prefix with "window--".
12276 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12277
68cbc58b
GM
122782011-11-11 Glenn Morris <rgm@gnu.org>
12279
12280 * subr.el (eval-after-load): If FILE is already loaded,
12281 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12282
b2621720
GM
122832011-11-10 Glenn Morris <rgm@gnu.org>
12284
9a4de110
GM
12285 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12286 Call svn via vc-svn-command rather than vc-do-command.
12287 (vc-svn-command): Add --non-interactive. (Bug#9993)
12288 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12289
b2621720
GM
12290 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12291 Add toggle-read-only. (Bug#7292)
12292 * files.el (toggle-read-only): Mention that it should only
12293 be used interactively. (Bug#10006)
12294
1dce7193
SM
122952011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12296
d9ac1a1e
SM
12297 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12298 Adjust regexp for OCaml warnings.
12299
0c325082
SM
12300 * electric.el (electric-pair-post-self-insert-function): Let user
12301 turn it off buffer-locally (bug#9932).
12302
90132c14
SM
12303 * progmodes/python.el (python-beginning-of-statement):
12304 Rewrite (bug#2703).
12305
1dce7193
SM
12306 * progmodes/compile.el: Better handle TABs (bug#9749).
12307 (compilation-internal-error-properties)
12308 (compilation-next-error-function): Obey the target buffer's
12309 compilation-error-screen-columns.
12310
c4e7c63a
JB
123112011-11-09 Juanma Barranquero <lekktu@gmail.com>
12312
12313 * progmodes/meta-mode.el: Remove obsolete comments.
12314 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12315 Fix typos in docstrings.
12316
2cffd681
MR
123172011-11-09 Martin Rudalics <rudalics@gmx.at>
12318
12319 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12320 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12321 (window--resizable): New function. Make all callers of
12322 window-resizable call window--resizable instead.
12323 (window-resizable): Rewrite in terms of window--resizable.
12324
0edcba87
GM
123252011-11-08 Glenn Morris <rgm@gnu.org>
12326
12327 * progmodes/delphi.el (delphi-mode-syntax-table):
12328 Let define-derived-mode define a proper syntax table. (Bug#9994)
12329
4b0d61e3
SM
123302011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * window.el: Stay away from defsubst.
12333 (window-list-no-nils): Remove.
12334 (window-state-get-1, window-state-get): Use backquote instead.
12335
cd394be1 123362011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12337
4b0d61e3 12338 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12339 Fix incorrect use of default argument in `completing-read'.
12340
e1c2c6f2
MR
123412011-11-08 Martin Rudalics <rudalics@gmx.at>
12342
12343 * window.el (display-buffer-function, special-display-function):
12344 Mention display-buffer-record-window but do not mention
12345 help-setup parameter in doc-strings.
b3f4a882 12346 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12347
105216ed
CY
123482011-11-08 Chong Yidong <cyd@gnu.org>
12349
12350 * window.el (window-total-height, window-total-width): Doc fix.
12351 (window-body-size): Move from C.
12352 (window-body-height, window-body-width): Move to C.
12353
0a9f9ab5
SM
123542011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * window.el: Make special-display like display-buffer-alist (bug#9532).
12357 (display-buffer--special-action): New function, morphed
12358 from display-buffer--special.
12359 (display-buffer): Use it to handle special-display-buffers at higher
12360 priority (just after display-buffer-alist).
12361 (display-buffer-fallback-action, display-buffer--other-frame-action)
12362 (pop-to-buffer-same-window): Remove display-buffer--special.
12363
a769dd15
GM
123642011-11-07 Glenn Morris <rgm@gnu.org>
12365
12366 * calendar/cal-menu.el (cal-menu-set-date-title):
12367 Do nothing if not in a calendar. (Bug#9976)
12368
05a61ee3
SM
123692011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * files.el (find-file): Always use selected-window.
12372
be7f5545
MR
123732011-11-07 Martin Rudalics <rudalics@gmx.at>
12374
12375 * window.el (window-combinations): Make WINDOW argument
12376 mandatory. Rewrite doc-string.
12377 (walk-window-subtree, window-atom-check, window-min-delta)
12378 (window-max-delta, window--resize-this-window)
12379 (window--resize-root-window-vertically, window-tree)
12380 (balance-windows, window-state-put): Rewrite doc-strings as to
12381 not mention the term "subwindow".
12382 (window--resize-subwindows-skip-p): Rename to
12383 window--resize-child-windows-skip-p.
12384 (window--resize-subwindows-normal): Rename to
12385 window--resize-child-windows-normal.
12386 (window--resize-subwindows): Rename to
12387 window--resize-child-windows.
12388 (window-or-subwindow-p): Rename to window--in-subtree-p.
12389
3c6702ef
ML
123902011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12391
12392 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12393 Ensure that mbox format messages end in two newlines (Bug#9974).
12394
49745b39
CY
123952011-11-06 Chong Yidong <cyd@gnu.org>
12396
12397 * window.el (window-combination-p): Function deleted; its
12398 side-effect is not used in any existing code.
12399 (window-combinations, window-combined-p): Call window-*-child
12400 directly.
12401
24300f5f
CY
124022011-11-05 Chong Yidong <cyd@gnu.org>
12403
12404 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12405 (window-size-ignore, window-state-get): Callers changed.
12406 (window-normalize-window): Rename from window-normalize-any-window.
12407 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12408 (window-normalize-live-window): Delete.
447f16b8
CY
12409 (window-combination-p, window-combined-p, window-combinations)
12410 (walk-window-subtree, window-atom-root, window-min-size)
12411 (window-sizable, window-sizable-p, window-size-fixed-p)
12412 (window-min-delta, window-max-delta, window-resizable)
12413 (window-resizable-p, window-full-height-p, window-full-width-p)
12414 (window-current-scroll-bars, window-point-1, set-window-point-1)
12415 (window-at-side-p, window-in-direction, window-resize)
12416 (adjust-window-trailing-edge, maximize-window, minimize-window)
12417 (window-deletable-p, delete-window, delete-other-windows)
12418 (record-window-buffer, unrecord-window-buffer)
12419 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12420 (quit-window, split-window, window-state-put)
12421 (set-window-text-height, fit-window-to-buffer)
12422 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12423
89bd5ee1
EZ
124242011-11-04 Eli Zaretskii <eliz@gnu.org>
12425
53479029
EZ
12426 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12427 rfc2047-decode-string.
12428 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12429 warnings.
12430
89bd5ee1
EZ
12431 * window.el (window-body-height, window-body-width): Mention in
12432 the doc string that the return values are in frame's canonical
12433 units. (Bug#9949)
12434
bd17fdee
AM
124352011-11-03 Alan Mackenzie <acm@muc.de>
12436
12437 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12438 change in cc-engine.el.
12439
acc825c5
SM
124402011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12443
1885e5b8
MR
124442011-11-02 Martin Rudalics <rudalics@gmx.at>
12445
12446 * window.el (quit-window): Call unrecord-window-buffer after
12447 showing another buffer in the window. (Bug#9937)
acc825c5 12448 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12449
ebe06da9
JB
124502011-11-02 Juanma Barranquero <lekktu@gmail.com>
12451
12452 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12453 Accept status with more than 9 shelves. (Bug#9935)
12454 Reported by Colin D Bennett <colin@gibibit.com>.
12455
4ee88440
MR
124562011-11-01 Martin Rudalics <rudalics@gmx.at>
12457
12458 * help.el (with-help-window): Don't reference
12459 temp-buffer-show-specifiers in doc-string.
12460
08e1d82c
AS
124612011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12462
12463 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12464 menu-item.
12465
84bd6e9e
VJL
124662011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12467
12468 * whitespace.el: New version 13.2.2.
12469 (whitespace-newline-mode): Disable properly. Reported by Sarah
12470 <EmacsWiki>.
12471
dba0634a
UJ
124722011-10-30 Ulf Jasper <ulf.jasper@web.de>
12473
12474 * net/newst-treeview.el: Remove "Time-stamp".
12475 (newsticker--group-manage-orphan-feeds): Do not call
12476 newsticker--treeview-tree-update.
db22a3c2
JB
12477 (newsticker-treeview-update, newsticker-treeview):
12478 Call newsticker--treeview-tree-update if necessary.
dba0634a 12479
3d8daefe
MR
124802011-10-30 Martin Rudalics <rudalics@gmx.at>
12481
12482 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12483 (window-iso-combinations): Remove "iso-" infix.
12484 Suggested by Chong Yidong.
3d8daefe
MR
12485 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12486 (window-max-delta-1, window-resize, window--resize-siblings)
12487 (window--resize-this-window, adjust-window-trailing-edge)
12488 (split-window, balance-windows-1)
12489 (shrink-window-if-larger-than-buffer):
12490 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12491 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12492
1bc4c3ae
SM
124932011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12496 in place (bug#9907).
12497 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12498 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12499 (eshell-structure-basic-command, eshell-rewrite-while-command)
12500 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12501 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12502 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12503 (eshell-do-pipelines-synchronously, eshell-eval-command):
12504 Use backquotes and prefer setq to set.
12505 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12506 (eshell-macrop): Use functionp.
c1e2f5fa 12507 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12508
30b65d9c
CY
125092011-10-30 Chong Yidong <cyd@gnu.org>
12510
12511 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12512 instead of set-mark (Bug#9810).
12513
2d197ffb
CY
125142011-10-30 Chong Yidong <cyd@gnu.org>
12515
12516 * window.el (split-window-below, split-window-right): Rename from
12517 split-window-above-each-other and split-window-side-by-side
12518 respectively. All callers changed.
12519 (split-window-sensibly, split-window-sensibly): Use them.
12520 (split-window-keep-point): Doc fix.
12521
12522 * isearch.el: Add isearch-scroll property to split-window-below
12523 and split-window-right.
12524
12525 * follow.el (follow-mode):
12526 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12527 * progmodes/ada-xref.el (ada-gdb-application):
12528 * emulation/vip.el (vip-buffer-in-two-windows):
12529 * image-dired.el (image-dired-dired-with-window-configuration):
12530 * dired-x.el (dired-do-find-marked-files):
12531 * dired.el (dired-pop-to-buffer):
12532 * bs.el (bs--show-with-configuration):
12533 * vc/emerge.el (emerge-setup-windows):
12534 * textmodes/two-column.el (2C-two-columns):
12535 * textmodes/reftex-toc.el (reftex-toc):
12536 * progmodes/gdb-mi.el (gdb-setup-windows):
12537 * progmodes/fortran.el (fortran-window-create):
12538 * net/newst-treeview.el (newsticker--treeview-window-init):
12539 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12540 * emulation/tpu-edt.el (tpu-gold-map):
12541 * emulation/crisp.el (crisp-mode-map):
12542 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12543
38bb2ca8
CY
125442011-10-29 Chong Yidong <cyd@gnu.org>
12545
aa4de341
CY
12546 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12547
e1eb5385
CY
12548 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12549
5d2ece3c
CY
12550 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12551 forged Ispell output (Bug#7904).
12552
38bb2ca8
CY
12553 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12554
d0af9f77
SM
125552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * doc-view.el: Avoid ugly errors about not finding nil.
12558 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12559 (doc-view-dvipdf-program, doc-view-unoconv-program)
12560 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12561 Avoid nil or absolute file name as default value.
12562 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12563
52bedd34
AM
125642011-10-28 Alan Mackenzie <acm@muc.de>
12565
db22a3c2 12566 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12567
7e43cfa5
AM
125682011-10-28 Alan Mackenzie <acm@muc.de>
12569
12570 Amend the handling of c-beginning/end-of-defun in nested declaration
12571 scopes.
12572
52bedd34
AM
12573 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12574 cc-langs.el. Change it to a defcustom.
7e43cfa5 12575
52bedd34
AM
12576 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12577 cc-vars.el.
7e43cfa5 12578
d0af9f77
SM
12579 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12580 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12581
52bedd34 12582 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12583 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12584 (c-widen-to-enclosing-decl-scope): New function.
12585 (c-while-widening-to-decl-block): New macro.
12586 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12587 outward for defun boundaries, and correspondingly change symbol
12588 `respect-enclosure' to `go-outward'.
12589 (c-declaration-limits): Change algorithm to report only the "innermost"
12590 defun's boundaries.
12591
1a2ce9ee
DD
125922011-10-28 Deniz Dogan <deniz@dogan.se>
12593
12594 * net/rcirc.el (rcirc-mode): Use hard newlines.
12595
bc97a826
AM
125962011-10-28 Alan Mackenzie <acm@muc.de>
12597
12598 Amend to indent and fontify macros "which include their own semicolon"
12599 correctly, using the "virtual semicolon" mechanism.
12600
52bedd34 12601 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12602
d0af9f77 12603 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12604 Recode to scan one line at a time rather than having \n and \r
58179cce 12605 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12606 (c-forward-label): Amend for virtual semicolons.
58179cce 12607 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12608
52bedd34
AM
12609 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12610 of the new C macros.
bc97a826 12611
52bedd34 12612 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12613 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12614 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12615 (c-opt-cpp-macro-define): Make into a full language variable.
12616 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12617 AWK Mode (including \n, \r) removed, no longer needed.
12618
d0af9f77
SM
12619 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12620 Invoke c-make-macro-with-semi-re.
bc97a826 12621
52bedd34
AM
12622 * progmodes/cc-vars.el (c-macro-with-semi-re):
12623 (c-macro-names-with-semicolon): New variables.
58179cce 12624 (c-make-macro-with-semi-re): New function.
bc97a826 12625
7a6c0941
SM
126262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * vc/log-edit.el: Fill empty field rather than adding new one.
12629 (log-edit-add-field): New function.
12630 (log-edit-insert-changelog): Use it.
12631
b0c4cdcf
ML
126322011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12633
12634 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12635
ee1f1da9
SM
126362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12639 (gdb--check-interpreter): New function.
12640 (gdb): Use it.
12641
51bc5f8b
GM
126422011-10-27 Glenn Morris <rgm@gnu.org>
12643
416a2c45
GM
12644 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12645 (least-positive-float, least-negative-float)
12646 (least-positive-normalized-float, least-negative-normalized-float)
12647 (float-epsilon, float-negative-epsilon):
12648 Remove unnecessary declarations.
12649
12650 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12651 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12652 (least-positive-float, least-negative-float)
12653 (least-positive-normalized-float, least-negative-normalized-float)
12654 (float-epsilon, float-negative-epsilon): Add doc-strings,
12655 based on those in cl.texi.
12656
51bc5f8b
GM
12657 * files.el (set-visited-file-name): If the major-mode changed,
12658 reload the local variables. (Bug#9796)
12659
15de15c6
CY
126602011-10-27 Chong Yidong <cyd@gnu.org>
12661
12662 * subr.el (change-major-mode-after-body-hook): New hook.
12663 (run-mode-hooks): Run it.
12664
ee1f1da9
SM
12665 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12666 Use change-major-mode-before-body-hook.
15de15c6
CY
12667
12668 * simple.el (fundamental-mode):
12669 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12670 change introducing fundamental-mode-hook.
12671
5430d399
JB
126722011-10-26 Juanma Barranquero <lekktu@gmail.com>
12673
acc825c5 12674 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12675
ad74a69e
MA
126762011-10-26 Michael Albinus <michael.albinus@gmx.de>
12677
12678 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12679 tramp.el explicitly. (Bug#7583)
ad74a69e 12680
71d4c2a5
SM
126812011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12682
12683 * progmodes/octave-mod.el:
12684 * progmodes/octave-inf.el: Update maintainer.
12685
b1f6fa26
CY
126862011-10-26 Chong Yidong <cyd@gnu.org>
12687
12688 * subr.el (with-wrapper-hook): Rewrite doc.
12689
3f04efd6
MA
126902011-10-25 Michael Albinus <michael.albinus@gmx.de>
12691
12692 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12693 filenames "/method:foo:". (Bug#9793)
3f04efd6 12694
410488d3
SM
126952011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12698 (bug#9865).
12699
c1ebb47e
GM
127002011-10-24 Glenn Morris <rgm@gnu.org>
12701
12702 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12703
7f5c46c7
MA
127042011-10-24 Michael Albinus <michael.albinus@gmx.de>
12705
12706 * notifications.el: Add the requirement of a running D-Bus session
12707 bus to the Commentary.
12708
db2440b6
JL
127092011-10-24 Juri Linkov <juri@jurta.org>
12710
12711 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12712 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12713 (Bug#9364)
12714
feecf435
JL
127152011-10-24 Juri Linkov <juri@jurta.org>
12716
12717 * info.el (Info-following-node-name-re): Add newline to the list
12718 of allowed characters for leading space. (Bug#9824)
12719
a3839de2
SM
127202011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12721
acc825c5
SM
12722 * progmodes/octave-inf.el (inferior-octave-mode-map):
12723 Fix C-c C-h binding.
a3839de2
SM
12724 * progmodes/octave-mod.el (octave-help): Remove.
12725
09388e76
MA
127262011-10-23 Michael Albinus <michael.albinus@gmx.de>
12727
12728 Sync with Tramp 2.2.3.
12729
12730 * net/tramp-cache.el (top): Pacify byte-compiler using
12731 `init-file-user' and `site-run-file'.
12732
12733 * net/trampver.el: Update release number.
12734
86c60681
CY
127352011-10-23 Chong Yidong <cyd@gnu.org>
12736
12737 * files.el (toggle-read-only): Remove obsolete comment about
12738 version control.
12739
12740 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12741 for toggle-read-only. Note that this hasn't called vc-next-action
12742 since 2008-05-02, though it wasn't documented at the time.
12743
a3839de2
SM
12744 * vc/ediff-init.el (ediff-toggle-read-only-function):
12745 Use toggle-read-only.
86c60681 12746
cd5495ff
AM
127472011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12748
12749 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12750 of c-parse-state.
12751
00b77525 12752 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12753 correct faulty logical expression.
cd5495ff
AM
12754 (c-parse-state-state, c-record-parse-state-state):
12755 (c-replay-parse-state-state): New defvar/defuns.
12756 (c-debug-parse-state): Use new functions.
12757
42ee24ed
MR
127582011-10-22 Martin Rudalics <rudalics@gmx.at>
12759
12760 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12761 last fix. Use window-in-direction correctly.
42ee24ed 12762
a7dee7e7
CY
127632011-10-21 Chong Yidong <cyd@gnu.org>
12764
12765 * progmodes/idlwave.el (idlwave-mode):
12766 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12767 require-final-newline; that's done in prog-mode.
12768 Suggested by Stefan Monnier.
a7dee7e7 12769
e07b9a6d
MR
127702011-10-21 Martin Rudalics <rudalics@gmx.at>
12771
12772 * mouse.el (mouse-drag-window-above)
12773 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12774 (mouse-drag-mode-line-1, mouse-drag-header-line)
12775 (mouse-drag-vertical-line-rightward-window): Remove.
12776 (mouse-drag-line): New function.
12777 (mouse-drag-mode-line, mouse-drag-header-line)
12778 (mouse-drag-vertical-line): Call mouse-drag-line.
12779 * window.el (window-at-side-p, windows-at-side): New functions.
12780
7e1361d9
UM
127812011-10-21 Ulrich Mueller <ulm@gentoo.org>
12782
12783 * tar-mode.el (tar-grind-file-mode):
12784 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12785
30fcaf3a
CY
127862011-10-21 Chong Yidong <cyd@gnu.org>
12787
12788 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12789 * progmodes/vera-mode.el (vera-mode):
12790 Use mode-require-final-newline.
30fcaf3a 12791
516eddb0
GM
127922011-10-20 Glenn Morris <rgm@gnu.org>
12793
db22a3c2 12794 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12795
10d5f513
CS
127962011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12797
12798 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12799
ac6c8639
CY
128002011-10-20 Chong Yidong <cyd@gnu.org>
12801
12802 * emulation/cua-base.el (cua-mode):
12803 * mail/footnote.el (footnote-mode):
12804 * mail/mailabbrev.el (mail-abbrevs-mode):
12805 * net/xesam.el (xesam-minor-mode):
12806 * progmodes/bug-reference.el (bug-reference-mode):
12807 * progmodes/cap-words.el (capitalized-words-mode):
12808 * progmodes/compile.el (compilation-minor-mode)
12809 (compilation-shell-minor-mode):
12810 * progmodes/gud.el (gud-tooltip-mode):
12811 * progmodes/hideif.el (hide-ifdef-mode):
12812 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12813 * progmodes/subword.el (subword-mode):
12814 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12815 * progmodes/which-func.el (which-function-mode):
12816 * term/tvi970.el (tvi970-set-keypad-mode):
12817 * term/vt100.el (vt100-wide-mode):
12818 * textmodes/flyspell.el (flyspell-mode):
12819 * textmodes/ispell.el (ispell-minor-mode):
12820 * textmodes/nroff-mode.el (nroff-electric-mode):
12821 * textmodes/paragraphs.el (use-hard-newlines):
12822 * textmodes/refill.el (refill-mode):
12823 * textmodes/reftex.el (reftex-mode):
12824 * textmodes/rst.el (rst-minor-mode):
12825 * textmodes/sgml-mode.el (html-autoview-mode)
12826 (sgml-electric-tag-pair-mode):
12827 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12828 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12829 * emulation/crisp.el (crisp-mode):
12830 * emacs-lisp/eldoc.el (eldoc-mode):
12831 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12832 minor mode behavior.
12833
aa42ab43
JL
128342011-10-19 Juri Linkov <juri@jurta.org>
12835
12836 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12837 the list of hard-coded chars with escape-glyph face.
12838
89400f1d
SM
128392011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12840
12841 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12842
305c07f6
MA
128432011-10-19 Michael Albinus <michael.albinus@gmx.de>
12844
12845 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12846 running process.
12847
13754b54
GM
128482011-10-19 Glenn Morris <rgm@gnu.org>
12849
12850 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12851 Ignore ignored files. (Bug#9726)
12852
06e21633
CY
128532011-10-19 Chong Yidong <cyd@gnu.org>
12854
12855 Doc fix for minor modes, stating that an omitted argument enables
12856 the mode unconditionally when called from Lisp.
12857
12858 * abbrev.el (abbrev-mode):
12859 * allout.el (allout-mode):
12860 * autoinsert.el (auto-insert-mode):
12861 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12862 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12863 (global-auto-revert-mode):
12864 * battery.el (display-battery-mode):
12865 * composite.el (global-auto-composition-mode)
12866 (auto-composition-mode):
12867 * delsel.el (delete-selection-mode):
12868 * desktop.el (desktop-save-mode):
12869 * dired-x.el (dired-omit-mode):
12870 * dirtrack.el (dirtrack-mode):
12871 * doc-view.el (doc-view-minor-mode):
12872 * double.el (double-mode):
12873 * electric.el (electric-indent-mode, electric-pair-mode):
12874 * emacs-lock.el (emacs-lock-mode):
12875 * epa-hook.el (auto-encryption-mode):
12876 * follow.el (follow-mode):
12877 * font-core.el (font-lock-mode):
12878 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12879 * help.el (temp-buffer-resize-mode):
12880 * hilit-chg.el (highlight-changes-mode)
12881 (highlight-changes-visible-mode):
12882 * hi-lock.el (hi-lock-mode):
12883 * hl-line.el (hl-line-mode, global-hl-line-mode):
12884 * icomplete.el (icomplete-mode):
12885 * ido.el (ido-everywhere):
12886 * image-file.el (auto-image-file-mode):
12887 * image-mode.el (image-minor-mode):
12888 * iswitchb.el (iswitchb-mode):
12889 * jka-cmpr-hook.el (auto-compression-mode):
12890 * linum.el (linum-mode):
12891 * longlines.el (longlines-mode):
12892 * master.el (master-mode):
12893 * mb-depth.el (minibuffer-depth-indicate-mode):
12894 * menu-bar.el (menu-bar-mode):
12895 * minibuf-eldef.el (minibuffer-electric-default-mode):
12896 * mouse-sel.el (mouse-sel-mode):
12897 * msb.el (msb-mode):
12898 * mwheel.el (mouse-wheel-mode):
12899 * outline.el (outline-minor-mode):
12900 * paren.el (show-paren-mode):
12901 * recentf.el (recentf-mode):
12902 * reveal.el (reveal-mode, global-reveal-mode):
12903 * rfn-eshadow.el (file-name-shadow-mode):
12904 * ruler-mode.el (ruler-mode):
12905 * savehist.el (savehist-mode):
12906 * scroll-all.el (scroll-all-mode):
12907 * scroll-bar.el (scroll-bar-mode):
12908 * server.el (server-mode):
12909 * shell.el (shell-dirtrack-mode):
12910 * simple.el (auto-fill-mode, transient-mark-mode)
12911 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12912 (line-number-mode, column-number-mode, size-indication-mode)
12913 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12914 * strokes.el (strokes-mode):
12915 * time.el (display-time-mode):
12916 * t-mouse.el (gpm-mouse-mode):
12917 * tool-bar.el (tool-bar-mode):
12918 * tooltip.el (tooltip-mode):
12919 * type-break.el (type-break-mode-line-message-mode)
12920 (type-break-query-mode):
12921 * view.el (view-mode):
12922 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12923 (global-whitespace-mode, global-whitespace-newline-mode):
12924 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12925
a3839de2
SM
12926 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12927 Fix autogenerated docstring.
06e21633 12928
5214e501
JL
129292011-10-19 Juri Linkov <juri@jurta.org>
12930
12931 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12932 by checking environment variables "DESKTOP_SESSION" and
12933 "XDG_CURRENT_DESKTOP". (Bug#9779)
12934
195f8db9
JL
129352011-10-19 Juri Linkov <juri@jurta.org>
12936
12937 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12938 (browse-url-chromium-program, browse-url-chromium-arguments):
12939 New defcustoms.
12940 (browse-url-default-browser): Check for `browse-url-chromium' and
12941 call `browse-url-chromium-program'.
12942 (browse-url-chromium): New command. (Bug#9779)
12943
343a34ff
JB
129442011-10-18 Juanma Barranquero <lekktu@gmail.com>
12945
12946 * facemenu.el (list-colors-duplicates): On Windows, detect more
12947 duplicates by assuming that only colors matching "^System" are
12948 special "system colors". (Bug#9722)
12949
6978a151
SM
129502011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12953 to distinguish the author from the committer.
12954
6a80b297
MA
129552011-10-18 Michael Albinus <michael.albinus@gmx.de>
12956
12957 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12958
b31a5677
JK
129592011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12960
12961 * international/mule.el (sgml-html-meta-auto-coding-function):
12962 Add support for detecting encoding in HTML5 specified only as
12963 <meta charset="UTF-8">. Implementation just makes http-equiv and
12964 content-type parts from HTML4 encoding string optional. (Bug#9716)
12965
80c6d77f
GM
129662011-10-18 Glenn Morris <rgm@gnu.org>
12967
12968 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12969
08b0fee8
CY
129702011-10-18 Chong Yidong <cyd@gnu.org>
12971
12972 * faces.el (cursor): Doc fix.
12973
67e729a5
CY
129742011-10-17 Chong Yidong <cyd@gnu.org>
12975
12976 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12977
343a34ff 129782011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12979
12980 * dirtrack.el (dirtrack): Support shell buffers with path
12981 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12982
0bc06380
TZ
129832011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12984
12985 * json.el: Bump version to 1.3 and note change in History.
12986 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12987
8b79f3e0
SM
129882011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12989
5a7c536b
SM
12990 * comint.el (comint-insert-input, comint-send-input)
12991 (comint-get-old-input-default, comint-backward-matching-input)
12992 (comint-next-prompt): Use nil instead of `input' for field property of
12993 past user input (bug#114).
12994
96a8a0df
SM
12995 * minibuffer.el (completion--replace): Inherit surrounding properties
12996 (bug#114).
12997 (minibuffer-complete-and-exit): Use it.
12998
8b79f3e0
SM
12999 * comint.el (comint--table-subvert): Quote the all-completions output
13000 (bug#9160).
13001
b8f7ff0d
MR
130022011-10-17 Martin Rudalics <rudalics@gmx.at>
13003
8b79f3e0 13004 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13005
b8f7ff0d 13006 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13007 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13008 entries and separate them from frame entries.
13009
c235b555
GM
130102011-10-15 Glenn Morris <rgm@gnu.org>
13011
13012 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13013 Doc fixes.
13014
6bbfa6e1
CY
130152011-10-15 Chong Yidong <cyd@stupidchicken.com>
13016
8b79f3e0
SM
13017 * net/network-stream.el (network-stream-open-starttls):
13018 Improve detection of failure due to lack of TLS support.
ec5c990d 13019
6bbfa6e1
CY
13020 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13021 putting the input text in front and in bold.
13022
98488977
SM
130232011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13024
3d1337be
SM
13025 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13026
ee0b45e4
SM
13027 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13028 empty buffer.
13029
98488977
SM
13030 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13031 unread-command-events rather than pushing yet-another event.
13032
186f4720
EZ
130332011-10-14 Eli Zaretskii <eliz@gnu.org>
13034
13035 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13036 the explanation of the possible choices. Make the options passed
13037 to completing-read shorter.
13038
8b7a997c
AM
130392011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13040
13041 * textmodes/flyspell.el (flyspell-large-region): Make sure
13042 extended character mode is used if defined (Bug#1339).
13043
12587bbb
EZ
130442011-10-13 Eli Zaretskii <eliz@gnu.org>
13045
13046 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13047 character info for LRE, LRO, RLE, and RLO characters by appending
13048 an invisible PDF.
12587bbb 13049
bad41229
SM
130502011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13053 even in case of error; add debug spec; simplify data flow.
13054 (with-timeout-handler): Remove.
13055
28dbc92f
MA
130562011-10-12 Michael Albinus <michael.albinus@gmx.de>
13057
13058 Fix Bug#6019, Bug#9315.
13059
13060 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13061 complete `buffer-file-name', the local file name part could look
13062 remotely (for example on VMS).
13063
13064 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13065 `tramp-run-real-handler'.
13066 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13067 already quoted by '"'.
13068
13069 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13070 Let `file-name-handler-alist' be nil, the local file name part
13071 could look remotely (for example on VMS).
13072
e1b0b23a
SM
130732011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13074
13075 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13076 from here...
13077 (flyspell-post-command-hook): ...to here.
13078
a120bde9
SM
130792011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13080
13081 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13082 if not needed.
13083 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13084 using completion. Protect against "slow" callers.
13085 Remove the "message hack".
13086
7ce7717b
JL
130872011-10-11 Juri Linkov <juri@jurta.org>
13088
13089 * isearch.el (isearch-lazy-highlight-word): New variable.
13090 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13091 Use it. (Bug#9727)
13092
c02ee9d6
GM
130932011-10-11 Glenn Morris <rgm@gnu.org>
13094
13095 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13096 like f90-previous-statement does.
13097
93e616fd 130982011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13099
1f190e73 13100 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13101 only in interactive use, to avoid error.
13102
af7b6078
SM
131032011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13104
13105 * minibuffer.el (completion-file-name-table): Fix last change,
13106 i.e. ignore normal errors but not the other ones.
13107
0563dae9
MR
131082011-10-10 Martin Rudalics <rudalics@gmx.at>
13109
13110 * window.el (special-display-buffer-names)
13111 (special-display-regexps): Remove some remnants of earlier
13112 changes from doc-strings.
366ca7f3
MR
13113 (quit-windows-on): New function.
13114
13115 * vc/vc.el (vc-revert, vc-rollback):
13116 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13117 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13118 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13119
49677495
MR
131202011-10-09 Martin Rudalics <rudalics@gmx.at>
13121
13122 * window.el (frame-auto-hide-function): Add version tag.
13123 (Bug#9699)
13124
56f2d1e1
MA
131252011-10-09 Michael Albinus <michael.albinus@gmx.de>
13126
13127 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13128 condition.
13129
112a6592
LL
131302011-10-09 Leo Liu <sdl.web@gmail.com>
13131
13132 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13133 (Bug#9701)
13134
0812589b
GM
131352011-10-08 Glenn Morris <rgm@gnu.org>
13136
13137 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13138 before the first code statement zero indent. (Bug#9690)
13139
b2b0776e
CY
131402011-10-08 Chong Yidong <cyd@stupidchicken.com>
13141
13142 * simple.el (count-words-region): Always count in the region.
13143 Report the number of lines and characters too.
13144 (count-words): New command, which counts in the buffer if the
13145 region is inactive, as count-words-region used to.
13146 (count-words--message): New function. Handle plurals.
13147 (count-lines-region): Make it an alias for count-words-region.
13148
13149 * bindings.el (esc-map): Replace count-lines-region with
13150 count-words-region.
13151
c557cd6b
MR
131522011-10-08 Martin Rudalics <rudalics@gmx.at>
13153
13154 * window.el (window--delete): Delete dedicated frame
13155 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13156 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13157
61a57ef4 131582011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13159
3a7d293b 13160 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13161
c3833279
CY
131622011-10-07 Chong Yidong <cyd@stupidchicken.com>
13163
13164 * bindings.el ([M-left],[M-right]): Bind to left-word and
13165 right-word respectively.
13166
21ce8245
GM
131672011-10-07 Glenn Morris <rgm@gnu.org>
13168
13169 * cus-start.el (debug-on-quit): Fix custom type.
13170
6d823bb2
LMI
131712011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13172
0181e193
LMI
13173 * subr.el (define-key-after): Clarify that the function is not
13174 useful for non-menu keymaps.
13175
6d823bb2
LMI
13176 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13177
8e3459ce 131782011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13179
21ce8245 13180 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13181 in current minibuffer (Fix bug with recursive minibuffers).
13182
a1c2d21e
CY
131832011-10-06 Chong Yidong <cyd@stupidchicken.com>
13184
13185 * progmodes/gdb-mi.el (gdb): Doc fix.
13186
5a4cf282
MR
131872011-10-05 Martin Rudalics <rudalics@gmx.at>
13188
13189 * window.el (frame-auto-hide-function): New option replacing
13190 frame-auto-delete. Suggested by Stefan Monnier.
13191 (window--delete): Call frame-auto-hide-function instead of
13192 investigating frame-auto-delete.
c96111ea
MR
13193 (window-point-1, set-window-point-1): New functions.
13194 (window-in-direction, record-window-buffer, window-state-get-1)
13195 (display-buffer-record-window): Use window-point-1 instead of
13196 window-point.
13197 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13198
9854542e
SM
131992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13202
8943cfb0
GM
132032011-10-05 Glenn Morris <rgm@gnu.org>
13204
13205 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13206 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13207
647ab967
LL
132082011-10-05 Leo Liu <sdl.web@gmail.com>
13209
13210 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13211 works with buffer object.
13212
3ddfbced
SM
132132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * mpc.el (mpc-tool-bar-map): Add labels.
13216
bdfa5dd2
GM
132172011-10-04 Glenn Morris <rgm@gnu.org>
13218
13219 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13220
0e2070b5
MR
132212011-10-04 Martin Rudalics <rudalics@gmx.at>
13222
13223 * window.el (window--delete): New function.
13224 (frame-auto-delete): Resuscitate option.
13225 (bury-buffer, replace-buffer-in-windows)
13226 (quit-window): Rewrite using window--delete.
13227 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13228 Pass display-buffer-mark-dedicated to window--display-buffer-2
13229 (Bug#9639).
13230
3dc61a09
SM
132312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13232
915a9b64
SM
13233 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13234 returns a list (bug#9554). Add remote file name completion.
13235 * comint.el (comint--table-subvert): Curry and get quote&unquote
13236 functions as arguments.
13237 (comint--complete-file-name-data): Adjust call accordingly.
13238 * pcomplete.el (pcomplete--table-subvert): Remove.
13239 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13240
3dc61a09
SM
13241 * minibuffer.el (completion-table-case-fold): Use currying.
13242 (completion--styles-type, completion--cycling-threshold-type):
13243 New constants.
13244 (completion-styles, completion-category-overrides)
13245 (completion-cycle-threshold): Use them.
13246 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13247 completion-table-case-fold.
13248
8ea0a993
SB
132492011-10-03 Stephen Berman <stephen.berman@gmx.net>
13250
13251 * minibuffer.el (completion-category-overrides): Fix type of styles
13252 and add more user friendly tags (bug#9660).
13253
8c24b7f6
SM
132542011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13257 (mule-input-method-string): New widget.
13258 (default-input-method, language-info-custom-alist): Use it.
13259
428fe61a
SM
132602011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13261
32c1fffd
SM
13262 * pcomplete.el: Require comint.
13263 (pcomplete--common-suffix): Remove.
13264 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13265 (pcomplete--table-subvert): Sync with comint--table-subvert.
13266 (pcomplete--entries): Use comint-completion-file-name-table.
13267 * comint.el (comint-unquote-filename): Simplify.
13268 (comint-completion-file-name-table): New function (bug#9616).
13269 (comint--complete-file-name-data): Use it.
13270
428fe61a
SM
13271 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13272 (pcmpl-gnu-tar-buffer): Remove.
13273 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13274 around. Make sure pcomplete-suffix-list is only changed temporarily.
13275 Don't look inside the tar's file if it's too large.
428fe61a 13276
04c52e2f
CY
132772011-10-01 Chong Yidong <cyd@stupidchicken.com>
13278
ce3cefcc
CY
13279 * cus-edit.el (custom-mode-map):
13280 * epa.el (epa-key-list-mode-map):
13281 * man.el (Man-mode-map):
13282 * startup.el (splash-screen-keymap):
13283 * simple.el (special-mode-map): Use scroll-up-command and
13284 scroll-down-command.
13285
13286 * progmodes/idlw-help.el (idlwave-help-mode-map):
13287 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13288 * net/newst-plainview.el (newsticker-mode-map):
13289 * emulation/ws-mode.el (wordstar-mode-map):
13290 * emulation/vi.el (vi-com-map):
13291 * calc/calc-graph.el (calc-graph-show-dumb):
13292 * term/sun.el (terminal-init-sun):
13293 * term/ns-win.el (global-map):
13294 * progmodes/grep.el (grep-mode-map):
13295 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13296 * mail/rmail.el (rmail-mode-map):
13297 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13298
04c52e2f
CY
13299 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13300 custom-safe-themes as special.
13301
79adf8c8
JD
133022011-10-01 Julien Danjou <julien@danjou.info>
13303
13304 * notifications.el (notifications-notify): Fix docstring.
13305
63bd50d3
PS
133062011-10-01 Per Starbäck <per@starback.se>
13307
13308 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13309
199e4c7e
MR
133102011-09-30 Martin Rudalics <rudalics@gmx.at>
13311
13312 * startup.el (command-line-1): Fix last fix by inserting
13313 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13314 (Bug#9605) and (Bug#9636)
199e4c7e 13315
fe5f08dd
EZ
133162011-09-29 Eli Zaretskii <eliz@gnu.org>
13317
13318 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13319 window is hscrolled, move by logical lines. (Bug#9607)
13320 (line-move-visual): Update the doc string to the above effect.
13321
b5516bbd
MR
133222011-09-29 Martin Rudalics <rudalics@gmx.at>
13323
ccee00c0
MR
13324 * window.el (display-buffer-record-window): When WINDOW is the
13325 selected window use `point' instead of `window-point'. (Bug#9626)
13326
b5516bbd
MR
13327 * startup.el (command-line-1): Use insert-before-markers when
13328 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13329
b5516bbd
MR
13330 * help.el (help-window): Remove variable.
13331
52aa0014
GM
133322011-09-29 Glenn Morris <rgm@gnu.org>
13333
13334 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13335
df9a7357
JB
133362011-09-29 Juanma Barranquero <lekktu@gmail.com>
13337
13338 * descr-text.el (describe-char-categories): Accept category
13339 descriptions more than one line long.
13340
a8406c20
SM
133412011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13342
88d9610c
SM
13343 * simple.el (delete-trailing-whitespace): Fix last change.
13344
a5daf810
SM
13345 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13346 Don't confuse "y => 3" as the beginning of a `y' operation.
13347
a8406c20
SM
13348 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13349 object has more than 4 slots (bug#9613).
13350
a239d4e9
JB
133512011-09-28 Juanma Barranquero <lekktu@gmail.com>
13352
13353 * subr.el (with-output-to-temp-buffer):
13354 * net/quickurl.el (quickurl, quickurl-browse-url):
13355 Fix typos in docstrings.
13356
693fbdb6
EZ
133572011-09-27 Eli Zaretskii <eliz@gnu.org>
13358
13359 * minibuffer.el (completion-styles)
13360 (completion-category-overrides): Cross reference each other in doc
13361 strings.
13362
8b457e28
GM
133632011-09-27 Glenn Morris <rgm@gnu.org>
13364
13365 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13366 to split-string. (Bug#9606)
13367
85a16208
LMI
133682011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13369
13370 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13371 (bug#9615).
13372
502f9ebd
CY
133732011-09-27 Chong Yidong <cyd@stupidchicken.com>
13374
13375 * emacs-lisp/package.el (list-packages): Fix echo area message.
13376
7690bdea
LL
133772011-09-27 Leo Liu <sdl.web@gmail.com>
13378
13379 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13380
e2ee6f30
MA
133812011-09-25 Michael Albinus <michael.albinus@gmx.de>
13382
13383 * net/dbus.el (dbus-unregister-object): Don't release services for
13384 registered signals. (Bug#9581)
13385
f3f98342
TZ
133862011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13387
13388 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13389 function that picks between cfengine 2 and 3 support
13390 automatically. Update docs accordingly.
13391
dd7aa8dd
KH
133922011-09-22 Kenichi Handa <handa@m17n.org>
13393
13394 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13395 ZERO.
13396 (indian-itrans-v5-table-for-tamil): New variable.
13397 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13398
3f2b07f8
KM
133992011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13400
13401 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13402 that's true if the current command involved collapsing of text.
13403 It's reset to false at the beginning of the next command.
13404 (allout-post-command-business): Move the cursor to the beginning
13405 of entry if the cursor is hidden and collapsing activity just
13406 happened.
13407
371d6a61
CY
134082011-09-24 Chong Yidong <cyd@stupidchicken.com>
13409
13410 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13411 tracking (Bug#9541).
13412
2ac2721a
UJ
134132011-09-24 Ulf Jasper <ulf.jasper@web.de>
13414
13415 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13416 (newsticker-show-news): Automatically load html rendering package
13417 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13418 because w3m-fill-column is let-bound" and the error "Symbol's value
13419 as variable is void: w3m-fill-column".
2ac2721a 13420
fac7ae53
MA
134212011-09-24 Michael Albinus <michael.albinus@gmx.de>
13422
13423 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13424 Release services only if they are defined. (Bug#9581)
13425
e08b633b
RS
134262011-09-23 Richard Stallman <rms@gnu.org>
13427
e488d29c
RS
13428 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13429 distinguish start of paragraph from start of its text.
13430
19c38752
RS
13431 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13432
e08b633b
RS
13433 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13434 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13435 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13436
0a39f27e
AS
134372011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13438
13439 * international/mule-diag.el (mule-diag): Insert a newline after
13440 each fontset description.
13441
db4e950d
SM
134422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * simple.el (delete-trailing-whitespace):
13445 Document last change; simplify.
13446
eca3f3ea
PW
134472011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13448
d68e189a
PW
13449 * simple.el (delete-trailing-whitespace): Also delete
13450 extra newlines at the end of the buffer.
13451
eca3f3ea
PW
13452 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13453 (picture-newline): Use forward-line so as to ignore fields.
13454
01c157cc
SM
134552011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13456
13457 * subr.el (with-wrapper-hook): Fix edebug spec.
13458
022de23e
LMI
134592011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13460
13461 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13462 (bug#4538).
13463
91683089
MA
134642011-09-23 Michael Albinus <michael.albinus@gmx.de>
13465
eca3f3ea
PW
13466 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13467 Fix nasty bug using wrong cached values.
91683089 13468
5bdd6fa4
AM
134692011-09-23 Alan Mackenzie <acm@muc.de>
13470
13471 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13472
97adfb97
CY
134732011-09-23 Chong Yidong <cyd@stupidchicken.com>
13474
13475 * window.el (pop-to-buffer): Ensure right window is selected if we
13476 chose another frame.
13477
d4ef2b50
EZ
134782011-09-22 Eli Zaretskii <eliz@gnu.org>
13479
13480 * simple.el (what-cursor-position): Use get-char-property-change
13481 and next-single-char-property-change, to be able to show display
13482 properties that come from overlays as well as text properties.
13483
72258fe5
CY
134842011-09-22 Chong Yidong <cyd@stupidchicken.com>
13485
13486 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13487
13488 * cmuscheme.el (run-scheme, switch-to-scheme):
13489 * cus-edit.el (customize-group, custom-buffer-create)
13490 (customize-browse):
13491 * info.el (info):
13492 * shell.el (shell):
13493 * mail/sendmail.el (mail):
13494 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13495
8f098516
RS
134962011-09-22 Richard Stallman <rms@gnu.org>
13497
13498 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13499 move back only to line beg, don't move back over blank lines.
13500
e74f1bb6
MA
135012011-09-22 Michael Albinus <michael.albinus@gmx.de>
13502
13503 * files.el (copy-directory): Set directory attributes only in case
13504 they could be retrieved from the source directory. (Bug#9565)
13505
bfeef8b6
DK
135062011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13507
13508 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13509 (hs-find-block-beginning, hs-hide-level-recursive):
13510 Ignore strings as well as comments. (Bug#9502)
13511
7e423bb8
AS
135122011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13513
13514 * progmodes/sql.el (sql-comint-postgres):
13515 Convert port number to a string. (Bug#9566)
13516
b4d72fcf
MR
135172011-09-22 Martin Rudalics <rudalics@gmx.at>
13518
13519 * window.el (quit-window): Undedicate window when switching to
13520 previous buffer. Reported by Thierry Volpiatto
13521 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13522 (special-display-popup-frame): When popping up a new frame reset
13523 its previous buffers to nil. Simplify code.
b4d72fcf 13524
a7b88dc6
MA
135252011-09-21 Michael Albinus <michael.albinus@gmx.de>
13526
13527 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13528 and process filter, as done also in `shell-command'.
13529
cf4eacfd
MR
135302011-09-21 Martin Rudalics <rudalics@gmx.at>
13531
eca3f3ea 13532 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13533 Call set-window-start with NOFORCE argument t.
13534 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13535 (quit-window): Reword doc-string. Handle new format of
13536 quit-restore parameter. Don't delete window if it has a
13537 previous buffer we can show instead of the present one.
13538 (display-buffer-record-window): Rewrite using a new format for
13539 the quit-restore window parameter
13540 (special-display-popup-frame, display-buffer-same-window)
13541 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13542 (display-buffer-pop-up-window, display-buffer-use-some-window):
13543 Adapt symbol passed to display-buffer-record-window.
13544 * help.el (help-window-setup): Handle new format of quit-restore
13545 parameter.
13546
8d28cb95
SM
135472011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13548
94ab793f
SM
13549 * faces.el (face-list): Fix docstring (bug#9564).
13550
8d28cb95
SM
13551 * window.el (display-buffer--action-function-custom-type):
13552 Don't include internal functions in the Custom interface.
13553
3820edeb
JL
135542011-09-20 Juri Linkov <juri@jurta.org>
13555
13556 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13557 (Info-forward-node, Info-backward-node, Info-next-preorder)
13558 (Info-last-preorder): Use it. (Bug#9528)
13559
5147931d
JL
135602011-09-20 Juri Linkov <juri@jurta.org>
13561
13562 * info.el (Info-last-preorder): Visit last menu item only when
13563 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13564
cf499a1a
JD
135652011-09-20 Julien Danjou <julien@danjou.info>
13566
13567 * password-cache.el (password-cache-remove): Remove entries even if the
13568 value is nil, so that password with a nil value (negative caching) is
13569 possible to invalidate.
13570
f84e2fe2
LM
135712011-09-20 Lawrence Mitchell <wence@gmx.li>
13572
13573 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13574 all whitespace around breakpoint. (Bug#9553)
13575 (f90-find-breakpoint): Only break at whitespace inside a comment.
13576
78054a46
SM
135772011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * minibuffer.el (completion-file-name-table): Keep track of errors.
13580 (completion-table-with-predicate): Handle the case where pred1 is nil.
13581 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13582
345083b2
SM
135832011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13584
e24e27be
SM
13585 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13586 (debugger-return-value): Signal an error if the debugging context does
13587 not await any return value.
13588
345083b2
SM
13589 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13590 * image-mode.el (image-toggle-display-text)
13591 (image-toggle-display-image): Stay away from evil `intangible'.
13592
08d355e3
LL
135932011-09-19 Leo Liu <sdl.web@gmail.com>
13594
13595 * replace.el (occur-revert-arguments): Make it permanent-local.
13596 (occur-mode): Don't call font-lock-defontify.
13597
f01da43f
CY
135982011-09-19 Chong Yidong <cyd@stupidchicken.com>
13599
13600 * net/ldap.el (ldap-search-internal): Don't push empty search
13601 result (Bug#9508).
13602
b6072fa6
SM
136032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13604
13605 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13606
443d6696
MA
136072011-09-19 Michael Albinus <michael.albinus@gmx.de>
13608
13609 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13610 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13611
7cc6e154
JL
136122011-09-18 Juri Linkov <juri@jurta.org>
13613
13614 * buff-menu.el (Buffer-menu-mode-map):
13615 * dired.el (dired-mode-map):
13616 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13617 (lisp-interaction-mode-map):
13618 * emacs-lisp/package.el (package-menu-mode-map):
13619 * epa.el (epa-key-list-mode-map):
13620 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13621 (menu-bar-options-menu):
13622 * outline.el (outline-mode-menu-bar-map):
13623 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13624 * vc/vc-dir.el (vc-dir-menu-map):
13625 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13626 Capitalize non-function content words in menu item strings.
13627
13628 * dired.el (dired-mode-map): Add menu item for
13629 `image-dired-dired-toggle-marked-thumbs'.
13630
80302a81
JL
136312011-09-18 Juri Linkov <juri@jurta.org>
13632
13633 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13634 to `isearch-case-fold-search' and restore its original value
13635 after the `isearch-mode' call.
13636
46c5cf66
JL
136372011-09-18 Juri Linkov <juri@jurta.org>
13638
13639 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13640 because `zgrep' returns 1 for successful matches (bug#9226).
13641
d18b513b
JL
136422011-09-18 Juri Linkov <juri@jurta.org>
13643
13644 * info.el (Info-extract-menu-node-name): Check the second match
13645 for empty string (second test-case of bug#9528).
13646 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13647 intermediate nodes to the history (first test-case of bug#9528).
13648
72753f87
JL
136492011-09-18 Juri Linkov <juri@jurta.org>
13650
13651 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13652 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13653
c9384295
JL
136542011-09-18 Juri Linkov <juri@jurta.org>
13655
1154d12e
JB
13656 * info.el (Info-file-supports-index-cookies):
13657 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13658 outputs one more line for long file names (bug#4142).
c9384295 13659
d473dce8
CY
136602011-09-18 Chong Yidong <cyd@stupidchicken.com>
13661
13662 * newcomment.el (comment-normalize-vars): If prompting for
13663 comment-start, set comment-start-skip too (Bug#8424).
13664
2176854d
JB
136652011-09-18 Johan Bockgård <bojohan@gnu.org>
13666
13667 * icomplete.el: Fix previous fix of Bug#5849.
13668 (icomplete-mode): Don't set completion-show-inline-help.
13669 (icomplete-minibuffer-setup): Set completion-show-inline-help
13670 locally during icompletion.
13671
3aace4e4
CY
136722011-09-18 Chong Yidong <cyd@stupidchicken.com>
13673
c940224f
CY
13674 * woman.el (woman2-process-escapes): Don't delete unrecognized
13675 escapes (Bug#7843).
13676
3aace4e4
CY
13677 * files.el (inhibit-first-line-modes-regexps): Add image files.
13678 (hack-local-variables-prop-line): Return nil for malformed
13679 prop-lines (Bug#9044).
13680
710dec63
MA
136812011-09-18 Michael Albinus <michael.albinus@gmx.de>
13682
13683 * net/tramp.el (top): Don't require 'shell.
13684 (tramp-methods): Fix docstring.
13685 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13686 Return complete remote file name. Handle "smb" case.
13687 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13688 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13689
13690 * net/tramp-compat.el (top): Require 'shell.
13691
13692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13693 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13694 `tramp-current-host'.
13695 (tramp-get-remote-tmpdir): Remove.
13696
13697 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13698 `tramp-tmpdir' entries.
13699 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13700 (tramp-smb-handle-file-attributes): Ignore errors.
13701 (tramp-smb-wait-for-output): Check also for process end.
13702
5d5ac8ec
LMI
137032011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13704
13705 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13706 when sending QUIT (bug#9312).
13707
8c0f49f0
CY
137082011-09-17 Chong Yidong <cyd@stupidchicken.com>
13709
13710 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13711 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13712 occur-mode-display-occurrence.
13713 (occur-edit-mode): Add usage message.
13714 (occur-cease-edit): New command.
13715 (occur-after-change-function): Use text properties to find the
13716 position of the prefix text.
13717 (occur-engine): Set stickiness of prefix text properties.
13718
8f1383f7
GM
137192011-09-17 Glenn Morris <rgm@gnu.org>
13720
13721 * progmodes/etags.el (complete-tag):
13722 Fix call to completion-in-region. (Bug#9526)
13723
744ba0e3
JL
137242011-09-17 Juri Linkov <juri@jurta.org>
13725
13726 * textmodes/ispell.el (ispell-word): Add to the error message
13727 the word, ispell program name and current dictionary (bug#9121).
13728 (ispell-tex-arg-end): Capitalize "error" in the error message.
13729
d9bbf400
AS
137302011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13731
13732 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13733 check. (Bug#4251)
13734
8da11505
JL
137352011-09-17 Juri Linkov <juri@jurta.org>
13736
13737 * window.el (window-safe-min-height, window-safe-min-width):
13738 Fix typos (followup to bug#9522).
13739
a91adc7e
SJ
137402011-09-17 Sven Joachim <svenjoac@gmx.de>
13741
13742 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13743
064f328a
EZ
137442011-09-16 Eli Zaretskii <eliz@gnu.org>
13745
13746 * simple.el (line-move): If goal-column is set, move by logical
13747 lines, not by display lines. (Bug#971)
13748 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13749 to reflect the above change.
13750
e69df516
SM
137512011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13752
13753 * image.el (imagemagick-register-types): Use regexp-opt.
13754
cbb0f9ab
CY
137552011-09-15 Chong Yidong <cyd@stupidchicken.com>
13756
13757 * window.el (display-buffer-base-action): Rename from
13758 display-buffer-default-action. Make default value empty.
13759 (display-buffer-overriding-action): Convert to defvar.
13760 (display-buffer-fallback-action): New var.
13761
25322144
CY
137622011-09-15 Chong Yidong <cyd@stupidchicken.com>
13763
13764 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13765 declaration.
13766 (package--add-to-archive-contents): If there is a duplicate entry
13767 with an older version, remove it.
13768 (package-menu-mark-delete, package-menu-mark-install)
13769 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13770 (package-menu-mark-obsolete-for-deletion):
13771 Use package-menu-get-status instead of a regexp search.
25322144
CY
13772 (package-menu-get-status): Use tabulated-list-entry.
13773 (package-menu-mark-upgrades): New command.
d770725a 13774 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13775 (package-menu-execute): Do installation before deletion.
13776 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13777 instead of checking major-mode.
13778 (package-menu--find-upgrades): New function.
13779
7520339c
LMI
137802011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13781
13782 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13783 passwords in the log buffer.
65a046c4
LMI
13784 (smtpmail-process-filter): Update the process marker so that the
13785 "broken by peer" status message is inserted in the right place.
7520339c 13786
d3c30954
SM
137872011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13788
3fe48822
SM
13789 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13790 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13791 bibtex-completion-at-point-function.
13792 (bibtex-completion-at-point-function): Use them.
13793
1b8b3954
SM
13794 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13795
d3c30954
SM
13796 * mpc.el (mpc-constraints-tag-lookup): New function.
13797 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13798 also to browser "album|playlist".
13799
72779976
JL
138002011-09-14 Juri Linkov <juri@jurta.org>
13801
13802 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13803 (isearch-edit-string): Use length of `isearch-string' when
13804 `isearch-fail-pos' returns nil.
13805 (isearch-message): Remove duplicate code and call
13806 `isearch-fail-pos' with arg `t'.
13807
a0bf2bcd
CY
138082011-09-14 Chong Yidong <cyd@stupidchicken.com>
13809
17bb0a2d
CY
13810 * replace.el (occur-mode-goto-occurrence): Don't force using other
13811 window (Bug#9499).
13812
a0bf2bcd
CY
13813 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13814
f678e0b6
MR
138152011-09-14 Martin Rudalics <rudalics@gmx.at>
13816
13817 * window.el (display-buffer-window): Remove.
13818 (display-buffer-record-window): Use help-setup window parameter
13819 instead of variable display-buffer-window.
13820 (display-buffer-function, special-display-buffer-names)
13821 (special-display-function): Mention help-setup parameter instead
13822 of display-buffer-window in doc-string.
d3c30954
SM
13823 * help.el (help-window-setup): New argument help-window.
13824 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13825 Reword some messages.
13826 (with-help-window): Pass window used for displaying the buffer
13827 to help-window-setup. Don't set display-buffer-window.
13828
8e39b2e8
GM
138292011-09-13 Glenn Morris <rgm@gnu.org>
13830
13831 * emacs-lisp/debug.el (debugger-make-xrefs):
13832 Preserve point. (Bug#9462)
13833
85e9c04b
CY
138342011-09-13 Chong Yidong <cyd@stupidchicken.com>
13835
13836 * window.el (window-deletable-p): Use next-frame.
13837
1b36ed6a
MR
138382011-09-13 Martin Rudalics <rudalics@gmx.at>
13839
13840 * window.el (window-auto-delete): Remove.
13841 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13842 dedication and previous buffers.
1b36ed6a
MR
13843 (switch-to-prev-buffer): Don't delete window.
13844 (delete-windows-on): Delete a window's frame if and only if the
13845 window is dedicated.
13846 (replace-buffer-in-windows): Delete buffer's window or frame if
13847 and only if window is dedicated.
13848 (quit-window): Handle quit-restore as before last change.
4d61f28d 13849 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13850
ef8ef9fb
CY
138512011-09-13 Chong Yidong <cyd@stupidchicken.com>
13852
13853 * window.el (window-deletable-p): Never delete the last frame on a
13854 given terminal.
13855
b2cba41e
GM
138562011-09-13 Glenn Morris <rgm@gnu.org>
13857
13858 * help.el (describe-key-briefly): Copy previous standard-output change.
13859
51553db6 138602011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13861
13862 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13863
b7556719
GM
138642011-09-13 Glenn Morris <rgm@gnu.org>
13865
13866 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13867 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13868
64b51947
CY
138692011-09-12 Chong Yidong <cyd@stupidchicken.com>
13870
13871 * dired-aux.el (dired-mark-read-string): Don't return default
13872 value on empty input (Bug#9361).
13873 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13874 Omit initial minibuffer contents.
13875 (dired-do-chmod): Signal an error on empty input.
13876 (dired-mark-read-string): Don't return default on empty input.
13877
13878 * files.el (file-modes-symbolic-to-number): Doc fix.
13879
393a301e
SM
138802011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * international/mule-cmds.el (ucs-completions): Remove.
13883 (read-char-by-name): Use complete-with-action instead; add metadata.
13884
fa5660f9
CY
138852011-09-11 Chong Yidong <cyd@stupidchicken.com>
13886
13887 * window.el (display-buffer--action-function-custom-type)
13888 (display-buffer--action-custom-type): New vars.
13889 (display-buffer-alist, display-buffer-default-action)
13890 (display-buffer-overriding-action): Add defcustom types.
13891
4a592f66
CY
13892 * frame.el (delete-other-frames): Doc fix (Bug#276).
13893
73d56dbd
LMI
138942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13895
13896 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13897
37ac18a3
CY
138982011-09-11 Chong Yidong <cyd@stupidchicken.com>
13899
13900 Change modes that used same-window-* vars to use switch-to-buffer.
13901
13902 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13903 Use switch-to-buffer.
13904
13905 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13906 (customize-browse, custom-buffer-create-other-window):
13907 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13908
13909 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13910 (Info-prev, Info-up, Info-speedbar-goto-node)
13911 (info-display-manual): Use switch-to-buffer.
13912 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13913
13914 * mail/sendmail.el (mail): Use switch-to-buffer.
13915 (mail-recover): Use switch-to-buffer-other-window.
13916
13917 * cmuscheme.el (run-scheme, switch-to-scheme):
13918 * ielm.el (ielm):
13919 * shell.el (shell):
13920 * net/rlogin.el (rlogin):
13921 * net/telnet.el (telnet, rsh):
13922 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13923
10195bd6
AS
139242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13925
13926 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13927
b322f63a
LMI
139282011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13929
39d7fed6
LMI
13930 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13931 so don't mention it (bug#9301).
ba5a81f1 13932 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13933
ee0e9f11
LMI
13934 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13935 match `x', `w32' and `ns', like the manual says (bug#9029).
13936
0b1c89c1 13937 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13938 (process-kill-buffer-query-function): Mention the buffer name in
13939 the query.
0b1c89c1 13940
77549ea8
LMI
13941 * image-mode.el (image-next-line): The line parameter is mandatory
13942 (bug#9258).
13943
803ef892
LMI
13944 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13945 which can be useful (bug#9301).
13946
12980837
LMI
13947 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13948
91054f8f
LMI
13949 * subr.el (match-string): Mention that the current buffer should
13950 be the same as the search was done in (bug#9282).
13951
b322f63a
LMI
13952 * facemenu.el: Disable the remove-* commands if the mark isn't
13953 active (bug#9162).
13954
3199b96f
CY
139552011-09-10 Chong Yidong <cyd@stupidchicken.com>
13956
13957 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13958 of display-buffer.
13959 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13960
13961 * replace.el (occur-mode-goto-occurrence)
13962 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13963 and display-buffer.
13964
13965 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13966 display-buffer.
13967
13968 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13969 special-display and same-window variables.
13970 (mail-other-window): Use switch-to-buffer-other-window.
13971 (mail-other-frame): USe switch-to-buffer-other-frame.
13972
393a301e
SM
13973 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13974 Use display-buffer-other-frame.
3199b96f
CY
13975 (gdb-display-gdb-buffer): Use pop-to-buffer.
13976
13977 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13978
13979 * progmodes/python.el: Don't set same-window-buffer-names.
13980
13981 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13982
13983 * window.el (display-buffer-alist): Add *Python*.
13984
8319e0bf
CY
139852011-09-10 Chong Yidong <cyd@stupidchicken.com>
13986
13987 * window.el (display-buffer-alist): Add entry for buffers
13988 previously handled same-window-*.
13989 (display-buffer-alist, display-buffer-default-action)
13990 (display-buffer-overriding-action): Mark as risky.
13991 (display-buffer-alist): Document action function changes.
13992 (display-buffer--same-window-action)
13993 (display-buffer--other-frame-action): New variables.
13994 (switch-to-buffer, display-buffer-other-frame): Use them.
13995 (display-buffer): Rename reuse-frame entry to reusable-frames.
13996 (display-buffer-reuse-selected-window): Function deleted.
13997 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13998 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13999 (display-buffer-special): New function.
14000 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14001 display-buffer-reuse-or-pop-window. Split off special-display
14002 part into display-buffer-special.
14003 (display-buffer-use-some-window): Don't perform any special
14004 pop-up-frames handling.
14005 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14006 (display-buffer--maybe-same-window): Rename from
0d3ff375 14007 display-buffer-maybe-same-window.
8319e0bf 14008
919a69aa
CY
14009 * info.el: Don't set same-window-regexps.
14010 (info-setup): New function.
14011 (info-other-window, info): Call it.
14012
14013 * cus-edit.el: Don't set same-window-regexps.
14014 (customize-group): New argument.
14015 (customize-group-other-window): Use it.
14016 (customize-face, customize-face-other-window): Likewise.
14017 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14018
8319e0bf
CY
14019 * net/rlogin.el:
14020 * net/telnet.el:
14021 * progmodes/gud.el: Don't set same-window-regexps.
14022
14023 * cmuscheme.el:
14024 * ielm.el:
14025 * shell.el:
14026 * mail/sendmail.el:
14027 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14028
25173000
JL
140292011-09-10 Juri Linkov <juri@jurta.org>
14030
14031 * isearch.el (isearch-edit-string): Remove obsolete mention of
14032 `C-w' (`isearch-yank-word-or-char') from docstring.
14033 (isearch-query-replace): Fix typo in docstring (bug#9466).
14034
056e44ef
JL
140352011-09-10 Juri Linkov <juri@jurta.org>
14036
14037 * paren.el (show-paren-function): Don't show escaped parens.
14038 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14039
c3760c17
EZ
140402011-09-10 Eli Zaretskii <eliz@gnu.org>
14041
14042 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14043 (mm-default-file-encoding): Remove autoload forms, they are
14044 replaced with autoload cookies in mml.el and mm-encode.el.
14045 (mail-add-attachment): New command.
14046 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14047 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14048 the doc string.
14049 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14050
fece895e
RT
140512011-09-10 Reuben Thomas <rrt@sc3d.org>
14052
e69df516
SM
14053 * simple.el (count-words-region): Use buffer if there's no region
14054 (bug#9429).
fece895e 14055
5e68ce4a
JL
140562011-09-09 Juri Linkov <juri@jurta.org>
14057
14058 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14059 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14060 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14061
0a6b9622
AM
140622011-09-09 Alan Mackenzie <acm@muc.de>
14063
14064 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14065 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14066
14a29deb
EZ
140672011-09-09 Eli Zaretskii <eliz@gnu.org>
14068
14069 Fix for Savannah bug#9392.
14070 * simple.el (mail-encode-mml): New defvar.
14071
14072 * mail/rmail.el (mail-encode-mml): Add a defvar.
14073 (rmail-enable-mime-composing): Default to t.
14074 (rmail-forward): Use MIME method of forwarding only if both
14075 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14076 Set mail-encode-mml non-nil if the MIME method was used.
14077
14078 * mail/sendmail.el (mml-to-mime): Add autoload form.
14079 (mail-encode-mml): Add a defvar.
14080 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14081 to nil.
14082 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14083 message through mml-to-mime, and reset mail-encode-mml to nil.
14084
28c45130
GM
140852011-09-09 Glenn Morris <rgm@gnu.org>
14086
14087 * woman.el (woman-if-body): When processing an .el block,
14088 do not delete the next .el block as well. (Bug#9447)
69f4b618 14089 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14090
9b1c252e
MR
140912011-09-08 Martin Rudalics <rudalics@gmx.at>
14092
14093 * window.el (window-deletable-p): Make sure window is live before
14094 invoking window-prev-buffers.
14095
567457e3
LL
140962011-09-08 Leo Liu <sdl.web@gmail.com>
14097
14098 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14099
97f05794
JL
141002011-09-08 Juri Linkov <juri@jurta.org>
14101
14102 * progmodes/compile.el (compilation-environment): Make it
14103 a defcustom (bug#8340).
14104
8b0874b5
MR
141052011-09-08 Martin Rudalics <rudalics@gmx.at>
14106
14107 * window.el (frame-auto-delete): Rename to window-auto-delete.
14108 Make it control auto-deletion of windows and/or frames.
14109 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14110 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14111 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14112 Rewrite handling of case when window/frame can be deleted.
14113 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14114 argument t. (Bug#9456)
8b0874b5 14115
4feb6e73
CY
141162011-09-07 Chong Yidong <cyd@stupidchicken.com>
14117
14118 * help-mode.el (help-mode): Restore autoload.
14119
91ab9c13
JL
141202011-09-07 Juri Linkov <juri@jurta.org>
14121
14122 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14123 `compilation-environment'. Set buffer-local
14124 `compilation-environment' to `thisenv' later after (funcall mode).
14125 (Bug#8340)
14126
14127 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14128 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14129 instead of replacing its value. (Bug#8340)
14130
0527e251
JL
141312011-09-07 Juri Linkov <juri@jurta.org>
14132
14133 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14134 based on text properties put by `grep-filter' instead of matching
14135 escape sequences.
14136 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14137 to the value of `grep-error-screen-columns' (bug#9438).
14138
249f792c
JL
141392011-09-07 Juri Linkov <juri@jurta.org>
14140
14141 * simple.el (next-error-highlight, next-error-highlight-no-select):
14142 Doc fix (bug#9432).
14143
ff7271b9
OT
141442011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14145
14146 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14147 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14148
183fc730
LL
141492011-09-07 Leo Liu <sdl.web@gmail.com>
14150
14151 * net/rcirc.el (rcirc-mode): Conditionally initialize
14152 rcirc-input-ring.
14153
77694924
SM
141542011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * emacs-lisp/find-func.el (find-function-C-source): Only set
14157 find-function-C-source-directory after checking that we found a source
14158 file there (bug#9440).
14159
d809b8eb
AM
141602011-09-06 Alan Mackenzie <acm@muc.de>
14161
14162 * isearch.el (isearch-other-meta-char): Wherever a key list is
14163 unread, "unread" the prefix arg, too. This fixes bug #8901.
14164
453de99f
OG
141652011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14166
14167 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14168
90439906
JL
141692011-09-05 Juri Linkov <juri@jurta.org>
14170
14171 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14172
f62bd846
JL
141732011-09-05 Juri Linkov <juri@jurta.org>
14174
14175 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14176 keeping point where processing of grep matches begins, and
14177 continue to delete remaining escape sequences from the same point.
14178 (grep-filter): Make leading zero optional in "0?1;31m" because
14179 git-grep emits "\033[1;31m" escape sequences unlike expected
14180 "\033[01;31m" as GNU Grep does (bug#9408).
14181 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14182
045820ec
JL
141832011-09-05 Juri Linkov <juri@jurta.org>
14184
14185 * subr.el (y-or-n-p): Capitalize "yes".
14186
f5e29b9b
MA
141872011-09-04 Michael Albinus <michael.albinus@gmx.de>
14188
14189 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14190 `tramp-cache-unload-hook' where appropriate.
14191 (tramp-methods): Rename `tramp-remote-sh' to
14192 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14193 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14194
14195 * net/tramp-sh.el (top): Don't require 'shell.
14196 (tramp-methods): Add `tramp-remote-shell' and
14197 `tramp-remote-shell-args' entries.
14198 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14199 (tramp-sh-handle-shell-command): Remove.
14200 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14201 Use `tramp-remote-shell'.
14202
2784c434
CY
142032011-09-03 Chong Yidong <cyd@stupidchicken.com>
14204
393a301e 14205 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14206 (sendmail-query-once): Save directly to send-mail-function.
14207 Update message-send-mail-function too.
14208
14209 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14210
464cdf56
CS
142112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14212
14213 * progmodes/python.el (python-mode-map): Use correct function to
14214 start python interpreter from menu-bar (as reported by Geert
14215 Kloosterman).
14216 (inferior-python-mode-map): Fix typo.
393a301e 14217 (python-shell-map): Remove.
464cdf56 14218
d37e5c87
DD
142192011-09-03 Deniz Dogan <deniz@dogan.se>
14220
14221 * net/rcirc.el (rcirc-print): Simplify code for
14222 rcirc-scroll-show-maximum-output. There is no need to walk
14223 through all windows to find the right one.
14224
f3ada0ee
CS
142252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14226
14227 * help.el (help-return-method): Doc fix.
14228
1f3c99ca
MR
142292011-09-03 Martin Rudalics <rudalics@gmx.at>
14230
14231 * window.el (window-deletable-p): Don't return a non-nil value
14232 when there's a buffer that was shown in the window before.
14233 (Bug#9419)
393a301e
SM
14234 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14235 Set window's previous buffers to nil.
1f3c99ca 14236
a3cf097f
EZ
142372011-09-03 Eli Zaretskii <eliz@gnu.org>
14238
14239 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14240 newline before and after the tag line, so it doesn't interfere
14241 with determining the paragraph direction of bidirectional text.
14242
3d03de90
LL
142432011-09-03 Leo Liu <sdl.web@gmail.com>
14244
14245 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14246
c3313451
CY
142472011-09-02 Chong Yidong <cyd@stupidchicken.com>
14248
393a301e 14249 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14250 (pop-to-buffer): Change interactive spec. Pass second argument
14251 directly to display-buffer.
14252 (display-buffer): Fix interactive spec. Use functionp to
14253 distinguish between a function and a list of functions.
14254
14255 * abbrev.el (edit-abbrevs):
14256 * arc-mode.el (archive-extract):
14257 * autoinsert.el (auto-insert):
14258 * bookmark.el (bookmark-bmenu-list):
14259 * files.el (find-file):
14260 * view.el (view-buffer):
14261 * progmodes/compile.el (compilation-goto-locus):
14262 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14263
89894cd8
CY
142642011-09-02 Chong Yidong <cyd@stupidchicken.com>
14265
14266 * window.el (display-buffer-alist): Doc fix.
14267 (display-buffer): Add docstring. Don't treat
14268 display-buffer-default specially.
14269 (display-buffer-reuse-selected-window)
14270 (display-buffer-same-window, display-buffer-maybe-same-window)
14271 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14272 (display-buffer-pop-up-window)
14273 (display-buffer-reuse-or-pop-window)
14274 (display-buffer-use-some-window): New functions.
14275 (display-buffer-default-action): Use them.
393a301e 14276 (display-buffer-default): Delete.
89894cd8
CY
14277 (pop-to-buffer-1): Fix choice of actions.
14278
ae0bc9fb
SM
142792011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14280
14281 * minibuffer.el (completion--insert-strings): Don't get confused by
14282 completion entries that end with an LF char.
14283
e9d90883
EZ
142842011-09-01 Eli Zaretskii <eliz@gnu.org>
14285
14286 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14287
437014c8
CY
142882011-09-01 Chong Yidong <cyd@stupidchicken.com>
14289
14290 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14291 (display-buffer-same-window, display-buffer-other-window):
14292 New functions.
437014c8
CY
14293 (pop-to-buffer-1): New function. Use the above.
14294 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14295 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14296
14297 * view.el (view-buffer-other-window, view-buffer-other-frame):
14298 Just use pop-to-buffer.
14299
a5e063d5
TV
143002011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14301
14302 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14303
793d32bb
WH
143042011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14305
14306 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14307
d65e4c15
RS
143082011-08-31 Richard Stallman <rms@gnu.org>
14309
14310 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14311 of the separation of rmail-view-buffer from rmail-buffer.
14312 If you say no to "replace original", the decrypt is in the
14313 view buffer. If you say yes, the decrypt goes into the
14314 rmail buffer also.
14315
f818cd2a
MR
143162011-08-31 Martin Rudalics <rudalics@gmx.at>
14317
14318 * window.el (display-buffer-window): Rewrite doc-string.
14319 (display-buffer-record-window): New function.
14320 (display-buffer-macro-specifiers)
14321 (display-buffer-even-window-sizes, display-buffer-set-height)
14322 (display-buffer-set-width, display-buffer-in-window)
14323 (display-buffer-reuse-window, display-buffer-split-specifiers)
14324 (display-buffer-side-specifiers, display-buffer-split-window-1)
14325 (display-buffer-split-window, display-buffer-split-atom-window)
14326 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14327 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14328 (display-buffer-other-window-means-other-frame)
14329 (display-buffer-normalize-special)
14330 (display-buffer-normalize-default)
14331 (display-buffer-normalize-argument)
14332 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14333 (display-buffer-normalize-specifiers, display-buffer-frame)
14334 (display-buffer-same-window, display-buffer-same-frame)
14335 (display-buffer-other-window)
14336 (display-buffer-same-frame-other-window)
14337 (display-buffer-other-frame, pop-to-buffer-same-window)
14338 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14339 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14340 (switch-to-buffer-same-frame)
14341 (switch-to-buffer-other-window-same-frame)
14342 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14343 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14344 (display-buffer-alist-set): Remove.
14345 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14346 (special-display-regexps, special-display-function):
14347 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14348 parameter.
14349 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14350 (special-display-frame-alist, special-display-popup-frame)
14351 (same-window-buffer-names, same-window-regexps, same-window-p)
14352 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14353 (split-window-preferred-function, split-height-threshold)
14354 (split-width-threshold, window-splittable-p)
14355 (split-window-sensibly, window--try-to-split-window)
14356 (window--frame-usable-p, even-window-heights)
14357 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14358 (window--display-buffer-2, display-buffer-other-frame):
14359 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14360 (display-buffer-default, display-buffer-assq-regexp): New functions.
14361 (display-buffer-alist): Rewrite doc-string.
14362 (display-buffer-default-action)
14363 (display-buffer-overriding-action): New variables.
14364 (display-buffer, switch-to-buffer): Rewrite.
14365 (pop-to-buffer): Restore Emacs 23 behavior but use
14366 window-normalize-buffer-to-display.
14367 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14368 Restore Emacs 23 behavior but use
14369 window-normalize-buffer-to-switch-to.
14370 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14371 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14372 Rewrite using Emacs 23 options.
f818cd2a 14373
5bc3b51d
MA
143742011-08-31 Michael Albinus <michael.albinus@gmx.de>
14375
14376 * net/tramp.el (tramp-root-regexp): Remove.
14377 (tramp-completion-file-name-regexp-unified)
14378 (tramp-completion-file-name-regexp-separate)
14379 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14380 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14381 (tramp-drop-volume-letter): Simplify definition.
14382 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14383
b1a4f8e1
SM
143842011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14385
14386 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14387 (bug#9356).
14388
5664fa7b
RT
143892011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14390
b1a4f8e1 14391 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14392
9a45d6c3
JL
143932011-08-29 Juri Linkov <juri@jurta.org>
14394
14395 * isearch.el (isearch-done): Don't display message "Mark saved"
14396 when arg `edit' is non-nil to prevent its flicker in the echo area.
14397
fb87e0fb
CY
143982011-08-28 Chong Yidong <cyd@stupidchicken.com>
14399
14400 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14401 obsolete packages for deletion.
14402
09ac1c2a
CS
144032011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14404
14405 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14406 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14407 view-mode from help-mode.
14408 (help-xref-override-view-map): Remove.
14409 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14410 view-mode is not used anymore.
14411
7a1ff57f
CY
144122011-08-28 Chong Yidong <cyd@stupidchicken.com>
14413
14414 * server.el (server-port): Doc fix.
14415
b9696605
CY
14416 * cus-theme.el (custom-theme-choose-mode): Inherit from
14417 special-mode (Bug#9124).
14418 (custom-theme-choose-mode-map): Add special-mode to parent.
14419
ef8cdf8c
AM
144202011-08-28 Alan Mackenzie <acm@muc.de>
14421
14422 * progmodes/cc-fonts.el
14423 (c-make-font-lock-BO-decl-search-function): New function.
14424 (c-basic-matchers-after - "Fontify the clauses after various
14425 keywords"): Extract the three keyword lists for the 3 erroneous
14426 constructs from the list of four, and use the new function above
14427 in place of an old one.
14428
27de4e20
DD
144292011-08-28 Deniz Dogan <deniz@dogan.se>
14430
14431 * net/rcirc.el (rcirc-insert-prev-input)
14432 (rcirc-insert-next-input): Remove unused argument.
14433
356a3681
SM
144342011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14435
14436 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14437
3fc9b218
AM
144382011-08-27 Alan Mackenzie <acm@muc.de>
14439
14440 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14441 handle function pointer parameters properly.
14442
538a061c
MR
144432011-08-27 Martin Rudalics <rudalics@gmx.at>
14444
14445 * window.el (display-buffer-reuse-window): Fix case where
14446 selected window was reused with non-nil OTHER-WINDOW argument.
14447 (Bug#9381)
14448
35b1c40c
DD
144492011-08-27 Deniz Dogan <deniz@dogan.se>
14450
14451 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14452 oftc's NickServ messages.
14453
2f6a3e79
GM
144542011-08-27 Glenn Morris <rgm@gnu.org>
14455
14456 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14457
7254299e
CY
144582011-08-26 Chong Yidong <cyd@stupidchicken.com>
14459
14460 * emacs-lisp/package.el (package-install): Call package-initialize
14461 if called interactively.
14462
f8ccf167
LL
144632011-08-26 Leo Liu <sdl.web@gmail.com>
14464
14465 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14466
3e8cd5ce
JL
144672011-08-25 Juri Linkov <juri@jurta.org>
14468
14469 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14470 `search-whitespace-regexp' (bug#9364).
14471
93eb7113
JL
144722011-08-25 Juri Linkov <juri@jurta.org>
14473
14474 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14475 `regexp-search-ring' to their global values to protect from
14476 updating by `read-from-minibuffer' (bug#9185).
14477
f65d1611
JL
144782011-08-25 Juri Linkov <juri@jurta.org>
14479
14480 * textmodes/ispell.el (ispell-command-loop): Add newline
14481 at the end of the "Use option `i'..." line.
14482
f1cf7a31
JL
144832011-08-25 Juri Linkov <juri@jurta.org>
14484
14485 * battery.el (display-battery-mode): If `battery-status-function'
14486 or `battery-mode-line-format' is nil, display the message and set
14487 `display-battery-mode' to nil (bug#9363).
14488
0c95fcf7
EZ
144892011-08-25 Eli Zaretskii <eliz@gnu.org>
14490
14491 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14492 bidi-string-mark-left-to-right; they are unnecessary now.
14493
a2ebe600
DD
144942011-08-25 Deniz Dogan <deniz@dogan.se>
14495
14496 * net/quickurl.el: Documentation typo fixes.
14497
e4ed06f1
CY
144982011-08-25 Chong Yidong <cyd@stupidchicken.com>
14499
14500 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14501
e5f1c99e
GM
145022011-08-25 Glenn Morris <rgm@gnu.org>
14503
b2948976
GM
14504 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14505
e5f1c99e
GM
14506 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14507 (smtpmail-via-smtp): Handle nil response from smtp.
14508
f22f4808
JL
145092011-08-24 Juri Linkov <juri@jurta.org>
14510
14511 * proced.el (proced-marked): Inherit from `error' instead of
14512 `font-lock-warning-face'.
14513
14514 * ibuffer.el (ibuffer-marked-face): Change default face from
14515 `font-lock-warning-face' to `warning'.
14516 (ibuffer-deletion-face): Change default face from
14517 `font-lock-type-face' to `error'.
14518
14519 * battery.el (battery-update): Use the face `error' instead of
14520 `font-lock-warning-face' (bug#6117).
14521
6a93965e
JL
145222011-08-24 Juri Linkov <juri@jurta.org>
14523
14524 * faces.el (success): Change face color from "Green3" to
14525 "ForestGreen" on light background (bug#9353).
14526
1ed43b09
CY
145272011-08-24 Chong Yidong <cyd@stupidchicken.com>
14528
5664fa7b
RT
14529 * window.el (quit-window): Rename from quit-restore-window.
14530 Use same arglist as old quit-window.
1ed43b09
CY
14531 (frame-auto-delete): Doc fix.
14532
14533 * view.el (view-mode-exit): Use quit-window.
14534
11dcdbb2
JL
145352011-08-24 Juri Linkov <juri@jurta.org>
14536
14537 * isearch.el (isearch-ring-adjust1): Start visiting previous
14538 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14539 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14540 for empty search string (when the last search string is reused
14541 automatically) to adjust the isearch ring to the last element and
14542 prepare the correct index for further M-p commands (bug#9185).
14543
de62b4df
KH
145442011-08-24 Kenichi Handa <handa@m17n.org>
14545
14546 * international/ucs-normalize.el: If decomposition property of
14547 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14548 nil.
14549 (nfd, nfkd): Likewise.
14550
963b492b
SM
145512011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14554 from process filters aren't reliably transmitted to the surrounding
14555 accept-process-output.
14556 (mpc-proc-check): New function.
14557 (mpc-proc-sync): Use it (bug#8293)
14558
93b6b5e1
SM
145592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14560
14561 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14562 Add compatibility functions (bug#9313).
14563
bca633fb
EZ
145642011-08-23 Eli Zaretskii <eliz@gnu.org>
14565
b177498a
EZ
14566 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14567
6df6ae42 14568 * international/uni-bidi.el: Regenerate.
bca633fb 14569
0902a04e
KH
145702011-08-23 Kenichi Handa <handa@m17n.org>
14571
14572 * international/charprop.el:
14573 * international/uni-bidi.el:
14574 * international/uni-category.el:
14575 * international/uni-combining.el:
14576 * international/uni-comment.el:
14577 * international/uni-decimal.el:
14578 * international/uni-decomposition.el:
14579 * international/uni-digit.el:
14580 * international/uni-lowercase.el:
14581 * international/uni-mirrored.el:
14582 * international/uni-name.el:
14583 * international/uni-numeric.el:
14584 * international/uni-old-name.el:
14585 * international/uni-titlecase.el:
14586 * international/uni-uppercase.el: Regenerate.
14587
3bbf23bc
MR
145882011-08-23 Martin Rudalics <rudalics@gmx.at>
14589
14590 * help.el (help-window-setup): Fix message displayed when other
14591 window is reused. (Bug#9341)
14592
b3fd59bd
SM
145932011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14594
1802e444
SM
14595 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14596 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14597
b3fd59bd
SM
14598 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14599 Mark obsolete.
14600 * shell.el (shell-parse-pcomplete-arguments): New function.
14601 (shell-completion-vars): Use it instead (bug#9160).
14602
4eb61348
SM
146032011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14604
867cab74
SM
14605 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14606 strings and comments (bug#9333).
14607
4eb61348
SM
14608 * emacs-lisp/debug.el (debug-arglist): New function.
14609 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14610 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14611
262a1439
JL
146122011-08-22 Juri Linkov <juri@jurta.org>
14613
56ee679c
JL
14614 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14615 Revert regexp that highlights output switches to its old
14616 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14617
262a1439
JL
14618 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14619 to check for empty output (bug#9226).
14620
f13f86fb
CY
146212011-08-22 Chong Yidong <cyd@stupidchicken.com>
14622
14623 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14624 symbol-constituent as the default, as that stops font-lock from
14625 working properly (Bug#8843).
14626
c65c9622
LMI
146272011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14628
14629 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14630 `coding-system-for-*' around the process open call to avoid
14631 auth-source side effects.
e7f2c178 14632 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14633 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14634 probe hangs.
c65c9622 14635
23a8a5ab
CY
146362011-08-21 Chong Yidong <cyd@stupidchicken.com>
14637
ff98b2dd
CY
14638 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14639
23a8a5ab
CY
14640 * emacs-lisp/find-func.el (find-function-noselect): New arg
14641 lisp-only.
14642
14643 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14644 signal an error for built-in functions (Bug#6664).
14645
f5e3c598
LMI
146462011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14647
14648 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14649 (smtpmail-try-auth-methods): Use it.
14650
a3f2468a
CY
146512011-08-21 Chong Yidong <cyd@stupidchicken.com>
14652
2c34e8da
CY
14653 * font-lock.el (font-lock-fontify-region)
14654 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14655 (font-lock-default-unfontify-buffer)
14656 (font-lock-default-fontify-region)
14657 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14658
b3fd59bd
SM
14659 * progmodes/compile.el (compilation-error-properties):
14660 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14661 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14662 `ant' regexp.
ee31aabc 14663
a3f2468a
CY
14664 * net/browse-url.el (browse-url-firefox): Don't call
14665 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14666
8e999f70
GM
146672011-08-20 Glenn Morris <rgm@gnu.org>
14668
c21a496a
GM
14669 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14670
59ee0542
GM
14671 * tutorial.el (tutorial--default-keys): Update some default bindings.
14672
8e999f70
GM
14673 * files.el (hack-local-variables): Fully ignore case for "mode:".
14674
e3715033
AM
146752011-08-20 Alan Mackenzie <acm@muc.de>
14676
14677 Resolve invalid use of a regexp in regexp-opt.
14678
4d61f28d
JB
14679 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14680 detection for a java annotation.
e3715033 14681
4d61f28d 14682 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14683 detection for a java annotation.
14684
4d61f28d
JB
14685 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14686 handling for java.
e3715033
AM
14687 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14688
04ed2e9c
CY
146892011-08-20 Chong Yidong <cyd@stupidchicken.com>
14690
14691 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14692 (Bug#9274).
14693
826cee64
AM
146942011-08-20 Alan Mackenzie <acm@muc.de>
14695
58179cce 14696 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14697 such a construct. Mainly for when jit-lock etc. starts a chunk
14698 here.
14699
58179cce 14700 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14701 variable.
58179cce 14702 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14703 c-make-font-lock-search-function.
14704 (c-make-font-lock-search-function): Use the above function.
14705 (c-make-font-lock-context-search-function): New function.
14706 (c-cpp-matchers): Enhance the preprocessor expression case with
14707 the above function
14708 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14709 which takes an expression.
14710
14711 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14712
13009bd8
MR
147132011-08-20 Martin Rudalics <rudalics@gmx.at>
14714
14715 * window.el (display-buffer-reuse-window)
14716 (display-buffer-pop-up-window): Don't reuse or split a side
14717 window.
14718
9234ff7f
GM
147192011-08-19 Glenn Morris <rgm@gnu.org>
14720
14721 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14722 Downcase "Mode:". (Bug#9331)
9234ff7f 14723
f635daa1
CY
147242011-08-18 Chong Yidong <cyd@stupidchicken.com>
14725
14726 * international/characters.el: Add L and R categories.
14727
14728 * subr.el (bidi-string-mark-left-to-right): Rename from
14729 string-mark-left-to-right. Use category search.
14730
14731 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14732
bc987f8b
JL
147332011-08-18 Juri Linkov <juri@jurta.org>
14734
14735 * faces.el (error, warning, success): New faces with definitions
14736 copied from old default values of `font-lock-warning-face',
14737 `compilation-warning', `compilation-info' (bug#6117).
14738
14739 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14740
14741 * progmodes/compile.el (compilation-error): Inherit from `error'.
14742 (compilation-warning): Inherit from `warning'.
14743 (compilation-info): Inherit from `success'.
14744
14745 * dired.el (dired-marked): Inherit from `warning'.
14746 (dired-flagged): Inherit from `error'.
14747
57173b96
LMI
147482011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14749
3e79eb87
LMI
14750 * mail/smtpmail.el (auth-source): Require to avoid problems with
14751 binding variables (bug#9298). Also clean up some unused
14752 autoloads.
14753
b3fd59bd
SM
14754 * net/network-stream.el (network-stream-open-starttls):
14755 Support using starttls.el without using gnutls-cli.
57173b96 14756
02b404de
JL
147572011-08-17 Juri Linkov <juri@jurta.org>
14758
14759 * progmodes/grep.el (rgrep): Handle the case when
14760 `grep-find-command' is a cons cell (bug#9278).
14761
8c9177f2
MR
147622011-08-17 Martin Rudalics <rudalics@gmx.at>
14763
14764 * window.el (display-buffer-pop-up-frame): Run frame creation
14765 function with BUFFER current (as special-display-popup-frame
14766 does). Reported by Drew Adams.
14767
3644a0ab
DU
147682011-08-17 Daiki Ueno <ueno@unixuser.org>
14769
14770 * epa-mail.el: Simplify GnuPG group expansion using
14771 epg-expand-group.
14772 (epa-mail-group-alist, epa-mail-group-modtime)
14773 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14774 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14775 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14776 Remove.
14777
5e617bc2 147782011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14779
14780 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14781
9c4aeabf
AM
147822011-08-16 Alan Mackenzie <acm@muc.de>
14783
14784 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14785 Correct, to avoid the inside of macros.
14786
3a99bf64
RS
147872011-08-16 Richard Stallman <rms@gnu.org>
14788
04963aa8
RS
14789 * epa-mail.el: Handle GnuPG group definitions.
14790 (epa-mail-group-alist, epa-mail-group-modtime)
14791 (epa-mail-gnupg-conf-file): New variables.
14792 (epa-mail-parse-groups, epa-mail-sync-groups)
14793 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14794 (epa-mail-expand-recipients): New functions.
14795 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14796
177549d0
RS
14797 * mail/rmail.el (rmail-epa-decrypt): New command.
14798
fe38beef
RS
14799 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14800 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14801 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14802 (epa-decrypt-armor-in-region): Make error message clearer.
14803
934eacb9
SM
148042011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14807 and "a2b" to "ab" for `prefix'.
14808
d024fb4e
CY
148092011-08-14 Chong Yidong <cyd@stupidchicken.com>
14810
14811 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14812 filter groups.
de148fee
CY
14813 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14814 Fourquet (Bug#8804).
d024fb4e 14815
62f1ca49
JB
148162011-08-12 Juanma Barranquero <lekktu@gmail.com>
14817
14818 * startup.el (argi): Declare as global variable (bug#9275).
14819
9ccaaa4b
CY
148202011-08-12 Chong Yidong <cyd@stupidchicken.com>
14821
14822 * subr.el (string-mark-left-to-right): Search the entire string
14823 for RTL script, not just the terminating character. Doc fix.
14824
a3dae87a
SM
148252011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14826
6cd18349
SM
14827 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14828 New function.
14829 (js--regexp-literal, js-syntax-propertize-function): Remove.
14830 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14831 (js-mode-map): Don't rebind electric keys.
14832 (js-insert-and-indent): Remove.
14833 (js-mode): Setup electric-layout and electric-indent instead.
14834
a3dae87a
SM
14835 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14836
9d5cb631
DU
148372011-08-12 Daiki Ueno <ueno@unixuser.org>
14838
14839 * epa.el (epa-progress-callback-function): Fix the logic of
14840 displaying progress.
14841 * epa-file.el (epa-file-insert-file-contents): Make progress
14842 display more user-friendly.
14843 (epa-file-write-region): Ditto.
14844
3e26a4a2
CY
148452011-08-10 Chong Yidong <cyd@stupidchicken.com>
14846
14847 * subr.el (string-mark-left-to-right): New function.
14848
14849 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14850 Use string-mark-left-to-right.
14851 (list-buffers-noselect): Caller changed.
14852
a3dae87a
SM
14853 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14854 Use string-mark-left-to-right.
3e26a4a2
CY
14855 (tabulated-list-print): Recenter after moving point.
14856
ac8cf6e6
JL
148572011-08-10 Juri Linkov <juri@jurta.org>
14858
14859 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14860 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14861 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14862
8d96c9a4
CY
148632011-08-09 Chong Yidong <cyd@stupidchicken.com>
14864
14865 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14866 (Bug#7554).
14867
7be1c708 148682011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14869
14870 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14871 character. (Bug#6594)
14872
37e11a63
CY
148732011-08-08 Chong Yidong <cyd@stupidchicken.com>
14874
839dde57
CY
14875 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14876 (image-dired--with-db-file): New macro.
14877 (image-dired-write-tags, image-dired-remove-tag)
14878 (image-dired-create-gallery-lists, image-dired-write-comments)
14879 (image-dired-get-comment, image-dired-mark-tagged-files)
14880 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14881 (image-dired-gallery-generate): Use insert-file-contents.
14882
37e11a63
CY
14883 * time.el (display-time-world-list, display-time-world-display):
14884 * time-stamp.el (time-stamp-string):
14885 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14886 set-time-zone-rule (Bug#7337).
14887
0b4946c4
DU
148882011-08-08 Daiki Ueno <ueno@unixuser.org>
14889
14890 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14891 (epg-error-to-string, epg-errors-to-string): New function.
14892 (epg-wait-for-completion): Reverse errors list.
14893 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14894 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14895 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14896 (epg-sign-keys, epg-generate-key-from-file)
14897 (epg-generate-key-from-string): Format errors by using
14898 epg-errors-to-string (bug#9255).
14899 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14900
75bfc667
JL
149012011-08-07 Juri Linkov <juri@jurta.org>
14902
14903 * faces.el (list-faces-display): Remove extra angle bracket
14904 from `help-mode-map'.
14905
14906 * info.el (Info-history-toc-nodes): Doc fix.
14907
14908 * longlines.el (longlines-mode): Doc fix.
14909
673e08bb
SM
149102011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14911
4640dd88
SM
14912 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14913 of statements and in a few more cases (bug#9183).
14914
673e08bb
SM
14915 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14916 New functions.
14917 (cl-transform-lambda): Use them (bug#9239).
14918
89b3f019
MR
149192011-08-05 Martin Rudalics <rudalics@gmx.at>
14920
14921 * window.el (display-buffer-same-window)
14922 (display-buffer-same-frame, display-buffer-other-window)
14923 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14924 (pop-to-buffer-other-window)
14925 (pop-to-buffer-same-frame-other-window)
14926 (pop-to-buffer-other-frame): Make them defuns.
14927 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14928
640c8776
SM
149292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * subr.el (make-composed-keymap): Move from C. Change calling
14932 convention, and improve docstring to bring attention to a subtle point.
14933 * minibuffer.el (completing-read-default): Adjust accordingly.
14934
63648a95
MA
149352011-08-03 Michael Albinus <michael.albinus@gmx.de>
14936
14937 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14938 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14939
14940 * net/trampver.el: Update release number.
14941
b796c9b7
SM
149422011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14943
14944 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14945 "in" (bug#9190).
14946
2239d7d5
LMI
149472011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14948
e07dd7c3
LMI
14949 * mail/sendmail.el (sendmail-query-once): Restore the current
14950 buffer after querying (bug#9074).
14951
0e6a2bd7
LMI
14952 * dired.el (dired-flagged): Use different faces for marked and
14953 flagged files (bug#6117).
14954
ce887515
LMI
14955 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14956 (bug#4433).
14957
92f2affc
LMI
14958 * ido.el (ido-mode): Switch off the message if called
14959 non-interactively.
14960
57d5aff0
LMI
14961 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14962 before 587, since it appears that that's more likely to work for
14963 more people.
14964
98cd6c18 14965 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14966 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14967 exist.
14968
b96dec83
LMI
14969 * info.el: Remove the `Info-beginning-of-buffer' function
14970 (bug#8325).
14971
b796c9b7
SM
14972 * net/network-stream.el (network-stream-open-starttls):
14973 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14974
d90e2ea0
MR
149752011-08-01 Martin Rudalics <rudalics@gmx.at>
14976
14977 * window.el (display-buffer-in-window): Don't set dedicated status
14978 of window here (Bug#9215).
14979 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14980 (display-buffer-pop-up-side-window)
b796c9b7 14981 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14982
cca09170
SM
149832011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14984
14985 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14986 before binding generated-autoload-file.
14987
027b979c
DD
149882011-08-01 Deniz Dogan <deniz@dogan.se>
14989
14990 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14991
3c7ee4f3
MA
149922011-07-30 Michael Albinus <michael.albinus@gmx.de>
14993
14994 Sync with Tramp 2.2.2.
14995
14996 * net/trampver.el: Update release number.
14997
2cc8e51a
JL
149982011-07-30 Juri Linkov <juri@jurta.org>
14999
15000 * dired-aux.el (dired-touch-initial): Remove function.
15001 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15002 current time, and `default' to the last modification time of the
15003 current marked file (bug#6887).
15004
a514d856
JM
150052011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15006
15007 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15008 numeric argument to read-number (bug#9163).
a514d856 15009
8a7eddd7
MA
150102011-07-27 Michael Albinus <michael.albinus@gmx.de>
15011
15012 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15013 connection process, it could be nil.
15014
1ddd96f5
LL
150152011-07-27 Leo Liu <sdl.web@gmail.com>
15016
15017 Simplify url handling in rcirc-mode.
15018
15019 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15020 (rcirc-browse-url-at-mouse): Remove.
15021 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15022
b248a85d
AM
150232011-07-26 Alan Mackenzie <acm@muc.de>
15024
15025 Fontify bitfield declarations properly.
15026
15027 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15028 (c-symbol-chars): Now exported as a lang variable.
15029 (c-not-primitive-type-keywords): New lang variable.
15030
15031 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15032 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15033 parsed as a bitfield declaration.
b248a85d 15034
b796c9b7
SM
15035 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15036 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15037 (c-punctuation-in): New function.
15038 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15039 declarations properly.
15040
68575ab0
UJ
150412011-07-26 Ulf Jasper <ulf.jasper@web.de>
15042
15043 * calendar/icalendar.el (icalendar--all-events): Take care of
15044 multiple vcalendars in a single file.
b796c9b7 15045 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15046
0f0a88b9
DD
150472011-07-25 Deniz Dogan <deniz@dogan.se>
15048
15049 * image.el (insert-image): Clarifying docstring.
15050
0b3f36df
MA
150512011-07-24 Michael Albinus <michael.albinus@gmx.de>
15052
15053 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15054 `tramp-send-command-and-check' if there is no error.
15055 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15056
a9901f61
AM
150572011-07-22 Alan Mackenzie <acm@muc.de>
15058
15059 Prevent cc-langs.elc being loaded at run time.
15060
15061 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15062 cc-langs.
15063
4d61f28d 15064 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15065 "(require 'cc-langs)". Quote a form so it will evaluate at
15066 (cc-mode's) compilation time.
15067
11d074b2
MA
150682011-07-22 Michael Albinus <michael.albinus@gmx.de>
15069
15070 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15071 loading. (Bug#9114)
15072
938b94c8
MR
150732011-07-21 Martin Rudalics <rudalics@gmx.at>
15074
15075 * window.el (display-buffer-pop-up-window)
15076 (display-buffer-pop-up-side-window)
15077 (display-buffer-in-side-window): Call display-buffer-set-height
15078 and display-buffer-set-width after setting the new window's
b796c9b7 15079 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15080
bfa4f190
SS
150812011-07-20 Sam Steingold <sds@gnu.org>
15082
15083 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15084 (etags-tags-included-tables): Call `convert-standard-filename' on
15085 the file names contained in TAGS so that windows Emacs can handle
15086 TAGS files created by cygwin ctags.
15087
8ca42262
LMI
150882011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15089
15090 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15091 which apparently didn't work.
15092
5db2afd2 150932011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15094
5db2afd2
RW
15095 * proced.el (proced-send-signal): For *Marked Processes* buffer
15096 put point at beginning of buffer.
15097
92e15d10
SB
150982011-07-19 Stephen Berman <stephen.berman@gmx.net>
15099
15100 * proced.el (proced-format): Make header lines align with the text
15101 (bug#1779).
15102
1bfd59e5
LMI
151032011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15104
15105 * view.el (view-buffer): Allow running in `special' modes if we're
15106 visiting a file (bug#8615).
15107
f5aae37c
MR
151082011-07-19 Martin Rudalics <rudalics@gmx.at>
15109
15110 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15111 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15112 New functions.
f5aae37c
MR
15113 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15114 more accurately.
15115
bf2c1571
AM
151162011-07-18 Alan Mackenzie <acm@muc.de>
15117
15118 Fontify declarators properly when, e.g., a jit-lock chunk begins
15119 inside a declaration.
15120
15121 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15122
b796c9b7
SM
15123 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15124 New function.
bf2c1571
AM
15125 (c-complex-decl-matchers): Insert reference to
15126 c-font-lock-enclosing-decls.
15127
15128 * progmodes/cc-engine.el (c-backward-single-comment):
15129 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15130 to nil around calls to (forward-comment -1).
15131
4e190b80
LMI
151322011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15133
12dc863d
LMI
15134 * image.el (put-image): Doc typo fix.
15135
a762e966
LMI
15136 * progmodes/etags.el (tags-search): Doc typo fix.
15137
4e190b80
LMI
15138 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15139 password if we get errors 550 to 554.
15140
f019fb21
LMI
151412011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15142
b796c9b7 15143 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15144
81746738
LMI
15145 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15146 indentation character (bug#6380).
15147
3ee3a1b5
LMI
15148 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15149
c82f64de
LMI
15150 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15151 to clarify what the problem is (bug#4291).
15152
f019fb21
LMI
15153 * simple.el (current-kill): Clarify what
15154 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15155 (auto-fill-mode): Document `auto-fill-function' in relation to
15156 `auto-fill-mode' (bug#2470).
f019fb21 15157
0794775d
LM
151582011-07-16 Lawrence Mitchell <wence@gmx.li>
15159
15160 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15161 method if slot is read-only (bug#9035).
15162
be39b8cc
MR
151632011-07-16 Martin Rudalics <rudalics@gmx.at>
15164
b796c9b7 15165 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15166 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15167 selected before, see discussion of (Bug#8615), (Bug#6954).
15168 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15169
6ccf7859
GM
151702011-07-15 Glenn Morris <rgm@gnu.org>
15171
15172 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15173 Respect help-form.
6ccf7859 15174
87e86684
LM
151752011-07-09 Lawrence Mitchell <wence@gmx.li>
15176
15177 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15178 (gnutls-negotiate): Use it.
15179
d6066239
LMI
151802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15181
b796c9b7
SM
15182 * net/gnutls.el (gnutls-negotiate):
15183 Upcase `gnutls-algorithm-priority'.
d6066239 15184
bd23ebc0
GM
151852011-07-15 Glenn Morris <rgm@gnu.org>
15186
c65bca65
GM
15187 * jka-compr.el (jka-compr-verbose): Move from here...
15188 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15189 Add missing :version tag.
15190 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15191
478615cc
LMI
151922011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15193
7b41decb
LMI
15194 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15195 (gnutls-negotiate): Use it.
15196
dbc44fcd
LMI
15197 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15198
06789f97
LMI
15199 * info.el (Info-beginning-of-buffer): New command.
15200 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15201 announcing `b' as the key (bug#8325).
ab896c37 15202 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15203
c39da690
LMI
15204 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15205
3aa5f34b
LMI
15206 * international/mule-cmds.el
15207 (describe-specified-language-support): Make the error message
15208 clearer (bug#8905).
15209
4bf0979f
LMI
15210 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15211
478615cc
LMI
15212 * isearch.el (isearch-barrier): Add a doc string, since it's
15213 mentioned in a function doc string (bug#8678).
15214
75c68aa1
MR
152152011-07-15 Martin Rudalics <rudalics@gmx.at>
15216
15217 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15218 buffer argument (Bug#9083) and self-identifying label argument.
15219
a7c33da2
GM
152202011-07-15 Glenn Morris <rgm@gnu.org>
15221
15222 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15223
2f5c6024
LMI
152242011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15225
15226 * man.el (Man-fontify-manpage): Fix message when formatting the
15227 man page (bug#7929).
15228
0bb23927 152292011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15230
15231 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15232 argument LRM; if non-nil, append an invisible LRM character to the
15233 buffer name.
15234 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15235 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15236 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15237 paragraph direction.
cce4b0a7 15238
621ef9ab
LMI
152392011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15240
d1583c48
LMI
15241 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15242 the man page name (bug#7929).
15243
6a57fb5f
LMI
15244 * image.el (put-image): Mention the `put-image' overlay property
15245 (bug#7834).
15246
d7956b14
LMI
15247 * scroll-bar.el (set-scroll-bar-mode): Mention that
15248 `scroll-bar-mode' lists the values (bug#7772).
15249
5b2d4a66
LMI
15250 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15251 command (bug#7729).
15252
7509a874
LMI
15253 * rect.el (apply-on-rectangle): Return the point after the last
15254 operation.
15255 (string-rectangle): Go to the point after the last operation
15256 (bug#7522).
15257
4fe74b19
LMI
15258 * printing.el (pr-toggle-region): Clarify the documentation
15259 slightly (bug#7493).
15260
b796c9b7
SM
15261 * time.el (display-time-update):
15262 Allow `display-time-mail-function' to return nil (bug#7158).
15263 Fix suggested by Detlev Zundel.
ab283561 15264
fc233c9d
LMI
15265 * vc/diff.el (diff): Clarify the order the file names are read
15266 (bug#7111).
15267
43f5740b
LMI
15268 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15269 the doc string (bug#7015).
15270
f2182a76
LMI
15271 * font-lock.el (font-lock-maximum-decoration): Mention what
15272 numeric levels mean (bug#6935).
15273
621ef9ab
LMI
15274 * startup.el (initial-buffer-choice): Don't mention the `none'
15275 selection, which is against policy.
15276
adc47434
MR
152772011-07-14 Martin Rudalics <rudalics@gmx.at>
15278
b796c9b7
SM
15279 * window.el (display-buffer-normalize-special):
15280 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15281
7e5bfb8f
EZ
152822011-07-14 Eli Zaretskii <eliz@gnu.org>
15283
15284 * subr.el (version<, version<=, version=): Mention "-CVS" and
15285 "-12345" alpha version numbers.
15286
27fa387a
CY
152872011-07-14 Chong Yidong <cyd@stupidchicken.com>
15288
15289 * bindings.el: Add advertised binding for set-mark-command
15290 (Bug#5772).
15291
8bdfa064
CY
152922011-07-14 Chong Yidong <cyd@stupidchicken.com>
15293
15294 * bindings.el (mode-line-other-buffer):
15295 * bookmark.el (bookmark-bmenu-2-window):
15296 * bs.el (bs-cycle-next, bs-cycle-previous):
15297 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15298 switch-to-buffer.
15299
15300 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15301 Delete.
8bdfa064 15302
5eba16a3
JB
153032011-07-14 Juanma Barranquero <lekktu@gmail.com>
15304
15305 * follow.el (follow-debug-message, follow-redisplay):
15306 * jka-cmpr-hook.el (with-auto-compression-mode):
15307 Fix typos in docstrings.
15308
15853710
LMI
153092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15310
a28e4607
LMI
15311 * subr.el (with-silent-modifications): Clarify somewhat what the
15312 macro inhibits (bug#6525).
15313
15853710
LMI
15314 * simple.el (eval-expression): Note what it does if called
15315 interactively (bug#6495).
15316
bee0fcef
CY
153172011-07-13 Chong Yidong <cyd@stupidchicken.com>
15318
b796c9b7
SM
15319 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15320 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15321
15322 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15323 Remove switch-to-buffer.
15324
58274504
LMI
153252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15326
bd2fcc8d
LMI
15327 * files.el (make-directory): Clarify that an error will be raised
15328 if there's an error (bug#6397).
15329
0f04b32c
LMI
15330 * startup.el (initial-buffer-choice): Add `none' as a choice
15331 (bug#6234).
15332
465c5fc8
LMI
15333 * subr.el (add-hook): Clarify section about buffer-local hooks
15334 (bug#6218).
15335
58274504
LMI
15336 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15337
bead9a43
JB
153382011-07-13 Juanma Barranquero <lekktu@gmail.com>
15339
15340 * tabify.el (untabify): Preserve the current column so that point
15341 doesn't move (bug#6032).
15342
3af98a7b
LMI
153432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15344
b796c9b7
SM
15345 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15346 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15347
6240145a
GM
153482011-07-13 Glenn Morris <rgm@gnu.org>
15349
15350 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15351 (dired-insert-directory): Give a message the first time
15352 if ls is found not to support --dired.
15353
1d8c2ccc
LMI
153542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15355
15356 * simple.el (toggle-truncate-lines): Clarify what is toggled
15357 (bug#5580). Text by Drew Adams.
15358
5fc4038e
CY
153592011-07-13 Chong Yidong <cyd@stupidchicken.com>
15360
15361 * simple.el (blink-matching-open): Make the error message from the
15362 last change less verbose.
15363
bf6012e5
DN
153642011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15365
15366 * font-lock.el (font-lock-comment-face): Use the high contrast
15367 "yellow" color for font-lock-comment-face on low color terminals
15368 using a dark background color (bug#4221).
15369
343c3b5a
LMI
153702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15371
7e9505c5
LMI
15372 * dired.el (dired-insert-set-properties): Make the doc string
15373 reflect what it does now (bug#5325).
15374
c26fdcf5
LMI
15375 * simple.el (blink-matching-open): Say that we were unable to find
15376 the match within the limit, if we're limited (bug#5122).
15377
bb388cc5
LMI
15378 * international/mule-cmds.el (prefer-coding-system): Add an
15379 example (bug#4869).
15380
343c3b5a
LMI
15381 * progmodes/etags.el (tags-search): Document `file-list-form'
15382 (bug#4731).
15383
2a517d45
LM
153842011-07-13 Lawrence Mitchell <wence@gmx.li>
15385
15386 * net/browse-url.el (browse-url-default-browser)
15387 (browse-url-browser-function): Make the default browser choice a
15388 bit more logical (bug#4300). Also clean up the doc string.
15389
b6c78ef2
JB
153902011-07-13 Juanma Barranquero <lekktu@gmail.com>
15391
15392 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15393 binary endings (bug#4440).
15394
1c4dd947
LMI
153952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15396
a2014063
LMI
15397 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15398 which can be pretty annoying (bug#8971).
15399
9c9c2d88
LMI
15400 * jka-compr.el (jka-compr-verbose): New variable, and use
15401 throughout (bug#8971).
15402
1c4dd947
LMI
15403 * info.el (Info-find-file): Fall back on the installation
15404 directory if we can't find the info node anywhere else.
15405
a1c9f41b
SO
154062011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15407
15408 * vc/vc.el (vc-revert-file):
15409 Don't set file time-stamp in the past. (Bug#5181)
15410
536f3d36
LMI
154112011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15412
7152b011
LMI
15413 * files.el (after-find-file): Give a better error message when
15414 trying to find a symlink that points to a file that doesn't exist
15415 (bug#4398).
15416
536f3d36
LMI
15417 * progmodes/cc-vars.el: Remove (probably) misleading comment
15418 (bug#4396).
15419
460c0fba
JB
154202011-07-12 Johan Bockgård <bojohan@gnu.org>
15421
15422 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15423
7a6bda45
CY
154242011-07-12 Chong Yidong <cyd@stupidchicken.com>
15425
15426 * mouse-sel.el: Hack restoring functionality, while keeping
15427 compatibility with 2010-07-03 changes to mouse selection.
15428 (mouse-sel-primary-overlay): New var.
15429 (mouse-sel-selection-alist): Use it.
15430 (mouse-sel-mode): Doc fix; remove points that are default features
15431 of mouse.el.
15432
c79598ef
JB
154332011-07-12 Johan Bockgård <bojohan@gnu.org>
15434
15435 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15436 Fix previous fix (bug#2490).
15437
ff8be6ef
RW
154382011-07-12 Roland Winkler <winkler@gnu.org>
15439
b796c9b7
SM
15440 * textmodes/bibtex.el (bibtex-initialize):
15441 Use pop-to-buffer-same-window.
ff8be6ef
RW
15442 (bibtex-search-entries): Fix interactive call.
15443
296ba3ee
LMI
154442011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15445
f5242a02 15446 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15447 Fontise bytecomp Error lines more correctly (bug#2490).
15448 Fix suggested by Johan Bockgård.
f5242a02 15449
296ba3ee
LMI
15450 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15451
15452 * dired-x.el (dired-guess-default): Use `delete-dups'.
15453
f69fd0d2
CY
154542011-07-12 Chong Yidong <cyd@stupidchicken.com>
15455
15456 * dired.el (dired-mark-prompt):
15457 * dired-aux.el (dired-read-shell-command): Doc fix.
15458
eab5dc07
LMI
154592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15460
b796c9b7
SM
15461 * mail/sendmail.el (sendmail-query-once):
15462 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15463 emacs -Q.
15464
15465 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15466
eab5dc07
LMI
15467 * cus-edit.el (custom-file): Take an optional no-error variable.
15468 (customize-save-variable): Set the variable, and give a warning if
15469 running under "emacs -q".
15470
a1e65d42
JB
154712011-07-11 Juanma Barranquero <lekktu@gmail.com>
15472
15473 * loadhist.el (unload-feature-special-hooks):
15474 Add `auto-coding-functions', `fill-nobreak-predicate' and
15475 `find-directory-functions' (bug#5327).
15476
1d52da10
LMI
154772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15478
be958f1d
LMI
15479 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15480
5bedb26c
LMI
15481 * cus-edit.el (custom-guess-name-alist): -alist variables should
15482 use the `alist' type (bug#3120). Suggested by Drew Adams.
15483
1d52da10
LMI
15484 * printing.el: Add documentation to all the `pr-toggle-' commands.
15485
cd394be1 154862011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15487
15488 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15489 backends where it makes sense (bug#2623).
15490
dcc88d8a
LMI
154912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15492
c3de9feb
LMI
15493 * dired-x.el (dired-guess-default): Remove duplicate shell command
15494 entries (bug#2028).
8a93078b 15495 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15496 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15497
dcc88d8a
LMI
15498 * subr.el (remove-duplicates): New conveniency function.
15499
505e3645
LMI
155002011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15501
15502 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15503 (bug#1526).
15504
155052011-07-10 Martin Rudalics <rudalics@gmx.at>
15506
15507 * window.el (display-buffer-normalize-default): Don't invert
15508 meaning of even-window-heights. Reported by Eli Zaretskii
15509 <eliz@gnu.org>.
15510
455e4fa1
BR
155112011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15512
15513 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15514
8e0bc3e9
CY
155152011-07-10 Chong Yidong <cyd@stupidchicken.com>
15516
15517 * window.el (display-buffer): Fix arguments to
15518 display-buffer-reuse-window in last change.
15519
fa7c3228
CY
15520 * faces.el (link): Use a less saturated blue on light backgrounds.
15521
15522 * startup.el (fancy-startup-text, fancy-about-text)
15523 (fancy-startup-tail): Use font-lock faces, for background safety.
15524
c0a7f300
BN
155252011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15526
b796c9b7
SM
15527 * emulation/viper-cmd.el (viper-change-state-to-vi):
15528 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15529
4dc2a129
MR
155302011-07-09 Martin Rudalics <rudalics@gmx.at>
15531
15532 * window.el (display-buffer-default-specifiers): Remove.
15533 (display-buffer-macro-specifiers): Remove default specifiers.
15534 (display-buffer-alist): Default to nil.
b796c9b7 15535 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15536 (display-buffer-pop-up-window): Allow splitting internal
15537 windows. Check whether a live window was created.
15538 (display-buffer-other-window-means-other-frame)
15539 (display-buffer-normalize-arguments): Rename to
15540 display-buffer-normalize-argument and rewrite. Set the
15541 other-window specifier.
15542 (display-buffer-normalize-special): New function.
15543 (display-buffer-normalize-options): Rename to
15544 display-buffer-normalize-default and rewrite.
15545 (display-buffer-normalize-options-inhibit): Remove.
15546 (display-buffer-normalize-specifiers): Rewrite.
15547 (display-buffer): Process other-window specifier and call
15548 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15549 more faithfully.
b796c9b7 15550 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15551 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15552 (display-buffer-in-window, display-buffer-alist-set):
15553 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15554 <tassilo@member.fsf.org>.
15555
2d43b8c9
LL
155562011-07-09 Leo Liu <sdl.web@gmail.com>
15557
15558 * register.el (insert-register): Restore accidental change on
15559 2011-06-26. (Bug#9028)
15560
7f9b7c53
GM
155612011-07-09 Glenn Morris <rgm@gnu.org>
15562
15563 * subr.el (remq): Handle the empty list. (Bug#9024)
15564
f042cfd8
AS
155652011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15566
15567 * mail/sendmail.el (send-mail-function): No longer delay custom
15568 initialization.
15569 * custom.el (custom-initialize-delay): Doc fix.
15570
856b2f11
SM
155712011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15572
15573 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15574
afae1d68
MA
155752011-07-08 Michael Albinus <michael.albinus@gmx.de>
15576
15577 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15578 human-friendly prompt.
15579
0757af94
SM
155802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15581
15582 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15583 provided by a particular plugin.
15584
d760b731
LMI
155852011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15586
15587 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15588 save customizations (with "emacs -Q"), just set the variable
15589 instead of erroring out.
15590
15591 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15592
cd79ce90
JL
155932011-07-08 Juri Linkov <juri@jurta.org>
15594
15595 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15596 (archive-zip-update-case): Use 7z if found by `executable-find'.
15597 The order of searching the available programs is the same as in
15598 `archive-zip-extract' (bug#8968).
15599
14cc04aa
CY
156002011-07-07 Chong Yidong <cyd@stupidchicken.com>
15601
15602 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15603 (menu-bar-options-menu): Tweak descriptions.
15604
0a1848ec
LMI
156052011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15606
15607 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15608 menu items into verb phrases (bug#1421). Also refill to fit under
15609 80 columns.
15610
f5bd0689
CY
156112011-07-07 Chong Yidong <cyd@stupidchicken.com>
15612
538e85c6
CY
15613 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15614 (Info-read-node-name): Doc fix (Bug#1084).
15615
f5bd0689
CY
15616 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15617 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15618 (end-of-sexp, beginning-of-sexp)
15619 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15620 (forward-symbol, forward-same-syntax, word-at-point)
15621 (sentence-at-point): Doc fix (Bug#1144).
15622
56ec5115
LMI
156232011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15624
f3f8e37f
LMI
15625 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15626 should cover it (bug#1281).
15627
0757af94 15628 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15629
e9fce1ac 15630 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15631 negotiation fails, then possibly try again with a non-encrypted
15632 connection (bug#9017).
15633
56ec5115
LMI
15634 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15635 be used.
15636
c2f9aec8
RS
156372011-07-07 Richard Stallman <rms@gnu.org>
15638
15639 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15640 property, and handle its changed format.
15641 Look for the correct line number.
15642 Use file's line contents (but not past first =) to find
15643 correct line in message.
15644
ef7b981d 156452011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15646
15647 * international/characters.el (build-unicode-category-table):
15648 Delete it.
0757af94 15649 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15650
0757af94 15651 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15652 to src/chartab.c.
15653 (get-char-code-property): Call unicode-property-table-internal to
15654 load a file. Call get-unicode-property-internal where necessary.
15655 (put-char-code-property): Call unicode-property-table-internal to
15656 load a file. Call put-unicode-property-internal where necessary.
15657 put-unicode-property-internal where necessary.
0757af94
SM
15658 (char-code-property-description):
15659 Call unicode-property-table-internal to load a file.
c805dec0
KH
15660
15661 * international/charprop.el:
15662 * international/uni-bidi.el:
15663 * international/uni-category.el:
15664 * international/uni-combining.el:
15665 * international/uni-comment.el:
15666 * international/uni-decimal.el:
15667 * international/uni-decomposition.el:
15668 * international/uni-digit.el:
15669 * international/uni-lowercase.el:
15670 * international/uni-mirrored.el:
15671 * international/uni-name.el:
15672 * international/uni-numeric.el:
15673 * international/uni-old-name.el:
15674 * international/uni-titlecase.el:
15675 * international/uni-uppercase.el: Regenerate.
15676
15677 * loadup.el: Load international/charprop.el before
15678 international/characters.
15679
e14b388a
CY
156802011-07-07 Chong Yidong <cyd@stupidchicken.com>
15681
15682 * window.el (next-buffer, previous-buffer): Signal an error if
15683 called from a minibuffer window.
15684
15685 * bindings.el: Revert 2011-07-04 change.
15686
354cf0ba
RS
156872011-07-06 Richard Stallman <rms@gnu.org>
15688
15689 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15690 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15691 Treat markers like ints.
15692 (rmail-mime-entity): Doc fix.
15693
a48868a7
LMI
156942011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15695
4906cd3d
LMI
15696 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15697 defcustom again for backwards compatibility.
15698
e0457abe
LMI
15699 * simple.el (shell-command-on-region): Fill.
15700
d67f7e1f
LMI
15701 * dired-aux.el (dired-kill-line): Add a doc string.
15702
fe204702
LMI
15703 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15704 to "\\sw\\|\\s_" (bug#358).
15705
a48868a7
LMI
15706 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15707 (dired-unmark-backward): Ditto.
15708 (dired-flag-backup-files): Ditto.
15709
15710 * dired-x.el (dired-mark-sexp): Ditto.
15711
aa8a705c
RS
157122011-07-06 Richard Stallman <rms@gnu.org>
15713
15714 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15715 (rmail-mime-entity): New arg TRUNCATED.
15716 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15717 New functions.
15718 (rmail-mime-save): Warn if entity is truncated.
15719 (rmail-mime-toggle-hidden): Likewise, for showing.
15720 (rmail-mime-process-multipart): Record when an entity is truncated.
15721
a9a936b9
RS
15722 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15723 if ENTITY is a string.
15724
1f2b92cb
LMI
157252011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15726
f4f73198 15727 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15728 of faces when `M-C-x'-ing their definitions (bug#8378).
15729 Also clean up the code slightly.
f4f73198 15730
12b16734 15731 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15732 because that makes the colors go away.
12b16734 15733
f0691d22
LMI
15734 * mail/sendmail.el (send-mail-function): Change the default to
15735 `sendmail-query-once'.
9e87df06 15736 (sendmail-query-once): Add an autoload cookie.
f0691d22 15737
1f2b92cb
LMI
15738 * net/network-stream.el (network-stream-open-starttls): Try using
15739 a plain connection even if the server offered STARTTLS, and we
15740 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15741 capability. This should make smtpmail.el work in slightly more
15742 configurations.
15743
1cdd2a1b
MA
157442011-07-06 Michael Albinus <michael.albinus@gmx.de>
15745
15746 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15747 New defun.
15748 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15749
fbcc67e2
MM
157502011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15751
15752 * progmodes/sql.el: Version 3.0
0757af94 15753 (sql-product-alist): Add product :completion-object,
fbcc67e2 15754 :completion-column, and :statement attributes.
0757af94 15755 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15756 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15757 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15758 ansi keywords.
15759 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15760 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15761 (sql-oracle-show-reserved-words): New function for development.
15762 (sql-product-font-lock): Simplify for source code buffers.
15763 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15764 New functions.
15765 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15766 (sql-mode-map): Add statement movement functions.
15767 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15768 New variable.
fbcc67e2
MM
15769 (sql-statement-regexp, sql-beginning-of-statement)
15770 (sql-end-of-statement, sql-signum): New functions.
0757af94 15771 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15772 (sql-show-sqli-buffer): Bug fix.
15773 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15774 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15775 with sql-interactive-mode.
15776 (sql-save-connection): Save buffer local settings.
0757af94 15777 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15778 (sql-product-interactive): Bug fix.
15779 (sql-preoutput-hold): New variable.
15780 (sql-interactive-remove-continuation-prompt): Bug fixes.
15781 (sql-debug-redirect): New variable.
15782 (sql-str-literal): New function.
15783 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15784 Redesign.
fbcc67e2
MM
15785 (sql-oracle-save-settings, sql-oracle-restore-settings)
15786 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15787 (sql-completion-object, sql-completion-column)
15788 (sql-completion-sqlbuf): New variables.
15789 (sql-build-completions-1, sql-build-completions)
15790 (sql-try-completion): New functions.
15791 (sql-read-table-name): Use them.
15792 (sql-contains-names): New buffer local variable.
15793 (sql-list-all, sql-list-table): Use it.
15794 (sql-oracle-completion-types): New variable.
15795 (sql-oracle-completion-object, sql-sqlite-completion-object)
15796 (sql-postgres-completion-object): New functions.
15797
d4eaeab1
GM
157982011-07-06 Glenn Morris <rgm@gnu.org>
15799
15800 * window.el (pop-to-buffer): Doc fix.
15801
322b7dab 158022011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15803
15804 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15805
322b7dab 158062011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15807
322b7dab 15808 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15809
322b7dab 15810 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15811
605dd5bf
CY
158122011-07-05 Chong Yidong <cyd@stupidchicken.com>
15813
15814 * button.el (button): Inherit from link face. Suggested by Dan
15815 Nicolaescu.
15816
7dbfa719
SM
158172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15818
3db614b0
SM
15819 * progmodes/gdb-mi.el: Fit in 80 columns.
15820 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15821 switch-to-buffer.
15822
7dbfa719
SM
15823 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15824 if imenu is simply not configured (bug#8941).
15825
919d884a
KM
158262011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15827
15828 * allout.el (allout-post-undo-hook): New allout outline-change
15829 event hook to signal undo activity.
15830 (allout-post-command-business): Run allout-post-undo-hook if an
15831 undo just occurred.
7dbfa719
SM
15832 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15833 * allout-widgets.el (allout-widgets-after-undo-function):
15834 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15835 in the vicinity of an undo.
15836 (allout-widgets-mode): Include allout-widgets-after-undo-function
15837 on the new allout-post-undo-hook.
15838
450a0f09
SM
158392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15842 Let define-derived-mode define it.
15843 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15844 cycles of abbrev-table inheritance (bug#8998).
15845
2de69e00
RW
158462011-07-05 Roland Winkler <winkler@gnu.org>
15847
15848 * textmodes/bibtex.el: Add support for biblatex.
15849 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15850 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15851 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15852 (bibtex-entry-alist, bibtex-field-alist): New variables.
15853 (bibtex-entry-field-alist): Obsolete alias for
15854 bibtex-BibTeX-entry-alist.
15855 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15856 (bibtex-set-dialect): New command.
15857 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15858 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15859 Bind via bibtex-set-dialect.
2de69e00
RW
15860 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15861 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15862 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15863 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15864 Define via bibtex-set-dialect.
450a0f09
SM
15865 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15866 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15867 (bibtex-vec-push, bibtex-vec-incr): New functions.
15868 (bibtex-format-entry, bibtex-field-list)
15869 (bibtex-print-help-message, bibtex-validate)
15870 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15871
2dcdbdd9
SM
158722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15873
15874 * progmodes/compile.el (compilation-goto-locus):
15875 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15876 * bs.el (bs-cycle-next, bs-cycle-previous):
15877 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15878 * bindings.el (mode-line-other-buffer):
15879 * autoinsert.el (auto-insert):
15880 * arc-mode.el (archive-extract):
15881 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15882
b27640fe
JB
158832011-07-05 Juanma Barranquero <lekktu@gmail.com>
15884
15885 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15886 Fix check of `emacs-lock-unlockable-modes'.
15887 Coerce true values of `emacs-lock--try-unlocking' to t.
15888
53bbe3ad
JB
158892011-07-05 Juanma Barranquero <lekktu@gmail.com>
15890
15891 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15892 * emacs-lock.el: New file.
15893
1d3cdbc7
JD
158942011-07-05 Julien Danjou <julien@danjou.info>
15895
15896 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15897 than `boundp' to check if face is set.
15898
9173deec
JB
158992011-07-05 Juanma Barranquero <lekktu@gmail.com>
15900
15901 * register.el (registerv-make):
15902 * window.el (window-min-height): Fix typos in docstrings.
15903
869795d6
JD
159042011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15905
9173deec 15906 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15907 Update doc string.
15908
b768cdcd
JB
159092011-07-04 Juanma Barranquero <lekktu@gmail.com>
15910
15911 * server.el (server-execute): Catch quit and call
15912 `server-return-error' to pass the error back to emacsclient and
15913 close the connection (bug#8942).
15914
13aa217b
KM
159152011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15916
15917 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15918 insecure exception for current topic. Also note that auto-saves
15919 are handled differently.
15920
5d3385a0 15921 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15922 State variables for tracking auto-save inhibition situation.
15923
15924 (allout-write-contents-hook-handler): Rename from
15925 'allout-write-file-hook-handler', and describe how it depends on
15926 write-contents-functions sensitivity to non-nil value to prevent
15927 file write.
15928
15929 (allout-auto-save-hook-handler): Remove. auto-save does not check
15930 this in individual buffers, only in the starting buffer, so this
15931 is not the right way for us to inhibit auto-save in a buffer
15932 according to its condition.
15933
15934 (allout-mode): Use new allout-write-contents-hook-handler, and
15935 only with write-contents-functions. Remove auto-save provisions -
15936 they're implemented elsewhere.
15937
15938 (allout-before-change-handler): If undo is in progress, note that
15939 for attention of allout-post-command-business.
15940
15941 (allout-post-command-business): If the command we're following was
15942 an undo, check for change in the status of encrypted items and
15943 adjust auto-save inhibitions accordingly.
15944
15945 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15946 according to whether there are or aren't any plain-text topics
15947 pending encryption.
15948
2dcdbdd9 15949 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15950 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15951 if there are plain-text topics pending encryption.
13aa217b
KM
15952
15953 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15954 buffer-saved-size and some allout state to not inhibit auto-saves
15955 if there are no longer any plain-text topics pending encryption.
15956
0757af94
SM
15957 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15958 No longer provide for exemption of the current topic.
13aa217b 15959
ac89b32c
JL
159602011-07-04 Juri Linkov <juri@jurta.org>
15961
15962 Add 7z operations to delete and save changed members (bug#8968).
15963 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15964 New defcustoms.
15965 (archive-7z-write-file-member): New function.
15966 (archive-7z-summarize): Fix the number of dashes in the
15967 listing output.
15968
8fa39615
SM
159692011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15970
15971 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15972 (bug#8958).
15973
2f11b3f1
CY
159742011-07-04 Chong Yidong <cyd@stupidchicken.com>
15975
d66fef2b
CY
15976 * bindings.el: Ignore next-buffer and previous-buffer in
15977 minibuffer-local-map.
15978
2f11b3f1
CY
15979 * font-lock.el (font-lock-builtin-face): Change light background
15980 color to dark slate blue (Bug#6693).
15981
f932a347
WD
159822011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15983
15984 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15985
c8af70e1
SM
159862011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15987
15988 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15989 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15990 Add switch-to-buffer.
15991
f158badc
LMI
159922011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15993
15994 * isearch.el (isearch-search-fun-function): Clarify further the
15995 meaning of the function returned.
15996
6d95bd46
MA
159972011-07-04 Michael Albinus <michael.albinus@gmx.de>
15998
15999 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16000
16001 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16002 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16003 Use it.
16004 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16005 `tramp-default-remote-path' does not exist.
16006 (tramp-send-command-and-read): New optional argument NOERROR.
16007 (tramp-open-connection-setup-interactive-shell)
16008 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16009 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16010 (tramp-process-sentinel): Flush also process' connection property.
16011 (tramp-sh-handle-start-file-process): Do not set process
16012 sentinel. It is done now ...
16013 (tramp-maybe-open-connection): ... here. (Bug#8929)
16014
909e6b67
MK
160152011-07-04 MON KEY <monkey@sandpframing.com>
16016
16017 * play/animate.el (animate-string): Doc fixes and allow changing
16018 the buffer name (bug#5417).
16019
160202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16021
c8af70e1 16022 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16023
f34755dc
PE
160242011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16025
396cec72
PE
16026 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16027 This is simpler and helps future-proof the code.
16028 (timer-until): Use time-subtract and float-time.
08235028 16029 (timer--time-less-p): Use time-less-p.
f34755dc 16030
56e6cc31
JB
160312011-07-04 Juanma Barranquero <lekktu@gmail.com>
16032
3abb79e5
JB
16033 * type-break.el (timep): Use the value of `float-time' to avoid a
16034 byte-compiler warning.
16035
56e6cc31
JB
16036 * server.el (server-eval-and-print): Return any result, even nil.
16037
7b9430b4
PE
160382011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16039
16040 * type-break.el: Accept time formats that the builtins accept.
16041 (timep, type-break-time-difference): Accept any format that
16042 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16043 This is simpler and helps future-proof the code.
16044 (type-break-time-difference): Round rather than ignoring
16045 subseconds components.
16046
3034e9e7
LMI
160472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16048
16049 * info.el (Info-apropos-matches): Make non-interactive, since it
16050 doesn't seem to do anything useful as a command (bug#8829).
16051
1485f4c0
CY
160522011-07-03 Chong Yidong <cyd@stupidchicken.com>
16053
16054 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16055 Move from faces.el.
1485f4c0
CY
16056 (frame-default-terminal-background): New function.
16057
16058 * custom.el (custom-push-theme): Don't record faces in `changed'
16059 theme; this doesn't work correctly for per-frame face settings.
16060 (disable-theme): Use face-set-after-frame-default to reset faces.
16061 (custom--frame-color-default): New function.
16062
9fa3dd45
LMI
160632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16064
c8af70e1 16065 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16066 (bug#8769).
16067
6cbbc20c
KR
160682011-03-29 Kevin Ryde <user42@zip.com.au>
16069
16070 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16071 `perl-Test2' extend to match possible "fail #N" rep count
16072 (bug#8377).
16073
c7f98048
LMI
160742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16075
65676592
LMI
16076 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16077 `smtpmail-via-smtp' now returns the error instead of nil.
16078
c7f98048
LMI
16079 * isearch.el (isearch-search-fun-function): Clarify the doc string
16080 (bug#8101).
16081
56e6cc31 160822011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16083
16084 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16085 unnecessary spaces (bug#8987).
16086
2b216704
LMI
160872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16088
16089 * net/network-stream.el (open-network-stream): Use the
16090 :end-of-capability command thoughout.
16091
160922011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16093
16094 * net/network-stream.el (open-network-stream): Add the
16095 :end-of-capability command parameter, used by pop3.el.
16096
36adf6ce
LMI
160972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16098
1ca0da0e
LMI
16099 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16100
fc00f69c
LMI
16101 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16102 for list)" (bug#6475).
16103
28fd8759 16104 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16105 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16106 an error (bug#6297).
16107
0dd8b6da
LMI
16108 * man.el (Man-reference-regexp): Allow matching possible
16109 word-wrapped references (bug#6289).
16110
ce1438d6
LMI
16111 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16112 for consistency with the other vc buffers (bug#6197).
16113 (vc-checkin): Ditto.
16114
16115 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16116
36adf6ce
LMI
16117 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16118
e83cc1f7
LMI
161192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16120
8a20ca4c
LMI
16121 * custom.el (defcustom): Clarify that :set is only used in the
16122 Customize user interface (bug#6089).
16123
83319045
LMI
16124 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16125 associated with a file, refuse to run instead of erroring out
16126 (bug#6084).
16127
a8392169
LMI
16128 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16129 the doc string, since it appears that using `fill-column' always
16130 controls the width (bug#7845).
16131
e83cc1f7
LMI
16132 * simple.el (shell-command-on-region): Say where the error output
16133 went if `shell-command-default-error-buffer' is set (bug#6857).
16134
e47ca23b
KM
161352011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16136
16137 * allout.el (allout-yank-processing): Adjust cursor position for
16138 backwards-deleted space.
16139
16140 (allout-rebullet-heading): Register changes with
16141 allout-exposure-changed-hook, so the modified topic is properly
16142 decorated.
16143
5cf56143
LMI
161442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16145
08549772
LMI
16146 * minibuffer.el (completion-in-region): Document PREDICATE
16147 (bug#7136).
16148
48e96771
LMI
16149 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16150 of keyword/argument pairs (bug#6904).
16151
c8af70e1
SM
16152 * replace.el (multi-occur):
16153 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16154
e17d05e2
LMI
161552011-07-02 Drew Adams <drew.adams@oracle.com>
16156
16157 * dired.el (dired-mark-if): Make the message about whether it's
16158 marking or unmarking clearer (bug#8523).
16159
063b0e45
LMI
161602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16161
16162 * disp-table.el (display-table-print-array): New function.
16163 (describe-display-table): Use it to print the vectors more pretty
16164 (Bug#8859).
16165
28545e04
MR
161662011-07-02 Martin Rudalics <rudalics@gmx.at>
16167
16168 * window.el (window-state-get-1): Don't assign clone numbers.
16169 Add clone-of item to list of window parameters.
16170 (window-state-put-2): Don't process clone numbers.
16171 (display-buffer-alist): Fix doc-string.
16172
3349e122
SM
161732011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16174
16175 * subr.el (remq): Don't allocate if it's not needed.
16176 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16177 (keymap--merge-bindings): New functions.
16178 (keymap-canonicalize): Use them to refine the canonicalization.
16179 * minibuffer.el (minibuffer-local-completion-map)
16180 (minibuffer-local-must-match-map): Move initialization from C.
16181 (minibuffer-local-filename-completion-map): Move initialization from C;
16182 don't inherit from anything here.
16183 (minibuffer-local-filename-must-match-map): Make obsolete.
16184 (completing-read-default): Use make-composed-keymap to combine
16185 minibuffer-local-filename-completion-map with either
16186 minibuffer-local-must-match-map or
16187 minibuffer-local-filename-completion-map.
16188
d224ac83
GM
161892011-07-01 Glenn Morris <rgm@gnu.org>
16190
3de63bf8
GM
16191 * type-break.el (type-break-time-sum): Use dolist.
16192
d224ac83
GM
16193 * textmodes/flyspell.el (flyspell-word-search-backward):
16194 Replace CL function.
16195
1a1e3f32
SM
161962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16197
fe3f64d5
SM
16198 * mouse.el (mouse--strip-first-event): New function.
16199 (function-key-map): Use it to map fringe clicks to normal clicks
16200 by default.
16201
eb604e34
SM
16202 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16203 (vc-bzr-revision-completion-table): Add support for annotate and date.
16204
1a1e3f32
SM
16205 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16206 inherit from parent.
16207
5bd35902
LMI
162082011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16209
ace6c69c 16210 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16211 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16212
191e2bed
LMI
16213 * dired.el (dired-mode): Fix up the doc string as suggested by
16214 Drew Adams (bug#8817).
16215
5bd35902
LMI
16216 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16217 cookie, since the manual says that it should be possible to add
16218 this function to `find-file-hook' (bug#8709).
16219
eee8207a
TZ
162202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16221
16222 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16223 here. Noted Ted Zlatanov as the maintainer.
16224 (cfengine-common-settings, cfengine-common-syntax): New functions
16225 to set up common things between `cfengine-mode' and
16226 `cfengine3-mode'.
16227 (cfengine3-mode): New mode.
16228 (cfengine3-defuns cfengine3-defuns-regex
16229 (cfengine3-class-selector-regex cfengine3-category-regex)
16230 (cfengine3-vartypes cfengine3-font-lock-keywords)
16231 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16232 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16233
36b148cf
MA
162342011-07-01 Michael Albinus <michael.albinus@gmx.de>
16235
16236 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16237
16238 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16239
0bf4ba9a
MR
162402011-07-01 Martin Rudalics <rudalics@gmx.at>
16241
16242 * window.el (same-window-buffer-names, same-window-regexps)
16243 (same-window-p, special-display-frame-alist)
16244 (special-display-popup-frame, special-display-function)
16245 (special-display-buffer-names, special-display-regexps)
16246 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16247 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16248 (split-window-preferred-function, split-height-threshold)
16249 (split-width-threshold, even-window-heights)
16250 (display-buffer-mark-dedicated, window-splittable-p)
16251 (split-window-sensibly, window-safely-shrinkable-p):
16252 Un-obsolete.
16253 (display-buffer): Don't spread args with function specifier
16254 because special-display-popup-frame won't like it.
16255
35837f51
PE
162562011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16257
d0672f86
PE
16258 Time-stamp simplifications and fixes.
16259 These improve accuracy slightly, and future-proof the code
16260 against some potential changes to current-time format.
16261
b9444d97
PE
16262 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16263 by using time-since and float-time.
16264
0ef923dc
PE
16265 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16266 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16267 + NNN microseconds".
16268
2f81380d
PE
16269 * type-break.el (type-break-time-sum): Rewrite using time-add.
16270
845b5c3e
PE
16271 * play/hanoi.el (hanoi-current-time-float): Remove.
16272 All uses replaced by float-time.
16273
ee6f1be0
PE
16274 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16275 This yields a more-accurate answer.
16276 (rng-time-to-float): Remove; no longer needed.
16277
fe955043
PE
16278 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16279
5777162a
PE
16280 * calendar/timeclock.el (timeclock-seconds-to-time):
16281 Defalias to seconds-to-time, since they're the same thing.
16282
3103f8b6 16283 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16284 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16285 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16286
0e61a35f
SM
162872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16288
16289 * window.el (bury-buffer): Don't iconify the only frame.
16290 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16291 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16292
ddd63a1e
CY
162932011-07-01 Chong Yidong <cyd@stupidchicken.com>
16294
0e61a35f
SM
16295 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16296 Add mouse-yank-primary.
ddd63a1e 16297
055f4923
TZ
162982011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16299
16300 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16301
6a2fb145
SM
163022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16303
16304 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16305 (find-library-name): Use it to find relative load names when provided
16306 absolute file name (bug#8803).
16307
fd4983f2
LMI
163082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16309
887d14ad
LMI
16310 * textmodes/flyspell.el (flyspell-word): Consider words that
16311 differ only in case as potential doublons (bug#5687).
16312
c53dc7fc
LMI
16313 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16314 Remove two rather uninteresting debugging-like messages to make
16315 debbugs.el more silent.
16316
fd4983f2
LMI
16317 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16318 a password-like phrase.
16319
7a71b18d 163202011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16321
16322 * progmodes/cc-guess.el: New file.
16323
6a2fb145 16324 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16325
16326 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16327 derived from `c-basic-common-init'.
16328
16329 * progmodes/cc-mode.el (top-level): Require cc-guess.
16330 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16331
1fa280a3
LM
163322011-06-30 Lawrence Mitchell <wence@gmx.li>
16333
16334 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16335
e6597158
AM
163362011-06-30 Alan Mackenzie <acm@muc.de>
16337
1fa280a3
LM
16338 * progmodes/cc-engine.el (c-guess-continued-construct):
16339 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16340 lock is disabled. Name this case as "CASE G".
16341
68ba37fb
KM
163422011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16343
16344 * allout.el (allout-yank-processing): Fix injection of extra space
16345 between bullet and non-whitespace character in first topic when
16346 pasting, ensuring that the actual spacing in the pasted topic
16347 following the bullet char is preserved. This extra space was
16348 causing pasted encrypted topics to get a decrypted status even
16349 when the content was actually still encrypted. Now the decryption
16350 status from before the paste is preserved.
16351
16352 (allout-flag-region): Set all allout overlays so they evaporate
16353 when reduced to zero length (evanescent), to prevent overlay
16354 leakage.
16355
887a0b34
GM
163562011-06-30 Glenn Morris <rgm@gnu.org>
16357
94b9acce
GM
16358 * w32-fns.el (w32-charset-info-alist): Declare.
16359
1d9b46d4
GM
16360 * find-dired.el (find-grep-options): Simplify.
16361
cc232200
GM
16362 * term/ns-win.el (ns-set-resource): Declare.
16363
28e77c46
GM
16364 * ses.el (row, col): Declare dynamic variables honestly.
16365
887a0b34
GM
16366 * textmodes/reftex-parse.el (index-tags): Declare.
16367
658d8eb8
CY
163682011-06-30 Chong Yidong <cyd@stupidchicken.com>
16369
16370 * cus-edit.el (customize-push-and-save): New function.
16371
16372 * files.el (hack-local-variables-confirm): Use it.
16373
1fa280a3
LM
16374 * custom.el (load-theme): New arg NO-CONFIRM.
16375 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16376 (custom-enabled-themes): Doc fix.
16377
16378 * cus-theme.el (customize-create-theme)
16379 (custom-theme-merge-theme): Callers to load-theme changed.
16380
bb617717
LMI
163812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16382
d61bdd5d
LMI
16383 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16384 short URLs have at least one dot in them (bug #7614).
16385
bb617717
LMI
16386 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16387 nil, because using a pty is apparently too slow (bug #895).
16388
2f31f37a
LMI
163892011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16390
16391 * mail/sendmail.el (sendmail-query-once): New function.
16392 (sendmail-query-once-function): New variable.
16393
3076b24e
GM
163942011-06-29 Glenn Morris <rgm@gnu.org>
16395
faf2a174
GM
16396 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16397
3076b24e
GM
16398 * ses.el (top-level): Require cl when compiling.
16399 (ses-set-localvars): Fix error statement.
16400 Call it at compile time to silence a storm of warnings.
16401
5386012d
MR
164022011-06-29 Martin Rudalics <rudalics@gmx.at>
16403
16404 * window.el (normalize-live-buffer): Rename to
16405 window-normalize-buffer.
16406 (normalize-live-frame): Rename to window-normalize-frame.
16407 (normalize-any-window): Rename to window-normalize-any-window.
16408 (normalize-live-window): Rename to window-normalize-live-window.
16409 (make-window-atom): Rename to window-make-atom.
16410 (window-resize-reset): Rename to window--resize-reset.
16411 (window-resize-reset-1): Rename to window--resize-reset-1.
16412 (resize-mini-window): Rename to window--resize-mini-window.
16413 (resize-subwindows-skip-p): Rename to
16414 window--resize-subwindows-skip-p.
16415 (resize-subwindows-normal): Rename to
16416 window--resize-subwindows-normal.
16417 (resize-subwindows): Rename to window--resize-subwindows.
16418 (resize-other-windows): Rename to window--resize-siblings.
16419 (resize-this-window): Rename to window--resize-this-window.
16420 (resize-root-window): Rename to window--resize-root-window.
16421 (resize-root-window-vertically): Rename to
16422 window--resize-root-window-vertically.
16423 (normalize-buffer-to-display): Rename to
16424 window-normalize-buffer-to-display.
16425 (normalize-buffer-to-switch-to): Rename to
16426 window-normalize-buffer-to-switch-to.
16427 Correspondingly update all callers of the functions listed
16428 above.
16429 (display-buffer-alist, display-buffer-normalize-arguments)
16430 (display-buffer-normalize-options, display-buffer)
16431 (display-buffer-alist-set): Use "function" instead of
16432 "fun-with-args".
16433
1176868d
CY
164342011-06-28 Chong Yidong <cyd@stupidchicken.com>
16435
16436 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16437 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16438 debbugs.gnu.org. Mention acknowledgment email.
16439
20a7a65f
LMI
164402011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16441
16442 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16443 buffer multibyteness, since it shouldn't matter.
16444
5f45cca5
MR
164452011-06-28 Martin Rudalics <rudalics@gmx.at>
16446
16447 * window.el (display-buffer-in-side-window): Handle dedicated
16448 windows as in display-buffer-reuse-window.
16449 (display-buffer-normalize-alist): Use value of override
16450 specifier.
16451 (display-buffer-normalize-specifiers): Use value of
16452 other-window-means-other-frame specifier.
16453 (display-buffer-alist): Rewrite some texts in widgets.
16454 (display-buffer): Spread arguments when calling function
16455 specified by fun-with-args.
16456
ad85fe1f
DD
164572011-06-28 Deniz Dogan <deniz@dogan.se>
16458
1fa280a3
LM
16459 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16460 Unnest `let'.
da68c4c8 16461
ad85fe1f
DD
16462 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16463 selectors (Bug#5732).
ec49bd31 16464 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16465
a08cc025
JA
164662011-06-27 Jari Aalto <jari.aalto@cante.net>
16467
16468 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16469 (eshell-ls-date-format): New defcustom.
16470 (eshell-ls-file): Use it.
16471
e2b551c5
SM
164722011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16473
16474 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16475
8982b231
KY
164762011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16477
16478 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16479 (ange-ftp-make-tmp-name): New arg.
16480 (ange-ftp-file-local-copy): Use it.
16481
36c9fa27
J
164822011-06-27 Jambunathan K <kjambunathan@gmail.com>
16483
16484 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16485 no-conversion (Bug#8870).
16486
d68443dc
MR
164872011-06-27 Martin Rudalics <rudalics@gmx.at>
16488
16489 * window.el (window-right, window-left, window-child)
16490 (window-child-count, window-last-child)
16491 (window-iso-combination-p, walk-window-tree-1)
16492 (window-atom-check-1, window-tree-1, delete-window)
16493 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16494 new naming conventions - window-vchild, window-hchild,
16495 window-next and window-prev are now called window-top-child,
16496 window-left-child, window-next-sibling and window-prev-sibling
16497 respectively.
d615d6d2
MR
16498 (resize-window-reset): Rename to window-resize-reset.
16499 (resize-window-reset-1): Rename to window-resize-reset-1.
16500 (resize-window): Rename to window-resize.
16501 (window-min-height, window-min-width)
16502 (resize-mini-window, resize-this-window, resize-root-window)
16503 (resize-root-window-vertically, adjust-window-trailing-edge)
16504 (enlarge-window, shrink-window, maximize-window)
16505 (minimize-window, delete-window, quit-restore-window)
16506 (split-window, balance-windows, balance-windows-area-adjust)
16507 (balance-windows-area, window-state-put-2)
16508 (display-buffer-even-window-sizes, display-buffer-set-height)
16509 (display-buffer-set-width, set-window-text-height)
16510 (fit-window-to-buffer): Rename all "resize-window" prefixed
16511 calls to use the "window-resize" prefix convention.
16512 (display-buffer-alist): Fix symbol for label specifier.
16513 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16514 corresponding specifier.
16515 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16516
b6458526
VB
165172011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16518
16519 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16520 convention.
16521 (ses-call-printer): Does not pass an empty string to formatter when the
16522 cell is empty to keep from barking printer Calc math-format-value.
16523
d31fd9ac
RS
165242011-06-27 Richard Stallman <rms@gnu.org>
16525
43d5bf84
RS
16526 * battery.el (battery-mode-line-limit): New variable.
16527 (battery-update): Handle it.
16528
d31fd9ac
RS
16529 * mail/rmailmm.el (rmail-mime-process-multipart):
16530 Handle truncated messages.
16531
819a6054
GM
165322011-06-27 Glenn Morris <rgm@gnu.org>
16533
16534 * progmodes/flymake.el (flymake-err-line-patterns):
16535 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16536
cedc73f2
VB
165372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16538
819a6054 16539 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16540 (ses--clean-!, ses--clean-_): New functions.
16541 (ses-range): Add configurability of readout order, and conversion
16542 to Calc vector.
16543
5e5d49b6
VB
16544 * ses.el (ses-repair-cell-reference-all): New function.
16545 (ses-cell-symbol): Set macro as safe, so that it can be used in
16546 formulas.
16547
56e6cc31 16548 * ses.el: Update cycle detection algorithm.
90ca8b49 16549 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16550 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16551 (ses-set-localvars): New function.
16552 (ses-make-cell): Add property-list as a cell element.
16553 (ses-cell-property-get-fun, ses-cell-property-get)
16554 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16555 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16556 New functions.
90ca8b49
VB
16557 (ses-cell-property-set, ses-cell-property-pop)
16558 (ses-cell-property-get-handle): New macro.
16559 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16560 New aliases, used for code readability.
16561 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16562 cycle detection.
16563 (ses-self-reference-early-detection): New defcustom.
fac916bf 16564 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16565 (ses-mode): Use ses-set-localvars.
16566 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16567 before lauching the update processing.
16568 (ses-initialize-Dijkstra-attempt): New function.
16569 (ses-recalculate-cell): Update for cycle detection based on
16570 Dijkstra algorithm.
16571
2bb63e81
VB
16572 * ses.el: Fix commenting and indenting convention.
16573
c9d29fb8
SM
165742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16575
16576 * bs.el (bs-cycle-next): Complete last change.
16577
d8e4b68b
JB
165782011-06-27 Drew Adams <drew.adams@oracle.com>
16579
16580 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16581
40098786
LMI
165822011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16583
c9d29fb8
SM
16584 * net/network-stream.el (network-stream-open-starttls):
16585 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16586 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16587
40098786
LMI
16588 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16589 to binary to possibly avoid line encoding issues on Windows (among
16590 other things).
16591
468d09d4
LMI
165922011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16593
16594 * net/network-stream.el (open-network-stream): Return an :error
16595 saying what the problem was, if possible.
16596
16597 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16598 server.
16599
16600 * net/network-stream.el (network-stream-open-starttls): If we
16601 wanted to use STARTTLS, and the server offered it, but we weren't
16602 able to because we had no STARTTLS support, then close the connection.
16603 (open-network-stream): Return an :error element, if present.
16604
16f07dd7
CY
166052011-06-26 Chong Yidong <cyd@stupidchicken.com>
16606
88821ca0
CY
16607 * hl-line.el (hl-line-sticky-flag): Doc fix.
16608 (global-hl-line-sticky-flag): New option (Bug#8323).
16609 (global-hl-line-highlight): Obey it.
16610
16f07dd7
CY
16611 * vc/vc.el (vc-revert-show-diff): Default to t.
16612
6b5ccddf
KM
166132011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16614
c9d29fb8
SM
16615 * allout-widgets.el (allout-widgets-post-command-business):
16616 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16617 undecorated when an isearch is continued past, and isearch
16618 automatically collapses them. This leads to "widget leaks", where
16619 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16620 hidden widgets can slow down cursor travel, substantially.
16621 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16622 so we're doing without this nicety.
16623
16624 (allout-widgets-tally-string): Don't try to do a hash-table-count
16625 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16626 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16627 *Messages* when allout-widgets-maintain-tally is t.
16628
355f2e07
MR
166292011-06-26 Martin Rudalics <rudalics@gmx.at>
16630
16631 * window.el (display-buffer-normalize-argument): Rename to
16632 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16633 LABEL argument. Respect special-display-function when popping up
16634 a new frame. Fix code searching for a window showing the buffer
16635 on another frame.
c9d29fb8
SM
16636 (display-buffer-normalize-specifiers):
16637 Call display-buffer-normalize-arguments.
355f2e07
MR
16638 (display-buffer-in-window): Don't undedicate the window if its
16639 buffer remains the same.
16640 Reported by Drew Adams <drew.adams@oracle.com>.
16641 (display-buffer-alist): Add choice for same-window macro
16642 specfier.
16643 (display-buffer): Mention special meaning of LABEL argument in
16644 doc-string. Fix quoting. Don't pop up a new frame even as
16645 fallback.
16646
7ca8fc42
JB
166472011-06-26 Juanma Barranquero <lekktu@gmail.com>
16648
16649 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16650 avoid deleting the current window in some cases (bug#8911).
16651
bc312254
AS
166522011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16653
16654 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16655 (Bug#8934)
16656
2db18f3f
LMI
166572011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16658
c9d29fb8
SM
16659 * net/network-stream.el (network-stream-open-starttls):
16660 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16661 (network-stream-open-tls): Ditto.
16662
6302e0d3
LL
166632011-06-26 Leo Liu <sdl.web@gmail.com>
16664
16665 * register.el (registerv): New struct.
16666 (registerv-make): New function.
c9d29fb8
SM
16667 (jump-to-register, describe-register-1, insert-register):
16668 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16669 struct. (Bug#8415)
16670
5fdd4046
CY
166712011-06-26 Chong Yidong <cyd@stupidchicken.com>
16672
2afef60a
CY
16673 * vc/vc.el (vc-revert-show-diff): New defcustom.
16674 (vc-diff-internal): New arg specifying diff buffer.
16675 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16676 reuse an existing *vc-diff* buffer (Bug#8927).
16677
5fdd4046
CY
16678 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16679
e93db24a
GM
166802011-06-26 Glenn Morris <rgm@gnu.org>
16681
16682 * progmodes/f90.el (f90-critical-indent): New option.
16683 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16684 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16685 (f90-mode): Doc fix.
16686 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16687 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16688 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16689 (f90-match-end): Handle block, critical.
16690
eefff499
GM
166912011-06-25 Glenn Morris <rgm@gnu.org>
16692
f6ba4cc9
GM
16693 * calendar/diary-lib.el (diary-included-files): Doc fix.
16694 (diary-include-files): New function, extracted from
16695 diary-include-other-diary-files and diary-mark-included-diary-files.
16696 (diary-include-other-diary-files, diary-mark-included-diary-files):
16697 Just call diary-include-files.
16698 (diary-mark-entries): Reset diary-included-files on first call.
16699
16712304
GM
16700 * calendar/diary-lib.el (diary-mark-entries)
16701 (diary-mark-included-diary-files):
16702 Visit included diary-files in temp buffers.
16703
5d8e0d43
GM
16704 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16705 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16706 (f90-start-block-re, f90-imenu-generic-expression)
16707 (f90-looking-at-program-block-start, f90-no-block-limit):
16708 Add support for submodules.
16709
ccf7a5d5
GM
16710 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16711 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16712
11fdef7d 167132011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16714
16715 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16716 buffer-file-type before setting its value, to avoid disastrous
eefff499 16717 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16718
74f53697
JB
167192011-06-25 Juanma Barranquero <lekktu@gmail.com>
16720
16721 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16722
16723 * ses.el (ses-unload-function):
16724 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16725
16726 * proced.el (proced-unload-function):
16727 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16728
18a4ce5e
AR
167292011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16730
16731 * server.el (server-create-window-system-frame): Add parameters arg.
16732 (server-process-filter): Doc fix. Handle frame-parameters.
16733
519d22cc
JB
167342011-06-25 Juanma Barranquero <lekktu@gmail.com>
16735
16736 Fix bug#8730, bug#8781.
16737
16738 * loadhist.el (unload--set-major-mode): New function.
16739 (unload-feature): Use it.
16740
16741 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16742 (python-unload-function): New function.
16743
c206f5b0
SM
167442011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16745
16746 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16747
f9ad64f3
GS
167482011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16749
16750 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16751 the candidates list.
16752
7d0da90e
JB
167532011-06-24 Juanma Barranquero <lekktu@gmail.com>
16754
16755 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16756
14b4e83d
RS
167572011-06-23 Richard Stallman <rms@gnu.org>
16758
16759 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16760 (rmail-variables): Set next-error-move-function.
16761 (rmail-what-message): Take argument POS.
16762 (rmail-next-error-move): New function.
16763
273d2baf
SM
167642011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16765
16766 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16767 messages for adjacent non-terminals.
16768
56c2cc9a
RS
167692011-06-23 Richard Stallman <rms@gnu.org>
16770
16771 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16772 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16773 (rmail-start-mail): Don't specify use of rmail-mail-return;
16774 that's done by mail-bury now.
16775 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16776
d59eb518
MA
167772011-06-23 Michael Albinus <michael.albinus@gmx.de>
16778
16779 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16780 SIZE is a number.
16781
02cfc6d6
MR
167822011-06-23 Martin Rudalics <rudalics@gmx.at>
16783
16784 * window.el (get-lru-window, get-mru-window)
16785 (get-largest-window): Never return a minibuffer window.
16786 (display-buffer-pop-up-window): Fix a bug that could lead to
16787 reusing the minibuffer window.
16788 (display-buffer): Pass original specifier argument to
16789 display-buffer-function instead of the normalized one.
16790 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16791
4e323265
LL
167922011-06-22 Leo Liu <sdl.web@gmail.com>
16793
16794 * minibuffer.el (completing-read-function)
1f9f395d 16795 (completing-read-default): Move from minibuf.c.
4e323265 16796
7a70468f
RS
167972011-06-22 Richard Stallman <rms@gnu.org>
16798
50718fc2
RS
16799 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16800 to Rmail even if not started by a special Rmail command.
16801
7a70468f
RS
16802 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16803 Copy the buffer currently showing just one message.
16804
297dde5a
RW
168052011-06-22 Roland Winkler <winkler@gnu.org>
16806
16807 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16808 (bibtex-clean-entry): First delete the old key so that a
16809 customized algorithm for generating the new key does not get
16810 confused by the old key.
16811 (bibtex-url): Obey regexp of first step.
16812 (bibtex-search-entries): Do not use add-to-list with local
16813 list-var.
16814
97bb1093
LMI
168152011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16816
16817 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16818 stored a user name, then query for the password first, instead of
16819 waiting for SMTP to give an error message and the trying again.
16820
1c0f1a19
JD
168212011-06-22 Lawrence Mitchell <wence@gmx.li>
16822
16823 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16824 BUFFER in call-process.
16825
396f7c9d
LMI
168262011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16827
16828 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16829 QUIT twice.
ddb7ffee
LMI
16830 (smtpmail-try-auth-methods): Require user name and password from
16831 auth-source.
396f7c9d 16832
8998d1b3
MR
168332011-06-22 Martin Rudalics <rudalics@gmx.at>
16834
16835 * window.el (display-buffer-default-specifiers)
16836 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16837 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16838 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16839
16840 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16841 (special-display-frame-alist, special-display-popup-frame):
16842 Remove duplicate declarations. These are now in window.el.
16843
4ea31e07
LMI
168442011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16845
c9d29fb8
SM
16846 * mail/smtpmail.el (smtpmail-via-smtp):
16847 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16848 server supports it. SMTP servers that support STARTTLS commonly
16849 require it.
16850
16851 * net/network-stream.el (network-stream-open-starttls): Support
16852 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16853 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16854
95f41d9a
LMI
16855 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16856 upgrades with `open-network-stream', and rely solely on
16857 auth-source for all credentials. Big changes throughout the file,
16858 but in particular:
c9d29fb8
SM
16859 (smtpmail-auth-credentials): Remove.
16860 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16861 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16862 MAIL FROM, too.
95f41d9a 16863
c9d29fb8
SM
16864 * net/network-stream.el (network-stream-open-starttls):
16865 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16866 STARTTLS.
16867 (auth-source): Require.
16868 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16869 (network-stream-certificate): Change cert-cert to cert and
16870 cert-key to key.
4ea31e07 16871
065ec2c7
MA
168722011-06-21 Michael Albinus <michael.albinus@gmx.de>
16873
16874 * net/tramp-cache.el (top): Don't load the persistency file when
16875 "emacs -Q" has been called.
16876
cd93b359
DR
168772011-06-21 Tim Harper <timcharper@gmail.com>
16878
d8e4b68b
JB
16879 * term/ns-win.el (ns-initialize-window-system):
16880 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16881 resource to NO as it is not yet supported by the NS port.
16882
ae9c0411
JB
168832011-06-21 Juanma Barranquero <lekktu@gmail.com>
16884
16885 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16886 (list-dynamic-libraries): ...not here.
16887
7f3f739f
LL
168882011-06-21 Leo Liu <sdl.web@gmail.com>
16889
16890 * subr.el (sha1): Implement sha1 using secure-hash.
16891
327c8fb1
MR
168922011-06-21 Martin Rudalics <rudalics@gmx.at>
16893
16894 * window.el (display-buffer-alist): In default value do not
16895 enforce searching a window on any but the selected frame.
16896 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16897 (display-buffer-select-window): Remove function.
16898 (display-buffer-in-window): When a window on another frame gets
16899 reused, do not select it any more but just raise its frame if
16900 necessary (Bug#8851) and (Bug#8856).
16901 (display-buffer-normalize-options): Handle pop-up-frames related
16902 options more faithfully.
16903 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16904 window if it is on another frame.
c9d29fb8
SM
16905 (display-buffer-alist, display-buffer-default-specifiers):
16906 Don't make new frame unsplittable by default.
9e9de014
MR
16907 (display-buffer-normalize-argument): Fix doc-string typo and use
16908 'same-frame-other-window instead of 'other-window when associating
16909 with display-buffer-macro-specifiers.
327c8fb1 16910
7cf3f556
VB
169112011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16912
16913 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16914 New functions.
16915 (5x5-mode-map, 5x5-mode-menu): Bind them.
16916 (5x5-draw-grid): Tweak the solver's rendering.
16917
60a406cf
SM
169182011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16919
16920 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16921 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16922
d8e4b68b 169232011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16924
16925 * menu-bar.el: Use function variable instead of switch-to-buffer.
16926 (menu-bar-select-buffer-function): New variable.
60a406cf 16927 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16928
478d6f95
SM
169292011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16930
16931 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16932 variable's status.
16933
ca530739
JD
169342011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16935
16936 * x-dnd.el (x-dnd-version-from-flags)
16937 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16938 and long as number (Bug#8899).
16939 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16940
bcd70d97
SM
169412011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16942
60a406cf 16943 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16944 (completion-try-completion, completion-all-completions): Compute the
16945 metadata argument if it's missing; make it optional (bug#8795).
16946
60a406cf 16947 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16948 (widget-complete): Use new :completion-function property.
16949 (widget-completions-at-point): New function.
16950 (default): Use :completion-function instead of :complete.
60a406cf
SM
16951 (widget-default-completions): Rename from widget-default-complete;
16952 Rewrite.
bcd70d97
SM
16953 (widget-string-complete, widget-file-complete, widget-color-complete):
16954 Remove functions.
16955 (file, symbol, function, variable, coding-system, color):
16956 * international/mule-cmds.el (default-input-method, charset)
16957 (language-info-custom-alist):
16958 * cus-edit.el (face): Use new property :completions.
16959
16960 * progmodes/pascal.el (pascal-completions-at-point): New function.
16961 (pascal-mode): Use it.
16962 (pascal-mode-map): Use completion-at-point.
16963 (pascal-toggle-completions): Make obsolete.
16964 (pascal-complete-word, pascal-show-completions):
16965 * progmodes/octave-mod.el (octave-complete-symbol):
16966 Redefine as obsolete alias.
16967 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16968 Signal absence of completion info for old Octave,
16969 (inferior-octave-complete): Redefine as obsolete alias.
16970 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16971 (meta-completions-at-point): Rename from meta-complete-symbol and
16972 adapt it for use on completion-at-point-functions.
16973 (meta-common-mode): Use it.
16974 (meta-looking-at-backward, meta-match-buffer): Remove.
16975 (meta-complete-symbol): Redefine as obsolete alias.
16976 (meta-common-mode-map): Use completion-at-point.
16977 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16978 (makefile-mode-map): Use completion-at-point.
16979 (makefile-completions-at-point): Rename from makefile-complete and
16980 adapt it for use on completion-at-point-functions.
16981 (makefile-mode): Use it.
16982 (makefile-complete): Redefine as obsolete alias.
16983
aebf69c8
DD
169842011-06-20 Deniz Dogan <deniz@dogan.se>
16985
16986 * net/rcirc.el: Delete trailing whitespaces once and for all.
16987
bfbbb27d
DC
169882011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16989
16990 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16991
d264a46b
CY
169922011-06-19 Chong Yidong <cyd@stupidchicken.com>
16993
4ca009e5
CY
16994 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16995
d264a46b
CY
16996 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16997
fbf5b3ce
MR
169982011-06-19 Martin Rudalics <rudalics@gmx.at>
16999
17000 * window.el (display-buffer-other-window-means-other-frame):
17001 Call display-buffer-normalize-alist.
17002 (display-buffer-normalize-specifiers-1): Rename to
17003 display-buffer-normalize-argument. New argument other-frame.
17004 Rewrite.
17005 (display-buffer-normalize-specifiers-2): Rename to
17006 display-buffer-normalize-options.
17007 (display-buffer-normalize-alist-1): New function.
17008 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17009 display-buffer-normalize-alist.
17010 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17011 (display-buffer-normalize-options-inhibit): New variable.
17012 (display-buffer-normalize-specifiers): Rewrite calling
17013 display-buffer-normalize-alist,
17014 display-buffer-normalize-argument, and
17015 display-buffer-normalize-options. Don't call the latter if
17016 display-buffer-normalize-options-inhibit is non-nil.
17017 (frame-auto-delete): New option.
17018 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17019 (window-list-no-nils, window-state-ignored-parameters)
17020 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17021 (window-state-put-1, window-state-put-2, window-state-put):
17022 New functions.
9a028c23
MR
17023 (display-buffer-normalize-options): Move special-display-p group
17024 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17025
6d10d800
CY
170262011-06-18 Chong Yidong <cyd@stupidchicken.com>
17027
6420d28b
CY
17028 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17029 groups (Bug#8776).
17030 (rx-submatch-n): New function.
17031 (rx): Document it.
17032
ddb8b596
CY
17033 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17034 (Bug#8768).
17035
17036 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17037
77080289
CY
17038 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17039
61dfb316
CY
17040 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17041 anytime existing face settings are present (Bug#8889).
17042
6d10d800
CY
17043 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17044 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17045 Remove unused argument.
17046
be3fb2b8
MR
170472011-06-18 Martin Rudalics <rudalics@gmx.at>
17048
bcd70d97
SM
17049 * window.el (display-buffer-default-specifiers):
17050 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17051 pop-up-window-min-width, and another reuse-window specifier
17052 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17053 (display-buffer-normalize-specifiers-2):
17054 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17055 pop-up-windows is unset. Add a reuse-window specifier for the
17056 case popping up a new window fails.
17057 (special-display-popup-frame): Remove double quoting.
28dec25a 17058 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17059
1c6d8c76
SM
170602011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17063 according to comint-completion-addsuffix.
17064
17065 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17066 (pcomplete-suffix-list): Mark as obsolete.
17067 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17068 pcomplete-seen in the closure.
17069 (pcomplete-comint-setup): Setup completion-at-point as well.
17070 (pcomplete--entries): New function.
17071 (pcomplete--env-regexp): New var.
17072 (pcomplete-entries): Rewrite to work with partial-completion and
17073 without relying on pcomplete-suffix-list.
17074 (pcomplete-pare-list): Remove, unused.
17075
25aef8b8
MR
170762011-06-17 Martin Rudalics <rudalics@gmx.at>
17077
17078 * window.el (display-buffer-alist): Set pop-up-window-min-height
17079 and pop-up-window-min-width in default value. Reported by
17080 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17081 other-window-means-other-frame.
17082 (display-buffer-macro-specifiers): Comment out entry for
17083 other-window specifier.
17084 (display-buffer-other-window-means-other-frame): New function.
17085 (display-buffer-normalize-specifiers-1): New arguments
17086 buffer-name and label. Treat other-window case specially.
17087 (display-buffer-normalize-specifiers-2): Treat other-window case
17088 specially.
17089 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17090 (display-buffer-normalize-specifiers):
17091 Call display-buffer-normalize-specifiers-3.
25aef8b8 17092
dbad4f69
MR
170932011-06-17 Martin Rudalics <rudalics@gmx.at>
17094
17095 * window.el (same-window-p): Fix two typos introduced when
17096 adding with-no-warnings.
d1067961
MR
17097 (display-buffer-normalize-specifiers-1): Don't check
17098 pop-up-frames for 'unset initialization.
17099 (display-buffer-normalize-specifiers-2): Major rewrite using
17100 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17101 (pop-up-frames, display-buffer-reuse-frames)
17102 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17103 Suggested by David Engster <deng@randomsample.de>.
17104 (even-window-heights): Initialize to 'unset.
17105 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17106 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17107 other window case.
dbad4f69 17108
9b9c9e3a
MR
171092011-06-16 Martin Rudalics <rudalics@gmx.at>
17110
bcd70d97
SM
17111 * window.el (display-buffer-normalize-specifiers-1):
17112 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17113 second argument of display-buffer (Bug#8865).
981d5c09
MR
17114 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17115 (switch-to-buffer-other-window-same-frame)
17116 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17117 Adams (Bug#8875).
9c2755e9
MR
17118 (display-buffer): Don't check noninteractive when calling
17119 display-buffer-pop-up-frame.
17120 (display-buffer-pop-up-frame): Never pop up a frame in
17121 noninteractive mode (Bug#8857).
67222e1d
MR
17122 (enlarge-window, shrink-window): Don't report an error when the
17123 window can't be resized as requested (Bug#8862).
9b9c9e3a 17124
2b75be67
SM
171252011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17126
9ffdd3ba
SM
17127 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17128
cb581a67
SM
17129 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17130
2b75be67
SM
17131 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17132
8c0e3589
AM
171332011-06-15 Alan Mackenzie <acm@muc.de>
17134
cb581a67
SM
17135 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17136 for declarators, disable knr checking to speed up for normal files.
17137 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17138
b96e6cde
LMI
171392011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17140
4bba86e6
LMI
17141 * net/network-stream.el (open-network-stream): Add the keyword
17142 :always-query-capabilities for the case where you want to force a
17143 `plain' network connection, but the protocol still requires the
17144 capabilitiy command (i.e., SMTP and EHLO).
17145
2b75be67 17146 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17147 consistency with other `-live-p' functions.
17148
efdcdbf8
SM
171492011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17150
17151 * window.el (same-window-buffer-names, same-window-regexps)
17152 (special-display-frame-alist, special-display-popup-frame)
17153 (special-display-function, special-display-buffer-names)
17154 (special-display-regexps, pop-up-frame-alist)
17155 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17156 (pop-up-windows, split-window-preferred-function)
17157 (split-height-threshold, split-width-threshold, even-window-heights)
17158 (display-buffer-mark-dedicated): Don't encourage the use of
17159 display-buffer-alist from Elisp code.
17160
c5cde042
DN
171612011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17162
17163 * progmodes/python.el (python-mode): Derive from prog-mode.
17164 * progmodes/ps-mode.el (ps-mode):
17165 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17166 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17167 * progmodes/ld-script.el (ld-script-mode): Likewise.
17168
baa1c9ab
MR
171692011-06-15 Martin Rudalics <rudalics@gmx.at>
17170
17171 * window.el (display-buffer-alist): Trim default value to avoid
17172 popping up a new frame (Bug#8857) or reusing an arbitrary window
17173 on another frame.
17174 (display-buffer): Do not fall back on popping up a new frame in
17175 batch mode (Bug#8857).
17176
c5dd5a51
CY
171772011-06-14 Chong Yidong <cyd@stupidchicken.com>
17178
17179 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17180 (custom-theme-summary): New function.
17181 (customize-themes): Use it.
17182
d647b7c4
GM
171832011-06-13 Glenn Morris <rgm@gnu.org>
17184
17185 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17186
9481c002
MR
171872011-06-13 Martin Rudalics <rudalics@gmx.at>
17188
357f93d2
MR
17189 * help.el (help-window): Remove variable.
17190 (help-window-point-marker, temp-buffer-max-height)
17191 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17192 (help-print-return-message): Don't set help-window.
17193 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17194 (help-window-setup-finish): Remove.
17195 (help-window-display-message, help-window-setup)
17196 (with-help-window): Major rewrite based on new
17197 display-buffer-window variable.
17198
17199 * help-mode.el (help-mode-finish): Remove help-window related
17200 code.
17201
17202 * view.el (view-exits-all-viewing-windows): Remove reference to
17203 view-return-to-alist in doc-string.
17204 (view-return-to-alist): Make obsolete.
17205 (view-buffer): Call pop-to-buffer-same-window and remove
17206 undo-window code.
17207 (view-buffer-other-window): Call pop-to-buffer-other-window and
17208 simplify code. Ignore second argument.
17209 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17210 simplify code. Ignore second argument.
17211 (view-return-to-alist-update): Make obsolete.
17212 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17213 Rewrite using quit-restore window parameters.
2b75be67
SM
17214 (view-mode-exit): Rename second argument to EXIT-ONLY.
17215 Rewrite using quit-restore-window.
357f93d2
MR
17216 (View-exit, View-exit-and-edit, View-leave, View-quit)
17217 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17218 appropriate arguments.
17219 (view-end-message): Use quit-restore window parameter.
17220
9481c002
MR
17221 * window.el (display-buffer-function): Rewrite doc-string.
17222 (display-buffer-window, display-buffer-alist): New variables.
17223 (display-buffer-split-specifiers)
17224 (display-buffer-side-specifiers)
17225 (display-buffer-macro-specifiers): New constants.
17226 (display-buffer-even-window-sizes, display-buffer-set-height)
17227 (display-buffer-set-width, display-buffer-select-window)
17228 (display-buffer-in-window, display-buffer-reuse-window)
17229 (display-buffer-split-window-1, display-buffer-split-window)
17230 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17231 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17232 (display-buffer-in-side-window, normalize-buffer-to-display)
17233 (display-buffer-normalize-specifiers-1)
17234 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17235 (display-buffer-normalize-specifiers, display-buffer-frame):
17236 New functions.
9481c002
MR
17237 (display-buffer): Major rewrite.
17238 (display-buffer-other-window, display-buffer-other-frame)
17239 (pop-to-buffer, switch-to-buffer-other-window)
17240 (switch-to-buffer-other-frame): Rewrite.
17241 (display-buffer-same-window, display-buffer-same-frame)
17242 (display-buffer-same-frame-other-window)
17243 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17244 (pop-to-buffer-other-window)
17245 (pop-to-buffer-same-frame-other-window)
17246 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17247 (switch-to-buffer-other-window-same-frame): New functions.
17248 (same-window-p, special-display-p): Rewrite disabling warnings.
17249 Make obsolete.
17250 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17251 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17252 Make obsolete
17253 (same-window-buffer-names, same-window-regexps)
17254 (special-display-frame-alist, special-display-popup-frame)
17255 (special-display-function, special-display-buffer-names)
17256 (special-display-regexps, pop-up-frame-alist)
17257 (pop-up-frame-function, split-window-preferred-function)
17258 (split-height-threshold, split-width-threshold)
17259 (even-window-heights): Make obsolete.
17260
9db51aca
GM
172612011-06-12 Glenn Morris <rgm@gnu.org>
17262
17263 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17264 Misc simplifications.
9db51aca 17265
39cffb44
MR
172662011-06-12 Martin Rudalics <rudalics@gmx.at>
17267
17268 * window.el (window-safely-shrinkable-p): Restore function which
17269 was inadvertently removed in change from 2011-06-11. Declare as
17270 obsolete.
17271
2b75be67
SM
17272 * calendar/calendar.el (calendar-generate-window):
17273 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17274 window-safely-shrinkable-p.
17275
a8955be7
GM
172762011-06-12 Glenn Morris <rgm@gnu.org>
17277
17278 * progmodes/fortran.el (fortran-mode-syntax-table):
17279 * progmodes/f90.el (f90-mode-syntax-table):
17280 Set % to punctuation. (Bug#8820)
17281 (f90-find-tag-default): Remove, no longer needed.
17282
f0d4059d
DC
172832011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17284
17285 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17286
1100a63c
CY
172872011-06-11 Chong Yidong <cyd@stupidchicken.com>
17288
17289 * image.el (image-animated-p): Return animation delay in seconds.
17290 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17291 (image-animate-timeout): Remove DELAY argument. Don't assume
17292 every subimage has the same delay; get it from image-animated-p.
17293 (image-animate): Caller changed.
17294
def722bf
MA
172952011-06-11 Michael Albinus <michael.albinus@gmx.de>
17296
17297 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17298 to ignored backtrace functions.
17299
0a2bb1a9
GM
173002011-06-11 Glenn Morris <rgm@gnu.org>
17301
17302 * calendar/appt.el (appt-disp-window-function): Doc fix.
17303 (appt-check): Handle overlapping appointments. (Bug#8337)
17304
6198ccd0
MR
173052011-06-11 Martin Rudalics <rudalics@gmx.at>
17306
17307 * window.el (window-tree-1, window-tree): New functions, moving
17308 the latter to window.el.
17309 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17310 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17311 (bw-refresh-edges): Remove.
17312 (balance-windows-1, balance-windows-2): New functions.
17313 (balance-windows): Rewrite in terms of window tree functions,
17314 balance-windows-1 and balance-windows-2.
17315 (bw-adjust-window): Remove.
17316 (balance-windows-area-adjust): New function with functionality of
17317 bw-adjust-window but using resize-window.
2b75be67
SM
17318 (set-window-text-height): Rewrite doc-string.
17319 Use normalize-live-window and resize-window.
17320 (enlarge-window-horizontally, shrink-window-horizontally):
17321 Rename argument to DELTA.
6198ccd0
MR
17322 (window-buffer-height): New function.
17323 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17324 Rewrite using new window resize routines.
2b75be67
SM
17325 (kill-buffer-and-window, mouse-autoselect-window-select):
17326 Use ignore-errors instead of condition-case.
6198ccd0
MR
17327 (quit-window): Call delete-frame instead of delete-windows-on
17328 for the only buffer on frame.
17329
9397e56f
MR
173302011-06-10 Martin Rudalics <rudalics@gmx.at>
17331
17332 * loadup.el (top-level): Load window before files for the sake
17333 of replace-buffer-in-windows.
17334
17335 * files.el (read-buffer-to-switch)
17336 (switch-to-buffer-other-window)
2b75be67
SM
17337 (switch-to-buffer-other-frame, display-buffer-other-frame):
17338 Move to window.el.
9397e56f
MR
17339
17340 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17341 (previous-buffer): Move to window.el.
17342
17343 * bindings.el (unbury-buffer): Move to window.el.
17344
17345 * window.el (delete-other-windows-vertically): Move after
17346 definition of delete-other-windows.
17347 (other-window, delete-windows-on, replace-buffer-in-windows):
17348 Move here from window.c.
17349 (record-window-buffer, unrecord-window-buffer)
17350 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17351 (switch-to-next-buffer): New functions.
17352 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17353 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17354 (previous-buffer): Move here from simple.el.
17355 Call switch-to-prev-buffer.
9397e56f
MR
17356 (bury-buffer): Move here from buffer.c. Switch to previous
17357 buffer when window cannot be deleted.
17358 (unbury-buffer): Move here from bindings.el.
17359 (ctl-x-map): Move binding for other-window from window.c to
17360 here.
17361 (read-buffer-to-switch, switch-to-buffer-other-window)
17362 (switch-to-buffer-other-frame): Move here from files.el.
17363 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17364 (switch-to-buffer): Move here from buffer.c.
17365 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17366
562dd5e9
MR
173672011-06-10 Martin Rudalics <rudalics@gmx.at>
17368
17369 * window.el (window-min-height, window-min-width): Move here
17370 from window.c. Add defcustoms and rewrite doc-strings.
17371 (resize-mini-window, resize-window): New functions.
17372 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17373 Move here from window.c.
17374 (maximize-window, minimize-window): New functions.
17375 (delete-window, delete-other-windows, split-window): Move here
17376 from window.c.
17377 (window-split-min-size): New function.
17378 (split-window-keep-point): Mention split-window-above-each-other
17379 instead of split-window-vertically.
2b75be67 17380 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17381 Rename split-window-vertically to split-window-above-each-other
17382 and provide defalias for old definition.
17383 (split-window-side-by-side, split-window-horizontally):
17384 Rename split-window-horizontally to split-window-side-by-side
17385 and provide defalias for the old definition.
562dd5e9
MR
17386 (ctl-x-map): Move bindings for delete-window,
17387 delete-other-windows and enlarge-window here from window.c.
17388 Replace bindings for split-window-vertically and
17389 split-window-horizontally by bindings for
17390 split-window-above-each-other and split-window-side-by-side.
17391
17392 * cus-start.el (all): Remove entries for window-min-height and
17393 window-min-width. Add entries for window-splits and
17394 window-nest.
17395
f0da764a
GM
173962011-06-09 Glenn Morris <rgm@gnu.org>
17397
80675c21
GM
17398 * calendar/appt.el (appt-mode-line): New function.
17399 (appt-check, appt-disp-window): Use it.
17400
f0da764a
GM
17401 * files.el (hack-one-local-variable-eval-safep):
17402 Allow minor-modes with explicit +/-1 arguments.
17403
59f623b7
TZ
174042011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17405
17406 * term/xterm.el (xterm): Add defgroup.
17407 (xterm-extra-capabilities): Add defcustom to supply known xterm
17408 capabilities, skip querying them, or query them (default).
17409 (terminal-init-xterm): Use it.
17410 (terminal-init-xterm-modify-other-keys): New function to set up
17411 modifyOtherKeys support to simplify `terminal-init-xterm'.
17412
9aab8e0d
MR
174132011-06-09 Martin Rudalics <rudalics@gmx.at>
17414
17415 * window.el (resize-window-reset, resize-window-reset-1)
17416 (resize-subwindows-skip-p, resize-subwindows-normal)
17417 (resize-subwindows, resize-other-windows, resize-this-window)
17418 (resize-root-window, resize-root-window-vertically)
17419 (window-deletable-p, window-or-subwindow-p)
17420 (frame-root-window-p): New functions.
17421
e8b08aee
GM
174222011-06-09 Glenn Morris <rgm@gnu.org>
17423
17424 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17425 (ange-ftp-get-files): Use it.
17426
254c37a5
AK
174272011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17428
17429 * mail/sendmail.el (mail-recover-1, mail-recover):
17430 * files.el (recover-file, recover-session):
17431 Handle dired-listing-switches not being just a single short option.
17432
35d7dbd3
GM
174332011-06-09 Glenn Morris <rgm@gnu.org>
17434
17435 * calendar/appt.el (appt-display-message, appt-disp-window):
17436 Handle lists of appointments.
17437
387522b2
MR
174382011-06-08 Martin Rudalics <rudalics@gmx.at>
17439
2b75be67
SM
17440 * window.el (one-window-p): Move down in code.
17441 Rewrite doc-string.
17442 (window-current-scroll-bars): Rewrite doc-string.
17443 Normalize live window argument.
387522b2
MR
17444 (walk-windows, get-window-with-predicate, count-windows):
17445 Rewrite doc-string. Use window-list-1.
17446 (window-in-direction-2, window-in-direction, get-mru-window):
17447 New functions.
17448
d8e4b68b 174492011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17450
17451 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17452 Doc fix (Bug#8713).
17453
174542011-06-08 Chong Yidong <cyd@stupidchicken.com>
17455
17456 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17457
174582011-06-08 Juanma Barranquero <lekktu@gmail.com>
17459
17460 * loadhist.el (unload-feature-special-hooks):
17461 Add `comint-output-filter-functions'.
17462
0de12c52
IK
174632011-06-08 Ivan Kanis <gnu@kanis.fr>
17464
17465 * calendar/appt.el (appt-check): Move some initializations into the let.
17466
f3d1777e
MR
174672011-06-08 Martin Rudalics <rudalics@gmx.at>
17468
17469 * window.el (window-height): Defalias to window-total-height.
17470 (window-width): Defalias to window-body-width.
17471
18af70d0
CY
174722011-06-07 Chong Yidong <cyd@stupidchicken.com>
17473
17474 * image-mode.el (image-toggle-animation): New command.
17475 (image-mode-map): Bind it to RET.
17476 (image-mode): Update message.
17477 (image-toggle-display-image): Avoid a spurious cache flush.
17478 (image-transform-rotation): Doc fix.
17479 (image-transform-properties): Return quickly in the normal case.
17480 (image-animate-loop): Rename from image-animate-max-time.
17481
2b75be67 17482 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17483 (create-animated-image): Remove unnecessary function.
17484 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17485 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17486 (image-animate-timer): Use car-safe.
17487 (image-animate-timeout): Rename argument.
17488
190b47e6
MR
174892011-06-07 Martin Rudalics <rudalics@gmx.at>
17490
17491 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17492 window.c. Rename first argument to ALL-FRAMES.
17493 Rephrase doc-strings.
17494 (get-buffer-window-list): Rewrite using window-list-1.
17495 Rephrase doc-string.
a1511caf
MR
17496 (window-safe-min-height, window-safe-min-width): New constants.
17497 (window-size-ignore, window-min-size, window-min-size-1)
17498 (window-sizable, window-sizable-p, window-size-fixed-1)
17499 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17500 (window-max-delta-1, window-max-delta, window-resizable)
17501 (window-resizable-p, window-total-height, window-total-width)
17502 (window-body-width): New functions.
17503 (window-full-height-p, window-full-width-p): Rewrite using
17504 window-total-size.
17505 (window-body-height): Rewrite using window-body-size.
190b47e6 17506
85cc1f11
MR
175072011-06-06 Martin Rudalics <rudalics@gmx.at>
17508
17509 * window.el (window-right, window-left, window-child)
17510 (window-child-count, window-last-child, window-any-p)
17511 (normalize-live-buffer, normalize-live-frame)
17512 (normalize-any-window, normalize-live-window)
17513 (window-iso-combination-p, window-iso-combined-p)
17514 (window-iso-combinations)
17515 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17516 (windows-with-parameter, window-with-parameter)
17517 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17518 (window-atom-check, window-side-check, window-check):
17519 New functions.
85cc1f11
MR
17520 (ignore-window-parameters, window-sides, window-sides-vertical)
17521 (window-sides-slots): New variables.
17522 (window-size-fixed): Move down in code. Minor doc-string fix.
17523
e7156492
AS
175242011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17525
17526 * comint.el (comint-dynamic-complete-as-filename)
17527 (comint-dynamic-complete-filename): Correctly call
17528 completion-in-region.
17529
7e821d0d
DD
175302011-06-05 Deniz Dogan <deniz@dogan.se>
17531
17532 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17533 in last change.
17534
ac09b8a1
DD
175352011-06-05 Deniz Dogan <deniz@dogan.se>
17536
17537 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17538 (rcirc): Use it to prompt for encryption.
17539
34699b85
RW
175402011-06-05 Roland Winkler <winkler@gnu.org>
17541
17542 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17543 (bibtex-search-entries): New command bound to C-c C-a.
17544 (bibtex-display-entries): New function.
17545
004dedd3
RW
175462011-06-05 Roland Winkler <winkler@gnu.org>
17547
17548 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17549 (bibtex-insert-kill): After yanking insert newline if necessary.
17550 (bibtex-initialize): Call bibtex-string-files-init only once.
17551 (bibtex-mode): Do not call easy-menu-add.
17552 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17553 (bibtex-yank): Set arg properly if nil.
17554
022fe7ce
RW
175552011-06-05 Roland Winkler <winkler@gnu.org>
17556
2b75be67
SM
17557 * textmodes/bibtex.el (bibtex-search-entry-globally):
17558 New variable.
022fe7ce
RW
17559 (bibtex-search-entry): Use it.
17560
b7c3692a
RW
175612011-06-05 Roland Winkler <winkler@gnu.org>
17562
17563 * textmodes/bibtex.el (bibtex-entry-format): New option
17564 sort-fields.
17565 (bibtex-format-entry, bibtex-reformat): Honor this option.
17566 (bibtex-parse-entry): Return fields in proper order.
17567
8eda563d
JB
175682011-06-05 Juanma Barranquero <lekktu@gmail.com>
17569
17570 * doc-view.el (doc-view-remove-if): Move computation of result out
17571 of `dolist' to silence misleading lexical-binding warning.
17572
7dbe3dbc
CY
175732011-06-04 Chong Yidong <cyd@stupidchicken.com>
17574
17575 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17576 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17577
0c33dd17
MA
175782011-06-04 Michael Albinus <michael.albinus@gmx.de>
17579
17580 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17581 "SunOS 5.10".
17582
f8f91c2b
MA
175832011-06-04 Michael Albinus <michael.albinus@gmx.de>
17584
17585 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17586 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17587 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17588 (tramp-parse-putty):
17589 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17590 (tramp-completion-function-alist-ssh)
17591 (tramp-completion-function-alist-telnet)
17592 (tramp-completion-function-alist-su)
17593 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17594 cookie.
17595
17596 * net/tramp-ftp.el:
17597 * net/tramp-sh.el:
17598 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17599 load "tramp.el" `tramp-set-completion-function'.
17600
e17d9003
SM
176012011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17602
17603 * shell.el: Require and use pcomplete.
17604 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17605 (shell-completion-vars): Set pcomplete-default-completion-function.
17606
6c4cab03
DD
176072011-06-04 Deniz Dogan <deniz@dogan.se>
17608
17609 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17610 `memq' (Bug#8799).
17611
ea9fafe0
SM
176122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17613
17614 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17615
b3e945d3
JB
176162011-06-02 Juanma Barranquero <lekktu@gmail.com>
17617
17618 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17619 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17620 * vc/log-view.el (log-view-beginning-of-defun):
17621 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17622 (smerge-refine-forward, smerge-refine-chopup-region):
17623 Silence warning for unused `dotimes' counter variables.
17624
7d520089
SM
176252011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17626
17627 * net/tramp.el (tramp-with-progress-reporter): Rename from
17628 with-progress-reporter. Use `declare'.
17629 * net/tramp-smb.el:
17630 * net/tramp-sh.el:
17631 * net/tramp-gvfs.el: Update all uses.
17632
a1c2400f
JB
176332011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17634
17635 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17636 buffer isn't killed before making it current.
17637
2403c841
SM
176382011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17639
17640 Silence various byte-compiler warnings.
17641 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17642 `access-type' and new obsolescence format.
17643 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17644 new format.
17645 (byte-compile-check-variable): New `access-type' argument.
17646 Only warn if the access-type is obsolete.
17647 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17648 (byte-compile-variable-set): Adjust callers.
17649 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17650 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17651 setting it as obsolete.
17652 * simple.el (minibuffer-completing-symbol):
17653 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17654 access as obsolete.
17655 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17656 obsolete yet.
17657 * international/quail.el (quail-mouse-choose-completion): Remove unused
17658 code referring to obsolete var.
17659 (quail-choose-completion-string): Remove.
17660 * server.el (server-clients-with, server-kill-buffer-query-function)
17661 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17662 * proced.el (proced-send-signal):
17663 * emacs-lisp/lisp.el (lisp-complete-symbol):
17664 Replace completion-annotate-function with completion-extra-properties.
17665
2462470b
SM
176662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17667
fb5b2591
SM
17668 * simple.el (goto-line): Use read-number.
17669 (overriding-map-is-bound): Remove.
17670 (saved-overriding-map): Change default.
17671 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17672 Take the map as argument.
17673 (universal-argument, negative-argument, digit-argument): Use it.
17674 (restore-overriding-map): Adjust.
17675 (do-auto-fill): Use fill-forward-paragraph.
17676 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17677
fd6fa53f
SM
17678 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17679 (minibuffer-inactive-mode): New major mode.
17680 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17681 the *Messages* buffer" hack.
17682 (mouse-popup-menubar): Don't burp if the event is a normal key.
17683
2462470b
SM
17684 Miscellaneous tweaks.
17685 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17686 lexical scoping as in subr.el's dolist and dotimes.
17687 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17688 Silence compiler warning.
17689 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17690 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17691 * international/ccl.el (ccl-compile): Trivial simplification.
17692 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17693 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17694 `printflag' argument.
17695 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17696 Purecopy the whole obsolescence data.
17697
108bf785
LL
176982011-06-01 Leo Liu <sdl.web@gmail.com>
17699
17700 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17701 improve doc-string as suggested by Marco Pessotto
17702 <melmothx@gmail.com>.
17703 (rcirc-print): Fix last change.
17704
30a23501
SM
177052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17706
17707 * minibuffer.el (complete-with-action): Return nil for the metadata and
17708 boundaries of non-functional tables.
17709 (completion-table-dynamic): Return nil for the metadata.
17710 (completion-table-with-terminator): Add default case, using
17711 complete-with-action.
17712 (completion--metadata): New function.
17713 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17714 to try and avoid pathological performance problems.
17715 (completion--embedded-envvar-table): Return `category' metadata.
17716
bcd54f83
LMI
177172011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17718
17719 * subr.el (process-alive-p): New tiny convenience function.
17720
e227544d
SM
177212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17722
17723 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17724 content but also its previous major mode.
17725
e8296fdc
HE
177262011-05-31 Helmut Eller <eller.helmut@gmail.com>
17727
4d61f28d 17728 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17729 *Backtrace* buffer when we exit with C-M-c.
17730
620c53a6
SM
177312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17732
17733 * minibuffer.el: Add metadata method to completion tables.
17734 (completion-category-overrides): New defcustom.
17735 (completion-metadata, completion--field-metadata)
17736 (completion-metadata-get, completion--styles)
17737 (completion--cycle-threshold): New functions.
17738 (completion-try-completion, completion-all-completions):
17739 Add `metadata' argument to choose completion-styles.
17740 (completion--do-completion): Use metadata to choose cycling.
17741 (completion-all-sorted-completions): Use metadata for sorting.
17742 Remove :completion-cycle-penalty which is not needed any more.
17743 (completion--try-word-completion): Add `metadata' argument.
17744 (minibuffer-completion-help): Check metadata for annotation function
17745 and sorting.
17746 (completion-file-name-table): Return `category' metadata.
17747 (minibuffer-completing-file-name): Make obsolete.
17748 * simple.el (minibuffer-completing-symbol): Make obsolete.
17749 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17750 completion-try-completion.
17751
1257e755
SM
177522011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17753
17754 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17755
3767e706
LL
177562011-05-30 Leo Liu <sdl.web@gmail.com>
17757
17758 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17759 (rcirc-print): Decode all incoming messages (bug#8744).
17760 (rcirc-decode-coding-system): Allow value nil for automatic coding
17761 system detection.
3767e706 17762
d1a5d56a
GM
177632011-06-01 Glenn Morris <rgm@gnu.org>
17764
17765 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17766
e8cbec34
CY
177672011-05-29 Chong Yidong <cyd@stupidchicken.com>
17768
17769 * image.el (image-animate-max-time): Allow nil and t values.
17770 Default to nil.
17771 (create-animated-image): Doc fix.
17772 (image-animate-start): Remove second arg; just use
17773 image-animate-max-time.
17774 (image-animate-timeout): Doc fix. Args changed.
17775
17776 * image-mode.el (image-toggle-display-image): Ensure that the
17777 image spec passed to the animate timer is the same object as in
58179cce 17778 the buffer's display property (Bug#6981).
e8cbec34
CY
17779 (image-transform-properties): Doc fix.
17780
17781 * image.el (image-animate-max-time): Default to nil.
17782
159daf87
MR
177832011-05-29 Martin Rudalics <rudalics@gmx.at>
17784
17785 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17786 entire buffer list (Bug#8184).
17787
d66c4c7c
CY
177882011-05-29 Chong Yidong <cyd@stupidchicken.com>
17789
17790 * image.el (imagemagick-types-inhibit)
17791 (imagemagick-register-types): Doc fix.
17792
80aec780
DD
177932011-05-29 Deniz Dogan <deniz@dogan.se>
17794
17795 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17796 default.
17797
1dd3c2d9
CY
177982011-05-29 Chong Yidong <cyd@stupidchicken.com>
17799
17800 * select.el: Don't perform clipboard-manager saving in hooks;
17801 leave the hooks empty.
17802
60e56523
LL
178032011-05-28 Leo Liu <sdl.web@gmail.com>
17804
17805 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17806 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17807 (occur-edit-mode): New major mode (Bug#8463).
17808 (occur-after-change-function): New function.
17809 (occur-engine): Give Occur tags a read-only property.
17810
2b1e1a22
KR
178112011-05-28 Kevin Ryde <user42@zip.com.au>
17812
17813 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17814
5d344e88
CY
178152011-05-28 Chong Yidong <cyd@stupidchicken.com>
17816
8e6ca83d
CY
17817 * bindings.el (help-echo): Make the initial non-indicator dash
17818 empty on graphical terminals (Bug#7295).
17819
5d344e88
CY
17820 * files.el (auto-mode-alist): Move config rule after the
17821 in-stripping one (Bug#8547).
17822
bfbbace7
CY
17823 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17824
fbeba6e2
CY
17825 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17826 setting (Bug#8740).
17827
60ed8c72
AA
178282011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17829
4ac619f0
AA
17830 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17831 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17832 (Bug#8539).
60ed8c72 17833
23db196e
CY
178342011-05-28 Chong Yidong <cyd@stupidchicken.com>
17835
17836 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17837
5012f24c
DK
178382011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17839
17840 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17841 (hs-hide-block-at-point, hs-find-block-beginning)
17842 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17843 (Bug#8279).
17844
6a639b16
GM
178452011-05-28 Glenn Morris <rgm@gnu.org>
17846
17847 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17848
d43eaf2c
CY
178492011-05-28 Chong Yidong <cyd@stupidchicken.com>
17850
5199bde1
CY
17851 * help-fns.el (describe-function-1): If the function is a derived
17852 major mode, print the parent mode.
17853
d43eaf2c
CY
17854 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17855 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17856
423428a8
SM
178572011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17858
0ff8e1ba 17859 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17860 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17861 * progmodes/etags.el (tags-completion-at-point-function):
17862 * info-look.el (info-lookup-completions-at-point): Mark as
17863 non-exclusive.
17864 (info-complete): Adjust accordingly.
17865
423428a8
SM
17866 * info-look.el: Convert to lexical-binding and completion-at-point.
17867 (info-lookup-completions-at-point): New function.
17868 (info-complete): Use it and completion-in-region.
17869
b74aa22b
DA
178702011-05-28 Drew Adams <drew.adams@oracle.com>
17871
17872 * isearch.el: Let M-e start with point at the first mismatched char.
17873 (isearch-fail-pos): New function.
17874 (isearch-edit-string): Use it.
17875
66e2e71d
DK
178762011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17877
17878 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17879
b1890b0f 178802011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17881
17882 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17883 traversal functions for avl-trees.
17884 (avl-tree--stack): New struct.
17885 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17886 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17887 (avl-tree--do-enter): Add optional `updatefun' arg.
17888 Change return value.
eb95d01d 17889 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17890 (avl-tree--do-delete): Add `test' and `nilflag' args.
17891 Change return value.
eb95d01d
TC
17892 (avl-tree-member): Add optional `nilflag'
17893 (avl-tree-member-p): New function.
17894 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17895 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17896 (avl-tree-stack-empty-p): New functions.
17897
3769ddcf
TC
17898 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17899 avl-tree--del-balance1 and make it work both ways.
17900 (avl-tree--del-balance2): Remove.
17901 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17902 make it work both ways.
17903 (avl-tree--enter-balance2): Remove.
17904 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17905 New macros.
17906 (avl-tree--mapc, avl-tree-map): Add direction argument.
17907
eb95d01d 179082011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17909
17910 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17911
a9f737ee
CY
179122011-05-27 Chong Yidong <cyd@stupidchicken.com>
17913
17914 * select.el: Support clipboard managers with built-in function
17915 x-clipboard-manager-save, via delete-frame-functions and
17916 kill-emacs-hook.
17917 (xselect-convert-to-targets): Add MULTIPLE target to list.
17918 (xselect-convert-to-save-targets): New function.
17919
c92a1e54
KH
179202011-05-27 Kenichi Handa <handa@m17n.org>
17921
17922 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17923 let-binding rfc2047-encode-encoded-words to nil.
17924
e145f188
GM
179252011-05-27 Glenn Morris <rgm@gnu.org>
17926
5ec8a862
GM
17927 * mail/emacsbug.el: Don't require url-util.
17928
4b29d9fb
GM
17929 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17930
e145f188
GM
17931 * files.el (set-auto-mode):
17932 Also respect mode: entries at the end of the file. (Bug#8586)
17933
7d15102b
GM
179342011-05-26 Glenn Morris <rgm@gnu.org>
17935
98f593b8
GM
17936 * files.el (hack-local-variables-prop-line, hack-local-variables):
17937 Downcase mode names, as seems to be traditional.
27b48e63 17938 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17939
7d15102b
GM
17940 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17941 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17942
51d5b4ec
JD
179432011-05-25 Julien Danjou <julien@danjou.info>
17944
17945 * textmodes/rst.el (rst-define-level-faces): Do not define face
17946 symbol if it is already defined.
17947
91513f63
VB
179482011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17949
17950 * play/5x5.el (5x5-new-game, 5x5-randomize):
17951 Reset 5x5-solver-output to nil when a new grid is cast.
17952 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17953 these debugging traces, as defmacro breaks the compiled code.
17954
4d90d6d0
DK
179552011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17956
17957 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17958
e1b90ef6
LL
179592011-05-24 Leo Liu <sdl.web@gmail.com>
17960
17961 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17962 (vc-bzr-sha1): Adapt.
17963
d8e4b68b 17964 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17965
17966 * bindings.el: Provide sha1 feature.
17967
db0406bb 179682011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17969
17970 * mail/sendmail.el: Require `rfc2047'.
17971 (mail-insert-from-field): Do not perform RFC2047 encoding.
17972 (mail-encode-header): New function.
17973 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17974 buffer to the return value of select-message-coding-system.
17975 Call mail-encode-header.
b8d747b9
KH
17976
17977 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17978
db0406bb 179792011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17980
4d90d6d0
DK
17981 * mail/supercite.el (sc-default-cite-frame):
17982 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17983
eb8a5e9b
GM
179842011-05-24 Glenn Morris <rgm@gnu.org>
17985
f8630703
GM
17986 * progmodes/python.el (brm-menu): Declare.
17987
8831bbed
GM
17988 * emulation/viper.el (viper-set-hooks): Declare.
17989
eb8a5e9b
GM
17990 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17991 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17992 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17993 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17994 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17995 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17996
a2a25d24
SM
179972011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 Add an :exit-function for completion-at-point.
18000
18001 * minibuffer.el (completion--done): New fun.
18002 (completion--do-completion): Use it. New arg `expect-exact'.
18003 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18004 since completion--do-completion does it for us now.
18005 (minibuffer-force-complete): Use completion--done and
18006 completion--replace. Handle sole-completion case with more care.
18007 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18008 (completion-extra-properties): New var.
18009 (completion-annotate-function): Make obsolete.
18010 (minibuffer-completion-help): Adjust accordingly.
18011 Use completion-list-insert-choice-function.
18012 (completion-at-point, completion-help-at-point):
18013 Bind completion-extra-properties.
18014 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18015 * simple.el (completion-list-insert-choice-function): New var.
18016 (completion-setup-function): Preserve it.
18017 (choose-completion): Pay attention to it, shuffle the code a bit.
18018 (choose-completion-string): New arg `insert-function'.
18019
18020 * textmodes/bibtex.el: Convert to lexical binding.
18021 (bibtex-mode-map): Use completion-at-point.
18022 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18023 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18024 (bibtex-complete): Define as obsolete alias.
18025 (bibtex-complete-internal): Remove.
18026 (bibtex-format-entry): Remove unused sub-group in regexp.
18027 * shell.el (shell--command-completion-data)
18028 (shell-environment-variable-completion):
18029 * pcomplete.el (pcomplete-completions-at-point):
18030 * comint.el (comint--complete-file-name-data): Use :exit-function
18031 instead of completion-table-with-terminator so it also works for
18032 choose-completion.
18033
e44e373d
SM
180342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18035
4f91a816
SM
18036 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18037
782fc819
SM
18038 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18039 (bug#8710).
18040
e44e373d
SM
18041 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18042
381987c3
KM
180432011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18044
18045 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18046 customization variable and implement: If non-nil, auto-fill will
18047 be inhibited while on topic's header line.
18048
b776bc70
VB
180492011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18050
18051 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18052 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18053 always have a solution in grid size = 5 cases.
18054 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18055 (5x5-solver-output, 5x5-log-buffer): New vars.
18056 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18057 Make these variables buffer local to achieve 5x5 multi-session-ness.
18058 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18059 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18060 (5x5-solve-suggest): New funs.
18061 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18062 randomize a grid so that we ensure that there is always a solution.
18063 (5x5-make-random-grid): Allow other movement than flipping.
18064
7de88b6e
KR
180652011-05-23 Kevin Ryde <user42@zip.com.au>
18066
18067 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18068 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18069 advice and passes PREDICATE.
18070
b1ef1257
SM
180712011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18072
bbca48fe
SM
18073 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18074 byte-compile-lambda if it's actually a lambda.
18075
b1ef1257
SM
18076 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18077 Fix function quoting. Use backquote better.
18078
92a9cc65
YS
180792011-05-22 Yuanle Song <sylecn@gmail.com>
18080
18081 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18082 matching (Bug#8516).
18083
f0fb8059
JA
180842011-01-22 Jari Aalto <jari.aalto@cante.net>
18085
18086 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18087 different face (Bug#8178).
18088
d5b44c93
CY
180892011-05-22 Chong Yidong <cyd@stupidchicken.com>
18090
18091 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18092 defface (Bug#8144).
18093
79106a44
SM
180942011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18095
9c848d8a
SM
18096 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18097 funcall as well (bug#8712). Warn when performing those conversions.
18098 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18099
79106a44
SM
18100 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18101
88dfa756
GM
181022011-05-22 Glenn Morris <rgm@gnu.org>
18103
18104 * files.el (hack-local-variables-prop-line): Small simplifications.
18105 (hack-local-variables, hack-local-variables-prop-line):
18106 If MODE-ONLY, return the mode, rather than just `t'.
18107
b7cf2c79
SM
181082011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18109
18110 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18111
3f1a8558
GM
181122011-05-21 Glenn Morris <rgm@gnu.org>
18113
7e4ccca3
GM
18114 * files.el (hack-local-variables-prop-line, hack-local-variables):
18115 If only interested in the mode, don't bother doing the other stuff.
18116
637d46ca
GM
18117 * image-mode.el (image-after-revert-hook):
18118 Redraw all frames on which the image is visible. (Bug#8567)
18119
973d955b
GM
18120 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18121
3f1a8558
GM
18122 * wid-edit.el (widget-checklist-match-inline):
18123 Fix 2011-04-19 change. (Bug#8649)
18124
96479927
SM
181252011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18126
1dcf791f
SM
18127 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18128 Also allow singlespace after single-letter capitals followed by a dot.
18129
96479927
SM
18130 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18131 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18132
35fd0881
N
181332011-05-20 Nix <nix@esperi.org.uk>
18134
18135 * files.el (basic-save-buffer-2):
18136 Fix handling of break-hardlink-on-save with non-existent files.
18137
82745640
DD
181382011-05-19 Deniz Dogan <deniz@dogan.se>
18139
18140 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18141 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18142
4a720484
GM
181432011-05-19 Glenn Morris <rgm@gnu.org>
18144
d1f21341
GM
18145 * progmodes/f90.el (f90-type-def-re):
18146 Handle "type, bind(c)". (Bug#8691)
18147
4a720484
GM
18148 * emacs-lisp/autoload.el (batch-update-autoloads):
18149 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18150
2fb0a219
MA
181512011-05-18 Michael Albinus <michael.albinus@gmx.de>
18152
18153 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18154 property for the correct connection in case of multihops.
18155
e565dd37
GM
181562011-05-18 Glenn Morris <rgm@gnu.org>
18157
c2571358 18158 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18159 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18160
e565dd37
GM
18161 Rationalize calendar handling of day and month abbrev-arrays.
18162 * calendar/calendar.el (calendar-customized-p): New function.
18163 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18164 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18165 Add :set function.
18166 (calendar-abbrev-length, calendar-day-abbrev-array)
18167 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18168 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18169 Elements may no longer be nil.
18170 (calendar-day-name, calendar-month-name):
18171 Update for changed nature of abbrev arrays.
18172 * calendar/diary-lib.el (diary-name-pattern):
18173 Update for changed nature of abbrev arrays.
18174 (diary-mark-entries-1): Update calendar-make-alist calls.
18175 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18176 * calendar/cal-html.el (cal-html-day-abbrev-array):
18177 Simply inherit from calendar-day-abbrev-array.
18178
1d99a745
SM
181792011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18180
18181 * progmodes/grep.el (grep-mode): Disable default
18182 compilation-directory-matcher setting (bug#8684).
18183
7c1d9aa0
MA
181842011-05-17 Michael Albinus <michael.albinus@gmx.de>
18185
18186 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18187 instead of "head" and "tail". There were problems with SunOS 5.9,
18188 and it performs better.
18189
3952e9d8
GM
181902011-05-17 Glenn Morris <rgm@gnu.org>
18191
2dd12e7f
GM
18192 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18193
e4157b9c
GM
18194 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18195 Replace obsolete function.
18196
8e249bbd
GM
18197 * shell.el (pcomplete-parse-arguments-function): Declare.
18198
3952e9d8
GM
18199 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18200 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18201 (appt-check): Doc fixes.
18202 (appt-disp-window-function, appt-delete-window-function):
18203 Remove needless special case in custom :type.
18204 (appt-display-count): Default to 0, not nil.
18205 (appt-check): Reset appt-display-count to 0, not nil.
18206
c71a0d48 182072011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18208
c71a0d48
GM
18209 * progmodes/python.el (python-font-lock-keywords):
18210 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18211
31d55be9
SM
182122011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18215
3bfacb2f
KR
182162011-05-16 Kevin Ryde <user42@zip.com.au>
18217
18218 * info-look.el (makefile-automake-mode): New setups, looking in
18219 automake manual, then makefile-mode.
18220 (makefile-mode): Remove automake manual, have it just in
18221 makefile-automake-mode since there's various things different or
18222 not relevant to plain make.
18223 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18224 believe a hypothetical automake-mode would go to makefile-mode,
18225 not the other way around.
18226
c8e83751
CY
182272011-05-15 Chong Yidong <cyd@stupidchicken.com>
18228
5e9e35cd
CY
18229 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18230 hunk-end tags (Bug#8672).
18231
c8e83751
CY
18232 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18233 vc-annotate-show-diff-revision-at-line (Bug#8671).
18234
50b23e5a
GM
182352011-05-14 Glenn Morris <rgm@gnu.org>
18236
7210a739
GM
18237 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18238 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18239 (change-log-font-lock-keywords): Also handle multiple author lines
18240 with leading tabs. (Bug#8644)
7210a739 18241
4691905a
GM
18242 * calendar/appt.el (appt-check): Rename some local variables.
18243 Some simplification/reordering.
18244
50b23e5a
GM
18245 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18246 (feedmail-sendmail-f-doesnt-sell-me-out)
18247 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18248 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18249 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18250 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18251 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18252 (feedmail-binmail-gnulinuxish-template):
18253 Rename from feedmail-binmail-linuxish-template.
18254 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18255 Use insert-buffer-substring.
18256
215cda7c
BC
182572011-05-14 Bill Carpenter <bill@carpenter.org>
18258
18259 * mail/feedmail.el (feedmail-patch-level): Increase.
18260 (feedmail-debug): New custom group.
18261 (feedmail-confirm-outgoing-timeout)
18262 (feedmail-sendmail-f-doesnt-sell-me-out)
18263 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18264 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18265 (feedmail-sender-line, feedmail-from-line)
18266 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18267 (feedmail-spray-this-address)
215cda7c
BC
18268 (feedmail-spray-address-fiddle-plex-list)
18269 (feedmail-queue-use-send-time-for-date)
18270 (feedmail-queue-use-send-time-for-message-id)
18271 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18272 (feedmail-buffer-eating-function):
18273 Doc fixes.
18274 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18275 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18276 (feedmail-message-action-scroll-down): New functions.
18277 (feedmail-queue-directory, feedmail-queue-draft-directory):
18278 Use expand-file-name.
18279 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18280 Remove C-v help entry.
18281 (feedmail-queue-buffer-file-name): New variable.
18282 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18283 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18284 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18285 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18286 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18287 (feedmail-message-action-toggle-spray)
18288 (feedmail-run-the-queue-no-prompts)
18289 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18290 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18291 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18292 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18293 (feedmail-envelope-deducer, feedmail-fiddle-from)
18294 (feedmail-fiddle-sender, feedmail-default-date-generator)
18295 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18296 (feedmail-fiddle-spray-address)
18297 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18298 (feedmail-fiddle-list-of-fiddle-plexes)
18299 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18300 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18301 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18302 Change default. Doc fix.
18303 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18304 (feedmail-binmail-linuxish-template): New constant.
18305 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18306 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18307 (feedmail-send-it): Add debug call.
18308 Use feedmail-queue-buffer-file-name, and
18309 feedmail-send-it-immediately-wrapper.
18310 (feedmail-message-action-send): Add debug call.
18311 Use feedmail-send-it-immediately-wrapper.
18312 (feedmail-queue-express-to-queue): Add debug call.
18313 Run feedmail-queue-express-hook.
18314 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18315 (feedmail-message-action-help-blat):
18316 Rename from feedmail-queue-send-edit-prompt-help-first.
18317 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18318 Check line-endings. Handle errors better.
18319 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18320 Doc fix. Add debug call.
18321 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18322 Use feedmail-queue-send-edit-prompt-inner.
18323 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18324 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18325 from feedmail-queue-send-edit-prompt.
18326 (feedmail-queue-send-edit-prompt-help)
18327 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18328 (feedmail-tidy-up-slug): Add debug call.
18329 Respect feedmail-queue-slug-suspect-regexp.
18330 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18331 (feedmail-dump-message-to-queue): Add debug call.
18332 Expand queue-directory.
18333 (feedmail-dump-message-to-queue): Change message slightly.
18334 Use feedmail-say-chatter.
18335 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18336 (feedmail-send-it-immediately-wrapper): New function.
18337 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18338 Insert empty string rather than newline. Handle full-frame case.
18339 Use catch/throw. Use feedmail-say-chatter.
18340 (feedmail-fiddle-from): Try mail-host-address.
18341 (feedmail-default-message-id-generator): Doc fix.
18342 Bind system-time-locale. Handle missing end.
18343 (feedmail-fiddle-x-mailer): Add debug call.
18344 Handle feedmail-x-mailer-line being nil.
18345 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18346 Add debug call. Use buffer-substring-no-properties.
18347 (feedmail-say-debug, feedmail-say-chatter): New functions.
18348 (feedmail-find-eoh): Give an explicit error.
18349
42c7e61e
UJ
183502011-05-13 Ulf Jasper <ulf.jasper@web.de>
18351
c2571358 18352 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18353 family from helvetica to sans.
c2571358 18354 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18355 etc/images/newsticker.
18356
c2571358 18357 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18358 family from helvetica to sans.
18359
18360 * net/newst-plainview.el (newsticker-new-item-face)
18361 (newsticker-old-item-face, newsticker-immortal-item-face)
18362 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18363 (newsticker-statistics-face): Change default family from
42c7e61e 18364 helvetica to sans.
c2571358 18365 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18366 etc/images/newsticker.
18367
5d3385a0
JB
18368 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18369 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18370 auto-marking.
18371
8497a297
DV
183722011-05-13 Didier Verna <didier@xemacs.org>
18373
18374 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18375 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18376 TODO entries.
8497a297
DV
18377 (lisp-lambda-list-keyword-parameter-indentation)
18378 (lisp-lambda-list-keyword-parameter-alignment)
18379 (lisp-lambda-list-keyword-alignment): New customizable user options.
18380 (lisp-indent-defun-method): Improve docstring.
18381 (extended-loop-p): Fix comment.
18382 (lisp-indent-lambda-list-keywords-regexp): New variable.
18383 (lisp-indent-lambda-list): New function.
18384 (lisp-indent-259): Use it.
18385 (lisp-indent-defmethod): Support for more than one
18386 method qualifier and properly indent methods lambda-lists.
18387 (defgeneric): Provide a missing common-lisp-indent-function property.
18388
f278f87f
SM
183892011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18390
18391 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18392 bounds for the empty string (bug#8667).
18393
5233edd7
GM
183942011-05-13 Glenn Morris <rgm@gnu.org>
18395
5237a44f
GM
18396 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18397
8340026c 18398 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18399 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18400
5233edd7 18401 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18402 (appt-time-msg-list): Doc fix.
a5464014 18403 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18404
92d10796
AS
184052011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18406
18407 * progmodes/ld-script.el (ld-script-keywords)
18408 (ld-script-builtins): Update keywords list.
18409
914a0ae1
SM
184102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18411
c89be45f
SM
18412 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18413
914a0ae1
SM
18414 * shell.el (shell-completion-vars): New function.
18415 (shell-mode):
18416 * simple.el (read-shell-command): Use it.
18417 (blink-matching-open): No need for " [...]" in minibuffer-message.
18418
98dc3df3
GM
184192011-05-12 Glenn Morris <rgm@gnu.org>
18420
18421 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18422 (appt-check): Simplify.
18423
d2fc7e3d 184242011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18425
4d61f28d 18426 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18427 literal "/dev/null".
18428
d2fc7e3d 184292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18430
18431 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18432 Fix typo.
18433
d2fc7e3d 184342011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18435
3f254caa
SM
18436 * progmodes/which-func.el (which-function):
18437 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18438 which might not be defined (Bug#8260).
18439
d45885f7
GM
184402011-05-12 Glenn Morris <rgm@gnu.org>
18441
18442 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18443 Let byte-compile-initial-macro-environment always take precedence.
18444
488086f4
SM
184452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18446
18447 * net/rcirc.el: Add support for SSL/TLS connections.
18448 (rcirc-server-alist): New field `encryption'.
18449 (rcirc): Check `encryption' settings.
18450 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18451 Merge make-local-variable into `set'.
18452 (rcirc--connection-open-p): New function.
18453 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18454 the process is not a network process (e.g. running gnutls-cli).
18455 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18456 Make rcirc-(en|de)code-coding-system local here.
18457 (rcirc-mode): Merge make-local-variable into `set'.
18458 (rcirc-parent-buffer): Make permanent buffer-local.
18459 (rcirc-multiline-minor-mode): Don't do it here.
18460 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18461 there's no server buffer.
18462
7d3b9d44
GM
184632011-05-11 Glenn Morris <rgm@gnu.org>
18464
f64049c6
GM
18465 * newcomment.el (comment-kill): Prefix "unused" local.
18466
93c9df73
GM
18467 * term/w32console.el (get-screen-color): Declare.
18468
7d3b9d44
GM
18469 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18470 Handle symbol elements of byte-compile-initial-macro-environment.
18471
9e2dd53f
LL
184722011-05-10 Leo Liu <sdl.web@gmail.com>
18473
488086f4
SM
18474 * bookmark.el (bookmark-bmenu-mode-map):
18475 Bind bookmark-bmenu-search to `/'.
8b340240 18476
9e2dd53f 18477 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18478 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18479 (Footnote-unicode): New function.
18480 (footnote-style-alist): Add unicode style to the list.
18481 (footnote-style): Doc fix.
9e2dd53f 18482
79b70037
GM
184832011-05-10 Jim Meyering <meyering@redhat.com>
18484
18485 Fix doubled-word typos.
18486 * international/quail.el (quail-insert-kbd-layout): and and -> and
18487 * kermit.el: and and -> and
18488 * net/ldap.el (ldap-search-internal): to to -> to
18489 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18490 * progmodes/js.el (js-mode): and and -> and
18491 * textmodes/artist.el (artist-move-to-xy): at at -> at
18492 (artist-draw-region-trim-line-endings): if if -> if
18493 And Safetyc -> Safety.
18494 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18495
b8f82dc1 184962011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18497 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18498
18499 * files.el (hack-one-local-variable-eval-safep):
18500 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18501
4f99f44b
GM
185022011-05-10 Glenn Morris <rgm@gnu.org>
18503
18504 * calendar/diary-lib.el (diary-list-entries-hook)
18505 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18506 (diary-nongregorian-marking-hook, diary-list-entries)
18507 (diary-include-other-diary-files, diary-mark-entries)
18508 (diary-mark-included-diary-files): Doc fixes.
18509
84f29e6b
JB
185102011-05-09 Juanma Barranquero <lekktu@gmail.com>
18511
18512 * misc.el: Require tabulated-list.el during compilation.
18513
9bedd73a
CY
185142011-05-09 Chong Yidong <cyd@stupidchicken.com>
18515
488086f4
SM
18516 * progmodes/compile.el (compilation-start):
18517 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18518 (compilation-filter-hook): Doc fix.
18519
797c735c
DD
185202011-05-09 Deniz Dogan <deniz@dogan.se>
18521
18522 * wdired.el: Remove outdated installation comment. Fix usage
18523 comment.
18524
5f4b1dfe
JB
185252011-05-09 Juanma Barranquero <lekktu@gmail.com>
18526
18527 * misc.el: Implement new command `list-dynamic-libraries'.
18528 (list-dynamic-libraries--loaded-only-p): New variable.
18529 (list-dynamic-libraries--refresh): New function.
18530 (list-dynamic-libraries): New command.
18531
4c44026c
CY
185322011-05-09 Chong Yidong <cyd@stupidchicken.com>
18533
488086f4
SM
18534 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18535 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18536 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18537 higher priority to avoid clobbering by gnu.
18538
027f966d
CY
185392011-05-08 Chong Yidong <cyd@stupidchicken.com>
18540
18541 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18542 if the face has existing theme settings (Bug#8454).
18543
085f5d7d
CY
185442011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18545
488086f4
SM
18546 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18547 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18548
2a86a00c
RS
18549 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18550 special file names `.' and `..' (Bug#8259).
18551
d9c54a06
CY
185522011-05-08 Chong Yidong <cyd@stupidchicken.com>
18553
488086f4
SM
18554 * progmodes/grep.el (grep-mode-font-lock-keywords):
18555 Remove buffer-changing entries.
d9c54a06
CY
18556 (grep-filter): New function.
18557 (grep-mode): Add it to compilation-filter-hook.
18558
18559 * progmodes/compile.el (compilation-filter-hook)
18560 (compilation-filter-start): New defvars.
18561 (compilation-filter): Call compilation-filter-hook prior to
18562 updating the process mark.
18563
c4662635
SM
185642011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18565
18566 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18567
b0512a1d
EZ
185682011-05-07 Eli Zaretskii <eliz@gnu.org>
18569
605c9376
EZ
18570 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18571 mailclient-send-it even if window-system is nil. (Bug#8595)
18572
c4662635
SM
18573 * term/w32console.el (terminal-init-w32console):
18574 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18575 background-mode. (Bug#8597)
18576
d1dc2cc2
SM
185772011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18578
18579 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18580 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18581 New functions.
18582 (defgeneric, eieio--defmethod): Use them.
18583 (eieio-defgeneric): Remove.
18584 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18585
915d1300
GM
185862011-05-07 Glenn Morris <rgm@gnu.org>
18587
a3961c3e
GM
18588 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18589 Use let rather than let*.
18590 (timeclock-find-discrep): Remove unused local.
18591
314347b9
GM
18592 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18593
915d1300
GM
18594 * calendar/appt.el (appt-time-msg-list): Doc fix.
18595
275b59b0
NF
185962011-05-06 Noah Friedman <friedman@splode.com>
18597
18598 * apropos.el (apropos-print-doc): Only use
18599 emacs-lisp-docstring-fill-column when it is bound to an integer,
18600 per that variable's documentation.
18601
6c19f744
SM
186022011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18603
18604 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18605 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18606
60f884b2
GM
186072011-05-06 Glenn Morris <rgm@gnu.org>
18608
5006e634
GM
18609 * calendar/appt.el (appt-message-warning-time): Doc fix.
18610 (appt-warning-time-regexp): New option.
18611 (appt-make-list): Respect appt-message-warning-time.
18612
548d0a63
GM
18613 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18614 New options.
18615 (diary-add-to-list): Strip comments from the displayed string.
18616 (diary-mode): Set comment-start and comment-end.
18617
60f884b2
GM
18618 * vc/diff-mode.el (smerge-refine-subst): Declare.
18619 (diff-refine-hunk): Don't require smerge-mode when compiling.
18620
989681bb
JB
186212011-05-06 Juanma Barranquero <lekktu@gmail.com>
18622
18623 * simple.el (list-processes): Return nil as the docstring says.
18624
a6bc05e1
MA
186252011-05-05 Michael Albinus <michael.albinus@gmx.de>
18626
18627 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18628 to "".
18629 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18630 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18631 determining of binary transfer. (Bug#7383)
18632
23c22e9a
MA
186332011-05-05 Michael Albinus <michael.albinus@gmx.de>
18634
c4662635
SM
18635 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18636 Fix port computation bug. (Bug#8618)
23c22e9a 18637
0bff894f
GM
186382011-05-05 Glenn Morris <rgm@gnu.org>
18639
b8296902
GM
18640 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18641
1f522ce8
GM
18642 * simple.el (shell-dynamic-complete-functions)
18643 (comint-dynamic-complete-functions): Declare.
18644
cf5bee67
GM
18645 * net/network-stream.el (gnutls-negotiate):
18646 * simple.el (tabulated-list-print): Fix declarations.
18647
18648 * progmodes/gud.el (syntax-symbol, syntax-point):
18649 Remove unnecessary and incorrect declarations.
18650
0bff894f 18651 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18652 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18653
9869b3ae
SM
186542011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18655
18656 Fix earlier half-done eieio-defmethod change (bug#8338).
18657 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18658 Streamline and change calling convention.
18659 (defmethod): Adjust accordingly and simplify.
18660 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18661 new eieio--defmethod.
18662 (slot-boundp): Minor CSE simplification.
18663
9c1d5ac5
MZ
186642011-05-05 Milan Zamazal <pdm@zamazal.org>
18665
18666 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18667 (glasses-make-readable): Use glasses-separate-capital-groups.
18668
455c834e
JB
186692011-05-05 Juanma Barranquero <lekktu@gmail.com>
18670
18671 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18672 (warning-series): Doc fix.
18673 (display-warning): Don't try to create the buffer if we just found it.
18674
9ed7c8cb
CY
186752011-05-04 Chong Yidong <cyd@stupidchicken.com>
18676
18677 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18678 (autoload-find-generated-file): New function.
18679 (generate-file-autoloads): Bind generated-autoload-file to
18680 buffer-file-name.
9869b3ae
SM
18681 (update-file-autoloads, update-directory-autoloads):
18682 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18683 output file (Bug#7989).
18684 (batch-update-autoloads): Doc fix.
18685
0898ca10
JB
186862011-05-04 Juanma Barranquero <lekktu@gmail.com>
18687
18688 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18689
31dfb76c
GM
186902011-05-04 Glenn Morris <rgm@gnu.org>
18691
f330b642
GM
18692 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18693 function, so it follows changes in calendar-date-style.
18694 (diary-fancy-date-matcher): New function.
18695 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18696 (diary-fancy-font-lock-fontify-region-function):
18697 Use diary-fancy-date-pattern as a function.
18698
31dfb76c
GM
18699 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18700 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18701
48e79d6a
TZ
187022011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18703
18704 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18705 instead of positional arguments. Allow :keylist and :crlfiles
18706 arguments.
18707 (open-gnutls-stream): Call it.
18708
18709 * net/network-stream.el (network-stream-open-starttls): Adjust to
18710 call `gnutls-negotiate' with :process and :hostname arguments.
18711
dd5a5ee0
SM
187122011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18713
ef80fc09
SM
18714 * minibuffer.el (completion--message): New function.
18715 (completion--do-completion, minibuffer-complete)
18716 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18717 (completion--do-completion): Don't ignore completion-auto-help when in
18718 icomplete-mode.
18719
dd5a5ee0
SM
18720 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18721 internal encoding (e.g. tibetan zero is not whitespace).
18722 (global-whitespace-mode): Prefer save-current-buffer.
18723 (whitespace-trailing-regexp): Remove useless save-match-data.
18724 (whitespace-empty-at-bob-regexp): Minor simplification.
18725
b7d22a83
CY
187262011-05-03 Chong Yidong <cyd@stupidchicken.com>
18727
18728 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18729
5192af46
AM
187302011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18731
18732 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18733 Use `concat' to create string for insertion.
5192af46 18734
5767d190
SM
187352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18736
18737 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18738 Avoid open-line which runs post-self-insert-hook.
18739 (bibtex-fill-entry): Remove unused `end' var.
18740
bf242939
AM
187412011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18742
5767d190
SM
18743 * textmodes/ispell.el (ispell-add-per-file-word-list):
18744 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18745
25666126
LL
187462011-05-03 Leo Liu <sdl.web@gmail.com>
18747
18748 * isearch.el (isearch-yank-pop): New command.
5767d190 18749 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18750 (isearch-forward): Mention it.
18751
52d3c2d0
SM
187522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18753
1bcace58
SM
18754 * simple.el (minibuffer-complete-shell-command): Remove.
18755 (minibuffer-local-shell-command-map): Use completion-at-point.
18756 (read-shell-command): Setup completion vars here instead.
18757 (read-expression-map): Bind TAB to symbol completion.
18758
52d3c2d0
SM
18759 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18760 error directly rather via storing it into `results'.
18761
35813471
LL
187622011-05-02 Leo Liu <sdl.web@gmail.com>
18763
18764 * vc/diff.el: Fix description.
18765
e793a940
LMI
187662011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18767
18768 * server.el (server-eval-at): New function.
18769
8de66e05
LMI
187702011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18771
18772 * net/network-stream.el (open-network-stream): Take a :nowait
18773 parameter and pass it on to `make-network-process'.
18774 (network-stream-open-plain): Ditto.
18775
dcb79f20
AS
187762011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18777
18778 * faces.el (face-spec-set-match-display): Don't match toolkit
18779 options on terminal frames.
18780
14a7fbd8
SM
187812011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18782
7eabc1be
SM
18783 * progmodes/pascal.el: Use lexical binding.
18784 (pascal-mode-map): Remove author preferences.
18785
14a7fbd8
SM
18786 * pcomplete.el (pcomplete-std-complete): Don't abuse
18787 completion-at-point.
18788
50f84510
JB
187892011-04-28 Juanma Barranquero <lekktu@gmail.com>
18790
6e087a44
JB
18791 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18792 removing code that has been dead since 1991 or so.
18793
50f84510
JB
18794 * startup.el (command-line): When warning about "_emacs", use a
18795 delayed warning to allow the user to filter it out.
18796
0ba690bd
DD
187972011-04-28 Deniz Dogan <deniz@dogan.se>
18798
18799 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18800 user has not joined.
18801
08abfaad
SM
188022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18803
18804 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18805 aren't any completions at point.
18806
638f053a
JB
188072011-04-28 Juanma Barranquero <lekktu@gmail.com>
18808
18809 * subr.el (display-delayed-warnings): New function.
18810 (delayed-warnings-hook): New variable.
18811
8fff8daa
SM
188122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18813
08abfaad
SM
18814 * minibuffer.el (completion-at-point, completion-help-at-point):
18815 Don't presume that a given completion-at-point-function will always
18816 use the same calling convention.
18817
8fff8daa
SM
18818 * pcomplete.el (pcomplete-completions-at-point):
18819 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18820 pcomplete-seen is non-nil.
18821 (pcomplete-comint-setup): Also recognize the new comint/shell
18822 completion functions.
18823 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18824 pcomplete-seen is non-nil.
18825
841a1577 188262011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18827
841a1577 18828 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18829 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18830 the first character in the entry. This allows for code to add its
211ec907
UJ
18831 own uid to the entry.
18832 (icalendar--convert-float-to-ical): Add export of
18833 `diary-float'-entries save for those with the optional DAY
18834 argument.
18835
2a782793
DC
188362011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18837
18838 * subr.el (shell-quote-argument): Use alternate escaping strategy
18839 when we spot a variable reference in a string.
18840
0438ce91
DC
188412011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18842
18843 * cus-start.el (all): Define customization for debug-on-event.
18844
841a1577 188452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18846
18847 * subr.el (shell-quote-argument): Escape correctly under Windows.
18848
d090ed6c
SM
188492011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18850
18851 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18852
bfd31217
MA
188532011-04-25 Michael Albinus <michael.albinus@gmx.de>
18854
d090ed6c
SM
18855 * net/tramp.el (tramp-process-actions): Add POS argument.
18856 Delete region between POS and (pos).
bfd31217 18857
d090ed6c
SM
18858 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18859 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18860 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18861
18862 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18863 position in `tramp-process-actions' call.
18864
18865 * net/trampver.el: Update release number.
18866
e92f3bd3
SM
188672011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18868
850256b5
SM
18869 * custom.el (defcustom): Obey lexical-binding.
18870
e92f3bd3
SM
18871 Fix octave-inf completion problems reported by Alexander Klimov.
18872 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18873 Inherit from octave-mode-syntax-table.
18874 (inferior-octave-mode): Set info-lookup-mode.
18875 (inferior-octave-completion-at-point): New function.
18876 (inferior-octave-complete): Use it and completion-in-region.
18877 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18878 comint-filename-completion.
18879 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18880 symbol elements which shouldn't be word elements.
18881 (octave-font-lock-keywords, octave-beginning-of-defun)
18882 (octave-function-header-regexp): Adjust regexps accordingly.
18883 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18884
cd22b309
JB
188852011-04-25 Juanma Barranquero <lekktu@gmail.com>
18886
18887 * net/gnutls.el (gnutls-errorp): Declare before first use.
18888
8b492194
TZ
188892011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18890
18891 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18892 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18893 default trustfile exists before going to use it. Add missing
5a5fa834 18894 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18895 Reported by Claudio Bley <claudio.bley@gmail.com>.
18896 (open-gnutls-stream): Add usage example.
18897
18898 * net/network-stream.el (network-stream-open-starttls): Give host
18899 parameter to `gnutls-negotiate'.
18900 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18901 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18902
841a1577 189032011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18904
cd22b309
JB
18905 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18906 Use correct match group (bug#8438).
05842630 18907
3ba7869c
CY
189082011-04-24 Chong Yidong <cyd@stupidchicken.com>
18909
512e3ae1
CY
18910 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18911 (package-menu--generate): New arg specifying packages to show.
18912 (package-menu-refresh, package-menu-execute, list-packages):
18913 Callers changed.
18914 (package-show-package-list): New function, replacing deleted
18915 package--list-packages (renamed because it is non-internal).
18916
18917 * finder.el (finder-list-matches): Use package-show-package-list
18918 instead of deleted package--list-packages.
18919
e92f3bd3
SM
18920 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18921 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18922 (vc-annotate-mode-map): Bind it to RET.
18923
7031be6d
UR
189242011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18925
18926 * progmodes/etags.el (next-file): Don't use set-buffer to change
18927 buffers (Bug#8478).
18928
4ef177aa
CY
189292011-04-24 Chong Yidong <cyd@stupidchicken.com>
18930
c8d173eb
CY
18931 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18932
4ef177aa
CY
18933 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18934 (apropos-accumulator): Doc fix.
18935 (apropos-function, apropos-macro, apropos-command)
18936 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18937 (apropos-plist): Add face property.
18938 (apropos-symbols-internal): Fix indentation.
18939 (apropos-print): Simplify help, and recognize apropos-multi-type.
18940 (apropos-print-doc): Use button-type-get to extract the button's
18941 face property. Fill docstring (Bug#8352).
18942
4ffd0d6b 189432011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18944
18945 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18946
c6c32125 18947 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18948 (mpuz-mode-map): Use mapc.
c6c32125
JB
18949 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18950 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18951 Fix typos in docstrings.
18952
58d468b4
JB
18953 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18954 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18955
6470c3c6
JB
18956 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18957
4ffd0d6b 189582011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18959
18960 * minibuffer.el (completion--do-completion): Avoid the "Next char
18961 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18962
3ad8bad0
CY
18963 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18964 mouse-2 into unread-command-events, it is interpreted correctly.
18965
71d73c9c 18966 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18967 (image-toggle-display): Doc fix.
71d73c9c 18968
841a1577 189692011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18970
4ffd0d6b
GM
18971 * textmodes/page.el (what-page): Use line-number-at-pos to
18972 calculate line number (Bug#6825).
6e1dbaa9 18973
c2fb1b60
JB
189742011-04-22 Juanma Barranquero <lekktu@gmail.com>
18975
18976 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18977 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18978 Pass argument NO-DEFAULT to `find-tag-interactive'.
18979
e02f48d7
JB
189802011-04-22 Juanma Barranquero <lekktu@gmail.com>
18981
18982 Lexical-binding cleanup.
18983
18984 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18985 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18986 * progmodes/ada-prj.el (ada-prj-initialize-values)
18987 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18988 (ada-prj-show-value):
18989 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18990 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18991 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18992 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18993 * progmodes/bug-reference.el (bug-reference-push-button):
18994 * progmodes/fortran.el (fortran-line-length):
18995 * progmodes/glasses.el (glasses-change):
18996 * progmodes/octave-mod.el (octave-fill-paragraph):
18997 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18998 (python-pdbtrack-grub-for-buffer, python-sentinel):
18999 * progmodes/sql.el (sql-save-connection):
19000 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19001 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19002 Mark unused parameters.
19003
19004 * progmodes/compile.el (compilation--flush-directory-cache)
19005 (compilation--flush-parse, compile-internal): Mark unused parameters.
19006 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19007 (compilation-next-error-function): Remove unused variable `timestamp'.
19008
19009 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19010 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19011
19012 * progmodes/dcl-mode.el (dcl-end-of-command):
19013 Remove unused variable `start'.
19014 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19015 (dcl-option-value-basic, dcl-option-value-offset)
19016 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19017 Mark unused parameters.
19018 (dcl-save-local-variable): Remove unused variable `val'.
19019 (mode): Declare.
19020
19021 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19022 Mark unused parameters.
19023 (delphi-ignore-changes): Move before first use.
19024 (delphi-charset-token-at): Remove unused variable `start'.
19025 (delphi-else-start): Remove unused variable `if-count'.
19026 (delphi-comment-block-start, delphi-comment-block-end):
19027 Remove unused variable `kind'.
19028 (delphi-indent-line): Remove unused variable `new-point'.
19029
19030 * progmodes/ebrowse.el (ebrowse-files-list)
19031 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19032 Mark unused parameters. Don't quote `lambda'.
19033 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19034 Don't quote `lambda'.
19035 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19036 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19037 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19038 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19039 Use `ignore-errors'.
19040 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19041 (ebrowse-view/find-file-and-search-pattern)
19042 (ebrowse-view/find-member-declaration/definition):
19043 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19044 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19045 Rename parameter PREFIX-ARG to PREFIX.
19046 (ebrowse-tags-read-name): Remove unused variables `start' and
19047 `member-info'.
19048 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19049 to `tags-file'.
19050
19051 * progmodes/etags.el (local-find-tag-hook): Declare.
19052 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19053 Mark unused parameters.
19054
19055 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19056 (executable-interpret): Mark unused parameter.
19057
19058 * progmodes/flymake.el (flymake-process-sentinel)
19059 (flymake-after-change-function)
19060 (flymake-create-temp-with-folder-structure)
19061 (flymake-get-include-dirs-dot): Mark unused parameters.
19062 (flymake-safe-delete-directory): Remove unused variable `err'.
19063
19064 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19065 (speedbar-timer-fn, speedbar-line-text)
19066 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19067 (speedbar-center-buffer-smartly): Declare functions.
19068 (gdb-find-watch-expression): Remove unused variable `array'.
19069 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19070 (gdb-starting): Mark unused parameters.
19071 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19072 (gdb-table-string): Remove unused variable `res'.
19073 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19074 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19075 (gdb-display-buffer): Remove unused variable `cur-size'.
19076
19077 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19078 allow lexical-binding compilation.
19079 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19080 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19081 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19082 Mark unused parameters.
19083 (gud-gdb-marker-filter): Remove unused variable `match'.
19084 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19085 lambda expressions and funcall them, instead of using `fset'.
19086
19087 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19088 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19089
19090 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19091 variable `header-beg'; use `let'.
19092
19093 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19094 `restart', `last-sexp' and `at-do'.
19095
19096 * progmodes/js.el (js--debug): Mark unused parameter.
19097 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19098 (js--splice-into-items): Remove unused variable `item'.
19099 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19100
19101 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19102 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19103 (makefile-complete): Remove unused variable `try'.
19104 (makefile-fill-paragraph, makefile-match-function-end):
19105 Mark unused parameters.
19106
19107 * progmodes/octave-inf.el (inferior-octave-complete):
19108 Remove unused variable `proc'.
19109 (inferior-octave-output-digest): Mark unused parameter.
19110
19111 * progmodes/perl-mode.el (perl-calculate-indent):
19112 Remove unused variable `err'.
19113
19114 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19115 (prolog-indent-line): Mark unused parameters.
19116 (prolog-indent-line): Remove unused variable `beg'.
19117
19118 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19119 (reporter-dont-compact-list): Declare.
19120
19121 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19122 Remove unused variable `char'.
19123 (sh-debug): Mark unused parameter.
19124 (sh-get-indent-info): Remove unused variable `start'.
19125 (sh-calculate-indent): Remove unused variable `var'.
19126
19127 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19128 (simula-electric-keyword): Remove unused variable `null'.
19129 (simula-search-backward, simula-search-forward): Remove unused
19130 variables `begin' and `end'.
19131
19132 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19133 Remove unused variable `pos'.
19134 (vera-electric-tab, vera-comment-uncomment-region):
19135 Mark unused parameters.
19136 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19137
7ede3b65
CY
191382011-04-22 Chong Yidong <cyd@stupidchicken.com>
19139
19140 * emacs-lisp/package.el (package--builtins, package-alist)
19141 (package-load-descriptor, package-built-in-p, package-activate)
19142 (define-package, package-installed-p)
19143 (package-compute-transaction, package-buffer-info)
19144 (package--push): Doc fix. Distinguish more clearly between
19145 version strings and version lists.
19146
121656e9
JB
191472011-04-21 Juanma Barranquero <lekktu@gmail.com>
19148
19149 Lexical-binding cleanup.
19150
19151 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19152 (5x5-make-mutate-best):
19153 * play/fortune.el (fortune-in-buffer):
19154 * play/gomoku.el (gomoku-init-display):
19155 * play/solitaire.el (solitaire, solitaire-do-check):
19156 * play/tetris.el (tetris-default-update-speed-function):
19157 Mark unused parameters.
19158
19159 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19160 (bubbles--shift): Remove unused variable `char-org'.
19161 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19162 (bubbles--show-images): Remove unused variable `char'.
19163
19164 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19165 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19166 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19167 (decipher-analyze-buffer): Use ?\s.
19168 (decipher-make-checkpoint): Remove unused variable `mapping'.
19169
19170 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19171
19172 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19173 Remove unused variable `result'; use `let'.
19174
19175 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19176 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19177 (gametree-children-shown-p, gametree-compute-reduced-score):
19178 Use `ignore-errors'.
19179
19180 * play/handwrite.el (ps-lpr-switches): Declare.
19181 (handwrite): Remove unused variables `pmin' and `lastp'.
19182
19183 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19184
19185 * play/landmark.el (landmark-init-display)
19186 (landmark-update-naught-weights): Mark unused parameters.
19187 (landmark-y): Remove unused variable `noise'. Simplify.
19188 (landmark-human-plays): Remove unused variable `score'.
19189
19190 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19191 (mpuz-try-proposal): Remove unused variable `game'.
19192
19193 * play/zone.el (life-patterns): Declare.
19194
80f499c7
JB
191952011-04-20 Juanma Barranquero <lekktu@gmail.com>
19196
19197 * vc/vc.el (ediff-vc-internal): Declare function.
19198
024ff170
SM
191992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19200
c0a193ea
SM
19201 * shell.el: Use lexical-binding and std completion UI.
19202 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19203 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19204 comint-preoutput-filter-functions rather than on
19205 comint-output-filter-functions.
19206 (shell-command-completion, shell--command-completion-data)
19207 (shell-filename-completion, shell-environment-variable-completion)
19208 (shell-c-a-p-replace-by-expanded-directory): New functions.
19209 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19210 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19211 (shell-dynamic-complete-environment-variable): Use them.
19212 (shell-dynamic-complete-as-environment-variable)
19213 (shell-dynamic-complete-as-command): Remove.
19214 (shell-match-partial-variable): Match past point.
19215 * comint.el: Clean up use of completion-at-point-functions.
19216 (comint-completion-at-point): New function.
19217 (comint-mode): Use it completion-at-point-functions.
19218 (comint-dynamic-complete): Make it obsolete.
19219 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19220 (comint-c-a-p-replace-by-expanded-history): New function.
19221 (comint-dynamic-complete-functions)
19222 (comint-replace-by-expanded-history): Use it.
19223 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19224 termination strings. Try harder to avoid second try-completion.
19225 (completion-in-region-mode-map): Disable bindings that don't work yet.
19226
2dbaa080
SM
19227 * comint.el: Use lexical-binding. Require CL.
19228 (comint-dynamic-complete-functions): Use comint-filename-completion.
19229 (comint-completion-addsuffix): Tweak custom type.
19230 (comint-filename-completion, comint--common-suffix)
19231 (comint--common-quoted-suffix, comint--table-subvert)
19232 (comint--complete-file-name-data): New functions.
19233 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19234 (comint-dynamic-list-filename-completions): Use them.
19235 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19236
2dbaa080
SM
19237 * minibuffer.el (completion-in-region-mode):
19238 Keep completion-in-region-mode--predicate global.
19239 (completion-in-region--postch):
19240 Assume completion-in-region-mode--predicate is not null.
19241
c79a6f38
SM
19242 * progmodes/flymake.el (flymake-start-syntax-check-process):
19243 Obey `dir'. Simplify.
19244
024ff170
SM
19245 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19246 we're in VC after all.
19247
1c6c854e
CS
192482011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19249
19250 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19251 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19252 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19253
bed7f140
SM
192542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19255
332e62ab
SM
19256 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19257 add sanity check.
19258
bed7f140
SM
19259 * obsolete/erc-hecomplete.el: Make obsolete.
19260 * obsolete/: Standardize obsolescence info in the header.
19261
f195c582
GM
192622011-04-20 Glenn Morris <rgm@gnu.org>
19263
19264 * calendar/solar.el (solar-horizontal-coordinates):
19265 Use the longitude argument rather than `calendar-longitude'.
19266 (solar-date-next-longitude): Remove unused locals.
19267
cb79b8c0
VJL
192682011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19269
19270 * whitespace.el: New version 13.2.1.
19271
192722011-04-20 felix <EmacsWiki> (tiny change)
19273
d8e4b68b 19274 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19275 switching between major modes on a file.
19276
602ea69d
SM
192772011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19278
19279 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19280 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19281 multi-line comments as well.
19282
06b60517
JB
192832011-04-19 Juanma Barranquero <lekktu@gmail.com>
19284
19285 Lexical-binding cleanup.
19286
19287 * arc-mode.el (archive-mode-revert):
19288 * cmuscheme.el (scheme-interactively-start-process):
19289 * custom.el (custom-initialize-delay):
19290 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19291 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19292 * emacs-lock.el (emacs-lock-clear-sentinel):
19293 * ezimage.el (defezimage):
19294 * follow.el (follow-avoid-tail-recenter):
19295 * fringe.el (set-fringe-mode-1):
19296 * generic-x.el (bat-generic-mode-compile):
19297 * help-mode.el (help-info-variable, help-do-xref)
19298 (help-mode-revert-buffer):
19299 * help.el (view-emacs-todo):
19300 * iswitchb.el (iswitchb-completion-help):
19301 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19302 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19303 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19304 * locate.el (locate-update):
19305 * longlines.el (longlines-encode-region)
19306 (longlines-after-change-function):
19307 * outline.el (outline-isearch-open-invisible):
19308 * ps-def.el (declare-function, charset-dimension, char-width)
19309 (encode-char):
19310 * ps-mule.el (ps-mule-plot-string):
19311 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19312 (recentf-edit-list-select, recentf-edit-list-validate)
19313 (recentf-open-files-action):
19314 * rect.el (delete-whitespace-rectangle-line)
19315 (rectangle-number-line-callback):
19316 * register.el (window-configuration-to-register)
19317 (frame-configuration-to-register):
19318 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19319 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19320 (xselect-convert-to-targets, xselect-convert-to-delete)
19321 (xselect-convert-to-filename, xselect-convert-to-charpos)
19322 (xselect-convert-to-lineno, xselect-convert-to-colno)
19323 (xselect-convert-to-os, xselect-convert-to-host)
19324 (xselect-convert-to-user, xselect-convert-to-class)
19325 (xselect-convert-to-name, xselect-convert-to-integer)
19326 (xselect-convert-to-atom, xselect-convert-to-identity):
19327 * subr.el (declare, ignore, process-kill-without-query)
19328 (text-clone-maintain):
19329 * terminal.el (te-get-char, te-tic-sentinel):
19330 * tool-bar.el (tool-bar-make-keymap):
19331 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19332 * type-break.el (type-break-mode, type-break-noninteractive-query):
19333 * view.el (View-back-to-mark):
19334 * wid-browse.el (widget-browse-action, widget-browse-widget)
19335 (widget-browse-widgets, widget-browse-sexp):
19336 * widget.el (define-widget-keywords):
19337 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19338 Mark unused parameters.
19339
19340 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19341 (align-areas): Remove unused variable `look'.
19342 (align-region): Remove unused variables `real-end' and `pos-list'.
19343
19344 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19345
19346 * bindings.el (mode-line-modified, mode-line-remote):
19347 Mark unused parameters.
19348 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19349
19350 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19351 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19352
19353 * comint.el (comint-history-isearch-pop-state)
19354 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19355 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19356 (comint-substitute-in-file-name): Doc fix.
19357
19358 * completion.el (cmpl-statistics-block): Mark unused parameter.
19359 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19360 (save-completions-to-file, load-completions-from-file):
19361 Remove unused local variable `e'.
19362
19363 * composite.el (compose-chars): Remove unused variable `len'.
19364 (lgstring-insert-glyph): Remove unused variable `g'.
19365 (compose-glyph-string): Remove unused variables `ascent',
19366 `descent', `lbearing' and `rbearing'.
19367 (compose-glyph-string-relative): Remove unused variables
19368 `lbearing', `rbearing' and `wadjust'.
19369 (compose-gstring-for-graphic): Remove unused variables `header',
19370 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19371 (compose-gstring-for-terminal): Remove unused variables `header'
19372 and `nchars'. Use `let', not `let*'.
19373
19374 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19375 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19376 (Custom-buffer-done, custom-buffer-create-internal)
19377 (custom-browse-visibility-action, custom-browse-group-tag-action)
19378 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19379 (widget-magic-mouse-down-action, custom-toggle-parent)
19380 (custom-add-parent-links, custom-toggle-hide-variable)
19381 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19382 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19383 (custom-face-menu-create, custom-variable-menu-create, get)
19384 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19385 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19386 (customize-apropos): Remove unused variable `tests'.
19387 (custom-group-value-create): Remove unused variable `hidden-p'.
19388 (sort-fold-case): Declare.
19389
19390 * cus-theme.el (custom-reset-standard-faces-list)
19391 (custom-reset-standard-variables-list): Declare.
19392 (customize-create-theme, custom-theme-revert, custom-theme-write)
19393 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19394 Mark unused parameters.
19395
19396 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19397
19398 * delim-col.el (delimit-columns-max): Move defvar before first use.
19399
19400 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19401 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19402
19403 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19404 (auto-insert): Declare.
19405 (desktop-restore-file-buffer): Rename desktop-* parameters;
19406 mark unused ones.
19407 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19408 (desktop-buffer): Rename desktop-* parameters.
19409
19410 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19411 (dframe-reposition-frame-xemacs, dframe-help-echo)
19412 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19413 Mark unused parameters.
19414
19415 * dired-aux.el (backup-extract-version-start, overwrite-query)
19416 (overwrite-backup-query, rename-regexp-query)
19417 (rename-non-directory-query): Declare.
19418 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19419 (dired-add-entry): Remove unused variable `orig-file-name'.
19420 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19421 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19422 `dired-copy-preserve-time' directly.
19423 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19424 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19425
19426 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19427 (dired-virtual-revert, dired-make-relative-symlink):
19428 Mark unused parameters.
19429 (manual-program): Declare.
19430 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19431 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19432 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19433
19434 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19435
19436 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19437
19438 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19439 Declare.
19440
19441 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19442
19443 * electric.el (Electric-command-loop): Rename parameter
19444 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19445
19446 * expand.el (expand-in-literal): Remove unused variable `here'.
19447
19448 * facemenu.el (facemenu-add-new-color):
19449 Remove unused variable `docstring'.
19450
19451 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19452 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19453 (face-attr-construct): Mark unused parameter. Doc fix.
19454 (read-color): Remove unused variable `hex-string'.
19455
19456 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19457 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19458 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19459 (display-buffer-other-frame): Remove unused variable `old-window'.
19460 (kill-buffer-hook): Declare.
19461 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19462 Mark unused parameters.
19463 (after-find-file): Pass 1 to `auto-save-mode', not t.
19464
19465 * files-x.el (auto-insert): Declare.
19466 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19467
19468 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19469 variable `buf'. Mark unused parameter.
06b60517
JB
19470 (find-lisp-insert-directory): Mark unused parameter.
19471
19472 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19473 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19474 (format-common-tail): Remove, unused.
19475 (format-deannotate-region): Remove unused variable `loc'.
19476 (format-annotate-region): Remove unused variable `p'.
19477 (format-annotate-single-property-change): Remove unused variables
19478 `default' and `tail'.
19479
19480 * forms.el (read-file-filter): Declare.
19481 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19482
19483 * frame.el (frame-creation-function-alist): Mark unused parameter.
19484 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19485
19486 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19487 Remove unused parameters.
19488 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19489 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19490
19491 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19492 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19493 (hfy-prepare-tag-map): Mark unused parameters.
19494 (htmlfontify-buffer): Use `called-interactively-p'.
19495
19496 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19497 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19498 (ibuffer-do-occur): Mark unused parameters.
19499 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19500 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19501
19502 * ibuffer.el: Don't quote `lambda'.
19503 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19504 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19505 Mark unused parameters.
19506
19507 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19508 (ido-completing-read): Mark unused parameters.
19509 (ido-copy-current-word): Mark unused parameters;
19510 remove unused variable `name'.
19511 (ido-sort-merged-list): Remove unused parameter `dirs'.
19512
19513 * ielm.el (ielm-input-sender): Mark unused parameter.
19514 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19515 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19516 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19517 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19518 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19519
19520 * image-dired.el (image-dired-display-thumbs): Remove unused
19521 variables `curr-file' and `count'.
19522 (image-dired-remove-tag): Remove unused variable `start'.
19523 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19524 variable `curr-file'
19525 (image-dired-rotate-original): Remove unused variable `temp-file'.
19526 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19527 Remove unused variable `file'.
19528 (image-dired-gallery-generate): Remove unused variable `curr'.
19529 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19530
19531 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19532
19533 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19534
19535 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19536
19537 * isearch.el (minibuffer-history-symbol): Declare.
19538 (isearch-edit-string): Remove unused variable `err'.
19539 (isearch-message-prefix, isearch-message-suffix):
19540 Mark unused parameters.
19541
19542 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19543
19544 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19545
19546 * makesum.el (double-column): Remove unused variable `cnt'.
19547
19548 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19549 (ido-ignore-item-temp-list): Declare.
19550
19551 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19552 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19553 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19554 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19555 `mouse-col-delta'.
19556
19557 * mouse-sel.el (mouse-extend-internal):
19558 Remove unused variable `orig-window-frame'.
19559
19560 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19561 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19562 Move declarations before first use.
19563 (pcomplete-opt): Mark unused parameters; doc fix.
19564
19565 * proced.el (proced-revert): Mark unused parameter.
19566 (proced-send-signal): Remove unused variable `err'.
19567
19568 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19569 Rename parameter PREFIX-ARG to ARG.
19570 (ps-basic-plot-string, ps-basic-plot-whitespace):
19571 Mark unused parameters.
19572
19573 * replace.el (replace-count): Define.
19574 (occur-revert-function): Mark unused parameters.
19575 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19576 (isearch-case-fold-search, isearch-string): Declare.
19577 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19578 bind `case-fold-search'. Remove unused variables `beg' and `end',
19579 and simplify.
19580 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19581 COUNT and bind `replace-count'.
19582 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19583 to COUNT.
19584
19585 * savehist.el (print-readably, print-string-length): Declare.
19586
19587 * shadowfile.el (shadow-expand-cluster-in-file-name):
19588 Remove unused variable `cluster'.
19589 (shadow-copy-file): Remove unused variable `i'.
19590 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19591 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19592 (shadow-define-literal-group, shadow-define-regexp-group)
19593 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19594
19595 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19596 (shell): Use `called-interactively-p'.
19597 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19598
19599 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19600 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19601 (delete-backward-char): Remove unused variable `ocol'.
19602 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19603 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19604 (event-apply-hyper-modifier, event-apply-shift-modifier)
19605 (event-apply-control-modifier, event-apply-meta-modifier):
19606 Mark unused parameters.
19607 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19608 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19609
19610 * speedbar.el (speedbar-ignored-directory-expressions)
19611 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19612 (speedbar-find-file, speedbar-dir-follow)
19613 (speedbar-directory-buttons-follow, speedbar-tag-find)
19614 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19615 (speedbar-buffers-line-directory, speedbar-buffer-click):
19616 Mark unused parameters.
19617 (speedbar-tag-file): Remove unused variable `mode'.
19618 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19619
19620 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19621
19622 * talk.el (talk): Remove unused variable `display'.
19623
19624 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19625 (tar-write-region-annotate): Mark unused parameter.
19626
19627 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19628 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19629 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19630 warning by another.
19631
19632 * time-stamp.el (time-stamp-string-preprocess):
19633 Remove unused variable `require-padding'.
19634
19635 * tree-widget.el (widget-glyph-enable): Declare.
19636 (tree-widget-action): Mark unused parameter.
19637
19638 * w32-fns.el (x-get-selection): Mark unused parameter.
19639 (autoload-make-program, generated-autoload-file): Declare.
19640
19641 * wdired.el (wdired-revert): Mark unused parameters.
19642 (wdired-xcase-word): Remove unused variable `err'.
19643
19644 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19645 (whitespace-help-scroll): Remove unused variable `data-help'.
19646
19647 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19648 (widget-image-insert, widget-after-change, default)
19649 (widget-default-format-handler, widget-default-notify)
19650 (widget-default-prompt-value, widget-info-link-action)
19651 (widget-url-link-action, widget-function-link-action)
19652 (widget-variable-link-action, widget-file-link-action)
19653 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19654 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19655 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19656 (widget-insert-button-action, widget-delete-button-action, visibility)
19657 (widget-documentation-link-action, widget-documentation-string-action)
19658 (widget-const-prompt-value, widget-regexp-match, symbol)
19659 (widget-coding-system-prompt-value)
19660 (widget-key-sequence-value-to-external, sexp)
19661 (widget-sexp-value-to-internal, character, vector, cons)
19662 (widget-choice-prompt-value, widget-boolean-prompt-value)
19663 (widget-color--choose-action): Mark unused parameters.
19664 (widget-item-match-inline, widget-choice-match-inline)
19665 (widget-checklist-match, widget-checklist-match-inline)
19666 (widget-group-match): Rename parameter VALUES to VALS.
19667 (widget-field-value-set): Remove unused variable `size'.
19668 (widget-color-action): Remove unused variables `value' and `start'.
19669
19670 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19671 variable `dir'. Doc fix.
06b60517
JB
19672 (windmove-find-other-window): Don't pass it.
19673
19674 * window.el (count-windows): Mark unused parameter.
19675 (bw-adjust-window): Remove unused variable `err'.
19676
19677 * woman.el (woman-file-name): Remove unused variable `default'.
19678 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19679 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19680 (global-font-lock-mode): Declare.
19681 (woman-decode-region): Mark unused parameter.
19682 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19683
19684 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19685 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19686 (x-dnd-handle-moz-url): Remove unused variable `title'.
19687 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19688
19689 * xml.el (xml-parse-tag, xml-parse-attlist):
19690 Remove unused variable `pos'.
19691
bc4f7f3d
GM
196922011-04-19 Glenn Morris <rgm@gnu.org>
19693
19694 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19695 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19696 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19697 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19698 * calendar/cal-html.el (cal-html-insert-minical):
19699 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19700 (calendar-mark-date-pattern):
19701 Prefix "unused" locals.
19702
19703 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19704 optional argument `style'.
19705
19706 * calendar/appt.el (appt-make-list):
19707 * calendar/cal-china.el (calendar-chinese-date-string):
19708 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19709 (diary-hebrew-yahrzeit):
19710 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19711 * calendar/calendar.el (calendar-generate-window):
19712 * calendar/time-date.el (time-to-days):
19713 Remove unused local variables.
19714
16a43933
CY
197152011-04-18 Chong Yidong <cyd@stupidchicken.com>
19716
19717 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19718 glyphless-char-display table.
19719 (tabulated-list-glyphless-char-display): New var.
19720
7eed1860
SS
197212011-04-18 Sam Steingold <sds@gnu.org>
19722
19723 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19724 to acknowledgments.
19725
4d2d1ccd
GM
197262011-04-17 Glenn Morris <rgm@gnu.org>
19727
19728 * calendar/diary-lib.el (diary-sexp-entry):
19729 * calendar/holidays.el (holiday-sexp):
19730 Set debug-on-error rather than the removed stack-trace-on-error.
19731
239da61d
GM
197322011-04-16 Glenn Morris <rgm@gnu.org>
19733
19734 * progmodes/f90.el: Use lexical-binding.
19735 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19736
8b05752a
SM
197372011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19738
daca8ba5
SM
19739 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19740 (mail-mode): Setup mailalias completion here instead.
19741 * mail/mailalias.el: Use lexical-binding.
19742 (pattern, mailalias-done): Declare dynamic.
19743 (mail-completion-at-point-function): New function, from mail-complete.
19744 (mail-complete): Use it.
19745 (mail-completion-expand): New function.
19746 (mail-get-names): Use it.
19747 (mail-directory, mail-directory-process, mail-directory-stream):
19748 Don't use `pattern' for lexically bound arg.
19749
6f542485
SM
19750 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19751
037e7c3f
SM
19752 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19753 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19754 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19755
8b05752a
SM
19756 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19757 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19758 (byte-interactive-p): Define them again, for use when inlining
19759 old code.
19760
49093f60
JB
197612011-04-15 Juanma Barranquero <lekktu@gmail.com>
19762
19763 * loadup.el: Use `string-to-number', not `string-to-int'.
19764
b5b8e7de
SM
197652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19766
19767 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19768 gud-gdb-complete-command.
19769 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19770 (gud-gdb-completion-at-point): New function.
19771 (gud-gdb-completions): Remove.
19772
f42efeb5
MA
197732011-04-14 Michael Albinus <michael.albinus@gmx.de>
19774
49093f60
JB
19775 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19776 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19777 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19778 whether `executable-find' is bound.
f42efeb5
MA
19779
19780 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19781
e240cc21
SM
197822011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19783
19784 * minibuffer.el (completion-in-region-mode-predicate)
19785 (completion-in-region-mode--predicate): New vars.
19786 (completion-in-region, completion-in-region--postch)
19787 (completion-in-region-mode): Use them.
19788 (completion--capf-wrapper): Also return the hook function.
19789 (completion-at-point, completion-help-at-point):
19790 Adjust and provide a predicate.
c2bd2ab0
SM
19791
19792 Preserve arg names for advice of subr and lexical functions (bug#8457).
19793 * help-fns.el (help-function-arglist): Consolidate the subr and
19794 new-byte-code cases. Add argument `preserve-names' to extract names
19795 from the docstring when needed.
19796 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19797 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19798 (ad-arglist): Use help-function-arglist's new arg.
19799 (ad-definition-type): Use cond.
19800
c183f693
JB
198012011-04-13 Juanma Barranquero <lekktu@gmail.com>
19802
06641a47
JB
19803 * autorevert.el (auto-revert-handler):
19804 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19805 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19806 Don't quote lambda.
19807
c183f693
JB
19808 * image-mode.el (image-transform-set-scale):
19809 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19810
1e3b6001
G
198112011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19812
19813 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19814 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19815 Upgrades via gnutls-cli are too slow to be done opportunistically.
19816
2d6af8dd
JB
198172011-04-12 Juanma Barranquero <lekktu@gmail.com>
19818
19819 * dframe.el (dframe-current-frame): Remove spurious quote.
19820
c0749a51
GM
198212011-04-12 Glenn Morris <rgm@gnu.org>
19822
088d0d61
GM
19823 * calendar/cal-tex.el (cal-tex-end-document):
19824 Try to automatically use latin1 input if needed.
19825
c0749a51
GM
19826 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19827 Don't try to cons a mark onto an empty element.
19828
5c90fde0
LL
198292011-04-11 Leo Liu <sdl.web@gmail.com>
19830
19831 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19832 buffers.
19833 (ido-kill-buffer-at-head): Support killing virtual buffers.
19834
369e974d
CY
198352011-04-10 Chong Yidong <cyd@stupidchicken.com>
19836
19837 * minibuffer.el (completion-show-inline-help): New var.
19838 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19839 (minibuffer-force-complete, minibuffer-complete-word):
19840 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19841
19842 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19843 to avoid interference from inline help (Bug#5849).
19844
37f1c930
LL
198452011-04-10 Leo Liu <sdl.web@gmail.com>
19846
099c39a4
JB
19847 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19848 Fix typo.
37f1c930 19849
a32d4040
CY
198502011-04-09 Chong Yidong <cyd@stupidchicken.com>
19851
19852 * image-mode.el (image-toggle-display-image): Signal an error if
19853 not in Image mode.
19854 (image-transform-mode, image-transform-resize)
19855 (image-transform-set-rotation): Doc fix.
daca8ba5 19856 (image-transform-set-resize): Delete.
a32d4040
CY
19857 (image-transform-set-scale, image-transform-fit-to-height)
19858 (image-transform-fit-to-width): Handle image-toggle-display-image
19859 and image-transform-resize directly.
19860
099c39a4 198612011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19862
19863 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19864 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19865 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19866 (doc-view-mode-map): Add bindings for the new functions.
19867
099c39a4 198682011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19869
4d61f28d 19870 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19871 Fix typo in docstring.
19872
3726838a
EZ
198732011-04-08 Eli Zaretskii <eliz@gnu.org>
19874
04f33f1e
EZ
19875 * files.el (file-size-human-readable): Produce one digit after
19876 decimal, like "ls -lh" does.
19877
19878 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19879 the file size representation.
19880
3726838a
EZ
19881 * simple.el (list-processes): If async subprocesses are not
19882 available, error out with a clear error message.
19883
cbb59342
CY
198842011-04-08 Chong Yidong <cyd@stupidchicken.com>
19885
19886 * help.el (help-form-show): New function, to be called from C.
19887 Put help-form output in a buffer named differently than *Help*.
19888
e3971c44
EZ
198892011-04-08 Eli Zaretskii <eliz@gnu.org>
19890
19891 * files.el (file-size-human-readable): New function.
19892
19893 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19894 computing the representation inline. Don't require `cl'.
19895
12544bbe
GM
198962011-04-08 Glenn Morris <rgm@gnu.org>
19897
a1de6c6a
GM
19898 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19899
3c4671f4
GM
19900 * net/browse-url.el (browse-url-firefox):
19901 Test system-type, not system-configuration.
19902
b605679c
GM
19903 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19904 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19905 Use log-edit-empty-buffer-p. (Bug#7598)
19906
56442f0c
GM
19907 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19908 (rlogin-mode-map): Initialize in the defvar.
19909 (rlogin): Use ignore-errors.
19910
12544bbe
GM
19911 * replace.el (occur-mode-map): Some fixes for menu items.
19912
eb237b0f
AH
199132011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19914
19915 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19916
7d668f2c
CY
199172011-04-06 Chong Yidong <cyd@stupidchicken.com>
19918
e67a13ab
CY
19919 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19920 issuing unused warnings.
19921
19922 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19923 macro directly.
19924
7d668f2c
CY
19925 * simple.el: Lisp reimplement of list-processes. Based on an
19926 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19927 (process-menu-mode): New major mode.
19928 (list-processes--refresh, list-processes):
19929 (process-menu-visit-buffer): New functions.
19930
19931 * files.el (save-buffers-kill-emacs): Don't assume any return
19932 value of list-processes, which is undocumented anyway.
19933
a83ec3c9
CY
199342011-04-06 Chong Yidong <cyd@stupidchicken.com>
19935
19936 * emacs-lisp/tabulated-list.el: New file.
19937
e91a96fe
CY
19938 * emacs-lisp/package.el: Use Tabulated List mode.
19939 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19940 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19941 table format using Tabulated List mode variables.
19942 (package--push): New macro, replacing package-list-maybe-add.
19943 (package-menu--generate): Use package--push. Renamed from
19944 package--generate-package-list.
19945 (package-menu-refresh, list-packages): Use it.
daca8ba5 19946 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19947 Return insertion data instead of inserting it directly.
099c39a4
JB
19948 (package-menu-describe-package, package-menu-execute):
19949 Use tabulated-list-get-id.
e91a96fe
CY
19950 (package-menu-mark-delete, package-menu-mark-install)
19951 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19952 (package-menu-mark-obsolete-for-deletion):
19953 Use tabulated-list-put-tag.
e91a96fe
CY
19954 (package--list-packages, package-menu-revert)
19955 (package-menu-get-package, package-menu-get-version)
19956 (package-menu-sort-by-column): Functions deleted.
19957 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19958 (package-menu--status-predicate, package-menu--version-predicate)
19959 (package-menu--name-predicate)
19960 (package-menu--description-predicate): Handle arguments in the
19961 Tabulated List format.
19962 (package-list-packages-no-fetch): Call list-packages.
19963
3e214b50
JB
199642011-04-06 Juanma Barranquero <lekktu@gmail.com>
19965
19966 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19967 (after-find-file): Don't bind it.
3e214b50
JB
19968 (revert-buffer-in-progress-p): New variable.
19969 (revert-buffer): Bind it.
19970 Pass nil for `after-find-file-from-revert-buffer'.
19971
19972 * saveplace.el (save-place-find-file-hook): Use new variable
19973 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19974
3f0f1700
GM
199752011-04-06 Glenn Morris <rgm@gnu.org>
19976
c0274801
GM
19977 * Makefile.in (AUTOGEN_VCS): New variable.
19978 (autoloads): Use $AUTOGEN_VCS.
19979
3f0f1700
GM
19980 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19981 * calendar/calendar.el (calendar-mode-map):
19982 Check for toolkit scroll bars. (Bug#8305)
19983
41ea9e48
CY
199842011-04-05 Chong Yidong <cyd@stupidchicken.com>
19985
19986 * minibuffer.el (completion-in-region--postch)
19987 (completion-in-region-mode): Remove unnecessary messages.
19988
6194c800
JB
199892011-04-05 Juanma Barranquero <lekktu@gmail.com>
19990
33256f14
JB
19991 * font-lock.el (font-lock-refresh-defaults):
19992 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19993 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19994
6194c800
JB
19995 * info.el (Info-directory-list, Info-read-node-name-2)
19996 (Info-split-parameter-string): Doc fixes.
19997 (Info-virtual-nodes): Reflow docstring.
19998 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19999 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20000 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20001 Fix typos in docstrings.
20002 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20003 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20004 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20005 (Info-restore-desktop-buffer): Mark unused parameters.
20006 (Info-directory-find-file, Info-directory-find-node)
20007 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20008 (Info-virtual-index-find-node, Info-apropos-find-file)
20009 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20010 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20011 (Info-virtual-index): Remove unused local variable `nodename'.
20012
b87a8200 200132011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20014
b87a8200
DD
20015 * net/rcirc.el: Update my e-mail address.
20016 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20017
3b2ff876
CY
200182011-04-05 Chong Yidong <cyd@stupidchicken.com>
20019
20020 * startup.el (command-line): Save the cursor's theme-face
20021 directly, instead of using face-override-spec.
20022
20023 * custom.el (load-theme): Minor optimization in assigning faces.
20024
8d17e7ca
JB
200252011-04-04 Juanma Barranquero <lekktu@gmail.com>
20026
20027 * help-fns.el (describe-variable): Complete all variables having
20028 documentation, including keywords.
20029 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20030
2fbc1934
JB
200312011-04-04 Juanma Barranquero <lekktu@gmail.com>
20032
20033 Convert to lexical-binding.
20034
20035 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20036 (bs--get-marked-string, bs--get-modified-string)
20037 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20038 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20039 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20040
20041 * ehelp.el (electric-help-execute-extended)
20042 (electric-help-ctrl-x-prefix):
20043 * hexl.el (hexl-revert-buffer-function):
20044 * linum.el (linum-after-change, linum-after-scroll):
20045 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20046
20047 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20048
74f50695
DU
200492011-04-04 Daiki Ueno <ueno@unixuser.org>
20050
20051 * epa-dired.el:
20052 * epa-mail.el:
20053 * epa-hook.el:
20054 * epa-file.el:
20055 * epa.el:
20056 * epg.el: Use lexical binding.
20057
c11325f7
CY
200582011-04-03 Chong Yidong <cyd@stupidchicken.com>
20059
0d9e9a12
CY
20060 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20061
c11325f7 20062 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20063 dictionary case for flyspell-mark-duplications-exceptions.
20064 Use regexp matching for languages.
c11325f7
CY
20065 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20066 default dictionary (Bug#7926).
20067
da91b5f2
CY
200682011-04-02 Chong Yidong <cyd@stupidchicken.com>
20069
099c39a4
JB
20070 * emacs-lisp/package.el (package--with-work-buffer):
20071 Recognize https URLs.
da91b5f2 20072
099c39a4
JB
20073 * net/network-stream.el: Move from gnus/proto-stream.el.
20074 Change prefix to network-stream throughout.
da91b5f2
CY
20075 (open-protocol-stream): Merge into open-network-stream, leaving
20076 open-protocol-stream as an alias. Handle nil BUFFER args.
20077
20078 * subr.el (open-network-stream): Move to net/network-stream.el.
20079
afa8e9f6
GM
200802011-04-02 Glenn Morris <rgm@gnu.org>
20081
1d2e369d
GM
20082 * find-dired.el (find-exec-terminator): New option.
20083 (find-ls-option): Test for -ls support.
20084 (find-ls-subdir-switches): Test for -b in find-ls-option.
20085 (find-dired, find-grep-dired): Doc fixes.
20086 (find-dired): Use find-exec-terminator.
20087
8abb7da8 20088 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20089 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20090 (find-name-arg): Remove purecopy.
8abb7da8 20091
f3ca7378
GM
20092 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20093 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20094 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20095 accordingly. Don't add the null-device if not needed.
20096
afa8e9f6
GM
20097 * files.el (save-some-buffers): Doc fix.
20098
35eae264
EZ
200992011-04-02 Eli Zaretskii <eliz@gnu.org>
20100
20101 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20102
26b51db5
JB
201032011-04-01 Juanma Barranquero <lekktu@gmail.com>
20104
20105 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20106 Use `dolist' rather than `mapcar'.
20107
7200d79c
SM
201082011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20109
03408648 20110 Add lexical binding.
7200d79c 20111
03408648
SM
20112 * subr.el (apply-partially): Use new closures rather than CL.
20113 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20114 (dolist, dotimes): Use slightly different expansion for lexical code.
20115 (functionp): Move to C.
20116 (letrec): New macro.
20117 (with-wrapper-hook): Use it and apply-partially instead of CL.
20118 (eval-after-load): Preserve lexical-binding.
20119 (save-window-excursion, with-output-to-temp-buffer): Turn them
20120 into macros.
7200d79c 20121
03408648
SM
20122 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20123
20124 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20125 than the arglist.
20126 (help-add-fundoc-usage): Don't add `Not documented'.
20127 (help-function-arglist): Handle closures, subroutines, and new
20128 byte-code-functions.
20129 (help-make-usage): Remove leading underscores.
20130 (describe-function-1): Handle closures.
20131 (describe-variable): Use special-variable-p for completion.
20132
20133 * files.el (lexical-binding): Declare safe.
f488fb65 20134
03408648
SM
20135 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20136 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20137 (pcase): Add `let' pattern.
20138 Change memoization so it actually works.
20139 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20140 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20141 <let>: New case.
f488fb65 20142
03408648
SM
20143 * emacs-lisp/macroexp.el: Use lexical binding.
20144 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20145 Don't convert ' to #' without checking that it's indeed quoting
20146 a lambda.
20147
20148 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20149 Use eval-sexp-add-defvars.
03408648
SM
20150 (eval-sexp-add-defvars): New fun.
20151
20152 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20153
20154 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20155 Don't autoload.
20156 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20157 than the internal `byte-compile-lambda'.
20158 (defmethod): Don't hide code under quotes.
20159 (eieio-defmethod): New `code' argument.
20160
20161 * emacs-lisp/eieio-comp.el: Remove.
20162
20163 * emacs-lisp/edebug.el (edebug-eval-defun)
20164 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20165 (edebug-toggle): Avoid `eval'.
20166
20167 * emacs-lisp/disass.el (disassemble-internal): Handle new
20168 `closure' objects.
20169 (disassemble-1): Handle new byte codes.
20170
20171 * emacs-lisp/cl.el (pushnew): Silence warning.
20172
20173 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20174 (cl-byte-compile-throw): Remove.
20175 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20176
20177 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20178 closures.
20179
20180 * emacs-lisp/cconv.el: New file.
20181
20182 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20183 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20184 (byte-compile-initial-macro-environment):
20185 Handle declare-function here.
20186 (byte-compile--lexical-environment): New var.
20187 (byte-stack-ref, byte-stack-set, byte-discardN)
20188 (byte-discardN-preserve-tos): New lap codes.
20189 (byte-interactive-p): Don't use any more.
20190 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20191 New macros.
20192 (byte-compile-lapcode): Use them and handle new lap codes.
20193 (byte-compile-obsolete): Remove.
20194 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20195 (byte-compile-arglist-warn): Check late def of inlinable funs.
20196 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20197 since they should have been expanded by now.
20198 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20199 (byte-compile-from-buffer): Remove unused second arg.
20200 (byte-compile-preprocess): New function.
20201 (byte-compile-toplevel-file-form): New function to distinguish
20202 file-form calls from outside from file-form calls from hunk-handlers.
20203 (byte-compile-file-form): Simplify.
20204 (byte-compile-file-form-defsubst): Remove.
20205 (byte-compile-file-form-defmumble): Simplify now that
20206 byte-compile-lambda always returns a byte-code-function.
20207 (byte-compile): Preprocess.
20208 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20209 Remove, not used any more.
20210 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20211 (byte-compile-make-args-desc): New funs.
20212 (byte-compile-lambda): Handle lexical functions. Always return
20213 a byte-code-function.
20214 (byte-compile-reserved-constants): New var, to make up room for
20215 closed-over variables.
20216 (byte-compile-constants-vector): Obey it.
20217 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20218 (byte-compile-macroexpand-declare-function): New function.
20219 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20220 byte-code-functions.
20221 (byte-compile-form): Check obsolescence here.
20222 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20223 (byte-compile-variable-ref): Remove.
20224 (byte-compile-dynamic-variable-op): New fun.
20225 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20226 (byte-compile-variable-set): New funs.
20227 (byte-compile-discard): Add 2 args.
20228 (byte-compile-stack-ref, byte-compile-stack-set)
20229 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20230 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20231 macroexpand-all instead.
20232 (byte-compile-quote-form): Remove.
20233 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20234 (byte-compile-bind, byte-compile-unbind): New funs.
20235 (byte-compile-let): Handle let* and lexical binding.
20236 (byte-compile-let*): Remove.
20237 (byte-compile-catch, byte-compile-unwind-protect)
20238 (byte-compile-track-mouse, byte-compile-condition-case):
20239 Handle a new :fun-body form, used for lexical scoping.
20240 (byte-compile-save-window-excursion)
20241 (byte-compile-with-output-to-temp-buffer): Remove.
20242 (byte-compile-defun): Simplify.
20243 (byte-compile-stack-adjustment): New fun.
20244 (byte-compile-out): Use it.
20245 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20246
20247 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20248 handler any more.
20249
20250 * emacs-lisp/byte-opt.el: Use lexical binding.
20251 (byte-inline-lapcode): Remove (to bytecomp).
20252 (byte-compile-inline-expand): Pay attention to inlining to/from
20253 lexically bound code.
20254 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20255 any more.
20256 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20257 any more and don't call compiler-macros.
20258 (byte-compile-splice-in-already-compiled-code): Remove.
20259 (byte-code): Don't inline any more.
20260 (disassemble-offset): Receive `bytes' as argument rather than via
20261 dynamic scoping.
20262 (byte-compile-tag-number): Declare before first use.
20263 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20264 `return' even if make-spliceable.
20265 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20266 obsolete interactive-p.
20267 (byte-optimize-lapcode): Optimize new lap-codes.
20268 Don't trip up on new form of `byte-constant' lap code.
20269
20270 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20271
20272 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20273
20274 * custom.el (custom-initialize-default, custom-declare-variable):
20275 Use `defvar'.
20276
20277 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20278 New variables.
20279 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20280 (COMPILE_FIRST): Add macroexp and cconv.
20281 * makefile.w32-in: Mirror changes in Makefile.in.
20282
20283 * vc/cvs-status.el:
20284 * vc/diff-mode.el:
20285 * vc/log-edit.el:
20286 * vc/log-view.el:
20287 * vc/smerge-mode.el:
20288 * textmodes/bibtex-style.el:
090bd7cb 20289 * textmodes/css-mode.el:
03408648
SM
20290 * startup.el:
20291 * uniquify.el:
da91b5f2
CY
20292 * minibuffer.el:
20293 * newcomment.el:
20294 * reveal.el:
20295 * server.el:
20296 * mpc.el:
20297 * emacs-lisp/smie.el:
20298 * doc-view.el:
20299 * dired.el:
03408648
SM
20300 * abbrev.el: Use lexical binding.
20301
0f0c1f27
EZ
203022011-04-01 Eli Zaretskii <eliz@gnu.org>
20303
20304 * info.el (info-display-manual): New function.
20305
c82b2579
SM
203062011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20307
20308 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20309
221ddf68
TH
203102011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20311
20312 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20313 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20314
cba6e77e
GM
203152011-03-31 Glenn Morris <rgm@gnu.org>
20316
e040639f
GM
20317 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20318
cba6e77e
GM
20319 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20320
6d0f1c9e
CS
203212011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20322
20323 * progmodes/python.el (python-default-interpreter)
20324 (python-python-command-args, python-jython-command-args)
20325 (python-which-shell, python-which-args, python-which-bufname)
20326 (python-file-queue, python-comint-output-filter-function)
20327 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20328 variables and functions.
20329
3e2d70fd
SM
203302011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20331
20332 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20333 (completion-in-region-mode): New minor mode.
20334 (completion-in-region): Use it.
20335 (completion-in-region--data, completion-in-region-mode-map): New vars.
20336 (completion-in-region--postch): New function.
20337 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20338 New vars.
20339 (completion--capf-wrapper): New function.
20340 (completion-at-point): Use it to track well-behavedness of
20341 hook functions.
20342 (completion-help-at-point): New command.
20343
f3e4086c
JM
203442011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20345
20346 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20347 syntax class to search for whitespace on a single line
20348 (Message-ID: <4D938140.4030905@redhat.com>).
20349
eb7ffc14
LL
203502011-03-30 Leo Liu <sdl.web@gmail.com>
20351
20352 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20353 New commands.
20354 (edit-abbrevs-map): Bind them here.
20355 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20356
d806ab68
KM
203572011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20358
20359 * allout.el (allout-hide-by-annotation, allout-flag-region):
20360 Reduce possibility of overlay leakage by making them volatile.
20361
20362 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20363 hash is not shared between buffers. Mode initialization is
20364 responsible for giving it a useful starting value.
20365 (allout-item-span): Reduce possibility of overlay leakage by
20366 making them volatile.
20367 (allout-widgets-count-buttons-in-region): Add diagnostic function
20368 for tracking down button overlay leaks.
20369
ea622834
LL
203702011-03-29 Leo Liu <sdl.web@gmail.com>
20371
20372 * ido.el (ido-read-internal): Use the default history var
20373 minibuffer-history if no HISTORY is specified.
20374
b62f8267
G
203752011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20376
03408648
SM
20377 * net/imap.el (imap-shell-open, imap-process-connection-type):
20378 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20379 Kerberos, SSL, other subprocesses.
20380
947b6566
LL
203812011-03-28 Leo Liu <sdl.web@gmail.com>
20382
20383 * abbrev.el (abbrev-table-empty-p): New function.
20384 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20385 nonempty ones. (Bug#5937)
20386
5ffb62aa
JD
203872011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20388
20389 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20390
7a097943
LL
203912011-03-27 Leo Liu <sdl.web@gmail.com>
20392
20393 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20394 for foreground and background colors.
20395 (ansi-color-make-color-map): Adapt.
20396
c5b40130
LL
203972011-03-25 Leo Liu <sdl.web@gmail.com>
20398
1f48f7d2
LL
20399 * midnight.el (midnight-time-float): Remove. Note it calculates
20400 the microsecond component incorrectly and seconds-to-time does the
20401 same job.
625897ec 20402 Remove redundant (require 'timer).
1f48f7d2 20403
c5b40130
LL
20404 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20405 (ido-completions): Remove unused arguments. (Bug#8329)
20406
d86d2721
SM
204072011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20408
20409 * minibuffer.el (completion--flush-all-sorted-completions):
20410 Remove itself from hook.
20411 (completion-at-point): Let the functions perform the completion
20412 immediately and return nil or t.
20413 * comint.el (comint-dynamic-complete-functions): Now identical to
20414 completion-at-point-functions.
20415 (comint-dynamic-list-input-ring): Remove unused var `index'.
20416 (comint--match-partial-filename, comint--unquote&expand-filename):
20417 New funs, split from comint-match-partial-filename.
20418 (comint-dynamic-complete): Use completion-at-point.
20419 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20420
e8974c48
DA
204212011-03-24 Drew Adams <drew.adams@oracle.com>
20422
20423 * thingatpt.el: Support `defun'.
20424
def71b5e
LL
204252011-03-23 Leo Liu <sdl.web@gmail.com>
20426
cb5af48e
LL
20427 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20428
def71b5e
LL
20429 * help-mode.el (help-mode-finish): Tweak regexp.
20430
927c53e7
GM
204312011-03-23 Glenn Morris <rgm@gnu.org>
20432
18d05bed
GM
20433 * eshell/esh-opt.el (eshell-eval-using-options):
20434 Do not bind unused local variable `eshell-option-stub'.
20435
927c53e7
GM
20436 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20437
9d0da923
JB
204382011-03-22 Juanma Barranquero <lekktu@gmail.com>
20439
20440 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20441 keymap variable in `with-no-warnings' to avoid a warning when the
20442 keymap has been already `defconst'ed.
20443
4b978a67
LL
204442011-03-22 Leo Liu <sdl.web@gmail.com>
20445
20446 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20447 encode all chars in abbrevs; otherwise use emacs-mule or
20448 utf-8-emacs. (Bug#8308)
20449
5fd62452
JB
204502011-03-22 Juanma Barranquero <lekktu@gmail.com>
20451
0b1596c6
JB
20452 * simple.el (backward-delete-char-untabify):
20453 Avoid warning about using `delete-backward-char'.
20454
5fd62452
JB
20455 * image.el (image-type-file-name-regexps): Make it variable.
20456 `imagemagick-register-types' modifies it, and the user may want
20457 to add new extensions for known image types.
20458 (imagemagick-register-types): Throw error if not using ImageMagick.
20459
0b4e93f1
LL
204602011-03-22 Leo Liu <sdl.web@gmail.com>
20461
20462 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20463 located before rcirc-prompt-end-marker.
20464 (rcirc-complete): Error if point is not after rcirc prompt.
20465 Handle the case when table is nil.
9882e214 20466 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20467
fccee4ab
CY
204682011-03-22 Chong Yidong <cyd@stupidchicken.com>
20469
20470 * custom.el (custom--inhibit-theme-enable): Make it affect only
20471 custom-theme-set-variables and custom-theme-set-faces.
20472 (provide-theme): Ignore custom--inhibit-theme-enable.
20473 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20474 (custom-enabling-themes): Delete variable.
d86d2721
SM
20475 (enable-theme): Accept only loaded themes as arguments.
20476 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20477 (custom-enabled-themes): Forbid themes from setting this.
20478 Eliminate use of custom-enabling-themes.
20479 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20480
af896da6
LL
204812011-03-21 Leo Liu <sdl.web@gmail.com>
20482
20483 * ido.el (ido-read-internal): Add ido-selected to history instead
20484 of user input.
20485
78f64af0
SM
204862011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20487
20488 * subr.el (deferred-action-list, deferred-action-function):
20489 Mark obsolete.
20490
b16ac1ec
LL
204912011-03-21 Leo Liu <sdl.web@gmail.com>
20492
810f7698
LL
20493 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20494 change on 2011-02-13 (bug#8309).
20495
b16ac1ec
LL
20496 * minibuffer.el (read-file-name-function): Change default value.
20497 (read-file-name--defaults): Rename from read-file-name-defaults.
20498 (read-file-name-default): Rename from read-file-name.
20499 (read-file-name): Call read-file-name-function.
20500
4e05e67e
GM
205012011-03-21 Glenn Morris <rgm@gnu.org>
20502
20503 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20504 Doc fixes.
20505
4359915b
CY
205062011-03-21 Chong Yidong <cyd@stupidchicken.com>
20507
20508 * cus-theme.el: Add missing provide statement.
20509 (customize-create-theme): Extract theme value correctly.
20510 (custom-theme-visit-theme): Autoload.
20511 (customize-create-theme): Prompt before inserting default faces.
20512
1fe275ee
JB
205132011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20514
20515 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20516 units and musical notes.
20517
cd394be1 205182011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20519
20520 * ido.el (ido-read-internal): Use completing-read-default.
20521 (ido-completing-read): Fix compatibility with completing-read.
20522
7d476bde
CO
205232011-03-20 Christian Ohler <ohler@gnu.org>
20524
20525 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20526 (ert-delete-all-tests): Use `called-interactively-p' rather than
20527 `interactive-p'.
20528 (ert--make-xrefs-region): Respect END.
20529
fe0fb33e
CY
205302011-03-19 Chong Yidong <cyd@stupidchicken.com>
20531
ff854b0b
CY
20532 * dired-aux.el (dired-create-directory): Signal an error if the
20533 directory already exists (Bug#8246).
20534
fe0fb33e
CY
20535 * facemenu.el (list-colors-display): Call list-faces-display
20536 inside with-help-window.
20537 (list-colors-print): Use display property to align the final
20538 column, instead of checking window-width.
20539
576bce32
EZ
205402011-03-19 Eli Zaretskii <eliz@gnu.org>
20541
4d61f28d 20542 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20543 windows-nt systems.
20544 (emerge-protect-metachars): Quote correctly for ms-dos and
20545 windows-nt systems.
20546
89c41d68 205472011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20548
20549 * info.el (info-initialize): Replace all uses of `:' with
20550 path-separator for compatibility with non-Unix systems.
20551 Cache quoting of path-separator. (Bug#8258)
20552
b14e3e21 205532011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20554
20555 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20556 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20557 (mouse-avoidance-mode): Fix typos in docstrings.
20558
4525ce3e
CY
205592011-03-19 Chong Yidong <cyd@stupidchicken.com>
20560
20561 * startup.el (package-subdirectory-regexp): Move from package.el.
20562 Omit \\` and \\', and let callers add them.
20563
20564 * emacs-lisp/package.el (package-strip-version)
20565 (package-load-all-descriptors): Add \\` and \\' to
20566 package-subdirectory-regexp before using it.
20567 (package-untar-buffer): New arg DIR; ensure that file untars only
20568 into this expected directory. Remove superfluous delete-region.
20569 (package-unpack): Caller changed.
20570 (package-tar-file-info): Use package-subdirectory-regexp.
20571
a904a09a 205722011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20573
a904a09a
SM
20574 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20575 diff-mode-shared-map (bug#8284).
20576 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20577
205782011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20579
20580 * calendar/time-date.el (format-seconds): Use assoc instead of
20581 assoc-string, since assoc-string doesn't exist in XEmacs.
20582
171fc304
JB
205832011-03-17 Juanma Barranquero <lekktu@gmail.com>
20584
20585 * custom.el (custom-known-themes): Reflow docstring.
20586 (custom-theme-load-path): Fix typo in docstring.
20587 (load-theme): Fix typo in error message.
20588 (custom-available-themes, custom-variable-theme-value):
20589 Use `let', not `let*'.
20590
d71990a1
JB
205912011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20592
20593 * calc/README: Mention inclusion of musical notes.
20594
20595 * calc/calc-units.el (calc-lu-quant): Rename from
20596 `calc-logunits-quantity'.
20597 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20598 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20599 (calc-db): Rename from `calc-dblevel'.
20600 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20601 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20602 (calc-np): Rename from `calc-nplevel'.
20603 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20604 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20605 (calc-lu-plus): Rename from `calc-logunits-add'.
20606 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20607 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20608 (calc-lu-minus): Rename from `calc-logunits-sub'.
20609 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20610 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20611 (calc-lu-times): Rename from `calc-logunits-mul'.
20612 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20613 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20614 (calc-lu-divide): Rename from `calc-logunits-div'.
20615 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20616 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20617
20618 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20619 functions being autoloaded.
20620
20621 * calc/calc.el (calc-lu-power-reference): Rename from
20622 `calc-logunits-power-reference'.
20623 (calc-lu-field-reference): Rename from
20624 `calc-logunits-field-reference'.
20625
7a71b18d
GM
20626 * calc/calc-help.el (calc-l-prefix-help):
20627 Mention musical note functions.
d71990a1 20628
40c2934b
SM
206292011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20630
20631 * minibuffer.el (completion-all-sorted-completions):
20632 Use :completion-cycle-penalty text property if present.
20633
b0911414
KM
206342011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20635
20636 * allout.el (allout-yank-processing): Adjust for new rebulleting
20637 regime so bullet being yanked is used without prompting the user
20638 for a choice.
20639
8a05b668
JB
206402011-03-16 Juanma Barranquero <lekktu@gmail.com>
20641
20642 * startup.el (command-line): Warn the user that _emacs is deprecated.
20643
5ba5fb81
JB
206442011-03-16 Juanma Barranquero <lekktu@gmail.com>
20645
20646 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20647 (delphi-verbose, delphi-comment-face, delphi-string-face)
20648 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20649 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20650 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20651 (delphi-new-comment-line, delphi-font-lock-defaults)
20652 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20653 Fix typos in docstrings.
20654
2dab465b
KM
206552011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20656
5ba5fb81 20657 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20658 Invert the roles of character and string values for INSTEAD, so a
20659 string is used for the more common case of a defaulting prompt.
20660
0adf5618
SM
206612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20662
20663 * progmodes/ruby-mode.el (ruby-backward-sexp):
20664 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20665 * play/gamegrid.el (gamegrid-make-face):
20666 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20667 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20668 * notifications.el (notifications-notify):
20669 * net/xesam.el (xesam-search-engines):
20670 * net/quickurl.el (quickurl-list-insert):
20671 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20672
d72700e5
CY
206732011-03-15 Chong Yidong <cyd@stupidchicken.com>
20674
20675 * startup.el (command-line): Update package subdirectory regexp.
20676
49c5410a
SM
206772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20678
c6eee9aa
SM
20679 * allout.el (allout-abbreviate-flattened-numbering)
20680 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20681
49c5410a
SM
20682 * subr.el (read-char-choice): Only show the cursor after the prompt,
20683 not after the answer.
20684
047b2bb9
KR
206852011-03-15 Kevin Ryde <user42@zip.com.au>
20686
20687 * help-fns.el (variable-at-point): Skip leading quotes, if any
20688 (bug#8253).
20689
0a57d256
SM
206902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20691
20692 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20693 warning message.
20694
77c992bc
MA
206952011-03-14 Michael Albinus <michael.albinus@gmx.de>
20696
20697 * shell.el (shell): When called interactively, offer to change the
20698 shell file name on remote hosts.
20699
eebc475d
TZ
207002011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20701
20702 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20703 integration for LDAP parameters. The host, base, user or binddn,
20704 and secret tokens can be specified in a netrc file, for instance.
20705 This is optional because an `auth-source' parameter must be
20706 specified in the search attributes.
20707
9d05d1ba
JB
207082011-03-13 Juanma Barranquero <lekktu@gmail.com>
20709
20710 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20711
09d9db2c
GM
207122011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20713
20714 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20715 into declaration. Remove redundant and harmful binding.
20716
207172011-03-12 Eli Zaretskii <eliz@gnu.org>
20718
20719 * files.el (file-ownership-preserved-p): Pass `integer' as an
20720 explicit 2nd argument to `file-attributes'. If the file's owner
20721 is the Administrators group on Windows, and the current user is
20722 Administrator, consider that a match.
20723
20724 * server.el (server-ensure-safe-dir): Consider server directory
20725 safe on MS-Windows if its owner is the Administrators group while
20726 the current Emacs user is Administrator. Use `=' to compare
20727 numerical UIDs, since they could be integers or floats.
20728
219bd536
JB
207292011-03-12 Juanma Barranquero <lekktu@gmail.com>
20730
20731 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20732
f3afd36b
MA
207332011-03-12 Michael Albinus <michael.albinus@gmx.de>
20734
20735 Sync with Tramp 2.2.1.
20736
20737 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20738
20739 * net/trampver.el: Update release number.
20740
3aaaa6f1
SM
207412011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20742
94642599
SM
20743 * progmodes/compile.el (compilation--previous-directory): Fix up
20744 various nil/dead-marker mismatches (bug#8014).
20745 (compilation-directory-properties, compilation-error-properties):
20746 Don't call it at a position past the one we're about to change.
20747
3aaaa6f1
SM
20748 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20749 Disable obsolescence warnings in the file that declares it.
20750
14239447
KM
207512011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20752
099c39a4
JB
20753 * allout-widgets.el (allout-widgets-tally):
20754 Initialize allout-widgets-tally as a hash table rather than nil to
20755 prevent mode-line redisplay warnings. Also, clarify the module
20756 description and fix a comment typo.
14239447 20757
135e287c
JB
207582011-03-11 Juanma Barranquero <lekktu@gmail.com>
20759
20760 * help-fns.el (describe-variable): Don't complete keywords.
20761 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20762
ffbf300e
CY
207632011-03-10 Chong Yidong <cyd@stupidchicken.com>
20764
ba08b241
CY
20765 * emacs-lisp/package.el (package-version-join): Impose a standard
20766 string representation for pre/alpha/beta version lists.
20767 (package-unpack-single): Standardize the directory name by passing
20768 it through package-version-join.
20769 (package-strip-rcs-id): Accept any version string that does not
20770 signal an error in version-to-list.
ffbf300e 20771
f346fd6b
MA
207722011-03-10 Michael Albinus <michael.albinus@gmx.de>
20773
20774 * simple.el (delete-trailing-whitespace): Return nil for the
20775 benefit of `write-file-functions'.
20776
ccb55d27
GM
207772011-03-10 Glenn Morris <rgm@gnu.org>
20778
5ceaac0c
GM
20779 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20780
02da65ff
GM
20781 * vc/vc-git.el (vc-git-program): New option.
20782 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20783 (vc-git--call): Use it.
20784
b2f603cc
GM
20785 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20786
5772caab
GM
20787 * cus-edit.el (Custom-newline): If no button at point, look
20788 for a subgroup button at start-of-line. (Bug#2298)
20789
ccb55d27
GM
20790 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20791
ec6ecaed
JD
207922011-03-10 Julien Danjou <julien@danjou.info>
20793
20794 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20795 `cursor-type' is nil.
20796
9d5aa01d
JB
207972011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20798
20799 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20800
b6a5875b
KM
208012011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20802
7a71b18d 20803 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20804 preserves the existing header prefix, rebulleting it if necessary,
20805 rather than replacing it. This is necessary for proper operation
20806 of cooperative addons like allout-widgets.
1154d12e
JB
20807 (allout-make-topic-prefix, allout-rebullet-heading):
20808 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20809 value as alternate bullet to be used, instead of prompting the user
20810 for a bullet character.
b6a5875b 20811
ee545c35
MA
208122011-03-09 Michael Albinus <michael.albinus@gmx.de>
20813
d86d2721
SM
20814 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20815 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20816 `tramp-default-port'.
20817
c47971d7
DD
208182011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20819
20820 * net/rcirc.el (rcirc-handler-001): Remove useless
20821 with-rcirc-process-buffer.
20822 (rcirc-check-auth-status): Swap arguments to string-match.
20823
13522cb4
GM
208242011-03-09 Glenn Morris <rgm@gnu.org>
20825
0be6f4f1
GM
20826 * shell.el (shell-mode):
20827 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20828
13522cb4
GM
20829 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20830 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20831
515de2e3
CY
208322011-03-08 Chong Yidong <cyd@stupidchicken.com>
20833
20834 * emacs-lisp/package.el (package-refresh-contents)
20835 (package-menu-execute): Use condition-case-no-debug.
20836
b511b994
MA
208372011-03-08 Michael Albinus <michael.albinus@gmx.de>
20838
20839 * simple.el (shell-command-to-string): Use `process-file'.
20840
20841 * emacs-lisp/package.el (package-tar-file-info): Handle also
20842 remote files.
20843
d86d2721
SM
20844 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20845 Use `equal' for upload base check.
b511b994 20846
25bbfb31
AM
208472011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20848
20849 * textmodes/texinfo.el (texinfo-environments):
20850 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20851
be996521
GM
208522011-03-08 Glenn Morris <rgm@gnu.org>
20853
e9c8529f
GM
20854 * cus-start.el (cursor-in-non-selected-windows):
20855 Fix :set quoting oddness. (Bug#8192)
20856
be996521
GM
20857 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20858 in some setf expressions. (Bug#2159)
20859
2bb5649e
CY
208602011-03-08 Chong Yidong <cyd@stupidchicken.com>
20861
20862 * custom.el (custom-available-themes): Return themes in
20863 alphabetical order.
20864
33383987 20865See ChangeLog.15 for earlier changes.
e3d51b27
MR
20866
20867;; Local Variables:
20868;; coding: utf-8
e3d51b27
MR
20869;; End:
20870
acaf905b 20871 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20872
20873 This file is part of GNU Emacs.
20874
20875 GNU Emacs is free software: you can redistribute it and/or modify
20876 it under the terms of the GNU General Public License as published by
20877 the Free Software Foundation, either version 3 of the License, or
20878 (at your option) any later version.
20879
20880 GNU Emacs is distributed in the hope that it will be useful,
20881 but WITHOUT ANY WARRANTY; without even the implied warranty of
20882 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20883 GNU General Public License for more details.
20884
20885 You should have received a copy of the GNU General Public License
20886 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.