* doc/lispref/debugging.texi (Error Debugging): Mention debug-on-message.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
68146aa5
GM
12012-11-11 Glenn Morris <rgm@gnu.org>
2
6ba6a3e5
GM
3 * help.el (temp-buffer-max-height):
4 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
5 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6
e4e46889
LL
72012-11-10 Leo Liu <sdl.web@gmail.com>
8
9 * ido.el (ido-set-matches-1): Fix split-string args to avoid
10 performance issue. (Bug#12796)
11
19e09879
GM
122012-11-10 Glenn Morris <rgm@gnu.org>
13
bf67dafa
GM
14 * term.el (term-default-fg-color, term-default-bg-color):
15 Make obsolete, rather than just saying "deprecated" in the doc.
16
19e09879
GM
17 * term.el (term): Rename from `term-face'.
18 (term-current-face, ansi-term-color-vector)
19 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
20 Update all users.
21
d743088d
JD
222012-11-09 Jan Djärv <jan.h.d@swipnet.se>
23
24 * server.el (server-create-window-system-frame): Improved comment.
25
531bdce6
JD
262012-11-08 Jan Djärv <jan.h.d@swipnet.se>
27
28 * server.el (server-create-window-system-frame): Handle Nextstep
29 specially (Bug#12780).
30
fedb154e
GM
312012-11-08 Glenn Morris <rgm@gnu.org>
32
33 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
34 Unautoload, and make obsolete. (Bug#7449)
35
9d9e48d9
CY
362012-11-08 Chong Yidong <cyd@gnu.org>
37
38 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
39 rename from diff-remove-trailing-whitespace (Bug#12831).
40
32170f7f
SM
412012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
44 miscompilation of trace.el.
45
26f59676
GM
462012-11-08 Glenn Morris <rgm@gnu.org>
47
48 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
49
41626722
SM
502012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
53 (bug#12812).
54
7d806bfe
CY
552012-11-07 Chong Yidong <cyd@gnu.org>
56
57 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
58 a defcustom with an appropriate :set function.
59 (minibuffer-default--in-prompt-regexps): New function.
60
2ee1d59f
GM
612012-11-07 Glenn Morris <rgm@gnu.org>
62
031b2ea7
GM
63 * emacs-lisp/cl.el (define-setf-expander, defsetf)
64 (define-modify-macro): Doc fixes.
65
2ee1d59f
GM
66 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
67 (gv-define-simple-setter): Update doc of `fix-return'.
68
d57c286e
SM
692012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
70
b715ed44
SM
71 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
72 twice when `fix-return' is set (bug#12813).
73
d57c286e
SM
74 * emacs-lisp/cl.el (defsetf): Pass the third arg to
75 gv-define-simple-setter (bug#12812).
76
c9cac599
SM
772012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
80 (bug#12756).
81
6b3770fb
GM
822012-11-06 Glenn Morris <rgm@gnu.org>
83
84 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
85
5593ed90
GM
862012-11-05 Glenn Morris <rgm@gnu.org>
87
88 * emacs-lisp/cl-extra.el (cl-prettyexpand):
89 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
90 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
91 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
92
93 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
94
5c677d44
GM
952012-11-03 Glenn Morris <rgm@gnu.org>
96
49138400
GM
97 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
98 Rename handler properties back from cl-- to cl-. (Bug#12788)
99
5c677d44
GM
100 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
101
1d4341f9
EZ
1022012-11-03 Eli Zaretskii <eliz@gnu.org>
103
104 * term/pc-win.el: Don't load term/internal from here.
105
106 * loadup.el: Load term/internal from here.
107
12fd5ee1
FEG
1082012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
109
110 * progmodes/python.el (inferior-python-mode): Fix hang in
111 jit-lock (Bug#12645).
112
43bcfda6
MR
1132012-11-03 Martin Rudalics <rudalics@gmx.at>
114
115 * window.el (switch-to-visible-buffer)
116 (switch-to-buffer-preserve-window-point): Fix doc-strings.
117
b4b096e4
SB
1182012-11-01 Stephen Berman <stephen.berman@gmx.net>
119
120 * play/gomoku.el (gomoku-display-statistics): Update mode line
121 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
122
218e997a
MR
1232012-10-31 Martin Rudalics <rudalics@gmx.at>
124
125 * window.el (quit-restore-window): If the window has been
126 created on an existing frame and ended up as the sole window on
127 that frame, do not delete it (Bug#12764).
128
b08b6da7
SM
1292012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
130
3618df45
SM
131 * progmodes/sh-script.el (sh--inside-noncommand-expression):
132 Rename from sh--inside-arithmetic-expression, handle more cases
133 (bug#11263).
134
b08b6da7
SM
135 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
136 (sh-font-lock-open-heredoc): Use it (bug#12770).
137
4ddedf94
GM
1382012-10-30 Glenn Morris <rgm@gnu.org>
139
f43a5263
GM
140 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
141
4ddedf94
GM
142 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
143
748b0d84
CY
1442012-10-29 Chong Yidong <cyd@gnu.org>
145
b5dd9a77
CY
146 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
147 function key is stored in a keyboard macro (Bug#4894).
148
748b0d84
CY
149 * thingatpt.el (number-at-point): Apply a thing-at-point property.
150
e07fcbdc
SM
1512012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
152
d7f9cc85
SM
153 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
154 header comments".
155 (diff-unified->context, diff-context->unified)
156 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
157
c606253c
SM
158 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
159
e07fcbdc
SM
160 * files.el (find-alternate-file): Only ask one question (bug#12487).
161
894b9dd9
CY
1622012-10-29 Chong Yidong <cyd@gnu.org>
163
1dc2755a
CY
164 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
165 Suggested by Dan Nicolaescu (Bug#6326).
166
329c48d8
CY
167 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
168
2230fa5b 169 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 170
e84cad57
CY
171 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
172
1913c5f5
CY
173 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
174
894b9dd9
CY
175 * face-remap.el (face-remap-add-relative): Handle the case where a
176 face-remapping-alist entry is a cons cell (Bug#12762).
177
329c48d8
CY
1782012-10-29 Kevin Ryde <user42@zip.com.au>
179
180 * woman.el (woman-parse-numeric-value): Handle picas correctly
181 (Bug#12639).
182
a0ccbcbd
GM
1832012-10-29 Glenn Morris <rgm@gnu.org>
184
185 * emacs-lisp/cl.el (defsetf): Doc fix.
186
b3871e59
SM
1872012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
190 syntax to the matching opener, if any (bug#12547).
191 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
192 matching open as a "case-(".
193 (sh-smie-rc-grammar): Add a corresponding rule for it.
194
cd44022c
DH
1952012-10-28 Daniel Hackney <dan@haxney.org>
196
197 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
198 "PKGNAME-autoloads.el" in case we created it.
199
70edffb1
SM
2002012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
201
86957a0c
SM
202 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
203 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 204 (completion--twq-all): Disable too-strict assertions.
86957a0c 205
70edffb1
SM
206 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
207
d069271c
EZ
2082012-10-27 Eli Zaretskii <eliz@gnu.org>
209
210 * profiler.el (profiler-report-make-entry-part): Fix help-echo
211 text to match the real keybindings.
212
e2f022a3
JL
2132012-10-27 Juri Linkov <juri@jurta.org>
214
215 * wdired.el (wdired-keep-marker-rename): New defcustom.
216 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
217 (Bug#11795)
218
219 * dired.el (dired-keep-marker-rename): Add reference to
220 `wdired-keep-marker-rename' in the docstring.
221 Add default character value ?R to display initially in
222 Customization UI instead of ?@.
223
df171c23
MR
2242012-10-27 Martin Rudalics <rudalics@gmx.at>
225
226 * window.el (display-buffer): In doc-string describe
227 window-height and window-width alist entries.
228
229 * time.el (display-time-world): Restore fit-window-to-buffer
230 behavior.
231
05b621a6
CY
2322012-10-27 Chong Yidong <cyd@gnu.org>
233
234 * subr.el (insert-buffer-substring-as-yank): Doc fix.
235
55f197b2
J
2362012-10-26 Jambunathan K <kjambunathan@gmail.com>
237
238 * minibuffer.el (completion-category-overrides): New completion
239 category `bookmark' (bug#11131).
240
372212df
SM
2412012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
242
150f809c
SM
243 * emacs-lisp/advice.el (ad-assemble-advised-definition):
244 Silence bogus compiler warnings for ad-do-it.
245
372212df
SM
246 * bookmark.el (bookmark-completing-read): Set the completion category
247 to `bookmark' (bug#11131).
248
c5772569
B
2492012-10-26 Bastien <bzg@altern.org>
250 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * face-remap.el: Use lexical-binding.
253 (text-scale-adjust): Improve docstring. Use itself for the temporary
254 overlay-map bindings, so as to repeat the "Use..." message each time.
255
a2be0357
SM
2562012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
257
63314e57
SM
258 * emacs-lisp/macroexp.el (macroexp--expand-all):
259 Obey byte-compile-warning-enabled-p (bug#12486).
260
a2be0357
SM
261 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
262 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
263
8c7727c3
MR
2642012-10-26 Martin Rudalics <rudalics@gmx.at>
265
266 * mouse.el (mouse-drag-line): Move last form into preceding when
267 clause (Bug#12731).
268
269 * help.el (resize-temp-buffer-window): Fix doc-string.
270
3f2a848d
DE
2712012-10-25 David Engster <deng@randomsample.de>
272
273 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 274 Remove. This feature is already integrated in imenu.
3f2a848d
DE
275
276 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
277 always loaded. Require `speedbar' unconditionally.
278
a7723be6
SM
2792012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
280
aaabfc8b
SM
281 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
282
414a8595
SM
283 * minibuffer.el (minibuffer-force-complete): Fix thinko.
284
fb5b9475
SM
285 * net/ldap.el (ldap-search-internal): The official ldif format starts
286 with a "version: 1" header (bug#12724).
287
a7723be6
SM
288 * emacs-lisp/package.el (package-installed-p): Warn if not ready
289 (bug#12721).
290
a05cb6e3
GM
2912012-10-25 Glenn Morris <rgm@gnu.org>
292
293 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
294
3c92de70
SM
2952012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * minibuffer.el (minibuffer-force-complete): Use one more marker
298 for the temporary-overlay-map command (bug#12619).
299
a4b6d7c6
CY
3002012-10-24 Chong Yidong <cyd@gnu.org>
301
302 * time.el (display-time-world-mode): Derive from special-mode.
303 (display-time-world): Use display-buffer (Bug#12708).
304 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
305 (display-time-world-display): Wrap the final delete-char inside
306 inhibit-read-only.
a4b6d7c6 307
75e8f9d2
CY
3082012-10-24 Chong Yidong <cyd@gnu.org>
309
cd996018
CY
310 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
311 Doc fix.
312
75e8f9d2
CY
313 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
314
d92df117
SM
3152012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * minibuffer.el (completion--all-sorted-completions-location): New var.
318 (completion--cache-all-sorted-completions)
319 (completion--flush-all-sorted-completions): Use it.
320 (completion-in-region, completion-in-region--postch)
321 (completion-at-point, completion-help-at-point): Use markers in
322 completion-in-region--data (bug#12619).
323
9c3e39f3
SM
3242012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
325
c79825bd
SM
326 * progmodes/compile.el (compilation-start): Try to handle common
327 quoting of `cd' argument (bug#12640).
328
9c3e39f3
SM
329 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
330 (bug#12671).
331
a6709bc7
GM
3322012-10-23 Glenn Morris <rgm@gnu.org>
333
334 * progmodes/gud.el (gud-menu-map):
335 Check gdb-active-process is bound. (Bug#12358)
336
d1069532
SM
3372012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
338
d20d69c0
SM
339 * repeat.el (repeat): Set real-this-command (bug#12232).
340
d1069532
SM
341 * htmlfontify.el (hfy-post-html-hook):
342 * filesets.el (filesets-cache-fill-content-hook):
343 * arc-mode.el (archive-extract-hook):
344 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
345 * net/rcirc.el (rcirc-sentinel-functions)
346 (rcirc-receive-message-functions, rcirc-activity-functions)
347 (rcirc-print-functions):
348 * net/dbus.el (dbus-event-error-functions):
349 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
350 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
351 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
352 * term/sun.el (sun-raw-prefix-hooks):
353 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
354
f7eac6d8
MA
3552012-10-23 Michael Albinus <michael.albinus@gmx.de>
356
d1069532
SM
357 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
358 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
359 (tramp-smb-wait-for-output): Add timeout to
360 `tramp-accept-process-output' calls.
361
608d9d7c
CY
3622012-10-23 Chong Yidong <cyd@gnu.org>
363
49238e7f
CY
364 * faces.el (font-list-limit): Define as an obsolete variable.
365
366 * startup.el (command-line):
367 * cus-start.el: Don't refer to font-list-limit.
368
608d9d7c
CY
369 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
370
4ff5b1b2
SM
3712012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * subr.el (internal-temp-output-buffer-show): Rename from
374 temp-output-buffer-show, since previously compiled files expect this name.
375
ea1d4aac
GM
3762012-10-23 Glenn Morris <rgm@gnu.org>
377
378 * image.el (image-type-from-file-name): If multiple types match,
379 return the first one that is supported. (Bug#9045)
380
eda82a31
GM
3812012-10-22 Glenn Morris <rgm@gnu.org>
382
383 * image.el (imagemagick-enabled-types): Doc fix.
384
4f020bec
TA
3852012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
386
387 * progmodes/which-func.el (which-func-current): The hash-table may have
388 an explicit nil (bug#12338).
389
c77d37e2
SM
3902012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * electric.el (electric-pair-delete-selection-self-insert-function):
393 Rename to electric-pair-will-use-region, return a boolean.
394 (electric-pair-mode): Adjust accordingly. Don't require delsel.
395
396 * delsel.el (delete-selection-helper): Use a function instead of a hook.
397 (delete-selection-pre-hook): Use use-region-p.
398 (delete-selection-self-insert-function): Remove.
399 (self-insert-command): Obey self-insert-uses-region-functions.
400 (self-insert-iso): Revert to previous setting, since we don't actually
401 know what that command does.
402 (delete-selection-self-insert-hooks): Remove.
403
b1d39ccc
SL
4042012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
405
406 * delsel.el (delete-selection-helper): New function, extracted from
407 delete-selection-pre-hook.
408 (delete-selection-pre-hook): Use it.
409 (delete-selection-self-insert-function): New function.
410 (delete-selection-self-insert-hooks): New hook.
411 (self-insert-command, self-insert-iso): Use it.
412 * electric.el (electric-pair-syntax): New function, extracted from
413 electric-pair-post-self-insert-function.
414 (electric-pair-post-self-insert-function): Use it.
415 (electric-pair-delete-selection-self-insert-function): New function.
416 (electric-pair-mode): Require delsel and setup
417 delete-selection-self-insert-hooks (bug#11520).
418
045ef729
CY
4192012-10-20 Chong Yidong <cyd@gnu.org>
420
4c5d08a8
CY
421 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
422 no changes to show (Bug#12586).
423
045ef729
CY
424 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
425 list explicitly (Bug#12571).
426
3503c798 4272012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 428
b1d39ccc
SL
429 * progmodes/flymake.el (flymake-create-temp-inplace):
430 Use file-truename.
79e1997a 431
2068905b
EZ
4322012-10-20 Eli Zaretskii <eliz@gnu.org>
433
434 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
435
4c9e9550
JB
4362012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
437
438 * calc/calc-units.el (math-extract-units): Properly extract powers
439 of units.
440
1a6e7e38
DC
4412012-10-20 Daniel Colascione <dancol@dancol.org>
442
443 * frame.el (make-frame): Set x-display-name as we used to in order
444 to unbreak creating an X11 frame from an Emacs daemon started
445 without a display.
446
8e808318
SM
4472012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * minibuffer.el (minibuffer-force-complete): Make the next completion use
450 the same completion-field (bug@12221).
451
fb0104da
MR
4522012-10-19 Martin Rudalics <rudalics@gmx.at>
453
454 * emacs-lisp/debug.el (debug): Record height of debugger window
455 also when debugger will be back (Bug#8789).
456
8c27235e
CY
4572012-10-18 Chong Yidong <cyd@gnu.org>
458
459 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
460 Convert to defcustom.
461 (gdb-get-source-file): Don't bind pop-up-windows.
462
463 * progmodes/gud.el (gud-display-line): Don't specially re-use
464 other frames for the gdb-mi case (Bug#12648).
465
90eacf99
SM
4662012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
467
aaf0c300
SM
468 * emacs-lisp/advice.el: Clean up commentary a bit.
469 (ad-do-advised-functions, ad-with-originals): Use `declare'.
470 (byte-code-function-p): Never redefine.
471
90eacf99
SM
472 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
473
281c9d2b
GM
4742012-10-18 Glenn Morris <rgm@gnu.org>
475
40714e3d
GM
476 * dired.el (dired-sort-toggle): Some ls implementations only allow
477 a single option string. (Bug#12666)
478
281c9d2b
GM
479 * minibuffer.el (completion-cycle-threshold): Doc fix.
480
b278604e
KH
4812012-10-17 Kenichi Handa <handa@gnu.org>
482
90eacf99
SM
483 * international/mule.el (set-keyboard-coding-system):
484 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
485 Supply TERMINAL arg to set-input-meta-mode.
486
df171c23 4872012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
488
489 * wdired.el (wdired-old-marks): New variable.
490 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
491 (wdired-do-renames): Move point with renamed file and don't lose
492 mark status (Bug#11795).
493
e5a94ec4
JL
4942012-10-16 Juri Linkov <juri@jurta.org>
495
496 * replace.el (query-replace-help): Mention multi-buffer replacement
497 keys in the Help message. (Bug#12655)
498
d18a0d24
CY
4992012-10-15 Chong Yidong <cyd@gnu.org>
500
501 * emacs-lisp/byte-run.el (defsubst): Doc fix.
502
8111f5e6
EZ
5032012-10-14 Eli Zaretskii <eliz@gnu.org>
504
7b9abf24
EZ
505 * window.el (display-buffer): Doc fix.
506
8111f5e6
EZ
507 * progmodes/compile.el (compilation-error-regexp-alist-alist):
508 Adjust the msft regexp to the output of Studio 2010, and move msft
509 before edg-1. See the discussion on emacs-devel,
510 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
511 for the details.
512
5046ef67
SM
5132012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
514
9760c73c
SM
515 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
516 (oset): Move uses of object-class-fast macro after its definition.
517
5046ef67
SM
518 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
519
0d11ff1c
CY
5202012-10-13 Chong Yidong <cyd@gnu.org>
521
522 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
523 enabled, re-enable it (Bug#11963).
524
88ded8ac
MR
5252012-10-13 Martin Rudalics <rudalics@gmx.at>
526
527 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
528 non-nil, restore window configuration (Bug#12623).
529
bd0ffffd
SM
5302012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
531
06485aa8
SM
532 * help-fns.el (describe-variable, describe-function-1):
533 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
534
bd0ffffd
SM
535 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
536
3a989246
GM
5372012-10-12 Glenn Morris <rgm@gnu.org>
538
539 * mail/rmailsum.el (rmail-header-summary):
540 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
541
55cd00c8
FEG
5422012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
543
bd0ffffd
SM
544 * progmodes/python.el (python-mode-map):
545 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
546 (python-nav--up-list): Fix behavior for blocks on the same level.
547
ac9fc2c7
SM
5482012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
549
d8cc4c00 550 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 551
5253a5fd
SM
552 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
553 changes to the format of load-history.
554
ac9fc2c7
SM
555 * international/mule-cmds.el (read-char-by-name): Move let-binding of
556 completion-ignore-case in case that var is buffer-local (bug#12615).
557
cde44a77
KH
5582012-10-11 Kenichi Handa <handa@gnu.org>
559
560 * international/eucjp-ms.el: Re-generated.
561
4ef4a10d
KH
5622012-10-10 Kenichi Handa <handa@gnu.org>
563
564 * select.el (xselect--encode-string): If a coding is specified for
565 selection, and that is compatible with COMPOUND_TEXT, use it.
566
9d7f027b
MR
5672012-10-10 Martin Rudalics <rudalics@gmx.at>
568
569 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
570 (switch-to-buffer):
571 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 572
238f3a58
SM
5732012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
576 Don't document nil as a useful value (bug#12583).
577
1d51f99c
MA
5782012-10-09 Michael Albinus <michael.albinus@gmx.de>
579
238f3a58
SM
580 * net/tramp.el (tramp-debug-message):
581 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
582 (with-tramp-progress-reporter): Rename from
583 `tramp-with-progress-reporter'.
238f3a58
SM
584 (with-tramp-file-property, with-tramp-connection-property):
585 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
586 `with-connection-property', respectively.
587
588 * net/tramp-cache.el: Remove `with-file-property' and
589 `with-connection-property'.
590
591 * net/tramp.el:
592 * net/tramp-gvfs.el:
593 * net/tramp-sh.el:
594 * net/tramp-smb.el: Adapt callees.
595
596 * net/trampver.el: Update release number.
597
26b77251
GM
5982012-10-09 Glenn Morris <rgm@gnu.org>
599
9a5f296f
GM
600 * w32-fns.el (set-message-beep):
601 * term/w32-win.el (set-message-beep): Update declarations.
602
94c66ce5
SM
6032012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
604
10766e9e
SM
605 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
606 (mode-line-widen, mode-line-input-method-map)
607 (mode-line-coding-system-map, mode-line-remote)
608 (mode-line-unbury-buffer, mode-line-bury-buffer)
609 (mode-line-next-buffer, mode-line-previous-buffer):
610 Replace save-selected-window+select-window => with-selected-window.
611
f754db08
SM
612 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
613 * progmodes/cc-vars.el (bq-process): Remove, unused.
614
94c66ce5
SM
615 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
616
a4ff7fe1
FEG
6172012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
618
619 Implemented `backward-up-list'-like navigation.
620 * progmodes/python.el (python-nav-up-list)
621 (python-nav-backward-up-list): New functions.
622 (python-mode-map): Define substitute key for backward-up-list to
623 python-nav-backward-up-list.
624
24517d82
FEG
6252012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
626
627 * progmodes/python.el (python-fill-paragraph): Rename from
628 python-fill-paragraph-function. Fixed fill-paragraph for
629 decorators (Bug#12605).
630
51867ae2
FEG
6312012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
632
633 * progmodes/python.el (python-shell-output-filter): Handle extra
634 carriage return in OSX (Bug#12409).
635
a5b773c4
FEG
6362012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
637
638 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 639 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
640 (python-syntax-propertize-function): Use it.
641 (python-shell-output-syntax-table): New var.
642 (inferior-python-mode): Prevent unbalanced parens/quotes from
643 previous output mess with current input context.
644
13373538
JB
6452012-10-08 Juanma Barranquero <lekktu@gmail.com>
646
647 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
648 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
649
775a132d
MA
6502012-10-08 Michael Albinus <michael.albinus@gmx.de>
651
652 * ffap.el (ffap-replace-file-component): Support Tramp file name
653 syntax, not only ange-ftp's one.
654
3ab44929
GM
6552012-10-08 Glenn Morris <rgm@gnu.org>
656
57f1dee4
GM
657 * cus-start.el (message-log-max): Set :version.
658
3ab44929
GM
659 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
660
6a088630
MR
6612012-10-08 Martin Rudalics <rudalics@gmx.at>
662
663 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
664 the minibuffer window (Bug#10851).
665
8dbce54c
FEG
6662012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
667
668 Enhancements on forward-sexp movement.
669 * progmodes/python.el (python-nav-beginning-of-statement)
670 (python-nav-end-of-statement): Return point-marker.
671 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
672 (python-info-current-symbol)
673 (python-info-statement-starts-block-p): Rename from
674 python-info-beginning-of-block-p.
675 (python-info-statement-ends-block-p): Rename from
676 python-info-end-of-block-p.
677 (python-info-beginning-of-statement-p)
678 (python-info-end-of-statement-p)
679 (python-info-beginning-of-block-p, python-info-end-of-block-p):
680 New functions.
681
5acd2b3e
SM
6822012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
685 frame-selected-windows.
686
e08348a0
DC
6872012-10-08 Daniel Colascione <dancol@dancol.org>
688
689 * battery.el (battery-status-function): Check for
690 w32-battery-status itself, not system-time windows-nt.
691
692 * frame.el: Require cl-lib.
693 (display-format-alist): New variable mapping frame types to
694 functions that initialize them.
695 (window-system-for-display): New function: interprets
696 display-format-alist.
697 (make-frame-on-display): Remove existing display-selection logic
698 and just forward to make-frame, which will now DTRT.
699 (make-frame): Restructure to use window-system-for-display to
700 figure out how to create a frame on a given display.
701 (display-mouse-p): Look for frame-type w32, not a particular
702 system-type.
703
704 * loadup.el: Load w32 lisp code when we have the w32 feature.
705
706 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
707 system-type windows-nt.
708
709 * server.el (server-create-window-system-frame): Look for window
710 type.
711 (server-proces-filter): Only force a window system when windows-nt
712 _and_ w32. Explain why.
713
714 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
715 of window systems we configure for the mode.
716
717 * startup.el (command-line): Mark window system is initialized
718 after we've done it.
719
720 * common-win.el (x-select-text): Look for w32, not windows-nt.
721
722 * ns-win.el: Require cl-lib. Add ourselves to
723 display-format-alist.
724 (ns-initialize-window-system): Assert we're not initialized twice.
725
726 * w32-win.el: Enable lexical binding; require cl-lib; add
727 ourselves to display-format-alist.
728 (w32-handle-dropped-file): Convert incoming dropped files from
729 Windows paths to Cygwin ones before passing them on to the rest of
730 Emacs.
731 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
732 (w32-initialize-window-system): Assert we're not initialized twice.
733
734 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
735 (x-initialize-window-system): Assert we're not initialized twice.
736
737 * w32-common-fns.el: New File.
738 (w32-version, w32-using-nt, w32-get-clipboard-data)
739 (w32-set-clipboard-data, x-set-selection, x-get-selection)
740 (w32-charset-info-alist, x-last-selected, text)
741 (x-get-selection-value, x-selection-value): Move here.
742
743 * w32-fns.el: Require w32-common-fns.
744 (w32-version, w32-using-nt, w32-get-clipboard-data)
745 (w32-set-clipboard-data, x-set-selection, x-get-selection)
746 (w32-charset-info-alist, x-last-selected, text)
747 (x-get-selection-value, x-selection-value): Move to
748 w32-common-fns.
749
750 * w32-vars.el:
751 (w32-allow-system-shell, w32-system-shells): Define only in
752 non-cygwin case.
753
795b1482
SM
7542012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
757 (read-passwd): Remove a few more potential sources of leaks.
758
f27c99dc
FEG
7592012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
760
761 * progmodes/python.el (inferior-python-mode)
795b1482 762 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
763 variables copied from parent buffer.
764
fcacb558
JD
7652012-10-07 Jan Djärv <jan.h.d@swipnet.se>
766
767 * term/ns-win.el (ns-read-file-name): Update declaration to match
768 nsfns.m.
769 (ns-respond-to-change-font): Change fontsize separatly so we are sure
770 it is set when font is acted upon.
771
be0d5bae
FEG
7722012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
773
774 Enhancements to indentation.
775 * progmodes/python.el (python-indent-context): Give priority to
776 inside-string context. Make comments indentation markers.
777 (python-indent-region): Do not mess with strings, unless it's the
778 enclosing set of quotes.
779
13af0d10
SM
7802012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
781
662a9d0e
SM
782 * window.el (internal--before-save-selected-window)
783 (internal--after-save-selected-window): New functions extracted from
784 save-selected-window. Make sure we return the `alist' we construct.
785 (save-selected-window): Use them.
786
787 * textmodes/tex-mode.el (tex-recenter-output-buffer):
788 Use with-selected-window.
789
13af0d10
SM
790 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
791 forms that define macros (bug#12593).
792
6aa75fb6
KH
7932012-10-07 Kenichi Handa <handa@gnu.org>
794
13af0d10
SM
795 * international/mule-conf.el (compound-text-with-extensions):
796 Add :mime-charset property as x-ctext.
6aa75fb6 797
78d876b9
SM
7982012-10-07 Stefan Merten <smerten@oekonux.de>
799
800 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
801 (rst-indent-literal-normal, rst-indent-literal-minimized)
802 (rst-indent-comment): Correct :version tag.
557337e9 803 (rst-official-cvs-rev): Correct version string.
78d876b9 804
99a1e701
GM
8052012-10-07 Glenn Morris <rgm@gnu.org>
806
807 * mail/rmailmm.el (rmail-mime-process-multipart):
808 Do not confuse a multipart message with an epilogue
809 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
810
08f18c3d
FEG
8112012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
812
813 Fix shell output retrieval and comint-prompt-regexp init.
814 * progmodes/python.el (inferior-python-mode):
815 (python-shell-make-comint): Fix initialization of
816 comint-prompt-regexp from copied file local variables.
817 (python-shell-fetched-lines): Remove var.
818 (python-shell-output-filter-in-progress): Rename from
819 python-shell-fetch-lines-in-progress.
820 (python-shell-output-filter-buffer): Rename from
821 python-shell-fetch-lines-string.
822 (python-shell-fetch-lines-filter): Delete function.
823 (python-shell-output-filter): New function.
824 (python-shell-send-string-no-output): Use them.
825
82ed3ab4
GM
8262012-10-07 Glenn Morris <rgm@gnu.org>
827
1595ecfa
GM
828 * hi-lock.el (hi-lock-process-phrase):
829 Try to make it less fragile. (Bug#7161)
830
82ed3ab4
GM
831 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
832
f1f4dba0
GM
8332012-10-06 Glenn Morris <rgm@gnu.org>
834
addc11ed 835 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
836 non-existent mode `help'.
837 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 838
460042b8
GM
839 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
840 (reftex-create-bibtex-footer): Fix custom types.
841
67667c70
GM
842 * progmodes/sh-script.el (sh-indent-after-continuation):
843 Add explicit :group.
844
18dec750
GM
845 * textmodes/rst.el (rst-preferred-decorations)
846 (rst-shift-basic-offset): Clarify obsolescence versions.
847
d1a1c7e6
GM
848 * profiler.el (profiler): Add missing group :version tag.
849 * avoid.el (mouse-avoidance-banish-position):
850 * proced.el (proced-renice-command):
851 * calc/calc.el (calc-ensure-consistent-units):
852 * calendar/icalendar.el (icalendar-import-format-uid):
853 * net/tramp.el (tramp-save-ad-hoc-proxies):
854 * progmodes/bug-reference.el (bug-reference-bug-regexp):
855 * progmodes/flymake.el (flymake-error-bitmap)
856 (flymake-warning-bitmap, flymake-fringe-indicator-position):
857 * progmodes/sh-script.el (sh-indent-after-continuation):
858 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
859 (verilog-before-save-font-hook, verilog-after-save-font-hook):
860 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
861 (vhdl-array-index-record-field-in-sensitivity-list)
862 (vhdl-indent-comment-like-next-code-line):
863 * textmodes/reftex-vars.el (reftex-ref-style-alist)
864 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
865 (reftex-cite-key-separator, reftex-create-bibtex-header)
866 (reftex-create-bibtex-footer):
867 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
868 (rst-indent-literal-normal, rst-indent-literal-minimized)
869 (rst-indent-comment): Add missing custom :version tags.
870
ef35abb4
GM
871 * calendar/timeclock.el (timeclock-modeline-display):
872 Add missing obsolete alias for renamed user option.
873
d1aae614
GM
874 * strokes.el (strokes-modeline-string):
875 * emulation/crisp.el (crisp-mode-modeline-string):
876 * eshell/esh-mode.el (eshell-status-in-modeline):
877 Aliases to defcustoms must come before the defcustom.
878
f1f4dba0
GM
879 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
880 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
881 (cal-tex-cursor-week-monday): Doc fixes.
882 (cal-tex-cursor-week2-summary): Doc fix.
883 Rename from cal-tex-cursor-week-at-a-glance.
884
885 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
886 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
887
888 * calendar/calendar.el (calendar-mode-map):
889 Add cal-tex-cursor-week2-summary.
890
d39109c3
SM
8912012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
892
685f87b0
SM
893 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
894
d39109c3
SM
895 * subr.el (read-passwd-map): New var.
896 (read-passwd): Use `read-string' again.
897 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
898
5694896d
J
8992012-10-06 Jambunathan K <kjambunathan@gmail.com>
900
901 * register.el (append-to-register, prepend-to-register):
902 Deactivate mark, as does `copy-to-register' (bug#12389).
903
9414dd8d
CY
9042012-10-06 Chong Yidong <cyd@gnu.org>
905
906 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
907
2b89bca4
KH
9082012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
909
910 * international/characters.el: Fix simple mistake ((car chars) ->
911 elt), delete duplicated code.
912
d5acb99a
GM
9132012-10-06 Glenn Morris <rgm@gnu.org>
914
915 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
916
123ec157
JS
9172012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
918
919 * color.el (color-hsl-to-rgb): Fix incorrect results for
920 small and large hue values. (Bug#12559)
921
7fa36ccb
FEG
9222012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
923
924 Enhancements to docstring formatting when filling paragraphs.
925 * progmodes/python.el (python-fill-docstring-style): Rename from
926 python-fill-string-style. Added new style.
927 (python-fill-string): Use new style. Better checks for
928 docstrings.
929
d8788e1e
GM
9302012-10-05 Glenn Morris <rgm@gnu.org>
931
204f3953
GM
932 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
933
d8788e1e
GM
934 * color.el (color-name-to-rgb, color-rgb-to-hex)
935 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
936 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
937 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
938 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
939
8d956cef
GM
940 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
941
e8757f09 9422012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
943
944 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
945 to get the correct size across symlinks.
946
e8757f09
GM
947 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
948
0e2ae83d
JL
9492012-10-04 Juri Linkov <juri@jurta.org>
950
951 * replace.el (query-replace-interactive): Declare obsolete.
952 (query-replace-read-from): Add the last incremental search string
953 to the list of default values accessible via M-n.
954 (map-query-replace-regexp): Use `read-regexp'.
955 (query-replace, query-replace-regexp, query-replace-regexp-eval)
956 (map-query-replace-regexp, replace-string, replace-regexp):
957 Fix docstrings to replace mentions of `query-replace-interactive'
958 with alternatives. (Bug#12526)
959
93cacb6d
JL
9602012-10-04 Juri Linkov <juri@jurta.org>
961
962 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
963 (dired-pop-to-buffer): Declare obsolete.
964 (dired-mark-pop-up): Doc fix.
965
fc345011
FEG
9662012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
967
968 Allow user to set docstring style for fill-paragraph.
969 * progmodes/python.el
970 (python-fill-comment-function, python-fill-string-function)
971 (python-fill-decorator-function, python-fill-paren-function):
972 Remove :safe for defcustoms.
973 (python-fill-string-style): New defcustom
5694896d 974 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
975 (python-fill-string): Honor python-fill-string-style settings.
976
6bab5d8b
MR
9772012-10-04 Martin Rudalics <rudalics@gmx.at>
978
979 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
980 after setting its buffer (Bug#10805).
981
a1a9f411
FEG
9822012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
983
984 Fix cornercase for string syntax.
985 * progmodes/python.el (python-syntax-propertize-function):
986 Simplify and enhance the regexp for unescaped quotes. Now it also
987 matches quotes in weird situations like the single quote in
988 "something\"'".
989 (python-syntax-stringify): Simplify num-quotes detecting code.
990
05e153a6
GM
9912012-10-03 Glenn Morris <rgm@gnu.org>
992
993 * help-macro.el (three-step-help):
994 Revert 2012-09-29 change. (Bug#12567)
995
2e566ecb
MR
9962012-10-03 Martin Rudalics <rudalics@gmx.at>
997
96ef9ccd
MR
998 * menu-bar.el (kill-this-buffer): Don't do anything when
999 `menu-frame' is not alive or visible (Bug#8184).
1000
2e566ecb
MR
1001 * emacs-lisp/debug.el (debug): When quitting the debugger window
1002 restore current buffer (Bug#12502).
1003
a96e1cb7
CY
10042012-10-02 Chong Yidong <cyd@gnu.org>
1005
5694896d
J
1006 * progmodes/hideif.el (hif-lookup, hif-defined):
1007 Handle semantic-c-takeover-hideif.
a96e1cb7 1008
b3ecad33
PE
10092012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1010
1011 Change sampling interval units from ms to ns.
1012 * profiler.el (profiler-sampling-interval): Change units
1013 from ms to ns, multiplying the default by 1000000 so that
1014 it remains 1 ms.
1015 (profiler-report-cpu-line-format): Give enough room for
1016 the maximum counters on 64-bit hosts.
1017 (profiler-report-render-calltree-1): Call them "CPU samples",
1018 not "Time (ms)", since they are not milliseconds now (and
1019 never really were).
1020
8cb51b66 10212012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1022
5694896d
J
1023 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1024 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1025
fd795bf4
CY
10262012-10-02 Chong Yidong <cyd@gnu.org>
1027
1028 * emacs-lisp/eieio.el: Restore Version header.
1029
fe0a74f9
SM
10302012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1031
6be9197e
SM
1032 * vc/diff-mode.el (diff--auto-refine-data): New var.
1033 (diff-hunk): Use it to delay refinement.
1034 (diff-mode): Remove overlays when we turn off font-lock.
1035
18486139
SM
1036 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1037 (table-initialize-table-fixed-width-mode)
1038 (table-set-table-fixed-width-mode): Remove functions.
1039 (table-command-list): Move initialization into declaration.
1040 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1041 (table-with-cache-buffer): Use `declare'.
1042 (table-span-cell): Simplify via CSE.
1043 (table-fixed-width-mode): Use define-minor-mode.
1044 (table-call-interactively, table-funcall, table-apply): Remove.
1045 (table-function): New function, to replace them.
1046
d83ef976
SM
1047 * bookmark.el (bookmark-search-pattern): Remove var.
1048 (bookmark-read-search-input): Remove function.
1049 (bookmark-bmenu-search): Reimplement using a minibuffer.
1050
cd386662
SM
1051 * faces.el (modeline): Remove obsolete face name.
1052
fe0a74f9
SM
1053 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1054 and give a non-nil default value.
1055 (add-change-log-entry): Simplify accordingly.
1056
9f7b98f8
DG
10572012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1058
1059 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1060 (vc-git-log-edit-toggle-amend): New function.
1061 (vc-git-log-edit-toggle-signoff): New function.
1062 (vc-git-log-edit-mode): New major mode.
1063 (vc-git-log-edit-mode-map): Keymap for it.
1064 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1065
1066 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1067 header names.
1068 (log-edit-toggle-header): New function.
1069 (log-edit-extract-headers): Accept function values in HEADERS alist.
1070
62a81506
CY
10712012-10-01 David Engster <deng@randomsample.de>
1072
1073 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1074 from symbol property and change message to be more consistent with
1075 Emacs proper.
1076 (eieio-describe-generic): Add filename for each implementation.
1077 Fix indices for generic and normal methods.
1078 (eieio-method-def, eieio-class-def): New buttons.
1079 (eieio-help-find-method-definition)
1080 (eieio-help-find-class-definition): New functions.
1081 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1082 class, constructor and method definitions.
1083
1084 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1085 information in symbol property.
1086 (scoped-class): Remove.
1087 (eieio-slot-name-index, call-next-method): Check if it is bound.
1088
10892012-10-01 Leo P. White <lpw25@cam.ac.uk>
1090
1091 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1092 (eieio-custom-mode): New major mode.
1093 (eieio-customize-object): Use it.
1094
10952012-10-01 Eric Ludlam <zappo@gnu.org>
1096
1097 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1098 specifying the expected class, and whether subclassing is allowed.
1099 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1100 (eieio-persistent-validate/fix-slot-value)
1101 (eieio-persistent-slot-type-is-class-p): New functions.
1102 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1103
1104 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1105 Stop using unused publd variable.
1106
1107 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1108 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1109 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1110 (eieio-speedbar-handle-click): Do not specify a class for the
1111 method. Fixes method invocation order problems with EDE.
1112
375e49d4
SM
11132012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1116 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1117
16ce6ccd
KF
11182012-10-01 Karl Fogel <kfogel@red-bean.com>
1119
1120 * bookmark.el (bookmark-version-control): Give tags in the
1121 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1122 (bookmark-write-file): Bind `print-circle' to `t' to allow
1123 circular custom bookmark types. (Bug#12503)
16ce6ccd 1124
19e54a4d
PE
11252012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1126
86ec63ba
PE
1127 Revert the FOLLOW-SYMLINKS change for file-attributes.
1128 * files.el (remote-file-name-inhibit-cache, after-find-file):
1129 * time.el (display-time-file-nonempty-p): Undo last change.
1130
19e54a4d
PE
1131 * profiler.el (profiler-sampling-interval): Change default back to 1.
1132 See Stefan Monnier in
1133 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1134
0478776b
FEG
11352012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1136
1137 Shell output catching a la gud-gdb.
1138 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1139 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1140 New Vars.
0478776b
FEG
1141 (python-shell-fetch-lines-filter): New function.
1142 (python-shell-send-string-no-output): Use them.
1143
c22bac2c
TM
11442012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1145
1146 * profiler.el (profiler-sampling-interval): Rename from
1147 profiler-sample-interval.
1148 (profiler-sampling-interval): Default to 10.
1149 (profiler-find-profile): New command (was profiler-find-log).
1150 (profiler-find-profile-other-window): New command.
1151 (profiler-find-profile-other-frame): New command.
1152 (profiler-profile): Introduce API-level data structure.
1153
e7a2937b
PE
11542012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1155
1156 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1157 * files.el (remote-file-name-inhibit-cache):
1158 * time.el (display-time-file-nonempty-p): Use it.
1159 * files.el (after-find-file): Don't chase links before calling
1160 file-exists-p, as file-exists-p already does the right thing.
1161
4f595e15
RA
11622012-09-30 Ralf Angeli <angeli@caeruleus.net>
1163
1164 Merge from standalone RefTeX repository.
1165
1166 The following ChangeLog entries are shortened versions of the
1167 original ones with file paths adapted. A not so strongly edited
1168 version of the original ChangeLog can be found in the commit log.
1169
1170 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1171 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1172 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1173
1174 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1175 that entries with whitespace at various places are found.
1176 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1177 Include @String definitions in the resulting bib file. Add header
1178 and footer defined in `reftex-create-bibtex-header' and
1179 `reftex-create-bibtex-footer'.
1180 (reftex-do-citation): Make it possible again to insert
1181 non-existent entries. Save match data when asking for optional
1182 arguments. Return all keys, not just the first one.
1183 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1184 all citations in the same line.
1185 (reftex-parse-bibtex-entry): Accept additional optional argument
1186 `raw' and keep quotes or braces if it is non-nil. Match fields
1187 containing hyphens besides word constituents.
1188 (reftex-get-string-refs): New function.
1189 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1190 and ask if it should be reread in case it did.
1191 (reftex-pop-to-bibtex-entry)
1192 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1193 entries with spaces or tabs in front of arguments.
1194 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1195 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1196 Match entries containing numbers and symbol constituents.
1197 (reftex-do-citation, reftex-figure-out-cite-format):
1198 Use `reftex-cite-key-separator'.
4f595e15
RA
1199
1200 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1201 (reftex-mouse-view-crossref): Explain why point is set.
1202
1203 * textmodes/reftex-global.el: Whitespace changes.
1204
1205 * textmodes/reftex-index.el: Move provide statement to end of
1206 file.
1207 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1208 (reftex-index-visit-phrases-buffer): Set marker when visiting
1209 buffer. This allows for returning from the phrases file to the
1210 file one was just editing instead of the file where the last
1211 phrases was added from.
1212 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1213 punctuation syntax as it usually is not used as string quote in
1214 TeX-related modes and may occur unmatched. The change also
1215 prevents fontification of quoted content.
1216 (reftex-index-phrases-mode): Use it.
1217
375e49d4
SM
1218 * textmodes/reftex-parse.el (reftex-parse-from-file):
1219 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1220 (reftex-parse-from-file): Use beginning of match instead of end as
1221 bound.
1222
1223 * textmodes/reftex-ref.el: Adapt creation of
1224 `reftex-<package>-<macro>' functions to new structure of
1225 `reftex-ref-style-alist'.
375e49d4
SM
1226 (reftex-reference): Use `reftex-ref-style-list' function.
1227 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1228 reference macro if `reftex-ref-macro-prompt' is non-nil.
1229 (reftex-reference): Pass refstyle to `reftex-format-special'.
1230 Determine reference macro by looking at
375e49d4
SM
1231 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1232 Use only one special format function.
4f595e15
RA
1233 (reftex-varioref-vref, reftex-fancyref-fref)
1234 (reftex-fancyref-Fref): Remove definitions. The functions are now
1235 generated from `reftex-ref-style-alist'.
1236 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1237 Remove.
1238 (reftex-format-special): New function.
1239
1240 * textmodes/reftex-sel.el
1241 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1242 of `reftex-ref-style-alist'. Remove code for testing macro type.
1243 (reftex-select-toggle-varioref)
1244 (reftex-select-toggle-fancyref): Remove.
1245 (reftex-select-cycle-ref-style-internal)
1246 (reftex-select-cycle-ref-style-forward)
1247 (reftex-select-cycle-ref-style-backward): New functions.
1248 (reftex-select-label-map): Use `v' and `V' for general cycling
1249 through reference styles. Add `p' for switching between number
1250 and page reference types.
1251
375e49d4
SM
1252 * textmodes/reftex-toc.el (reftex-re-enlarge):
1253 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1254 the horizontal version throws an error even if the parameter is 0.
1255
1256 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1257 (reftex-plug-into-AUCTeX): Doc fix.
1258 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1259 string. Adapt to new name.
1260 (reftex-ref-style-alist): Change structure so that it is not
1261 possible to use multiple different package names within a style.
375e49d4
SM
1262 Remove the symbols for symbols for macro type distinction.
1263 Add characters for macro selection.
4f595e15
RA
1264 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1265 (reftex-create-bibtex-footer): New variables.
1266 (reftex-format-ref-function): Mention third argument of special
1267 format function.
375e49d4
SM
1268 (reftex-ref-style-alist, reftex-ref-style-default-list):
1269 New variables.
4f595e15
RA
1270 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1271 to new implementation. Mark as obsolete. Add compatibility code
1272 for honoring the variable values in case they are set.
375e49d4
SM
1273 (reftex-cite-format-builtin, reftex-bibliography-commands):
1274 Add support for ConTeXt.
1275 (reftex-format-ref-function, reftex-format-cite-function):
1276 Fix custom type.
4f595e15
RA
1277 (reftex-cite-key-separator): New variable.
1278
1279 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1280 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1281 `reftex-syntax-table' because parens have to retain their paren
1282 syntax in order for parsing of BibTeX entries like @book(...) to
1283 work.
1284 (reftex-in-comment): Do not error out if `comment-start-skip' is
1285 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1286 (reftex-tie-multifile-symbols): Add doc string.
1287 Initialize `reftex-ref-style-list'.
4f595e15
RA
1288 (reftex-untie-multifile-symbols): Add doc string.
1289 (reftex-add-index-macros): Doc fix.
1290 (reftex-ref-style-activate, reftex-ref-style-toggle)
1291 (reftex-ref-style-list): New functions.
1292 (reftex-mode-menu): Use them. Adapt to new structure of
1293 `reftex-ref-style-alist'.
1294 (reftex-select-with-char): Kill the RefTeX Select buffer when
1295 done.
1296 (reftex-remove-if): New function.
1297 (reftex-erase-all-selection-and-index-buffers)
1298 (reftex-mode-menu): Reference styles are now computed from
1299 `reftex-ref-style-alist'. Fix typo.
1300 (reftex-report-bug): New function.
1301 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1302 algorithms with O(n log n). Introduce optional argument SORT (not
1303 yet used).
1304
440ba395
FEG
13052012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1306
1307 Enhancements for triple-quote string syntax.
375e49d4
SM
1308 * progmodes/python.el (python-syntax-propertize-function):
1309 Match both quote cases in one regexp.
440ba395
FEG
1310 (python-syntax-stringify): Handle matches properly.
1311
4c478e6b
JL
13122012-09-30 Juri Linkov <juri@jurta.org>
1313
1314 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1315 to nil around the call to `insert' to prevent
4c478e6b
JL
1316 directory time modification by lock_file. (Bug#2295)
1317 * tar-mode.el (tar-summarize-buffer): Idem.
1318
d80d54b2
JL
13192012-09-30 Juri Linkov <juri@jurta.org>
1320
1321 * facemenu.el (list-colors-sort): Add option "Luminance".
1322 (list-colors-sort-key): Implement it.
1323
1324 * vc/diff-mode.el (diff-refine-removed):
1325 * vc/ediff-init.el (ediff-fine-diff-A):
1326 * vc/smerge-mode.el (smerge-refined-removed):
1327 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1328
d7e642cc
JD
13292012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1330
1331 * term/ns-win.el (x-file-dialog): New function.
1332
ee41332b
JB
13332012-09-30 Juanma Barranquero <lekktu@gmail.com>
1334
1335 * ido.el (ido-max-directory-size): Default to nil; the current
1336 default is small for POSIX systems, and impractical on Windows 7
1337 now that lstat returns directory sizes for NTFS.
1338
5938d519
MR
13392012-09-30 Martin Rudalics <rudalics@gmx.at>
1340
1341 In buffer display functions handle window-height/window-width
1342 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1343 * window.el (window--display-buffer): New argument ALIST.
1344 Obey window-height and window-width alist entries.
1345 (window--try-to-split-window): New argument ALIST.
1346 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1347 changed and window-combination-limit equals `window-size'.
1348 (display-buffer-in-atom-window)
1349 (display-buffer-in-major-side-window)
1350 (display-buffer-in-side-window, display-buffer-same-window)
1351 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1352 (display-buffer-pop-up-window, display-buffer-below-selected)
1353 (display-buffer-at-bottom, display-buffer-in-previous-window)
1354 (display-buffer-use-some-window): Adjust all callers of
1355 window--display-buffer and window--try-to-split-window.
1356 (fit-frame-to-buffer): New option.
1357 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1358 is non-nil.
1359 (display-buffer-in-major-side-window): Evaluate window-height /
1360 window-width alist entries.
1361
1362 * help.el (temp-buffer-resize-frames)
1363 (temp-buffer-resize-regexps): Remove options.
1364 (temp-buffer-resize-mode): Adjust doc-string.
1365 (resize-temp-buffer-window): Don't consult
1366 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1367 temp-buffer-resize-frames.
1368
375e49d4
SM
1369 * dired.el (dired-mark-pop-up):
1370 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1371 entry.
1372
c4c0c2df
CY
13732012-09-30 Chong Yidong <cyd@gnu.org>
1374
48de8b12
CY
1375 * server.el (server-host): Document the security implications.
1376 (server-auth-key): Doc fix.
1377
1378 * startup.el (initial-buffer-choice): Doc fix.
1379
1380 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1381
a97dc380
CY
1382 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1383 restriction change.
1384
d39d3c8e
CY
1385 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1386
c4c0c2df
CY
1387 * help-fns.el (help-fns--obsolete): Fix last change.
1388
98a5e33b
SM
13892012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1390
34cf6f39
SM
1391 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1392 (minor-mode-map-alist): Remove redundant code.
1393
e01c13fe
SM
1394 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1395 visited in a buffer.
1396 (cvs-insert-visited-file): New function.
1397 (find-file-hook): Use it.
1398
1399 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1400
02661b3a
SM
1401 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1402 chose face.
1403 (log-edit-empty-buffer-p): Don't require a space after a header.
1404
43711d4b
SM
1405 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1406
38a30d64
SM
1407 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1408
4ffb41a9
SM
1409 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1410 a proper minor-mode.
1411
98a5e33b
SM
1412 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1413
de82e29b
GM
14142012-09-29 Glenn Morris <rgm@gnu.org>
1415
5cc2e639
GM
1416 * winner.el (winner-mode): Remove variable (let define-minor-mode
1417 handle it).
1418 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1419 Doc fixes.
1420 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1421 (winner-mode): Use define-minor-mode.
1422
7bd302eb
GM
1423 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1424 the full definition in loaddefs, rather than duplicating it.
1425
2923922f 1426 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1427
0e3e4156
GM
1428 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1429 (inferior-lisp-program, inferior-lisp-load-command)
1430 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1431 No need to autoload defcustoms.
0e3e4156 1432
de82e29b
GM
1433 * hippie-exp.el (hippie-expand-try-functions-list)
1434 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1435 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1436 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1437 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1438 * progmodes/vhdl-mode.el (vhdl-line-expand):
1439 Explicitly load hippie-exp, so it does not get autoloaded
1440 while hippie-expand-try-functions-list is let-bound.
1441
e60b51ab
GM
14422012-09-28 Glenn Morris <rgm@gnu.org>
1443
277f0cfa
GM
1444 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1445
e60b51ab
GM
1446 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1447 Only "cl.el" counts as cl these days.
1448
53baf48a
JL
14492012-09-28 Juri Linkov <juri@jurta.org>
1450
1451 Display archive errors in the echo area instead of inserting
1452 to the file buffer.
1453
1454 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1455 to STDERR-TEST that can be a regexp matching a successful output.
1456 Create a temporary file and redirect stderr to it. Search for
1457 STDERR-TEST in the stderr output and display it in the echo area
1458 if no match is found.
1459 (archive-extract-by-file): New function like
1460 `archive-extract-by-stdout' but extracting archives to files
1461 and looking for successful matches in stdout. Function body is
1462 mostly copied from `archive-rar-extract'.
1463 (archive-rar-extract): Use `archive-extract-by-file'.
1464 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1465
9c1228c3
LL
14662012-09-28 Leo Liu <sdl.web@gmail.com>
1467
375e49d4
SM
1468 * pcomplete.el (pcomplete-show-completions):
1469 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1470
9c1228c3
LL
1471 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1472
7f457c06
SM
14732012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1474
3df749b0
SM
1475 * type-break.el: Use lexical-binding.
1476 (type-break-mode): Use define-minor-mode.
1477
7f457c06
SM
1478 * emacs-lisp/pcase.el (pcase--mark-used): New.
1479 (pcase--u1): Use it (bug#12512).
1480
1481 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1482 in load-history with the right file name.
1483
c00ebc98
TH
14842012-09-28 Tassilo Horn <tsdh@gnu.org>
1485
1486 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1487 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1488 (doc-view-get-bounding-box): Make bounding box slicing work for
1489 ODF and DVI documents.
1490
96fb7170
GM
14912012-09-28 Glenn Morris <rgm@gnu.org>
1492
1493 * type-break.el (type-break-mode, type-break-interval)
1494 (type-break-good-rest-interval, type-break-keystroke-threshold):
1495 No need to autoload.
1496 (type-break-good-rest-interval, type-break-keystroke-threshold):
1497 Add :set-after.
1498
5bc93c67
CY
14992012-09-28 Chong Yidong <cyd@gnu.org>
1500
1501 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1502 Add :version tag.
1503
9cad61d6
SM
15042012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1505
e28e67b3 1506 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1507
daee954c
GM
15082012-09-27 Glenn Morris <rgm@gnu.org>
1509
a88324d4
GM
1510 * faces.el (x-display-name): Declare (for without-x builds).
1511
8e5064e5
GM
1512 * linum.el (linum-format): Don't autoload it. Improve :type.
1513
cc1783c2
GM
1514 * progmodes/tcl.el: Don't require outline when compiling.
1515 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1516 * textmodes/sgml-mode.el: Don't require outline when compiling.
1517 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1518
48c339f2
GM
1519 * term.el (term-ansi-reset):
1520 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1521
daee954c
GM
1522 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1523 files for RCS and SCCS. (Bug#9781)
1524
b7f42161
CY
15252012-09-27 Chong Yidong <cyd@gnu.org>
1526
1527 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1528 change; value should be t.
1529
a2e770db
SM
15302012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1531
83600dc8
SM
1532 * image-mode.el: Use lexical-binding.
1533 (image-mode-winprops): Use t to stand for the window of
1534 a buffer that's not displayed.
1535 * doc-view.el (doc-view-new-window-function): Handle the new
1536 t in winprops.
1537 (doc-view-enlarge): Make it a real nop if the size is not changed.
1538 (doc-view-display): Handle the case where the buffer is not (yet?)
1539 displayed in any window.
1540 (doc-view-saved-settings): New var.
1541 (doc-view-mode): Use it.
1542 (doc-view-fallback-mode): Set it.
1543
a2e770db
SM
1544 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1545 Set lexical-binding.
1546 (minibuffer-eldef-shorten-default): New var.
1547 (minibuffer-default-in-prompt-regexps): Use it for new default.
1548 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1549
e3b60857
JB
15502012-09-26 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * international/uni-bidi.el:
1553 * international/uni-category.el:
1554 * international/uni-name.el:
1555 * international/uni-numeric.el: Regenerate.
1556
3a880af4
SM
15572012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1558 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * profiler.el: New file.
1561
07b1a5fb
SM
15622012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1565 (testcover-reinstrument): Simplify with CSE.
1566
42019c2e
JB
15672012-09-26 Juanma Barranquero <lekktu@gmail.com>
1568
1569 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1570
179f044b
WS
15712012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1572
1573 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1574 (verilog-auto-input, verilog-auto-insert-lisp)
1575 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1576 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1577 (verilog-auto-unused, verilog-auto-wire)
1578 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1579 newline. Reported by Andrew Jones.
1580 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1581 Reported by Brad Dobbie.
07b1a5fb
SM
1582 (verilog-batch-delete-trailing-whitespace):
1583 Create verilog-batch-delete-trailing-whitespace.
1584 Reported by Brad Dobbie.
179f044b
WS
1585 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1586 parameters from another module. Reported by Dan Katz.
1587 (verilog-auto, verilog-auto-assign-modport)
1588 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1589 AUTOINOUTMODPORT for UVM interface module shell generation.
1590 Reported by Brad Dobbie.
1591 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1592 standard behavior.
1593 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1594 Reported by Matt Martin.
1595
9c52dd5a
MR
15962012-09-25 Martin Rudalics <rudalics@gmx.at>
1597
1598 * window.el (window--resize-child-windows): When resizing child
1599 windows proportionally, process them in reverse order to
1600 preserve the "when splitting a window the new one gets the odd
1601 line" behavior.
1602 (window--resize-root-window-vertically): When resizing the
1603 minibuffer window try to affect only windows at the bottom of the
1604 frame. (Bug#12419)
1605
863666eb
CY
16062012-09-25 Chong Yidong <cyd@gnu.org>
1607
1608 * subr.el (declare): Doc fix.
1609
1610 * help-fns.el (help-fns--obsolete): Handle macros properly.
1611
59f7af81
CY
16122012-09-25 Chong Yidong <cyd@gnu.org>
1613
1614 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1615 this function obsolete.
1616
1617 * calendar/cal-x.el (calendar-two-frame-setup)
1618 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1619 * calendar/calendar.el (american-calendar, european-calendar)
1620 (calendar-for-loop):
1621 * comint.el (comint-dynamic-simple-complete)
1622 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1623 * desktop.el (desktop-load-default):
1624 * dired-x.el (dired-omit-here-always)
1625 (dired-hack-local-variables, dired-default-directory):
1626 * emacs-lisp/derived.el (derived-mode-class):
1627 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1628 * emacs-lock.el (toggle-emacs-lock):
1629 * epa.el (epa-display-verify-result):
1630 * epg.el (epg-sign-keys, epg-start-sign-keys)
1631 (epg-passphrase-callback-function):
1632 * eshell/esh-util.el (eshell-for):
1633 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1634 (eshell-add-to-window-buffer-names):
1635 * files.el (locate-file-completion):
1636 * imenu.el (imenu-example--create-c-index)
1637 (imenu-example--create-lisp-index)
1638 (imenu-example--lisp-extract-index-name)
1639 (imenu-example--name-and-position):
1640 * international/mule-cmds.el (princ-list):
1641 * international/mule-diag.el (decode-codepage-char):
1642 * international/mule-util.el (detect-coding-with-priority):
1643 * iswitchb.el (iswitchb-read-buffer):
1644 * mail/mailalias.el (mail-complete):
1645 * mail/sendmail.el (mail-sent-via):
1646 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1647 (mouse-major-mode-menu):
1648 * password-cache.el (password-read-and-add):
1649 * pcomplete.el (pcomplete-parse-comint-arguments):
1650 * progmodes/sh-script.el (sh-maybe-here-document):
1651 * replace.el (query-replace-regexp-eval):
1652 * savehist.el (savehist-load):
1653 * simple.el (choose-completion-delete-max-match):
1654 * term.el (term-dynamic-simple-complete):
1655 * vc/ediff-init.el (ediff-check-version):
1656 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1657 * vc/vc.el (vc-diff-switches-list):
1658 * view.el (view-return-to-alist-update): Likewise.
1659
1660 * subr.el (eval-next-after-load, makehash, insert-string)
1661 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1662 mark obsolete.
1663 (mode-line-inverse-video): Variable deleted.
1664
1665 * international/mule-util.el (string-to-sequence): Remove.
1666
1667 * calendar/calendar.el (calendar-version):
1668 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1669 (icalendar-convert-diary-to-ical):
1670 * cus-edit.el (custom-mode):
1671 * ansi-color.el (ansi-color-unfontify-region):
1672 * international/latin1-disp.el (latin1-char-displayable-p):
1673 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1674 * progmodes/which-func.el (which-func-update-1):
1675 Use define-obsolete-function-alias.
59f7af81
CY
1676
1677 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1678 * net/newst-treeview.el (newsticker-groups-filename):
1679 Fix incorrect obsolescence declaration.
59f7af81
CY
1680
1681 * allout.el (allout-passphrase-hint-string): Likewise.
1682 (allout-init): Use a declare form to mark obsolete.
1683
1684 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1685 this applies to functions.
1686
1687 * iswitchb.el (iswitchb-read-buffer): Move code of
1688 iswitchb-define-mode-map here, and delete that obsolete function.
1689
1690 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1691 font-lock-reference-face.
1692
cca96c97
GM
16932012-09-25 Glenn Morris <rgm@gnu.org>
1694
b06eeda8
GM
1695 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1696 Doc fixes.
1697
cca96c97
GM
1698 * eshell/em-term.el (eshell-term-name):
1699 Default to term-term-name. (Bug#12485)
1700
dc4f818b
FEG
17012012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1702
cca96c97
GM
1703 * progmodes/python.el (python-shell-send-buffer): Better handling
1704 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1705
289c24bd
GM
17062012-09-24 Glenn Morris <rgm@gnu.org>
1707
1708 * eshell/esh-cmd.el (eshell-find-alias-function):
1709 Tighten up file-name regexp. (Bug#12499)
1710
8fb8b88f
FEG
17112012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1712
1713 Enhancements for triple-quote string syntax.
1714 * progmodes/python.el (python-quote-syntax): Remove.
1715 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1716 (python-syntax-count-quotes, python-syntax-stringify):
1717 New functions.
8fb8b88f 1718
6c27f0f8
CY
17192012-09-24 Chong Yidong <cyd@gnu.org>
1720
a5f2b6ec
CY
1721 * mail/supercite.el (sc-version): Remove obsolete function.
1722 (sc-describe): Don't mark as obsolete, since it is bound.
1723 (sc-submit-bug-report): Remove.
1724
1725 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1726 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1727 (log-edit-require-final-newline)
1728 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1729
1730 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1731 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1732 * vc/vc.el (vc-checkout-carefully): Likewise.
1733
1734 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1735 (emerge-version): Remove.
1736
1737 * progmodes/compile.el (compile-internal): Remove.
1738 (compilation-parse-errors-function): Fix typo.
1739
1740 * international/mule.el (set-char-table-default): Remove.
1741 (set-coding-priority, make-coding-system, generic-char-p)
1742 (charset-list, charset-bytes, charset-id): Use declare to mark
1743 functions as obsolete.
1744
1745 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1746 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1747 * vc/vc-hooks.el (vc-default-registered): Don't use
1748 vc-master-templates.
1749
07b1a5fb
SM
1750 * font-lock.el (font-lock-reference-face):
1751 Use define-obsolete-variable-alias.
6c27f0f8
CY
1752
1753 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1754 * calendar/calendar.el (calendar-font-lock-keywords):
1755 * calendar/diary-lib.el (diary-font-lock-keywords)
1756 (diary-fancy-font-lock-keywords):
1757 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1758 * textmodes/reftex-index.el (reftex-insert-index):
1759 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1760 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1761 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1762 * progmodes/prolog.el (prolog-font-lock-keywords):
1763 * progmodes/idlwave.el (idlwave-idl-keywords):
1764 * progmodes/ada-mode.el (ada-font-lock-keywords):
1765 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1766
bcc0adbf
GM
17672012-09-24 Glenn Morris <rgm@gnu.org>
1768
1769 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1770
095bb823
FEG
17712012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1772
1773 * progmodes/python.el (python-indent-line): More consistent cursor
1774 movement behavior.
1775
70efc5c9
SM
17762012-09-23 Stefan Merten <smerten@oekonux.de>
1777
1778 * textmodes/rst.el: Fix compiler warning.
1779
2f438239
RW
17802012-09-23 Roland Winkler <winkler@gnu.org>
1781
07b1a5fb
SM
1782 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1783 Transcribe also LaTeX hyphenation.
2f438239
RW
1784 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1785 bibtex-reformat-previous-options.
1786
936ad041
RW
17872012-09-23 Roland Winkler <winkler@gnu.org>
1788
1789 * proced.el (proced-renice-command): New variable.
1790 (proced-marked-processes): New function.
1791 (proced-with-processes-buffer): New macro.
1792 (proced-send-signal): Use them.
1793 (proced-renice): New command bound to r.
1794
6fab0274
RW
17952012-09-23 Roland Winkler <winkler@gnu.org>
1796
1797 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1798 ibuffer-saved-filter-groups has one element, shortcut the call of
1799 completing-read. (Bug#12331)
1800
9a930676
CY
18012012-09-23 Chong Yidong <cyd@gnu.org>
1802
1803 * bindings.el (mode-line-toggle-read-only):
1804 * bs.el (bs-toggle-readonly):
1805 * buff-menu.el (Buffer-menu-toggle-read-only):
1806 * dired.el (dired-toggle-read-only):
1807 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1808
d07ff9db
CY
18092012-09-23 Chong Yidong <cyd@gnu.org>
1810
1811 * image.el (image-type-available-p): Adapt to init-image-library
1812 argument changes.
1813
51c4474e
JL
18142012-09-22 Juri Linkov <juri@jurta.org>
1815
1816 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1817 `dired-toggle-read-only'. (Bug#12462)
1818
43bf5e8e
MR
18192012-09-22 Martin Rudalics <rudalics@gmx.at>
1820
1821 * subr.el (temp-output-buffer-show): New function.
1822 (with-output-to-temp-buffer): Call temp-output-buffer-show
1823 instead of internal-temp-output-buffer-show.
1824
c88b867f
CY
18252012-09-22 Chong Yidong <cyd@gnu.org>
1826
3df47cd5
CY
1827 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1828 (Bug#12462).
1829
c88b867f
CY
1830 * repeat.el (repeat): Doc fix (Bug#12348).
1831
1832 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1833 (Bug#10909).
1834
1835 * simple.el (shell-command-on-region): Doc fix.
3171e303 1836 (read-only-mode): Doc fix.
c88b867f 1837
df9685f3
EZ
18382012-09-22 Eli Zaretskii <eliz@gnu.org>
1839
1840 * emacs-lisp/timer.el (run-with-idle-timer)
1841 (timer-activate-when-idle): Warn against reinvoking an idle timer
1842 from within its own timer action. (Bug#12447)
1843
8e17c9ba
MR
18442012-09-22 Martin Rudalics <rudalics@gmx.at>
1845
1846 * cus-start.el (window-combination-limit): Add new optional
1847 values.
1848 * window.el (temp-buffer-window-show)
1849 (window--try-to-split-window): Handle new values of
1850 window-combination-limit (Bug#1806).
1851 (split-window): Test window-combination-limit for t instead of
1852 non-nil.
1853 (display-buffer-at-bottom): New buffer display action function.
1854 * help.el (temp-buffer-resize-regexps): New option.
1855 (temp-buffer-resize-mode): Rewrite doc-string.
1856 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1857 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1858
48a24920
SM
18592012-09-22 Stefan Merten <smerten@oekonux.de>
1860
70efc5c9 1861 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1862 (rst-official-version)
1863 (rst-package-emacs-version-alist): Sync with official version
1864 V1.4.0.
1865 (rst-faces-defaults, rst-set-level-default)
1866 (rst-level-face-max, rst-level-face-base-color)
1867 (rst-level-face-base-light, rst-level-face-format-light)
1868 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1869 (rst-adornment-faces-alist): Match new setup.
1870 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1871 (rst-level-5, rst-level-6): New faces.
1872
82f8cd94
CY
18732012-09-22 Chong Yidong <cyd@gnu.org>
1874
1875 * simple.el (undo): Handle indirect buffers (Bug#8207).
1876
acfa068f 18772012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1878
1879 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1880 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1881 (ido-set-matches-1): Use it. (Bug#2042)
1882
acfa068f 18832012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1884
1885 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1886 Fix 2011-05-17 change. (Bug#12418)
1887
acfa068f 18882012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1889
1890 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1891
acfa068f 18922012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1893
1894 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1895 Be more robust about locating simple.el.
1896
acfa068f 18972012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1898
1899 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1900
acfa068f
CY
19012012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1902
1903 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1904
41a97e6f
JL
19052012-09-20 Juri Linkov <juri@jurta.org>
1906
eb2deaff
JL
1907 * replace.el (query-replace-read-from): Use `read-regexp' instead
1908 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1909 (occur-read-primary-args): Use `read-regexp' instead of
1910 `read-string'.
1911 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1912 `read-from-minibuffer'.
1913 * isearch.el (isearch-occur): Use `read-regexp' instead of
1914 `read-string'.
1915 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1916 `read-from-minibuffer'.
1917 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1918 of `read-string'. (Bug#7567)
1919
5825610b
JL
1920 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1921 and allow accepting a list of strings prepended to a list of
1922 standard default values. Doc fix. (Bug#12321)
1923
eebbf404
JL
1924 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1925
41a97e6f
JL
1926 * replace.el (read-regexp): Don't add ": " when PROMPT already
1927 ends with a colon and space. (Bug#12321)
1928
c9e452d3
TH
19292012-09-20 Tassilo Horn <tsdh@gnu.org>
1930
1931 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1932 error.
1933
ee97deee
SM
19342012-09-20 Stefan Merten <smerten@oekonux.de>
1935
70efc5c9 1936 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1937 Fixes feature request bug#11711.
1938 (rst-mode): Create `imenu-create-index-function'.
1939 (rst-get-stripped-line): Delete after refactoring.
1940 (rst-section-tree, rst-section-tree-rec)
1941 (rst-section-tree-point): Refactor and document properly.
1942 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1943 (rst-imenu-convert-cell, rst-imenu-create-index):
1944 New function.
ee97deee 1945
f490dab9
SM
19462012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1947
95b9712e
SM
1948 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1949 (macroexp--expand-all): Use it.
1950 (macroexp--funcall-and-return): Remove by folding it into its sole
1951 caller (macroexp--warn-and-return).
1952 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1953 Use macroexp--obsolete-warning.
1954
f490dab9
SM
1955 * calc/calc.el: Fix last change by removing the whole chunk, since it
1956 was only needed back when Calc was not bundled.
1957
96e8d411
MR
19582012-09-20 Martin Rudalics <rudalics@gmx.at>
1959
1960 * emacs-lisp/debug.el (debug): Restore assignment to
1961 debugger-old-buffer removed on 2012-09-08.
1962
0876a82d
JL
19632012-09-20 Juri Linkov <juri@jurta.org>
1964
1965 * dired-aux.el (dired-diff): Remove (require 'diff) since
1966 `diff-latest-backup-file' is now autoloaded.
1967
9f7c28f0
CY
19682012-09-20 Chong Yidong <cyd@gnu.org>
1969
1970 * vc/diff.el (diff-latest-backup-file): Autoload.
1971
7a04bee9
SM
19722012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1973
e6f0a80d
SM
1974 * calc/calc.el: Remove redundant autoload shape check.
1975 (sel-mode): Don't defvar.
1976 (calc-get-stack-element): Add `sel-mode' arg instead.
1977 (calc-top, calc-top-list): Pass it this additional argument.
1978 * calc/calc-store.el (calc-store-map):
1979 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1980 (calc-map-equation, calc-outer-product, calc-inner-product):
1981 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1982
7a04bee9
SM
1983 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1984
12734222
JL
19852012-09-19 Juri Linkov <juri@jurta.org>
1986
1987 * dired-aux.el (dired-diff): Add (require 'diff) because
1988 `diff-latest-backup-file' is not autoloaded.
1989 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1990 of `dired-get-filename' to t to not report error when there is
1991 no default file on the current line.
1992
46624b4f
SM
19932012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1994
ce97595b
SM
1995 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1996 macroexp--eval-if-compile.
1997 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1998 (macroexp--expand-all): Use them (bug#12371).
1999
46624b4f
SM
2000 * doc-view.el (doc-view-guess-paper-size)
2001 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2002
db8a5a18
TH
20032012-09-19 Tassilo Horn <tsdh@gnu.org>
2004
2005 New feature: set optimal slice from BoundingBox information.
2006 * doc-view.el (doc-view-mode-map): Add keybinding.
2007 (doc-view-menu): Add menu entry.
2008 (doc-view-set-slice): Adapt docstring.
2009 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2010 (doc-view-scale-bounding-box)
2011 (doc-view-set-slice-from-bounding-box): New functions.
2012 (doc-view-paper-sizes): New defvar.
2013
69f6644c
GM
20142012-09-19 Glenn Morris <rgm@gnu.org>
2015
35f5b19d
GM
2016 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2017 (byte-compile-log-warning): Autoload. (Bug#12371)
2018
69f6644c
GM
2019 * calendar/calendar.el (calendar-american-month-header)
2020 (calendar-european-month-header, calendar-iso-month-header)
2021 (calendar-month-header): New options.
2022 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2023 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2024
e543ae91
JD
20252012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2026
2027 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2028
2fd5e67d
JL
20292012-09-18 Juri Linkov <juri@jurta.org>
2030
2031 * dired-aux.el (dired-diff): Restore original functionality of
2032 getting the default value, but keep new feature of using the
2033 latest existing backup file (`diff-latest-backup-file').
2034
42917e79
JL
20352012-09-18 Juri Linkov <juri@jurta.org>
2036
2037 * dired.el (dired-mark): If the region is active in Transient Mark
2038 mode, mark all files in the active region. Doc fix.
2039 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2040 Doc fix. (Bug#10624)
2041
20f70ede
JL
20422012-09-18 Juri Linkov <juri@jurta.org>
2043
2044 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2045 attributes for M-n are pulled from the file at point.
2046 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2047 Suggested by Drew Adams. (Bug#10624)
2048
32fb8162
DG
20492012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2050
2051 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2052 whitespace after "end".
2053 (ruby-do-end-to-brace): Collapse block to one line if it fits
2054 within fill-column.
2055
37ab5092
MR
20562012-09-18 Martin Rudalics <rudalics@gmx.at>
2057
2058 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2059 value.
2060 (debug): Don't remove debugger window when debugger is expected
2061 to be back.
2062
ed1f0bd3
CY
20632012-09-18 Chong Yidong <cyd@gnu.org>
2064
2065 * custom.el (defface): Doc fix.
2066
2067 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2068
a11035b8
MB
20692012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2070
2071 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2072 to initialize query-on-exit; then test that instead (bug#12288).
2073
64f6a736
SM
20742012-09-17 Stefan Merten <smerten@oekonux.de>
2075
70efc5c9 2076 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2077 (rst-defcustom-testcover, rst-testcover-add-compose)
2078 (rst-testcover-add-1value): New functions.
2079 (rst-portable-mark-active-p): Replace by `use-region-p'.
2080 (rst-update-section, rst-classify-adornment)
2081 (rst-find-title-line): Mark `1value' forms.
2082 (rst-classify-adornment): Remove superfluous form.
2083 (rst-update-section, rst-get-adornments-around)
2084 (rst-adornment-complete-p, rst-get-next-adornment)
2085 (rst-adjust, rst-promote-region)
2086 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2087 (rst-find-pfx-in-region, rst-section-tree-rec)
2088 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2089 (rst-toc-node, rst-toc, rst-forward-section)
2090 (rst-iterate-leftmost-paragraphs)
2091 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2092 (rst-bullet-list-region)
2093 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2094 (rst-compile-find-conf, rst-compile)
2095 (rst-repeat-last-character): Fix style.
2096
580bd868
CY
20972012-09-17 Chong Yidong <cyd@gnu.org>
2098
2099 * comint.el (comint--complete-file-name-data): Don't add a space
2100 if the status is `sole'; that adds a gratuitous space in the
2101 completion-cycling case (Bug#12092).
2102
2103 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2104
69de3ec6
RS
21052012-09-17 Richard Stallman <rms@gnu.org>
2106
0dee970c
RS
2107 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2108 only in the mime-shown mode, not in raw mode.
2109 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2110 mime processing. (Bug#12305)
0dee970c 2111
6b250df6
GM
2112 * mail/rmail.el (rmail-retry-failure):
2113 Turn off mime processing first. (Bug#12037)
acb1c47b 2114
69de3ec6
RS
2115 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2116
d079ee5f
CY
21172012-09-17 Chong Yidong <cyd@gnu.org>
2118
2119 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2120 (shell-dynamic-complete-functions): Convert to defcustom.
2121 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2122
865fe16f
CY
2123 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2124 * comint.el (comint-prompt-read-only):
2125 * custom.el (defcustom):
2126 * hi-lock.el (hi-lock-mode):
2127 * ibuffer.el (ibuffer-formats):
2128 * ielm.el (ielm-prompt-read-only):
2129 * novice.el (disable-command):
2130 * saveplace.el (toggle-save-place):
2131 * speedbar.el (speedbar-supported-extension-expressions):
2132 * startup.el (auto-save-list-file-prefix, init-file-user)
2133 (after-init-hook, inhibit-startup-echo-area-message):
2134 * strokes.el (strokes-help):
2135 * time-stamp.el (time-stamp):
2136 * calendar/calendar.el (calendar, diary-file):
2137 * calendar/diary-lib.el (diary-mail-entries, diary)
2138 (diary-list-entries-hook):
2139 * calendar/holidays.el (holidays, calendar-holidays):
2140 * calendar/lunar.el (lunar-phases):
2141 * calendar/solar.el (sunrise-sunset):
2142 * emulation/edt.el (edt-load-keys):
2143 * emulation/viper.el (viper-mode):
2144 * eshell/em-alias.el (eshell-command-aliases-list):
2145 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2146 * international/ogonek.el (ogonek-information):
2147 * net/tramp-cmds.el (tramp-bug):
2148 * net/quickurl.el (quickurl-reread-hook-postfix):
2149 * play/decipher.el (decipher-font-lock-keywords):
2150 * progmodes/cc-styles.el (c-set-style):
2151 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2152 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2153 * progmodes/octave-mod.el (octave-mode):
2154 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2155 * progmodes/verilog-mode.el (verilog-read-defines):
2156 * textmodes/two-column.el (2C-mode): Likewise.
2157
48093eb9
KY
21582012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2159
2160 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2161 that holds many addresses.
2162
c584eaf9
CY
21632012-09-16 Chong Yidong <cyd@gnu.org>
2164
40d70ecb
CY
2165 * align.el (align-areas): Call the indication function with
2166 positions instead of markers for arguments (Bug#12343).
2167
1667e065
CY
2168 * files.el (parse-colon-path): Use split-string (Bug#12351).
2169
fdc2806d 2170 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2171 (display-buffer-function): Mark as obsolete.
fdc2806d 2172
f1be615c 2173 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2174 values similar to font-lock-keywords (Bug#12136).
2175 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2176 (compilation-error-regexp-alist): Doc fix.
2177
f40a9709
GM
21782012-09-15 Glenn Morris <rgm@gnu.org>
2179
72aa16e1
GM
2180 * version.el (emacs-bzr-version-bzr): New function.
2181 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2182
82375160
GM
2183 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2184 checkouts, check the parent dirstate matches the branch.
2185 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2186 empty string.
2187
f40a9709
GM
2188 * version.el (emacs-bzr-version): Doc fix.
2189 (emacs-bzr-version-dirstate): New function.
2190 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2191 is local try and check that it matches the branch. If not, just
2192 use dirstate information. (Bug#12441)
2193
cb26b7f5
JL
21942012-09-14 Juri Linkov <juri@jurta.org>
2195
2196 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2197 (Bug#12399)
2198
2de39f08
SM
21992012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2200
0fb3cb7c
SM
2201 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2202
2de39f08
SM
2203 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2204 Remove obsolete byte-compiler hack that tried to silence some warnings.
2205 (edebug-submit-bug-report): Remove.
2206 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2207 Remove aliases, use the un-prefixed name instead.
2208 (edebug-pop-to-buffer): Consider other frames.
2209 (edebug-original-read):: Make it more obvious that it's always defined.
2210 (edebug--make-form-data-entry, edebug--form-data-name)
2211 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2212 single-dashed name, and implement with cl-defstruct.
2213 (edebug-set-form-data-entry): Use the standard accessors.
2214 (edebug-make-top-form-data-entry): Use push.
2215 (edebug-no-match): Drop useless `funcall'.
2216 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2217 to functions.
2218 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2219 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2220 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2221 (easy-menu-define, with-custom-print): Remove redundant specs.
2222 (edebug-outside-overriding-local-map)
2223 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2224 (edebug--display): Bind unread-command-events directly to nil rather
2225 than binding it to unread-command-events and later setting it to nil.
2226 (edebug--display): Kill edebug-eval-buffer here...
2227 (edebug--recursive-edit): ...rather than here.
2228 Bind standard-output and standard-input.
2229 (edebug-eval): Check cl-macroexpand-all is fboundp.
2230 (edebug-temp-display-freq-count): Fix last change.
2231
2232 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2233 * subr.el (noreturn, 1value): Add `debug' spec.
2234 * emacs-lisp/advice.el: Require cl-lib.
2235 (ad-copy-tree): Remove, use copy-tree instead.
2236 (ad-dolist): Remove use dolist or cl-dolist instead.
2237 (ad-do-return): Remove, use cl-return instead.
2238 (defadvice): Add `debug' spec.
2239
5b68b333
JL
22402012-09-13 Juri Linkov <juri@jurta.org>
2241
2242 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2243 (Bug#12399)
2244
b9800ec4
GM
22452012-09-13 Glenn Morris <rgm@gnu.org>
2246
6a2e6868
GM
2247 * calc/calc.el (math-compose-expr):
2248 * calc/calc-ext.el (math-compose-expr):
2249 * progmodes/cc-defs.el (cl-macroexpand-all):
2250 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2251 (cl-macroexpand-all): Update declarations.
2252
b9800ec4
GM
2253 * vc/vc.el: No need to require ediff.
2254 (ediff-load-version-control): Declare.
2255 (ediff-vc-internal): Fix declaration.
2256 (vc-version-ediff): Require ediff.
2257
c18e885b
PE
22582012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2259
2260 Use a more backwards-compatible timer format (Bug#12430).
2261 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2262 being right after USECS, as that better supports old code that
2263 inadvisedly looked directly at the timer vector.
2264
d607d303
KH
22652012-09-13 Kenichi Handa <handa@gnu.org>
2266
2267 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2268 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2269 `coding-priority' property of these language environment.
2270
72eac303
PE
22712012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2272
2273 Fix glitches caused by addition of psec to timers (Bug#12430).
2274 * image.el (image-animate-timer):
2275 * time.el (display-time-world-timer):
2276 Use timer--function and timer--args rather than raw access to
2277 timer vector.
2278
2168fe4f
GM
22792012-09-13 Glenn Morris <rgm@gnu.org>
2280
2281 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2282 If not compiling a file, try using load-file-name.
2283
bd8d6108
SM
22842012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2285
c0c54fbd
SM
2286 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2287 Fix last change.
2288 (edebug-update-eval-list): Use `push'.
2289
bd8d6108
SM
2290 * emacs-lisp/edebug.el: Use lexical-binding.
2291 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2292 Mark unused args with underscore.
2293 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2294 (edebug-form-data): Use defvar-local.
2295 (edebug-make-before-and-after-form, edebug-make-after-form):
2296 Use backquote.
2297 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2298 Not dynamically scoped any more.
2299 (edebug--enter-trace): Add arguments `function' and `args'.
2300 Rename from edebug-enter-trace.
2301 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2302 (edebug--update-coverage): Add `after-index' and `value' args.
2303 Rename from edebug-update-coverage.
2304 (edebug-slow-after): Call it accordingly.
2305 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2306 edebug-recursive-edit.
2307 (edebug--display): Call it accordingly. Add args `value',
2308 `offset-index', and `arg-mode'. Rename from edebug-display.
2309 (edebug-debugger, edebug): Call it accordingly.
2310 (edebug-eval-display-list): Use dolist.
2311
a9f9d9de
JL
23122012-09-12 Juri Linkov <juri@jurta.org>
2313
2314 * info.el (Info-search): Don't check for isearch-mode and
2315 isearch-regexp before let-binding search-spaces-regexp to
2316 Info-search-whitespace-regexp.
2317 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2318 search-whitespace-regexp if isearch-lax-whitespace or
2319 isearch-regexp-lax-whitespace is non-nil.
2320 (Info-mode): Don't set local variable search-whitespace-regexp.
2321 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2322
bfeae2cf
SM
23232012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2326 (debugger-env-macro): Remove support for unread-command-char.
2327
2328 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2329 the temporary map re-appearing on emulation-mode-map-alists.
2330
2331 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2332 since 22.1.
2333
2334 * ehelp.el (with-electric-help): Accept functions in
2335 electric-help-form-to-execute.
2336 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2337 And replace unread-command-char -> unread-command-events.
2338
fbbcaf1b
MA
23392012-09-12 Michael Albinus <michael.albinus@gmx.de>
2340
2341 Sync with Tramp 2.2.6.
2342
2343 * net/tramp.el (tramp-accept-process-output): Don't use
2344 JUST-THIS-ONE in the XEmacs case.
2345
2346 * net/trampver.el: Update release number.
2347
4dece104
MR
23482012-09-12 Martin Rudalics <rudalics@gmx.at>
2349
bfeae2cf
SM
2350 * emacs-lisp/debug.el (debugger-previous-window-height):
2351 New variable.
4dece104
MR
2352 (debug): When debugger-jumping-flag is non-nil try to restore
2353 height of debugger window. (Bug#8789)
2354
45b82ad0
SM
23552012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2356
60c49c0f
SM
2357 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2358 overriding-local-map and pre/post-command-hook here.
2359 (edebug-recursive-edit): Do it here instead (bug#12345).
2360 (edebug-outside-unread-command-char): Remove all uses of
2361 unread-command-char.
2362
45b82ad0
SM
2363 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2364 inhibit-debugger is bound instead.
2365
baa26ea0
BG
23662012-09-11 Bastien Guerry <bzg@gnu.org>
2367
2368 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2369 (Bug#12346)
baa26ea0 2370
04e8abfa
BG
23712012-09-11 Bastien Guerry <bzg@gnu.org>
2372
96d03571 2373 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2374 (Bug#12347)
96d03571
BG
2375
23762012-09-11 Bastien Guerry <bzg@gnu.org>
2377
fc0c31f8 2378 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2379
04e082b0
MM
23802012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2381
2382 * progmodes/sql.el: Version 3.1
2383 (sql-db2-escape-newlines): New variable.
2384 (sql-escape-newlines-filter): Use it.
2385
399a361b
JB
23862012-09-10 Juanma Barranquero <lekktu@gmail.com>
2387
2388 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2389
0780c517
DN
23902012-09-10 Dan Nicolaescu <dann@gnu.org>
2391
45b82ad0
SM
2392 * vc/diff-mode.el (diff-mode-menu):
2393 Bind diff-remove-trailing-whitespace.
0780c517 2394
9b851e25
SM
23952012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2398 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2399 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2400 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2401 (eval-defun-2): Remove bogus interactive spec.
2402 (lisp-indent-line): Remove redundant whole-exp code, now done in
2403 indent-according-to-mode.
2404 (save-match-data): Remove redundant indent data.
2405
2406 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2407 Use `declare'.
2408
3231d532
JL
24092012-09-09 Juri Linkov <juri@jurta.org>
2410
2411 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2412 (replace-lax-whitespace, query-replace-regexp)
2413 (query-replace-regexp-eval, replace-regexp): Doc fix.
2414 (perform-replace, replace-highlight): Let-bind
2415 isearch-lax-whitespace to replace-lax-whitespace and
2416 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2417
2418 * isearch.el (isearch-query-replace): Let-bind
2419 replace-lax-whitespace to isearch-lax-whitespace and
2420 replace-regexp-lax-whitespace to
2421 isearch-regexp-lax-whitespace. (Bug#10885)
2422
70fe8236
SM
24232012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2426
8ed43f15
AM
24272012-09-09 Alan Mackenzie <acm@muc.de>
2428
70fe8236
SM
2429 * progmodes/cc-engine.el (c-state-cache-init):
2430 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2431 (c-record-parse-state-state):
2432 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2433
bfabf70a
AS
24342012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2435
2436 * register.el (register-separator): Rename from
2437 separator-register. All uses changed. Doc fix.
2438 (register): Fix version.
2439
011474aa
CY
24402012-09-09 Chong Yidong <cyd@gnu.org>
2441
2442 * replace.el (query-replace-map): Bind four new symbols for
2443 requesting window scrolling.
2444
2445 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2446 query-replace-map (Bug#8948).
2447
2448 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2449
2450 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2451 since they are now in query-replace-map.
2452
2453 * window.el (scroll-other-window-down): Make the arg optional.
2454
a8b7cd8d
CY
24552012-09-09 Chong Yidong <cyd@gnu.org>
2456
2457 * files.el (hack-local-variables-confirm): Use quit-window to kill
2458 the *Local Variables* buffer.
2459
c3268831
DG
24602012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2461
2462 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2463 not just expect to be at its beginning. Adjust callees.
2464 Succeed when do-end block has no space before the pipe character.
2465 (ruby-brace-to-do-end): When the original block is one-liner,
2466 convert to multiline. Reindent the result.
2467
0979429b
J
24682012-09-08 Jambunathan K <kjambunathan@gmail.com>
2469
2470 * register.el (register): New group.
27359e99 2471 (separator-register): New user option.
0979429b
J
2472 (increment-register): Route it to `append-to-register', if
2473 register contains text. Implication is that `C-x r +' can now be
2474 used for appending to a text register (bug#12217).
2475 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2476 `separator-register'.
0979429b 2477
ace2989a
AM
24782012-09-08 Alan Mackenzie <acm@muc.de>
2479
2480 AWK Mode: make auto-newline work when there's "==" in the pattern.
2481 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2482 correctly.
0979429b
J
2483 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2484 Test more rigorously for "=" token.
ace2989a 2485
616c6c36
DG
24862012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2487
0979429b
J
2488 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2489 Only fail when reached LIMIT.
616c6c36 2490
35d98877
CY
24912012-09-08 Chong Yidong <cyd@gnu.org>
2492
2493 * dired.el (dired-mode-map): Don't bind M-=.
2494
2495 * dired-aux.el (dired-diff): Use backup file as default.
2496
1715f2db
DA
24972012-09-08 Drew Adams <drew.adams@oracle.com>
2498
2499 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2500
6dcef6ec
CY
25012012-09-08 Chong Yidong <cyd@gnu.org>
2502
2503 * subr.el (syntax-after, syntax-class): Doc fix.
2504
fa2bcf43
MR
25052012-09-08 Martin Rudalics <rudalics@gmx.at>
2506
2507 * window.el (display-buffer-in-previous-window): New buffer
2508 display action function.
2509
2510 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2511 (debugger-previous-window): New variable.
2512 (debug): Rewrite using display-buffer-in-previous-window,
2513 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2514
daac280a
SM
25152012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2518
9dd40b00
MM
25192012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2520
daac280a
SM
2521 * progmodes/python.el (python-shell-send-string):
2522 When default-directory is remote, create temp file on remote
9dd40b00
MM
2523 filesystem.
2524 (python-shell-send-file): When file is remote, pass local view of
2525 file paths to remote Python interpreter. (Bug#12340)
2526
145823ec
CY
25272012-09-07 Chong Yidong <cyd@gnu.org>
2528
cee2e90d
CY
2529 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2530
0d7eb2ea
CY
2531 * files.el (after-find-file): Don't fail on a read-only buffer if
2532 require-final-newline is `visit' or `visit-save' (Bug#11156).
2533
145823ec
CY
2534 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2535
daac280a
SM
2536 * userlock.el (ask-user-about-supersession-threat):
2537 Use read-char-choice (Bug#12093).
145823ec 2538
74c582e6
CY
25392012-09-07 Chong Yidong <cyd@gnu.org>
2540
e5c2edf7
CY
2541 * subr.el (buffer-narrowed-p): New function.
2542
2543 * ses.el (ses-widen):
2544 * simple.el (count-words--buffer-message):
1f9f395d 2545 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2546
2547 * simple.el (count-words-region): Don't signal an error if there
2548 is a non-nil prefix arg and the mark is not set.
c640e87d 2549
74c582e6
CY
2550 * help.el (describe-key-briefly): Allow the message to be seen
2551 when invoked from the minibuffer (Bug#7014).
2552
d81ceaaf
DG
25532012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2554
2555 * progmodes/ruby-mode.el (ruby-end-of-defun)
2556 (ruby-beginning-of-defun): Simplify, allow indentation before
2557 block beginning and end keywords.
8f06acce
DG
2558 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2559 (ruby-end-of-defun): Expect that the point is at the beginning of
2560 the defun.
d81ceaaf 2561
d458ef98
SM
25622012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2565 (bug#12367).
2566 (cl--make-usage-args): Strip _ from argument names.
2567
20367d28
RS
25682012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2569
2570 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2571 obsolete alias speedbar-key-map.
2572 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2573 (vhdl-index-menu-init): Don't use obsolete variable
2574 font-lock-maximum-size.
2575
3424a4f6
CY
25762012-09-06 Chong Yidong <cyd@gnu.org>
2577
2578 * frame.el (window-system-version): Mark as obsolete.
2579
fcbfbdea
CY
2580 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2581 of obsolete variable speedbar-key-map.
2582
826b3235
JL
25832012-09-06 Juri Linkov <juri@jurta.org>
2584
2585 * replace.el (replace-lax-whitespace): New defcustom.
2586 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2587 (replace-string, replace-regexp): Mention it in docstrings.
2588 (perform-replace, replace-highlight): Let-bind
2589 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2590 to the values of replace-lax-whitespace and regexp-flag.
2591 Don't let-bind search-whitespace-regexp. (Bug#10885)
2592
2593 * isearch.el (isearch-query-replace): Let-bind
2594 replace-lax-whitespace instead of let-binding
2595 replace-search-function and replace-re-search-function.
2596 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2597 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2598 (isearch-toggle-symbol): Set isearch-regexp to nil
2599 in isearch-word mode (like in isearch-toggle-word).
2600
1ec5e41d
JL
26012012-09-06 Juri Linkov <juri@jurta.org>
2602
2603 * replace.el (replace-search-function)
2604 (replace-re-search-function): Set default values to nil.
2605 (perform-replace): Let-bind isearch-related variables based on
2606 replace-related values, call `isearch-search-fun' and let-bind
2607 the result to `search-function'. Remove code that sets
2608 `search-function' and `search-string' separately for
2609 `delimited-flag'.
2610 (replace-highlight): Add new argument `delimited-flag' and
2611 rename other arguments to the names used in `perform-replace'.
2612 Let-bind `isearch-word' to the argument `delimited-flag'.
2613 (Bug#10885, bug#10887)
2614
0ba2d4b6
DG
26152012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2616
2617 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2618 ruby-beginning-of-indent, simplify, allow all keywords to have
2619 indentation before them.
2620 (ruby-beginning-of-indent): Adjust for above. Search until the
2621 found point is not inside a string or comment.
2622 (ruby-font-lock-keywords): Allow symbols to start with "@"
2623 character, give them higher priority than variables.
2624 (ruby-syntax-propertize-function)
2625 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2626 matchers. Expression expansions are not comments when inside a
2627 string, and there comment syntax status is irrelevant.
2628 (ruby-match-expression-expansion): New function. Check that
2629 expression expansion is inside a string, and it's not escaped.
2630 (ruby-font-lock-keywords): Use it.
2631
ef654460
MR
26322012-09-05 Martin Rudalics <rudalics@gmx.at>
2633
2634 * help.el (temp-buffer-max-height): New default value.
2635 (temp-buffer-resize-frames): New option.
2636 (resize-temp-buffer-window): Optionally resize frame.
2637
2638 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2639 (fit-frame-to-buffer): New function.
2640
7e570fbf 26412012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2642
2643 * emulation/cua-rect.el (cua--init-rectangles):
2644 * textmodes/picture.el (picture-mode-map):
2645 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2646 like forward-char and backward-char. (Bug#12317)
2647
7e570fbf 26482012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2649
2650 * progmodes/flymake.el (flymake-warning-re): New variable.
2651 (flymake-parse-line): Use it.
2652
7e570fbf 26532012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2654
2655 * calendar/holidays.el (holiday-christian-holidays):
2656 Rename an entry. (Bug#12289)
2657
7e570fbf 26582012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2659
2660 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2661 (bug#12222).
2662
972debf2
SM
26632012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * loadup.el: Load macroexp. Remove hack.
2666 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2667 (macroexp--expand-all): Use it to get better warnings.
2668 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2669 (internal-macroexpand-for-load): New functions.
2670 (macroexp--pending-eager-loads): New var.
2671 (emacs-startup-hook): New hack to replace one in loadup.el.
2672 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2673 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2674 (cl-psetf): Simplify.
2675 (cl-defstruct): Add indent rule.
2676
8ce192e3
LI
26772012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2678
2679 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2680 over `user-mail-address' for the SMTP MAIL FROM envelope.
2681 (smtpmail-via-smtp): Ditto.
2682
6578b4d8
DG
26832012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2684
2685 * progmodes/ruby-mode.el: Clean up keybindings.
2686 (ruby-mode-map): Don't bind ruby-electric-brace,
2687 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2688 backward-kill-word, reindent-then-newline-and-indent.
2689 (ruby-mark-defun): Remove.
2690 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2691 (ruby-mode): Set local beginning-of-defun-function and
2692 end-of-defun-function values.
2693
c5e28e39
MR
26942012-09-03 Martin Rudalics <rudalics@gmx.at>
2695
2696 * window.el (temp-buffer-window-setup-hook)
2697 (temp-buffer-window-show-hook): New hooks.
2698 (temp-buffer-window-setup, temp-buffer-window-show)
2699 (with-temp-buffer-window): New functions.
972debf2
SM
2700 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2701 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2702
2703 * help.el (temp-buffer-resize-mode): Fix doc-string.
2704 (resize-temp-buffer-window): New optional argument WINDOW.
2705
2706 * files.el (recover-file, save-buffers-kill-emacs):
2707 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2708
73406194
MA
27092012-09-02 Michael Albinus <michael.albinus@gmx.de>
2710
2711 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2712 remote definition of `default-directory', ensure we can connect.
2713
63dd1c6f
JL
27142012-09-02 Juri Linkov <juri@jurta.org>
2715
2716 Toggle whitespace matching mode with M-s SPC.
2717 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2718
2719 * isearch.el (search-whitespace-regexp): Doc fix.
2720 Remove cons cell customization.
2721 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2722 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2723 New variables.
2724 (isearch-forward, isearch-forward-regexp): Doc fix.
2725 (isearch-toggle-lax-whitespace): New command.
2726 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2727 (re-search-forward-lax-whitespace)
2728 (re-search-backward-lax-whitespace): New functions.
2729 (isearch-whitespace-regexp): Remove function.
2730 (isearch-query-replace): Let-bind replace-search-function and
2731 replace-re-search-function.
2732 (isearch-occur): Let-bind search-spaces-regexp according to the
2733 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2734 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2735 condition for C-q SPC.
2736 (isearch-search-fun-default): Use new functions mentioned above.
2737 (isearch-search-forward, isearch-search-backward): Remove functions.
2738 (isearch-search): Don't let-bind search-spaces-regexp.
2739 (isearch-lazy-highlight-space-regexp): Remove variable.
2740 (isearch-lazy-highlight-lax-whitespace)
2741 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2742 (isearch-lazy-highlight-new-loop): Use them.
2743 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2744
af7dda05
CY
27452012-09-02 Chong Yidong <cyd@gnu.org>
2746
2747 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2748
d67d3afd
GM
27492012-09-02 Glenn Morris <rgm@gnu.org>
2750
2751 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2752
69678719
GM
27532012-09-01 Glenn Morris <rgm@gnu.org>
2754
2755 * term.el: Tidy up menu definitions.
2756 (term-mode-map): Use easymenu for In/Out, Complete menus.
2757 (term-pager-break-map): Initialize in the defvar.
2758 (term-terminal-menu, term-signals-menu): Define with easymenu.
2759 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2760 (term-pager-menu): New, extracted from term-process-pager.
2761 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2762 (term-update-mode-line): Propertize line/char and page items.
2763 (term-process-pager): Move keymap initialization elsewhere.
2764
78dd6ab1
MR
27652012-09-01 Martin Rudalics <rudalics@gmx.at>
2766
2767 * window.el (switch-to-prev-buffer): Handle additional values of
2768 BURY-OR-KILL argument. Don't switch in minibuffer window.
2769 (switch-to-next-buffer): Don't switch in minibuffer window.
2770 (quit-restore-window): New function based on quit-window.
2771 Handle additional values of former KILL argument.
2772 (quit-window): Call quit-restore-window with appropriate
2773 interpretation of KILL argument.
2774 (display-buffer-below-selected): New buffer display action
2775 function.
2776
3d10e134
SM
27772012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * minibuffer.el (completion-at-point-functions): Complete docstring
2780 (bug#12254).
2781
0e23ef9d
PE
27822012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2783
2784 Better seed support for (random).
2785 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2786 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2787 * play/mpuz.el, play/tetris.el, play/zone.el:
2788 * calc/calc-comb.el (math-init-random-base):
2789 * play/blackbox.el (bb-init-board):
2790 * play/life.el (life):
2791 * server.el (server-use-tcp):
2792 * type-break.el (type-break):
2793 Remove unnecessary call to (random t).
2794 * net/sasl.el (sasl-unique-id-function):
2795 Change (random t) to (random), now that the latter is more random.
2796 * play/life.el (life-initialized): Remove no-longer-needed var.
2797
862382df
MR
27982012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2799
2800 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2801 Consider frame's buffer predicate when choosing the buffer.
2802 (Bug#12081)
2803
262a66e1
RS
28042012-08-30 Richard Stallman <rms@gnu.org>
2805
2806 * simple.el (special-mode-map): Delete binding for `z'.
2807
f17e1d00
AS
28082012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2809
2810 * progmodes/compile.el (compilation-always-kill): Doc fix.
2811
24777832
CY
28122012-08-30 Chong Yidong <cyd@gnu.org>
2813
2814 * window.el (display-buffer-reuse-frames): Make the obsolescence
2815 message more informative.
2816
69ba1f04
GM
28172012-08-30 Glenn Morris <rgm@gnu.org>
2818
2819 * paren.el (show-paren-delay):
2820 Add a :set function. Doc fix. (Bug#12297)
2821
f0019ede
MB
28222012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2823
2824 * progmodes/compile.el (compilation-always-kill): New var.
2825 (compilation-start): Use it.
2826
35e62fc9
SM
28272012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2828
af070a1c
SM
2829 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2830 * files.el (read-only-mode): Move to simple.el.
2831
35e62fc9
SM
2832 * files.el (read-only-mode): New minor mode.
2833 (toggle-read-only): Use it and mark obsolete.
2834 (find-file--read-only):
2835 * vc/vc.el (vc-next-action, vc-checkout):
2836 * vc/vc-cvs.el (vc-cvs-checkout):
2837 * obsolete/vc-mcvs.el (vc-mcvs-update):
2838 * ffap.el (ffap--toggle-read-only): Update callers.
2839
c2c43c23
MA
28402012-08-29 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2843 remote shell scripts.
2844 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2845
2846 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2847 "/usr/local/sbin".
2848
9fba804b
SM
28492012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2852
eada0861 28532012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2854
806f0cc7
LL
2855 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2856 completion-at-point. (Bug#12220)
2857
3bb213b9
LL
2858 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2859
22ab32ef
LL
2860 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2861
eada0861 28622012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2863
19c17fc1
CY
2864 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2865 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2866
eada0861 28672012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2868
2869 * progmodes/hideif.el (hif-compress-define-list):
2870 Fix typo. (Bug#11951)
2871
eada0861 28722012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2873
2874 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2875 buffer local setting.
2876
27d6c5a8
LL
2877 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2878 rcirc-encode-coding-system.
2879
eada0861 28802012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2881
2882 * net/rcirc.el (rcirc-split-message): New function.
2883 (rcirc-send-message): Use it. (Bug#12051)
2884
d44688e4
JL
28852012-08-28 Juri Linkov <juri@jurta.org>
2886
2887 * info.el (Info-fontify-node): Hide empty lines at the end of
2888 the node. (Bug#12272)
2889
34f10d41
MR
28902012-08-27 Drew Adams <drew.adams@oracle.com>
2891
2892 * dired.el (dired-pop-to-buffer): Make window start at beginning
2893 of buffer (Bug#12281).
2894
77f1f99c
CY
28952012-08-26 Chong Yidong <cyd@gnu.org>
2896
2897 * window.el (special-display-regexps, special-display-frame-alist)
2898 (special-display-buffer-names, special-display-function)
2899 (display-buffer-reuse-frames): Mark as obsolete.
2900
2901 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2902
2903 * help.el (help-print-return-message): Don't treat
2904 display-buffer-reuse-frames specially.
2905
d97af5a0
CY
29062012-08-26 Chong Yidong <cyd@gnu.org>
2907
9fba804b
SM
2908 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2909 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2910 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2911 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2912 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2913 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2914 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2915 the functions directly with gdb-display-buffer-other-frame-action.
2916 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2917 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2918 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2919 (gdb-display-registers-buffer): Define directly.
2920 (def-gdb-display-buffer): Macro deleted.
2921 (gdb-display-buffer): Remove second and third args, callers don't
2922 use them. Defer to the default display-buffer behavior, apart
2923 from making windows dedicated.
2924 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2925
2926 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2927
2928 * window.el (display-buffer-pop-up-frame): Handle a
2929 pop-up-frame-parameters alist entry.
2930 (display-buffer): Document it.
2931
dd7ffad6
CY
29322012-08-26 Chong Yidong <cyd@gnu.org>
2933
2934 * isearch.el (search-whitespace-regexp): Make string and nil
2935 values apply to both ordinary and regexp search. Allow a cons
2936 cell value to distinguish between the two.
2937 (isearch-whitespace-regexp, isearch-search-forward)
2938 (isearch-search-backward): New functions.
2939 (isearch-occur, isearch-search-fun-default, isearch-search)
2940 (isearch-lazy-highlight-new-loop): Use them.
2941 (isearch-forward, isearch-forward-regexp): Doc fix.
2942
4c47bd1e
CY
29432012-08-26 Chong Yidong <cyd@gnu.org>
2944
2945 * faces.el (help-argument-name): Always inherit from italic
2946 (Bug#12213).
2947
9aba119d
MR
29482012-08-25 Martin Rudalics <rudalics@gmx.at>
2949
2950 * window.el (window--even-window-heights): Even heights when
2951 WINDOW and the selected window form a vertical combination.
2952 (display-buffer-use-some-window): Provide that window used gets
2953 sized back by quit-window. (Bug#11880) and (Bug#12091)
2954
ca5256ad
PE
29552012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2956
2957 Fix file time stamp problem with bzr and CVS (Bug#12001).
2958 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2959 in the file's time stamp, since the version control system loses
2960 that information.
2961
d1c0d176
JL
29622012-08-22 Juri Linkov <juri@jurta.org>
2963
2964 * info.el (Info-fontify-node): Hide the suffix of the
2965 Info file name in the header line. (Bug#12187)
2966
141562ff
GM
29672012-08-22 Glenn Morris <rgm@gnu.org>
2968
2969 * calendar/cal-tex.el (cal-tex-weekly-common):
2970 Restore leading blank page.
2971
61a48e19 29722012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2973
2974 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2975 the region under `shift-select-mode'. (Bug#12231)
2976
29772012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2978
2979 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2980 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2981 gives details on why the space is never needed.
2982
ea95074e
MR
29832012-08-22 Martin Rudalics <rudalics@gmx.at>
2984
9fba804b
SM
2985 * window.el (walk-window-tree, window-with-parameter):
2986 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2987 should run on the minibuffer window.
2988 (window-at-side-list): Don't operate on minibuffer window.
2989 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2990 (window--size-ignore): Rename to window--size-ignore-p.
2991 Update callers.
caceae25
MR
2992 (display-buffer-in-atom-window, window--major-non-side-window)
2993 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2994 (delete-side-window, display-buffer-in-side-window):
2995 New functions.
caceae25
MR
2996 (window--side-check, window-deletable-p, delete-window)
2997 (delete-other-windows, split-window): Handle side windows and
2998 atomic windows appropriately.
2999 (window--display-buffer): Call display-buffer-record-window also
3000 when the window buffer did not change.
ea95074e 3001
80a51fa0
CS
30022012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3003
3004 * help-fns.el (help-fns--key-bindings):
3005 Abbreviate non-symbol remap targets. (Bug#12174)
3006
fbb6300b
MR
30072012-08-22 Martin Rudalics <rudalics@gmx.at>
3008
3009 * dired.el (dired-mark-remembered): Don't clobber point.
3010 (Bug#11795)
3011
2b2c0794
GM
30122012-08-22 Glenn Morris <rgm@gnu.org>
3013
3014 * progmodes/bug-reference.el (bug-reference): New custom group.
3015 (bug-reference-bug-regexp): Make it a defcustom.
3016
37219830
DU
30172012-08-22 Daiki Ueno <ueno@unixuser.org>
3018
3019 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3020 (js-paren-indent-offset, js-square-indent-offset)
3021 (js-curly-indent-offset): Add :safe (Bug#12257).
3022
94e0e559
EC
30232012-08-22 Edward O'Connor <hober0@gmail.com>
3024
3025 * json.el (json-key-format): Add error properties.
3026 (json-encode-key): New function.
3027 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3028 Use json-encode-key.
3029
da485f5e
GM
30302012-08-22 Glenn Morris <rgm@gnu.org>
3031
3032 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3033 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3034 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3035 Update for above change.
3036
c6cc78b8
AS
30372012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3038
3039 * cus-face.el (custom-face-attributes): Fix customize type for the
3040 :underline attribute. (Bug#11805)
3041
5481664a
MR
30422012-08-21 Martin Rudalics <rudalics@gmx.at>
3043
3044 * window.el (window-point-1, set-window-point-1): Remove.
3045 (window-in-direction, record-window-buffer)
3046 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3047 (window--state-get-1, display-buffer-record-window):
3048 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3049 window-point and set-window-point respectively.
3050
6d74698e
GM
30512012-08-21 Glenn Morris <rgm@gnu.org>
3052
b7fa2691
GM
3053 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3054 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3055 Use it.
3056
52f56d5a
GM
3057 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3058 (cal-tex-shortday): New function.
3059 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3060 (cal-tex-cursor-filofax-daily): Use the above.
3061
9f1ee09e
GM
3062 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3063 New functions.
3064 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3065 (cal-tex-cursor-filofax-week): Use them.
3066
79858159
GM
3067 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3068 New constants.
3069 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3070 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3071
d346b2b4
GM
3072 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3073 (cal-tex-end-document): Don't rely on buffer name.
3074
b2403709
GM
3075 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3076 Use cal-tex-vspace.
3077 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3078 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3079 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3080 Use cal-tex-arg.
b2403709 3081
1cebb5c0
GM
3082 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3083 (cal-tex-cursor-week, cal-tex-cursor-week2)
3084 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3085 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3086 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3087 (cal-tex-insert-preamble, cal-tex-b-document)
3088 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3089 Improve cal-tex-cmd usage.
3090
c68cd5d4
GM
3091 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3092 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3093 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3094 (cal-tex-weekly-paper): New function.
3095 (cal-tex-cursor-week, cal-tex-cursor-week2)
3096 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3097 (cal-tex-cursor-day): Use it.
3098
9dca4801
GM
3099 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3100 (cal-tex-cursor-filofax-week): Remove leading blank page.
3101
1941e134
GM
3102 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3103 Add autoload cookie. For now at least, don't use color, since
3104 no other cal-tex function does.
3105
6d74698e
GM
3106 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3107 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3108 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3109
64cde199
JL
31102012-08-21 Juri Linkov <juri@jurta.org>
3111
3112 * info.el (Info-file-attributes): New variable.
3113 (info-insert-file-contents): Add file attributes to
3114 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3115 `Info-toc-nodes' when previous modtime of the Info file is less
3116 than new modtime.
3117 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3118 of info.el. (Bug#12230)
3119
32757648
GM
31202012-08-20 Glenn Morris <rgm@gnu.org>
3121
3122 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3123 * calendar/holidays.el (calendar-holiday-list):
3124 Report errors with display-warning rather than beep'n'sleep.
3125
a32fbbcf
MA
31262012-08-20 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/tramp.el (tramp-accept-process-output): Accept only output
3129 from PROC. Otherwise, process filters and sentinels might be
3130 confused. (Bug#12145)
3131
a05731a0
CY
31322012-08-20 Chong Yidong <cyd@gnu.org>
3133
3134 * descr-text.el (describe-text-properties-1): Use overlays-in to
3135 report on empty overlays (Bug#3322).
3136
36e8d1eb
GM
31372012-08-20 Glenn Morris <rgm@gnu.org>
3138
3d300447
GM
3139 * mail/rmailout.el (rmail-output-read-file-name):
3140 Trap and report errors in rmail-output-file-alist elements.
3141
36e8d1eb
GM
3142 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3143 since most non-font-lock faces are not also variables).
3144
b96e5814
ER
31452012-08-20 Edward Reingold <reingold@iit.edu>
3146
3147 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3148 New function. (Bug12160)
3149
7cef3569
GM
31502012-08-19 Glenn Morris <rgm@gnu.org>
3151
3152 * mail/rmailout.el (rmail-output-read-file-name):
3153 Fix previous change (when the alist is nil or does not match).
3154
17975d7f
CY
31552012-08-19 Chong Yidong <cyd@gnu.org>
3156
3157 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3158 (Bug#12228).
3159
2170b1bd
CY
31602012-08-18 Chong Yidong <cyd@gnu.org>
3161
3162 * simple.el (yank-handled-properties): New defcustom.
3163 (yank-excluded-properties): Add font-lock-face and category.
3164 (yank): Doc fix.
3165
9fba804b
SM
3166 * subr.el (remove-yank-excluded-properties):
3167 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3168 and category is now done this way, instead of being hard-coded.
3169 (insert-for-yank-1): Remove font-lock-face handling.
3170 (yank-handle-font-lock-face-property)
3171 (yank-handle-category-property): New function.
3172
ee218151
GM
31732012-08-17 Glenn Morris <rgm@gnu.org>
3174
3175 * mail/rmailout.el (rmail-output-read-file-name):
3176 Check rmail-output-file-alist against the full message body
3177 in the correct rmail buffer. (Bug#12214)
3178
4a6bc3fd
MA
31792012-08-17 Michael Albinus <michael.albinus@gmx.de>
3180
9fba804b
SM
3181 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3182 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3183
383dcbf9
CY
31842012-08-17 Chong Yidong <cyd@gnu.org>
3185
3186 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3187 font spec, set the font directly (Bug#3228).
3188
998c4a6a
MR
31892012-08-17 Martin Rudalics <rudalics@gmx.at>
3190
3191 * window.el (delete-window): Fix last fix.
3192
52162052
MR
31932012-08-16 Martin Rudalics <rudalics@gmx.at>
3194
3195 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3196 (window-child, window-child-count, window-last-child)
3197 (window-normalize-window, window-combined-p)
3198 (window-combinations, window-atom-root, window-min-size)
3199 (window-sizable, window-sizable-p, window-size-fixed-p)
3200 (window-min-delta, window-max-delta, window--resizable)
3201 (window--resizable-p, window-resizable, window-total-size)
3202 (window-full-height-p, window-full-width-p, window-body-size)
3203 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3204 (minimize-window, window-deletable-p, delete-window)
3205 (delete-other-windows, set-window-buffer-start-and-point)
3206 (next-buffer, previous-buffer, split-window, balance-windows-2)
3207 (set-window-text-height, window-buffer-height)
3208 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3209 (truncated-partial-width-window-p): Minor code adjustments.
3210 In doc-strings state whether the argument window has to denote a
85c2386b 3211 live, valid or any window.
52162052 3212
1c308380
PS
32132012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3214
3215 * progmodes/subword.el (subword-forward-function)
3216 (subword-backward-function, subword-forward-regexp)
3217 (subword-backward-regexp): New variables.
3218 (subword-forward, subword-forward-internal, subword-backward-internal):
3219 Use new variables, eg so that different "word" definitions
3220 can be easily used. (Bug#11411)
3221
94c9ece1
SM
32222012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3225 for composite selectors.
3226 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3227 operation just because we can't find a previous revision.
3228
f2045622
CY
32292012-08-15 Chong Yidong <cyd@gnu.org>
3230
3231 * frame.el (set-frame-font): Accept font objects.
3232
582db660
SM
32332012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3236
2f29c200
WJ
32372012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3238
456e62c2
WJ
3239 * man.el (Man-overstrike-face, Man-underline-face)
3240 (Man-reverse-face): Remove variables.
3241 (Man-overstrike, Man-underline, Man-reverse): New faces.
3242 (Man-fontify-manpage): Use them instead of the variables.
3243 (Man-cleanup-manpage): Comment change.
3244 (Man-ansi-color-map): New variable.
3245 (Man-fontify-manpage): Use it.
3246 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3247
2f29c200
WJ
3248 Implement ANSI SGR parameters 22-27 (bug#12146).
3249 * ansi-color.el (ansi-colors): Doc fix.
3250 (ansi-color-context, ansi-color-context-region): Doc fix.
3251 (ansi-color--find-face): New function.
3252 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3253 Rename the local variable `face' to `codes' since it is now a list of
3254 ansi codes. Doc fix.
3255 (ansi-color-get-face): Remove.
3256 (ansi-color-parse-sequence): New function, derived from
3257 ansi-color-get-face.
3258 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3259 codes 22-27.
3260
b4f5e9df
SM
32612012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * subr.el (read-passwd): Allow use from a minibuffer.
3264
ba025fbd
EZ
32652012-08-14 Eli Zaretskii <eliz@gnu.org>
3266
3267 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3268 inside comments and strings as identifiers.
3269
3270 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3271 expression to evaluate. This allows to evaluate expressions with
3272 embedded whitespace.
3273 (gud-tooltip-tips): Add a blank before the newline in the
3274 message-box text, for the benefit of message-box emulation on
3275 MS-Windows.
3276
3277 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3278 messages from GDB, pop them up in a tooltip to give feedback to
3279 user.
b4f5e9df
SM
3280 (gdb-tooltip-print-1): Quote the expression to evaluate.
3281 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3282 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3283 if the TTY name is nil or empty (which happens when communicating
3284 with the inferior via pipes, e.g. on MS-Windows).
3285 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3286 don't send that to the GUD buffer.
3287
c548f821
GM
32882012-08-14 Glenn Morris <rgm@gnu.org>
3289
3290 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3291 Optimize away setq-default with no args, as for setq. (Bug#12195)
3292
55802e4a
CY
32932012-08-14 Chong Yidong <cyd@gnu.org>
3294
4abcdac8
CY
3295 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3296
55802e4a
CY
3297 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3298 (Bug#12085).
3299
3c3cda1a
GM
33002012-08-14 Glenn Morris <rgm@gnu.org>
3301
3302 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3303
e1873bd0
MA
33042012-08-14 Michael Albinus <michael.albinus@gmx.de>
3305
3306 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3307 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3308 Use cached shell name.
3309
925411b4
FEG
33102012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3311
3312 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3313 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3314
e636fafe
DG
33152012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3316
3317 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3318 (ruby-percent-literal-beg-re): New constant.
3319 (ruby-syntax-general-delimiters-goto-beg): Rename to
3320 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3321 (ruby-syntax-propertize-general-delimiters): Rename to
3322 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3323 popular term. Adjust comments everywhere.
3324 (ruby-syntax-propertize-percent-literal): Only propertize when not
3325 inside a simple string or comment. When the literal is unclosed,
3326 leave the text after it unpropertized.
f063063a
DG
3327 (ruby-syntax-methods-before-regexp): New constant.
3328 (ruby-syntax-propertize-function): Use it to recognize regexps.
3329 Don't look at the text after regexp, just use the whitelist.
e636fafe 3330
e5b19827
AS
33312012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3332
3333 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3334 non-nil always load the compiled file if it exists. (Bug#12197)
3335
a9f6f311
CY
33362012-08-14 Chong Yidong <cyd@gnu.org>
3337
3338 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3339 (hi-lock-set-pattern): When deciding whether to use font lock or
3340 overlays, look at font-lock-mode instead of font-lock-fontified
3341 (Bug#12168).
3342 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3343 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3344
7d806b1e
DU
33452012-08-14 Daiki Ueno <ueno@unixuser.org>
3346
3347 * subr.el (internal--after-with-selected-window): Fix typo
3348 (Bug#12193).
3349
5beed586
FEG
33502012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3351
3352 Use `completion-table-dynamic' for completion functions.
3353 * progmodes/python.el
3354 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3355 (python-shell-completion--get-completions):
3356 Remove functions.
5beed586
FEG
3357 (python-shell-completion-complete-at-point): New function.
3358 (python-completion-complete-at-point): Use it.
3359
92cb3b04
J
33602012-08-13 Jambunathan K <kjambunathan@gmail.com>
3361
3362 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3363 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3364
89660017
SM
33652012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3c98c962
SM
3367 * subr.el (function-get): Refine `autoload' arg so it can also
3368 autoload functions for gv.el (bug#12191).
3369 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3370 autoloads macros.
3371
aa7c6dbe
SM
3372 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3373 Prefer pcase-let over destructuring-bind.
3374 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3375 Also, remove whitespace as we go, rather than after accumulating the
3376 various places.
3377
89660017
SM
3378 * subr.el (internal--before-with-selected-window)
3379 (internal--after-with-selected-window): Fix typo seleted->selected.
3380 (with-selected-window): Adjust callers.
3381 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3382
31cd32c9
BG
33832012-08-13 Bastien Guerry <bzg@gnu.org>
3384
0fcd3d9f 3385 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3386 enhancement. (Bug#12172)
3387
1b15d8ad
AS
33882012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3389
31e54db0
AS
3390 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3391 type 1-6.
3392 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3393 extended headers.
3394
1b15d8ad
AS
3395 * files.el (hack-local-variables-filter): Remove useless eval.
3396
35cb9c06
MR
33972012-08-13 Martin Rudalics <rudalics@gmx.at>
3398
3399 * subr.el (with-selected-window): Fix last change.
3400
1439443b
SM
34012012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3402
3403 * subr.el (internal--before-with-seleted-window)
3404 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3405 (with-selected-window): Use them, to replace dependency on
3406 tty-top-frame.
1439443b 3407
0d9e2599
NN
34082012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3409
3410 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3411 binding for `newline'.
3412 (ruby-move-to-block): When moving backward, stop at block opening,
3413 not indentation.
3414 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3415 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3416 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3417 `ruby-toggle-block'.
3418
ba10c48c
SM
34192012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * ibuffer.el (ibuffer-do-toggle-read-only):
3422 * dired.el (dired-toggle-read-only):
3423 * buff-menu.el (Buffer-menu-toggle-read-only):
3424 * bindings.el (mode-line-toggle-read-only):
3425 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3426
9229c658
AS
34272012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3428
3429 * descr-text.el (describe-char): Put the overlays over the
3430 "displayed as" character.
3431
0fd09128
JB
34322012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3433
3434 * calc/calc-units.el (math-default-units-table): Give an
3435 initial value.
3436 (math-put-default-units): Add options to put composite units and
3437 unit systems in the default units table.
3438 (calc-convert-units): Send composite units to
3439 `math-put-default-units' when appropriate.
3440
9ff9402d 34412012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3442
fbb5e336
GM
3443 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3444
7aacaf15
GM
3445 * tutorial.el (help-with-tutorial):
3446 * emacs-lisp/copyright.el (copyright-update-directory):
3447 * emacs-lisp/autoload.el (autoload-find-generated-file)
3448 (autoload-find-file): Disable local eval: (for insurance).
3449
f40b9f10
GM
3450 * files.el (hack-local-variables-filter): If an eval: form is not
3451 known to be safe, and enable-local-variables is :safe, then ignore
3452 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3453 This is CVE-2012-3479.
f40b9f10 3454
daa9f1a6
SM
34552012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3458 (rx-form): Simplify.
3459
9cd80478
DG
34602012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3461
0d9e2599
NN
3462 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3463 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3464 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3465 (ruby-syntax-propertize-function): Adjust for changes in
3466 `ruby-syntax-propertize-heredoc'.
3467
34682012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3469
9cd80478
DG
3470 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3471 binding (use `M-;' instead).
9cd80478 3472 (ruby-singleton-class-p): New function.
0d9e2599 3473 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3474
d301b413
SM
34752012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3478
1530c98e
CY
34792012-08-10 Chong Yidong <cyd@gnu.org>
3480
3481 * progmodes/python.el (python-shell-get-process-name): Don't mess
3482 with same-window-buffer-names.
3483
3484 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3485 (eshell-remove-from-window-buffer-names): Make obsolete.
3486 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3487 (eshell): Just use pop-to-buffer-same-window instead.
3488
e1293765
CY
34892012-08-10 Chong Yidong <cyd@gnu.org>
3490
3491 * bindings.el: Bind M-= back to count-words-region.
3492
3493 * simple.el (count-words-region): Accept a prefix arg for acting
3494 on the entire buffer.
3495 (count-words--buffer-message): New helper function.
3496
e1894109
SM
34972012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3500 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3501 (event-start, event-end): Use posn-at-point to return a more
3502 informative posn.
3503 (posnp): New function.
3504 * mouse.el (popup-menu-normalize-position): Use it.
3505
c69f56a2
MY
35062012-08-10 Masatake YAMATO <yamato@redhat.com>
3507
3508 * mouse.el (popup-menu-normalize-position): New function.
3509 (popup-menu): Use `popup-menu-normalize-position' to normalize
3510 the form for POSITION argument.
3511
3512 * term/x-win.el (x-menu-bar-open):
3513 Use the value returend from (posn-at-point) as position
3514 passed to `popup-menu'.
3515
31673780
JB
35162012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3517
3518 * calc/calccomp.el (math-compose-expr): Add extra argument
3519 indicating that parentheses should be put around products in
3520 denominators. Give multiplication precedence over division during
3521 composition.
3522
dab7711b
CY
35232012-08-09 Chong Yidong <cyd@gnu.org>
3524
dee4ef93
CY
3525 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3526 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3527 (Man-untabify-command, manual-program): Convert to defcustom
3528 (Bug#10429).
3529
73e2bbc5
CY
3530 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3531
3e861c8a
CY
3532 * descr-text.el (describe-char): Don't insert extra newlines
3533 (Bug#10127).
3534
a9f5a649
CY
3535 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3536 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3537
dab7711b
CY
3538 * align.el (align-region): Delete temporary markers (Bug#10047).
3539 Plus some code cleanups.
3540
e0cc4efa
FEG
35412012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3542
3543 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3544 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3545 (python-shell-internal-last-output): Use make-local-variable
3546 instead of make-variable-buffer-local.
3547
489af14f
FEG
35482012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3549
3550 * progmodes/python.el: Enhancements to forward-sexp.
3551 (python-nav-forward-sexp): Rename from
3552 python-nav-forward-sexp-function.
c69f56a2
MY
3553 (python-nav--forward-sexp, python-nav--backward-sexp):
3554 New functions.
489af14f 3555
0fc50303
JB
35562012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3557
3558 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3559 modes and simplification modes.
3560
5d65606a
SM
35612012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * delsel.el (delete-selection-pre-hook): Don't propagate the
3564 file-supersession signals (bug#12161).
3565
4250fdf5
SM
35662012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3569 (cl-map-extents): Add compatibility aliases (bug#12135).
3570
d9f9b465
MA
35712012-08-08 Michael Albinus <michael.albinus@gmx.de>
3572
3573 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3574 tests by `ignore-error'.
3575 (tramp-find-shell): Open also a new shell, when cache is already
3576 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3577
ce0fcefa
JL
35782012-08-08 Juri Linkov <juri@jurta.org>
3579
3580 * bookmark.el: Add `defaults' property to the bookmark record.
3581 (bookmark-current-buffer): Doc fix.
3582 (bookmark-make-record): Add `defaults' property with default values
3583 to the bookmark record.
3584 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3585 with `bookmark-insert-current-bookmark'.
3586 (bookmark-set): Get `defaults' property from the bookmark record
3587 and use it in `read-from-minibuffer'.
3588 (bookmark-insert-current-bookmark): Remove function.
3589
3590 * info.el (Info-bookmark-make-record): Add `defaults' property
3591 with values of canonical Info node name, the current Info file
3592 name and the current Info node name. (Bug#12107)
3593
53fa8652
JL
35942012-08-08 Juri Linkov <juri@jurta.org>
3595
3596 * files.el (basic-save-buffer): Use `buffer-name' as the default
3597 of `read-file-name' when buffer is not visiting a file (bug#12128).
3598
242c0a95
JL
35992012-08-08 Juri Linkov <juri@jurta.org>
3600
3601 * info.el (Info-isearch-search): Doc fix.
3602 (Info-search): Change search-failed message from "initial node" to
3603 "end of node" (bug#12078).
3604 (Info-isearch-search): Change `isearch-string-state' to
3605 `isearch--state-string'.
3606
32ac3a6b
GM
36072012-08-08 Glenn Morris <rgm@gnu.org>
3608
3609 * language/persian.el: Remove file.
f8c1afd5 3610 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3611 * loadup.el: Remove language/persian.
3612
2c2d9c9c
OF
36132012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3614
3615 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3616
2d79ec42
FEG
36172012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3618
3619 * progmodes/python.el Fixed defsubst warning.
3620 (python-syntax-context) Rename from python-info-ppss-context.
3621 (python-syntax-context-type): Rename from
3622 python-info-ppss-context-type.
3623 (python-syntax-comment-or-string-p): Rename from
3624 python-info-ppss-comment-or-string-p.
3625
2bd255dd
JB
36262012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3627
3628 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3629
c395097f
AS
36302012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3631
6125983e
AS
3632 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3633 a defcustom that is quoted with backquote.
3634
4250fdf5
SM
3635 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3636 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3637 (math-do-arg-check, math-define-function-body): Use backquote forms.
3638 * calc/calc-ext.el (math-defcache): Likewise.
3639 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3640 * allout.el (allout-new-exposure): Likewise.
3641 * calc/calcalg2.el (math-tracing-integral): Likewise.
3642 * info.el (Info-last-menu-item): Likewise.
3643 * emulation/vip.el (vip-loop): Likewise.
3644 * textmodes/artist.el (artist-funcall): Likewise.
3645 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3646 Construct menu-item directly.
3647
4250fdf5
SM
3648 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3649 Don't declare.
c395097f 3650
5fb50dd3
CY
36512012-08-07 Chong Yidong <cyd@gnu.org>
3652
3653 * simple.el (deactivate-mark): Preserve text properties when
3654 saving the primary selection (Bug#8384).
3655
54eea618
KR
36562012-08-07 Kevin Ryde <user42@zip.com.au>
3657
3658 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3659 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3660 and continue processing (Bug#12110).
3661
638eaeb9
SM
36622012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3665 syntax-propertize-function (bug#10095).
3666
ea376861
SM
36672012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3668
f91b35be
SM
3669 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3670 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3671 describe-function-1.
3672 (describe-function-1): Use them. Move compiler macro after sig.
3673 (help-fns--compiler-macro): Use function-get. Assume we're already in
3674 standard-output. Adjust layout to new call order.
3675
ea376861
SM
3676 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3677 re-binding a symbol that has a symbol-macro (bug#12119).
3678
d5be7bd0
MB
36792012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3680
3681 * language/persian.el: New file. (Bug#11812)
3682 * loadup.el: Add language/persian.el.
3683
90749b53
CY
36842012-08-06 Chong Yidong <cyd@gnu.org>
3685
3686 * window.el (window--maybe-raise-frame): New function.
3687 (window--display-buffer): Split off from here.
3688 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3689 (display-buffer-pop-up-window, display-buffer-use-some-window):
3690 Obey an inhibit-switch-frame action alist entry.
3691 (display-buffer): Update doc.
3692
3693 * replace.el (occur-after-change-function): Avoid losing focus by
3694 using the inhibit-switch-frame display parameter (Bug#12139).
3695
ba7b0154
FEG
36962012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3697
3698 Make internal shell process buffer names start with space.
3699 * progmodes/python.el (python-shell-make-comint): Add optional
3700 argument INTERNAL.
3701 (run-python-internal): Use it.
3702 (python-shell-internal-get-or-create-process): Check for new
3703 internal buffer names.
3704
5eaeacb5
GM
37052012-08-06 Glenn Morris <rgm@gnu.org>
3706
e296d94b 3707 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3708 Do less getting and setting of environment variables.
3709
b7ccbdc2
CY
37102012-08-05 Chong Yidong <cyd@gnu.org>
3711
777fe95e
CY
3712 * proced.el (proced): Add substitution string to docstring to
3713 trigger autoloading of the proced library on C-h f (Bug#1768).
3714
4250fdf5
SM
3715 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3716 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3717
3718 * imenu.el (imenu-generic-expression): Move documentation here
3719 from imenu--generic-function.
3720 (imenu--generic-function): Refer to imenu-generic-expression.
3721
9e3b7800 37222012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3723
3724 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3725 indentation declaration.
3726 (viper-loop): Add indentation declaration (Bug#7025).
3727
e5d9c0d1
CY
37282012-08-05 Chong Yidong <cyd@gnu.org>
3729
f0422feb
CY
3730 * help-fns.el (describe-variable): Add hyperlink for
3731 directory-local variables files. Improve buffer-local and
3732 permanent-local reporting; suggested by MON KEY (Bug#6644).
3733
3734 * help-mode.el (help-dir-local-var-def): New button type.
3735
e5d9c0d1
CY
3736 * files.el (kill-buffer-hook): Provide a defvar.
3737
a4f2deaa
GM
37382012-08-05 Glenn Morris <rgm@gnu.org>
3739
3740 * eshell/esh-ext.el (eshell/addpath):
3741 Also update eshell-path-env. (Bug#12013)
3742
a9dd5754
CY
37432012-08-05 Chong Yidong <cyd@gnu.org>
3744
a4f2deaa 3745 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3746
d014c740
CY
3747 * fringe.el (fringe-styles): Add docstring.
3748 (fringe--check-mode): New function.
3749 (set-fringe-mode, set-fringe-style): Use it.
3750 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3751
a9dd5754
CY
3752 * files.el (set-auto-mode): Fix invalid setq call.
3753
7c2dc8bd
SM
37542012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * isearch.el: Misc simplification; use defstruct.
3757 (isearch-mode-map): Dense maps now work like sparse ones.
3758 (isearch--state): New defstruct.
3759 (isearch-string-state, isearch-message-state, isearch-point-state)
3760 (isearch-success-state, isearch-forward-state)
3761 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3762 (isearch-wrapped-state, isearch-barrier-state)
3763 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3764 replaced by defstruct's accessors.
3765 (isearch--set-state): Rename from isearch-top-state and change
3766 calling convention.
3767 (isearch-push-state): Use new isearch--get-state.
3768 (isearch-toggle-word): Disable regexp when enabling word.
3769 (isearch-message-prefix): Remove unused arg _c-q-hack.
3770 (isearch-message-suffix): Remove unused arg _ellipsis.
3771
7fcc0070
AS
37722012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3773
3774 * simple.el (list-processes--refresh): For a server use :host or
3775 :local as the address.
97ad0769 3776 (list-processes): Doc fix.
7fcc0070 3777
a11035b8 37782012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3779
3780 * lisp/mpc.el: Support password in host argument.
3781 (mpc--proc-connect): Parse and use new password element.
3782 Set mpc-proc variable instead of returning process.
3783 (mpc-proc): Adjust accordingly.
3784
6dad7178
EZ
37852012-08-03 Eli Zaretskii <eliz@gnu.org>
3786
18949c2f
EZ
3787 * whitespace.el (whitespace-display-mappings): Use Unicode
3788 codepoints, instead of emacs-mule codepoints. See
3789 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3790 for the details.
3791
6dad7178
EZ
3792 * files.el (file-truename): Don't skip symlink-chasing part on
3793 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3794 Windows into the loop that recursively chases symlinks.
3795 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3796 MS-DOS.
3797
385b0198
CY
37982012-08-03 Chong Yidong <cyd@gnu.org>
3799
6200f3c4
CY
3800 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3801
385b0198
CY
3802 * sort.el (sort-regexp-fields): Doc fix.
3803
b9e74744
TH
38042012-08-03 Tassilo Horn <tsdh@gnu.org>
3805
3806 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3807 labels regex position point at the expected place.
3808
41013cb4
MK
38092012-08-03 MON KEY <monkey@sandpframing.com>
3810
3811 * net/imap.el (imap-interactive-login, imap-authenticate)
3812 (imap-mailbox-lsub, imap-mailbox-list)
3813 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3814 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3815 (imap-parse-response): Doc fix.
3816
0ffee616
JT
38172012-08-03 João Távora <joaotavora@gmail.com>
3818
3819 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3820 if sexp scanning does not move point (Bug#5734).
3821
cfcc9cc8
TH
38222012-08-02 Tassilo Horn <tsdh@gnu.org>
3823
3824 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3825 Add listings, minted, and ctable packages.
3826 (reftex-label-alist-builtin): Move listings, minted, and ctable
3827 entries before LaTeX.
a01bbb84 3828 (reftex-label-alist): Docfix.
cfcc9cc8 3829
66ec2442
BG
38302012-08-02 Bastien Guerry <bzg@gnu.org>
3831
3832 * replace.el (occur): Fix docstring (bug#12122).
3833
837b365b
GM
38342012-08-02 Glenn Morris <rgm@gnu.org>
3835
3836 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3837
e098de97
PE
38382012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3839
3840 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3841 * international/mule-cmds.el: Create
3842 inactivate-current-input-method-function as an obsolete alias for
3843 deactivate-current-input-method-function. See Katsumi Yamaoka in
3844 <http://bugs.gnu.org/10150#46>.
3845
a0f95636
JB
38462012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3847
3848 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3849 of nested `if's.
3850
0d26d7c4
GM
38512012-08-01 Glenn Morris <rgm@gnu.org>
3852
3853 * progmodes/autoconf.el (autoconf-definition-regexp):
3854 Add AH_TEMPLATE, adjust submatch numbering.
3855 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3856 (autoconf-current-defun-function): Update for above change.
3857 (autoconf-current-defun-function): First skip to end of current word.
3858
b686ba06
RS
38592012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3860
3861 * calendar/cal-html.el (cal-html-insert-agenda-days):
3862 Fix typo. (Bug#12018)
3863
0d49da68
FEG
38642012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3865
3866 Shell processes: enhancements to startup and CEDET compatibility.
3867 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3868 (python-shell-make-comint): accept-process-output at startup.
3869 (run-python-internal): Set inferior-python-mode-hook to nil.
3870 (python-shell-internal-get-or-create-process): call sit-for.
3871 (python-preoutput-result): Add obsolete alias.
3872 (python-shell-internal-send-string): Use it.
3873 (python-shell-send-setup-code): Remove call to
3874 accept-process-output.
3875
f1a71c6e
AS
38762012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3877
3878 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3879 (Bug#12108)
3880
d2605269
JB
38812012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3882
3883 * calc-mode.el (calc-basic-simplification-mode): Rename from
3884 `calc-limited-simplification-mode'.
3885 (calc-alg-simplification-mode): New function.
fc0c31f8 3886 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3887
d2605269
JB
3888 * calc.el (calc-set-mode-line): Adjust mode line display for
3889 basic simplification mode.
3890
3891 * calc-help.el (calc-m-prefix-help): Update help message.
3892
3893 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3894 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3895
a3827a43
BG
38962012-07-31 Bastien Guerry <bzg@gnu.org>
3897
3898 * man.el (man): Fix comment. (bug#12101)
3899
502e3f89
MR
39002012-07-31 Martin Rudalics <rudalics@gmx.at>
3901
3902 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3903 Don't return a non-nil value when no suitable buffer was found.
3904
d7714961
FEG
39052012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3906
3907 * progmodes/python.el (run-python-internal): Disable font lock for
3908 internal shells.
3909
1f45e27e
SM
39102012-07-30 Stefan Merten <smerten@oekonux.de>
3911
70efc5c9 3912 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3913 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3914 (rst-official-version, rst-official-cvs-rev)
3915 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3916 (rst-mode-map): New key binding.
3917
0aee6912
PE
39182012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3919
3920 Update .PHONY listings in makefiles.
3921 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3922 autoloads, update-subdirs, updates, bzr-update, update-authors,
3923 compile-onefile, compile-calc, backup-compiled-files,
3924 compile-after-backup, compile-one-process, mh-autoloads,
3925 bootstrap-clean, distclean, maintainer-clean.
3926
9052f9f0
JB
39272012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3928
1823ac5a
JB
3929 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3930 (calc-set-mode-line): Don't display "AlgSimp ".
3931
3932 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3933 (calc-lim-simplify-mode): New function.
3934 (calc-set-simplify-mode): Default to 'alg.
3935 (calc-default-simplify-mode): Make algebraic simplifications
3936 the default.
3937
3938 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3939 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3940
8d7c7eed 3941 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3942 indicate new simplification modes.
3943
1823ac5a
JB
3944 * calc/README: Mention new default simplification mode.
3945
9052f9f0
JB
3946 * calc/calc.el (math-normalize-error): New variable.
3947 (math-normalize): Set `math-normalize-error' to t
3948 when there's an error.
3949
3950 * calc/calc-alg.el (math-simplify): Don't simplify when
3951 `math-normalize' returns an error.
3952
20ba0cb4
EZ
39532012-07-29 Eli Zaretskii <eliz@gnu.org>
3954
3955 * international/mule-cmds.el (set-locale-environment): Revert last
3956 change, since display-graphic-p returns nil when this function is
3957 called during startup. Instead...
3958
3959 * term/w32console.el (terminal-init-w32console): ...setup the
3960 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3961
a5dcc929
JL
39622012-07-29 Juri Linkov <juri@jurta.org>
3963
3964 * simple.el (goto-line): Don't display default line number in the
3965 prompt because it should be displayed by `read-number' (bug#9952).
3966 Add the current line number to the defaults of `goto-line' to
3967 allow its easier modification by users with `M-n' (bug#9201).
3968
3969 * subr.el (read-number): Support multiple default values like in
3970 other minibuffer reading functions. Replace `read' with
3971 `string-to-number' for consistency with `number-to-string'.
3972
72b255c7
PE
39732012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3974
3975 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3976 * emulation/viper-init.el (viper-deactivate-input-method-action):
3977 Rename from viper-inactivate-input-method-action.
3978 (viper-deactivate-input-method):
3979 Rename from viper-inactivate-input-method.
3980 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3981 * international/mule-cmds.el (deactivate-input-method):
3982 Rename from inactivate-input-method.
3983 Also run input-method-deactivate-hook.
3984 (deactivate-current-input-method-function):
3985 Rename from inactivate-current-input-method-function.
3986 (input-method-deactivate-hook): New hook.
3987 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3988 (inactivate-input-method): Mark obsolete.
3989
72b255c7
PE
3990 * international/quail.el (quail-activate):
3991 Also run quail-deactivate-hook.
3992 (quail-deactivate): Rename from quail-inactivate.
3993 * international/robin.el (robin-activate):
3994 Also run robin-deactivate-hook.
3995 (robin-deactivate): Rename from robin-inactivate.
3996
2549c068
CY
39972012-07-29 Chong Yidong <cyd@gnu.org>
3998
3999 * simple.el (indicate-copied-region): New function.
4000 (kill-ring-save): Split off from here.
4001
4002 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4003 (kill-rectangle): Set deactivate-mark to t on read-only error.
4004
4005 * register.el (copy-to-register, copy-rectangle-to-register):
4006 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4007 (append-to-register, prepend-to-register): Call indicate-copied-region.
4008
40092012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4010
4011 * simple.el (async-shell-command-buffer): New defcustom.
4012 (shell-command): Use it. (Bug#4719)
4013
01bd1b0d
EZ
40142012-07-28 Eli Zaretskii <eliz@gnu.org>
4015
4016 * international/mule-cmds.el (set-locale-environment): In a
4017 console session on MS-Windows, set up keyboard and terminal
4018 encoding from the OEM codepage, not the ANSI codepage.
4019 (Bug#12055)
4020
a55739d3
CY
40212012-07-28 Chong Yidong <cyd@gnu.org>
4022
4023 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4024 gdb-get-location.
4025
0e1a094f 40262012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4027
4028 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4029 the alist (bug#12029).
4030
20329d73
EZ
40312012-07-28 Eli Zaretskii <eliz@gnu.org>
4032
4033 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4034 (compile-always, compile-first)
4035 ($(lisp)/calendar/cal-loaddefs.el)
4036 ($(lisp)/calendar/diary-loaddefs.el)
4037 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4038 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4039 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4040 instead of on update-subdirs.
4041 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4042
345a2258
CY
40432012-07-28 Chong Yidong <cyd@gnu.org>
4044
1eee6341
CY
4045 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4046 directory if vc-deduce-backend returns nil (Bug#7350).
4047
345a2258
CY
4048 * simple.el (delete-trailing-lines): New option.
4049 (delete-trailing-whitespace): Obey it (Bug#11879).
4050
049a0936
DE
40512012-07-28 David Engster <deng@randomsample.de>
4052
4053 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4054 Explanation of new 'symbol-qnames feature in doc-strings.
4055 (xml-maybe-do-ns): Return expanded names as plain symbols if
4056 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4057 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4058
aa81af71
FEG
40592012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4060
4061 Consistent completion in inferior python with emacs -nw.
4062 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4063 binding in inferior-python-mode-map with "\t".
4064 (python-shell-completion-complete-at-point)
4065 (python-completion-complete-at-point): Remove interactive spec.
4066
e827b1eb
JB
40672012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4068
4069 * calc/calccomp.el (math-compose-expr): Undo previous change.
4070
a90dfb95
FEG
40712012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4072
4250fdf5 4073 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4074 run-python.
4075 (python-shell-make-comint): Fix pop-to-buffer call.
4076 (run-python): Autoload. New arg SHOW.
4077 (python-shell-get-or-create-process): Do not pop python process
4078 buffer.
4079
32770973 40802012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4081
4082 * notifications.el (notifications-on-action-signal)
4083 (notifications-on-closed-signal): Use also the bus address for the map.
4084 (notifications-notify, notifications-close-notification)
fc0c31f8 4085 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4086
86332df2
TH
40872012-07-27 Tassilo Horn <tsdh@gnu.org>
4088
4250fdf5
SM
4089 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4090 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4091 ctable macro.
4092 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4093 labels written in keyvals syntax.
4094
ca1302a4
JB
40952012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4096
4097 * calc/calccomp.el (math-compose-expr): Use parentheses when
4098 there is a product in the denominator of a fraction.
4099
f8b91036
EZ
41002012-07-26 Eli Zaretskii <eliz@gnu.org>
4101
4102 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4103 ($(lisp)/calendar/diary-loaddefs.el)
4104 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4105 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4106 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4107 rewritten while the autoload files are built at the same time,
4108 which needs to load subdirs.el.
4109
c8e5a42c
MR
41102012-07-26 Martin Rudalics <rudalics@gmx.at>
4111
4112 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4113 (mouse-drag-line): Don't exit tracking when a switch-frame or
4114 switch-window event occurs (Bug#12006).
4115
670d85ea
SM
41162012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * mouse.el (popup-menu): Fix last change.
4119
7abaf5cc
SM
41202012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 Autoload from Lisp with more care. Follow aliases when looking for
4123 function properties.
4124 * subr.el (autoloadp): New function.
4125 (symbol-file): Use it.
4126 (function-get): New function.
4127 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4128 autoload-do-load.
4129 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4130 (lisp-indent-function):
4131 * emacs-lisp/gv.el (gv-get):
4132 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4133 * emacs-lisp/byte-opt.el (byte-optimize-form):
4134 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4135 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4136 Use function-get.
4137 * emacs-lisp/cl.el: Don't propagate function properties any more.
4138
4139 * speedbar.el (speedbar-add-localized-speedbar-support):
4140 * emacs-lisp/disass.el (disassemble-internal):
4141 * desktop.el (desktop-load-file):
4142 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4143 (describe-function-1):
4144 * emacs-lisp/find-func.el (find-function-noselect):
4145 * emacs-lisp/elp.el (elp-instrument-function):
4146 * emacs-lisp/advice.el (ad-has-proper-definition):
4147 * apropos.el (apropos-safe-documentation, apropos-macrop):
4148 * emacs-lisp/debug.el (debug-on-entry):
4149 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4150 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4151 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4152
b1364986
AA
41532012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4154
4155 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4156 function, not an obsolete variable (Bug#12046).
4157
67ada220
AS
41582012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4159
4160 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4161
f08088e3
CS
41622012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4163
4164 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4165 window only if it is still live (Bug#12034).
4166
8137e7b3
MR
41672012-07-25 Martin Rudalics <rudalics@gmx.at>
4168
4169 * subr.el (redirect-frame-focus): Add advertised calling
4170 convention (Bug#12030).
4171
09ae5da1
PE
41722012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4173
4174 Prefer typical American spelling for "acknowledgment".
4175 * vc/add-log.el (change-log-acknowledgment): Rename from
4176 change-log-acknowledgement, with an alias for the old name.
4177
3cc5a3a8
JB
41782012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4179
4180 * calc-alg.el (math-simplify-divide): Don't cross multiply
4181 in an equation when the lhs is a variable.
4182
b7af7f62
JD
41832012-07-24 Julien Danjou <julien@danjou.info>
4184
4185 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4186 Remove, unused.
4187
ec1b09b1
EZ
41882012-07-23 Eli Zaretskii <eliz@gnu.org>
4189
4190 * startup.el (command-line): Don't display an empty user name in
4191 the error message about non-existent home directory, when
4192 init-file-user was set to an empty string. See
4193 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4194 for the details and context.
4195
b525fd8a
VB
41962012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4197
4198 * ses.el (ses-cell-formula-aset): New macro.
4199 (ses-cell-references-aset): New macro.
4200 (ses-cell-p): New function.
4201 (ses-rename-cell): Do no longer rely on complex operations like
4202 ses-cell-set-formula or ses-set-cell to change the cell and handle
4203 the undo at the same time, but rather use lower level new macros
4204 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4205 the undo directly. Refresh the mode line.
b525fd8a 4206
2c73e345
LL
42072012-07-21 Leo Liu <sdl.web@gmail.com>
4208
670d85ea
SM
4209 * progmodes/cc-cmds.el (c-defun-name):
4210 Use match-string-no-properties instead for consistency.
2c73e345 4211
542dfbde
LL
42122012-07-20 Leo Liu <sdl.web@gmail.com>
4213
3646bcd6
LL
4214 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4215 (Bug#7879)
4216
542dfbde
LL
4217 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4218
25721031
CY
42192012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4222 * progmodes/bug-reference.el, misearch.el: Provide themselves
4223 (bug#11915).
4224
4225 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4226 of narrowed buffer (bug#11966).
4227
316e68a7
VB
42282012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4229
4230 * ses.el (ses-rename-cell): Set new name also in reference list of
4231 cells of which the renamed cell depends.
4232
bbf0e7d9
MY
42332012-07-20 Masatake YAMATO <yamato@redhat.com>
4234
4235 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4236 to check whether menu-bar is shown or not. If not shown,
4237 show the menu-bar as a popup menu instead of using tmm.
4238 * mouse.el (popup-menu): Accept `point' as `position' argument.
4239
c28662a8
DG
42402012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4241
4242 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4243 up inside string symbol literal (bug#11923).
4244
87ab808f
EZ
42452012-07-20 Eli Zaretskii <eliz@gnu.org>
4246
4247 * startup.el (fancy-startup-text): Read the whole tutorial, not
4248 just its first 256 bytes. Prevents gibberish in display of the
4249 tutorial title.
4250
89dea803
DA
42512012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4252
4253 Drop idle buffer compaction due to an absence of the
4254 proved efficiency.
4255 * compact.el: Remove.
4256
8a4e6db8
SS
42572012-07-19 Sam Steingold <sds@gnu.org>
4258
4259 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4260 vc-bzr-pull & vc-bzr-merge-branch.
4261 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4262 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4263 for consistency with compilation-error-regexp-alist.
4264 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4265 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4266 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4267 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4268
5db81e33
SM
42692012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * emacs-lisp/chart.el: Use lexical-binding.
4272 (chart-emacs-storage): Don't hardcode the list of entries.
4273
5b835e1d
DA
42742012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4275
4276 Next round of tweaks caused by Fgarbage_collect changes.
4277 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4278
9cd47b72
DA
42792012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4280
4281 Compact buffers when idle.
4282 * compact.el: New file.
4283
1d6fc0df
SM
42842012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * subr.el (eventp): Presume that if it looks vaguely like an event,
4287 it's an event (bug#10190).
4288
1d29cc7d
FEG
42892012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4290
4291 Enhancements to ppss related code (thanks Stefan).
4292 * progmodes/python.el (python-indent-context)
4293 (python-indent-calculate-indentation, python-indent-dedent-line)
4294 (python-indent-electric-colon, python-nav-forward-block)
4295 (python-mode-abbrev-table)
1d6fc0df 4296 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4297 for ppss context.
4298 (python-info-continuation-line-p): Cleanup.
4299 (python-info-ppss-context): Do not catch 'quote.
4300 (python-info-ppss-context-type)
4301 (python-info-ppss-comment-or-string-p): Simplify.
4302
d583cbe6
FEG
43032012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4304
4305 * progmodes/python.el: Enhancements to eldoc support.
4306 (python-info-current-symbol): New function.
4307 (python-eldoc-at-point): Use python-info-current-symbol.
4308 (python-info-current-defun): Fix cornercase on first defun scan.
4309 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4310 and signal error when no inferior python process is available.
4311
eceb6feb
DG
43122012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4313
4314 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4315 assume it's always t.
4316 (vc-git-registered): Remove caching, the function is only called
4317 once.
4318 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4319
4c8ff0fe
CY
43202012-07-18 Chong Yidong <cyd@gnu.org>
4321
19fb7186
CY
4322 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4323
9587c688
CY
4324 * simple.el (count-words): Report on narrowing (Bug#9959).
4325
0fe776a1
CY
4326 * bindings.el: Bind M-= to count-words.
4327
4c8ff0fe
CY
4328 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4329
7f5331cc
MY
43302012-07-18 Masatake YAMATO <yamato@redhat.com>
4331
4332 * progmodes/sh-script.el (sh-imenu-generic-expression):
4333 Capture a function with `function' keyword and without parentheses
4334 like "function FOO" (bug#11856).
4335
2dc2a609
TH
43362012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4337
4338 * window.el (split-window-sensibly): Make WINDOW argument
4339 optional.
4340
439f7677
CY
43412012-07-18 Chong Yidong <cyd@gnu.org>
4342
9aeb25a6
CY
4343 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4344
439f7677
CY
4345 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4346 and make C-x 8 RET exit isearch (Bug#11439).
4347
4348 * international/iso-transl.el: Move isearch-mode-map key
4349 definitions to isearch.el.
4350
12999ea8
SM
43512012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4354 (eieio-defclass): Use gv-define-setter when possible.
4355
3ab6e069
DA
43562012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4357
4358 Reflect recent changes in Fgarbage_collect.
4359 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4360 reflect new format of data returned by Fgarbage_collect.
4361
0a60bc10
FEG
43622012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4363
4364 New utility functions + python-info-ppss-context fix (Bug#11910).
4365 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4366 (python-info-ppss-comment-or-string-p): New functions.
4367 (python-info-ppss-context): Small fix for string check.
4368
6dafa0d5
JL
43692012-07-17 Juri Linkov <juri@jurta.org>
4370
4371 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4372 (dired-do-async-shell-command): Don't add `*' at the end of the
4373 command (Bug#11815).
4374 (dired-do-shell-command): Doc fix.
4375 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4376 Join the individual commands using either "&" or ";" as the
4377 separator depending on the values of these trailing characters.
4378 At the end re-add the trailing "&". (Bug#10598)
4379
4380 * simple.el (async-shell-command): Sync the interactive spec with
4381 `shell-command'. Doc fix.
4382 (shell-command): Doc fix.
4383
b19dd9d1
JL
43842012-07-17 Juri Linkov <juri@jurta.org>
4385
4386 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4387
bcdc27d7 43882012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4389
bcdc27d7 4390 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4391 * progmodes/python.el (python-nav-beginning-of-statement):
4392 Rename from python-nav-statement-start.
bcdc27d7
FEG
4393 (python-nav-end-of-statement): Rename from
4394 python-nav-statement-end.
4395 (python-nav-beginning-of-block): Rename from
4396 python-nav-block-start.
4397 (python-nav-end-of-block): Rename from python-nav-block-end.
4398
191da00e
FEG
43992012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4400
7f5331cc
MY
4401 * progmodes/python.el (python-shell-send-string-no-output):
4402 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4403 future interactions (Bug#11868).
4404
4dc7c8d5 44052012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4406
88ecaf8f
SM
4407 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4408
ef501ef0
SM
4409 * emacs-lisp/elint.el (elint-find-args-in-code):
4410 Use help-function-arglist, so as to handle lexical byte-code.
4411
aa7aaf8f
SM
4412 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4413 change (bug#11826).
4414
45fd731c
SM
44152012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4416
2143fa32
SM
4417 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4418 Avoid spuriously marking the buffer as modified because of c-is-sws.
4419
efc26dbe
SM
4420 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4421 as not-a-comment (bug#11946).
4422
f5695c9a
SM
4423 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4424 for uninterned vars.
4425
4426 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4427 Use read-event since we don't really want to read chars but bytes.
4428
45fd731c
SM
4429 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4430 $$..$$ but also $..$ using regexps (bug#11953).
4431 Use tex-verbatim for \url and \path.
4432 (tex-font-lock-keywords): Define as defconst like the others.
4433 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4434
ddfc8813
RK
44352012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4436
4437 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4438 alias for insert-char.
4439
758e556a
FEG
44402012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4441
4442 * progmodes/python.el: Simplified imenu implementation.
4443 (python-nav-jump-to-defun): Remove command.
4444 (python-mode-map): Use `imenu' instead.
4445 (python-nav-list-defun-positions-cache)
4446 (python-imenu-include-defun-type, python-imenu-make-tree)
4447 (python-imenu-subtree-root-label, python-imenu-index-alist):
4448 Remove vars.
4449 (python-nav-list-defun-positions, python-nav-read-defun)
4450 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4451 (python-imenu-make-tree, python-imenu-create-index):
4452 Remove functions.
758e556a
FEG
4453 (python-mode): Update to interact with imenu by setting
4454 `imenu-extract-index-name-function' only.
4455
032d23ab
FEG
44562012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4457
4458 * progmodes/python.el: Enhancements to navigation commands.
4459 (python-nav-backward-sentence)
4460 (python-nav-forward-sentence): Remove.
4461 (python-nav-backward-statement, python-nav-forward-statement)
4462 (python-nav-statement-start, python-nav-statement-end)
4463 (python-nav-backward-block, python-nav-forward-block)
4464 (python-nav-block-start, python-nav-block-end)
4465 (python-nav-forward-sexp-function)
4466 (python-info-current-line-comment-p)
4467 (python-info-current-line-empty-p): New functions.
4468 (python-indent-context): Use `python-nav-statement-start'.
4469
01795a1b
MA
44702012-07-16 Michael Albinus <michael.albinus@gmx.de>
4471
9328d9aa
MA
4472 * eshell/em-ls.el (eshell/ls): Use `apply'.
4473
4474 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4475 multi-hops, instead of Tramp internals.
4476
01795a1b
MA
4477 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4478
4479 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4480 when F1 and F2 are located on different hosts.
4481
63408057
CY
44822012-07-14 Chong Yidong <cyd@gnu.org>
4483
4484 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4485 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4486 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4487 (xterm-mouse--read-event-sequence-1000)
4488 (xterm-mouse--read-event-sequence-1006): New functions. For old
4489 mouse protocol, handle M-mouse-X events correctly.
4490 (xterm-mouse-event): New arg specifying mouse protocol.
4491 (turn-on-xterm-mouse-tracking-on-terminal)
4492 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4493 sequence to toggle extended coordinates on newer XTerms.
4494 This appears to be harmless on terminals which do not support this.
63408057 4495
cd276f6e
LL
44962012-07-14 Leo Liu <sdl.web@gmail.com>
4497
28ca98ac
LL
4498 Add fringe bitmap indicators for flymake. (Bug#11253)
4499 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4500 (flymake-make-overlay): New arg BITMAP.
4501 (flymake-error-bitmap, flymake-warning-bitmap)
4502 (flymake-fringe-indicator-position): New user variables.
4503
cd276f6e
LL
4504 * fringe.el: New bitmap exclamation-mark.
4505
04408072
JD
45062012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4507
4508 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4509 also (Bug#7879).
4510
b5cf7fc4
CY
45112012-07-14 Chong Yidong <cyd@gnu.org>
4512
4513 * electric.el (electric-pair-post-self-insert-function): Fix pair
4514 insertion in empty-region case (Bug#11520).
4515
be755c79
RT
45162012-07-14 Chong Yidong <cyd@gnu.org>
4517
45fd731c
SM
4518 * bindings.el: Consolidate ctl-x-r-map bindings.
4519 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4520
4521 * rect.el, register.el: Move bindings to bindings.el.
4522
45232012-07-14 Reuben Thomas <rrt@sc3d.org>
4524
4525 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4526
7f5b3198
AS
45272012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4528
4529 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4530
97662200
JB
45312012-07-13 Juanma Barranquero <lekktu@gmail.com>
4532
80185fed
JB
4533 * bindings.el (top): Use `mapc' instead of `mapcar'.
4534
97662200
JB
4535 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4536
2bb1ae55
MA
45372012-07-13 Michael Albinus <michael.albinus@gmx.de>
4538
4539 * progmodes/sql.el (sql-comint): Suppress the check for program on
4540 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4541 (Bug#11908)
4542
dea31bd3
CY
45432012-07-13 Chong Yidong <cyd@gnu.org>
4544
4545 * bindings.el: Assign a non-nil permanent-local property to
4546 per-buffer variables which lack a default value (Bug#11930).
4547
4548 * help-fns.el (describe-variable): In the "automatically becomes
4549 local" notice, take note of permanent-local variables.
4550
b68b3337
CY
45512012-07-13 Chong Yidong <cyd@gnu.org>
4552
4553 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4554 to allow printing the message when called from Lisp.
4555
4556 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4557 Remove toggle-read-only.
4558
4559 * bs.el (bs-toggle-readonly):
45fd731c
SM
4560 * buff-menu.el (Buffer-menu-toggle-read-only):
4561 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4562
4563 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4564 Remove with-no-warnings around toggle-read-only.
4565 (ffap-read-only, ffap-read-only-other-window)
4566 (ffap-read-only-other-frame): Callers changed.
4567
4568 * help-mode.el: Don't require view package.
4569 (help-mode-finish): Set buffer-read-only instead of calling
4570 toggle-read-only.
4571
4572 * bindings.el (mode-line-toggle-read-only):
4573 * dired.el (dired-toggle-read-only):
4574 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4575 with non-nil second arg.
4576
4577 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4578 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4579 directly.
4580
56bc1586
EZ
45812012-07-12 Eli Zaretskii <eliz@gnu.org>
4582
4583 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4584 not incf.
4585
a464a6c7
SM
45862012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 More CL cleanups and reduction of use of cl.el.
4589 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4590 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4591 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4592 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4593 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4594 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4595 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4596 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4597 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4598 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4599 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4600 * eshell/em-cmpl.el, eshell/em-banner.el:
4601 * calendar/parse-time.el: Use cl-lib.
4602 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4603 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4604 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4605 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4606 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4607 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4608 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4609 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4610 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4611 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4612 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4613 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4614 `lambda' rather than with `quote'.
4615 (eshell-do-opt): Adjust accordingly.
4616 (eshell-process-option): Simplify.
4617 * eshell/esh-var.el:
4618 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4619 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4620 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4621 to `pcase--dontcare'.
4622 * emacs-lisp/cl.el (labels): Mark obsolete.
4623 (cl--letf, letf): Move to cl-lib.
4624 (cl--letf*, letf*): Remove.
4625 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4626 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4627 (cl-progv): Rewrite.
4628 (cl--letf, cl-letf): Move from cl.el.
4629 (cl-letf*): New macro.
4630 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4631
7ad4afe1
MA
46322012-07-11 Michael Albinus <michael.albinus@gmx.de>
4633
4634 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4635
9af57756
CY
46362012-07-11 Chong Yidong <cyd@gnu.org>
4637
4638 * vc/log-edit.el (log-edit-vc-backend): New variable.
4639 (log-edit): Doc fix.
4640
4641 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4642 argument of log-edit to set up all local variables.
4643 (vc-start-logentry): New optional arg specifying VC backend.
4644
4645 * vc/vc.el (vc-checkin): Use it.
4646 (vc-deduce-fileset): Handle Log Edit buffers.
4647 (vc-diff): Make first argument optional too.
4648
4649 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4650
8477cc7a
MA
46512012-07-10 Michael Albinus <michael.albinus@gmx.de>
4652
4653 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4654 command, just in case. The function is not needed anymore.
4655 (eshell-external-command): Do not call `eshell-remote-command'.
4656
19faa8e8
SM
46572012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4658
f58e0fd5
SM
4659 Reduce use of (require 'cl).
4660 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4661 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4662 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4663 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4664 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4665 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4666 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4667 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4668 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4669 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4670 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4671 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4672 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4673 (byte-compile-unfold-bcf, byte-compile-check-variable):
4674 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4675 (byte-compile-nilconstp):
4676 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4677 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4678
2519d43a
SM
4679 * emacs-lisp/gv.el (cond): Make it a valid place.
4680 (if): Simplify slightly.
4681
19faa8e8
SM
4682 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4683 (pcase--self-quoting-p): New function.
4684 (pcase--u1): Use it.
4685
c4907a5e
GM
46862012-07-10 Glenn Morris <rgm@gnu.org>
4687
4688 * emacs-lisp/authors.el (authors-fixed-entries):
4689 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4690
c4444d16
PE
46912012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4692
4693 Rename configure.in to configure.ac (Bug#11603).
4694 * emacs-lisp/authors.el (authors-canonical-file-name):
4695 * progmodes/autoconf.el (autoconf-mode):
4696 Prefer configure.ac to configure.in.
4697
d75be97d
CY
46982012-07-08 Chong Yidong <cyd@gnu.org>
4699
01ac65bd
CY
4700 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4701 Implement the mouse-1-click-follows-link handling properly.
4702
4703 * info.el (Info-link-keymap): Use follow-link mechanism for
4704 header-line links (Bug#374).
4705
d75be97d
CY
4706 * simple.el (deactivate-mark): Do not set the primary selection
4707 if another program has acquired it (Bug#11772).
4708
87a92845 47092012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4710
4711 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4712 (woman-decode-region): Replace escaped-escapes without destroying
4713 bold or underline (Bug#11552).
87a92845 4714 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4715
621b9d6c
CY
47162012-07-07 Chong Yidong <cyd@gnu.org>
4717
4718 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4719 (interprogram-cut-function, interprogram-paste-function):
4720 Mention that we typically mean the clipboard.
621b9d6c 4721
133a11fc
GM
47222012-07-06 Glenn Morris <rgm@gnu.org>
4723
0d27a45e
GM
4724 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4725
133a11fc
GM
4726 * files.el (toggle-read-only): Restrict message to interactive use.
4727
07b151f1
MA
47282012-07-06 Michael Albinus <michael.albinus@gmx.de>
4729
4730 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4731
4732 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4733
211b896b
GM
47342012-07-06 Glenn Morris <rgm@gnu.org>
4735
50394322
GM
4736 * Makefile.in (compile-one-process): Rename from "recompile".
4737
211b896b
GM
4738 * Makefile.in (bzr-update): "compile" is the same as "recompile
4739 autoloads", but parallelizable, so use that instead.
4740
4737eec9
DG
47412012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4742
4743 * window.el (quit-window): Always restore window height when
8137e7b3 4744 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4745
226c3633 47462012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4747
4748 * simple.el (kill-whole-line): Doc tweak.
4749
226c3633 47502012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4751
4752 * files.el (file-relative-name): Compare file names
4753 case-insensitively if on MS-Windows or MS-DOS, or if
4754 read-file-name-completion-ignore-case is non-nil. Don't use
4755 case-fold-search for this purpose. (Bug#11827)
4756
4dc7c8d5
SM
47572012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4758
4759 * calendar/cal-dst.el (calendar-current-time-zone):
4760 Return calendar-current-time-zone-cache if non-nil.
4761
47622012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 47632012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4764
19faa8e8
SM
4765 * calendar/cal-dst.el (calendar-current-time-zone):
4766 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4767
60198fc9
GM
47682012-07-06 Glenn Morris <rgm@gnu.org>
4769
4770 * Makefile.in (cvs-update): Remove old alias.
4771
957b3189
MA
47722012-07-05 Michael Albinus <michael.albinus@gmx.de>
4773
4774 Sync with Tramp 2.2.6-pre.
4775
4776 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4777 compatible declaration.
4778
19faa8e8
SM
4779 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4780 Protect `list-load-path-shadows' call.
957b3189
MA
4781
4782 * net/tramp-compat.el (top): Require packages, which aren't
4783 autoloaded anymore for XEmacs. Protect call of
4784 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4785 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4786 it hurts at least for SXEmacs.
4787 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4788 standard-value for `temporary-file-directory'.
4789
4790 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4791 Redirect stderr to /dev/null.
4792 (tramp-sh-handle-write-region): uid and gid can be floats.
4793 Reported by Russell Sim <russell.sim@gmail.com>.
4794 (tramp-sh-handle-vc-registered): Hide errors.
4795 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4796 and `start-file-process'.
4797 (tramp-maybe-open-connection): Check also whether `non-essential'
4798 is bound.
4799
566df3fc
CY
48002012-07-04 Chong Yidong <cyd@gnu.org>
4801
4802 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4803 (xml-parse-tag): Likewise, and avoid changing entity tables.
4804 (xml-syntax-table): Define from scratch, making sure not to give
4805 x2000 and other Unicode spaces whitespace syntax, since those are
4806 not spaces in XML.
4807 (xml-parse-fragment): Delete unused function.
4808 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4809 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4810 (xml-entity-ref, xml-pe-reference-re)
4811 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4812 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4813 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4814 (xml-entity-value-re): Use syntax references in regexps where
4815 possible; no need to define inside a let-binding.
4816 (xml-parse-dtd): Use xml-pe-reference-re.
4817 (xml-entity-or-char-ref-re): New defconst.
4818 (xml-parse-string, xml-substitute-special): Use it.
4819
30eabd7a
SM
48202012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4821
0781098a
SM
4822 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4823 (find-file--read-only): New function.
4824 (find-file-read-only, find-file-read-only-other-window)
4825 (find-file-read-only-other-frame): Use it.
4826 (insert-file-contents-literally): Don't `fset'.
4827 (get-free-disk-space): Use locate-dominating-file.
4828
b5771c0d
SM
4829 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4830 function is already compiled.
4831
30eabd7a
SM
4832 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4833
b4886f6e
MA
48342012-07-03 Michael Albinus <michael.albinus@gmx.de>
4835
4836 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4837 files on the same host.
4838
b9d82339
AS
48392012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4840
4841 * help-fns.el (describe-function-1): Only call
4842 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4843
a76e6535
CY
48442012-07-03 Chong Yidong <cyd@gnu.org>
4845
4846 * xml.el: Protect parser against XML bombs.
4847 (xml-entity-expansion-limit): New variable.
4848 (xml-parse-string, xml-substitute-special): Use it.
4849 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4850
b544fef2
GM
48512012-07-03 Glenn Morris <rgm@gnu.org>
4852
4853 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4854 Allow linking to specific messages in debbugs reports (eg 123#5).
4855
a7aef6f5
CY
48562012-07-02 Chong Yidong <cyd@gnu.org>
4857
4858 * xml.el: Fix entity and character reference expansion, allowing
4859 them to expand into markup as per XML spec.
4860 (xml-default-ns): New variable.
4861 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4862 (xml-parse-region): Make first two arguments optional.
4863 Discard text properties.
4864 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4865 All callers changed.
a7aef6f5
CY
4866 (xml-parse-tag): Call xml-parse-tag-1. For backward
4867 compatibility, this function should not modify buffer contents.
4868 (xml-parse-tag-1): Fix opening-tag regexp.
4869 (xml-parse-string): Rewrite, handling entity and character
4870 references properly.
4871 (xml--entity-replacement-text): Signal an error if a parameter
4872 entity is undefined.
4873
3df31c9f
SM
48742012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4875
2b5208f1
SM
4876 * comint.el (comint-output-filter): Filter out repeated prompts.
4877
3df31c9f
SM
4878 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4879 and file-name-absolute-p.
4880 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4881 internal calls.
4882
e3ac1281
PE
48832012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4884
4885 Spelling fixes.
4886 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4887 Rename from byte-compile--refiy-function. All uses changed.
4888
fbf2e7ad
CY
48892012-07-01 Chong Yidong <cyd@gnu.org>
4890
4891 * xml.el (xml--parse-buffer): New function. Move most of
4892 xml-parse-region here.
4893 (xml-parse-region): Copy region into a temporary buffer, since
4894 parameter entity substitution requires changing buffer contents.
4895 Use xml--parse-buffer.
4896 (xml-parse-file): Use xml--parse-buffer.
4897 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4898 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4899
9bf0aa15
GM
49002012-06-30 Glenn Morris <rgm@gnu.org>
4901
bbce2853
GM
4902 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4903
9bf0aa15
GM
4904 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4905 Remove outdated and unnecessary dbus declarations.
4906
0d23c240
EZ
49072012-06-30 Eli Zaretskii <eliz@gnu.org>
4908
4909 * emacs-lisp/timer.el (timer-until): Subtract results of
4910 float-time, instead of taking float-time of the result of
4911 time-subtract, since float-time signals an error for negative time
4912 arguments.
4913
b3218de1
CY
49142012-06-30 Chong Yidong <cyd@gnu.org>
4915
4916 * xml.el (xml-*-re): Convert defvars into defconsts, and
4917 eval-and-compile them so eval-and-compile works on derivatives.
4918 (xml--entity-replacement-text): Use eval-and-comple.
4919
a40c87a0
MA
49202012-06-30 Michael Albinus <michael.albinus@gmx.de>
4921
4922 * vc/vc-git.el (vc-git-registered): Use cache property
4923 `git-registered'.
4924 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4925 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4926 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4927
ac87de97
DG
49282012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4929
4930 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4931 removed (likely outside Emacs). (Bug#11757)
ac87de97 4932
ac10fe06
SM
49332012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4934
3df31c9f 4935 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4936
7f3fbd5d
CY
49372012-06-30 Chong Yidong <cyd@gnu.org>
4938
4939 * xml.el: Implement XML parameter entities.
4940 (xml-parameter-entity-alist): New variable.
4941 (xml-parse-region, xml-parse-fragment): Preserve previous values
4942 of xml-entity-alist and xml-parameter-entity-alist, so that
4943 repeated calls on different documents do not change them.
4944 (xml-parse-tag): Fix doctype regexp.
4945 (xml--entity-replacement-text): New function.
4946 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4947 properly requires url retrieval which is unimplemented.
4948 (xml-escape-string): Doc fix.
4949
3cfbebba
SM
49502012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4953
2af3565e
DA
49542012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4955
4956 * fringe.el (fringe-mode): Doc fix.
4957
929df0e7
MA
49582012-06-29 Michael Albinus <michael.albinus@gmx.de>
4959
4960 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4961 is non-nil.
4962 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4963 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4964
c8d3a25c 49652012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4966
c8d3a25c
GM
4967 * calendar/cal-dst.el (calendar-current-time-zone):
4968 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4969
c8d3a25c 49702012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4971
4972 * progmodes/which-func.el (which-func-format):
4973 Add mouse-face. (Bug#11698)
4974
c8d3a25c
GM
49752012-06-29 Leo Liu <sdl.web@gmail.com>
4976
4977 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4978
49792012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * minibuffer.el (minibuffer-confirm-exit-commands):
4982 Add completion-at-point (bug#11725).
4983
49842012-06-29 Glenn Morris <rgm@gnu.org>
4985
4986 * progmodes/f90.el (f90-font-lock-keywords-2):
4987 Add some preprocessor elements. (Bug#10499)
4988
49892012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4992 Use syntax-propertize (bug#11739).
4993
2badeec4
JB
49942012-06-28 Juanma Barranquero <lekktu@gmail.com>
4995
4996 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4997
ae4969c2
JD
49982012-06-28 Julien Danjou <julien@danjou.info>
4999
5000 * term.el (term-handle-colors-array): Use a set of new faces to
5001 color the terminal. Also uses :inverse-video property.
5002 (term-default-fg-color): Set to nil by default, deprecate in favor
5003 of `term-face'.
5004 (term-default-bg-color): Set to nil by default, deprecate in favor
5005 of `term-face'.
5006 (term-current-face): Use `term-face' by default.
5007 (term-bold-attribute): Variable deleted.
5008
1c9bd870
GM
50092012-06-28 Glenn Morris <rgm@gnu.org>
5010
5011 * simple.el (completion-list-mode-finish):
5012 Don't use toggle-read-only. (Since completion-list-mode has
5013 a special mode-class, it wasn't doing anything extra anyway.)
5014
c207708c
SM
50152012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 Make inlining of other-mode interpreted functions work (bug#11799).
5018 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5019 (byte-compile): Use it to fix compilation of lexical-binding closures.
5020 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5021 function, if needed.
5022
3fd56834
SM
50232012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5024
04901786
SM
5025 * help-mode.el (help-make-xrefs): Don't just withstand
5026 cyclic-variable-indirection but any error in documentation-property.
5027
1ec4b7b2
SM
5028 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5029 memory use.
5030 * bindings.el (bindings--define-key): New function.
5031 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5032 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5033 * bindings.el: Use it to purecopy define-key bindings.
5034
e309e2a5
SM
5035 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5036
d5c6faf9
SM
5037 * emacs-lisp/cl.el (flet): Mark obsolete.
5038 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5039 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5040 * progmodes/js.el (js-c-fill-paragraph):
5041 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5042 (ebrowse-switch-member-buffer-to-derived-class):
5043 * play/5x5.el (5x5-solver): Use cl-flet.
5044
6e9590e2
SM
5045 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5046 (cl--symbol-function): New macro.
5047 (cl--letf, cl--letf*): Use it.
5048
3fd56834
SM
5049 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5050 Strip "toggle-" if any.
5051
35ff222c
GM
50522012-06-27 Glenn Morris <rgm@gnu.org>
5053
1ba6038a
GM
5054 * info.el (Info-default-directory-list): Move here from paths.el.
5055 * paths.el: Remove file, which is now empty.
5056 * loadup.el: No longer load "paths".
5057
0ea0e51b
GM
5058 * custom.el (custom-initialize-delay): Doc fix.
5059
35ff222c
GM
5060 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5061 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5062 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5063 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5064 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5065 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5066 * eshell/eshell.el (eshell-defgroup): Remove alias.
5067
c89926a5
CY
50682012-06-27 Chong Yidong <cyd@gnu.org>
5069
5070 * help.el (help-enable-auto-load): New variable.
5071
5072 * help-fns.el (help-fns--autoloaded-p): New function.
5073 (describe-function-1): Refer to a function as "autoloaded" if it
5074 was autoloaded at any time in the past. Perform autoloading if
5075 help-enable-auto-load is non-nil.
5076
cc06e7e7
EZ
50772012-06-26 Eli Zaretskii <eliz@gnu.org>
5078
5079 * makefile.w32-in (compile, compile-always): Depend on
5080 update-subdirs, not on subdirs.el. Otherwise, several different
5081 sub-targets of 'bootstrap' running in parallel could
5082 simultaneously write to subdirs.el, producing a garbled file.
5083
d2c32364
SS
50842012-06-26 Sam Steingold <sds@gnu.org>
5085
5086 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5087 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5088 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5089 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5090 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5091 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5092 * textmodes/tex-mode.el: Use it.
5093 Did not touch cedet and org because they are maintained elsewhere.
5094
5cf983b2
MR
50952012-06-26 Martin Rudalics <rudalics@gmx.at>
5096
5097 * calendar/calendar.el (calendar-exit): Don't try to delete or
5098 iconify last frame. See:
5099 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5100
8c4f2952
JD
51012012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5102
5103 * server.el (server-process-filter): Remember dir in the
5104 process's `server-client-directory' properties.
5105
772b2e2c
CY
51062012-06-24 Chong Yidong <cyd@gnu.org>
5107
5108 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5109 non-tag text.
5110
711b11e1
JB
51112012-06-23 Juanma Barranquero <lekktu@gmail.com>
5112
5113 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5114
dc5d230c
SM
51152012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * help-fns.el (describe-variable): Don't croak when doc is not found.
5118 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5119 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5120 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5121 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5122 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5123 ((lambda ..) ..).
5124 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5125
136e1c1d
CY
51262012-06-23 Chong Yidong <cyd@gnu.org>
5127
e8c1cabf
CY
5128 * info.el (Info-mouse-follow-link): Accept symbol values of
5129 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5130 (Info-fontify-node): Use Info-link-keymap for all navigation
5131 buttons, with link-args property to perform the desired action.
5132 (Info-link-keymap): Doc fix.
5133 (Info-next-link-keymap, Info-prev-link-keymap)
5134 (Info-up-link-keymap): Delete now-unused keymaps.
5135
0e9e6c6a
CY
51362012-06-23 Chong Yidong <cyd@gnu.org>
5137
05e89fea
CY
5138 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5139
0e9e6c6a
CY
5140 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5141 system abbrevs.
5142
5143 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5144
e33c6771
SM
51452012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5146
b68581e2
SM
5147 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5148 (bug#11719).
5149
e33c6771
SM
5150 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5151 the requote function doesn't work properly (bug#11714).
5152
7117e105
GM
51532012-06-23 Glenn Morris <rgm@gnu.org>
5154
5155 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5156
36cec983
SM
51572012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5158
5159 Further GV/CL cleanups.
5160 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5161 gv-expander.
5162 (gv--defun-declaration): New function.
5163 (defun-declarations-alist): Use it.
5164 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5165 (gv-place): Autoload.
5166 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5167 original definition of dotimes and dolist.
5168 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5169 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5170 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5171 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5172 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5173 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5174 to the function's definition.
5175 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5176 * window.el:
5177 * files.el:
5178 * faces.el:
5179 * env.el: Don't use CL.
5180
d35af63c
PE
51812012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5182
5183 Support higher-resolution time stamps (Bug#9000).
5184
5185 * calendar/time-date.el (with-decoded-time-value): New arg
5186 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5187 (encode-time-value): New optional arg PICO. New type 3.
5188 (time-to-seconds) [!float-time]: Support the new picoseconds
5189 component if it's used.
5190 (seconds-to-time, time-subtract, time-add):
5191 Support ps-resolution time stamps as well.
5192
5193 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5194 (timerp): Timer vectors now have length 9, not 8.
5195 (timer--time): Support new-style (4-part) time stamps.
5196 (timer-next-integral-multiple-of-time): Time stamps now have
5197 picosecond resolution, so take a bit more care about rounding.
5198 (timer-relative-time, timer-inc-time): New optional arg psecs.
5199 (timer-set-time-with-usecs): Set psecs to 0.
5200 (timer--activate): Check psecs component, too.
5201
5202 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5203
ac77b21a
SM
52042012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5205
f143bfe3
SM
5206 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5207 Move the non-essential binding to the post/pre-command-hook where it is
5208 more obviously correct.
5209
ac77b21a
SM
5210 * subr.el (read-passwd): Don't use a history at all.
5211 * savehist.el (savehist-save): Remove password saved accidentally
5212 because of the above bug.
5213
76386c5a
BG
52142012-06-22 Bastien Guerry <bzg@gnu.org>
5215
5216 * files.el (toggle-read-only): Display a message telling whether
5217 the buffer is read-only or not (bug#11726).
5218
2ee3d7f0
SM
52192012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * emacs-lisp/gv.el: New file.
5222 * subr.el (push, pop): Extend to generalized variables.
5223 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5224 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5225 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5226 gv-define-simple-setter, and gv-define-expander.
5227 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5228 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5229 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5230 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5231 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5232 gv-letplace.
5233 (cl-defstruct): Don't define setf-method any more.
5234 * emacs-lisp/cl.el (flet): Don't autoload.
5235 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5236 (define-setf-expander, defsetf, define-modify-macro)
5237 (cl-struct-setf-expander): Move from cl-lib.el.
5238 * emacs-lisp/syntax.el:
5239 * emacs-lisp/ewoc.el:
5240 * emacs-lisp/smie.el:
5241 * emacs-lisp/cconv.el:
5242 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5243 (timer--time): Use gv-define-simple-setter.
5244 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5245 to avoid coding-system problems in subr.el. Adjust all users.
5246 (macroexp--maxsize, macroexp-small-p): New functions.
5247 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5248 * scroll-bar.el (scroll-bar-mode):
5249 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5250 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5251 * winner.el (winner-configuration, winner-make-point-alist)
5252 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5253 * files.el (locate-file-completion-table): Avoid list*.
5254
c5695d1d
CY
52552012-06-22 Chong Yidong <cyd@gnu.org>
5256
5257 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5258 (dired-create-files): Doc fix (Bug#11329).
5259 (dired-do-copy): Doc fix (Bug#11334).
5260 (dired-mark-read-string): Doc fix (Bug#11553).
5261
2ee3d7f0
SM
5262 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5263 Doc fix (Bug#11326).
c5695d1d
CY
5264 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5265 (dired-dwim-target): Doc fix.
5266
5267 * wdired.el (wdired-mode): Doc fix.
5268
89b5595a
GM
52692012-06-22 Glenn Morris <rgm@gnu.org>
5270
575db3f1
GM
5271 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5272 (pcmpl-rpm-cache-stamp-file): New constant.
5273 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5274 (pcmpl-rpm-packages): Optionally cache list of packages.
5275
a4c8dd51
GM
5276 * pcmpl-rpm.el (pcmpl-rpm): New group.
5277 (pcmpl-rpm-query-options): New option.
5278 (pcmpl-rpm-packages): No need to inline it.
5279 Use pcmpl-rpm-query-options.
5280
89b5595a
GM
5281 * calendar/calendar.el (calendar-in-read-only-buffer):
5282 Avoid some needless mode changes.
5283
e76f0800
CY
52842012-06-21 Chong Yidong <cyd@gnu.org>
5285
5286 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5287 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5288 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5289
297a8f1d
CY
52902012-06-20 Chong Yidong <cyd@gnu.org>
5291
5292 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5293
d34c18b1
DR
52942012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5295
5296 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5297 (bug#11201).
5298
32f7f28e
CY
52992012-06-20 Chong Yidong <cyd@gnu.org>
5300
5301 * term.el (term-window-width): Handle the case of a missing right
5302 fringe (Bug#8837).
5303 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5304 (term-mode): Use define-derived-mode. Minor cleanups.
5305 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5306 (term-move-columns, term-insert-char, term-emulate-terminal)
5307 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5308
493c6688
MA
53092012-06-20 Michael Albinus <michael.albinus@gmx.de>
5310
d34c18b1
DR
5311 * net/ange-ftp.el (ange-ftp-get-passwd):
5312 Bind `enable-recursive-minibuffers'.
493c6688
MA
5313 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5314
3f06ecf4
DR
53152012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5316
5317 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5318
68f12411
GM
53192012-06-19 Glenn Morris <rgm@gnu.org>
5320
5321 * progmodes/python.el (python-mode): Derive from prog-mode.
5322
b3820318
KG
53232012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5324
5325 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5326 (edt-user-menu-bar-update-buffers): New functions.
5327 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5328
c6bf3022
CY
53292012-06-19 Chong Yidong <cyd@gnu.org>
5330
5331 * subr.el (with-selected-window): Preserve the selected window's
5332 terminal's top-frame (Bug#4702).
5333
5334 * window.el (save-selected-window): Likewise.
5335
25f09295
SM
53362012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * progmodes/python.el (python-rx-constituents): Move backquote.
5339 (python-skeleton-define, python-define-auxiliary-skeleton):
5340 Use `declare'.
5341
6b11952a
MA
53422012-06-18 Michael Albinus <michael.albinus@gmx.de>
5343
5344 * minibuffer.el (read-file-name-default): Revert the patch from
5345 2012-06-17.
5346
ee4b1330
SM
53472012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5350 (pcase--u1, pcase--q1): Don't use apply-partially.
5351
35647f79
GM
53522012-06-18 Glenn Morris <rgm@gnu.org>
5353
5354 * progmodes/python.el (python-proc, python-buffer)
5355 (python-send-receive, python-send-string): Fix obsolete versions.
5356
24b0cff0
MR
53572012-06-18 Martin Rudalics <rudalics@gmx.at>
5358
5359 * window.el (special-display-p): Completely remove stringp
5360 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5361
29855149
MA
53622012-06-17 Michael Albinus <michael.albinus@gmx.de>
5363
5364 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5365
5366 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5367
5368 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5369 * net/tramp-sh.el (tramp-maybe-open-connection):
5370 Throw if `non-essential' is non-nil.
5371
07463363
MR
53722012-06-17 Martin Rudalics <rudalics@gmx.at>
5373
5374 * window.el (special-display-p): Signal an error if BUFFER-NAME
5375 is not a string (Bug#11713).
5376
48d1354e
PE
53772012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5378
5379 * progmodes/python.el (python-info-beginning-of-backslash):
5380 Rename from python-info-beginning-of-backlash, as a spelling fix.
5381
eb4a8a9a
CY
53822012-06-17 Chong Yidong <cyd@gnu.org>
5383
5384 * term.el (term-emulate-terminal): If term-check-size is called,
5385 move point to the process mark without resetting point (Bug#4635).
5386
ddfbf826 53872012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5388
5389 * international/mule-cmds.el (mule-menu-keymap)
5390 (set-language-environment, set-locale-environment): Doc tweaks.
5391
9b0e3eba
AA
53922012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5393
5394 * cus-face.el (custom-face-attributes): Add wave-style underline
5395 attribute.
5396 * faces.el (set-face-attribute): Update docstring to describe
5397 wave-style underline attribute.
5398
771e3eae
CY
53992012-06-16 Chong Yidong <cyd@gnu.org>
5400
5401 * term/xterm.el (terminal-init-xterm): Discard input before
5402 querying background mode (Bug#10959).
5403
7ae2ea10
SM
54042012-06-16 Stefan Merten <smerten@oekonux.de>
5405
5406 * textmodes/rst.el: Added and corrected some comments.
5407 (rst-re-alist-def): Improve symbol syntax.
5408 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5409 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5410 (rst-official-version, rst-official-cvs-rev): Update version
5411 information.
7ae2ea10 5412
b6974efa
JB
54132012-06-15 Juanma Barranquero <lekktu@gmail.com>
5414
5415 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5416 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5417
8826d473
GM
54182012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5419
5420 * progmodes/python.el: New python.el merge.
5421 (python-guess-indent): Obsolete var.
5422 (python-indent-guess-indent-offset): New defcustom.
5423 (python-indent): Obsolete var.
5424 (python-indent-offset): New defcustom.
5425 (python-python-command, python-jython-command): Delete var.
5426 (python-shell-interpreter): New defcustom.
5427 (python-pdbtrack-do-tracking-p): Delete var.
5428 (python-pdbtrack-activate): New defcustom.
5429 (python-use-skeletons): Obsolete var.
5430 (python-skeleton-autoinsert): New defcustom.
5431 (inferior-python-filter-regexp, python-continuation-offset)
5432 (python-honour-comment-indentation, python-indent-string-contents)
5433 (python-jython-packages, python-mode-hook)
5434 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5435 (python-shell-prompt-alist)
5436 (python-source-modes): Delete defcustoms.
5437 (python-check-buffer-name, python-eldoc-setup-code)
5438 (python-eldoc-string-code, python-ffap-setup-code)
5439 (python-ffap-string-code, python-fill-comment-function)
5440 (python-fill-decorator-function, python-fill-paren-function)
5441 (python-fill-string-function, python-imenu-include-defun-type)
5442 (python-imenu-make-tree, python-imenu-subtree-root-label)
5443 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5444 (python-shell-compilation-regexp-alist)
5445 (python-shell-completion-module-string-code)
5446 (python-shell-completion-pdb-string-code)
5447 (python-shell-completion-setup-code)
5448 (python-shell-completion-string-code)
5449 (python-shell-enable-font-lock, python-shell-exec-path)
5450 (python-shell-extra-pythonpaths)
5451 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5452 (python-shell-process-environment)
5453 (python-shell-prompt-block-regexp)
5454 (python-shell-prompt-output-regexp)
5455 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5456 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5457 (python-shell-virtualenv-path): New defcustoms.
5458 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5459 (inferior-python-mode-syntax-table, python--prompt-regexp)
5460 (python-buffer, python-command python-python-command)
5461 (python-default-template, python-imports, python-indent-index)
5462 (python-indent-list, python-indent-list-length)
5463 (python-mode-running, python-pdbtrack-is-tracking-p)
5464 (python-preoutput-continuation, python-preoutput-leftover)
5465 (python-preoutput-result, python-preoutput-skip-next-prompt)
5466 (python-prev-dir/file, python-recursing)
5467 (python-saved-check-command, python-version-checked)
5468 (python-which-func-length-limit)
5469 (view-return-to-alist): Delete vars.
5470 (python-check-custom-command, python-dotty-syntax-table)
5471 (python-imenu-index-alist, python-indent-current-level)
5472 (python-indent-dedenters, python-indent-levels)
5473 (python-nav-beginning-of-defun-regexp)
5474 (python-nav-list-defun-positions-cache)
5475 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5476 (python-shell-internal-buffer)
5477 (python-skeleton-available): New vars.
5478 (def-python-skeleton): Delete macro.
5479 (python-skeleton-define): New macro.
5480 (python-define-auxiliary-skeleton, python-rx): New macros.
5481 (python-insert-class): Delete command.
5482 (python-skeleton-class): New command.
5483 (python-insert-def): Delete command.
5484 (python-skeleton-def): New command.
5485 (python-insert-for): Delete command.
5486 (python-skeleton-for): New command.
5487 (python-insert-if): Delete command.
5488 (python-skeleton-if): New command.
5489 (python-insert-try/except, python-insert-try/finally): Delete commands.
5490 (python-skeleton-try): New command.
5491 (python-insert-while): Delete command.
5492 (python-skeleton-while): New command.
5493 (python-backspace): Delete command.
5494 (python-indent-dedent-line-backspace): New command.
5495 (python-electric-colon): Delete command.
5496 (python-indent-electric-colon): New command.
5497 (python-guess-indent): Delete command.
5498 (python-indent-guess-indent-offset): New command.
5499 (python-shift-left): Delete command.
5500 (python-indent-shift-left): New command.
5501 (python-shift-right): Delete command.
5502 (python-indent-shift-right): New command.
5503 (python-find-function): Delete command.
5504 (python-nav-jump-to-defun): New command.
5505 (python-next-statement): Delete command.
5506 (python-nav-forward-sentence): New command.
5507 (python-previous-statement): Delete command.
5508 (python-nav-backward-sentence): New command.
5509 (python-fill-paragraph): Delete command.
5510 (python-fill-paragraph-function): New command.
5511 (python-send-buffer): Delete command.
5512 (python-shell-send-buffer): New command.
5513 (python-send-defun): Delete command.
5514 (python-shell-send-defun): New command.
5515 (python-send-region, python-send-region-and-go): Delete commands.
5516 (python-shell-send-region)
5517 (python-shell-switch-to-shell): New commands.
5518 (python-send-string): Delete command.
5519 (python-shell-send-string): New command.
5520 (python-switch-to-python): Delete command.
5521 (python-shell-switch-to-shell): New command.
5522 (python-describe-symbol): Delete command.
5523 (python-eldoc-at-point): New command.
5524 (python--set-prompt-regexp, python-args-to-list)
5525 (python-after-info-look, python-check-version)
5526 (python-check-comint-prompt, python-find-imports)
5527 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5528 (python-unload-function, python-expand-template)
5529 (python-maybe-jython, python-preoutput-filter)
5530 (python-pdbtrack-get-source-buffer)
5531 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5532 (python-pdbtrack-toggle-stack-tracking)
5533 (python-pdbtrack-track-stack-file, python-initial-text)
5534 (python-first-word, python-comment-line-p, python-send-command)
5535 (python-setup-brm, python-sentinel, python-set-proc)
5536 (python-skip-out, python-input-filter, python-outdent-p)
5537 (python-outline-level, python-backslash-continuation-line-p)
5538 (python-end-of-block, python-end-of-statement, python-mark-block)
5539 (python-beginning-of-block, python-beginning-of-statement)
5540 (python-blank-line-p, python-beginning-of-string)
5541 (python-open-block-statement-p): Delete functions.
5542 (python-indent-line, python-indent-line-1): Delete functions.
5543 (python-indent-line): New function.
5544 (python-indentation-levels): Delete function.
5545 (python-indent-calculate-levels): New function.
5546 (python-proc): Delete function.
5547 (python-shell-get-process): New function.
5548 (python-send-receive): Delete function.
5549 (python-shell-send-string-no-output): New function.
5550 (python-module-path): Delete function.
5551 (python-ffap-module-path): New function.
5552 (python-completion-at-point)
5553 (python-symbol-completions): Delete functions.
5554 (python-completion-complete-at-point): New function.
5555 (python-load-file): Delete function.
5556 (python-shell-send-file): New function.
5557 (python-calculate-indentation): Delete function.
5558 (python-indent-calculate-indentation): New function.
5559 (python-skip-comments/blanks): Delete function.
5560 (python-util-forward-comment): New function.
5561 (python-continuation-line-p): Delete function.
5562 (python-info-continuation-line-p): New function.
5563 (python-which-func, python-current-defun): Delete function.
5564 (python-info-current-defun): New function.
5565 (python-beginning-of-defun): Delete function.
5566 (python-nav-beginning-of-defun): New function.
5567 (python-close-block-statement-p)
5568 (python-block-end-p): Delete function.
5569 (python-info-closing-block): New function.
5570 (python-comint-output-filter-function)
5571 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5572 (python-fill-comment, python-fill-decorator, python-fill-paren)
5573 (python-fill-string, python-imenu-make-element-tree)
5574 (python-imenu-make-tree, python-imenu-tree-assoc)
5575 (python-indent-context, python-indent-dedent-line)
5576 (python-indent-line-function)
5577 (python-indent-post-self-insert-function)
5578 (python-indent-toggle-levels)
5579 (python-info-assignment-continuation-line-p)
5580 (python-info-beginning-of-backlash)
5581 (python-info-block-continuation-line-p)
5582 (python-info-closing-block-message)
5583 (python-info-line-ends-backslash-p)
5584 (python-info-looking-at-beginning-of-defun)
5585 (python-info-ppss-context, python-info-ppss-context-type)
5586 (python-nav-list-defun-positions, python-nav-read-defun)
5587 (python-nav-sentence-end, python-nav-sentence-start)
5588 (python-pdbtrack-comint-output-filter-function)
5589 (python-pdbtrack-set-tracked-buffer)
5590 (python-shell-calculate-exec-path)
5591 (python-shell-calculate-process-environment)
5592 (python-shell-completion--do-completion-at-point)
5593 (python-shell-completion--get-completions)
5594 (python-shell-completion-complete-at-point)
5595 (python-shell-completion-complete-or-indent)
5596 (python-shell-get-or-create-process)
5597 (python-shell-get-process-name)
5598 (python-shell-internal-get-or-create-process)
5599 (python-shell-internal-get-process-name)
5600 (python-shell-internal-send-string, python-shell-make-comint)
5601 (python-shell-parse-command, python-shell-send-setup-code)
5602 (python-skeleton-add-menu-items)
5603 (python-util-clone-local-variables, python-util-position)
5604 (run-python-internal, python-indentation-levels)
5605 (python-nav-beginning-of-defun)
5606 (python-completion-complete-at-point): New functions.
5607 (run-python): Change arguments. New API requirements.
5608
4302f5ba
SM
56092012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5610
f38ea36d
SM
5611 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5612 (bug#11649).
5613
5614 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5615 (macroexp--expand-all): Use it.
5616
4302f5ba
SM
5617 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5618 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5619 Use `cl-function' instead.
5620
33377562
JB
56212012-06-14 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5624 Suggested by Stefan Monnier while discussing bug#11657.
5625
54c5ba1a
SS
56262012-06-14 Sam Steingold <sds@gnu.org>
5627
5628 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5629
f9f1b1fe
AS
56302012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5631
5632 * play/doctor.el (doctor-doc): Remove parameter and use
5633 doctor-sent instead of sent.
5634 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5635
a81068ba
SM
56362012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5a315f9c
SM
5638 * files.el: Require cl-lib.
5639 (file-name-non-special): Replace case -> cl-case.
5640
5641 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5642
a81068ba
SM
5643 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5644 mapping from #' to function*.
5645
8cca9703
CY
56462012-06-13 Chong Yidong <cyd@gnu.org>
5647
5648 * mouse.el (mouse-drag-track): Do not set the mark if the user
5649 releases the mouse without selecting anything (Bug#11588).
5650
a12ac9d7
SM
56512012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5652
ccf1dc18
SM
5653 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5654 as well (bug#11646).
5655
ef62b23d
SM
5656 * loadup.el: Count byte-code functions as well.
5657
c4c8444a
SM
5658 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5659 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5660
a12ac9d7
SM
5661 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5662 (bug#11649). Add cl-defun and cl-defmacro.
5663
87e6e64f
DA
56642012-06-13 Drew Adams <drew.adams@oracle.com>
5665
5666 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5667 Fix last change.
5668
682cefaf
MA
56692012-06-13 Michael Albinus <michael.albinus@gmx.de>
5670
5671 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5672 Otherwise, it blocks in batch mode.
5673
773e1f08
JB
56742012-06-13 Juanma Barranquero <lekktu@gmail.com>
5675
5676 * help-mode.el (bookmark-make-record-default): Declare.
5677
60057926
CY
56782012-06-13 Chong Yidong <cyd@gnu.org>
5679
5680 * emacs-lisp/package.el (list-packages): Compute a list of
5681 packages that are newly-available since the last list-packages
5682 invocation.
5683 (package-menu--new-package-list): New var.
5684 (package-menu--generate, package-menu--print-info)
5685 (package-menu--status-predicate, package-menu-mark-install):
5686 Handle new status label "new".
5687
ad4d226c
SM
56882012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5691 conversion to backquotes.
5692
f1a4e679
CY
56932012-06-12 Chong Yidong <cyd@gnu.org>
5694
5695 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5696 Rename from gud-inhibit-global-bindings.
5697
5698 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5699
5700 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5701 hook from nxml-glyph-set-hook.
5702
5703 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5704 declaration.
5705
5706 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5707
5708 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5709 Convert to defcustom.
5710
0c9e42b5
DA
57112012-06-12 Drew Adams <drew.adams@oracle.com>
5712
5713 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5714 New functions.
5715 (help-mode): Use them.
5716
09e06855
GM
57172012-06-11 Glenn Morris <rgm@gnu.org>
5718
5719 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5720 Use preprocessor face for directives.
5721 (fortran-directive-re): Doc fix.
5722
71adb94b
SM
57232012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5724
2eb87922
SM
5725 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5726 conversion to backquotes (bug#11652).
5727
71adb94b
SM
5728 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5729 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5730 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5731 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5732 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5733 (cl-ninth, cl-tenth): Mark them as inlinable.
5734 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5735 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5736 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5737 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5738 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5739 (cl-list*, cl-adjoin): Don't put an autoload manually.
5740 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5741 (cl--compiler-macro-list*): Add autoload cookie.
5742 (cl--compiler-macro-cXXr): New function.
2eb87922 5743
71adb94b
SM
5744 * help-fns.el (help-fns--compiler-macro): New function extracted from
5745 describe-function-1; follow aliases and use `compiler-macro' property.
5746 (describe-function-1): Use it.
5747
a6674402
CY
57482012-06-11 Chong Yidong <cyd@gnu.org>
5749
5750 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5751 is uninstalled, if imagemagick is installed.
5752
bb3faf5b
SM
57532012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * emacs-lisp/cl-lib.el: Use lexical-binding.
5756 (cl-map-extents, cl-maclisp-member): Remove.
5757 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5758 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5759 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5760 * emacs-lisp/cl-extra.el: Use lexical-binding.
5761 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5762 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5763 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5764 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5765 * emacs-lisp/cl-seq.el: Use lexical-binding.
5766 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5767 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5768 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5769 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5770 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5771 CL's internals.
5772
2fe4b125
MA
57732012-06-11 Michael Albinus <michael.albinus@gmx.de>
5774
5775 Sync with Tramp 2.2.6-pre.
5776
5777 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5778 `print-length' and `print-level' to nil, in order to avoid
5779 truncation. Reported by Christopher Schmidt
5780 <christopher@ristopher.com>.
5781
5782 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5783
5784 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5785 New defmacro.
5786 (tramp-compat-copy-directory): Add optional argument
5787 COPY-CONTENTS. It is not handled yet.
5788
5789 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5790 (tramp-ftp-file-name-p): Simplify.
5791
5792 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5793 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5794 connection vector.
5795
5796 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5797 (tramp-methods): Do not use `tramp-password-end-of-line'.
5798 (tramp-completion-function-alist-putty): Handle UNIX case.
5799 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5800 (tramp-do-file-attributes-with-stat)
5801 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5802 gid as real numbers. They could run out of integer range on cygwin.
5803 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5804 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5805 (tramp-open-connection-setup-interactive-shell):
5806 Use `tramp-cleanup'. Move check for busyboxes ...
5807 (tramp-find-shell): ... here. Simplify implementation.
5808 Set "remote-shell" property also for alternative shells.
5809 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5810 If failing, a regular file would be written otherwise.
5811 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5812 (tramp-find-inline-encoding): Cache the coding commands in the
5813 process cache. Apply test command on the remote side, if defined.
5814 (tramp-find-inline-compress): Cache the compress commands in the
5815 process cache.
5816 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5817 when requested. Handle hops.
5818 (tramp-current-connection): New defvar.
87e6e64f
DA
5819 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5820 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5821 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5822 (tramp-get-inline-compress, tramp-get-inline-coding):
5823 Read connection properties from the process cache.
2fe4b125
MA
5824
5825 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5826 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5827 New defconsts.
2fe4b125
MA
5828 (tramp-smb-prompt): Extend for powershell prompt.
5829 (tramp-smb-file-name-handler-alist): Add handlers for
5830 `process-file', `shell-command' and `start-file-process'.
5831 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5832 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5833 (tramp-smb-file-name-p): Simplify.
5834 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5835 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5836 (tramp-smb-shell-quote-argument): New defuns.
5837 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5838 Implement using "tar". By this, time-stamps are preserved.
5839 (tramp-smb-handle-copy-file): Handle also the case of directories.
5840 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5841 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5842 Use `tramp-get-connection-buffer').
2fe4b125
MA
5843 (tramp-smb-handle-rename-file): Use "rename", when source and
5844 target are on the same share.
87e6e64f
DA
5845 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5846 Use `tramp-smb-server-version'.
2fe4b125
MA
5847 (tramp-smb-wait-for-output): Remove prompt.
5848
5849 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5850 (tramp-methods, tramp-rsh-end-of-line):
5851 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5852 (tramp-save-ad-hoc-proxies): New defcustom.
5853 (tramp-completion-function-alist): Adapt docstring.
5854 (tramp-default-password-end-of-line): Remove defcustom.
5855 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5856 (tramp-user-regexp, tramp-file-name-regexp-unified)
5857 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5858 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5859 (tramp-remote-file-name-spec-regexp): New defconst.
5860 (tramp-file-name-structure): Extend structure for hops.
5861 (tramp-get-method-parameter): Move up.
5862 (tramp-file-name-p, tramp-dissect-file-name)
5863 (with-parsed-tramp-file-name): Handle hops.
5864 (tramp-file-name-hop): New defun.
5865 (tramp-make-tramp-file-name): New optional arg HOP.
5866 (tramp-message-show-progress-reporter-message): New defvar.
5867 (tramp-with-progress-reporter): Use it. We cannot use
5868 `tramp-message-show-message' here, because this suppresses also
5869 error buffers.
5870 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5871 `tramp-message-show-message' is nil.
5872 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5873 (tramp-cleanup): New defun.
5874 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5875 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5876 an error unchanged.
5877 (tramp-completion-handle-file-name-all-completions): Handle hops.
5878 Fix an error when called from ido.
5879 (tramp-completion-dissect-file-name): Use better local variable
5880 name. Add hop to the vector.
5881 (tramp-handle-insert-file-contents): Use progress-reporter for the
5882 whole scenario.
5883 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5884 to `t'.
5885 (tramp-check-for-regexp): Simplify search.
5886 (tramp-enter-password): Remove it. Move implementation ...
5887 (tramp-action-password): ... here.
5888 (tramp-mode-string-to-int, tramp-local-host-p)
5889 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5890 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5891 Set tramp-autoload cookie.
2fe4b125
MA
5892
5893 * net/trampver.el: Update release number.
5894
58952012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5896 Michael Albinus <michael.albinus@gmx.de>
5897
5898 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5899 (tramp-parse-group, tramp-parse-file)
5900 (tramp-parse-shostkeys-sknownhosts): New defuns.
5901 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5902 (tramp-parse-shosts-group, tramp-parse-sconfig)
5903 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5904 (tramp-parse-sknownhosts, tramp-parse-hosts)
5905 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5906 Use them.
5907 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5908 (tramp-parse-putty-group): Don't narrow.
5909 (tramp-parse-putty): Make a loop.
5910 (tramp-file-name-handler): Catch the `suppress' signal.
5911
72834e10
CY
59122012-06-11 Chong Yidong <cyd@gnu.org>
5913
5914 * image.el (imagemagick-register-types): Put the ImageMagick entry
5915 at the end of image-type-file-name-regexps.
5916
a4712e11
JB
59172012-06-11 Johan Bockgård <bojohan@gnu.org>
5918
5919 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5920 (pcase, pcase-let*, pcase-dolist): Use them.
5921
82ad98e3
SM
59222012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * emacs-lisp/pcase.el (pcase--let*): New function.
5925 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5926 (pcase--expand): Use macroexp-let².
5927
f80efb86
SM
59282012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5931 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5932 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5933 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5934 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5935 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5936
31ca4639 59372012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5938
31ca4639
CY
5939 * mail/rmail.el (rmail-yank-current-message): Leave point at
5940 correct position. (Bug#11660)
94f0aa34 5941
31ca4639 59422012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5943
31ca4639 5944 * allout-widgets.el: Fix code header.
9e1b8ec4 5945
31ca4639 59462012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5947
f80efb86
SM
5948 * cus-edit.el (customize-changed-options-previous-release):
5949 Bump to 24.1.
31ca4639 5950
642b6d30
AS
59512012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5952
5953 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5954
4f5d2ba1
CY
59552012-06-09 Chong Yidong <cyd@gnu.org>
5956
5957 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5958
e75852fd
MR
59592012-06-09 Martin Rudalics <rudalics@gmx.at>
5960
5961 * window.el (special-display-popup-frame): Don't use
5962 window--display-buffer (Bug#11651).
5963
1e48e282
EZ
59642012-06-09 Eli Zaretskii <eliz@gnu.org>
5965
8a26b487
EZ
5966 Fix parallel builds: make sure loaddefs.el is not being written
5967 while Lisp files are compiled.
5968 (compile): Don't depend on 'mh-autoloads'.
5969 (compile-CMD, compile-SH): Depend on 'autoloads'.
5970 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5971
1e48e282
EZ
5972 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5973
6175e34b
CY
59742012-06-09 Chong Yidong <cyd@gnu.org>
5975
5976 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5977 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5978 Doc fixes (Bug#11225).
5979
d9857e53
SM
59802012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5981
5982 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5983 a function if there's a clear indication that it has a compiler-macro.
5984 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5985 (macro-declarations-alist): Add arglist to declaration functions.
5986 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5987 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5988 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5989 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5990 Also add autoload to find the compiler macro.
5991 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5992 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5993 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5994 (cl--compiler-macro-get): New functions, replacing calls to
5995 cl-define-compiler-macro.
5996 (cl-typep) [compiler-macro]: Use macroexp-let².
5997
f81298f8 59982012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5999
6000 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6001 string properly, fixes Bug#11473.
6002
4b56d0fe
CY
60032012-06-08 Chong Yidong <cyd@gnu.org>
6004
6005 * faces.el (set-face-attribute): Doc fix.
6006 (modify-face): Don't use :bold and :italic.
6007 (error, warning, success): Tweak definitions.
6008
6009 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6010 (custom-modified, custom-set, custom-changed, custom-themed)
6011 (custom-saved, custom-button, custom-button-mouse)
6012 (custom-button-pressed, custom-state, custom-comment-tag)
6013 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6014 (custom-group-subtitle): Use new-style face specs.
6015 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6016 (custom-set-face, custom-changed-face, custom-saved-face)
6017 (custom-button-face, custom-button-pressed-face)
6018 (custom-documentation-face, custom-state-face)
6019 (custom-comment-face, custom-comment-tag-face)
6020 (custom-variable-tag-face, custom-variable-button-face)
6021 (custom-face-tag-face, custom-group-tag-face-1)
6022 (custom-group-tag-face): Remove obsolete face alias.
6023
6024 * epa.el (epa-validity-high, epa-validity-medium)
6025 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6026 (epa-field-name, epa-field-body):
6027 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6028 (font-lock-keyword-face, font-lock-builtin-face)
6029 (font-lock-function-name-face, font-lock-variable-name-face)
6030 (font-lock-type-face, font-lock-constant-face):
6031 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6032 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6033 * speedbar.el (speedbar-button-face, speedbar-file-face)
6034 (speedbar-directory-face, speedbar-tag-face)
6035 (speedbar-selected-face, speedbar-highlight-face)
6036 (speedbar-separator-face):
6037 * whitespace.el (whitespace-newline, whitespace-space)
6038 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6039 (whitespace-line, whitespace-space-before-tab)
6040 (whitespace-space-after-tab, whitespace-indentation)
6041 (whitespace-empty):
6042 * emulation/cua-base.el (cua-global-mark):
6043 * eshell/em-prompt.el (eshell-prompt):
6044 * net/newst-plainview.el (newsticker-new-item-face)
6045 (newsticker-old-item-face, newsticker-immortal-item-face)
6046 (newsticker-obsolete-item-face, newsticker-date-face)
6047 (newsticker-statistics-face, newsticker-default-face):
6048 * net/newst-reader.el (newsticker-feed-face)
6049 (newsticker-extra-face, newsticker-enclosure-face):
6050 * net/newst-treeview.el (newsticker-treeview-face)
6051 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6052 (newsticker-treeview-immortal-face)
6053 (newsticker-treeview-obsolete-face)
6054 (newsticker-treeview-selection-face):
6055 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6056 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6057 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6058 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6059 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6060 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6061 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6062 (mpuz-text):
6063 * progmodes/vera-mode.el (vera-font-lock-number)
6064 (vera-font-lock-function, vera-font-lock-interface):
6065 * textmodes/table.el (table-cell): Use new-style face specs, and
6066 don't use the old :bold and :italic attributes.
6067
6068 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6069 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6070 (ebrowse-member-class, ebrowse-progress): Likewise.
6071 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6072 (ebrowse-file-name-face, ebrowse-default-face)
6073 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6074 (ebrowse-progress-face): Remove obsolete faces.
6075
6076 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6077 Inherit from error and warning faces respectively.
6078
6079 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6080 Likewise.
f80efb86
SM
6081 (flyspell-incorrect-face, flyspell-duplicate-face):
6082 Remove obsolete aliases.
4b56d0fe 6083
03310646
MA
60842012-06-08 Michael Albinus <michael.albinus@gmx.de>
6085
6086 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6087 Avoid infloop.
6088
513749ee
SM
60892012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * startup.el (argv, argi): Make lexically scoped.
6092 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6093 * emacs-lisp/cl-macs.el: Use lexical-binding.
6094 Rename cl-bind-* to cl--bind-*.
6095 * files.el: Don't require `cl' since it doesn't use it.
6096 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6097
595ef4ad
JB
60982012-06-08 Juanma Barranquero <lekktu@gmail.com>
6099
6100 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6101 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6102 instead of calling external sort utility.
6103 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6104
e9f66fcb
EZ
61052012-06-08 Eli Zaretskii <eliz@gnu.org>
6106
6107 * descr-text.el (describe-char): Mention how to insert the
6108 character, if the current input method doesn't support it.
6109 See the discussion in this thread for the details:
6110 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6111
3d10db47
SS
61122012-06-08 Sam Steingold <sds@gnu.org>
6113
6114 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6115 XF86Back to previous-buffer.
6116 (minibuffer-local-map): Bind them to next-history-element and
6117 previous-history-element respectively.
6118 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6119 help-go-back respectively.
6120 * info.el (Info-mode-map): Bind them to Info-history-forward and
6121 Info-history-back respectively.
6122 These are the keys next to Up on the ThinkPad keyboard.
6123
de7e2b36
SM
61242012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6127 * emacs-lisp/cl-macs.el: Provide itself.
6128 (cl--labels-convert-cache): New var.
6129 (cl--labels-convert): New function.
6130 (cl-flet, cl-labels): New implementation with new semantics, relying on
6131 lexical-binding.
6132 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6133 (cl-closure-vars, cl--function-convert-cache)
6134 (cl--function-convert): Move from cl-macs.el.
6135 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6136 rename by removing the "cl-" prefix.
6137 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6138
6fa6c4ae
SM
61392012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6142 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6143 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6144 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6145 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6146 (cl-hash-table-count): Add old compatibility aliases.
6147
6148 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6149 Use macroexpand-all-environment instead.
6150 (cl--old-macroexpand): New var.
6151 (cl--sm-macroexpand): New function.
6152 (cl-symbol-macrolet): Use it during macro expansion.
6153 (cl--function-convert-cache): New var.
6154 (cl--function-convert): New function, extracted from
6155 cl-macroexpand-all.
6156 (cl-lexical-let): Use it.
6157
6158 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6159 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6160 (cl-member): Remove old alias.
6161
6162 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6163 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6164 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6165 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6166 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6167 (cl-macroexpand-cmacs): Remove var.
6168 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6169 Use macroexpand-all instead.
6170
4dd1c416
SM
61712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6174 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6175 (macroexp-copyable-p): New functions and macros.
6176 * emacs-lisp/edebug.el (edebug-unwrap):
6177 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6178 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6179 (pcase--let*): Remove.
6180 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6181 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6182 macroexp-const-p instead.
6183 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6184
6185 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6186 instead of "cl-" for internal definitions. Use macroexp-const-p.
6187 (cl-old-bc-file-form): Remove var.
6188 (cl-const-exprs-p): Remove fun.
6189 (cl-labels, cl-macrolet): Use backquote.
6190 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6191 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6192 (cl-define-setf-expander): Rename from cl-define-setf-method.
6193 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6194
6195 * international/mule-cmds.el: Don't require CL.
6196 (view-hello-file): Don't use `letf'.
6197
ed8bd4d7
SM
61982012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6199
7287f2f3
SM
6200 * tmm.el (tmm-prompt): Use string-prefix-p.
6201 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6202 (tmm-add-prompt): Use minibuffer-completion-help.
6203 (tmm-delete-map): Remove.
6204
ed8bd4d7
SM
6205 * subr.el (kbd): Make it its own function.
6206
7b4cdbf4
SM
62072012-06-07 Stefan Merten <smerten@oekonux.de>
6208
6209 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6210 Silence compiler warnings. Fix versions.
ed8bd4d7 6211 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6212 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6213 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6214 (rst-package-emacs-version-alist): Correct Emacs version to
6215 represent major merge with upstream.
ed8bd4d7 6216 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6217
2b48d721
GM
62182012-06-06 Glenn Morris <rgm@gnu.org>
6219
6220 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6221 Only print environment variables if set.
6222
fa779ab0
SM
62232012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6226 (macroexp--cons): Rename from maybe-cons.
6227 (macroexp--accumulate): Rename from macroexp-accumulate.
6228 (macroexp--all-forms): Rename from macroexpand-all-forms.
6229 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6230 (macroexp--expand-all): Rename from macroexpand-all-1.
6231
628299e0
SS
62322012-06-06 Sam Steingold <sds@gnu.org>
6233
6234 * calendar/calendar.el (calendar-in-read-only-buffer):
6235 Call `special-mode' to enable the standard read-only keybindings.
6236
b7bb5838
SM
62372012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6240 with "loading" messages (bug#11635).
6241
dfb308ba
MA
62422012-06-06 Michael Albinus <michael.albinus@gmx.de>
6243
6244 * files.el (enable-remote-dir-locals): New option.
6245 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6246
0372ee92
MA
6247 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6248 Ensure, that the temp directory is local.
6249
6250 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6251 `temporary-file-directory'.
6252
eed0bb91
MA
6253 * progmodes/python.el (python-send-region): Ensure, that the
6254 temporary file is created also in the remote case.
6255
7a58f64d
GM
62562012-06-06 Glenn Morris <rgm@gnu.org>
6257
f7dd4e98
GM
6258 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6259 (vc-rcs-update-changelog): Use it.
6260
090bd7cb 6261 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6262
7a58f64d
GM
6263 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6264 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6265 (vc-sccs-diff): Replace use of the external vcdiff script.
6266
daed4003
GM
62672012-06-05 Glenn Morris <rgm@gnu.org>
6268
6269 * ledit.el: Move to obsolete/.
6270
48c455c7
SS
62712012-06-05 Sam Steingold <sds@gnu.org>
6272
ed9265fc 6273 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6274 patch (Bug#11140).
6275
57a7d507
SM
62762012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6277
090bd7cb 6278 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6279
53aacf21
SM
6280 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6281 compiler-macro expansion.
6282
57a7d507
SM
6283 Add native compiler-macro support.
6284 * emacs-lisp/macroexp.el (macroexpand-all-1):
6285 Support compiler-macros directly. Properly follow aliases and apply
6286 the compiler macros more thoroughly.
6287 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6288 macroexpand now properly follows aliases.
6289 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6290 (cl-compiler-macroexpand): Use new prop.
6291 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6292
6293 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6294
51a5f9d8
MR
62952012-06-05 Martin Rudalics <rudalics@gmx.at>
6296
6297 * window.el (get-lru-window, get-mru-window, get-largest-window):
6298 New argument NOT-SELECTED to avoid picking the selected window.
6299 (window--display-buffer-1, window--display-buffer-2): Replace by
6300 new function window--display-buffer
6301 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6302 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6303 Use window--display-buffer.
51a5f9d8
MR
6304 (display-buffer-use-some-window): Remove temporary dedication
6305 hack by calling get-lru-window and get-largest-window with
6306 NOT-SELECTED argument non-nil. Call window--display-buffer.
6307
08f9f738
GM
63082012-06-05 Glenn Morris <rgm@gnu.org>
6309
6310 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6311 Replace external vcdiff script.
6312
e364a2b7
SM
63132012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6314
6315 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6316
041df390
CY
63172012-06-04 Chong Yidong <cyd@gnu.org>
6318
e364a2b7
SM
6319 * image.el (imagemagick-types-inhibit): Revert last change.
6320 Add INFO and M.
47b36b94 6321 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6322
7c1898a7
SM
63232012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * emacs-lisp/cl-lib.el: Rename from cl.el.
6326 * emacs-lisp/cl.el: New compatibility file.
6327 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6328 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6329 to obey the "cl-" prefix.
6330 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6331
0c3461de
GM
63322012-06-03 Glenn Morris <rgm@gnu.org>
6333
1e266c88
GM
6334 * emacs-lisp/authors.el (authors-aliases): Addition.
6335
0c3461de
GM
6336 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6337 Fix :version.
6338
d8a52e15
SM
63392012-06-03 Stefan Merten <smerten@oekonux.de>
6340
6341 * textmodes/rst.el: Add comments.
6342 (rst-transition, rst-adornment): New faces.
6343 (rst-adornment-faces-alist): Make default safe to reevaluate.
6344 Fixes
6345 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6346 Improve customization tags.
6347 (rst-define-level-faces): Clarify meaning.
6348
5205d6f6
CY
63492012-06-03 Chong Yidong <cyd@gnu.org>
6350
6351 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6352 (compilation-mode-line-run, compilation-mode-line-exit):
6353 New faces.
5205d6f6
CY
6354 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6355
757ee657
JD
63562012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6357
7c1898a7
SM
6358 * progmodes/which-func.el (which-func-update-ediff-windows):
6359 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6360
5f2c76c6
CY
63612012-06-03 Chong Yidong <cyd@gnu.org>
6362
6363 * bindings.el: Remove explicit help text from format-mode-line.
6364 It is now supplied by mode-line-default-help-echo.
6365 (mode-line-front-space, mode-line-end-spaces)
6366 (mode-line-misc-info): New variables.
6367 (mode-line-modes, mode-line-position): Move the default value to
6368 the variable definition.
6369 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6370 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6371 (mode-line-modified-help-echo): New functions.
6372 (mode-line-mule-info, mode-line-modified): Use them.
6373 (mode-line-eol-desc, propertized-buffer-identification):
6374 Consistency fixes for help text.
cbe46e5f
CY
6375 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6376 set-buffer-file-coding-system (Bug#289).
6377 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6378
f2d6a3df
SM
63792012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * simple.el (execute-extended-command): Set real-this-command
6382 (bug#11506).
6383
37269466
CY
63842012-06-02 Chong Yidong <cyd@gnu.org>
6385
6386 Remove incorrect uses of "modeline" in comments, docstrings, and
6387 function/variable names (Bug#10329).
6388
6389 * cus-edit.el (mode-line):
6390 * dframe.el (dframe-mouse-hscroll):
6391 * emacs-lisp/re-builder.el:
6392 * emacs-lisp/easy-mmode.el (define-minor-mode):
6393 * frame.el (set-frame-name):
6394 * help.el (lookup-minor-mode-from-indicator):
6395 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6396 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6397 (c-toggle-hungry-state):
6398 * progmodes/antlr-mode.el (antlr-language-alist):
6399 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6400 * progmodes/vhdl-mode.el (vhdl-mode):
6401 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6402 * term/ns-win.el (ns-face-at-pos):
6403 * term/sup-mouse.el (sup-mouse-report):
6404 * textmodes/flyspell.el (flyspell-mode-line-string):
6405 * textmodes/ispell.el (ispell-highlight-face):
6406 * textmodes/reftex-global.el:
6407 * vc/vc-arch.el (vc-arch-mode-line-string):
6408 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6409 * vc/vc-git.el (vc-git-mode-line-string):
6410 * vc/vc-hooks.el (vc-display-status)
6411 (vc-default-mode-line-string):
6412 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6413
6414 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6415
6416 * dired.el (dired-sort-set-mode-line): Rename from
6417 dired-sort-set-modeline. All callers changed.
6418
6419 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6420 eshell-status-in-modeline.
6421
6422 * foldout.el (foldout-mode-line-string): Rename from
6423 foldout-modeline-string. All callers changed.
6424 (foldout-update-mode-line): Rename from foldout-update-modeline.
6425
6426 * subr.el (redraw-modeline): Make into obsolete alias.
6427
6428 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6429 timeclock-modeline-display. Make old name an alias.
6430 (timeclock-update-mode-line): Likewise. All callers changed.
6431 (timeclock-mode-line-display): No need to check before using
6432 add-hook.
6433 (timeclock-relative, timeclock-day-over-hook)
6434 (timeclock-use-elapsed, timeclock-mode-string)
6435 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6436
6437 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6438 crisp-mode-modeline-string.
6439
6440 * play/solitaire.el (solitaire-build-mode-line): Rename from
6441 solitaire-build-modeline. All callers changed.
6442
6443 * play/zone.el (zone-hiding-mode-line): Rename from
6444 zone-hiding-modeline. All callers changed.
6445 (zone): Remove unusued `modeline-hidden-level' property.
6446
6447 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6448 xscheme-modeline-initialize. All callers changed.
6449
6450 * strokes.el (strokes-lighter): Rename from
6451 strokes-modeline-string.
6452
6453 * textmodes/sgml-mode.el (html-face-tag-alist)
6454 (html-tag-face-alist): Use mode-line face instead of obsolete
6455 alias modeline.
6456
42152ee4
SM
64572012-06-02 Stefan Merten <smerten@oekonux.de>
6458
6459 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6460 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6461
95f520b5
CY
64622012-06-02 Chong Yidong <cyd@gnu.org>
6463
6464 * image.el (imagemagick-enabled-types): Rename from
6465 imagemagick-types-enable. Add many more types.
6466 (imagemagick-types-inhibit): Change default to nil.
6467 (imagemagick-filter-types): Caller changed.
6468
4a5f187a
SM
64692012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6470
03fef3e6
SM
6471 * emacs-lisp/cl-macs.el: Use backquotes.
6472 (cl-transform-function-property): Use eval-and-compile rather than
6473 abusing `require'.
6474 (defstruct): Use declare-function instead of with-no-warnings.
6475
4a5f187a
SM
6476 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6477 (byte-compile-output-docform): Re-add the print-circle bindings.
6478 (byte-compile-fix-header): Use #$ just because it's shorter.
6479 (byte-compile-output-file-form): Remove defun/defmacro.
6480
bd56924f
MR
64812012-06-01 Martin Rudalics <rudalics@gmx.at>
6482
6483 * simple.el (choose-completion): Remove now obsolete binding for
6484 owindow.
6485
046e38ce
MA
64862012-06-01 Michael Albinus <michael.albinus@gmx.de>
6487
6488 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6489 in order to avoid "Stack overflow in regexp matcher".
6490
32d72c2f
GM
64912012-05-31 Glenn Morris <rgm@gnu.org>
6492
6493 * image.el: For clarity, call imagemagick-register-types at
6494 top-level, rather than relying on a custom :initialize.
6495 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6496 (imagemagick-filter-types): New function. (Bug#7406)
6497 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6498 If disabling support, remove elements altogether rather
6499 than using an impossible regexp.
6500 (imagemagick-types-inhibit): Give it the default init function.
6501
dd41169b
SM
65022012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6503
4a5f187a
SM
6504 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6505 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6506
efc00ab1 65072012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6508
6509 * desktop.el (desktop-read): Clear previous and next buffers for
6510 all windows and bury *Messages* buffer (bug#11556).
6511
500fcedc
SM
65122012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 Add `declare' for `defun'. Align `defmacro's with it.
6515 * emacs-lisp/easy-mmode.el (define-minor-mode)
6516 (define-globalized-minor-mode): Don't autoload the var definitions.
6517 * emacs-lisp/byte-run.el: Use lexical-binding.
6518 (defun-declarations-alist, macro-declarations-alist): New vars.
6519 (defmacro, defun): Use them.
6520 (make-obsolete, define-obsolete-function-alias)
6521 (make-obsolete-variable, define-obsolete-variable-alias):
6522 Use `declare'.
6523 (macro-declaration-function): Mark obsolete.
6524 * emacs-lisp/autoload.el: Use lexical-binding.
6525 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6526
6e8a1786
AM
65272012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6528
6529 * textmodes/ispell.el (ispell-with-no-warnings):
6530 Define as a macro.
500fcedc
SM
6531 (ispell-kill-ispell, ispell-change-dictionary):
6532 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6533 `interactive-p'.
6534
61b108cc
SM
65352012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6538 (macro-declaration-function): Move var from C code.
6539 (macro-declaration-function): Define function with defalias.
6540 * emacs-lisp/macroexp.el (macroexpand-all-1):
6541 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6542 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6543 defun/defmacro any more.
6544 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6545 Provide fallback for unknown arglist.
6546 (byte-compile-arglist-warn): Change calling convention.
6547 (byte-compile-output-file-form): Move print-vars binding.
6548 (byte-compile-output-docform): Simplify accordingly.
6549 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6550 (byte-compile-defmacro-declaration): Remove.
6551 (byte-compile-file-form-defmumble): Generalize to defalias.
6552 (byte-compile-output-as-comment): Return byte-positions.
6553 Simplify callers accordingly.
6554 (byte-compile-lambda): Use `assert'.
6555 (byte-compile-defun, byte-compile-defmacro): Remove.
6556 (byte-compile-file-form-defalias):
6557 Use byte-compile-file-form-defmumble.
6558 (byte-compile-defalias-warn): Remove.
6559
6d3f7c2f
SM
65602012-05-29 Stefan Merten <smerten@oekonux.de>
6561
6562 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6563 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6564
6565 (rst-mode-abbrev-table): Merge definition.
6566 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6567 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6568
6dbaa1c7
UJ
65692012-05-29 Ulf Jasper <ulf.jasper@web.de>
6570
6571 * calendar/icalendar.el
6572 (icalendar-export-region): Export UID properly.
6573
d209e2fb 65742012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6575 * calendar/icalendar.el (icalendar-import-format):
6576 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6577 (icalendar-import-format-uid): New.
6578 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6579 Export UID.
6580
6876a58d
SM
65812012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6584 different alternative patterns.
6585 (pcase-codegen): Be more careful to preserve identity.
6586 (pcase--u1): Don't forget to mark vars as used.
6587
6588 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6589 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6590 (byte-compile-from-buffer): ...rather than here.
6591
6592 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6593 functions from byte-compile-function-environment.
6594
46b7967e
TN
65952012-05-29 Troels Nielsen <bn.troels@gmail.com>
6596
6597 * window.el (window-deletable-p): Avoid deleting the root window
6598 of a frame with an active minibuffer.
6599
69d565e2
MR
66002012-05-29 Martin Rudalics <rudalics@gmx.at>
6601
6602 * simple.el (choose-completion): Use quit-window (Bug#11567).
6603
a149fa51
CY
66042012-05-29 Chong Yidong <cyd@gnu.org>
6605
6606 * whitespace.el (whitespace-cleanup): Fix usage of
6607 whitespace-empty-at-bob-regexp (Bug#11492).
6608
2b311310
AH
66092012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6610
6611 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6612 revert (Bug#11488).
6613
b9cb2387
JL
66142012-05-29 Juri Linkov <juri@jurta.org>
6615
6616 * isearch.el (isearch-mode-map): Bind `M-s _' to
6617 `isearch-toggle-symbol'. Bind `M-s c' to
6618 `isearch-toggle-case-fold'.
6619 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6620 (isearch-forward): Add `M-s _' to the docstring.
6621 (isearch-forward-symbol, isearch-toggle-case-fold)
6622 (isearch-symbol-regexp): New functions. (Bug#11381)
6623
d5e61c1c
JL
66242012-05-29 Juri Linkov <juri@jurta.org>
6625
6626 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6627 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6628 a function, call it to get the regexp.
6629 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6630 property `isearch-message-prefix' instead of the string "word ".
6631 (isearch-search-fun-default): For the case of `isearch-word',
6632 return a lambda that calls re-search-forward/re-search-backward
6633 with a regexp returned by `word-search-regexp' or by the function
6634 in `isearch-word'.
6635
8cbd80f7
JL
66362012-05-29 Juri Linkov <juri@jurta.org>
6637
6638 * isearch.el (isearch-search-fun-default): New function.
6639 (isearch-search-fun): Move default part to the new function
6640 `isearch-search-fun-default'.
6641 (isearch-search-fun-function): Set the default value to
6642 `isearch-search-fun-default'. (Bug#11381)
6643
6644 * comint.el (comint-history-isearch-end):
6645 Use `isearch-search-fun-default'.
6646 (comint-history-isearch-search): Use `isearch-search-fun-default'
6647 and remove spacial case for `isearch-word'.
6648 (comint-history-isearch-wrap): Remove spacial case for
6649 `isearch-word'.
6650
6651 * hexl.el (hexl-isearch-search-function):
6652 Use `isearch-search-fun-default'.
6653
6654 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6655 Use `word-search-regexp' for `isearch-word'.
6656
6657 * misearch.el (multi-isearch-search-fun):
6658 Use `isearch-search-fun-default'.
6659
6660 * simple.el (minibuffer-history-isearch-search):
6661 Use `isearch-search-fun-default' and remove spacial case for
6662 `isearch-word'.
6663 (minibuffer-history-isearch-wrap): Remove spacial case for
6664 `isearch-word'.
6665
6666 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6667 Remove spacial case for `isearch-word'.
6668 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6669
85c8c5b6
AM
66702012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6671
6672 Decrease XEmacs incompatibilities.
6673 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6674 Use `string-match'.
6675 (flyspell-delete-region-overlays): Use alternative definition for
6676 XEmacs.
6677 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6678 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6679 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6680 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6681 `define-obsolete-face-alias' under XEmacs, but old method.
6682
6683 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6684 `with-no-warnings' definition or Emacs alias.
6685 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6686 (ispell-word): Do not use `region-p' if XEmacs.
6687
8cab9efc
AM
66882012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6689
6690 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6691 Check for `ispell-dictionary-base-alist' instead of full
6692 `ispell-dictionary-alist'.
6693 (ispell-init-process): Show spellchecker when starting new Ispell
6694 process.
6695
fda91268
RZ
66962012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6699 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6700
694ea8e3
JB
67012012-05-27 Juanma Barranquero <lekktu@gmail.com>
6702
6703 * version.el (motif-version-string, gtk-version-string)
6704 (ns-version-string): Declare.
6705
e4d4f539
JL
67062012-05-27 Juri Linkov <juri@jurta.org>
6707
6708 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6709 after the `eval-defun-1' specialcaseing
6710 like in `edebug-eval-defun' (bug#10181).
6711
6712 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6713 like in `eval-defun-1'.
6714
33017faf 67152012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6716
fda91268
RZ
6717 * mail/sendmail.el (mail-yank-region):
6718 Recognize rmail-yank-current-message in addition to insert-buffer.
6719 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6720 a *mail* buffer created through rmail-start-mail with sendmail as
6721 mail-user-agent.
6722
33017faf
GM
67232012-05-27 Chong Yidong <cyd@gnu.org>
6724
6725 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6726 Default to 256 (Bug#11267).
6727
6728 * help.el (describe-mode): Doc fix.
6729
04188bb9
GM
67302012-05-26 Glenn Morris <rgm@gnu.org>
6731
38264cc9
GM
6732 * w32-fns.el (w32-init-info): Remove.
6733 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6734
eb7afdad
GM
6735 * info.el (info-initialize): For self-contained NS builds, put the
6736 included info/ directory at the front. (Bug#2791)
6737
04188bb9
GM
6738 * paths.el (Info-default-directory-list): Make it a defcustom,
6739 mainly so that we can use custom-initialize-delay.
6740
a179e3f7
SM
67412012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6742
43416392
SM
6743 * subr.el (buffer-has-markers-at): Mark obsolete.
6744
a179e3f7 6745 * subr.el (lambda): Use declare.
43416392 6746
a179e3f7
SM
6747 * emacs-lisp/lisp-mode.el (lambda):
6748 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6749
34a008d9
AH
67502012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6751
6752 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6753
0a3b289f
GM
67542012-05-26 Glenn Morris <rgm@gnu.org>
6755
6756 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6757
758c81e8
GM
67582012-05-25 Glenn Morris <rgm@gnu.org>
6759
f9f334f0
GM
6760 * paths.el: Remove no-byte-compile.
6761 * loadup.el: No need to load paths.el uncompiled.
6762
87eb79c2
GM
6763 * image.el (imagemagick-types-inhibit): Doc fix.
6764
758c81e8
GM
6765 * version.el: Remove no-byte-compile and associated formatting.
6766 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6767 is ancient code from when there was an "inc-vers.el".
6768
e7e85dc0
SM
67692012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * progmodes/gdb-mi.el: Minor style changes.
6772 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6773 Turn into minor modes.
6774 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6775 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6776 (gdb-shell): Remove unneeded let-binding.
6777 (gdb-get-many-fields): Eliminate O(n²) behavior.
6778
f31237a4
EZ
67792012-05-25 Eli Zaretskii <eliz@gnu.org>
6780
6781 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6782 platforms that don't link in fontset.c.
6783
bc1b21bb
JL
67842012-05-25 Juri Linkov <juri@jurta.org>
6785
6786 Use the same diff color scheme as in modern VCSes (bug#10181).
6787
6788 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6789 to avoid confusion with `diff-added' that now uses green colors.
6790 (diff-removed): Use shades of red.
6791 (diff-added): Use shades of green.
6792 (diff-changed): Leave just the yellow color.
6793 (diff-use-changed-face): New variable.
6794 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6795 how to highlight context diff changes.
6796 (diff-refine-change): Use shades of yellow.
6797 (diff-refine-removed): New face that uses shades of red.
6798 (diff-refine-added): New face that uses shades of green.
6799 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6800 `diff-refine-removed' in the call to `smerge-refine-subst'
6801 depending on the value of `diff-use-changed-face'.
6802
6803 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6804 (smerge-other): Use shades of green.
6805 (smerge-base): Use shades of yellow.
6806 (smerge-refined-change): Empty face.
6807 (smerge-refined-removed): New face that uses shades of red.
6808 (smerge-refined-added): New face that uses shades of green.
6809 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6810 args `props-r' and `props-a', and use them. Doc fix.
6811 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6812 on its value use different faces `smerge-refined-change',
6813 `smerge-refined-removed', `smerge-refined-added' in the call to
6814 `smerge-refine-subst'.
6815
6816 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6817 Add face condition `min-colors 88' with shades of red.
6818 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6819 `min-colors 88' with shades of green.
6820 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6821 `min-colors 88' with shades of yellow.
6822
6df9112c
GM
68232012-05-24 Glenn Morris <rgm@gnu.org>
6824
ead5edc0
GM
6825 * paths.el (prune-directory-list, remote-shell-program): Move to...
6826 * files.el (prune-directory-list, remote-shell-program): ...here.
6827 For the latter, delay initialization, prefer ssh, just search PATH.
6828
f18b81e6
GM
6829 * paths.el (term-file-prefix): Move to faces.el (the only user).
6830 * faces.el (term-file-prefix): Move here, make it a defcustom.
6831
ee2f89a6
GM
6832 * paths.el (news-directory, news-path, news-inews-program):
6833 Move to gnus/nnspool.el.
61a583ca 6834
f8815e4c
GM
6835 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6836
c8f3b42c
GM
6837 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6838 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6839 Make the latter a defcustom, with a delayed initialization.
6840
6df9112c
GM
6841 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6842 These were deleted from Gnus itself late 2010.
6843
5dadff36
JB
68442012-05-22 Juanma Barranquero <lekktu@gmail.com>
6845
9e1701c6
JB
6846 * progmodes/which-func.el (which-func-ff-hook):
6847 Check against user-error, not error.
6848
bd7239f5 6849 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6850 cl-specs.el, which no longer exists.
6851
3290526d
GM
68522012-05-22 Glenn Morris <rgm@gnu.org>
6853
6854 * info.el (info-emacs-bug): New command.
6855 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6856 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6857
ff0c3cfb
GM
68582012-05-21 Glenn Morris <rgm@gnu.org>
6859
6860 * makefile.w32-in (update-subdirs-SH):
6861 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6862
5814f126
SM
68632012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6864
a52c0aa0
SM
6865 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6866
5814f126
SM
6867 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6868 Simplify Maven regexp, and make sure the file can't start with a space
6869 (bug#11517).
6870
b847032c
GM
68712012-05-21 Glenn Morris <rgm@gnu.org>
6872
6873 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6874 Scrap superfluous subshells.
6875
3858bfe7
SM
68762012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6879 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6880
d14b0029
JB
68812012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6882
6883 * calc/calc.el (calc-ensure-consistent-units): New variable.
6884
a52c0aa0
SM
6885 * calc/calc-units.el (math-consistent-units-p)
6886 (math-check-unit-consistency): New functions.
6887 (calc-quick-units, calc-convert-units):
6888 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6889 is non-nil.
d14b0029
JB
6890 (calc-extract-units): Fix typo.
6891
60c4db3a
SM
68922012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6893
77f3b62e
SM
6894 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6895
60c4db3a
SM
6896 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6897 (flyspell-default-deplacement-commands): Don't spell check after
6898 repeated window/frame switches (e.g. triggered by mouse-movement).
6899 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6900 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6901 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6902 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6903 Remove unused vars.
6904 (flyspell-get-casechars, flyspell-get-not-casechars):
6905 Simplify; Don't bother removing a ] just to add it back.
6906 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6907
d209e2fb 69082012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6909
6910 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6911 New functions.
bd7239f5 6912 (math-function-table): Add support for more C functions.
b1a10716 6913
3f1b25b5
AM
69142012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6915
090bd7cb
JB
6916 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6917 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6918 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6919
b581bb5c
SM
69202012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6923 their respective macro declarations.
6924 * skeleton.el (define-skeleton):
6925 * progmodes/compile.el (define-compilation-mode):
6926 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6927 (define-ibuffer-filter):
6928 * emacs-lisp/generic.el (define-generic-mode):
6929 * emacs-lisp/easy-mmode.el (define-minor-mode)
6930 (define-globalized-minor-mode):
6931 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6932 * emacs-lisp/byte-run.el (defsubst):
6933 * custom.el (deftheme): Add doc-string metadata.
6934
70b8ef8f
SM
69352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6938
b1198e17
SM
69392012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6940
9abdc45d
SM
6941 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6942
b1198e17
SM
6943 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6944 * emacs-lisp/cl-macs.el: Idem.
6945 * emacs-lisp/cl-specs.el: Remove.
6946
4735906a
SM
69472012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 Minor renaming of internal CL functions and variables.
6950 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6951 (cl--position): Rename from cl-position.
6952 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6953 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6954 (cl--random-state): Rename from *random-state*.
6955
ac348012
SM
69562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6959 parens around the arg list (bug#11499).
6960
a0a79cde
JL
69612012-05-17 Juri Linkov <juri@jurta.org>
6962
6963 * isearch.el (word-search-regexp, word-search-backward)
6964 (word-search-forward, word-search-backward-lax)
6965 (word-search-forward-lax): Move functions from search.c
6966 (bug#10145, bug#11381).
6967
65034a51
AM
69682012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6969
090bd7cb
JB
6970 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6971 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6972 Delay for otherchars as for normal word components.
65034a51 6973
1a72a195
SM
69742012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * minibuffer.el (completion--sifn-requote): Fix last change.
6977 (minibuffer-local-must-match-filename-map):
6978 Move define-obsolete-variable-alias before its var.
6979
fdb058c2
SM
69802012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6981
c41045e6
SM
6982 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6983
036dfb8b
SM
6984 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6985 behavior.
6986 (completion--string-equal-p): New function.
6987 (completion--twq-all): Use it to get better assertion failure data.
6988
2473256d
SM
6989 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6990 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6991 (shell--requote-argument): New functions.
6992 (shell-completion-vars): Use them.
6993 (shell--parse-pcomplete-arguments): Rename from
6994 shell-parse-pcomplete-arguments.
6995 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6996 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6997 Obey comint-file-name-quote-list.
6998
fdb058c2
SM
6999 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7000 (smie-indent-keyword): Use it.
7001
51fa99f1
SM
70022012-05-14 Stefan Merten <smerten@oekonux.de>
7003
7004 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7005
e18afed7 70062012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7007
7008 * net/rlogin.el (rlogin-mode-map): Fix last change.
7009
e18afed7 70102012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7011
7012 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7013 the following \r\n using a single `process-send-string', since the
7014 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7015 with two `process-send-string's (Bug#11444).
8633b1f4 7016
e18afed7 70172012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7018
fdb058c2
SM
7019 * shell.el (shell-parse-pcomplete-arguments):
7020 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7021
2d21d7f6
WJ
70222012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7023
e18afed7 7024 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7025 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7026 (image-transform-width, image-transform-fit-width): New functions.
7027 (image-transform-properties): Use them.
7028 (image-transform-check-size): New function.
7029 (image-toggle-display-image): Use it (for testing).
7030 (image-transform-set-rotation): Reduce angle mod 360.
7031 Delete obsolete comment.
7032
7102e6d0
WJ
70332012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7034
7035 * image-mode.el: Fix scaling (bug#11399).
7036 (image-transform-resize): Doc fix.
7037 (image-transform-properties): Default scale is 1 and height should
7038 be an integer.
7039
06bc5e6e
SM
70402012-05-13 Johan Bockgård <bojohan@gnu.org>
7041
7042 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7043 than hard-coding `car', to fix misbehavior when moving forward.
7044
0ae03b6a
CY
70452012-05-13 Chong Yidong <cyd@gnu.org>
7046
7047 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7048 (tabulated-list-entries, tabulated-list-padding)
7049 (tabulated-list-sort-key): Make permanent-local.
7050
7051 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7052 (electric-buffer-list): Put electric buffer menu
7053 command descriptions in this docstring, instead of the docstring
7054 of electric-buffer-menu-mode. Code cleanups.
7055 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7056 Electric-buffer-menu-mode.
7057 (electric-buffer-update-highlight): Minor code cleanup.
7058
205a7391
MA
70592012-05-13 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7062 (Bug#11447)
7063
e5bd0a28
SM
70642012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 Move define-obsolete-variable-alias before the var's definition.
7067 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7068 * tooltip.el (tooltip-hook):
7069 * textmodes/reftex-toc.el (reftex-toc-map):
7070 * textmodes/reftex-sel.el (reftex-select-label-map)
7071 (reftex-select-bib-map):
7072 * textmodes/reftex-index.el (reftex-index-map)
7073 (reftex-index-phrases-map):
7074 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7075 * progmodes/meta-mode.el (meta-mode-map):
7076 * novice.el (disabled-command-hook):
7077 * loadhist.el (unload-hook-features-list):
7078 * frame.el (blink-cursor):
7079 * files.el (find-file-not-found-hooks, write-file-hooks)
7080 (write-contents-hooks):
7081 * emulation/tpu-edt.el (GOLD-map):
7082 * emacs-lock.el (emacs-lock-from-exiting):
7083 * emacs-lisp/generic.el (generic-font-lock-defaults):
7084 * emacs-lisp/chart.el (chart-map):
7085 * dos-fns.el (register-name-alist):
7086 * dired-x.el (dired-omit-files-p):
7087 * desktop.el (desktop-enable):
7088 * cus-edit.el (custom-mode-hook):
7089 * buff-menu.el (buffer-menu-mode-hook):
7090 * bookmark.el (bookmark-read-annotation-text-func)
7091 (bookmark-exit-hooks):
7092 * allout.el (allout-mode-deactivate-hook)
7093 (allout-exposure-change-hook, allout-structure-added-hook)
7094 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7095 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7096 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7097 comes before the corresponding variable's definition.
7098
ac59c2f6
CY
70992012-05-12 Chong Yidong <cyd@gnu.org>
7100
7101 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7102 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7103 (Buffer-menu-mode-map): Bind it.
7104 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7105
dee6c9a3
SM
71062012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7107
2171cea5
SM
7108 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7109 (prolog-upper-case-string, prolog-lower-case-string)
7110 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7111 (prolog-use-smie, prolog-smie-grammar): New vars.
7112 (prolog-smie-forward-token, prolog-smie-backward-token)
7113 (prolog-smie-rules): New funs.
7114 (prolog-comment-indent): Remove.
7115 (prolog-mode-variables): Use default comment indentation instead.
7116 Setup SMIE.
7117 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7118 (prolog-mode): Don't call them any more.
7119 (prolog-electric-colon, prolog-electric-dash)
7120 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7121
aa0382bd
SM
7122 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7123
dbacb4bd
SM
7124 * minibuffer.el (completion--twq-all): Again, allow case differences.
7125
13bdd94c
SM
7126 * term.el: Move keymap initialization code to be more idiomatic.
7127 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7128 (term-terminal-menu): Move initialization into declaration.
7129 (term-escape-char): Let the user set it in her .emacs.
7130
ff46c759
SM
7131 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7132 Provide SMIE-based indentation (not enabled by default yet).
7133 (sh-mode-map): Don't bind electric keys.
7134 Use electric-pair-mode instead of skeleton-pair.
7135 (sh-assignment-regexp): Fit within 80 columns.
7136 (sh-indent-supported): Specify actual shell name instead of boolean.
7137 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7138 (sh-maybe-here-document): Use it. Make obsolete.
7139 (sh-electric-here-document-mode) New minor mode.
7140 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7141 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7142 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7143 (sh-smie-rc-grammar, sh-use-smie): New vars.
7144 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7145 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7146 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7147 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7148 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7149 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7150 (sh-set-shell): Use smie-setup if requested.
7151
dee6c9a3
SM
7152 * term.el (term-set-escape-char): Properly set term-escape-char.
7153 See http://stackoverflow.com/questions/10524656.
7154
9f9aa044
CY
71552012-05-10 Chong Yidong <cyd@gnu.org>
7156
7157 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7158 Use url-generic-parse-url, and handle host names and Windows
7159 filenames properly.
7160 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7161 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7162 URL schemes to work on.
7163 (ffap--toggle-read-only): New function.
7164 (ffap-read-only, ffap-read-only-other-window)
7165 (ffap-read-only-other-frame): Use it.
7166 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7167 necessary for ffap-url-unwrap-remote.
7168
836d29b3
DA
71692012-05-10 Dave Abrahams <dave@boostpro.com>
7170
7171 * cus-start.el (create-lockfiles): Add it.
7172
00fd78ed
CY
71732012-05-09 Chong Yidong <cyd@gnu.org>
7174
7175 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7176 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7177
666b903b 71782012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7179
7180 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7181
666b903b 71822012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7183
7184 * ansi-color.el (ansi-color-process-output): Check for validity of
7185 comint-last-output-start before using it. This avoids a bad
7186 interaction with gdb-mi's input/output buffer.
7187
666b903b 71882012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7189
7190 * files.el (dir-locals-read-from-file):
7191 Mention dir-locals in any error message.
7192
666b903b 71932012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7194
7195 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7196 package (Bug#11410).
7197
f677562b
CY
7198 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7199 variables into description.
7200
666b903b 72012012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7202
7203 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7204 shell-delimiter-argument-list (bug#11348).
7205 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7206
b499d8d0
JB
72072012-05-09 Juanma Barranquero <lekktu@gmail.com>
7208
8f6b6da8
JB
7209 * textmodes/rst.el: Silence byte-compiler warnings.
7210 (rst-re-alist, rst-reset-section-caches): Move around.
7211 (rst-re): Use `characterp', not `char-valid-p'.
7212 (font-lock-beg, font-lock-end): Declare.
7213
4824146a
JB
7214 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7215 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7216
b499d8d0
JB
7217 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7218
ad89bb83
GM
72192012-05-08 Glenn Morris <rgm@gnu.org>
7220
7221 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7222
8bba5a75
SM
72232012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7224
49ed9c8e
SM
7225 * vc/log-edit.el: Add GNU coding standards highlighting.
7226 (log-edit-font-lock-gnu-style)
7227 (log-edit-font-lock-gnu-keywords): New vars.
7228 (log-edit-font-lock-keywords): New fun.
7229 (log-edit-mode): Don't fold case in font-lock.
7230 (log-edit-font-lock-keywords): Do not assume case-folding.
7231
07d00b56
SM
7232 * imenu.el: Misc cleanup. Make docstrings out of comments.
7233 Use lexical-binding.
7234 (imenu--index-alist, imenu--last-menubar-index-alist)
7235 (imenu-menubar-modified-tick): Use defvar-local.
7236 (imenu--split-menu): Remove unused var.
7237 (imenu--cleanup-seen): Declare as global.
7238 (imenu--cleanup): Use dolist.
7239
8bba5a75
SM
7240 * subr.el (defvar-local): Add debug spec and doc-string position.
7241
5075bdb5
GM
72422012-05-08 Glenn Morris <rgm@gnu.org>
7243
090bd7cb 7244 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7245 * language/english.el, language/georgian.el, language/greek.el:
7246 * language/japanese.el, language/khmer.el, language/korean.el:
7247 * language/lao.el, language/misc-lang.el, language/romanian.el:
7248 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7249 * language/thai.el, language/utf-8-lang.el:
7250 Remove no-byte-compile setting.
7251
5075bdb5
GM
7252 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7253
06f679a7
AH
72542012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7255
7256 * progmodes/make-mode.el (makefile-browse):
7257 Remove unnecessary interactive. (Bug#11324)
7258
03794570
GM
72592012-05-07 Glenn Morris <rgm@gnu.org>
7260
af8630f4
GM
7261 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7262
03794570
GM
7263 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7264
f0809a9d
SM
72652012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7266
28be5ce7
SM
7267 * loadup.el: Preload newcomment.el.
7268 * newcomment.el: Move autoload-only code to toplevel.
7269
f0809a9d
SM
7270 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7271 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7272 Handle new :right-align column property.
7273 (tabulated-list-print-col): Idem, plus use `display' text-property to
7274 try and preserve alignment for variable pitch fonts.
7275
1241b724
CY
72762012-05-07 Chong Yidong <cyd@gnu.org>
7277
7278 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7279 (tabulated-list-use-header-line): New var.
7280 (tabulated-list-init-header): Use it.
7281 (tabulated-list-print-fake-header): New function.
7282 (tabulated-list-print): Use it.
7283 (tabulated-list-sort-button-map): Add non-header-line commands.
7284 (tabulated-list-init-header): Add column name property to basic
7285 labels as well.
7286 (tabulated-list-col-sort): Handle non-header-line button case.
7287 (tabulated-list--sort-by-column-name): Fix a corner case.
7288
f0809a9d
SM
7289 * buff-menu.el (list-buffers--refresh):
7290 Handle Buffer-menu-use-header-line.
1241b724 7291
e5f9458f
CY
72922012-05-06 Chong Yidong <cyd@gnu.org>
7293
7294 * buff-menu.el: Convert to Tabulated List mode.
7295 (Buffer-menu-buffer+size-width): Make obsolete.
7296 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7297 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7298 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7299 documentation into docstring of buffer-menu.
7300 (Buffer-menu-toggle-files-only): Add an informative message.
7301 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7302 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7303 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7304 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7305 (Buffer-menu-execute, Buffer-menu-select)
7306 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7307 (Buffer-menu-bury): Use Tabulated List machinery.
7308 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7309 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7310 Delete.
e5f9458f
CY
7311 (list-buffers--refresh): New function.
7312 (list-buffers-noselect): Use it.
7313 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7314 (Buffer-menu--pretty-file-name): New helper functions.
7315
7316 * loadup.el: Preload tabulated-list.
7317
7318 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7319 tabulated-list-sort-column.
7320 (tabulated-list-init-header): Add the initial aligning space even
7321 if tabulated-list-padding is zero.
7322
e129292c
CS
73232012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7324
7325 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7326 whose cdr is not a cons cell correctly (bug#11038).
7327
6632d361
CY
73282012-05-06 Chong Yidong <cyd@gnu.org>
7329
e129292c
CS
7330 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7331 Accept additional plist in column descriptors.
6632d361
CY
7332 (tabulated-list-init-header): Obey it.
7333 (tabulated-list-get-entry): New function.
7334 (tabulated-list-put-tag): Use it. Use string-width instead of
7335 length.
7336 (tabulated-list--column-number): New function.
7337 (tabulated-list-print): Use it.
e129292c
CS
7338 (tabulated-list-print-col): New function.
7339 Set `tabulated-list-column-name' property on each column's text.
6632d361 7340 (tabulated-list-print-entry): Use it.
e129292c
CS
7341 (tabulated-list-delete-entry, tabulated-list-set-col):
7342 New functions.
6632d361
CY
7343 (tabulated-list-sort-column): New command (Bug#11337).
7344
3cc99f68
CY
7345 * buff-menu.el (list-buffers): Move C-x C-b binding from
7346 buff-menu.el to bindings.el.
7347
7348 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7349 :advertised-binding feature.
7350
52b61776
TN
73512012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7352
7353 * progmodes/compile.el (compilation-internal-error-properties):
7354 Calculate start position correctly when end-col is set but
7355 end-line is not (Bug#11382).
7356
ebfe2597
WJ
73572012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7358
7359 * man.el (Man-unindent): Use text-property-default-nonsticky to
7360 prevent untabify from inheriting face properties (Bug#11408).
7361
6d3f7c2f
SM
73622012-05-05 Stefan Merten <smerten@oekonux.de>
7363
7364 * textmodes/rst.el: Major merge with upstream development up to
7365 Docutils SVN r7399 / rst.el V1.2.1.
7366
7367 Clarify maintainership and authors.
7368
7369 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7370 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7371 (rst-official-version, rst-official-cvs-rev, rst-version)
7372 (rst-package-emacs-version-alist): New functions and variables
7373 for version information.
7374
7375 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7376 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7377 (rst-mode-syntax-table, rst-mode): New and corrected functions
7378 and variables representing reStructuredText features.
7379
7380 (rst-re): New function for reStructuredText regexes. Use in
7381 many places.
7382
7383 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7384 (rst-mode-map): Rebind keys.
7385
7386 (rst-mode-lazy, rst-font-lock-keywords)
7387 (rst-font-lock-extend-region)
7388 (rst-font-lock-extend-region-internal)
7389 (rst-font-lock-extend-region-extend)
7390 (rst-font-lock-find-unindented-line-limit)
7391 (rst-font-lock-find-unindented-line-match)
7392 (rst-adornment-level, rst-font-lock-adornment-level)
7393 (rst-font-lock-adornment-match)
7394 (rst-font-lock-handle-adornment-pre-match-form)
7395 (rst-font-lock-handle-adornment-matcher): Major revision of
7396 font-locking. Integrate with other code. Use `jit-lock-mode'.
7397
7398 (rst-preferred-adornments, rst-adjust-hook)
7399 (rst-new-adornment-down, rst-preferred-bullets)
7400 (rst-preferred-bullets, rst-indent, rst-indent-width)
7401 (rst-indent-field, rst-indent-literal-normal)
7402 (rst-indent-literal-minimized, rst-indent-comment): Change,
7403 extend and improve customization.
7404
7405 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7406 (rst-normalize-cursor-position, rst-get-decoration)
7407 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7408 (rst-rstrip, rst-toc-insert-find-delete-contents)
7409 (rst-shift-fill-region, rst-compute-bullet-tabs)
7410 (rst-debug-print-tabs, rst-debug-mark-found)
7411 (rst-shift-region-guts, rst-shift-region-right)
7412 (rst-shift-region-left, rst-use-char-classes)
7413 (rst-font-lock-keywords-function)
7414 (rst-font-lock-indentation-point)
7415 (rst-font-lock-find-unindented-line-begin)
7416 (rst-font-lock-find-unindented-line-end)
7417 (rst-font-lock-find-unindented-line)
7418 (rst-font-lock-adornment-point, rst-font-lock-level)
7419 (rst-adornment-level-alist): Remove functions and variables.
7420
7421 (rst-compare-adornments, rst-get-adornment-match)
7422 (rst-suggest-new-adornment, rst-get-adornments-around)
7423 (rst-adornment-complete-p, rst-get-next-adornment)
7424 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7425 (rst-straighten-adornments): Standardize function names to
7426 use "adornment" instead of "decoration". Correct callers.
7427 Similar standardizing in many places.
7428
7429 (rst-update-section, rst-adjust, rst-promote-region)
7430 (rst-enumerate-region, rst-bullet-list-region)
7431 (rst-repeat-last-character): Correct use of `interactive'.
7432
7433 (rst-classify-adornment, rst-find-all-adornments)
7434 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7435 (rst-find-leftmost-column, rst-repeat-last-character):
7436 Refactor functions.
7437
7438 (rst-find-title-line, rst-reset-section-caches)
7439 (rst-get-adornments-around, rst-adjust-adornment-work)
7440 (rst-arabic-to-roman, rst-roman-to-arabic)
7441 (rst-insert-list-pos, rst-insert-list-new-item)
7442 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7443 New functions.
7444
7445 (rst-all-sections, rst-section-hierarchy)
7446 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7447 New variables.
7448
7449 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7450 configuration instead of only buffer. Change where necessary.
7451
7452 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7453 (rst-shift-region, rst-adaptive-fill): New functions for
7454 indentation and filling.
7455
7456 (rst-comment-line-break, rst-comment-indent)
7457 (rst-comment-insert-comment, rst-comment-region)
7458 (rst-uncomment-region): New functions for handling comments.
7459
7460 (rst-compile): Quote shell arguments.
7461
7462 (rst-compile-pdf-preview, rst-compile-slides-preview):
7463 Delete temporary files after use.
7464
a43f98b3
GM
74652012-05-05 Glenn Morris <rgm@gnu.org>
7466
48176e8b
GM
7467 * calendar/cal-html.el: Optionally include holidays in the output.
7468 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7469 (cal-html-holidays): New option.
7470 (cal-html-css-default): Add holiday entry.
7471 (holiday-in-range): Autoload it.
7472 (cal-html-htmlify-entry): Add optional class argument.
7473 (cal-html-htmlify-list): Add optional holidays argument.
7474 (cal-html-insert-agenda-days): Include holidays in the output.
7475 (cal-html-one-month): Maybe include holidays.
7476
a43f98b3
GM
7477 * calendar/holidays.el (holiday-in-range):
7478 Move here from cal-tex-list-holidays.
7479 * calendar/cal-tex.el (cal-tex-list-holidays):
7480 Make it an obsolete alias for holiday-in-range. Update all callers.
7481
fef9d149 74822012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7483
7484 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7485 Nextstep.
7486
248da2f4
RW
74872012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7488
7489 * files.el (file-auto-mode-skip): New var.
7490 (set-auto-mode-1): Use it.
7491
f95e9344
SM
74922012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7493
df96ab1e
SM
7494 * repeat.el: Use lexical-binding.
7495 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7496 (repeat-undo-count): Remove.
7497 (repeat):
7498 * progmodes/octave-mod.el (octave-abbrev-start):
7499 * progmodes/f90.el (f90-abbrev-start):
7500 * face-remap.el (text-scale-adjust):
7501 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7502
5342bb06
SM
7503 * emacs-lisp/pcase.el (pcase--let*): New function.
7504 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7505 a bit more.
7506 (pcase--split-pred): Be more clever about ruling out overlap between
7507 a predicate and some constant pattern.
7508 (pcase--q1): Use `null' instead of (eq foo nil).
7509
f95e9344
SM
7510 * subr.el (setq-local, defvar-local): New macros.
7511 (kbd): Redefine as an alias.
7512 (with-selected-window): Leave unrelated frames alone.
7513 (set-temporary-overlay-map): New function.
7514
71873e2b
SM
75152012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7516
7517 * subr.el (user-error): New function.
7518 * window.el (switch-to-buffer):
7519 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7520 (smerge-match-conflict):
7521 * simple.el (previous-matching-history-element)
7522 (next-matching-history-element, goto-history-element, undo-more)
7523 (undo-start):
7524 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7525 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7526 (next-file, tags-loop-scan, list-tags, complete-tag):
7527 * progmodes/compile.el (compilation-loop):
7528 * mouse.el (mouse-minibuffer-check):
7529 * man.el (Man-bgproc-sentinel, Man-goto-page):
7530 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7531 (Info-history-forward, Info-follow-reference, Info-menu)
7532 (Info-extract-menu-item, Info-extract-menu-counting)
7533 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7534 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7535 (Info-next-reference, Info-prev-reference, Info-index)
7536 (Info-index-next, Info-follow-nearest-node)
7537 (Info-copy-current-node-name):
7538 * imenu.el (imenu--make-index-alist)
7539 (imenu-default-create-index-function, imenu-add-to-menubar):
7540 * files.el (basic-save-buffer, recover-file):
7541 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7542 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7543 (checkdoc-message-text, checkdoc-defun):
7544 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7545 * cus-edit.el (customize-changed-options, customize-rogue)
7546 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7547 (custom-variable-mark-to-reset-standard)
7548 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7549 (custom-file):
7550 * completion.el (check-completion-length):
7551 * comint.el (comint-search-arg)
7552 (comint-previous-matching-input-string-position)
7553 (comint-previous-matching-input)
7554 (comint-replace-by-expanded-history-before-point, comint-send-input)
7555 (comint-copy-old-input, comint-backward-matching-input)
7556 (comint-goto-process-mark, comint-set-process-mark):
7557 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7558 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7559
8a61ee22
SM
75602012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7561
66408d1e
SM
7562 * dabbrev.el (dabbrev--ignore-case-p): New function.
7563 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7564 Use it.
7565
8a61ee22
SM
7566 * files.el (automount-dir-prefix): Mark as obsolete.
7567
3c74813a
GM
75682012-05-04 Glenn Morris <rgm@gnu.org>
7569
7570 * patcomp.el, play/bruce.el: Move to obsolete/.
7571
0bfcf5c5
PE
75722012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7573
7574 Fix minor Y10k bugs.
7575 * arc-mode.el (archive-unixdate):
7576 * autoinsert.el (auto-insert-alist):
7577 * calc/calc-forms.el (math-this-year):
7578 * emacs-lisp/copyright.el (copyright-current-year)
7579 (copyright-update-year, copyright):
7580 * tar-mode.el (tar-clip-time-string):
7581 * time.el (display-time-update):
7582 Don't assume years have 4 digits.
7583
78f3273a
CY
75842012-05-04 Chong Yidong <cyd@gnu.org>
7585
7586 * dos-w32.el (file-name-buffer-file-type-alist)
7587 (direct-print-region-use-command-dot-com):
7588 * ffap.el (ffap-menu-regexp):
7589 * find-file.el (ff-special-constructs):
7590 * follow.el (follow-debug):
7591 * forms.el (forms--debug):
7592 * iswitchb.el (iswitchb-all-frames):
7593 * ido.el (ido-all-frames):
7594 * emacs-lisp/timer.el (timer-max-repeats):
7595 * mail/feedmail.el (feedmail-mail-send-hook)
7596 (feedmail-mail-send-hook-queued):
7597 * mail/footnote.el (footnote-signature-separator):
7598 * mail/mailabbrev.el (mail-alias-separator-string)
7599 (mail-abbrev-mode-regexp):
7600 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7601 * progmodes/idlwave.el (idlwave-libinfo-file)
7602 (idlwave-default-completion-case-is-down)
7603 (idlwave-library-routines): Convert defvars to defcustoms.
7604
7605 * mail/rmail.el (rmail-decode-mime-charset):
7606 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7607 (idlwave-shell-fix-inserted-breaks)
7608 (idlwave-shell-activate-alt-keybindings)
7609 (idlwave-shell-use-breakpoint-glyph):
7610 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7611
f7ae6719
SM
76122012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7615
47086495
WS
76162012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7617
7618 * progmodes/verilog-mode.el (font-lock-keywords):
7619 Fix mis-highligting auto. Reported by Craig Barner.
7620 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7621 defines from global name space. Reported by Dan Dever.
47086495
WS
7622 (verilog-auto-reset, verilog-auto-reset-widths)
7623 (verilog-auto-tieoff): Support using unbased numbers for
7624 AUTORESET and AUTOTIEOFF.
7625 (verilog-submit-bug-report): Update variable list.
7626 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7627 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7628 (verilog-auto-template-lint): Fix hash error when linting modules
7629 with no used templates.
7630 (verilog-warn, verilog-warn-error)
7631 (verilog-warn-fatal): When non-interactive report multiple
7632 warnings before exiting. Suggested by Brad Dobbie.
7633 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7634 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7635 to report unused template errors. Reported by Brad Dobbie.
7636 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7637 nets, bug438. Reported by Vns Blore.
47086495
WS
7638 (verilog-auto-inout-module, verilog-auto-reg)
7639 (verilog-read-decls, verilog-read-sub-decls-sig)
7640 (verilog-signals-edit-wire-reg, verilog-signals-with):
7641 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7642 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7643 "reg" for backwards compatibility presuming Verilog 2001.
7644 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7645 (verilog-preprocess): Fix replication of preprocess output.
7646 Reported by Brad Dobbie.
7647 (verilog-auto-inst-interfaced-ports):
7648 Create verilog-auto-inst-interfaced-ports, bug429.
7649 Reported by Julian Gorfajn.
7650 (verilog-after-save-font-hook)
7651 (verilog-before-save-font-hook): New variable.
7652 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7653 (verilog-save-font-mods): Wrap disabling fontification, reported
7654 by David Rogoff.
7655 (verilog-do-indent, verilog-pretty-declarations-auto)
7656 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7657 Reported by Pierre-David Pfister.
7658 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7659 of class declarations, bug292. Reported by Kevin Heilman.
7660 (verilog-read-decls): Fix 'parameter type' not appearing in
7661 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7662 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7663 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7664 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7665 Reported by David Kravitz.
7666
76672012-05-03 Michael McNamara <mac@mail.brushroad.com>
7668
7669 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7670 assignment with tests in ifs and for loops.
7671 (verilog-extended-complete-re, verilog-complete-reg): Change so
7672 that DPI inport functions don't look like fuction declarations.
7673 (verilog-pretty-expr): Don't line up assignment
7674 operations to the test and increment in if and for loops
7675 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7676 that DPI inport functions don't look like fuction declarations.
47086495 7677
2e51d4b5
KH
76782012-05-03 Kenichi Handa <handa@m17n.org>
7679
7680 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7681 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7682 (Bug#11282).
7683
2bd785a2
SM
76842012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * emacs-lisp/bytecomp.el
7687 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7688 since cconv.el might have introduced :fun-body, internal-make-closure,
7689 and friends for bytecomp to handle (bug#11391).
7690 * custom.el (defcustom): Avoid ((λ ..) ..).
7691
99d27583
SM
76922012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7695
55a71479
JB
76962012-05-02 Juanma Barranquero <lekktu@gmail.com>
7697
7698 * notifications.el (dbus-debug):
7699 * term/linux.el (gpm-mouse-enable):
7700 * term/screen.el (xterm-register-default-colors): Declare.
7701
7b97c764
CY
77022012-05-02 Chong Yidong <cyd@gnu.org>
7703
2bc356d7
CY
7704 * cus-start.el (gc-cons-percentage, exec-suffixes)
7705 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7706 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7707 (make-cursor-line-fully-visible, void-text-area-pointer)
7708 (font-list-limit): Add customization data.
7709
7b97c764
CY
7710 * allout.el (allout-exposure-change-functions)
7711 (allout-structure-added-functions)
7712 (allout-structure-deleted-functions)
7713 (allout-structure-shifted-functions): Rename abnormal hooks from
7714 *-hook, and convert to defcustoms.
5d3385a0
JB
7715 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7716 Convert to defcustoms.
7b97c764
CY
7717 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7718
7719 * allout-widgets.el: Hook callers changed.
7720
90207a15 77212012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7722
7723 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7724 the yanked message in preference to the default value of
7725 buffer-file-coding-system.
7726
90207a15 77272012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7728
5d3385a0
JB
7729 * window.el (display-buffer--action-function-custom-type):
7730 Fix entry.
d9558cad 7731
90207a15 77322012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7733
7734 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7735
d80ac57b
GM
77362012-05-01 Glenn Morris <rgm@gnu.org>
7737
976f7668
GM
7738 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7739
beb83b5a
GM
7740 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7741
d80ac57b
GM
7742 * cus-edit.el (custom-variable-documentation): Simplify with format.
7743
b593d6a9 77442012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7745 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7746
7747 * simple.el (suggest-key-bindings, execute-extended-command):
7748 Move from keyboard.c.
7749
782fbf2a
CY
77502012-05-01 Chong Yidong <cyd@gnu.org>
7751
7752 * follow.el: Eliminate advice.
7753 (set-process-filter, process-filter, sit-for): Advice deleted.
7754 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7755 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7756 Vars deleted.
782fbf2a
CY
7757 (follow-auto): Use a :set function.
7758 (follow-mode): Rewritten. Don't advise process filters.
7759 (follow-switch-to-current-buffer-all, follow-scroll-up)
7760 (follow-scroll-down): Assume follow-mode is bound.
7761 (follow-comint-scroll-to-bottom)
7762 (follow-align-compilation-windows): New functions.
7763 (follow--window-sorter): New function.
7764 (follow-all-followers): Use it to explicitly sort windows by their
7765 positions; don't make assumptions about next-window order.
7766 (follow-windows-start-end, follow-delete-other-windows-and-split)
7767 (follow-calc-win-start): Doc fix.
7768 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7769 vertical-motion unnecessarily.
7770 (follow-adjust-window): New function.
7771 (follow-post-command-hook): Use it.
7772 (follow-call-set-process-filter, follow-call-process-filter)
7773 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7774 (follow-stop-intercept-process-output, follow-generic-filter):
7775 Functions deleted.
7776 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7777 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7778 New functions, replacing advice on scroll-bar-* commands.
87233a14 7779 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7780
7781 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7782 (comint-postoutput-scroll-to-bottom): Use it.
7783 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7784
290af740
GM
77852012-05-01 Glenn Morris <rgm@gnu.org>
7786
7787 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7788 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7789 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7790 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7791 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7792 Remove no-byte-compile setting.
7793
6eac8dc9
SM
77942012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7797 all-completions code to not return a number in the last cdr.
7798
9cc7819c
LL
77992012-04-30 Leo Liu <sdl.web@gmail.com>
7800
7801 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7802 read-only error.
7803
c93b886f
CY
78042012-04-29 Chong Yidong <cyd@gnu.org>
7805
7806 * follow.el (follow-calc-win-end): Rewrite to handle partial
7807 screen lines correctly (Bug#8390).
7808 (follow-avoid-tail-recenter): Minor cleanup.
7809
8b6c19f4
SM
78102012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 Avoid the obsolete `assoc' package.
7813 * speedbar.el (speedbar-refresh): Avoid adelete.
7814 (speedbar-file-lists): Simplify and avoid aput.
7815 * man.el (Man--sections, Man--refpages): New vars, replacing
7816 Man-sections-alist and Man-refpages-alist.
7817 (Man-build-section-alist, Man-build-references-alist):
7818 Use them; avoid aput.
7819 (Man--last-section, Man--last-refpage): New vars.
7820 (Man-follow-manual-reference): Use them.
7821 Use the `default' arg of completing-read.
7822 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7823
c5bb7569
CY
78242012-04-27 Chong Yidong <cyd@gnu.org>
7825
d1d2e2e8
CY
7826 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7827
15cd8efd
CY
7828 * startup.el (x-apply-session-resources): New function.
7829
7830 * term/ns-win.el (ns-initialize-window-system):
7831 * term/w32-win.el (w32-initialize-window-system):
7832 * term/x-win.el (x-initialize-window-system): Use it to properly
7833 set menu-bar-mode and other vars from X resources, even if the
7834 initial frame is not a window-system frame (Bug#2299).
7835
c5bb7569
CY
7836 * subr.el (read-key): Avoid running filter function when setting
7837 up temporary tool bar entries (Bug#9922).
7838
a8e7d6d7 78392012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7840
7841 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7842 (Bug#11344)
7843
a8e7d6d7 78442012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7845
7846 * select.el (xselect--encode-string): New function, split from
7847 xselect-convert-to-string.
7848 (xselect-convert-to-string): Use it.
7849 (xselect-convert-to-filename, xselect-convert-to-os)
7850 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7851 returned strings are properly encoded (Bug#11315).
7852
a8e7d6d7 78532012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7854
7855 * simple.el (delete-active-region): Move to killing custom group.
7856
a8e7d6d7 78572012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7858
7859 * progmodes/which-func.el (which-func-current): Quote %
7860 characters for mode-line processing.
7861
578c1d4b 78622012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7863
7864 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7865 reaching eob (Bug#11286).
7866
a8e7d6d7 78672012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7868
7869 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7870 (gdb): Make it buffer-local and init to zero.
7871 (gdb-control-commands-regexp): New variable.
7872 (gdb-send): Don't wrap in "-interpreter-exec console" if
7873 gdb-control-level is positive. Increment gdb-control-level
7874 whenever the command matches gdb-control-commands-regexp, and
7875 decrement it each time the command is "end". (Bug#11279)
7876
a8e7d6d7 78772012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7878
7879 * window.el (adjust-window-trailing-edge, enlarge-window)
7880 (shrink-window, window-resize):
7881 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7882 windows (Bug#11276).
7883
b3608390
CY
78842012-04-27 Chong Yidong <cyd@gnu.org>
7885
7886 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7887 fix "missing prefix" warning. All callers changed.
b3608390 7888
797e6e88
SM
78892012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * emacs-lisp/assoc.el: Move to obsolete/.
7892
e95a67dc
SM
78932012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7894
657c21e4 7895 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7896
7897 * term/ns-win.el (ns-define-service):
7898 * progmodes/pascal.el (pascal-goto-defun):
7899 * progmodes/js.el (js--read-tab):
7900 * progmodes/etags.el (tags-lazy-completion-table):
7901 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7902 * emacs-lisp/ewoc.el (ewoc--wrap):
7903 * emacs-lisp/assoc.el (aput, adelete, amake):
7904 * doc-view.el (doc-view-convert-current-doc):
7905 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7906
cb3e7ae0
CY
79072012-04-26 Chong Yidong <cyd@gnu.org>
7908
dce04f7f
CY
7909 * image.el (image-type-from-buffer): Only return supported image
7910 type (Bug#9045).
7911
cb3e7ae0
CY
7912 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7913 value, for symmetry with diff-end-of-hunk.
7914 (diff-split-hunk, diff-find-source-location)
7915 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7916 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7917 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7918 compute the relevant hunk or file properly (Bug#6005).
7919 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7920
0d42eb3e
SM
79212012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * vc/vc-mtn.el:
7924 * vc/vc-hg.el:
7925 * vc/vc-git.el:
7926 * vc/vc-dir.el:
7927 * vc/vc-cvs.el:
7928 * vc/vc-bzr.el:
7929 * vc/vc-arch.el:
7930 * vc/vc.el: Replace lexical-let by lexical-binding.
7931 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7932 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7933 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7934
f08ae1c9
CY
79352012-04-26 Chong Yidong <cyd@gnu.org>
7936
8b71081d
CY
7937 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7938 (diff-mode-shared-map): Bind it to / and [remap undo].
7939
f08ae1c9
CY
7940 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7941 (ediff-window-setup-function): Use it as the default, to set up
7942 windows based on whether the current frame is graphical (Bug#2138).
7943 (ediff-choose-window-setup-function-automatically): Make obsolete.
7944
7945 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7946
ef24141c
SM
79472012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7948
cc356a5d
SM
7949 * ffap.el: Remove old code for obsolete package.
7950 (ffap-complete-as-file-p): Remove.
7951
b4ff4f1f
SM
7952 Use completion-table-with-quoting for comint and pcomplete.
7953 * comint.el (comint--unquote&requote-argument)
7954 (comint--unquote-argument, comint--requote-argument): New functions.
7955 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7956 (comint-quote-filename): Use regexp-opt-charset.
7957 (comint--common-suffix, comint--common-quoted-suffix)
7958 (comint--table-subvert): Remove.
7959 (comint-unquote-function, comint-requote-function): New vars.
7960 (comint--complete-file-name-data): Use them with
7961 completion-table-with-quoting.
7962 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7963 * pcomplete.el (pcomplete-arg-quote-list)
7964 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7965 (pcomplete-unquote-argument-function): Default to non-nil.
7966 (pcomplete-unquote-argument): Simplify.
7967 (pcomplete--common-quoted-suffix): Remove.
7968 (pcomplete-requote-argument-function): New var.
7969 (pcomplete--common-suffix): New function.
7970 (pcomplete-completions-at-point): Use completion-table-with-quoting
7971 and completion-table-subvert.
7972
79c4eeb4
SM
7973 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7974 (minibuffer--double-dollars): Preserve properties.
7975 (completion--sifn-requote): New function.
7976 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7977
ef24141c
SM
7978 * minibuffer.el: Add support for completion of quoted/escaped data.
7979 (completion-table-with-quoting, completion-table-subvert): New funs.
7980 (completion--twq-try, completion--twq-all): New functions.
7981 (completion--nth-completion): New function.
7982 (completion-try-completion, completion-all-completions): Use it.
7983
784e7d6e
LL
79842012-04-25 Leo Liu <sdl.web@gmail.com>
7985
dd2ac746
SM
7986 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7987 Use compilation-message if available to find real filename.
784e7d6e 7988
07875ee7
CY
79892012-04-25 Chong Yidong <cyd@gnu.org>
7990
7991 * vc/diff-mode.el (diff-setup-whitespace): New function.
7992 (diff-mode): Use it.
7993
7994 * vc/diff.el (diff-sentinel):
7995 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7996 Whitespace mode variables based on diff style (Bug#8612).
7997
5055880d
LL
79982012-04-25 Leo Liu <sdl.web@gmail.com>
7999
daf75653
LL
8000 * progmodes/python.el (python-send-region): Add suffix .py to the
8001 temp file.
8002
5055880d
LL
8003 * files.el (auto-mode-alist): Use javascript-mode instead.
8004
db9b177b
AH
80052012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8006
ef24141c 8007 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8008
090bd7cb 8009 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8010 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8011 references, see Bug#9.
ef24141c 8012 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8013 when receiving a fault reply.
ef24141c 8014 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8015
090bd7cb 8016 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8017 (soap-inspect-simple-type): New function.
db9b177b 8018
090bd7cb 8019 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8020 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8021 (soap-decode-basic-type, soap-encode-basic-type):
8022 support unsignedInt and double basic types.
db9b177b 8023 (soap-resolve-references-for-simple-type)
ef24141c
SM
8024 (soap-parse-simple-type, soap-encode-simple-type): New function.
8025 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8026
090bd7cb 8027 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8028 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8029 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8030 the local name of "soapenc:Array".
8031 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8032 decoding integer, byte and anyURI xsd types.
8033
1fc6097b
CY
80342012-04-25 Chong Yidong <cyd@gnu.org>
8035
8036 * cus-edit.el (custom-buffer-create-internal): Update header text.
8037
afc6df87
EZ
80382012-04-25 Eli Zaretskii <eliz@gnu.org>
8039
8040 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8041 settings on 'system-type', not on 'window-system'. On MS-Windows,
8042 set interactive-mode on in GDB.
8043
dfbd787f
SM
80442012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8047 (ruby-syntax-propertize-regexp): Remove.
8048 (ruby-syntax-propertize-function): Split regexp into chunks.
8049 Match following code directly.
8050
85222d44
DG
80512012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8052
51a8ea2a
DG
8053 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8054 (ruby-syntax-propertize-regexp): New function.
8055 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8056 by a special keyword.
8057
85222d44
DG
8058 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8059 (ruby-syntax-general-delimiters-goto-beg)
8060 (ruby-syntax-propertize-general-delimiters): New functions.
8061 (ruby-syntax-propertize-function): Use them to handle GDL.
8062 (ruby-font-lock-keywords): Move old handling of GDL...
8063 (ruby-font-lock-syntactic-keywords): .. to here.
8064 (ruby-calculate-indent): Adjust indentation for GDL.
8065
b613912b
MA
80662012-04-24 Michael Albinus <michael.albinus@gmx.de>
8067
b5380639
MA
8068 * notifications.el (top): Remove unneeded declarations.
8069 (notifications-specification-version): Change to "1.2".
e43042fe 8070 (notifications-interface, notifications-notify-method)
b613912b
MA
8071 (notifications-close-notification-method): Fix docstring.
8072 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8073 (notifications-notify): Add :action-items, :resident and
8074 :transient hints. Change "image_data" to "image-data" and
8075 "image_path" to "image-path".
b613912b
MA
8076 (notifications-get-capabilities): New defun.
8077
257440aa
LL
80782012-04-24 Leo Liu <sdl.web@gmail.com>
8079
8080 * progmodes/python.el: Move hideshow setup to the end.
8081
b1bac16e
MR
80822012-04-24 Martin Rudalics <rudalics@gmx.at>
8083
8084 * window.el (handle-select-window): Clear echo area since this is
8085 no more done by read_char (Bug#11304).
8086
d81bd059
SM
80872012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8090 and `/ M' to filter-derived-mode.
8091 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8092 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8093 (ibuffer-mark-by-mode): Use default rather than initial-input.
8094 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8095
c4cf6d91
IA
80962012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8097
8098 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8099 (ibuffer-filter-by-derived-mode): New filter.
8100 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8101
7511ded8
CY
81022012-04-23 Andreas Politz <politza@fh-trier.de>
8103
8104 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8105
775c916b
CY
81062012-04-23 Chong Yidong <cyd@gnu.org>
8107
8108 * cus-edit.el (customize-apropos, customize-apropos-options):
8109 Disable matching of non-option variables (Bug#11176).
8110 (customize-option, customize-option-other-window)
8111 (customize-changed-options): Doc fix.
8112 (customize-apropos-options, customize-apropos-faces)
8113 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8114
8115 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8116 Fix word list splitting (Bug#11132).
46c71e23
CY
8117 (apropos-symbol, apropos-keybinding, apropos-label)
8118 (apropos-property, apropos-function-button)
8119 (apropos-variable-button, apropos-misc-button): New faces.
8120 (apropos-symbol-face, apropos-keybinding-face)
8121 (apropos-label-face, apropos-property-face, apropos-match-face):
8122 Variables removed (Bug#8396).
8123 (apropos-library-button, apropos-format-plist, apropos-print)
8124 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8125
2df41f9c
MA
81262012-04-23 Michael Albinus <michael.albinus@gmx.de>
8127
8128 * net/xesam.el (xesam-mode-map): Use let-bound map in
8129 initialization. (Bug#11292)
8130
da00640a
AM
81312012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8132
8133 Preserve ispell session localwords when switching back to
8134 original buffer.
8135
090bd7cb
JB
8136 * textmodes/ispell.el (ispell-buffer-session-localwords):
8137 New buffer-local variable to hold buffer session localwords.
ed9265fc 8138 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8139 localwords.
8140 (ispell-command-loop, ispell-change-dictionary)
8141 (ispell-buffer-local-words): Preserve session localwords when
8142 needed.
8143
090bd7cb
JB
8144 * textmodes/flyspell.el (flyspell-process-localwords)
8145 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8146
f621ccf5
AM
81472012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8148
090bd7cb
JB
8149 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8150 using obsolete `translation-table-for-input'.
ef24141c
SM
8151 (ispell-word, ispell-process-line, ispell-complete-word):
8152 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8153
c2d1019e
CY
81542012-04-22 Chong Yidong <cyd@gnu.org>
8155
8156 * cus-edit.el (custom-variable-menu)
8157 (custom-variable-reset-saved, custom-face-menu)
8158 (custom-face-reset-saved): If there is no saved value, make the
8159 "reset-saved" operation bring back the default (Bug#9509).
8160 (custom-face-state): Properly detect themed faces.
8161
eeddc531
CY
8162 * faces.el (face-spec-set): Stop supporting deprecated form of
8163 third arg.
8164
dcbf5805
MA
81652012-04-22 Michael Albinus <michael.albinus@gmx.de>
8166
8167 Move functions from C to Lisp. Make non-blocking method calls
8168 the default. Implement further D-Bus standard interfaces.
8169
ef24141c
SM
8170 * net/dbus.el (dbus-message-internal): Declare function.
8171 Remove unneeded function declarations.
dcbf5805
MA
8172 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8173 (dbus-message-type-method-return, dbus-message-type-error)
8174 (dbus-message-type-signal): Declare variables. Remove local
8175 definitions.
8176 (dbus-interface-dbus, dbus-interface-peer)
8177 (dbus-interface-introspectable, dbus-interface-properties)
8178 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8179 Adapt docstring.
8180 (dbus-interface-objectmanager): New defconst.
8181 (dbus-call-method, dbus-call-method-asynchronously)
8182 (dbus-send-signal, dbus-method-return-internal)
8183 (dbus-method-error-internal, dbus-register-service)
8184 (dbus-register-signal, dbus-register-method): New defuns, moved
8185 from dbusbind.c
8186 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8187 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8188 New defuns.
dcbf5805
MA
8189 (dbus-call-method-non-blocking): Make it an obsolete function.
8190 (dbus-unregister-object, dbus-unregister-service)
8191 (dbus-handle-event, dbus-register-property)
8192 (dbus-property-handler): Obey the new structure of
8193 `bus-registered-objects'.
8194 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8195 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8196 Use `dbus-call-method'.
8197
cf20dee0
CY
81982012-04-22 Chong Yidong <cyd@gnu.org>
8199
8200 * cus-edit.el (custom-commands, custom-reset-menu)
8201 (Custom-reset-standard): Tweak labels.
8202 (custom-reset-button-menu): Change default to t.
8203 (custom-buffer-create-internal): For the custom-reset-button-menu
8204 case, put the revert button first.
8205 (custom-group-subtitle): New face.
8206 (custom-group-value-create): Align docstring to a specific column.
8207
8208 * wid-edit.el (widget-documentation-link-add): Don't handle
8209 indentation in this function.
8210 (widget-documentation-string-indent-to): New function.
8211 (widget-documentation-string-value-create): Use it.
8212
8213 * autorevert.el (auto-revert):
8214 * epg-config.el (epg):
8215 * ibuffer.el (ibuffer):
8216 * mpc.el (mpc):
8217 * ses.el (ses):
8218 * eshell/eshell.el (eshell):
8219 * net/ange-ftp.el (ange-ftp):
8220 * progmodes/ebnf2ps.el (postscript):
8221 * progmodes/flymake.el (flymake):
8222 * progmodes/prolog.el (prolog):
8223 * progmodes/verilog-mode.el (verilog-mode):
8224 * progmodes/which-func.el (which-func):
8225 * term/xterm.el (xterm):
8226 * textmodes/picture.el (picture):
8227 * textmodes/tildify.el (tildify):
8228 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8229 customization buffers.
8230
583e23bd
AM
82312012-04-22 Alan Mackenzie <acm@muc.de>
8232
8233 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8234 Adding a ) can hide the resulting (..) from searches. Fix it.
8235 Bound the backward search to the position of the existing (.
8236
7dd51bf1
JB
82372012-04-21 Juanma Barranquero <lekktu@gmail.com>
8238
8239 * progmodes/verilog-mode.el (verilog-mode): Check whether
8240 which-func-modes is t before adding verilog-mode.
8241 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8242
d64a438f
LL
82432012-04-21 Leo Liu <sdl.web@gmail.com>
8244
7dd51bf1 8245 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8246
081e8d65
MV
82472012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8248
8249 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8250 filling of the last column of a table (Bug#5635).
8251 (woman-find-next-control-line): New arg, specifying an additional
8252 regexp component for the control line.
8253 (woman2-roff-buffer): Use it.
8254 (woman-break-table): New function.
8255 (woman2-TS): Use it.
8256
82572012-04-21 Chong Yidong <cyd@gnu.org>
8258
8259 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8260 (woman-horizontal-escapes, woman-negative-vertical-space)
8261 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8262 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8263
ed571ccb
SM
82642012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * minibuffer.el (completion-file-name-table): Complete user names.
8267
39773899
LL
82682012-04-20 Leo Liu <sdl.web@gmail.com>
8269
8270 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8271 and pcase-let*.
8272
de6ff46d
CY
82732012-04-20 Chong Yidong <cyd@gnu.org>
8274
8275 * server.el (server-execute): Respect initial-buffer-choice if it
8276 is a string and there are no files to open (Bug#2825).
8277 (server-create-window-system-frame, server-create-tty-frame):
8278 Don't switch buffers here.
2d0e8e61
CY
8279 (server-process-filter): Only try to open a window system frame if
8280 compiled with graphical support (Bug#8314).
de6ff46d 8281
54071013
DN
82822012-04-20 Dan Nicolaescu <dann@gnu.org>
8283
8284 * battery.el (battery-echo-area-format): Display remaining time
8285 for sysfs backend too (Bug#11269).
8286 (battery-linux-sysfs): Fix conditional for the charge.
8287
f30d612a
CY
82882012-04-20 Chong Yidong <cyd@gnu.org>
8289
c07a4c0b 8290 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8291 (gdb-inferior-io--init-proc): New function.
8292 (gdb-init-1): Use it.
8293 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8294 responsible for allocating a new pty and hooking it to gdb when
8295 the old pty gets an EIO due to process exit.
8296 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8297 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8298 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8299
2116e93c
EZ
83002012-04-20 Eli Zaretskii <eliz@gnu.org>
8301
8302 * window.el (window-min-size, window-sizable, window-min-delta)
8303 (window-max-delta, window--resizable, window-resizable)
8304 (window-total-size, window-full-height-p, window-full-width-p)
8305 (window-in-direction, window--resize-mini-window, window-resize)
8306 (window--resize-child-windows-normal)
8307 (window--resize-child-windows, window--resize-siblings)
8308 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8309 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8310
c07a4c0b 83112012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8312
ef24141c
SM
8313 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8314 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8315 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8316 pty process (Bug#11273).
8317 (gdb-update): New arg to suppress talking to the gdb process.
8318 (gdb-done-or-error): Use it.
8319 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8320 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8321 sentinel not being called.
8322
8323 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8324
d02766ab
CY
8325 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8326
c07a4c0b 83272012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8328
8329 * net/network-stream.el (open-network-stream): Doc fix.
8330
c07a4c0b 83312012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8332
8333 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8334
c07a4c0b 83352012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8336
8337 Ensure searching for keywords is case sensitive.
8338
8339 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8340 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8341 (c-defun-name, c-mark-function, c-cpp-define-name)
8342 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8343 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8344
ef24141c
SM
8345 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8346 Bind case-fold-search to nil.
f0f6bc35 8347
c07a4c0b 83482012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8349
8350 * mail/sendmail.el (mail-bury): Call return action with the right
8351 Rmail buffer (Bug#11242).
8352
9a864fa2
CY
8353 * server.el (server-process-filter): Handle corner case where both
8354 tty and nowait options are present (Bug#11102).
8355
539aa513
EZ
83562012-04-20 Eli Zaretskii <eliz@gnu.org>
8357
8358 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8359 (top level): Put into the executable the ident-style '$Id:' tag on
8360 windows-nt as well.
539aa513 8361
cfc7d5da
SM
83622012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * electric.el (electric-indent-post-self-insert-function): Check that
8365 electric-indent-mode is enabled in current buffer.
8366
5b01685c
JB
83672012-04-19 Juanma Barranquero <lekktu@gmail.com>
8368
8369 * imenu.el (imenu-progress-message): Restore; it is "used" in
8370 erc/erc-imenu.el and net/snmp-mode.el.
8371
4d6769e1
JB
83722012-04-19 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8375 (mouse-avoidance-nudge-mouse): Remove unused binding.
8376
8377 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8378
8379 * descr-text.el (describe-char):
8380 * progmodes/python.el (python-describe-symbol):
8381 Don't call `toggle-read-only', set `buffer-read-only'.
8382
8383 * imenu.el (imenu-default-goto-function): Mark unused args.
8384 (imenu-progress-message): Remove obsolete macro; all callers changed.
8385
8386 * subr.el (keymap-canonicalize): Remove unused binding.
8387 (read-passwd): Mark unused arg.
8388
8389 * tutorial.el (tutorial--display-changes): Remove unused binding.
8390 (tutorial--save-tutorial-to): Remove unused variable.
8391
8392 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8393 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8394 (package-generate-autoloads, package-menu--generate)
8395 (package-menu--find-upgrades): Remove unused bindings.
8396
8397 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8398 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8399 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8400 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8401 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8402 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8403 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8404 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8405 (cua-delete-char-rectangle): Mark unused args.
8406 (cua-align-rectangle): Remove unused binding.
8407
8408 * mail/rmail.el (compilation--message->loc)
8409 (epa--find-coding-system-for-mime-charset): Declare.
8410
8411 * net/dbus.el (dbus-register-service): Declare.
8412 (dbus-name-owner-changed-handler): Remove unused binding.
8413
8414 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8415 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8416 (nxml-scan-backward-within): Mark unused arg.
8417 (nxml-dynamic-markup-word): Remove unused binding.
8418
8419 * mouse.el (mouse-menu-major-mode-map):
8420 * emacs-lisp/authors.el (authors-scan-change-log)
8421 (authors-add-to-author-list):
8422 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8423 * emacs-lisp/smie.el (smie-auto-fill):
8424 * mail/sendmail.el (mail-bury):
8425 * mail/unrmail.el (unrmail):
8426 * net/tls.el (open-tls-stream):
8427 * textmodes/picture.el (picture-mouse-set-point):
8428 Remove unused bindings.
8429
8c8fc5df
MA
84302012-04-19 Michael Albinus <michael.albinus@gmx.de>
8431
8432 * net/tramp.el (tramp-action-password): Let-bind
8433 `enable-recursive-minibuffers' to t.
8434
a77b0ac9
SS
84352012-04-18 Sam Steingold <sds@gnu.org>
8436
8437 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8438 instead of 'string to accommodate values like [f11].
8439 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8440 * progmodes/gdb-mi.el: Likewise.
8441
12a106a9
LL
84422012-04-18 Leo Liu <sdl.web@gmail.com>
8443
8444 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8445 current buffer.
8446 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8447 LOCAL is nil.
8448
bc6494ef
CY
84492012-04-18 Chong Yidong <cyd@gnu.org>
8450
8451 * simple.el (line-move): Use forward-line if in batch mode
8452 (Bug#11053).
8453
c09c46b2
CS
84542012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8455
8456 * files.el (after-find-file): Do not try to add a final newline if
8457 the buffer is read-only (Bug#11156).
8458
5f6530ea
RS
84592012-04-17 Richard Stallman <rms@gnu.org>
8460
8461 * mail/rmail.el (rmail-start-mail):
8462 Pass (rmail-mail-return...) for the return-action.
8463 Pass (rmail-yank-current-message...) for the yank-action.
8464 (rmail-yank-current-message): New function.
8465 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8466 (rmail-reply): Likewise.
8467 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8468
8469 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8470 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8471 buffer, not newbuf.
8472
197b6f3c
JB
84732012-04-17 Juanma Barranquero <lekktu@gmail.com>
8474
8475 * server.el (server-ensure-safe-dir): Simplify.
8476
2311d8e5 84772012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8478
2311d8e5
GM
8479 * emacs-lisp/smie.el: Provide smarter auto-filling.
8480 (smie-auto-fill): New function.
8481 (smie-setup): Use it.
98fb480e 8482
2311d8e5
GM
8483 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8484
84852012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8486
8487 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8488 (comment-indent): Use it.
8489
2311d8e5 84902012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8491
8492 * ses.el: The overall change is to add cell renaming, that is
8493 setting fancy names for cell symbols other than name matching
8494 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8495 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8496 (ses-create-cell-variable): New defun.
2311d8e5 8497 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8498 (ses-relocate-formula): Relocate formulas only for cells the
8499 symbols of which are not renamed, i.e. symbols whose names do not
8500 match regexp "\\`[A-Z]+[0-9]+\\'".
8501 (ses-relocate-all): Relocate values only for cells the symbols of
8502 which are not renamed.
8503 (ses-load): Create cells variables as the (ses-cell ...) are read,
8504 in order to check row col consistency with cell symbol name only
8505 for cells that are not renamed.
8506 (ses-replace-name-in-formula): New defun.
8507 (ses-rename-cell): New defun.
4bdf2ad2 8508
fc72b15c
PO
85092012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8510
8511 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8512 New option (bug#11118).
8513 (perl-calculate-indent): Respect it.
8514
12e10e61
GM
85152012-04-17 Glenn Morris <rgm@gnu.org>
8516
8517 * dired-aux.el (dired-mark-read-string): Doc fix.
8518
30009afd
DA
85192012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8520
8521 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8522 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8523
41f03f4d
GM
85242012-04-17 Glenn Morris <rgm@gnu.org>
8525
8526 * mouse.el (mouse-drag-track):
8527 * speedbar.el (speedbar-frame-mode):
8528 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8529
f45f90f3
LL
85302012-04-16 Leo Liu <sdl.web@gmail.com>
8531
8532 * progmodes/python.el: Trivial cleanup.
8533
94ee8db5
GM
85342012-04-16 Glenn Morris <rgm@gnu.org>
8535
121b8917
GM
8536 * vc/vc.el (vc-string-prefix-p):
8537 * vc/pcvs-util.el (cvs-string-prefix-p):
8538 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8539 * mpc.el (mpc-string-prefix-p):
8540 Make all of these into obsolete aliases for string-prefix-p.
8541 Update callers.
8542 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8543
1197ecfa
GM
8544 * textmodes/two-column.el: Move custom options to the start.
8545 (frame-width): Remove compat definition.
8546 (2C-associate-buffer, 2C-dissociate):
8547 Use with-current-buffer rather than save-excursion.
8548 (2C-dissociate): Force a mode-line update.
8549 (2C-autoscroll): Use ignore-errors.
8550
099e7202
GM
8551 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8552 Autoload trivia.
8553
bf350d6a
GM
8554 * emacs-lisp/cl-extra.el (*random-state*):
8555 Remove unnecessary declaration.
8556
0e829eab
GM
8557 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8558
e3ad7552
GM
8559 * play/cookie1.el (cookie-snarf):
8560 Give an explicit error if input file cannot be read.
8561
68892d27
GM
8562 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8563
20f0c46d
GM
8564 * progmodes/perl-mode.el (c-macro-expand):
8565 Remove unnecessary autoload (it is in loaddefs.el).
8566
5a0978ce
GM
8567 * textmodes/picture.el (picture-desired-column)
8568 (picture-update-desired-column): Convert comments to doc-strings.
8569 (picture-substitute): Remove function.
8570 (picture-mode-map): Initialize in the defvar.
8571
6b955486
GM
8572 * woman.el: Remove eval-after-load for tar-mode.
8573 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8574 (woman-tar-extract-file): Autoload it.
8575
94ee8db5
GM
8576 * frame.el (automatic-hscrolling): Make this alias obsolete.
8577
177eca34
AM
85782012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8579
090bd7cb 8580 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8581 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8582 (ispell-dictionary-base-alist): Revert to original XEmacs
8583 friendly version for default. [:alpha:] will be added in
090bd7cb 8584 `ispell-set-spellchecker-params' if needed.
177eca34 8585
c505aaeb
CY
85862012-04-16 Chong Yidong <cyd@gnu.org>
8587
b19dd9d1 8588 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8589 (imagemagick-register-types): Use it.
8590 (imagemagick-types-inhibit): Add :set function. Allow new value
8591 of t to inhibit all types.
8592
8593 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8594 so we can preload it.
8595
8596 * loadup.el (fboundp): Preload regexp-opt, needed by
8597 imagemagick-register-types.
8598
60efac0f
CY
85992012-04-15 Chong Yidong <cyd@gnu.org>
8600
8601 * frame.el (scrolling): Remove nearly unused customization group.
8602
8603 * scroll-all.el (scroll-all-mode): Move to windows group.
8604
5dd1713e
CY
86052012-04-15 Chong Yidong <cyd@gnu.org>
8606
8607 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8608
e6fd457e
CY
86092012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8612 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8613
e153c136
GM
86142012-04-15 Glenn Morris <rgm@gnu.org>
8615
8616 * simple.el (process-file-side-effects): Doc fix.
8617
e6fd457e 86182012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8619
8620 * international/mule-cmds.el (set-language-environment): Doc fix.
8621
3603c3b1
JB
86222012-04-14 Juanma Barranquero <lekktu@gmail.com>
8623
8624 * server.el (server-auth-key, server-generate-key): Doc fixes.
8625 (server-get-auth-key): Doc fix. Use `string-match-p'.
8626 (server-start): Reflow docstring.
8627
e6de100c
LI
86282012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8629
8630 * server.el (server-generate-key): `called-interactively-p'
8631 requires a parameter.
8632
29734c21
MN
86332012-04-14 Michal Nazarewicz <mina86@mina86.com>
8634
8635 * server.el (server-auth-key): New variable.
75f1671a 8636 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8637 (server-start): Use the new variable and functions to allow
8638 setting a permanent server key (bug#9423).
8639
d65c9521
LL
86402012-04-14 Leo Liu <sdl.web@gmail.com>
8641
8642 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8643
5ae255c7
PE
86442012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8645
8646 Spelling fixes.
8647 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8648 Emacs uses American spelling.
8649
d5e6342e
JB
86502012-04-14 Juanma Barranquero <lekktu@gmail.com>
8651
8652 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8653 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8654 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8655 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8656
ab036cd7
SM
86572012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * progmodes/which-func.el (which-func-modes): Change default.
8660
35dc09a1 86612012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8662
8663 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8664 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8665
35dc09a1 86662012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8667
8668 * custom.el (custom-theme-set-variables): Doc fix.
8669
35dc09a1 86702012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8671
8672 * international/mule.el (set-auto-coding-for-load): Doc fix.
8673
35dc09a1 86742012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8675
35dc09a1
GM
8676 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8677 imenu work again for Objective C Mode. Correct the *-index values,
8678 these having been disturbed by a previous change in 2011-08.
57f845ee 8679
0de3da9f
AM
8680 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8681 Correct two search limits.
8682
35dc09a1 86832012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8684
8685 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8686
35dc09a1 86872012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8688
8689 * international/characters.el: Fix sorting.
8690
35dc09a1 86912012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8692
8693 * international/characters.el: Add more missing Latin case pairs.
8694
35dc09a1 86952012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8696
8697 * files.el (dir-locals-set-class-variables): Doc fix.
8698
35dc09a1 86992012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8700
3f1b5bf8
EZ
8701 * international/characters.el: Add set-case-syntax-pair call for
8702 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8703 counterpart. (Bug#11209)
8704
9f847f41
EZ
8705 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8706
35dc09a1 87072012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8708
8709 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8710
35dc09a1 87112012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8712
35dc09a1
GM
8713 * textmodes/ispell.el (ispell-dictionary-base-alist):
8714 Add data for Hebrew.
e2627d21 8715
35dc09a1 87162012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8717
35dc09a1
GM
8718 * net/rcirc.el (rcirc-cmd-quit):
8719 Revert 2012-03-18 change (Bug#11192).
5c14e333 8720
35dc09a1 87212012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8722
8723 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8724
35dc09a1 87252012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8726
4517fe3a
SM
8727 * minibuffer.el (completion-in-region-mode-map):
8728 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8729
b472a594
VD
87302012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8731
8732 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8733
09b95ce3
MY
87342012-04-13 Masatake YAMATO <yamato@redhat.com>
8735
8736 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8737 to allow `C-M-f' and `C-M-b' to move to the nearest path
8738 separator (bug#9511).
8739
4b63a9ca
LI
87402012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8741
8742 * avoid.el: Require cl when compiling. And also move the
8743 `provide' to the end.
8744
7b55b8bf
TV
87452012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8746
8747 * avoid.el (mouse-avoidance-banish-position): New variable.
8748 (mouse-avoidance-banish-destination): Use it (bug#10165).
8749
adedaa1f
LL
87502012-04-13 Leo Liu <sdl.web@gmail.com>
8751
8752 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8753
70e74021
KB
87542012-04-13 Ken Brown <kbrown@cornell.edu>
8755
8756 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8757 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8758 (browse-url-filename-alist): For the same reason, don't modify
8759 file:// URLs on Cygwin.
8760
e75e89ba
SM
87612012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8764 the region on shift if the binding is already shifted (bug#11221).
8765
82f289a4
GM
87662012-04-12 Glenn Morris <rgm@gnu.org>
8767
8768 * mail/mailpost.el: Move to obsolete/.
8769
d333dc4c
DA
87702012-04-12 Drew Adams <drew.adams@oracle.com>
8771
8772 * imenu.el (imenu--generic-function): Ignore invisible definitions
8773 (bug#10123).
8774
0d15b5ba
VD
87752012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8776
8777 * hexl.el (hexl-bits): New variable.
8778 (hexl-options): Mention the variable in the doc string.
75f1671a 8779 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8780 (hexl-mode): Mention the new variable.
75f1671a
JB
8781 (hexl-mode, hexl-current-address, hexl-current-address):
8782 Use the displen.
0d15b5ba
VD
8783 (hexl-ascii-start-column): New function.
8784 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8785 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8786
64a440db
AM
87872012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8788
8789 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8790 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8791 the encoding, as expected by hunspell.
8792
6decb6c2
SM
87932012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 * battery.el (battery--linux-sysfs-regexp): New const.
8796 (battery-status-function): Use it. Remove yeeloong special case.
8797 (battery-yeeloong-sysfs): Remove.
8798 (battery-echo-area-format): Remove yeeloong special case.
8799
088be6fb
SM
88002012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8801
6622e416
SM
8802 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8803 Reported by Noah Friedman.
8804
088be6fb
SM
8805 * subr.el (read-passwd): Use read-string.
8806
b49f886e
LMI
88072012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8808
8809 * vcursor.el (vcursor-move): Increase the priority of the overlay
8810 (bug#9663).
8811
a63067fc
DD
88122012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8813
8814 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8815 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8816
ac3cf14a
WS
88172012-04-11 William Stevenson <yhvh2000@gmail.com>
8818
8819 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8820 define-minor-mode (bug#10760).
8821
c4fc691b 88222012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8823
4d6769e1 8824 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8825 that directories matching `grep-find-ignored-files' won't be
8826 pruned (bug#10351).
8827
af23e2e5
CY
88282012-04-11 Chong Yidong <cyd@gnu.org>
8829
8830 * startup.el (command-line): Remove support for long-obsolete
8831 variable font-lock-face-attributes.
8832
ab7ce8c1
GM
88332012-04-11 Glenn Morris <rgm@gnu.org>
8834
8835 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8836
de8c03dc
SM
88372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * window.el (window--state-get-1): Obey window-point-insertion-type.
8840
050cc68b
LB
88412012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8842
8843 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8844 to previous function when point is on the first character of a
75f1671a 8845 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8846
a38c310c
GM
88472012-04-11 Glenn Morris <rgm@gnu.org>
8848
effed0c2
GM
8849 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8850 not just file-errors.
8851
a38c310c
GM
8852 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8853 (vc-bzr-sha1): Use internal sha1.
8854
0221e323
SM
88552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8856
8857 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8858
43956923
SG
88592012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8860
8861 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8862 that start in the middle of the line (bug#10496).
8863
6a8c9eaf
DN
88642012-04-10 Dan Nicolaescu <dann@gnu.org>
8865
8866 * battery.el (battery-linux-proc-acpi): Only one battery is
8867 discharged at a time, but that seems to confuse battery.el when
8868 computing `rate-type' for the battery not being discharged
8869 (bug#10332).
8870
1930bf5d
SM
88712012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8872
2a718f6f
SM
8873 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8874
599430d0
SM
8875 * international/quail.el: Use dolist and simplify.
8876 (quail-define-package, quail-update-keyboard-layout)
8877 (quail-define-rules): Use dolist.
8878 (quail-insert-kbd-layout, quail-get-translation): CSE.
8879
a2754b6c
SM
8880 * tmm.el: Use dolist, remove left over hook.
8881 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8882 Use dolist.
8883 (calendar-load-hook): Don't mess with it.
8884
1930bf5d
SM
8885 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8886 Use derived-mode-p. Run the diff asynchronously.
8887
9f67961c
LMI
88882012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8889
8890 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8891
2a8ce227
JB
88922012-04-10 Juanma Barranquero <lekktu@gmail.com>
8893
8894 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8895 (list-dynamic-libraries--loaded): New function.
8896 (list-dynamic-libraries--refresh): Use it.
8897
8f33b5f8
NW
88982012-04-10 Nathan Weizenbaum <nweiz@google.com>
8899
1930bf5d
SM
8900 * progmodes/python.el (python-fill-paragraph):
8901 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8902 disabled (bug#7018).
8903
b12f0439
L
89042012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8905
1930bf5d 8906 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8907 DOS/MS Windows for the Baltic languages. There are still plenty
8908 of texts written in this encoding/codepage (bug#6519).
b12f0439 8909
57c3bd01
GM
89102012-04-10 Glenn Morris <rgm@gnu.org>
8911
8912 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8913 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8914
6c3eab30
FA
89152012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8916
1930bf5d 8917 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8918 next-line "n" and previous-line "p" in order to make recentf more
8919 consistent with ibuffer, dired or org-mode (bug#9387).
8920
24d78a88
LMI
89212012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8922
bc72b5d9
LMI
8923 * image.el (put-image): Return the overlay created instead of the
8924 optional input string (bug#7834). Note that this may break code
8925 that is (for some reason or other) depending on `put-image'
8926 returning the string.
8927
bd2dba5a
LMI
8928 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8929
74beb59f
LMI
8930 * simple.el (zap-to-char): Allow zapping using input methods
8931 (bug#1580).
8932
24d78a88
LMI
8933 * textmodes/fill.el (fill-region): Leave point and mark where they
8934 were before filling (bug#5399).
8935
263f20cd
GM
89362012-04-09 Glenn Morris <rgm@gnu.org>
8937
8938 * version.el (emacs-bzr-get-version):
8939 Handle lightweight checkouts of local branches.
8940
58d1f797
AS
89412012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8942
263f20cd 8943 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8944
b4d3bc10
CY
89452012-04-09 Chong Yidong <cyd@gnu.org>
8946
8947 * custom.el (custom-variable-p): Return nil for non-symbol
8948 arguments instead of signaling an error.
8949 (user-variable-p): Obsolete alias for custom-variable-p.
8950
8951 * apropos.el (apropos-variable):
8952 * files-x.el (read-file-local-variable):
8953 * simple.el (set-variable):
8954 * woman.el (woman-mini-help):
8955 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8956
fd06db5d
GM
89572012-04-09 Glenn Morris <rgm@gnu.org>
8958
e5fcdb5e
GM
8959 * startup.el (normal-top-level): Don't look for leim-list.el
8960 in places where it will not be found. (Bug#910)
8961
fd06db5d
GM
8962 * international/mule-cmds.el (set-default-coding-systems):
8963 * files.el (normal-mode):
8964 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8965 This function was removed with ucs-tables.el in 2008.
8966
b39bb7e1
EZ
89672012-04-08 Eli Zaretskii <eliz@gnu.org>
8968
8969 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8970 ispell-encoding8-command to "-i", without a trailing space.
8971 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8972 separate command-line arguments, to specify the encoding, since
8973 that's how hunspell expects it.
8974
5c5b8e23
GM
89752012-04-08 Glenn Morris <rgm@gnu.org>
8976
8977 * loadup.el: Load bindings before cus-start.
8978 This reduces somewhat the number of "rogue" settings in emacs -Q.
8979
a1ed8b05
GM
89802012-04-07 Glenn Morris <rgm@gnu.org>
8981
8982 * version.el (emacs-bzr-get-version): New function.
dfae128a 8983 (emacs-bzr-version): New variable.
a1ed8b05
GM
8984 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8985 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8986
b142f158
EZ
89872012-04-07 Eli Zaretskii <eliz@gnu.org>
8988
dfae128a
GM
8989 * international/uni-bidi.el, international/uni-category.el:
8990 * international/uni-combining.el, international/uni-decimal.el:
8991 * international/uni-decomposition.el, international/uni-digit.el:
8992 * international/uni-lowercase.el, international/uni-mirrored.el:
8993 * international/uni-name.el, international/uni-numeric.el:
8994 * international/uni-titlecase.el, international/uni-uppercase.el:
8995 Update for Unicode 6.1.
b142f158 8996
9078ead6
EZ
89972012-04-07 Eli Zaretskii <eliz@gnu.org>
8998
8999 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9000
f23d2c7d
LMI
90012012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9002
9003 * window.el (shrink-window): Mention the `window-min-height'
9004 variable in the doc string.
9005
0a0a3573
BG
90062012-04-05 Bastien Guerry <bzg@altern.org>
9007
9008 * color.el (color-lighten-name): Fix typo.
9009
e5248ac9
SM
90102012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9011
9012 * server.el (server--on-display-p): New function.
9013 (server--on-display-p): Use it.
9014
b4243e22
GV
90152012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9016
9017 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9018 (bug#11145).
9019
305d9f44
SM
90202012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * comint.el (comint--common-quoted-suffix): Check string boundary
9023 before comparing (bug#11158).
9024 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9025
3d439cd1
CY
90262012-04-04 Chong Yidong <cyd@gnu.org>
9027
321cc491
CY
9028 * minibuffer.el (completion-extra-properties): Doc fix.
9029
3d439cd1
CY
9030 * subr.el (delayed-warnings-hook): Doc fix.
9031
2d562c0f
DU
90322012-04-04 Daiki Ueno <ueno@unixuser.org>
9033
9034 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9035 selection (Bug#11159).
9036 (epa-insert-keys): Inform that the default public key will be
9037 exported if no key is selected.
9038
4443f204
RS
90392012-04-04 Richard Stallman <rms@gnu.org>
9040
9041 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9042
529c06b6
CY
90432012-04-03 Chong Yidong <cyd@gnu.org>
9044
9045 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9046 mail-insert-file, not its obsolete alias mail-attach-file.
9047
66b907dc
MA
90482012-04-03 Michael Albinus <michael.albinus@gmx.de>
9049
9050 * notifications.el (notifications-notify): Fix docstring.
9051
c0ea195d
GM
90522012-04-02 Glenn Morris <rgm@gnu.org>
9053
9054 * emacs-lisp/authors.el (authors-aliases): Another addition.
9055
5ca64e00
MA
90562012-04-02 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9059 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9060 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9061
42ee526b
CY
90622012-04-01 Chong Yidong <cyd@gnu.org>
9063
9064 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9065 Handle root directory properly.
9066 (copy-directory): Caller changed.
9067
9068 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9069 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9070
0b021094
GM
90712012-03-31 Glenn Morris <rgm@gnu.org>
9072
40f86458
GM
9073 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9074
7019c177
GM
9075 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9076
a1daddd6
GM
9077 * calendar/calendar.el (calendar-window-list)
9078 (calendar-hide-window): Restore. (Bug#11140)
9079 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9080
0b021094
GM
9081 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9082
40311efc
TV
90832012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9084
9085 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9086 Check if file is a symlink (Bug#10489).
9087
9088 * files.el (copy-directory): Likewise.
9089
5319014e
CY
90902012-03-30 Chong Yidong <cyd@gnu.org>
9091
9092 * image.el (imagemagick-types-inhibit)
9093 (imagemagick-register-types): Doc fix.
9094
935d1290
AM
90952012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9096
090bd7cb 9097 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9098 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9099 and treats ~word as ordinary words in pipe mode.
935d1290 9100
61c6e8fd
GM
91012012-03-30 Glenn Morris <rgm@gnu.org>
9102
9103 * tutorial.el (help-with-tutorial): Ensure local variables don't
9104 happen to make the buffer read-only. (Bug#11127)
9105
81fdff00
SM
91062012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9109 (perl-calculate-indent): Return `noindent' in strings.
9110
6e7a6ec0
SS
91112012-03-28 Sam Steingold <sds@gnu.org>
9112
9113 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9114 instead of the broken adhockery which does not prevent calendar
9115 buffers from being displayed at random after exit.
9116 (calendar-window-list, calendar-hide-window): Remove the broken
9117 adhockery.
9118
fee88ca0
GM
91192012-03-28 Glenn Morris <rgm@gnu.org>
9120
9121 * replace.el (query-replace-map): Doc fix.
9122
38de3354
AS
91232012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9124
9125 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9126 contents. (Bug#11109)
9127
b973155e
SM
91282012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9131 (bug#11077).
9132 (avl-tree--check, avl-tree--check-node): New funs.
9133
dcb6e7b3
MR
91342012-03-27 Martin Rudalics <rudalics@gmx.at>
9135
9136 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9137 (switch-to-prev-buffer, switch-to-next-buffer):
9138 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9139 showing a buffer already is done on the same frame.
9140
b4fa35fa
GM
91412012-03-27 Glenn Morris <rgm@gnu.org>
9142
9143 * startup.el (mail-host-address): Doc fix.
9144
f9210e18
SM
91452012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9146
9147 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9148 than 197 variables.
9149
c0bf7753
AF
91502012-03-26 Ami Fischman <ami@fischman.org>
9151
9152 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9153
33da7b16
GM
91542012-03-26 Glenn Morris <rgm@gnu.org>
9155
02243d9d
GM
9156 * files.el (save-buffers-kill-emacs): Doc fix.
9157
33da7b16
GM
9158 * startup.el (normal-top-level, command-line, command-line-1):
9159 Give them doc strings.
9160
e5a69fd0
EZ
91612012-03-25 Eli Zaretskii <eliz@gnu.org>
9162
9163 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9164 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9165
9a69676a
CY
91662012-03-25 Chong Yidong <cyd@gnu.org>
9167
4125cb8b
CY
9168 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9169 theme if it was previously enabled before (Bug#11031).
9170
dd470960
CY
9171 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9172 spec with custom-face-get-current-spec if its :shown-value is not
9173 determined yet (Bug#9337).
4125cb8b 9174 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9175
9a69676a
CY
9176 * button.el (button-at): Minor addition to docstring.
9177
6e7e90fa
SL
91782012-03-24 Simon Leinen <simon.leinen@gmail.com>
9179
9180 * vc/vc.el (vc-merge): Fix a prompt.
9181
f06e2758
CY
91822012-03-24 Chong Yidong <cyd@gnu.org>
9183
9184 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9185 point (Bug#9623).
9186
6e7e90fa
SL
9187 * button.el (button-at): Minor addition to docstring.
9188
b9d0879b
SM
91892012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * newcomment.el (comment-choose-indent): No space after BOL.
9192
e71cebb3
SS
91932012-03-22 Sam Steingold <sds@gnu.org>
9194
9195 * window.el (switch-to-prev-buffer): Revert last patch because the
9196 bug turned out to be an advertised feature (Elisp manual 28.14).
9197
335aff35
GM
91982012-03-22 Glenn Morris <rgm@gnu.org>
9199
9200 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9201 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9202
c676576a
LMI
92032012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9204
9205 * net/network-stream.el (network-stream-open-starttls): Make error
9206 message under Windows be less misleading.
9207
126f3d39
LW
92082012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9209
9210 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9211 understands (bug#9942).
9212
64fee311
CY
92132012-03-22 Chong Yidong <cyd@gnu.org>
9214
9215 * simple.el (end-of-visible-line): Handle return value of
9216 next-single-property-change properly (Bug#9371).
9217
a640d29a
KH
92182012-03-22 Kenichi Handa <handa@m17n.org>
9219
9220 * international/quail.el (quail-insert-kbd-layout): Fix previous
9221 change. To avoid unwanted bidi reordering, use
9222 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9223
39675016
DG
92242012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9225
9226 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9227 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9228 (ruby-beginning-of-indent): Be more careful with the difference
9229 between word-boundary and symbol boundary.
9230 (ruby-mode-syntax-table): Make : a symbol constituent.
9231
0a6934fc 92322012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9233
3d008e4f
SM
9234 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9235
0a6934fc
SM
92362012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9237
af67c9d7
SM
9238 * progmodes/etags.el (tags-completion-at-point-function):
9239 Improve last fix.
9240
1acad97c
SM
9241 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9242
e298b5da
SS
92432012-03-21 Sam Steingold <sds@gnu.org>
9244
9245 * progmodes/etags.el (tags-completion-at-point-function):
9246 Avoid the error when point is inside the pattern.
9247
91d82a70
JY
92482012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9249
9250 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9251 line (Bug#10855).
9252
69188b79
CY
92532012-03-21 Drew Adams <drew.adams@oracle.com>
9254
9255 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9256
99fc91fe
AK
92572012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9258
9259 * ido.el (ido-set-current-directory, ido-read-internal)
9260 (ido-choose-completion-string, ido-completion-help): Handle nil
9261 value of ido-completion-buffer (Bug#11008).
9262
087bbb4c
SS
92632012-03-21 Sam Steingold <sds@gnu.org>
9264
9265 * window.el (switch-to-prev-buffer): Do not switch to a visible
9266 window previous buffer, just like with the frame previous buffers.
9267
fb5b8aca
CY
92682012-03-21 Chong Yidong <cyd@gnu.org>
9269
9270 * faces.el (make-face, make-empty-face, copy-face):
9271 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9272 Doc fixes.
9273
dc9924b8
SM
92742012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9275
9276 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9277 (widget-complete): Remove broken use of it.
9278
f0bcceb9
CY
92792012-03-20 Chong Yidong <cyd@gnu.org>
9280
dc9924b8
SM
9281 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9282 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9283 characters.
9284
ee52ebf3
TH
92852012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9286
9287 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9288 to draw rectangles, not squares. (Regression introduced by revno
9289 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9290
4c5779ab
CY
92912012-03-18 Chong Yidong <cyd@gnu.org>
9292
9293 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9294 it is not yet defined (for temacs).
9295
15360934
LL
92962012-03-18 Leo Liu <sdl.web@gmail.com>
9297
735135f9
PE
9298 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9299 prefix.
15360934 9300
d9a8eb66
EZ
93012012-03-17 Eli Zaretskii <eliz@gnu.org>
9302
9303 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9304 (ispell-choices-win-default-height, ispell-silently-savep)
9305 (ispell-dictionary-alist, ispell-encoding8-command)
9306 (ispell-check-version, ispell-aspell-find-dictionary)
9307 (ispell-valid-dictionary-list, ispell-words-keyword)
9308 (ispell-get-word, ispell-internal-change-dictionary)
9309 (ispell-region, ispell-skip-region-list)
9310 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9311 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9312 (ispell-message-text-end, ispell-message)
9313 (ispell-buffer-local-parsing): Doc fix.
9314
f02ff80d
J
93152012-03-13 Jambunathan K <kjambunathan@gmail.com>
9316
9317 * htmlfontify.el: Add support for code block fontification for ODT
9318 export (Bug #9914).
9319 (hfy-optimisations): Define new option
9320 `body-text-only'
9321 (hfy-fontify-buffer): Honor above setting.
9322 (hfy-begin-span, hfy-end-span): New routines factored out form
9323 `hfy-fontify-buffer'.
9324 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9325 that permit insertion of custom tags.
9326 (hfy-fontify-buffer): Use above handlers.
9327 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9328 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9329 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9330 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9331 bind a special variable `hfy-user-sheet-assoc'.
9332 (htmlfontify-string): New defun.
9333 (hfy-compile-face-map): Make sure that the last char in the
9334 buffer is correctly fontified.
9335 (hfy-face-resolve-face): Whitespace only change.
9336
9ac7a13f
EZ
93372012-03-17 Eli Zaretskii <eliz@gnu.org>
9338
9339 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9340 message more clear.
9341
e2b5bdd7
LL
93422012-03-16 Leo Liu <sdl.web@gmail.com>
9343
9344 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9345
2e492df3
AM
93462012-03-16 Alan Mackenzie <acm@muc.de>
9347
9348 Further optimise the handling of large macros.
9349
9350 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9351 limit to a call of `c-literal-limits'.
9352 (c-determine-+ve-limit): New function.
dc9924b8
SM
9353 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9354 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9355 In CASE 5B, restrict a search limit to 500.
9356 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9357
9358 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9359 Restrict macro bounds to +-500 from after-change's BEG END.
9360
50e94f0c
LL
93612012-03-16 Leo Liu <sdl.web@gmail.com>
9362
9363 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9364
6f09f6ed
AH
93652012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9366
9367 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9368 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9369
c7e73d51
GM
93702012-03-16 Glenn Morris <rgm@gnu.org>
9371
da986230
GM
9372 * view.el (view-buffer, view-buffer-other-window)
9373 (view-buffer-other-frame): Doc fixes re special mode-class.
9374
0835f01e
GM
9375 * subr.el (eval-after-load): If named feature is provided not from
9376 a file, run after-load forms. (Bug#10946)
9377
c7e73d51
GM
9378 * calendar/calendar.el (calendar-insert-at-column):
9379 Handle non-unit-width characters a bit better. (Bug#10978)
9380
3f2eafd1
CY
93812012-03-15 Chong Yidong <cyd@gnu.org>
9382
9383 * emacs-lisp/ring.el (ring-extend): New function.
9384 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9385
9386 * comint.el (comint-read-input-ring)
9387 (comint-add-to-input-history): Grow comint-input-ring lazily.
9388
103af3fe
SM
93892012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9390
663b1677
SM
9391 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9392 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9393
103af3fe
SM
9394 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9395 (imenu-add-to-menubar): Don't add a redundant index.
9396 (imenu-update-menubar): Handle a dynamically composed keymap.
9397
899cb7cb
KY
93982012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9399
9400 * mail/sendmail.el (mail-encode-header):
9401 Bind rfc2047-encode-encoded-words to nil.
9402
3809f91d
GM
94032012-03-13 Glenn Morris <rgm@gnu.org>
9404
9405 * calendar/calendar.el (calendar-string-spread):
9406 Handle non-unit-width characters a bit better. (Bug#10978)
9407
9e345a01
LL
94082012-03-13 Leo Liu <sdl.web@gmail.com>
9409
9410 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9411 directory and file as argument (Bug#10822).
9412
4a07df36
KS
94132012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9414
9415 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9416 For dynamically generated code, follow $PC.
9417 (gdb-disassembly-handler-custom): Handle no function name case.
9418
4aaa9356
TL
94192012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9420
9421 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9422 * emulation/ws-mode.el (ws-query-replace):
9423 * sort.el (sort-regexp-fields):
9424 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9425
225979da
SM
94262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9427
9428 * dabbrev.el: Fix cycle completion order (bug#10963).
9429 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9430 (dabbrev-completion): Don't use an obarray; provide
9431 a cycle-sort-function.
9432
e2f1fdab
LL
94332012-03-12 Leo Liu <sdl.web@gmail.com>
9434
dc9924b8 9435 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9436 (kill-do-not-save-duplicates): Doc fix.
9437
b19490ed
SM
94382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9439
9440 * dabbrev.el: Fix cycle completion (bug#10963).
9441 Use lexical binding and wrap to 80 columns.
9442 (dabbrev-completion): Delay computing the list of completions.
9443
4b05d722
KH
94442012-03-12 Kenichi Handa <handa@m17n.org>
9445
9446 * international/quail.el (quail-insert-kbd-layout): Surround each
9447 row by LRO and PDF instead of inserting many LRMs. Pad the left
9448 and right of each non-spacing marks. Insert invisible space
9449 between lower and upper characters to prevent composition.
9450
dbbc2e69
SM
94512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 * minibuffer.el (minibuffer-complete): Don't get confused when the
9454 function is run twice via different commands (bug#10958).
9455 (complete-with-action): Fix docstring.
9456
292112ed
CY
94572012-03-12 Chong Yidong <cyd@gnu.org>
9458
5d1ac394
CY
9459 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9460 (nxml-completion-at-point-function): New function.
9461 (nxml-mode): Use it.
9462 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9463
292112ed
CY
9464 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9465 Load generated autoloads file before byte compiling (Bug#10970).
9466 (package--make-autoloads-and-compile): New helper fun.
9467
4098f8f7
CS
94682012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9469
9470 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9471
8f754691
MA
94722012-03-11 Michael Albinus <michael.albinus@gmx.de>
9473
9474 * autorevert.el (auto-revert-handler): Ensure, that
9475 file-readable-p is applied only for local files or in
9476 auto-revert-tail-mode.
9477
e29ab36b
AS
94782012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9479
dbbc2e69
SM
9480 * server.el (server-eval-at): Handle non-tcp connections.
9481 Decode result string.
ad0bf5b6 9482
e29ab36b
AS
9483 * server.el (server-msg-size): New constant.
9484 (server-reply-print): New function.
9485 (server-eval-and-print): Use it.
9486 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9487 Handle -print-nonl.
9488
de5939ba
CS
94892012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9490
9491 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9492 (Bug#10987).
9493
0c93eabf
CY
94942012-03-11 Chong Yidong <cyd@gnu.org>
9495
397a688f
CY
9496 * simple.el (goto-line): Doc fix (Bug#9938).
9497
2cc775f9
CY
9498 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9499
0c93eabf
CY
9500 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9501 when finished (Bug#10963).
9502
c491fa41
MR
95032012-03-11 Martin Rudalics <rudalics@gmx.at>
9504
9505 * window.el (split-window-below): Fix bug in case where
9506 split-window-keep-point is nil (Bug#10971).
9507
300e8fa5
JL
95082012-03-11 Juri Linkov <juri@jurta.org>
9509
9510 * replace.el (replace-highlight): Set isearch-word to nil
9511 unconditionally. (Bug#10887)
9512
dbf6c5a1
EZ
95132012-03-10 Eli Zaretskii <eliz@gnu.org>
9514
9515 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9516 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9517 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9518 (mairix-widget-create-query): Add usage information about mairix
9519 search forms: negating words, searching for substrings, etc.
9520
b9e501de
JP
95212012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9522
9523 * international/fontset.el (font-encoding-alist): Add an entry for
9524 ksx1001 (Bug#5667).
9525
92795c91
RS
95262012-03-10 Richard Stallman <rms@gnu.org>
9527
1694e6c1
RS
9528 * mail/sendmail.el (mail-encode-header):
9529 Set rfc2047-encode-encoded-words.
9530
607e8555
RS
9531 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9532
de3bc99a
RS
9533 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9534 view buffer means not swapped.
9535 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9536 (rmail-write-region-annotate): Error if real text has disappeared.
9537
92795c91
RS
9538 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9539
699bd04e
CY
95402012-03-10 Chong Yidong <cyd@gnu.org>
9541
9542 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9543 * emulation/cua-base.el (cua--init-keymaps):
9544 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9545
570a1714
MR
95462012-03-10 Martin Rudalics <rudalics@gmx.at>
9547
dbbc2e69
SM
9548 * speedbar.el (speedbar-unhighlight-one-tag-line):
9549 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9550
82dcf4e4
CY
95512012-03-10 Chong Yidong <cyd@gnu.org>
9552
7a2c7ca7
CY
9553 * minibuffer.el (completion-in-region, completion-help-at-point):
9554 Give the completion field overlay a high priority (Bug#6830).
9555
82dcf4e4
CY
9556 * dired.el (dired-goto-file): Recognize absolute file name
9557 listings (Bug#7126).
9558 (dired-goto-file-1): New helper function.
9559 (dired-toggle-read-only): Inhibit warnings.
9560
052e28ac
MA
95612012-03-09 Michael Albinus <michael.albinus@gmx.de>
9562
75f1671a 9563 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9564 there are no properties.
9565
95d5e396
LL
95662012-03-09 Leo Liu <sdl.web@gmail.com>
9567
9568 * savehist.el (savehist-printable): Stricter check for string
9569 value (Bug#10937).
9570
3f018d6d
EZ
95712012-03-09 Eli Zaretskii <eliz@gnu.org>
9572
dbbc2e69
SM
9573 * mail/smtpmail.el (smtpmail-send-it):
9574 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9575 valid mbox format.
9576
f7fd3d79
GM
95772012-03-09 Glenn Morris <rgm@gnu.org>
9578
9579 * files.el (dir-locals-find-file):
9580 Don't check result is regular, readable.
9581 (dir-locals-read-from-file): Demote errors.
9582
6ff6e72f
EZ
95832012-03-08 Eli Zaretskii <eliz@gnu.org>
9584
dbbc2e69
SM
9585 * international/quail.el (quail-insert-kbd-layout):
9586 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9587 layout cell, to prevent their reordering by bidi display engine.
9588 For details, see the discussion in
9589 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9590
9cec7834
AM
95912012-03-08 Alan Mackenzie <acm@muc.de>
9592
9593 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9594 the starting position; make it extend the marked region when
9595 invoked repeatedly - all under appropriate circumstances.
9596 Fixes bugs #5525, #10906.
9597
9a40b8d4
GM
95982012-03-08 Glenn Morris <rgm@gnu.org>
9599
9600 * files.el (locate-dominating-file, dir-locals-find-file):
9601 Undo 2012-03-06 change.
9602
7a08ed35
EZ
96032012-03-07 Eli Zaretskii <eliz@gnu.org>
9604
dbbc2e69
SM
9605 * international/quail.el (quail-help):
9606 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9607 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9608 for the reason.
9609
5aca4f71 96102012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9611
9612 Avoid superfluous registering of signals. (Bug#10807)
9613
9614 * notifications.el (notifications-on-action-object)
9615 (notifications-on-close-object): New defvars.
9616 (notifications-on-action-signal, notifications-on-closed-signal):
9617 Unregister the signal if not needed any longer.
9618 (notifications-notify): Register `notifications-action-signal' or
9619 `notifications-closed-signal', if :on-action or :on-close has been
9620 passed as argument.
9621
78e8b10a
CY
96222012-03-07 Chong Yidong <cyd@gnu.org>
9623
9624 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9625 non-X platforms.
9626
69481eb8
GM
96272012-03-06 Glenn Morris <rgm@gnu.org>
9628
9629 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9630 (x-disown-selection-internal, x-get-selection-internal):
9631 Doc fix (add arglist signatures). (Bug#10783)
9632
133b8e11
KS
96332012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9634
9635 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9636 Handle breakpoints with no "type".
9637
99a83064
GM
96382012-03-06 Glenn Morris <rgm@gnu.org>
9639
9640 * files.el (locate-dominating-file): Add optional predicate argument.
9641 (dir-locals-find-file): Make use of above change.
9642
17798e78
TTN
96432012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9644
9645 * info.el (Info-insert-dir): Also try "dir.gz".
9646
eb182446
GM
96472012-03-06 Glenn Morris <rgm@gnu.org>
9648
8f2114ee
GM
9649 * files.el (dir-locals-find-file):
9650 Ignore non-readable or non-regular files. (Bug#10928)
9651
eb182446
GM
9652 * files.el (locate-dominating-file): Doc fix.
9653
24679323
AS
96542012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9655
9656 * calendar/calendar.el (calendar-set-mode-line):
9657 `getenv' returns a string. (Bug#10951)
9658
01d972a9
LL
96592012-03-05 Leo Liu <sdl.web@gmail.com>
9660
109aa8a9
LL
9661 * simple.el (backward-delete-char-untabify): Constrain point to
9662 field (Bug#10939).
9663
01d972a9
LL
9664 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9665
10607bea
CY
96662012-03-05 Chong Yidong <cyd@gnu.org>
9667
9668 * simple.el (count-words): If called from Lisp, return the word
9669 count, for symmetry with `count-lines'. Arglist changed.
9670 (count-words--message): Args changed. Consolidate counting code
9671 from count-words and count-words-region.
9672 (count-words-region): Caller changed.
9673 (count-lines-region): Make it an obsolete alias.
9674
5dd11cfe
TH
96752012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9676
9677 * saveplace.el (save-place-to-alist)
9678 (save-place-ignore-files-regexp): Allow value nil to disable this
9679 feature.
9680
c349f4e6
CY
96812012-03-04 Chong Yidong <cyd@gnu.org>
9682
9683 * faces.el (face-spec-reset-face): For the default face, reset the
9684 attributes to default values (Bug#10748).
9685
e627be4c
LMI
96862012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9687
9688 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9689 previous patch: Check `message-send-mail-function', and not the
9690 default function (bug#10897).
9691
ebeabff4
MA
96922012-03-04 Michael Albinus <michael.albinus@gmx.de>
9693
a41a6cf4
MA
9694 * notifications.el (notifications-on-action-signal)
9695 (notifications-on-closed-signal): Check for unique service name of
9696 incoming event. Fix error in removing entry.
ebeabff4 9697 (top): Register for signals with wildcard service name.
a41a6cf4 9698 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9699
c1ca42b4
CY
97002012-03-04 Chong Yidong <cyd@gnu.org>
9701
dc9924b8 9702 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9703
ea16568d
GM
97042012-03-04 Glenn Morris <rgm@gnu.org>
9705
9706 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9707 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9708 (expand-abbrev, define-abbrev-table): Doc fixes.
9709
fbae4637
LMI
97102012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9711
9712 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9713 `message-default-send-mail-function' and not `send-mail-function'
9714 when doing the prompting for `sendmail-query-once' before sending
9715 in Message buffers (bug#10897).
9716
a1e7225c
LMI
9717 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9718 This is inconsistent with all the other stream functions, which leave
9719 the setting up to the higher levels (if so wanted) (bug#10931).
9720
56d093a9
AM
97212012-03-02 Alan Mackenzie <acm@muc.de>
9722
9723 Depessimize the handling of very large macros.
9724
9725 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9726 (c-macro-cache-syntactic): New variables to implement a one
9727 element macro cache.
9728 (c-invalidate-macro-cache): New function.
9729 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9730 Adapt to use the new cache.
9731 (c-state-safe-place): Use better the cache of safe positions.
9732 (c-state-semi-nonlit-pos-cache)
9733 (c-state-semi-nonlit-pos-cache-limit):
9734 New variables for...
9735 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9736 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9737 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9738 Use c-state-semi-safe-place.
56d093a9 9739
dbbc2e69
SM
9740 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9741 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9742
817e5c3d
MA
97432012-03-02 Michael Albinus <michael.albinus@gmx.de>
9744
dbbc2e69
SM
9745 * jka-compr.el (jka-compr-call-process):
9746 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9747 not remote.
9748
a032a702
MA
97492012-03-01 Michael Albinus <michael.albinus@gmx.de>
9750
9751 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9752 access of FILE2, if FILE1 does not exist.
9753
99a54f21
MA
9754 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9755 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9756
9757 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9758 Add "PAGER=" to `process-environment'.
9759
f6561e1f
MM
97602012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9761
9762 * progmodes/sql.el: Bug fix
9763 (sql-get-login-ext): Save login values in globals.
9764 (sql-get-login): Use new version of `sql-get-login-ext'.
9765 (sql-interactive-mode): Set global `sql-connection' to nil.
9766 (sql-connect): Set global values for connection.
9767 (sql-product-interactive): Save global values as buffer local.
9768
2d44d9cc
LL
97692012-02-29 Leo Liu <sdl.web@gmail.com>
9770
9771 * abbrev.el (define-abbrevs): Reset sys to nil.
9772
96b49301 97732012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9774
bf7f9bc5
JB
9775 * files.el (file-equal-p): Rename from `files-equal-p'.
9776 Return nil when one or both files don't exist.
96b49301 9777 (file-subdir-of-p): Now only top directory must exists,
9778 return nil if it doesn't.
bf7f9bc5
JB
9779 (copy-directory): No need to test with `file-subdir-of-p' after
9780 creating dir.
9781 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9782 to `file-equal-p'.
96b49301 9783
44e97401
GM
97842012-02-28 Glenn Morris <rgm@gnu.org>
9785
9786 * shell.el (shell-mode):
9787 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9788 * play/landmark.el (landmark-font-lock-face-O):
9789 * play/handwrite.el (handwrite):
9790 * play/gomoku.el (gomoku-O):
9791 * net/browse-url.el (browse-url-browser-display):
9792 * international/mule.el (define-charset):
9793 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9794 * filesets.el (filesets-find-file-delay):
9795 * eshell/em-xtra.el (eshell-xtra):
9796 * eshell/em-unix.el (eshell-grep):
9797 * emulation/viper.el (viper-mode):
9798 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9799 * emacs-lisp/easymenu.el (easy-menu-define):
9800 * calendar/timeclock.el (timeclock-use-display-time):
9801 * bs.el (bs-mode):
9802 * bookmark.el (bookmark-save-flag):
9803 Doc fix (standardize possessive apostrophe usage).
9804
c98c6276
CY
98052012-02-27 Chong Yidong <cyd@gnu.org>
9806
bf7f9bc5
JB
9807 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9808 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9809
c98c6276
CY
9810 * font-lock.el (font-lock-specified-p): Rename from
9811 font-lock-spec-present. Callers changed.
9812
9c62cd04 98132012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9814
bf7f9bc5
JB
9815 * emacs-lisp/package.el (package-compute-transaction):
9816 Handle holding a package version to t in package-load-list.
8ac9e529 9817
530739c9
MA
98182012-02-26 Michael Albinus <michael.albinus@gmx.de>
9819
9820 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9821 (tramp-get-inode, tramp-get-device): Use cached values.
9822
487915d7
AM
98232012-02-26 Alan Mackenzie <acm@muc.de>
9824
9825 Check there is a font-lock specification before doing initial
9826 fontification.
9827
9828 * font-core.el (font-lock-mode): Move the conditional from
9829 :after-hook to font-lock-initial-fontify.
9830 (font-lock-default-function): Move the check for a specification
9831 to font-lock-spec-present.
9832
dc9924b8 9833 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9834 (font-lock-spec-present): New function.
9835
4fd96557
JB
98362012-02-26 Jim Blandy <jimb@red-bean.com>
9837
9838 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9839 (gdb-send): Apply it to the operand of the '-interpreter-exec
9840 console' command, so that we can pass arguments with (say) quotes
9841 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9842
9a4888c0
CY
98432012-02-26 Chong Yidong <cyd@gnu.org>
9844
07498861
CY
9845 * help-fns.el (describe-function-1): Clarify description of
9846 remapping (Bug#10844).
9847
9a4888c0
CY
9848 * files.el (files-equal-p): Doc fix.
9849 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9850 and quit the loop once a mismatch is found.
9851
ea8fb88d
JB
98522012-02-25 Juanma Barranquero <lekktu@gmail.com>
9853
9854 * bs.el (bs--show-with-configuration): Don't throw an error
9855 if the window cannot be split; otherwise, subsequent calls to
9856 bs-show fail, restoring a stale window config. (Bug#10882)
9857
525795c1
JD
98582012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9859
9860 * term/ns-win.el (global-map): Bind ns-drag-file to
9861 ns-find-file (Bug#5855, Bug#10050).
9862
f008086f
AS
98632012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9864
9865 * calendar/parse-time.el (parse-time-string): Allow extractor to
9866 return nil.
9867
a3fcfa99
MA
98682012-02-25 Michael Albinus <michael.albinus@gmx.de>
9869
91027d08
JB
9870 * net/tramp.el (tramp-file-name-for-operation):
9871 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9872
9873 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9874 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9875 Add COPY-CONTENTS argument.
a3fcfa99 9876
67b0de11
CY
98772012-02-25 Chong Yidong <cyd@gnu.org>
9878
9879 Add custom groups for VC backends, for consistency with vc-bzr.
9880
9881 * vc/vc-arch.el (vc-arch):
9882 * vc/vc-cvs.el (vc-cvs):
9883 * vc/vc-git.el (vc-git):
9884 * vc/vc-hg.el (vc-hg):
9885 * vc/vc-mtn.el (vc-mtn):
9886 * vc/vc-rcs.el (vc-rcs):
9887 * vc/vc-sccs.el (vc-sccs):
9888 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9889 All relevant defcustoms reassigned.
9890
3c9dfce6
CY
98912012-02-25 Chong Yidong <cyd@gnu.org>
9892
1339bf43
CY
9893 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9894
3c9dfce6
CY
9895 * term/x-win.el (x-initialize-window-system): Reduce default for
9896 x-selection-timeout to 5 seconds (Bug#8869).
9897
25b2e303 98982012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9899
ec70a47d
GM
9900 * files.el (files-equal-p, file-subdir-of-p): New functions.
9901 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9902 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9903 * dired-aux.el (dired-copy-file-recursive): Same.
9904 (dired-create-files): Modify destination when source is equal to
9905 dest when copying files.
53a46cd0 9906 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9907
914260cd
MA
99082012-02-24 Michael Albinus <michael.albinus@gmx.de>
9909
9910 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9911 (Bug#10874)
9912
2cb228f7
AM
99132012-02-23 Alan Mackenzie <acm@muc.de>
9914
9915 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9916 parameter "after-hook:" to allow the expansion to run code after
9917 the execution of the mode hooks.
9918
9919 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9920 from font-lock-mode-internal.
2cb228f7 9921
91027d08 9922 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9923 :after-hook.
9924
8f0fde21
SM
99252012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9926
3e88618b
SM
9927 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9928 (completion--cache-all-sorted-completions): New function.
9929 (completion-all-sorted-completions): Use it.
9930 (completion--do-completion, minibuffer-force-complete):
9931 Use it to re-instate the flush hook.
9932
8f0fde21
SM
9933 * icomplete.el (icomplete-completions): Replace last fix with a better
9934 one (bug#10850).
9935
8e911f6f
DG
99362012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9937
9938 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9939 when it might call us back infinitely (bug#10797).
9940
49fe4321
GM
99412012-02-23 Glenn Morris <rgm@gnu.org>
9942
9943 * minibuffer.el (completion-category-overrides): Doc fix.
9944
b291b572
SM
99452012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9948 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9949
31a9ef2e
GM
99502012-02-23 Glenn Morris <rgm@gnu.org>
9951
5e6e6794 9952 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9953 (authors-obsolete-files-regexps, authors-ignored-files)
9954 (authors-ambiguous-files, authors-renamed-files-alist):
9955 Add more entries.
9956
0bd1e074
JL
99572012-02-23 Juri Linkov <juri@jurta.org>
9958
9959 * isearch.el (isearch-occur): Sync interactive spec with occur's
9960 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9961
b617673c
JL
9962 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9963
19e9789e
JL
99642012-02-22 Juri Linkov <juri@jurta.org>
9965
9966 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9967 (ucs-insert): Doc fix. Check for hex digits in the string.
9968 Don't display `nil' in the error message. (Bug#10857)
9969
f41ce09d
AM
99702012-02-22 Alan Mackenzie <acm@muc.de>
9971
7a71b18d 9972 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9973
ac2eceee
GM
99742012-02-22 Glenn Morris <rgm@gnu.org>
9975
9976 * ffap.el (ffap-c-path):
9977 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9978
abd1f678
CY
99792012-02-22 Chong Yidong <cyd@gnu.org>
9980
9981 * custom.el (load-theme): Doc fix.
9982
f25aef2e
GM
99832012-02-22 Glenn Morris <rgm@gnu.org>
9984
9985 * dired-x.el (dired-guess-shell-alist-default):
9986 Remove escape sequences from nroff output. (Bug#172)
9987
5f8dc2ca
GM
99882012-02-21 Glenn Morris <rgm@gnu.org>
9989
6ff86ec4
GM
9990 * vc/emerge.el (emerge-defvar-local):
9991 Set `permanent-local' property rather than unused `preserved'.
9992
be3223a3 9993 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9994 (picture-mode-map): Use it. (Bug#10860)
9995 (picture-mode): Doc fix.
9996
3fe58f4f
JB
99972012-02-21 Juanma Barranquero <lekktu@gmail.com>
9998
9999 * newcomment.el (uncomment-region-default): Remove unused binding.
10000
f9a998c3
GM
100012012-02-21 Glenn Morris <rgm@gnu.org>
10002
10003 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10004 (picture-self-insert, picture-tab-chars): Doc fix.
10005 (picture-mode-map): Fix C-a, C-e.
10006
c6029348
GM
100072012-02-20 Glenn Morris <rgm@gnu.org>
10008
10009 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10010
ab1ce9d7
LL
100112012-02-20 Leo Liu <sdl.web@gmail.com>
10012
10013 * icomplete.el (icomplete-completions): Check FROM arg before
10014 passing to substring (Bug#10850).
10015
0fd40f89
CY
100162012-02-19 Chong Yidong <cyd@gnu.org>
10017
10018 * comint.el: Require ansi-color.
10019 (comint-output-filter-functions): Add ansi-color-process-output.
10020
10021 * ansi-color.el: Don't set comint-output-filter-functions; it is
10022 now in the initial value defined in comint.el.
10023 (ansi-color-apply-face-function): New variable.
10024 (ansi-color-apply-on-region): Use it.
10025 (ansi-color-apply-overlay-face): New function.
10026
10027 * shell.el (shell): No need to require ansi-color.
10028 (shell-mode): Use ansi-color-apply-face-function to highlight
10029 color escapes using font-lock-face property (Bug#10835).
10030
20af2394
CY
100312012-02-19 Chong Yidong <cyd@gnu.org>
10032
10033 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10034 mode-line formats (Bug#10839).
10035
e23a3fbe
GM
100362012-02-18 Glenn Morris <rgm@gnu.org>
10037
b474519e
GM
10038 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10039
10040 * mail/undigest.el (unforward-rmail-message): Doc fix.
10041
e23a3fbe
GM
10042 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10043
57939ff4
EZ
100442012-02-18 Eli Zaretskii <eliz@gnu.org>
10045
10046 * international/characters.el (script-list): Sync with the latest
10047 Unicode Character Database.
10048
0c23686e
AS
100492012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10050
10051 * international/titdic-cnv.el: Remove duplicate coding tag.
10052 * language/cham.el: Likewise.
10053 * language/tai-viet.el: Likewise.
10054
6818b449
GM
100552012-02-18 Glenn Morris <rgm@gnu.org>
10056
10057 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10058 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10059 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10060 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10061 * calendar/holidays.el (holiday-bahai-holidays)
10062 (calendar-holidays, list-holidays):
10063 Use utf-8 Bahá'í in doc-strings, menus, etc.
10064
0311a3fc
TH
100652012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10066
10067 * saveplace.el (save-place-ignore-files-regexp): New variable
10068 allowing for excluding files from saving their location of point.
10069 The default value matches the temporary commit message editing
10070 files from Git, SVN, Bazaar, and Mercurial.
10071 (save-place-to-alist): Use it.
10072
d209e2fb 100732012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10074 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10075
10076 * newcomment.el (uncomment-region-default): Don't leave extra space
10077 when an arg is provided (bug#8150).
10078
ee0ce425
TZ
100792012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10080
eb864a71 10081 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10082
95ddf442
GM
100832012-02-17 Glenn Morris <rgm@gnu.org>
10084
10085 * net/socks.el: Require network-stream. (Bug#10599)
10086
48dd1e39 100872012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10088
10089 * international/charprop.el:
10090 * international/uni-name.el:
10091 * international/uni-old-name.el:
10092 * international/uni-comment.el: Regenerate.
10093
d68cd087
GM
100942012-02-16 Glenn Morris <rgm@gnu.org>
10095
10096 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10097 Interactively in calendar buffer, give an error if not on a date.
10098
13932042
GM
100992012-02-15 Glenn Morris <rgm@gnu.org>
10100
10101 * shell.el (shell-delimiter-argument-list):
10102 Revert 2011-02-17 change. (Bug#8027)
10103
c3a70e2b
CY
101042012-02-15 Chong Yidong <cyd@gnu.org>
10105
60236b0d
CY
10106 * minibuffer.el (completion-at-point-functions): Doc fix.
10107
c3a70e2b
CY
10108 * custom.el (defcustom): Doc fix; note use of defvar.
10109
9f26dc24
GM
101102012-02-15 Glenn Morris <rgm@gnu.org>
10111
10112 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10113 Doc fixes.
10114
6546b134
GM
101152012-02-14 Glenn Morris <rgm@gnu.org>
10116
10117 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10118
d29b2b4c
LI
101192012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10120
10121 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10122 way the ports list is computed.
835bdcba
LI
10123 (smtpmail-query-smtp-server): Prompt the user for a port number if
10124 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10125
08dcdbc9
TZ
101262012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10127
10128 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10129
2605051a
GM
101302012-02-13 Glenn Morris <rgm@gnu.org>
10131
10132 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10133
7ee99f32
TZ
101342012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10135
10136 * net/gnutls.el (gnutls-trustfiles): New variable.
10137 (gnutls-negotiate): Use it.
10138
5f0af64f
LI
101392012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10140
10141 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10142 does its stuff if Gnus is running.
10143
c14fcc95
AM
101442012-02-13 Alan Mackenzie <acm@muc.de>
10145
10146 Fix a loop in c-set-fl-decl-start.
10147
7a71b18d 10148 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10149 c-backward-syntactic-ws actually moves backwards.
10150
142b4d90
LL
101512012-02-13 Leo Liu <sdl.web@gmail.com>
10152
10153 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10154 beginning so that all \C-o chars are removed.
10155
fa9958a6
TZ
101562012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10157
dc9924b8 10158 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10159
0bc5886a
AM
101602012-02-12 Alan Mackenzie <acm@muc.de>
10161
10162 Fix infinite loop with long macros.
4d6769e1 10163 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10164
d4bd55e7
CY
101652012-02-12 Chong Yidong <cyd@gnu.org>
10166
10167 * window.el (display-buffer): Doc fix (Bug#10785).
10168
66f3fe22
GM
101692012-02-12 Glenn Morris <rgm@gnu.org>
10170
bd7da63e
GM
10171 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10172 (x-disown-selection-internal, x-get-selection-internal):
10173 Sync docs with the xselect.c versions.
10174
66f3fe22
GM
10175 * allout-widgets.el: Add missing license notice.
10176
3e0d2fa7
GM
101772012-02-11 Glenn Morris <rgm@gnu.org>
10178
cfecdf09
GM
10179 * select.el (x-get-selection-internal, x-own-selection-internal)
10180 (x-disown-selection-internal):
10181 * x-dnd.el (x-get-selection-internal): Update declarations.
10182
6d216d7f
GM
10183 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10184
2bed3f04
GM
10185 * window.el (window-sides-slots):
10186 * tool-bar.el (tool-bar-position):
10187 * term/xterm.el (xterm-extra-capabilities):
10188 * ses.el (ses-self-reference-early-detection):
10189 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10190 (verilog-auto-wire-type)
10191 (verilog-auto-delete-trailing-whitespace)
10192 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10193 (verilog-auto-tieoff-declaration):
10194 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10195 (sql-oracle-statement-starters, sql-oracle-scan-on):
10196 * progmodes/prolog.el (prolog-align-comments-flag)
10197 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10198 (prolog-left-indent-regexp, prolog-paren-indent-p)
10199 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10200 (prolog-types, prolog-mode-specificators)
10201 (prolog-determinism-specificators, prolog-directives)
10202 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10203 (prolog-electric-dot-flag)
10204 (prolog-electric-dot-full-predicate-template)
10205 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10206 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10207 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10208 (prolog-program-switches, prolog-prompt-regexp)
10209 (prolog-debug-on-string, prolog-debug-off-string)
10210 (prolog-trace-on-string, prolog-trace-off-string)
10211 (prolog-zip-on-string, prolog-zip-off-string)
10212 (prolog-use-standard-consult-compile-method-flag)
10213 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10214 (prolog-imenu-max-lines, prolog-info-predicate-index)
10215 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10216 (prolog-char-quote-workaround):
10217 * progmodes/cc-vars.el (c-defun-tactic):
10218 * net/tramp.el (tramp-encoding-command-interactive)
10219 (tramp-local-end-of-line):
10220 * net/soap-client.el (soap-client):
10221 * net/netrc.el (netrc-file):
10222 * net/gnutls.el (gnutls):
10223 * minibuffer.el (completion-category-overrides)
10224 (completion-cycle-threshold)
10225 (completion-pcm-complete-word-inserts-delimiters):
10226 * man.el (Man-name-local-regexp):
10227 * mail/feedmail.el (feedmail-display-full-frame):
10228 * international/characters.el (glyphless-char-display-control):
10229 * eshell/em-ls.el (eshell-ls-date-format):
10230 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10231 (lisp-lambda-list-keyword-parameter-indentation)
10232 (lisp-lambda-list-keyword-parameter-alignment):
10233 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10234 * dired-x.el (dired-omit-verbose):
10235 * cus-theme.el (custom-theme-allow-multiple-selections):
10236 * calc/calc.el (calc-highlight-selections-with-faces)
10237 (calc-lu-field-reference, calc-lu-power-reference)
10238 (calc-note-threshold):
10239 * battery.el (battery-mode-line-limit):
10240 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10241 (archive-7z-update):
10242 * allout.el (allout-prefixed-keybindings)
10243 (allout-unprefixed-keybindings)
10244 (allout-inhibit-auto-fill-on-headline)
10245 (allout-flattened-numbering-abbreviation):
10246 * allout-widgets.el (allout-widgets-auto-activation)
10247 (allout-widgets-icons-dark-subdir)
10248 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10249 (allout-widgets-theme-dark-background)
10250 (allout-widgets-theme-light-background)
10251 (allout-widgets-item-image-properties-emacs)
10252 (allout-widgets-item-image-properties-xemacs)
10253 (allout-widgets-run-unit-tests-on-load)
10254 (allout-widgets-time-decoration-activity)
10255 (allout-widgets-hook-error-post-time)
10256 (allout-widgets-track-decoration):
10257 Add missing :version tags to new defcustoms and defgroups.
10258
5fec1b8e
GM
10259 * progmodes/sql.el (sql-ansi-statement-starters)
10260 (sql-oracle-statement-starters): Add custom type.
10261
3e0d2fa7
GM
10262 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10263 (prolog-system-version): Give it a type.
10264
90b671e2
EZ
102652012-02-11 Eli Zaretskii <eliz@gnu.org>
10266
10267 * term/pc-win.el (x-select-text, x-selection-owner-p)
10268 (x-own-selection-internal, x-disown-selection-internal)
10269 (x-get-selection-internal): Sync doc strings and argument lists
10270 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10271
5eac0c02
LL
102722012-02-11 Leo Liu <sdl.web@gmail.com>
10273
10274 * progmodes/python.el (python-end-of-statement): Fix infinite
10275 loop. (Bug#10788)
10276
f82cb659
GM
102772012-02-10 Glenn Morris <rgm@gnu.org>
10278
10279 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10280 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10281
cc26d239
LI
102822012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10283
10284 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10285 about SMTP before checking the From header.
10286
91027d08 10287 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10288 into own function for reuse by emacsbug.el.
10289
1be3ca5a
LL
102902012-02-10 Leo Liu <sdl.web@gmail.com>
10291
10292 * subr.el (condition-case-unless-debug): Rename from
10293 condition-case-no-debug. All callers changed.
10294 (with-demoted-errors): Fix caller.
10295
10296 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10297 * nxml/rng-valid.el (rng-do-some-validation):
10298 * emacs-lisp/package.el (package-refresh-contents)
10299 (package-menu-execute):
10300 * desktop.el (desktop-create-buffer):
91027d08 10301 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10302
b011fbfe
GM
103032012-02-10 Glenn Morris <rgm@gnu.org>
10304
b2096d72
GM
10305 * textmodes/bibtex.el:
10306 Add missing :version tags for new/changed defcustoms.
10307
b011fbfe
GM
10308 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10309
4c7e65bf
LI
103102012-02-09 Lars Ingebrigtsen <larsi@rusty>
10311
10312 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10313 (smtpmail-via-smtp): Use it, or fall back on the From address.
10314 (smtpmail-send-it): Ditto.
10315
f3934f6f
SM
103162012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10319 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10320 (byte-compile-tmp-var): New const.
10321 (byte-compile-defvar): Use it to minimize .elc size.
10322 Just use `defvar' rather than simulate it (bug#10761).
10323
a075a2c5
GM
103242012-02-09 Glenn Morris <rgm@gnu.org>
10325
cf3aa21b
GM
10326 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10327
354998cd
GM
10328 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10329 Add :version tags.
10330
dc9924b8
SM
10331 * progmodes/compile.el (compilation-error-screen-columns)
10332 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10333
dab3703d
GM
10334 * vc/log-view.el (log-view-toggle-entry-display):
10335 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10336
3f88cd72
GM
10337 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10338 (report-emacs-bug-can-use-xdg-email):
10339 (report-emacs-bug-insert-to-mailer): Doc fixes.
10340 (report-emacs-bug): Message fix.
10341
d95b247d
GM
10342 * net/browse-url.el (browse-url-can-use-xdg-open)
10343 (browse-url-xdg-open): Doc fixes.
10344
a075a2c5
GM
10345 * electric.el (electric-indent-mode, electric-pair-mode)
10346 (electric-layout-rules, electric-layout-mode): Doc fixes.
10347 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10348
ffb6157e
MR
103492012-02-08 Martin Rudalics <rudalics@gmx.at>
10350
10351 * server.el (server-unselect-display): Don't inadvertently kill
10352 the current buffer. (Bug#10729)
10353
e1ac4066
GM
103542012-02-08 Glenn Morris <rgm@gnu.org>
10355
34e8a2da
GM
10356 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10357 (sql-list-table): Doc fixes.
10358
b4ac6e8c
GM
10359 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10360 Comment out (does nothing).
10361
e1ac4066
GM
10362 * completion.el (dynamic-completion-mode):
10363 * dirtrack.el (dirtrack-debug-mode):
10364 * electric.el (electric-layout-mode):
10365 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10366 * face-remap.el (text-scale-mode, buffer-face-mode):
10367 * iimage.el (iimage-mode):
10368 * image-mode.el (image-transform-mode):
10369 * minibuffer.el (completion-in-region-mode):
10370 * scroll-lock.el (scroll-lock-mode):
10371 * simple.el (next-error-follow-minor-mode):
10372 * tar-mode.el (tar-subfile-mode):
10373 * tooltip.el (tooltip-mode):
10374 * vcursor.el (vcursor-use-vcursor-map):
10375 * wid-browse.el (widget-minor-mode):
10376 * emulation/tpu-edt.el (tpu-edt-mode):
10377 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10378 * international/iso-ascii.el (iso-ascii-mode):
10379 * language/thai-util.el (thai-word-mode):
10380 * mail/supercite.el (sc-minor-mode):
10381 * net/goto-addr.el (goto-address-mode):
10382 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10383 * progmodes/cwarn.el (cwarn-mode):
10384 * progmodes/flymake.el (flymake-mode):
10385 * progmodes/glasses.el (glasses-mode):
10386 * progmodes/hideshow.el (hs-minor-mode):
10387 * progmodes/pascal.el (pascal-outline-mode):
10388 * textmodes/enriched.el (enriched-mode):
10389 * vc/smerge-mode.el (smerge-mode):
10390 Doc fixes (minor mode argument).
10391
5e0d957f
EZ
103922012-02-07 Eli Zaretskii <eliz@gnu.org>
10393
10394 * ls-lisp.el (ls-lisp-sanitize): New function.
10395 (ls-lisp-insert-directory): Use it to fix or remove any elements
10396 in file-alist with missing attributes. (Bug#4673)
10397
98d7371e
AM
103982012-02-07 Alan Mackenzie <acm@muc.de>
10399
10400 Fix spurious recognition of c-in-knr-argdecl.
10401
10402 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10403 putative K&R region.
10404
667ced3a
AM
104052012-02-07 Alan Mackenzie <acm@muc.de>
10406
eb864a71
LM
10407 * progmodes/cc-engine.el (c-forward-objc-directive):
10408 Prevent looping in "#pragma mark @implementation".
667ced3a 10409
5b77774d
MA
104102012-02-07 Michael Albinus <michael.albinus@gmx.de>
10411
10412 * notifications.el (notifications-on-closed-signal): Make `reason'
10413 optional. (Bug#10744)
10414
af008560
GM
104152012-02-07 Glenn Morris <rgm@gnu.org>
10416
60d47423
GM
10417 * emacs-lisp/easy-mmode.el (define-minor-mode):
10418 Doc fixes for the macro and the mode it defines.
10419
dd605cc4
GM
10420 * image.el (imagemagick-types-inhibit): Doc fix.
10421
af008560
GM
10422 * cus-start.el (imagemagick-render-type): Add it.
10423
5cc59a37
LI
104242012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10425
4d6769e1
JB
10426 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10427 Set the default at load time, too, so that `font-lock-fontify-buffer'
10428 can be called without setting up the entire mode first. This fixes
10429 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10430
9a6dd747
CY
104312012-02-06 Chong Yidong <cyd@gnu.org>
10432
2d16b285
CY
10433 * simple.el (list-processes--refresh): Delete exited processes
10434 (Bug#8094).
10435
171e9b6e
CY
10436 * comint.el (comint-next-prompt): next-single-char-property-change
10437 and prev-single-char-property-change never return nil (Bug#8657).
10438
9a6dd747
CY
10439 * custom.el (defcustom): Doc fix (Bug#9711).
10440
aa4589a7
CY
104412012-02-05 Chong Yidong <cyd@gnu.org>
10442
5c2a252f
CY
10443 * cus-edit.el (custom-variable-reset-backup): Quote the value
10444 before storing it in the customized-value property (Bug#6712).
4aab9006 10445 (custom-display): Add a customization type tag.
983b9602 10446 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10447
aa4589a7
CY
10448 * wid-edit.el (widget-field-value-get): New optional arg to
10449 suppress trailing whitespace truncation.
10450 (character): Use it (Bug#2689).
10451
1ff980ae
AS
104522012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10453
10454 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10455 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10456
03988c98
CY
104572012-02-05 Chong Yidong <cyd@gnu.org>
10458
eeb6cc88
CY
10459 * cus-edit.el (custom-variable-value-create): For mismatched
10460 types, show the current value (Bug#7600).
10461
03988c98
CY
10462 * custom.el (defcustom): Doc fix.
10463
f8cdeef0
GM
104642012-02-05 Glenn Morris <rgm@gnu.org>
10465
10466 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10467
0696d255
JB
104682012-02-05 Juanma Barranquero <lekktu@gmail.com>
10469
10470 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10471 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10472 (pp-last-sexp): Use `looking-at-p'.
10473
34c99998
GM
104742012-02-04 Glenn Morris <rgm@gnu.org>
10475
8f05da42
GM
10476 * files.el (revert-buffer):
10477 Doc fix (mention revert-buffer-in-progress-p).
10478
f160676e
GM
10479 * emacs-lisp/ert-x.el (ert-simulate-command):
10480 Check deferred-action-list (which is obsolete) is bound.
10481
c7291ad9
GM
10482 * subr.el (with-wrapper-hook): Doc fixes.
10483
34c99998
GM
10484 * simple.el (filter-buffer-substring-functions)
10485 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10486
6283a7d3
LL
104872012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10488
10489 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10490 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10491
e96e3013
LL
104922012-02-04 Leo Liu <sdl.web@gmail.com>
10493
10494 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10495
8ded50f2
GM
104962012-02-04 Glenn Morris <rgm@gnu.org>
10497
82ff1d13
GM
10498 * image.el (image-extension-data): Add obsolete alias.
10499
987a0a16
GM
10500 * isearch.el (isearch-update): Doc fix.
10501
ea32ef46
GM
10502 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10503
8ded50f2
GM
10504 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10505
eea14f31
GM
105062012-02-03 Glenn Morris <rgm@gnu.org>
10507
10508 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10509 (image-animate-timeout): Doc fix.
10510
10511 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10512
12f381b7
GM
105132012-02-02 Glenn Morris <rgm@gnu.org>
10514
953cebf5
GM
10515 * server.el (server-auth-dir): Doc fix.
10516 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10517
12f381b7
GM
10518 * subr.el (run-mode-hooks): Doc fix.
10519
953a8c3b
JL
105202012-02-02 Juri Linkov <juri@jurta.org>
10521
10522 * image-mode.el (image-toggle-display-image): Remove tautological
10523 `major-mode' from the `derived-mode-p' test.
10524
c5d3843c
KH
105252012-02-02 Kenichi Handa <handa@m17n.org>
10526
9f6e692e 10527 * composite.el (compose-region): Cancel previous change.
c5d3843c 10528
159462d4 105292012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10530
10531 * composite.el (compose-region, compose-string): Signal error for
10532 a null string component (Bug#6988).
10533
9f562668
CY
105342012-02-01 Chong Yidong <cyd@gnu.org>
10535
e2cef717
CY
10536 * view.el (view-buffer-other-window, view-buffer-other-frame):
10537 Handle special modes like view-buffer (Bug#10650).
10538 (view-buffer): Simplify.
10539
9f562668
CY
10540 * frame.el (set-frame-font): Tweak meaning of third argument.
10541
9f6e692e
JB
10542 * dynamic-setting.el (font-setting-change-default-font):
10543 Use set-frame-font (Bug#9982).
9f562668 10544
781acb9f
GM
105452012-02-01 Glenn Morris <rgm@gnu.org>
10546
6035be52
GM
10547 * progmodes/compile.el (compilation-internal-error-properties):
10548 Respect compilation-first-column in the "*compilation*" buffer.
10549
781acb9f
GM
10550 * emacs-lisp/easy-mmode.el (define-minor-mode):
10551 Relax :variable's test for a named function.
10552
abbceb00
AM
105532012-01-31 Alan Mackenzie <acm@muc.de>
10554
10555 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10556 off by one error.
10557
fce3fdeb
CY
105582012-01-31 Chong Yidong <cyd@gnu.org>
10559
10560 * frame.el (set-frame-font): New arg ALL-FRAMES.
10561
10562 * menu-bar.el (menu-set-font): Use set-frame-font.
10563
10564 * faces.el (face-spec-reset-face): Don't apply unspecified
10565 attribute values to the default face.
10566
47893581
JB
105672012-01-31 Juanma Barranquero <lekktu@gmail.com>
10568
10569 * progmodes/cwarn.el (cwarn): Remove dead link.
10570 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10571 Remove * from defcustom docstrings.
10572 (turn-on-cwarn-mode): Make obsolete.
10573 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10574 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10575
e58e988a
GM
105762012-01-31 Glenn Morris <rgm@gnu.org>
10577
60dc2671 10578 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10579 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10580 Allow named functions to be used as the cdr of :variable.
e58e988a 10581
7a3f511d
GM
105822012-01-30 Glenn Morris <rgm@gnu.org>
10583
10584 * emacs-lisp/authors.el (authors-fixed-entries):
10585 Remove reference to deleted file rnewspost.el.
10586
cb882333
JB
105872012-01-29 Juanma Barranquero <lekktu@gmail.com>
10588
10589 * window.el (window-with-parameter): Remove unused variable `windows'.
10590 (window--side-check): Remove unused variable `code'.
10591 (window--resize-siblings): Remove unused variable `first'.
10592 (adjust-window-trailing-edge): Remove unused variable `failed'.
10593 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10594 Use `let', not `let*'.
10595 (balance-windows-2): Remove unused variable `found'.
10596 (window--state-put-2): Remove unused variable `splits'.
10597 (window-state-put): Remove unused variable `selected'.
10598 (same-window-p): Use `string-match-p'.
10599 (display-buffer-assq-regexp): Remove unused variable `value'.
10600 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10601 Mark argument ALIST as ignored.
10602 (pop-to-buffer): Remove unused variable `old-window'.
10603
907201af
EZ
106042012-01-29 Eli Zaretskii <eliz@gnu.org>
10605
10606 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10607 and .lzma compressed files.
10608
ea162670
CY
106092012-01-29 Chong Yidong <cyd@gnu.org>
10610
5b95ee8a
CY
10611 * frame.el (window-system-default-frame-alist): Doc fix.
10612
ea162670
CY
10613 * dynamic-setting.el (font-setting-change-default-font): Don't
10614 change the default face if SET-FONT argument is non-nil (Bug#9982).
10615
d6e6f4b1
SB
106162012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10617
10618 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10619
0f29fa41 106202012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10621
10622 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10623 breakpoints in files outside current directory (Bug#6098).
10624
db174434
CY
106252012-01-29 Chong Yidong <cyd@gnu.org>
10626
6b25e4e2
SE
10627 * progmodes/python.el: Require ansi-color at top-level.
10628
6df6ae42
JB
10629 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10630 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10631 (lisp-mode-abbrev-table): Add doc.
10632 (lisp-mode-variables): Don't set local-abbrev-table.
10633 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10634
e70ee681
RW
106352012-01-28 Roland Winkler <winkler@gnu.org>
10636
10637 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10638
ace88aa2
RW
106392012-01-28 Roland Winkler <winkler@gnu.org>
10640
10641 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10642 (bibtex-set-dialect): Use it. Either set global values of
10643 dialect-dependent variables or bind these variables buffer-locally
10644 (Bug#10254).
10645 (bibtex-mode): Call bibtex-set-dialect via
10646 hack-local-variables-hook.
eb864a71
LM
10647 (bibtex-dialect): Update docstring.
10648 Add safe-local-variable predicate.
ace88aa2
RW
10649 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10650 bibtex-set-dialect.
10651 (bibtex-mode-map): Define menu for each dialect.
10652 (bibtex-entry): Fix docstring.
10653
93376c5b
CY
106542012-01-28 Chong Yidong <cyd@gnu.org>
10655
10656 * eshell/esh-arg.el (eshell-quote-argument): New function.
10657
10658 * eshell/esh-ext.el (eshell-invoke-batch-file):
10659 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10660 first arg to eshell-parse-command (Bug#10523).
10661
4372494f
DA
106622012-01-28 Drew Adams <drew.adams@oracle.com>
10663
10664 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10665 `default-directory' is non-nil.
10666
4d4ec1f8
EZ
106672012-01-28 Eli Zaretskii <eliz@gnu.org>
10668
10669 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10670 line that displays system-configuration-options. (Bug#9924)
10671
7c188927
DA
106722012-01-28 Drew Adams <drew.adams@oracle.com>
10673
10674 * descr-text.el (describe-char): Show information about POS, in
10675 addition to information about the character at POS. Improve and
10676 update the doc string. Change "code point" to "code point in
10677 charset", to avoid confusion with the character's Unicode code
10678 point shown above that. (Bug#10129)
10679
e0da685a
EZ
106802012-01-28 Eli Zaretskii <eliz@gnu.org>
10681
10682 * descr-text.el (describe-char): Show the raw character, not only
10683 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10684 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10685 for the reasons.
10686
70550acf
PH
106872012-01-28 Phil Hagelberg <phil@hagelb.org>
10688
eb864a71
LM
10689 * emacs-lisp/package.el (package-install):
10690 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10691
0ce8e868
CY
106922012-01-28 Chong Yidong <cyd@gnu.org>
10693
cb882333
JB
10694 * emacs-lisp/package.el (package-maybe-load-descriptor):
10695 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10696 (package-maybe-load-descriptor): Use it.
10697 (package-download-transaction): Fully load required packages
10698 inside the loop, so that `require' calls work (Bug#10593).
10699 (package-install): No need to call package-initialize now.
10700
2e7f3bea
CY
107012012-01-28 Chong Yidong <cyd@gnu.org>
10702
6e9bad14
CY
10703 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10704
f823b8ca
CY
10705 * tooltip.el (tooltip-mode): Doc fix.
10706 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10707
2680c309
CY
10708 * frame.el (set-cursor-color): Doc fix (Bug#352).
10709
d7a9e63b
CY
10710 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10711 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10712
2e7f3bea
CY
10713 * cus-edit.el (custom-buffer-create-internal): Fix search button
10714 action (Bug#10542).
2ae01800 10715 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10716
fc4f7a23
EW
107172012-01-27 Eduard Wiebe <usenet@pusto.de>
10718
10719 * dired.el (dired-mark-files-regexp):
10720 Include any subdirectory components. (Bug#10445)
10721
7dd37071
ML
107222012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10723
10724 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10725 Handle [host]:port syntax. (Bug#10533)
10726
a268160b
AH
107272012-01-27 Alex Harsanyi <harsanyi@mac.com>
10728
10729 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10730
e43273ef
GM
107312012-01-26 Glenn Morris <rgm@gnu.org>
10732
10733 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10734 * term.el (term-raw-escape-map): Use Control-X-prefix.
10735 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10736
1edf595d
MR
107372012-01-25 Martin Rudalics <rudalics@gmx.at>
10738
10739 * window.el (window-state-get, window--state-get-1): Don't deal
10740 with fixed-sizeness of windows. Simplify code.
10741
fa8eafef
JC
107422012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10743
6df6ae42
JB
10744 * window.el (window--state-get-1, window--state-put-2):
10745 Don't save and restore the mark.
fa8eafef 10746
0b21c100
CY
107472012-01-25 Chong Yidong <cyd@gnu.org>
10748
10749 * custom.el (custom-variable-p): Doc fix.
10750
5ae1a6c8
GM
107512012-01-25 Glenn Morris <rgm@gnu.org>
10752
40047858
GM
10753 * dired.el (dired-goto-file): Handle some of the more common
10754 characters that `ls -b' escapes. (Bug#10596)
10755
5ddce96c
GM
10756 * progmodes/compile.el (compilation-next-error-function):
10757 Respect compilation-first-column in the "*compilation*" buffer.
10758 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10759
5ae1a6c8
GM
10760 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10761
b559f1a9
GM
107622012-01-24 Glenn Morris <rgm@gnu.org>
10763
10764 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10765
6725d21a
JD
107662012-01-24 Julien Danjou <julien@danjou.info>
10767
10768 * color.el (color-rgb-to-hsl): Fix value computing.
10769 (color-hue-to-rgb): New function.
10770 (color-hsl-to-rgb): New function.
10771 (color-clamp, color-saturate-hsl, color-saturate-name)
10772 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10773 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10774
70df4bbe
GM
107752012-01-24 Glenn Morris <rgm@gnu.org>
10776
10777 * vc/vc-rcs.el (vc-rcs-create-tag):
10778 * vc/vc-sccs.el (vc-sccs-create-tag):
10779 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10780
802a2ae2
ML
107812012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10782
10783 * eshell/esh-util.el (eshell-read-hosts-file):
10784 Skip comment lines. (Bug#10549)
10785
d7128bb1
ML
10786 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10787
d1a5c3b4
JB
107882012-01-23 Juanma Barranquero <lekktu@gmail.com>
10789
2724d9c7
JB
10790 * subr.el (display-delayed-warnings): Doc fix.
10791 (collapse-delayed-warnings): New function to collapse identical
10792 adjacent warnings.
10793 (delayed-warnings-hook): Add it.
d1a5c3b4 10794
a5509865
MA
107952012-01-22 Michael Albinus <michael.albinus@gmx.de>
10796
10797 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10798
a5509865
MA
10799 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10800 (tramp-default-user-alist): Don't add "pscp".
10801 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10802 property "login-as", if set. (Bug#10530)
10803
cc6d5805
MA
108042012-01-21 Michael Albinus <michael.albinus@gmx.de>
10805
10806 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10807 "plink1" and "psftp". (Bug#10530)
10808
108092012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10810
10811 * international/mule-cmds.el (prefer-coding-system): Show a
10812 warning message if the default value of file-name-coding-system
10813 was not changed.
10814
f0960428
JC
108152012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10816
cb882333
JB
10817 * windmove.el (windmove-reference-loc):
10818 Fix windmove-reference-loc miscalculation.
f0960428 10819
dd6f2a63
JB
108202012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10821
10822 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10823 default unit.
10824
7b447e9b
GM
108252012-01-21 Glenn Morris <rgm@gnu.org>
10826
117a9ea1
GM
10827 * international/mule.el (auto-coding-alist): Add .tbz.
10828
7b447e9b
GM
10829 * files.el (local-enable-local-variables): Doc fix.
10830 (inhibit-local-variables-regexps): Rename from
10831 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10832 Doc fix. Add some extensions from auto-coding-alist.
10833 (inhibit-local-variables-suffixes):
10834 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10835 (inhibit-local-variables-p):
10836 New function, extracted from set-auto-mode-1.
10837 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10838 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10839 (hack-local-variables): Doc fix. Make the mode-only case
10840 respect enable-local-variables and friends.
10841 Respect inhibit-local-variables-regexps for file-locals, but
10842 not for directory-locals.
10843 (set-visited-file-name):
10844 Take account of inhibit-local-variables-regexps.
10845 Whether it applies may change as the file name is changed.
10846 * jka-cmpr-hook.el (jka-compr-install):
10847 * jka-compr.el (jka-compr-uninstall):
10848 Update for inhibit-first-line-modes-suffixes name change.
10849
dd6e3cdd
MR
108502012-01-20 Martin Rudalics <rudalics@gmx.at>
10851
10852 * help-macro.el (make-help-screen): Temporarily restore original
10853 binding for minor-mode-map-alist (Bug#10454).
10854
0d0deb38
JD
108552012-01-19 Julien Danjou <julien@danjou.info>
10856
10857 * color.el (color-name-to-rgb): Use the white color to find the max
10858 color component value and return correctly computed values.
10859 (color-name-to-rgb): Add missing float conversion for max value.
10860
34a02f46
MR
108612012-01-19 Martin Rudalics <rudalics@gmx.at>
10862
10863 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10864 special state value for window-persistent-parameters.
10865 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10866 (window--state-put-2): Reset all window parameters to nil before
10867 assigning values of persistent parameters.
10868
606c44c4
AM
108692012-01-18 Alan Mackenzie <acm@muc.de>
10870
10871 Eliminate sluggishness and hangs in fontification of "semicolon
10872 deserts".
10873
cb882333
JB
10874 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10875 Change value 10000 -> 3000.
606c44c4
AM
10876 (c-state-safe-place): Reformulate so it doesn't stack up an
10877 infinite number of wrong entries in c-state-nonlit-pos-cache.
10878 (c-determine-limit-get-base, c-determine-limit): New functions to
10879 determine backward search limits disregarding literals.
10880 (c-find-decl-spots): Amend commenting.
10881 (c-cheap-inside-bracelist-p): New function which detects "={".
10882
10883 * progmodes/cc-fonts.el
10884 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10885 backward search.
10886 (c-font-lock-declarations): Fix an occurrence of point being
10887 undefined. Check additionally for point being in a bracelist or
10888 near a macro invocation without a semicolon so as to avoid a
10889 fruitless time consuming search for a declarator. Give a more
10890 precise search limit for declarators using the new
10891 c-determine-limit.
10892
f3860cea
GM
108932012-01-18 Glenn Morris <rgm@gnu.org>
10894
10895 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10896 (set-auto-mode): Doc fixes.
10897
1db03b16
GM
108982012-01-17 Glenn Morris <rgm@gnu.org>
10899
0e6038be
GM
10900 * isearch.el (search-nonincremental-instead): Fix doc typo.
10901
1db03b16
GM
10902 * dired.el (dired-insert-directory): Handle newlines in directory name.
10903 (dired-build-subdir-alist): Unescape newlines in directory name.
10904
4cb0aa75
MA
109052012-01-17 Michael Albinus <michael.albinus@gmx.de>
10906
10907 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10908 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10909 (tramp-action-terminal): Use it. (Bug#10530)
10910
1d00653d
SM
109112012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10914
6a6ee00d
MR
109152012-01-16 Martin Rudalics <rudalics@gmx.at>
10916
10917 * window.el (window-state-ignored-parameters): Remove variable.
10918 (window--state-get-1): Rename argument MARKERS to IGNORE.
10919 Handle persistent window parameters. Make copy of clone-of
10920 parameter only if requested. (Bug#10348)
10921 (window--state-put-2): Install a window parameter only if it has
10922 a non-nil value or an existing parameter shall be overwritten.
10923
97912def
MA
109242012-01-15 Michael Albinus <michael.albinus@gmx.de>
10925
10926 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10927
688070a5
EZ
109282012-01-14 Eli Zaretskii <eliz@gnu.org>
10929
10930 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10931 don't pass the (nil) value of `upnode' to string-match.
10932
301afadc
CY
109332012-01-14 Chong Yidong <cyd@gnu.org>
10934
10935 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10936 Fix values recognized by the cursorBlink resource.
301afadc 10937
9e5788aa
PE
109382012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10939
10940 * epg.el (epg--make-temp-file): Avoid permission race condition
10941 when running on old Emacs versions (bug#10403).
10942
3cdb7f5a
GM
109432012-01-14 Glenn Morris <rgm@gnu.org>
10944
10945 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10946
8c82b1b4
AM
109472012-01-13 Alan Mackenzie <acm@muc.de>
10948
10949 Fix filling for when filladapt mode is enabled.
10950
10951 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10952 c-mask-paragraph, pass in `fill-paragraph' rather than
10953 `fill-region-as-paragraph'. (This is a reversion of a previous
10954 change.)
eb864a71
LM
10955 * progmodes/cc-mode.el (c-basic-common-init):
10956 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10957
e517eda4
GM
109582012-01-13 Glenn Morris <rgm@gnu.org>
10959
1498536e
GM
10960 * dired.el (dired-switches-escape-p): New function.
10961 (dired-insert-directory): Use dired-switches-escape-p.
10962 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10963
e517eda4
GM
10964 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10965
328f984d
GM
109662012-01-12 Glenn Morris <rgm@gnu.org>
10967
10968 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10969 changes in adaptive-fill-regexp. (Bug#10276)
10970
2cc769a8
AM
109712012-01-11 Alan Mackenzie <acm@muc.de>
10972
10973 Fix Emacs bug #10463 - put `widen's around the critical spots.
10974
1d00653d 10975 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10976 widen around each invocation of c-state-pp-to-literal. Remove an
10977 unused let variable.
10978
e52c37fa
GM
109792012-01-11 Glenn Morris <rgm@gnu.org>
10980
10981 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10982 Doc fix.
e52c37fa 10983
96f8741e
CY
109842012-01-10 Chong Yidong <cyd@gnu.org>
10985
1d00653d
SM
10986 * net/network-stream.el (network-stream-open-starttls):
10987 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10988 response to the capability command.
10989
b09a806e
GM
109902012-01-10 Glenn Morris <rgm@gnu.org>
10991
10992 * mail/unrmail.el (unrmail): Tweak previous change.
10993
7655cb66
CY
109942012-01-09 Chong Yidong <cyd@gnu.org>
10995
10996 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10997
9d5a8f0b
AM
109982012-01-08 Alan Mackenzie <acm@muc.de>
10999
11000 Optimise font locking in long enum definitions.
11001
11002 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11003 arm to a cond form to handle enums.
11004 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11005 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11006
9a0115ab 110072012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11008
11009 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11010 (Bug#10401)
6bb72cbd 11011
f186bb95
LMI
110122012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11013
29232a68
LMI
11014 * faces.el (set-face-attribute): Clarify the meaning of the nil
11015 frame (bug#10294).
11016
4e5d086d
LMI
11017 * subr.el (with-selected-frame): Mention that the selected frame
11018 is restored (bug#9980).
11019
8e66aebe
LMI
11020 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11021 (bug#9759).
11022
cd394be1 11023 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11024 (password-read): Don't autoload unused function.
11025
adf4e762
JB
110262012-01-07 Juanma Barranquero <lekktu@gmail.com>
11027
11028 * progmodes/which-func.el (which-func-mode): Turn into a
11029 non-interactive function and mark as obsolete (bug#10428).
11030
89bd9ccd
CY
110312012-01-06 Chong Yidong <cyd@gnu.org>
11032
11033 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11034 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11035 functions, along with 1 and -1.
11036
4afee9d5
EZ
110372012-01-06 Eli Zaretskii <eliz@gnu.org>
11038
11039 * time.el (display-time-load-average)
11040 (display-time-default-load-average): Doc fixes. See the thread
11041 starting at
11042 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11043 for the details.
11044
536aea70
GM
110452012-01-06 Glenn Morris <rgm@gnu.org>
11046
665ae865
GM
11047 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11048 has no messages. (Bug#10377)
11049
c869783d
GM
11050 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11051 than Info-edit. (Bug#10385)
11052
2bb4227e
GM
11053 * time.el (display-time-load-average, display-time-next-load-average):
11054 Doc fixes.
11055
7d5944b9
GM
11056 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11057 local setting of buffer-read-only to the input buffer. (Bug#10419)
11058
536aea70
GM
11059 * calendar/calendar.el (calendar-mode):
11060 Locally set scroll-margin to 0. (Bug#10379)
11061
7dccca16
UM
110622012-01-06 Ulrich Mueller <ulm@gentoo.org>
11063
11064 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11065
afbb7930
GM
110662012-01-05 Glenn Morris <rgm@gnu.org>
11067
11068 * eshell/em-unix.el (diff-no-select): Autoload it.
11069 (eshell/diff): Use diff-no-select. (Bug#10420)
11070
04482335
CY
110712012-01-05 Chong Yidong <cyd@gnu.org>
11072
7baca3bc
CY
11073 * shell.el (shell-dynamic-complete-functions): Revert last change.
11074 (shell-command-completion-function): New function.
11075 (shell-completion-vars): Use it to implement
11076 shell-completion-execonly (Bug#10417).
11077
04482335
CY
11078 * custom.el (enable-theme): Don't set custom-safe-themes.
11079
1d00653d
SM
11080 * cus-theme.el (custom-theme-merge-theme):
11081 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11082
bb5aa5d6
MM
110832012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11084
11085 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11086 first prompt in `sql-interacive-mode'.
11087 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11088 keywords.
6df6ae42 11089 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11090 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11091 context of original buffer. Invoke `sql-login-hook'.
11092
a7183d7c
EZ
110932012-01-04 Eli Zaretskii <eliz@gnu.org>
11094
11095 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11096 letters in cite-prefix.
11097
a1eacd1e
LMI
110982012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11099
11100 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11101
787cdb34
CY
111022012-01-03 Chong Yidong <cyd@gnu.org>
11103
1d00653d
SM
11104 * shell.el (shell-dynamic-complete-functions):
11105 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11106 comint-filename-completion first (Bug#10417).
11107
30710442
RS
111082012-01-02 Richard Stallman <rms@gnu.org>
11109
11110 * battery.el (battery-status-function):
11111 Detect when to use battery-yeeloong-sysfs.
11112 (battery-echo-area-format): Add string for Yeeloong.
11113 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11114 (battery-yeeloong-sysfs): New function.
11115
f75bfc33
CY
111162012-01-02 Chong Yidong <cyd@gnu.org>
11117
11118 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11119 (dirtrack): Merge code for handling relative filenames in prompt
11120 from shell-dir-cookie-watcher.
11121 (dirtrack-debug-message): New arg to avoid excess format calls.
11122
11123 * shell.el (shell-dir-cookie-re): Variable deleted.
11124 (shell-dir-cookie-watcher): Function deleted.
11125 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11126 with dirtrack-mode.
11127
651e947e
EZ
111282012-01-01 Eli Zaretskii <eliz@gnu.org>
11129
1d00653d
SM
11130 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11131 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11132 libgnutls-26.dll.
11133
94d4c7dc
AS
111342011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11135
11136 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11137
8d43f3cd
EZ
111382011-12-31 Eli Zaretskii <eliz@gnu.org>
11139
11140 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11141 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11142
98c8795a
MA
111432011-12-29 Michael Albinus <michael.albinus@gmx.de>
11144
11145 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11146 also for alternative shells.
11147 (tramp-open-connection-setup-interactive-shell): Check, whether
11148 the shell is a busybox.
11149 (tramp-send-command): Don't suppress multiple prompts for
11150 busyboxes, it hurts.
11151
51281b32
CY
111522011-12-28 Chong Yidong <cyd@gnu.org>
11153
11154 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11155 (gdb-get-source-file): Move mode line update to
11156 gdb-get-source-file (Bug#10087).
11157
2170cb53
CY
111582011-12-25 Chong Yidong <cyd@gnu.org>
11159
11160 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11161 gud-gdb-marker-filter without taking it as an argument.
11162 (gud-gdb-run-command-fetch-lines): Caller changed.
11163 (gud-gdb-completion-function): New variable.
11164 (gud-gdb-completion-at-point): Use it.
11165 (gud-gdb-completions-1): Split from gud-gdb-completions.
11166
11167 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11168 function as separate arguments.
11169 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11170 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11171 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11172 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11173 (gdb-stopped, def-gdb-auto-update-trigger)
11174 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11175 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11176 Callers changed.
2170cb53
CY
11177 (gud-gdbmi-completions): New function.
11178 (gdb): Use it for generating the completion table.
11179
be8b11bb
AM
111802011-12-24 Alan Mackenzie <acm@muc.de>
11181
11182 Introduce a mechanism to widen the region used in context font
1d00653d 11183 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11184
1d00653d
SM
11185 * progmodes/cc-langs.el (c-before-font-lock-functions):
11186 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11187 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11188 functions to be run just before context (etc.) font locking.
11189
11190 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11191 New, functionality extracted from
be8b11bb 11192 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11193 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11194 (c-after-change): Set c-in-after-change-fontification.
11195 (c-set-fl-decl-start): Rejig its interface, so it can be called
11196 from both after-change and context fontifying.
b81d40f0
JB
11197 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11198 New functions.
11199 (c-standard-font-lock-fontify-region-function): New variable.
11200 (c-font-lock-fontify-region): New function.
be8b11bb 11201
341cf6ac
JL
112022011-12-24 Juri Linkov <juri@jurta.org>
11203
11204 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11205 (Bug#10348)
11206
bffcee0a
MA
112072011-12-23 Michael Albinus <michael.albinus@gmx.de>
11208
11209 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11210 existence of source file. (Bug#10325)
11211
cb5e207c
AM
112122011-12-23 Alan Mackenzie <acm@muc.de>
11213
11214 Fix unstable fontification inside templates.
11215
b81d40f0
JB
11216 * progmodes/cc-langs.el (c-before-font-lock-functions):
11217 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11218 additionally has c-set-fl-decl-start. The other languages (apart
11219 from AWK) have that as a single entry.
11220
b81d40f0
JB
11221 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11222 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11223 c-set-fl-decl-start.
11224
b81d40f0
JB
11225 * progmodes/cc-mode.el (c-common-init, c-after-change):
11226 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11227 (c-set-fl-decl-start): New function, extracted from
11228 c-font-lock-enclosing-decls and enhanced.
11229
60ff536c
JB
112302011-12-23 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11233
1c4757d6
JL
112342011-12-22 Juri Linkov <juri@jurta.org>
11235
11236 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11237
d031f2c7
CY
112382011-12-22 Chong Yidong <cyd@gnu.org>
11239
11240 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11241
bace743a
DA
112422011-12-21 Drew Adams <drew.adams@oracle.com>
11243
11244 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11245
728a1f2b
JC
112462011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11247
11248 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11249
0d373f73
TZ
112502011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11251
fec0aaa4
TZ
11252 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11253 highlighting and support. Fix up comments for capitalization.
11254 (cfengine-mode-debug): New var.
11255 (cfengine3-mode): Change the modeline indicator to "CFE3".
11256 (cfengine3-font-lock-keywords): Improve defun highlighting.
11257 (cfengine2-actions): Rename from `cfengine-actions'.
11258 (cfengine2-font-lock-keywords): Rename from
11259 `cfengine-font-lock-keywords'.
11260 (cfengine2-imenu-expression): Rename from
11261 `cfengine-imenu-expression'.
11262 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11263 (cfengine2-beginning-of-defun): Rename from
11264 `cfengine-beginning-of-defun'.
11265 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11266 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11267 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11268 modeline indicator to "CFE2".
11269 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11270 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11271
bc86f573
CY
112722011-12-21 Chong Yidong <cyd@gnu.org>
11273
11274 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11275 filename argument.
11276
d45ba96b
MR
112772011-12-20 Martin Rudalics <rudalics@gmx.at>
11278
11279 * window.el (window-normalize-buffer-to-display): Remove.
11280 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11281
a6198c90
CY
112822011-12-19 Chong Yidong <cyd@gnu.org>
11283
11284 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11285 Don't signal an error in a predicate function; return non-nil.
11286 (vc-dir-mark-file): Move the error here.
11287 (vc-dir-mark-unmark): If acting on the region, keep going if one
11288 of the entries cannot be marked/unmarked.
11289 (vc-dir-mark-all-files): If current entry is a directory, mark
11290 only child files, as documented.
11291
34c5fb55
VB
112922011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11293
11294 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11295 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11296 addition.
11297
c803b2b7
JD
112982011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11299
11300 * term/ns-win.el (ns-get-selection-internal)
11301 (ns-store-selection-internal): Declare.
1154d12e
JB
11302 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11303 Declare as obsolete.
11304 (ns-get-pasteboard, ns-paste-secondary):
11305 Use ns-get-selection-internal.
41e9b956 11306 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11307 Use ns-store-selection-internal.
c803b2b7 11308
9cff91f8 113092011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11310
11311 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11312 (vc-deduce-fileset): Doc fix.
99a289d9 11313
f16c898a
AS
113142011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11315
11316 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11317
763237c4
SS
113182011-12-13 Sam Steingold <sds@gnu.org>
11319
11320 * man.el (Man-getpage-in-background): When running under a
11321 window-system, ignore $MANWIDTH and $COLUMNS.
11322
5fc1c122
KH
113232011-12-15 Kenichi Handa <handa@m17n.org>
11324
11325 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11326 (setup-ethiopic-environment-internal): Comment out key-binding for
11327 ethio-toggle-punctuation.
11328
13d49cbb
AM
113292011-12-13 Alan Mackenzie <acm@muc.de>
11330
898169a2
AM
11331 Add the switch statement to AWK Mode.
11332
7a71b18d 11333 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11334 "default" to the keywords regexp.
11335
7a71b18d 11336 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11337 expression as the rest.
1d00653d
SM
11338 (c-nonlabel-token-key): Allow string literals for AWK.
11339 Refactor for the other modes.
898169a2 11340
13d49cbb 11341 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11342 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11343 routines. Limit backward searching in c-font-lock-enclosing.decl.
11344
11345 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11346 pp-state and literal type in addition to the limits.
1d00653d 11347 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11348 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11349 (c-slow-in-literal, c-fast-in-literal): Remove.
11350 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11351
11352 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11353 being in a literal. Add a limit for backward searching.
11354
11355 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11356 c-slow-in-literal.
11357
15e0efc7
SM
113582011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11361
454592a6
MR
113622011-12-13 Martin Rudalics <rudalics@gmx.at>
11363
11364 * window.el (delete-other-windows): Use correct frame in call to
11365 window-with-parameter.
11366
87393f26
DP
113672011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11368
11369 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11370 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11371 (makefile-gmake-statements, makefile-makepp-statements):
11372 Use it and add new makepp keywords.
11373 (makefile-makepp-font-lock-keywords): Add new patterns.
11374 (makefile-match-function-end): Match new [...] and [[...]].
11375
11636b22
JB
113762011-12-11 Juanma Barranquero <lekktu@gmail.com>
11377
11378 * ses.el (ses-call-printer-return, ses-cell-property-get)
11379 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11380 (ses-create-cell-variable, ses-reset-header-string)
11381 (ses-cell-set-formula, ses-repair-cell-reference-all)
11382 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11383 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11384 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11385 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11386 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11387 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11388 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11389 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11390 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11391 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11392 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11393 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11394
cf018193
VB
113952011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11396
11397 * ses.el: The overall change is to add cell renaming, that is
11398 setting fancy names for cell symbols other than name matching
11399 "\\`[A-Z]+[0-9]+\\'" regexp .
11400 (ses-create-cell-variable): New defun.
11401 (ses-relocate-formula): Relocate formulas only for cells the
11402 symbols of which are not renamed, i.e. symbols whose names do not
11403 match regexp "\\`[A-Z]+[0-9]+\\'".
11404 (ses-relocate-all): Relocate values only for cells the symbols of
11405 which are not renamed.
11406 (ses-load): Create cells variables as the (ses-cell ...) are read,
11407 in order to check row col consistency with cell symbol name only
11408 for cells that are not renamed.
11409 (ses-replace-name-in-formula): New defun.
11410 (ses-rename-cell): New defun.
11411
ee957461
CY
114122011-12-11 Chong Yidong <cyd@gnu.org>
11413
11414 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11415 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11416
9a9e9ef0
MR
114172011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11418
11419 * window.el (other-window): Fix docstring.
11420
92a8eba5
EZ
114212011-12-10 Eli Zaretskii <eliz@gnu.org>
11422
11423 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11424 `from' or `to' address before taking its substring.
11425 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11426 encoded name is chopped in the middle of the encoded string, and
11427 thus displayed encoded.
11428
e152e577
JB
114292011-12-10 Juanma Barranquero <lekktu@gmail.com>
11430
11431 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11432
e5d84bfe
EZ
114332011-12-10 Eli Zaretskii <eliz@gnu.org>
11434
11435 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11436 to use texinfo-update-node and commands that call it if the
11437 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11438 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11439 (texinfo-all-menus-update, texinfo-master-menu)
11440 (texinfo-update-node, texinfo-every-node-update)
11441 (texinfo-multiple-files-update): Doc fix. Warn against updating
11442 all the @node lines.
11443 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11444 argument is numeric. Explain better in the doc string what the
11445 function really does.
11446 (texinfo-insert-master-menu-list): Improve the error message
11447 displayed if there's no menu in the Top node.
11448 (Bug#2975) See also this thread:
e5d84bfe
EZ
11449 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11450
1d84e9bb
MG
114512011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11452
11453 * speedbar.el (speedbar-supported-extension-expressions):
11454 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11455
382c953b
JB
114562011-12-09 Juanma Barranquero <lekktu@gmail.com>
11457
11458 * printing.el (pr-mode-alist):
11459 * simple.el (filter-buffer-substring-functions)
11460 (completion-list-insert-choice-function):
11461 * window.el (window-with-parameter, window-atom-root)
11462 (window-sides-slots, window-size-fixed, window-min-delta)
11463 (window-max-delta, window--resize-mini-window)
11464 (window--resize-child-windows-normal, window-tree)
11465 (delete-other-windows, quit-window, split-window)
11466 (display-buffer-record-window, special-display-buffer-names)
11467 (special-display-regexps, special-display-popup-frame)
11468 (same-window-p, split-window-sensibly)
11469 (display-buffer-overriding-action, display-buffer-alist)
11470 (display-buffer-base-action, display-buffer, switch-to-buffer)
11471 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11472 (fit-window-to-buffer, recenter-positions)
11473 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11474 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11475 and remove unneeded backslashes in docstrings.
11476
39c9faef
SM
114772011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11478
98449af8
SM
11479 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11480
39c9faef
SM
11481 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11482 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11483 end in ".mk".
11484 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11485 when reading the makefile (bug#10116).
11486
86ed9fdc
SM
114872011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11490 (bug#10116).
11491
5580f89d
GM
114922011-12-06 Glenn Morris <rgm@gnu.org>
11493
11494 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11495
28d3917c
CY
114962011-12-06 Chong Yidong <cyd@gnu.org>
11497
11498 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11499
a98edce9
JB
115002011-12-06 Juanma Barranquero <lekktu@gmail.com>
11501
11502 * textmodes/table.el (table-shorten-cell): Fix typo.
11503
e65adfac
CG
115042011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11505
11506 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11507
71cc0b74
EZ
115082011-12-05 Eli Zaretskii <eliz@gnu.org>
11509
11510 * descr-text.el (describe-char): Fix display of strong
11511 right-to-left characters and directional embeddings and overrides.
11512
11513 * simple.el (what-cursor-position): Fix display of codepoints of
11514 strong right-to-left characters.
11515
315bc30d
CY
115162011-12-05 Chong Yidong <cyd@gnu.org>
11517
11518 * faces.el (read-color): Doc fix.
11519
58a70b94
GM
115202011-12-05 Glenn Morris <rgm@gnu.org>
11521
11522 * align.el (align--set-marker): Add doc-string.
11523 Don't try to move something that is not a marker. (Bug#10216)
11524
5158face
GM
115252011-12-04 Glenn Morris <rgm@gnu.org>
11526
11527 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11528 overly zealous deletion of trailing whitespace.
11529
520fca41
JB
115302011-12-04 Juanma Barranquero <lekktu@gmail.com>
11531
11532 * server.el (server-delete-client): On Windows, do not try to delete
11533 the only terminal.
11534 (server-process-filter): On Windows, treat requests for a tty frame as
11535 if they were for a GUI frame if the running server is in GUI mode.
11536
5e605a2e
GM
115372011-12-03 Glenn Morris <rgm@gnu.org>
11538
11539 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11540
5c3fe83f
SM
115412011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11542
6f5e57e7
SM
11543 * electric.el: Streamline electric-indent's hook.
11544 (electric-indent-chars): Revert to simple list.
11545 (electric-indent-functions): New var.
11546 (electric-indent-post-self-insert-function): Use it.
11547
5c3fe83f
SM
11548 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11549 there's no inferior buffer (bug#10196).
11550 (prolog-consult-compile): Don't use toggle-read-only.
11551
6bdac736
MA
115522011-12-02 Michael Albinus <michael.albinus@gmx.de>
11553
11554 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11555 interrupt. (Bug#10187)
11556
6131ba7f
SM
115572011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11558
99c79fee
SM
11559 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11560 (bug#9160).
11561
6131ba7f
SM
11562 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11563 (bug#10191).
11564
cb0a02ea
JL
115652011-12-02 Juri Linkov <juri@jurta.org>
11566
11567 * info.el (Info-search): Display "end of manual" when Isearch
11568 reaches the end of single-file Info manual. (Bug#9918)
11569
66e0570c
EZ
115702011-12-02 Eli Zaretskii <eliz@gnu.org>
11571
11572 * isearch.el (isearch-message-prefix): Run the input method part
11573 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11574
02b16839
JL
115752011-12-02 Juri Linkov <juri@jurta.org>
11576
11577 * isearch.el (isearch-occur): Use `word-search-regexp' for
11578 `isearch-word'.
11579 (isearch-search-and-update): Add condition for `isearch-word' and
11580 call `word-search-regexp'. (Bug#10145)
11581
0b950688
GM
115822011-12-01 Glenn Morris <rgm@gnu.org>
11583
11584 * eshell/em-hist.el (eshell-hist-initialize):
11585 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11586 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11587
9505c3c7
SM
115882011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11591
1bbe96b2 115922011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11593
a1beca85
SM
11594 * progmodes/verilog-mode.el (verilog-pretty-expr):
11595 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11596 verilog, such as += *= and the like.
11597 (verilog-assignment-operator-re): Regular expression to find the
11598 assigment operator in a verilog assignment.
11599 (verilog-assignment-operation-re): Regular expression to find an
11600 assignment statement for pretty-expr.
11601 (verilog-in-attribute-p): Query returns true if point is in an
11602 attribute context; used to skip these for expression line up from
11603 pretty-expr.
11604 (verilog-in-parameter-p): Query returns true if point is in an
11605 parameter definition context; used to skip these for expression
11606 line up from pretty-expr.
11607 (verilog-in-parenthesis-p): Query returns true if point is in a
11608 parenthetical expression, specifically ( ) but not [ ] or { };
11609 used by pretty-expr.
11610 (verilog-just-one-space): If there is no space, don't add one.
11611 (verilog-get-lineup-indent-2): Specifically skip just attribute
11612 contexts for expression lineup, rather than skipping all
11613 parenthetical expressions.
11614 (verilog-calculate-indent): Fix comment, and fix indent.
11615 (verilog-do-indent): Indent declarations in lists (suggested by
11616 Joachim Lechner).
11617 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11618 skeleton items.
11619 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11620 by Alain Mellan).
11621
1bbe96b2 116222011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11623
11624 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11625 parameters with embedded comments. Reported by Ray Stevens.
11626 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11627 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11628 Reported by Tim Holt.
11629 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11630 instantiated by upper module causing wrong expansion until AUTOed a
11631 second time. Reported by K C Buckenmaier.
11632 (verilog-diff-auto): Fix showing .* as a difference when
11633 `verilog-auto-star-save' off. Reported by Dan Dever.
11634 (verilog-auto-reset, verilog-read-always-signals)
11635 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11636 temporary signals in reset list if
11637 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11638 style to each signal's assignment type, bug381.
11639 Reported by Thomas Esposito.
6288f0ca
WS
11640 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11641 (verilog-uvm-statement-re): Support UVM indentation and
11642 highlighting, with old OVM keywords only.
a1beca85 11643 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11644 Support AUTOTIEOFF creating non-wire data types.
11645 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11646 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11647 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11648 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11649 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11650 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11651 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11652 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11653 non-numeric vector width. Reported by Alex Reed.
11654 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11655 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11656 (verilog-auto-delete-trailing-whitespace):
11657 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11658 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11659 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11660 Fix verilog-scan-cache corruption when running user AUTO expansion
11661 hooks that call indentation routines.
11662 (verilog-simplify-range-expression): Fix typo ignoring lower case
11663 identifiers.
11664 (verilog-delete-auto): Fix delete-autos to also remove user created
11665 automatics, as long as they start with AUTO.
11666 (verilog-batch-diff-auto, verilog-diff-auto)
11667 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11668 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11669 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11670 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11671 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11672 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11673 is disabled and its cache will get corrupt, causing AUTOS not to
11674 expand. Instead use only -quick functions.
11675 (verilog-scan-region): Fix scanning over escaped quotes.
11676 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11677 (verilog-re-search-backward-quick)
11678 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11679 related functions now ignore strings, to fix misparsing of strings
11680 with magic comments embedded in them.
a1beca85
SM
11681 (verilog-read-auto-template):
11682 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11683 Reported by Brad Dobbie.
11684 (verilog-read-auto-template):
11685 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11686 Reported by Brad Dobbie.
6288f0ca
WS
11687 (verilog-auto-inst, verilog-auto-inst-param)
11688 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11689 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11690 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11691 debugging templates without merge conflicts, bug357.
11692 Reported by Brad Dobbie.
11693 (verilog-read-auto-template):
11694 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11695 Reported by Brad Dobbie.
11696 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11697 abbrevs so user won't be asked to save.
11698 (verilog-read-auto-lisp-present): Fix to start at beginning of
11699 buffer in case called outside of verilog-auto.
11700 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11701 to "X-2". Reported by Matthew Myers.
11702 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11703 all inputs from module templates. Reported by Leith Johnson.
11704 (verilog-module-inside-filename-p): Fix locating programs as with
11705 modules.
11706 (verilog-auto-inst-port): Fix vl-width expressions when using
11707 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11708 (verilog-decls-get-regs, verilog-decls-get-signals,
11709 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11710 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11711 verilog-read-decls): Combine reg and wire structures into one var
11712 structure to represent SystemVerilog concepts.
11713 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11714 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11715 (verilog-auto-wire-type, verilog-insert-definition):
11716 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11717 SystemVerilog "logic" keyword instead of "wire"/"reg".
11718 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11719 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11720 ifdef or generate if so there's not a driver conflict).
11721 Reported by Matthew Myers.
11722 (verilog-auto-declare-nettype, verilog-insert-definition):
11723 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11724 `default_nettype none. Reported by Julian Gorfajn.
11725 (verilog-read-always-signals-recurse, verilog-read-decls)
11726 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11727 malformed end statement, bug325. Reported by Joshua Wise and
11728 Andrew Drake.
11729 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11730 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11731 when expanding .* in interfaces, bug320.
11732 Reported by Pierre-David Pfister.
6288f0ca 11733 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11734 name and open parenthesis, bug317.
11735 Reported by Pierre-David Pfister.
6288f0ca
WS
11736 (verilog-simplify-range-expression): Fix simplification of
11737 multiplications inside AUTOWIRE connections, bug303.
11738 (verilog-auto-inst-port): Support parameter expansion in
11739 multidimensional arrays.
11740 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11741 after "assert property". Reported by Julian Gorfajn.
11742 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11743 with multiplication, bug303.
11744 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11745 Reported by Jan Frode Lonnum.
11746
1bbe96b2
GM
117472011-11-30 Juanma Barranquero <lekktu@gmail.com>
11748
11749 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11750 (hfy-shell-file-name, hfy-shell):
11751 * international/fontset.el (x-decompose-font-name): Fix typos.
11752
117532011-11-29 Ken Brown <kbrown@cornell.edu>
11754
11755 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11756 (gdb-version): Remove defvar.
11757 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11758 (gdb-gud-context-command, gdb-non-stop-handler)
11759 (gdb-current-context-command, gdb-stopped): Use it.
11760 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11761 (gdb-non-stop-handler): Don't enable pretty-printing here.
11762 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11763 non-stop mode. Use the following.
11764 (gdb-check-target-async): New defun.
11765 (gud-watch, gdb-stopped): Fix whitespace.
11766 (gdb-get-source-file): Don't try to display the source file if
11767 `gdb-main-file' is nil.
11768
117692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * align.el: Try to generate fewer markers (bug#10047).
11772 (align--set-marker): New macro.
11773 (align-region): Use it.
11774
c935221f
SM
117752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11778
e70b5064
CY
117792011-11-29 Chong Yidong <cyd@gnu.org>
11780
11781 * indent.el (indent-for-tab-command, indent-according-to-mode):
11782 Doc fix.
11783 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11784
f3af92b7
MA
117852011-11-29 Michael Albinus <michael.albinus@gmx.de>
11786
11787 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11788 aware of remote file names. (Bug#10124)
11789
ed472be9
CY
117902011-11-29 Chong Yidong <cyd@gnu.org>
11791
11792 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11793
24510c22
SM
117942011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11795
11796 * files.el (find-file): Don't use force-same-window (bug#10144).
11797 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11798 use pop-to-buffer if the selected window can't be used.
11799 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11800
c60c3703
EZ
118012011-11-28 Eli Zaretskii <eliz@gnu.org>
11802
11803 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11804 special-mode-map.
11805
e95def75
CY
118062011-11-28 Chong Yidong <cyd@gnu.org>
11807
11808 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11809
c3f1c606
NR
118102011-11-27 Nick Roberts <nickrob@snap.net.nz>
11811
11812 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11813 gdb-get-source-file-list on gdb-create-source-file-list.
11814
00db469c
EZ
118152011-11-26 Eli Zaretskii <eliz@gnu.org>
11816
11817 * whitespace.el (whitespace-newline): Use a different foreground
11818 color for 16-color light-background displays.
11819
4ad3bc2a
CY
118202011-11-24 Chong Yidong <cyd@gnu.org>
11821
11822 * window.el (display-buffer--special-action): Doc fix.
11823
e9fce1ac
JB
118242011-11-25 Juanma Barranquero <lekktu@gmail.com>
11825
11826 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11827 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11828 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11829 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11830 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11831 (avl-tree-stack-first):
11832 * emacs-lisp/cconv.el (cconv--analyse-use):
11833 * net/gnutls.el (gnutls-negotiate): Fix typos.
11834
cb825e5d
GM
118352011-11-24 Glenn Morris <rgm@gnu.org>
11836
3adbe224
GM
11837 * lpr.el (lpr-windows-system, lpr-lp-system):
11838 * mail/binhex.el (binhex-begin-line):
11839 * progmodes/grep.el (grep-history, grep-find-history):
11840 * textmodes/flyspell.el:
11841 * vc/pcvs-defs.el (cvs-global-menu):
11842 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11843 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11844 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11845
321decc8
GM
11846 * net/tls.el: Fix case of "GnuTLS".
11847
420b63ad
GM
11848 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11849
cb825e5d
GM
11850 * version.el (emacs-build-system): Give it a doc-string.
11851
a0649f08
JL
118522011-11-24 Juri Linkov <juri@jurta.org>
11853
11854 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11855
c0bc0fd4
GM
118562011-11-24 Glenn Morris <rgm@gnu.org>
11857
11858 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11859 if called on a non-mime message just toggle the headers. (Bug#8006)
11860
20db1522
JB
118612011-11-24 Juanma Barranquero <lekktu@gmail.com>
11862
11863 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11864 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11865 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11866 (allout-rebullet-heading, allout-open-sibtopic)
11867 (allout-toggle-current-subtree-encryption)
11868 (allout-toggle-subtree-encryption, allout-encrypt-string)
11869 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11870 (allout-distinctive-bullets-string, allout-auto-activation):
11871 * window.el (window-normalize-buffer-to-display):
11872 * progmodes/verilog-mode.el (verilog-batch-indent):
11873 * textmodes/bibtex.el (bibtex-field-braces-opt)
11874 (bibtex-field-strings-opt):
11875 * vc/cvs-status.el (cvs-tree-merge):
11876 Fix typos.
11877
7262a87c
MA
118782011-11-23 Michael Albinus <michael.albinus@gmx.de>
11879
11880 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11881 `non-essential' to t, in order to avoid remote connections.
11882
283430a1
EZ
118832011-11-23 Eli Zaretskii <eliz@gnu.org>
11884
a1beca85
SM
11885 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11886 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11887 case-insensitively.
11888
d2992a38
ML
118892011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11890
11891 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11892
50419064
GM
118932011-11-23 Glenn Morris <rgm@gnu.org>
11894
da94eca1
GM
11895 * paths.el (rmail-file-name): Reformat the doc-string so that it
11896 is picked up.
11897
9aac4de2
GM
11898 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11899 (rmail-auto-file): Ignore case in the "special" field names,
11900 as mail-fetch-field does for all others.
11901
8038d2d2
GM
11902 * mail/rmail.el (rmail-forward):
11903 * mail/rmailkwd.el (rmail-set-label):
11904 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11905 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11906
f3fe222a
GM
11907 * mail/rmail.el (rmail-current-message): Doc fix.
11908
50419064
GM
11909 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11910
28109f49
SM
119112011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11912
11913 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11914
394c65f1
GM
119152011-11-22 Glenn Morris <rgm@gnu.org>
11916
11917 * mail/rmailmm.el (test-rmail-mime-handler)
11918 (test-rmail-mime-bulk-handler)
11919 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11920
f2a0aa3a
JL
119212011-11-21 Juri Linkov <juri@jurta.org>
11922
1154d12e
JB
11923 * calc/calc.el (calc-read-key-sequence):
11924 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11925
9c34a344
LMI
119262011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927
11928 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11929 Tell the caller that the next line needs recomputation, even
11930 though it doesn't start a sexp (bug#10094).
11931
f04a3be9
SM
119322011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11933
11934 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11935
7978747f
SM
119362011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11937
f04a3be9
SM
11938 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11939 Use force-same-window.
7978747f 11940
fe7a3057
JB
119412011-11-20 Juanma Barranquero <lekktu@gmail.com>
11942
11943 * descr-text.el (describe-char-unicode-data):
11944 * json.el (json-string-escape):
11945 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11946 (Footnote-unicode, Footnote-style-p):
11947 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11948
24901d61
CY
119492011-11-20 Chong Yidong <cyd@gnu.org>
11950
11951 * window.el (replace-buffer-in-windows): Restore interactive spec.
11952
bac7ff22
SM
119532011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11954
24f3d7b9
SM
11955 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11956
bac7ff22
SM
11957 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11958 (byte-compile-global-not-obsolete-vars): New var.
11959 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11960 Use it.
11961 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11962
cd1181db
JB
119632011-11-20 Juanma Barranquero <lekktu@gmail.com>
11964
11965 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11966 * progmodes/pascal.el (electric-pascal-equal):
11967 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11968 * xml.el (xml-substitute-special): Fix typos.
11969
7fb18e9e
GM
119702011-11-20 Glenn Morris <rgm@gnu.org>
11971
11972 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11973 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11974 Doc fixes.
11975 (rmail-decode-mime-charset): Mark as obsolete.
11976
11977 * mail/rmailsum.el (rmail-message-regexp-p-1):
11978 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11979 Before using mime functions, check they are set. (Bug#10077)
11980
d5a6b3ba
JL
119812011-11-19 Juri Linkov <juri@jurta.org>
11982
11983 * info.el (Info-finder-find-node): Use `package--builtins' instead
11984 of `package-alist'. Use node names formed by the pattern "Keyword "
11985 and the keyword name.
11986
e981b61f
AS
119872011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11988
1d00653d 11989 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11990
3ffbc301
JL
119912011-11-19 Juri Linkov <juri@jurta.org>
11992
11993 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11994 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11995 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11996 `old-history', `old-history-forward'. Add let-binding
11997 `window-selected'. Remove calls to `kill-buffer',
11998 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11999 before calling `Info-find-node', so `Info-find-node-2' will reread
12000 the Info file. Restore window positions only when `window-selected'
12001 is non-nil.
12002
30c62133
JL
120032011-11-19 Juri Linkov <juri@jurta.org>
12004
12005 * isearch.el (isearch-lazy-highlight-new-loop):
12006 Remove condition `(not isearch-error)'. (Bug#9918)
12007
12008 * misearch.el (multi-isearch-search-fun): Add condition
12009 `(not bound)' to ignore lazy-highlighting search.
12010 Add the search-failed message "end of multi" when the end of
12011 multi-sequence is reached. Uncapitalize the search-failed
12012 message "Repeat for next buffer".
12013
12014 * info.el (Info-search): Add the search-failed message
12015 "end of the manual" when the end of the manual is reached
12016 in Isearch mode.
12017
645ca9cf
JL
120182011-11-19 Juri Linkov <juri@jurta.org>
12019
12020 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12021 Use non-destructive `remove' instead of `delete' because
12022 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12023 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12024
df754f66
JL
120252011-11-19 Juri Linkov <juri@jurta.org>
12026
12027 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12028 to nil instead of binding `search-ring' and `regexp-search-ring'.
12029 (Bug#9185)
12030
0e23d96a
EZ
120312011-11-19 Eli Zaretskii <eliz@gnu.org>
12032
12033 * simple.el (line-move): Force movement by logical lines for any
12034 hscrolled window, not only when auto-hscroll-mode is on.
12035 (line-move-visual): Update doc string to that effect. (Bug#10076)
12036
8a6ccb66
AS
120372011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12038
12039 * language/european.el (macintosh): Define as alias for mac-roman.
12040
49ae5b39
EZ
120412011-11-19 Eli Zaretskii <eliz@gnu.org>
12042
12043 * mail/rmailmm.el (rmail-mime-display-header)
12044 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12045 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12046 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12047 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12048 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12049 of a raw aref.
12050 (rmail-mime-entity-segment): To get past the tagline, move forward
12051 2 more lines, to account for the 2 empty lines that precede and
12052 follow the line with the buttons.
12053 (rmail-mime-update-tagline): Move one more line, to get past the
12054 empty line that follows the buttons in the tagline. (Bug#9520)
12055
c56cad4a
MR
120562011-11-19 Martin Rudalics <rudalics@gmx.at>
12057
12058 * window.el (window-max-delta-1, window-min-delta-1)
12059 (window-min-size-1, window-state-get-1, window-state-put-1)
12060 (window-state-put-2): Use "window--" prefix.
12061
cbe71af3
SM
120622011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12063
2ad52c60
SM
12064 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12065 (smie-warning-count): New var.
12066 (smie-set-prec2tab): Use it.
12067 (smie-bnf->prec2): Improve warnings. Add docstring.
12068 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12069 (smie-bnf--set-class): New function.
12070 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12071 corner case.
12072
6944dbc1
SM
12073 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12074 (compilation-error-properties, compilation-move-to-column):
12075 Handle compilation-first-column while in the target buffer.
12076
c400c4d7
SM
12077 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12078 Don't hardcode point-min==1.
12079
6dbe3e96
SM
12080 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12081 (eshell-rewrite-for-command): Remove workaround.
12082 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12083 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12084 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12085
cbe71af3
SM
12086 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12087
a8e1496d
GM
120882011-11-17 Glenn Morris <rgm@gnu.org>
12089
12090 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12091 Ignore buffer-local generated-autoload-file if it is the same
12092 as the global value. (Bug#10049)
12093
df85d315
JB
120942011-11-17 Juanma Barranquero <lekktu@gmail.com>
12095
12096 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12097 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12098 (reftex-toc-previous-heading, reftex-toc-max-level)
12099 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12100 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12101 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12102 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12103 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12104 (reftex-toc-rename-label, reftex-toc-visit-location)
12105 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12106 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12107 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12108 leaving "*toc*" only for references to the buffer.
12109
a0c2d0ae
MR
121102011-11-17 Martin Rudalics <rudalics@gmx.at>
12111
12112 * window.el (window-resize, delete-window, split-window):
12113 Replace window-splits by window-combination-resize.
1d00653d 12114 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12115
35c0bac8
GM
121162011-11-17 Glenn Morris <rgm@gnu.org>
12117
12118 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12119 Make bash entry derive from sh entry, not shell entry.
12120
d0c8fc8a
MA
121212011-11-16 Michael Albinus <michael.albinus@gmx.de>
12122
7262a87c
MA
12123 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12124 local file name.
12125
7877f373
JB
121262011-11-16 Juanma Barranquero <lekktu@gmail.com>
12127
12128 * menu-bar.el (menu-bar-file-menu):
12129 * printing.el (pr-ps-utility):
12130 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12131 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12132 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12133 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12134 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12135 (icalendar--convert-cyclic-to-ical)
12136 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12137 (icalendar--convert-ical-to-diary)
12138 (icalendar--convert-recurring-to-diary)
12139 (icalendar--convert-non-recurring-all-day-to-diary)
12140 (icalendar-import-format-sample):
12141 * progmodes/idlw-shell.el (idlwave-shell-mode):
12142 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12143 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12144 (vhdl-ps-print-init): Fix typos.
12145
10649b82
KM
121462011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12147
9d0cfcd6
GM
12148 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12149 FSF and collapse date sequence, obscure author/maintainer email address
12150 better, remove extra version line, track relocation of author's webpage.
10649b82 12151
9d0cfcd6
GM
12152 * progmodes/python.el (python-pdbtrack-input-prompt)
12153 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12154 regular python pdb prompts. Adjustments shamelessly taken exactly as
12155 suggested in EmacsWiki page (tiny change):
12156 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12157
58179cce
JB
121582011-11-16 Juanma Barranquero <lekktu@gmail.com>
12159
12160 * expand.el (expand-pos, expand-index, expand-point):
12161 Remove redundant info from docstring.
12162 (expand-add-abbrevs): Doc fix.
12163 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12164 (expand-sample-perl-mode-expand-list): Fix typos.
12165
12166 * net/dbus.el (dbus-event-member-name):
12167 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12168 * term/pc-win.el (msdos-create-frame-with-faces):
12169 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12170
b6f67890
MR
121712011-11-16 Martin Rudalics <rudalics@gmx.at>
12172
12173 * window.el (split-window, window-state-get-1)
12174 (window-state-put-1, window-state-put-2): Rename occurrences of
12175 window-nest to window-combination-limit.
1d00653d 12176 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12177
ce7ddba0
CY
121782011-11-16 Chong Yidong <cyd@gnu.org>
12179
12180 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12181 regexp (Bug#10033).
12182
3ae704f4
SM
121832011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12186 `completing-read' will remove *Completions* and will preserve
12187 current-buffer for us.
12188 (tmm-add-prompt): Users of *Completions* will always (re)set its
12189 major mode.
12190 (tmm-old-comp-map): Remove.
12191
6ad1cdde
GM
121922011-11-16 Glenn Morris <rgm@gnu.org>
12193
12194 * mail/rmailedit.el: Require rmailmm when compiling.
12195 (rmail-old-mime-state): New declaration.
12196 (rmail-edit-current-message): If editing a mime message,
12197 edit the "raw" message from the mbox buffer.
12198 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12199
d20faa20
GM
122002011-11-15 Glenn Morris <rgm@gnu.org>
12201
12202 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12203 which wasn't being used. Add optional arg to force given state.
12204 (rmail-mime): Add optional arg to force given state.
12205
c7015153
JB
122062011-11-15 Juanma Barranquero <lekktu@gmail.com>
12207
12208 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12209 * frame.el (display-mm-dimensions-alist):
12210 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12211 (outline-move-subtree-down):
12212 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12213 (newsticker--treeview-do-get-node):
12214 * net/quickurl.el (quickurl-list-buffer-name):
12215 * progmodes/dcl-mode.el (dcl-mode):
12216 * progmodes/gdb-mi.el (gdb-mapcar*):
12217 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12218
45261b50
GM
122192011-11-15 Glenn Morris <rgm@gnu.org>
12220
12221 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12222 in a boolean sense, so just make it a boolean, and fix the doc.
12223 (rmail-show-mime-function, rmail-mime-feature)
12224 (rmail-require-mime-maybe): Doc fixes.
12225 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12226
12227 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12228
0d26e0b6
JB
122292011-11-15 Juanma Barranquero <lekktu@gmail.com>
12230
12231 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12232 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12233 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12234 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12235
447f30f6
GM
122362011-11-15 Glenn Morris <rgm@gnu.org>
12237
672b871d
GM
12238 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12239 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12240 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12241 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12242 (rmail-mime, rmail-show-mime): Doc fixes.
12243
f6aa5bb1
GM
12244 * term/ns-win.el (mode-line-frame-identification):
12245 Leave it alone. (Bug#10051)
12246
947cd66b
GM
12247 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12248
447f30f6
GM
12249 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12250 Handle empty buffers. (Bug#9978)
12251
0b381c7e
JB
122522011-11-14 Juanma Barranquero <lekktu@gmail.com>
12253
12254 * international/mule.el (define-charset):
12255 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12256 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12257 * progmodes/verilog-mode.el (verilog-backward-token):
12258 * textmodes/ispell.el (lookup-words):
12259 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12260
71e027ac
GM
122612011-11-14 Glenn Morris <rgm@gnu.org>
12262
56632ce4
GM
12263 * progmodes/executable.el
12264 (executable-make-buffer-file-executable-if-script-p):
12265 Handle file-modes returning nil.
12266
40500957
GM
12267 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12268 message - not necessary, and causes problems. (Bug#9831)
12269
071c2340
GM
12270 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12271
d3cfca60
GM
12272 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12273
71e027ac
GM
12274 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12275 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12276 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12277
89d61221
MR
122782011-11-12 Martin Rudalics <rudalics@gmx.at>
12279
12280 * window.el (window-resize, delete-window): Use window-splits
12281 variable instead of function.
12282 (window-state-get-1, window-state-put-2, window-state-put):
12283 Don't deal with windows' splits status.
12284
98282f6f
GM
122852011-11-12 Glenn Morris <rgm@gnu.org>
12286
12287 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12288 (apropos-documentation): Doc fixes.
12289
40a8bdf6
JB
122902011-11-11 Juanma Barranquero <lekktu@gmail.com>
12291
12292 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12293 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12294
65bd19ff
SM
122952011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * electric.el (electric-indent-post-self-insert-function): Make it
12298 possible for a char to only indent in some circumstances.
12299 (electric-indent-mode): Simplify.
12300
54f9154c
MR
123012011-11-11 Martin Rudalics <rudalics@gmx.at>
12302
12303 * window.el (windows-with-parameter): Remove unused function.
12304 (windows-at-side): Rename to window-at-side-list.
12305 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12306 (window-side-check, window-size-ignore, window-size-fixed-1)
12307 (window-in-direction-2): Prefix with "window--".
12308 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12309
68cbc58b
GM
123102011-11-11 Glenn Morris <rgm@gnu.org>
12311
12312 * subr.el (eval-after-load): If FILE is already loaded,
12313 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12314
b2621720
GM
123152011-11-10 Glenn Morris <rgm@gnu.org>
12316
9a4de110
GM
12317 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12318 Call svn via vc-svn-command rather than vc-do-command.
12319 (vc-svn-command): Add --non-interactive. (Bug#9993)
12320 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12321
b2621720
GM
12322 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12323 Add toggle-read-only. (Bug#7292)
12324 * files.el (toggle-read-only): Mention that it should only
12325 be used interactively. (Bug#10006)
12326
1dce7193
SM
123272011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12328
d9ac1a1e
SM
12329 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12330 Adjust regexp for OCaml warnings.
12331
0c325082
SM
12332 * electric.el (electric-pair-post-self-insert-function): Let user
12333 turn it off buffer-locally (bug#9932).
12334
90132c14
SM
12335 * progmodes/python.el (python-beginning-of-statement):
12336 Rewrite (bug#2703).
12337
1dce7193
SM
12338 * progmodes/compile.el: Better handle TABs (bug#9749).
12339 (compilation-internal-error-properties)
12340 (compilation-next-error-function): Obey the target buffer's
12341 compilation-error-screen-columns.
12342
c4e7c63a
JB
123432011-11-09 Juanma Barranquero <lekktu@gmail.com>
12344
12345 * progmodes/meta-mode.el: Remove obsolete comments.
12346 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12347 Fix typos in docstrings.
12348
2cffd681
MR
123492011-11-09 Martin Rudalics <rudalics@gmx.at>
12350
12351 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12352 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12353 (window--resizable): New function. Make all callers of
12354 window-resizable call window--resizable instead.
12355 (window-resizable): Rewrite in terms of window--resizable.
12356
0edcba87
GM
123572011-11-08 Glenn Morris <rgm@gnu.org>
12358
12359 * progmodes/delphi.el (delphi-mode-syntax-table):
12360 Let define-derived-mode define a proper syntax table. (Bug#9994)
12361
4b0d61e3
SM
123622011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12363
12364 * window.el: Stay away from defsubst.
12365 (window-list-no-nils): Remove.
12366 (window-state-get-1, window-state-get): Use backquote instead.
12367
cd394be1 123682011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12369
4b0d61e3 12370 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12371 Fix incorrect use of default argument in `completing-read'.
12372
e1c2c6f2
MR
123732011-11-08 Martin Rudalics <rudalics@gmx.at>
12374
12375 * window.el (display-buffer-function, special-display-function):
12376 Mention display-buffer-record-window but do not mention
12377 help-setup parameter in doc-strings.
b3f4a882 12378 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12379
105216ed
CY
123802011-11-08 Chong Yidong <cyd@gnu.org>
12381
12382 * window.el (window-total-height, window-total-width): Doc fix.
12383 (window-body-size): Move from C.
12384 (window-body-height, window-body-width): Move to C.
12385
0a9f9ab5
SM
123862011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * window.el: Make special-display like display-buffer-alist (bug#9532).
12389 (display-buffer--special-action): New function, morphed
12390 from display-buffer--special.
12391 (display-buffer): Use it to handle special-display-buffers at higher
12392 priority (just after display-buffer-alist).
12393 (display-buffer-fallback-action, display-buffer--other-frame-action)
12394 (pop-to-buffer-same-window): Remove display-buffer--special.
12395
a769dd15
GM
123962011-11-07 Glenn Morris <rgm@gnu.org>
12397
12398 * calendar/cal-menu.el (cal-menu-set-date-title):
12399 Do nothing if not in a calendar. (Bug#9976)
12400
05a61ee3
SM
124012011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12402
12403 * files.el (find-file): Always use selected-window.
12404
be7f5545
MR
124052011-11-07 Martin Rudalics <rudalics@gmx.at>
12406
12407 * window.el (window-combinations): Make WINDOW argument
12408 mandatory. Rewrite doc-string.
12409 (walk-window-subtree, window-atom-check, window-min-delta)
12410 (window-max-delta, window--resize-this-window)
12411 (window--resize-root-window-vertically, window-tree)
12412 (balance-windows, window-state-put): Rewrite doc-strings as to
12413 not mention the term "subwindow".
12414 (window--resize-subwindows-skip-p): Rename to
12415 window--resize-child-windows-skip-p.
12416 (window--resize-subwindows-normal): Rename to
12417 window--resize-child-windows-normal.
12418 (window--resize-subwindows): Rename to
12419 window--resize-child-windows.
12420 (window-or-subwindow-p): Rename to window--in-subtree-p.
12421
3c6702ef
ML
124222011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12423
12424 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12425 Ensure that mbox format messages end in two newlines (Bug#9974).
12426
49745b39
CY
124272011-11-06 Chong Yidong <cyd@gnu.org>
12428
12429 * window.el (window-combination-p): Function deleted; its
12430 side-effect is not used in any existing code.
12431 (window-combinations, window-combined-p): Call window-*-child
12432 directly.
12433
24300f5f
CY
124342011-11-05 Chong Yidong <cyd@gnu.org>
12435
12436 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12437 (window-size-ignore, window-state-get): Callers changed.
12438 (window-normalize-window): Rename from window-normalize-any-window.
12439 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12440 (window-normalize-live-window): Delete.
447f16b8
CY
12441 (window-combination-p, window-combined-p, window-combinations)
12442 (walk-window-subtree, window-atom-root, window-min-size)
12443 (window-sizable, window-sizable-p, window-size-fixed-p)
12444 (window-min-delta, window-max-delta, window-resizable)
12445 (window-resizable-p, window-full-height-p, window-full-width-p)
12446 (window-current-scroll-bars, window-point-1, set-window-point-1)
12447 (window-at-side-p, window-in-direction, window-resize)
12448 (adjust-window-trailing-edge, maximize-window, minimize-window)
12449 (window-deletable-p, delete-window, delete-other-windows)
12450 (record-window-buffer, unrecord-window-buffer)
12451 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12452 (quit-window, split-window, window-state-put)
12453 (set-window-text-height, fit-window-to-buffer)
12454 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12455
89bd5ee1
EZ
124562011-11-04 Eli Zaretskii <eliz@gnu.org>
12457
53479029
EZ
12458 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12459 rfc2047-decode-string.
12460 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12461 warnings.
12462
89bd5ee1
EZ
12463 * window.el (window-body-height, window-body-width): Mention in
12464 the doc string that the return values are in frame's canonical
12465 units. (Bug#9949)
12466
bd17fdee
AM
124672011-11-03 Alan Mackenzie <acm@muc.de>
12468
12469 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12470 change in cc-engine.el.
12471
acc825c5
SM
124722011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12473
12474 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12475
1885e5b8
MR
124762011-11-02 Martin Rudalics <rudalics@gmx.at>
12477
12478 * window.el (quit-window): Call unrecord-window-buffer after
12479 showing another buffer in the window. (Bug#9937)
acc825c5 12480 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12481
ebe06da9
JB
124822011-11-02 Juanma Barranquero <lekktu@gmail.com>
12483
12484 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12485 Accept status with more than 9 shelves. (Bug#9935)
12486 Reported by Colin D Bennett <colin@gibibit.com>.
12487
4ee88440
MR
124882011-11-01 Martin Rudalics <rudalics@gmx.at>
12489
12490 * help.el (with-help-window): Don't reference
12491 temp-buffer-show-specifiers in doc-string.
12492
08e1d82c
AS
124932011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12494
12495 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12496 menu-item.
12497
84bd6e9e
VJL
124982011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12499
12500 * whitespace.el: New version 13.2.2.
12501 (whitespace-newline-mode): Disable properly. Reported by Sarah
12502 <EmacsWiki>.
12503
dba0634a
UJ
125042011-10-30 Ulf Jasper <ulf.jasper@web.de>
12505
12506 * net/newst-treeview.el: Remove "Time-stamp".
12507 (newsticker--group-manage-orphan-feeds): Do not call
12508 newsticker--treeview-tree-update.
db22a3c2
JB
12509 (newsticker-treeview-update, newsticker-treeview):
12510 Call newsticker--treeview-tree-update if necessary.
dba0634a 12511
3d8daefe
MR
125122011-10-30 Martin Rudalics <rudalics@gmx.at>
12513
12514 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12515 (window-iso-combinations): Remove "iso-" infix.
12516 Suggested by Chong Yidong.
3d8daefe
MR
12517 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12518 (window-max-delta-1, window-resize, window--resize-siblings)
12519 (window--resize-this-window, adjust-window-trailing-edge)
12520 (split-window, balance-windows-1)
12521 (shrink-window-if-larger-than-buffer):
12522 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12523 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12524
1bc4c3ae
SM
125252011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12528 in place (bug#9907).
12529 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12530 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12531 (eshell-structure-basic-command, eshell-rewrite-while-command)
12532 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12533 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12534 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12535 (eshell-do-pipelines-synchronously, eshell-eval-command):
12536 Use backquotes and prefer setq to set.
12537 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12538 (eshell-macrop): Use functionp.
c1e2f5fa 12539 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12540
30b65d9c
CY
125412011-10-30 Chong Yidong <cyd@gnu.org>
12542
12543 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12544 instead of set-mark (Bug#9810).
12545
2d197ffb
CY
125462011-10-30 Chong Yidong <cyd@gnu.org>
12547
12548 * window.el (split-window-below, split-window-right): Rename from
12549 split-window-above-each-other and split-window-side-by-side
12550 respectively. All callers changed.
12551 (split-window-sensibly, split-window-sensibly): Use them.
12552 (split-window-keep-point): Doc fix.
12553
12554 * isearch.el: Add isearch-scroll property to split-window-below
12555 and split-window-right.
12556
12557 * follow.el (follow-mode):
12558 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12559 * progmodes/ada-xref.el (ada-gdb-application):
12560 * emulation/vip.el (vip-buffer-in-two-windows):
12561 * image-dired.el (image-dired-dired-with-window-configuration):
12562 * dired-x.el (dired-do-find-marked-files):
12563 * dired.el (dired-pop-to-buffer):
12564 * bs.el (bs--show-with-configuration):
12565 * vc/emerge.el (emerge-setup-windows):
12566 * textmodes/two-column.el (2C-two-columns):
12567 * textmodes/reftex-toc.el (reftex-toc):
12568 * progmodes/gdb-mi.el (gdb-setup-windows):
12569 * progmodes/fortran.el (fortran-window-create):
12570 * net/newst-treeview.el (newsticker--treeview-window-init):
12571 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12572 * emulation/tpu-edt.el (tpu-gold-map):
12573 * emulation/crisp.el (crisp-mode-map):
12574 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12575
38bb2ca8
CY
125762011-10-29 Chong Yidong <cyd@gnu.org>
12577
aa4de341
CY
12578 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12579
e1eb5385
CY
12580 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12581
5d2ece3c
CY
12582 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12583 forged Ispell output (Bug#7904).
12584
38bb2ca8
CY
12585 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12586
d0af9f77
SM
125872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12588
12589 * doc-view.el: Avoid ugly errors about not finding nil.
12590 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12591 (doc-view-dvipdf-program, doc-view-unoconv-program)
12592 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12593 Avoid nil or absolute file name as default value.
12594 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12595
52bedd34
AM
125962011-10-28 Alan Mackenzie <acm@muc.de>
12597
db22a3c2 12598 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12599
7e43cfa5
AM
126002011-10-28 Alan Mackenzie <acm@muc.de>
12601
12602 Amend the handling of c-beginning/end-of-defun in nested declaration
12603 scopes.
12604
52bedd34
AM
12605 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12606 cc-langs.el. Change it to a defcustom.
7e43cfa5 12607
52bedd34
AM
12608 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12609 cc-vars.el.
7e43cfa5 12610
d0af9f77
SM
12611 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12612 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12613
52bedd34 12614 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12615 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12616 (c-widen-to-enclosing-decl-scope): New function.
12617 (c-while-widening-to-decl-block): New macro.
12618 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12619 outward for defun boundaries, and correspondingly change symbol
12620 `respect-enclosure' to `go-outward'.
12621 (c-declaration-limits): Change algorithm to report only the "innermost"
12622 defun's boundaries.
12623
1a2ce9ee
DD
126242011-10-28 Deniz Dogan <deniz@dogan.se>
12625
12626 * net/rcirc.el (rcirc-mode): Use hard newlines.
12627
bc97a826
AM
126282011-10-28 Alan Mackenzie <acm@muc.de>
12629
12630 Amend to indent and fontify macros "which include their own semicolon"
12631 correctly, using the "virtual semicolon" mechanism.
12632
52bedd34 12633 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12634
d0af9f77 12635 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12636 Recode to scan one line at a time rather than having \n and \r
58179cce 12637 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12638 (c-forward-label): Amend for virtual semicolons.
58179cce 12639 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12640
52bedd34
AM
12641 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12642 of the new C macros.
bc97a826 12643
52bedd34 12644 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12645 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12646 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12647 (c-opt-cpp-macro-define): Make into a full language variable.
12648 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12649 AWK Mode (including \n, \r) removed, no longer needed.
12650
d0af9f77
SM
12651 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12652 Invoke c-make-macro-with-semi-re.
bc97a826 12653
52bedd34
AM
12654 * progmodes/cc-vars.el (c-macro-with-semi-re):
12655 (c-macro-names-with-semicolon): New variables.
58179cce 12656 (c-make-macro-with-semi-re): New function.
bc97a826 12657
7a6c0941
SM
126582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * vc/log-edit.el: Fill empty field rather than adding new one.
12661 (log-edit-add-field): New function.
12662 (log-edit-insert-changelog): Use it.
12663
b0c4cdcf
ML
126642011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12665
12666 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12667
ee1f1da9
SM
126682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12669
12670 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12671 (gdb--check-interpreter): New function.
12672 (gdb): Use it.
12673
51bc5f8b
GM
126742011-10-27 Glenn Morris <rgm@gnu.org>
12675
416a2c45
GM
12676 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12677 (least-positive-float, least-negative-float)
12678 (least-positive-normalized-float, least-negative-normalized-float)
12679 (float-epsilon, float-negative-epsilon):
12680 Remove unnecessary declarations.
12681
12682 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12683 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12684 (least-positive-float, least-negative-float)
12685 (least-positive-normalized-float, least-negative-normalized-float)
12686 (float-epsilon, float-negative-epsilon): Add doc-strings,
12687 based on those in cl.texi.
12688
51bc5f8b
GM
12689 * files.el (set-visited-file-name): If the major-mode changed,
12690 reload the local variables. (Bug#9796)
12691
15de15c6
CY
126922011-10-27 Chong Yidong <cyd@gnu.org>
12693
12694 * subr.el (change-major-mode-after-body-hook): New hook.
12695 (run-mode-hooks): Run it.
12696
ee1f1da9
SM
12697 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12698 Use change-major-mode-before-body-hook.
15de15c6
CY
12699
12700 * simple.el (fundamental-mode):
12701 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12702 change introducing fundamental-mode-hook.
12703
5430d399
JB
127042011-10-26 Juanma Barranquero <lekktu@gmail.com>
12705
acc825c5 12706 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12707
ad74a69e
MA
127082011-10-26 Michael Albinus <michael.albinus@gmx.de>
12709
12710 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12711 tramp.el explicitly. (Bug#7583)
ad74a69e 12712
71d4c2a5
SM
127132011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * progmodes/octave-mod.el:
12716 * progmodes/octave-inf.el: Update maintainer.
12717
b1f6fa26
CY
127182011-10-26 Chong Yidong <cyd@gnu.org>
12719
12720 * subr.el (with-wrapper-hook): Rewrite doc.
12721
3f04efd6
MA
127222011-10-25 Michael Albinus <michael.albinus@gmx.de>
12723
12724 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12725 filenames "/method:foo:". (Bug#9793)
3f04efd6 12726
410488d3
SM
127272011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12728
12729 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12730 (bug#9865).
12731
c1ebb47e
GM
127322011-10-24 Glenn Morris <rgm@gnu.org>
12733
12734 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12735
7f5c46c7
MA
127362011-10-24 Michael Albinus <michael.albinus@gmx.de>
12737
12738 * notifications.el: Add the requirement of a running D-Bus session
12739 bus to the Commentary.
12740
db2440b6
JL
127412011-10-24 Juri Linkov <juri@jurta.org>
12742
12743 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12744 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12745 (Bug#9364)
12746
feecf435
JL
127472011-10-24 Juri Linkov <juri@jurta.org>
12748
12749 * info.el (Info-following-node-name-re): Add newline to the list
12750 of allowed characters for leading space. (Bug#9824)
12751
a3839de2
SM
127522011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12753
acc825c5
SM
12754 * progmodes/octave-inf.el (inferior-octave-mode-map):
12755 Fix C-c C-h binding.
a3839de2
SM
12756 * progmodes/octave-mod.el (octave-help): Remove.
12757
09388e76
MA
127582011-10-23 Michael Albinus <michael.albinus@gmx.de>
12759
12760 Sync with Tramp 2.2.3.
12761
12762 * net/tramp-cache.el (top): Pacify byte-compiler using
12763 `init-file-user' and `site-run-file'.
12764
12765 * net/trampver.el: Update release number.
12766
86c60681
CY
127672011-10-23 Chong Yidong <cyd@gnu.org>
12768
12769 * files.el (toggle-read-only): Remove obsolete comment about
12770 version control.
12771
12772 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12773 for toggle-read-only. Note that this hasn't called vc-next-action
12774 since 2008-05-02, though it wasn't documented at the time.
12775
a3839de2
SM
12776 * vc/ediff-init.el (ediff-toggle-read-only-function):
12777 Use toggle-read-only.
86c60681 12778
cd5495ff
AM
127792011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12780
12781 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12782 of c-parse-state.
12783
00b77525 12784 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12785 correct faulty logical expression.
cd5495ff
AM
12786 (c-parse-state-state, c-record-parse-state-state):
12787 (c-replay-parse-state-state): New defvar/defuns.
12788 (c-debug-parse-state): Use new functions.
12789
42ee24ed
MR
127902011-10-22 Martin Rudalics <rudalics@gmx.at>
12791
12792 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12793 last fix. Use window-in-direction correctly.
42ee24ed 12794
a7dee7e7
CY
127952011-10-21 Chong Yidong <cyd@gnu.org>
12796
12797 * progmodes/idlwave.el (idlwave-mode):
12798 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12799 require-final-newline; that's done in prog-mode.
12800 Suggested by Stefan Monnier.
a7dee7e7 12801
e07b9a6d
MR
128022011-10-21 Martin Rudalics <rudalics@gmx.at>
12803
12804 * mouse.el (mouse-drag-window-above)
12805 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12806 (mouse-drag-mode-line-1, mouse-drag-header-line)
12807 (mouse-drag-vertical-line-rightward-window): Remove.
12808 (mouse-drag-line): New function.
12809 (mouse-drag-mode-line, mouse-drag-header-line)
12810 (mouse-drag-vertical-line): Call mouse-drag-line.
12811 * window.el (window-at-side-p, windows-at-side): New functions.
12812
7e1361d9
UM
128132011-10-21 Ulrich Mueller <ulm@gentoo.org>
12814
12815 * tar-mode.el (tar-grind-file-mode):
12816 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12817
30fcaf3a
CY
128182011-10-21 Chong Yidong <cyd@gnu.org>
12819
12820 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12821 * progmodes/vera-mode.el (vera-mode):
12822 Use mode-require-final-newline.
30fcaf3a 12823
516eddb0
GM
128242011-10-20 Glenn Morris <rgm@gnu.org>
12825
db22a3c2 12826 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12827
10d5f513
CS
128282011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12829
12830 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12831
ac6c8639
CY
128322011-10-20 Chong Yidong <cyd@gnu.org>
12833
12834 * emulation/cua-base.el (cua-mode):
12835 * mail/footnote.el (footnote-mode):
12836 * mail/mailabbrev.el (mail-abbrevs-mode):
12837 * net/xesam.el (xesam-minor-mode):
12838 * progmodes/bug-reference.el (bug-reference-mode):
12839 * progmodes/cap-words.el (capitalized-words-mode):
12840 * progmodes/compile.el (compilation-minor-mode)
12841 (compilation-shell-minor-mode):
12842 * progmodes/gud.el (gud-tooltip-mode):
12843 * progmodes/hideif.el (hide-ifdef-mode):
12844 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12845 * progmodes/subword.el (subword-mode):
12846 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12847 * progmodes/which-func.el (which-function-mode):
12848 * term/tvi970.el (tvi970-set-keypad-mode):
12849 * term/vt100.el (vt100-wide-mode):
12850 * textmodes/flyspell.el (flyspell-mode):
12851 * textmodes/ispell.el (ispell-minor-mode):
12852 * textmodes/nroff-mode.el (nroff-electric-mode):
12853 * textmodes/paragraphs.el (use-hard-newlines):
12854 * textmodes/refill.el (refill-mode):
12855 * textmodes/reftex.el (reftex-mode):
12856 * textmodes/rst.el (rst-minor-mode):
12857 * textmodes/sgml-mode.el (html-autoview-mode)
12858 (sgml-electric-tag-pair-mode):
12859 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12860 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12861 * emulation/crisp.el (crisp-mode):
12862 * emacs-lisp/eldoc.el (eldoc-mode):
12863 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12864 minor mode behavior.
12865
aa42ab43
JL
128662011-10-19 Juri Linkov <juri@jurta.org>
12867
12868 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12869 the list of hard-coded chars with escape-glyph face.
12870
89400f1d
SM
128712011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12874
305c07f6
MA
128752011-10-19 Michael Albinus <michael.albinus@gmx.de>
12876
12877 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12878 running process.
12879
13754b54
GM
128802011-10-19 Glenn Morris <rgm@gnu.org>
12881
12882 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12883 Ignore ignored files. (Bug#9726)
12884
06e21633
CY
128852011-10-19 Chong Yidong <cyd@gnu.org>
12886
12887 Doc fix for minor modes, stating that an omitted argument enables
12888 the mode unconditionally when called from Lisp.
12889
12890 * abbrev.el (abbrev-mode):
12891 * allout.el (allout-mode):
12892 * autoinsert.el (auto-insert-mode):
12893 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12894 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12895 (global-auto-revert-mode):
12896 * battery.el (display-battery-mode):
12897 * composite.el (global-auto-composition-mode)
12898 (auto-composition-mode):
12899 * delsel.el (delete-selection-mode):
12900 * desktop.el (desktop-save-mode):
12901 * dired-x.el (dired-omit-mode):
12902 * dirtrack.el (dirtrack-mode):
12903 * doc-view.el (doc-view-minor-mode):
12904 * double.el (double-mode):
12905 * electric.el (electric-indent-mode, electric-pair-mode):
12906 * emacs-lock.el (emacs-lock-mode):
12907 * epa-hook.el (auto-encryption-mode):
12908 * follow.el (follow-mode):
12909 * font-core.el (font-lock-mode):
12910 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12911 * help.el (temp-buffer-resize-mode):
12912 * hilit-chg.el (highlight-changes-mode)
12913 (highlight-changes-visible-mode):
12914 * hi-lock.el (hi-lock-mode):
12915 * hl-line.el (hl-line-mode, global-hl-line-mode):
12916 * icomplete.el (icomplete-mode):
12917 * ido.el (ido-everywhere):
12918 * image-file.el (auto-image-file-mode):
12919 * image-mode.el (image-minor-mode):
12920 * iswitchb.el (iswitchb-mode):
12921 * jka-cmpr-hook.el (auto-compression-mode):
12922 * linum.el (linum-mode):
12923 * longlines.el (longlines-mode):
12924 * master.el (master-mode):
12925 * mb-depth.el (minibuffer-depth-indicate-mode):
12926 * menu-bar.el (menu-bar-mode):
12927 * minibuf-eldef.el (minibuffer-electric-default-mode):
12928 * mouse-sel.el (mouse-sel-mode):
12929 * msb.el (msb-mode):
12930 * mwheel.el (mouse-wheel-mode):
12931 * outline.el (outline-minor-mode):
12932 * paren.el (show-paren-mode):
12933 * recentf.el (recentf-mode):
12934 * reveal.el (reveal-mode, global-reveal-mode):
12935 * rfn-eshadow.el (file-name-shadow-mode):
12936 * ruler-mode.el (ruler-mode):
12937 * savehist.el (savehist-mode):
12938 * scroll-all.el (scroll-all-mode):
12939 * scroll-bar.el (scroll-bar-mode):
12940 * server.el (server-mode):
12941 * shell.el (shell-dirtrack-mode):
12942 * simple.el (auto-fill-mode, transient-mark-mode)
12943 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12944 (line-number-mode, column-number-mode, size-indication-mode)
12945 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12946 * strokes.el (strokes-mode):
12947 * time.el (display-time-mode):
12948 * t-mouse.el (gpm-mouse-mode):
12949 * tool-bar.el (tool-bar-mode):
12950 * tooltip.el (tooltip-mode):
12951 * type-break.el (type-break-mode-line-message-mode)
12952 (type-break-query-mode):
12953 * view.el (view-mode):
12954 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12955 (global-whitespace-mode, global-whitespace-newline-mode):
12956 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12957
a3839de2
SM
12958 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12959 Fix autogenerated docstring.
06e21633 12960
5214e501
JL
129612011-10-19 Juri Linkov <juri@jurta.org>
12962
12963 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12964 by checking environment variables "DESKTOP_SESSION" and
12965 "XDG_CURRENT_DESKTOP". (Bug#9779)
12966
195f8db9
JL
129672011-10-19 Juri Linkov <juri@jurta.org>
12968
12969 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12970 (browse-url-chromium-program, browse-url-chromium-arguments):
12971 New defcustoms.
12972 (browse-url-default-browser): Check for `browse-url-chromium' and
12973 call `browse-url-chromium-program'.
12974 (browse-url-chromium): New command. (Bug#9779)
12975
343a34ff
JB
129762011-10-18 Juanma Barranquero <lekktu@gmail.com>
12977
12978 * facemenu.el (list-colors-duplicates): On Windows, detect more
12979 duplicates by assuming that only colors matching "^System" are
12980 special "system colors". (Bug#9722)
12981
6978a151
SM
129822011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12985 to distinguish the author from the committer.
12986
6a80b297
MA
129872011-10-18 Michael Albinus <michael.albinus@gmx.de>
12988
12989 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12990
b31a5677
JK
129912011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12992
12993 * international/mule.el (sgml-html-meta-auto-coding-function):
12994 Add support for detecting encoding in HTML5 specified only as
12995 <meta charset="UTF-8">. Implementation just makes http-equiv and
12996 content-type parts from HTML4 encoding string optional. (Bug#9716)
12997
80c6d77f
GM
129982011-10-18 Glenn Morris <rgm@gnu.org>
12999
13000 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13001
08b0fee8
CY
130022011-10-18 Chong Yidong <cyd@gnu.org>
13003
13004 * faces.el (cursor): Doc fix.
13005
67e729a5
CY
130062011-10-17 Chong Yidong <cyd@gnu.org>
13007
13008 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13009
343a34ff 130102011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13011
13012 * dirtrack.el (dirtrack): Support shell buffers with path
13013 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13014
0bc06380
TZ
130152011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13016
13017 * json.el: Bump version to 1.3 and note change in History.
13018 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13019
8b79f3e0
SM
130202011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13021
5a7c536b
SM
13022 * comint.el (comint-insert-input, comint-send-input)
13023 (comint-get-old-input-default, comint-backward-matching-input)
13024 (comint-next-prompt): Use nil instead of `input' for field property of
13025 past user input (bug#114).
13026
96a8a0df
SM
13027 * minibuffer.el (completion--replace): Inherit surrounding properties
13028 (bug#114).
13029 (minibuffer-complete-and-exit): Use it.
13030
8b79f3e0
SM
13031 * comint.el (comint--table-subvert): Quote the all-completions output
13032 (bug#9160).
13033
b8f7ff0d
MR
130342011-10-17 Martin Rudalics <rudalics@gmx.at>
13035
8b79f3e0 13036 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13037
b8f7ff0d 13038 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13039 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13040 entries and separate them from frame entries.
13041
c235b555
GM
130422011-10-15 Glenn Morris <rgm@gnu.org>
13043
13044 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13045 Doc fixes.
13046
6bbfa6e1
CY
130472011-10-15 Chong Yidong <cyd@stupidchicken.com>
13048
8b79f3e0
SM
13049 * net/network-stream.el (network-stream-open-starttls):
13050 Improve detection of failure due to lack of TLS support.
ec5c990d 13051
6bbfa6e1
CY
13052 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13053 putting the input text in front and in bold.
13054
98488977
SM
130552011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13056
3d1337be
SM
13057 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13058
ee0b45e4
SM
13059 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13060 empty buffer.
13061
98488977
SM
13062 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13063 unread-command-events rather than pushing yet-another event.
13064
186f4720
EZ
130652011-10-14 Eli Zaretskii <eliz@gnu.org>
13066
13067 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13068 the explanation of the possible choices. Make the options passed
13069 to completing-read shorter.
13070
8b7a997c
AM
130712011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13072
13073 * textmodes/flyspell.el (flyspell-large-region): Make sure
13074 extended character mode is used if defined (Bug#1339).
13075
12587bbb
EZ
130762011-10-13 Eli Zaretskii <eliz@gnu.org>
13077
13078 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13079 character info for LRE, LRO, RLE, and RLO characters by appending
13080 an invisible PDF.
12587bbb 13081
bad41229
SM
130822011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13083
13084 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13085 even in case of error; add debug spec; simplify data flow.
13086 (with-timeout-handler): Remove.
13087
28dbc92f
MA
130882011-10-12 Michael Albinus <michael.albinus@gmx.de>
13089
13090 Fix Bug#6019, Bug#9315.
13091
13092 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13093 complete `buffer-file-name', the local file name part could look
13094 remotely (for example on VMS).
13095
13096 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13097 `tramp-run-real-handler'.
13098 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13099 already quoted by '"'.
13100
13101 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13102 Let `file-name-handler-alist' be nil, the local file name part
13103 could look remotely (for example on VMS).
13104
e1b0b23a
SM
131052011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13108 from here...
13109 (flyspell-post-command-hook): ...to here.
13110
a120bde9
SM
131112011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13114 if not needed.
13115 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13116 using completion. Protect against "slow" callers.
13117 Remove the "message hack".
13118
7ce7717b
JL
131192011-10-11 Juri Linkov <juri@jurta.org>
13120
13121 * isearch.el (isearch-lazy-highlight-word): New variable.
13122 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13123 Use it. (Bug#9727)
13124
c02ee9d6
GM
131252011-10-11 Glenn Morris <rgm@gnu.org>
13126
13127 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13128 like f90-previous-statement does.
13129
93e616fd 131302011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13131
1f190e73 13132 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13133 only in interactive use, to avoid error.
13134
af7b6078
SM
131352011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * minibuffer.el (completion-file-name-table): Fix last change,
13138 i.e. ignore normal errors but not the other ones.
13139
0563dae9
MR
131402011-10-10 Martin Rudalics <rudalics@gmx.at>
13141
13142 * window.el (special-display-buffer-names)
13143 (special-display-regexps): Remove some remnants of earlier
13144 changes from doc-strings.
366ca7f3
MR
13145 (quit-windows-on): New function.
13146
13147 * vc/vc.el (vc-revert, vc-rollback):
13148 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13149 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13150 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13151
49677495
MR
131522011-10-09 Martin Rudalics <rudalics@gmx.at>
13153
13154 * window.el (frame-auto-hide-function): Add version tag.
13155 (Bug#9699)
13156
56f2d1e1
MA
131572011-10-09 Michael Albinus <michael.albinus@gmx.de>
13158
13159 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13160 condition.
13161
112a6592
LL
131622011-10-09 Leo Liu <sdl.web@gmail.com>
13163
13164 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13165 (Bug#9701)
13166
0812589b
GM
131672011-10-08 Glenn Morris <rgm@gnu.org>
13168
13169 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13170 before the first code statement zero indent. (Bug#9690)
13171
b2b0776e
CY
131722011-10-08 Chong Yidong <cyd@stupidchicken.com>
13173
13174 * simple.el (count-words-region): Always count in the region.
13175 Report the number of lines and characters too.
13176 (count-words): New command, which counts in the buffer if the
13177 region is inactive, as count-words-region used to.
13178 (count-words--message): New function. Handle plurals.
13179 (count-lines-region): Make it an alias for count-words-region.
13180
13181 * bindings.el (esc-map): Replace count-lines-region with
13182 count-words-region.
13183
c557cd6b
MR
131842011-10-08 Martin Rudalics <rudalics@gmx.at>
13185
13186 * window.el (window--delete): Delete dedicated frame
13187 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13188 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13189
61a57ef4 131902011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13191
3a7d293b 13192 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13193
c3833279
CY
131942011-10-07 Chong Yidong <cyd@stupidchicken.com>
13195
13196 * bindings.el ([M-left],[M-right]): Bind to left-word and
13197 right-word respectively.
13198
21ce8245
GM
131992011-10-07 Glenn Morris <rgm@gnu.org>
13200
13201 * cus-start.el (debug-on-quit): Fix custom type.
13202
6d823bb2
LMI
132032011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13204
0181e193
LMI
13205 * subr.el (define-key-after): Clarify that the function is not
13206 useful for non-menu keymaps.
13207
6d823bb2
LMI
13208 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13209
8e3459ce 132102011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13211
21ce8245 13212 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13213 in current minibuffer (Fix bug with recursive minibuffers).
13214
a1c2d21e
CY
132152011-10-06 Chong Yidong <cyd@stupidchicken.com>
13216
13217 * progmodes/gdb-mi.el (gdb): Doc fix.
13218
5a4cf282
MR
132192011-10-05 Martin Rudalics <rudalics@gmx.at>
13220
13221 * window.el (frame-auto-hide-function): New option replacing
13222 frame-auto-delete. Suggested by Stefan Monnier.
13223 (window--delete): Call frame-auto-hide-function instead of
13224 investigating frame-auto-delete.
c96111ea
MR
13225 (window-point-1, set-window-point-1): New functions.
13226 (window-in-direction, record-window-buffer, window-state-get-1)
13227 (display-buffer-record-window): Use window-point-1 instead of
13228 window-point.
13229 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13230
9854542e
SM
132312011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13232
13233 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13234
8943cfb0
GM
132352011-10-05 Glenn Morris <rgm@gnu.org>
13236
13237 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13238 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13239
647ab967
LL
132402011-10-05 Leo Liu <sdl.web@gmail.com>
13241
13242 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13243 works with buffer object.
13244
3ddfbced
SM
132452011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * mpc.el (mpc-tool-bar-map): Add labels.
13248
bdfa5dd2
GM
132492011-10-04 Glenn Morris <rgm@gnu.org>
13250
13251 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13252
0e2070b5
MR
132532011-10-04 Martin Rudalics <rudalics@gmx.at>
13254
13255 * window.el (window--delete): New function.
13256 (frame-auto-delete): Resuscitate option.
13257 (bury-buffer, replace-buffer-in-windows)
13258 (quit-window): Rewrite using window--delete.
13259 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13260 Pass display-buffer-mark-dedicated to window--display-buffer-2
13261 (Bug#9639).
13262
3dc61a09
SM
132632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13264
915a9b64
SM
13265 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13266 returns a list (bug#9554). Add remote file name completion.
13267 * comint.el (comint--table-subvert): Curry and get quote&unquote
13268 functions as arguments.
13269 (comint--complete-file-name-data): Adjust call accordingly.
13270 * pcomplete.el (pcomplete--table-subvert): Remove.
13271 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13272
3dc61a09
SM
13273 * minibuffer.el (completion-table-case-fold): Use currying.
13274 (completion--styles-type, completion--cycling-threshold-type):
13275 New constants.
13276 (completion-styles, completion-category-overrides)
13277 (completion-cycle-threshold): Use them.
13278 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13279 completion-table-case-fold.
13280
8ea0a993
SB
132812011-10-03 Stephen Berman <stephen.berman@gmx.net>
13282
13283 * minibuffer.el (completion-category-overrides): Fix type of styles
13284 and add more user friendly tags (bug#9660).
13285
8c24b7f6
SM
132862011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13289 (mule-input-method-string): New widget.
13290 (default-input-method, language-info-custom-alist): Use it.
13291
428fe61a
SM
132922011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13293
32c1fffd
SM
13294 * pcomplete.el: Require comint.
13295 (pcomplete--common-suffix): Remove.
13296 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13297 (pcomplete--table-subvert): Sync with comint--table-subvert.
13298 (pcomplete--entries): Use comint-completion-file-name-table.
13299 * comint.el (comint-unquote-filename): Simplify.
13300 (comint-completion-file-name-table): New function (bug#9616).
13301 (comint--complete-file-name-data): Use it.
13302
428fe61a
SM
13303 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13304 (pcmpl-gnu-tar-buffer): Remove.
13305 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13306 around. Make sure pcomplete-suffix-list is only changed temporarily.
13307 Don't look inside the tar's file if it's too large.
428fe61a 13308
04c52e2f
CY
133092011-10-01 Chong Yidong <cyd@stupidchicken.com>
13310
ce3cefcc
CY
13311 * cus-edit.el (custom-mode-map):
13312 * epa.el (epa-key-list-mode-map):
13313 * man.el (Man-mode-map):
13314 * startup.el (splash-screen-keymap):
13315 * simple.el (special-mode-map): Use scroll-up-command and
13316 scroll-down-command.
13317
13318 * progmodes/idlw-help.el (idlwave-help-mode-map):
13319 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13320 * net/newst-plainview.el (newsticker-mode-map):
13321 * emulation/ws-mode.el (wordstar-mode-map):
13322 * emulation/vi.el (vi-com-map):
13323 * calc/calc-graph.el (calc-graph-show-dumb):
13324 * term/sun.el (terminal-init-sun):
13325 * term/ns-win.el (global-map):
13326 * progmodes/grep.el (grep-mode-map):
13327 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13328 * mail/rmail.el (rmail-mode-map):
13329 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13330
04c52e2f
CY
13331 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13332 custom-safe-themes as special.
13333
79adf8c8
JD
133342011-10-01 Julien Danjou <julien@danjou.info>
13335
13336 * notifications.el (notifications-notify): Fix docstring.
13337
63bd50d3
PS
133382011-10-01 Per Starbäck <per@starback.se>
13339
13340 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13341
199e4c7e
MR
133422011-09-30 Martin Rudalics <rudalics@gmx.at>
13343
13344 * startup.el (command-line-1): Fix last fix by inserting
13345 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13346 (Bug#9605) and (Bug#9636)
199e4c7e 13347
fe5f08dd
EZ
133482011-09-29 Eli Zaretskii <eliz@gnu.org>
13349
13350 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13351 window is hscrolled, move by logical lines. (Bug#9607)
13352 (line-move-visual): Update the doc string to the above effect.
13353
b5516bbd
MR
133542011-09-29 Martin Rudalics <rudalics@gmx.at>
13355
ccee00c0
MR
13356 * window.el (display-buffer-record-window): When WINDOW is the
13357 selected window use `point' instead of `window-point'. (Bug#9626)
13358
b5516bbd
MR
13359 * startup.el (command-line-1): Use insert-before-markers when
13360 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13361
b5516bbd
MR
13362 * help.el (help-window): Remove variable.
13363
52aa0014
GM
133642011-09-29 Glenn Morris <rgm@gnu.org>
13365
13366 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13367
df9a7357
JB
133682011-09-29 Juanma Barranquero <lekktu@gmail.com>
13369
13370 * descr-text.el (describe-char-categories): Accept category
13371 descriptions more than one line long.
13372
a8406c20
SM
133732011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13374
88d9610c
SM
13375 * simple.el (delete-trailing-whitespace): Fix last change.
13376
a5daf810
SM
13377 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13378 Don't confuse "y => 3" as the beginning of a `y' operation.
13379
a8406c20
SM
13380 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13381 object has more than 4 slots (bug#9613).
13382
a239d4e9
JB
133832011-09-28 Juanma Barranquero <lekktu@gmail.com>
13384
13385 * subr.el (with-output-to-temp-buffer):
13386 * net/quickurl.el (quickurl, quickurl-browse-url):
13387 Fix typos in docstrings.
13388
693fbdb6
EZ
133892011-09-27 Eli Zaretskii <eliz@gnu.org>
13390
13391 * minibuffer.el (completion-styles)
13392 (completion-category-overrides): Cross reference each other in doc
13393 strings.
13394
8b457e28
GM
133952011-09-27 Glenn Morris <rgm@gnu.org>
13396
13397 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13398 to split-string. (Bug#9606)
13399
85a16208
LMI
134002011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13401
13402 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13403 (bug#9615).
13404
502f9ebd
CY
134052011-09-27 Chong Yidong <cyd@stupidchicken.com>
13406
13407 * emacs-lisp/package.el (list-packages): Fix echo area message.
13408
7690bdea
LL
134092011-09-27 Leo Liu <sdl.web@gmail.com>
13410
13411 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13412
e2ee6f30
MA
134132011-09-25 Michael Albinus <michael.albinus@gmx.de>
13414
13415 * net/dbus.el (dbus-unregister-object): Don't release services for
13416 registered signals. (Bug#9581)
13417
f3f98342
TZ
134182011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13419
13420 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13421 function that picks between cfengine 2 and 3 support
13422 automatically. Update docs accordingly.
13423
dd7aa8dd
KH
134242011-09-22 Kenichi Handa <handa@m17n.org>
13425
13426 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13427 ZERO.
13428 (indian-itrans-v5-table-for-tamil): New variable.
13429 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13430
3f2b07f8
KM
134312011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13432
13433 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13434 that's true if the current command involved collapsing of text.
13435 It's reset to false at the beginning of the next command.
13436 (allout-post-command-business): Move the cursor to the beginning
13437 of entry if the cursor is hidden and collapsing activity just
13438 happened.
13439
371d6a61
CY
134402011-09-24 Chong Yidong <cyd@stupidchicken.com>
13441
13442 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13443 tracking (Bug#9541).
13444
2ac2721a
UJ
134452011-09-24 Ulf Jasper <ulf.jasper@web.de>
13446
13447 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13448 (newsticker-show-news): Automatically load html rendering package
13449 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13450 because w3m-fill-column is let-bound" and the error "Symbol's value
13451 as variable is void: w3m-fill-column".
2ac2721a 13452
fac7ae53
MA
134532011-09-24 Michael Albinus <michael.albinus@gmx.de>
13454
13455 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13456 Release services only if they are defined. (Bug#9581)
13457
e08b633b
RS
134582011-09-23 Richard Stallman <rms@gnu.org>
13459
e488d29c
RS
13460 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13461 distinguish start of paragraph from start of its text.
13462
19c38752
RS
13463 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13464
e08b633b
RS
13465 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13466 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13467 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13468
0a39f27e
AS
134692011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13470
13471 * international/mule-diag.el (mule-diag): Insert a newline after
13472 each fontset description.
13473
db4e950d
SM
134742011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13475
13476 * simple.el (delete-trailing-whitespace):
13477 Document last change; simplify.
13478
eca3f3ea
PW
134792011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13480
d68e189a
PW
13481 * simple.el (delete-trailing-whitespace): Also delete
13482 extra newlines at the end of the buffer.
13483
eca3f3ea
PW
13484 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13485 (picture-newline): Use forward-line so as to ignore fields.
13486
01c157cc
SM
134872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13488
13489 * subr.el (with-wrapper-hook): Fix edebug spec.
13490
022de23e
LMI
134912011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13492
13493 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13494 (bug#4538).
13495
91683089
MA
134962011-09-23 Michael Albinus <michael.albinus@gmx.de>
13497
eca3f3ea
PW
13498 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13499 Fix nasty bug using wrong cached values.
91683089 13500
5bdd6fa4
AM
135012011-09-23 Alan Mackenzie <acm@muc.de>
13502
13503 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13504
97adfb97
CY
135052011-09-23 Chong Yidong <cyd@stupidchicken.com>
13506
13507 * window.el (pop-to-buffer): Ensure right window is selected if we
13508 chose another frame.
13509
d4ef2b50
EZ
135102011-09-22 Eli Zaretskii <eliz@gnu.org>
13511
13512 * simple.el (what-cursor-position): Use get-char-property-change
13513 and next-single-char-property-change, to be able to show display
13514 properties that come from overlays as well as text properties.
13515
72258fe5
CY
135162011-09-22 Chong Yidong <cyd@stupidchicken.com>
13517
13518 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13519
13520 * cmuscheme.el (run-scheme, switch-to-scheme):
13521 * cus-edit.el (customize-group, custom-buffer-create)
13522 (customize-browse):
13523 * info.el (info):
13524 * shell.el (shell):
13525 * mail/sendmail.el (mail):
13526 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13527
8f098516
RS
135282011-09-22 Richard Stallman <rms@gnu.org>
13529
13530 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13531 move back only to line beg, don't move back over blank lines.
13532
e74f1bb6
MA
135332011-09-22 Michael Albinus <michael.albinus@gmx.de>
13534
13535 * files.el (copy-directory): Set directory attributes only in case
13536 they could be retrieved from the source directory. (Bug#9565)
13537
bfeef8b6
DK
135382011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13539
13540 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13541 (hs-find-block-beginning, hs-hide-level-recursive):
13542 Ignore strings as well as comments. (Bug#9502)
13543
7e423bb8
AS
135442011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13545
13546 * progmodes/sql.el (sql-comint-postgres):
13547 Convert port number to a string. (Bug#9566)
13548
b4d72fcf
MR
135492011-09-22 Martin Rudalics <rudalics@gmx.at>
13550
13551 * window.el (quit-window): Undedicate window when switching to
13552 previous buffer. Reported by Thierry Volpiatto
13553 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13554 (special-display-popup-frame): When popping up a new frame reset
13555 its previous buffers to nil. Simplify code.
b4d72fcf 13556
a7b88dc6
MA
135572011-09-21 Michael Albinus <michael.albinus@gmx.de>
13558
13559 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13560 and process filter, as done also in `shell-command'.
13561
cf4eacfd
MR
135622011-09-21 Martin Rudalics <rudalics@gmx.at>
13563
eca3f3ea 13564 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13565 Call set-window-start with NOFORCE argument t.
13566 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13567 (quit-window): Reword doc-string. Handle new format of
13568 quit-restore parameter. Don't delete window if it has a
13569 previous buffer we can show instead of the present one.
13570 (display-buffer-record-window): Rewrite using a new format for
13571 the quit-restore window parameter
13572 (special-display-popup-frame, display-buffer-same-window)
13573 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13574 (display-buffer-pop-up-window, display-buffer-use-some-window):
13575 Adapt symbol passed to display-buffer-record-window.
13576 * help.el (help-window-setup): Handle new format of quit-restore
13577 parameter.
13578
8d28cb95
SM
135792011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13580
94ab793f
SM
13581 * faces.el (face-list): Fix docstring (bug#9564).
13582
8d28cb95
SM
13583 * window.el (display-buffer--action-function-custom-type):
13584 Don't include internal functions in the Custom interface.
13585
3820edeb
JL
135862011-09-20 Juri Linkov <juri@jurta.org>
13587
13588 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13589 (Info-forward-node, Info-backward-node, Info-next-preorder)
13590 (Info-last-preorder): Use it. (Bug#9528)
13591
5147931d
JL
135922011-09-20 Juri Linkov <juri@jurta.org>
13593
13594 * info.el (Info-last-preorder): Visit last menu item only when
13595 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13596
cf499a1a
JD
135972011-09-20 Julien Danjou <julien@danjou.info>
13598
13599 * password-cache.el (password-cache-remove): Remove entries even if the
13600 value is nil, so that password with a nil value (negative caching) is
13601 possible to invalidate.
13602
f84e2fe2
LM
136032011-09-20 Lawrence Mitchell <wence@gmx.li>
13604
13605 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13606 all whitespace around breakpoint. (Bug#9553)
13607 (f90-find-breakpoint): Only break at whitespace inside a comment.
13608
78054a46
SM
136092011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * minibuffer.el (completion-file-name-table): Keep track of errors.
13612 (completion-table-with-predicate): Handle the case where pred1 is nil.
13613 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13614
345083b2
SM
136152011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13616
e24e27be
SM
13617 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13618 (debugger-return-value): Signal an error if the debugging context does
13619 not await any return value.
13620
345083b2
SM
13621 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13622 * image-mode.el (image-toggle-display-text)
13623 (image-toggle-display-image): Stay away from evil `intangible'.
13624
08d355e3
LL
136252011-09-19 Leo Liu <sdl.web@gmail.com>
13626
13627 * replace.el (occur-revert-arguments): Make it permanent-local.
13628 (occur-mode): Don't call font-lock-defontify.
13629
f01da43f
CY
136302011-09-19 Chong Yidong <cyd@stupidchicken.com>
13631
13632 * net/ldap.el (ldap-search-internal): Don't push empty search
13633 result (Bug#9508).
13634
b6072fa6
SM
136352011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13638
443d6696
MA
136392011-09-19 Michael Albinus <michael.albinus@gmx.de>
13640
13641 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13642 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13643
7cc6e154
JL
136442011-09-18 Juri Linkov <juri@jurta.org>
13645
13646 * buff-menu.el (Buffer-menu-mode-map):
13647 * dired.el (dired-mode-map):
13648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13649 (lisp-interaction-mode-map):
13650 * emacs-lisp/package.el (package-menu-mode-map):
13651 * epa.el (epa-key-list-mode-map):
13652 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13653 (menu-bar-options-menu):
13654 * outline.el (outline-mode-menu-bar-map):
13655 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13656 * vc/vc-dir.el (vc-dir-menu-map):
13657 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13658 Capitalize non-function content words in menu item strings.
13659
13660 * dired.el (dired-mode-map): Add menu item for
13661 `image-dired-dired-toggle-marked-thumbs'.
13662
80302a81
JL
136632011-09-18 Juri Linkov <juri@jurta.org>
13664
13665 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13666 to `isearch-case-fold-search' and restore its original value
13667 after the `isearch-mode' call.
13668
46c5cf66
JL
136692011-09-18 Juri Linkov <juri@jurta.org>
13670
13671 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13672 because `zgrep' returns 1 for successful matches (bug#9226).
13673
d18b513b
JL
136742011-09-18 Juri Linkov <juri@jurta.org>
13675
13676 * info.el (Info-extract-menu-node-name): Check the second match
13677 for empty string (second test-case of bug#9528).
13678 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13679 intermediate nodes to the history (first test-case of bug#9528).
13680
72753f87
JL
136812011-09-18 Juri Linkov <juri@jurta.org>
13682
13683 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13684 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13685
c9384295
JL
136862011-09-18 Juri Linkov <juri@jurta.org>
13687
1154d12e
JB
13688 * info.el (Info-file-supports-index-cookies):
13689 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13690 outputs one more line for long file names (bug#4142).
c9384295 13691
d473dce8
CY
136922011-09-18 Chong Yidong <cyd@stupidchicken.com>
13693
13694 * newcomment.el (comment-normalize-vars): If prompting for
13695 comment-start, set comment-start-skip too (Bug#8424).
13696
2176854d
JB
136972011-09-18 Johan Bockgård <bojohan@gnu.org>
13698
13699 * icomplete.el: Fix previous fix of Bug#5849.
13700 (icomplete-mode): Don't set completion-show-inline-help.
13701 (icomplete-minibuffer-setup): Set completion-show-inline-help
13702 locally during icompletion.
13703
3aace4e4
CY
137042011-09-18 Chong Yidong <cyd@stupidchicken.com>
13705
c940224f
CY
13706 * woman.el (woman2-process-escapes): Don't delete unrecognized
13707 escapes (Bug#7843).
13708
3aace4e4
CY
13709 * files.el (inhibit-first-line-modes-regexps): Add image files.
13710 (hack-local-variables-prop-line): Return nil for malformed
13711 prop-lines (Bug#9044).
13712
710dec63
MA
137132011-09-18 Michael Albinus <michael.albinus@gmx.de>
13714
13715 * net/tramp.el (top): Don't require 'shell.
13716 (tramp-methods): Fix docstring.
13717 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13718 Return complete remote file name. Handle "smb" case.
13719 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13720 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13721
13722 * net/tramp-compat.el (top): Require 'shell.
13723
13724 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13725 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13726 `tramp-current-host'.
13727 (tramp-get-remote-tmpdir): Remove.
13728
13729 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13730 `tramp-tmpdir' entries.
13731 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13732 (tramp-smb-handle-file-attributes): Ignore errors.
13733 (tramp-smb-wait-for-output): Check also for process end.
13734
5d5ac8ec
LMI
137352011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13736
13737 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13738 when sending QUIT (bug#9312).
13739
8c0f49f0
CY
137402011-09-17 Chong Yidong <cyd@stupidchicken.com>
13741
13742 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13743 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13744 occur-mode-display-occurrence.
13745 (occur-edit-mode): Add usage message.
13746 (occur-cease-edit): New command.
13747 (occur-after-change-function): Use text properties to find the
13748 position of the prefix text.
13749 (occur-engine): Set stickiness of prefix text properties.
13750
8f1383f7
GM
137512011-09-17 Glenn Morris <rgm@gnu.org>
13752
13753 * progmodes/etags.el (complete-tag):
13754 Fix call to completion-in-region. (Bug#9526)
13755
744ba0e3
JL
137562011-09-17 Juri Linkov <juri@jurta.org>
13757
13758 * textmodes/ispell.el (ispell-word): Add to the error message
13759 the word, ispell program name and current dictionary (bug#9121).
13760 (ispell-tex-arg-end): Capitalize "error" in the error message.
13761
d9bbf400
AS
137622011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13763
13764 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13765 check. (Bug#4251)
13766
8da11505
JL
137672011-09-17 Juri Linkov <juri@jurta.org>
13768
13769 * window.el (window-safe-min-height, window-safe-min-width):
13770 Fix typos (followup to bug#9522).
13771
a91adc7e
SJ
137722011-09-17 Sven Joachim <svenjoac@gmx.de>
13773
13774 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13775
064f328a
EZ
137762011-09-16 Eli Zaretskii <eliz@gnu.org>
13777
13778 * simple.el (line-move): If goal-column is set, move by logical
13779 lines, not by display lines. (Bug#971)
13780 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13781 to reflect the above change.
13782
e69df516
SM
137832011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13784
13785 * image.el (imagemagick-register-types): Use regexp-opt.
13786
cbb0f9ab
CY
137872011-09-15 Chong Yidong <cyd@stupidchicken.com>
13788
13789 * window.el (display-buffer-base-action): Rename from
13790 display-buffer-default-action. Make default value empty.
13791 (display-buffer-overriding-action): Convert to defvar.
13792 (display-buffer-fallback-action): New var.
13793
25322144
CY
137942011-09-15 Chong Yidong <cyd@stupidchicken.com>
13795
13796 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13797 declaration.
13798 (package--add-to-archive-contents): If there is a duplicate entry
13799 with an older version, remove it.
13800 (package-menu-mark-delete, package-menu-mark-install)
13801 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13802 (package-menu-mark-obsolete-for-deletion):
13803 Use package-menu-get-status instead of a regexp search.
25322144
CY
13804 (package-menu-get-status): Use tabulated-list-entry.
13805 (package-menu-mark-upgrades): New command.
d770725a 13806 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13807 (package-menu-execute): Do installation before deletion.
13808 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13809 instead of checking major-mode.
13810 (package-menu--find-upgrades): New function.
13811
7520339c
LMI
138122011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13813
13814 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13815 passwords in the log buffer.
65a046c4
LMI
13816 (smtpmail-process-filter): Update the process marker so that the
13817 "broken by peer" status message is inserted in the right place.
7520339c 13818
d3c30954
SM
138192011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13820
3fe48822
SM
13821 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13822 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13823 bibtex-completion-at-point-function.
13824 (bibtex-completion-at-point-function): Use them.
13825
1b8b3954
SM
13826 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13827
d3c30954
SM
13828 * mpc.el (mpc-constraints-tag-lookup): New function.
13829 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13830 also to browser "album|playlist".
13831
72779976
JL
138322011-09-14 Juri Linkov <juri@jurta.org>
13833
13834 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13835 (isearch-edit-string): Use length of `isearch-string' when
13836 `isearch-fail-pos' returns nil.
13837 (isearch-message): Remove duplicate code and call
13838 `isearch-fail-pos' with arg `t'.
13839
a0bf2bcd
CY
138402011-09-14 Chong Yidong <cyd@stupidchicken.com>
13841
17bb0a2d
CY
13842 * replace.el (occur-mode-goto-occurrence): Don't force using other
13843 window (Bug#9499).
13844
a0bf2bcd
CY
13845 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13846
f678e0b6
MR
138472011-09-14 Martin Rudalics <rudalics@gmx.at>
13848
13849 * window.el (display-buffer-window): Remove.
13850 (display-buffer-record-window): Use help-setup window parameter
13851 instead of variable display-buffer-window.
13852 (display-buffer-function, special-display-buffer-names)
13853 (special-display-function): Mention help-setup parameter instead
13854 of display-buffer-window in doc-string.
d3c30954
SM
13855 * help.el (help-window-setup): New argument help-window.
13856 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13857 Reword some messages.
13858 (with-help-window): Pass window used for displaying the buffer
13859 to help-window-setup. Don't set display-buffer-window.
13860
8e39b2e8
GM
138612011-09-13 Glenn Morris <rgm@gnu.org>
13862
13863 * emacs-lisp/debug.el (debugger-make-xrefs):
13864 Preserve point. (Bug#9462)
13865
85e9c04b
CY
138662011-09-13 Chong Yidong <cyd@stupidchicken.com>
13867
13868 * window.el (window-deletable-p): Use next-frame.
13869
1b36ed6a
MR
138702011-09-13 Martin Rudalics <rudalics@gmx.at>
13871
13872 * window.el (window-auto-delete): Remove.
13873 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13874 dedication and previous buffers.
1b36ed6a
MR
13875 (switch-to-prev-buffer): Don't delete window.
13876 (delete-windows-on): Delete a window's frame if and only if the
13877 window is dedicated.
13878 (replace-buffer-in-windows): Delete buffer's window or frame if
13879 and only if window is dedicated.
13880 (quit-window): Handle quit-restore as before last change.
4d61f28d 13881 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13882
ef8ef9fb
CY
138832011-09-13 Chong Yidong <cyd@stupidchicken.com>
13884
13885 * window.el (window-deletable-p): Never delete the last frame on a
13886 given terminal.
13887
b2cba41e
GM
138882011-09-13 Glenn Morris <rgm@gnu.org>
13889
13890 * help.el (describe-key-briefly): Copy previous standard-output change.
13891
51553db6 138922011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13893
13894 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13895
b7556719
GM
138962011-09-13 Glenn Morris <rgm@gnu.org>
13897
13898 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13899 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13900
64b51947
CY
139012011-09-12 Chong Yidong <cyd@stupidchicken.com>
13902
13903 * dired-aux.el (dired-mark-read-string): Don't return default
13904 value on empty input (Bug#9361).
13905 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13906 Omit initial minibuffer contents.
13907 (dired-do-chmod): Signal an error on empty input.
13908 (dired-mark-read-string): Don't return default on empty input.
13909
13910 * files.el (file-modes-symbolic-to-number): Doc fix.
13911
393a301e
SM
139122011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13913
13914 * international/mule-cmds.el (ucs-completions): Remove.
13915 (read-char-by-name): Use complete-with-action instead; add metadata.
13916
fa5660f9
CY
139172011-09-11 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * window.el (display-buffer--action-function-custom-type)
13920 (display-buffer--action-custom-type): New vars.
13921 (display-buffer-alist, display-buffer-default-action)
13922 (display-buffer-overriding-action): Add defcustom types.
13923
4a592f66
CY
13924 * frame.el (delete-other-frames): Doc fix (Bug#276).
13925
73d56dbd
LMI
139262011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13927
13928 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13929
37ac18a3
CY
139302011-09-11 Chong Yidong <cyd@stupidchicken.com>
13931
13932 Change modes that used same-window-* vars to use switch-to-buffer.
13933
13934 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13935 Use switch-to-buffer.
13936
13937 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13938 (customize-browse, custom-buffer-create-other-window):
13939 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13940
13941 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13942 (Info-prev, Info-up, Info-speedbar-goto-node)
13943 (info-display-manual): Use switch-to-buffer.
13944 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13945
13946 * mail/sendmail.el (mail): Use switch-to-buffer.
13947 (mail-recover): Use switch-to-buffer-other-window.
13948
13949 * cmuscheme.el (run-scheme, switch-to-scheme):
13950 * ielm.el (ielm):
13951 * shell.el (shell):
13952 * net/rlogin.el (rlogin):
13953 * net/telnet.el (telnet, rsh):
13954 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13955
10195bd6
AS
139562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13957
13958 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13959
b322f63a
LMI
139602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13961
39d7fed6
LMI
13962 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13963 so don't mention it (bug#9301).
ba5a81f1 13964 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13965
ee0e9f11
LMI
13966 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13967 match `x', `w32' and `ns', like the manual says (bug#9029).
13968
0b1c89c1 13969 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13970 (process-kill-buffer-query-function): Mention the buffer name in
13971 the query.
0b1c89c1 13972
77549ea8
LMI
13973 * image-mode.el (image-next-line): The line parameter is mandatory
13974 (bug#9258).
13975
803ef892
LMI
13976 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13977 which can be useful (bug#9301).
13978
12980837
LMI
13979 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13980
91054f8f
LMI
13981 * subr.el (match-string): Mention that the current buffer should
13982 be the same as the search was done in (bug#9282).
13983
b322f63a
LMI
13984 * facemenu.el: Disable the remove-* commands if the mark isn't
13985 active (bug#9162).
13986
3199b96f
CY
139872011-09-10 Chong Yidong <cyd@stupidchicken.com>
13988
13989 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13990 of display-buffer.
13991 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13992
13993 * replace.el (occur-mode-goto-occurrence)
13994 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13995 and display-buffer.
13996
13997 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13998 display-buffer.
13999
14000 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14001 special-display and same-window variables.
14002 (mail-other-window): Use switch-to-buffer-other-window.
14003 (mail-other-frame): USe switch-to-buffer-other-frame.
14004
393a301e
SM
14005 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14006 Use display-buffer-other-frame.
3199b96f
CY
14007 (gdb-display-gdb-buffer): Use pop-to-buffer.
14008
14009 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14010
14011 * progmodes/python.el: Don't set same-window-buffer-names.
14012
14013 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14014
14015 * window.el (display-buffer-alist): Add *Python*.
14016
8319e0bf
CY
140172011-09-10 Chong Yidong <cyd@stupidchicken.com>
14018
14019 * window.el (display-buffer-alist): Add entry for buffers
14020 previously handled same-window-*.
14021 (display-buffer-alist, display-buffer-default-action)
14022 (display-buffer-overriding-action): Mark as risky.
14023 (display-buffer-alist): Document action function changes.
14024 (display-buffer--same-window-action)
14025 (display-buffer--other-frame-action): New variables.
14026 (switch-to-buffer, display-buffer-other-frame): Use them.
14027 (display-buffer): Rename reuse-frame entry to reusable-frames.
14028 (display-buffer-reuse-selected-window): Function deleted.
14029 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14030 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14031 (display-buffer-special): New function.
14032 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14033 display-buffer-reuse-or-pop-window. Split off special-display
14034 part into display-buffer-special.
14035 (display-buffer-use-some-window): Don't perform any special
14036 pop-up-frames handling.
14037 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14038 (display-buffer--maybe-same-window): Rename from
0d3ff375 14039 display-buffer-maybe-same-window.
8319e0bf 14040
919a69aa
CY
14041 * info.el: Don't set same-window-regexps.
14042 (info-setup): New function.
14043 (info-other-window, info): Call it.
14044
14045 * cus-edit.el: Don't set same-window-regexps.
14046 (customize-group): New argument.
14047 (customize-group-other-window): Use it.
14048 (customize-face, customize-face-other-window): Likewise.
14049 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14050
8319e0bf
CY
14051 * net/rlogin.el:
14052 * net/telnet.el:
14053 * progmodes/gud.el: Don't set same-window-regexps.
14054
14055 * cmuscheme.el:
14056 * ielm.el:
14057 * shell.el:
14058 * mail/sendmail.el:
14059 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14060
25173000
JL
140612011-09-10 Juri Linkov <juri@jurta.org>
14062
14063 * isearch.el (isearch-edit-string): Remove obsolete mention of
14064 `C-w' (`isearch-yank-word-or-char') from docstring.
14065 (isearch-query-replace): Fix typo in docstring (bug#9466).
14066
056e44ef
JL
140672011-09-10 Juri Linkov <juri@jurta.org>
14068
14069 * paren.el (show-paren-function): Don't show escaped parens.
14070 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14071
c3760c17
EZ
140722011-09-10 Eli Zaretskii <eliz@gnu.org>
14073
14074 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14075 (mm-default-file-encoding): Remove autoload forms, they are
14076 replaced with autoload cookies in mml.el and mm-encode.el.
14077 (mail-add-attachment): New command.
14078 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14079 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14080 the doc string.
14081 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14082
fece895e
RT
140832011-09-10 Reuben Thomas <rrt@sc3d.org>
14084
e69df516
SM
14085 * simple.el (count-words-region): Use buffer if there's no region
14086 (bug#9429).
fece895e 14087
5e68ce4a
JL
140882011-09-09 Juri Linkov <juri@jurta.org>
14089
14090 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14091 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14092 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14093
0a6b9622
AM
140942011-09-09 Alan Mackenzie <acm@muc.de>
14095
14096 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14097 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14098
14a29deb
EZ
140992011-09-09 Eli Zaretskii <eliz@gnu.org>
14100
14101 Fix for Savannah bug#9392.
14102 * simple.el (mail-encode-mml): New defvar.
14103
14104 * mail/rmail.el (mail-encode-mml): Add a defvar.
14105 (rmail-enable-mime-composing): Default to t.
14106 (rmail-forward): Use MIME method of forwarding only if both
14107 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14108 Set mail-encode-mml non-nil if the MIME method was used.
14109
14110 * mail/sendmail.el (mml-to-mime): Add autoload form.
14111 (mail-encode-mml): Add a defvar.
14112 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14113 to nil.
14114 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14115 message through mml-to-mime, and reset mail-encode-mml to nil.
14116
28c45130
GM
141172011-09-09 Glenn Morris <rgm@gnu.org>
14118
14119 * woman.el (woman-if-body): When processing an .el block,
14120 do not delete the next .el block as well. (Bug#9447)
69f4b618 14121 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14122
9b1c252e
MR
141232011-09-08 Martin Rudalics <rudalics@gmx.at>
14124
14125 * window.el (window-deletable-p): Make sure window is live before
14126 invoking window-prev-buffers.
14127
567457e3
LL
141282011-09-08 Leo Liu <sdl.web@gmail.com>
14129
14130 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14131
97f05794
JL
141322011-09-08 Juri Linkov <juri@jurta.org>
14133
14134 * progmodes/compile.el (compilation-environment): Make it
14135 a defcustom (bug#8340).
14136
8b0874b5
MR
141372011-09-08 Martin Rudalics <rudalics@gmx.at>
14138
14139 * window.el (frame-auto-delete): Rename to window-auto-delete.
14140 Make it control auto-deletion of windows and/or frames.
14141 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14142 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14143 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14144 Rewrite handling of case when window/frame can be deleted.
14145 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14146 argument t. (Bug#9456)
8b0874b5 14147
4feb6e73
CY
141482011-09-07 Chong Yidong <cyd@stupidchicken.com>
14149
14150 * help-mode.el (help-mode): Restore autoload.
14151
91ab9c13
JL
141522011-09-07 Juri Linkov <juri@jurta.org>
14153
14154 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14155 `compilation-environment'. Set buffer-local
14156 `compilation-environment' to `thisenv' later after (funcall mode).
14157 (Bug#8340)
14158
14159 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14160 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14161 instead of replacing its value. (Bug#8340)
14162
0527e251
JL
141632011-09-07 Juri Linkov <juri@jurta.org>
14164
14165 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14166 based on text properties put by `grep-filter' instead of matching
14167 escape sequences.
14168 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14169 to the value of `grep-error-screen-columns' (bug#9438).
14170
249f792c
JL
141712011-09-07 Juri Linkov <juri@jurta.org>
14172
14173 * simple.el (next-error-highlight, next-error-highlight-no-select):
14174 Doc fix (bug#9432).
14175
ff7271b9
OT
141762011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14177
14178 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14179 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14180
183fc730
LL
141812011-09-07 Leo Liu <sdl.web@gmail.com>
14182
14183 * net/rcirc.el (rcirc-mode): Conditionally initialize
14184 rcirc-input-ring.
14185
77694924
SM
141862011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 * emacs-lisp/find-func.el (find-function-C-source): Only set
14189 find-function-C-source-directory after checking that we found a source
14190 file there (bug#9440).
14191
d809b8eb
AM
141922011-09-06 Alan Mackenzie <acm@muc.de>
14193
14194 * isearch.el (isearch-other-meta-char): Wherever a key list is
14195 unread, "unread" the prefix arg, too. This fixes bug #8901.
14196
453de99f
OG
141972011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14198
14199 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14200
90439906
JL
142012011-09-05 Juri Linkov <juri@jurta.org>
14202
14203 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14204
f62bd846
JL
142052011-09-05 Juri Linkov <juri@jurta.org>
14206
14207 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14208 keeping point where processing of grep matches begins, and
14209 continue to delete remaining escape sequences from the same point.
14210 (grep-filter): Make leading zero optional in "0?1;31m" because
14211 git-grep emits "\033[1;31m" escape sequences unlike expected
14212 "\033[01;31m" as GNU Grep does (bug#9408).
14213 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14214
045820ec
JL
142152011-09-05 Juri Linkov <juri@jurta.org>
14216
14217 * subr.el (y-or-n-p): Capitalize "yes".
14218
f5e29b9b
MA
142192011-09-04 Michael Albinus <michael.albinus@gmx.de>
14220
14221 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14222 `tramp-cache-unload-hook' where appropriate.
14223 (tramp-methods): Rename `tramp-remote-sh' to
14224 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14225 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14226
14227 * net/tramp-sh.el (top): Don't require 'shell.
14228 (tramp-methods): Add `tramp-remote-shell' and
14229 `tramp-remote-shell-args' entries.
14230 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14231 (tramp-sh-handle-shell-command): Remove.
14232 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14233 Use `tramp-remote-shell'.
14234
2784c434
CY
142352011-09-03 Chong Yidong <cyd@stupidchicken.com>
14236
393a301e 14237 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14238 (sendmail-query-once): Save directly to send-mail-function.
14239 Update message-send-mail-function too.
14240
14241 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14242
464cdf56
CS
142432011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14244
14245 * progmodes/python.el (python-mode-map): Use correct function to
14246 start python interpreter from menu-bar (as reported by Geert
14247 Kloosterman).
14248 (inferior-python-mode-map): Fix typo.
393a301e 14249 (python-shell-map): Remove.
464cdf56 14250
d37e5c87
DD
142512011-09-03 Deniz Dogan <deniz@dogan.se>
14252
14253 * net/rcirc.el (rcirc-print): Simplify code for
14254 rcirc-scroll-show-maximum-output. There is no need to walk
14255 through all windows to find the right one.
14256
f3ada0ee
CS
142572011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14258
14259 * help.el (help-return-method): Doc fix.
14260
1f3c99ca
MR
142612011-09-03 Martin Rudalics <rudalics@gmx.at>
14262
14263 * window.el (window-deletable-p): Don't return a non-nil value
14264 when there's a buffer that was shown in the window before.
14265 (Bug#9419)
393a301e
SM
14266 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14267 Set window's previous buffers to nil.
1f3c99ca 14268
a3cf097f
EZ
142692011-09-03 Eli Zaretskii <eliz@gnu.org>
14270
14271 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14272 newline before and after the tag line, so it doesn't interfere
14273 with determining the paragraph direction of bidirectional text.
14274
3d03de90
LL
142752011-09-03 Leo Liu <sdl.web@gmail.com>
14276
14277 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14278
c3313451
CY
142792011-09-02 Chong Yidong <cyd@stupidchicken.com>
14280
393a301e 14281 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14282 (pop-to-buffer): Change interactive spec. Pass second argument
14283 directly to display-buffer.
14284 (display-buffer): Fix interactive spec. Use functionp to
14285 distinguish between a function and a list of functions.
14286
14287 * abbrev.el (edit-abbrevs):
14288 * arc-mode.el (archive-extract):
14289 * autoinsert.el (auto-insert):
14290 * bookmark.el (bookmark-bmenu-list):
14291 * files.el (find-file):
14292 * view.el (view-buffer):
14293 * progmodes/compile.el (compilation-goto-locus):
14294 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14295
89894cd8
CY
142962011-09-02 Chong Yidong <cyd@stupidchicken.com>
14297
14298 * window.el (display-buffer-alist): Doc fix.
14299 (display-buffer): Add docstring. Don't treat
14300 display-buffer-default specially.
14301 (display-buffer-reuse-selected-window)
14302 (display-buffer-same-window, display-buffer-maybe-same-window)
14303 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14304 (display-buffer-pop-up-window)
14305 (display-buffer-reuse-or-pop-window)
14306 (display-buffer-use-some-window): New functions.
14307 (display-buffer-default-action): Use them.
393a301e 14308 (display-buffer-default): Delete.
89894cd8
CY
14309 (pop-to-buffer-1): Fix choice of actions.
14310
ae0bc9fb
SM
143112011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * minibuffer.el (completion--insert-strings): Don't get confused by
14314 completion entries that end with an LF char.
14315
e9d90883
EZ
143162011-09-01 Eli Zaretskii <eliz@gnu.org>
14317
14318 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14319
437014c8
CY
143202011-09-01 Chong Yidong <cyd@stupidchicken.com>
14321
14322 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14323 (display-buffer-same-window, display-buffer-other-window):
14324 New functions.
437014c8
CY
14325 (pop-to-buffer-1): New function. Use the above.
14326 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14327 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14328
14329 * view.el (view-buffer-other-window, view-buffer-other-frame):
14330 Just use pop-to-buffer.
14331
a5e063d5
TV
143322011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14333
14334 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14335
793d32bb
WH
143362011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14337
14338 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14339
d65e4c15
RS
143402011-08-31 Richard Stallman <rms@gnu.org>
14341
14342 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14343 of the separation of rmail-view-buffer from rmail-buffer.
14344 If you say no to "replace original", the decrypt is in the
14345 view buffer. If you say yes, the decrypt goes into the
14346 rmail buffer also.
14347
f818cd2a
MR
143482011-08-31 Martin Rudalics <rudalics@gmx.at>
14349
14350 * window.el (display-buffer-window): Rewrite doc-string.
14351 (display-buffer-record-window): New function.
14352 (display-buffer-macro-specifiers)
14353 (display-buffer-even-window-sizes, display-buffer-set-height)
14354 (display-buffer-set-width, display-buffer-in-window)
14355 (display-buffer-reuse-window, display-buffer-split-specifiers)
14356 (display-buffer-side-specifiers, display-buffer-split-window-1)
14357 (display-buffer-split-window, display-buffer-split-atom-window)
14358 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14359 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14360 (display-buffer-other-window-means-other-frame)
14361 (display-buffer-normalize-special)
14362 (display-buffer-normalize-default)
14363 (display-buffer-normalize-argument)
14364 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14365 (display-buffer-normalize-specifiers, display-buffer-frame)
14366 (display-buffer-same-window, display-buffer-same-frame)
14367 (display-buffer-other-window)
14368 (display-buffer-same-frame-other-window)
14369 (display-buffer-other-frame, pop-to-buffer-same-window)
14370 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14371 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14372 (switch-to-buffer-same-frame)
14373 (switch-to-buffer-other-window-same-frame)
14374 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14375 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14376 (display-buffer-alist-set): Remove.
14377 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14378 (special-display-regexps, special-display-function):
14379 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14380 parameter.
14381 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14382 (special-display-frame-alist, special-display-popup-frame)
14383 (same-window-buffer-names, same-window-regexps, same-window-p)
14384 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14385 (split-window-preferred-function, split-height-threshold)
14386 (split-width-threshold, window-splittable-p)
14387 (split-window-sensibly, window--try-to-split-window)
14388 (window--frame-usable-p, even-window-heights)
14389 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14390 (window--display-buffer-2, display-buffer-other-frame):
14391 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14392 (display-buffer-default, display-buffer-assq-regexp): New functions.
14393 (display-buffer-alist): Rewrite doc-string.
14394 (display-buffer-default-action)
14395 (display-buffer-overriding-action): New variables.
14396 (display-buffer, switch-to-buffer): Rewrite.
14397 (pop-to-buffer): Restore Emacs 23 behavior but use
14398 window-normalize-buffer-to-display.
14399 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14400 Restore Emacs 23 behavior but use
14401 window-normalize-buffer-to-switch-to.
14402 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14403 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14404 Rewrite using Emacs 23 options.
f818cd2a 14405
5bc3b51d
MA
144062011-08-31 Michael Albinus <michael.albinus@gmx.de>
14407
14408 * net/tramp.el (tramp-root-regexp): Remove.
14409 (tramp-completion-file-name-regexp-unified)
14410 (tramp-completion-file-name-regexp-separate)
14411 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14412 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14413 (tramp-drop-volume-letter): Simplify definition.
14414 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14415
b1a4f8e1
SM
144162011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14419 (bug#9356).
14420
5664fa7b
RT
144212011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14422
b1a4f8e1 14423 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14424
9a45d6c3
JL
144252011-08-29 Juri Linkov <juri@jurta.org>
14426
14427 * isearch.el (isearch-done): Don't display message "Mark saved"
14428 when arg `edit' is non-nil to prevent its flicker in the echo area.
14429
fb87e0fb
CY
144302011-08-28 Chong Yidong <cyd@stupidchicken.com>
14431
14432 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14433 obsolete packages for deletion.
14434
09ac1c2a
CS
144352011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14436
14437 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14438 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14439 view-mode from help-mode.
14440 (help-xref-override-view-map): Remove.
14441 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14442 view-mode is not used anymore.
14443
7a1ff57f
CY
144442011-08-28 Chong Yidong <cyd@stupidchicken.com>
14445
14446 * server.el (server-port): Doc fix.
14447
b9696605
CY
14448 * cus-theme.el (custom-theme-choose-mode): Inherit from
14449 special-mode (Bug#9124).
14450 (custom-theme-choose-mode-map): Add special-mode to parent.
14451
ef8cdf8c
AM
144522011-08-28 Alan Mackenzie <acm@muc.de>
14453
14454 * progmodes/cc-fonts.el
14455 (c-make-font-lock-BO-decl-search-function): New function.
14456 (c-basic-matchers-after - "Fontify the clauses after various
14457 keywords"): Extract the three keyword lists for the 3 erroneous
14458 constructs from the list of four, and use the new function above
14459 in place of an old one.
14460
27de4e20
DD
144612011-08-28 Deniz Dogan <deniz@dogan.se>
14462
14463 * net/rcirc.el (rcirc-insert-prev-input)
14464 (rcirc-insert-next-input): Remove unused argument.
14465
356a3681
SM
144662011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14469
3fc9b218
AM
144702011-08-27 Alan Mackenzie <acm@muc.de>
14471
14472 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14473 handle function pointer parameters properly.
14474
538a061c
MR
144752011-08-27 Martin Rudalics <rudalics@gmx.at>
14476
14477 * window.el (display-buffer-reuse-window): Fix case where
14478 selected window was reused with non-nil OTHER-WINDOW argument.
14479 (Bug#9381)
14480
35b1c40c
DD
144812011-08-27 Deniz Dogan <deniz@dogan.se>
14482
14483 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14484 oftc's NickServ messages.
14485
2f6a3e79
GM
144862011-08-27 Glenn Morris <rgm@gnu.org>
14487
14488 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14489
7254299e
CY
144902011-08-26 Chong Yidong <cyd@stupidchicken.com>
14491
14492 * emacs-lisp/package.el (package-install): Call package-initialize
14493 if called interactively.
14494
f8ccf167
LL
144952011-08-26 Leo Liu <sdl.web@gmail.com>
14496
14497 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14498
3e8cd5ce
JL
144992011-08-25 Juri Linkov <juri@jurta.org>
14500
14501 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14502 `search-whitespace-regexp' (bug#9364).
14503
93eb7113
JL
145042011-08-25 Juri Linkov <juri@jurta.org>
14505
14506 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14507 `regexp-search-ring' to their global values to protect from
14508 updating by `read-from-minibuffer' (bug#9185).
14509
f65d1611
JL
145102011-08-25 Juri Linkov <juri@jurta.org>
14511
14512 * textmodes/ispell.el (ispell-command-loop): Add newline
14513 at the end of the "Use option `i'..." line.
14514
f1cf7a31
JL
145152011-08-25 Juri Linkov <juri@jurta.org>
14516
14517 * battery.el (display-battery-mode): If `battery-status-function'
14518 or `battery-mode-line-format' is nil, display the message and set
14519 `display-battery-mode' to nil (bug#9363).
14520
0c95fcf7
EZ
145212011-08-25 Eli Zaretskii <eliz@gnu.org>
14522
14523 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14524 bidi-string-mark-left-to-right; they are unnecessary now.
14525
a2ebe600
DD
145262011-08-25 Deniz Dogan <deniz@dogan.se>
14527
14528 * net/quickurl.el: Documentation typo fixes.
14529
e4ed06f1
CY
145302011-08-25 Chong Yidong <cyd@stupidchicken.com>
14531
14532 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14533
e5f1c99e
GM
145342011-08-25 Glenn Morris <rgm@gnu.org>
14535
b2948976
GM
14536 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14537
e5f1c99e
GM
14538 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14539 (smtpmail-via-smtp): Handle nil response from smtp.
14540
f22f4808
JL
145412011-08-24 Juri Linkov <juri@jurta.org>
14542
14543 * proced.el (proced-marked): Inherit from `error' instead of
14544 `font-lock-warning-face'.
14545
14546 * ibuffer.el (ibuffer-marked-face): Change default face from
14547 `font-lock-warning-face' to `warning'.
14548 (ibuffer-deletion-face): Change default face from
14549 `font-lock-type-face' to `error'.
14550
14551 * battery.el (battery-update): Use the face `error' instead of
14552 `font-lock-warning-face' (bug#6117).
14553
6a93965e
JL
145542011-08-24 Juri Linkov <juri@jurta.org>
14555
14556 * faces.el (success): Change face color from "Green3" to
14557 "ForestGreen" on light background (bug#9353).
14558
1ed43b09
CY
145592011-08-24 Chong Yidong <cyd@stupidchicken.com>
14560
5664fa7b
RT
14561 * window.el (quit-window): Rename from quit-restore-window.
14562 Use same arglist as old quit-window.
1ed43b09
CY
14563 (frame-auto-delete): Doc fix.
14564
14565 * view.el (view-mode-exit): Use quit-window.
14566
11dcdbb2
JL
145672011-08-24 Juri Linkov <juri@jurta.org>
14568
14569 * isearch.el (isearch-ring-adjust1): Start visiting previous
14570 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14571 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14572 for empty search string (when the last search string is reused
14573 automatically) to adjust the isearch ring to the last element and
14574 prepare the correct index for further M-p commands (bug#9185).
14575
de62b4df
KH
145762011-08-24 Kenichi Handa <handa@m17n.org>
14577
14578 * international/ucs-normalize.el: If decomposition property of
14579 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14580 nil.
14581 (nfd, nfkd): Likewise.
14582
963b492b
SM
145832011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14584
14585 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14586 from process filters aren't reliably transmitted to the surrounding
14587 accept-process-output.
14588 (mpc-proc-check): New function.
14589 (mpc-proc-sync): Use it (bug#8293)
14590
93b6b5e1
SM
145912011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14592
14593 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14594 Add compatibility functions (bug#9313).
14595
bca633fb
EZ
145962011-08-23 Eli Zaretskii <eliz@gnu.org>
14597
b177498a
EZ
14598 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14599
6df6ae42 14600 * international/uni-bidi.el: Regenerate.
bca633fb 14601
0902a04e
KH
146022011-08-23 Kenichi Handa <handa@m17n.org>
14603
14604 * international/charprop.el:
14605 * international/uni-bidi.el:
14606 * international/uni-category.el:
14607 * international/uni-combining.el:
14608 * international/uni-comment.el:
14609 * international/uni-decimal.el:
14610 * international/uni-decomposition.el:
14611 * international/uni-digit.el:
14612 * international/uni-lowercase.el:
14613 * international/uni-mirrored.el:
14614 * international/uni-name.el:
14615 * international/uni-numeric.el:
14616 * international/uni-old-name.el:
14617 * international/uni-titlecase.el:
14618 * international/uni-uppercase.el: Regenerate.
14619
3bbf23bc
MR
146202011-08-23 Martin Rudalics <rudalics@gmx.at>
14621
14622 * help.el (help-window-setup): Fix message displayed when other
14623 window is reused. (Bug#9341)
14624
b3fd59bd
SM
146252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14626
1802e444
SM
14627 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14628 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14629
b3fd59bd
SM
14630 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14631 Mark obsolete.
14632 * shell.el (shell-parse-pcomplete-arguments): New function.
14633 (shell-completion-vars): Use it instead (bug#9160).
14634
4eb61348
SM
146352011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14636
867cab74
SM
14637 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14638 strings and comments (bug#9333).
14639
4eb61348
SM
14640 * emacs-lisp/debug.el (debug-arglist): New function.
14641 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14642 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14643
262a1439
JL
146442011-08-22 Juri Linkov <juri@jurta.org>
14645
56ee679c
JL
14646 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14647 Revert regexp that highlights output switches to its old
14648 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14649
262a1439
JL
14650 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14651 to check for empty output (bug#9226).
14652
f13f86fb
CY
146532011-08-22 Chong Yidong <cyd@stupidchicken.com>
14654
14655 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14656 symbol-constituent as the default, as that stops font-lock from
14657 working properly (Bug#8843).
14658
c65c9622
LMI
146592011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14660
14661 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14662 `coding-system-for-*' around the process open call to avoid
14663 auth-source side effects.
e7f2c178 14664 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14665 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14666 probe hangs.
c65c9622 14667
23a8a5ab
CY
146682011-08-21 Chong Yidong <cyd@stupidchicken.com>
14669
ff98b2dd
CY
14670 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14671
23a8a5ab
CY
14672 * emacs-lisp/find-func.el (find-function-noselect): New arg
14673 lisp-only.
14674
14675 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14676 signal an error for built-in functions (Bug#6664).
14677
f5e3c598
LMI
146782011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14679
14680 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14681 (smtpmail-try-auth-methods): Use it.
14682
a3f2468a
CY
146832011-08-21 Chong Yidong <cyd@stupidchicken.com>
14684
2c34e8da
CY
14685 * font-lock.el (font-lock-fontify-region)
14686 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14687 (font-lock-default-unfontify-buffer)
14688 (font-lock-default-fontify-region)
14689 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14690
b3fd59bd
SM
14691 * progmodes/compile.el (compilation-error-properties):
14692 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14693 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14694 `ant' regexp.
ee31aabc 14695
a3f2468a
CY
14696 * net/browse-url.el (browse-url-firefox): Don't call
14697 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14698
8e999f70
GM
146992011-08-20 Glenn Morris <rgm@gnu.org>
14700
c21a496a
GM
14701 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14702
59ee0542
GM
14703 * tutorial.el (tutorial--default-keys): Update some default bindings.
14704
8e999f70
GM
14705 * files.el (hack-local-variables): Fully ignore case for "mode:".
14706
e3715033
AM
147072011-08-20 Alan Mackenzie <acm@muc.de>
14708
14709 Resolve invalid use of a regexp in regexp-opt.
14710
4d61f28d
JB
14711 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14712 detection for a java annotation.
e3715033 14713
4d61f28d 14714 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14715 detection for a java annotation.
14716
4d61f28d
JB
14717 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14718 handling for java.
e3715033
AM
14719 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14720
04ed2e9c
CY
147212011-08-20 Chong Yidong <cyd@stupidchicken.com>
14722
14723 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14724 (Bug#9274).
14725
826cee64
AM
147262011-08-20 Alan Mackenzie <acm@muc.de>
14727
58179cce 14728 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14729 such a construct. Mainly for when jit-lock etc. starts a chunk
14730 here.
14731
58179cce 14732 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14733 variable.
58179cce 14734 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14735 c-make-font-lock-search-function.
14736 (c-make-font-lock-search-function): Use the above function.
14737 (c-make-font-lock-context-search-function): New function.
14738 (c-cpp-matchers): Enhance the preprocessor expression case with
14739 the above function
14740 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14741 which takes an expression.
14742
14743 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14744
13009bd8
MR
147452011-08-20 Martin Rudalics <rudalics@gmx.at>
14746
14747 * window.el (display-buffer-reuse-window)
14748 (display-buffer-pop-up-window): Don't reuse or split a side
14749 window.
14750
9234ff7f
GM
147512011-08-19 Glenn Morris <rgm@gnu.org>
14752
14753 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14754 Downcase "Mode:". (Bug#9331)
9234ff7f 14755
f635daa1
CY
147562011-08-18 Chong Yidong <cyd@stupidchicken.com>
14757
14758 * international/characters.el: Add L and R categories.
14759
14760 * subr.el (bidi-string-mark-left-to-right): Rename from
14761 string-mark-left-to-right. Use category search.
14762
14763 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14764
bc987f8b
JL
147652011-08-18 Juri Linkov <juri@jurta.org>
14766
14767 * faces.el (error, warning, success): New faces with definitions
14768 copied from old default values of `font-lock-warning-face',
14769 `compilation-warning', `compilation-info' (bug#6117).
14770
14771 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14772
14773 * progmodes/compile.el (compilation-error): Inherit from `error'.
14774 (compilation-warning): Inherit from `warning'.
14775 (compilation-info): Inherit from `success'.
14776
14777 * dired.el (dired-marked): Inherit from `warning'.
14778 (dired-flagged): Inherit from `error'.
14779
57173b96
LMI
147802011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14781
3e79eb87
LMI
14782 * mail/smtpmail.el (auth-source): Require to avoid problems with
14783 binding variables (bug#9298). Also clean up some unused
14784 autoloads.
14785
b3fd59bd
SM
14786 * net/network-stream.el (network-stream-open-starttls):
14787 Support using starttls.el without using gnutls-cli.
57173b96 14788
02b404de
JL
147892011-08-17 Juri Linkov <juri@jurta.org>
14790
14791 * progmodes/grep.el (rgrep): Handle the case when
14792 `grep-find-command' is a cons cell (bug#9278).
14793
8c9177f2
MR
147942011-08-17 Martin Rudalics <rudalics@gmx.at>
14795
14796 * window.el (display-buffer-pop-up-frame): Run frame creation
14797 function with BUFFER current (as special-display-popup-frame
14798 does). Reported by Drew Adams.
14799
3644a0ab
DU
148002011-08-17 Daiki Ueno <ueno@unixuser.org>
14801
14802 * epa-mail.el: Simplify GnuPG group expansion using
14803 epg-expand-group.
14804 (epa-mail-group-alist, epa-mail-group-modtime)
14805 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14806 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14807 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14808 Remove.
14809
5e617bc2 148102011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14811
14812 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14813
9c4aeabf
AM
148142011-08-16 Alan Mackenzie <acm@muc.de>
14815
14816 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14817 Correct, to avoid the inside of macros.
14818
3a99bf64
RS
148192011-08-16 Richard Stallman <rms@gnu.org>
14820
04963aa8
RS
14821 * epa-mail.el: Handle GnuPG group definitions.
14822 (epa-mail-group-alist, epa-mail-group-modtime)
14823 (epa-mail-gnupg-conf-file): New variables.
14824 (epa-mail-parse-groups, epa-mail-sync-groups)
14825 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14826 (epa-mail-expand-recipients): New functions.
14827 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14828
177549d0
RS
14829 * mail/rmail.el (rmail-epa-decrypt): New command.
14830
fe38beef
RS
14831 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14832 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14833 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14834 (epa-decrypt-armor-in-region): Make error message clearer.
14835
934eacb9
SM
148362011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14837
14838 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14839 and "a2b" to "ab" for `prefix'.
14840
d024fb4e
CY
148412011-08-14 Chong Yidong <cyd@stupidchicken.com>
14842
14843 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14844 filter groups.
de148fee
CY
14845 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14846 Fourquet (Bug#8804).
d024fb4e 14847
62f1ca49
JB
148482011-08-12 Juanma Barranquero <lekktu@gmail.com>
14849
14850 * startup.el (argi): Declare as global variable (bug#9275).
14851
9ccaaa4b
CY
148522011-08-12 Chong Yidong <cyd@stupidchicken.com>
14853
14854 * subr.el (string-mark-left-to-right): Search the entire string
14855 for RTL script, not just the terminating character. Doc fix.
14856
a3dae87a
SM
148572011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14858
6cd18349
SM
14859 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14860 New function.
14861 (js--regexp-literal, js-syntax-propertize-function): Remove.
14862 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14863 (js-mode-map): Don't rebind electric keys.
14864 (js-insert-and-indent): Remove.
14865 (js-mode): Setup electric-layout and electric-indent instead.
14866
a3dae87a
SM
14867 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14868
9d5cb631
DU
148692011-08-12 Daiki Ueno <ueno@unixuser.org>
14870
14871 * epa.el (epa-progress-callback-function): Fix the logic of
14872 displaying progress.
14873 * epa-file.el (epa-file-insert-file-contents): Make progress
14874 display more user-friendly.
14875 (epa-file-write-region): Ditto.
14876
3e26a4a2
CY
148772011-08-10 Chong Yidong <cyd@stupidchicken.com>
14878
14879 * subr.el (string-mark-left-to-right): New function.
14880
14881 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14882 Use string-mark-left-to-right.
14883 (list-buffers-noselect): Caller changed.
14884
a3dae87a
SM
14885 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14886 Use string-mark-left-to-right.
3e26a4a2
CY
14887 (tabulated-list-print): Recenter after moving point.
14888
ac8cf6e6
JL
148892011-08-10 Juri Linkov <juri@jurta.org>
14890
14891 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14892 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14893 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14894
8d96c9a4
CY
148952011-08-09 Chong Yidong <cyd@stupidchicken.com>
14896
14897 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14898 (Bug#7554).
14899
7be1c708 149002011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14901
14902 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14903 character. (Bug#6594)
14904
37e11a63
CY
149052011-08-08 Chong Yidong <cyd@stupidchicken.com>
14906
839dde57
CY
14907 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14908 (image-dired--with-db-file): New macro.
14909 (image-dired-write-tags, image-dired-remove-tag)
14910 (image-dired-create-gallery-lists, image-dired-write-comments)
14911 (image-dired-get-comment, image-dired-mark-tagged-files)
14912 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14913 (image-dired-gallery-generate): Use insert-file-contents.
14914
37e11a63
CY
14915 * time.el (display-time-world-list, display-time-world-display):
14916 * time-stamp.el (time-stamp-string):
14917 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14918 set-time-zone-rule (Bug#7337).
14919
0b4946c4
DU
149202011-08-08 Daiki Ueno <ueno@unixuser.org>
14921
14922 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14923 (epg-error-to-string, epg-errors-to-string): New function.
14924 (epg-wait-for-completion): Reverse errors list.
14925 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14926 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14927 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14928 (epg-sign-keys, epg-generate-key-from-file)
14929 (epg-generate-key-from-string): Format errors by using
14930 epg-errors-to-string (bug#9255).
14931 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14932
75bfc667
JL
149332011-08-07 Juri Linkov <juri@jurta.org>
14934
14935 * faces.el (list-faces-display): Remove extra angle bracket
14936 from `help-mode-map'.
14937
14938 * info.el (Info-history-toc-nodes): Doc fix.
14939
14940 * longlines.el (longlines-mode): Doc fix.
14941
673e08bb
SM
149422011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14943
4640dd88
SM
14944 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14945 of statements and in a few more cases (bug#9183).
14946
673e08bb
SM
14947 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14948 New functions.
14949 (cl-transform-lambda): Use them (bug#9239).
14950
89b3f019
MR
149512011-08-05 Martin Rudalics <rudalics@gmx.at>
14952
14953 * window.el (display-buffer-same-window)
14954 (display-buffer-same-frame, display-buffer-other-window)
14955 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14956 (pop-to-buffer-other-window)
14957 (pop-to-buffer-same-frame-other-window)
14958 (pop-to-buffer-other-frame): Make them defuns.
14959 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14960
640c8776
SM
149612011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14962
14963 * subr.el (make-composed-keymap): Move from C. Change calling
14964 convention, and improve docstring to bring attention to a subtle point.
14965 * minibuffer.el (completing-read-default): Adjust accordingly.
14966
63648a95
MA
149672011-08-03 Michael Albinus <michael.albinus@gmx.de>
14968
14969 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14970 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14971
14972 * net/trampver.el: Update release number.
14973
b796c9b7
SM
149742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14975
14976 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14977 "in" (bug#9190).
14978
2239d7d5
LMI
149792011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14980
e07dd7c3
LMI
14981 * mail/sendmail.el (sendmail-query-once): Restore the current
14982 buffer after querying (bug#9074).
14983
0e6a2bd7
LMI
14984 * dired.el (dired-flagged): Use different faces for marked and
14985 flagged files (bug#6117).
14986
ce887515
LMI
14987 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14988 (bug#4433).
14989
92f2affc
LMI
14990 * ido.el (ido-mode): Switch off the message if called
14991 non-interactively.
14992
57d5aff0
LMI
14993 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14994 before 587, since it appears that that's more likely to work for
14995 more people.
14996
98cd6c18 14997 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14998 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14999 exist.
15000
b96dec83
LMI
15001 * info.el: Remove the `Info-beginning-of-buffer' function
15002 (bug#8325).
15003
b796c9b7
SM
15004 * net/network-stream.el (network-stream-open-starttls):
15005 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15006
d90e2ea0
MR
150072011-08-01 Martin Rudalics <rudalics@gmx.at>
15008
15009 * window.el (display-buffer-in-window): Don't set dedicated status
15010 of window here (Bug#9215).
15011 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15012 (display-buffer-pop-up-side-window)
b796c9b7 15013 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15014
cca09170
SM
150152011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15018 before binding generated-autoload-file.
15019
027b979c
DD
150202011-08-01 Deniz Dogan <deniz@dogan.se>
15021
15022 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15023
3c7ee4f3
MA
150242011-07-30 Michael Albinus <michael.albinus@gmx.de>
15025
15026 Sync with Tramp 2.2.2.
15027
15028 * net/trampver.el: Update release number.
15029
2cc8e51a
JL
150302011-07-30 Juri Linkov <juri@jurta.org>
15031
15032 * dired-aux.el (dired-touch-initial): Remove function.
15033 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15034 current time, and `default' to the last modification time of the
15035 current marked file (bug#6887).
15036
a514d856
JM
150372011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15038
15039 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15040 numeric argument to read-number (bug#9163).
a514d856 15041
8a7eddd7
MA
150422011-07-27 Michael Albinus <michael.albinus@gmx.de>
15043
15044 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15045 connection process, it could be nil.
15046
1ddd96f5
LL
150472011-07-27 Leo Liu <sdl.web@gmail.com>
15048
15049 Simplify url handling in rcirc-mode.
15050
15051 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15052 (rcirc-browse-url-at-mouse): Remove.
15053 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15054
b248a85d
AM
150552011-07-26 Alan Mackenzie <acm@muc.de>
15056
15057 Fontify bitfield declarations properly.
15058
15059 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15060 (c-symbol-chars): Now exported as a lang variable.
15061 (c-not-primitive-type-keywords): New lang variable.
15062
15063 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15064 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15065 parsed as a bitfield declaration.
b248a85d 15066
b796c9b7
SM
15067 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15068 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15069 (c-punctuation-in): New function.
15070 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15071 declarations properly.
15072
68575ab0
UJ
150732011-07-26 Ulf Jasper <ulf.jasper@web.de>
15074
15075 * calendar/icalendar.el (icalendar--all-events): Take care of
15076 multiple vcalendars in a single file.
b796c9b7 15077 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15078
0f0a88b9
DD
150792011-07-25 Deniz Dogan <deniz@dogan.se>
15080
15081 * image.el (insert-image): Clarifying docstring.
15082
0b3f36df
MA
150832011-07-24 Michael Albinus <michael.albinus@gmx.de>
15084
15085 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15086 `tramp-send-command-and-check' if there is no error.
15087 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15088
a9901f61
AM
150892011-07-22 Alan Mackenzie <acm@muc.de>
15090
15091 Prevent cc-langs.elc being loaded at run time.
15092
15093 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15094 cc-langs.
15095
4d61f28d 15096 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15097 "(require 'cc-langs)". Quote a form so it will evaluate at
15098 (cc-mode's) compilation time.
15099
11d074b2
MA
151002011-07-22 Michael Albinus <michael.albinus@gmx.de>
15101
15102 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15103 loading. (Bug#9114)
15104
938b94c8
MR
151052011-07-21 Martin Rudalics <rudalics@gmx.at>
15106
15107 * window.el (display-buffer-pop-up-window)
15108 (display-buffer-pop-up-side-window)
15109 (display-buffer-in-side-window): Call display-buffer-set-height
15110 and display-buffer-set-width after setting the new window's
b796c9b7 15111 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15112
bfa4f190
SS
151132011-07-20 Sam Steingold <sds@gnu.org>
15114
15115 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15116 (etags-tags-included-tables): Call `convert-standard-filename' on
15117 the file names contained in TAGS so that windows Emacs can handle
15118 TAGS files created by cygwin ctags.
15119
8ca42262
LMI
151202011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15121
15122 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15123 which apparently didn't work.
15124
5db2afd2 151252011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15126
5db2afd2
RW
15127 * proced.el (proced-send-signal): For *Marked Processes* buffer
15128 put point at beginning of buffer.
15129
92e15d10
SB
151302011-07-19 Stephen Berman <stephen.berman@gmx.net>
15131
15132 * proced.el (proced-format): Make header lines align with the text
15133 (bug#1779).
15134
1bfd59e5
LMI
151352011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15136
15137 * view.el (view-buffer): Allow running in `special' modes if we're
15138 visiting a file (bug#8615).
15139
f5aae37c
MR
151402011-07-19 Martin Rudalics <rudalics@gmx.at>
15141
15142 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15143 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15144 New functions.
f5aae37c
MR
15145 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15146 more accurately.
15147
bf2c1571
AM
151482011-07-18 Alan Mackenzie <acm@muc.de>
15149
15150 Fontify declarators properly when, e.g., a jit-lock chunk begins
15151 inside a declaration.
15152
15153 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15154
b796c9b7
SM
15155 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15156 New function.
bf2c1571
AM
15157 (c-complex-decl-matchers): Insert reference to
15158 c-font-lock-enclosing-decls.
15159
15160 * progmodes/cc-engine.el (c-backward-single-comment):
15161 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15162 to nil around calls to (forward-comment -1).
15163
4e190b80
LMI
151642011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15165
12dc863d
LMI
15166 * image.el (put-image): Doc typo fix.
15167
a762e966
LMI
15168 * progmodes/etags.el (tags-search): Doc typo fix.
15169
4e190b80
LMI
15170 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15171 password if we get errors 550 to 554.
15172
f019fb21
LMI
151732011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15174
b796c9b7 15175 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15176
81746738
LMI
15177 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15178 indentation character (bug#6380).
15179
3ee3a1b5
LMI
15180 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15181
c82f64de
LMI
15182 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15183 to clarify what the problem is (bug#4291).
15184
f019fb21
LMI
15185 * simple.el (current-kill): Clarify what
15186 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15187 (auto-fill-mode): Document `auto-fill-function' in relation to
15188 `auto-fill-mode' (bug#2470).
f019fb21 15189
0794775d
LM
151902011-07-16 Lawrence Mitchell <wence@gmx.li>
15191
15192 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15193 method if slot is read-only (bug#9035).
15194
be39b8cc
MR
151952011-07-16 Martin Rudalics <rudalics@gmx.at>
15196
b796c9b7 15197 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15198 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15199 selected before, see discussion of (Bug#8615), (Bug#6954).
15200 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15201
6ccf7859
GM
152022011-07-15 Glenn Morris <rgm@gnu.org>
15203
15204 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15205 Respect help-form.
6ccf7859 15206
87e86684
LM
152072011-07-09 Lawrence Mitchell <wence@gmx.li>
15208
15209 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15210 (gnutls-negotiate): Use it.
15211
d6066239
LMI
152122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15213
b796c9b7
SM
15214 * net/gnutls.el (gnutls-negotiate):
15215 Upcase `gnutls-algorithm-priority'.
d6066239 15216
bd23ebc0
GM
152172011-07-15 Glenn Morris <rgm@gnu.org>
15218
c65bca65
GM
15219 * jka-compr.el (jka-compr-verbose): Move from here...
15220 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15221 Add missing :version tag.
15222 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15223
478615cc
LMI
152242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15225
7b41decb
LMI
15226 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15227 (gnutls-negotiate): Use it.
15228
dbc44fcd
LMI
15229 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15230
06789f97
LMI
15231 * info.el (Info-beginning-of-buffer): New command.
15232 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15233 announcing `b' as the key (bug#8325).
ab896c37 15234 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15235
c39da690
LMI
15236 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15237
3aa5f34b
LMI
15238 * international/mule-cmds.el
15239 (describe-specified-language-support): Make the error message
15240 clearer (bug#8905).
15241
4bf0979f
LMI
15242 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15243
478615cc
LMI
15244 * isearch.el (isearch-barrier): Add a doc string, since it's
15245 mentioned in a function doc string (bug#8678).
15246
75c68aa1
MR
152472011-07-15 Martin Rudalics <rudalics@gmx.at>
15248
15249 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15250 buffer argument (Bug#9083) and self-identifying label argument.
15251
a7c33da2
GM
152522011-07-15 Glenn Morris <rgm@gnu.org>
15253
15254 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15255
2f5c6024
LMI
152562011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15257
15258 * man.el (Man-fontify-manpage): Fix message when formatting the
15259 man page (bug#7929).
15260
0bb23927 152612011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15262
15263 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15264 argument LRM; if non-nil, append an invisible LRM character to the
15265 buffer name.
15266 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15267 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15268 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15269 paragraph direction.
cce4b0a7 15270
621ef9ab
LMI
152712011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15272
d1583c48
LMI
15273 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15274 the man page name (bug#7929).
15275
6a57fb5f
LMI
15276 * image.el (put-image): Mention the `put-image' overlay property
15277 (bug#7834).
15278
d7956b14
LMI
15279 * scroll-bar.el (set-scroll-bar-mode): Mention that
15280 `scroll-bar-mode' lists the values (bug#7772).
15281
5b2d4a66
LMI
15282 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15283 command (bug#7729).
15284
7509a874
LMI
15285 * rect.el (apply-on-rectangle): Return the point after the last
15286 operation.
15287 (string-rectangle): Go to the point after the last operation
15288 (bug#7522).
15289
4fe74b19
LMI
15290 * printing.el (pr-toggle-region): Clarify the documentation
15291 slightly (bug#7493).
15292
b796c9b7
SM
15293 * time.el (display-time-update):
15294 Allow `display-time-mail-function' to return nil (bug#7158).
15295 Fix suggested by Detlev Zundel.
ab283561 15296
fc233c9d
LMI
15297 * vc/diff.el (diff): Clarify the order the file names are read
15298 (bug#7111).
15299
43f5740b
LMI
15300 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15301 the doc string (bug#7015).
15302
f2182a76
LMI
15303 * font-lock.el (font-lock-maximum-decoration): Mention what
15304 numeric levels mean (bug#6935).
15305
621ef9ab
LMI
15306 * startup.el (initial-buffer-choice): Don't mention the `none'
15307 selection, which is against policy.
15308
adc47434
MR
153092011-07-14 Martin Rudalics <rudalics@gmx.at>
15310
b796c9b7
SM
15311 * window.el (display-buffer-normalize-special):
15312 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15313
7e5bfb8f
EZ
153142011-07-14 Eli Zaretskii <eliz@gnu.org>
15315
15316 * subr.el (version<, version<=, version=): Mention "-CVS" and
15317 "-12345" alpha version numbers.
15318
27fa387a
CY
153192011-07-14 Chong Yidong <cyd@stupidchicken.com>
15320
15321 * bindings.el: Add advertised binding for set-mark-command
15322 (Bug#5772).
15323
8bdfa064
CY
153242011-07-14 Chong Yidong <cyd@stupidchicken.com>
15325
15326 * bindings.el (mode-line-other-buffer):
15327 * bookmark.el (bookmark-bmenu-2-window):
15328 * bs.el (bs-cycle-next, bs-cycle-previous):
15329 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15330 switch-to-buffer.
15331
15332 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15333 Delete.
8bdfa064 15334
5eba16a3
JB
153352011-07-14 Juanma Barranquero <lekktu@gmail.com>
15336
15337 * follow.el (follow-debug-message, follow-redisplay):
15338 * jka-cmpr-hook.el (with-auto-compression-mode):
15339 Fix typos in docstrings.
15340
15853710
LMI
153412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15342
a28e4607
LMI
15343 * subr.el (with-silent-modifications): Clarify somewhat what the
15344 macro inhibits (bug#6525).
15345
15853710
LMI
15346 * simple.el (eval-expression): Note what it does if called
15347 interactively (bug#6495).
15348
bee0fcef
CY
153492011-07-13 Chong Yidong <cyd@stupidchicken.com>
15350
b796c9b7
SM
15351 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15352 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15353
15354 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15355 Remove switch-to-buffer.
15356
58274504
LMI
153572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15358
bd2fcc8d
LMI
15359 * files.el (make-directory): Clarify that an error will be raised
15360 if there's an error (bug#6397).
15361
0f04b32c
LMI
15362 * startup.el (initial-buffer-choice): Add `none' as a choice
15363 (bug#6234).
15364
465c5fc8
LMI
15365 * subr.el (add-hook): Clarify section about buffer-local hooks
15366 (bug#6218).
15367
58274504
LMI
15368 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15369
bead9a43
JB
153702011-07-13 Juanma Barranquero <lekktu@gmail.com>
15371
15372 * tabify.el (untabify): Preserve the current column so that point
15373 doesn't move (bug#6032).
15374
3af98a7b
LMI
153752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15376
b796c9b7
SM
15377 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15378 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15379
6240145a
GM
153802011-07-13 Glenn Morris <rgm@gnu.org>
15381
15382 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15383 (dired-insert-directory): Give a message the first time
15384 if ls is found not to support --dired.
15385
1d8c2ccc
LMI
153862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15387
15388 * simple.el (toggle-truncate-lines): Clarify what is toggled
15389 (bug#5580). Text by Drew Adams.
15390
5fc4038e
CY
153912011-07-13 Chong Yidong <cyd@stupidchicken.com>
15392
15393 * simple.el (blink-matching-open): Make the error message from the
15394 last change less verbose.
15395
bf6012e5
DN
153962011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15397
15398 * font-lock.el (font-lock-comment-face): Use the high contrast
15399 "yellow" color for font-lock-comment-face on low color terminals
15400 using a dark background color (bug#4221).
15401
343c3b5a
LMI
154022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15403
7e9505c5
LMI
15404 * dired.el (dired-insert-set-properties): Make the doc string
15405 reflect what it does now (bug#5325).
15406
c26fdcf5
LMI
15407 * simple.el (blink-matching-open): Say that we were unable to find
15408 the match within the limit, if we're limited (bug#5122).
15409
bb388cc5
LMI
15410 * international/mule-cmds.el (prefer-coding-system): Add an
15411 example (bug#4869).
15412
343c3b5a
LMI
15413 * progmodes/etags.el (tags-search): Document `file-list-form'
15414 (bug#4731).
15415
2a517d45
LM
154162011-07-13 Lawrence Mitchell <wence@gmx.li>
15417
15418 * net/browse-url.el (browse-url-default-browser)
15419 (browse-url-browser-function): Make the default browser choice a
15420 bit more logical (bug#4300). Also clean up the doc string.
15421
b6c78ef2
JB
154222011-07-13 Juanma Barranquero <lekktu@gmail.com>
15423
15424 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15425 binary endings (bug#4440).
15426
1c4dd947
LMI
154272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15428
a2014063
LMI
15429 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15430 which can be pretty annoying (bug#8971).
15431
9c9c2d88
LMI
15432 * jka-compr.el (jka-compr-verbose): New variable, and use
15433 throughout (bug#8971).
15434
1c4dd947
LMI
15435 * info.el (Info-find-file): Fall back on the installation
15436 directory if we can't find the info node anywhere else.
15437
a1c9f41b
SO
154382011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15439
15440 * vc/vc.el (vc-revert-file):
15441 Don't set file time-stamp in the past. (Bug#5181)
15442
536f3d36
LMI
154432011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15444
7152b011
LMI
15445 * files.el (after-find-file): Give a better error message when
15446 trying to find a symlink that points to a file that doesn't exist
15447 (bug#4398).
15448
536f3d36
LMI
15449 * progmodes/cc-vars.el: Remove (probably) misleading comment
15450 (bug#4396).
15451
460c0fba
JB
154522011-07-12 Johan Bockgård <bojohan@gnu.org>
15453
15454 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15455
7a6bda45
CY
154562011-07-12 Chong Yidong <cyd@stupidchicken.com>
15457
15458 * mouse-sel.el: Hack restoring functionality, while keeping
15459 compatibility with 2010-07-03 changes to mouse selection.
15460 (mouse-sel-primary-overlay): New var.
15461 (mouse-sel-selection-alist): Use it.
15462 (mouse-sel-mode): Doc fix; remove points that are default features
15463 of mouse.el.
15464
c79598ef
JB
154652011-07-12 Johan Bockgård <bojohan@gnu.org>
15466
15467 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15468 Fix previous fix (bug#2490).
15469
ff8be6ef
RW
154702011-07-12 Roland Winkler <winkler@gnu.org>
15471
b796c9b7
SM
15472 * textmodes/bibtex.el (bibtex-initialize):
15473 Use pop-to-buffer-same-window.
ff8be6ef
RW
15474 (bibtex-search-entries): Fix interactive call.
15475
296ba3ee
LMI
154762011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15477
f5242a02 15478 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15479 Fontise bytecomp Error lines more correctly (bug#2490).
15480 Fix suggested by Johan Bockgård.
f5242a02 15481
296ba3ee
LMI
15482 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15483
15484 * dired-x.el (dired-guess-default): Use `delete-dups'.
15485
f69fd0d2
CY
154862011-07-12 Chong Yidong <cyd@stupidchicken.com>
15487
15488 * dired.el (dired-mark-prompt):
15489 * dired-aux.el (dired-read-shell-command): Doc fix.
15490
eab5dc07
LMI
154912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15492
b796c9b7
SM
15493 * mail/sendmail.el (sendmail-query-once):
15494 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15495 emacs -Q.
15496
15497 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15498
eab5dc07
LMI
15499 * cus-edit.el (custom-file): Take an optional no-error variable.
15500 (customize-save-variable): Set the variable, and give a warning if
15501 running under "emacs -q".
15502
a1e65d42
JB
155032011-07-11 Juanma Barranquero <lekktu@gmail.com>
15504
15505 * loadhist.el (unload-feature-special-hooks):
15506 Add `auto-coding-functions', `fill-nobreak-predicate' and
15507 `find-directory-functions' (bug#5327).
15508
1d52da10
LMI
155092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15510
be958f1d
LMI
15511 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15512
5bedb26c
LMI
15513 * cus-edit.el (custom-guess-name-alist): -alist variables should
15514 use the `alist' type (bug#3120). Suggested by Drew Adams.
15515
1d52da10
LMI
15516 * printing.el: Add documentation to all the `pr-toggle-' commands.
15517
cd394be1 155182011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15519
15520 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15521 backends where it makes sense (bug#2623).
15522
dcc88d8a
LMI
155232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15524
c3de9feb
LMI
15525 * dired-x.el (dired-guess-default): Remove duplicate shell command
15526 entries (bug#2028).
8a93078b 15527 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15528 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15529
dcc88d8a
LMI
15530 * subr.el (remove-duplicates): New conveniency function.
15531
505e3645
LMI
155322011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15533
15534 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15535 (bug#1526).
15536
155372011-07-10 Martin Rudalics <rudalics@gmx.at>
15538
15539 * window.el (display-buffer-normalize-default): Don't invert
15540 meaning of even-window-heights. Reported by Eli Zaretskii
15541 <eliz@gnu.org>.
15542
455e4fa1
BR
155432011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15544
15545 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15546
8e0bc3e9
CY
155472011-07-10 Chong Yidong <cyd@stupidchicken.com>
15548
15549 * window.el (display-buffer): Fix arguments to
15550 display-buffer-reuse-window in last change.
15551
fa7c3228
CY
15552 * faces.el (link): Use a less saturated blue on light backgrounds.
15553
15554 * startup.el (fancy-startup-text, fancy-about-text)
15555 (fancy-startup-tail): Use font-lock faces, for background safety.
15556
c0a7f300
BN
155572011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15558
b796c9b7
SM
15559 * emulation/viper-cmd.el (viper-change-state-to-vi):
15560 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15561
4dc2a129
MR
155622011-07-09 Martin Rudalics <rudalics@gmx.at>
15563
15564 * window.el (display-buffer-default-specifiers): Remove.
15565 (display-buffer-macro-specifiers): Remove default specifiers.
15566 (display-buffer-alist): Default to nil.
b796c9b7 15567 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15568 (display-buffer-pop-up-window): Allow splitting internal
15569 windows. Check whether a live window was created.
15570 (display-buffer-other-window-means-other-frame)
15571 (display-buffer-normalize-arguments): Rename to
15572 display-buffer-normalize-argument and rewrite. Set the
15573 other-window specifier.
15574 (display-buffer-normalize-special): New function.
15575 (display-buffer-normalize-options): Rename to
15576 display-buffer-normalize-default and rewrite.
15577 (display-buffer-normalize-options-inhibit): Remove.
15578 (display-buffer-normalize-specifiers): Rewrite.
15579 (display-buffer): Process other-window specifier and call
15580 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15581 more faithfully.
b796c9b7 15582 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15583 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15584 (display-buffer-in-window, display-buffer-alist-set):
15585 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15586 <tassilo@member.fsf.org>.
15587
2d43b8c9
LL
155882011-07-09 Leo Liu <sdl.web@gmail.com>
15589
15590 * register.el (insert-register): Restore accidental change on
15591 2011-06-26. (Bug#9028)
15592
7f9b7c53
GM
155932011-07-09 Glenn Morris <rgm@gnu.org>
15594
15595 * subr.el (remq): Handle the empty list. (Bug#9024)
15596
f042cfd8
AS
155972011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15598
15599 * mail/sendmail.el (send-mail-function): No longer delay custom
15600 initialization.
15601 * custom.el (custom-initialize-delay): Doc fix.
15602
856b2f11
SM
156032011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15606
afae1d68
MA
156072011-07-08 Michael Albinus <michael.albinus@gmx.de>
15608
15609 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15610 human-friendly prompt.
15611
0757af94
SM
156122011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15613
15614 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15615 provided by a particular plugin.
15616
d760b731
LMI
156172011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15618
15619 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15620 save customizations (with "emacs -Q"), just set the variable
15621 instead of erroring out.
15622
15623 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15624
cd79ce90
JL
156252011-07-08 Juri Linkov <juri@jurta.org>
15626
15627 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15628 (archive-zip-update-case): Use 7z if found by `executable-find'.
15629 The order of searching the available programs is the same as in
15630 `archive-zip-extract' (bug#8968).
15631
14cc04aa
CY
156322011-07-07 Chong Yidong <cyd@stupidchicken.com>
15633
15634 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15635 (menu-bar-options-menu): Tweak descriptions.
15636
0a1848ec
LMI
156372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15638
15639 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15640 menu items into verb phrases (bug#1421). Also refill to fit under
15641 80 columns.
15642
f5bd0689
CY
156432011-07-07 Chong Yidong <cyd@stupidchicken.com>
15644
538e85c6
CY
15645 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15646 (Info-read-node-name): Doc fix (Bug#1084).
15647
f5bd0689
CY
15648 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15649 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15650 (end-of-sexp, beginning-of-sexp)
15651 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15652 (forward-symbol, forward-same-syntax, word-at-point)
15653 (sentence-at-point): Doc fix (Bug#1144).
15654
56ec5115
LMI
156552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15656
f3f8e37f
LMI
15657 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15658 should cover it (bug#1281).
15659
0757af94 15660 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15661
e9fce1ac 15662 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15663 negotiation fails, then possibly try again with a non-encrypted
15664 connection (bug#9017).
15665
56ec5115
LMI
15666 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15667 be used.
15668
c2f9aec8
RS
156692011-07-07 Richard Stallman <rms@gnu.org>
15670
15671 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15672 property, and handle its changed format.
15673 Look for the correct line number.
15674 Use file's line contents (but not past first =) to find
15675 correct line in message.
15676
ef7b981d 156772011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15678
15679 * international/characters.el (build-unicode-category-table):
15680 Delete it.
0757af94 15681 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15682
0757af94 15683 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15684 to src/chartab.c.
15685 (get-char-code-property): Call unicode-property-table-internal to
15686 load a file. Call get-unicode-property-internal where necessary.
15687 (put-char-code-property): Call unicode-property-table-internal to
15688 load a file. Call put-unicode-property-internal where necessary.
15689 put-unicode-property-internal where necessary.
0757af94
SM
15690 (char-code-property-description):
15691 Call unicode-property-table-internal to load a file.
c805dec0
KH
15692
15693 * international/charprop.el:
15694 * international/uni-bidi.el:
15695 * international/uni-category.el:
15696 * international/uni-combining.el:
15697 * international/uni-comment.el:
15698 * international/uni-decimal.el:
15699 * international/uni-decomposition.el:
15700 * international/uni-digit.el:
15701 * international/uni-lowercase.el:
15702 * international/uni-mirrored.el:
15703 * international/uni-name.el:
15704 * international/uni-numeric.el:
15705 * international/uni-old-name.el:
15706 * international/uni-titlecase.el:
15707 * international/uni-uppercase.el: Regenerate.
15708
15709 * loadup.el: Load international/charprop.el before
15710 international/characters.
15711
e14b388a
CY
157122011-07-07 Chong Yidong <cyd@stupidchicken.com>
15713
15714 * window.el (next-buffer, previous-buffer): Signal an error if
15715 called from a minibuffer window.
15716
15717 * bindings.el: Revert 2011-07-04 change.
15718
354cf0ba
RS
157192011-07-06 Richard Stallman <rms@gnu.org>
15720
15721 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15722 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15723 Treat markers like ints.
15724 (rmail-mime-entity): Doc fix.
15725
a48868a7
LMI
157262011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15727
4906cd3d
LMI
15728 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15729 defcustom again for backwards compatibility.
15730
e0457abe
LMI
15731 * simple.el (shell-command-on-region): Fill.
15732
d67f7e1f
LMI
15733 * dired-aux.el (dired-kill-line): Add a doc string.
15734
fe204702
LMI
15735 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15736 to "\\sw\\|\\s_" (bug#358).
15737
a48868a7
LMI
15738 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15739 (dired-unmark-backward): Ditto.
15740 (dired-flag-backup-files): Ditto.
15741
15742 * dired-x.el (dired-mark-sexp): Ditto.
15743
aa8a705c
RS
157442011-07-06 Richard Stallman <rms@gnu.org>
15745
15746 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15747 (rmail-mime-entity): New arg TRUNCATED.
15748 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15749 New functions.
15750 (rmail-mime-save): Warn if entity is truncated.
15751 (rmail-mime-toggle-hidden): Likewise, for showing.
15752 (rmail-mime-process-multipart): Record when an entity is truncated.
15753
a9a936b9
RS
15754 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15755 if ENTITY is a string.
15756
1f2b92cb
LMI
157572011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15758
f4f73198 15759 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15760 of faces when `M-C-x'-ing their definitions (bug#8378).
15761 Also clean up the code slightly.
f4f73198 15762
12b16734 15763 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15764 because that makes the colors go away.
12b16734 15765
f0691d22
LMI
15766 * mail/sendmail.el (send-mail-function): Change the default to
15767 `sendmail-query-once'.
9e87df06 15768 (sendmail-query-once): Add an autoload cookie.
f0691d22 15769
1f2b92cb
LMI
15770 * net/network-stream.el (network-stream-open-starttls): Try using
15771 a plain connection even if the server offered STARTTLS, and we
15772 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15773 capability. This should make smtpmail.el work in slightly more
15774 configurations.
15775
1cdd2a1b
MA
157762011-07-06 Michael Albinus <michael.albinus@gmx.de>
15777
15778 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15779 New defun.
15780 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15781
fbcc67e2
MM
157822011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15783
15784 * progmodes/sql.el: Version 3.0
0757af94 15785 (sql-product-alist): Add product :completion-object,
fbcc67e2 15786 :completion-column, and :statement attributes.
0757af94 15787 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15788 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15789 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15790 ansi keywords.
15791 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15792 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15793 (sql-oracle-show-reserved-words): New function for development.
15794 (sql-product-font-lock): Simplify for source code buffers.
15795 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15796 New functions.
15797 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15798 (sql-mode-map): Add statement movement functions.
15799 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15800 New variable.
fbcc67e2
MM
15801 (sql-statement-regexp, sql-beginning-of-statement)
15802 (sql-end-of-statement, sql-signum): New functions.
0757af94 15803 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15804 (sql-show-sqli-buffer): Bug fix.
15805 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15806 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15807 with sql-interactive-mode.
15808 (sql-save-connection): Save buffer local settings.
0757af94 15809 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15810 (sql-product-interactive): Bug fix.
15811 (sql-preoutput-hold): New variable.
15812 (sql-interactive-remove-continuation-prompt): Bug fixes.
15813 (sql-debug-redirect): New variable.
15814 (sql-str-literal): New function.
15815 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15816 Redesign.
fbcc67e2
MM
15817 (sql-oracle-save-settings, sql-oracle-restore-settings)
15818 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15819 (sql-completion-object, sql-completion-column)
15820 (sql-completion-sqlbuf): New variables.
15821 (sql-build-completions-1, sql-build-completions)
15822 (sql-try-completion): New functions.
15823 (sql-read-table-name): Use them.
15824 (sql-contains-names): New buffer local variable.
15825 (sql-list-all, sql-list-table): Use it.
15826 (sql-oracle-completion-types): New variable.
15827 (sql-oracle-completion-object, sql-sqlite-completion-object)
15828 (sql-postgres-completion-object): New functions.
15829
d4eaeab1
GM
158302011-07-06 Glenn Morris <rgm@gnu.org>
15831
15832 * window.el (pop-to-buffer): Doc fix.
15833
322b7dab 158342011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15835
15836 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15837
322b7dab 158382011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15839
322b7dab 15840 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15841
322b7dab 15842 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15843
605dd5bf
CY
158442011-07-05 Chong Yidong <cyd@stupidchicken.com>
15845
15846 * button.el (button): Inherit from link face. Suggested by Dan
15847 Nicolaescu.
15848
7dbfa719
SM
158492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15850
3db614b0
SM
15851 * progmodes/gdb-mi.el: Fit in 80 columns.
15852 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15853 switch-to-buffer.
15854
7dbfa719
SM
15855 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15856 if imenu is simply not configured (bug#8941).
15857
919d884a
KM
158582011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15859
15860 * allout.el (allout-post-undo-hook): New allout outline-change
15861 event hook to signal undo activity.
15862 (allout-post-command-business): Run allout-post-undo-hook if an
15863 undo just occurred.
7dbfa719
SM
15864 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15865 * allout-widgets.el (allout-widgets-after-undo-function):
15866 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15867 in the vicinity of an undo.
15868 (allout-widgets-mode): Include allout-widgets-after-undo-function
15869 on the new allout-post-undo-hook.
15870
450a0f09
SM
158712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15874 Let define-derived-mode define it.
15875 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15876 cycles of abbrev-table inheritance (bug#8998).
15877
2de69e00
RW
158782011-07-05 Roland Winkler <winkler@gnu.org>
15879
15880 * textmodes/bibtex.el: Add support for biblatex.
15881 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15882 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15883 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15884 (bibtex-entry-alist, bibtex-field-alist): New variables.
15885 (bibtex-entry-field-alist): Obsolete alias for
15886 bibtex-BibTeX-entry-alist.
15887 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15888 (bibtex-set-dialect): New command.
15889 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15890 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15891 Bind via bibtex-set-dialect.
2de69e00
RW
15892 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15893 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15894 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15895 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15896 Define via bibtex-set-dialect.
450a0f09
SM
15897 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15898 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15899 (bibtex-vec-push, bibtex-vec-incr): New functions.
15900 (bibtex-format-entry, bibtex-field-list)
15901 (bibtex-print-help-message, bibtex-validate)
15902 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15903
2dcdbdd9
SM
159042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15905
15906 * progmodes/compile.el (compilation-goto-locus):
15907 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15908 * bs.el (bs-cycle-next, bs-cycle-previous):
15909 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15910 * bindings.el (mode-line-other-buffer):
15911 * autoinsert.el (auto-insert):
15912 * arc-mode.el (archive-extract):
15913 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15914
b27640fe
JB
159152011-07-05 Juanma Barranquero <lekktu@gmail.com>
15916
15917 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15918 Fix check of `emacs-lock-unlockable-modes'.
15919 Coerce true values of `emacs-lock--try-unlocking' to t.
15920
53bbe3ad
JB
159212011-07-05 Juanma Barranquero <lekktu@gmail.com>
15922
15923 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15924 * emacs-lock.el: New file.
15925
1d3cdbc7
JD
159262011-07-05 Julien Danjou <julien@danjou.info>
15927
15928 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15929 than `boundp' to check if face is set.
15930
9173deec
JB
159312011-07-05 Juanma Barranquero <lekktu@gmail.com>
15932
15933 * register.el (registerv-make):
15934 * window.el (window-min-height): Fix typos in docstrings.
15935
869795d6
JD
159362011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15937
9173deec 15938 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15939 Update doc string.
15940
b768cdcd
JB
159412011-07-04 Juanma Barranquero <lekktu@gmail.com>
15942
15943 * server.el (server-execute): Catch quit and call
15944 `server-return-error' to pass the error back to emacsclient and
15945 close the connection (bug#8942).
15946
13aa217b
KM
159472011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15948
15949 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15950 insecure exception for current topic. Also note that auto-saves
15951 are handled differently.
15952
5d3385a0 15953 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15954 State variables for tracking auto-save inhibition situation.
15955
15956 (allout-write-contents-hook-handler): Rename from
15957 'allout-write-file-hook-handler', and describe how it depends on
15958 write-contents-functions sensitivity to non-nil value to prevent
15959 file write.
15960
15961 (allout-auto-save-hook-handler): Remove. auto-save does not check
15962 this in individual buffers, only in the starting buffer, so this
15963 is not the right way for us to inhibit auto-save in a buffer
15964 according to its condition.
15965
15966 (allout-mode): Use new allout-write-contents-hook-handler, and
15967 only with write-contents-functions. Remove auto-save provisions -
15968 they're implemented elsewhere.
15969
15970 (allout-before-change-handler): If undo is in progress, note that
15971 for attention of allout-post-command-business.
15972
15973 (allout-post-command-business): If the command we're following was
15974 an undo, check for change in the status of encrypted items and
15975 adjust auto-save inhibitions accordingly.
15976
15977 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15978 according to whether there are or aren't any plain-text topics
15979 pending encryption.
15980
2dcdbdd9 15981 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15982 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15983 if there are plain-text topics pending encryption.
13aa217b
KM
15984
15985 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15986 buffer-saved-size and some allout state to not inhibit auto-saves
15987 if there are no longer any plain-text topics pending encryption.
15988
0757af94
SM
15989 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15990 No longer provide for exemption of the current topic.
13aa217b 15991
ac89b32c
JL
159922011-07-04 Juri Linkov <juri@jurta.org>
15993
15994 Add 7z operations to delete and save changed members (bug#8968).
15995 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15996 New defcustoms.
15997 (archive-7z-write-file-member): New function.
15998 (archive-7z-summarize): Fix the number of dashes in the
15999 listing output.
16000
8fa39615
SM
160012011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16004 (bug#8958).
16005
2f11b3f1
CY
160062011-07-04 Chong Yidong <cyd@stupidchicken.com>
16007
d66fef2b
CY
16008 * bindings.el: Ignore next-buffer and previous-buffer in
16009 minibuffer-local-map.
16010
2f11b3f1
CY
16011 * font-lock.el (font-lock-builtin-face): Change light background
16012 color to dark slate blue (Bug#6693).
16013
f932a347
WD
160142011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16015
16016 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16017
c8af70e1
SM
160182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16019
16020 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16021 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16022 Add switch-to-buffer.
16023
f158badc
LMI
160242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16025
16026 * isearch.el (isearch-search-fun-function): Clarify further the
16027 meaning of the function returned.
16028
6d95bd46
MA
160292011-07-04 Michael Albinus <michael.albinus@gmx.de>
16030
16031 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16032
16033 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16034 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16035 Use it.
16036 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16037 `tramp-default-remote-path' does not exist.
16038 (tramp-send-command-and-read): New optional argument NOERROR.
16039 (tramp-open-connection-setup-interactive-shell)
16040 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16041 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16042 (tramp-process-sentinel): Flush also process' connection property.
16043 (tramp-sh-handle-start-file-process): Do not set process
16044 sentinel. It is done now ...
16045 (tramp-maybe-open-connection): ... here. (Bug#8929)
16046
909e6b67
MK
160472011-07-04 MON KEY <monkey@sandpframing.com>
16048
16049 * play/animate.el (animate-string): Doc fixes and allow changing
16050 the buffer name (bug#5417).
16051
160522011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16053
c8af70e1 16054 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16055
f34755dc
PE
160562011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16057
396cec72
PE
16058 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16059 This is simpler and helps future-proof the code.
16060 (timer-until): Use time-subtract and float-time.
08235028 16061 (timer--time-less-p): Use time-less-p.
f34755dc 16062
56e6cc31
JB
160632011-07-04 Juanma Barranquero <lekktu@gmail.com>
16064
3abb79e5
JB
16065 * type-break.el (timep): Use the value of `float-time' to avoid a
16066 byte-compiler warning.
16067
56e6cc31
JB
16068 * server.el (server-eval-and-print): Return any result, even nil.
16069
7b9430b4
PE
160702011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16071
16072 * type-break.el: Accept time formats that the builtins accept.
16073 (timep, type-break-time-difference): Accept any format that
16074 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16075 This is simpler and helps future-proof the code.
16076 (type-break-time-difference): Round rather than ignoring
16077 subseconds components.
16078
3034e9e7
LMI
160792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16080
16081 * info.el (Info-apropos-matches): Make non-interactive, since it
16082 doesn't seem to do anything useful as a command (bug#8829).
16083
1485f4c0
CY
160842011-07-03 Chong Yidong <cyd@stupidchicken.com>
16085
16086 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16087 Move from faces.el.
1485f4c0
CY
16088 (frame-default-terminal-background): New function.
16089
16090 * custom.el (custom-push-theme): Don't record faces in `changed'
16091 theme; this doesn't work correctly for per-frame face settings.
16092 (disable-theme): Use face-set-after-frame-default to reset faces.
16093 (custom--frame-color-default): New function.
16094
9fa3dd45
LMI
160952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16096
c8af70e1 16097 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16098 (bug#8769).
16099
6cbbc20c
KR
161002011-03-29 Kevin Ryde <user42@zip.com.au>
16101
16102 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16103 `perl-Test2' extend to match possible "fail #N" rep count
16104 (bug#8377).
16105
c7f98048
LMI
161062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16107
65676592
LMI
16108 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16109 `smtpmail-via-smtp' now returns the error instead of nil.
16110
c7f98048
LMI
16111 * isearch.el (isearch-search-fun-function): Clarify the doc string
16112 (bug#8101).
16113
56e6cc31 161142011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16115
16116 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16117 unnecessary spaces (bug#8987).
16118
2b216704
LMI
161192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16120
16121 * net/network-stream.el (open-network-stream): Use the
16122 :end-of-capability command thoughout.
16123
161242011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16125
16126 * net/network-stream.el (open-network-stream): Add the
16127 :end-of-capability command parameter, used by pop3.el.
16128
36adf6ce
LMI
161292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16130
1ca0da0e
LMI
16131 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16132
fc00f69c
LMI
16133 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16134 for list)" (bug#6475).
16135
28fd8759 16136 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16137 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16138 an error (bug#6297).
16139
0dd8b6da
LMI
16140 * man.el (Man-reference-regexp): Allow matching possible
16141 word-wrapped references (bug#6289).
16142
ce1438d6
LMI
16143 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16144 for consistency with the other vc buffers (bug#6197).
16145 (vc-checkin): Ditto.
16146
16147 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16148
36adf6ce
LMI
16149 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16150
e83cc1f7
LMI
161512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16152
8a20ca4c
LMI
16153 * custom.el (defcustom): Clarify that :set is only used in the
16154 Customize user interface (bug#6089).
16155
83319045
LMI
16156 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16157 associated with a file, refuse to run instead of erroring out
16158 (bug#6084).
16159
a8392169
LMI
16160 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16161 the doc string, since it appears that using `fill-column' always
16162 controls the width (bug#7845).
16163
e83cc1f7
LMI
16164 * simple.el (shell-command-on-region): Say where the error output
16165 went if `shell-command-default-error-buffer' is set (bug#6857).
16166
e47ca23b
KM
161672011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16168
16169 * allout.el (allout-yank-processing): Adjust cursor position for
16170 backwards-deleted space.
16171
16172 (allout-rebullet-heading): Register changes with
16173 allout-exposure-changed-hook, so the modified topic is properly
16174 decorated.
16175
5cf56143
LMI
161762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16177
08549772
LMI
16178 * minibuffer.el (completion-in-region): Document PREDICATE
16179 (bug#7136).
16180
48e96771
LMI
16181 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16182 of keyword/argument pairs (bug#6904).
16183
c8af70e1
SM
16184 * replace.el (multi-occur):
16185 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16186
e17d05e2
LMI
161872011-07-02 Drew Adams <drew.adams@oracle.com>
16188
16189 * dired.el (dired-mark-if): Make the message about whether it's
16190 marking or unmarking clearer (bug#8523).
16191
063b0e45
LMI
161922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16193
16194 * disp-table.el (display-table-print-array): New function.
16195 (describe-display-table): Use it to print the vectors more pretty
16196 (Bug#8859).
16197
28545e04
MR
161982011-07-02 Martin Rudalics <rudalics@gmx.at>
16199
16200 * window.el (window-state-get-1): Don't assign clone numbers.
16201 Add clone-of item to list of window parameters.
16202 (window-state-put-2): Don't process clone numbers.
16203 (display-buffer-alist): Fix doc-string.
16204
3349e122
SM
162052011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16206
16207 * subr.el (remq): Don't allocate if it's not needed.
16208 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16209 (keymap--merge-bindings): New functions.
16210 (keymap-canonicalize): Use them to refine the canonicalization.
16211 * minibuffer.el (minibuffer-local-completion-map)
16212 (minibuffer-local-must-match-map): Move initialization from C.
16213 (minibuffer-local-filename-completion-map): Move initialization from C;
16214 don't inherit from anything here.
16215 (minibuffer-local-filename-must-match-map): Make obsolete.
16216 (completing-read-default): Use make-composed-keymap to combine
16217 minibuffer-local-filename-completion-map with either
16218 minibuffer-local-must-match-map or
16219 minibuffer-local-filename-completion-map.
16220
d224ac83
GM
162212011-07-01 Glenn Morris <rgm@gnu.org>
16222
3de63bf8
GM
16223 * type-break.el (type-break-time-sum): Use dolist.
16224
d224ac83
GM
16225 * textmodes/flyspell.el (flyspell-word-search-backward):
16226 Replace CL function.
16227
1a1e3f32
SM
162282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16229
fe3f64d5
SM
16230 * mouse.el (mouse--strip-first-event): New function.
16231 (function-key-map): Use it to map fringe clicks to normal clicks
16232 by default.
16233
eb604e34
SM
16234 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16235 (vc-bzr-revision-completion-table): Add support for annotate and date.
16236
1a1e3f32
SM
16237 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16238 inherit from parent.
16239
5bd35902
LMI
162402011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16241
ace6c69c 16242 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16243 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16244
191e2bed
LMI
16245 * dired.el (dired-mode): Fix up the doc string as suggested by
16246 Drew Adams (bug#8817).
16247
5bd35902
LMI
16248 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16249 cookie, since the manual says that it should be possible to add
16250 this function to `find-file-hook' (bug#8709).
16251
eee8207a
TZ
162522011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16253
16254 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16255 here. Noted Ted Zlatanov as the maintainer.
16256 (cfengine-common-settings, cfengine-common-syntax): New functions
16257 to set up common things between `cfengine-mode' and
16258 `cfengine3-mode'.
16259 (cfengine3-mode): New mode.
16260 (cfengine3-defuns cfengine3-defuns-regex
16261 (cfengine3-class-selector-regex cfengine3-category-regex)
16262 (cfengine3-vartypes cfengine3-font-lock-keywords)
16263 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16264 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16265
36b148cf
MA
162662011-07-01 Michael Albinus <michael.albinus@gmx.de>
16267
16268 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16269
16270 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16271
0bf4ba9a
MR
162722011-07-01 Martin Rudalics <rudalics@gmx.at>
16273
16274 * window.el (same-window-buffer-names, same-window-regexps)
16275 (same-window-p, special-display-frame-alist)
16276 (special-display-popup-frame, special-display-function)
16277 (special-display-buffer-names, special-display-regexps)
16278 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16279 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16280 (split-window-preferred-function, split-height-threshold)
16281 (split-width-threshold, even-window-heights)
16282 (display-buffer-mark-dedicated, window-splittable-p)
16283 (split-window-sensibly, window-safely-shrinkable-p):
16284 Un-obsolete.
16285 (display-buffer): Don't spread args with function specifier
16286 because special-display-popup-frame won't like it.
16287
35837f51
PE
162882011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16289
d0672f86
PE
16290 Time-stamp simplifications and fixes.
16291 These improve accuracy slightly, and future-proof the code
16292 against some potential changes to current-time format.
16293
b9444d97
PE
16294 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16295 by using time-since and float-time.
16296
0ef923dc
PE
16297 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16298 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16299 + NNN microseconds".
16300
2f81380d
PE
16301 * type-break.el (type-break-time-sum): Rewrite using time-add.
16302
845b5c3e
PE
16303 * play/hanoi.el (hanoi-current-time-float): Remove.
16304 All uses replaced by float-time.
16305
ee6f1be0
PE
16306 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16307 This yields a more-accurate answer.
16308 (rng-time-to-float): Remove; no longer needed.
16309
fe955043
PE
16310 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16311
5777162a
PE
16312 * calendar/timeclock.el (timeclock-seconds-to-time):
16313 Defalias to seconds-to-time, since they're the same thing.
16314
3103f8b6 16315 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16316 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16317 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16318
0e61a35f
SM
163192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16320
16321 * window.el (bury-buffer): Don't iconify the only frame.
16322 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16323 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16324
ddd63a1e
CY
163252011-07-01 Chong Yidong <cyd@stupidchicken.com>
16326
0e61a35f
SM
16327 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16328 Add mouse-yank-primary.
ddd63a1e 16329
055f4923
TZ
163302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16331
16332 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16333
6a2fb145
SM
163342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16335
16336 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16337 (find-library-name): Use it to find relative load names when provided
16338 absolute file name (bug#8803).
16339
fd4983f2
LMI
163402011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16341
887d14ad
LMI
16342 * textmodes/flyspell.el (flyspell-word): Consider words that
16343 differ only in case as potential doublons (bug#5687).
16344
c53dc7fc
LMI
16345 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16346 Remove two rather uninteresting debugging-like messages to make
16347 debbugs.el more silent.
16348
fd4983f2
LMI
16349 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16350 a password-like phrase.
16351
7a71b18d 163522011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16353
16354 * progmodes/cc-guess.el: New file.
16355
6a2fb145 16356 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16357
16358 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16359 derived from `c-basic-common-init'.
16360
16361 * progmodes/cc-mode.el (top-level): Require cc-guess.
16362 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16363
1fa280a3
LM
163642011-06-30 Lawrence Mitchell <wence@gmx.li>
16365
16366 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16367
e6597158
AM
163682011-06-30 Alan Mackenzie <acm@muc.de>
16369
1fa280a3
LM
16370 * progmodes/cc-engine.el (c-guess-continued-construct):
16371 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16372 lock is disabled. Name this case as "CASE G".
16373
68ba37fb
KM
163742011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16375
16376 * allout.el (allout-yank-processing): Fix injection of extra space
16377 between bullet and non-whitespace character in first topic when
16378 pasting, ensuring that the actual spacing in the pasted topic
16379 following the bullet char is preserved. This extra space was
16380 causing pasted encrypted topics to get a decrypted status even
16381 when the content was actually still encrypted. Now the decryption
16382 status from before the paste is preserved.
16383
16384 (allout-flag-region): Set all allout overlays so they evaporate
16385 when reduced to zero length (evanescent), to prevent overlay
16386 leakage.
16387
887a0b34
GM
163882011-06-30 Glenn Morris <rgm@gnu.org>
16389
94b9acce
GM
16390 * w32-fns.el (w32-charset-info-alist): Declare.
16391
1d9b46d4
GM
16392 * find-dired.el (find-grep-options): Simplify.
16393
cc232200
GM
16394 * term/ns-win.el (ns-set-resource): Declare.
16395
28e77c46
GM
16396 * ses.el (row, col): Declare dynamic variables honestly.
16397
887a0b34
GM
16398 * textmodes/reftex-parse.el (index-tags): Declare.
16399
658d8eb8
CY
164002011-06-30 Chong Yidong <cyd@stupidchicken.com>
16401
16402 * cus-edit.el (customize-push-and-save): New function.
16403
16404 * files.el (hack-local-variables-confirm): Use it.
16405
1fa280a3
LM
16406 * custom.el (load-theme): New arg NO-CONFIRM.
16407 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16408 (custom-enabled-themes): Doc fix.
16409
16410 * cus-theme.el (customize-create-theme)
16411 (custom-theme-merge-theme): Callers to load-theme changed.
16412
bb617717
LMI
164132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16414
d61bdd5d
LMI
16415 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16416 short URLs have at least one dot in them (bug #7614).
16417
bb617717
LMI
16418 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16419 nil, because using a pty is apparently too slow (bug #895).
16420
2f31f37a
LMI
164212011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16422
16423 * mail/sendmail.el (sendmail-query-once): New function.
16424 (sendmail-query-once-function): New variable.
16425
3076b24e
GM
164262011-06-29 Glenn Morris <rgm@gnu.org>
16427
faf2a174
GM
16428 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16429
3076b24e
GM
16430 * ses.el (top-level): Require cl when compiling.
16431 (ses-set-localvars): Fix error statement.
16432 Call it at compile time to silence a storm of warnings.
16433
5386012d
MR
164342011-06-29 Martin Rudalics <rudalics@gmx.at>
16435
16436 * window.el (normalize-live-buffer): Rename to
16437 window-normalize-buffer.
16438 (normalize-live-frame): Rename to window-normalize-frame.
16439 (normalize-any-window): Rename to window-normalize-any-window.
16440 (normalize-live-window): Rename to window-normalize-live-window.
16441 (make-window-atom): Rename to window-make-atom.
16442 (window-resize-reset): Rename to window--resize-reset.
16443 (window-resize-reset-1): Rename to window--resize-reset-1.
16444 (resize-mini-window): Rename to window--resize-mini-window.
16445 (resize-subwindows-skip-p): Rename to
16446 window--resize-subwindows-skip-p.
16447 (resize-subwindows-normal): Rename to
16448 window--resize-subwindows-normal.
16449 (resize-subwindows): Rename to window--resize-subwindows.
16450 (resize-other-windows): Rename to window--resize-siblings.
16451 (resize-this-window): Rename to window--resize-this-window.
16452 (resize-root-window): Rename to window--resize-root-window.
16453 (resize-root-window-vertically): Rename to
16454 window--resize-root-window-vertically.
16455 (normalize-buffer-to-display): Rename to
16456 window-normalize-buffer-to-display.
16457 (normalize-buffer-to-switch-to): Rename to
16458 window-normalize-buffer-to-switch-to.
16459 Correspondingly update all callers of the functions listed
16460 above.
16461 (display-buffer-alist, display-buffer-normalize-arguments)
16462 (display-buffer-normalize-options, display-buffer)
16463 (display-buffer-alist-set): Use "function" instead of
16464 "fun-with-args".
16465
1176868d
CY
164662011-06-28 Chong Yidong <cyd@stupidchicken.com>
16467
16468 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16469 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16470 debbugs.gnu.org. Mention acknowledgment email.
16471
20a7a65f
LMI
164722011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16473
16474 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16475 buffer multibyteness, since it shouldn't matter.
16476
5f45cca5
MR
164772011-06-28 Martin Rudalics <rudalics@gmx.at>
16478
16479 * window.el (display-buffer-in-side-window): Handle dedicated
16480 windows as in display-buffer-reuse-window.
16481 (display-buffer-normalize-alist): Use value of override
16482 specifier.
16483 (display-buffer-normalize-specifiers): Use value of
16484 other-window-means-other-frame specifier.
16485 (display-buffer-alist): Rewrite some texts in widgets.
16486 (display-buffer): Spread arguments when calling function
16487 specified by fun-with-args.
16488
ad85fe1f
DD
164892011-06-28 Deniz Dogan <deniz@dogan.se>
16490
1fa280a3
LM
16491 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16492 Unnest `let'.
da68c4c8 16493
ad85fe1f
DD
16494 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16495 selectors (Bug#5732).
ec49bd31 16496 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16497
a08cc025
JA
164982011-06-27 Jari Aalto <jari.aalto@cante.net>
16499
16500 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16501 (eshell-ls-date-format): New defcustom.
16502 (eshell-ls-file): Use it.
16503
e2b551c5
SM
165042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16505
16506 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16507
8982b231
KY
165082011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16509
16510 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16511 (ange-ftp-make-tmp-name): New arg.
16512 (ange-ftp-file-local-copy): Use it.
16513
36c9fa27
J
165142011-06-27 Jambunathan K <kjambunathan@gmail.com>
16515
16516 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16517 no-conversion (Bug#8870).
16518
d68443dc
MR
165192011-06-27 Martin Rudalics <rudalics@gmx.at>
16520
16521 * window.el (window-right, window-left, window-child)
16522 (window-child-count, window-last-child)
16523 (window-iso-combination-p, walk-window-tree-1)
16524 (window-atom-check-1, window-tree-1, delete-window)
16525 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16526 new naming conventions - window-vchild, window-hchild,
16527 window-next and window-prev are now called window-top-child,
16528 window-left-child, window-next-sibling and window-prev-sibling
16529 respectively.
d615d6d2
MR
16530 (resize-window-reset): Rename to window-resize-reset.
16531 (resize-window-reset-1): Rename to window-resize-reset-1.
16532 (resize-window): Rename to window-resize.
16533 (window-min-height, window-min-width)
16534 (resize-mini-window, resize-this-window, resize-root-window)
16535 (resize-root-window-vertically, adjust-window-trailing-edge)
16536 (enlarge-window, shrink-window, maximize-window)
16537 (minimize-window, delete-window, quit-restore-window)
16538 (split-window, balance-windows, balance-windows-area-adjust)
16539 (balance-windows-area, window-state-put-2)
16540 (display-buffer-even-window-sizes, display-buffer-set-height)
16541 (display-buffer-set-width, set-window-text-height)
16542 (fit-window-to-buffer): Rename all "resize-window" prefixed
16543 calls to use the "window-resize" prefix convention.
16544 (display-buffer-alist): Fix symbol for label specifier.
16545 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16546 corresponding specifier.
16547 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16548
b6458526
VB
165492011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16550
16551 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16552 convention.
16553 (ses-call-printer): Does not pass an empty string to formatter when the
16554 cell is empty to keep from barking printer Calc math-format-value.
16555
d31fd9ac
RS
165562011-06-27 Richard Stallman <rms@gnu.org>
16557
43d5bf84
RS
16558 * battery.el (battery-mode-line-limit): New variable.
16559 (battery-update): Handle it.
16560
d31fd9ac
RS
16561 * mail/rmailmm.el (rmail-mime-process-multipart):
16562 Handle truncated messages.
16563
819a6054
GM
165642011-06-27 Glenn Morris <rgm@gnu.org>
16565
16566 * progmodes/flymake.el (flymake-err-line-patterns):
16567 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16568
cedc73f2
VB
165692011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16570
819a6054 16571 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16572 (ses--clean-!, ses--clean-_): New functions.
16573 (ses-range): Add configurability of readout order, and conversion
16574 to Calc vector.
16575
5e5d49b6
VB
16576 * ses.el (ses-repair-cell-reference-all): New function.
16577 (ses-cell-symbol): Set macro as safe, so that it can be used in
16578 formulas.
16579
56e6cc31 16580 * ses.el: Update cycle detection algorithm.
90ca8b49 16581 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16582 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16583 (ses-set-localvars): New function.
16584 (ses-make-cell): Add property-list as a cell element.
16585 (ses-cell-property-get-fun, ses-cell-property-get)
16586 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16587 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16588 New functions.
90ca8b49
VB
16589 (ses-cell-property-set, ses-cell-property-pop)
16590 (ses-cell-property-get-handle): New macro.
16591 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16592 New aliases, used for code readability.
16593 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16594 cycle detection.
16595 (ses-self-reference-early-detection): New defcustom.
fac916bf 16596 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16597 (ses-mode): Use ses-set-localvars.
16598 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16599 before lauching the update processing.
16600 (ses-initialize-Dijkstra-attempt): New function.
16601 (ses-recalculate-cell): Update for cycle detection based on
16602 Dijkstra algorithm.
16603
2bb63e81
VB
16604 * ses.el: Fix commenting and indenting convention.
16605
c9d29fb8
SM
166062011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * bs.el (bs-cycle-next): Complete last change.
16609
d8e4b68b
JB
166102011-06-27 Drew Adams <drew.adams@oracle.com>
16611
16612 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16613
40098786
LMI
166142011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16615
c9d29fb8
SM
16616 * net/network-stream.el (network-stream-open-starttls):
16617 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16618 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16619
40098786
LMI
16620 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16621 to binary to possibly avoid line encoding issues on Windows (among
16622 other things).
16623
468d09d4
LMI
166242011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16625
16626 * net/network-stream.el (open-network-stream): Return an :error
16627 saying what the problem was, if possible.
16628
16629 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16630 server.
16631
16632 * net/network-stream.el (network-stream-open-starttls): If we
16633 wanted to use STARTTLS, and the server offered it, but we weren't
16634 able to because we had no STARTTLS support, then close the connection.
16635 (open-network-stream): Return an :error element, if present.
16636
16f07dd7
CY
166372011-06-26 Chong Yidong <cyd@stupidchicken.com>
16638
88821ca0
CY
16639 * hl-line.el (hl-line-sticky-flag): Doc fix.
16640 (global-hl-line-sticky-flag): New option (Bug#8323).
16641 (global-hl-line-highlight): Obey it.
16642
16f07dd7
CY
16643 * vc/vc.el (vc-revert-show-diff): Default to t.
16644
6b5ccddf
KM
166452011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16646
c9d29fb8
SM
16647 * allout-widgets.el (allout-widgets-post-command-business):
16648 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16649 undecorated when an isearch is continued past, and isearch
16650 automatically collapses them. This leads to "widget leaks", where
16651 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16652 hidden widgets can slow down cursor travel, substantially.
16653 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16654 so we're doing without this nicety.
16655
16656 (allout-widgets-tally-string): Don't try to do a hash-table-count
16657 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16658 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16659 *Messages* when allout-widgets-maintain-tally is t.
16660
355f2e07
MR
166612011-06-26 Martin Rudalics <rudalics@gmx.at>
16662
16663 * window.el (display-buffer-normalize-argument): Rename to
16664 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16665 LABEL argument. Respect special-display-function when popping up
16666 a new frame. Fix code searching for a window showing the buffer
16667 on another frame.
c9d29fb8
SM
16668 (display-buffer-normalize-specifiers):
16669 Call display-buffer-normalize-arguments.
355f2e07
MR
16670 (display-buffer-in-window): Don't undedicate the window if its
16671 buffer remains the same.
16672 Reported by Drew Adams <drew.adams@oracle.com>.
16673 (display-buffer-alist): Add choice for same-window macro
16674 specfier.
16675 (display-buffer): Mention special meaning of LABEL argument in
16676 doc-string. Fix quoting. Don't pop up a new frame even as
16677 fallback.
16678
7ca8fc42
JB
166792011-06-26 Juanma Barranquero <lekktu@gmail.com>
16680
16681 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16682 avoid deleting the current window in some cases (bug#8911).
16683
bc312254
AS
166842011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16685
16686 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16687 (Bug#8934)
16688
2db18f3f
LMI
166892011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16690
c9d29fb8
SM
16691 * net/network-stream.el (network-stream-open-starttls):
16692 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16693 (network-stream-open-tls): Ditto.
16694
6302e0d3
LL
166952011-06-26 Leo Liu <sdl.web@gmail.com>
16696
16697 * register.el (registerv): New struct.
16698 (registerv-make): New function.
c9d29fb8
SM
16699 (jump-to-register, describe-register-1, insert-register):
16700 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16701 struct. (Bug#8415)
16702
5fdd4046
CY
167032011-06-26 Chong Yidong <cyd@stupidchicken.com>
16704
2afef60a
CY
16705 * vc/vc.el (vc-revert-show-diff): New defcustom.
16706 (vc-diff-internal): New arg specifying diff buffer.
16707 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16708 reuse an existing *vc-diff* buffer (Bug#8927).
16709
5fdd4046
CY
16710 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16711
e93db24a
GM
167122011-06-26 Glenn Morris <rgm@gnu.org>
16713
16714 * progmodes/f90.el (f90-critical-indent): New option.
16715 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16716 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16717 (f90-mode): Doc fix.
16718 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16719 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16720 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16721 (f90-match-end): Handle block, critical.
16722
eefff499
GM
167232011-06-25 Glenn Morris <rgm@gnu.org>
16724
f6ba4cc9
GM
16725 * calendar/diary-lib.el (diary-included-files): Doc fix.
16726 (diary-include-files): New function, extracted from
16727 diary-include-other-diary-files and diary-mark-included-diary-files.
16728 (diary-include-other-diary-files, diary-mark-included-diary-files):
16729 Just call diary-include-files.
16730 (diary-mark-entries): Reset diary-included-files on first call.
16731
16712304
GM
16732 * calendar/diary-lib.el (diary-mark-entries)
16733 (diary-mark-included-diary-files):
16734 Visit included diary-files in temp buffers.
16735
5d8e0d43
GM
16736 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16737 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16738 (f90-start-block-re, f90-imenu-generic-expression)
16739 (f90-looking-at-program-block-start, f90-no-block-limit):
16740 Add support for submodules.
16741
ccf7a5d5
GM
16742 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16743 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16744
11fdef7d 167452011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16746
16747 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16748 buffer-file-type before setting its value, to avoid disastrous
eefff499 16749 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16750
74f53697
JB
167512011-06-25 Juanma Barranquero <lekktu@gmail.com>
16752
16753 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16754
16755 * ses.el (ses-unload-function):
16756 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16757
16758 * proced.el (proced-unload-function):
16759 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16760
18a4ce5e
AR
167612011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16762
16763 * server.el (server-create-window-system-frame): Add parameters arg.
16764 (server-process-filter): Doc fix. Handle frame-parameters.
16765
519d22cc
JB
167662011-06-25 Juanma Barranquero <lekktu@gmail.com>
16767
16768 Fix bug#8730, bug#8781.
16769
16770 * loadhist.el (unload--set-major-mode): New function.
16771 (unload-feature): Use it.
16772
16773 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16774 (python-unload-function): New function.
16775
c206f5b0
SM
167762011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16777
16778 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16779
f9ad64f3
GS
167802011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16781
16782 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16783 the candidates list.
16784
7d0da90e
JB
167852011-06-24 Juanma Barranquero <lekktu@gmail.com>
16786
16787 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16788
14b4e83d
RS
167892011-06-23 Richard Stallman <rms@gnu.org>
16790
16791 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16792 (rmail-variables): Set next-error-move-function.
16793 (rmail-what-message): Take argument POS.
16794 (rmail-next-error-move): New function.
16795
273d2baf
SM
167962011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16797
16798 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16799 messages for adjacent non-terminals.
16800
56c2cc9a
RS
168012011-06-23 Richard Stallman <rms@gnu.org>
16802
16803 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16804 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16805 (rmail-start-mail): Don't specify use of rmail-mail-return;
16806 that's done by mail-bury now.
16807 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16808
d59eb518
MA
168092011-06-23 Michael Albinus <michael.albinus@gmx.de>
16810
16811 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16812 SIZE is a number.
16813
02cfc6d6
MR
168142011-06-23 Martin Rudalics <rudalics@gmx.at>
16815
16816 * window.el (get-lru-window, get-mru-window)
16817 (get-largest-window): Never return a minibuffer window.
16818 (display-buffer-pop-up-window): Fix a bug that could lead to
16819 reusing the minibuffer window.
16820 (display-buffer): Pass original specifier argument to
16821 display-buffer-function instead of the normalized one.
16822 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16823
4e323265
LL
168242011-06-22 Leo Liu <sdl.web@gmail.com>
16825
16826 * minibuffer.el (completing-read-function)
1f9f395d 16827 (completing-read-default): Move from minibuf.c.
4e323265 16828
7a70468f
RS
168292011-06-22 Richard Stallman <rms@gnu.org>
16830
50718fc2
RS
16831 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16832 to Rmail even if not started by a special Rmail command.
16833
7a70468f
RS
16834 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16835 Copy the buffer currently showing just one message.
16836
297dde5a
RW
168372011-06-22 Roland Winkler <winkler@gnu.org>
16838
16839 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16840 (bibtex-clean-entry): First delete the old key so that a
16841 customized algorithm for generating the new key does not get
16842 confused by the old key.
16843 (bibtex-url): Obey regexp of first step.
16844 (bibtex-search-entries): Do not use add-to-list with local
16845 list-var.
16846
97bb1093
LMI
168472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16848
16849 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16850 stored a user name, then query for the password first, instead of
16851 waiting for SMTP to give an error message and the trying again.
16852
1c0f1a19
JD
168532011-06-22 Lawrence Mitchell <wence@gmx.li>
16854
16855 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16856 BUFFER in call-process.
16857
396f7c9d
LMI
168582011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16859
16860 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16861 QUIT twice.
ddb7ffee
LMI
16862 (smtpmail-try-auth-methods): Require user name and password from
16863 auth-source.
396f7c9d 16864
8998d1b3
MR
168652011-06-22 Martin Rudalics <rudalics@gmx.at>
16866
16867 * window.el (display-buffer-default-specifiers)
16868 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16869 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16870 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16871
16872 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16873 (special-display-frame-alist, special-display-popup-frame):
16874 Remove duplicate declarations. These are now in window.el.
16875
4ea31e07
LMI
168762011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16877
c9d29fb8
SM
16878 * mail/smtpmail.el (smtpmail-via-smtp):
16879 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16880 server supports it. SMTP servers that support STARTTLS commonly
16881 require it.
16882
16883 * net/network-stream.el (network-stream-open-starttls): Support
16884 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16885 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16886
95f41d9a
LMI
16887 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16888 upgrades with `open-network-stream', and rely solely on
16889 auth-source for all credentials. Big changes throughout the file,
16890 but in particular:
c9d29fb8
SM
16891 (smtpmail-auth-credentials): Remove.
16892 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16893 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16894 MAIL FROM, too.
95f41d9a 16895
c9d29fb8
SM
16896 * net/network-stream.el (network-stream-open-starttls):
16897 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16898 STARTTLS.
16899 (auth-source): Require.
16900 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16901 (network-stream-certificate): Change cert-cert to cert and
16902 cert-key to key.
4ea31e07 16903
065ec2c7
MA
169042011-06-21 Michael Albinus <michael.albinus@gmx.de>
16905
16906 * net/tramp-cache.el (top): Don't load the persistency file when
16907 "emacs -Q" has been called.
16908
cd93b359
DR
169092011-06-21 Tim Harper <timcharper@gmail.com>
16910
d8e4b68b
JB
16911 * term/ns-win.el (ns-initialize-window-system):
16912 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16913 resource to NO as it is not yet supported by the NS port.
16914
ae9c0411
JB
169152011-06-21 Juanma Barranquero <lekktu@gmail.com>
16916
16917 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16918 (list-dynamic-libraries): ...not here.
16919
7f3f739f
LL
169202011-06-21 Leo Liu <sdl.web@gmail.com>
16921
16922 * subr.el (sha1): Implement sha1 using secure-hash.
16923
327c8fb1
MR
169242011-06-21 Martin Rudalics <rudalics@gmx.at>
16925
16926 * window.el (display-buffer-alist): In default value do not
16927 enforce searching a window on any but the selected frame.
16928 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16929 (display-buffer-select-window): Remove function.
16930 (display-buffer-in-window): When a window on another frame gets
16931 reused, do not select it any more but just raise its frame if
16932 necessary (Bug#8851) and (Bug#8856).
16933 (display-buffer-normalize-options): Handle pop-up-frames related
16934 options more faithfully.
16935 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16936 window if it is on another frame.
c9d29fb8
SM
16937 (display-buffer-alist, display-buffer-default-specifiers):
16938 Don't make new frame unsplittable by default.
9e9de014
MR
16939 (display-buffer-normalize-argument): Fix doc-string typo and use
16940 'same-frame-other-window instead of 'other-window when associating
16941 with display-buffer-macro-specifiers.
327c8fb1 16942
7cf3f556
VB
169432011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16944
16945 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16946 New functions.
16947 (5x5-mode-map, 5x5-mode-menu): Bind them.
16948 (5x5-draw-grid): Tweak the solver's rendering.
16949
60a406cf
SM
169502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16951
16952 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16953 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16954
d8e4b68b 169552011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16956
16957 * menu-bar.el: Use function variable instead of switch-to-buffer.
16958 (menu-bar-select-buffer-function): New variable.
60a406cf 16959 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16960
478d6f95
SM
169612011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16962
16963 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16964 variable's status.
16965
ca530739
JD
169662011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16967
16968 * x-dnd.el (x-dnd-version-from-flags)
16969 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16970 and long as number (Bug#8899).
16971 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16972
bcd70d97
SM
169732011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16974
60a406cf 16975 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16976 (completion-try-completion, completion-all-completions): Compute the
16977 metadata argument if it's missing; make it optional (bug#8795).
16978
60a406cf 16979 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16980 (widget-complete): Use new :completion-function property.
16981 (widget-completions-at-point): New function.
16982 (default): Use :completion-function instead of :complete.
60a406cf
SM
16983 (widget-default-completions): Rename from widget-default-complete;
16984 Rewrite.
bcd70d97
SM
16985 (widget-string-complete, widget-file-complete, widget-color-complete):
16986 Remove functions.
16987 (file, symbol, function, variable, coding-system, color):
16988 * international/mule-cmds.el (default-input-method, charset)
16989 (language-info-custom-alist):
16990 * cus-edit.el (face): Use new property :completions.
16991
16992 * progmodes/pascal.el (pascal-completions-at-point): New function.
16993 (pascal-mode): Use it.
16994 (pascal-mode-map): Use completion-at-point.
16995 (pascal-toggle-completions): Make obsolete.
16996 (pascal-complete-word, pascal-show-completions):
16997 * progmodes/octave-mod.el (octave-complete-symbol):
16998 Redefine as obsolete alias.
16999 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17000 Signal absence of completion info for old Octave,
17001 (inferior-octave-complete): Redefine as obsolete alias.
17002 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17003 (meta-completions-at-point): Rename from meta-complete-symbol and
17004 adapt it for use on completion-at-point-functions.
17005 (meta-common-mode): Use it.
17006 (meta-looking-at-backward, meta-match-buffer): Remove.
17007 (meta-complete-symbol): Redefine as obsolete alias.
17008 (meta-common-mode-map): Use completion-at-point.
17009 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17010 (makefile-mode-map): Use completion-at-point.
17011 (makefile-completions-at-point): Rename from makefile-complete and
17012 adapt it for use on completion-at-point-functions.
17013 (makefile-mode): Use it.
17014 (makefile-complete): Redefine as obsolete alias.
17015
aebf69c8
DD
170162011-06-20 Deniz Dogan <deniz@dogan.se>
17017
17018 * net/rcirc.el: Delete trailing whitespaces once and for all.
17019
bfbbb27d
DC
170202011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17021
17022 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17023
d264a46b
CY
170242011-06-19 Chong Yidong <cyd@stupidchicken.com>
17025
4ca009e5
CY
17026 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17027
d264a46b
CY
17028 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17029
fbf5b3ce
MR
170302011-06-19 Martin Rudalics <rudalics@gmx.at>
17031
17032 * window.el (display-buffer-other-window-means-other-frame):
17033 Call display-buffer-normalize-alist.
17034 (display-buffer-normalize-specifiers-1): Rename to
17035 display-buffer-normalize-argument. New argument other-frame.
17036 Rewrite.
17037 (display-buffer-normalize-specifiers-2): Rename to
17038 display-buffer-normalize-options.
17039 (display-buffer-normalize-alist-1): New function.
17040 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17041 display-buffer-normalize-alist.
17042 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17043 (display-buffer-normalize-options-inhibit): New variable.
17044 (display-buffer-normalize-specifiers): Rewrite calling
17045 display-buffer-normalize-alist,
17046 display-buffer-normalize-argument, and
17047 display-buffer-normalize-options. Don't call the latter if
17048 display-buffer-normalize-options-inhibit is non-nil.
17049 (frame-auto-delete): New option.
17050 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17051 (window-list-no-nils, window-state-ignored-parameters)
17052 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17053 (window-state-put-1, window-state-put-2, window-state-put):
17054 New functions.
9a028c23
MR
17055 (display-buffer-normalize-options): Move special-display-p group
17056 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17057
6d10d800
CY
170582011-06-18 Chong Yidong <cyd@stupidchicken.com>
17059
6420d28b
CY
17060 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17061 groups (Bug#8776).
17062 (rx-submatch-n): New function.
17063 (rx): Document it.
17064
ddb8b596
CY
17065 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17066 (Bug#8768).
17067
17068 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17069
77080289
CY
17070 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17071
61dfb316
CY
17072 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17073 anytime existing face settings are present (Bug#8889).
17074
6d10d800
CY
17075 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17076 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17077 Remove unused argument.
17078
be3fb2b8
MR
170792011-06-18 Martin Rudalics <rudalics@gmx.at>
17080
bcd70d97
SM
17081 * window.el (display-buffer-default-specifiers):
17082 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17083 pop-up-window-min-width, and another reuse-window specifier
17084 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17085 (display-buffer-normalize-specifiers-2):
17086 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17087 pop-up-windows is unset. Add a reuse-window specifier for the
17088 case popping up a new window fails.
17089 (special-display-popup-frame): Remove double quoting.
28dec25a 17090 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17091
1c6d8c76
SM
170922011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17093
17094 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17095 according to comint-completion-addsuffix.
17096
17097 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17098 (pcomplete-suffix-list): Mark as obsolete.
17099 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17100 pcomplete-seen in the closure.
17101 (pcomplete-comint-setup): Setup completion-at-point as well.
17102 (pcomplete--entries): New function.
17103 (pcomplete--env-regexp): New var.
17104 (pcomplete-entries): Rewrite to work with partial-completion and
17105 without relying on pcomplete-suffix-list.
17106 (pcomplete-pare-list): Remove, unused.
17107
25aef8b8
MR
171082011-06-17 Martin Rudalics <rudalics@gmx.at>
17109
17110 * window.el (display-buffer-alist): Set pop-up-window-min-height
17111 and pop-up-window-min-width in default value. Reported by
17112 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17113 other-window-means-other-frame.
17114 (display-buffer-macro-specifiers): Comment out entry for
17115 other-window specifier.
17116 (display-buffer-other-window-means-other-frame): New function.
17117 (display-buffer-normalize-specifiers-1): New arguments
17118 buffer-name and label. Treat other-window case specially.
17119 (display-buffer-normalize-specifiers-2): Treat other-window case
17120 specially.
17121 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17122 (display-buffer-normalize-specifiers):
17123 Call display-buffer-normalize-specifiers-3.
25aef8b8 17124
dbad4f69
MR
171252011-06-17 Martin Rudalics <rudalics@gmx.at>
17126
17127 * window.el (same-window-p): Fix two typos introduced when
17128 adding with-no-warnings.
d1067961
MR
17129 (display-buffer-normalize-specifiers-1): Don't check
17130 pop-up-frames for 'unset initialization.
17131 (display-buffer-normalize-specifiers-2): Major rewrite using
17132 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17133 (pop-up-frames, display-buffer-reuse-frames)
17134 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17135 Suggested by David Engster <deng@randomsample.de>.
17136 (even-window-heights): Initialize to 'unset.
17137 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17138 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17139 other window case.
dbad4f69 17140
9b9c9e3a
MR
171412011-06-16 Martin Rudalics <rudalics@gmx.at>
17142
bcd70d97
SM
17143 * window.el (display-buffer-normalize-specifiers-1):
17144 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17145 second argument of display-buffer (Bug#8865).
981d5c09
MR
17146 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17147 (switch-to-buffer-other-window-same-frame)
17148 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17149 Adams (Bug#8875).
9c2755e9
MR
17150 (display-buffer): Don't check noninteractive when calling
17151 display-buffer-pop-up-frame.
17152 (display-buffer-pop-up-frame): Never pop up a frame in
17153 noninteractive mode (Bug#8857).
67222e1d
MR
17154 (enlarge-window, shrink-window): Don't report an error when the
17155 window can't be resized as requested (Bug#8862).
9b9c9e3a 17156
2b75be67
SM
171572011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17158
9ffdd3ba
SM
17159 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17160
cb581a67
SM
17161 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17162
2b75be67
SM
17163 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17164
8c0e3589
AM
171652011-06-15 Alan Mackenzie <acm@muc.de>
17166
cb581a67
SM
17167 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17168 for declarators, disable knr checking to speed up for normal files.
17169 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17170
b96e6cde
LMI
171712011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17172
4bba86e6
LMI
17173 * net/network-stream.el (open-network-stream): Add the keyword
17174 :always-query-capabilities for the case where you want to force a
17175 `plain' network connection, but the protocol still requires the
17176 capabilitiy command (i.e., SMTP and EHLO).
17177
2b75be67 17178 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17179 consistency with other `-live-p' functions.
17180
efdcdbf8
SM
171812011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17182
17183 * window.el (same-window-buffer-names, same-window-regexps)
17184 (special-display-frame-alist, special-display-popup-frame)
17185 (special-display-function, special-display-buffer-names)
17186 (special-display-regexps, pop-up-frame-alist)
17187 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17188 (pop-up-windows, split-window-preferred-function)
17189 (split-height-threshold, split-width-threshold, even-window-heights)
17190 (display-buffer-mark-dedicated): Don't encourage the use of
17191 display-buffer-alist from Elisp code.
17192
c5cde042
DN
171932011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17194
17195 * progmodes/python.el (python-mode): Derive from prog-mode.
17196 * progmodes/ps-mode.el (ps-mode):
17197 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17198 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17199 * progmodes/ld-script.el (ld-script-mode): Likewise.
17200
baa1c9ab
MR
172012011-06-15 Martin Rudalics <rudalics@gmx.at>
17202
17203 * window.el (display-buffer-alist): Trim default value to avoid
17204 popping up a new frame (Bug#8857) or reusing an arbitrary window
17205 on another frame.
17206 (display-buffer): Do not fall back on popping up a new frame in
17207 batch mode (Bug#8857).
17208
c5dd5a51
CY
172092011-06-14 Chong Yidong <cyd@stupidchicken.com>
17210
17211 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17212 (custom-theme-summary): New function.
17213 (customize-themes): Use it.
17214
d647b7c4
GM
172152011-06-13 Glenn Morris <rgm@gnu.org>
17216
17217 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17218
9481c002
MR
172192011-06-13 Martin Rudalics <rudalics@gmx.at>
17220
357f93d2
MR
17221 * help.el (help-window): Remove variable.
17222 (help-window-point-marker, temp-buffer-max-height)
17223 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17224 (help-print-return-message): Don't set help-window.
17225 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17226 (help-window-setup-finish): Remove.
17227 (help-window-display-message, help-window-setup)
17228 (with-help-window): Major rewrite based on new
17229 display-buffer-window variable.
17230
17231 * help-mode.el (help-mode-finish): Remove help-window related
17232 code.
17233
17234 * view.el (view-exits-all-viewing-windows): Remove reference to
17235 view-return-to-alist in doc-string.
17236 (view-return-to-alist): Make obsolete.
17237 (view-buffer): Call pop-to-buffer-same-window and remove
17238 undo-window code.
17239 (view-buffer-other-window): Call pop-to-buffer-other-window and
17240 simplify code. Ignore second argument.
17241 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17242 simplify code. Ignore second argument.
17243 (view-return-to-alist-update): Make obsolete.
17244 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17245 Rewrite using quit-restore window parameters.
2b75be67
SM
17246 (view-mode-exit): Rename second argument to EXIT-ONLY.
17247 Rewrite using quit-restore-window.
357f93d2
MR
17248 (View-exit, View-exit-and-edit, View-leave, View-quit)
17249 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17250 appropriate arguments.
17251 (view-end-message): Use quit-restore window parameter.
17252
9481c002
MR
17253 * window.el (display-buffer-function): Rewrite doc-string.
17254 (display-buffer-window, display-buffer-alist): New variables.
17255 (display-buffer-split-specifiers)
17256 (display-buffer-side-specifiers)
17257 (display-buffer-macro-specifiers): New constants.
17258 (display-buffer-even-window-sizes, display-buffer-set-height)
17259 (display-buffer-set-width, display-buffer-select-window)
17260 (display-buffer-in-window, display-buffer-reuse-window)
17261 (display-buffer-split-window-1, display-buffer-split-window)
17262 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17263 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17264 (display-buffer-in-side-window, normalize-buffer-to-display)
17265 (display-buffer-normalize-specifiers-1)
17266 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17267 (display-buffer-normalize-specifiers, display-buffer-frame):
17268 New functions.
9481c002
MR
17269 (display-buffer): Major rewrite.
17270 (display-buffer-other-window, display-buffer-other-frame)
17271 (pop-to-buffer, switch-to-buffer-other-window)
17272 (switch-to-buffer-other-frame): Rewrite.
17273 (display-buffer-same-window, display-buffer-same-frame)
17274 (display-buffer-same-frame-other-window)
17275 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17276 (pop-to-buffer-other-window)
17277 (pop-to-buffer-same-frame-other-window)
17278 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17279 (switch-to-buffer-other-window-same-frame): New functions.
17280 (same-window-p, special-display-p): Rewrite disabling warnings.
17281 Make obsolete.
17282 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17283 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17284 Make obsolete
17285 (same-window-buffer-names, same-window-regexps)
17286 (special-display-frame-alist, special-display-popup-frame)
17287 (special-display-function, special-display-buffer-names)
17288 (special-display-regexps, pop-up-frame-alist)
17289 (pop-up-frame-function, split-window-preferred-function)
17290 (split-height-threshold, split-width-threshold)
17291 (even-window-heights): Make obsolete.
17292
9db51aca
GM
172932011-06-12 Glenn Morris <rgm@gnu.org>
17294
17295 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17296 Misc simplifications.
9db51aca 17297
39cffb44
MR
172982011-06-12 Martin Rudalics <rudalics@gmx.at>
17299
17300 * window.el (window-safely-shrinkable-p): Restore function which
17301 was inadvertently removed in change from 2011-06-11. Declare as
17302 obsolete.
17303
2b75be67
SM
17304 * calendar/calendar.el (calendar-generate-window):
17305 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17306 window-safely-shrinkable-p.
17307
a8955be7
GM
173082011-06-12 Glenn Morris <rgm@gnu.org>
17309
17310 * progmodes/fortran.el (fortran-mode-syntax-table):
17311 * progmodes/f90.el (f90-mode-syntax-table):
17312 Set % to punctuation. (Bug#8820)
17313 (f90-find-tag-default): Remove, no longer needed.
17314
f0d4059d
DC
173152011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17316
17317 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17318
1100a63c
CY
173192011-06-11 Chong Yidong <cyd@stupidchicken.com>
17320
17321 * image.el (image-animated-p): Return animation delay in seconds.
17322 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17323 (image-animate-timeout): Remove DELAY argument. Don't assume
17324 every subimage has the same delay; get it from image-animated-p.
17325 (image-animate): Caller changed.
17326
def722bf
MA
173272011-06-11 Michael Albinus <michael.albinus@gmx.de>
17328
17329 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17330 to ignored backtrace functions.
17331
0a2bb1a9
GM
173322011-06-11 Glenn Morris <rgm@gnu.org>
17333
17334 * calendar/appt.el (appt-disp-window-function): Doc fix.
17335 (appt-check): Handle overlapping appointments. (Bug#8337)
17336
6198ccd0
MR
173372011-06-11 Martin Rudalics <rudalics@gmx.at>
17338
17339 * window.el (window-tree-1, window-tree): New functions, moving
17340 the latter to window.el.
17341 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17342 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17343 (bw-refresh-edges): Remove.
17344 (balance-windows-1, balance-windows-2): New functions.
17345 (balance-windows): Rewrite in terms of window tree functions,
17346 balance-windows-1 and balance-windows-2.
17347 (bw-adjust-window): Remove.
17348 (balance-windows-area-adjust): New function with functionality of
17349 bw-adjust-window but using resize-window.
2b75be67
SM
17350 (set-window-text-height): Rewrite doc-string.
17351 Use normalize-live-window and resize-window.
17352 (enlarge-window-horizontally, shrink-window-horizontally):
17353 Rename argument to DELTA.
6198ccd0
MR
17354 (window-buffer-height): New function.
17355 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17356 Rewrite using new window resize routines.
2b75be67
SM
17357 (kill-buffer-and-window, mouse-autoselect-window-select):
17358 Use ignore-errors instead of condition-case.
6198ccd0
MR
17359 (quit-window): Call delete-frame instead of delete-windows-on
17360 for the only buffer on frame.
17361
9397e56f
MR
173622011-06-10 Martin Rudalics <rudalics@gmx.at>
17363
17364 * loadup.el (top-level): Load window before files for the sake
17365 of replace-buffer-in-windows.
17366
17367 * files.el (read-buffer-to-switch)
17368 (switch-to-buffer-other-window)
2b75be67
SM
17369 (switch-to-buffer-other-frame, display-buffer-other-frame):
17370 Move to window.el.
9397e56f
MR
17371
17372 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17373 (previous-buffer): Move to window.el.
17374
17375 * bindings.el (unbury-buffer): Move to window.el.
17376
17377 * window.el (delete-other-windows-vertically): Move after
17378 definition of delete-other-windows.
17379 (other-window, delete-windows-on, replace-buffer-in-windows):
17380 Move here from window.c.
17381 (record-window-buffer, unrecord-window-buffer)
17382 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17383 (switch-to-next-buffer): New functions.
17384 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17385 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17386 (previous-buffer): Move here from simple.el.
17387 Call switch-to-prev-buffer.
9397e56f
MR
17388 (bury-buffer): Move here from buffer.c. Switch to previous
17389 buffer when window cannot be deleted.
17390 (unbury-buffer): Move here from bindings.el.
17391 (ctl-x-map): Move binding for other-window from window.c to
17392 here.
17393 (read-buffer-to-switch, switch-to-buffer-other-window)
17394 (switch-to-buffer-other-frame): Move here from files.el.
17395 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17396 (switch-to-buffer): Move here from buffer.c.
17397 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17398
562dd5e9
MR
173992011-06-10 Martin Rudalics <rudalics@gmx.at>
17400
17401 * window.el (window-min-height, window-min-width): Move here
17402 from window.c. Add defcustoms and rewrite doc-strings.
17403 (resize-mini-window, resize-window): New functions.
17404 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17405 Move here from window.c.
17406 (maximize-window, minimize-window): New functions.
17407 (delete-window, delete-other-windows, split-window): Move here
17408 from window.c.
17409 (window-split-min-size): New function.
17410 (split-window-keep-point): Mention split-window-above-each-other
17411 instead of split-window-vertically.
2b75be67 17412 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17413 Rename split-window-vertically to split-window-above-each-other
17414 and provide defalias for old definition.
17415 (split-window-side-by-side, split-window-horizontally):
17416 Rename split-window-horizontally to split-window-side-by-side
17417 and provide defalias for the old definition.
562dd5e9
MR
17418 (ctl-x-map): Move bindings for delete-window,
17419 delete-other-windows and enlarge-window here from window.c.
17420 Replace bindings for split-window-vertically and
17421 split-window-horizontally by bindings for
17422 split-window-above-each-other and split-window-side-by-side.
17423
17424 * cus-start.el (all): Remove entries for window-min-height and
17425 window-min-width. Add entries for window-splits and
17426 window-nest.
17427
f0da764a
GM
174282011-06-09 Glenn Morris <rgm@gnu.org>
17429
80675c21
GM
17430 * calendar/appt.el (appt-mode-line): New function.
17431 (appt-check, appt-disp-window): Use it.
17432
f0da764a
GM
17433 * files.el (hack-one-local-variable-eval-safep):
17434 Allow minor-modes with explicit +/-1 arguments.
17435
59f623b7
TZ
174362011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17437
17438 * term/xterm.el (xterm): Add defgroup.
17439 (xterm-extra-capabilities): Add defcustom to supply known xterm
17440 capabilities, skip querying them, or query them (default).
17441 (terminal-init-xterm): Use it.
17442 (terminal-init-xterm-modify-other-keys): New function to set up
17443 modifyOtherKeys support to simplify `terminal-init-xterm'.
17444
9aab8e0d
MR
174452011-06-09 Martin Rudalics <rudalics@gmx.at>
17446
17447 * window.el (resize-window-reset, resize-window-reset-1)
17448 (resize-subwindows-skip-p, resize-subwindows-normal)
17449 (resize-subwindows, resize-other-windows, resize-this-window)
17450 (resize-root-window, resize-root-window-vertically)
17451 (window-deletable-p, window-or-subwindow-p)
17452 (frame-root-window-p): New functions.
17453
e8b08aee
GM
174542011-06-09 Glenn Morris <rgm@gnu.org>
17455
17456 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17457 (ange-ftp-get-files): Use it.
17458
254c37a5
AK
174592011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17460
17461 * mail/sendmail.el (mail-recover-1, mail-recover):
17462 * files.el (recover-file, recover-session):
17463 Handle dired-listing-switches not being just a single short option.
17464
35d7dbd3
GM
174652011-06-09 Glenn Morris <rgm@gnu.org>
17466
17467 * calendar/appt.el (appt-display-message, appt-disp-window):
17468 Handle lists of appointments.
17469
387522b2
MR
174702011-06-08 Martin Rudalics <rudalics@gmx.at>
17471
2b75be67
SM
17472 * window.el (one-window-p): Move down in code.
17473 Rewrite doc-string.
17474 (window-current-scroll-bars): Rewrite doc-string.
17475 Normalize live window argument.
387522b2
MR
17476 (walk-windows, get-window-with-predicate, count-windows):
17477 Rewrite doc-string. Use window-list-1.
17478 (window-in-direction-2, window-in-direction, get-mru-window):
17479 New functions.
17480
d8e4b68b 174812011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17482
17483 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17484 Doc fix (Bug#8713).
17485
174862011-06-08 Chong Yidong <cyd@stupidchicken.com>
17487
17488 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17489
174902011-06-08 Juanma Barranquero <lekktu@gmail.com>
17491
17492 * loadhist.el (unload-feature-special-hooks):
17493 Add `comint-output-filter-functions'.
17494
0de12c52
IK
174952011-06-08 Ivan Kanis <gnu@kanis.fr>
17496
17497 * calendar/appt.el (appt-check): Move some initializations into the let.
17498
f3d1777e
MR
174992011-06-08 Martin Rudalics <rudalics@gmx.at>
17500
17501 * window.el (window-height): Defalias to window-total-height.
17502 (window-width): Defalias to window-body-width.
17503
18af70d0
CY
175042011-06-07 Chong Yidong <cyd@stupidchicken.com>
17505
17506 * image-mode.el (image-toggle-animation): New command.
17507 (image-mode-map): Bind it to RET.
17508 (image-mode): Update message.
17509 (image-toggle-display-image): Avoid a spurious cache flush.
17510 (image-transform-rotation): Doc fix.
17511 (image-transform-properties): Return quickly in the normal case.
17512 (image-animate-loop): Rename from image-animate-max-time.
17513
2b75be67 17514 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17515 (create-animated-image): Remove unnecessary function.
17516 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17517 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17518 (image-animate-timer): Use car-safe.
17519 (image-animate-timeout): Rename argument.
17520
190b47e6
MR
175212011-06-07 Martin Rudalics <rudalics@gmx.at>
17522
17523 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17524 window.c. Rename first argument to ALL-FRAMES.
17525 Rephrase doc-strings.
17526 (get-buffer-window-list): Rewrite using window-list-1.
17527 Rephrase doc-string.
a1511caf
MR
17528 (window-safe-min-height, window-safe-min-width): New constants.
17529 (window-size-ignore, window-min-size, window-min-size-1)
17530 (window-sizable, window-sizable-p, window-size-fixed-1)
17531 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17532 (window-max-delta-1, window-max-delta, window-resizable)
17533 (window-resizable-p, window-total-height, window-total-width)
17534 (window-body-width): New functions.
17535 (window-full-height-p, window-full-width-p): Rewrite using
17536 window-total-size.
17537 (window-body-height): Rewrite using window-body-size.
190b47e6 17538
85cc1f11
MR
175392011-06-06 Martin Rudalics <rudalics@gmx.at>
17540
17541 * window.el (window-right, window-left, window-child)
17542 (window-child-count, window-last-child, window-any-p)
17543 (normalize-live-buffer, normalize-live-frame)
17544 (normalize-any-window, normalize-live-window)
17545 (window-iso-combination-p, window-iso-combined-p)
17546 (window-iso-combinations)
17547 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17548 (windows-with-parameter, window-with-parameter)
17549 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17550 (window-atom-check, window-side-check, window-check):
17551 New functions.
85cc1f11
MR
17552 (ignore-window-parameters, window-sides, window-sides-vertical)
17553 (window-sides-slots): New variables.
17554 (window-size-fixed): Move down in code. Minor doc-string fix.
17555
e7156492
AS
175562011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17557
17558 * comint.el (comint-dynamic-complete-as-filename)
17559 (comint-dynamic-complete-filename): Correctly call
17560 completion-in-region.
17561
7e821d0d
DD
175622011-06-05 Deniz Dogan <deniz@dogan.se>
17563
17564 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17565 in last change.
17566
ac09b8a1
DD
175672011-06-05 Deniz Dogan <deniz@dogan.se>
17568
17569 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17570 (rcirc): Use it to prompt for encryption.
17571
34699b85
RW
175722011-06-05 Roland Winkler <winkler@gnu.org>
17573
17574 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17575 (bibtex-search-entries): New command bound to C-c C-a.
17576 (bibtex-display-entries): New function.
17577
004dedd3
RW
175782011-06-05 Roland Winkler <winkler@gnu.org>
17579
17580 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17581 (bibtex-insert-kill): After yanking insert newline if necessary.
17582 (bibtex-initialize): Call bibtex-string-files-init only once.
17583 (bibtex-mode): Do not call easy-menu-add.
17584 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17585 (bibtex-yank): Set arg properly if nil.
17586
022fe7ce
RW
175872011-06-05 Roland Winkler <winkler@gnu.org>
17588
2b75be67
SM
17589 * textmodes/bibtex.el (bibtex-search-entry-globally):
17590 New variable.
022fe7ce
RW
17591 (bibtex-search-entry): Use it.
17592
b7c3692a
RW
175932011-06-05 Roland Winkler <winkler@gnu.org>
17594
17595 * textmodes/bibtex.el (bibtex-entry-format): New option
17596 sort-fields.
17597 (bibtex-format-entry, bibtex-reformat): Honor this option.
17598 (bibtex-parse-entry): Return fields in proper order.
17599
8eda563d
JB
176002011-06-05 Juanma Barranquero <lekktu@gmail.com>
17601
17602 * doc-view.el (doc-view-remove-if): Move computation of result out
17603 of `dolist' to silence misleading lexical-binding warning.
17604
7dbe3dbc
CY
176052011-06-04 Chong Yidong <cyd@stupidchicken.com>
17606
17607 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17608 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17609
0c33dd17
MA
176102011-06-04 Michael Albinus <michael.albinus@gmx.de>
17611
17612 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17613 "SunOS 5.10".
17614
f8f91c2b
MA
176152011-06-04 Michael Albinus <michael.albinus@gmx.de>
17616
17617 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17618 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17619 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17620 (tramp-parse-putty):
17621 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17622 (tramp-completion-function-alist-ssh)
17623 (tramp-completion-function-alist-telnet)
17624 (tramp-completion-function-alist-su)
17625 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17626 cookie.
17627
17628 * net/tramp-ftp.el:
17629 * net/tramp-sh.el:
17630 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17631 load "tramp.el" `tramp-set-completion-function'.
17632
e17d9003
SM
176332011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17634
17635 * shell.el: Require and use pcomplete.
17636 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17637 (shell-completion-vars): Set pcomplete-default-completion-function.
17638
6c4cab03
DD
176392011-06-04 Deniz Dogan <deniz@dogan.se>
17640
17641 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17642 `memq' (Bug#8799).
17643
ea9fafe0
SM
176442011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17645
17646 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17647
b3e945d3
JB
176482011-06-02 Juanma Barranquero <lekktu@gmail.com>
17649
17650 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17651 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17652 * vc/log-view.el (log-view-beginning-of-defun):
17653 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17654 (smerge-refine-forward, smerge-refine-chopup-region):
17655 Silence warning for unused `dotimes' counter variables.
17656
7d520089
SM
176572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17658
17659 * net/tramp.el (tramp-with-progress-reporter): Rename from
17660 with-progress-reporter. Use `declare'.
17661 * net/tramp-smb.el:
17662 * net/tramp-sh.el:
17663 * net/tramp-gvfs.el: Update all uses.
17664
a1c2400f
JB
176652011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17666
17667 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17668 buffer isn't killed before making it current.
17669
2403c841
SM
176702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 Silence various byte-compiler warnings.
17673 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17674 `access-type' and new obsolescence format.
17675 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17676 new format.
17677 (byte-compile-check-variable): New `access-type' argument.
17678 Only warn if the access-type is obsolete.
17679 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17680 (byte-compile-variable-set): Adjust callers.
17681 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17682 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17683 setting it as obsolete.
17684 * simple.el (minibuffer-completing-symbol):
17685 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17686 access as obsolete.
17687 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17688 obsolete yet.
17689 * international/quail.el (quail-mouse-choose-completion): Remove unused
17690 code referring to obsolete var.
17691 (quail-choose-completion-string): Remove.
17692 * server.el (server-clients-with, server-kill-buffer-query-function)
17693 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17694 * proced.el (proced-send-signal):
17695 * emacs-lisp/lisp.el (lisp-complete-symbol):
17696 Replace completion-annotate-function with completion-extra-properties.
17697
2462470b
SM
176982011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17699
fb5b2591
SM
17700 * simple.el (goto-line): Use read-number.
17701 (overriding-map-is-bound): Remove.
17702 (saved-overriding-map): Change default.
17703 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17704 Take the map as argument.
17705 (universal-argument, negative-argument, digit-argument): Use it.
17706 (restore-overriding-map): Adjust.
17707 (do-auto-fill): Use fill-forward-paragraph.
17708 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17709
fd6fa53f
SM
17710 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17711 (minibuffer-inactive-mode): New major mode.
17712 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17713 the *Messages* buffer" hack.
17714 (mouse-popup-menubar): Don't burp if the event is a normal key.
17715
2462470b
SM
17716 Miscellaneous tweaks.
17717 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17718 lexical scoping as in subr.el's dolist and dotimes.
17719 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17720 Silence compiler warning.
17721 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17722 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17723 * international/ccl.el (ccl-compile): Trivial simplification.
17724 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17725 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17726 `printflag' argument.
17727 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17728 Purecopy the whole obsolescence data.
17729
108bf785
LL
177302011-06-01 Leo Liu <sdl.web@gmail.com>
17731
17732 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17733 improve doc-string as suggested by Marco Pessotto
17734 <melmothx@gmail.com>.
17735 (rcirc-print): Fix last change.
17736
30a23501
SM
177372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17738
17739 * minibuffer.el (complete-with-action): Return nil for the metadata and
17740 boundaries of non-functional tables.
17741 (completion-table-dynamic): Return nil for the metadata.
17742 (completion-table-with-terminator): Add default case, using
17743 complete-with-action.
17744 (completion--metadata): New function.
17745 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17746 to try and avoid pathological performance problems.
17747 (completion--embedded-envvar-table): Return `category' metadata.
17748
bcd54f83
LMI
177492011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17750
17751 * subr.el (process-alive-p): New tiny convenience function.
17752
e227544d
SM
177532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17754
17755 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17756 content but also its previous major mode.
17757
e8296fdc
HE
177582011-05-31 Helmut Eller <eller.helmut@gmail.com>
17759
4d61f28d 17760 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17761 *Backtrace* buffer when we exit with C-M-c.
17762
620c53a6
SM
177632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17764
17765 * minibuffer.el: Add metadata method to completion tables.
17766 (completion-category-overrides): New defcustom.
17767 (completion-metadata, completion--field-metadata)
17768 (completion-metadata-get, completion--styles)
17769 (completion--cycle-threshold): New functions.
17770 (completion-try-completion, completion-all-completions):
17771 Add `metadata' argument to choose completion-styles.
17772 (completion--do-completion): Use metadata to choose cycling.
17773 (completion-all-sorted-completions): Use metadata for sorting.
17774 Remove :completion-cycle-penalty which is not needed any more.
17775 (completion--try-word-completion): Add `metadata' argument.
17776 (minibuffer-completion-help): Check metadata for annotation function
17777 and sorting.
17778 (completion-file-name-table): Return `category' metadata.
17779 (minibuffer-completing-file-name): Make obsolete.
17780 * simple.el (minibuffer-completing-symbol): Make obsolete.
17781 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17782 completion-try-completion.
17783
1257e755
SM
177842011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17785
17786 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17787
3767e706
LL
177882011-05-30 Leo Liu <sdl.web@gmail.com>
17789
17790 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17791 (rcirc-print): Decode all incoming messages (bug#8744).
17792 (rcirc-decode-coding-system): Allow value nil for automatic coding
17793 system detection.
3767e706 17794
d1a5d56a
GM
177952011-06-01 Glenn Morris <rgm@gnu.org>
17796
17797 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17798
e8cbec34
CY
177992011-05-29 Chong Yidong <cyd@stupidchicken.com>
17800
17801 * image.el (image-animate-max-time): Allow nil and t values.
17802 Default to nil.
17803 (create-animated-image): Doc fix.
17804 (image-animate-start): Remove second arg; just use
17805 image-animate-max-time.
17806 (image-animate-timeout): Doc fix. Args changed.
17807
17808 * image-mode.el (image-toggle-display-image): Ensure that the
17809 image spec passed to the animate timer is the same object as in
58179cce 17810 the buffer's display property (Bug#6981).
e8cbec34
CY
17811 (image-transform-properties): Doc fix.
17812
17813 * image.el (image-animate-max-time): Default to nil.
17814
159daf87
MR
178152011-05-29 Martin Rudalics <rudalics@gmx.at>
17816
17817 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17818 entire buffer list (Bug#8184).
17819
d66c4c7c
CY
178202011-05-29 Chong Yidong <cyd@stupidchicken.com>
17821
17822 * image.el (imagemagick-types-inhibit)
17823 (imagemagick-register-types): Doc fix.
17824
80aec780
DD
178252011-05-29 Deniz Dogan <deniz@dogan.se>
17826
17827 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17828 default.
17829
1dd3c2d9
CY
178302011-05-29 Chong Yidong <cyd@stupidchicken.com>
17831
17832 * select.el: Don't perform clipboard-manager saving in hooks;
17833 leave the hooks empty.
17834
60e56523
LL
178352011-05-28 Leo Liu <sdl.web@gmail.com>
17836
17837 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17838 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17839 (occur-edit-mode): New major mode (Bug#8463).
17840 (occur-after-change-function): New function.
17841 (occur-engine): Give Occur tags a read-only property.
17842
2b1e1a22
KR
178432011-05-28 Kevin Ryde <user42@zip.com.au>
17844
17845 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17846
5d344e88
CY
178472011-05-28 Chong Yidong <cyd@stupidchicken.com>
17848
8e6ca83d
CY
17849 * bindings.el (help-echo): Make the initial non-indicator dash
17850 empty on graphical terminals (Bug#7295).
17851
5d344e88
CY
17852 * files.el (auto-mode-alist): Move config rule after the
17853 in-stripping one (Bug#8547).
17854
bfbbace7
CY
17855 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17856
fbeba6e2
CY
17857 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17858 setting (Bug#8740).
17859
60ed8c72
AA
178602011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17861
4ac619f0
AA
17862 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17863 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17864 (Bug#8539).
60ed8c72 17865
23db196e
CY
178662011-05-28 Chong Yidong <cyd@stupidchicken.com>
17867
17868 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17869
5012f24c
DK
178702011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17871
17872 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17873 (hs-hide-block-at-point, hs-find-block-beginning)
17874 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17875 (Bug#8279).
17876
6a639b16
GM
178772011-05-28 Glenn Morris <rgm@gnu.org>
17878
17879 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17880
d43eaf2c
CY
178812011-05-28 Chong Yidong <cyd@stupidchicken.com>
17882
5199bde1
CY
17883 * help-fns.el (describe-function-1): If the function is a derived
17884 major mode, print the parent mode.
17885
d43eaf2c
CY
17886 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17887 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17888
423428a8
SM
178892011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17890
0ff8e1ba 17891 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17892 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17893 * progmodes/etags.el (tags-completion-at-point-function):
17894 * info-look.el (info-lookup-completions-at-point): Mark as
17895 non-exclusive.
17896 (info-complete): Adjust accordingly.
17897
423428a8
SM
17898 * info-look.el: Convert to lexical-binding and completion-at-point.
17899 (info-lookup-completions-at-point): New function.
17900 (info-complete): Use it and completion-in-region.
17901
b74aa22b
DA
179022011-05-28 Drew Adams <drew.adams@oracle.com>
17903
17904 * isearch.el: Let M-e start with point at the first mismatched char.
17905 (isearch-fail-pos): New function.
17906 (isearch-edit-string): Use it.
17907
66e2e71d
DK
179082011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17909
17910 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17911
b1890b0f 179122011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17913
17914 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17915 traversal functions for avl-trees.
17916 (avl-tree--stack): New struct.
17917 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17918 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17919 (avl-tree--do-enter): Add optional `updatefun' arg.
17920 Change return value.
eb95d01d 17921 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17922 (avl-tree--do-delete): Add `test' and `nilflag' args.
17923 Change return value.
eb95d01d
TC
17924 (avl-tree-member): Add optional `nilflag'
17925 (avl-tree-member-p): New function.
17926 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17927 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17928 (avl-tree-stack-empty-p): New functions.
17929
3769ddcf
TC
17930 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17931 avl-tree--del-balance1 and make it work both ways.
17932 (avl-tree--del-balance2): Remove.
17933 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17934 make it work both ways.
17935 (avl-tree--enter-balance2): Remove.
17936 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17937 New macros.
17938 (avl-tree--mapc, avl-tree-map): Add direction argument.
17939
eb95d01d 179402011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17941
17942 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17943
a9f737ee
CY
179442011-05-27 Chong Yidong <cyd@stupidchicken.com>
17945
17946 * select.el: Support clipboard managers with built-in function
17947 x-clipboard-manager-save, via delete-frame-functions and
17948 kill-emacs-hook.
17949 (xselect-convert-to-targets): Add MULTIPLE target to list.
17950 (xselect-convert-to-save-targets): New function.
17951
c92a1e54
KH
179522011-05-27 Kenichi Handa <handa@m17n.org>
17953
17954 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17955 let-binding rfc2047-encode-encoded-words to nil.
17956
e145f188
GM
179572011-05-27 Glenn Morris <rgm@gnu.org>
17958
5ec8a862
GM
17959 * mail/emacsbug.el: Don't require url-util.
17960
4b29d9fb
GM
17961 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17962
e145f188
GM
17963 * files.el (set-auto-mode):
17964 Also respect mode: entries at the end of the file. (Bug#8586)
17965
7d15102b
GM
179662011-05-26 Glenn Morris <rgm@gnu.org>
17967
98f593b8
GM
17968 * files.el (hack-local-variables-prop-line, hack-local-variables):
17969 Downcase mode names, as seems to be traditional.
27b48e63 17970 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17971
7d15102b
GM
17972 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17973 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17974
51d5b4ec
JD
179752011-05-25 Julien Danjou <julien@danjou.info>
17976
17977 * textmodes/rst.el (rst-define-level-faces): Do not define face
17978 symbol if it is already defined.
17979
91513f63
VB
179802011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17981
17982 * play/5x5.el (5x5-new-game, 5x5-randomize):
17983 Reset 5x5-solver-output to nil when a new grid is cast.
17984 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17985 these debugging traces, as defmacro breaks the compiled code.
17986
4d90d6d0
DK
179872011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17988
17989 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17990
e1b90ef6
LL
179912011-05-24 Leo Liu <sdl.web@gmail.com>
17992
17993 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17994 (vc-bzr-sha1): Adapt.
17995
d8e4b68b 17996 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17997
17998 * bindings.el: Provide sha1 feature.
17999
db0406bb 180002011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18001
18002 * mail/sendmail.el: Require `rfc2047'.
18003 (mail-insert-from-field): Do not perform RFC2047 encoding.
18004 (mail-encode-header): New function.
18005 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18006 buffer to the return value of select-message-coding-system.
18007 Call mail-encode-header.
b8d747b9
KH
18008
18009 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18010
db0406bb 180112011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18012
4d90d6d0
DK
18013 * mail/supercite.el (sc-default-cite-frame):
18014 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18015
eb8a5e9b
GM
180162011-05-24 Glenn Morris <rgm@gnu.org>
18017
f8630703
GM
18018 * progmodes/python.el (brm-menu): Declare.
18019
8831bbed
GM
18020 * emulation/viper.el (viper-set-hooks): Declare.
18021
eb8a5e9b
GM
18022 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18023 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18024 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18025 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18026 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18027 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18028
a2a25d24
SM
180292011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18030
18031 Add an :exit-function for completion-at-point.
18032
18033 * minibuffer.el (completion--done): New fun.
18034 (completion--do-completion): Use it. New arg `expect-exact'.
18035 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18036 since completion--do-completion does it for us now.
18037 (minibuffer-force-complete): Use completion--done and
18038 completion--replace. Handle sole-completion case with more care.
18039 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18040 (completion-extra-properties): New var.
18041 (completion-annotate-function): Make obsolete.
18042 (minibuffer-completion-help): Adjust accordingly.
18043 Use completion-list-insert-choice-function.
18044 (completion-at-point, completion-help-at-point):
18045 Bind completion-extra-properties.
18046 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18047 * simple.el (completion-list-insert-choice-function): New var.
18048 (completion-setup-function): Preserve it.
18049 (choose-completion): Pay attention to it, shuffle the code a bit.
18050 (choose-completion-string): New arg `insert-function'.
18051
18052 * textmodes/bibtex.el: Convert to lexical binding.
18053 (bibtex-mode-map): Use completion-at-point.
18054 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18055 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18056 (bibtex-complete): Define as obsolete alias.
18057 (bibtex-complete-internal): Remove.
18058 (bibtex-format-entry): Remove unused sub-group in regexp.
18059 * shell.el (shell--command-completion-data)
18060 (shell-environment-variable-completion):
18061 * pcomplete.el (pcomplete-completions-at-point):
18062 * comint.el (comint--complete-file-name-data): Use :exit-function
18063 instead of completion-table-with-terminator so it also works for
18064 choose-completion.
18065
e44e373d
SM
180662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18067
4f91a816
SM
18068 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18069
782fc819
SM
18070 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18071 (bug#8710).
18072
e44e373d
SM
18073 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18074
381987c3
KM
180752011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18076
18077 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18078 customization variable and implement: If non-nil, auto-fill will
18079 be inhibited while on topic's header line.
18080
b776bc70
VB
180812011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18082
18083 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18084 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18085 always have a solution in grid size = 5 cases.
18086 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18087 (5x5-solver-output, 5x5-log-buffer): New vars.
18088 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18089 Make these variables buffer local to achieve 5x5 multi-session-ness.
18090 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18091 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18092 (5x5-solve-suggest): New funs.
18093 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18094 randomize a grid so that we ensure that there is always a solution.
18095 (5x5-make-random-grid): Allow other movement than flipping.
18096
7de88b6e
KR
180972011-05-23 Kevin Ryde <user42@zip.com.au>
18098
18099 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18100 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18101 advice and passes PREDICATE.
18102
b1ef1257
SM
181032011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18104
bbca48fe
SM
18105 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18106 byte-compile-lambda if it's actually a lambda.
18107
b1ef1257
SM
18108 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18109 Fix function quoting. Use backquote better.
18110
92a9cc65
YS
181112011-05-22 Yuanle Song <sylecn@gmail.com>
18112
18113 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18114 matching (Bug#8516).
18115
f0fb8059
JA
181162011-01-22 Jari Aalto <jari.aalto@cante.net>
18117
18118 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18119 different face (Bug#8178).
18120
d5b44c93
CY
181212011-05-22 Chong Yidong <cyd@stupidchicken.com>
18122
18123 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18124 defface (Bug#8144).
18125
79106a44
SM
181262011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18127
9c848d8a
SM
18128 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18129 funcall as well (bug#8712). Warn when performing those conversions.
18130 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18131
79106a44
SM
18132 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18133
88dfa756
GM
181342011-05-22 Glenn Morris <rgm@gnu.org>
18135
18136 * files.el (hack-local-variables-prop-line): Small simplifications.
18137 (hack-local-variables, hack-local-variables-prop-line):
18138 If MODE-ONLY, return the mode, rather than just `t'.
18139
b7cf2c79
SM
181402011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18141
18142 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18143
3f1a8558
GM
181442011-05-21 Glenn Morris <rgm@gnu.org>
18145
7e4ccca3
GM
18146 * files.el (hack-local-variables-prop-line, hack-local-variables):
18147 If only interested in the mode, don't bother doing the other stuff.
18148
637d46ca
GM
18149 * image-mode.el (image-after-revert-hook):
18150 Redraw all frames on which the image is visible. (Bug#8567)
18151
973d955b
GM
18152 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18153
3f1a8558
GM
18154 * wid-edit.el (widget-checklist-match-inline):
18155 Fix 2011-04-19 change. (Bug#8649)
18156
96479927
SM
181572011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18158
1dcf791f
SM
18159 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18160 Also allow singlespace after single-letter capitals followed by a dot.
18161
96479927
SM
18162 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18163 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18164
35fd0881
N
181652011-05-20 Nix <nix@esperi.org.uk>
18166
18167 * files.el (basic-save-buffer-2):
18168 Fix handling of break-hardlink-on-save with non-existent files.
18169
82745640
DD
181702011-05-19 Deniz Dogan <deniz@dogan.se>
18171
18172 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18173 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18174
4a720484
GM
181752011-05-19 Glenn Morris <rgm@gnu.org>
18176
d1f21341
GM
18177 * progmodes/f90.el (f90-type-def-re):
18178 Handle "type, bind(c)". (Bug#8691)
18179
4a720484
GM
18180 * emacs-lisp/autoload.el (batch-update-autoloads):
18181 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18182
2fb0a219
MA
181832011-05-18 Michael Albinus <michael.albinus@gmx.de>
18184
18185 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18186 property for the correct connection in case of multihops.
18187
e565dd37
GM
181882011-05-18 Glenn Morris <rgm@gnu.org>
18189
c2571358 18190 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18191 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18192
e565dd37
GM
18193 Rationalize calendar handling of day and month abbrev-arrays.
18194 * calendar/calendar.el (calendar-customized-p): New function.
18195 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18196 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18197 Add :set function.
18198 (calendar-abbrev-length, calendar-day-abbrev-array)
18199 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18200 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18201 Elements may no longer be nil.
18202 (calendar-day-name, calendar-month-name):
18203 Update for changed nature of abbrev arrays.
18204 * calendar/diary-lib.el (diary-name-pattern):
18205 Update for changed nature of abbrev arrays.
18206 (diary-mark-entries-1): Update calendar-make-alist calls.
18207 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18208 * calendar/cal-html.el (cal-html-day-abbrev-array):
18209 Simply inherit from calendar-day-abbrev-array.
18210
1d99a745
SM
182112011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18212
18213 * progmodes/grep.el (grep-mode): Disable default
18214 compilation-directory-matcher setting (bug#8684).
18215
7c1d9aa0
MA
182162011-05-17 Michael Albinus <michael.albinus@gmx.de>
18217
18218 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18219 instead of "head" and "tail". There were problems with SunOS 5.9,
18220 and it performs better.
18221
3952e9d8
GM
182222011-05-17 Glenn Morris <rgm@gnu.org>
18223
2dd12e7f
GM
18224 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18225
e4157b9c
GM
18226 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18227 Replace obsolete function.
18228
8e249bbd
GM
18229 * shell.el (pcomplete-parse-arguments-function): Declare.
18230
3952e9d8
GM
18231 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18232 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18233 (appt-check): Doc fixes.
18234 (appt-disp-window-function, appt-delete-window-function):
18235 Remove needless special case in custom :type.
18236 (appt-display-count): Default to 0, not nil.
18237 (appt-check): Reset appt-display-count to 0, not nil.
18238
c71a0d48 182392011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18240
c71a0d48
GM
18241 * progmodes/python.el (python-font-lock-keywords):
18242 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18243
31d55be9
SM
182442011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18245
18246 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18247
3bfacb2f
KR
182482011-05-16 Kevin Ryde <user42@zip.com.au>
18249
18250 * info-look.el (makefile-automake-mode): New setups, looking in
18251 automake manual, then makefile-mode.
18252 (makefile-mode): Remove automake manual, have it just in
18253 makefile-automake-mode since there's various things different or
18254 not relevant to plain make.
18255 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18256 believe a hypothetical automake-mode would go to makefile-mode,
18257 not the other way around.
18258
c8e83751
CY
182592011-05-15 Chong Yidong <cyd@stupidchicken.com>
18260
5e9e35cd
CY
18261 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18262 hunk-end tags (Bug#8672).
18263
c8e83751
CY
18264 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18265 vc-annotate-show-diff-revision-at-line (Bug#8671).
18266
50b23e5a
GM
182672011-05-14 Glenn Morris <rgm@gnu.org>
18268
7210a739
GM
18269 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18270 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18271 (change-log-font-lock-keywords): Also handle multiple author lines
18272 with leading tabs. (Bug#8644)
7210a739 18273
4691905a
GM
18274 * calendar/appt.el (appt-check): Rename some local variables.
18275 Some simplification/reordering.
18276
50b23e5a
GM
18277 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18278 (feedmail-sendmail-f-doesnt-sell-me-out)
18279 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18280 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18281 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18282 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18283 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18284 (feedmail-binmail-gnulinuxish-template):
18285 Rename from feedmail-binmail-linuxish-template.
18286 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18287 Use insert-buffer-substring.
18288
215cda7c
BC
182892011-05-14 Bill Carpenter <bill@carpenter.org>
18290
18291 * mail/feedmail.el (feedmail-patch-level): Increase.
18292 (feedmail-debug): New custom group.
18293 (feedmail-confirm-outgoing-timeout)
18294 (feedmail-sendmail-f-doesnt-sell-me-out)
18295 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18296 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18297 (feedmail-sender-line, feedmail-from-line)
18298 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18299 (feedmail-spray-this-address)
215cda7c
BC
18300 (feedmail-spray-address-fiddle-plex-list)
18301 (feedmail-queue-use-send-time-for-date)
18302 (feedmail-queue-use-send-time-for-message-id)
18303 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18304 (feedmail-buffer-eating-function):
18305 Doc fixes.
18306 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18307 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18308 (feedmail-message-action-scroll-down): New functions.
18309 (feedmail-queue-directory, feedmail-queue-draft-directory):
18310 Use expand-file-name.
18311 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18312 Remove C-v help entry.
18313 (feedmail-queue-buffer-file-name): New variable.
18314 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18315 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18316 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18317 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18318 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18319 (feedmail-message-action-toggle-spray)
18320 (feedmail-run-the-queue-no-prompts)
18321 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18322 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18323 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18324 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18325 (feedmail-envelope-deducer, feedmail-fiddle-from)
18326 (feedmail-fiddle-sender, feedmail-default-date-generator)
18327 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18328 (feedmail-fiddle-spray-address)
18329 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18330 (feedmail-fiddle-list-of-fiddle-plexes)
18331 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18332 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18333 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18334 Change default. Doc fix.
18335 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18336 (feedmail-binmail-linuxish-template): New constant.
18337 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18338 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18339 (feedmail-send-it): Add debug call.
18340 Use feedmail-queue-buffer-file-name, and
18341 feedmail-send-it-immediately-wrapper.
18342 (feedmail-message-action-send): Add debug call.
18343 Use feedmail-send-it-immediately-wrapper.
18344 (feedmail-queue-express-to-queue): Add debug call.
18345 Run feedmail-queue-express-hook.
18346 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18347 (feedmail-message-action-help-blat):
18348 Rename from feedmail-queue-send-edit-prompt-help-first.
18349 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18350 Check line-endings. Handle errors better.
18351 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18352 Doc fix. Add debug call.
18353 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18354 Use feedmail-queue-send-edit-prompt-inner.
18355 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18356 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18357 from feedmail-queue-send-edit-prompt.
18358 (feedmail-queue-send-edit-prompt-help)
18359 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18360 (feedmail-tidy-up-slug): Add debug call.
18361 Respect feedmail-queue-slug-suspect-regexp.
18362 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18363 (feedmail-dump-message-to-queue): Add debug call.
18364 Expand queue-directory.
18365 (feedmail-dump-message-to-queue): Change message slightly.
18366 Use feedmail-say-chatter.
18367 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18368 (feedmail-send-it-immediately-wrapper): New function.
18369 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18370 Insert empty string rather than newline. Handle full-frame case.
18371 Use catch/throw. Use feedmail-say-chatter.
18372 (feedmail-fiddle-from): Try mail-host-address.
18373 (feedmail-default-message-id-generator): Doc fix.
18374 Bind system-time-locale. Handle missing end.
18375 (feedmail-fiddle-x-mailer): Add debug call.
18376 Handle feedmail-x-mailer-line being nil.
18377 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18378 Add debug call. Use buffer-substring-no-properties.
18379 (feedmail-say-debug, feedmail-say-chatter): New functions.
18380 (feedmail-find-eoh): Give an explicit error.
18381
42c7e61e
UJ
183822011-05-13 Ulf Jasper <ulf.jasper@web.de>
18383
c2571358 18384 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18385 family from helvetica to sans.
c2571358 18386 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18387 etc/images/newsticker.
18388
c2571358 18389 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18390 family from helvetica to sans.
18391
18392 * net/newst-plainview.el (newsticker-new-item-face)
18393 (newsticker-old-item-face, newsticker-immortal-item-face)
18394 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18395 (newsticker-statistics-face): Change default family from
42c7e61e 18396 helvetica to sans.
c2571358 18397 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18398 etc/images/newsticker.
18399
5d3385a0
JB
18400 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18401 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18402 auto-marking.
18403
8497a297
DV
184042011-05-13 Didier Verna <didier@xemacs.org>
18405
18406 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18407 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18408 TODO entries.
8497a297
DV
18409 (lisp-lambda-list-keyword-parameter-indentation)
18410 (lisp-lambda-list-keyword-parameter-alignment)
18411 (lisp-lambda-list-keyword-alignment): New customizable user options.
18412 (lisp-indent-defun-method): Improve docstring.
18413 (extended-loop-p): Fix comment.
18414 (lisp-indent-lambda-list-keywords-regexp): New variable.
18415 (lisp-indent-lambda-list): New function.
18416 (lisp-indent-259): Use it.
18417 (lisp-indent-defmethod): Support for more than one
18418 method qualifier and properly indent methods lambda-lists.
18419 (defgeneric): Provide a missing common-lisp-indent-function property.
18420
f278f87f
SM
184212011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18422
18423 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18424 bounds for the empty string (bug#8667).
18425
5233edd7
GM
184262011-05-13 Glenn Morris <rgm@gnu.org>
18427
5237a44f
GM
18428 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18429
8340026c 18430 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18431 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18432
5233edd7 18433 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18434 (appt-time-msg-list): Doc fix.
a5464014 18435 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18436
92d10796
AS
184372011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18438
18439 * progmodes/ld-script.el (ld-script-keywords)
18440 (ld-script-builtins): Update keywords list.
18441
914a0ae1
SM
184422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18443
c89be45f
SM
18444 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18445
914a0ae1
SM
18446 * shell.el (shell-completion-vars): New function.
18447 (shell-mode):
18448 * simple.el (read-shell-command): Use it.
18449 (blink-matching-open): No need for " [...]" in minibuffer-message.
18450
98dc3df3
GM
184512011-05-12 Glenn Morris <rgm@gnu.org>
18452
18453 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18454 (appt-check): Simplify.
18455
d2fc7e3d 184562011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18457
4d61f28d 18458 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18459 literal "/dev/null".
18460
d2fc7e3d 184612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18462
18463 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18464 Fix typo.
18465
d2fc7e3d 184662011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18467
3f254caa
SM
18468 * progmodes/which-func.el (which-function):
18469 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18470 which might not be defined (Bug#8260).
18471
d45885f7
GM
184722011-05-12 Glenn Morris <rgm@gnu.org>
18473
18474 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18475 Let byte-compile-initial-macro-environment always take precedence.
18476
488086f4
SM
184772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18478
18479 * net/rcirc.el: Add support for SSL/TLS connections.
18480 (rcirc-server-alist): New field `encryption'.
18481 (rcirc): Check `encryption' settings.
18482 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18483 Merge make-local-variable into `set'.
18484 (rcirc--connection-open-p): New function.
18485 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18486 the process is not a network process (e.g. running gnutls-cli).
18487 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18488 Make rcirc-(en|de)code-coding-system local here.
18489 (rcirc-mode): Merge make-local-variable into `set'.
18490 (rcirc-parent-buffer): Make permanent buffer-local.
18491 (rcirc-multiline-minor-mode): Don't do it here.
18492 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18493 there's no server buffer.
18494
7d3b9d44
GM
184952011-05-11 Glenn Morris <rgm@gnu.org>
18496
f64049c6
GM
18497 * newcomment.el (comment-kill): Prefix "unused" local.
18498
93c9df73
GM
18499 * term/w32console.el (get-screen-color): Declare.
18500
7d3b9d44
GM
18501 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18502 Handle symbol elements of byte-compile-initial-macro-environment.
18503
9e2dd53f
LL
185042011-05-10 Leo Liu <sdl.web@gmail.com>
18505
488086f4
SM
18506 * bookmark.el (bookmark-bmenu-mode-map):
18507 Bind bookmark-bmenu-search to `/'.
8b340240 18508
9e2dd53f 18509 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18510 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18511 (Footnote-unicode): New function.
18512 (footnote-style-alist): Add unicode style to the list.
18513 (footnote-style): Doc fix.
9e2dd53f 18514
79b70037
GM
185152011-05-10 Jim Meyering <meyering@redhat.com>
18516
18517 Fix doubled-word typos.
18518 * international/quail.el (quail-insert-kbd-layout): and and -> and
18519 * kermit.el: and and -> and
18520 * net/ldap.el (ldap-search-internal): to to -> to
18521 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18522 * progmodes/js.el (js-mode): and and -> and
18523 * textmodes/artist.el (artist-move-to-xy): at at -> at
18524 (artist-draw-region-trim-line-endings): if if -> if
18525 And Safetyc -> Safety.
18526 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18527
b8f82dc1 185282011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18529 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18530
18531 * files.el (hack-one-local-variable-eval-safep):
18532 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18533
4f99f44b
GM
185342011-05-10 Glenn Morris <rgm@gnu.org>
18535
18536 * calendar/diary-lib.el (diary-list-entries-hook)
18537 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18538 (diary-nongregorian-marking-hook, diary-list-entries)
18539 (diary-include-other-diary-files, diary-mark-entries)
18540 (diary-mark-included-diary-files): Doc fixes.
18541
84f29e6b
JB
185422011-05-09 Juanma Barranquero <lekktu@gmail.com>
18543
18544 * misc.el: Require tabulated-list.el during compilation.
18545
9bedd73a
CY
185462011-05-09 Chong Yidong <cyd@stupidchicken.com>
18547
488086f4
SM
18548 * progmodes/compile.el (compilation-start):
18549 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18550 (compilation-filter-hook): Doc fix.
18551
797c735c
DD
185522011-05-09 Deniz Dogan <deniz@dogan.se>
18553
18554 * wdired.el: Remove outdated installation comment. Fix usage
18555 comment.
18556
5f4b1dfe
JB
185572011-05-09 Juanma Barranquero <lekktu@gmail.com>
18558
18559 * misc.el: Implement new command `list-dynamic-libraries'.
18560 (list-dynamic-libraries--loaded-only-p): New variable.
18561 (list-dynamic-libraries--refresh): New function.
18562 (list-dynamic-libraries): New command.
18563
4c44026c
CY
185642011-05-09 Chong Yidong <cyd@stupidchicken.com>
18565
488086f4
SM
18566 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18567 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18568 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18569 higher priority to avoid clobbering by gnu.
18570
027f966d
CY
185712011-05-08 Chong Yidong <cyd@stupidchicken.com>
18572
18573 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18574 if the face has existing theme settings (Bug#8454).
18575
085f5d7d
CY
185762011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18577
488086f4
SM
18578 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18579 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18580
2a86a00c
RS
18581 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18582 special file names `.' and `..' (Bug#8259).
18583
d9c54a06
CY
185842011-05-08 Chong Yidong <cyd@stupidchicken.com>
18585
488086f4
SM
18586 * progmodes/grep.el (grep-mode-font-lock-keywords):
18587 Remove buffer-changing entries.
d9c54a06
CY
18588 (grep-filter): New function.
18589 (grep-mode): Add it to compilation-filter-hook.
18590
18591 * progmodes/compile.el (compilation-filter-hook)
18592 (compilation-filter-start): New defvars.
18593 (compilation-filter): Call compilation-filter-hook prior to
18594 updating the process mark.
18595
c4662635
SM
185962011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18597
18598 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18599
b0512a1d
EZ
186002011-05-07 Eli Zaretskii <eliz@gnu.org>
18601
605c9376
EZ
18602 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18603 mailclient-send-it even if window-system is nil. (Bug#8595)
18604
c4662635
SM
18605 * term/w32console.el (terminal-init-w32console):
18606 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18607 background-mode. (Bug#8597)
18608
d1dc2cc2
SM
186092011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18610
18611 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18612 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18613 New functions.
18614 (defgeneric, eieio--defmethod): Use them.
18615 (eieio-defgeneric): Remove.
18616 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18617
915d1300
GM
186182011-05-07 Glenn Morris <rgm@gnu.org>
18619
a3961c3e
GM
18620 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18621 Use let rather than let*.
18622 (timeclock-find-discrep): Remove unused local.
18623
314347b9
GM
18624 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18625
915d1300
GM
18626 * calendar/appt.el (appt-time-msg-list): Doc fix.
18627
275b59b0
NF
186282011-05-06 Noah Friedman <friedman@splode.com>
18629
18630 * apropos.el (apropos-print-doc): Only use
18631 emacs-lisp-docstring-fill-column when it is bound to an integer,
18632 per that variable's documentation.
18633
6c19f744
SM
186342011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18635
18636 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18637 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18638
60f884b2
GM
186392011-05-06 Glenn Morris <rgm@gnu.org>
18640
5006e634
GM
18641 * calendar/appt.el (appt-message-warning-time): Doc fix.
18642 (appt-warning-time-regexp): New option.
18643 (appt-make-list): Respect appt-message-warning-time.
18644
548d0a63
GM
18645 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18646 New options.
18647 (diary-add-to-list): Strip comments from the displayed string.
18648 (diary-mode): Set comment-start and comment-end.
18649
60f884b2
GM
18650 * vc/diff-mode.el (smerge-refine-subst): Declare.
18651 (diff-refine-hunk): Don't require smerge-mode when compiling.
18652
989681bb
JB
186532011-05-06 Juanma Barranquero <lekktu@gmail.com>
18654
18655 * simple.el (list-processes): Return nil as the docstring says.
18656
a6bc05e1
MA
186572011-05-05 Michael Albinus <michael.albinus@gmx.de>
18658
18659 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18660 to "".
18661 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18662 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18663 determining of binary transfer. (Bug#7383)
18664
23c22e9a
MA
186652011-05-05 Michael Albinus <michael.albinus@gmx.de>
18666
c4662635
SM
18667 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18668 Fix port computation bug. (Bug#8618)
23c22e9a 18669
0bff894f
GM
186702011-05-05 Glenn Morris <rgm@gnu.org>
18671
b8296902
GM
18672 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18673
1f522ce8
GM
18674 * simple.el (shell-dynamic-complete-functions)
18675 (comint-dynamic-complete-functions): Declare.
18676
cf5bee67
GM
18677 * net/network-stream.el (gnutls-negotiate):
18678 * simple.el (tabulated-list-print): Fix declarations.
18679
18680 * progmodes/gud.el (syntax-symbol, syntax-point):
18681 Remove unnecessary and incorrect declarations.
18682
0bff894f 18683 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18684 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18685
9869b3ae
SM
186862011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18687
18688 Fix earlier half-done eieio-defmethod change (bug#8338).
18689 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18690 Streamline and change calling convention.
18691 (defmethod): Adjust accordingly and simplify.
18692 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18693 new eieio--defmethod.
18694 (slot-boundp): Minor CSE simplification.
18695
9c1d5ac5
MZ
186962011-05-05 Milan Zamazal <pdm@zamazal.org>
18697
18698 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18699 (glasses-make-readable): Use glasses-separate-capital-groups.
18700
455c834e
JB
187012011-05-05 Juanma Barranquero <lekktu@gmail.com>
18702
18703 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18704 (warning-series): Doc fix.
18705 (display-warning): Don't try to create the buffer if we just found it.
18706
9ed7c8cb
CY
187072011-05-04 Chong Yidong <cyd@stupidchicken.com>
18708
18709 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18710 (autoload-find-generated-file): New function.
18711 (generate-file-autoloads): Bind generated-autoload-file to
18712 buffer-file-name.
9869b3ae
SM
18713 (update-file-autoloads, update-directory-autoloads):
18714 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18715 output file (Bug#7989).
18716 (batch-update-autoloads): Doc fix.
18717
0898ca10
JB
187182011-05-04 Juanma Barranquero <lekktu@gmail.com>
18719
18720 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18721
31dfb76c
GM
187222011-05-04 Glenn Morris <rgm@gnu.org>
18723
f330b642
GM
18724 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18725 function, so it follows changes in calendar-date-style.
18726 (diary-fancy-date-matcher): New function.
18727 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18728 (diary-fancy-font-lock-fontify-region-function):
18729 Use diary-fancy-date-pattern as a function.
18730
31dfb76c
GM
18731 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18732 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18733
48e79d6a
TZ
187342011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18735
18736 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18737 instead of positional arguments. Allow :keylist and :crlfiles
18738 arguments.
18739 (open-gnutls-stream): Call it.
18740
18741 * net/network-stream.el (network-stream-open-starttls): Adjust to
18742 call `gnutls-negotiate' with :process and :hostname arguments.
18743
dd5a5ee0
SM
187442011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18745
ef80fc09
SM
18746 * minibuffer.el (completion--message): New function.
18747 (completion--do-completion, minibuffer-complete)
18748 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18749 (completion--do-completion): Don't ignore completion-auto-help when in
18750 icomplete-mode.
18751
dd5a5ee0
SM
18752 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18753 internal encoding (e.g. tibetan zero is not whitespace).
18754 (global-whitespace-mode): Prefer save-current-buffer.
18755 (whitespace-trailing-regexp): Remove useless save-match-data.
18756 (whitespace-empty-at-bob-regexp): Minor simplification.
18757
b7d22a83
CY
187582011-05-03 Chong Yidong <cyd@stupidchicken.com>
18759
18760 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18761
5192af46
AM
187622011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18763
18764 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18765 Use `concat' to create string for insertion.
5192af46 18766
5767d190
SM
187672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18768
18769 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18770 Avoid open-line which runs post-self-insert-hook.
18771 (bibtex-fill-entry): Remove unused `end' var.
18772
bf242939
AM
187732011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18774
5767d190
SM
18775 * textmodes/ispell.el (ispell-add-per-file-word-list):
18776 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18777
25666126
LL
187782011-05-03 Leo Liu <sdl.web@gmail.com>
18779
18780 * isearch.el (isearch-yank-pop): New command.
5767d190 18781 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18782 (isearch-forward): Mention it.
18783
52d3c2d0
SM
187842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18785
1bcace58
SM
18786 * simple.el (minibuffer-complete-shell-command): Remove.
18787 (minibuffer-local-shell-command-map): Use completion-at-point.
18788 (read-shell-command): Setup completion vars here instead.
18789 (read-expression-map): Bind TAB to symbol completion.
18790
52d3c2d0
SM
18791 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18792 error directly rather via storing it into `results'.
18793
35813471
LL
187942011-05-02 Leo Liu <sdl.web@gmail.com>
18795
18796 * vc/diff.el: Fix description.
18797
e793a940
LMI
187982011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18799
18800 * server.el (server-eval-at): New function.
18801
8de66e05
LMI
188022011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18803
18804 * net/network-stream.el (open-network-stream): Take a :nowait
18805 parameter and pass it on to `make-network-process'.
18806 (network-stream-open-plain): Ditto.
18807
dcb79f20
AS
188082011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18809
18810 * faces.el (face-spec-set-match-display): Don't match toolkit
18811 options on terminal frames.
18812
14a7fbd8
SM
188132011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18814
7eabc1be
SM
18815 * progmodes/pascal.el: Use lexical binding.
18816 (pascal-mode-map): Remove author preferences.
18817
14a7fbd8
SM
18818 * pcomplete.el (pcomplete-std-complete): Don't abuse
18819 completion-at-point.
18820
50f84510
JB
188212011-04-28 Juanma Barranquero <lekktu@gmail.com>
18822
6e087a44
JB
18823 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18824 removing code that has been dead since 1991 or so.
18825
50f84510
JB
18826 * startup.el (command-line): When warning about "_emacs", use a
18827 delayed warning to allow the user to filter it out.
18828
0ba690bd
DD
188292011-04-28 Deniz Dogan <deniz@dogan.se>
18830
18831 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18832 user has not joined.
18833
08abfaad
SM
188342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18835
18836 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18837 aren't any completions at point.
18838
638f053a
JB
188392011-04-28 Juanma Barranquero <lekktu@gmail.com>
18840
18841 * subr.el (display-delayed-warnings): New function.
18842 (delayed-warnings-hook): New variable.
18843
8fff8daa
SM
188442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18845
08abfaad
SM
18846 * minibuffer.el (completion-at-point, completion-help-at-point):
18847 Don't presume that a given completion-at-point-function will always
18848 use the same calling convention.
18849
8fff8daa
SM
18850 * pcomplete.el (pcomplete-completions-at-point):
18851 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18852 pcomplete-seen is non-nil.
18853 (pcomplete-comint-setup): Also recognize the new comint/shell
18854 completion functions.
18855 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18856 pcomplete-seen is non-nil.
18857
841a1577 188582011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18859
841a1577 18860 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18861 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18862 the first character in the entry. This allows for code to add its
211ec907
UJ
18863 own uid to the entry.
18864 (icalendar--convert-float-to-ical): Add export of
18865 `diary-float'-entries save for those with the optional DAY
18866 argument.
18867
2a782793
DC
188682011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18869
18870 * subr.el (shell-quote-argument): Use alternate escaping strategy
18871 when we spot a variable reference in a string.
18872
0438ce91
DC
188732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18874
18875 * cus-start.el (all): Define customization for debug-on-event.
18876
841a1577 188772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18878
18879 * subr.el (shell-quote-argument): Escape correctly under Windows.
18880
d090ed6c
SM
188812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18882
18883 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18884
bfd31217
MA
188852011-04-25 Michael Albinus <michael.albinus@gmx.de>
18886
d090ed6c
SM
18887 * net/tramp.el (tramp-process-actions): Add POS argument.
18888 Delete region between POS and (pos).
bfd31217 18889
d090ed6c
SM
18890 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18891 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18892 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18893
18894 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18895 position in `tramp-process-actions' call.
18896
18897 * net/trampver.el: Update release number.
18898
e92f3bd3
SM
188992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18900
850256b5
SM
18901 * custom.el (defcustom): Obey lexical-binding.
18902
e92f3bd3
SM
18903 Fix octave-inf completion problems reported by Alexander Klimov.
18904 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18905 Inherit from octave-mode-syntax-table.
18906 (inferior-octave-mode): Set info-lookup-mode.
18907 (inferior-octave-completion-at-point): New function.
18908 (inferior-octave-complete): Use it and completion-in-region.
18909 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18910 comint-filename-completion.
18911 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18912 symbol elements which shouldn't be word elements.
18913 (octave-font-lock-keywords, octave-beginning-of-defun)
18914 (octave-function-header-regexp): Adjust regexps accordingly.
18915 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18916
cd22b309
JB
189172011-04-25 Juanma Barranquero <lekktu@gmail.com>
18918
18919 * net/gnutls.el (gnutls-errorp): Declare before first use.
18920
8b492194
TZ
189212011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18922
18923 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18924 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18925 default trustfile exists before going to use it. Add missing
5a5fa834 18926 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18927 Reported by Claudio Bley <claudio.bley@gmail.com>.
18928 (open-gnutls-stream): Add usage example.
18929
18930 * net/network-stream.el (network-stream-open-starttls): Give host
18931 parameter to `gnutls-negotiate'.
18932 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18933 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18934
841a1577 189352011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18936
cd22b309
JB
18937 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18938 Use correct match group (bug#8438).
05842630 18939
3ba7869c
CY
189402011-04-24 Chong Yidong <cyd@stupidchicken.com>
18941
512e3ae1
CY
18942 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18943 (package-menu--generate): New arg specifying packages to show.
18944 (package-menu-refresh, package-menu-execute, list-packages):
18945 Callers changed.
18946 (package-show-package-list): New function, replacing deleted
18947 package--list-packages (renamed because it is non-internal).
18948
18949 * finder.el (finder-list-matches): Use package-show-package-list
18950 instead of deleted package--list-packages.
18951
e92f3bd3
SM
18952 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18953 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18954 (vc-annotate-mode-map): Bind it to RET.
18955
7031be6d
UR
189562011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18957
18958 * progmodes/etags.el (next-file): Don't use set-buffer to change
18959 buffers (Bug#8478).
18960
4ef177aa
CY
189612011-04-24 Chong Yidong <cyd@stupidchicken.com>
18962
c8d173eb
CY
18963 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18964
4ef177aa
CY
18965 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18966 (apropos-accumulator): Doc fix.
18967 (apropos-function, apropos-macro, apropos-command)
18968 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18969 (apropos-plist): Add face property.
18970 (apropos-symbols-internal): Fix indentation.
18971 (apropos-print): Simplify help, and recognize apropos-multi-type.
18972 (apropos-print-doc): Use button-type-get to extract the button's
18973 face property. Fill docstring (Bug#8352).
18974
4ffd0d6b 189752011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18976
18977 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18978
c6c32125 18979 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18980 (mpuz-mode-map): Use mapc.
c6c32125
JB
18981 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18982 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18983 Fix typos in docstrings.
18984
58d468b4
JB
18985 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18986 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18987
6470c3c6
JB
18988 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18989
4ffd0d6b 189902011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18991
18992 * minibuffer.el (completion--do-completion): Avoid the "Next char
18993 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18994
3ad8bad0
CY
18995 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18996 mouse-2 into unread-command-events, it is interpreted correctly.
18997
71d73c9c 18998 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18999 (image-toggle-display): Doc fix.
71d73c9c 19000
841a1577 190012011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19002
4ffd0d6b
GM
19003 * textmodes/page.el (what-page): Use line-number-at-pos to
19004 calculate line number (Bug#6825).
6e1dbaa9 19005
c2fb1b60
JB
190062011-04-22 Juanma Barranquero <lekktu@gmail.com>
19007
19008 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19009 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19010 Pass argument NO-DEFAULT to `find-tag-interactive'.
19011
e02f48d7
JB
190122011-04-22 Juanma Barranquero <lekktu@gmail.com>
19013
19014 Lexical-binding cleanup.
19015
19016 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19017 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19018 * progmodes/ada-prj.el (ada-prj-initialize-values)
19019 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19020 (ada-prj-show-value):
19021 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19022 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19023 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19024 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19025 * progmodes/bug-reference.el (bug-reference-push-button):
19026 * progmodes/fortran.el (fortran-line-length):
19027 * progmodes/glasses.el (glasses-change):
19028 * progmodes/octave-mod.el (octave-fill-paragraph):
19029 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19030 (python-pdbtrack-grub-for-buffer, python-sentinel):
19031 * progmodes/sql.el (sql-save-connection):
19032 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19033 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19034 Mark unused parameters.
19035
19036 * progmodes/compile.el (compilation--flush-directory-cache)
19037 (compilation--flush-parse, compile-internal): Mark unused parameters.
19038 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19039 (compilation-next-error-function): Remove unused variable `timestamp'.
19040
19041 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19042 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19043
19044 * progmodes/dcl-mode.el (dcl-end-of-command):
19045 Remove unused variable `start'.
19046 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19047 (dcl-option-value-basic, dcl-option-value-offset)
19048 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19049 Mark unused parameters.
19050 (dcl-save-local-variable): Remove unused variable `val'.
19051 (mode): Declare.
19052
19053 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19054 Mark unused parameters.
19055 (delphi-ignore-changes): Move before first use.
19056 (delphi-charset-token-at): Remove unused variable `start'.
19057 (delphi-else-start): Remove unused variable `if-count'.
19058 (delphi-comment-block-start, delphi-comment-block-end):
19059 Remove unused variable `kind'.
19060 (delphi-indent-line): Remove unused variable `new-point'.
19061
19062 * progmodes/ebrowse.el (ebrowse-files-list)
19063 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19064 Mark unused parameters. Don't quote `lambda'.
19065 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19066 Don't quote `lambda'.
19067 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19068 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19069 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19070 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19071 Use `ignore-errors'.
19072 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19073 (ebrowse-view/find-file-and-search-pattern)
19074 (ebrowse-view/find-member-declaration/definition):
19075 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19076 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19077 Rename parameter PREFIX-ARG to PREFIX.
19078 (ebrowse-tags-read-name): Remove unused variables `start' and
19079 `member-info'.
19080 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19081 to `tags-file'.
19082
19083 * progmodes/etags.el (local-find-tag-hook): Declare.
19084 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19085 Mark unused parameters.
19086
19087 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19088 (executable-interpret): Mark unused parameter.
19089
19090 * progmodes/flymake.el (flymake-process-sentinel)
19091 (flymake-after-change-function)
19092 (flymake-create-temp-with-folder-structure)
19093 (flymake-get-include-dirs-dot): Mark unused parameters.
19094 (flymake-safe-delete-directory): Remove unused variable `err'.
19095
19096 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19097 (speedbar-timer-fn, speedbar-line-text)
19098 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19099 (speedbar-center-buffer-smartly): Declare functions.
19100 (gdb-find-watch-expression): Remove unused variable `array'.
19101 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19102 (gdb-starting): Mark unused parameters.
19103 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19104 (gdb-table-string): Remove unused variable `res'.
19105 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19106 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19107 (gdb-display-buffer): Remove unused variable `cur-size'.
19108
19109 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19110 allow lexical-binding compilation.
19111 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19112 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19113 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19114 Mark unused parameters.
19115 (gud-gdb-marker-filter): Remove unused variable `match'.
19116 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19117 lambda expressions and funcall them, instead of using `fset'.
19118
19119 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19120 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19121
19122 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19123 variable `header-beg'; use `let'.
19124
19125 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19126 `restart', `last-sexp' and `at-do'.
19127
19128 * progmodes/js.el (js--debug): Mark unused parameter.
19129 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19130 (js--splice-into-items): Remove unused variable `item'.
19131 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19132
19133 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19134 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19135 (makefile-complete): Remove unused variable `try'.
19136 (makefile-fill-paragraph, makefile-match-function-end):
19137 Mark unused parameters.
19138
19139 * progmodes/octave-inf.el (inferior-octave-complete):
19140 Remove unused variable `proc'.
19141 (inferior-octave-output-digest): Mark unused parameter.
19142
19143 * progmodes/perl-mode.el (perl-calculate-indent):
19144 Remove unused variable `err'.
19145
19146 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19147 (prolog-indent-line): Mark unused parameters.
19148 (prolog-indent-line): Remove unused variable `beg'.
19149
19150 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19151 (reporter-dont-compact-list): Declare.
19152
19153 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19154 Remove unused variable `char'.
19155 (sh-debug): Mark unused parameter.
19156 (sh-get-indent-info): Remove unused variable `start'.
19157 (sh-calculate-indent): Remove unused variable `var'.
19158
19159 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19160 (simula-electric-keyword): Remove unused variable `null'.
19161 (simula-search-backward, simula-search-forward): Remove unused
19162 variables `begin' and `end'.
19163
19164 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19165 Remove unused variable `pos'.
19166 (vera-electric-tab, vera-comment-uncomment-region):
19167 Mark unused parameters.
19168 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19169
7ede3b65
CY
191702011-04-22 Chong Yidong <cyd@stupidchicken.com>
19171
19172 * emacs-lisp/package.el (package--builtins, package-alist)
19173 (package-load-descriptor, package-built-in-p, package-activate)
19174 (define-package, package-installed-p)
19175 (package-compute-transaction, package-buffer-info)
19176 (package--push): Doc fix. Distinguish more clearly between
19177 version strings and version lists.
19178
121656e9
JB
191792011-04-21 Juanma Barranquero <lekktu@gmail.com>
19180
19181 Lexical-binding cleanup.
19182
19183 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19184 (5x5-make-mutate-best):
19185 * play/fortune.el (fortune-in-buffer):
19186 * play/gomoku.el (gomoku-init-display):
19187 * play/solitaire.el (solitaire, solitaire-do-check):
19188 * play/tetris.el (tetris-default-update-speed-function):
19189 Mark unused parameters.
19190
19191 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19192 (bubbles--shift): Remove unused variable `char-org'.
19193 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19194 (bubbles--show-images): Remove unused variable `char'.
19195
19196 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19197 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19198 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19199 (decipher-analyze-buffer): Use ?\s.
19200 (decipher-make-checkpoint): Remove unused variable `mapping'.
19201
19202 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19203
19204 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19205 Remove unused variable `result'; use `let'.
19206
19207 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19208 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19209 (gametree-children-shown-p, gametree-compute-reduced-score):
19210 Use `ignore-errors'.
19211
19212 * play/handwrite.el (ps-lpr-switches): Declare.
19213 (handwrite): Remove unused variables `pmin' and `lastp'.
19214
19215 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19216
19217 * play/landmark.el (landmark-init-display)
19218 (landmark-update-naught-weights): Mark unused parameters.
19219 (landmark-y): Remove unused variable `noise'. Simplify.
19220 (landmark-human-plays): Remove unused variable `score'.
19221
19222 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19223 (mpuz-try-proposal): Remove unused variable `game'.
19224
19225 * play/zone.el (life-patterns): Declare.
19226
80f499c7
JB
192272011-04-20 Juanma Barranquero <lekktu@gmail.com>
19228
19229 * vc/vc.el (ediff-vc-internal): Declare function.
19230
024ff170
SM
192312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19232
c0a193ea
SM
19233 * shell.el: Use lexical-binding and std completion UI.
19234 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19235 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19236 comint-preoutput-filter-functions rather than on
19237 comint-output-filter-functions.
19238 (shell-command-completion, shell--command-completion-data)
19239 (shell-filename-completion, shell-environment-variable-completion)
19240 (shell-c-a-p-replace-by-expanded-directory): New functions.
19241 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19242 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19243 (shell-dynamic-complete-environment-variable): Use them.
19244 (shell-dynamic-complete-as-environment-variable)
19245 (shell-dynamic-complete-as-command): Remove.
19246 (shell-match-partial-variable): Match past point.
19247 * comint.el: Clean up use of completion-at-point-functions.
19248 (comint-completion-at-point): New function.
19249 (comint-mode): Use it completion-at-point-functions.
19250 (comint-dynamic-complete): Make it obsolete.
19251 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19252 (comint-c-a-p-replace-by-expanded-history): New function.
19253 (comint-dynamic-complete-functions)
19254 (comint-replace-by-expanded-history): Use it.
19255 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19256 termination strings. Try harder to avoid second try-completion.
19257 (completion-in-region-mode-map): Disable bindings that don't work yet.
19258
2dbaa080
SM
19259 * comint.el: Use lexical-binding. Require CL.
19260 (comint-dynamic-complete-functions): Use comint-filename-completion.
19261 (comint-completion-addsuffix): Tweak custom type.
19262 (comint-filename-completion, comint--common-suffix)
19263 (comint--common-quoted-suffix, comint--table-subvert)
19264 (comint--complete-file-name-data): New functions.
19265 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19266 (comint-dynamic-list-filename-completions): Use them.
19267 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19268
2dbaa080
SM
19269 * minibuffer.el (completion-in-region-mode):
19270 Keep completion-in-region-mode--predicate global.
19271 (completion-in-region--postch):
19272 Assume completion-in-region-mode--predicate is not null.
19273
c79a6f38
SM
19274 * progmodes/flymake.el (flymake-start-syntax-check-process):
19275 Obey `dir'. Simplify.
19276
024ff170
SM
19277 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19278 we're in VC after all.
19279
1c6c854e
CS
192802011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19281
19282 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19283 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19284 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19285
bed7f140
SM
192862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19287
332e62ab
SM
19288 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19289 add sanity check.
19290
bed7f140
SM
19291 * obsolete/erc-hecomplete.el: Make obsolete.
19292 * obsolete/: Standardize obsolescence info in the header.
19293
f195c582
GM
192942011-04-20 Glenn Morris <rgm@gnu.org>
19295
19296 * calendar/solar.el (solar-horizontal-coordinates):
19297 Use the longitude argument rather than `calendar-longitude'.
19298 (solar-date-next-longitude): Remove unused locals.
19299
cb79b8c0
VJL
193002011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19301
19302 * whitespace.el: New version 13.2.1.
19303
193042011-04-20 felix <EmacsWiki> (tiny change)
19305
d8e4b68b 19306 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19307 switching between major modes on a file.
19308
602ea69d
SM
193092011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19312 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19313 multi-line comments as well.
19314
06b60517
JB
193152011-04-19 Juanma Barranquero <lekktu@gmail.com>
19316
19317 Lexical-binding cleanup.
19318
19319 * arc-mode.el (archive-mode-revert):
19320 * cmuscheme.el (scheme-interactively-start-process):
19321 * custom.el (custom-initialize-delay):
19322 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19323 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19324 * emacs-lock.el (emacs-lock-clear-sentinel):
19325 * ezimage.el (defezimage):
19326 * follow.el (follow-avoid-tail-recenter):
19327 * fringe.el (set-fringe-mode-1):
19328 * generic-x.el (bat-generic-mode-compile):
19329 * help-mode.el (help-info-variable, help-do-xref)
19330 (help-mode-revert-buffer):
19331 * help.el (view-emacs-todo):
19332 * iswitchb.el (iswitchb-completion-help):
19333 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19334 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19335 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19336 * locate.el (locate-update):
19337 * longlines.el (longlines-encode-region)
19338 (longlines-after-change-function):
19339 * outline.el (outline-isearch-open-invisible):
19340 * ps-def.el (declare-function, charset-dimension, char-width)
19341 (encode-char):
19342 * ps-mule.el (ps-mule-plot-string):
19343 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19344 (recentf-edit-list-select, recentf-edit-list-validate)
19345 (recentf-open-files-action):
19346 * rect.el (delete-whitespace-rectangle-line)
19347 (rectangle-number-line-callback):
19348 * register.el (window-configuration-to-register)
19349 (frame-configuration-to-register):
19350 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19351 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19352 (xselect-convert-to-targets, xselect-convert-to-delete)
19353 (xselect-convert-to-filename, xselect-convert-to-charpos)
19354 (xselect-convert-to-lineno, xselect-convert-to-colno)
19355 (xselect-convert-to-os, xselect-convert-to-host)
19356 (xselect-convert-to-user, xselect-convert-to-class)
19357 (xselect-convert-to-name, xselect-convert-to-integer)
19358 (xselect-convert-to-atom, xselect-convert-to-identity):
19359 * subr.el (declare, ignore, process-kill-without-query)
19360 (text-clone-maintain):
19361 * terminal.el (te-get-char, te-tic-sentinel):
19362 * tool-bar.el (tool-bar-make-keymap):
19363 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19364 * type-break.el (type-break-mode, type-break-noninteractive-query):
19365 * view.el (View-back-to-mark):
19366 * wid-browse.el (widget-browse-action, widget-browse-widget)
19367 (widget-browse-widgets, widget-browse-sexp):
19368 * widget.el (define-widget-keywords):
19369 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19370 Mark unused parameters.
19371
19372 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19373 (align-areas): Remove unused variable `look'.
19374 (align-region): Remove unused variables `real-end' and `pos-list'.
19375
19376 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19377
19378 * bindings.el (mode-line-modified, mode-line-remote):
19379 Mark unused parameters.
19380 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19381
19382 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19383 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19384
19385 * comint.el (comint-history-isearch-pop-state)
19386 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19387 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19388 (comint-substitute-in-file-name): Doc fix.
19389
19390 * completion.el (cmpl-statistics-block): Mark unused parameter.
19391 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19392 (save-completions-to-file, load-completions-from-file):
19393 Remove unused local variable `e'.
19394
19395 * composite.el (compose-chars): Remove unused variable `len'.
19396 (lgstring-insert-glyph): Remove unused variable `g'.
19397 (compose-glyph-string): Remove unused variables `ascent',
19398 `descent', `lbearing' and `rbearing'.
19399 (compose-glyph-string-relative): Remove unused variables
19400 `lbearing', `rbearing' and `wadjust'.
19401 (compose-gstring-for-graphic): Remove unused variables `header',
19402 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19403 (compose-gstring-for-terminal): Remove unused variables `header'
19404 and `nchars'. Use `let', not `let*'.
19405
19406 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19407 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19408 (Custom-buffer-done, custom-buffer-create-internal)
19409 (custom-browse-visibility-action, custom-browse-group-tag-action)
19410 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19411 (widget-magic-mouse-down-action, custom-toggle-parent)
19412 (custom-add-parent-links, custom-toggle-hide-variable)
19413 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19414 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19415 (custom-face-menu-create, custom-variable-menu-create, get)
19416 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19417 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19418 (customize-apropos): Remove unused variable `tests'.
19419 (custom-group-value-create): Remove unused variable `hidden-p'.
19420 (sort-fold-case): Declare.
19421
19422 * cus-theme.el (custom-reset-standard-faces-list)
19423 (custom-reset-standard-variables-list): Declare.
19424 (customize-create-theme, custom-theme-revert, custom-theme-write)
19425 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19426 Mark unused parameters.
19427
19428 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19429
19430 * delim-col.el (delimit-columns-max): Move defvar before first use.
19431
19432 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19433 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19434
19435 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19436 (auto-insert): Declare.
19437 (desktop-restore-file-buffer): Rename desktop-* parameters;
19438 mark unused ones.
19439 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19440 (desktop-buffer): Rename desktop-* parameters.
19441
19442 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19443 (dframe-reposition-frame-xemacs, dframe-help-echo)
19444 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19445 Mark unused parameters.
19446
19447 * dired-aux.el (backup-extract-version-start, overwrite-query)
19448 (overwrite-backup-query, rename-regexp-query)
19449 (rename-non-directory-query): Declare.
19450 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19451 (dired-add-entry): Remove unused variable `orig-file-name'.
19452 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19453 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19454 `dired-copy-preserve-time' directly.
19455 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19456 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19457
19458 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19459 (dired-virtual-revert, dired-make-relative-symlink):
19460 Mark unused parameters.
19461 (manual-program): Declare.
19462 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19463 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19464 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19465
19466 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19467
19468 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19469
19470 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19471 Declare.
19472
19473 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19474
19475 * electric.el (Electric-command-loop): Rename parameter
19476 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19477
19478 * expand.el (expand-in-literal): Remove unused variable `here'.
19479
19480 * facemenu.el (facemenu-add-new-color):
19481 Remove unused variable `docstring'.
19482
19483 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19484 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19485 (face-attr-construct): Mark unused parameter. Doc fix.
19486 (read-color): Remove unused variable `hex-string'.
19487
19488 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19489 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19490 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19491 (display-buffer-other-frame): Remove unused variable `old-window'.
19492 (kill-buffer-hook): Declare.
19493 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19494 Mark unused parameters.
19495 (after-find-file): Pass 1 to `auto-save-mode', not t.
19496
19497 * files-x.el (auto-insert): Declare.
19498 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19499
19500 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19501 variable `buf'. Mark unused parameter.
06b60517
JB
19502 (find-lisp-insert-directory): Mark unused parameter.
19503
19504 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19505 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19506 (format-common-tail): Remove, unused.
19507 (format-deannotate-region): Remove unused variable `loc'.
19508 (format-annotate-region): Remove unused variable `p'.
19509 (format-annotate-single-property-change): Remove unused variables
19510 `default' and `tail'.
19511
19512 * forms.el (read-file-filter): Declare.
19513 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19514
19515 * frame.el (frame-creation-function-alist): Mark unused parameter.
19516 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19517
19518 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19519 Remove unused parameters.
19520 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19521 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19522
19523 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19524 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19525 (hfy-prepare-tag-map): Mark unused parameters.
19526 (htmlfontify-buffer): Use `called-interactively-p'.
19527
19528 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19529 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19530 (ibuffer-do-occur): Mark unused parameters.
19531 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19532 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19533
19534 * ibuffer.el: Don't quote `lambda'.
19535 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19536 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19537 Mark unused parameters.
19538
19539 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19540 (ido-completing-read): Mark unused parameters.
19541 (ido-copy-current-word): Mark unused parameters;
19542 remove unused variable `name'.
19543 (ido-sort-merged-list): Remove unused parameter `dirs'.
19544
19545 * ielm.el (ielm-input-sender): Mark unused parameter.
19546 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19547 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19548 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19549 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19550 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19551
19552 * image-dired.el (image-dired-display-thumbs): Remove unused
19553 variables `curr-file' and `count'.
19554 (image-dired-remove-tag): Remove unused variable `start'.
19555 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19556 variable `curr-file'
19557 (image-dired-rotate-original): Remove unused variable `temp-file'.
19558 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19559 Remove unused variable `file'.
19560 (image-dired-gallery-generate): Remove unused variable `curr'.
19561 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19562
19563 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19564
19565 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19566
19567 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19568
19569 * isearch.el (minibuffer-history-symbol): Declare.
19570 (isearch-edit-string): Remove unused variable `err'.
19571 (isearch-message-prefix, isearch-message-suffix):
19572 Mark unused parameters.
19573
19574 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19575
19576 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19577
19578 * makesum.el (double-column): Remove unused variable `cnt'.
19579
19580 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19581 (ido-ignore-item-temp-list): Declare.
19582
19583 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19584 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19585 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19586 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19587 `mouse-col-delta'.
19588
19589 * mouse-sel.el (mouse-extend-internal):
19590 Remove unused variable `orig-window-frame'.
19591
19592 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19593 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19594 Move declarations before first use.
19595 (pcomplete-opt): Mark unused parameters; doc fix.
19596
19597 * proced.el (proced-revert): Mark unused parameter.
19598 (proced-send-signal): Remove unused variable `err'.
19599
19600 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19601 Rename parameter PREFIX-ARG to ARG.
19602 (ps-basic-plot-string, ps-basic-plot-whitespace):
19603 Mark unused parameters.
19604
19605 * replace.el (replace-count): Define.
19606 (occur-revert-function): Mark unused parameters.
19607 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19608 (isearch-case-fold-search, isearch-string): Declare.
19609 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19610 bind `case-fold-search'. Remove unused variables `beg' and `end',
19611 and simplify.
19612 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19613 COUNT and bind `replace-count'.
19614 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19615 to COUNT.
19616
19617 * savehist.el (print-readably, print-string-length): Declare.
19618
19619 * shadowfile.el (shadow-expand-cluster-in-file-name):
19620 Remove unused variable `cluster'.
19621 (shadow-copy-file): Remove unused variable `i'.
19622 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19623 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19624 (shadow-define-literal-group, shadow-define-regexp-group)
19625 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19626
19627 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19628 (shell): Use `called-interactively-p'.
19629 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19630
19631 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19632 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19633 (delete-backward-char): Remove unused variable `ocol'.
19634 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19635 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19636 (event-apply-hyper-modifier, event-apply-shift-modifier)
19637 (event-apply-control-modifier, event-apply-meta-modifier):
19638 Mark unused parameters.
19639 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19640 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19641
19642 * speedbar.el (speedbar-ignored-directory-expressions)
19643 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19644 (speedbar-find-file, speedbar-dir-follow)
19645 (speedbar-directory-buttons-follow, speedbar-tag-find)
19646 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19647 (speedbar-buffers-line-directory, speedbar-buffer-click):
19648 Mark unused parameters.
19649 (speedbar-tag-file): Remove unused variable `mode'.
19650 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19651
19652 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19653
19654 * talk.el (talk): Remove unused variable `display'.
19655
19656 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19657 (tar-write-region-annotate): Mark unused parameter.
19658
19659 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19660 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19661 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19662 warning by another.
19663
19664 * time-stamp.el (time-stamp-string-preprocess):
19665 Remove unused variable `require-padding'.
19666
19667 * tree-widget.el (widget-glyph-enable): Declare.
19668 (tree-widget-action): Mark unused parameter.
19669
19670 * w32-fns.el (x-get-selection): Mark unused parameter.
19671 (autoload-make-program, generated-autoload-file): Declare.
19672
19673 * wdired.el (wdired-revert): Mark unused parameters.
19674 (wdired-xcase-word): Remove unused variable `err'.
19675
19676 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19677 (whitespace-help-scroll): Remove unused variable `data-help'.
19678
19679 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19680 (widget-image-insert, widget-after-change, default)
19681 (widget-default-format-handler, widget-default-notify)
19682 (widget-default-prompt-value, widget-info-link-action)
19683 (widget-url-link-action, widget-function-link-action)
19684 (widget-variable-link-action, widget-file-link-action)
19685 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19686 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19687 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19688 (widget-insert-button-action, widget-delete-button-action, visibility)
19689 (widget-documentation-link-action, widget-documentation-string-action)
19690 (widget-const-prompt-value, widget-regexp-match, symbol)
19691 (widget-coding-system-prompt-value)
19692 (widget-key-sequence-value-to-external, sexp)
19693 (widget-sexp-value-to-internal, character, vector, cons)
19694 (widget-choice-prompt-value, widget-boolean-prompt-value)
19695 (widget-color--choose-action): Mark unused parameters.
19696 (widget-item-match-inline, widget-choice-match-inline)
19697 (widget-checklist-match, widget-checklist-match-inline)
19698 (widget-group-match): Rename parameter VALUES to VALS.
19699 (widget-field-value-set): Remove unused variable `size'.
19700 (widget-color-action): Remove unused variables `value' and `start'.
19701
19702 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19703 variable `dir'. Doc fix.
06b60517
JB
19704 (windmove-find-other-window): Don't pass it.
19705
19706 * window.el (count-windows): Mark unused parameter.
19707 (bw-adjust-window): Remove unused variable `err'.
19708
19709 * woman.el (woman-file-name): Remove unused variable `default'.
19710 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19711 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19712 (global-font-lock-mode): Declare.
19713 (woman-decode-region): Mark unused parameter.
19714 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19715
19716 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19717 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19718 (x-dnd-handle-moz-url): Remove unused variable `title'.
19719 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19720
19721 * xml.el (xml-parse-tag, xml-parse-attlist):
19722 Remove unused variable `pos'.
19723
bc4f7f3d
GM
197242011-04-19 Glenn Morris <rgm@gnu.org>
19725
19726 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19727 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19728 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19729 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19730 * calendar/cal-html.el (cal-html-insert-minical):
19731 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19732 (calendar-mark-date-pattern):
19733 Prefix "unused" locals.
19734
19735 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19736 optional argument `style'.
19737
19738 * calendar/appt.el (appt-make-list):
19739 * calendar/cal-china.el (calendar-chinese-date-string):
19740 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19741 (diary-hebrew-yahrzeit):
19742 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19743 * calendar/calendar.el (calendar-generate-window):
19744 * calendar/time-date.el (time-to-days):
19745 Remove unused local variables.
19746
16a43933
CY
197472011-04-18 Chong Yidong <cyd@stupidchicken.com>
19748
19749 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19750 glyphless-char-display table.
19751 (tabulated-list-glyphless-char-display): New var.
19752
7eed1860
SS
197532011-04-18 Sam Steingold <sds@gnu.org>
19754
19755 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19756 to acknowledgments.
19757
4d2d1ccd
GM
197582011-04-17 Glenn Morris <rgm@gnu.org>
19759
19760 * calendar/diary-lib.el (diary-sexp-entry):
19761 * calendar/holidays.el (holiday-sexp):
19762 Set debug-on-error rather than the removed stack-trace-on-error.
19763
239da61d
GM
197642011-04-16 Glenn Morris <rgm@gnu.org>
19765
19766 * progmodes/f90.el: Use lexical-binding.
19767 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19768
8b05752a
SM
197692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19770
daca8ba5
SM
19771 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19772 (mail-mode): Setup mailalias completion here instead.
19773 * mail/mailalias.el: Use lexical-binding.
19774 (pattern, mailalias-done): Declare dynamic.
19775 (mail-completion-at-point-function): New function, from mail-complete.
19776 (mail-complete): Use it.
19777 (mail-completion-expand): New function.
19778 (mail-get-names): Use it.
19779 (mail-directory, mail-directory-process, mail-directory-stream):
19780 Don't use `pattern' for lexically bound arg.
19781
6f542485
SM
19782 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19783
037e7c3f
SM
19784 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19785 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19786 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19787
8b05752a
SM
19788 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19789 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19790 (byte-interactive-p): Define them again, for use when inlining
19791 old code.
19792
49093f60
JB
197932011-04-15 Juanma Barranquero <lekktu@gmail.com>
19794
19795 * loadup.el: Use `string-to-number', not `string-to-int'.
19796
b5b8e7de
SM
197972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19798
19799 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19800 gud-gdb-complete-command.
19801 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19802 (gud-gdb-completion-at-point): New function.
19803 (gud-gdb-completions): Remove.
19804
f42efeb5
MA
198052011-04-14 Michael Albinus <michael.albinus@gmx.de>
19806
49093f60
JB
19807 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19808 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19809 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19810 whether `executable-find' is bound.
f42efeb5
MA
19811
19812 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19813
e240cc21
SM
198142011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19815
19816 * minibuffer.el (completion-in-region-mode-predicate)
19817 (completion-in-region-mode--predicate): New vars.
19818 (completion-in-region, completion-in-region--postch)
19819 (completion-in-region-mode): Use them.
19820 (completion--capf-wrapper): Also return the hook function.
19821 (completion-at-point, completion-help-at-point):
19822 Adjust and provide a predicate.
c2bd2ab0
SM
19823
19824 Preserve arg names for advice of subr and lexical functions (bug#8457).
19825 * help-fns.el (help-function-arglist): Consolidate the subr and
19826 new-byte-code cases. Add argument `preserve-names' to extract names
19827 from the docstring when needed.
19828 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19829 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19830 (ad-arglist): Use help-function-arglist's new arg.
19831 (ad-definition-type): Use cond.
19832
c183f693
JB
198332011-04-13 Juanma Barranquero <lekktu@gmail.com>
19834
06641a47
JB
19835 * autorevert.el (auto-revert-handler):
19836 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19837 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19838 Don't quote lambda.
19839
c183f693
JB
19840 * image-mode.el (image-transform-set-scale):
19841 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19842
1e3b6001
G
198432011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19844
19845 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19846 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19847 Upgrades via gnutls-cli are too slow to be done opportunistically.
19848
2d6af8dd
JB
198492011-04-12 Juanma Barranquero <lekktu@gmail.com>
19850
19851 * dframe.el (dframe-current-frame): Remove spurious quote.
19852
c0749a51
GM
198532011-04-12 Glenn Morris <rgm@gnu.org>
19854
088d0d61
GM
19855 * calendar/cal-tex.el (cal-tex-end-document):
19856 Try to automatically use latin1 input if needed.
19857
c0749a51
GM
19858 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19859 Don't try to cons a mark onto an empty element.
19860
5c90fde0
LL
198612011-04-11 Leo Liu <sdl.web@gmail.com>
19862
19863 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19864 buffers.
19865 (ido-kill-buffer-at-head): Support killing virtual buffers.
19866
369e974d
CY
198672011-04-10 Chong Yidong <cyd@stupidchicken.com>
19868
19869 * minibuffer.el (completion-show-inline-help): New var.
19870 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19871 (minibuffer-force-complete, minibuffer-complete-word):
19872 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19873
19874 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19875 to avoid interference from inline help (Bug#5849).
19876
37f1c930
LL
198772011-04-10 Leo Liu <sdl.web@gmail.com>
19878
099c39a4
JB
19879 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19880 Fix typo.
37f1c930 19881
a32d4040
CY
198822011-04-09 Chong Yidong <cyd@stupidchicken.com>
19883
19884 * image-mode.el (image-toggle-display-image): Signal an error if
19885 not in Image mode.
19886 (image-transform-mode, image-transform-resize)
19887 (image-transform-set-rotation): Doc fix.
daca8ba5 19888 (image-transform-set-resize): Delete.
a32d4040
CY
19889 (image-transform-set-scale, image-transform-fit-to-height)
19890 (image-transform-fit-to-width): Handle image-toggle-display-image
19891 and image-transform-resize directly.
19892
099c39a4 198932011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19894
19895 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19896 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19897 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19898 (doc-view-mode-map): Add bindings for the new functions.
19899
099c39a4 199002011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19901
4d61f28d 19902 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19903 Fix typo in docstring.
19904
3726838a
EZ
199052011-04-08 Eli Zaretskii <eliz@gnu.org>
19906
04f33f1e
EZ
19907 * files.el (file-size-human-readable): Produce one digit after
19908 decimal, like "ls -lh" does.
19909
19910 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19911 the file size representation.
19912
3726838a
EZ
19913 * simple.el (list-processes): If async subprocesses are not
19914 available, error out with a clear error message.
19915
cbb59342
CY
199162011-04-08 Chong Yidong <cyd@stupidchicken.com>
19917
19918 * help.el (help-form-show): New function, to be called from C.
19919 Put help-form output in a buffer named differently than *Help*.
19920
e3971c44
EZ
199212011-04-08 Eli Zaretskii <eliz@gnu.org>
19922
19923 * files.el (file-size-human-readable): New function.
19924
19925 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19926 computing the representation inline. Don't require `cl'.
19927
12544bbe
GM
199282011-04-08 Glenn Morris <rgm@gnu.org>
19929
a1de6c6a
GM
19930 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19931
3c4671f4
GM
19932 * net/browse-url.el (browse-url-firefox):
19933 Test system-type, not system-configuration.
19934
b605679c
GM
19935 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19936 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19937 Use log-edit-empty-buffer-p. (Bug#7598)
19938
56442f0c
GM
19939 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19940 (rlogin-mode-map): Initialize in the defvar.
19941 (rlogin): Use ignore-errors.
19942
12544bbe
GM
19943 * replace.el (occur-mode-map): Some fixes for menu items.
19944
eb237b0f
AH
199452011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19946
19947 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19948
7d668f2c
CY
199492011-04-06 Chong Yidong <cyd@stupidchicken.com>
19950
e67a13ab
CY
19951 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19952 issuing unused warnings.
19953
19954 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19955 macro directly.
19956
7d668f2c
CY
19957 * simple.el: Lisp reimplement of list-processes. Based on an
19958 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19959 (process-menu-mode): New major mode.
19960 (list-processes--refresh, list-processes):
19961 (process-menu-visit-buffer): New functions.
19962
19963 * files.el (save-buffers-kill-emacs): Don't assume any return
19964 value of list-processes, which is undocumented anyway.
19965
a83ec3c9
CY
199662011-04-06 Chong Yidong <cyd@stupidchicken.com>
19967
19968 * emacs-lisp/tabulated-list.el: New file.
19969
e91a96fe
CY
19970 * emacs-lisp/package.el: Use Tabulated List mode.
19971 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19972 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19973 table format using Tabulated List mode variables.
19974 (package--push): New macro, replacing package-list-maybe-add.
19975 (package-menu--generate): Use package--push. Renamed from
19976 package--generate-package-list.
19977 (package-menu-refresh, list-packages): Use it.
daca8ba5 19978 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19979 Return insertion data instead of inserting it directly.
099c39a4
JB
19980 (package-menu-describe-package, package-menu-execute):
19981 Use tabulated-list-get-id.
e91a96fe
CY
19982 (package-menu-mark-delete, package-menu-mark-install)
19983 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19984 (package-menu-mark-obsolete-for-deletion):
19985 Use tabulated-list-put-tag.
e91a96fe
CY
19986 (package--list-packages, package-menu-revert)
19987 (package-menu-get-package, package-menu-get-version)
19988 (package-menu-sort-by-column): Functions deleted.
19989 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19990 (package-menu--status-predicate, package-menu--version-predicate)
19991 (package-menu--name-predicate)
19992 (package-menu--description-predicate): Handle arguments in the
19993 Tabulated List format.
19994 (package-list-packages-no-fetch): Call list-packages.
19995
3e214b50
JB
199962011-04-06 Juanma Barranquero <lekktu@gmail.com>
19997
19998 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19999 (after-find-file): Don't bind it.
3e214b50
JB
20000 (revert-buffer-in-progress-p): New variable.
20001 (revert-buffer): Bind it.
20002 Pass nil for `after-find-file-from-revert-buffer'.
20003
20004 * saveplace.el (save-place-find-file-hook): Use new variable
20005 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20006
3f0f1700
GM
200072011-04-06 Glenn Morris <rgm@gnu.org>
20008
c0274801
GM
20009 * Makefile.in (AUTOGEN_VCS): New variable.
20010 (autoloads): Use $AUTOGEN_VCS.
20011
3f0f1700
GM
20012 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20013 * calendar/calendar.el (calendar-mode-map):
20014 Check for toolkit scroll bars. (Bug#8305)
20015
41ea9e48
CY
200162011-04-05 Chong Yidong <cyd@stupidchicken.com>
20017
20018 * minibuffer.el (completion-in-region--postch)
20019 (completion-in-region-mode): Remove unnecessary messages.
20020
6194c800
JB
200212011-04-05 Juanma Barranquero <lekktu@gmail.com>
20022
33256f14
JB
20023 * font-lock.el (font-lock-refresh-defaults):
20024 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20025 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20026
6194c800
JB
20027 * info.el (Info-directory-list, Info-read-node-name-2)
20028 (Info-split-parameter-string): Doc fixes.
20029 (Info-virtual-nodes): Reflow docstring.
20030 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20031 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20032 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20033 Fix typos in docstrings.
20034 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20035 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20036 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20037 (Info-restore-desktop-buffer): Mark unused parameters.
20038 (Info-directory-find-file, Info-directory-find-node)
20039 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20040 (Info-virtual-index-find-node, Info-apropos-find-file)
20041 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20042 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20043 (Info-virtual-index): Remove unused local variable `nodename'.
20044
b87a8200 200452011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20046
b87a8200
DD
20047 * net/rcirc.el: Update my e-mail address.
20048 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20049
3b2ff876
CY
200502011-04-05 Chong Yidong <cyd@stupidchicken.com>
20051
20052 * startup.el (command-line): Save the cursor's theme-face
20053 directly, instead of using face-override-spec.
20054
20055 * custom.el (load-theme): Minor optimization in assigning faces.
20056
8d17e7ca
JB
200572011-04-04 Juanma Barranquero <lekktu@gmail.com>
20058
20059 * help-fns.el (describe-variable): Complete all variables having
20060 documentation, including keywords.
20061 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20062
2fbc1934
JB
200632011-04-04 Juanma Barranquero <lekktu@gmail.com>
20064
20065 Convert to lexical-binding.
20066
20067 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20068 (bs--get-marked-string, bs--get-modified-string)
20069 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20070 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20071 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20072
20073 * ehelp.el (electric-help-execute-extended)
20074 (electric-help-ctrl-x-prefix):
20075 * hexl.el (hexl-revert-buffer-function):
20076 * linum.el (linum-after-change, linum-after-scroll):
20077 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20078
20079 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20080
74f50695
DU
200812011-04-04 Daiki Ueno <ueno@unixuser.org>
20082
20083 * epa-dired.el:
20084 * epa-mail.el:
20085 * epa-hook.el:
20086 * epa-file.el:
20087 * epa.el:
20088 * epg.el: Use lexical binding.
20089
c11325f7
CY
200902011-04-03 Chong Yidong <cyd@stupidchicken.com>
20091
0d9e9a12
CY
20092 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20093
c11325f7 20094 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20095 dictionary case for flyspell-mark-duplications-exceptions.
20096 Use regexp matching for languages.
c11325f7
CY
20097 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20098 default dictionary (Bug#7926).
20099
da91b5f2
CY
201002011-04-02 Chong Yidong <cyd@stupidchicken.com>
20101
099c39a4
JB
20102 * emacs-lisp/package.el (package--with-work-buffer):
20103 Recognize https URLs.
da91b5f2 20104
099c39a4
JB
20105 * net/network-stream.el: Move from gnus/proto-stream.el.
20106 Change prefix to network-stream throughout.
da91b5f2
CY
20107 (open-protocol-stream): Merge into open-network-stream, leaving
20108 open-protocol-stream as an alias. Handle nil BUFFER args.
20109
20110 * subr.el (open-network-stream): Move to net/network-stream.el.
20111
afa8e9f6
GM
201122011-04-02 Glenn Morris <rgm@gnu.org>
20113
1d2e369d
GM
20114 * find-dired.el (find-exec-terminator): New option.
20115 (find-ls-option): Test for -ls support.
20116 (find-ls-subdir-switches): Test for -b in find-ls-option.
20117 (find-dired, find-grep-dired): Doc fixes.
20118 (find-dired): Use find-exec-terminator.
20119
8abb7da8 20120 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20121 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20122 (find-name-arg): Remove purecopy.
8abb7da8 20123
f3ca7378
GM
20124 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20125 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20126 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20127 accordingly. Don't add the null-device if not needed.
20128
afa8e9f6
GM
20129 * files.el (save-some-buffers): Doc fix.
20130
35eae264
EZ
201312011-04-02 Eli Zaretskii <eliz@gnu.org>
20132
20133 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20134
26b51db5
JB
201352011-04-01 Juanma Barranquero <lekktu@gmail.com>
20136
20137 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20138 Use `dolist' rather than `mapcar'.
20139
7200d79c
SM
201402011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20141
03408648 20142 Add lexical binding.
7200d79c 20143
03408648
SM
20144 * subr.el (apply-partially): Use new closures rather than CL.
20145 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20146 (dolist, dotimes): Use slightly different expansion for lexical code.
20147 (functionp): Move to C.
20148 (letrec): New macro.
20149 (with-wrapper-hook): Use it and apply-partially instead of CL.
20150 (eval-after-load): Preserve lexical-binding.
20151 (save-window-excursion, with-output-to-temp-buffer): Turn them
20152 into macros.
7200d79c 20153
03408648
SM
20154 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20155
20156 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20157 than the arglist.
20158 (help-add-fundoc-usage): Don't add `Not documented'.
20159 (help-function-arglist): Handle closures, subroutines, and new
20160 byte-code-functions.
20161 (help-make-usage): Remove leading underscores.
20162 (describe-function-1): Handle closures.
20163 (describe-variable): Use special-variable-p for completion.
20164
20165 * files.el (lexical-binding): Declare safe.
f488fb65 20166
03408648
SM
20167 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20168 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20169 (pcase): Add `let' pattern.
20170 Change memoization so it actually works.
20171 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20172 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20173 <let>: New case.
f488fb65 20174
03408648
SM
20175 * emacs-lisp/macroexp.el: Use lexical binding.
20176 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20177 Don't convert ' to #' without checking that it's indeed quoting
20178 a lambda.
20179
20180 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20181 Use eval-sexp-add-defvars.
03408648
SM
20182 (eval-sexp-add-defvars): New fun.
20183
20184 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20185
20186 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20187 Don't autoload.
20188 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20189 than the internal `byte-compile-lambda'.
20190 (defmethod): Don't hide code under quotes.
20191 (eieio-defmethod): New `code' argument.
20192
20193 * emacs-lisp/eieio-comp.el: Remove.
20194
20195 * emacs-lisp/edebug.el (edebug-eval-defun)
20196 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20197 (edebug-toggle): Avoid `eval'.
20198
20199 * emacs-lisp/disass.el (disassemble-internal): Handle new
20200 `closure' objects.
20201 (disassemble-1): Handle new byte codes.
20202
20203 * emacs-lisp/cl.el (pushnew): Silence warning.
20204
20205 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20206 (cl-byte-compile-throw): Remove.
20207 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20208
20209 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20210 closures.
20211
20212 * emacs-lisp/cconv.el: New file.
20213
20214 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20215 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20216 (byte-compile-initial-macro-environment):
20217 Handle declare-function here.
20218 (byte-compile--lexical-environment): New var.
20219 (byte-stack-ref, byte-stack-set, byte-discardN)
20220 (byte-discardN-preserve-tos): New lap codes.
20221 (byte-interactive-p): Don't use any more.
20222 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20223 New macros.
20224 (byte-compile-lapcode): Use them and handle new lap codes.
20225 (byte-compile-obsolete): Remove.
20226 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20227 (byte-compile-arglist-warn): Check late def of inlinable funs.
20228 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20229 since they should have been expanded by now.
20230 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20231 (byte-compile-from-buffer): Remove unused second arg.
20232 (byte-compile-preprocess): New function.
20233 (byte-compile-toplevel-file-form): New function to distinguish
20234 file-form calls from outside from file-form calls from hunk-handlers.
20235 (byte-compile-file-form): Simplify.
20236 (byte-compile-file-form-defsubst): Remove.
20237 (byte-compile-file-form-defmumble): Simplify now that
20238 byte-compile-lambda always returns a byte-code-function.
20239 (byte-compile): Preprocess.
20240 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20241 Remove, not used any more.
20242 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20243 (byte-compile-make-args-desc): New funs.
20244 (byte-compile-lambda): Handle lexical functions. Always return
20245 a byte-code-function.
20246 (byte-compile-reserved-constants): New var, to make up room for
20247 closed-over variables.
20248 (byte-compile-constants-vector): Obey it.
20249 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20250 (byte-compile-macroexpand-declare-function): New function.
20251 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20252 byte-code-functions.
20253 (byte-compile-form): Check obsolescence here.
20254 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20255 (byte-compile-variable-ref): Remove.
20256 (byte-compile-dynamic-variable-op): New fun.
20257 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20258 (byte-compile-variable-set): New funs.
20259 (byte-compile-discard): Add 2 args.
20260 (byte-compile-stack-ref, byte-compile-stack-set)
20261 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20262 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20263 macroexpand-all instead.
20264 (byte-compile-quote-form): Remove.
20265 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20266 (byte-compile-bind, byte-compile-unbind): New funs.
20267 (byte-compile-let): Handle let* and lexical binding.
20268 (byte-compile-let*): Remove.
20269 (byte-compile-catch, byte-compile-unwind-protect)
20270 (byte-compile-track-mouse, byte-compile-condition-case):
20271 Handle a new :fun-body form, used for lexical scoping.
20272 (byte-compile-save-window-excursion)
20273 (byte-compile-with-output-to-temp-buffer): Remove.
20274 (byte-compile-defun): Simplify.
20275 (byte-compile-stack-adjustment): New fun.
20276 (byte-compile-out): Use it.
20277 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20278
20279 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20280 handler any more.
20281
20282 * emacs-lisp/byte-opt.el: Use lexical binding.
20283 (byte-inline-lapcode): Remove (to bytecomp).
20284 (byte-compile-inline-expand): Pay attention to inlining to/from
20285 lexically bound code.
20286 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20287 any more.
20288 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20289 any more and don't call compiler-macros.
20290 (byte-compile-splice-in-already-compiled-code): Remove.
20291 (byte-code): Don't inline any more.
20292 (disassemble-offset): Receive `bytes' as argument rather than via
20293 dynamic scoping.
20294 (byte-compile-tag-number): Declare before first use.
20295 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20296 `return' even if make-spliceable.
20297 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20298 obsolete interactive-p.
20299 (byte-optimize-lapcode): Optimize new lap-codes.
20300 Don't trip up on new form of `byte-constant' lap code.
20301
20302 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20303
20304 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20305
20306 * custom.el (custom-initialize-default, custom-declare-variable):
20307 Use `defvar'.
20308
20309 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20310 New variables.
20311 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20312 (COMPILE_FIRST): Add macroexp and cconv.
20313 * makefile.w32-in: Mirror changes in Makefile.in.
20314
20315 * vc/cvs-status.el:
20316 * vc/diff-mode.el:
20317 * vc/log-edit.el:
20318 * vc/log-view.el:
20319 * vc/smerge-mode.el:
20320 * textmodes/bibtex-style.el:
090bd7cb 20321 * textmodes/css-mode.el:
03408648
SM
20322 * startup.el:
20323 * uniquify.el:
da91b5f2
CY
20324 * minibuffer.el:
20325 * newcomment.el:
20326 * reveal.el:
20327 * server.el:
20328 * mpc.el:
20329 * emacs-lisp/smie.el:
20330 * doc-view.el:
20331 * dired.el:
03408648
SM
20332 * abbrev.el: Use lexical binding.
20333
0f0c1f27
EZ
203342011-04-01 Eli Zaretskii <eliz@gnu.org>
20335
20336 * info.el (info-display-manual): New function.
20337
c82b2579
SM
203382011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20339
20340 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20341
221ddf68
TH
203422011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20343
20344 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20345 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20346
cba6e77e
GM
203472011-03-31 Glenn Morris <rgm@gnu.org>
20348
e040639f
GM
20349 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20350
cba6e77e
GM
20351 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20352
6d0f1c9e
CS
203532011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20354
20355 * progmodes/python.el (python-default-interpreter)
20356 (python-python-command-args, python-jython-command-args)
20357 (python-which-shell, python-which-args, python-which-bufname)
20358 (python-file-queue, python-comint-output-filter-function)
20359 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20360 variables and functions.
20361
3e2d70fd
SM
203622011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20363
20364 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20365 (completion-in-region-mode): New minor mode.
20366 (completion-in-region): Use it.
20367 (completion-in-region--data, completion-in-region-mode-map): New vars.
20368 (completion-in-region--postch): New function.
20369 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20370 New vars.
20371 (completion--capf-wrapper): New function.
20372 (completion-at-point): Use it to track well-behavedness of
20373 hook functions.
20374 (completion-help-at-point): New command.
20375
f3e4086c
JM
203762011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20377
20378 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20379 syntax class to search for whitespace on a single line
20380 (Message-ID: <4D938140.4030905@redhat.com>).
20381
eb7ffc14
LL
203822011-03-30 Leo Liu <sdl.web@gmail.com>
20383
20384 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20385 New commands.
20386 (edit-abbrevs-map): Bind them here.
20387 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20388
d806ab68
KM
203892011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20390
20391 * allout.el (allout-hide-by-annotation, allout-flag-region):
20392 Reduce possibility of overlay leakage by making them volatile.
20393
20394 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20395 hash is not shared between buffers. Mode initialization is
20396 responsible for giving it a useful starting value.
20397 (allout-item-span): Reduce possibility of overlay leakage by
20398 making them volatile.
20399 (allout-widgets-count-buttons-in-region): Add diagnostic function
20400 for tracking down button overlay leaks.
20401
ea622834
LL
204022011-03-29 Leo Liu <sdl.web@gmail.com>
20403
20404 * ido.el (ido-read-internal): Use the default history var
20405 minibuffer-history if no HISTORY is specified.
20406
b62f8267
G
204072011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20408
03408648
SM
20409 * net/imap.el (imap-shell-open, imap-process-connection-type):
20410 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20411 Kerberos, SSL, other subprocesses.
20412
947b6566
LL
204132011-03-28 Leo Liu <sdl.web@gmail.com>
20414
20415 * abbrev.el (abbrev-table-empty-p): New function.
20416 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20417 nonempty ones. (Bug#5937)
20418
5ffb62aa
JD
204192011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20420
20421 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20422
7a097943
LL
204232011-03-27 Leo Liu <sdl.web@gmail.com>
20424
20425 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20426 for foreground and background colors.
20427 (ansi-color-make-color-map): Adapt.
20428
c5b40130
LL
204292011-03-25 Leo Liu <sdl.web@gmail.com>
20430
1f48f7d2
LL
20431 * midnight.el (midnight-time-float): Remove. Note it calculates
20432 the microsecond component incorrectly and seconds-to-time does the
20433 same job.
625897ec 20434 Remove redundant (require 'timer).
1f48f7d2 20435
c5b40130
LL
20436 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20437 (ido-completions): Remove unused arguments. (Bug#8329)
20438
d86d2721
SM
204392011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20440
20441 * minibuffer.el (completion--flush-all-sorted-completions):
20442 Remove itself from hook.
20443 (completion-at-point): Let the functions perform the completion
20444 immediately and return nil or t.
20445 * comint.el (comint-dynamic-complete-functions): Now identical to
20446 completion-at-point-functions.
20447 (comint-dynamic-list-input-ring): Remove unused var `index'.
20448 (comint--match-partial-filename, comint--unquote&expand-filename):
20449 New funs, split from comint-match-partial-filename.
20450 (comint-dynamic-complete): Use completion-at-point.
20451 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20452
e8974c48
DA
204532011-03-24 Drew Adams <drew.adams@oracle.com>
20454
20455 * thingatpt.el: Support `defun'.
20456
def71b5e
LL
204572011-03-23 Leo Liu <sdl.web@gmail.com>
20458
cb5af48e
LL
20459 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20460
def71b5e
LL
20461 * help-mode.el (help-mode-finish): Tweak regexp.
20462
927c53e7
GM
204632011-03-23 Glenn Morris <rgm@gnu.org>
20464
18d05bed
GM
20465 * eshell/esh-opt.el (eshell-eval-using-options):
20466 Do not bind unused local variable `eshell-option-stub'.
20467
927c53e7
GM
20468 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20469
9d0da923
JB
204702011-03-22 Juanma Barranquero <lekktu@gmail.com>
20471
20472 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20473 keymap variable in `with-no-warnings' to avoid a warning when the
20474 keymap has been already `defconst'ed.
20475
4b978a67
LL
204762011-03-22 Leo Liu <sdl.web@gmail.com>
20477
20478 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20479 encode all chars in abbrevs; otherwise use emacs-mule or
20480 utf-8-emacs. (Bug#8308)
20481
5fd62452
JB
204822011-03-22 Juanma Barranquero <lekktu@gmail.com>
20483
0b1596c6
JB
20484 * simple.el (backward-delete-char-untabify):
20485 Avoid warning about using `delete-backward-char'.
20486
5fd62452
JB
20487 * image.el (image-type-file-name-regexps): Make it variable.
20488 `imagemagick-register-types' modifies it, and the user may want
20489 to add new extensions for known image types.
20490 (imagemagick-register-types): Throw error if not using ImageMagick.
20491
0b4e93f1
LL
204922011-03-22 Leo Liu <sdl.web@gmail.com>
20493
20494 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20495 located before rcirc-prompt-end-marker.
20496 (rcirc-complete): Error if point is not after rcirc prompt.
20497 Handle the case when table is nil.
9882e214 20498 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20499
fccee4ab
CY
205002011-03-22 Chong Yidong <cyd@stupidchicken.com>
20501
20502 * custom.el (custom--inhibit-theme-enable): Make it affect only
20503 custom-theme-set-variables and custom-theme-set-faces.
20504 (provide-theme): Ignore custom--inhibit-theme-enable.
20505 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20506 (custom-enabling-themes): Delete variable.
d86d2721
SM
20507 (enable-theme): Accept only loaded themes as arguments.
20508 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20509 (custom-enabled-themes): Forbid themes from setting this.
20510 Eliminate use of custom-enabling-themes.
20511 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20512
af896da6
LL
205132011-03-21 Leo Liu <sdl.web@gmail.com>
20514
20515 * ido.el (ido-read-internal): Add ido-selected to history instead
20516 of user input.
20517
78f64af0
SM
205182011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20519
20520 * subr.el (deferred-action-list, deferred-action-function):
20521 Mark obsolete.
20522
b16ac1ec
LL
205232011-03-21 Leo Liu <sdl.web@gmail.com>
20524
810f7698
LL
20525 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20526 change on 2011-02-13 (bug#8309).
20527
b16ac1ec
LL
20528 * minibuffer.el (read-file-name-function): Change default value.
20529 (read-file-name--defaults): Rename from read-file-name-defaults.
20530 (read-file-name-default): Rename from read-file-name.
20531 (read-file-name): Call read-file-name-function.
20532
4e05e67e
GM
205332011-03-21 Glenn Morris <rgm@gnu.org>
20534
20535 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20536 Doc fixes.
20537
4359915b
CY
205382011-03-21 Chong Yidong <cyd@stupidchicken.com>
20539
20540 * cus-theme.el: Add missing provide statement.
20541 (customize-create-theme): Extract theme value correctly.
20542 (custom-theme-visit-theme): Autoload.
20543 (customize-create-theme): Prompt before inserting default faces.
20544
1fe275ee
JB
205452011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20546
20547 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20548 units and musical notes.
20549
cd394be1 205502011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20551
20552 * ido.el (ido-read-internal): Use completing-read-default.
20553 (ido-completing-read): Fix compatibility with completing-read.
20554
7d476bde
CO
205552011-03-20 Christian Ohler <ohler@gnu.org>
20556
20557 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20558 (ert-delete-all-tests): Use `called-interactively-p' rather than
20559 `interactive-p'.
20560 (ert--make-xrefs-region): Respect END.
20561
fe0fb33e
CY
205622011-03-19 Chong Yidong <cyd@stupidchicken.com>
20563
ff854b0b
CY
20564 * dired-aux.el (dired-create-directory): Signal an error if the
20565 directory already exists (Bug#8246).
20566
fe0fb33e
CY
20567 * facemenu.el (list-colors-display): Call list-faces-display
20568 inside with-help-window.
20569 (list-colors-print): Use display property to align the final
20570 column, instead of checking window-width.
20571
576bce32
EZ
205722011-03-19 Eli Zaretskii <eliz@gnu.org>
20573
4d61f28d 20574 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20575 windows-nt systems.
20576 (emerge-protect-metachars): Quote correctly for ms-dos and
20577 windows-nt systems.
20578
89c41d68 205792011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20580
20581 * info.el (info-initialize): Replace all uses of `:' with
20582 path-separator for compatibility with non-Unix systems.
20583 Cache quoting of path-separator. (Bug#8258)
20584
b14e3e21 205852011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20586
20587 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20588 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20589 (mouse-avoidance-mode): Fix typos in docstrings.
20590
4525ce3e
CY
205912011-03-19 Chong Yidong <cyd@stupidchicken.com>
20592
20593 * startup.el (package-subdirectory-regexp): Move from package.el.
20594 Omit \\` and \\', and let callers add them.
20595
20596 * emacs-lisp/package.el (package-strip-version)
20597 (package-load-all-descriptors): Add \\` and \\' to
20598 package-subdirectory-regexp before using it.
20599 (package-untar-buffer): New arg DIR; ensure that file untars only
20600 into this expected directory. Remove superfluous delete-region.
20601 (package-unpack): Caller changed.
20602 (package-tar-file-info): Use package-subdirectory-regexp.
20603
a904a09a 206042011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20605
a904a09a
SM
20606 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20607 diff-mode-shared-map (bug#8284).
20608 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20609
206102011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20611
20612 * calendar/time-date.el (format-seconds): Use assoc instead of
20613 assoc-string, since assoc-string doesn't exist in XEmacs.
20614
171fc304
JB
206152011-03-17 Juanma Barranquero <lekktu@gmail.com>
20616
20617 * custom.el (custom-known-themes): Reflow docstring.
20618 (custom-theme-load-path): Fix typo in docstring.
20619 (load-theme): Fix typo in error message.
20620 (custom-available-themes, custom-variable-theme-value):
20621 Use `let', not `let*'.
20622
d71990a1
JB
206232011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20624
20625 * calc/README: Mention inclusion of musical notes.
20626
20627 * calc/calc-units.el (calc-lu-quant): Rename from
20628 `calc-logunits-quantity'.
20629 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20630 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20631 (calc-db): Rename from `calc-dblevel'.
20632 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20633 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20634 (calc-np): Rename from `calc-nplevel'.
20635 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20636 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20637 (calc-lu-plus): Rename from `calc-logunits-add'.
20638 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20639 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20640 (calc-lu-minus): Rename from `calc-logunits-sub'.
20641 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20642 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20643 (calc-lu-times): Rename from `calc-logunits-mul'.
20644 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20645 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20646 (calc-lu-divide): Rename from `calc-logunits-div'.
20647 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20648 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20649
20650 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20651 functions being autoloaded.
20652
20653 * calc/calc.el (calc-lu-power-reference): Rename from
20654 `calc-logunits-power-reference'.
20655 (calc-lu-field-reference): Rename from
20656 `calc-logunits-field-reference'.
20657
7a71b18d
GM
20658 * calc/calc-help.el (calc-l-prefix-help):
20659 Mention musical note functions.
d71990a1 20660
40c2934b
SM
206612011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20662
20663 * minibuffer.el (completion-all-sorted-completions):
20664 Use :completion-cycle-penalty text property if present.
20665
b0911414
KM
206662011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20667
20668 * allout.el (allout-yank-processing): Adjust for new rebulleting
20669 regime so bullet being yanked is used without prompting the user
20670 for a choice.
20671
8a05b668
JB
206722011-03-16 Juanma Barranquero <lekktu@gmail.com>
20673
20674 * startup.el (command-line): Warn the user that _emacs is deprecated.
20675
5ba5fb81
JB
206762011-03-16 Juanma Barranquero <lekktu@gmail.com>
20677
20678 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20679 (delphi-verbose, delphi-comment-face, delphi-string-face)
20680 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20681 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20682 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20683 (delphi-new-comment-line, delphi-font-lock-defaults)
20684 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20685 Fix typos in docstrings.
20686
2dab465b
KM
206872011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20688
5ba5fb81 20689 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20690 Invert the roles of character and string values for INSTEAD, so a
20691 string is used for the more common case of a defaulting prompt.
20692
0adf5618
SM
206932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20694
20695 * progmodes/ruby-mode.el (ruby-backward-sexp):
20696 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20697 * play/gamegrid.el (gamegrid-make-face):
20698 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20699 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20700 * notifications.el (notifications-notify):
20701 * net/xesam.el (xesam-search-engines):
20702 * net/quickurl.el (quickurl-list-insert):
20703 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20704
d72700e5
CY
207052011-03-15 Chong Yidong <cyd@stupidchicken.com>
20706
20707 * startup.el (command-line): Update package subdirectory regexp.
20708
49c5410a
SM
207092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20710
c6eee9aa
SM
20711 * allout.el (allout-abbreviate-flattened-numbering)
20712 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20713
49c5410a
SM
20714 * subr.el (read-char-choice): Only show the cursor after the prompt,
20715 not after the answer.
20716
047b2bb9
KR
207172011-03-15 Kevin Ryde <user42@zip.com.au>
20718
20719 * help-fns.el (variable-at-point): Skip leading quotes, if any
20720 (bug#8253).
20721
0a57d256
SM
207222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20723
20724 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20725 warning message.
20726
77c992bc
MA
207272011-03-14 Michael Albinus <michael.albinus@gmx.de>
20728
20729 * shell.el (shell): When called interactively, offer to change the
20730 shell file name on remote hosts.
20731
eebc475d
TZ
207322011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20733
20734 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20735 integration for LDAP parameters. The host, base, user or binddn,
20736 and secret tokens can be specified in a netrc file, for instance.
20737 This is optional because an `auth-source' parameter must be
20738 specified in the search attributes.
20739
9d05d1ba
JB
207402011-03-13 Juanma Barranquero <lekktu@gmail.com>
20741
20742 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20743
09d9db2c
GM
207442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20745
20746 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20747 into declaration. Remove redundant and harmful binding.
20748
207492011-03-12 Eli Zaretskii <eliz@gnu.org>
20750
20751 * files.el (file-ownership-preserved-p): Pass `integer' as an
20752 explicit 2nd argument to `file-attributes'. If the file's owner
20753 is the Administrators group on Windows, and the current user is
20754 Administrator, consider that a match.
20755
20756 * server.el (server-ensure-safe-dir): Consider server directory
20757 safe on MS-Windows if its owner is the Administrators group while
20758 the current Emacs user is Administrator. Use `=' to compare
20759 numerical UIDs, since they could be integers or floats.
20760
219bd536
JB
207612011-03-12 Juanma Barranquero <lekktu@gmail.com>
20762
20763 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20764
f3afd36b
MA
207652011-03-12 Michael Albinus <michael.albinus@gmx.de>
20766
20767 Sync with Tramp 2.2.1.
20768
20769 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20770
20771 * net/trampver.el: Update release number.
20772
3aaaa6f1
SM
207732011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20774
94642599
SM
20775 * progmodes/compile.el (compilation--previous-directory): Fix up
20776 various nil/dead-marker mismatches (bug#8014).
20777 (compilation-directory-properties, compilation-error-properties):
20778 Don't call it at a position past the one we're about to change.
20779
3aaaa6f1
SM
20780 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20781 Disable obsolescence warnings in the file that declares it.
20782
14239447
KM
207832011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20784
099c39a4
JB
20785 * allout-widgets.el (allout-widgets-tally):
20786 Initialize allout-widgets-tally as a hash table rather than nil to
20787 prevent mode-line redisplay warnings. Also, clarify the module
20788 description and fix a comment typo.
14239447 20789
135e287c
JB
207902011-03-11 Juanma Barranquero <lekktu@gmail.com>
20791
20792 * help-fns.el (describe-variable): Don't complete keywords.
20793 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20794
ffbf300e
CY
207952011-03-10 Chong Yidong <cyd@stupidchicken.com>
20796
ba08b241
CY
20797 * emacs-lisp/package.el (package-version-join): Impose a standard
20798 string representation for pre/alpha/beta version lists.
20799 (package-unpack-single): Standardize the directory name by passing
20800 it through package-version-join.
20801 (package-strip-rcs-id): Accept any version string that does not
20802 signal an error in version-to-list.
ffbf300e 20803
f346fd6b
MA
208042011-03-10 Michael Albinus <michael.albinus@gmx.de>
20805
20806 * simple.el (delete-trailing-whitespace): Return nil for the
20807 benefit of `write-file-functions'.
20808
ccb55d27
GM
208092011-03-10 Glenn Morris <rgm@gnu.org>
20810
5ceaac0c
GM
20811 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20812
02da65ff
GM
20813 * vc/vc-git.el (vc-git-program): New option.
20814 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20815 (vc-git--call): Use it.
20816
b2f603cc
GM
20817 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20818
5772caab
GM
20819 * cus-edit.el (Custom-newline): If no button at point, look
20820 for a subgroup button at start-of-line. (Bug#2298)
20821
ccb55d27
GM
20822 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20823
ec6ecaed
JD
208242011-03-10 Julien Danjou <julien@danjou.info>
20825
20826 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20827 `cursor-type' is nil.
20828
9d5aa01d
JB
208292011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20830
20831 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20832
b6a5875b
KM
208332011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20834
7a71b18d 20835 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20836 preserves the existing header prefix, rebulleting it if necessary,
20837 rather than replacing it. This is necessary for proper operation
20838 of cooperative addons like allout-widgets.
1154d12e
JB
20839 (allout-make-topic-prefix, allout-rebullet-heading):
20840 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20841 value as alternate bullet to be used, instead of prompting the user
20842 for a bullet character.
b6a5875b 20843
ee545c35
MA
208442011-03-09 Michael Albinus <michael.albinus@gmx.de>
20845
d86d2721
SM
20846 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20847 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20848 `tramp-default-port'.
20849
c47971d7
DD
208502011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20851
20852 * net/rcirc.el (rcirc-handler-001): Remove useless
20853 with-rcirc-process-buffer.
20854 (rcirc-check-auth-status): Swap arguments to string-match.
20855
13522cb4
GM
208562011-03-09 Glenn Morris <rgm@gnu.org>
20857
0be6f4f1
GM
20858 * shell.el (shell-mode):
20859 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20860
13522cb4
GM
20861 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20862 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20863
515de2e3
CY
208642011-03-08 Chong Yidong <cyd@stupidchicken.com>
20865
20866 * emacs-lisp/package.el (package-refresh-contents)
20867 (package-menu-execute): Use condition-case-no-debug.
20868
b511b994
MA
208692011-03-08 Michael Albinus <michael.albinus@gmx.de>
20870
20871 * simple.el (shell-command-to-string): Use `process-file'.
20872
20873 * emacs-lisp/package.el (package-tar-file-info): Handle also
20874 remote files.
20875
d86d2721
SM
20876 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20877 Use `equal' for upload base check.
b511b994 20878
25bbfb31
AM
208792011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20880
20881 * textmodes/texinfo.el (texinfo-environments):
20882 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20883
be996521
GM
208842011-03-08 Glenn Morris <rgm@gnu.org>
20885
e9c8529f
GM
20886 * cus-start.el (cursor-in-non-selected-windows):
20887 Fix :set quoting oddness. (Bug#8192)
20888
be996521
GM
20889 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20890 in some setf expressions. (Bug#2159)
20891
2bb5649e
CY
208922011-03-08 Chong Yidong <cyd@stupidchicken.com>
20893
20894 * custom.el (custom-available-themes): Return themes in
20895 alphabetical order.
20896
33383987 20897See ChangeLog.15 for earlier changes.
e3d51b27
MR
20898
20899;; Local Variables:
20900;; coding: utf-8
e3d51b27
MR
20901;; End:
20902
acaf905b 20903 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20904
20905 This file is part of GNU Emacs.
20906
20907 GNU Emacs is free software: you can redistribute it and/or modify
20908 it under the terms of the GNU General Public License as published by
20909 the Free Software Foundation, either version 3 of the License, or
20910 (at your option) any later version.
20911
20912 GNU Emacs is distributed in the hope that it will be useful,
20913 but WITHOUT ANY WARRANTY; without even the implied warranty of
20914 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20915 GNU General Public License for more details.
20916
20917 You should have received a copy of the GNU General Public License
20918 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.