Mention a few more gv.el features in the lispref
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d1e1e53d
DG
12012-11-12 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4 backward, always stop at indentation. Reverts the change from
5 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6
68146aa5
GM
72012-11-11 Glenn Morris <rgm@gnu.org>
8
a1d3e07e
GM
9 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
10 Add ibuffer-filter-by-derived-mode.
11
84acf328
GM
12 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
13 the same name shadowing each other.
14
38785e75
GM
15 * window.el (with-temp-buffer-window): Doc tweak.
16
57fc0fee
GM
17 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
18
6ba6a3e5
GM
19 * help.el (temp-buffer-max-height):
20 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
21 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
22
e4e46889
LL
232012-11-10 Leo Liu <sdl.web@gmail.com>
24
25 * ido.el (ido-set-matches-1): Fix split-string args to avoid
26 performance issue. (Bug#12796)
27
19e09879
GM
282012-11-10 Glenn Morris <rgm@gnu.org>
29
bf67dafa
GM
30 * term.el (term-default-fg-color, term-default-bg-color):
31 Make obsolete, rather than just saying "deprecated" in the doc.
32
19e09879
GM
33 * term.el (term): Rename from `term-face'.
34 (term-current-face, ansi-term-color-vector)
35 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
36 Update all users.
37
d743088d
JD
382012-11-09 Jan Djärv <jan.h.d@swipnet.se>
39
40 * server.el (server-create-window-system-frame): Improved comment.
41
531bdce6
JD
422012-11-08 Jan Djärv <jan.h.d@swipnet.se>
43
44 * server.el (server-create-window-system-frame): Handle Nextstep
45 specially (Bug#12780).
46
fedb154e
GM
472012-11-08 Glenn Morris <rgm@gnu.org>
48
49 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
50 Unautoload, and make obsolete. (Bug#7449)
51
9d9e48d9
CY
522012-11-08 Chong Yidong <cyd@gnu.org>
53
54 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
55 rename from diff-remove-trailing-whitespace (Bug#12831).
56
32170f7f
SM
572012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
60 miscompilation of trace.el.
61
26f59676
GM
622012-11-08 Glenn Morris <rgm@gnu.org>
63
64 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
65
41626722
SM
662012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
69 (bug#12812).
70
7d806bfe
CY
712012-11-07 Chong Yidong <cyd@gnu.org>
72
73 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
74 a defcustom with an appropriate :set function.
75 (minibuffer-default--in-prompt-regexps): New function.
76
2ee1d59f
GM
772012-11-07 Glenn Morris <rgm@gnu.org>
78
031b2ea7
GM
79 * emacs-lisp/cl.el (define-setf-expander, defsetf)
80 (define-modify-macro): Doc fixes.
81
2ee1d59f
GM
82 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
83 (gv-define-simple-setter): Update doc of `fix-return'.
84
d57c286e
SM
852012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
86
b715ed44
SM
87 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
88 twice when `fix-return' is set (bug#12813).
89
d57c286e
SM
90 * emacs-lisp/cl.el (defsetf): Pass the third arg to
91 gv-define-simple-setter (bug#12812).
92
c9cac599
SM
932012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
96 (bug#12756).
97
6b3770fb
GM
982012-11-06 Glenn Morris <rgm@gnu.org>
99
100 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
101
5593ed90
GM
1022012-11-05 Glenn Morris <rgm@gnu.org>
103
104 * emacs-lisp/cl-extra.el (cl-prettyexpand):
105 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
106 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
107 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
108
109 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
110
5c677d44
GM
1112012-11-03 Glenn Morris <rgm@gnu.org>
112
49138400
GM
113 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
114 Rename handler properties back from cl-- to cl-. (Bug#12788)
115
5c677d44
GM
116 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
117
1d4341f9
EZ
1182012-11-03 Eli Zaretskii <eliz@gnu.org>
119
120 * term/pc-win.el: Don't load term/internal from here.
121
122 * loadup.el: Load term/internal from here.
123
12fd5ee1
FEG
1242012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
125
126 * progmodes/python.el (inferior-python-mode): Fix hang in
127 jit-lock (Bug#12645).
128
43bcfda6
MR
1292012-11-03 Martin Rudalics <rudalics@gmx.at>
130
131 * window.el (switch-to-visible-buffer)
132 (switch-to-buffer-preserve-window-point): Fix doc-strings.
133
b4b096e4
SB
1342012-11-01 Stephen Berman <stephen.berman@gmx.net>
135
136 * play/gomoku.el (gomoku-display-statistics): Update mode line
137 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
138
218e997a
MR
1392012-10-31 Martin Rudalics <rudalics@gmx.at>
140
141 * window.el (quit-restore-window): If the window has been
142 created on an existing frame and ended up as the sole window on
143 that frame, do not delete it (Bug#12764).
144
b08b6da7
SM
1452012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
146
3618df45
SM
147 * progmodes/sh-script.el (sh--inside-noncommand-expression):
148 Rename from sh--inside-arithmetic-expression, handle more cases
149 (bug#11263).
150
b08b6da7
SM
151 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
152 (sh-font-lock-open-heredoc): Use it (bug#12770).
153
4ddedf94
GM
1542012-10-30 Glenn Morris <rgm@gnu.org>
155
f43a5263
GM
156 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
157
4ddedf94
GM
158 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
159
748b0d84
CY
1602012-10-29 Chong Yidong <cyd@gnu.org>
161
b5dd9a77
CY
162 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
163 function key is stored in a keyboard macro (Bug#4894).
164
748b0d84
CY
165 * thingatpt.el (number-at-point): Apply a thing-at-point property.
166
e07fcbdc
SM
1672012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
168
d7f9cc85
SM
169 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
170 header comments".
171 (diff-unified->context, diff-context->unified)
172 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
173
c606253c
SM
174 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
175
e07fcbdc
SM
176 * files.el (find-alternate-file): Only ask one question (bug#12487).
177
894b9dd9
CY
1782012-10-29 Chong Yidong <cyd@gnu.org>
179
1dc2755a
CY
180 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
181 Suggested by Dan Nicolaescu (Bug#6326).
182
329c48d8
CY
183 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
184
2230fa5b 185 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 186
e84cad57
CY
187 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
188
1913c5f5
CY
189 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
190
894b9dd9
CY
191 * face-remap.el (face-remap-add-relative): Handle the case where a
192 face-remapping-alist entry is a cons cell (Bug#12762).
193
329c48d8
CY
1942012-10-29 Kevin Ryde <user42@zip.com.au>
195
196 * woman.el (woman-parse-numeric-value): Handle picas correctly
197 (Bug#12639).
198
a0ccbcbd
GM
1992012-10-29 Glenn Morris <rgm@gnu.org>
200
201 * emacs-lisp/cl.el (defsetf): Doc fix.
202
b3871e59
SM
2032012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
206 syntax to the matching opener, if any (bug#12547).
207 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
208 matching open as a "case-(".
209 (sh-smie-rc-grammar): Add a corresponding rule for it.
210
cd44022c
DH
2112012-10-28 Daniel Hackney <dan@haxney.org>
212
213 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
214 "PKGNAME-autoloads.el" in case we created it.
215
70edffb1
SM
2162012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
217
86957a0c
SM
218 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
219 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 220 (completion--twq-all): Disable too-strict assertions.
86957a0c 221
70edffb1
SM
222 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
223
d069271c
EZ
2242012-10-27 Eli Zaretskii <eliz@gnu.org>
225
226 * profiler.el (profiler-report-make-entry-part): Fix help-echo
227 text to match the real keybindings.
228
e2f022a3
JL
2292012-10-27 Juri Linkov <juri@jurta.org>
230
231 * wdired.el (wdired-keep-marker-rename): New defcustom.
232 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
233 (Bug#11795)
234
235 * dired.el (dired-keep-marker-rename): Add reference to
236 `wdired-keep-marker-rename' in the docstring.
237 Add default character value ?R to display initially in
238 Customization UI instead of ?@.
239
df171c23
MR
2402012-10-27 Martin Rudalics <rudalics@gmx.at>
241
242 * window.el (display-buffer): In doc-string describe
243 window-height and window-width alist entries.
244
245 * time.el (display-time-world): Restore fit-window-to-buffer
246 behavior.
247
05b621a6
CY
2482012-10-27 Chong Yidong <cyd@gnu.org>
249
250 * subr.el (insert-buffer-substring-as-yank): Doc fix.
251
55f197b2
J
2522012-10-26 Jambunathan K <kjambunathan@gmail.com>
253
254 * minibuffer.el (completion-category-overrides): New completion
255 category `bookmark' (bug#11131).
256
372212df
SM
2572012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
258
150f809c
SM
259 * emacs-lisp/advice.el (ad-assemble-advised-definition):
260 Silence bogus compiler warnings for ad-do-it.
261
372212df
SM
262 * bookmark.el (bookmark-completing-read): Set the completion category
263 to `bookmark' (bug#11131).
264
c5772569
B
2652012-10-26 Bastien <bzg@altern.org>
266 Stefan Monnier <monnier@iro.umontreal.ca>
267
268 * face-remap.el: Use lexical-binding.
269 (text-scale-adjust): Improve docstring. Use itself for the temporary
270 overlay-map bindings, so as to repeat the "Use..." message each time.
271
a2be0357
SM
2722012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
273
63314e57
SM
274 * emacs-lisp/macroexp.el (macroexp--expand-all):
275 Obey byte-compile-warning-enabled-p (bug#12486).
276
a2be0357
SM
277 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
278 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
279
8c7727c3
MR
2802012-10-26 Martin Rudalics <rudalics@gmx.at>
281
282 * mouse.el (mouse-drag-line): Move last form into preceding when
283 clause (Bug#12731).
284
285 * help.el (resize-temp-buffer-window): Fix doc-string.
286
3f2a848d
DE
2872012-10-25 David Engster <deng@randomsample.de>
288
289 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 290 Remove. This feature is already integrated in imenu.
3f2a848d
DE
291
292 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
293 always loaded. Require `speedbar' unconditionally.
294
a7723be6
SM
2952012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
296
aaabfc8b
SM
297 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
298
414a8595
SM
299 * minibuffer.el (minibuffer-force-complete): Fix thinko.
300
fb5b9475
SM
301 * net/ldap.el (ldap-search-internal): The official ldif format starts
302 with a "version: 1" header (bug#12724).
303
a7723be6
SM
304 * emacs-lisp/package.el (package-installed-p): Warn if not ready
305 (bug#12721).
306
a05cb6e3
GM
3072012-10-25 Glenn Morris <rgm@gnu.org>
308
309 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
310
3c92de70
SM
3112012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
312
313 * minibuffer.el (minibuffer-force-complete): Use one more marker
314 for the temporary-overlay-map command (bug#12619).
315
a4b6d7c6
CY
3162012-10-24 Chong Yidong <cyd@gnu.org>
317
318 * time.el (display-time-world-mode): Derive from special-mode.
319 (display-time-world): Use display-buffer (Bug#12708).
320 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
321 (display-time-world-display): Wrap the final delete-char inside
322 inhibit-read-only.
a4b6d7c6 323
75e8f9d2
CY
3242012-10-24 Chong Yidong <cyd@gnu.org>
325
cd996018
CY
326 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
327 Doc fix.
328
75e8f9d2
CY
329 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
330
d92df117
SM
3312012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * minibuffer.el (completion--all-sorted-completions-location): New var.
334 (completion--cache-all-sorted-completions)
335 (completion--flush-all-sorted-completions): Use it.
336 (completion-in-region, completion-in-region--postch)
337 (completion-at-point, completion-help-at-point): Use markers in
338 completion-in-region--data (bug#12619).
339
9c3e39f3
SM
3402012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
341
c79825bd
SM
342 * progmodes/compile.el (compilation-start): Try to handle common
343 quoting of `cd' argument (bug#12640).
344
9c3e39f3
SM
345 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
346 (bug#12671).
347
a6709bc7
GM
3482012-10-23 Glenn Morris <rgm@gnu.org>
349
350 * progmodes/gud.el (gud-menu-map):
351 Check gdb-active-process is bound. (Bug#12358)
352
d1069532
SM
3532012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
354
d20d69c0
SM
355 * repeat.el (repeat): Set real-this-command (bug#12232).
356
d1069532
SM
357 * htmlfontify.el (hfy-post-html-hook):
358 * filesets.el (filesets-cache-fill-content-hook):
359 * arc-mode.el (archive-extract-hook):
360 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
361 * net/rcirc.el (rcirc-sentinel-functions)
362 (rcirc-receive-message-functions, rcirc-activity-functions)
363 (rcirc-print-functions):
364 * net/dbus.el (dbus-event-error-functions):
365 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
366 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
367 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
368 * term/sun.el (sun-raw-prefix-hooks):
369 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
370
f7eac6d8
MA
3712012-10-23 Michael Albinus <michael.albinus@gmx.de>
372
d1069532
SM
373 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
374 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
375 (tramp-smb-wait-for-output): Add timeout to
376 `tramp-accept-process-output' calls.
377
608d9d7c
CY
3782012-10-23 Chong Yidong <cyd@gnu.org>
379
49238e7f
CY
380 * faces.el (font-list-limit): Define as an obsolete variable.
381
382 * startup.el (command-line):
383 * cus-start.el: Don't refer to font-list-limit.
384
608d9d7c
CY
385 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
386
4ff5b1b2
SM
3872012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * subr.el (internal-temp-output-buffer-show): Rename from
390 temp-output-buffer-show, since previously compiled files expect this name.
391
ea1d4aac
GM
3922012-10-23 Glenn Morris <rgm@gnu.org>
393
394 * image.el (image-type-from-file-name): If multiple types match,
395 return the first one that is supported. (Bug#9045)
396
eda82a31
GM
3972012-10-22 Glenn Morris <rgm@gnu.org>
398
399 * image.el (imagemagick-enabled-types): Doc fix.
400
4f020bec
TA
4012012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
402
403 * progmodes/which-func.el (which-func-current): The hash-table may have
404 an explicit nil (bug#12338).
405
c77d37e2
SM
4062012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * electric.el (electric-pair-delete-selection-self-insert-function):
409 Rename to electric-pair-will-use-region, return a boolean.
410 (electric-pair-mode): Adjust accordingly. Don't require delsel.
411
412 * delsel.el (delete-selection-helper): Use a function instead of a hook.
413 (delete-selection-pre-hook): Use use-region-p.
414 (delete-selection-self-insert-function): Remove.
415 (self-insert-command): Obey self-insert-uses-region-functions.
416 (self-insert-iso): Revert to previous setting, since we don't actually
417 know what that command does.
418 (delete-selection-self-insert-hooks): Remove.
419
b1d39ccc
SL
4202012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
421
422 * delsel.el (delete-selection-helper): New function, extracted from
423 delete-selection-pre-hook.
424 (delete-selection-pre-hook): Use it.
425 (delete-selection-self-insert-function): New function.
426 (delete-selection-self-insert-hooks): New hook.
427 (self-insert-command, self-insert-iso): Use it.
428 * electric.el (electric-pair-syntax): New function, extracted from
429 electric-pair-post-self-insert-function.
430 (electric-pair-post-self-insert-function): Use it.
431 (electric-pair-delete-selection-self-insert-function): New function.
432 (electric-pair-mode): Require delsel and setup
433 delete-selection-self-insert-hooks (bug#11520).
434
045ef729
CY
4352012-10-20 Chong Yidong <cyd@gnu.org>
436
4c5d08a8
CY
437 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
438 no changes to show (Bug#12586).
439
045ef729
CY
440 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
441 list explicitly (Bug#12571).
442
3503c798 4432012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 444
b1d39ccc
SL
445 * progmodes/flymake.el (flymake-create-temp-inplace):
446 Use file-truename.
79e1997a 447
2068905b
EZ
4482012-10-20 Eli Zaretskii <eliz@gnu.org>
449
450 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
451
4c9e9550
JB
4522012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
453
454 * calc/calc-units.el (math-extract-units): Properly extract powers
455 of units.
456
1a6e7e38
DC
4572012-10-20 Daniel Colascione <dancol@dancol.org>
458
459 * frame.el (make-frame): Set x-display-name as we used to in order
460 to unbreak creating an X11 frame from an Emacs daemon started
461 without a display.
462
8e808318
SM
4632012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * minibuffer.el (minibuffer-force-complete): Make the next completion use
466 the same completion-field (bug@12221).
467
fb0104da
MR
4682012-10-19 Martin Rudalics <rudalics@gmx.at>
469
470 * emacs-lisp/debug.el (debug): Record height of debugger window
471 also when debugger will be back (Bug#8789).
472
8c27235e
CY
4732012-10-18 Chong Yidong <cyd@gnu.org>
474
475 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
476 Convert to defcustom.
477 (gdb-get-source-file): Don't bind pop-up-windows.
478
479 * progmodes/gud.el (gud-display-line): Don't specially re-use
480 other frames for the gdb-mi case (Bug#12648).
481
90eacf99
SM
4822012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
483
aaf0c300
SM
484 * emacs-lisp/advice.el: Clean up commentary a bit.
485 (ad-do-advised-functions, ad-with-originals): Use `declare'.
486 (byte-code-function-p): Never redefine.
487
90eacf99
SM
488 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
489
281c9d2b
GM
4902012-10-18 Glenn Morris <rgm@gnu.org>
491
40714e3d
GM
492 * dired.el (dired-sort-toggle): Some ls implementations only allow
493 a single option string. (Bug#12666)
494
281c9d2b
GM
495 * minibuffer.el (completion-cycle-threshold): Doc fix.
496
b278604e
KH
4972012-10-17 Kenichi Handa <handa@gnu.org>
498
90eacf99
SM
499 * international/mule.el (set-keyboard-coding-system):
500 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
501 Supply TERMINAL arg to set-input-meta-mode.
502
df171c23 5032012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
504
505 * wdired.el (wdired-old-marks): New variable.
506 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
507 (wdired-do-renames): Move point with renamed file and don't lose
508 mark status (Bug#11795).
509
e5a94ec4
JL
5102012-10-16 Juri Linkov <juri@jurta.org>
511
512 * replace.el (query-replace-help): Mention multi-buffer replacement
513 keys in the Help message. (Bug#12655)
514
d18a0d24
CY
5152012-10-15 Chong Yidong <cyd@gnu.org>
516
517 * emacs-lisp/byte-run.el (defsubst): Doc fix.
518
8111f5e6
EZ
5192012-10-14 Eli Zaretskii <eliz@gnu.org>
520
7b9abf24
EZ
521 * window.el (display-buffer): Doc fix.
522
8111f5e6
EZ
523 * progmodes/compile.el (compilation-error-regexp-alist-alist):
524 Adjust the msft regexp to the output of Studio 2010, and move msft
525 before edg-1. See the discussion on emacs-devel,
526 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
527 for the details.
528
5046ef67
SM
5292012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
530
9760c73c
SM
531 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
532 (oset): Move uses of object-class-fast macro after its definition.
533
5046ef67
SM
534 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
535
0d11ff1c
CY
5362012-10-13 Chong Yidong <cyd@gnu.org>
537
538 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
539 enabled, re-enable it (Bug#11963).
540
88ded8ac
MR
5412012-10-13 Martin Rudalics <rudalics@gmx.at>
542
543 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
544 non-nil, restore window configuration (Bug#12623).
545
bd0ffffd
SM
5462012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
547
06485aa8
SM
548 * help-fns.el (describe-variable, describe-function-1):
549 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
550
bd0ffffd
SM
551 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
552
3a989246
GM
5532012-10-12 Glenn Morris <rgm@gnu.org>
554
555 * mail/rmailsum.el (rmail-header-summary):
556 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
557
55cd00c8
FEG
5582012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
559
bd0ffffd
SM
560 * progmodes/python.el (python-mode-map):
561 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
562 (python-nav--up-list): Fix behavior for blocks on the same level.
563
ac9fc2c7
SM
5642012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
565
d8cc4c00 566 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 567
5253a5fd
SM
568 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
569 changes to the format of load-history.
570
ac9fc2c7
SM
571 * international/mule-cmds.el (read-char-by-name): Move let-binding of
572 completion-ignore-case in case that var is buffer-local (bug#12615).
573
cde44a77
KH
5742012-10-11 Kenichi Handa <handa@gnu.org>
575
576 * international/eucjp-ms.el: Re-generated.
577
4ef4a10d
KH
5782012-10-10 Kenichi Handa <handa@gnu.org>
579
580 * select.el (xselect--encode-string): If a coding is specified for
581 selection, and that is compatible with COMPOUND_TEXT, use it.
582
9d7f027b
MR
5832012-10-10 Martin Rudalics <rudalics@gmx.at>
584
585 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
586 (switch-to-buffer):
587 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 588
238f3a58
SM
5892012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
592 Don't document nil as a useful value (bug#12583).
593
1d51f99c
MA
5942012-10-09 Michael Albinus <michael.albinus@gmx.de>
595
238f3a58
SM
596 * net/tramp.el (tramp-debug-message):
597 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
598 (with-tramp-progress-reporter): Rename from
599 `tramp-with-progress-reporter'.
238f3a58
SM
600 (with-tramp-file-property, with-tramp-connection-property):
601 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
602 `with-connection-property', respectively.
603
604 * net/tramp-cache.el: Remove `with-file-property' and
605 `with-connection-property'.
606
607 * net/tramp.el:
608 * net/tramp-gvfs.el:
609 * net/tramp-sh.el:
610 * net/tramp-smb.el: Adapt callees.
611
612 * net/trampver.el: Update release number.
613
26b77251
GM
6142012-10-09 Glenn Morris <rgm@gnu.org>
615
9a5f296f
GM
616 * w32-fns.el (set-message-beep):
617 * term/w32-win.el (set-message-beep): Update declarations.
618
94c66ce5
SM
6192012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
620
10766e9e
SM
621 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
622 (mode-line-widen, mode-line-input-method-map)
623 (mode-line-coding-system-map, mode-line-remote)
624 (mode-line-unbury-buffer, mode-line-bury-buffer)
625 (mode-line-next-buffer, mode-line-previous-buffer):
626 Replace save-selected-window+select-window => with-selected-window.
627
f754db08
SM
628 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
629 * progmodes/cc-vars.el (bq-process): Remove, unused.
630
94c66ce5
SM
631 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
632
a4ff7fe1
FEG
6332012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
634
635 Implemented `backward-up-list'-like navigation.
636 * progmodes/python.el (python-nav-up-list)
637 (python-nav-backward-up-list): New functions.
638 (python-mode-map): Define substitute key for backward-up-list to
639 python-nav-backward-up-list.
640
24517d82
FEG
6412012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
642
643 * progmodes/python.el (python-fill-paragraph): Rename from
644 python-fill-paragraph-function. Fixed fill-paragraph for
645 decorators (Bug#12605).
646
51867ae2
FEG
6472012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
648
649 * progmodes/python.el (python-shell-output-filter): Handle extra
650 carriage return in OSX (Bug#12409).
651
a5b773c4
FEG
6522012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
653
654 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 655 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
656 (python-syntax-propertize-function): Use it.
657 (python-shell-output-syntax-table): New var.
658 (inferior-python-mode): Prevent unbalanced parens/quotes from
659 previous output mess with current input context.
660
13373538
JB
6612012-10-08 Juanma Barranquero <lekktu@gmail.com>
662
663 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
664 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
665
775a132d
MA
6662012-10-08 Michael Albinus <michael.albinus@gmx.de>
667
668 * ffap.el (ffap-replace-file-component): Support Tramp file name
669 syntax, not only ange-ftp's one.
670
3ab44929
GM
6712012-10-08 Glenn Morris <rgm@gnu.org>
672
57f1dee4
GM
673 * cus-start.el (message-log-max): Set :version.
674
3ab44929
GM
675 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
676
6a088630
MR
6772012-10-08 Martin Rudalics <rudalics@gmx.at>
678
679 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
680 the minibuffer window (Bug#10851).
681
8dbce54c
FEG
6822012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
683
684 Enhancements on forward-sexp movement.
685 * progmodes/python.el (python-nav-beginning-of-statement)
686 (python-nav-end-of-statement): Return point-marker.
687 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
688 (python-info-current-symbol)
689 (python-info-statement-starts-block-p): Rename from
690 python-info-beginning-of-block-p.
691 (python-info-statement-ends-block-p): Rename from
692 python-info-end-of-block-p.
693 (python-info-beginning-of-statement-p)
694 (python-info-end-of-statement-p)
695 (python-info-beginning-of-block-p, python-info-end-of-block-p):
696 New functions.
697
5acd2b3e
SM
6982012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
701 frame-selected-windows.
702
e08348a0
DC
7032012-10-08 Daniel Colascione <dancol@dancol.org>
704
705 * battery.el (battery-status-function): Check for
706 w32-battery-status itself, not system-time windows-nt.
707
708 * frame.el: Require cl-lib.
709 (display-format-alist): New variable mapping frame types to
710 functions that initialize them.
711 (window-system-for-display): New function: interprets
712 display-format-alist.
713 (make-frame-on-display): Remove existing display-selection logic
714 and just forward to make-frame, which will now DTRT.
715 (make-frame): Restructure to use window-system-for-display to
716 figure out how to create a frame on a given display.
717 (display-mouse-p): Look for frame-type w32, not a particular
718 system-type.
719
720 * loadup.el: Load w32 lisp code when we have the w32 feature.
721
722 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
723 system-type windows-nt.
724
725 * server.el (server-create-window-system-frame): Look for window
726 type.
727 (server-proces-filter): Only force a window system when windows-nt
728 _and_ w32. Explain why.
729
730 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
731 of window systems we configure for the mode.
732
733 * startup.el (command-line): Mark window system is initialized
734 after we've done it.
735
736 * common-win.el (x-select-text): Look for w32, not windows-nt.
737
738 * ns-win.el: Require cl-lib. Add ourselves to
739 display-format-alist.
740 (ns-initialize-window-system): Assert we're not initialized twice.
741
742 * w32-win.el: Enable lexical binding; require cl-lib; add
743 ourselves to display-format-alist.
744 (w32-handle-dropped-file): Convert incoming dropped files from
745 Windows paths to Cygwin ones before passing them on to the rest of
746 Emacs.
747 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
748 (w32-initialize-window-system): Assert we're not initialized twice.
749
750 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
751 (x-initialize-window-system): Assert we're not initialized twice.
752
753 * w32-common-fns.el: New File.
754 (w32-version, w32-using-nt, w32-get-clipboard-data)
755 (w32-set-clipboard-data, x-set-selection, x-get-selection)
756 (w32-charset-info-alist, x-last-selected, text)
757 (x-get-selection-value, x-selection-value): Move here.
758
759 * w32-fns.el: Require w32-common-fns.
760 (w32-version, w32-using-nt, w32-get-clipboard-data)
761 (w32-set-clipboard-data, x-set-selection, x-get-selection)
762 (w32-charset-info-alist, x-last-selected, text)
763 (x-get-selection-value, x-selection-value): Move to
764 w32-common-fns.
765
766 * w32-vars.el:
767 (w32-allow-system-shell, w32-system-shells): Define only in
768 non-cygwin case.
769
795b1482
SM
7702012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
773 (read-passwd): Remove a few more potential sources of leaks.
774
f27c99dc
FEG
7752012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
776
777 * progmodes/python.el (inferior-python-mode)
795b1482 778 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
779 variables copied from parent buffer.
780
fcacb558
JD
7812012-10-07 Jan Djärv <jan.h.d@swipnet.se>
782
783 * term/ns-win.el (ns-read-file-name): Update declaration to match
784 nsfns.m.
785 (ns-respond-to-change-font): Change fontsize separatly so we are sure
786 it is set when font is acted upon.
787
be0d5bae
FEG
7882012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
789
790 Enhancements to indentation.
791 * progmodes/python.el (python-indent-context): Give priority to
792 inside-string context. Make comments indentation markers.
793 (python-indent-region): Do not mess with strings, unless it's the
794 enclosing set of quotes.
795
13af0d10
SM
7962012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
797
662a9d0e
SM
798 * window.el (internal--before-save-selected-window)
799 (internal--after-save-selected-window): New functions extracted from
800 save-selected-window. Make sure we return the `alist' we construct.
801 (save-selected-window): Use them.
802
803 * textmodes/tex-mode.el (tex-recenter-output-buffer):
804 Use with-selected-window.
805
13af0d10
SM
806 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
807 forms that define macros (bug#12593).
808
6aa75fb6
KH
8092012-10-07 Kenichi Handa <handa@gnu.org>
810
13af0d10
SM
811 * international/mule-conf.el (compound-text-with-extensions):
812 Add :mime-charset property as x-ctext.
6aa75fb6 813
78d876b9
SM
8142012-10-07 Stefan Merten <smerten@oekonux.de>
815
816 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
817 (rst-indent-literal-normal, rst-indent-literal-minimized)
818 (rst-indent-comment): Correct :version tag.
557337e9 819 (rst-official-cvs-rev): Correct version string.
78d876b9 820
99a1e701
GM
8212012-10-07 Glenn Morris <rgm@gnu.org>
822
823 * mail/rmailmm.el (rmail-mime-process-multipart):
824 Do not confuse a multipart message with an epilogue
825 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
826
08f18c3d
FEG
8272012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
828
829 Fix shell output retrieval and comint-prompt-regexp init.
830 * progmodes/python.el (inferior-python-mode):
831 (python-shell-make-comint): Fix initialization of
832 comint-prompt-regexp from copied file local variables.
833 (python-shell-fetched-lines): Remove var.
834 (python-shell-output-filter-in-progress): Rename from
835 python-shell-fetch-lines-in-progress.
836 (python-shell-output-filter-buffer): Rename from
837 python-shell-fetch-lines-string.
838 (python-shell-fetch-lines-filter): Delete function.
839 (python-shell-output-filter): New function.
840 (python-shell-send-string-no-output): Use them.
841
82ed3ab4
GM
8422012-10-07 Glenn Morris <rgm@gnu.org>
843
1595ecfa
GM
844 * hi-lock.el (hi-lock-process-phrase):
845 Try to make it less fragile. (Bug#7161)
846
82ed3ab4
GM
847 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
848
f1f4dba0
GM
8492012-10-06 Glenn Morris <rgm@gnu.org>
850
addc11ed 851 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
852 non-existent mode `help'.
853 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 854
460042b8
GM
855 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
856 (reftex-create-bibtex-footer): Fix custom types.
857
67667c70
GM
858 * progmodes/sh-script.el (sh-indent-after-continuation):
859 Add explicit :group.
860
18dec750
GM
861 * textmodes/rst.el (rst-preferred-decorations)
862 (rst-shift-basic-offset): Clarify obsolescence versions.
863
d1a1c7e6
GM
864 * profiler.el (profiler): Add missing group :version tag.
865 * avoid.el (mouse-avoidance-banish-position):
866 * proced.el (proced-renice-command):
867 * calc/calc.el (calc-ensure-consistent-units):
868 * calendar/icalendar.el (icalendar-import-format-uid):
869 * net/tramp.el (tramp-save-ad-hoc-proxies):
870 * progmodes/bug-reference.el (bug-reference-bug-regexp):
871 * progmodes/flymake.el (flymake-error-bitmap)
872 (flymake-warning-bitmap, flymake-fringe-indicator-position):
873 * progmodes/sh-script.el (sh-indent-after-continuation):
874 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
875 (verilog-before-save-font-hook, verilog-after-save-font-hook):
876 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
877 (vhdl-array-index-record-field-in-sensitivity-list)
878 (vhdl-indent-comment-like-next-code-line):
879 * textmodes/reftex-vars.el (reftex-ref-style-alist)
880 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
881 (reftex-cite-key-separator, reftex-create-bibtex-header)
882 (reftex-create-bibtex-footer):
883 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
884 (rst-indent-literal-normal, rst-indent-literal-minimized)
885 (rst-indent-comment): Add missing custom :version tags.
886
ef35abb4
GM
887 * calendar/timeclock.el (timeclock-modeline-display):
888 Add missing obsolete alias for renamed user option.
889
d1aae614
GM
890 * strokes.el (strokes-modeline-string):
891 * emulation/crisp.el (crisp-mode-modeline-string):
892 * eshell/esh-mode.el (eshell-status-in-modeline):
893 Aliases to defcustoms must come before the defcustom.
894
f1f4dba0
GM
895 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
896 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
897 (cal-tex-cursor-week-monday): Doc fixes.
898 (cal-tex-cursor-week2-summary): Doc fix.
899 Rename from cal-tex-cursor-week-at-a-glance.
900
901 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
902 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
903
904 * calendar/calendar.el (calendar-mode-map):
905 Add cal-tex-cursor-week2-summary.
906
d39109c3
SM
9072012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
908
685f87b0
SM
909 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
910
d39109c3
SM
911 * subr.el (read-passwd-map): New var.
912 (read-passwd): Use `read-string' again.
913 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
914
5694896d
J
9152012-10-06 Jambunathan K <kjambunathan@gmail.com>
916
917 * register.el (append-to-register, prepend-to-register):
918 Deactivate mark, as does `copy-to-register' (bug#12389).
919
9414dd8d
CY
9202012-10-06 Chong Yidong <cyd@gnu.org>
921
922 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
923
2b89bca4
KH
9242012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
925
926 * international/characters.el: Fix simple mistake ((car chars) ->
927 elt), delete duplicated code.
928
d5acb99a
GM
9292012-10-06 Glenn Morris <rgm@gnu.org>
930
931 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
932
123ec157
JS
9332012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
934
935 * color.el (color-hsl-to-rgb): Fix incorrect results for
936 small and large hue values. (Bug#12559)
937
7fa36ccb
FEG
9382012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
939
940 Enhancements to docstring formatting when filling paragraphs.
941 * progmodes/python.el (python-fill-docstring-style): Rename from
942 python-fill-string-style. Added new style.
943 (python-fill-string): Use new style. Better checks for
944 docstrings.
945
d8788e1e
GM
9462012-10-05 Glenn Morris <rgm@gnu.org>
947
204f3953
GM
948 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
949
d8788e1e
GM
950 * color.el (color-name-to-rgb, color-rgb-to-hex)
951 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
952 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
953 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
954 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
955
8d956cef
GM
956 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
957
e8757f09 9582012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
959
960 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
961 to get the correct size across symlinks.
962
e8757f09
GM
963 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
964
0e2ae83d
JL
9652012-10-04 Juri Linkov <juri@jurta.org>
966
967 * replace.el (query-replace-interactive): Declare obsolete.
968 (query-replace-read-from): Add the last incremental search string
969 to the list of default values accessible via M-n.
970 (map-query-replace-regexp): Use `read-regexp'.
971 (query-replace, query-replace-regexp, query-replace-regexp-eval)
972 (map-query-replace-regexp, replace-string, replace-regexp):
973 Fix docstrings to replace mentions of `query-replace-interactive'
974 with alternatives. (Bug#12526)
975
93cacb6d
JL
9762012-10-04 Juri Linkov <juri@jurta.org>
977
978 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
979 (dired-pop-to-buffer): Declare obsolete.
980 (dired-mark-pop-up): Doc fix.
981
fc345011
FEG
9822012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
983
984 Allow user to set docstring style for fill-paragraph.
985 * progmodes/python.el
986 (python-fill-comment-function, python-fill-string-function)
987 (python-fill-decorator-function, python-fill-paren-function):
988 Remove :safe for defcustoms.
989 (python-fill-string-style): New defcustom
5694896d 990 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
991 (python-fill-string): Honor python-fill-string-style settings.
992
6bab5d8b
MR
9932012-10-04 Martin Rudalics <rudalics@gmx.at>
994
995 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
996 after setting its buffer (Bug#10805).
997
a1a9f411
FEG
9982012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
999
1000 Fix cornercase for string syntax.
1001 * progmodes/python.el (python-syntax-propertize-function):
1002 Simplify and enhance the regexp for unescaped quotes. Now it also
1003 matches quotes in weird situations like the single quote in
1004 "something\"'".
1005 (python-syntax-stringify): Simplify num-quotes detecting code.
1006
05e153a6
GM
10072012-10-03 Glenn Morris <rgm@gnu.org>
1008
1009 * help-macro.el (three-step-help):
1010 Revert 2012-09-29 change. (Bug#12567)
1011
2e566ecb
MR
10122012-10-03 Martin Rudalics <rudalics@gmx.at>
1013
96ef9ccd
MR
1014 * menu-bar.el (kill-this-buffer): Don't do anything when
1015 `menu-frame' is not alive or visible (Bug#8184).
1016
2e566ecb
MR
1017 * emacs-lisp/debug.el (debug): When quitting the debugger window
1018 restore current buffer (Bug#12502).
1019
a96e1cb7
CY
10202012-10-02 Chong Yidong <cyd@gnu.org>
1021
5694896d
J
1022 * progmodes/hideif.el (hif-lookup, hif-defined):
1023 Handle semantic-c-takeover-hideif.
a96e1cb7 1024
b3ecad33
PE
10252012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1026
1027 Change sampling interval units from ms to ns.
1028 * profiler.el (profiler-sampling-interval): Change units
1029 from ms to ns, multiplying the default by 1000000 so that
1030 it remains 1 ms.
1031 (profiler-report-cpu-line-format): Give enough room for
1032 the maximum counters on 64-bit hosts.
1033 (profiler-report-render-calltree-1): Call them "CPU samples",
1034 not "Time (ms)", since they are not milliseconds now (and
1035 never really were).
1036
8cb51b66 10372012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1038
5694896d
J
1039 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1040 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1041
fd795bf4
CY
10422012-10-02 Chong Yidong <cyd@gnu.org>
1043
1044 * emacs-lisp/eieio.el: Restore Version header.
1045
fe0a74f9
SM
10462012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1047
6be9197e
SM
1048 * vc/diff-mode.el (diff--auto-refine-data): New var.
1049 (diff-hunk): Use it to delay refinement.
1050 (diff-mode): Remove overlays when we turn off font-lock.
1051
18486139
SM
1052 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1053 (table-initialize-table-fixed-width-mode)
1054 (table-set-table-fixed-width-mode): Remove functions.
1055 (table-command-list): Move initialization into declaration.
1056 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1057 (table-with-cache-buffer): Use `declare'.
1058 (table-span-cell): Simplify via CSE.
1059 (table-fixed-width-mode): Use define-minor-mode.
1060 (table-call-interactively, table-funcall, table-apply): Remove.
1061 (table-function): New function, to replace them.
1062
d83ef976
SM
1063 * bookmark.el (bookmark-search-pattern): Remove var.
1064 (bookmark-read-search-input): Remove function.
1065 (bookmark-bmenu-search): Reimplement using a minibuffer.
1066
cd386662
SM
1067 * faces.el (modeline): Remove obsolete face name.
1068
fe0a74f9
SM
1069 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1070 and give a non-nil default value.
1071 (add-change-log-entry): Simplify accordingly.
1072
9f7b98f8
DG
10732012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1074
1075 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1076 (vc-git-log-edit-toggle-amend): New function.
1077 (vc-git-log-edit-toggle-signoff): New function.
1078 (vc-git-log-edit-mode): New major mode.
1079 (vc-git-log-edit-mode-map): Keymap for it.
1080 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1081
1082 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1083 header names.
1084 (log-edit-toggle-header): New function.
1085 (log-edit-extract-headers): Accept function values in HEADERS alist.
1086
62a81506
CY
10872012-10-01 David Engster <deng@randomsample.de>
1088
1089 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1090 from symbol property and change message to be more consistent with
1091 Emacs proper.
1092 (eieio-describe-generic): Add filename for each implementation.
1093 Fix indices for generic and normal methods.
1094 (eieio-method-def, eieio-class-def): New buttons.
1095 (eieio-help-find-method-definition)
1096 (eieio-help-find-class-definition): New functions.
1097 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1098 class, constructor and method definitions.
1099
1100 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1101 information in symbol property.
1102 (scoped-class): Remove.
1103 (eieio-slot-name-index, call-next-method): Check if it is bound.
1104
11052012-10-01 Leo P. White <lpw25@cam.ac.uk>
1106
1107 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1108 (eieio-custom-mode): New major mode.
1109 (eieio-customize-object): Use it.
1110
11112012-10-01 Eric Ludlam <zappo@gnu.org>
1112
1113 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1114 specifying the expected class, and whether subclassing is allowed.
1115 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1116 (eieio-persistent-validate/fix-slot-value)
1117 (eieio-persistent-slot-type-is-class-p): New functions.
1118 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1119
1120 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1121 Stop using unused publd variable.
1122
1123 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1124 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1125 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1126 (eieio-speedbar-handle-click): Do not specify a class for the
1127 method. Fixes method invocation order problems with EDE.
1128
375e49d4
SM
11292012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1132 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1133
16ce6ccd
KF
11342012-10-01 Karl Fogel <kfogel@red-bean.com>
1135
1136 * bookmark.el (bookmark-version-control): Give tags in the
1137 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1138 (bookmark-write-file): Bind `print-circle' to `t' to allow
1139 circular custom bookmark types. (Bug#12503)
16ce6ccd 1140
19e54a4d
PE
11412012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1142
86ec63ba
PE
1143 Revert the FOLLOW-SYMLINKS change for file-attributes.
1144 * files.el (remote-file-name-inhibit-cache, after-find-file):
1145 * time.el (display-time-file-nonempty-p): Undo last change.
1146
19e54a4d
PE
1147 * profiler.el (profiler-sampling-interval): Change default back to 1.
1148 See Stefan Monnier in
1149 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1150
0478776b
FEG
11512012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1152
1153 Shell output catching a la gud-gdb.
1154 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1155 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1156 New Vars.
0478776b
FEG
1157 (python-shell-fetch-lines-filter): New function.
1158 (python-shell-send-string-no-output): Use them.
1159
c22bac2c
TM
11602012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1161
1162 * profiler.el (profiler-sampling-interval): Rename from
1163 profiler-sample-interval.
1164 (profiler-sampling-interval): Default to 10.
1165 (profiler-find-profile): New command (was profiler-find-log).
1166 (profiler-find-profile-other-window): New command.
1167 (profiler-find-profile-other-frame): New command.
1168 (profiler-profile): Introduce API-level data structure.
1169
e7a2937b
PE
11702012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1171
1172 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1173 * files.el (remote-file-name-inhibit-cache):
1174 * time.el (display-time-file-nonempty-p): Use it.
1175 * files.el (after-find-file): Don't chase links before calling
1176 file-exists-p, as file-exists-p already does the right thing.
1177
4f595e15
RA
11782012-09-30 Ralf Angeli <angeli@caeruleus.net>
1179
1180 Merge from standalone RefTeX repository.
1181
1182 The following ChangeLog entries are shortened versions of the
1183 original ones with file paths adapted. A not so strongly edited
1184 version of the original ChangeLog can be found in the commit log.
1185
1186 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1187 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1188 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1189
1190 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1191 that entries with whitespace at various places are found.
1192 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1193 Include @String definitions in the resulting bib file. Add header
1194 and footer defined in `reftex-create-bibtex-header' and
1195 `reftex-create-bibtex-footer'.
1196 (reftex-do-citation): Make it possible again to insert
1197 non-existent entries. Save match data when asking for optional
1198 arguments. Return all keys, not just the first one.
1199 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1200 all citations in the same line.
1201 (reftex-parse-bibtex-entry): Accept additional optional argument
1202 `raw' and keep quotes or braces if it is non-nil. Match fields
1203 containing hyphens besides word constituents.
1204 (reftex-get-string-refs): New function.
1205 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1206 and ask if it should be reread in case it did.
1207 (reftex-pop-to-bibtex-entry)
1208 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1209 entries with spaces or tabs in front of arguments.
1210 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1211 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1212 Match entries containing numbers and symbol constituents.
1213 (reftex-do-citation, reftex-figure-out-cite-format):
1214 Use `reftex-cite-key-separator'.
4f595e15
RA
1215
1216 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1217 (reftex-mouse-view-crossref): Explain why point is set.
1218
1219 * textmodes/reftex-global.el: Whitespace changes.
1220
1221 * textmodes/reftex-index.el: Move provide statement to end of
1222 file.
1223 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1224 (reftex-index-visit-phrases-buffer): Set marker when visiting
1225 buffer. This allows for returning from the phrases file to the
1226 file one was just editing instead of the file where the last
1227 phrases was added from.
1228 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1229 punctuation syntax as it usually is not used as string quote in
1230 TeX-related modes and may occur unmatched. The change also
1231 prevents fontification of quoted content.
1232 (reftex-index-phrases-mode): Use it.
1233
375e49d4
SM
1234 * textmodes/reftex-parse.el (reftex-parse-from-file):
1235 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1236 (reftex-parse-from-file): Use beginning of match instead of end as
1237 bound.
1238
1239 * textmodes/reftex-ref.el: Adapt creation of
1240 `reftex-<package>-<macro>' functions to new structure of
1241 `reftex-ref-style-alist'.
375e49d4
SM
1242 (reftex-reference): Use `reftex-ref-style-list' function.
1243 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1244 reference macro if `reftex-ref-macro-prompt' is non-nil.
1245 (reftex-reference): Pass refstyle to `reftex-format-special'.
1246 Determine reference macro by looking at
375e49d4
SM
1247 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1248 Use only one special format function.
4f595e15
RA
1249 (reftex-varioref-vref, reftex-fancyref-fref)
1250 (reftex-fancyref-Fref): Remove definitions. The functions are now
1251 generated from `reftex-ref-style-alist'.
1252 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1253 Remove.
1254 (reftex-format-special): New function.
1255
1256 * textmodes/reftex-sel.el
1257 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1258 of `reftex-ref-style-alist'. Remove code for testing macro type.
1259 (reftex-select-toggle-varioref)
1260 (reftex-select-toggle-fancyref): Remove.
1261 (reftex-select-cycle-ref-style-internal)
1262 (reftex-select-cycle-ref-style-forward)
1263 (reftex-select-cycle-ref-style-backward): New functions.
1264 (reftex-select-label-map): Use `v' and `V' for general cycling
1265 through reference styles. Add `p' for switching between number
1266 and page reference types.
1267
375e49d4
SM
1268 * textmodes/reftex-toc.el (reftex-re-enlarge):
1269 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1270 the horizontal version throws an error even if the parameter is 0.
1271
1272 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1273 (reftex-plug-into-AUCTeX): Doc fix.
1274 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1275 string. Adapt to new name.
1276 (reftex-ref-style-alist): Change structure so that it is not
1277 possible to use multiple different package names within a style.
375e49d4
SM
1278 Remove the symbols for symbols for macro type distinction.
1279 Add characters for macro selection.
4f595e15
RA
1280 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1281 (reftex-create-bibtex-footer): New variables.
1282 (reftex-format-ref-function): Mention third argument of special
1283 format function.
375e49d4
SM
1284 (reftex-ref-style-alist, reftex-ref-style-default-list):
1285 New variables.
4f595e15
RA
1286 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1287 to new implementation. Mark as obsolete. Add compatibility code
1288 for honoring the variable values in case they are set.
375e49d4
SM
1289 (reftex-cite-format-builtin, reftex-bibliography-commands):
1290 Add support for ConTeXt.
1291 (reftex-format-ref-function, reftex-format-cite-function):
1292 Fix custom type.
4f595e15
RA
1293 (reftex-cite-key-separator): New variable.
1294
1295 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1296 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1297 `reftex-syntax-table' because parens have to retain their paren
1298 syntax in order for parsing of BibTeX entries like @book(...) to
1299 work.
1300 (reftex-in-comment): Do not error out if `comment-start-skip' is
1301 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1302 (reftex-tie-multifile-symbols): Add doc string.
1303 Initialize `reftex-ref-style-list'.
4f595e15
RA
1304 (reftex-untie-multifile-symbols): Add doc string.
1305 (reftex-add-index-macros): Doc fix.
1306 (reftex-ref-style-activate, reftex-ref-style-toggle)
1307 (reftex-ref-style-list): New functions.
1308 (reftex-mode-menu): Use them. Adapt to new structure of
1309 `reftex-ref-style-alist'.
1310 (reftex-select-with-char): Kill the RefTeX Select buffer when
1311 done.
1312 (reftex-remove-if): New function.
1313 (reftex-erase-all-selection-and-index-buffers)
1314 (reftex-mode-menu): Reference styles are now computed from
1315 `reftex-ref-style-alist'. Fix typo.
1316 (reftex-report-bug): New function.
1317 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1318 algorithms with O(n log n). Introduce optional argument SORT (not
1319 yet used).
1320
440ba395
FEG
13212012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1322
1323 Enhancements for triple-quote string syntax.
375e49d4
SM
1324 * progmodes/python.el (python-syntax-propertize-function):
1325 Match both quote cases in one regexp.
440ba395
FEG
1326 (python-syntax-stringify): Handle matches properly.
1327
4c478e6b
JL
13282012-09-30 Juri Linkov <juri@jurta.org>
1329
1330 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1331 to nil around the call to `insert' to prevent
4c478e6b
JL
1332 directory time modification by lock_file. (Bug#2295)
1333 * tar-mode.el (tar-summarize-buffer): Idem.
1334
d80d54b2
JL
13352012-09-30 Juri Linkov <juri@jurta.org>
1336
1337 * facemenu.el (list-colors-sort): Add option "Luminance".
1338 (list-colors-sort-key): Implement it.
1339
1340 * vc/diff-mode.el (diff-refine-removed):
1341 * vc/ediff-init.el (ediff-fine-diff-A):
1342 * vc/smerge-mode.el (smerge-refined-removed):
1343 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1344
d7e642cc
JD
13452012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1346
1347 * term/ns-win.el (x-file-dialog): New function.
1348
ee41332b
JB
13492012-09-30 Juanma Barranquero <lekktu@gmail.com>
1350
1351 * ido.el (ido-max-directory-size): Default to nil; the current
1352 default is small for POSIX systems, and impractical on Windows 7
1353 now that lstat returns directory sizes for NTFS.
1354
5938d519
MR
13552012-09-30 Martin Rudalics <rudalics@gmx.at>
1356
1357 In buffer display functions handle window-height/window-width
1358 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1359 * window.el (window--display-buffer): New argument ALIST.
1360 Obey window-height and window-width alist entries.
1361 (window--try-to-split-window): New argument ALIST.
1362 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1363 changed and window-combination-limit equals `window-size'.
1364 (display-buffer-in-atom-window)
1365 (display-buffer-in-major-side-window)
1366 (display-buffer-in-side-window, display-buffer-same-window)
1367 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1368 (display-buffer-pop-up-window, display-buffer-below-selected)
1369 (display-buffer-at-bottom, display-buffer-in-previous-window)
1370 (display-buffer-use-some-window): Adjust all callers of
1371 window--display-buffer and window--try-to-split-window.
1372 (fit-frame-to-buffer): New option.
1373 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1374 is non-nil.
1375 (display-buffer-in-major-side-window): Evaluate window-height /
1376 window-width alist entries.
1377
1378 * help.el (temp-buffer-resize-frames)
1379 (temp-buffer-resize-regexps): Remove options.
1380 (temp-buffer-resize-mode): Adjust doc-string.
1381 (resize-temp-buffer-window): Don't consult
1382 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1383 temp-buffer-resize-frames.
1384
375e49d4
SM
1385 * dired.el (dired-mark-pop-up):
1386 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1387 entry.
1388
c4c0c2df
CY
13892012-09-30 Chong Yidong <cyd@gnu.org>
1390
48de8b12
CY
1391 * server.el (server-host): Document the security implications.
1392 (server-auth-key): Doc fix.
1393
1394 * startup.el (initial-buffer-choice): Doc fix.
1395
1396 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1397
a97dc380
CY
1398 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1399 restriction change.
1400
d39d3c8e
CY
1401 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1402
c4c0c2df
CY
1403 * help-fns.el (help-fns--obsolete): Fix last change.
1404
98a5e33b
SM
14052012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1406
34cf6f39
SM
1407 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1408 (minor-mode-map-alist): Remove redundant code.
1409
e01c13fe
SM
1410 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1411 visited in a buffer.
1412 (cvs-insert-visited-file): New function.
1413 (find-file-hook): Use it.
1414
1415 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1416
02661b3a
SM
1417 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1418 chose face.
1419 (log-edit-empty-buffer-p): Don't require a space after a header.
1420
43711d4b
SM
1421 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1422
38a30d64
SM
1423 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1424
4ffb41a9
SM
1425 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1426 a proper minor-mode.
1427
98a5e33b
SM
1428 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1429
de82e29b
GM
14302012-09-29 Glenn Morris <rgm@gnu.org>
1431
5cc2e639
GM
1432 * winner.el (winner-mode): Remove variable (let define-minor-mode
1433 handle it).
1434 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1435 Doc fixes.
1436 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1437 (winner-mode): Use define-minor-mode.
1438
7bd302eb
GM
1439 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1440 the full definition in loaddefs, rather than duplicating it.
1441
2923922f 1442 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1443
0e3e4156
GM
1444 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1445 (inferior-lisp-program, inferior-lisp-load-command)
1446 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1447 No need to autoload defcustoms.
0e3e4156 1448
de82e29b
GM
1449 * hippie-exp.el (hippie-expand-try-functions-list)
1450 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1451 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1452 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1453 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1454 * progmodes/vhdl-mode.el (vhdl-line-expand):
1455 Explicitly load hippie-exp, so it does not get autoloaded
1456 while hippie-expand-try-functions-list is let-bound.
1457
e60b51ab
GM
14582012-09-28 Glenn Morris <rgm@gnu.org>
1459
277f0cfa
GM
1460 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1461
e60b51ab
GM
1462 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1463 Only "cl.el" counts as cl these days.
1464
53baf48a
JL
14652012-09-28 Juri Linkov <juri@jurta.org>
1466
1467 Display archive errors in the echo area instead of inserting
1468 to the file buffer.
1469
1470 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1471 to STDERR-TEST that can be a regexp matching a successful output.
1472 Create a temporary file and redirect stderr to it. Search for
1473 STDERR-TEST in the stderr output and display it in the echo area
1474 if no match is found.
1475 (archive-extract-by-file): New function like
1476 `archive-extract-by-stdout' but extracting archives to files
1477 and looking for successful matches in stdout. Function body is
1478 mostly copied from `archive-rar-extract'.
1479 (archive-rar-extract): Use `archive-extract-by-file'.
1480 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1481
9c1228c3
LL
14822012-09-28 Leo Liu <sdl.web@gmail.com>
1483
375e49d4
SM
1484 * pcomplete.el (pcomplete-show-completions):
1485 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1486
9c1228c3
LL
1487 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1488
7f457c06
SM
14892012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1490
3df749b0
SM
1491 * type-break.el: Use lexical-binding.
1492 (type-break-mode): Use define-minor-mode.
1493
7f457c06
SM
1494 * emacs-lisp/pcase.el (pcase--mark-used): New.
1495 (pcase--u1): Use it (bug#12512).
1496
1497 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1498 in load-history with the right file name.
1499
c00ebc98
TH
15002012-09-28 Tassilo Horn <tsdh@gnu.org>
1501
1502 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1503 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1504 (doc-view-get-bounding-box): Make bounding box slicing work for
1505 ODF and DVI documents.
1506
96fb7170
GM
15072012-09-28 Glenn Morris <rgm@gnu.org>
1508
1509 * type-break.el (type-break-mode, type-break-interval)
1510 (type-break-good-rest-interval, type-break-keystroke-threshold):
1511 No need to autoload.
1512 (type-break-good-rest-interval, type-break-keystroke-threshold):
1513 Add :set-after.
1514
5bc93c67
CY
15152012-09-28 Chong Yidong <cyd@gnu.org>
1516
1517 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1518 Add :version tag.
1519
9cad61d6
SM
15202012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1521
e28e67b3 1522 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1523
daee954c
GM
15242012-09-27 Glenn Morris <rgm@gnu.org>
1525
a88324d4
GM
1526 * faces.el (x-display-name): Declare (for without-x builds).
1527
8e5064e5
GM
1528 * linum.el (linum-format): Don't autoload it. Improve :type.
1529
cc1783c2
GM
1530 * progmodes/tcl.el: Don't require outline when compiling.
1531 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1532 * textmodes/sgml-mode.el: Don't require outline when compiling.
1533 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1534
48c339f2
GM
1535 * term.el (term-ansi-reset):
1536 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1537
daee954c
GM
1538 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1539 files for RCS and SCCS. (Bug#9781)
1540
b7f42161
CY
15412012-09-27 Chong Yidong <cyd@gnu.org>
1542
1543 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1544 change; value should be t.
1545
a2e770db
SM
15462012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1547
83600dc8
SM
1548 * image-mode.el: Use lexical-binding.
1549 (image-mode-winprops): Use t to stand for the window of
1550 a buffer that's not displayed.
1551 * doc-view.el (doc-view-new-window-function): Handle the new
1552 t in winprops.
1553 (doc-view-enlarge): Make it a real nop if the size is not changed.
1554 (doc-view-display): Handle the case where the buffer is not (yet?)
1555 displayed in any window.
1556 (doc-view-saved-settings): New var.
1557 (doc-view-mode): Use it.
1558 (doc-view-fallback-mode): Set it.
1559
a2e770db
SM
1560 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1561 Set lexical-binding.
1562 (minibuffer-eldef-shorten-default): New var.
1563 (minibuffer-default-in-prompt-regexps): Use it for new default.
1564 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1565
e3b60857
JB
15662012-09-26 Juanma Barranquero <lekktu@gmail.com>
1567
1568 * international/uni-bidi.el:
1569 * international/uni-category.el:
1570 * international/uni-name.el:
1571 * international/uni-numeric.el: Regenerate.
1572
3a880af4
SM
15732012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1574 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * profiler.el: New file.
1577
07b1a5fb
SM
15782012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1581 (testcover-reinstrument): Simplify with CSE.
1582
42019c2e
JB
15832012-09-26 Juanma Barranquero <lekktu@gmail.com>
1584
1585 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1586
179f044b
WS
15872012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1588
1589 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1590 (verilog-auto-input, verilog-auto-insert-lisp)
1591 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1592 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1593 (verilog-auto-unused, verilog-auto-wire)
1594 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1595 newline. Reported by Andrew Jones.
1596 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1597 Reported by Brad Dobbie.
07b1a5fb
SM
1598 (verilog-batch-delete-trailing-whitespace):
1599 Create verilog-batch-delete-trailing-whitespace.
1600 Reported by Brad Dobbie.
179f044b
WS
1601 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1602 parameters from another module. Reported by Dan Katz.
1603 (verilog-auto, verilog-auto-assign-modport)
1604 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1605 AUTOINOUTMODPORT for UVM interface module shell generation.
1606 Reported by Brad Dobbie.
1607 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1608 standard behavior.
1609 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1610 Reported by Matt Martin.
1611
9c52dd5a
MR
16122012-09-25 Martin Rudalics <rudalics@gmx.at>
1613
1614 * window.el (window--resize-child-windows): When resizing child
1615 windows proportionally, process them in reverse order to
1616 preserve the "when splitting a window the new one gets the odd
1617 line" behavior.
1618 (window--resize-root-window-vertically): When resizing the
1619 minibuffer window try to affect only windows at the bottom of the
1620 frame. (Bug#12419)
1621
863666eb
CY
16222012-09-25 Chong Yidong <cyd@gnu.org>
1623
1624 * subr.el (declare): Doc fix.
1625
1626 * help-fns.el (help-fns--obsolete): Handle macros properly.
1627
59f7af81
CY
16282012-09-25 Chong Yidong <cyd@gnu.org>
1629
1630 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1631 this function obsolete.
1632
1633 * calendar/cal-x.el (calendar-two-frame-setup)
1634 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1635 * calendar/calendar.el (american-calendar, european-calendar)
1636 (calendar-for-loop):
1637 * comint.el (comint-dynamic-simple-complete)
1638 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1639 * desktop.el (desktop-load-default):
1640 * dired-x.el (dired-omit-here-always)
1641 (dired-hack-local-variables, dired-default-directory):
1642 * emacs-lisp/derived.el (derived-mode-class):
1643 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1644 * emacs-lock.el (toggle-emacs-lock):
1645 * epa.el (epa-display-verify-result):
1646 * epg.el (epg-sign-keys, epg-start-sign-keys)
1647 (epg-passphrase-callback-function):
1648 * eshell/esh-util.el (eshell-for):
1649 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1650 (eshell-add-to-window-buffer-names):
1651 * files.el (locate-file-completion):
1652 * imenu.el (imenu-example--create-c-index)
1653 (imenu-example--create-lisp-index)
1654 (imenu-example--lisp-extract-index-name)
1655 (imenu-example--name-and-position):
1656 * international/mule-cmds.el (princ-list):
1657 * international/mule-diag.el (decode-codepage-char):
1658 * international/mule-util.el (detect-coding-with-priority):
1659 * iswitchb.el (iswitchb-read-buffer):
1660 * mail/mailalias.el (mail-complete):
1661 * mail/sendmail.el (mail-sent-via):
1662 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1663 (mouse-major-mode-menu):
1664 * password-cache.el (password-read-and-add):
1665 * pcomplete.el (pcomplete-parse-comint-arguments):
1666 * progmodes/sh-script.el (sh-maybe-here-document):
1667 * replace.el (query-replace-regexp-eval):
1668 * savehist.el (savehist-load):
1669 * simple.el (choose-completion-delete-max-match):
1670 * term.el (term-dynamic-simple-complete):
1671 * vc/ediff-init.el (ediff-check-version):
1672 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1673 * vc/vc.el (vc-diff-switches-list):
1674 * view.el (view-return-to-alist-update): Likewise.
1675
1676 * subr.el (eval-next-after-load, makehash, insert-string)
1677 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1678 mark obsolete.
1679 (mode-line-inverse-video): Variable deleted.
1680
1681 * international/mule-util.el (string-to-sequence): Remove.
1682
1683 * calendar/calendar.el (calendar-version):
1684 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1685 (icalendar-convert-diary-to-ical):
1686 * cus-edit.el (custom-mode):
1687 * ansi-color.el (ansi-color-unfontify-region):
1688 * international/latin1-disp.el (latin1-char-displayable-p):
1689 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1690 * progmodes/which-func.el (which-func-update-1):
1691 Use define-obsolete-function-alias.
59f7af81
CY
1692
1693 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1694 * net/newst-treeview.el (newsticker-groups-filename):
1695 Fix incorrect obsolescence declaration.
59f7af81
CY
1696
1697 * allout.el (allout-passphrase-hint-string): Likewise.
1698 (allout-init): Use a declare form to mark obsolete.
1699
1700 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1701 this applies to functions.
1702
1703 * iswitchb.el (iswitchb-read-buffer): Move code of
1704 iswitchb-define-mode-map here, and delete that obsolete function.
1705
1706 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1707 font-lock-reference-face.
1708
cca96c97
GM
17092012-09-25 Glenn Morris <rgm@gnu.org>
1710
b06eeda8
GM
1711 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1712 Doc fixes.
1713
cca96c97
GM
1714 * eshell/em-term.el (eshell-term-name):
1715 Default to term-term-name. (Bug#12485)
1716
dc4f818b
FEG
17172012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1718
cca96c97
GM
1719 * progmodes/python.el (python-shell-send-buffer): Better handling
1720 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1721
289c24bd
GM
17222012-09-24 Glenn Morris <rgm@gnu.org>
1723
1724 * eshell/esh-cmd.el (eshell-find-alias-function):
1725 Tighten up file-name regexp. (Bug#12499)
1726
8fb8b88f
FEG
17272012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1728
1729 Enhancements for triple-quote string syntax.
1730 * progmodes/python.el (python-quote-syntax): Remove.
1731 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1732 (python-syntax-count-quotes, python-syntax-stringify):
1733 New functions.
8fb8b88f 1734
6c27f0f8
CY
17352012-09-24 Chong Yidong <cyd@gnu.org>
1736
a5f2b6ec
CY
1737 * mail/supercite.el (sc-version): Remove obsolete function.
1738 (sc-describe): Don't mark as obsolete, since it is bound.
1739 (sc-submit-bug-report): Remove.
1740
1741 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1742 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1743 (log-edit-require-final-newline)
1744 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1745
1746 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1747 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1748 * vc/vc.el (vc-checkout-carefully): Likewise.
1749
1750 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1751 (emerge-version): Remove.
1752
1753 * progmodes/compile.el (compile-internal): Remove.
1754 (compilation-parse-errors-function): Fix typo.
1755
1756 * international/mule.el (set-char-table-default): Remove.
1757 (set-coding-priority, make-coding-system, generic-char-p)
1758 (charset-list, charset-bytes, charset-id): Use declare to mark
1759 functions as obsolete.
1760
1761 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1762 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1763 * vc/vc-hooks.el (vc-default-registered): Don't use
1764 vc-master-templates.
1765
07b1a5fb
SM
1766 * font-lock.el (font-lock-reference-face):
1767 Use define-obsolete-variable-alias.
6c27f0f8
CY
1768
1769 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1770 * calendar/calendar.el (calendar-font-lock-keywords):
1771 * calendar/diary-lib.el (diary-font-lock-keywords)
1772 (diary-fancy-font-lock-keywords):
1773 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1774 * textmodes/reftex-index.el (reftex-insert-index):
1775 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1776 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1777 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1778 * progmodes/prolog.el (prolog-font-lock-keywords):
1779 * progmodes/idlwave.el (idlwave-idl-keywords):
1780 * progmodes/ada-mode.el (ada-font-lock-keywords):
1781 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1782
bcc0adbf
GM
17832012-09-24 Glenn Morris <rgm@gnu.org>
1784
1785 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1786
095bb823
FEG
17872012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1788
1789 * progmodes/python.el (python-indent-line): More consistent cursor
1790 movement behavior.
1791
70efc5c9
SM
17922012-09-23 Stefan Merten <smerten@oekonux.de>
1793
1794 * textmodes/rst.el: Fix compiler warning.
1795
2f438239
RW
17962012-09-23 Roland Winkler <winkler@gnu.org>
1797
07b1a5fb
SM
1798 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1799 Transcribe also LaTeX hyphenation.
2f438239
RW
1800 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1801 bibtex-reformat-previous-options.
1802
936ad041
RW
18032012-09-23 Roland Winkler <winkler@gnu.org>
1804
1805 * proced.el (proced-renice-command): New variable.
1806 (proced-marked-processes): New function.
1807 (proced-with-processes-buffer): New macro.
1808 (proced-send-signal): Use them.
1809 (proced-renice): New command bound to r.
1810
6fab0274
RW
18112012-09-23 Roland Winkler <winkler@gnu.org>
1812
1813 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1814 ibuffer-saved-filter-groups has one element, shortcut the call of
1815 completing-read. (Bug#12331)
1816
9a930676
CY
18172012-09-23 Chong Yidong <cyd@gnu.org>
1818
1819 * bindings.el (mode-line-toggle-read-only):
1820 * bs.el (bs-toggle-readonly):
1821 * buff-menu.el (Buffer-menu-toggle-read-only):
1822 * dired.el (dired-toggle-read-only):
1823 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1824
d07ff9db
CY
18252012-09-23 Chong Yidong <cyd@gnu.org>
1826
1827 * image.el (image-type-available-p): Adapt to init-image-library
1828 argument changes.
1829
51c4474e
JL
18302012-09-22 Juri Linkov <juri@jurta.org>
1831
1832 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1833 `dired-toggle-read-only'. (Bug#12462)
1834
43bf5e8e
MR
18352012-09-22 Martin Rudalics <rudalics@gmx.at>
1836
1837 * subr.el (temp-output-buffer-show): New function.
1838 (with-output-to-temp-buffer): Call temp-output-buffer-show
1839 instead of internal-temp-output-buffer-show.
1840
c88b867f
CY
18412012-09-22 Chong Yidong <cyd@gnu.org>
1842
3df47cd5
CY
1843 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1844 (Bug#12462).
1845
c88b867f
CY
1846 * repeat.el (repeat): Doc fix (Bug#12348).
1847
1848 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1849 (Bug#10909).
1850
1851 * simple.el (shell-command-on-region): Doc fix.
3171e303 1852 (read-only-mode): Doc fix.
c88b867f 1853
df9685f3
EZ
18542012-09-22 Eli Zaretskii <eliz@gnu.org>
1855
1856 * emacs-lisp/timer.el (run-with-idle-timer)
1857 (timer-activate-when-idle): Warn against reinvoking an idle timer
1858 from within its own timer action. (Bug#12447)
1859
8e17c9ba
MR
18602012-09-22 Martin Rudalics <rudalics@gmx.at>
1861
1862 * cus-start.el (window-combination-limit): Add new optional
1863 values.
1864 * window.el (temp-buffer-window-show)
1865 (window--try-to-split-window): Handle new values of
1866 window-combination-limit (Bug#1806).
1867 (split-window): Test window-combination-limit for t instead of
1868 non-nil.
1869 (display-buffer-at-bottom): New buffer display action function.
1870 * help.el (temp-buffer-resize-regexps): New option.
1871 (temp-buffer-resize-mode): Rewrite doc-string.
1872 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1873 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1874
48a24920
SM
18752012-09-22 Stefan Merten <smerten@oekonux.de>
1876
70efc5c9 1877 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1878 (rst-official-version)
1879 (rst-package-emacs-version-alist): Sync with official version
1880 V1.4.0.
1881 (rst-faces-defaults, rst-set-level-default)
1882 (rst-level-face-max, rst-level-face-base-color)
1883 (rst-level-face-base-light, rst-level-face-format-light)
1884 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1885 (rst-adornment-faces-alist): Match new setup.
1886 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1887 (rst-level-5, rst-level-6): New faces.
1888
82f8cd94
CY
18892012-09-22 Chong Yidong <cyd@gnu.org>
1890
1891 * simple.el (undo): Handle indirect buffers (Bug#8207).
1892
acfa068f 18932012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1894
1895 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1896 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1897 (ido-set-matches-1): Use it. (Bug#2042)
1898
acfa068f 18992012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1900
1901 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1902 Fix 2011-05-17 change. (Bug#12418)
1903
acfa068f 19042012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1905
1906 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1907
acfa068f 19082012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1909
1910 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1911 Be more robust about locating simple.el.
1912
acfa068f 19132012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1914
1915 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1916
acfa068f
CY
19172012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1918
1919 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1920
41a97e6f
JL
19212012-09-20 Juri Linkov <juri@jurta.org>
1922
eb2deaff
JL
1923 * replace.el (query-replace-read-from): Use `read-regexp' instead
1924 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1925 (occur-read-primary-args): Use `read-regexp' instead of
1926 `read-string'.
1927 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1928 `read-from-minibuffer'.
1929 * isearch.el (isearch-occur): Use `read-regexp' instead of
1930 `read-string'.
1931 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1932 `read-from-minibuffer'.
1933 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1934 of `read-string'. (Bug#7567)
1935
5825610b
JL
1936 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1937 and allow accepting a list of strings prepended to a list of
1938 standard default values. Doc fix. (Bug#12321)
1939
eebbf404
JL
1940 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1941
41a97e6f
JL
1942 * replace.el (read-regexp): Don't add ": " when PROMPT already
1943 ends with a colon and space. (Bug#12321)
1944
c9e452d3
TH
19452012-09-20 Tassilo Horn <tsdh@gnu.org>
1946
1947 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1948 error.
1949
ee97deee
SM
19502012-09-20 Stefan Merten <smerten@oekonux.de>
1951
70efc5c9 1952 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1953 Fixes feature request bug#11711.
1954 (rst-mode): Create `imenu-create-index-function'.
1955 (rst-get-stripped-line): Delete after refactoring.
1956 (rst-section-tree, rst-section-tree-rec)
1957 (rst-section-tree-point): Refactor and document properly.
1958 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1959 (rst-imenu-convert-cell, rst-imenu-create-index):
1960 New function.
ee97deee 1961
f490dab9
SM
19622012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1963
95b9712e
SM
1964 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1965 (macroexp--expand-all): Use it.
1966 (macroexp--funcall-and-return): Remove by folding it into its sole
1967 caller (macroexp--warn-and-return).
1968 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1969 Use macroexp--obsolete-warning.
1970
f490dab9
SM
1971 * calc/calc.el: Fix last change by removing the whole chunk, since it
1972 was only needed back when Calc was not bundled.
1973
96e8d411
MR
19742012-09-20 Martin Rudalics <rudalics@gmx.at>
1975
1976 * emacs-lisp/debug.el (debug): Restore assignment to
1977 debugger-old-buffer removed on 2012-09-08.
1978
0876a82d
JL
19792012-09-20 Juri Linkov <juri@jurta.org>
1980
1981 * dired-aux.el (dired-diff): Remove (require 'diff) since
1982 `diff-latest-backup-file' is now autoloaded.
1983
9f7c28f0
CY
19842012-09-20 Chong Yidong <cyd@gnu.org>
1985
1986 * vc/diff.el (diff-latest-backup-file): Autoload.
1987
7a04bee9
SM
19882012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1989
e6f0a80d
SM
1990 * calc/calc.el: Remove redundant autoload shape check.
1991 (sel-mode): Don't defvar.
1992 (calc-get-stack-element): Add `sel-mode' arg instead.
1993 (calc-top, calc-top-list): Pass it this additional argument.
1994 * calc/calc-store.el (calc-store-map):
1995 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1996 (calc-map-equation, calc-outer-product, calc-inner-product):
1997 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1998
7a04bee9
SM
1999 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2000
12734222
JL
20012012-09-19 Juri Linkov <juri@jurta.org>
2002
2003 * dired-aux.el (dired-diff): Add (require 'diff) because
2004 `diff-latest-backup-file' is not autoloaded.
2005 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2006 of `dired-get-filename' to t to not report error when there is
2007 no default file on the current line.
2008
46624b4f
SM
20092012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2010
ce97595b
SM
2011 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2012 macroexp--eval-if-compile.
2013 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2014 (macroexp--expand-all): Use them (bug#12371).
2015
46624b4f
SM
2016 * doc-view.el (doc-view-guess-paper-size)
2017 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2018
db8a5a18
TH
20192012-09-19 Tassilo Horn <tsdh@gnu.org>
2020
2021 New feature: set optimal slice from BoundingBox information.
2022 * doc-view.el (doc-view-mode-map): Add keybinding.
2023 (doc-view-menu): Add menu entry.
2024 (doc-view-set-slice): Adapt docstring.
2025 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2026 (doc-view-scale-bounding-box)
2027 (doc-view-set-slice-from-bounding-box): New functions.
2028 (doc-view-paper-sizes): New defvar.
2029
69f6644c
GM
20302012-09-19 Glenn Morris <rgm@gnu.org>
2031
35f5b19d
GM
2032 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2033 (byte-compile-log-warning): Autoload. (Bug#12371)
2034
69f6644c
GM
2035 * calendar/calendar.el (calendar-american-month-header)
2036 (calendar-european-month-header, calendar-iso-month-header)
2037 (calendar-month-header): New options.
2038 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2039 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2040
e543ae91
JD
20412012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2042
2043 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2044
2fd5e67d
JL
20452012-09-18 Juri Linkov <juri@jurta.org>
2046
2047 * dired-aux.el (dired-diff): Restore original functionality of
2048 getting the default value, but keep new feature of using the
2049 latest existing backup file (`diff-latest-backup-file').
2050
42917e79
JL
20512012-09-18 Juri Linkov <juri@jurta.org>
2052
2053 * dired.el (dired-mark): If the region is active in Transient Mark
2054 mode, mark all files in the active region. Doc fix.
2055 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2056 Doc fix. (Bug#10624)
2057
20f70ede
JL
20582012-09-18 Juri Linkov <juri@jurta.org>
2059
2060 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2061 attributes for M-n are pulled from the file at point.
2062 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2063 Suggested by Drew Adams. (Bug#10624)
2064
32fb8162
DG
20652012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2066
2067 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2068 whitespace after "end".
2069 (ruby-do-end-to-brace): Collapse block to one line if it fits
2070 within fill-column.
2071
37ab5092
MR
20722012-09-18 Martin Rudalics <rudalics@gmx.at>
2073
2074 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2075 value.
2076 (debug): Don't remove debugger window when debugger is expected
2077 to be back.
2078
ed1f0bd3
CY
20792012-09-18 Chong Yidong <cyd@gnu.org>
2080
2081 * custom.el (defface): Doc fix.
2082
2083 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2084
a11035b8
MB
20852012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2086
2087 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2088 to initialize query-on-exit; then test that instead (bug#12288).
2089
64f6a736
SM
20902012-09-17 Stefan Merten <smerten@oekonux.de>
2091
70efc5c9 2092 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2093 (rst-defcustom-testcover, rst-testcover-add-compose)
2094 (rst-testcover-add-1value): New functions.
2095 (rst-portable-mark-active-p): Replace by `use-region-p'.
2096 (rst-update-section, rst-classify-adornment)
2097 (rst-find-title-line): Mark `1value' forms.
2098 (rst-classify-adornment): Remove superfluous form.
2099 (rst-update-section, rst-get-adornments-around)
2100 (rst-adornment-complete-p, rst-get-next-adornment)
2101 (rst-adjust, rst-promote-region)
2102 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2103 (rst-find-pfx-in-region, rst-section-tree-rec)
2104 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2105 (rst-toc-node, rst-toc, rst-forward-section)
2106 (rst-iterate-leftmost-paragraphs)
2107 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2108 (rst-bullet-list-region)
2109 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2110 (rst-compile-find-conf, rst-compile)
2111 (rst-repeat-last-character): Fix style.
2112
580bd868
CY
21132012-09-17 Chong Yidong <cyd@gnu.org>
2114
2115 * comint.el (comint--complete-file-name-data): Don't add a space
2116 if the status is `sole'; that adds a gratuitous space in the
2117 completion-cycling case (Bug#12092).
2118
2119 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2120
69de3ec6
RS
21212012-09-17 Richard Stallman <rms@gnu.org>
2122
0dee970c
RS
2123 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2124 only in the mime-shown mode, not in raw mode.
2125 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2126 mime processing. (Bug#12305)
0dee970c 2127
6b250df6
GM
2128 * mail/rmail.el (rmail-retry-failure):
2129 Turn off mime processing first. (Bug#12037)
acb1c47b 2130
69de3ec6
RS
2131 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2132
d079ee5f
CY
21332012-09-17 Chong Yidong <cyd@gnu.org>
2134
2135 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2136 (shell-dynamic-complete-functions): Convert to defcustom.
2137 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2138
865fe16f
CY
2139 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2140 * comint.el (comint-prompt-read-only):
2141 * custom.el (defcustom):
2142 * hi-lock.el (hi-lock-mode):
2143 * ibuffer.el (ibuffer-formats):
2144 * ielm.el (ielm-prompt-read-only):
2145 * novice.el (disable-command):
2146 * saveplace.el (toggle-save-place):
2147 * speedbar.el (speedbar-supported-extension-expressions):
2148 * startup.el (auto-save-list-file-prefix, init-file-user)
2149 (after-init-hook, inhibit-startup-echo-area-message):
2150 * strokes.el (strokes-help):
2151 * time-stamp.el (time-stamp):
2152 * calendar/calendar.el (calendar, diary-file):
2153 * calendar/diary-lib.el (diary-mail-entries, diary)
2154 (diary-list-entries-hook):
2155 * calendar/holidays.el (holidays, calendar-holidays):
2156 * calendar/lunar.el (lunar-phases):
2157 * calendar/solar.el (sunrise-sunset):
2158 * emulation/edt.el (edt-load-keys):
2159 * emulation/viper.el (viper-mode):
2160 * eshell/em-alias.el (eshell-command-aliases-list):
2161 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2162 * international/ogonek.el (ogonek-information):
2163 * net/tramp-cmds.el (tramp-bug):
2164 * net/quickurl.el (quickurl-reread-hook-postfix):
2165 * play/decipher.el (decipher-font-lock-keywords):
2166 * progmodes/cc-styles.el (c-set-style):
2167 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2168 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2169 * progmodes/octave-mod.el (octave-mode):
2170 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2171 * progmodes/verilog-mode.el (verilog-read-defines):
2172 * textmodes/two-column.el (2C-mode): Likewise.
2173
48093eb9
KY
21742012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2175
2176 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2177 that holds many addresses.
2178
c584eaf9
CY
21792012-09-16 Chong Yidong <cyd@gnu.org>
2180
40d70ecb
CY
2181 * align.el (align-areas): Call the indication function with
2182 positions instead of markers for arguments (Bug#12343).
2183
1667e065
CY
2184 * files.el (parse-colon-path): Use split-string (Bug#12351).
2185
fdc2806d 2186 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2187 (display-buffer-function): Mark as obsolete.
fdc2806d 2188
f1be615c 2189 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2190 values similar to font-lock-keywords (Bug#12136).
2191 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2192 (compilation-error-regexp-alist): Doc fix.
2193
f40a9709
GM
21942012-09-15 Glenn Morris <rgm@gnu.org>
2195
72aa16e1
GM
2196 * version.el (emacs-bzr-version-bzr): New function.
2197 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2198
82375160
GM
2199 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2200 checkouts, check the parent dirstate matches the branch.
2201 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2202 empty string.
2203
f40a9709
GM
2204 * version.el (emacs-bzr-version): Doc fix.
2205 (emacs-bzr-version-dirstate): New function.
2206 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2207 is local try and check that it matches the branch. If not, just
2208 use dirstate information. (Bug#12441)
2209
cb26b7f5
JL
22102012-09-14 Juri Linkov <juri@jurta.org>
2211
2212 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2213 (Bug#12399)
2214
2de39f08
SM
22152012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2216
0fb3cb7c
SM
2217 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2218
2de39f08
SM
2219 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2220 Remove obsolete byte-compiler hack that tried to silence some warnings.
2221 (edebug-submit-bug-report): Remove.
2222 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2223 Remove aliases, use the un-prefixed name instead.
2224 (edebug-pop-to-buffer): Consider other frames.
2225 (edebug-original-read):: Make it more obvious that it's always defined.
2226 (edebug--make-form-data-entry, edebug--form-data-name)
2227 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2228 single-dashed name, and implement with cl-defstruct.
2229 (edebug-set-form-data-entry): Use the standard accessors.
2230 (edebug-make-top-form-data-entry): Use push.
2231 (edebug-no-match): Drop useless `funcall'.
2232 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2233 to functions.
2234 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2235 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2236 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2237 (easy-menu-define, with-custom-print): Remove redundant specs.
2238 (edebug-outside-overriding-local-map)
2239 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2240 (edebug--display): Bind unread-command-events directly to nil rather
2241 than binding it to unread-command-events and later setting it to nil.
2242 (edebug--display): Kill edebug-eval-buffer here...
2243 (edebug--recursive-edit): ...rather than here.
2244 Bind standard-output and standard-input.
2245 (edebug-eval): Check cl-macroexpand-all is fboundp.
2246 (edebug-temp-display-freq-count): Fix last change.
2247
2248 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2249 * subr.el (noreturn, 1value): Add `debug' spec.
2250 * emacs-lisp/advice.el: Require cl-lib.
2251 (ad-copy-tree): Remove, use copy-tree instead.
2252 (ad-dolist): Remove use dolist or cl-dolist instead.
2253 (ad-do-return): Remove, use cl-return instead.
2254 (defadvice): Add `debug' spec.
2255
5b68b333
JL
22562012-09-13 Juri Linkov <juri@jurta.org>
2257
2258 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2259 (Bug#12399)
2260
b9800ec4
GM
22612012-09-13 Glenn Morris <rgm@gnu.org>
2262
6a2e6868
GM
2263 * calc/calc.el (math-compose-expr):
2264 * calc/calc-ext.el (math-compose-expr):
2265 * progmodes/cc-defs.el (cl-macroexpand-all):
2266 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2267 (cl-macroexpand-all): Update declarations.
2268
b9800ec4
GM
2269 * vc/vc.el: No need to require ediff.
2270 (ediff-load-version-control): Declare.
2271 (ediff-vc-internal): Fix declaration.
2272 (vc-version-ediff): Require ediff.
2273
c18e885b
PE
22742012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2275
2276 Use a more backwards-compatible timer format (Bug#12430).
2277 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2278 being right after USECS, as that better supports old code that
2279 inadvisedly looked directly at the timer vector.
2280
d607d303
KH
22812012-09-13 Kenichi Handa <handa@gnu.org>
2282
2283 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2284 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2285 `coding-priority' property of these language environment.
2286
72eac303
PE
22872012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2288
2289 Fix glitches caused by addition of psec to timers (Bug#12430).
2290 * image.el (image-animate-timer):
2291 * time.el (display-time-world-timer):
2292 Use timer--function and timer--args rather than raw access to
2293 timer vector.
2294
2168fe4f
GM
22952012-09-13 Glenn Morris <rgm@gnu.org>
2296
2297 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2298 If not compiling a file, try using load-file-name.
2299
bd8d6108
SM
23002012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2301
c0c54fbd
SM
2302 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2303 Fix last change.
2304 (edebug-update-eval-list): Use `push'.
2305
bd8d6108
SM
2306 * emacs-lisp/edebug.el: Use lexical-binding.
2307 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2308 Mark unused args with underscore.
2309 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2310 (edebug-form-data): Use defvar-local.
2311 (edebug-make-before-and-after-form, edebug-make-after-form):
2312 Use backquote.
2313 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2314 Not dynamically scoped any more.
2315 (edebug--enter-trace): Add arguments `function' and `args'.
2316 Rename from edebug-enter-trace.
2317 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2318 (edebug--update-coverage): Add `after-index' and `value' args.
2319 Rename from edebug-update-coverage.
2320 (edebug-slow-after): Call it accordingly.
2321 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2322 edebug-recursive-edit.
2323 (edebug--display): Call it accordingly. Add args `value',
2324 `offset-index', and `arg-mode'. Rename from edebug-display.
2325 (edebug-debugger, edebug): Call it accordingly.
2326 (edebug-eval-display-list): Use dolist.
2327
a9f9d9de
JL
23282012-09-12 Juri Linkov <juri@jurta.org>
2329
2330 * info.el (Info-search): Don't check for isearch-mode and
2331 isearch-regexp before let-binding search-spaces-regexp to
2332 Info-search-whitespace-regexp.
2333 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2334 search-whitespace-regexp if isearch-lax-whitespace or
2335 isearch-regexp-lax-whitespace is non-nil.
2336 (Info-mode): Don't set local variable search-whitespace-regexp.
2337 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2338
bfeae2cf
SM
23392012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2342 (debugger-env-macro): Remove support for unread-command-char.
2343
2344 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2345 the temporary map re-appearing on emulation-mode-map-alists.
2346
2347 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2348 since 22.1.
2349
2350 * ehelp.el (with-electric-help): Accept functions in
2351 electric-help-form-to-execute.
2352 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2353 And replace unread-command-char -> unread-command-events.
2354
fbbcaf1b
MA
23552012-09-12 Michael Albinus <michael.albinus@gmx.de>
2356
2357 Sync with Tramp 2.2.6.
2358
2359 * net/tramp.el (tramp-accept-process-output): Don't use
2360 JUST-THIS-ONE in the XEmacs case.
2361
2362 * net/trampver.el: Update release number.
2363
4dece104
MR
23642012-09-12 Martin Rudalics <rudalics@gmx.at>
2365
bfeae2cf
SM
2366 * emacs-lisp/debug.el (debugger-previous-window-height):
2367 New variable.
4dece104
MR
2368 (debug): When debugger-jumping-flag is non-nil try to restore
2369 height of debugger window. (Bug#8789)
2370
45b82ad0
SM
23712012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2372
60c49c0f
SM
2373 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2374 overriding-local-map and pre/post-command-hook here.
2375 (edebug-recursive-edit): Do it here instead (bug#12345).
2376 (edebug-outside-unread-command-char): Remove all uses of
2377 unread-command-char.
2378
45b82ad0
SM
2379 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2380 inhibit-debugger is bound instead.
2381
baa26ea0
BG
23822012-09-11 Bastien Guerry <bzg@gnu.org>
2383
2384 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2385 (Bug#12346)
baa26ea0 2386
04e8abfa
BG
23872012-09-11 Bastien Guerry <bzg@gnu.org>
2388
96d03571 2389 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2390 (Bug#12347)
96d03571
BG
2391
23922012-09-11 Bastien Guerry <bzg@gnu.org>
2393
fc0c31f8 2394 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2395
04e082b0
MM
23962012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2397
2398 * progmodes/sql.el: Version 3.1
2399 (sql-db2-escape-newlines): New variable.
2400 (sql-escape-newlines-filter): Use it.
2401
399a361b
JB
24022012-09-10 Juanma Barranquero <lekktu@gmail.com>
2403
2404 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2405
0780c517
DN
24062012-09-10 Dan Nicolaescu <dann@gnu.org>
2407
45b82ad0
SM
2408 * vc/diff-mode.el (diff-mode-menu):
2409 Bind diff-remove-trailing-whitespace.
0780c517 2410
9b851e25
SM
24112012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2414 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2415 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2416 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2417 (eval-defun-2): Remove bogus interactive spec.
2418 (lisp-indent-line): Remove redundant whole-exp code, now done in
2419 indent-according-to-mode.
2420 (save-match-data): Remove redundant indent data.
2421
2422 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2423 Use `declare'.
2424
3231d532
JL
24252012-09-09 Juri Linkov <juri@jurta.org>
2426
2427 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2428 (replace-lax-whitespace, query-replace-regexp)
2429 (query-replace-regexp-eval, replace-regexp): Doc fix.
2430 (perform-replace, replace-highlight): Let-bind
2431 isearch-lax-whitespace to replace-lax-whitespace and
2432 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2433
2434 * isearch.el (isearch-query-replace): Let-bind
2435 replace-lax-whitespace to isearch-lax-whitespace and
2436 replace-regexp-lax-whitespace to
2437 isearch-regexp-lax-whitespace. (Bug#10885)
2438
70fe8236
SM
24392012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2442
8ed43f15
AM
24432012-09-09 Alan Mackenzie <acm@muc.de>
2444
70fe8236
SM
2445 * progmodes/cc-engine.el (c-state-cache-init):
2446 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2447 (c-record-parse-state-state):
2448 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2449
bfabf70a
AS
24502012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2451
2452 * register.el (register-separator): Rename from
2453 separator-register. All uses changed. Doc fix.
2454 (register): Fix version.
2455
011474aa
CY
24562012-09-09 Chong Yidong <cyd@gnu.org>
2457
2458 * replace.el (query-replace-map): Bind four new symbols for
2459 requesting window scrolling.
2460
2461 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2462 query-replace-map (Bug#8948).
2463
2464 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2465
2466 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2467 since they are now in query-replace-map.
2468
2469 * window.el (scroll-other-window-down): Make the arg optional.
2470
a8b7cd8d
CY
24712012-09-09 Chong Yidong <cyd@gnu.org>
2472
2473 * files.el (hack-local-variables-confirm): Use quit-window to kill
2474 the *Local Variables* buffer.
2475
c3268831
DG
24762012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2479 not just expect to be at its beginning. Adjust callees.
2480 Succeed when do-end block has no space before the pipe character.
2481 (ruby-brace-to-do-end): When the original block is one-liner,
2482 convert to multiline. Reindent the result.
2483
0979429b
J
24842012-09-08 Jambunathan K <kjambunathan@gmail.com>
2485
2486 * register.el (register): New group.
27359e99 2487 (separator-register): New user option.
0979429b
J
2488 (increment-register): Route it to `append-to-register', if
2489 register contains text. Implication is that `C-x r +' can now be
2490 used for appending to a text register (bug#12217).
2491 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2492 `separator-register'.
0979429b 2493
ace2989a
AM
24942012-09-08 Alan Mackenzie <acm@muc.de>
2495
2496 AWK Mode: make auto-newline work when there's "==" in the pattern.
2497 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2498 correctly.
0979429b
J
2499 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2500 Test more rigorously for "=" token.
ace2989a 2501
616c6c36
DG
25022012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2503
0979429b
J
2504 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2505 Only fail when reached LIMIT.
616c6c36 2506
35d98877
CY
25072012-09-08 Chong Yidong <cyd@gnu.org>
2508
2509 * dired.el (dired-mode-map): Don't bind M-=.
2510
2511 * dired-aux.el (dired-diff): Use backup file as default.
2512
1715f2db
DA
25132012-09-08 Drew Adams <drew.adams@oracle.com>
2514
2515 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2516
6dcef6ec
CY
25172012-09-08 Chong Yidong <cyd@gnu.org>
2518
2519 * subr.el (syntax-after, syntax-class): Doc fix.
2520
fa2bcf43
MR
25212012-09-08 Martin Rudalics <rudalics@gmx.at>
2522
2523 * window.el (display-buffer-in-previous-window): New buffer
2524 display action function.
2525
2526 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2527 (debugger-previous-window): New variable.
2528 (debug): Rewrite using display-buffer-in-previous-window,
2529 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2530
daac280a
SM
25312012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2534
9dd40b00
MM
25352012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2536
daac280a
SM
2537 * progmodes/python.el (python-shell-send-string):
2538 When default-directory is remote, create temp file on remote
9dd40b00
MM
2539 filesystem.
2540 (python-shell-send-file): When file is remote, pass local view of
2541 file paths to remote Python interpreter. (Bug#12340)
2542
145823ec
CY
25432012-09-07 Chong Yidong <cyd@gnu.org>
2544
cee2e90d
CY
2545 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2546
0d7eb2ea
CY
2547 * files.el (after-find-file): Don't fail on a read-only buffer if
2548 require-final-newline is `visit' or `visit-save' (Bug#11156).
2549
145823ec
CY
2550 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2551
daac280a
SM
2552 * userlock.el (ask-user-about-supersession-threat):
2553 Use read-char-choice (Bug#12093).
145823ec 2554
74c582e6
CY
25552012-09-07 Chong Yidong <cyd@gnu.org>
2556
e5c2edf7
CY
2557 * subr.el (buffer-narrowed-p): New function.
2558
2559 * ses.el (ses-widen):
2560 * simple.el (count-words--buffer-message):
1f9f395d 2561 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2562
2563 * simple.el (count-words-region): Don't signal an error if there
2564 is a non-nil prefix arg and the mark is not set.
c640e87d 2565
74c582e6
CY
2566 * help.el (describe-key-briefly): Allow the message to be seen
2567 when invoked from the minibuffer (Bug#7014).
2568
d81ceaaf
DG
25692012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2570
2571 * progmodes/ruby-mode.el (ruby-end-of-defun)
2572 (ruby-beginning-of-defun): Simplify, allow indentation before
2573 block beginning and end keywords.
8f06acce
DG
2574 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2575 (ruby-end-of-defun): Expect that the point is at the beginning of
2576 the defun.
d81ceaaf 2577
d458ef98
SM
25782012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2581 (bug#12367).
2582 (cl--make-usage-args): Strip _ from argument names.
2583
20367d28
RS
25842012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2585
2586 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2587 obsolete alias speedbar-key-map.
2588 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2589 (vhdl-index-menu-init): Don't use obsolete variable
2590 font-lock-maximum-size.
2591
3424a4f6
CY
25922012-09-06 Chong Yidong <cyd@gnu.org>
2593
2594 * frame.el (window-system-version): Mark as obsolete.
2595
fcbfbdea
CY
2596 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2597 of obsolete variable speedbar-key-map.
2598
826b3235
JL
25992012-09-06 Juri Linkov <juri@jurta.org>
2600
2601 * replace.el (replace-lax-whitespace): New defcustom.
2602 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2603 (replace-string, replace-regexp): Mention it in docstrings.
2604 (perform-replace, replace-highlight): Let-bind
2605 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2606 to the values of replace-lax-whitespace and regexp-flag.
2607 Don't let-bind search-whitespace-regexp. (Bug#10885)
2608
2609 * isearch.el (isearch-query-replace): Let-bind
2610 replace-lax-whitespace instead of let-binding
2611 replace-search-function and replace-re-search-function.
2612 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2613 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2614 (isearch-toggle-symbol): Set isearch-regexp to nil
2615 in isearch-word mode (like in isearch-toggle-word).
2616
1ec5e41d
JL
26172012-09-06 Juri Linkov <juri@jurta.org>
2618
2619 * replace.el (replace-search-function)
2620 (replace-re-search-function): Set default values to nil.
2621 (perform-replace): Let-bind isearch-related variables based on
2622 replace-related values, call `isearch-search-fun' and let-bind
2623 the result to `search-function'. Remove code that sets
2624 `search-function' and `search-string' separately for
2625 `delimited-flag'.
2626 (replace-highlight): Add new argument `delimited-flag' and
2627 rename other arguments to the names used in `perform-replace'.
2628 Let-bind `isearch-word' to the argument `delimited-flag'.
2629 (Bug#10885, bug#10887)
2630
0ba2d4b6
DG
26312012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2632
2633 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2634 ruby-beginning-of-indent, simplify, allow all keywords to have
2635 indentation before them.
2636 (ruby-beginning-of-indent): Adjust for above. Search until the
2637 found point is not inside a string or comment.
2638 (ruby-font-lock-keywords): Allow symbols to start with "@"
2639 character, give them higher priority than variables.
2640 (ruby-syntax-propertize-function)
2641 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2642 matchers. Expression expansions are not comments when inside a
2643 string, and there comment syntax status is irrelevant.
2644 (ruby-match-expression-expansion): New function. Check that
2645 expression expansion is inside a string, and it's not escaped.
2646 (ruby-font-lock-keywords): Use it.
2647
ef654460
MR
26482012-09-05 Martin Rudalics <rudalics@gmx.at>
2649
2650 * help.el (temp-buffer-max-height): New default value.
2651 (temp-buffer-resize-frames): New option.
2652 (resize-temp-buffer-window): Optionally resize frame.
2653
2654 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2655 (fit-frame-to-buffer): New function.
2656
7e570fbf 26572012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2658
2659 * emulation/cua-rect.el (cua--init-rectangles):
2660 * textmodes/picture.el (picture-mode-map):
2661 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2662 like forward-char and backward-char. (Bug#12317)
2663
7e570fbf 26642012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2665
2666 * progmodes/flymake.el (flymake-warning-re): New variable.
2667 (flymake-parse-line): Use it.
2668
7e570fbf 26692012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2670
2671 * calendar/holidays.el (holiday-christian-holidays):
2672 Rename an entry. (Bug#12289)
2673
7e570fbf 26742012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2675
2676 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2677 (bug#12222).
2678
972debf2
SM
26792012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * loadup.el: Load macroexp. Remove hack.
2682 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2683 (macroexp--expand-all): Use it to get better warnings.
2684 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2685 (internal-macroexpand-for-load): New functions.
2686 (macroexp--pending-eager-loads): New var.
2687 (emacs-startup-hook): New hack to replace one in loadup.el.
2688 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2689 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2690 (cl-psetf): Simplify.
2691 (cl-defstruct): Add indent rule.
2692
8ce192e3
LI
26932012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2694
2695 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2696 over `user-mail-address' for the SMTP MAIL FROM envelope.
2697 (smtpmail-via-smtp): Ditto.
2698
6578b4d8
DG
26992012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2700
2701 * progmodes/ruby-mode.el: Clean up keybindings.
2702 (ruby-mode-map): Don't bind ruby-electric-brace,
2703 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2704 backward-kill-word, reindent-then-newline-and-indent.
2705 (ruby-mark-defun): Remove.
2706 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2707 (ruby-mode): Set local beginning-of-defun-function and
2708 end-of-defun-function values.
2709
c5e28e39
MR
27102012-09-03 Martin Rudalics <rudalics@gmx.at>
2711
2712 * window.el (temp-buffer-window-setup-hook)
2713 (temp-buffer-window-show-hook): New hooks.
2714 (temp-buffer-window-setup, temp-buffer-window-show)
2715 (with-temp-buffer-window): New functions.
972debf2
SM
2716 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2717 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2718
2719 * help.el (temp-buffer-resize-mode): Fix doc-string.
2720 (resize-temp-buffer-window): New optional argument WINDOW.
2721
2722 * files.el (recover-file, save-buffers-kill-emacs):
2723 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2724
73406194
MA
27252012-09-02 Michael Albinus <michael.albinus@gmx.de>
2726
2727 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2728 remote definition of `default-directory', ensure we can connect.
2729
63dd1c6f
JL
27302012-09-02 Juri Linkov <juri@jurta.org>
2731
2732 Toggle whitespace matching mode with M-s SPC.
2733 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2734
2735 * isearch.el (search-whitespace-regexp): Doc fix.
2736 Remove cons cell customization.
2737 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2738 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2739 New variables.
2740 (isearch-forward, isearch-forward-regexp): Doc fix.
2741 (isearch-toggle-lax-whitespace): New command.
2742 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2743 (re-search-forward-lax-whitespace)
2744 (re-search-backward-lax-whitespace): New functions.
2745 (isearch-whitespace-regexp): Remove function.
2746 (isearch-query-replace): Let-bind replace-search-function and
2747 replace-re-search-function.
2748 (isearch-occur): Let-bind search-spaces-regexp according to the
2749 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2750 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2751 condition for C-q SPC.
2752 (isearch-search-fun-default): Use new functions mentioned above.
2753 (isearch-search-forward, isearch-search-backward): Remove functions.
2754 (isearch-search): Don't let-bind search-spaces-regexp.
2755 (isearch-lazy-highlight-space-regexp): Remove variable.
2756 (isearch-lazy-highlight-lax-whitespace)
2757 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2758 (isearch-lazy-highlight-new-loop): Use them.
2759 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2760
af7dda05
CY
27612012-09-02 Chong Yidong <cyd@gnu.org>
2762
2763 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2764
d67d3afd
GM
27652012-09-02 Glenn Morris <rgm@gnu.org>
2766
2767 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2768
69678719
GM
27692012-09-01 Glenn Morris <rgm@gnu.org>
2770
2771 * term.el: Tidy up menu definitions.
2772 (term-mode-map): Use easymenu for In/Out, Complete menus.
2773 (term-pager-break-map): Initialize in the defvar.
2774 (term-terminal-menu, term-signals-menu): Define with easymenu.
2775 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2776 (term-pager-menu): New, extracted from term-process-pager.
2777 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2778 (term-update-mode-line): Propertize line/char and page items.
2779 (term-process-pager): Move keymap initialization elsewhere.
2780
78dd6ab1
MR
27812012-09-01 Martin Rudalics <rudalics@gmx.at>
2782
2783 * window.el (switch-to-prev-buffer): Handle additional values of
2784 BURY-OR-KILL argument. Don't switch in minibuffer window.
2785 (switch-to-next-buffer): Don't switch in minibuffer window.
2786 (quit-restore-window): New function based on quit-window.
2787 Handle additional values of former KILL argument.
2788 (quit-window): Call quit-restore-window with appropriate
2789 interpretation of KILL argument.
2790 (display-buffer-below-selected): New buffer display action
2791 function.
2792
3d10e134
SM
27932012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * minibuffer.el (completion-at-point-functions): Complete docstring
2796 (bug#12254).
2797
0e23ef9d
PE
27982012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2799
2800 Better seed support for (random).
2801 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2802 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2803 * play/mpuz.el, play/tetris.el, play/zone.el:
2804 * calc/calc-comb.el (math-init-random-base):
2805 * play/blackbox.el (bb-init-board):
2806 * play/life.el (life):
2807 * server.el (server-use-tcp):
2808 * type-break.el (type-break):
2809 Remove unnecessary call to (random t).
2810 * net/sasl.el (sasl-unique-id-function):
2811 Change (random t) to (random), now that the latter is more random.
2812 * play/life.el (life-initialized): Remove no-longer-needed var.
2813
862382df
MR
28142012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2815
2816 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2817 Consider frame's buffer predicate when choosing the buffer.
2818 (Bug#12081)
2819
262a66e1
RS
28202012-08-30 Richard Stallman <rms@gnu.org>
2821
2822 * simple.el (special-mode-map): Delete binding for `z'.
2823
f17e1d00
AS
28242012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2825
2826 * progmodes/compile.el (compilation-always-kill): Doc fix.
2827
24777832
CY
28282012-08-30 Chong Yidong <cyd@gnu.org>
2829
2830 * window.el (display-buffer-reuse-frames): Make the obsolescence
2831 message more informative.
2832
69ba1f04
GM
28332012-08-30 Glenn Morris <rgm@gnu.org>
2834
2835 * paren.el (show-paren-delay):
2836 Add a :set function. Doc fix. (Bug#12297)
2837
f0019ede
MB
28382012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2839
2840 * progmodes/compile.el (compilation-always-kill): New var.
2841 (compilation-start): Use it.
2842
35e62fc9
SM
28432012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2844
af070a1c
SM
2845 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2846 * files.el (read-only-mode): Move to simple.el.
2847
35e62fc9
SM
2848 * files.el (read-only-mode): New minor mode.
2849 (toggle-read-only): Use it and mark obsolete.
2850 (find-file--read-only):
2851 * vc/vc.el (vc-next-action, vc-checkout):
2852 * vc/vc-cvs.el (vc-cvs-checkout):
2853 * obsolete/vc-mcvs.el (vc-mcvs-update):
2854 * ffap.el (ffap--toggle-read-only): Update callers.
2855
c2c43c23
MA
28562012-08-29 Michael Albinus <michael.albinus@gmx.de>
2857
2858 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2859 remote shell scripts.
2860 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2861
2862 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2863 "/usr/local/sbin".
2864
9fba804b
SM
28652012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2868
eada0861 28692012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2870
806f0cc7
LL
2871 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2872 completion-at-point. (Bug#12220)
2873
3bb213b9
LL
2874 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2875
22ab32ef
LL
2876 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2877
eada0861 28782012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2879
19c17fc1
CY
2880 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2881 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2882
eada0861 28832012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2884
2885 * progmodes/hideif.el (hif-compress-define-list):
2886 Fix typo. (Bug#11951)
2887
eada0861 28882012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2889
2890 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2891 buffer local setting.
2892
27d6c5a8
LL
2893 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2894 rcirc-encode-coding-system.
2895
eada0861 28962012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2897
2898 * net/rcirc.el (rcirc-split-message): New function.
2899 (rcirc-send-message): Use it. (Bug#12051)
2900
d44688e4
JL
29012012-08-28 Juri Linkov <juri@jurta.org>
2902
2903 * info.el (Info-fontify-node): Hide empty lines at the end of
2904 the node. (Bug#12272)
2905
34f10d41
MR
29062012-08-27 Drew Adams <drew.adams@oracle.com>
2907
2908 * dired.el (dired-pop-to-buffer): Make window start at beginning
2909 of buffer (Bug#12281).
2910
77f1f99c
CY
29112012-08-26 Chong Yidong <cyd@gnu.org>
2912
2913 * window.el (special-display-regexps, special-display-frame-alist)
2914 (special-display-buffer-names, special-display-function)
2915 (display-buffer-reuse-frames): Mark as obsolete.
2916
2917 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2918
2919 * help.el (help-print-return-message): Don't treat
2920 display-buffer-reuse-frames specially.
2921
d97af5a0
CY
29222012-08-26 Chong Yidong <cyd@gnu.org>
2923
9fba804b
SM
2924 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2925 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2926 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2927 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2928 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2929 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2930 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2931 the functions directly with gdb-display-buffer-other-frame-action.
2932 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2933 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2934 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2935 (gdb-display-registers-buffer): Define directly.
2936 (def-gdb-display-buffer): Macro deleted.
2937 (gdb-display-buffer): Remove second and third args, callers don't
2938 use them. Defer to the default display-buffer behavior, apart
2939 from making windows dedicated.
2940 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2941
2942 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2943
2944 * window.el (display-buffer-pop-up-frame): Handle a
2945 pop-up-frame-parameters alist entry.
2946 (display-buffer): Document it.
2947
dd7ffad6
CY
29482012-08-26 Chong Yidong <cyd@gnu.org>
2949
2950 * isearch.el (search-whitespace-regexp): Make string and nil
2951 values apply to both ordinary and regexp search. Allow a cons
2952 cell value to distinguish between the two.
2953 (isearch-whitespace-regexp, isearch-search-forward)
2954 (isearch-search-backward): New functions.
2955 (isearch-occur, isearch-search-fun-default, isearch-search)
2956 (isearch-lazy-highlight-new-loop): Use them.
2957 (isearch-forward, isearch-forward-regexp): Doc fix.
2958
4c47bd1e
CY
29592012-08-26 Chong Yidong <cyd@gnu.org>
2960
2961 * faces.el (help-argument-name): Always inherit from italic
2962 (Bug#12213).
2963
9aba119d
MR
29642012-08-25 Martin Rudalics <rudalics@gmx.at>
2965
2966 * window.el (window--even-window-heights): Even heights when
2967 WINDOW and the selected window form a vertical combination.
2968 (display-buffer-use-some-window): Provide that window used gets
2969 sized back by quit-window. (Bug#11880) and (Bug#12091)
2970
ca5256ad
PE
29712012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2972
2973 Fix file time stamp problem with bzr and CVS (Bug#12001).
2974 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2975 in the file's time stamp, since the version control system loses
2976 that information.
2977
d1c0d176
JL
29782012-08-22 Juri Linkov <juri@jurta.org>
2979
2980 * info.el (Info-fontify-node): Hide the suffix of the
2981 Info file name in the header line. (Bug#12187)
2982
141562ff
GM
29832012-08-22 Glenn Morris <rgm@gnu.org>
2984
2985 * calendar/cal-tex.el (cal-tex-weekly-common):
2986 Restore leading blank page.
2987
61a48e19 29882012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2989
2990 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2991 the region under `shift-select-mode'. (Bug#12231)
2992
29932012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2994
2995 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2996 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2997 gives details on why the space is never needed.
2998
ea95074e
MR
29992012-08-22 Martin Rudalics <rudalics@gmx.at>
3000
9fba804b
SM
3001 * window.el (walk-window-tree, window-with-parameter):
3002 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3003 should run on the minibuffer window.
3004 (window-at-side-list): Don't operate on minibuffer window.
3005 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3006 (window--size-ignore): Rename to window--size-ignore-p.
3007 Update callers.
caceae25
MR
3008 (display-buffer-in-atom-window, window--major-non-side-window)
3009 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3010 (delete-side-window, display-buffer-in-side-window):
3011 New functions.
caceae25
MR
3012 (window--side-check, window-deletable-p, delete-window)
3013 (delete-other-windows, split-window): Handle side windows and
3014 atomic windows appropriately.
3015 (window--display-buffer): Call display-buffer-record-window also
3016 when the window buffer did not change.
ea95074e 3017
80a51fa0
CS
30182012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3019
3020 * help-fns.el (help-fns--key-bindings):
3021 Abbreviate non-symbol remap targets. (Bug#12174)
3022
fbb6300b
MR
30232012-08-22 Martin Rudalics <rudalics@gmx.at>
3024
3025 * dired.el (dired-mark-remembered): Don't clobber point.
3026 (Bug#11795)
3027
2b2c0794
GM
30282012-08-22 Glenn Morris <rgm@gnu.org>
3029
3030 * progmodes/bug-reference.el (bug-reference): New custom group.
3031 (bug-reference-bug-regexp): Make it a defcustom.
3032
37219830
DU
30332012-08-22 Daiki Ueno <ueno@unixuser.org>
3034
3035 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3036 (js-paren-indent-offset, js-square-indent-offset)
3037 (js-curly-indent-offset): Add :safe (Bug#12257).
3038
94e0e559
EC
30392012-08-22 Edward O'Connor <hober0@gmail.com>
3040
3041 * json.el (json-key-format): Add error properties.
3042 (json-encode-key): New function.
3043 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3044 Use json-encode-key.
3045
da485f5e
GM
30462012-08-22 Glenn Morris <rgm@gnu.org>
3047
3048 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3049 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3050 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3051 Update for above change.
3052
c6cc78b8
AS
30532012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3054
3055 * cus-face.el (custom-face-attributes): Fix customize type for the
3056 :underline attribute. (Bug#11805)
3057
5481664a
MR
30582012-08-21 Martin Rudalics <rudalics@gmx.at>
3059
3060 * window.el (window-point-1, set-window-point-1): Remove.
3061 (window-in-direction, record-window-buffer)
3062 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3063 (window--state-get-1, display-buffer-record-window):
3064 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3065 window-point and set-window-point respectively.
3066
6d74698e
GM
30672012-08-21 Glenn Morris <rgm@gnu.org>
3068
b7fa2691
GM
3069 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3070 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3071 Use it.
3072
52f56d5a
GM
3073 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3074 (cal-tex-shortday): New function.
3075 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3076 (cal-tex-cursor-filofax-daily): Use the above.
3077
9f1ee09e
GM
3078 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3079 New functions.
3080 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3081 (cal-tex-cursor-filofax-week): Use them.
3082
79858159
GM
3083 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3084 New constants.
3085 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3086 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3087
d346b2b4
GM
3088 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3089 (cal-tex-end-document): Don't rely on buffer name.
3090
b2403709
GM
3091 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3092 Use cal-tex-vspace.
3093 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3094 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3095 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3096 Use cal-tex-arg.
b2403709 3097
1cebb5c0
GM
3098 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3099 (cal-tex-cursor-week, cal-tex-cursor-week2)
3100 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3101 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3102 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3103 (cal-tex-insert-preamble, cal-tex-b-document)
3104 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3105 Improve cal-tex-cmd usage.
3106
c68cd5d4
GM
3107 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3108 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3109 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3110 (cal-tex-weekly-paper): New function.
3111 (cal-tex-cursor-week, cal-tex-cursor-week2)
3112 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3113 (cal-tex-cursor-day): Use it.
3114
9dca4801
GM
3115 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3116 (cal-tex-cursor-filofax-week): Remove leading blank page.
3117
1941e134
GM
3118 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3119 Add autoload cookie. For now at least, don't use color, since
3120 no other cal-tex function does.
3121
6d74698e
GM
3122 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3123 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3124 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3125
64cde199
JL
31262012-08-21 Juri Linkov <juri@jurta.org>
3127
3128 * info.el (Info-file-attributes): New variable.
3129 (info-insert-file-contents): Add file attributes to
3130 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3131 `Info-toc-nodes' when previous modtime of the Info file is less
3132 than new modtime.
3133 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3134 of info.el. (Bug#12230)
3135
32757648
GM
31362012-08-20 Glenn Morris <rgm@gnu.org>
3137
3138 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3139 * calendar/holidays.el (calendar-holiday-list):
3140 Report errors with display-warning rather than beep'n'sleep.
3141
a32fbbcf
MA
31422012-08-20 Michael Albinus <michael.albinus@gmx.de>
3143
3144 * net/tramp.el (tramp-accept-process-output): Accept only output
3145 from PROC. Otherwise, process filters and sentinels might be
3146 confused. (Bug#12145)
3147
a05731a0
CY
31482012-08-20 Chong Yidong <cyd@gnu.org>
3149
3150 * descr-text.el (describe-text-properties-1): Use overlays-in to
3151 report on empty overlays (Bug#3322).
3152
36e8d1eb
GM
31532012-08-20 Glenn Morris <rgm@gnu.org>
3154
3d300447
GM
3155 * mail/rmailout.el (rmail-output-read-file-name):
3156 Trap and report errors in rmail-output-file-alist elements.
3157
36e8d1eb
GM
3158 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3159 since most non-font-lock faces are not also variables).
3160
b96e5814
ER
31612012-08-20 Edward Reingold <reingold@iit.edu>
3162
3163 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3164 New function. (Bug12160)
3165
7cef3569
GM
31662012-08-19 Glenn Morris <rgm@gnu.org>
3167
3168 * mail/rmailout.el (rmail-output-read-file-name):
3169 Fix previous change (when the alist is nil or does not match).
3170
17975d7f
CY
31712012-08-19 Chong Yidong <cyd@gnu.org>
3172
3173 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3174 (Bug#12228).
3175
2170b1bd
CY
31762012-08-18 Chong Yidong <cyd@gnu.org>
3177
3178 * simple.el (yank-handled-properties): New defcustom.
3179 (yank-excluded-properties): Add font-lock-face and category.
3180 (yank): Doc fix.
3181
9fba804b
SM
3182 * subr.el (remove-yank-excluded-properties):
3183 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3184 and category is now done this way, instead of being hard-coded.
3185 (insert-for-yank-1): Remove font-lock-face handling.
3186 (yank-handle-font-lock-face-property)
3187 (yank-handle-category-property): New function.
3188
ee218151
GM
31892012-08-17 Glenn Morris <rgm@gnu.org>
3190
3191 * mail/rmailout.el (rmail-output-read-file-name):
3192 Check rmail-output-file-alist against the full message body
3193 in the correct rmail buffer. (Bug#12214)
3194
4a6bc3fd
MA
31952012-08-17 Michael Albinus <michael.albinus@gmx.de>
3196
9fba804b
SM
3197 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3198 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3199
383dcbf9
CY
32002012-08-17 Chong Yidong <cyd@gnu.org>
3201
3202 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3203 font spec, set the font directly (Bug#3228).
3204
998c4a6a
MR
32052012-08-17 Martin Rudalics <rudalics@gmx.at>
3206
3207 * window.el (delete-window): Fix last fix.
3208
52162052
MR
32092012-08-16 Martin Rudalics <rudalics@gmx.at>
3210
3211 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3212 (window-child, window-child-count, window-last-child)
3213 (window-normalize-window, window-combined-p)
3214 (window-combinations, window-atom-root, window-min-size)
3215 (window-sizable, window-sizable-p, window-size-fixed-p)
3216 (window-min-delta, window-max-delta, window--resizable)
3217 (window--resizable-p, window-resizable, window-total-size)
3218 (window-full-height-p, window-full-width-p, window-body-size)
3219 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3220 (minimize-window, window-deletable-p, delete-window)
3221 (delete-other-windows, set-window-buffer-start-and-point)
3222 (next-buffer, previous-buffer, split-window, balance-windows-2)
3223 (set-window-text-height, window-buffer-height)
3224 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3225 (truncated-partial-width-window-p): Minor code adjustments.
3226 In doc-strings state whether the argument window has to denote a
85c2386b 3227 live, valid or any window.
52162052 3228
1c308380
PS
32292012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3230
3231 * progmodes/subword.el (subword-forward-function)
3232 (subword-backward-function, subword-forward-regexp)
3233 (subword-backward-regexp): New variables.
3234 (subword-forward, subword-forward-internal, subword-backward-internal):
3235 Use new variables, eg so that different "word" definitions
3236 can be easily used. (Bug#11411)
3237
94c9ece1
SM
32382012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3241 for composite selectors.
3242 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3243 operation just because we can't find a previous revision.
3244
f2045622
CY
32452012-08-15 Chong Yidong <cyd@gnu.org>
3246
3247 * frame.el (set-frame-font): Accept font objects.
3248
582db660
SM
32492012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3252
2f29c200
WJ
32532012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3254
456e62c2
WJ
3255 * man.el (Man-overstrike-face, Man-underline-face)
3256 (Man-reverse-face): Remove variables.
3257 (Man-overstrike, Man-underline, Man-reverse): New faces.
3258 (Man-fontify-manpage): Use them instead of the variables.
3259 (Man-cleanup-manpage): Comment change.
3260 (Man-ansi-color-map): New variable.
3261 (Man-fontify-manpage): Use it.
3262 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3263
2f29c200
WJ
3264 Implement ANSI SGR parameters 22-27 (bug#12146).
3265 * ansi-color.el (ansi-colors): Doc fix.
3266 (ansi-color-context, ansi-color-context-region): Doc fix.
3267 (ansi-color--find-face): New function.
3268 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3269 Rename the local variable `face' to `codes' since it is now a list of
3270 ansi codes. Doc fix.
3271 (ansi-color-get-face): Remove.
3272 (ansi-color-parse-sequence): New function, derived from
3273 ansi-color-get-face.
3274 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3275 codes 22-27.
3276
b4f5e9df
SM
32772012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * subr.el (read-passwd): Allow use from a minibuffer.
3280
ba025fbd
EZ
32812012-08-14 Eli Zaretskii <eliz@gnu.org>
3282
3283 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3284 inside comments and strings as identifiers.
3285
3286 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3287 expression to evaluate. This allows to evaluate expressions with
3288 embedded whitespace.
3289 (gud-tooltip-tips): Add a blank before the newline in the
3290 message-box text, for the benefit of message-box emulation on
3291 MS-Windows.
3292
3293 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3294 messages from GDB, pop them up in a tooltip to give feedback to
3295 user.
b4f5e9df
SM
3296 (gdb-tooltip-print-1): Quote the expression to evaluate.
3297 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3298 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3299 if the TTY name is nil or empty (which happens when communicating
3300 with the inferior via pipes, e.g. on MS-Windows).
3301 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3302 don't send that to the GUD buffer.
3303
c548f821
GM
33042012-08-14 Glenn Morris <rgm@gnu.org>
3305
3306 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3307 Optimize away setq-default with no args, as for setq. (Bug#12195)
3308
55802e4a
CY
33092012-08-14 Chong Yidong <cyd@gnu.org>
3310
4abcdac8
CY
3311 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3312
55802e4a
CY
3313 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3314 (Bug#12085).
3315
3c3cda1a
GM
33162012-08-14 Glenn Morris <rgm@gnu.org>
3317
3318 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3319
e1873bd0
MA
33202012-08-14 Michael Albinus <michael.albinus@gmx.de>
3321
3322 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3323 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3324 Use cached shell name.
3325
925411b4
FEG
33262012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3327
3328 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3329 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3330
e636fafe
DG
33312012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3332
3333 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3334 (ruby-percent-literal-beg-re): New constant.
3335 (ruby-syntax-general-delimiters-goto-beg): Rename to
3336 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3337 (ruby-syntax-propertize-general-delimiters): Rename to
3338 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3339 popular term. Adjust comments everywhere.
3340 (ruby-syntax-propertize-percent-literal): Only propertize when not
3341 inside a simple string or comment. When the literal is unclosed,
3342 leave the text after it unpropertized.
f063063a
DG
3343 (ruby-syntax-methods-before-regexp): New constant.
3344 (ruby-syntax-propertize-function): Use it to recognize regexps.
3345 Don't look at the text after regexp, just use the whitelist.
e636fafe 3346
e5b19827
AS
33472012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3348
3349 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3350 non-nil always load the compiled file if it exists. (Bug#12197)
3351
a9f6f311
CY
33522012-08-14 Chong Yidong <cyd@gnu.org>
3353
3354 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3355 (hi-lock-set-pattern): When deciding whether to use font lock or
3356 overlays, look at font-lock-mode instead of font-lock-fontified
3357 (Bug#12168).
3358 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3359 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3360
7d806b1e
DU
33612012-08-14 Daiki Ueno <ueno@unixuser.org>
3362
3363 * subr.el (internal--after-with-selected-window): Fix typo
3364 (Bug#12193).
3365
5beed586
FEG
33662012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3367
3368 Use `completion-table-dynamic' for completion functions.
3369 * progmodes/python.el
3370 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3371 (python-shell-completion--get-completions):
3372 Remove functions.
5beed586
FEG
3373 (python-shell-completion-complete-at-point): New function.
3374 (python-completion-complete-at-point): Use it.
3375
92cb3b04
J
33762012-08-13 Jambunathan K <kjambunathan@gmail.com>
3377
3378 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3379 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3380
89660017
SM
33812012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3c98c962
SM
3383 * subr.el (function-get): Refine `autoload' arg so it can also
3384 autoload functions for gv.el (bug#12191).
3385 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3386 autoloads macros.
3387
aa7c6dbe
SM
3388 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3389 Prefer pcase-let over destructuring-bind.
3390 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3391 Also, remove whitespace as we go, rather than after accumulating the
3392 various places.
3393
89660017
SM
3394 * subr.el (internal--before-with-selected-window)
3395 (internal--after-with-selected-window): Fix typo seleted->selected.
3396 (with-selected-window): Adjust callers.
3397 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3398
31cd32c9
BG
33992012-08-13 Bastien Guerry <bzg@gnu.org>
3400
0fcd3d9f 3401 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3402 enhancement. (Bug#12172)
3403
1b15d8ad
AS
34042012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3405
31e54db0
AS
3406 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3407 type 1-6.
3408 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3409 extended headers.
3410
1b15d8ad
AS
3411 * files.el (hack-local-variables-filter): Remove useless eval.
3412
35cb9c06
MR
34132012-08-13 Martin Rudalics <rudalics@gmx.at>
3414
3415 * subr.el (with-selected-window): Fix last change.
3416
1439443b
SM
34172012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * subr.el (internal--before-with-seleted-window)
3420 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3421 (with-selected-window): Use them, to replace dependency on
3422 tty-top-frame.
1439443b 3423
0d9e2599
NN
34242012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3425
3426 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3427 binding for `newline'.
3428 (ruby-move-to-block): When moving backward, stop at block opening,
3429 not indentation.
3430 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3431 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3432 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3433 `ruby-toggle-block'.
3434
ba10c48c
SM
34352012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * ibuffer.el (ibuffer-do-toggle-read-only):
3438 * dired.el (dired-toggle-read-only):
3439 * buff-menu.el (Buffer-menu-toggle-read-only):
3440 * bindings.el (mode-line-toggle-read-only):
3441 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3442
9229c658
AS
34432012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3444
3445 * descr-text.el (describe-char): Put the overlays over the
3446 "displayed as" character.
3447
0fd09128
JB
34482012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3449
3450 * calc/calc-units.el (math-default-units-table): Give an
3451 initial value.
3452 (math-put-default-units): Add options to put composite units and
3453 unit systems in the default units table.
3454 (calc-convert-units): Send composite units to
3455 `math-put-default-units' when appropriate.
3456
9ff9402d 34572012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3458
fbb5e336
GM
3459 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3460
7aacaf15
GM
3461 * tutorial.el (help-with-tutorial):
3462 * emacs-lisp/copyright.el (copyright-update-directory):
3463 * emacs-lisp/autoload.el (autoload-find-generated-file)
3464 (autoload-find-file): Disable local eval: (for insurance).
3465
f40b9f10
GM
3466 * files.el (hack-local-variables-filter): If an eval: form is not
3467 known to be safe, and enable-local-variables is :safe, then ignore
3468 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3469 This is CVE-2012-3479.
f40b9f10 3470
daa9f1a6
SM
34712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3474 (rx-form): Simplify.
3475
9cd80478
DG
34762012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3477
0d9e2599
NN
3478 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3479 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3480 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3481 (ruby-syntax-propertize-function): Adjust for changes in
3482 `ruby-syntax-propertize-heredoc'.
3483
34842012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3485
9cd80478
DG
3486 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3487 binding (use `M-;' instead).
9cd80478 3488 (ruby-singleton-class-p): New function.
0d9e2599 3489 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3490
d301b413
SM
34912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3494
1530c98e
CY
34952012-08-10 Chong Yidong <cyd@gnu.org>
3496
3497 * progmodes/python.el (python-shell-get-process-name): Don't mess
3498 with same-window-buffer-names.
3499
3500 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3501 (eshell-remove-from-window-buffer-names): Make obsolete.
3502 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3503 (eshell): Just use pop-to-buffer-same-window instead.
3504
e1293765
CY
35052012-08-10 Chong Yidong <cyd@gnu.org>
3506
3507 * bindings.el: Bind M-= back to count-words-region.
3508
3509 * simple.el (count-words-region): Accept a prefix arg for acting
3510 on the entire buffer.
3511 (count-words--buffer-message): New helper function.
3512
e1894109
SM
35132012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3516 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3517 (event-start, event-end): Use posn-at-point to return a more
3518 informative posn.
3519 (posnp): New function.
3520 * mouse.el (popup-menu-normalize-position): Use it.
3521
c69f56a2
MY
35222012-08-10 Masatake YAMATO <yamato@redhat.com>
3523
3524 * mouse.el (popup-menu-normalize-position): New function.
3525 (popup-menu): Use `popup-menu-normalize-position' to normalize
3526 the form for POSITION argument.
3527
3528 * term/x-win.el (x-menu-bar-open):
3529 Use the value returend from (posn-at-point) as position
3530 passed to `popup-menu'.
3531
31673780
JB
35322012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3533
3534 * calc/calccomp.el (math-compose-expr): Add extra argument
3535 indicating that parentheses should be put around products in
3536 denominators. Give multiplication precedence over division during
3537 composition.
3538
dab7711b
CY
35392012-08-09 Chong Yidong <cyd@gnu.org>
3540
dee4ef93
CY
3541 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3542 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3543 (Man-untabify-command, manual-program): Convert to defcustom
3544 (Bug#10429).
3545
73e2bbc5
CY
3546 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3547
3e861c8a
CY
3548 * descr-text.el (describe-char): Don't insert extra newlines
3549 (Bug#10127).
3550
a9f5a649
CY
3551 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3552 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3553
dab7711b
CY
3554 * align.el (align-region): Delete temporary markers (Bug#10047).
3555 Plus some code cleanups.
3556
e0cc4efa
FEG
35572012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3558
3559 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3560 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3561 (python-shell-internal-last-output): Use make-local-variable
3562 instead of make-variable-buffer-local.
3563
489af14f
FEG
35642012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3565
3566 * progmodes/python.el: Enhancements to forward-sexp.
3567 (python-nav-forward-sexp): Rename from
3568 python-nav-forward-sexp-function.
c69f56a2
MY
3569 (python-nav--forward-sexp, python-nav--backward-sexp):
3570 New functions.
489af14f 3571
0fc50303
JB
35722012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3573
3574 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3575 modes and simplification modes.
3576
5d65606a
SM
35772012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * delsel.el (delete-selection-pre-hook): Don't propagate the
3580 file-supersession signals (bug#12161).
3581
4250fdf5
SM
35822012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3585 (cl-map-extents): Add compatibility aliases (bug#12135).
3586
d9f9b465
MA
35872012-08-08 Michael Albinus <michael.albinus@gmx.de>
3588
3589 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3590 tests by `ignore-error'.
3591 (tramp-find-shell): Open also a new shell, when cache is already
3592 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3593
ce0fcefa
JL
35942012-08-08 Juri Linkov <juri@jurta.org>
3595
3596 * bookmark.el: Add `defaults' property to the bookmark record.
3597 (bookmark-current-buffer): Doc fix.
3598 (bookmark-make-record): Add `defaults' property with default values
3599 to the bookmark record.
3600 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3601 with `bookmark-insert-current-bookmark'.
3602 (bookmark-set): Get `defaults' property from the bookmark record
3603 and use it in `read-from-minibuffer'.
3604 (bookmark-insert-current-bookmark): Remove function.
3605
3606 * info.el (Info-bookmark-make-record): Add `defaults' property
3607 with values of canonical Info node name, the current Info file
3608 name and the current Info node name. (Bug#12107)
3609
53fa8652
JL
36102012-08-08 Juri Linkov <juri@jurta.org>
3611
3612 * files.el (basic-save-buffer): Use `buffer-name' as the default
3613 of `read-file-name' when buffer is not visiting a file (bug#12128).
3614
242c0a95
JL
36152012-08-08 Juri Linkov <juri@jurta.org>
3616
3617 * info.el (Info-isearch-search): Doc fix.
3618 (Info-search): Change search-failed message from "initial node" to
3619 "end of node" (bug#12078).
3620 (Info-isearch-search): Change `isearch-string-state' to
3621 `isearch--state-string'.
3622
32ac3a6b
GM
36232012-08-08 Glenn Morris <rgm@gnu.org>
3624
3625 * language/persian.el: Remove file.
f8c1afd5 3626 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3627 * loadup.el: Remove language/persian.
3628
2c2d9c9c
OF
36292012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3630
3631 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3632
2d79ec42
FEG
36332012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3634
3635 * progmodes/python.el Fixed defsubst warning.
3636 (python-syntax-context) Rename from python-info-ppss-context.
3637 (python-syntax-context-type): Rename from
3638 python-info-ppss-context-type.
3639 (python-syntax-comment-or-string-p): Rename from
3640 python-info-ppss-comment-or-string-p.
3641
2bd255dd
JB
36422012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3643
3644 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3645
c395097f
AS
36462012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3647
6125983e
AS
3648 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3649 a defcustom that is quoted with backquote.
3650
4250fdf5
SM
3651 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3652 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3653 (math-do-arg-check, math-define-function-body): Use backquote forms.
3654 * calc/calc-ext.el (math-defcache): Likewise.
3655 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3656 * allout.el (allout-new-exposure): Likewise.
3657 * calc/calcalg2.el (math-tracing-integral): Likewise.
3658 * info.el (Info-last-menu-item): Likewise.
3659 * emulation/vip.el (vip-loop): Likewise.
3660 * textmodes/artist.el (artist-funcall): Likewise.
3661 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3662 Construct menu-item directly.
3663
4250fdf5
SM
3664 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3665 Don't declare.
c395097f 3666
5fb50dd3
CY
36672012-08-07 Chong Yidong <cyd@gnu.org>
3668
3669 * simple.el (deactivate-mark): Preserve text properties when
3670 saving the primary selection (Bug#8384).
3671
54eea618
KR
36722012-08-07 Kevin Ryde <user42@zip.com.au>
3673
3674 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3675 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3676 and continue processing (Bug#12110).
3677
638eaeb9
SM
36782012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3681 syntax-propertize-function (bug#10095).
3682
ea376861
SM
36832012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3684
f91b35be
SM
3685 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3686 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3687 describe-function-1.
3688 (describe-function-1): Use them. Move compiler macro after sig.
3689 (help-fns--compiler-macro): Use function-get. Assume we're already in
3690 standard-output. Adjust layout to new call order.
3691
ea376861
SM
3692 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3693 re-binding a symbol that has a symbol-macro (bug#12119).
3694
d5be7bd0
MB
36952012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3696
3697 * language/persian.el: New file. (Bug#11812)
3698 * loadup.el: Add language/persian.el.
3699
90749b53
CY
37002012-08-06 Chong Yidong <cyd@gnu.org>
3701
3702 * window.el (window--maybe-raise-frame): New function.
3703 (window--display-buffer): Split off from here.
3704 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3705 (display-buffer-pop-up-window, display-buffer-use-some-window):
3706 Obey an inhibit-switch-frame action alist entry.
3707 (display-buffer): Update doc.
3708
3709 * replace.el (occur-after-change-function): Avoid losing focus by
3710 using the inhibit-switch-frame display parameter (Bug#12139).
3711
ba7b0154
FEG
37122012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3713
3714 Make internal shell process buffer names start with space.
3715 * progmodes/python.el (python-shell-make-comint): Add optional
3716 argument INTERNAL.
3717 (run-python-internal): Use it.
3718 (python-shell-internal-get-or-create-process): Check for new
3719 internal buffer names.
3720
5eaeacb5
GM
37212012-08-06 Glenn Morris <rgm@gnu.org>
3722
e296d94b 3723 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3724 Do less getting and setting of environment variables.
3725
b7ccbdc2
CY
37262012-08-05 Chong Yidong <cyd@gnu.org>
3727
777fe95e
CY
3728 * proced.el (proced): Add substitution string to docstring to
3729 trigger autoloading of the proced library on C-h f (Bug#1768).
3730
4250fdf5
SM
3731 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3732 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3733
3734 * imenu.el (imenu-generic-expression): Move documentation here
3735 from imenu--generic-function.
3736 (imenu--generic-function): Refer to imenu-generic-expression.
3737
9e3b7800 37382012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3739
3740 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3741 indentation declaration.
3742 (viper-loop): Add indentation declaration (Bug#7025).
3743
e5d9c0d1
CY
37442012-08-05 Chong Yidong <cyd@gnu.org>
3745
f0422feb
CY
3746 * help-fns.el (describe-variable): Add hyperlink for
3747 directory-local variables files. Improve buffer-local and
3748 permanent-local reporting; suggested by MON KEY (Bug#6644).
3749
3750 * help-mode.el (help-dir-local-var-def): New button type.
3751
e5d9c0d1
CY
3752 * files.el (kill-buffer-hook): Provide a defvar.
3753
a4f2deaa
GM
37542012-08-05 Glenn Morris <rgm@gnu.org>
3755
3756 * eshell/esh-ext.el (eshell/addpath):
3757 Also update eshell-path-env. (Bug#12013)
3758
a9dd5754
CY
37592012-08-05 Chong Yidong <cyd@gnu.org>
3760
a4f2deaa 3761 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3762
d014c740
CY
3763 * fringe.el (fringe-styles): Add docstring.
3764 (fringe--check-mode): New function.
3765 (set-fringe-mode, set-fringe-style): Use it.
3766 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3767
a9dd5754
CY
3768 * files.el (set-auto-mode): Fix invalid setq call.
3769
7c2dc8bd
SM
37702012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * isearch.el: Misc simplification; use defstruct.
3773 (isearch-mode-map): Dense maps now work like sparse ones.
3774 (isearch--state): New defstruct.
3775 (isearch-string-state, isearch-message-state, isearch-point-state)
3776 (isearch-success-state, isearch-forward-state)
3777 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3778 (isearch-wrapped-state, isearch-barrier-state)
3779 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3780 replaced by defstruct's accessors.
3781 (isearch--set-state): Rename from isearch-top-state and change
3782 calling convention.
3783 (isearch-push-state): Use new isearch--get-state.
3784 (isearch-toggle-word): Disable regexp when enabling word.
3785 (isearch-message-prefix): Remove unused arg _c-q-hack.
3786 (isearch-message-suffix): Remove unused arg _ellipsis.
3787
7fcc0070
AS
37882012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3789
3790 * simple.el (list-processes--refresh): For a server use :host or
3791 :local as the address.
97ad0769 3792 (list-processes): Doc fix.
7fcc0070 3793
a11035b8 37942012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3795
3796 * lisp/mpc.el: Support password in host argument.
3797 (mpc--proc-connect): Parse and use new password element.
3798 Set mpc-proc variable instead of returning process.
3799 (mpc-proc): Adjust accordingly.
3800
6dad7178
EZ
38012012-08-03 Eli Zaretskii <eliz@gnu.org>
3802
18949c2f
EZ
3803 * whitespace.el (whitespace-display-mappings): Use Unicode
3804 codepoints, instead of emacs-mule codepoints. See
3805 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3806 for the details.
3807
6dad7178
EZ
3808 * files.el (file-truename): Don't skip symlink-chasing part on
3809 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3810 Windows into the loop that recursively chases symlinks.
3811 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3812 MS-DOS.
3813
385b0198
CY
38142012-08-03 Chong Yidong <cyd@gnu.org>
3815
6200f3c4
CY
3816 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3817
385b0198
CY
3818 * sort.el (sort-regexp-fields): Doc fix.
3819
b9e74744
TH
38202012-08-03 Tassilo Horn <tsdh@gnu.org>
3821
3822 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3823 labels regex position point at the expected place.
3824
41013cb4
MK
38252012-08-03 MON KEY <monkey@sandpframing.com>
3826
3827 * net/imap.el (imap-interactive-login, imap-authenticate)
3828 (imap-mailbox-lsub, imap-mailbox-list)
3829 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3830 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3831 (imap-parse-response): Doc fix.
3832
0ffee616
JT
38332012-08-03 João Távora <joaotavora@gmail.com>
3834
3835 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3836 if sexp scanning does not move point (Bug#5734).
3837
cfcc9cc8
TH
38382012-08-02 Tassilo Horn <tsdh@gnu.org>
3839
3840 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3841 Add listings, minted, and ctable packages.
3842 (reftex-label-alist-builtin): Move listings, minted, and ctable
3843 entries before LaTeX.
a01bbb84 3844 (reftex-label-alist): Docfix.
cfcc9cc8 3845
66ec2442
BG
38462012-08-02 Bastien Guerry <bzg@gnu.org>
3847
3848 * replace.el (occur): Fix docstring (bug#12122).
3849
837b365b
GM
38502012-08-02 Glenn Morris <rgm@gnu.org>
3851
3852 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3853
e098de97
PE
38542012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3855
3856 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3857 * international/mule-cmds.el: Create
3858 inactivate-current-input-method-function as an obsolete alias for
3859 deactivate-current-input-method-function. See Katsumi Yamaoka in
3860 <http://bugs.gnu.org/10150#46>.
3861
a0f95636
JB
38622012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3863
3864 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3865 of nested `if's.
3866
0d26d7c4
GM
38672012-08-01 Glenn Morris <rgm@gnu.org>
3868
3869 * progmodes/autoconf.el (autoconf-definition-regexp):
3870 Add AH_TEMPLATE, adjust submatch numbering.
3871 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3872 (autoconf-current-defun-function): Update for above change.
3873 (autoconf-current-defun-function): First skip to end of current word.
3874
b686ba06
RS
38752012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3876
3877 * calendar/cal-html.el (cal-html-insert-agenda-days):
3878 Fix typo. (Bug#12018)
3879
0d49da68
FEG
38802012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3881
3882 Shell processes: enhancements to startup and CEDET compatibility.
3883 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3884 (python-shell-make-comint): accept-process-output at startup.
3885 (run-python-internal): Set inferior-python-mode-hook to nil.
3886 (python-shell-internal-get-or-create-process): call sit-for.
3887 (python-preoutput-result): Add obsolete alias.
3888 (python-shell-internal-send-string): Use it.
3889 (python-shell-send-setup-code): Remove call to
3890 accept-process-output.
3891
f1a71c6e
AS
38922012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3893
3894 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3895 (Bug#12108)
3896
d2605269
JB
38972012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3898
3899 * calc-mode.el (calc-basic-simplification-mode): Rename from
3900 `calc-limited-simplification-mode'.
3901 (calc-alg-simplification-mode): New function.
fc0c31f8 3902 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3903
d2605269
JB
3904 * calc.el (calc-set-mode-line): Adjust mode line display for
3905 basic simplification mode.
3906
3907 * calc-help.el (calc-m-prefix-help): Update help message.
3908
3909 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3910 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3911
a3827a43
BG
39122012-07-31 Bastien Guerry <bzg@gnu.org>
3913
3914 * man.el (man): Fix comment. (bug#12101)
3915
502e3f89
MR
39162012-07-31 Martin Rudalics <rudalics@gmx.at>
3917
3918 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3919 Don't return a non-nil value when no suitable buffer was found.
3920
d7714961
FEG
39212012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3922
3923 * progmodes/python.el (run-python-internal): Disable font lock for
3924 internal shells.
3925
1f45e27e
SM
39262012-07-30 Stefan Merten <smerten@oekonux.de>
3927
70efc5c9 3928 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3929 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3930 (rst-official-version, rst-official-cvs-rev)
3931 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3932 (rst-mode-map): New key binding.
3933
0aee6912
PE
39342012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3935
3936 Update .PHONY listings in makefiles.
3937 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3938 autoloads, update-subdirs, updates, bzr-update, update-authors,
3939 compile-onefile, compile-calc, backup-compiled-files,
3940 compile-after-backup, compile-one-process, mh-autoloads,
3941 bootstrap-clean, distclean, maintainer-clean.
3942
9052f9f0
JB
39432012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3944
1823ac5a
JB
3945 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3946 (calc-set-mode-line): Don't display "AlgSimp ".
3947
3948 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3949 (calc-lim-simplify-mode): New function.
3950 (calc-set-simplify-mode): Default to 'alg.
3951 (calc-default-simplify-mode): Make algebraic simplifications
3952 the default.
3953
3954 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3955 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3956
8d7c7eed 3957 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3958 indicate new simplification modes.
3959
1823ac5a
JB
3960 * calc/README: Mention new default simplification mode.
3961
9052f9f0
JB
3962 * calc/calc.el (math-normalize-error): New variable.
3963 (math-normalize): Set `math-normalize-error' to t
3964 when there's an error.
3965
3966 * calc/calc-alg.el (math-simplify): Don't simplify when
3967 `math-normalize' returns an error.
3968
20ba0cb4
EZ
39692012-07-29 Eli Zaretskii <eliz@gnu.org>
3970
3971 * international/mule-cmds.el (set-locale-environment): Revert last
3972 change, since display-graphic-p returns nil when this function is
3973 called during startup. Instead...
3974
3975 * term/w32console.el (terminal-init-w32console): ...setup the
3976 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3977
a5dcc929
JL
39782012-07-29 Juri Linkov <juri@jurta.org>
3979
3980 * simple.el (goto-line): Don't display default line number in the
3981 prompt because it should be displayed by `read-number' (bug#9952).
3982 Add the current line number to the defaults of `goto-line' to
3983 allow its easier modification by users with `M-n' (bug#9201).
3984
3985 * subr.el (read-number): Support multiple default values like in
3986 other minibuffer reading functions. Replace `read' with
3987 `string-to-number' for consistency with `number-to-string'.
3988
72b255c7
PE
39892012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3990
3991 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3992 * emulation/viper-init.el (viper-deactivate-input-method-action):
3993 Rename from viper-inactivate-input-method-action.
3994 (viper-deactivate-input-method):
3995 Rename from viper-inactivate-input-method.
3996 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3997 * international/mule-cmds.el (deactivate-input-method):
3998 Rename from inactivate-input-method.
3999 Also run input-method-deactivate-hook.
4000 (deactivate-current-input-method-function):
4001 Rename from inactivate-current-input-method-function.
4002 (input-method-deactivate-hook): New hook.
4003 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4004 (inactivate-input-method): Mark obsolete.
4005
72b255c7
PE
4006 * international/quail.el (quail-activate):
4007 Also run quail-deactivate-hook.
4008 (quail-deactivate): Rename from quail-inactivate.
4009 * international/robin.el (robin-activate):
4010 Also run robin-deactivate-hook.
4011 (robin-deactivate): Rename from robin-inactivate.
4012
2549c068
CY
40132012-07-29 Chong Yidong <cyd@gnu.org>
4014
4015 * simple.el (indicate-copied-region): New function.
4016 (kill-ring-save): Split off from here.
4017
4018 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4019 (kill-rectangle): Set deactivate-mark to t on read-only error.
4020
4021 * register.el (copy-to-register, copy-rectangle-to-register):
4022 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4023 (append-to-register, prepend-to-register): Call indicate-copied-region.
4024
40252012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4026
4027 * simple.el (async-shell-command-buffer): New defcustom.
4028 (shell-command): Use it. (Bug#4719)
4029
01bd1b0d
EZ
40302012-07-28 Eli Zaretskii <eliz@gnu.org>
4031
4032 * international/mule-cmds.el (set-locale-environment): In a
4033 console session on MS-Windows, set up keyboard and terminal
4034 encoding from the OEM codepage, not the ANSI codepage.
4035 (Bug#12055)
4036
a55739d3
CY
40372012-07-28 Chong Yidong <cyd@gnu.org>
4038
4039 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4040 gdb-get-location.
4041
0e1a094f 40422012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4043
4044 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4045 the alist (bug#12029).
4046
20329d73
EZ
40472012-07-28 Eli Zaretskii <eliz@gnu.org>
4048
4049 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4050 (compile-always, compile-first)
4051 ($(lisp)/calendar/cal-loaddefs.el)
4052 ($(lisp)/calendar/diary-loaddefs.el)
4053 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4054 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4055 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4056 instead of on update-subdirs.
4057 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4058
345a2258
CY
40592012-07-28 Chong Yidong <cyd@gnu.org>
4060
1eee6341
CY
4061 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4062 directory if vc-deduce-backend returns nil (Bug#7350).
4063
345a2258
CY
4064 * simple.el (delete-trailing-lines): New option.
4065 (delete-trailing-whitespace): Obey it (Bug#11879).
4066
049a0936
DE
40672012-07-28 David Engster <deng@randomsample.de>
4068
4069 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4070 Explanation of new 'symbol-qnames feature in doc-strings.
4071 (xml-maybe-do-ns): Return expanded names as plain symbols if
4072 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4073 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4074
aa81af71
FEG
40752012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4076
4077 Consistent completion in inferior python with emacs -nw.
4078 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4079 binding in inferior-python-mode-map with "\t".
4080 (python-shell-completion-complete-at-point)
4081 (python-completion-complete-at-point): Remove interactive spec.
4082
e827b1eb
JB
40832012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4084
4085 * calc/calccomp.el (math-compose-expr): Undo previous change.
4086
a90dfb95
FEG
40872012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4088
4250fdf5 4089 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4090 run-python.
4091 (python-shell-make-comint): Fix pop-to-buffer call.
4092 (run-python): Autoload. New arg SHOW.
4093 (python-shell-get-or-create-process): Do not pop python process
4094 buffer.
4095
32770973 40962012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4097
4098 * notifications.el (notifications-on-action-signal)
4099 (notifications-on-closed-signal): Use also the bus address for the map.
4100 (notifications-notify, notifications-close-notification)
fc0c31f8 4101 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4102
86332df2
TH
41032012-07-27 Tassilo Horn <tsdh@gnu.org>
4104
4250fdf5
SM
4105 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4106 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4107 ctable macro.
4108 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4109 labels written in keyvals syntax.
4110
ca1302a4
JB
41112012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4112
4113 * calc/calccomp.el (math-compose-expr): Use parentheses when
4114 there is a product in the denominator of a fraction.
4115
f8b91036
EZ
41162012-07-26 Eli Zaretskii <eliz@gnu.org>
4117
4118 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4119 ($(lisp)/calendar/diary-loaddefs.el)
4120 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4121 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4122 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4123 rewritten while the autoload files are built at the same time,
4124 which needs to load subdirs.el.
4125
c8e5a42c
MR
41262012-07-26 Martin Rudalics <rudalics@gmx.at>
4127
4128 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4129 (mouse-drag-line): Don't exit tracking when a switch-frame or
4130 switch-window event occurs (Bug#12006).
4131
670d85ea
SM
41322012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 * mouse.el (popup-menu): Fix last change.
4135
7abaf5cc
SM
41362012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 Autoload from Lisp with more care. Follow aliases when looking for
4139 function properties.
4140 * subr.el (autoloadp): New function.
4141 (symbol-file): Use it.
4142 (function-get): New function.
4143 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4144 autoload-do-load.
4145 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4146 (lisp-indent-function):
4147 * emacs-lisp/gv.el (gv-get):
4148 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4149 * emacs-lisp/byte-opt.el (byte-optimize-form):
4150 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4151 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4152 Use function-get.
4153 * emacs-lisp/cl.el: Don't propagate function properties any more.
4154
4155 * speedbar.el (speedbar-add-localized-speedbar-support):
4156 * emacs-lisp/disass.el (disassemble-internal):
4157 * desktop.el (desktop-load-file):
4158 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4159 (describe-function-1):
4160 * emacs-lisp/find-func.el (find-function-noselect):
4161 * emacs-lisp/elp.el (elp-instrument-function):
4162 * emacs-lisp/advice.el (ad-has-proper-definition):
4163 * apropos.el (apropos-safe-documentation, apropos-macrop):
4164 * emacs-lisp/debug.el (debug-on-entry):
4165 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4166 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4167 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4168
b1364986
AA
41692012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4170
4171 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4172 function, not an obsolete variable (Bug#12046).
4173
67ada220
AS
41742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4175
4176 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4177
f08088e3
CS
41782012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4179
4180 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4181 window only if it is still live (Bug#12034).
4182
8137e7b3
MR
41832012-07-25 Martin Rudalics <rudalics@gmx.at>
4184
4185 * subr.el (redirect-frame-focus): Add advertised calling
4186 convention (Bug#12030).
4187
09ae5da1
PE
41882012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4189
4190 Prefer typical American spelling for "acknowledgment".
4191 * vc/add-log.el (change-log-acknowledgment): Rename from
4192 change-log-acknowledgement, with an alias for the old name.
4193
3cc5a3a8
JB
41942012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4195
4196 * calc-alg.el (math-simplify-divide): Don't cross multiply
4197 in an equation when the lhs is a variable.
4198
b7af7f62
JD
41992012-07-24 Julien Danjou <julien@danjou.info>
4200
4201 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4202 Remove, unused.
4203
ec1b09b1
EZ
42042012-07-23 Eli Zaretskii <eliz@gnu.org>
4205
4206 * startup.el (command-line): Don't display an empty user name in
4207 the error message about non-existent home directory, when
4208 init-file-user was set to an empty string. See
4209 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4210 for the details and context.
4211
b525fd8a
VB
42122012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4213
4214 * ses.el (ses-cell-formula-aset): New macro.
4215 (ses-cell-references-aset): New macro.
4216 (ses-cell-p): New function.
4217 (ses-rename-cell): Do no longer rely on complex operations like
4218 ses-cell-set-formula or ses-set-cell to change the cell and handle
4219 the undo at the same time, but rather use lower level new macros
4220 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4221 the undo directly. Refresh the mode line.
b525fd8a 4222
2c73e345
LL
42232012-07-21 Leo Liu <sdl.web@gmail.com>
4224
670d85ea
SM
4225 * progmodes/cc-cmds.el (c-defun-name):
4226 Use match-string-no-properties instead for consistency.
2c73e345 4227
542dfbde
LL
42282012-07-20 Leo Liu <sdl.web@gmail.com>
4229
3646bcd6
LL
4230 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4231 (Bug#7879)
4232
542dfbde
LL
4233 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4234
25721031
CY
42352012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4238 * progmodes/bug-reference.el, misearch.el: Provide themselves
4239 (bug#11915).
4240
4241 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4242 of narrowed buffer (bug#11966).
4243
316e68a7
VB
42442012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4245
4246 * ses.el (ses-rename-cell): Set new name also in reference list of
4247 cells of which the renamed cell depends.
4248
bbf0e7d9
MY
42492012-07-20 Masatake YAMATO <yamato@redhat.com>
4250
4251 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4252 to check whether menu-bar is shown or not. If not shown,
4253 show the menu-bar as a popup menu instead of using tmm.
4254 * mouse.el (popup-menu): Accept `point' as `position' argument.
4255
c28662a8
DG
42562012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4257
4258 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4259 up inside string symbol literal (bug#11923).
4260
87ab808f
EZ
42612012-07-20 Eli Zaretskii <eliz@gnu.org>
4262
4263 * startup.el (fancy-startup-text): Read the whole tutorial, not
4264 just its first 256 bytes. Prevents gibberish in display of the
4265 tutorial title.
4266
89dea803
DA
42672012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4268
4269 Drop idle buffer compaction due to an absence of the
4270 proved efficiency.
4271 * compact.el: Remove.
4272
8a4e6db8
SS
42732012-07-19 Sam Steingold <sds@gnu.org>
4274
4275 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4276 vc-bzr-pull & vc-bzr-merge-branch.
4277 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4278 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4279 for consistency with compilation-error-regexp-alist.
4280 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4281 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4282 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4283 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4284
5db81e33
SM
42852012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * emacs-lisp/chart.el: Use lexical-binding.
4288 (chart-emacs-storage): Don't hardcode the list of entries.
4289
5b835e1d
DA
42902012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4291
4292 Next round of tweaks caused by Fgarbage_collect changes.
4293 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4294
9cd47b72
DA
42952012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4296
4297 Compact buffers when idle.
4298 * compact.el: New file.
4299
1d6fc0df
SM
43002012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * subr.el (eventp): Presume that if it looks vaguely like an event,
4303 it's an event (bug#10190).
4304
1d29cc7d
FEG
43052012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4306
4307 Enhancements to ppss related code (thanks Stefan).
4308 * progmodes/python.el (python-indent-context)
4309 (python-indent-calculate-indentation, python-indent-dedent-line)
4310 (python-indent-electric-colon, python-nav-forward-block)
4311 (python-mode-abbrev-table)
1d6fc0df 4312 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4313 for ppss context.
4314 (python-info-continuation-line-p): Cleanup.
4315 (python-info-ppss-context): Do not catch 'quote.
4316 (python-info-ppss-context-type)
4317 (python-info-ppss-comment-or-string-p): Simplify.
4318
d583cbe6
FEG
43192012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4320
4321 * progmodes/python.el: Enhancements to eldoc support.
4322 (python-info-current-symbol): New function.
4323 (python-eldoc-at-point): Use python-info-current-symbol.
4324 (python-info-current-defun): Fix cornercase on first defun scan.
4325 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4326 and signal error when no inferior python process is available.
4327
eceb6feb
DG
43282012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4329
4330 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4331 assume it's always t.
4332 (vc-git-registered): Remove caching, the function is only called
4333 once.
4334 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4335
4c8ff0fe
CY
43362012-07-18 Chong Yidong <cyd@gnu.org>
4337
19fb7186
CY
4338 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4339
9587c688
CY
4340 * simple.el (count-words): Report on narrowing (Bug#9959).
4341
0fe776a1
CY
4342 * bindings.el: Bind M-= to count-words.
4343
4c8ff0fe
CY
4344 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4345
7f5331cc
MY
43462012-07-18 Masatake YAMATO <yamato@redhat.com>
4347
4348 * progmodes/sh-script.el (sh-imenu-generic-expression):
4349 Capture a function with `function' keyword and without parentheses
4350 like "function FOO" (bug#11856).
4351
2dc2a609
TH
43522012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4353
4354 * window.el (split-window-sensibly): Make WINDOW argument
4355 optional.
4356
439f7677
CY
43572012-07-18 Chong Yidong <cyd@gnu.org>
4358
9aeb25a6
CY
4359 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4360
439f7677
CY
4361 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4362 and make C-x 8 RET exit isearch (Bug#11439).
4363
4364 * international/iso-transl.el: Move isearch-mode-map key
4365 definitions to isearch.el.
4366
12999ea8
SM
43672012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4370 (eieio-defclass): Use gv-define-setter when possible.
4371
3ab6e069
DA
43722012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4373
4374 Reflect recent changes in Fgarbage_collect.
4375 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4376 reflect new format of data returned by Fgarbage_collect.
4377
0a60bc10
FEG
43782012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4379
4380 New utility functions + python-info-ppss-context fix (Bug#11910).
4381 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4382 (python-info-ppss-comment-or-string-p): New functions.
4383 (python-info-ppss-context): Small fix for string check.
4384
6dafa0d5
JL
43852012-07-17 Juri Linkov <juri@jurta.org>
4386
4387 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4388 (dired-do-async-shell-command): Don't add `*' at the end of the
4389 command (Bug#11815).
4390 (dired-do-shell-command): Doc fix.
4391 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4392 Join the individual commands using either "&" or ";" as the
4393 separator depending on the values of these trailing characters.
4394 At the end re-add the trailing "&". (Bug#10598)
4395
4396 * simple.el (async-shell-command): Sync the interactive spec with
4397 `shell-command'. Doc fix.
4398 (shell-command): Doc fix.
4399
b19dd9d1
JL
44002012-07-17 Juri Linkov <juri@jurta.org>
4401
4402 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4403
bcdc27d7 44042012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4405
bcdc27d7 4406 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4407 * progmodes/python.el (python-nav-beginning-of-statement):
4408 Rename from python-nav-statement-start.
bcdc27d7
FEG
4409 (python-nav-end-of-statement): Rename from
4410 python-nav-statement-end.
4411 (python-nav-beginning-of-block): Rename from
4412 python-nav-block-start.
4413 (python-nav-end-of-block): Rename from python-nav-block-end.
4414
191da00e
FEG
44152012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4416
7f5331cc
MY
4417 * progmodes/python.el (python-shell-send-string-no-output):
4418 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4419 future interactions (Bug#11868).
4420
4dc7c8d5 44212012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4422
88ecaf8f
SM
4423 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4424
ef501ef0
SM
4425 * emacs-lisp/elint.el (elint-find-args-in-code):
4426 Use help-function-arglist, so as to handle lexical byte-code.
4427
aa7aaf8f
SM
4428 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4429 change (bug#11826).
4430
45fd731c
SM
44312012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4432
2143fa32
SM
4433 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4434 Avoid spuriously marking the buffer as modified because of c-is-sws.
4435
efc26dbe
SM
4436 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4437 as not-a-comment (bug#11946).
4438
f5695c9a
SM
4439 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4440 for uninterned vars.
4441
4442 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4443 Use read-event since we don't really want to read chars but bytes.
4444
45fd731c
SM
4445 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4446 $$..$$ but also $..$ using regexps (bug#11953).
4447 Use tex-verbatim for \url and \path.
4448 (tex-font-lock-keywords): Define as defconst like the others.
4449 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4450
ddfc8813
RK
44512012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4452
4453 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4454 alias for insert-char.
4455
758e556a
FEG
44562012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4457
4458 * progmodes/python.el: Simplified imenu implementation.
4459 (python-nav-jump-to-defun): Remove command.
4460 (python-mode-map): Use `imenu' instead.
4461 (python-nav-list-defun-positions-cache)
4462 (python-imenu-include-defun-type, python-imenu-make-tree)
4463 (python-imenu-subtree-root-label, python-imenu-index-alist):
4464 Remove vars.
4465 (python-nav-list-defun-positions, python-nav-read-defun)
4466 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4467 (python-imenu-make-tree, python-imenu-create-index):
4468 Remove functions.
758e556a
FEG
4469 (python-mode): Update to interact with imenu by setting
4470 `imenu-extract-index-name-function' only.
4471
032d23ab
FEG
44722012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4473
4474 * progmodes/python.el: Enhancements to navigation commands.
4475 (python-nav-backward-sentence)
4476 (python-nav-forward-sentence): Remove.
4477 (python-nav-backward-statement, python-nav-forward-statement)
4478 (python-nav-statement-start, python-nav-statement-end)
4479 (python-nav-backward-block, python-nav-forward-block)
4480 (python-nav-block-start, python-nav-block-end)
4481 (python-nav-forward-sexp-function)
4482 (python-info-current-line-comment-p)
4483 (python-info-current-line-empty-p): New functions.
4484 (python-indent-context): Use `python-nav-statement-start'.
4485
01795a1b
MA
44862012-07-16 Michael Albinus <michael.albinus@gmx.de>
4487
9328d9aa
MA
4488 * eshell/em-ls.el (eshell/ls): Use `apply'.
4489
4490 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4491 multi-hops, instead of Tramp internals.
4492
01795a1b
MA
4493 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4494
4495 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4496 when F1 and F2 are located on different hosts.
4497
63408057
CY
44982012-07-14 Chong Yidong <cyd@gnu.org>
4499
4500 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4501 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4502 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4503 (xterm-mouse--read-event-sequence-1000)
4504 (xterm-mouse--read-event-sequence-1006): New functions. For old
4505 mouse protocol, handle M-mouse-X events correctly.
4506 (xterm-mouse-event): New arg specifying mouse protocol.
4507 (turn-on-xterm-mouse-tracking-on-terminal)
4508 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4509 sequence to toggle extended coordinates on newer XTerms.
4510 This appears to be harmless on terminals which do not support this.
63408057 4511
cd276f6e
LL
45122012-07-14 Leo Liu <sdl.web@gmail.com>
4513
28ca98ac
LL
4514 Add fringe bitmap indicators for flymake. (Bug#11253)
4515 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4516 (flymake-make-overlay): New arg BITMAP.
4517 (flymake-error-bitmap, flymake-warning-bitmap)
4518 (flymake-fringe-indicator-position): New user variables.
4519
cd276f6e
LL
4520 * fringe.el: New bitmap exclamation-mark.
4521
04408072
JD
45222012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4523
4524 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4525 also (Bug#7879).
4526
b5cf7fc4
CY
45272012-07-14 Chong Yidong <cyd@gnu.org>
4528
4529 * electric.el (electric-pair-post-self-insert-function): Fix pair
4530 insertion in empty-region case (Bug#11520).
4531
be755c79
RT
45322012-07-14 Chong Yidong <cyd@gnu.org>
4533
45fd731c
SM
4534 * bindings.el: Consolidate ctl-x-r-map bindings.
4535 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4536
4537 * rect.el, register.el: Move bindings to bindings.el.
4538
45392012-07-14 Reuben Thomas <rrt@sc3d.org>
4540
4541 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4542
7f5b3198
AS
45432012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4544
4545 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4546
97662200
JB
45472012-07-13 Juanma Barranquero <lekktu@gmail.com>
4548
80185fed
JB
4549 * bindings.el (top): Use `mapc' instead of `mapcar'.
4550
97662200
JB
4551 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4552
2bb1ae55
MA
45532012-07-13 Michael Albinus <michael.albinus@gmx.de>
4554
4555 * progmodes/sql.el (sql-comint): Suppress the check for program on
4556 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4557 (Bug#11908)
4558
dea31bd3
CY
45592012-07-13 Chong Yidong <cyd@gnu.org>
4560
4561 * bindings.el: Assign a non-nil permanent-local property to
4562 per-buffer variables which lack a default value (Bug#11930).
4563
4564 * help-fns.el (describe-variable): In the "automatically becomes
4565 local" notice, take note of permanent-local variables.
4566
b68b3337
CY
45672012-07-13 Chong Yidong <cyd@gnu.org>
4568
4569 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4570 to allow printing the message when called from Lisp.
4571
4572 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4573 Remove toggle-read-only.
4574
4575 * bs.el (bs-toggle-readonly):
45fd731c
SM
4576 * buff-menu.el (Buffer-menu-toggle-read-only):
4577 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4578
4579 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4580 Remove with-no-warnings around toggle-read-only.
4581 (ffap-read-only, ffap-read-only-other-window)
4582 (ffap-read-only-other-frame): Callers changed.
4583
4584 * help-mode.el: Don't require view package.
4585 (help-mode-finish): Set buffer-read-only instead of calling
4586 toggle-read-only.
4587
4588 * bindings.el (mode-line-toggle-read-only):
4589 * dired.el (dired-toggle-read-only):
4590 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4591 with non-nil second arg.
4592
4593 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4594 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4595 directly.
4596
56bc1586
EZ
45972012-07-12 Eli Zaretskii <eliz@gnu.org>
4598
4599 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4600 not incf.
4601
a464a6c7
SM
46022012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 More CL cleanups and reduction of use of cl.el.
4605 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4606 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4607 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4608 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4609 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4610 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4611 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4612 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4613 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4614 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4615 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4616 * eshell/em-cmpl.el, eshell/em-banner.el:
4617 * calendar/parse-time.el: Use cl-lib.
4618 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4619 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4620 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4621 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4622 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4623 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4624 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4625 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4626 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4627 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4628 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4629 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4630 `lambda' rather than with `quote'.
4631 (eshell-do-opt): Adjust accordingly.
4632 (eshell-process-option): Simplify.
4633 * eshell/esh-var.el:
4634 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4635 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4636 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4637 to `pcase--dontcare'.
4638 * emacs-lisp/cl.el (labels): Mark obsolete.
4639 (cl--letf, letf): Move to cl-lib.
4640 (cl--letf*, letf*): Remove.
4641 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4642 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4643 (cl-progv): Rewrite.
4644 (cl--letf, cl-letf): Move from cl.el.
4645 (cl-letf*): New macro.
4646 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4647
7ad4afe1
MA
46482012-07-11 Michael Albinus <michael.albinus@gmx.de>
4649
4650 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4651
9af57756
CY
46522012-07-11 Chong Yidong <cyd@gnu.org>
4653
4654 * vc/log-edit.el (log-edit-vc-backend): New variable.
4655 (log-edit): Doc fix.
4656
4657 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4658 argument of log-edit to set up all local variables.
4659 (vc-start-logentry): New optional arg specifying VC backend.
4660
4661 * vc/vc.el (vc-checkin): Use it.
4662 (vc-deduce-fileset): Handle Log Edit buffers.
4663 (vc-diff): Make first argument optional too.
4664
4665 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4666
8477cc7a
MA
46672012-07-10 Michael Albinus <michael.albinus@gmx.de>
4668
4669 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4670 command, just in case. The function is not needed anymore.
4671 (eshell-external-command): Do not call `eshell-remote-command'.
4672
19faa8e8
SM
46732012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4674
f58e0fd5
SM
4675 Reduce use of (require 'cl).
4676 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4677 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4678 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4679 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4680 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4681 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4682 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4683 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4684 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4685 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4686 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4687 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4688 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4689 (byte-compile-unfold-bcf, byte-compile-check-variable):
4690 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4691 (byte-compile-nilconstp):
4692 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4693 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4694
2519d43a
SM
4695 * emacs-lisp/gv.el (cond): Make it a valid place.
4696 (if): Simplify slightly.
4697
19faa8e8
SM
4698 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4699 (pcase--self-quoting-p): New function.
4700 (pcase--u1): Use it.
4701
c4907a5e
GM
47022012-07-10 Glenn Morris <rgm@gnu.org>
4703
4704 * emacs-lisp/authors.el (authors-fixed-entries):
4705 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4706
c4444d16
PE
47072012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4708
4709 Rename configure.in to configure.ac (Bug#11603).
4710 * emacs-lisp/authors.el (authors-canonical-file-name):
4711 * progmodes/autoconf.el (autoconf-mode):
4712 Prefer configure.ac to configure.in.
4713
d75be97d
CY
47142012-07-08 Chong Yidong <cyd@gnu.org>
4715
01ac65bd
CY
4716 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4717 Implement the mouse-1-click-follows-link handling properly.
4718
4719 * info.el (Info-link-keymap): Use follow-link mechanism for
4720 header-line links (Bug#374).
4721
d75be97d
CY
4722 * simple.el (deactivate-mark): Do not set the primary selection
4723 if another program has acquired it (Bug#11772).
4724
87a92845 47252012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4726
4727 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4728 (woman-decode-region): Replace escaped-escapes without destroying
4729 bold or underline (Bug#11552).
87a92845 4730 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4731
621b9d6c
CY
47322012-07-07 Chong Yidong <cyd@gnu.org>
4733
4734 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4735 (interprogram-cut-function, interprogram-paste-function):
4736 Mention that we typically mean the clipboard.
621b9d6c 4737
133a11fc
GM
47382012-07-06 Glenn Morris <rgm@gnu.org>
4739
0d27a45e
GM
4740 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4741
133a11fc
GM
4742 * files.el (toggle-read-only): Restrict message to interactive use.
4743
07b151f1
MA
47442012-07-06 Michael Albinus <michael.albinus@gmx.de>
4745
4746 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4747
4748 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4749
211b896b
GM
47502012-07-06 Glenn Morris <rgm@gnu.org>
4751
50394322
GM
4752 * Makefile.in (compile-one-process): Rename from "recompile".
4753
211b896b
GM
4754 * Makefile.in (bzr-update): "compile" is the same as "recompile
4755 autoloads", but parallelizable, so use that instead.
4756
4737eec9
DG
47572012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4758
4759 * window.el (quit-window): Always restore window height when
8137e7b3 4760 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4761
226c3633 47622012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4763
4764 * simple.el (kill-whole-line): Doc tweak.
4765
226c3633 47662012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4767
4768 * files.el (file-relative-name): Compare file names
4769 case-insensitively if on MS-Windows or MS-DOS, or if
4770 read-file-name-completion-ignore-case is non-nil. Don't use
4771 case-fold-search for this purpose. (Bug#11827)
4772
4dc7c8d5
SM
47732012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4774
4775 * calendar/cal-dst.el (calendar-current-time-zone):
4776 Return calendar-current-time-zone-cache if non-nil.
4777
47782012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 47792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4780
19faa8e8
SM
4781 * calendar/cal-dst.el (calendar-current-time-zone):
4782 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4783
60198fc9
GM
47842012-07-06 Glenn Morris <rgm@gnu.org>
4785
4786 * Makefile.in (cvs-update): Remove old alias.
4787
957b3189
MA
47882012-07-05 Michael Albinus <michael.albinus@gmx.de>
4789
4790 Sync with Tramp 2.2.6-pre.
4791
4792 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4793 compatible declaration.
4794
19faa8e8
SM
4795 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4796 Protect `list-load-path-shadows' call.
957b3189
MA
4797
4798 * net/tramp-compat.el (top): Require packages, which aren't
4799 autoloaded anymore for XEmacs. Protect call of
4800 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4801 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4802 it hurts at least for SXEmacs.
4803 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4804 standard-value for `temporary-file-directory'.
4805
4806 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4807 Redirect stderr to /dev/null.
4808 (tramp-sh-handle-write-region): uid and gid can be floats.
4809 Reported by Russell Sim <russell.sim@gmail.com>.
4810 (tramp-sh-handle-vc-registered): Hide errors.
4811 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4812 and `start-file-process'.
4813 (tramp-maybe-open-connection): Check also whether `non-essential'
4814 is bound.
4815
566df3fc
CY
48162012-07-04 Chong Yidong <cyd@gnu.org>
4817
4818 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4819 (xml-parse-tag): Likewise, and avoid changing entity tables.
4820 (xml-syntax-table): Define from scratch, making sure not to give
4821 x2000 and other Unicode spaces whitespace syntax, since those are
4822 not spaces in XML.
4823 (xml-parse-fragment): Delete unused function.
4824 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4825 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4826 (xml-entity-ref, xml-pe-reference-re)
4827 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4828 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4829 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4830 (xml-entity-value-re): Use syntax references in regexps where
4831 possible; no need to define inside a let-binding.
4832 (xml-parse-dtd): Use xml-pe-reference-re.
4833 (xml-entity-or-char-ref-re): New defconst.
4834 (xml-parse-string, xml-substitute-special): Use it.
4835
30eabd7a
SM
48362012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4837
0781098a
SM
4838 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4839 (find-file--read-only): New function.
4840 (find-file-read-only, find-file-read-only-other-window)
4841 (find-file-read-only-other-frame): Use it.
4842 (insert-file-contents-literally): Don't `fset'.
4843 (get-free-disk-space): Use locate-dominating-file.
4844
b5771c0d
SM
4845 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4846 function is already compiled.
4847
30eabd7a
SM
4848 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4849
b4886f6e
MA
48502012-07-03 Michael Albinus <michael.albinus@gmx.de>
4851
4852 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4853 files on the same host.
4854
b9d82339
AS
48552012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4856
4857 * help-fns.el (describe-function-1): Only call
4858 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4859
a76e6535
CY
48602012-07-03 Chong Yidong <cyd@gnu.org>
4861
4862 * xml.el: Protect parser against XML bombs.
4863 (xml-entity-expansion-limit): New variable.
4864 (xml-parse-string, xml-substitute-special): Use it.
4865 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4866
b544fef2
GM
48672012-07-03 Glenn Morris <rgm@gnu.org>
4868
4869 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4870 Allow linking to specific messages in debbugs reports (eg 123#5).
4871
a7aef6f5
CY
48722012-07-02 Chong Yidong <cyd@gnu.org>
4873
4874 * xml.el: Fix entity and character reference expansion, allowing
4875 them to expand into markup as per XML spec.
4876 (xml-default-ns): New variable.
4877 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4878 (xml-parse-region): Make first two arguments optional.
4879 Discard text properties.
4880 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4881 All callers changed.
a7aef6f5
CY
4882 (xml-parse-tag): Call xml-parse-tag-1. For backward
4883 compatibility, this function should not modify buffer contents.
4884 (xml-parse-tag-1): Fix opening-tag regexp.
4885 (xml-parse-string): Rewrite, handling entity and character
4886 references properly.
4887 (xml--entity-replacement-text): Signal an error if a parameter
4888 entity is undefined.
4889
3df31c9f
SM
48902012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4891
2b5208f1
SM
4892 * comint.el (comint-output-filter): Filter out repeated prompts.
4893
3df31c9f
SM
4894 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4895 and file-name-absolute-p.
4896 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4897 internal calls.
4898
e3ac1281
PE
48992012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4900
4901 Spelling fixes.
4902 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4903 Rename from byte-compile--refiy-function. All uses changed.
4904
fbf2e7ad
CY
49052012-07-01 Chong Yidong <cyd@gnu.org>
4906
4907 * xml.el (xml--parse-buffer): New function. Move most of
4908 xml-parse-region here.
4909 (xml-parse-region): Copy region into a temporary buffer, since
4910 parameter entity substitution requires changing buffer contents.
4911 Use xml--parse-buffer.
4912 (xml-parse-file): Use xml--parse-buffer.
4913 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4914 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4915
9bf0aa15
GM
49162012-06-30 Glenn Morris <rgm@gnu.org>
4917
bbce2853
GM
4918 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4919
9bf0aa15
GM
4920 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4921 Remove outdated and unnecessary dbus declarations.
4922
0d23c240
EZ
49232012-06-30 Eli Zaretskii <eliz@gnu.org>
4924
4925 * emacs-lisp/timer.el (timer-until): Subtract results of
4926 float-time, instead of taking float-time of the result of
4927 time-subtract, since float-time signals an error for negative time
4928 arguments.
4929
b3218de1
CY
49302012-06-30 Chong Yidong <cyd@gnu.org>
4931
4932 * xml.el (xml-*-re): Convert defvars into defconsts, and
4933 eval-and-compile them so eval-and-compile works on derivatives.
4934 (xml--entity-replacement-text): Use eval-and-comple.
4935
a40c87a0
MA
49362012-06-30 Michael Albinus <michael.albinus@gmx.de>
4937
4938 * vc/vc-git.el (vc-git-registered): Use cache property
4939 `git-registered'.
4940 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4941 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4942 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4943
ac87de97
DG
49442012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4945
4946 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4947 removed (likely outside Emacs). (Bug#11757)
ac87de97 4948
ac10fe06
SM
49492012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4950
3df31c9f 4951 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4952
7f3fbd5d
CY
49532012-06-30 Chong Yidong <cyd@gnu.org>
4954
4955 * xml.el: Implement XML parameter entities.
4956 (xml-parameter-entity-alist): New variable.
4957 (xml-parse-region, xml-parse-fragment): Preserve previous values
4958 of xml-entity-alist and xml-parameter-entity-alist, so that
4959 repeated calls on different documents do not change them.
4960 (xml-parse-tag): Fix doctype regexp.
4961 (xml--entity-replacement-text): New function.
4962 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4963 properly requires url retrieval which is unimplemented.
4964 (xml-escape-string): Doc fix.
4965
3cfbebba
SM
49662012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4969
2af3565e
DA
49702012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4971
4972 * fringe.el (fringe-mode): Doc fix.
4973
929df0e7
MA
49742012-06-29 Michael Albinus <michael.albinus@gmx.de>
4975
4976 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4977 is non-nil.
4978 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4979 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4980
c8d3a25c 49812012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4982
c8d3a25c
GM
4983 * calendar/cal-dst.el (calendar-current-time-zone):
4984 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4985
c8d3a25c 49862012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4987
4988 * progmodes/which-func.el (which-func-format):
4989 Add mouse-face. (Bug#11698)
4990
c8d3a25c
GM
49912012-06-29 Leo Liu <sdl.web@gmail.com>
4992
4993 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4994
49952012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * minibuffer.el (minibuffer-confirm-exit-commands):
4998 Add completion-at-point (bug#11725).
4999
50002012-06-29 Glenn Morris <rgm@gnu.org>
5001
5002 * progmodes/f90.el (f90-font-lock-keywords-2):
5003 Add some preprocessor elements. (Bug#10499)
5004
50052012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5008 Use syntax-propertize (bug#11739).
5009
2badeec4
JB
50102012-06-28 Juanma Barranquero <lekktu@gmail.com>
5011
5012 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5013
ae4969c2
JD
50142012-06-28 Julien Danjou <julien@danjou.info>
5015
5016 * term.el (term-handle-colors-array): Use a set of new faces to
5017 color the terminal. Also uses :inverse-video property.
5018 (term-default-fg-color): Set to nil by default, deprecate in favor
5019 of `term-face'.
5020 (term-default-bg-color): Set to nil by default, deprecate in favor
5021 of `term-face'.
5022 (term-current-face): Use `term-face' by default.
5023 (term-bold-attribute): Variable deleted.
5024
1c9bd870
GM
50252012-06-28 Glenn Morris <rgm@gnu.org>
5026
5027 * simple.el (completion-list-mode-finish):
5028 Don't use toggle-read-only. (Since completion-list-mode has
5029 a special mode-class, it wasn't doing anything extra anyway.)
5030
c207708c
SM
50312012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 Make inlining of other-mode interpreted functions work (bug#11799).
5034 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5035 (byte-compile): Use it to fix compilation of lexical-binding closures.
5036 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5037 function, if needed.
5038
3fd56834
SM
50392012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5040
04901786
SM
5041 * help-mode.el (help-make-xrefs): Don't just withstand
5042 cyclic-variable-indirection but any error in documentation-property.
5043
1ec4b7b2
SM
5044 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5045 memory use.
5046 * bindings.el (bindings--define-key): New function.
5047 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5048 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5049 * bindings.el: Use it to purecopy define-key bindings.
5050
e309e2a5
SM
5051 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5052
d5c6faf9
SM
5053 * emacs-lisp/cl.el (flet): Mark obsolete.
5054 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5055 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5056 * progmodes/js.el (js-c-fill-paragraph):
5057 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5058 (ebrowse-switch-member-buffer-to-derived-class):
5059 * play/5x5.el (5x5-solver): Use cl-flet.
5060
6e9590e2
SM
5061 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5062 (cl--symbol-function): New macro.
5063 (cl--letf, cl--letf*): Use it.
5064
3fd56834
SM
5065 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5066 Strip "toggle-" if any.
5067
35ff222c
GM
50682012-06-27 Glenn Morris <rgm@gnu.org>
5069
1ba6038a
GM
5070 * info.el (Info-default-directory-list): Move here from paths.el.
5071 * paths.el: Remove file, which is now empty.
5072 * loadup.el: No longer load "paths".
5073
0ea0e51b
GM
5074 * custom.el (custom-initialize-delay): Doc fix.
5075
35ff222c
GM
5076 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5077 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5078 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5079 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5080 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5081 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5082 * eshell/eshell.el (eshell-defgroup): Remove alias.
5083
c89926a5
CY
50842012-06-27 Chong Yidong <cyd@gnu.org>
5085
5086 * help.el (help-enable-auto-load): New variable.
5087
5088 * help-fns.el (help-fns--autoloaded-p): New function.
5089 (describe-function-1): Refer to a function as "autoloaded" if it
5090 was autoloaded at any time in the past. Perform autoloading if
5091 help-enable-auto-load is non-nil.
5092
cc06e7e7
EZ
50932012-06-26 Eli Zaretskii <eliz@gnu.org>
5094
5095 * makefile.w32-in (compile, compile-always): Depend on
5096 update-subdirs, not on subdirs.el. Otherwise, several different
5097 sub-targets of 'bootstrap' running in parallel could
5098 simultaneously write to subdirs.el, producing a garbled file.
5099
d2c32364
SS
51002012-06-26 Sam Steingold <sds@gnu.org>
5101
5102 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5103 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5104 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5105 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5106 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5107 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5108 * textmodes/tex-mode.el: Use it.
5109 Did not touch cedet and org because they are maintained elsewhere.
5110
5cf983b2
MR
51112012-06-26 Martin Rudalics <rudalics@gmx.at>
5112
5113 * calendar/calendar.el (calendar-exit): Don't try to delete or
5114 iconify last frame. See:
5115 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5116
8c4f2952
JD
51172012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5118
5119 * server.el (server-process-filter): Remember dir in the
5120 process's `server-client-directory' properties.
5121
772b2e2c
CY
51222012-06-24 Chong Yidong <cyd@gnu.org>
5123
5124 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5125 non-tag text.
5126
711b11e1
JB
51272012-06-23 Juanma Barranquero <lekktu@gmail.com>
5128
5129 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5130
dc5d230c
SM
51312012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * help-fns.el (describe-variable): Don't croak when doc is not found.
5134 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5135 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5136 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5137 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5138 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5139 ((lambda ..) ..).
5140 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5141
136e1c1d
CY
51422012-06-23 Chong Yidong <cyd@gnu.org>
5143
e8c1cabf
CY
5144 * info.el (Info-mouse-follow-link): Accept symbol values of
5145 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5146 (Info-fontify-node): Use Info-link-keymap for all navigation
5147 buttons, with link-args property to perform the desired action.
5148 (Info-link-keymap): Doc fix.
5149 (Info-next-link-keymap, Info-prev-link-keymap)
5150 (Info-up-link-keymap): Delete now-unused keymaps.
5151
0e9e6c6a
CY
51522012-06-23 Chong Yidong <cyd@gnu.org>
5153
05e89fea
CY
5154 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5155
0e9e6c6a
CY
5156 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5157 system abbrevs.
5158
5159 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5160
e33c6771
SM
51612012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5162
b68581e2
SM
5163 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5164 (bug#11719).
5165
e33c6771
SM
5166 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5167 the requote function doesn't work properly (bug#11714).
5168
7117e105
GM
51692012-06-23 Glenn Morris <rgm@gnu.org>
5170
5171 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5172
36cec983
SM
51732012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 Further GV/CL cleanups.
5176 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5177 gv-expander.
5178 (gv--defun-declaration): New function.
5179 (defun-declarations-alist): Use it.
5180 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5181 (gv-place): Autoload.
5182 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5183 original definition of dotimes and dolist.
5184 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5185 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5186 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5187 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5188 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5189 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5190 to the function's definition.
5191 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5192 * window.el:
5193 * files.el:
5194 * faces.el:
5195 * env.el: Don't use CL.
5196
d35af63c
PE
51972012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5198
5199 Support higher-resolution time stamps (Bug#9000).
5200
5201 * calendar/time-date.el (with-decoded-time-value): New arg
5202 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5203 (encode-time-value): New optional arg PICO. New type 3.
5204 (time-to-seconds) [!float-time]: Support the new picoseconds
5205 component if it's used.
5206 (seconds-to-time, time-subtract, time-add):
5207 Support ps-resolution time stamps as well.
5208
5209 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5210 (timerp): Timer vectors now have length 9, not 8.
5211 (timer--time): Support new-style (4-part) time stamps.
5212 (timer-next-integral-multiple-of-time): Time stamps now have
5213 picosecond resolution, so take a bit more care about rounding.
5214 (timer-relative-time, timer-inc-time): New optional arg psecs.
5215 (timer-set-time-with-usecs): Set psecs to 0.
5216 (timer--activate): Check psecs component, too.
5217
5218 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5219
ac77b21a
SM
52202012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5221
f143bfe3
SM
5222 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5223 Move the non-essential binding to the post/pre-command-hook where it is
5224 more obviously correct.
5225
ac77b21a
SM
5226 * subr.el (read-passwd): Don't use a history at all.
5227 * savehist.el (savehist-save): Remove password saved accidentally
5228 because of the above bug.
5229
76386c5a
BG
52302012-06-22 Bastien Guerry <bzg@gnu.org>
5231
5232 * files.el (toggle-read-only): Display a message telling whether
5233 the buffer is read-only or not (bug#11726).
5234
2ee3d7f0
SM
52352012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * emacs-lisp/gv.el: New file.
5238 * subr.el (push, pop): Extend to generalized variables.
5239 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5240 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5241 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5242 gv-define-simple-setter, and gv-define-expander.
5243 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5244 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5245 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5246 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5247 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5248 gv-letplace.
5249 (cl-defstruct): Don't define setf-method any more.
5250 * emacs-lisp/cl.el (flet): Don't autoload.
5251 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5252 (define-setf-expander, defsetf, define-modify-macro)
5253 (cl-struct-setf-expander): Move from cl-lib.el.
5254 * emacs-lisp/syntax.el:
5255 * emacs-lisp/ewoc.el:
5256 * emacs-lisp/smie.el:
5257 * emacs-lisp/cconv.el:
5258 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5259 (timer--time): Use gv-define-simple-setter.
5260 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5261 to avoid coding-system problems in subr.el. Adjust all users.
5262 (macroexp--maxsize, macroexp-small-p): New functions.
5263 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5264 * scroll-bar.el (scroll-bar-mode):
5265 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5266 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5267 * winner.el (winner-configuration, winner-make-point-alist)
5268 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5269 * files.el (locate-file-completion-table): Avoid list*.
5270
c5695d1d
CY
52712012-06-22 Chong Yidong <cyd@gnu.org>
5272
5273 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5274 (dired-create-files): Doc fix (Bug#11329).
5275 (dired-do-copy): Doc fix (Bug#11334).
5276 (dired-mark-read-string): Doc fix (Bug#11553).
5277
2ee3d7f0
SM
5278 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5279 Doc fix (Bug#11326).
c5695d1d
CY
5280 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5281 (dired-dwim-target): Doc fix.
5282
5283 * wdired.el (wdired-mode): Doc fix.
5284
89b5595a
GM
52852012-06-22 Glenn Morris <rgm@gnu.org>
5286
575db3f1
GM
5287 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5288 (pcmpl-rpm-cache-stamp-file): New constant.
5289 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5290 (pcmpl-rpm-packages): Optionally cache list of packages.
5291
a4c8dd51
GM
5292 * pcmpl-rpm.el (pcmpl-rpm): New group.
5293 (pcmpl-rpm-query-options): New option.
5294 (pcmpl-rpm-packages): No need to inline it.
5295 Use pcmpl-rpm-query-options.
5296
89b5595a
GM
5297 * calendar/calendar.el (calendar-in-read-only-buffer):
5298 Avoid some needless mode changes.
5299
e76f0800
CY
53002012-06-21 Chong Yidong <cyd@gnu.org>
5301
5302 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5303 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5304 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5305
297a8f1d
CY
53062012-06-20 Chong Yidong <cyd@gnu.org>
5307
5308 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5309
d34c18b1
DR
53102012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5311
5312 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5313 (bug#11201).
5314
32f7f28e
CY
53152012-06-20 Chong Yidong <cyd@gnu.org>
5316
5317 * term.el (term-window-width): Handle the case of a missing right
5318 fringe (Bug#8837).
5319 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5320 (term-mode): Use define-derived-mode. Minor cleanups.
5321 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5322 (term-move-columns, term-insert-char, term-emulate-terminal)
5323 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5324
493c6688
MA
53252012-06-20 Michael Albinus <michael.albinus@gmx.de>
5326
d34c18b1
DR
5327 * net/ange-ftp.el (ange-ftp-get-passwd):
5328 Bind `enable-recursive-minibuffers'.
493c6688
MA
5329 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5330
3f06ecf4
DR
53312012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5332
5333 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5334
68f12411
GM
53352012-06-19 Glenn Morris <rgm@gnu.org>
5336
5337 * progmodes/python.el (python-mode): Derive from prog-mode.
5338
b3820318
KG
53392012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5340
5341 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5342 (edt-user-menu-bar-update-buffers): New functions.
5343 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5344
c6bf3022
CY
53452012-06-19 Chong Yidong <cyd@gnu.org>
5346
5347 * subr.el (with-selected-window): Preserve the selected window's
5348 terminal's top-frame (Bug#4702).
5349
5350 * window.el (save-selected-window): Likewise.
5351
25f09295
SM
53522012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * progmodes/python.el (python-rx-constituents): Move backquote.
5355 (python-skeleton-define, python-define-auxiliary-skeleton):
5356 Use `declare'.
5357
6b11952a
MA
53582012-06-18 Michael Albinus <michael.albinus@gmx.de>
5359
5360 * minibuffer.el (read-file-name-default): Revert the patch from
5361 2012-06-17.
5362
ee4b1330
SM
53632012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5366 (pcase--u1, pcase--q1): Don't use apply-partially.
5367
35647f79
GM
53682012-06-18 Glenn Morris <rgm@gnu.org>
5369
5370 * progmodes/python.el (python-proc, python-buffer)
5371 (python-send-receive, python-send-string): Fix obsolete versions.
5372
24b0cff0
MR
53732012-06-18 Martin Rudalics <rudalics@gmx.at>
5374
5375 * window.el (special-display-p): Completely remove stringp
5376 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5377
29855149
MA
53782012-06-17 Michael Albinus <michael.albinus@gmx.de>
5379
5380 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5381
5382 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5383
5384 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5385 * net/tramp-sh.el (tramp-maybe-open-connection):
5386 Throw if `non-essential' is non-nil.
5387
07463363
MR
53882012-06-17 Martin Rudalics <rudalics@gmx.at>
5389
5390 * window.el (special-display-p): Signal an error if BUFFER-NAME
5391 is not a string (Bug#11713).
5392
48d1354e
PE
53932012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5394
5395 * progmodes/python.el (python-info-beginning-of-backslash):
5396 Rename from python-info-beginning-of-backlash, as a spelling fix.
5397
eb4a8a9a
CY
53982012-06-17 Chong Yidong <cyd@gnu.org>
5399
5400 * term.el (term-emulate-terminal): If term-check-size is called,
5401 move point to the process mark without resetting point (Bug#4635).
5402
ddfbf826 54032012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5404
5405 * international/mule-cmds.el (mule-menu-keymap)
5406 (set-language-environment, set-locale-environment): Doc tweaks.
5407
9b0e3eba
AA
54082012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5409
5410 * cus-face.el (custom-face-attributes): Add wave-style underline
5411 attribute.
5412 * faces.el (set-face-attribute): Update docstring to describe
5413 wave-style underline attribute.
5414
771e3eae
CY
54152012-06-16 Chong Yidong <cyd@gnu.org>
5416
5417 * term/xterm.el (terminal-init-xterm): Discard input before
5418 querying background mode (Bug#10959).
5419
7ae2ea10
SM
54202012-06-16 Stefan Merten <smerten@oekonux.de>
5421
5422 * textmodes/rst.el: Added and corrected some comments.
5423 (rst-re-alist-def): Improve symbol syntax.
5424 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5425 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5426 (rst-official-version, rst-official-cvs-rev): Update version
5427 information.
7ae2ea10 5428
b6974efa
JB
54292012-06-15 Juanma Barranquero <lekktu@gmail.com>
5430
5431 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5432 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5433
8826d473
GM
54342012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5435
5436 * progmodes/python.el: New python.el merge.
5437 (python-guess-indent): Obsolete var.
5438 (python-indent-guess-indent-offset): New defcustom.
5439 (python-indent): Obsolete var.
5440 (python-indent-offset): New defcustom.
5441 (python-python-command, python-jython-command): Delete var.
5442 (python-shell-interpreter): New defcustom.
5443 (python-pdbtrack-do-tracking-p): Delete var.
5444 (python-pdbtrack-activate): New defcustom.
5445 (python-use-skeletons): Obsolete var.
5446 (python-skeleton-autoinsert): New defcustom.
5447 (inferior-python-filter-regexp, python-continuation-offset)
5448 (python-honour-comment-indentation, python-indent-string-contents)
5449 (python-jython-packages, python-mode-hook)
5450 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5451 (python-shell-prompt-alist)
5452 (python-source-modes): Delete defcustoms.
5453 (python-check-buffer-name, python-eldoc-setup-code)
5454 (python-eldoc-string-code, python-ffap-setup-code)
5455 (python-ffap-string-code, python-fill-comment-function)
5456 (python-fill-decorator-function, python-fill-paren-function)
5457 (python-fill-string-function, python-imenu-include-defun-type)
5458 (python-imenu-make-tree, python-imenu-subtree-root-label)
5459 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5460 (python-shell-compilation-regexp-alist)
5461 (python-shell-completion-module-string-code)
5462 (python-shell-completion-pdb-string-code)
5463 (python-shell-completion-setup-code)
5464 (python-shell-completion-string-code)
5465 (python-shell-enable-font-lock, python-shell-exec-path)
5466 (python-shell-extra-pythonpaths)
5467 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5468 (python-shell-process-environment)
5469 (python-shell-prompt-block-regexp)
5470 (python-shell-prompt-output-regexp)
5471 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5472 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5473 (python-shell-virtualenv-path): New defcustoms.
5474 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5475 (inferior-python-mode-syntax-table, python--prompt-regexp)
5476 (python-buffer, python-command python-python-command)
5477 (python-default-template, python-imports, python-indent-index)
5478 (python-indent-list, python-indent-list-length)
5479 (python-mode-running, python-pdbtrack-is-tracking-p)
5480 (python-preoutput-continuation, python-preoutput-leftover)
5481 (python-preoutput-result, python-preoutput-skip-next-prompt)
5482 (python-prev-dir/file, python-recursing)
5483 (python-saved-check-command, python-version-checked)
5484 (python-which-func-length-limit)
5485 (view-return-to-alist): Delete vars.
5486 (python-check-custom-command, python-dotty-syntax-table)
5487 (python-imenu-index-alist, python-indent-current-level)
5488 (python-indent-dedenters, python-indent-levels)
5489 (python-nav-beginning-of-defun-regexp)
5490 (python-nav-list-defun-positions-cache)
5491 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5492 (python-shell-internal-buffer)
5493 (python-skeleton-available): New vars.
5494 (def-python-skeleton): Delete macro.
5495 (python-skeleton-define): New macro.
5496 (python-define-auxiliary-skeleton, python-rx): New macros.
5497 (python-insert-class): Delete command.
5498 (python-skeleton-class): New command.
5499 (python-insert-def): Delete command.
5500 (python-skeleton-def): New command.
5501 (python-insert-for): Delete command.
5502 (python-skeleton-for): New command.
5503 (python-insert-if): Delete command.
5504 (python-skeleton-if): New command.
5505 (python-insert-try/except, python-insert-try/finally): Delete commands.
5506 (python-skeleton-try): New command.
5507 (python-insert-while): Delete command.
5508 (python-skeleton-while): New command.
5509 (python-backspace): Delete command.
5510 (python-indent-dedent-line-backspace): New command.
5511 (python-electric-colon): Delete command.
5512 (python-indent-electric-colon): New command.
5513 (python-guess-indent): Delete command.
5514 (python-indent-guess-indent-offset): New command.
5515 (python-shift-left): Delete command.
5516 (python-indent-shift-left): New command.
5517 (python-shift-right): Delete command.
5518 (python-indent-shift-right): New command.
5519 (python-find-function): Delete command.
5520 (python-nav-jump-to-defun): New command.
5521 (python-next-statement): Delete command.
5522 (python-nav-forward-sentence): New command.
5523 (python-previous-statement): Delete command.
5524 (python-nav-backward-sentence): New command.
5525 (python-fill-paragraph): Delete command.
5526 (python-fill-paragraph-function): New command.
5527 (python-send-buffer): Delete command.
5528 (python-shell-send-buffer): New command.
5529 (python-send-defun): Delete command.
5530 (python-shell-send-defun): New command.
5531 (python-send-region, python-send-region-and-go): Delete commands.
5532 (python-shell-send-region)
5533 (python-shell-switch-to-shell): New commands.
5534 (python-send-string): Delete command.
5535 (python-shell-send-string): New command.
5536 (python-switch-to-python): Delete command.
5537 (python-shell-switch-to-shell): New command.
5538 (python-describe-symbol): Delete command.
5539 (python-eldoc-at-point): New command.
5540 (python--set-prompt-regexp, python-args-to-list)
5541 (python-after-info-look, python-check-version)
5542 (python-check-comint-prompt, python-find-imports)
5543 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5544 (python-unload-function, python-expand-template)
5545 (python-maybe-jython, python-preoutput-filter)
5546 (python-pdbtrack-get-source-buffer)
5547 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5548 (python-pdbtrack-toggle-stack-tracking)
5549 (python-pdbtrack-track-stack-file, python-initial-text)
5550 (python-first-word, python-comment-line-p, python-send-command)
5551 (python-setup-brm, python-sentinel, python-set-proc)
5552 (python-skip-out, python-input-filter, python-outdent-p)
5553 (python-outline-level, python-backslash-continuation-line-p)
5554 (python-end-of-block, python-end-of-statement, python-mark-block)
5555 (python-beginning-of-block, python-beginning-of-statement)
5556 (python-blank-line-p, python-beginning-of-string)
5557 (python-open-block-statement-p): Delete functions.
5558 (python-indent-line, python-indent-line-1): Delete functions.
5559 (python-indent-line): New function.
5560 (python-indentation-levels): Delete function.
5561 (python-indent-calculate-levels): New function.
5562 (python-proc): Delete function.
5563 (python-shell-get-process): New function.
5564 (python-send-receive): Delete function.
5565 (python-shell-send-string-no-output): New function.
5566 (python-module-path): Delete function.
5567 (python-ffap-module-path): New function.
5568 (python-completion-at-point)
5569 (python-symbol-completions): Delete functions.
5570 (python-completion-complete-at-point): New function.
5571 (python-load-file): Delete function.
5572 (python-shell-send-file): New function.
5573 (python-calculate-indentation): Delete function.
5574 (python-indent-calculate-indentation): New function.
5575 (python-skip-comments/blanks): Delete function.
5576 (python-util-forward-comment): New function.
5577 (python-continuation-line-p): Delete function.
5578 (python-info-continuation-line-p): New function.
5579 (python-which-func, python-current-defun): Delete function.
5580 (python-info-current-defun): New function.
5581 (python-beginning-of-defun): Delete function.
5582 (python-nav-beginning-of-defun): New function.
5583 (python-close-block-statement-p)
5584 (python-block-end-p): Delete function.
5585 (python-info-closing-block): New function.
5586 (python-comint-output-filter-function)
5587 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5588 (python-fill-comment, python-fill-decorator, python-fill-paren)
5589 (python-fill-string, python-imenu-make-element-tree)
5590 (python-imenu-make-tree, python-imenu-tree-assoc)
5591 (python-indent-context, python-indent-dedent-line)
5592 (python-indent-line-function)
5593 (python-indent-post-self-insert-function)
5594 (python-indent-toggle-levels)
5595 (python-info-assignment-continuation-line-p)
5596 (python-info-beginning-of-backlash)
5597 (python-info-block-continuation-line-p)
5598 (python-info-closing-block-message)
5599 (python-info-line-ends-backslash-p)
5600 (python-info-looking-at-beginning-of-defun)
5601 (python-info-ppss-context, python-info-ppss-context-type)
5602 (python-nav-list-defun-positions, python-nav-read-defun)
5603 (python-nav-sentence-end, python-nav-sentence-start)
5604 (python-pdbtrack-comint-output-filter-function)
5605 (python-pdbtrack-set-tracked-buffer)
5606 (python-shell-calculate-exec-path)
5607 (python-shell-calculate-process-environment)
5608 (python-shell-completion--do-completion-at-point)
5609 (python-shell-completion--get-completions)
5610 (python-shell-completion-complete-at-point)
5611 (python-shell-completion-complete-or-indent)
5612 (python-shell-get-or-create-process)
5613 (python-shell-get-process-name)
5614 (python-shell-internal-get-or-create-process)
5615 (python-shell-internal-get-process-name)
5616 (python-shell-internal-send-string, python-shell-make-comint)
5617 (python-shell-parse-command, python-shell-send-setup-code)
5618 (python-skeleton-add-menu-items)
5619 (python-util-clone-local-variables, python-util-position)
5620 (run-python-internal, python-indentation-levels)
5621 (python-nav-beginning-of-defun)
5622 (python-completion-complete-at-point): New functions.
5623 (run-python): Change arguments. New API requirements.
5624
4302f5ba
SM
56252012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5626
f38ea36d
SM
5627 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5628 (bug#11649).
5629
5630 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5631 (macroexp--expand-all): Use it.
5632
4302f5ba
SM
5633 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5634 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5635 Use `cl-function' instead.
5636
33377562
JB
56372012-06-14 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5640 Suggested by Stefan Monnier while discussing bug#11657.
5641
54c5ba1a
SS
56422012-06-14 Sam Steingold <sds@gnu.org>
5643
5644 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5645
f9f1b1fe
AS
56462012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5647
5648 * play/doctor.el (doctor-doc): Remove parameter and use
5649 doctor-sent instead of sent.
5650 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5651
a81068ba
SM
56522012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5a315f9c
SM
5654 * files.el: Require cl-lib.
5655 (file-name-non-special): Replace case -> cl-case.
5656
5657 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5658
a81068ba
SM
5659 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5660 mapping from #' to function*.
5661
8cca9703
CY
56622012-06-13 Chong Yidong <cyd@gnu.org>
5663
5664 * mouse.el (mouse-drag-track): Do not set the mark if the user
5665 releases the mouse without selecting anything (Bug#11588).
5666
a12ac9d7
SM
56672012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5668
ccf1dc18
SM
5669 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5670 as well (bug#11646).
5671
ef62b23d
SM
5672 * loadup.el: Count byte-code functions as well.
5673
c4c8444a
SM
5674 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5675 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5676
a12ac9d7
SM
5677 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5678 (bug#11649). Add cl-defun and cl-defmacro.
5679
87e6e64f
DA
56802012-06-13 Drew Adams <drew.adams@oracle.com>
5681
5682 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5683 Fix last change.
5684
682cefaf
MA
56852012-06-13 Michael Albinus <michael.albinus@gmx.de>
5686
5687 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5688 Otherwise, it blocks in batch mode.
5689
773e1f08
JB
56902012-06-13 Juanma Barranquero <lekktu@gmail.com>
5691
5692 * help-mode.el (bookmark-make-record-default): Declare.
5693
60057926
CY
56942012-06-13 Chong Yidong <cyd@gnu.org>
5695
5696 * emacs-lisp/package.el (list-packages): Compute a list of
5697 packages that are newly-available since the last list-packages
5698 invocation.
5699 (package-menu--new-package-list): New var.
5700 (package-menu--generate, package-menu--print-info)
5701 (package-menu--status-predicate, package-menu-mark-install):
5702 Handle new status label "new".
5703
ad4d226c
SM
57042012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5707 conversion to backquotes.
5708
f1a4e679
CY
57092012-06-12 Chong Yidong <cyd@gnu.org>
5710
5711 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5712 Rename from gud-inhibit-global-bindings.
5713
5714 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5715
5716 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5717 hook from nxml-glyph-set-hook.
5718
5719 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5720 declaration.
5721
5722 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5723
5724 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5725 Convert to defcustom.
5726
0c9e42b5
DA
57272012-06-12 Drew Adams <drew.adams@oracle.com>
5728
5729 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5730 New functions.
5731 (help-mode): Use them.
5732
09e06855
GM
57332012-06-11 Glenn Morris <rgm@gnu.org>
5734
5735 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5736 Use preprocessor face for directives.
5737 (fortran-directive-re): Doc fix.
5738
71adb94b
SM
57392012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5740
2eb87922
SM
5741 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5742 conversion to backquotes (bug#11652).
5743
71adb94b
SM
5744 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5745 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5746 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5747 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5748 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5749 (cl-ninth, cl-tenth): Mark them as inlinable.
5750 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5751 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5752 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5753 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5754 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5755 (cl-list*, cl-adjoin): Don't put an autoload manually.
5756 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5757 (cl--compiler-macro-list*): Add autoload cookie.
5758 (cl--compiler-macro-cXXr): New function.
2eb87922 5759
71adb94b
SM
5760 * help-fns.el (help-fns--compiler-macro): New function extracted from
5761 describe-function-1; follow aliases and use `compiler-macro' property.
5762 (describe-function-1): Use it.
5763
a6674402
CY
57642012-06-11 Chong Yidong <cyd@gnu.org>
5765
5766 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5767 is uninstalled, if imagemagick is installed.
5768
bb3faf5b
SM
57692012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * emacs-lisp/cl-lib.el: Use lexical-binding.
5772 (cl-map-extents, cl-maclisp-member): Remove.
5773 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5774 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5775 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5776 * emacs-lisp/cl-extra.el: Use lexical-binding.
5777 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5778 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5779 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5780 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5781 * emacs-lisp/cl-seq.el: Use lexical-binding.
5782 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5783 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5784 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5785 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5786 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5787 CL's internals.
5788
2fe4b125
MA
57892012-06-11 Michael Albinus <michael.albinus@gmx.de>
5790
5791 Sync with Tramp 2.2.6-pre.
5792
5793 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5794 `print-length' and `print-level' to nil, in order to avoid
5795 truncation. Reported by Christopher Schmidt
5796 <christopher@ristopher.com>.
5797
5798 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5799
5800 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5801 New defmacro.
5802 (tramp-compat-copy-directory): Add optional argument
5803 COPY-CONTENTS. It is not handled yet.
5804
5805 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5806 (tramp-ftp-file-name-p): Simplify.
5807
5808 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5809 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5810 connection vector.
5811
5812 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5813 (tramp-methods): Do not use `tramp-password-end-of-line'.
5814 (tramp-completion-function-alist-putty): Handle UNIX case.
5815 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5816 (tramp-do-file-attributes-with-stat)
5817 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5818 gid as real numbers. They could run out of integer range on cygwin.
5819 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5820 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5821 (tramp-open-connection-setup-interactive-shell):
5822 Use `tramp-cleanup'. Move check for busyboxes ...
5823 (tramp-find-shell): ... here. Simplify implementation.
5824 Set "remote-shell" property also for alternative shells.
5825 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5826 If failing, a regular file would be written otherwise.
5827 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5828 (tramp-find-inline-encoding): Cache the coding commands in the
5829 process cache. Apply test command on the remote side, if defined.
5830 (tramp-find-inline-compress): Cache the compress commands in the
5831 process cache.
5832 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5833 when requested. Handle hops.
5834 (tramp-current-connection): New defvar.
87e6e64f
DA
5835 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5836 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5837 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5838 (tramp-get-inline-compress, tramp-get-inline-coding):
5839 Read connection properties from the process cache.
2fe4b125
MA
5840
5841 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5842 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5843 New defconsts.
2fe4b125
MA
5844 (tramp-smb-prompt): Extend for powershell prompt.
5845 (tramp-smb-file-name-handler-alist): Add handlers for
5846 `process-file', `shell-command' and `start-file-process'.
5847 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5848 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5849 (tramp-smb-file-name-p): Simplify.
5850 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5851 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5852 (tramp-smb-shell-quote-argument): New defuns.
5853 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5854 Implement using "tar". By this, time-stamps are preserved.
5855 (tramp-smb-handle-copy-file): Handle also the case of directories.
5856 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5857 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5858 Use `tramp-get-connection-buffer').
2fe4b125
MA
5859 (tramp-smb-handle-rename-file): Use "rename", when source and
5860 target are on the same share.
87e6e64f
DA
5861 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5862 Use `tramp-smb-server-version'.
2fe4b125
MA
5863 (tramp-smb-wait-for-output): Remove prompt.
5864
5865 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5866 (tramp-methods, tramp-rsh-end-of-line):
5867 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5868 (tramp-save-ad-hoc-proxies): New defcustom.
5869 (tramp-completion-function-alist): Adapt docstring.
5870 (tramp-default-password-end-of-line): Remove defcustom.
5871 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5872 (tramp-user-regexp, tramp-file-name-regexp-unified)
5873 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5874 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5875 (tramp-remote-file-name-spec-regexp): New defconst.
5876 (tramp-file-name-structure): Extend structure for hops.
5877 (tramp-get-method-parameter): Move up.
5878 (tramp-file-name-p, tramp-dissect-file-name)
5879 (with-parsed-tramp-file-name): Handle hops.
5880 (tramp-file-name-hop): New defun.
5881 (tramp-make-tramp-file-name): New optional arg HOP.
5882 (tramp-message-show-progress-reporter-message): New defvar.
5883 (tramp-with-progress-reporter): Use it. We cannot use
5884 `tramp-message-show-message' here, because this suppresses also
5885 error buffers.
5886 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5887 `tramp-message-show-message' is nil.
5888 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5889 (tramp-cleanup): New defun.
5890 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5891 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5892 an error unchanged.
5893 (tramp-completion-handle-file-name-all-completions): Handle hops.
5894 Fix an error when called from ido.
5895 (tramp-completion-dissect-file-name): Use better local variable
5896 name. Add hop to the vector.
5897 (tramp-handle-insert-file-contents): Use progress-reporter for the
5898 whole scenario.
5899 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5900 to `t'.
5901 (tramp-check-for-regexp): Simplify search.
5902 (tramp-enter-password): Remove it. Move implementation ...
5903 (tramp-action-password): ... here.
5904 (tramp-mode-string-to-int, tramp-local-host-p)
5905 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5906 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5907 Set tramp-autoload cookie.
2fe4b125
MA
5908
5909 * net/trampver.el: Update release number.
5910
59112012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5912 Michael Albinus <michael.albinus@gmx.de>
5913
5914 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5915 (tramp-parse-group, tramp-parse-file)
5916 (tramp-parse-shostkeys-sknownhosts): New defuns.
5917 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5918 (tramp-parse-shosts-group, tramp-parse-sconfig)
5919 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5920 (tramp-parse-sknownhosts, tramp-parse-hosts)
5921 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5922 Use them.
5923 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5924 (tramp-parse-putty-group): Don't narrow.
5925 (tramp-parse-putty): Make a loop.
5926 (tramp-file-name-handler): Catch the `suppress' signal.
5927
72834e10
CY
59282012-06-11 Chong Yidong <cyd@gnu.org>
5929
5930 * image.el (imagemagick-register-types): Put the ImageMagick entry
5931 at the end of image-type-file-name-regexps.
5932
a4712e11
JB
59332012-06-11 Johan Bockgård <bojohan@gnu.org>
5934
5935 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5936 (pcase, pcase-let*, pcase-dolist): Use them.
5937
82ad98e3
SM
59382012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5939
5940 * emacs-lisp/pcase.el (pcase--let*): New function.
5941 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5942 (pcase--expand): Use macroexp-let².
5943
f80efb86
SM
59442012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5947 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5948 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5949 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5950 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5951 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5952
31ca4639 59532012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5954
31ca4639
CY
5955 * mail/rmail.el (rmail-yank-current-message): Leave point at
5956 correct position. (Bug#11660)
94f0aa34 5957
31ca4639 59582012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5959
31ca4639 5960 * allout-widgets.el: Fix code header.
9e1b8ec4 5961
31ca4639 59622012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5963
f80efb86
SM
5964 * cus-edit.el (customize-changed-options-previous-release):
5965 Bump to 24.1.
31ca4639 5966
642b6d30
AS
59672012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5968
5969 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5970
4f5d2ba1
CY
59712012-06-09 Chong Yidong <cyd@gnu.org>
5972
5973 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5974
e75852fd
MR
59752012-06-09 Martin Rudalics <rudalics@gmx.at>
5976
5977 * window.el (special-display-popup-frame): Don't use
5978 window--display-buffer (Bug#11651).
5979
1e48e282
EZ
59802012-06-09 Eli Zaretskii <eliz@gnu.org>
5981
8a26b487
EZ
5982 Fix parallel builds: make sure loaddefs.el is not being written
5983 while Lisp files are compiled.
5984 (compile): Don't depend on 'mh-autoloads'.
5985 (compile-CMD, compile-SH): Depend on 'autoloads'.
5986 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5987
1e48e282
EZ
5988 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5989
6175e34b
CY
59902012-06-09 Chong Yidong <cyd@gnu.org>
5991
5992 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5993 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5994 Doc fixes (Bug#11225).
5995
d9857e53
SM
59962012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5997
5998 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5999 a function if there's a clear indication that it has a compiler-macro.
6000 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6001 (macro-declarations-alist): Add arglist to declaration functions.
6002 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6003 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6004 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6005 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6006 Also add autoload to find the compiler macro.
6007 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6008 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6009 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6010 (cl--compiler-macro-get): New functions, replacing calls to
6011 cl-define-compiler-macro.
6012 (cl-typep) [compiler-macro]: Use macroexp-let².
6013
f81298f8 60142012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6015
6016 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6017 string properly, fixes Bug#11473.
6018
4b56d0fe
CY
60192012-06-08 Chong Yidong <cyd@gnu.org>
6020
6021 * faces.el (set-face-attribute): Doc fix.
6022 (modify-face): Don't use :bold and :italic.
6023 (error, warning, success): Tweak definitions.
6024
6025 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6026 (custom-modified, custom-set, custom-changed, custom-themed)
6027 (custom-saved, custom-button, custom-button-mouse)
6028 (custom-button-pressed, custom-state, custom-comment-tag)
6029 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6030 (custom-group-subtitle): Use new-style face specs.
6031 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6032 (custom-set-face, custom-changed-face, custom-saved-face)
6033 (custom-button-face, custom-button-pressed-face)
6034 (custom-documentation-face, custom-state-face)
6035 (custom-comment-face, custom-comment-tag-face)
6036 (custom-variable-tag-face, custom-variable-button-face)
6037 (custom-face-tag-face, custom-group-tag-face-1)
6038 (custom-group-tag-face): Remove obsolete face alias.
6039
6040 * epa.el (epa-validity-high, epa-validity-medium)
6041 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6042 (epa-field-name, epa-field-body):
6043 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6044 (font-lock-keyword-face, font-lock-builtin-face)
6045 (font-lock-function-name-face, font-lock-variable-name-face)
6046 (font-lock-type-face, font-lock-constant-face):
6047 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6048 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6049 * speedbar.el (speedbar-button-face, speedbar-file-face)
6050 (speedbar-directory-face, speedbar-tag-face)
6051 (speedbar-selected-face, speedbar-highlight-face)
6052 (speedbar-separator-face):
6053 * whitespace.el (whitespace-newline, whitespace-space)
6054 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6055 (whitespace-line, whitespace-space-before-tab)
6056 (whitespace-space-after-tab, whitespace-indentation)
6057 (whitespace-empty):
6058 * emulation/cua-base.el (cua-global-mark):
6059 * eshell/em-prompt.el (eshell-prompt):
6060 * net/newst-plainview.el (newsticker-new-item-face)
6061 (newsticker-old-item-face, newsticker-immortal-item-face)
6062 (newsticker-obsolete-item-face, newsticker-date-face)
6063 (newsticker-statistics-face, newsticker-default-face):
6064 * net/newst-reader.el (newsticker-feed-face)
6065 (newsticker-extra-face, newsticker-enclosure-face):
6066 * net/newst-treeview.el (newsticker-treeview-face)
6067 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6068 (newsticker-treeview-immortal-face)
6069 (newsticker-treeview-obsolete-face)
6070 (newsticker-treeview-selection-face):
6071 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6072 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6073 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6074 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6075 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6076 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6077 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6078 (mpuz-text):
6079 * progmodes/vera-mode.el (vera-font-lock-number)
6080 (vera-font-lock-function, vera-font-lock-interface):
6081 * textmodes/table.el (table-cell): Use new-style face specs, and
6082 don't use the old :bold and :italic attributes.
6083
6084 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6085 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6086 (ebrowse-member-class, ebrowse-progress): Likewise.
6087 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6088 (ebrowse-file-name-face, ebrowse-default-face)
6089 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6090 (ebrowse-progress-face): Remove obsolete faces.
6091
6092 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6093 Inherit from error and warning faces respectively.
6094
6095 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6096 Likewise.
f80efb86
SM
6097 (flyspell-incorrect-face, flyspell-duplicate-face):
6098 Remove obsolete aliases.
4b56d0fe 6099
03310646
MA
61002012-06-08 Michael Albinus <michael.albinus@gmx.de>
6101
6102 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6103 Avoid infloop.
6104
513749ee
SM
61052012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * startup.el (argv, argi): Make lexically scoped.
6108 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6109 * emacs-lisp/cl-macs.el: Use lexical-binding.
6110 Rename cl-bind-* to cl--bind-*.
6111 * files.el: Don't require `cl' since it doesn't use it.
6112 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6113
595ef4ad
JB
61142012-06-08 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6117 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6118 instead of calling external sort utility.
6119 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6120
e9f66fcb
EZ
61212012-06-08 Eli Zaretskii <eliz@gnu.org>
6122
6123 * descr-text.el (describe-char): Mention how to insert the
6124 character, if the current input method doesn't support it.
6125 See the discussion in this thread for the details:
6126 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6127
3d10db47
SS
61282012-06-08 Sam Steingold <sds@gnu.org>
6129
6130 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6131 XF86Back to previous-buffer.
6132 (minibuffer-local-map): Bind them to next-history-element and
6133 previous-history-element respectively.
6134 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6135 help-go-back respectively.
6136 * info.el (Info-mode-map): Bind them to Info-history-forward and
6137 Info-history-back respectively.
6138 These are the keys next to Up on the ThinkPad keyboard.
6139
de7e2b36
SM
61402012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6143 * emacs-lisp/cl-macs.el: Provide itself.
6144 (cl--labels-convert-cache): New var.
6145 (cl--labels-convert): New function.
6146 (cl-flet, cl-labels): New implementation with new semantics, relying on
6147 lexical-binding.
6148 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6149 (cl-closure-vars, cl--function-convert-cache)
6150 (cl--function-convert): Move from cl-macs.el.
6151 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6152 rename by removing the "cl-" prefix.
6153 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6154
6fa6c4ae
SM
61552012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6158 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6159 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6160 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6161 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6162 (cl-hash-table-count): Add old compatibility aliases.
6163
6164 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6165 Use macroexpand-all-environment instead.
6166 (cl--old-macroexpand): New var.
6167 (cl--sm-macroexpand): New function.
6168 (cl-symbol-macrolet): Use it during macro expansion.
6169 (cl--function-convert-cache): New var.
6170 (cl--function-convert): New function, extracted from
6171 cl-macroexpand-all.
6172 (cl-lexical-let): Use it.
6173
6174 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6175 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6176 (cl-member): Remove old alias.
6177
6178 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6179 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6180 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6181 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6182 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6183 (cl-macroexpand-cmacs): Remove var.
6184 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6185 Use macroexpand-all instead.
6186
4dd1c416
SM
61872012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6190 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6191 (macroexp-copyable-p): New functions and macros.
6192 * emacs-lisp/edebug.el (edebug-unwrap):
6193 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6194 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6195 (pcase--let*): Remove.
6196 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6197 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6198 macroexp-const-p instead.
6199 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6200
6201 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6202 instead of "cl-" for internal definitions. Use macroexp-const-p.
6203 (cl-old-bc-file-form): Remove var.
6204 (cl-const-exprs-p): Remove fun.
6205 (cl-labels, cl-macrolet): Use backquote.
6206 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6207 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6208 (cl-define-setf-expander): Rename from cl-define-setf-method.
6209 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6210
6211 * international/mule-cmds.el: Don't require CL.
6212 (view-hello-file): Don't use `letf'.
6213
ed8bd4d7
SM
62142012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6215
7287f2f3
SM
6216 * tmm.el (tmm-prompt): Use string-prefix-p.
6217 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6218 (tmm-add-prompt): Use minibuffer-completion-help.
6219 (tmm-delete-map): Remove.
6220
ed8bd4d7
SM
6221 * subr.el (kbd): Make it its own function.
6222
7b4cdbf4
SM
62232012-06-07 Stefan Merten <smerten@oekonux.de>
6224
6225 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6226 Silence compiler warnings. Fix versions.
ed8bd4d7 6227 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6228 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6229 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6230 (rst-package-emacs-version-alist): Correct Emacs version to
6231 represent major merge with upstream.
ed8bd4d7 6232 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6233
2b48d721
GM
62342012-06-06 Glenn Morris <rgm@gnu.org>
6235
6236 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6237 Only print environment variables if set.
6238
fa779ab0
SM
62392012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6242 (macroexp--cons): Rename from maybe-cons.
6243 (macroexp--accumulate): Rename from macroexp-accumulate.
6244 (macroexp--all-forms): Rename from macroexpand-all-forms.
6245 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6246 (macroexp--expand-all): Rename from macroexpand-all-1.
6247
628299e0
SS
62482012-06-06 Sam Steingold <sds@gnu.org>
6249
6250 * calendar/calendar.el (calendar-in-read-only-buffer):
6251 Call `special-mode' to enable the standard read-only keybindings.
6252
b7bb5838
SM
62532012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6256 with "loading" messages (bug#11635).
6257
dfb308ba
MA
62582012-06-06 Michael Albinus <michael.albinus@gmx.de>
6259
6260 * files.el (enable-remote-dir-locals): New option.
6261 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6262
0372ee92
MA
6263 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6264 Ensure, that the temp directory is local.
6265
6266 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6267 `temporary-file-directory'.
6268
eed0bb91
MA
6269 * progmodes/python.el (python-send-region): Ensure, that the
6270 temporary file is created also in the remote case.
6271
7a58f64d
GM
62722012-06-06 Glenn Morris <rgm@gnu.org>
6273
f7dd4e98
GM
6274 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6275 (vc-rcs-update-changelog): Use it.
6276
090bd7cb 6277 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6278
7a58f64d
GM
6279 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6280 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6281 (vc-sccs-diff): Replace use of the external vcdiff script.
6282
daed4003
GM
62832012-06-05 Glenn Morris <rgm@gnu.org>
6284
6285 * ledit.el: Move to obsolete/.
6286
48c455c7
SS
62872012-06-05 Sam Steingold <sds@gnu.org>
6288
ed9265fc 6289 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6290 patch (Bug#11140).
6291
57a7d507
SM
62922012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6293
090bd7cb 6294 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6295
53aacf21
SM
6296 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6297 compiler-macro expansion.
6298
57a7d507
SM
6299 Add native compiler-macro support.
6300 * emacs-lisp/macroexp.el (macroexpand-all-1):
6301 Support compiler-macros directly. Properly follow aliases and apply
6302 the compiler macros more thoroughly.
6303 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6304 macroexpand now properly follows aliases.
6305 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6306 (cl-compiler-macroexpand): Use new prop.
6307 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6308
6309 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6310
51a5f9d8
MR
63112012-06-05 Martin Rudalics <rudalics@gmx.at>
6312
6313 * window.el (get-lru-window, get-mru-window, get-largest-window):
6314 New argument NOT-SELECTED to avoid picking the selected window.
6315 (window--display-buffer-1, window--display-buffer-2): Replace by
6316 new function window--display-buffer
6317 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6318 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6319 Use window--display-buffer.
51a5f9d8
MR
6320 (display-buffer-use-some-window): Remove temporary dedication
6321 hack by calling get-lru-window and get-largest-window with
6322 NOT-SELECTED argument non-nil. Call window--display-buffer.
6323
08f9f738
GM
63242012-06-05 Glenn Morris <rgm@gnu.org>
6325
6326 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6327 Replace external vcdiff script.
6328
e364a2b7
SM
63292012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6332
041df390
CY
63332012-06-04 Chong Yidong <cyd@gnu.org>
6334
e364a2b7
SM
6335 * image.el (imagemagick-types-inhibit): Revert last change.
6336 Add INFO and M.
47b36b94 6337 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6338
7c1898a7
SM
63392012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * emacs-lisp/cl-lib.el: Rename from cl.el.
6342 * emacs-lisp/cl.el: New compatibility file.
6343 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6344 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6345 to obey the "cl-" prefix.
6346 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6347
0c3461de
GM
63482012-06-03 Glenn Morris <rgm@gnu.org>
6349
1e266c88
GM
6350 * emacs-lisp/authors.el (authors-aliases): Addition.
6351
0c3461de
GM
6352 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6353 Fix :version.
6354
d8a52e15
SM
63552012-06-03 Stefan Merten <smerten@oekonux.de>
6356
6357 * textmodes/rst.el: Add comments.
6358 (rst-transition, rst-adornment): New faces.
6359 (rst-adornment-faces-alist): Make default safe to reevaluate.
6360 Fixes
6361 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6362 Improve customization tags.
6363 (rst-define-level-faces): Clarify meaning.
6364
5205d6f6
CY
63652012-06-03 Chong Yidong <cyd@gnu.org>
6366
6367 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6368 (compilation-mode-line-run, compilation-mode-line-exit):
6369 New faces.
5205d6f6
CY
6370 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6371
757ee657
JD
63722012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6373
7c1898a7
SM
6374 * progmodes/which-func.el (which-func-update-ediff-windows):
6375 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6376
5f2c76c6
CY
63772012-06-03 Chong Yidong <cyd@gnu.org>
6378
6379 * bindings.el: Remove explicit help text from format-mode-line.
6380 It is now supplied by mode-line-default-help-echo.
6381 (mode-line-front-space, mode-line-end-spaces)
6382 (mode-line-misc-info): New variables.
6383 (mode-line-modes, mode-line-position): Move the default value to
6384 the variable definition.
6385 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6386 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6387 (mode-line-modified-help-echo): New functions.
6388 (mode-line-mule-info, mode-line-modified): Use them.
6389 (mode-line-eol-desc, propertized-buffer-identification):
6390 Consistency fixes for help text.
cbe46e5f
CY
6391 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6392 set-buffer-file-coding-system (Bug#289).
6393 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6394
f2d6a3df
SM
63952012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * simple.el (execute-extended-command): Set real-this-command
6398 (bug#11506).
6399
37269466
CY
64002012-06-02 Chong Yidong <cyd@gnu.org>
6401
6402 Remove incorrect uses of "modeline" in comments, docstrings, and
6403 function/variable names (Bug#10329).
6404
6405 * cus-edit.el (mode-line):
6406 * dframe.el (dframe-mouse-hscroll):
6407 * emacs-lisp/re-builder.el:
6408 * emacs-lisp/easy-mmode.el (define-minor-mode):
6409 * frame.el (set-frame-name):
6410 * help.el (lookup-minor-mode-from-indicator):
6411 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6412 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6413 (c-toggle-hungry-state):
6414 * progmodes/antlr-mode.el (antlr-language-alist):
6415 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6416 * progmodes/vhdl-mode.el (vhdl-mode):
6417 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6418 * term/ns-win.el (ns-face-at-pos):
6419 * term/sup-mouse.el (sup-mouse-report):
6420 * textmodes/flyspell.el (flyspell-mode-line-string):
6421 * textmodes/ispell.el (ispell-highlight-face):
6422 * textmodes/reftex-global.el:
6423 * vc/vc-arch.el (vc-arch-mode-line-string):
6424 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6425 * vc/vc-git.el (vc-git-mode-line-string):
6426 * vc/vc-hooks.el (vc-display-status)
6427 (vc-default-mode-line-string):
6428 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6429
6430 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6431
6432 * dired.el (dired-sort-set-mode-line): Rename from
6433 dired-sort-set-modeline. All callers changed.
6434
6435 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6436 eshell-status-in-modeline.
6437
6438 * foldout.el (foldout-mode-line-string): Rename from
6439 foldout-modeline-string. All callers changed.
6440 (foldout-update-mode-line): Rename from foldout-update-modeline.
6441
6442 * subr.el (redraw-modeline): Make into obsolete alias.
6443
6444 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6445 timeclock-modeline-display. Make old name an alias.
6446 (timeclock-update-mode-line): Likewise. All callers changed.
6447 (timeclock-mode-line-display): No need to check before using
6448 add-hook.
6449 (timeclock-relative, timeclock-day-over-hook)
6450 (timeclock-use-elapsed, timeclock-mode-string)
6451 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6452
6453 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6454 crisp-mode-modeline-string.
6455
6456 * play/solitaire.el (solitaire-build-mode-line): Rename from
6457 solitaire-build-modeline. All callers changed.
6458
6459 * play/zone.el (zone-hiding-mode-line): Rename from
6460 zone-hiding-modeline. All callers changed.
6461 (zone): Remove unusued `modeline-hidden-level' property.
6462
6463 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6464 xscheme-modeline-initialize. All callers changed.
6465
6466 * strokes.el (strokes-lighter): Rename from
6467 strokes-modeline-string.
6468
6469 * textmodes/sgml-mode.el (html-face-tag-alist)
6470 (html-tag-face-alist): Use mode-line face instead of obsolete
6471 alias modeline.
6472
42152ee4
SM
64732012-06-02 Stefan Merten <smerten@oekonux.de>
6474
6475 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6476 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6477
95f520b5
CY
64782012-06-02 Chong Yidong <cyd@gnu.org>
6479
6480 * image.el (imagemagick-enabled-types): Rename from
6481 imagemagick-types-enable. Add many more types.
6482 (imagemagick-types-inhibit): Change default to nil.
6483 (imagemagick-filter-types): Caller changed.
6484
4a5f187a
SM
64852012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6486
03fef3e6
SM
6487 * emacs-lisp/cl-macs.el: Use backquotes.
6488 (cl-transform-function-property): Use eval-and-compile rather than
6489 abusing `require'.
6490 (defstruct): Use declare-function instead of with-no-warnings.
6491
4a5f187a
SM
6492 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6493 (byte-compile-output-docform): Re-add the print-circle bindings.
6494 (byte-compile-fix-header): Use #$ just because it's shorter.
6495 (byte-compile-output-file-form): Remove defun/defmacro.
6496
bd56924f
MR
64972012-06-01 Martin Rudalics <rudalics@gmx.at>
6498
6499 * simple.el (choose-completion): Remove now obsolete binding for
6500 owindow.
6501
046e38ce
MA
65022012-06-01 Michael Albinus <michael.albinus@gmx.de>
6503
6504 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6505 in order to avoid "Stack overflow in regexp matcher".
6506
32d72c2f
GM
65072012-05-31 Glenn Morris <rgm@gnu.org>
6508
6509 * image.el: For clarity, call imagemagick-register-types at
6510 top-level, rather than relying on a custom :initialize.
6511 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6512 (imagemagick-filter-types): New function. (Bug#7406)
6513 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6514 If disabling support, remove elements altogether rather
6515 than using an impossible regexp.
6516 (imagemagick-types-inhibit): Give it the default init function.
6517
dd41169b
SM
65182012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6519
4a5f187a
SM
6520 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6521 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6522
efc00ab1 65232012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6524
6525 * desktop.el (desktop-read): Clear previous and next buffers for
6526 all windows and bury *Messages* buffer (bug#11556).
6527
500fcedc
SM
65282012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 Add `declare' for `defun'. Align `defmacro's with it.
6531 * emacs-lisp/easy-mmode.el (define-minor-mode)
6532 (define-globalized-minor-mode): Don't autoload the var definitions.
6533 * emacs-lisp/byte-run.el: Use lexical-binding.
6534 (defun-declarations-alist, macro-declarations-alist): New vars.
6535 (defmacro, defun): Use them.
6536 (make-obsolete, define-obsolete-function-alias)
6537 (make-obsolete-variable, define-obsolete-variable-alias):
6538 Use `declare'.
6539 (macro-declaration-function): Mark obsolete.
6540 * emacs-lisp/autoload.el: Use lexical-binding.
6541 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6542
6e8a1786
AM
65432012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6544
6545 * textmodes/ispell.el (ispell-with-no-warnings):
6546 Define as a macro.
500fcedc
SM
6547 (ispell-kill-ispell, ispell-change-dictionary):
6548 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6549 `interactive-p'.
6550
61b108cc
SM
65512012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6554 (macro-declaration-function): Move var from C code.
6555 (macro-declaration-function): Define function with defalias.
6556 * emacs-lisp/macroexp.el (macroexpand-all-1):
6557 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6558 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6559 defun/defmacro any more.
6560 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6561 Provide fallback for unknown arglist.
6562 (byte-compile-arglist-warn): Change calling convention.
6563 (byte-compile-output-file-form): Move print-vars binding.
6564 (byte-compile-output-docform): Simplify accordingly.
6565 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6566 (byte-compile-defmacro-declaration): Remove.
6567 (byte-compile-file-form-defmumble): Generalize to defalias.
6568 (byte-compile-output-as-comment): Return byte-positions.
6569 Simplify callers accordingly.
6570 (byte-compile-lambda): Use `assert'.
6571 (byte-compile-defun, byte-compile-defmacro): Remove.
6572 (byte-compile-file-form-defalias):
6573 Use byte-compile-file-form-defmumble.
6574 (byte-compile-defalias-warn): Remove.
6575
6d3f7c2f
SM
65762012-05-29 Stefan Merten <smerten@oekonux.de>
6577
6578 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6579 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6580
6581 (rst-mode-abbrev-table): Merge definition.
6582 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6583 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6584
6dbaa1c7
UJ
65852012-05-29 Ulf Jasper <ulf.jasper@web.de>
6586
6587 * calendar/icalendar.el
6588 (icalendar-export-region): Export UID properly.
6589
d209e2fb 65902012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6591 * calendar/icalendar.el (icalendar-import-format):
6592 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6593 (icalendar-import-format-uid): New.
6594 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6595 Export UID.
6596
6876a58d
SM
65972012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6600 different alternative patterns.
6601 (pcase-codegen): Be more careful to preserve identity.
6602 (pcase--u1): Don't forget to mark vars as used.
6603
6604 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6605 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6606 (byte-compile-from-buffer): ...rather than here.
6607
6608 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6609 functions from byte-compile-function-environment.
6610
46b7967e
TN
66112012-05-29 Troels Nielsen <bn.troels@gmail.com>
6612
6613 * window.el (window-deletable-p): Avoid deleting the root window
6614 of a frame with an active minibuffer.
6615
69d565e2
MR
66162012-05-29 Martin Rudalics <rudalics@gmx.at>
6617
6618 * simple.el (choose-completion): Use quit-window (Bug#11567).
6619
a149fa51
CY
66202012-05-29 Chong Yidong <cyd@gnu.org>
6621
6622 * whitespace.el (whitespace-cleanup): Fix usage of
6623 whitespace-empty-at-bob-regexp (Bug#11492).
6624
2b311310
AH
66252012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6626
6627 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6628 revert (Bug#11488).
6629
b9cb2387
JL
66302012-05-29 Juri Linkov <juri@jurta.org>
6631
6632 * isearch.el (isearch-mode-map): Bind `M-s _' to
6633 `isearch-toggle-symbol'. Bind `M-s c' to
6634 `isearch-toggle-case-fold'.
6635 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6636 (isearch-forward): Add `M-s _' to the docstring.
6637 (isearch-forward-symbol, isearch-toggle-case-fold)
6638 (isearch-symbol-regexp): New functions. (Bug#11381)
6639
d5e61c1c
JL
66402012-05-29 Juri Linkov <juri@jurta.org>
6641
6642 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6643 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6644 a function, call it to get the regexp.
6645 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6646 property `isearch-message-prefix' instead of the string "word ".
6647 (isearch-search-fun-default): For the case of `isearch-word',
6648 return a lambda that calls re-search-forward/re-search-backward
6649 with a regexp returned by `word-search-regexp' or by the function
6650 in `isearch-word'.
6651
8cbd80f7
JL
66522012-05-29 Juri Linkov <juri@jurta.org>
6653
6654 * isearch.el (isearch-search-fun-default): New function.
6655 (isearch-search-fun): Move default part to the new function
6656 `isearch-search-fun-default'.
6657 (isearch-search-fun-function): Set the default value to
6658 `isearch-search-fun-default'. (Bug#11381)
6659
6660 * comint.el (comint-history-isearch-end):
6661 Use `isearch-search-fun-default'.
6662 (comint-history-isearch-search): Use `isearch-search-fun-default'
6663 and remove spacial case for `isearch-word'.
6664 (comint-history-isearch-wrap): Remove spacial case for
6665 `isearch-word'.
6666
6667 * hexl.el (hexl-isearch-search-function):
6668 Use `isearch-search-fun-default'.
6669
6670 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6671 Use `word-search-regexp' for `isearch-word'.
6672
6673 * misearch.el (multi-isearch-search-fun):
6674 Use `isearch-search-fun-default'.
6675
6676 * simple.el (minibuffer-history-isearch-search):
6677 Use `isearch-search-fun-default' and remove spacial case for
6678 `isearch-word'.
6679 (minibuffer-history-isearch-wrap): Remove spacial case for
6680 `isearch-word'.
6681
6682 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6683 Remove spacial case for `isearch-word'.
6684 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6685
85c8c5b6
AM
66862012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6687
6688 Decrease XEmacs incompatibilities.
6689 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6690 Use `string-match'.
6691 (flyspell-delete-region-overlays): Use alternative definition for
6692 XEmacs.
6693 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6694 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6695 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6696 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6697 `define-obsolete-face-alias' under XEmacs, but old method.
6698
6699 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6700 `with-no-warnings' definition or Emacs alias.
6701 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6702 (ispell-word): Do not use `region-p' if XEmacs.
6703
8cab9efc
AM
67042012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6705
6706 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6707 Check for `ispell-dictionary-base-alist' instead of full
6708 `ispell-dictionary-alist'.
6709 (ispell-init-process): Show spellchecker when starting new Ispell
6710 process.
6711
fda91268
RZ
67122012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6715 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6716
694ea8e3
JB
67172012-05-27 Juanma Barranquero <lekktu@gmail.com>
6718
6719 * version.el (motif-version-string, gtk-version-string)
6720 (ns-version-string): Declare.
6721
e4d4f539
JL
67222012-05-27 Juri Linkov <juri@jurta.org>
6723
6724 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6725 after the `eval-defun-1' specialcaseing
6726 like in `edebug-eval-defun' (bug#10181).
6727
6728 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6729 like in `eval-defun-1'.
6730
33017faf 67312012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6732
fda91268
RZ
6733 * mail/sendmail.el (mail-yank-region):
6734 Recognize rmail-yank-current-message in addition to insert-buffer.
6735 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6736 a *mail* buffer created through rmail-start-mail with sendmail as
6737 mail-user-agent.
6738
33017faf
GM
67392012-05-27 Chong Yidong <cyd@gnu.org>
6740
6741 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6742 Default to 256 (Bug#11267).
6743
6744 * help.el (describe-mode): Doc fix.
6745
04188bb9
GM
67462012-05-26 Glenn Morris <rgm@gnu.org>
6747
38264cc9
GM
6748 * w32-fns.el (w32-init-info): Remove.
6749 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6750
eb7afdad
GM
6751 * info.el (info-initialize): For self-contained NS builds, put the
6752 included info/ directory at the front. (Bug#2791)
6753
04188bb9
GM
6754 * paths.el (Info-default-directory-list): Make it a defcustom,
6755 mainly so that we can use custom-initialize-delay.
6756
a179e3f7
SM
67572012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6758
43416392
SM
6759 * subr.el (buffer-has-markers-at): Mark obsolete.
6760
a179e3f7 6761 * subr.el (lambda): Use declare.
43416392 6762
a179e3f7
SM
6763 * emacs-lisp/lisp-mode.el (lambda):
6764 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6765
34a008d9
AH
67662012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6767
6768 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6769
0a3b289f
GM
67702012-05-26 Glenn Morris <rgm@gnu.org>
6771
6772 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6773
758c81e8
GM
67742012-05-25 Glenn Morris <rgm@gnu.org>
6775
f9f334f0
GM
6776 * paths.el: Remove no-byte-compile.
6777 * loadup.el: No need to load paths.el uncompiled.
6778
87eb79c2
GM
6779 * image.el (imagemagick-types-inhibit): Doc fix.
6780
758c81e8
GM
6781 * version.el: Remove no-byte-compile and associated formatting.
6782 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6783 is ancient code from when there was an "inc-vers.el".
6784
e7e85dc0
SM
67852012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * progmodes/gdb-mi.el: Minor style changes.
6788 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6789 Turn into minor modes.
6790 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6791 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6792 (gdb-shell): Remove unneeded let-binding.
6793 (gdb-get-many-fields): Eliminate O(n²) behavior.
6794
f31237a4
EZ
67952012-05-25 Eli Zaretskii <eliz@gnu.org>
6796
6797 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6798 platforms that don't link in fontset.c.
6799
bc1b21bb
JL
68002012-05-25 Juri Linkov <juri@jurta.org>
6801
6802 Use the same diff color scheme as in modern VCSes (bug#10181).
6803
6804 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6805 to avoid confusion with `diff-added' that now uses green colors.
6806 (diff-removed): Use shades of red.
6807 (diff-added): Use shades of green.
6808 (diff-changed): Leave just the yellow color.
6809 (diff-use-changed-face): New variable.
6810 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6811 how to highlight context diff changes.
6812 (diff-refine-change): Use shades of yellow.
6813 (diff-refine-removed): New face that uses shades of red.
6814 (diff-refine-added): New face that uses shades of green.
6815 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6816 `diff-refine-removed' in the call to `smerge-refine-subst'
6817 depending on the value of `diff-use-changed-face'.
6818
6819 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6820 (smerge-other): Use shades of green.
6821 (smerge-base): Use shades of yellow.
6822 (smerge-refined-change): Empty face.
6823 (smerge-refined-removed): New face that uses shades of red.
6824 (smerge-refined-added): New face that uses shades of green.
6825 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6826 args `props-r' and `props-a', and use them. Doc fix.
6827 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6828 on its value use different faces `smerge-refined-change',
6829 `smerge-refined-removed', `smerge-refined-added' in the call to
6830 `smerge-refine-subst'.
6831
6832 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6833 Add face condition `min-colors 88' with shades of red.
6834 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6835 `min-colors 88' with shades of green.
6836 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6837 `min-colors 88' with shades of yellow.
6838
6df9112c
GM
68392012-05-24 Glenn Morris <rgm@gnu.org>
6840
ead5edc0
GM
6841 * paths.el (prune-directory-list, remote-shell-program): Move to...
6842 * files.el (prune-directory-list, remote-shell-program): ...here.
6843 For the latter, delay initialization, prefer ssh, just search PATH.
6844
f18b81e6
GM
6845 * paths.el (term-file-prefix): Move to faces.el (the only user).
6846 * faces.el (term-file-prefix): Move here, make it a defcustom.
6847
ee2f89a6
GM
6848 * paths.el (news-directory, news-path, news-inews-program):
6849 Move to gnus/nnspool.el.
61a583ca 6850
f8815e4c
GM
6851 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6852
c8f3b42c
GM
6853 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6854 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6855 Make the latter a defcustom, with a delayed initialization.
6856
6df9112c
GM
6857 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6858 These were deleted from Gnus itself late 2010.
6859
5dadff36
JB
68602012-05-22 Juanma Barranquero <lekktu@gmail.com>
6861
9e1701c6
JB
6862 * progmodes/which-func.el (which-func-ff-hook):
6863 Check against user-error, not error.
6864
bd7239f5 6865 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6866 cl-specs.el, which no longer exists.
6867
3290526d
GM
68682012-05-22 Glenn Morris <rgm@gnu.org>
6869
6870 * info.el (info-emacs-bug): New command.
6871 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6872 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6873
ff0c3cfb
GM
68742012-05-21 Glenn Morris <rgm@gnu.org>
6875
6876 * makefile.w32-in (update-subdirs-SH):
6877 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6878
5814f126
SM
68792012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6880
a52c0aa0
SM
6881 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6882
5814f126
SM
6883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6884 Simplify Maven regexp, and make sure the file can't start with a space
6885 (bug#11517).
6886
b847032c
GM
68872012-05-21 Glenn Morris <rgm@gnu.org>
6888
6889 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6890 Scrap superfluous subshells.
6891
3858bfe7
SM
68922012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6895 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6896
d14b0029
JB
68972012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6898
6899 * calc/calc.el (calc-ensure-consistent-units): New variable.
6900
a52c0aa0
SM
6901 * calc/calc-units.el (math-consistent-units-p)
6902 (math-check-unit-consistency): New functions.
6903 (calc-quick-units, calc-convert-units):
6904 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6905 is non-nil.
d14b0029
JB
6906 (calc-extract-units): Fix typo.
6907
60c4db3a
SM
69082012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6909
77f3b62e
SM
6910 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6911
60c4db3a
SM
6912 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6913 (flyspell-default-deplacement-commands): Don't spell check after
6914 repeated window/frame switches (e.g. triggered by mouse-movement).
6915 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6916 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6917 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6918 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6919 Remove unused vars.
6920 (flyspell-get-casechars, flyspell-get-not-casechars):
6921 Simplify; Don't bother removing a ] just to add it back.
6922 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6923
d209e2fb 69242012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6925
6926 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6927 New functions.
bd7239f5 6928 (math-function-table): Add support for more C functions.
b1a10716 6929
3f1b25b5
AM
69302012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6931
090bd7cb
JB
6932 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6933 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6934 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6935
b581bb5c
SM
69362012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6939 their respective macro declarations.
6940 * skeleton.el (define-skeleton):
6941 * progmodes/compile.el (define-compilation-mode):
6942 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6943 (define-ibuffer-filter):
6944 * emacs-lisp/generic.el (define-generic-mode):
6945 * emacs-lisp/easy-mmode.el (define-minor-mode)
6946 (define-globalized-minor-mode):
6947 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6948 * emacs-lisp/byte-run.el (defsubst):
6949 * custom.el (deftheme): Add doc-string metadata.
6950
70b8ef8f
SM
69512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6954
b1198e17
SM
69552012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6956
9abdc45d
SM
6957 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6958
b1198e17
SM
6959 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6960 * emacs-lisp/cl-macs.el: Idem.
6961 * emacs-lisp/cl-specs.el: Remove.
6962
4735906a
SM
69632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 Minor renaming of internal CL functions and variables.
6966 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6967 (cl--position): Rename from cl-position.
6968 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6969 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6970 (cl--random-state): Rename from *random-state*.
6971
ac348012
SM
69722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6975 parens around the arg list (bug#11499).
6976
a0a79cde
JL
69772012-05-17 Juri Linkov <juri@jurta.org>
6978
6979 * isearch.el (word-search-regexp, word-search-backward)
6980 (word-search-forward, word-search-backward-lax)
6981 (word-search-forward-lax): Move functions from search.c
6982 (bug#10145, bug#11381).
6983
65034a51
AM
69842012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6985
090bd7cb
JB
6986 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6987 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6988 Delay for otherchars as for normal word components.
65034a51 6989
1a72a195
SM
69902012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * minibuffer.el (completion--sifn-requote): Fix last change.
6993 (minibuffer-local-must-match-filename-map):
6994 Move define-obsolete-variable-alias before its var.
6995
fdb058c2
SM
69962012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6997
c41045e6
SM
6998 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6999
036dfb8b
SM
7000 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7001 behavior.
7002 (completion--string-equal-p): New function.
7003 (completion--twq-all): Use it to get better assertion failure data.
7004
2473256d
SM
7005 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7006 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7007 (shell--requote-argument): New functions.
7008 (shell-completion-vars): Use them.
7009 (shell--parse-pcomplete-arguments): Rename from
7010 shell-parse-pcomplete-arguments.
7011 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7012 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7013 Obey comint-file-name-quote-list.
7014
fdb058c2
SM
7015 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7016 (smie-indent-keyword): Use it.
7017
51fa99f1
SM
70182012-05-14 Stefan Merten <smerten@oekonux.de>
7019
7020 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7021
e18afed7 70222012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7023
7024 * net/rlogin.el (rlogin-mode-map): Fix last change.
7025
e18afed7 70262012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7027
7028 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7029 the following \r\n using a single `process-send-string', since the
7030 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7031 with two `process-send-string's (Bug#11444).
8633b1f4 7032
e18afed7 70332012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7034
fdb058c2
SM
7035 * shell.el (shell-parse-pcomplete-arguments):
7036 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7037
2d21d7f6
WJ
70382012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7039
e18afed7 7040 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7041 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7042 (image-transform-width, image-transform-fit-width): New functions.
7043 (image-transform-properties): Use them.
7044 (image-transform-check-size): New function.
7045 (image-toggle-display-image): Use it (for testing).
7046 (image-transform-set-rotation): Reduce angle mod 360.
7047 Delete obsolete comment.
7048
7102e6d0
WJ
70492012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7050
7051 * image-mode.el: Fix scaling (bug#11399).
7052 (image-transform-resize): Doc fix.
7053 (image-transform-properties): Default scale is 1 and height should
7054 be an integer.
7055
06bc5e6e
SM
70562012-05-13 Johan Bockgård <bojohan@gnu.org>
7057
7058 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7059 than hard-coding `car', to fix misbehavior when moving forward.
7060
0ae03b6a
CY
70612012-05-13 Chong Yidong <cyd@gnu.org>
7062
7063 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7064 (tabulated-list-entries, tabulated-list-padding)
7065 (tabulated-list-sort-key): Make permanent-local.
7066
7067 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7068 (electric-buffer-list): Put electric buffer menu
7069 command descriptions in this docstring, instead of the docstring
7070 of electric-buffer-menu-mode. Code cleanups.
7071 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7072 Electric-buffer-menu-mode.
7073 (electric-buffer-update-highlight): Minor code cleanup.
7074
205a7391
MA
70752012-05-13 Michael Albinus <michael.albinus@gmx.de>
7076
7077 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7078 (Bug#11447)
7079
e5bd0a28
SM
70802012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 Move define-obsolete-variable-alias before the var's definition.
7083 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7084 * tooltip.el (tooltip-hook):
7085 * textmodes/reftex-toc.el (reftex-toc-map):
7086 * textmodes/reftex-sel.el (reftex-select-label-map)
7087 (reftex-select-bib-map):
7088 * textmodes/reftex-index.el (reftex-index-map)
7089 (reftex-index-phrases-map):
7090 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7091 * progmodes/meta-mode.el (meta-mode-map):
7092 * novice.el (disabled-command-hook):
7093 * loadhist.el (unload-hook-features-list):
7094 * frame.el (blink-cursor):
7095 * files.el (find-file-not-found-hooks, write-file-hooks)
7096 (write-contents-hooks):
7097 * emulation/tpu-edt.el (GOLD-map):
7098 * emacs-lock.el (emacs-lock-from-exiting):
7099 * emacs-lisp/generic.el (generic-font-lock-defaults):
7100 * emacs-lisp/chart.el (chart-map):
7101 * dos-fns.el (register-name-alist):
7102 * dired-x.el (dired-omit-files-p):
7103 * desktop.el (desktop-enable):
7104 * cus-edit.el (custom-mode-hook):
7105 * buff-menu.el (buffer-menu-mode-hook):
7106 * bookmark.el (bookmark-read-annotation-text-func)
7107 (bookmark-exit-hooks):
7108 * allout.el (allout-mode-deactivate-hook)
7109 (allout-exposure-change-hook, allout-structure-added-hook)
7110 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7111 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7112 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7113 comes before the corresponding variable's definition.
7114
ac59c2f6
CY
71152012-05-12 Chong Yidong <cyd@gnu.org>
7116
7117 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7118 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7119 (Buffer-menu-mode-map): Bind it.
7120 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7121
dee6c9a3
SM
71222012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7123
2171cea5
SM
7124 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7125 (prolog-upper-case-string, prolog-lower-case-string)
7126 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7127 (prolog-use-smie, prolog-smie-grammar): New vars.
7128 (prolog-smie-forward-token, prolog-smie-backward-token)
7129 (prolog-smie-rules): New funs.
7130 (prolog-comment-indent): Remove.
7131 (prolog-mode-variables): Use default comment indentation instead.
7132 Setup SMIE.
7133 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7134 (prolog-mode): Don't call them any more.
7135 (prolog-electric-colon, prolog-electric-dash)
7136 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7137
aa0382bd
SM
7138 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7139
dbacb4bd
SM
7140 * minibuffer.el (completion--twq-all): Again, allow case differences.
7141
13bdd94c
SM
7142 * term.el: Move keymap initialization code to be more idiomatic.
7143 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7144 (term-terminal-menu): Move initialization into declaration.
7145 (term-escape-char): Let the user set it in her .emacs.
7146
ff46c759
SM
7147 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7148 Provide SMIE-based indentation (not enabled by default yet).
7149 (sh-mode-map): Don't bind electric keys.
7150 Use electric-pair-mode instead of skeleton-pair.
7151 (sh-assignment-regexp): Fit within 80 columns.
7152 (sh-indent-supported): Specify actual shell name instead of boolean.
7153 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7154 (sh-maybe-here-document): Use it. Make obsolete.
7155 (sh-electric-here-document-mode) New minor mode.
7156 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7157 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7158 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7159 (sh-smie-rc-grammar, sh-use-smie): New vars.
7160 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7161 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7162 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7163 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7164 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7165 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7166 (sh-set-shell): Use smie-setup if requested.
7167
dee6c9a3
SM
7168 * term.el (term-set-escape-char): Properly set term-escape-char.
7169 See http://stackoverflow.com/questions/10524656.
7170
9f9aa044
CY
71712012-05-10 Chong Yidong <cyd@gnu.org>
7172
7173 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7174 Use url-generic-parse-url, and handle host names and Windows
7175 filenames properly.
7176 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7177 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7178 URL schemes to work on.
7179 (ffap--toggle-read-only): New function.
7180 (ffap-read-only, ffap-read-only-other-window)
7181 (ffap-read-only-other-frame): Use it.
7182 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7183 necessary for ffap-url-unwrap-remote.
7184
836d29b3
DA
71852012-05-10 Dave Abrahams <dave@boostpro.com>
7186
7187 * cus-start.el (create-lockfiles): Add it.
7188
00fd78ed
CY
71892012-05-09 Chong Yidong <cyd@gnu.org>
7190
7191 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7192 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7193
666b903b 71942012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7195
7196 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7197
666b903b 71982012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7199
7200 * ansi-color.el (ansi-color-process-output): Check for validity of
7201 comint-last-output-start before using it. This avoids a bad
7202 interaction with gdb-mi's input/output buffer.
7203
666b903b 72042012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7205
7206 * files.el (dir-locals-read-from-file):
7207 Mention dir-locals in any error message.
7208
666b903b 72092012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7210
7211 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7212 package (Bug#11410).
7213
f677562b
CY
7214 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7215 variables into description.
7216
666b903b 72172012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7218
7219 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7220 shell-delimiter-argument-list (bug#11348).
7221 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7222
b499d8d0
JB
72232012-05-09 Juanma Barranquero <lekktu@gmail.com>
7224
8f6b6da8
JB
7225 * textmodes/rst.el: Silence byte-compiler warnings.
7226 (rst-re-alist, rst-reset-section-caches): Move around.
7227 (rst-re): Use `characterp', not `char-valid-p'.
7228 (font-lock-beg, font-lock-end): Declare.
7229
4824146a
JB
7230 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7231 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7232
b499d8d0
JB
7233 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7234
ad89bb83
GM
72352012-05-08 Glenn Morris <rgm@gnu.org>
7236
7237 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7238
8bba5a75
SM
72392012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7240
49ed9c8e
SM
7241 * vc/log-edit.el: Add GNU coding standards highlighting.
7242 (log-edit-font-lock-gnu-style)
7243 (log-edit-font-lock-gnu-keywords): New vars.
7244 (log-edit-font-lock-keywords): New fun.
7245 (log-edit-mode): Don't fold case in font-lock.
7246 (log-edit-font-lock-keywords): Do not assume case-folding.
7247
07d00b56
SM
7248 * imenu.el: Misc cleanup. Make docstrings out of comments.
7249 Use lexical-binding.
7250 (imenu--index-alist, imenu--last-menubar-index-alist)
7251 (imenu-menubar-modified-tick): Use defvar-local.
7252 (imenu--split-menu): Remove unused var.
7253 (imenu--cleanup-seen): Declare as global.
7254 (imenu--cleanup): Use dolist.
7255
8bba5a75
SM
7256 * subr.el (defvar-local): Add debug spec and doc-string position.
7257
5075bdb5
GM
72582012-05-08 Glenn Morris <rgm@gnu.org>
7259
090bd7cb 7260 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7261 * language/english.el, language/georgian.el, language/greek.el:
7262 * language/japanese.el, language/khmer.el, language/korean.el:
7263 * language/lao.el, language/misc-lang.el, language/romanian.el:
7264 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7265 * language/thai.el, language/utf-8-lang.el:
7266 Remove no-byte-compile setting.
7267
5075bdb5
GM
7268 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7269
06f679a7
AH
72702012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7271
7272 * progmodes/make-mode.el (makefile-browse):
7273 Remove unnecessary interactive. (Bug#11324)
7274
03794570
GM
72752012-05-07 Glenn Morris <rgm@gnu.org>
7276
af8630f4
GM
7277 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7278
03794570
GM
7279 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7280
f0809a9d
SM
72812012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7282
28be5ce7
SM
7283 * loadup.el: Preload newcomment.el.
7284 * newcomment.el: Move autoload-only code to toplevel.
7285
f0809a9d
SM
7286 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7287 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7288 Handle new :right-align column property.
7289 (tabulated-list-print-col): Idem, plus use `display' text-property to
7290 try and preserve alignment for variable pitch fonts.
7291
1241b724
CY
72922012-05-07 Chong Yidong <cyd@gnu.org>
7293
7294 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7295 (tabulated-list-use-header-line): New var.
7296 (tabulated-list-init-header): Use it.
7297 (tabulated-list-print-fake-header): New function.
7298 (tabulated-list-print): Use it.
7299 (tabulated-list-sort-button-map): Add non-header-line commands.
7300 (tabulated-list-init-header): Add column name property to basic
7301 labels as well.
7302 (tabulated-list-col-sort): Handle non-header-line button case.
7303 (tabulated-list--sort-by-column-name): Fix a corner case.
7304
f0809a9d
SM
7305 * buff-menu.el (list-buffers--refresh):
7306 Handle Buffer-menu-use-header-line.
1241b724 7307
e5f9458f
CY
73082012-05-06 Chong Yidong <cyd@gnu.org>
7309
7310 * buff-menu.el: Convert to Tabulated List mode.
7311 (Buffer-menu-buffer+size-width): Make obsolete.
7312 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7313 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7314 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7315 documentation into docstring of buffer-menu.
7316 (Buffer-menu-toggle-files-only): Add an informative message.
7317 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7318 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7319 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7320 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7321 (Buffer-menu-execute, Buffer-menu-select)
7322 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7323 (Buffer-menu-bury): Use Tabulated List machinery.
7324 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7325 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7326 Delete.
e5f9458f
CY
7327 (list-buffers--refresh): New function.
7328 (list-buffers-noselect): Use it.
7329 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7330 (Buffer-menu--pretty-file-name): New helper functions.
7331
7332 * loadup.el: Preload tabulated-list.
7333
7334 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7335 tabulated-list-sort-column.
7336 (tabulated-list-init-header): Add the initial aligning space even
7337 if tabulated-list-padding is zero.
7338
e129292c
CS
73392012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7340
7341 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7342 whose cdr is not a cons cell correctly (bug#11038).
7343
6632d361
CY
73442012-05-06 Chong Yidong <cyd@gnu.org>
7345
e129292c
CS
7346 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7347 Accept additional plist in column descriptors.
6632d361
CY
7348 (tabulated-list-init-header): Obey it.
7349 (tabulated-list-get-entry): New function.
7350 (tabulated-list-put-tag): Use it. Use string-width instead of
7351 length.
7352 (tabulated-list--column-number): New function.
7353 (tabulated-list-print): Use it.
e129292c
CS
7354 (tabulated-list-print-col): New function.
7355 Set `tabulated-list-column-name' property on each column's text.
6632d361 7356 (tabulated-list-print-entry): Use it.
e129292c
CS
7357 (tabulated-list-delete-entry, tabulated-list-set-col):
7358 New functions.
6632d361
CY
7359 (tabulated-list-sort-column): New command (Bug#11337).
7360
3cc99f68
CY
7361 * buff-menu.el (list-buffers): Move C-x C-b binding from
7362 buff-menu.el to bindings.el.
7363
7364 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7365 :advertised-binding feature.
7366
52b61776
TN
73672012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7368
7369 * progmodes/compile.el (compilation-internal-error-properties):
7370 Calculate start position correctly when end-col is set but
7371 end-line is not (Bug#11382).
7372
ebfe2597
WJ
73732012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7374
7375 * man.el (Man-unindent): Use text-property-default-nonsticky to
7376 prevent untabify from inheriting face properties (Bug#11408).
7377
6d3f7c2f
SM
73782012-05-05 Stefan Merten <smerten@oekonux.de>
7379
7380 * textmodes/rst.el: Major merge with upstream development up to
7381 Docutils SVN r7399 / rst.el V1.2.1.
7382
7383 Clarify maintainership and authors.
7384
7385 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7386 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7387 (rst-official-version, rst-official-cvs-rev, rst-version)
7388 (rst-package-emacs-version-alist): New functions and variables
7389 for version information.
7390
7391 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7392 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7393 (rst-mode-syntax-table, rst-mode): New and corrected functions
7394 and variables representing reStructuredText features.
7395
7396 (rst-re): New function for reStructuredText regexes. Use in
7397 many places.
7398
7399 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7400 (rst-mode-map): Rebind keys.
7401
7402 (rst-mode-lazy, rst-font-lock-keywords)
7403 (rst-font-lock-extend-region)
7404 (rst-font-lock-extend-region-internal)
7405 (rst-font-lock-extend-region-extend)
7406 (rst-font-lock-find-unindented-line-limit)
7407 (rst-font-lock-find-unindented-line-match)
7408 (rst-adornment-level, rst-font-lock-adornment-level)
7409 (rst-font-lock-adornment-match)
7410 (rst-font-lock-handle-adornment-pre-match-form)
7411 (rst-font-lock-handle-adornment-matcher): Major revision of
7412 font-locking. Integrate with other code. Use `jit-lock-mode'.
7413
7414 (rst-preferred-adornments, rst-adjust-hook)
7415 (rst-new-adornment-down, rst-preferred-bullets)
7416 (rst-preferred-bullets, rst-indent, rst-indent-width)
7417 (rst-indent-field, rst-indent-literal-normal)
7418 (rst-indent-literal-minimized, rst-indent-comment): Change,
7419 extend and improve customization.
7420
7421 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7422 (rst-normalize-cursor-position, rst-get-decoration)
7423 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7424 (rst-rstrip, rst-toc-insert-find-delete-contents)
7425 (rst-shift-fill-region, rst-compute-bullet-tabs)
7426 (rst-debug-print-tabs, rst-debug-mark-found)
7427 (rst-shift-region-guts, rst-shift-region-right)
7428 (rst-shift-region-left, rst-use-char-classes)
7429 (rst-font-lock-keywords-function)
7430 (rst-font-lock-indentation-point)
7431 (rst-font-lock-find-unindented-line-begin)
7432 (rst-font-lock-find-unindented-line-end)
7433 (rst-font-lock-find-unindented-line)
7434 (rst-font-lock-adornment-point, rst-font-lock-level)
7435 (rst-adornment-level-alist): Remove functions and variables.
7436
7437 (rst-compare-adornments, rst-get-adornment-match)
7438 (rst-suggest-new-adornment, rst-get-adornments-around)
7439 (rst-adornment-complete-p, rst-get-next-adornment)
7440 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7441 (rst-straighten-adornments): Standardize function names to
7442 use "adornment" instead of "decoration". Correct callers.
7443 Similar standardizing in many places.
7444
7445 (rst-update-section, rst-adjust, rst-promote-region)
7446 (rst-enumerate-region, rst-bullet-list-region)
7447 (rst-repeat-last-character): Correct use of `interactive'.
7448
7449 (rst-classify-adornment, rst-find-all-adornments)
7450 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7451 (rst-find-leftmost-column, rst-repeat-last-character):
7452 Refactor functions.
7453
7454 (rst-find-title-line, rst-reset-section-caches)
7455 (rst-get-adornments-around, rst-adjust-adornment-work)
7456 (rst-arabic-to-roman, rst-roman-to-arabic)
7457 (rst-insert-list-pos, rst-insert-list-new-item)
7458 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7459 New functions.
7460
7461 (rst-all-sections, rst-section-hierarchy)
7462 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7463 New variables.
7464
7465 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7466 configuration instead of only buffer. Change where necessary.
7467
7468 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7469 (rst-shift-region, rst-adaptive-fill): New functions for
7470 indentation and filling.
7471
7472 (rst-comment-line-break, rst-comment-indent)
7473 (rst-comment-insert-comment, rst-comment-region)
7474 (rst-uncomment-region): New functions for handling comments.
7475
7476 (rst-compile): Quote shell arguments.
7477
7478 (rst-compile-pdf-preview, rst-compile-slides-preview):
7479 Delete temporary files after use.
7480
a43f98b3
GM
74812012-05-05 Glenn Morris <rgm@gnu.org>
7482
48176e8b
GM
7483 * calendar/cal-html.el: Optionally include holidays in the output.
7484 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7485 (cal-html-holidays): New option.
7486 (cal-html-css-default): Add holiday entry.
7487 (holiday-in-range): Autoload it.
7488 (cal-html-htmlify-entry): Add optional class argument.
7489 (cal-html-htmlify-list): Add optional holidays argument.
7490 (cal-html-insert-agenda-days): Include holidays in the output.
7491 (cal-html-one-month): Maybe include holidays.
7492
a43f98b3
GM
7493 * calendar/holidays.el (holiday-in-range):
7494 Move here from cal-tex-list-holidays.
7495 * calendar/cal-tex.el (cal-tex-list-holidays):
7496 Make it an obsolete alias for holiday-in-range. Update all callers.
7497
fef9d149 74982012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7499
7500 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7501 Nextstep.
7502
248da2f4
RW
75032012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7504
7505 * files.el (file-auto-mode-skip): New var.
7506 (set-auto-mode-1): Use it.
7507
f95e9344
SM
75082012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7509
df96ab1e
SM
7510 * repeat.el: Use lexical-binding.
7511 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7512 (repeat-undo-count): Remove.
7513 (repeat):
7514 * progmodes/octave-mod.el (octave-abbrev-start):
7515 * progmodes/f90.el (f90-abbrev-start):
7516 * face-remap.el (text-scale-adjust):
7517 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7518
5342bb06
SM
7519 * emacs-lisp/pcase.el (pcase--let*): New function.
7520 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7521 a bit more.
7522 (pcase--split-pred): Be more clever about ruling out overlap between
7523 a predicate and some constant pattern.
7524 (pcase--q1): Use `null' instead of (eq foo nil).
7525
f95e9344
SM
7526 * subr.el (setq-local, defvar-local): New macros.
7527 (kbd): Redefine as an alias.
7528 (with-selected-window): Leave unrelated frames alone.
7529 (set-temporary-overlay-map): New function.
7530
71873e2b
SM
75312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * subr.el (user-error): New function.
7534 * window.el (switch-to-buffer):
7535 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7536 (smerge-match-conflict):
7537 * simple.el (previous-matching-history-element)
7538 (next-matching-history-element, goto-history-element, undo-more)
7539 (undo-start):
7540 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7541 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7542 (next-file, tags-loop-scan, list-tags, complete-tag):
7543 * progmodes/compile.el (compilation-loop):
7544 * mouse.el (mouse-minibuffer-check):
7545 * man.el (Man-bgproc-sentinel, Man-goto-page):
7546 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7547 (Info-history-forward, Info-follow-reference, Info-menu)
7548 (Info-extract-menu-item, Info-extract-menu-counting)
7549 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7550 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7551 (Info-next-reference, Info-prev-reference, Info-index)
7552 (Info-index-next, Info-follow-nearest-node)
7553 (Info-copy-current-node-name):
7554 * imenu.el (imenu--make-index-alist)
7555 (imenu-default-create-index-function, imenu-add-to-menubar):
7556 * files.el (basic-save-buffer, recover-file):
7557 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7558 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7559 (checkdoc-message-text, checkdoc-defun):
7560 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7561 * cus-edit.el (customize-changed-options, customize-rogue)
7562 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7563 (custom-variable-mark-to-reset-standard)
7564 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7565 (custom-file):
7566 * completion.el (check-completion-length):
7567 * comint.el (comint-search-arg)
7568 (comint-previous-matching-input-string-position)
7569 (comint-previous-matching-input)
7570 (comint-replace-by-expanded-history-before-point, comint-send-input)
7571 (comint-copy-old-input, comint-backward-matching-input)
7572 (comint-goto-process-mark, comint-set-process-mark):
7573 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7574 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7575
8a61ee22
SM
75762012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7577
66408d1e
SM
7578 * dabbrev.el (dabbrev--ignore-case-p): New function.
7579 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7580 Use it.
7581
8a61ee22
SM
7582 * files.el (automount-dir-prefix): Mark as obsolete.
7583
3c74813a
GM
75842012-05-04 Glenn Morris <rgm@gnu.org>
7585
7586 * patcomp.el, play/bruce.el: Move to obsolete/.
7587
0bfcf5c5
PE
75882012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7589
7590 Fix minor Y10k bugs.
7591 * arc-mode.el (archive-unixdate):
7592 * autoinsert.el (auto-insert-alist):
7593 * calc/calc-forms.el (math-this-year):
7594 * emacs-lisp/copyright.el (copyright-current-year)
7595 (copyright-update-year, copyright):
7596 * tar-mode.el (tar-clip-time-string):
7597 * time.el (display-time-update):
7598 Don't assume years have 4 digits.
7599
78f3273a
CY
76002012-05-04 Chong Yidong <cyd@gnu.org>
7601
7602 * dos-w32.el (file-name-buffer-file-type-alist)
7603 (direct-print-region-use-command-dot-com):
7604 * ffap.el (ffap-menu-regexp):
7605 * find-file.el (ff-special-constructs):
7606 * follow.el (follow-debug):
7607 * forms.el (forms--debug):
7608 * iswitchb.el (iswitchb-all-frames):
7609 * ido.el (ido-all-frames):
7610 * emacs-lisp/timer.el (timer-max-repeats):
7611 * mail/feedmail.el (feedmail-mail-send-hook)
7612 (feedmail-mail-send-hook-queued):
7613 * mail/footnote.el (footnote-signature-separator):
7614 * mail/mailabbrev.el (mail-alias-separator-string)
7615 (mail-abbrev-mode-regexp):
7616 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7617 * progmodes/idlwave.el (idlwave-libinfo-file)
7618 (idlwave-default-completion-case-is-down)
7619 (idlwave-library-routines): Convert defvars to defcustoms.
7620
7621 * mail/rmail.el (rmail-decode-mime-charset):
7622 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7623 (idlwave-shell-fix-inserted-breaks)
7624 (idlwave-shell-activate-alt-keybindings)
7625 (idlwave-shell-use-breakpoint-glyph):
7626 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7627
f7ae6719
SM
76282012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7631
47086495
WS
76322012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7633
7634 * progmodes/verilog-mode.el (font-lock-keywords):
7635 Fix mis-highligting auto. Reported by Craig Barner.
7636 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7637 defines from global name space. Reported by Dan Dever.
47086495
WS
7638 (verilog-auto-reset, verilog-auto-reset-widths)
7639 (verilog-auto-tieoff): Support using unbased numbers for
7640 AUTORESET and AUTOTIEOFF.
7641 (verilog-submit-bug-report): Update variable list.
7642 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7643 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7644 (verilog-auto-template-lint): Fix hash error when linting modules
7645 with no used templates.
7646 (verilog-warn, verilog-warn-error)
7647 (verilog-warn-fatal): When non-interactive report multiple
7648 warnings before exiting. Suggested by Brad Dobbie.
7649 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7650 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7651 to report unused template errors. Reported by Brad Dobbie.
7652 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7653 nets, bug438. Reported by Vns Blore.
47086495
WS
7654 (verilog-auto-inout-module, verilog-auto-reg)
7655 (verilog-read-decls, verilog-read-sub-decls-sig)
7656 (verilog-signals-edit-wire-reg, verilog-signals-with):
7657 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7658 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7659 "reg" for backwards compatibility presuming Verilog 2001.
7660 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7661 (verilog-preprocess): Fix replication of preprocess output.
7662 Reported by Brad Dobbie.
7663 (verilog-auto-inst-interfaced-ports):
7664 Create verilog-auto-inst-interfaced-ports, bug429.
7665 Reported by Julian Gorfajn.
7666 (verilog-after-save-font-hook)
7667 (verilog-before-save-font-hook): New variable.
7668 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7669 (verilog-save-font-mods): Wrap disabling fontification, reported
7670 by David Rogoff.
7671 (verilog-do-indent, verilog-pretty-declarations-auto)
7672 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7673 Reported by Pierre-David Pfister.
7674 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7675 of class declarations, bug292. Reported by Kevin Heilman.
7676 (verilog-read-decls): Fix 'parameter type' not appearing in
7677 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7678 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7679 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7680 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7681 Reported by David Kravitz.
7682
76832012-05-03 Michael McNamara <mac@mail.brushroad.com>
7684
7685 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7686 assignment with tests in ifs and for loops.
7687 (verilog-extended-complete-re, verilog-complete-reg): Change so
7688 that DPI inport functions don't look like fuction declarations.
7689 (verilog-pretty-expr): Don't line up assignment
7690 operations to the test and increment in if and for loops
7691 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7692 that DPI inport functions don't look like fuction declarations.
47086495 7693
2e51d4b5
KH
76942012-05-03 Kenichi Handa <handa@m17n.org>
7695
7696 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7697 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7698 (Bug#11282).
7699
2bd785a2
SM
77002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * emacs-lisp/bytecomp.el
7703 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7704 since cconv.el might have introduced :fun-body, internal-make-closure,
7705 and friends for bytecomp to handle (bug#11391).
7706 * custom.el (defcustom): Avoid ((λ ..) ..).
7707
99d27583
SM
77082012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7711
55a71479
JB
77122012-05-02 Juanma Barranquero <lekktu@gmail.com>
7713
7714 * notifications.el (dbus-debug):
7715 * term/linux.el (gpm-mouse-enable):
7716 * term/screen.el (xterm-register-default-colors): Declare.
7717
7b97c764
CY
77182012-05-02 Chong Yidong <cyd@gnu.org>
7719
2bc356d7
CY
7720 * cus-start.el (gc-cons-percentage, exec-suffixes)
7721 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7722 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7723 (make-cursor-line-fully-visible, void-text-area-pointer)
7724 (font-list-limit): Add customization data.
7725
7b97c764
CY
7726 * allout.el (allout-exposure-change-functions)
7727 (allout-structure-added-functions)
7728 (allout-structure-deleted-functions)
7729 (allout-structure-shifted-functions): Rename abnormal hooks from
7730 *-hook, and convert to defcustoms.
5d3385a0
JB
7731 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7732 Convert to defcustoms.
7b97c764
CY
7733 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7734
7735 * allout-widgets.el: Hook callers changed.
7736
90207a15 77372012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7738
7739 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7740 the yanked message in preference to the default value of
7741 buffer-file-coding-system.
7742
90207a15 77432012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7744
5d3385a0
JB
7745 * window.el (display-buffer--action-function-custom-type):
7746 Fix entry.
d9558cad 7747
90207a15 77482012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7749
7750 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7751
d80ac57b
GM
77522012-05-01 Glenn Morris <rgm@gnu.org>
7753
976f7668
GM
7754 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7755
beb83b5a
GM
7756 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7757
d80ac57b
GM
7758 * cus-edit.el (custom-variable-documentation): Simplify with format.
7759
b593d6a9 77602012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7761 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7762
7763 * simple.el (suggest-key-bindings, execute-extended-command):
7764 Move from keyboard.c.
7765
782fbf2a
CY
77662012-05-01 Chong Yidong <cyd@gnu.org>
7767
7768 * follow.el: Eliminate advice.
7769 (set-process-filter, process-filter, sit-for): Advice deleted.
7770 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7771 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7772 Vars deleted.
782fbf2a
CY
7773 (follow-auto): Use a :set function.
7774 (follow-mode): Rewritten. Don't advise process filters.
7775 (follow-switch-to-current-buffer-all, follow-scroll-up)
7776 (follow-scroll-down): Assume follow-mode is bound.
7777 (follow-comint-scroll-to-bottom)
7778 (follow-align-compilation-windows): New functions.
7779 (follow--window-sorter): New function.
7780 (follow-all-followers): Use it to explicitly sort windows by their
7781 positions; don't make assumptions about next-window order.
7782 (follow-windows-start-end, follow-delete-other-windows-and-split)
7783 (follow-calc-win-start): Doc fix.
7784 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7785 vertical-motion unnecessarily.
7786 (follow-adjust-window): New function.
7787 (follow-post-command-hook): Use it.
7788 (follow-call-set-process-filter, follow-call-process-filter)
7789 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7790 (follow-stop-intercept-process-output, follow-generic-filter):
7791 Functions deleted.
7792 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7793 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7794 New functions, replacing advice on scroll-bar-* commands.
87233a14 7795 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7796
7797 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7798 (comint-postoutput-scroll-to-bottom): Use it.
7799 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7800
290af740
GM
78012012-05-01 Glenn Morris <rgm@gnu.org>
7802
7803 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7804 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7805 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7806 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7807 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7808 Remove no-byte-compile setting.
7809
6eac8dc9
SM
78102012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7813 all-completions code to not return a number in the last cdr.
7814
9cc7819c
LL
78152012-04-30 Leo Liu <sdl.web@gmail.com>
7816
7817 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7818 read-only error.
7819
c93b886f
CY
78202012-04-29 Chong Yidong <cyd@gnu.org>
7821
7822 * follow.el (follow-calc-win-end): Rewrite to handle partial
7823 screen lines correctly (Bug#8390).
7824 (follow-avoid-tail-recenter): Minor cleanup.
7825
8b6c19f4
SM
78262012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 Avoid the obsolete `assoc' package.
7829 * speedbar.el (speedbar-refresh): Avoid adelete.
7830 (speedbar-file-lists): Simplify and avoid aput.
7831 * man.el (Man--sections, Man--refpages): New vars, replacing
7832 Man-sections-alist and Man-refpages-alist.
7833 (Man-build-section-alist, Man-build-references-alist):
7834 Use them; avoid aput.
7835 (Man--last-section, Man--last-refpage): New vars.
7836 (Man-follow-manual-reference): Use them.
7837 Use the `default' arg of completing-read.
7838 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7839
c5bb7569
CY
78402012-04-27 Chong Yidong <cyd@gnu.org>
7841
d1d2e2e8
CY
7842 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7843
15cd8efd
CY
7844 * startup.el (x-apply-session-resources): New function.
7845
7846 * term/ns-win.el (ns-initialize-window-system):
7847 * term/w32-win.el (w32-initialize-window-system):
7848 * term/x-win.el (x-initialize-window-system): Use it to properly
7849 set menu-bar-mode and other vars from X resources, even if the
7850 initial frame is not a window-system frame (Bug#2299).
7851
c5bb7569
CY
7852 * subr.el (read-key): Avoid running filter function when setting
7853 up temporary tool bar entries (Bug#9922).
7854
a8e7d6d7 78552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7856
7857 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7858 (Bug#11344)
7859
a8e7d6d7 78602012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7861
7862 * select.el (xselect--encode-string): New function, split from
7863 xselect-convert-to-string.
7864 (xselect-convert-to-string): Use it.
7865 (xselect-convert-to-filename, xselect-convert-to-os)
7866 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7867 returned strings are properly encoded (Bug#11315).
7868
a8e7d6d7 78692012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7870
7871 * simple.el (delete-active-region): Move to killing custom group.
7872
a8e7d6d7 78732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7874
7875 * progmodes/which-func.el (which-func-current): Quote %
7876 characters for mode-line processing.
7877
578c1d4b 78782012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7879
7880 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7881 reaching eob (Bug#11286).
7882
a8e7d6d7 78832012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7884
7885 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7886 (gdb): Make it buffer-local and init to zero.
7887 (gdb-control-commands-regexp): New variable.
7888 (gdb-send): Don't wrap in "-interpreter-exec console" if
7889 gdb-control-level is positive. Increment gdb-control-level
7890 whenever the command matches gdb-control-commands-regexp, and
7891 decrement it each time the command is "end". (Bug#11279)
7892
a8e7d6d7 78932012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7894
7895 * window.el (adjust-window-trailing-edge, enlarge-window)
7896 (shrink-window, window-resize):
7897 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7898 windows (Bug#11276).
7899
b3608390
CY
79002012-04-27 Chong Yidong <cyd@gnu.org>
7901
7902 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7903 fix "missing prefix" warning. All callers changed.
b3608390 7904
797e6e88
SM
79052012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7906
7907 * emacs-lisp/assoc.el: Move to obsolete/.
7908
e95a67dc
SM
79092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7910
657c21e4 7911 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7912
7913 * term/ns-win.el (ns-define-service):
7914 * progmodes/pascal.el (pascal-goto-defun):
7915 * progmodes/js.el (js--read-tab):
7916 * progmodes/etags.el (tags-lazy-completion-table):
7917 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7918 * emacs-lisp/ewoc.el (ewoc--wrap):
7919 * emacs-lisp/assoc.el (aput, adelete, amake):
7920 * doc-view.el (doc-view-convert-current-doc):
7921 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7922
cb3e7ae0
CY
79232012-04-26 Chong Yidong <cyd@gnu.org>
7924
dce04f7f
CY
7925 * image.el (image-type-from-buffer): Only return supported image
7926 type (Bug#9045).
7927
cb3e7ae0
CY
7928 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7929 value, for symmetry with diff-end-of-hunk.
7930 (diff-split-hunk, diff-find-source-location)
7931 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7932 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7933 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7934 compute the relevant hunk or file properly (Bug#6005).
7935 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7936
0d42eb3e
SM
79372012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * vc/vc-mtn.el:
7940 * vc/vc-hg.el:
7941 * vc/vc-git.el:
7942 * vc/vc-dir.el:
7943 * vc/vc-cvs.el:
7944 * vc/vc-bzr.el:
7945 * vc/vc-arch.el:
7946 * vc/vc.el: Replace lexical-let by lexical-binding.
7947 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7948 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7949 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7950
f08ae1c9
CY
79512012-04-26 Chong Yidong <cyd@gnu.org>
7952
8b71081d
CY
7953 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7954 (diff-mode-shared-map): Bind it to / and [remap undo].
7955
f08ae1c9
CY
7956 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7957 (ediff-window-setup-function): Use it as the default, to set up
7958 windows based on whether the current frame is graphical (Bug#2138).
7959 (ediff-choose-window-setup-function-automatically): Make obsolete.
7960
7961 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7962
ef24141c
SM
79632012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7964
cc356a5d
SM
7965 * ffap.el: Remove old code for obsolete package.
7966 (ffap-complete-as-file-p): Remove.
7967
b4ff4f1f
SM
7968 Use completion-table-with-quoting for comint and pcomplete.
7969 * comint.el (comint--unquote&requote-argument)
7970 (comint--unquote-argument, comint--requote-argument): New functions.
7971 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7972 (comint-quote-filename): Use regexp-opt-charset.
7973 (comint--common-suffix, comint--common-quoted-suffix)
7974 (comint--table-subvert): Remove.
7975 (comint-unquote-function, comint-requote-function): New vars.
7976 (comint--complete-file-name-data): Use them with
7977 completion-table-with-quoting.
7978 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7979 * pcomplete.el (pcomplete-arg-quote-list)
7980 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7981 (pcomplete-unquote-argument-function): Default to non-nil.
7982 (pcomplete-unquote-argument): Simplify.
7983 (pcomplete--common-quoted-suffix): Remove.
7984 (pcomplete-requote-argument-function): New var.
7985 (pcomplete--common-suffix): New function.
7986 (pcomplete-completions-at-point): Use completion-table-with-quoting
7987 and completion-table-subvert.
7988
79c4eeb4
SM
7989 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7990 (minibuffer--double-dollars): Preserve properties.
7991 (completion--sifn-requote): New function.
7992 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7993
ef24141c
SM
7994 * minibuffer.el: Add support for completion of quoted/escaped data.
7995 (completion-table-with-quoting, completion-table-subvert): New funs.
7996 (completion--twq-try, completion--twq-all): New functions.
7997 (completion--nth-completion): New function.
7998 (completion-try-completion, completion-all-completions): Use it.
7999
784e7d6e
LL
80002012-04-25 Leo Liu <sdl.web@gmail.com>
8001
dd2ac746
SM
8002 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8003 Use compilation-message if available to find real filename.
784e7d6e 8004
07875ee7
CY
80052012-04-25 Chong Yidong <cyd@gnu.org>
8006
8007 * vc/diff-mode.el (diff-setup-whitespace): New function.
8008 (diff-mode): Use it.
8009
8010 * vc/diff.el (diff-sentinel):
8011 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8012 Whitespace mode variables based on diff style (Bug#8612).
8013
5055880d
LL
80142012-04-25 Leo Liu <sdl.web@gmail.com>
8015
daf75653
LL
8016 * progmodes/python.el (python-send-region): Add suffix .py to the
8017 temp file.
8018
5055880d
LL
8019 * files.el (auto-mode-alist): Use javascript-mode instead.
8020
db9b177b
AH
80212012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8022
ef24141c 8023 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8024
090bd7cb 8025 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8026 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8027 references, see Bug#9.
ef24141c 8028 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8029 when receiving a fault reply.
ef24141c 8030 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8031
090bd7cb 8032 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8033 (soap-inspect-simple-type): New function.
db9b177b 8034
090bd7cb 8035 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8036 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8037 (soap-decode-basic-type, soap-encode-basic-type):
8038 support unsignedInt and double basic types.
db9b177b 8039 (soap-resolve-references-for-simple-type)
ef24141c
SM
8040 (soap-parse-simple-type, soap-encode-simple-type): New function.
8041 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8042
090bd7cb 8043 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8044 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8045 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8046 the local name of "soapenc:Array".
8047 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8048 decoding integer, byte and anyURI xsd types.
8049
1fc6097b
CY
80502012-04-25 Chong Yidong <cyd@gnu.org>
8051
8052 * cus-edit.el (custom-buffer-create-internal): Update header text.
8053
afc6df87
EZ
80542012-04-25 Eli Zaretskii <eliz@gnu.org>
8055
8056 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8057 settings on 'system-type', not on 'window-system'. On MS-Windows,
8058 set interactive-mode on in GDB.
8059
dfbd787f
SM
80602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8063 (ruby-syntax-propertize-regexp): Remove.
8064 (ruby-syntax-propertize-function): Split regexp into chunks.
8065 Match following code directly.
8066
85222d44
DG
80672012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8068
51a8ea2a
DG
8069 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8070 (ruby-syntax-propertize-regexp): New function.
8071 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8072 by a special keyword.
8073
85222d44
DG
8074 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8075 (ruby-syntax-general-delimiters-goto-beg)
8076 (ruby-syntax-propertize-general-delimiters): New functions.
8077 (ruby-syntax-propertize-function): Use them to handle GDL.
8078 (ruby-font-lock-keywords): Move old handling of GDL...
8079 (ruby-font-lock-syntactic-keywords): .. to here.
8080 (ruby-calculate-indent): Adjust indentation for GDL.
8081
b613912b
MA
80822012-04-24 Michael Albinus <michael.albinus@gmx.de>
8083
b5380639
MA
8084 * notifications.el (top): Remove unneeded declarations.
8085 (notifications-specification-version): Change to "1.2".
e43042fe 8086 (notifications-interface, notifications-notify-method)
b613912b
MA
8087 (notifications-close-notification-method): Fix docstring.
8088 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8089 (notifications-notify): Add :action-items, :resident and
8090 :transient hints. Change "image_data" to "image-data" and
8091 "image_path" to "image-path".
b613912b
MA
8092 (notifications-get-capabilities): New defun.
8093
257440aa
LL
80942012-04-24 Leo Liu <sdl.web@gmail.com>
8095
8096 * progmodes/python.el: Move hideshow setup to the end.
8097
b1bac16e
MR
80982012-04-24 Martin Rudalics <rudalics@gmx.at>
8099
8100 * window.el (handle-select-window): Clear echo area since this is
8101 no more done by read_char (Bug#11304).
8102
d81bd059
SM
81032012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8106 and `/ M' to filter-derived-mode.
8107 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8108 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8109 (ibuffer-mark-by-mode): Use default rather than initial-input.
8110 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8111
c4cf6d91
IA
81122012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8113
8114 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8115 (ibuffer-filter-by-derived-mode): New filter.
8116 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8117
7511ded8
CY
81182012-04-23 Andreas Politz <politza@fh-trier.de>
8119
8120 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8121
775c916b
CY
81222012-04-23 Chong Yidong <cyd@gnu.org>
8123
8124 * cus-edit.el (customize-apropos, customize-apropos-options):
8125 Disable matching of non-option variables (Bug#11176).
8126 (customize-option, customize-option-other-window)
8127 (customize-changed-options): Doc fix.
8128 (customize-apropos-options, customize-apropos-faces)
8129 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8130
8131 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8132 Fix word list splitting (Bug#11132).
46c71e23
CY
8133 (apropos-symbol, apropos-keybinding, apropos-label)
8134 (apropos-property, apropos-function-button)
8135 (apropos-variable-button, apropos-misc-button): New faces.
8136 (apropos-symbol-face, apropos-keybinding-face)
8137 (apropos-label-face, apropos-property-face, apropos-match-face):
8138 Variables removed (Bug#8396).
8139 (apropos-library-button, apropos-format-plist, apropos-print)
8140 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8141
2df41f9c
MA
81422012-04-23 Michael Albinus <michael.albinus@gmx.de>
8143
8144 * net/xesam.el (xesam-mode-map): Use let-bound map in
8145 initialization. (Bug#11292)
8146
da00640a
AM
81472012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8148
8149 Preserve ispell session localwords when switching back to
8150 original buffer.
8151
090bd7cb
JB
8152 * textmodes/ispell.el (ispell-buffer-session-localwords):
8153 New buffer-local variable to hold buffer session localwords.
ed9265fc 8154 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8155 localwords.
8156 (ispell-command-loop, ispell-change-dictionary)
8157 (ispell-buffer-local-words): Preserve session localwords when
8158 needed.
8159
090bd7cb
JB
8160 * textmodes/flyspell.el (flyspell-process-localwords)
8161 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8162
f621ccf5
AM
81632012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8164
090bd7cb
JB
8165 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8166 using obsolete `translation-table-for-input'.
ef24141c
SM
8167 (ispell-word, ispell-process-line, ispell-complete-word):
8168 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8169
c2d1019e
CY
81702012-04-22 Chong Yidong <cyd@gnu.org>
8171
8172 * cus-edit.el (custom-variable-menu)
8173 (custom-variable-reset-saved, custom-face-menu)
8174 (custom-face-reset-saved): If there is no saved value, make the
8175 "reset-saved" operation bring back the default (Bug#9509).
8176 (custom-face-state): Properly detect themed faces.
8177
eeddc531
CY
8178 * faces.el (face-spec-set): Stop supporting deprecated form of
8179 third arg.
8180
dcbf5805
MA
81812012-04-22 Michael Albinus <michael.albinus@gmx.de>
8182
8183 Move functions from C to Lisp. Make non-blocking method calls
8184 the default. Implement further D-Bus standard interfaces.
8185
ef24141c
SM
8186 * net/dbus.el (dbus-message-internal): Declare function.
8187 Remove unneeded function declarations.
dcbf5805
MA
8188 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8189 (dbus-message-type-method-return, dbus-message-type-error)
8190 (dbus-message-type-signal): Declare variables. Remove local
8191 definitions.
8192 (dbus-interface-dbus, dbus-interface-peer)
8193 (dbus-interface-introspectable, dbus-interface-properties)
8194 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8195 Adapt docstring.
8196 (dbus-interface-objectmanager): New defconst.
8197 (dbus-call-method, dbus-call-method-asynchronously)
8198 (dbus-send-signal, dbus-method-return-internal)
8199 (dbus-method-error-internal, dbus-register-service)
8200 (dbus-register-signal, dbus-register-method): New defuns, moved
8201 from dbusbind.c
8202 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8203 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8204 New defuns.
dcbf5805
MA
8205 (dbus-call-method-non-blocking): Make it an obsolete function.
8206 (dbus-unregister-object, dbus-unregister-service)
8207 (dbus-handle-event, dbus-register-property)
8208 (dbus-property-handler): Obey the new structure of
8209 `bus-registered-objects'.
8210 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8211 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8212 Use `dbus-call-method'.
8213
cf20dee0
CY
82142012-04-22 Chong Yidong <cyd@gnu.org>
8215
8216 * cus-edit.el (custom-commands, custom-reset-menu)
8217 (Custom-reset-standard): Tweak labels.
8218 (custom-reset-button-menu): Change default to t.
8219 (custom-buffer-create-internal): For the custom-reset-button-menu
8220 case, put the revert button first.
8221 (custom-group-subtitle): New face.
8222 (custom-group-value-create): Align docstring to a specific column.
8223
8224 * wid-edit.el (widget-documentation-link-add): Don't handle
8225 indentation in this function.
8226 (widget-documentation-string-indent-to): New function.
8227 (widget-documentation-string-value-create): Use it.
8228
8229 * autorevert.el (auto-revert):
8230 * epg-config.el (epg):
8231 * ibuffer.el (ibuffer):
8232 * mpc.el (mpc):
8233 * ses.el (ses):
8234 * eshell/eshell.el (eshell):
8235 * net/ange-ftp.el (ange-ftp):
8236 * progmodes/ebnf2ps.el (postscript):
8237 * progmodes/flymake.el (flymake):
8238 * progmodes/prolog.el (prolog):
8239 * progmodes/verilog-mode.el (verilog-mode):
8240 * progmodes/which-func.el (which-func):
8241 * term/xterm.el (xterm):
8242 * textmodes/picture.el (picture):
8243 * textmodes/tildify.el (tildify):
8244 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8245 customization buffers.
8246
583e23bd
AM
82472012-04-22 Alan Mackenzie <acm@muc.de>
8248
8249 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8250 Adding a ) can hide the resulting (..) from searches. Fix it.
8251 Bound the backward search to the position of the existing (.
8252
7dd51bf1
JB
82532012-04-21 Juanma Barranquero <lekktu@gmail.com>
8254
8255 * progmodes/verilog-mode.el (verilog-mode): Check whether
8256 which-func-modes is t before adding verilog-mode.
8257 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8258
d64a438f
LL
82592012-04-21 Leo Liu <sdl.web@gmail.com>
8260
7dd51bf1 8261 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8262
081e8d65
MV
82632012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8264
8265 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8266 filling of the last column of a table (Bug#5635).
8267 (woman-find-next-control-line): New arg, specifying an additional
8268 regexp component for the control line.
8269 (woman2-roff-buffer): Use it.
8270 (woman-break-table): New function.
8271 (woman2-TS): Use it.
8272
82732012-04-21 Chong Yidong <cyd@gnu.org>
8274
8275 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8276 (woman-horizontal-escapes, woman-negative-vertical-space)
8277 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8278 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8279
ed571ccb
SM
82802012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * minibuffer.el (completion-file-name-table): Complete user names.
8283
39773899
LL
82842012-04-20 Leo Liu <sdl.web@gmail.com>
8285
8286 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8287 and pcase-let*.
8288
de6ff46d
CY
82892012-04-20 Chong Yidong <cyd@gnu.org>
8290
8291 * server.el (server-execute): Respect initial-buffer-choice if it
8292 is a string and there are no files to open (Bug#2825).
8293 (server-create-window-system-frame, server-create-tty-frame):
8294 Don't switch buffers here.
2d0e8e61
CY
8295 (server-process-filter): Only try to open a window system frame if
8296 compiled with graphical support (Bug#8314).
de6ff46d 8297
54071013
DN
82982012-04-20 Dan Nicolaescu <dann@gnu.org>
8299
8300 * battery.el (battery-echo-area-format): Display remaining time
8301 for sysfs backend too (Bug#11269).
8302 (battery-linux-sysfs): Fix conditional for the charge.
8303
f30d612a
CY
83042012-04-20 Chong Yidong <cyd@gnu.org>
8305
c07a4c0b 8306 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8307 (gdb-inferior-io--init-proc): New function.
8308 (gdb-init-1): Use it.
8309 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8310 responsible for allocating a new pty and hooking it to gdb when
8311 the old pty gets an EIO due to process exit.
8312 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8313 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8314 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8315
2116e93c
EZ
83162012-04-20 Eli Zaretskii <eliz@gnu.org>
8317
8318 * window.el (window-min-size, window-sizable, window-min-delta)
8319 (window-max-delta, window--resizable, window-resizable)
8320 (window-total-size, window-full-height-p, window-full-width-p)
8321 (window-in-direction, window--resize-mini-window, window-resize)
8322 (window--resize-child-windows-normal)
8323 (window--resize-child-windows, window--resize-siblings)
8324 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8325 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8326
c07a4c0b 83272012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8328
ef24141c
SM
8329 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8330 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8331 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8332 pty process (Bug#11273).
8333 (gdb-update): New arg to suppress talking to the gdb process.
8334 (gdb-done-or-error): Use it.
8335 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8336 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8337 sentinel not being called.
8338
8339 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8340
d02766ab
CY
8341 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8342
c07a4c0b 83432012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8344
8345 * net/network-stream.el (open-network-stream): Doc fix.
8346
c07a4c0b 83472012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8348
8349 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8350
c07a4c0b 83512012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8352
8353 Ensure searching for keywords is case sensitive.
8354
8355 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8356 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8357 (c-defun-name, c-mark-function, c-cpp-define-name)
8358 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8359 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8360
ef24141c
SM
8361 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8362 Bind case-fold-search to nil.
f0f6bc35 8363
c07a4c0b 83642012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8365
8366 * mail/sendmail.el (mail-bury): Call return action with the right
8367 Rmail buffer (Bug#11242).
8368
9a864fa2
CY
8369 * server.el (server-process-filter): Handle corner case where both
8370 tty and nowait options are present (Bug#11102).
8371
539aa513
EZ
83722012-04-20 Eli Zaretskii <eliz@gnu.org>
8373
8374 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8375 (top level): Put into the executable the ident-style '$Id:' tag on
8376 windows-nt as well.
539aa513 8377
cfc7d5da
SM
83782012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8379
8380 * electric.el (electric-indent-post-self-insert-function): Check that
8381 electric-indent-mode is enabled in current buffer.
8382
5b01685c
JB
83832012-04-19 Juanma Barranquero <lekktu@gmail.com>
8384
8385 * imenu.el (imenu-progress-message): Restore; it is "used" in
8386 erc/erc-imenu.el and net/snmp-mode.el.
8387
4d6769e1
JB
83882012-04-19 Juanma Barranquero <lekktu@gmail.com>
8389
8390 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8391 (mouse-avoidance-nudge-mouse): Remove unused binding.
8392
8393 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8394
8395 * descr-text.el (describe-char):
8396 * progmodes/python.el (python-describe-symbol):
8397 Don't call `toggle-read-only', set `buffer-read-only'.
8398
8399 * imenu.el (imenu-default-goto-function): Mark unused args.
8400 (imenu-progress-message): Remove obsolete macro; all callers changed.
8401
8402 * subr.el (keymap-canonicalize): Remove unused binding.
8403 (read-passwd): Mark unused arg.
8404
8405 * tutorial.el (tutorial--display-changes): Remove unused binding.
8406 (tutorial--save-tutorial-to): Remove unused variable.
8407
8408 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8409 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8410 (package-generate-autoloads, package-menu--generate)
8411 (package-menu--find-upgrades): Remove unused bindings.
8412
8413 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8414 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8415 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8416 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8417 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8418 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8419 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8420 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8421 (cua-delete-char-rectangle): Mark unused args.
8422 (cua-align-rectangle): Remove unused binding.
8423
8424 * mail/rmail.el (compilation--message->loc)
8425 (epa--find-coding-system-for-mime-charset): Declare.
8426
8427 * net/dbus.el (dbus-register-service): Declare.
8428 (dbus-name-owner-changed-handler): Remove unused binding.
8429
8430 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8431 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8432 (nxml-scan-backward-within): Mark unused arg.
8433 (nxml-dynamic-markup-word): Remove unused binding.
8434
8435 * mouse.el (mouse-menu-major-mode-map):
8436 * emacs-lisp/authors.el (authors-scan-change-log)
8437 (authors-add-to-author-list):
8438 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8439 * emacs-lisp/smie.el (smie-auto-fill):
8440 * mail/sendmail.el (mail-bury):
8441 * mail/unrmail.el (unrmail):
8442 * net/tls.el (open-tls-stream):
8443 * textmodes/picture.el (picture-mouse-set-point):
8444 Remove unused bindings.
8445
8c8fc5df
MA
84462012-04-19 Michael Albinus <michael.albinus@gmx.de>
8447
8448 * net/tramp.el (tramp-action-password): Let-bind
8449 `enable-recursive-minibuffers' to t.
8450
a77b0ac9
SS
84512012-04-18 Sam Steingold <sds@gnu.org>
8452
8453 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8454 instead of 'string to accommodate values like [f11].
8455 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8456 * progmodes/gdb-mi.el: Likewise.
8457
12a106a9
LL
84582012-04-18 Leo Liu <sdl.web@gmail.com>
8459
8460 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8461 current buffer.
8462 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8463 LOCAL is nil.
8464
bc6494ef
CY
84652012-04-18 Chong Yidong <cyd@gnu.org>
8466
8467 * simple.el (line-move): Use forward-line if in batch mode
8468 (Bug#11053).
8469
c09c46b2
CS
84702012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8471
8472 * files.el (after-find-file): Do not try to add a final newline if
8473 the buffer is read-only (Bug#11156).
8474
5f6530ea
RS
84752012-04-17 Richard Stallman <rms@gnu.org>
8476
8477 * mail/rmail.el (rmail-start-mail):
8478 Pass (rmail-mail-return...) for the return-action.
8479 Pass (rmail-yank-current-message...) for the yank-action.
8480 (rmail-yank-current-message): New function.
8481 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8482 (rmail-reply): Likewise.
8483 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8484
8485 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8486 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8487 buffer, not newbuf.
8488
197b6f3c
JB
84892012-04-17 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * server.el (server-ensure-safe-dir): Simplify.
8492
2311d8e5 84932012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8494
2311d8e5
GM
8495 * emacs-lisp/smie.el: Provide smarter auto-filling.
8496 (smie-auto-fill): New function.
8497 (smie-setup): Use it.
98fb480e 8498
2311d8e5
GM
8499 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8500
85012012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8502
8503 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8504 (comment-indent): Use it.
8505
2311d8e5 85062012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8507
8508 * ses.el: The overall change is to add cell renaming, that is
8509 setting fancy names for cell symbols other than name matching
8510 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8511 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8512 (ses-create-cell-variable): New defun.
2311d8e5 8513 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8514 (ses-relocate-formula): Relocate formulas only for cells the
8515 symbols of which are not renamed, i.e. symbols whose names do not
8516 match regexp "\\`[A-Z]+[0-9]+\\'".
8517 (ses-relocate-all): Relocate values only for cells the symbols of
8518 which are not renamed.
8519 (ses-load): Create cells variables as the (ses-cell ...) are read,
8520 in order to check row col consistency with cell symbol name only
8521 for cells that are not renamed.
8522 (ses-replace-name-in-formula): New defun.
8523 (ses-rename-cell): New defun.
4bdf2ad2 8524
fc72b15c
PO
85252012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8526
8527 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8528 New option (bug#11118).
8529 (perl-calculate-indent): Respect it.
8530
12e10e61
GM
85312012-04-17 Glenn Morris <rgm@gnu.org>
8532
8533 * dired-aux.el (dired-mark-read-string): Doc fix.
8534
30009afd
DA
85352012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8536
8537 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8538 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8539
41f03f4d
GM
85402012-04-17 Glenn Morris <rgm@gnu.org>
8541
8542 * mouse.el (mouse-drag-track):
8543 * speedbar.el (speedbar-frame-mode):
8544 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8545
f45f90f3
LL
85462012-04-16 Leo Liu <sdl.web@gmail.com>
8547
8548 * progmodes/python.el: Trivial cleanup.
8549
94ee8db5
GM
85502012-04-16 Glenn Morris <rgm@gnu.org>
8551
121b8917
GM
8552 * vc/vc.el (vc-string-prefix-p):
8553 * vc/pcvs-util.el (cvs-string-prefix-p):
8554 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8555 * mpc.el (mpc-string-prefix-p):
8556 Make all of these into obsolete aliases for string-prefix-p.
8557 Update callers.
8558 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8559
1197ecfa
GM
8560 * textmodes/two-column.el: Move custom options to the start.
8561 (frame-width): Remove compat definition.
8562 (2C-associate-buffer, 2C-dissociate):
8563 Use with-current-buffer rather than save-excursion.
8564 (2C-dissociate): Force a mode-line update.
8565 (2C-autoscroll): Use ignore-errors.
8566
099e7202
GM
8567 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8568 Autoload trivia.
8569
bf350d6a
GM
8570 * emacs-lisp/cl-extra.el (*random-state*):
8571 Remove unnecessary declaration.
8572
0e829eab
GM
8573 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8574
e3ad7552
GM
8575 * play/cookie1.el (cookie-snarf):
8576 Give an explicit error if input file cannot be read.
8577
68892d27
GM
8578 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8579
20f0c46d
GM
8580 * progmodes/perl-mode.el (c-macro-expand):
8581 Remove unnecessary autoload (it is in loaddefs.el).
8582
5a0978ce
GM
8583 * textmodes/picture.el (picture-desired-column)
8584 (picture-update-desired-column): Convert comments to doc-strings.
8585 (picture-substitute): Remove function.
8586 (picture-mode-map): Initialize in the defvar.
8587
6b955486
GM
8588 * woman.el: Remove eval-after-load for tar-mode.
8589 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8590 (woman-tar-extract-file): Autoload it.
8591
94ee8db5
GM
8592 * frame.el (automatic-hscrolling): Make this alias obsolete.
8593
177eca34
AM
85942012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8595
090bd7cb 8596 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8597 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8598 (ispell-dictionary-base-alist): Revert to original XEmacs
8599 friendly version for default. [:alpha:] will be added in
090bd7cb 8600 `ispell-set-spellchecker-params' if needed.
177eca34 8601
c505aaeb
CY
86022012-04-16 Chong Yidong <cyd@gnu.org>
8603
b19dd9d1 8604 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8605 (imagemagick-register-types): Use it.
8606 (imagemagick-types-inhibit): Add :set function. Allow new value
8607 of t to inhibit all types.
8608
8609 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8610 so we can preload it.
8611
8612 * loadup.el (fboundp): Preload regexp-opt, needed by
8613 imagemagick-register-types.
8614
60efac0f
CY
86152012-04-15 Chong Yidong <cyd@gnu.org>
8616
8617 * frame.el (scrolling): Remove nearly unused customization group.
8618
8619 * scroll-all.el (scroll-all-mode): Move to windows group.
8620
5dd1713e
CY
86212012-04-15 Chong Yidong <cyd@gnu.org>
8622
8623 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8624
e6fd457e
CY
86252012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8628 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8629
e153c136
GM
86302012-04-15 Glenn Morris <rgm@gnu.org>
8631
8632 * simple.el (process-file-side-effects): Doc fix.
8633
e6fd457e 86342012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8635
8636 * international/mule-cmds.el (set-language-environment): Doc fix.
8637
3603c3b1
JB
86382012-04-14 Juanma Barranquero <lekktu@gmail.com>
8639
8640 * server.el (server-auth-key, server-generate-key): Doc fixes.
8641 (server-get-auth-key): Doc fix. Use `string-match-p'.
8642 (server-start): Reflow docstring.
8643
e6de100c
LI
86442012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8645
8646 * server.el (server-generate-key): `called-interactively-p'
8647 requires a parameter.
8648
29734c21
MN
86492012-04-14 Michal Nazarewicz <mina86@mina86.com>
8650
8651 * server.el (server-auth-key): New variable.
75f1671a 8652 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8653 (server-start): Use the new variable and functions to allow
8654 setting a permanent server key (bug#9423).
8655
d65c9521
LL
86562012-04-14 Leo Liu <sdl.web@gmail.com>
8657
8658 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8659
5ae255c7
PE
86602012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8661
8662 Spelling fixes.
8663 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8664 Emacs uses American spelling.
8665
d5e6342e
JB
86662012-04-14 Juanma Barranquero <lekktu@gmail.com>
8667
8668 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8669 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8670 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8671 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8672
ab036cd7
SM
86732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * progmodes/which-func.el (which-func-modes): Change default.
8676
35dc09a1 86772012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8678
8679 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8680 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8681
35dc09a1 86822012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8683
8684 * custom.el (custom-theme-set-variables): Doc fix.
8685
35dc09a1 86862012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8687
8688 * international/mule.el (set-auto-coding-for-load): Doc fix.
8689
35dc09a1 86902012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8691
35dc09a1
GM
8692 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8693 imenu work again for Objective C Mode. Correct the *-index values,
8694 these having been disturbed by a previous change in 2011-08.
57f845ee 8695
0de3da9f
AM
8696 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8697 Correct two search limits.
8698
35dc09a1 86992012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8700
8701 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8702
35dc09a1 87032012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8704
8705 * international/characters.el: Fix sorting.
8706
35dc09a1 87072012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8708
8709 * international/characters.el: Add more missing Latin case pairs.
8710
35dc09a1 87112012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8712
8713 * files.el (dir-locals-set-class-variables): Doc fix.
8714
35dc09a1 87152012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8716
3f1b5bf8
EZ
8717 * international/characters.el: Add set-case-syntax-pair call for
8718 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8719 counterpart. (Bug#11209)
8720
9f847f41
EZ
8721 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8722
35dc09a1 87232012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8724
8725 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8726
35dc09a1 87272012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8728
35dc09a1
GM
8729 * textmodes/ispell.el (ispell-dictionary-base-alist):
8730 Add data for Hebrew.
e2627d21 8731
35dc09a1 87322012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8733
35dc09a1
GM
8734 * net/rcirc.el (rcirc-cmd-quit):
8735 Revert 2012-03-18 change (Bug#11192).
5c14e333 8736
35dc09a1 87372012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8738
8739 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8740
35dc09a1 87412012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8742
4517fe3a
SM
8743 * minibuffer.el (completion-in-region-mode-map):
8744 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8745
b472a594
VD
87462012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8747
8748 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8749
09b95ce3
MY
87502012-04-13 Masatake YAMATO <yamato@redhat.com>
8751
8752 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8753 to allow `C-M-f' and `C-M-b' to move to the nearest path
8754 separator (bug#9511).
8755
4b63a9ca
LI
87562012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8757
8758 * avoid.el: Require cl when compiling. And also move the
8759 `provide' to the end.
8760
7b55b8bf
TV
87612012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8762
8763 * avoid.el (mouse-avoidance-banish-position): New variable.
8764 (mouse-avoidance-banish-destination): Use it (bug#10165).
8765
adedaa1f
LL
87662012-04-13 Leo Liu <sdl.web@gmail.com>
8767
8768 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8769
70e74021
KB
87702012-04-13 Ken Brown <kbrown@cornell.edu>
8771
8772 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8773 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8774 (browse-url-filename-alist): For the same reason, don't modify
8775 file:// URLs on Cygwin.
8776
e75e89ba
SM
87772012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8780 the region on shift if the binding is already shifted (bug#11221).
8781
82f289a4
GM
87822012-04-12 Glenn Morris <rgm@gnu.org>
8783
8784 * mail/mailpost.el: Move to obsolete/.
8785
d333dc4c
DA
87862012-04-12 Drew Adams <drew.adams@oracle.com>
8787
8788 * imenu.el (imenu--generic-function): Ignore invisible definitions
8789 (bug#10123).
8790
0d15b5ba
VD
87912012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8792
8793 * hexl.el (hexl-bits): New variable.
8794 (hexl-options): Mention the variable in the doc string.
75f1671a 8795 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8796 (hexl-mode): Mention the new variable.
75f1671a
JB
8797 (hexl-mode, hexl-current-address, hexl-current-address):
8798 Use the displen.
0d15b5ba
VD
8799 (hexl-ascii-start-column): New function.
8800 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8801 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8802
64a440db
AM
88032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8804
8805 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8806 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8807 the encoding, as expected by hunspell.
8808
6decb6c2
SM
88092012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * battery.el (battery--linux-sysfs-regexp): New const.
8812 (battery-status-function): Use it. Remove yeeloong special case.
8813 (battery-yeeloong-sysfs): Remove.
8814 (battery-echo-area-format): Remove yeeloong special case.
8815
088be6fb
SM
88162012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8817
6622e416
SM
8818 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8819 Reported by Noah Friedman.
8820
088be6fb
SM
8821 * subr.el (read-passwd): Use read-string.
8822
b49f886e
LMI
88232012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8824
8825 * vcursor.el (vcursor-move): Increase the priority of the overlay
8826 (bug#9663).
8827
a63067fc
DD
88282012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8829
8830 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8831 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8832
ac3cf14a
WS
88332012-04-11 William Stevenson <yhvh2000@gmail.com>
8834
8835 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8836 define-minor-mode (bug#10760).
8837
c4fc691b 88382012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8839
4d6769e1 8840 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8841 that directories matching `grep-find-ignored-files' won't be
8842 pruned (bug#10351).
8843
af23e2e5
CY
88442012-04-11 Chong Yidong <cyd@gnu.org>
8845
8846 * startup.el (command-line): Remove support for long-obsolete
8847 variable font-lock-face-attributes.
8848
ab7ce8c1
GM
88492012-04-11 Glenn Morris <rgm@gnu.org>
8850
8851 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8852
de8c03dc
SM
88532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * window.el (window--state-get-1): Obey window-point-insertion-type.
8856
050cc68b
LB
88572012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8858
8859 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8860 to previous function when point is on the first character of a
75f1671a 8861 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8862
a38c310c
GM
88632012-04-11 Glenn Morris <rgm@gnu.org>
8864
effed0c2
GM
8865 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8866 not just file-errors.
8867
a38c310c
GM
8868 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8869 (vc-bzr-sha1): Use internal sha1.
8870
0221e323
SM
88712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8874
43956923
SG
88752012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8876
8877 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8878 that start in the middle of the line (bug#10496).
8879
6a8c9eaf
DN
88802012-04-10 Dan Nicolaescu <dann@gnu.org>
8881
8882 * battery.el (battery-linux-proc-acpi): Only one battery is
8883 discharged at a time, but that seems to confuse battery.el when
8884 computing `rate-type' for the battery not being discharged
8885 (bug#10332).
8886
1930bf5d
SM
88872012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8888
2a718f6f
SM
8889 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8890
599430d0
SM
8891 * international/quail.el: Use dolist and simplify.
8892 (quail-define-package, quail-update-keyboard-layout)
8893 (quail-define-rules): Use dolist.
8894 (quail-insert-kbd-layout, quail-get-translation): CSE.
8895
a2754b6c
SM
8896 * tmm.el: Use dolist, remove left over hook.
8897 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8898 Use dolist.
8899 (calendar-load-hook): Don't mess with it.
8900
1930bf5d
SM
8901 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8902 Use derived-mode-p. Run the diff asynchronously.
8903
9f67961c
LMI
89042012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8905
8906 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8907
2a8ce227
JB
89082012-04-10 Juanma Barranquero <lekktu@gmail.com>
8909
8910 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8911 (list-dynamic-libraries--loaded): New function.
8912 (list-dynamic-libraries--refresh): Use it.
8913
8f33b5f8
NW
89142012-04-10 Nathan Weizenbaum <nweiz@google.com>
8915
1930bf5d
SM
8916 * progmodes/python.el (python-fill-paragraph):
8917 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8918 disabled (bug#7018).
8919
b12f0439
L
89202012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8921
1930bf5d 8922 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8923 DOS/MS Windows for the Baltic languages. There are still plenty
8924 of texts written in this encoding/codepage (bug#6519).
b12f0439 8925
57c3bd01
GM
89262012-04-10 Glenn Morris <rgm@gnu.org>
8927
8928 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8929 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8930
6c3eab30
FA
89312012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8932
1930bf5d 8933 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8934 next-line "n" and previous-line "p" in order to make recentf more
8935 consistent with ibuffer, dired or org-mode (bug#9387).
8936
24d78a88
LMI
89372012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8938
bc72b5d9
LMI
8939 * image.el (put-image): Return the overlay created instead of the
8940 optional input string (bug#7834). Note that this may break code
8941 that is (for some reason or other) depending on `put-image'
8942 returning the string.
8943
bd2dba5a
LMI
8944 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8945
74beb59f
LMI
8946 * simple.el (zap-to-char): Allow zapping using input methods
8947 (bug#1580).
8948
24d78a88
LMI
8949 * textmodes/fill.el (fill-region): Leave point and mark where they
8950 were before filling (bug#5399).
8951
263f20cd
GM
89522012-04-09 Glenn Morris <rgm@gnu.org>
8953
8954 * version.el (emacs-bzr-get-version):
8955 Handle lightweight checkouts of local branches.
8956
58d1f797
AS
89572012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8958
263f20cd 8959 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8960
b4d3bc10
CY
89612012-04-09 Chong Yidong <cyd@gnu.org>
8962
8963 * custom.el (custom-variable-p): Return nil for non-symbol
8964 arguments instead of signaling an error.
8965 (user-variable-p): Obsolete alias for custom-variable-p.
8966
8967 * apropos.el (apropos-variable):
8968 * files-x.el (read-file-local-variable):
8969 * simple.el (set-variable):
8970 * woman.el (woman-mini-help):
8971 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8972
fd06db5d
GM
89732012-04-09 Glenn Morris <rgm@gnu.org>
8974
e5fcdb5e
GM
8975 * startup.el (normal-top-level): Don't look for leim-list.el
8976 in places where it will not be found. (Bug#910)
8977
fd06db5d
GM
8978 * international/mule-cmds.el (set-default-coding-systems):
8979 * files.el (normal-mode):
8980 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8981 This function was removed with ucs-tables.el in 2008.
8982
b39bb7e1
EZ
89832012-04-08 Eli Zaretskii <eliz@gnu.org>
8984
8985 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8986 ispell-encoding8-command to "-i", without a trailing space.
8987 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8988 separate command-line arguments, to specify the encoding, since
8989 that's how hunspell expects it.
8990
5c5b8e23
GM
89912012-04-08 Glenn Morris <rgm@gnu.org>
8992
8993 * loadup.el: Load bindings before cus-start.
8994 This reduces somewhat the number of "rogue" settings in emacs -Q.
8995
a1ed8b05
GM
89962012-04-07 Glenn Morris <rgm@gnu.org>
8997
8998 * version.el (emacs-bzr-get-version): New function.
dfae128a 8999 (emacs-bzr-version): New variable.
a1ed8b05
GM
9000 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9001 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9002
b142f158
EZ
90032012-04-07 Eli Zaretskii <eliz@gnu.org>
9004
dfae128a
GM
9005 * international/uni-bidi.el, international/uni-category.el:
9006 * international/uni-combining.el, international/uni-decimal.el:
9007 * international/uni-decomposition.el, international/uni-digit.el:
9008 * international/uni-lowercase.el, international/uni-mirrored.el:
9009 * international/uni-name.el, international/uni-numeric.el:
9010 * international/uni-titlecase.el, international/uni-uppercase.el:
9011 Update for Unicode 6.1.
b142f158 9012
9078ead6
EZ
90132012-04-07 Eli Zaretskii <eliz@gnu.org>
9014
9015 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9016
f23d2c7d
LMI
90172012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9018
9019 * window.el (shrink-window): Mention the `window-min-height'
9020 variable in the doc string.
9021
0a0a3573
BG
90222012-04-05 Bastien Guerry <bzg@altern.org>
9023
9024 * color.el (color-lighten-name): Fix typo.
9025
e5248ac9
SM
90262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * server.el (server--on-display-p): New function.
9029 (server--on-display-p): Use it.
9030
b4243e22
GV
90312012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9032
9033 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9034 (bug#11145).
9035
305d9f44
SM
90362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * comint.el (comint--common-quoted-suffix): Check string boundary
9039 before comparing (bug#11158).
9040 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9041
3d439cd1
CY
90422012-04-04 Chong Yidong <cyd@gnu.org>
9043
321cc491
CY
9044 * minibuffer.el (completion-extra-properties): Doc fix.
9045
3d439cd1
CY
9046 * subr.el (delayed-warnings-hook): Doc fix.
9047
2d562c0f
DU
90482012-04-04 Daiki Ueno <ueno@unixuser.org>
9049
9050 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9051 selection (Bug#11159).
9052 (epa-insert-keys): Inform that the default public key will be
9053 exported if no key is selected.
9054
4443f204
RS
90552012-04-04 Richard Stallman <rms@gnu.org>
9056
9057 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9058
529c06b6
CY
90592012-04-03 Chong Yidong <cyd@gnu.org>
9060
9061 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9062 mail-insert-file, not its obsolete alias mail-attach-file.
9063
66b907dc
MA
90642012-04-03 Michael Albinus <michael.albinus@gmx.de>
9065
9066 * notifications.el (notifications-notify): Fix docstring.
9067
c0ea195d
GM
90682012-04-02 Glenn Morris <rgm@gnu.org>
9069
9070 * emacs-lisp/authors.el (authors-aliases): Another addition.
9071
5ca64e00
MA
90722012-04-02 Michael Albinus <michael.albinus@gmx.de>
9073
9074 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9075 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9076 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9077
42ee526b
CY
90782012-04-01 Chong Yidong <cyd@gnu.org>
9079
9080 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9081 Handle root directory properly.
9082 (copy-directory): Caller changed.
9083
9084 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9085 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9086
0b021094
GM
90872012-03-31 Glenn Morris <rgm@gnu.org>
9088
40f86458
GM
9089 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9090
7019c177
GM
9091 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9092
a1daddd6
GM
9093 * calendar/calendar.el (calendar-window-list)
9094 (calendar-hide-window): Restore. (Bug#11140)
9095 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9096
0b021094
GM
9097 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9098
40311efc
TV
90992012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9100
9101 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9102 Check if file is a symlink (Bug#10489).
9103
9104 * files.el (copy-directory): Likewise.
9105
5319014e
CY
91062012-03-30 Chong Yidong <cyd@gnu.org>
9107
9108 * image.el (imagemagick-types-inhibit)
9109 (imagemagick-register-types): Doc fix.
9110
935d1290
AM
91112012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9112
090bd7cb 9113 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9114 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9115 and treats ~word as ordinary words in pipe mode.
935d1290 9116
61c6e8fd
GM
91172012-03-30 Glenn Morris <rgm@gnu.org>
9118
9119 * tutorial.el (help-with-tutorial): Ensure local variables don't
9120 happen to make the buffer read-only. (Bug#11127)
9121
81fdff00
SM
91222012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9125 (perl-calculate-indent): Return `noindent' in strings.
9126
6e7a6ec0
SS
91272012-03-28 Sam Steingold <sds@gnu.org>
9128
9129 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9130 instead of the broken adhockery which does not prevent calendar
9131 buffers from being displayed at random after exit.
9132 (calendar-window-list, calendar-hide-window): Remove the broken
9133 adhockery.
9134
fee88ca0
GM
91352012-03-28 Glenn Morris <rgm@gnu.org>
9136
9137 * replace.el (query-replace-map): Doc fix.
9138
38de3354
AS
91392012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9140
9141 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9142 contents. (Bug#11109)
9143
b973155e
SM
91442012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9147 (bug#11077).
9148 (avl-tree--check, avl-tree--check-node): New funs.
9149
dcb6e7b3
MR
91502012-03-27 Martin Rudalics <rudalics@gmx.at>
9151
9152 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9153 (switch-to-prev-buffer, switch-to-next-buffer):
9154 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9155 showing a buffer already is done on the same frame.
9156
b4fa35fa
GM
91572012-03-27 Glenn Morris <rgm@gnu.org>
9158
9159 * startup.el (mail-host-address): Doc fix.
9160
f9210e18
SM
91612012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9164 than 197 variables.
9165
c0bf7753
AF
91662012-03-26 Ami Fischman <ami@fischman.org>
9167
9168 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9169
33da7b16
GM
91702012-03-26 Glenn Morris <rgm@gnu.org>
9171
02243d9d
GM
9172 * files.el (save-buffers-kill-emacs): Doc fix.
9173
33da7b16
GM
9174 * startup.el (normal-top-level, command-line, command-line-1):
9175 Give them doc strings.
9176
e5a69fd0
EZ
91772012-03-25 Eli Zaretskii <eliz@gnu.org>
9178
9179 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9180 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9181
9a69676a
CY
91822012-03-25 Chong Yidong <cyd@gnu.org>
9183
4125cb8b
CY
9184 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9185 theme if it was previously enabled before (Bug#11031).
9186
dd470960
CY
9187 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9188 spec with custom-face-get-current-spec if its :shown-value is not
9189 determined yet (Bug#9337).
4125cb8b 9190 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9191
9a69676a
CY
9192 * button.el (button-at): Minor addition to docstring.
9193
6e7e90fa
SL
91942012-03-24 Simon Leinen <simon.leinen@gmail.com>
9195
9196 * vc/vc.el (vc-merge): Fix a prompt.
9197
f06e2758
CY
91982012-03-24 Chong Yidong <cyd@gnu.org>
9199
9200 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9201 point (Bug#9623).
9202
6e7e90fa
SL
9203 * button.el (button-at): Minor addition to docstring.
9204
b9d0879b
SM
92052012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * newcomment.el (comment-choose-indent): No space after BOL.
9208
e71cebb3
SS
92092012-03-22 Sam Steingold <sds@gnu.org>
9210
9211 * window.el (switch-to-prev-buffer): Revert last patch because the
9212 bug turned out to be an advertised feature (Elisp manual 28.14).
9213
335aff35
GM
92142012-03-22 Glenn Morris <rgm@gnu.org>
9215
9216 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9217 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9218
c676576a
LMI
92192012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9220
9221 * net/network-stream.el (network-stream-open-starttls): Make error
9222 message under Windows be less misleading.
9223
126f3d39
LW
92242012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9225
9226 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9227 understands (bug#9942).
9228
64fee311
CY
92292012-03-22 Chong Yidong <cyd@gnu.org>
9230
9231 * simple.el (end-of-visible-line): Handle return value of
9232 next-single-property-change properly (Bug#9371).
9233
a640d29a
KH
92342012-03-22 Kenichi Handa <handa@m17n.org>
9235
9236 * international/quail.el (quail-insert-kbd-layout): Fix previous
9237 change. To avoid unwanted bidi reordering, use
9238 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9239
39675016
DG
92402012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9241
9242 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9243 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9244 (ruby-beginning-of-indent): Be more careful with the difference
9245 between word-boundary and symbol boundary.
9246 (ruby-mode-syntax-table): Make : a symbol constituent.
9247
0a6934fc 92482012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9249
3d008e4f
SM
9250 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9251
0a6934fc
SM
92522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253
af67c9d7
SM
9254 * progmodes/etags.el (tags-completion-at-point-function):
9255 Improve last fix.
9256
1acad97c
SM
9257 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9258
e298b5da
SS
92592012-03-21 Sam Steingold <sds@gnu.org>
9260
9261 * progmodes/etags.el (tags-completion-at-point-function):
9262 Avoid the error when point is inside the pattern.
9263
91d82a70
JY
92642012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9265
9266 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9267 line (Bug#10855).
9268
69188b79
CY
92692012-03-21 Drew Adams <drew.adams@oracle.com>
9270
9271 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9272
99fc91fe
AK
92732012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9274
9275 * ido.el (ido-set-current-directory, ido-read-internal)
9276 (ido-choose-completion-string, ido-completion-help): Handle nil
9277 value of ido-completion-buffer (Bug#11008).
9278
087bbb4c
SS
92792012-03-21 Sam Steingold <sds@gnu.org>
9280
9281 * window.el (switch-to-prev-buffer): Do not switch to a visible
9282 window previous buffer, just like with the frame previous buffers.
9283
fb5b8aca
CY
92842012-03-21 Chong Yidong <cyd@gnu.org>
9285
9286 * faces.el (make-face, make-empty-face, copy-face):
9287 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9288 Doc fixes.
9289
dc9924b8
SM
92902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9293 (widget-complete): Remove broken use of it.
9294
f0bcceb9
CY
92952012-03-20 Chong Yidong <cyd@gnu.org>
9296
dc9924b8
SM
9297 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9298 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9299 characters.
9300
ee52ebf3
TH
93012012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9302
9303 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9304 to draw rectangles, not squares. (Regression introduced by revno
9305 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9306
4c5779ab
CY
93072012-03-18 Chong Yidong <cyd@gnu.org>
9308
9309 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9310 it is not yet defined (for temacs).
9311
15360934
LL
93122012-03-18 Leo Liu <sdl.web@gmail.com>
9313
735135f9
PE
9314 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9315 prefix.
15360934 9316
d9a8eb66
EZ
93172012-03-17 Eli Zaretskii <eliz@gnu.org>
9318
9319 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9320 (ispell-choices-win-default-height, ispell-silently-savep)
9321 (ispell-dictionary-alist, ispell-encoding8-command)
9322 (ispell-check-version, ispell-aspell-find-dictionary)
9323 (ispell-valid-dictionary-list, ispell-words-keyword)
9324 (ispell-get-word, ispell-internal-change-dictionary)
9325 (ispell-region, ispell-skip-region-list)
9326 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9327 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9328 (ispell-message-text-end, ispell-message)
9329 (ispell-buffer-local-parsing): Doc fix.
9330
f02ff80d
J
93312012-03-13 Jambunathan K <kjambunathan@gmail.com>
9332
9333 * htmlfontify.el: Add support for code block fontification for ODT
9334 export (Bug #9914).
9335 (hfy-optimisations): Define new option
9336 `body-text-only'
9337 (hfy-fontify-buffer): Honor above setting.
9338 (hfy-begin-span, hfy-end-span): New routines factored out form
9339 `hfy-fontify-buffer'.
9340 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9341 that permit insertion of custom tags.
9342 (hfy-fontify-buffer): Use above handlers.
9343 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9344 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9345 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9346 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9347 bind a special variable `hfy-user-sheet-assoc'.
9348 (htmlfontify-string): New defun.
9349 (hfy-compile-face-map): Make sure that the last char in the
9350 buffer is correctly fontified.
9351 (hfy-face-resolve-face): Whitespace only change.
9352
9ac7a13f
EZ
93532012-03-17 Eli Zaretskii <eliz@gnu.org>
9354
9355 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9356 message more clear.
9357
e2b5bdd7
LL
93582012-03-16 Leo Liu <sdl.web@gmail.com>
9359
9360 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9361
2e492df3
AM
93622012-03-16 Alan Mackenzie <acm@muc.de>
9363
9364 Further optimise the handling of large macros.
9365
9366 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9367 limit to a call of `c-literal-limits'.
9368 (c-determine-+ve-limit): New function.
dc9924b8
SM
9369 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9370 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9371 In CASE 5B, restrict a search limit to 500.
9372 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9373
9374 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9375 Restrict macro bounds to +-500 from after-change's BEG END.
9376
50e94f0c
LL
93772012-03-16 Leo Liu <sdl.web@gmail.com>
9378
9379 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9380
6f09f6ed
AH
93812012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9382
9383 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9384 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9385
c7e73d51
GM
93862012-03-16 Glenn Morris <rgm@gnu.org>
9387
da986230
GM
9388 * view.el (view-buffer, view-buffer-other-window)
9389 (view-buffer-other-frame): Doc fixes re special mode-class.
9390
0835f01e
GM
9391 * subr.el (eval-after-load): If named feature is provided not from
9392 a file, run after-load forms. (Bug#10946)
9393
c7e73d51
GM
9394 * calendar/calendar.el (calendar-insert-at-column):
9395 Handle non-unit-width characters a bit better. (Bug#10978)
9396
3f2eafd1
CY
93972012-03-15 Chong Yidong <cyd@gnu.org>
9398
9399 * emacs-lisp/ring.el (ring-extend): New function.
9400 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9401
9402 * comint.el (comint-read-input-ring)
9403 (comint-add-to-input-history): Grow comint-input-ring lazily.
9404
103af3fe
SM
94052012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9406
663b1677
SM
9407 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9408 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9409
103af3fe
SM
9410 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9411 (imenu-add-to-menubar): Don't add a redundant index.
9412 (imenu-update-menubar): Handle a dynamically composed keymap.
9413
899cb7cb
KY
94142012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9415
9416 * mail/sendmail.el (mail-encode-header):
9417 Bind rfc2047-encode-encoded-words to nil.
9418
3809f91d
GM
94192012-03-13 Glenn Morris <rgm@gnu.org>
9420
9421 * calendar/calendar.el (calendar-string-spread):
9422 Handle non-unit-width characters a bit better. (Bug#10978)
9423
9e345a01
LL
94242012-03-13 Leo Liu <sdl.web@gmail.com>
9425
9426 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9427 directory and file as argument (Bug#10822).
9428
4a07df36
KS
94292012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9430
9431 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9432 For dynamically generated code, follow $PC.
9433 (gdb-disassembly-handler-custom): Handle no function name case.
9434
4aaa9356
TL
94352012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9436
9437 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9438 * emulation/ws-mode.el (ws-query-replace):
9439 * sort.el (sort-regexp-fields):
9440 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9441
225979da
SM
94422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * dabbrev.el: Fix cycle completion order (bug#10963).
9445 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9446 (dabbrev-completion): Don't use an obarray; provide
9447 a cycle-sort-function.
9448
e2f1fdab
LL
94492012-03-12 Leo Liu <sdl.web@gmail.com>
9450
dc9924b8 9451 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9452 (kill-do-not-save-duplicates): Doc fix.
9453
b19490ed
SM
94542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * dabbrev.el: Fix cycle completion (bug#10963).
9457 Use lexical binding and wrap to 80 columns.
9458 (dabbrev-completion): Delay computing the list of completions.
9459
4b05d722
KH
94602012-03-12 Kenichi Handa <handa@m17n.org>
9461
9462 * international/quail.el (quail-insert-kbd-layout): Surround each
9463 row by LRO and PDF instead of inserting many LRMs. Pad the left
9464 and right of each non-spacing marks. Insert invisible space
9465 between lower and upper characters to prevent composition.
9466
dbbc2e69
SM
94672012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * minibuffer.el (minibuffer-complete): Don't get confused when the
9470 function is run twice via different commands (bug#10958).
9471 (complete-with-action): Fix docstring.
9472
292112ed
CY
94732012-03-12 Chong Yidong <cyd@gnu.org>
9474
5d1ac394
CY
9475 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9476 (nxml-completion-at-point-function): New function.
9477 (nxml-mode): Use it.
9478 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9479
292112ed
CY
9480 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9481 Load generated autoloads file before byte compiling (Bug#10970).
9482 (package--make-autoloads-and-compile): New helper fun.
9483
4098f8f7
CS
94842012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9485
9486 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9487
8f754691
MA
94882012-03-11 Michael Albinus <michael.albinus@gmx.de>
9489
9490 * autorevert.el (auto-revert-handler): Ensure, that
9491 file-readable-p is applied only for local files or in
9492 auto-revert-tail-mode.
9493
e29ab36b
AS
94942012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9495
dbbc2e69
SM
9496 * server.el (server-eval-at): Handle non-tcp connections.
9497 Decode result string.
ad0bf5b6 9498
e29ab36b
AS
9499 * server.el (server-msg-size): New constant.
9500 (server-reply-print): New function.
9501 (server-eval-and-print): Use it.
9502 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9503 Handle -print-nonl.
9504
de5939ba
CS
95052012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9506
9507 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9508 (Bug#10987).
9509
0c93eabf
CY
95102012-03-11 Chong Yidong <cyd@gnu.org>
9511
397a688f
CY
9512 * simple.el (goto-line): Doc fix (Bug#9938).
9513
2cc775f9
CY
9514 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9515
0c93eabf
CY
9516 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9517 when finished (Bug#10963).
9518
c491fa41
MR
95192012-03-11 Martin Rudalics <rudalics@gmx.at>
9520
9521 * window.el (split-window-below): Fix bug in case where
9522 split-window-keep-point is nil (Bug#10971).
9523
300e8fa5
JL
95242012-03-11 Juri Linkov <juri@jurta.org>
9525
9526 * replace.el (replace-highlight): Set isearch-word to nil
9527 unconditionally. (Bug#10887)
9528
dbf6c5a1
EZ
95292012-03-10 Eli Zaretskii <eliz@gnu.org>
9530
9531 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9532 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9533 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9534 (mairix-widget-create-query): Add usage information about mairix
9535 search forms: negating words, searching for substrings, etc.
9536
b9e501de
JP
95372012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9538
9539 * international/fontset.el (font-encoding-alist): Add an entry for
9540 ksx1001 (Bug#5667).
9541
92795c91
RS
95422012-03-10 Richard Stallman <rms@gnu.org>
9543
1694e6c1
RS
9544 * mail/sendmail.el (mail-encode-header):
9545 Set rfc2047-encode-encoded-words.
9546
607e8555
RS
9547 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9548
de3bc99a
RS
9549 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9550 view buffer means not swapped.
9551 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9552 (rmail-write-region-annotate): Error if real text has disappeared.
9553
92795c91
RS
9554 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9555
699bd04e
CY
95562012-03-10 Chong Yidong <cyd@gnu.org>
9557
9558 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9559 * emulation/cua-base.el (cua--init-keymaps):
9560 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9561
570a1714
MR
95622012-03-10 Martin Rudalics <rudalics@gmx.at>
9563
dbbc2e69
SM
9564 * speedbar.el (speedbar-unhighlight-one-tag-line):
9565 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9566
82dcf4e4
CY
95672012-03-10 Chong Yidong <cyd@gnu.org>
9568
7a2c7ca7
CY
9569 * minibuffer.el (completion-in-region, completion-help-at-point):
9570 Give the completion field overlay a high priority (Bug#6830).
9571
82dcf4e4
CY
9572 * dired.el (dired-goto-file): Recognize absolute file name
9573 listings (Bug#7126).
9574 (dired-goto-file-1): New helper function.
9575 (dired-toggle-read-only): Inhibit warnings.
9576
052e28ac
MA
95772012-03-09 Michael Albinus <michael.albinus@gmx.de>
9578
75f1671a 9579 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9580 there are no properties.
9581
95d5e396
LL
95822012-03-09 Leo Liu <sdl.web@gmail.com>
9583
9584 * savehist.el (savehist-printable): Stricter check for string
9585 value (Bug#10937).
9586
3f018d6d
EZ
95872012-03-09 Eli Zaretskii <eliz@gnu.org>
9588
dbbc2e69
SM
9589 * mail/smtpmail.el (smtpmail-send-it):
9590 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9591 valid mbox format.
9592
f7fd3d79
GM
95932012-03-09 Glenn Morris <rgm@gnu.org>
9594
9595 * files.el (dir-locals-find-file):
9596 Don't check result is regular, readable.
9597 (dir-locals-read-from-file): Demote errors.
9598
6ff6e72f
EZ
95992012-03-08 Eli Zaretskii <eliz@gnu.org>
9600
dbbc2e69
SM
9601 * international/quail.el (quail-insert-kbd-layout):
9602 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9603 layout cell, to prevent their reordering by bidi display engine.
9604 For details, see the discussion in
9605 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9606
9cec7834
AM
96072012-03-08 Alan Mackenzie <acm@muc.de>
9608
9609 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9610 the starting position; make it extend the marked region when
9611 invoked repeatedly - all under appropriate circumstances.
9612 Fixes bugs #5525, #10906.
9613
9a40b8d4
GM
96142012-03-08 Glenn Morris <rgm@gnu.org>
9615
9616 * files.el (locate-dominating-file, dir-locals-find-file):
9617 Undo 2012-03-06 change.
9618
7a08ed35
EZ
96192012-03-07 Eli Zaretskii <eliz@gnu.org>
9620
dbbc2e69
SM
9621 * international/quail.el (quail-help):
9622 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9623 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9624 for the reason.
9625
5aca4f71 96262012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9627
9628 Avoid superfluous registering of signals. (Bug#10807)
9629
9630 * notifications.el (notifications-on-action-object)
9631 (notifications-on-close-object): New defvars.
9632 (notifications-on-action-signal, notifications-on-closed-signal):
9633 Unregister the signal if not needed any longer.
9634 (notifications-notify): Register `notifications-action-signal' or
9635 `notifications-closed-signal', if :on-action or :on-close has been
9636 passed as argument.
9637
78e8b10a
CY
96382012-03-07 Chong Yidong <cyd@gnu.org>
9639
9640 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9641 non-X platforms.
9642
69481eb8
GM
96432012-03-06 Glenn Morris <rgm@gnu.org>
9644
9645 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9646 (x-disown-selection-internal, x-get-selection-internal):
9647 Doc fix (add arglist signatures). (Bug#10783)
9648
133b8e11
KS
96492012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9650
9651 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9652 Handle breakpoints with no "type".
9653
99a83064
GM
96542012-03-06 Glenn Morris <rgm@gnu.org>
9655
9656 * files.el (locate-dominating-file): Add optional predicate argument.
9657 (dir-locals-find-file): Make use of above change.
9658
17798e78
TTN
96592012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9660
9661 * info.el (Info-insert-dir): Also try "dir.gz".
9662
eb182446
GM
96632012-03-06 Glenn Morris <rgm@gnu.org>
9664
8f2114ee
GM
9665 * files.el (dir-locals-find-file):
9666 Ignore non-readable or non-regular files. (Bug#10928)
9667
eb182446
GM
9668 * files.el (locate-dominating-file): Doc fix.
9669
24679323
AS
96702012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9671
9672 * calendar/calendar.el (calendar-set-mode-line):
9673 `getenv' returns a string. (Bug#10951)
9674
01d972a9
LL
96752012-03-05 Leo Liu <sdl.web@gmail.com>
9676
109aa8a9
LL
9677 * simple.el (backward-delete-char-untabify): Constrain point to
9678 field (Bug#10939).
9679
01d972a9
LL
9680 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9681
10607bea
CY
96822012-03-05 Chong Yidong <cyd@gnu.org>
9683
9684 * simple.el (count-words): If called from Lisp, return the word
9685 count, for symmetry with `count-lines'. Arglist changed.
9686 (count-words--message): Args changed. Consolidate counting code
9687 from count-words and count-words-region.
9688 (count-words-region): Caller changed.
9689 (count-lines-region): Make it an obsolete alias.
9690
5dd11cfe
TH
96912012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9692
9693 * saveplace.el (save-place-to-alist)
9694 (save-place-ignore-files-regexp): Allow value nil to disable this
9695 feature.
9696
c349f4e6
CY
96972012-03-04 Chong Yidong <cyd@gnu.org>
9698
9699 * faces.el (face-spec-reset-face): For the default face, reset the
9700 attributes to default values (Bug#10748).
9701
e627be4c
LMI
97022012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9703
9704 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9705 previous patch: Check `message-send-mail-function', and not the
9706 default function (bug#10897).
9707
ebeabff4
MA
97082012-03-04 Michael Albinus <michael.albinus@gmx.de>
9709
a41a6cf4
MA
9710 * notifications.el (notifications-on-action-signal)
9711 (notifications-on-closed-signal): Check for unique service name of
9712 incoming event. Fix error in removing entry.
ebeabff4 9713 (top): Register for signals with wildcard service name.
a41a6cf4 9714 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9715
c1ca42b4
CY
97162012-03-04 Chong Yidong <cyd@gnu.org>
9717
dc9924b8 9718 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9719
ea16568d
GM
97202012-03-04 Glenn Morris <rgm@gnu.org>
9721
9722 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9723 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9724 (expand-abbrev, define-abbrev-table): Doc fixes.
9725
fbae4637
LMI
97262012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9727
9728 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9729 `message-default-send-mail-function' and not `send-mail-function'
9730 when doing the prompting for `sendmail-query-once' before sending
9731 in Message buffers (bug#10897).
9732
a1e7225c
LMI
9733 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9734 This is inconsistent with all the other stream functions, which leave
9735 the setting up to the higher levels (if so wanted) (bug#10931).
9736
56d093a9
AM
97372012-03-02 Alan Mackenzie <acm@muc.de>
9738
9739 Depessimize the handling of very large macros.
9740
9741 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9742 (c-macro-cache-syntactic): New variables to implement a one
9743 element macro cache.
9744 (c-invalidate-macro-cache): New function.
9745 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9746 Adapt to use the new cache.
9747 (c-state-safe-place): Use better the cache of safe positions.
9748 (c-state-semi-nonlit-pos-cache)
9749 (c-state-semi-nonlit-pos-cache-limit):
9750 New variables for...
9751 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9752 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9753 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9754 Use c-state-semi-safe-place.
56d093a9 9755
dbbc2e69
SM
9756 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9757 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9758
817e5c3d
MA
97592012-03-02 Michael Albinus <michael.albinus@gmx.de>
9760
dbbc2e69
SM
9761 * jka-compr.el (jka-compr-call-process):
9762 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9763 not remote.
9764
a032a702
MA
97652012-03-01 Michael Albinus <michael.albinus@gmx.de>
9766
9767 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9768 access of FILE2, if FILE1 does not exist.
9769
99a54f21
MA
9770 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9771 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9772
9773 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9774 Add "PAGER=" to `process-environment'.
9775
f6561e1f
MM
97762012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9777
9778 * progmodes/sql.el: Bug fix
9779 (sql-get-login-ext): Save login values in globals.
9780 (sql-get-login): Use new version of `sql-get-login-ext'.
9781 (sql-interactive-mode): Set global `sql-connection' to nil.
9782 (sql-connect): Set global values for connection.
9783 (sql-product-interactive): Save global values as buffer local.
9784
2d44d9cc
LL
97852012-02-29 Leo Liu <sdl.web@gmail.com>
9786
9787 * abbrev.el (define-abbrevs): Reset sys to nil.
9788
96b49301 97892012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9790
bf7f9bc5
JB
9791 * files.el (file-equal-p): Rename from `files-equal-p'.
9792 Return nil when one or both files don't exist.
96b49301 9793 (file-subdir-of-p): Now only top directory must exists,
9794 return nil if it doesn't.
bf7f9bc5
JB
9795 (copy-directory): No need to test with `file-subdir-of-p' after
9796 creating dir.
9797 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9798 to `file-equal-p'.
96b49301 9799
44e97401
GM
98002012-02-28 Glenn Morris <rgm@gnu.org>
9801
9802 * shell.el (shell-mode):
9803 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9804 * play/landmark.el (landmark-font-lock-face-O):
9805 * play/handwrite.el (handwrite):
9806 * play/gomoku.el (gomoku-O):
9807 * net/browse-url.el (browse-url-browser-display):
9808 * international/mule.el (define-charset):
9809 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9810 * filesets.el (filesets-find-file-delay):
9811 * eshell/em-xtra.el (eshell-xtra):
9812 * eshell/em-unix.el (eshell-grep):
9813 * emulation/viper.el (viper-mode):
9814 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9815 * emacs-lisp/easymenu.el (easy-menu-define):
9816 * calendar/timeclock.el (timeclock-use-display-time):
9817 * bs.el (bs-mode):
9818 * bookmark.el (bookmark-save-flag):
9819 Doc fix (standardize possessive apostrophe usage).
9820
c98c6276
CY
98212012-02-27 Chong Yidong <cyd@gnu.org>
9822
bf7f9bc5
JB
9823 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9824 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9825
c98c6276
CY
9826 * font-lock.el (font-lock-specified-p): Rename from
9827 font-lock-spec-present. Callers changed.
9828
9c62cd04 98292012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9830
bf7f9bc5
JB
9831 * emacs-lisp/package.el (package-compute-transaction):
9832 Handle holding a package version to t in package-load-list.
8ac9e529 9833
530739c9
MA
98342012-02-26 Michael Albinus <michael.albinus@gmx.de>
9835
9836 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9837 (tramp-get-inode, tramp-get-device): Use cached values.
9838
487915d7
AM
98392012-02-26 Alan Mackenzie <acm@muc.de>
9840
9841 Check there is a font-lock specification before doing initial
9842 fontification.
9843
9844 * font-core.el (font-lock-mode): Move the conditional from
9845 :after-hook to font-lock-initial-fontify.
9846 (font-lock-default-function): Move the check for a specification
9847 to font-lock-spec-present.
9848
dc9924b8 9849 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9850 (font-lock-spec-present): New function.
9851
4fd96557
JB
98522012-02-26 Jim Blandy <jimb@red-bean.com>
9853
9854 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9855 (gdb-send): Apply it to the operand of the '-interpreter-exec
9856 console' command, so that we can pass arguments with (say) quotes
9857 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9858
9a4888c0
CY
98592012-02-26 Chong Yidong <cyd@gnu.org>
9860
07498861
CY
9861 * help-fns.el (describe-function-1): Clarify description of
9862 remapping (Bug#10844).
9863
9a4888c0
CY
9864 * files.el (files-equal-p): Doc fix.
9865 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9866 and quit the loop once a mismatch is found.
9867
ea8fb88d
JB
98682012-02-25 Juanma Barranquero <lekktu@gmail.com>
9869
9870 * bs.el (bs--show-with-configuration): Don't throw an error
9871 if the window cannot be split; otherwise, subsequent calls to
9872 bs-show fail, restoring a stale window config. (Bug#10882)
9873
525795c1
JD
98742012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9875
9876 * term/ns-win.el (global-map): Bind ns-drag-file to
9877 ns-find-file (Bug#5855, Bug#10050).
9878
f008086f
AS
98792012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9880
9881 * calendar/parse-time.el (parse-time-string): Allow extractor to
9882 return nil.
9883
a3fcfa99
MA
98842012-02-25 Michael Albinus <michael.albinus@gmx.de>
9885
91027d08
JB
9886 * net/tramp.el (tramp-file-name-for-operation):
9887 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9888
9889 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9890 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9891 Add COPY-CONTENTS argument.
a3fcfa99 9892
67b0de11
CY
98932012-02-25 Chong Yidong <cyd@gnu.org>
9894
9895 Add custom groups for VC backends, for consistency with vc-bzr.
9896
9897 * vc/vc-arch.el (vc-arch):
9898 * vc/vc-cvs.el (vc-cvs):
9899 * vc/vc-git.el (vc-git):
9900 * vc/vc-hg.el (vc-hg):
9901 * vc/vc-mtn.el (vc-mtn):
9902 * vc/vc-rcs.el (vc-rcs):
9903 * vc/vc-sccs.el (vc-sccs):
9904 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9905 All relevant defcustoms reassigned.
9906
3c9dfce6
CY
99072012-02-25 Chong Yidong <cyd@gnu.org>
9908
1339bf43
CY
9909 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9910
3c9dfce6
CY
9911 * term/x-win.el (x-initialize-window-system): Reduce default for
9912 x-selection-timeout to 5 seconds (Bug#8869).
9913
25b2e303 99142012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9915
ec70a47d
GM
9916 * files.el (files-equal-p, file-subdir-of-p): New functions.
9917 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9918 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9919 * dired-aux.el (dired-copy-file-recursive): Same.
9920 (dired-create-files): Modify destination when source is equal to
9921 dest when copying files.
53a46cd0 9922 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9923
914260cd
MA
99242012-02-24 Michael Albinus <michael.albinus@gmx.de>
9925
9926 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9927 (Bug#10874)
9928
2cb228f7
AM
99292012-02-23 Alan Mackenzie <acm@muc.de>
9930
9931 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9932 parameter "after-hook:" to allow the expansion to run code after
9933 the execution of the mode hooks.
9934
9935 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9936 from font-lock-mode-internal.
2cb228f7 9937
91027d08 9938 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9939 :after-hook.
9940
8f0fde21
SM
99412012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9942
3e88618b
SM
9943 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9944 (completion--cache-all-sorted-completions): New function.
9945 (completion-all-sorted-completions): Use it.
9946 (completion--do-completion, minibuffer-force-complete):
9947 Use it to re-instate the flush hook.
9948
8f0fde21
SM
9949 * icomplete.el (icomplete-completions): Replace last fix with a better
9950 one (bug#10850).
9951
8e911f6f
DG
99522012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9953
9954 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9955 when it might call us back infinitely (bug#10797).
9956
49fe4321
GM
99572012-02-23 Glenn Morris <rgm@gnu.org>
9958
9959 * minibuffer.el (completion-category-overrides): Doc fix.
9960
b291b572
SM
99612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9964 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9965
31a9ef2e
GM
99662012-02-23 Glenn Morris <rgm@gnu.org>
9967
5e6e6794 9968 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9969 (authors-obsolete-files-regexps, authors-ignored-files)
9970 (authors-ambiguous-files, authors-renamed-files-alist):
9971 Add more entries.
9972
0bd1e074
JL
99732012-02-23 Juri Linkov <juri@jurta.org>
9974
9975 * isearch.el (isearch-occur): Sync interactive spec with occur's
9976 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9977
b617673c
JL
9978 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9979
19e9789e
JL
99802012-02-22 Juri Linkov <juri@jurta.org>
9981
9982 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9983 (ucs-insert): Doc fix. Check for hex digits in the string.
9984 Don't display `nil' in the error message. (Bug#10857)
9985
f41ce09d
AM
99862012-02-22 Alan Mackenzie <acm@muc.de>
9987
7a71b18d 9988 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9989
ac2eceee
GM
99902012-02-22 Glenn Morris <rgm@gnu.org>
9991
9992 * ffap.el (ffap-c-path):
9993 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9994
abd1f678
CY
99952012-02-22 Chong Yidong <cyd@gnu.org>
9996
9997 * custom.el (load-theme): Doc fix.
9998
f25aef2e
GM
99992012-02-22 Glenn Morris <rgm@gnu.org>
10000
10001 * dired-x.el (dired-guess-shell-alist-default):
10002 Remove escape sequences from nroff output. (Bug#172)
10003
5f8dc2ca
GM
100042012-02-21 Glenn Morris <rgm@gnu.org>
10005
6ff86ec4
GM
10006 * vc/emerge.el (emerge-defvar-local):
10007 Set `permanent-local' property rather than unused `preserved'.
10008
be3223a3 10009 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10010 (picture-mode-map): Use it. (Bug#10860)
10011 (picture-mode): Doc fix.
10012
3fe58f4f
JB
100132012-02-21 Juanma Barranquero <lekktu@gmail.com>
10014
10015 * newcomment.el (uncomment-region-default): Remove unused binding.
10016
f9a998c3
GM
100172012-02-21 Glenn Morris <rgm@gnu.org>
10018
10019 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10020 (picture-self-insert, picture-tab-chars): Doc fix.
10021 (picture-mode-map): Fix C-a, C-e.
10022
c6029348
GM
100232012-02-20 Glenn Morris <rgm@gnu.org>
10024
10025 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10026
ab1ce9d7
LL
100272012-02-20 Leo Liu <sdl.web@gmail.com>
10028
10029 * icomplete.el (icomplete-completions): Check FROM arg before
10030 passing to substring (Bug#10850).
10031
0fd40f89
CY
100322012-02-19 Chong Yidong <cyd@gnu.org>
10033
10034 * comint.el: Require ansi-color.
10035 (comint-output-filter-functions): Add ansi-color-process-output.
10036
10037 * ansi-color.el: Don't set comint-output-filter-functions; it is
10038 now in the initial value defined in comint.el.
10039 (ansi-color-apply-face-function): New variable.
10040 (ansi-color-apply-on-region): Use it.
10041 (ansi-color-apply-overlay-face): New function.
10042
10043 * shell.el (shell): No need to require ansi-color.
10044 (shell-mode): Use ansi-color-apply-face-function to highlight
10045 color escapes using font-lock-face property (Bug#10835).
10046
20af2394
CY
100472012-02-19 Chong Yidong <cyd@gnu.org>
10048
10049 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10050 mode-line formats (Bug#10839).
10051
e23a3fbe
GM
100522012-02-18 Glenn Morris <rgm@gnu.org>
10053
b474519e
GM
10054 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10055
10056 * mail/undigest.el (unforward-rmail-message): Doc fix.
10057
e23a3fbe
GM
10058 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10059
57939ff4
EZ
100602012-02-18 Eli Zaretskii <eliz@gnu.org>
10061
10062 * international/characters.el (script-list): Sync with the latest
10063 Unicode Character Database.
10064
0c23686e
AS
100652012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10066
10067 * international/titdic-cnv.el: Remove duplicate coding tag.
10068 * language/cham.el: Likewise.
10069 * language/tai-viet.el: Likewise.
10070
6818b449
GM
100712012-02-18 Glenn Morris <rgm@gnu.org>
10072
10073 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10074 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10075 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10076 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10077 * calendar/holidays.el (holiday-bahai-holidays)
10078 (calendar-holidays, list-holidays):
10079 Use utf-8 Bahá'í in doc-strings, menus, etc.
10080
0311a3fc
TH
100812012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10082
10083 * saveplace.el (save-place-ignore-files-regexp): New variable
10084 allowing for excluding files from saving their location of point.
10085 The default value matches the temporary commit message editing
10086 files from Git, SVN, Bazaar, and Mercurial.
10087 (save-place-to-alist): Use it.
10088
d209e2fb 100892012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10090 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10091
10092 * newcomment.el (uncomment-region-default): Don't leave extra space
10093 when an arg is provided (bug#8150).
10094
ee0ce425
TZ
100952012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10096
eb864a71 10097 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10098
95ddf442
GM
100992012-02-17 Glenn Morris <rgm@gnu.org>
10100
10101 * net/socks.el: Require network-stream. (Bug#10599)
10102
48dd1e39 101032012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10104
10105 * international/charprop.el:
10106 * international/uni-name.el:
10107 * international/uni-old-name.el:
10108 * international/uni-comment.el: Regenerate.
10109
d68cd087
GM
101102012-02-16 Glenn Morris <rgm@gnu.org>
10111
10112 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10113 Interactively in calendar buffer, give an error if not on a date.
10114
13932042
GM
101152012-02-15 Glenn Morris <rgm@gnu.org>
10116
10117 * shell.el (shell-delimiter-argument-list):
10118 Revert 2011-02-17 change. (Bug#8027)
10119
c3a70e2b
CY
101202012-02-15 Chong Yidong <cyd@gnu.org>
10121
60236b0d
CY
10122 * minibuffer.el (completion-at-point-functions): Doc fix.
10123
c3a70e2b
CY
10124 * custom.el (defcustom): Doc fix; note use of defvar.
10125
9f26dc24
GM
101262012-02-15 Glenn Morris <rgm@gnu.org>
10127
10128 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10129 Doc fixes.
10130
6546b134
GM
101312012-02-14 Glenn Morris <rgm@gnu.org>
10132
10133 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10134
d29b2b4c
LI
101352012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10136
10137 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10138 way the ports list is computed.
835bdcba
LI
10139 (smtpmail-query-smtp-server): Prompt the user for a port number if
10140 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10141
08dcdbc9
TZ
101422012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10143
10144 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10145
2605051a
GM
101462012-02-13 Glenn Morris <rgm@gnu.org>
10147
10148 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10149
7ee99f32
TZ
101502012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10151
10152 * net/gnutls.el (gnutls-trustfiles): New variable.
10153 (gnutls-negotiate): Use it.
10154
5f0af64f
LI
101552012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10156
10157 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10158 does its stuff if Gnus is running.
10159
c14fcc95
AM
101602012-02-13 Alan Mackenzie <acm@muc.de>
10161
10162 Fix a loop in c-set-fl-decl-start.
10163
7a71b18d 10164 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10165 c-backward-syntactic-ws actually moves backwards.
10166
142b4d90
LL
101672012-02-13 Leo Liu <sdl.web@gmail.com>
10168
10169 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10170 beginning so that all \C-o chars are removed.
10171
fa9958a6
TZ
101722012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10173
dc9924b8 10174 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10175
0bc5886a
AM
101762012-02-12 Alan Mackenzie <acm@muc.de>
10177
10178 Fix infinite loop with long macros.
4d6769e1 10179 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10180
d4bd55e7
CY
101812012-02-12 Chong Yidong <cyd@gnu.org>
10182
10183 * window.el (display-buffer): Doc fix (Bug#10785).
10184
66f3fe22
GM
101852012-02-12 Glenn Morris <rgm@gnu.org>
10186
bd7da63e
GM
10187 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10188 (x-disown-selection-internal, x-get-selection-internal):
10189 Sync docs with the xselect.c versions.
10190
66f3fe22
GM
10191 * allout-widgets.el: Add missing license notice.
10192
3e0d2fa7
GM
101932012-02-11 Glenn Morris <rgm@gnu.org>
10194
cfecdf09
GM
10195 * select.el (x-get-selection-internal, x-own-selection-internal)
10196 (x-disown-selection-internal):
10197 * x-dnd.el (x-get-selection-internal): Update declarations.
10198
6d216d7f
GM
10199 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10200
2bed3f04
GM
10201 * window.el (window-sides-slots):
10202 * tool-bar.el (tool-bar-position):
10203 * term/xterm.el (xterm-extra-capabilities):
10204 * ses.el (ses-self-reference-early-detection):
10205 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10206 (verilog-auto-wire-type)
10207 (verilog-auto-delete-trailing-whitespace)
10208 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10209 (verilog-auto-tieoff-declaration):
10210 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10211 (sql-oracle-statement-starters, sql-oracle-scan-on):
10212 * progmodes/prolog.el (prolog-align-comments-flag)
10213 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10214 (prolog-left-indent-regexp, prolog-paren-indent-p)
10215 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10216 (prolog-types, prolog-mode-specificators)
10217 (prolog-determinism-specificators, prolog-directives)
10218 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10219 (prolog-electric-dot-flag)
10220 (prolog-electric-dot-full-predicate-template)
10221 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10222 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10223 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10224 (prolog-program-switches, prolog-prompt-regexp)
10225 (prolog-debug-on-string, prolog-debug-off-string)
10226 (prolog-trace-on-string, prolog-trace-off-string)
10227 (prolog-zip-on-string, prolog-zip-off-string)
10228 (prolog-use-standard-consult-compile-method-flag)
10229 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10230 (prolog-imenu-max-lines, prolog-info-predicate-index)
10231 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10232 (prolog-char-quote-workaround):
10233 * progmodes/cc-vars.el (c-defun-tactic):
10234 * net/tramp.el (tramp-encoding-command-interactive)
10235 (tramp-local-end-of-line):
10236 * net/soap-client.el (soap-client):
10237 * net/netrc.el (netrc-file):
10238 * net/gnutls.el (gnutls):
10239 * minibuffer.el (completion-category-overrides)
10240 (completion-cycle-threshold)
10241 (completion-pcm-complete-word-inserts-delimiters):
10242 * man.el (Man-name-local-regexp):
10243 * mail/feedmail.el (feedmail-display-full-frame):
10244 * international/characters.el (glyphless-char-display-control):
10245 * eshell/em-ls.el (eshell-ls-date-format):
10246 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10247 (lisp-lambda-list-keyword-parameter-indentation)
10248 (lisp-lambda-list-keyword-parameter-alignment):
10249 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10250 * dired-x.el (dired-omit-verbose):
10251 * cus-theme.el (custom-theme-allow-multiple-selections):
10252 * calc/calc.el (calc-highlight-selections-with-faces)
10253 (calc-lu-field-reference, calc-lu-power-reference)
10254 (calc-note-threshold):
10255 * battery.el (battery-mode-line-limit):
10256 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10257 (archive-7z-update):
10258 * allout.el (allout-prefixed-keybindings)
10259 (allout-unprefixed-keybindings)
10260 (allout-inhibit-auto-fill-on-headline)
10261 (allout-flattened-numbering-abbreviation):
10262 * allout-widgets.el (allout-widgets-auto-activation)
10263 (allout-widgets-icons-dark-subdir)
10264 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10265 (allout-widgets-theme-dark-background)
10266 (allout-widgets-theme-light-background)
10267 (allout-widgets-item-image-properties-emacs)
10268 (allout-widgets-item-image-properties-xemacs)
10269 (allout-widgets-run-unit-tests-on-load)
10270 (allout-widgets-time-decoration-activity)
10271 (allout-widgets-hook-error-post-time)
10272 (allout-widgets-track-decoration):
10273 Add missing :version tags to new defcustoms and defgroups.
10274
5fec1b8e
GM
10275 * progmodes/sql.el (sql-ansi-statement-starters)
10276 (sql-oracle-statement-starters): Add custom type.
10277
3e0d2fa7
GM
10278 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10279 (prolog-system-version): Give it a type.
10280
90b671e2
EZ
102812012-02-11 Eli Zaretskii <eliz@gnu.org>
10282
10283 * term/pc-win.el (x-select-text, x-selection-owner-p)
10284 (x-own-selection-internal, x-disown-selection-internal)
10285 (x-get-selection-internal): Sync doc strings and argument lists
10286 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10287
5eac0c02
LL
102882012-02-11 Leo Liu <sdl.web@gmail.com>
10289
10290 * progmodes/python.el (python-end-of-statement): Fix infinite
10291 loop. (Bug#10788)
10292
f82cb659
GM
102932012-02-10 Glenn Morris <rgm@gnu.org>
10294
10295 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10296 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10297
cc26d239
LI
102982012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10299
10300 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10301 about SMTP before checking the From header.
10302
91027d08 10303 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10304 into own function for reuse by emacsbug.el.
10305
1be3ca5a
LL
103062012-02-10 Leo Liu <sdl.web@gmail.com>
10307
10308 * subr.el (condition-case-unless-debug): Rename from
10309 condition-case-no-debug. All callers changed.
10310 (with-demoted-errors): Fix caller.
10311
10312 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10313 * nxml/rng-valid.el (rng-do-some-validation):
10314 * emacs-lisp/package.el (package-refresh-contents)
10315 (package-menu-execute):
10316 * desktop.el (desktop-create-buffer):
91027d08 10317 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10318
b011fbfe
GM
103192012-02-10 Glenn Morris <rgm@gnu.org>
10320
b2096d72
GM
10321 * textmodes/bibtex.el:
10322 Add missing :version tags for new/changed defcustoms.
10323
b011fbfe
GM
10324 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10325
4c7e65bf
LI
103262012-02-09 Lars Ingebrigtsen <larsi@rusty>
10327
10328 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10329 (smtpmail-via-smtp): Use it, or fall back on the From address.
10330 (smtpmail-send-it): Ditto.
10331
f3934f6f
SM
103322012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10335 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10336 (byte-compile-tmp-var): New const.
10337 (byte-compile-defvar): Use it to minimize .elc size.
10338 Just use `defvar' rather than simulate it (bug#10761).
10339
a075a2c5
GM
103402012-02-09 Glenn Morris <rgm@gnu.org>
10341
cf3aa21b
GM
10342 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10343
354998cd
GM
10344 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10345 Add :version tags.
10346
dc9924b8
SM
10347 * progmodes/compile.el (compilation-error-screen-columns)
10348 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10349
dab3703d
GM
10350 * vc/log-view.el (log-view-toggle-entry-display):
10351 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10352
3f88cd72
GM
10353 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10354 (report-emacs-bug-can-use-xdg-email):
10355 (report-emacs-bug-insert-to-mailer): Doc fixes.
10356 (report-emacs-bug): Message fix.
10357
d95b247d
GM
10358 * net/browse-url.el (browse-url-can-use-xdg-open)
10359 (browse-url-xdg-open): Doc fixes.
10360
a075a2c5
GM
10361 * electric.el (electric-indent-mode, electric-pair-mode)
10362 (electric-layout-rules, electric-layout-mode): Doc fixes.
10363 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10364
ffb6157e
MR
103652012-02-08 Martin Rudalics <rudalics@gmx.at>
10366
10367 * server.el (server-unselect-display): Don't inadvertently kill
10368 the current buffer. (Bug#10729)
10369
e1ac4066
GM
103702012-02-08 Glenn Morris <rgm@gnu.org>
10371
34e8a2da
GM
10372 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10373 (sql-list-table): Doc fixes.
10374
b4ac6e8c
GM
10375 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10376 Comment out (does nothing).
10377
e1ac4066
GM
10378 * completion.el (dynamic-completion-mode):
10379 * dirtrack.el (dirtrack-debug-mode):
10380 * electric.el (electric-layout-mode):
10381 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10382 * face-remap.el (text-scale-mode, buffer-face-mode):
10383 * iimage.el (iimage-mode):
10384 * image-mode.el (image-transform-mode):
10385 * minibuffer.el (completion-in-region-mode):
10386 * scroll-lock.el (scroll-lock-mode):
10387 * simple.el (next-error-follow-minor-mode):
10388 * tar-mode.el (tar-subfile-mode):
10389 * tooltip.el (tooltip-mode):
10390 * vcursor.el (vcursor-use-vcursor-map):
10391 * wid-browse.el (widget-minor-mode):
10392 * emulation/tpu-edt.el (tpu-edt-mode):
10393 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10394 * international/iso-ascii.el (iso-ascii-mode):
10395 * language/thai-util.el (thai-word-mode):
10396 * mail/supercite.el (sc-minor-mode):
10397 * net/goto-addr.el (goto-address-mode):
10398 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10399 * progmodes/cwarn.el (cwarn-mode):
10400 * progmodes/flymake.el (flymake-mode):
10401 * progmodes/glasses.el (glasses-mode):
10402 * progmodes/hideshow.el (hs-minor-mode):
10403 * progmodes/pascal.el (pascal-outline-mode):
10404 * textmodes/enriched.el (enriched-mode):
10405 * vc/smerge-mode.el (smerge-mode):
10406 Doc fixes (minor mode argument).
10407
5e0d957f
EZ
104082012-02-07 Eli Zaretskii <eliz@gnu.org>
10409
10410 * ls-lisp.el (ls-lisp-sanitize): New function.
10411 (ls-lisp-insert-directory): Use it to fix or remove any elements
10412 in file-alist with missing attributes. (Bug#4673)
10413
98d7371e
AM
104142012-02-07 Alan Mackenzie <acm@muc.de>
10415
10416 Fix spurious recognition of c-in-knr-argdecl.
10417
10418 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10419 putative K&R region.
10420
667ced3a
AM
104212012-02-07 Alan Mackenzie <acm@muc.de>
10422
eb864a71
LM
10423 * progmodes/cc-engine.el (c-forward-objc-directive):
10424 Prevent looping in "#pragma mark @implementation".
667ced3a 10425
5b77774d
MA
104262012-02-07 Michael Albinus <michael.albinus@gmx.de>
10427
10428 * notifications.el (notifications-on-closed-signal): Make `reason'
10429 optional. (Bug#10744)
10430
af008560
GM
104312012-02-07 Glenn Morris <rgm@gnu.org>
10432
60d47423
GM
10433 * emacs-lisp/easy-mmode.el (define-minor-mode):
10434 Doc fixes for the macro and the mode it defines.
10435
dd605cc4
GM
10436 * image.el (imagemagick-types-inhibit): Doc fix.
10437
af008560
GM
10438 * cus-start.el (imagemagick-render-type): Add it.
10439
5cc59a37
LI
104402012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10441
4d6769e1
JB
10442 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10443 Set the default at load time, too, so that `font-lock-fontify-buffer'
10444 can be called without setting up the entire mode first. This fixes
10445 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10446
9a6dd747
CY
104472012-02-06 Chong Yidong <cyd@gnu.org>
10448
2d16b285
CY
10449 * simple.el (list-processes--refresh): Delete exited processes
10450 (Bug#8094).
10451
171e9b6e
CY
10452 * comint.el (comint-next-prompt): next-single-char-property-change
10453 and prev-single-char-property-change never return nil (Bug#8657).
10454
9a6dd747
CY
10455 * custom.el (defcustom): Doc fix (Bug#9711).
10456
aa4589a7
CY
104572012-02-05 Chong Yidong <cyd@gnu.org>
10458
5c2a252f
CY
10459 * cus-edit.el (custom-variable-reset-backup): Quote the value
10460 before storing it in the customized-value property (Bug#6712).
4aab9006 10461 (custom-display): Add a customization type tag.
983b9602 10462 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10463
aa4589a7
CY
10464 * wid-edit.el (widget-field-value-get): New optional arg to
10465 suppress trailing whitespace truncation.
10466 (character): Use it (Bug#2689).
10467
1ff980ae
AS
104682012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10469
10470 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10471 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10472
03988c98
CY
104732012-02-05 Chong Yidong <cyd@gnu.org>
10474
eeb6cc88
CY
10475 * cus-edit.el (custom-variable-value-create): For mismatched
10476 types, show the current value (Bug#7600).
10477
03988c98
CY
10478 * custom.el (defcustom): Doc fix.
10479
f8cdeef0
GM
104802012-02-05 Glenn Morris <rgm@gnu.org>
10481
10482 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10483
0696d255
JB
104842012-02-05 Juanma Barranquero <lekktu@gmail.com>
10485
10486 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10487 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10488 (pp-last-sexp): Use `looking-at-p'.
10489
34c99998
GM
104902012-02-04 Glenn Morris <rgm@gnu.org>
10491
8f05da42
GM
10492 * files.el (revert-buffer):
10493 Doc fix (mention revert-buffer-in-progress-p).
10494
f160676e
GM
10495 * emacs-lisp/ert-x.el (ert-simulate-command):
10496 Check deferred-action-list (which is obsolete) is bound.
10497
c7291ad9
GM
10498 * subr.el (with-wrapper-hook): Doc fixes.
10499
34c99998
GM
10500 * simple.el (filter-buffer-substring-functions)
10501 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10502
6283a7d3
LL
105032012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10504
10505 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10506 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10507
e96e3013
LL
105082012-02-04 Leo Liu <sdl.web@gmail.com>
10509
10510 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10511
8ded50f2
GM
105122012-02-04 Glenn Morris <rgm@gnu.org>
10513
82ff1d13
GM
10514 * image.el (image-extension-data): Add obsolete alias.
10515
987a0a16
GM
10516 * isearch.el (isearch-update): Doc fix.
10517
ea32ef46
GM
10518 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10519
8ded50f2
GM
10520 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10521
eea14f31
GM
105222012-02-03 Glenn Morris <rgm@gnu.org>
10523
10524 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10525 (image-animate-timeout): Doc fix.
10526
10527 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10528
12f381b7
GM
105292012-02-02 Glenn Morris <rgm@gnu.org>
10530
953cebf5
GM
10531 * server.el (server-auth-dir): Doc fix.
10532 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10533
12f381b7
GM
10534 * subr.el (run-mode-hooks): Doc fix.
10535
953a8c3b
JL
105362012-02-02 Juri Linkov <juri@jurta.org>
10537
10538 * image-mode.el (image-toggle-display-image): Remove tautological
10539 `major-mode' from the `derived-mode-p' test.
10540
c5d3843c
KH
105412012-02-02 Kenichi Handa <handa@m17n.org>
10542
9f6e692e 10543 * composite.el (compose-region): Cancel previous change.
c5d3843c 10544
159462d4 105452012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10546
10547 * composite.el (compose-region, compose-string): Signal error for
10548 a null string component (Bug#6988).
10549
9f562668
CY
105502012-02-01 Chong Yidong <cyd@gnu.org>
10551
e2cef717
CY
10552 * view.el (view-buffer-other-window, view-buffer-other-frame):
10553 Handle special modes like view-buffer (Bug#10650).
10554 (view-buffer): Simplify.
10555
9f562668
CY
10556 * frame.el (set-frame-font): Tweak meaning of third argument.
10557
9f6e692e
JB
10558 * dynamic-setting.el (font-setting-change-default-font):
10559 Use set-frame-font (Bug#9982).
9f562668 10560
781acb9f
GM
105612012-02-01 Glenn Morris <rgm@gnu.org>
10562
6035be52
GM
10563 * progmodes/compile.el (compilation-internal-error-properties):
10564 Respect compilation-first-column in the "*compilation*" buffer.
10565
781acb9f
GM
10566 * emacs-lisp/easy-mmode.el (define-minor-mode):
10567 Relax :variable's test for a named function.
10568
abbceb00
AM
105692012-01-31 Alan Mackenzie <acm@muc.de>
10570
10571 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10572 off by one error.
10573
fce3fdeb
CY
105742012-01-31 Chong Yidong <cyd@gnu.org>
10575
10576 * frame.el (set-frame-font): New arg ALL-FRAMES.
10577
10578 * menu-bar.el (menu-set-font): Use set-frame-font.
10579
10580 * faces.el (face-spec-reset-face): Don't apply unspecified
10581 attribute values to the default face.
10582
47893581
JB
105832012-01-31 Juanma Barranquero <lekktu@gmail.com>
10584
10585 * progmodes/cwarn.el (cwarn): Remove dead link.
10586 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10587 Remove * from defcustom docstrings.
10588 (turn-on-cwarn-mode): Make obsolete.
10589 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10590 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10591
e58e988a
GM
105922012-01-31 Glenn Morris <rgm@gnu.org>
10593
60dc2671 10594 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10595 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10596 Allow named functions to be used as the cdr of :variable.
e58e988a 10597
7a3f511d
GM
105982012-01-30 Glenn Morris <rgm@gnu.org>
10599
10600 * emacs-lisp/authors.el (authors-fixed-entries):
10601 Remove reference to deleted file rnewspost.el.
10602
cb882333
JB
106032012-01-29 Juanma Barranquero <lekktu@gmail.com>
10604
10605 * window.el (window-with-parameter): Remove unused variable `windows'.
10606 (window--side-check): Remove unused variable `code'.
10607 (window--resize-siblings): Remove unused variable `first'.
10608 (adjust-window-trailing-edge): Remove unused variable `failed'.
10609 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10610 Use `let', not `let*'.
10611 (balance-windows-2): Remove unused variable `found'.
10612 (window--state-put-2): Remove unused variable `splits'.
10613 (window-state-put): Remove unused variable `selected'.
10614 (same-window-p): Use `string-match-p'.
10615 (display-buffer-assq-regexp): Remove unused variable `value'.
10616 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10617 Mark argument ALIST as ignored.
10618 (pop-to-buffer): Remove unused variable `old-window'.
10619
907201af
EZ
106202012-01-29 Eli Zaretskii <eliz@gnu.org>
10621
10622 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10623 and .lzma compressed files.
10624
ea162670
CY
106252012-01-29 Chong Yidong <cyd@gnu.org>
10626
5b95ee8a
CY
10627 * frame.el (window-system-default-frame-alist): Doc fix.
10628
ea162670
CY
10629 * dynamic-setting.el (font-setting-change-default-font): Don't
10630 change the default face if SET-FONT argument is non-nil (Bug#9982).
10631
d6e6f4b1
SB
106322012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10633
10634 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10635
0f29fa41 106362012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10637
10638 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10639 breakpoints in files outside current directory (Bug#6098).
10640
db174434
CY
106412012-01-29 Chong Yidong <cyd@gnu.org>
10642
6b25e4e2
SE
10643 * progmodes/python.el: Require ansi-color at top-level.
10644
6df6ae42
JB
10645 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10646 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10647 (lisp-mode-abbrev-table): Add doc.
10648 (lisp-mode-variables): Don't set local-abbrev-table.
10649 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10650
e70ee681
RW
106512012-01-28 Roland Winkler <winkler@gnu.org>
10652
10653 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10654
ace88aa2
RW
106552012-01-28 Roland Winkler <winkler@gnu.org>
10656
10657 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10658 (bibtex-set-dialect): Use it. Either set global values of
10659 dialect-dependent variables or bind these variables buffer-locally
10660 (Bug#10254).
10661 (bibtex-mode): Call bibtex-set-dialect via
10662 hack-local-variables-hook.
eb864a71
LM
10663 (bibtex-dialect): Update docstring.
10664 Add safe-local-variable predicate.
ace88aa2
RW
10665 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10666 bibtex-set-dialect.
10667 (bibtex-mode-map): Define menu for each dialect.
10668 (bibtex-entry): Fix docstring.
10669
93376c5b
CY
106702012-01-28 Chong Yidong <cyd@gnu.org>
10671
10672 * eshell/esh-arg.el (eshell-quote-argument): New function.
10673
10674 * eshell/esh-ext.el (eshell-invoke-batch-file):
10675 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10676 first arg to eshell-parse-command (Bug#10523).
10677
4372494f
DA
106782012-01-28 Drew Adams <drew.adams@oracle.com>
10679
10680 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10681 `default-directory' is non-nil.
10682
4d4ec1f8
EZ
106832012-01-28 Eli Zaretskii <eliz@gnu.org>
10684
10685 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10686 line that displays system-configuration-options. (Bug#9924)
10687
7c188927
DA
106882012-01-28 Drew Adams <drew.adams@oracle.com>
10689
10690 * descr-text.el (describe-char): Show information about POS, in
10691 addition to information about the character at POS. Improve and
10692 update the doc string. Change "code point" to "code point in
10693 charset", to avoid confusion with the character's Unicode code
10694 point shown above that. (Bug#10129)
10695
e0da685a
EZ
106962012-01-28 Eli Zaretskii <eliz@gnu.org>
10697
10698 * descr-text.el (describe-char): Show the raw character, not only
10699 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10700 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10701 for the reasons.
10702
70550acf
PH
107032012-01-28 Phil Hagelberg <phil@hagelb.org>
10704
eb864a71
LM
10705 * emacs-lisp/package.el (package-install):
10706 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10707
0ce8e868
CY
107082012-01-28 Chong Yidong <cyd@gnu.org>
10709
cb882333
JB
10710 * emacs-lisp/package.el (package-maybe-load-descriptor):
10711 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10712 (package-maybe-load-descriptor): Use it.
10713 (package-download-transaction): Fully load required packages
10714 inside the loop, so that `require' calls work (Bug#10593).
10715 (package-install): No need to call package-initialize now.
10716
2e7f3bea
CY
107172012-01-28 Chong Yidong <cyd@gnu.org>
10718
6e9bad14
CY
10719 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10720
f823b8ca
CY
10721 * tooltip.el (tooltip-mode): Doc fix.
10722 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10723
2680c309
CY
10724 * frame.el (set-cursor-color): Doc fix (Bug#352).
10725
d7a9e63b
CY
10726 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10727 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10728
2e7f3bea
CY
10729 * cus-edit.el (custom-buffer-create-internal): Fix search button
10730 action (Bug#10542).
2ae01800 10731 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10732
fc4f7a23
EW
107332012-01-27 Eduard Wiebe <usenet@pusto.de>
10734
10735 * dired.el (dired-mark-files-regexp):
10736 Include any subdirectory components. (Bug#10445)
10737
7dd37071
ML
107382012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10739
10740 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10741 Handle [host]:port syntax. (Bug#10533)
10742
a268160b
AH
107432012-01-27 Alex Harsanyi <harsanyi@mac.com>
10744
10745 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10746
e43273ef
GM
107472012-01-26 Glenn Morris <rgm@gnu.org>
10748
10749 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10750 * term.el (term-raw-escape-map): Use Control-X-prefix.
10751 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10752
1edf595d
MR
107532012-01-25 Martin Rudalics <rudalics@gmx.at>
10754
10755 * window.el (window-state-get, window--state-get-1): Don't deal
10756 with fixed-sizeness of windows. Simplify code.
10757
fa8eafef
JC
107582012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10759
6df6ae42
JB
10760 * window.el (window--state-get-1, window--state-put-2):
10761 Don't save and restore the mark.
fa8eafef 10762
0b21c100
CY
107632012-01-25 Chong Yidong <cyd@gnu.org>
10764
10765 * custom.el (custom-variable-p): Doc fix.
10766
5ae1a6c8
GM
107672012-01-25 Glenn Morris <rgm@gnu.org>
10768
40047858
GM
10769 * dired.el (dired-goto-file): Handle some of the more common
10770 characters that `ls -b' escapes. (Bug#10596)
10771
5ddce96c
GM
10772 * progmodes/compile.el (compilation-next-error-function):
10773 Respect compilation-first-column in the "*compilation*" buffer.
10774 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10775
5ae1a6c8
GM
10776 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10777
b559f1a9
GM
107782012-01-24 Glenn Morris <rgm@gnu.org>
10779
10780 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10781
6725d21a
JD
107822012-01-24 Julien Danjou <julien@danjou.info>
10783
10784 * color.el (color-rgb-to-hsl): Fix value computing.
10785 (color-hue-to-rgb): New function.
10786 (color-hsl-to-rgb): New function.
10787 (color-clamp, color-saturate-hsl, color-saturate-name)
10788 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10789 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10790
70df4bbe
GM
107912012-01-24 Glenn Morris <rgm@gnu.org>
10792
10793 * vc/vc-rcs.el (vc-rcs-create-tag):
10794 * vc/vc-sccs.el (vc-sccs-create-tag):
10795 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10796
802a2ae2
ML
107972012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10798
10799 * eshell/esh-util.el (eshell-read-hosts-file):
10800 Skip comment lines. (Bug#10549)
10801
d7128bb1
ML
10802 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10803
d1a5c3b4
JB
108042012-01-23 Juanma Barranquero <lekktu@gmail.com>
10805
2724d9c7
JB
10806 * subr.el (display-delayed-warnings): Doc fix.
10807 (collapse-delayed-warnings): New function to collapse identical
10808 adjacent warnings.
10809 (delayed-warnings-hook): Add it.
d1a5c3b4 10810
a5509865
MA
108112012-01-22 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10814
a5509865
MA
10815 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10816 (tramp-default-user-alist): Don't add "pscp".
10817 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10818 property "login-as", if set. (Bug#10530)
10819
cc6d5805
MA
108202012-01-21 Michael Albinus <michael.albinus@gmx.de>
10821
10822 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10823 "plink1" and "psftp". (Bug#10530)
10824
108252012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10826
10827 * international/mule-cmds.el (prefer-coding-system): Show a
10828 warning message if the default value of file-name-coding-system
10829 was not changed.
10830
f0960428
JC
108312012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10832
cb882333
JB
10833 * windmove.el (windmove-reference-loc):
10834 Fix windmove-reference-loc miscalculation.
f0960428 10835
dd6f2a63
JB
108362012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10837
10838 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10839 default unit.
10840
7b447e9b
GM
108412012-01-21 Glenn Morris <rgm@gnu.org>
10842
117a9ea1
GM
10843 * international/mule.el (auto-coding-alist): Add .tbz.
10844
7b447e9b
GM
10845 * files.el (local-enable-local-variables): Doc fix.
10846 (inhibit-local-variables-regexps): Rename from
10847 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10848 Doc fix. Add some extensions from auto-coding-alist.
10849 (inhibit-local-variables-suffixes):
10850 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10851 (inhibit-local-variables-p):
10852 New function, extracted from set-auto-mode-1.
10853 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10854 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10855 (hack-local-variables): Doc fix. Make the mode-only case
10856 respect enable-local-variables and friends.
10857 Respect inhibit-local-variables-regexps for file-locals, but
10858 not for directory-locals.
10859 (set-visited-file-name):
10860 Take account of inhibit-local-variables-regexps.
10861 Whether it applies may change as the file name is changed.
10862 * jka-cmpr-hook.el (jka-compr-install):
10863 * jka-compr.el (jka-compr-uninstall):
10864 Update for inhibit-first-line-modes-suffixes name change.
10865
dd6e3cdd
MR
108662012-01-20 Martin Rudalics <rudalics@gmx.at>
10867
10868 * help-macro.el (make-help-screen): Temporarily restore original
10869 binding for minor-mode-map-alist (Bug#10454).
10870
0d0deb38
JD
108712012-01-19 Julien Danjou <julien@danjou.info>
10872
10873 * color.el (color-name-to-rgb): Use the white color to find the max
10874 color component value and return correctly computed values.
10875 (color-name-to-rgb): Add missing float conversion for max value.
10876
34a02f46
MR
108772012-01-19 Martin Rudalics <rudalics@gmx.at>
10878
10879 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10880 special state value for window-persistent-parameters.
10881 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10882 (window--state-put-2): Reset all window parameters to nil before
10883 assigning values of persistent parameters.
10884
606c44c4
AM
108852012-01-18 Alan Mackenzie <acm@muc.de>
10886
10887 Eliminate sluggishness and hangs in fontification of "semicolon
10888 deserts".
10889
cb882333
JB
10890 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10891 Change value 10000 -> 3000.
606c44c4
AM
10892 (c-state-safe-place): Reformulate so it doesn't stack up an
10893 infinite number of wrong entries in c-state-nonlit-pos-cache.
10894 (c-determine-limit-get-base, c-determine-limit): New functions to
10895 determine backward search limits disregarding literals.
10896 (c-find-decl-spots): Amend commenting.
10897 (c-cheap-inside-bracelist-p): New function which detects "={".
10898
10899 * progmodes/cc-fonts.el
10900 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10901 backward search.
10902 (c-font-lock-declarations): Fix an occurrence of point being
10903 undefined. Check additionally for point being in a bracelist or
10904 near a macro invocation without a semicolon so as to avoid a
10905 fruitless time consuming search for a declarator. Give a more
10906 precise search limit for declarators using the new
10907 c-determine-limit.
10908
f3860cea
GM
109092012-01-18 Glenn Morris <rgm@gnu.org>
10910
10911 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10912 (set-auto-mode): Doc fixes.
10913
1db03b16
GM
109142012-01-17 Glenn Morris <rgm@gnu.org>
10915
0e6038be
GM
10916 * isearch.el (search-nonincremental-instead): Fix doc typo.
10917
1db03b16
GM
10918 * dired.el (dired-insert-directory): Handle newlines in directory name.
10919 (dired-build-subdir-alist): Unescape newlines in directory name.
10920
4cb0aa75
MA
109212012-01-17 Michael Albinus <michael.albinus@gmx.de>
10922
10923 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10924 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10925 (tramp-action-terminal): Use it. (Bug#10530)
10926
1d00653d
SM
109272012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10930
6a6ee00d
MR
109312012-01-16 Martin Rudalics <rudalics@gmx.at>
10932
10933 * window.el (window-state-ignored-parameters): Remove variable.
10934 (window--state-get-1): Rename argument MARKERS to IGNORE.
10935 Handle persistent window parameters. Make copy of clone-of
10936 parameter only if requested. (Bug#10348)
10937 (window--state-put-2): Install a window parameter only if it has
10938 a non-nil value or an existing parameter shall be overwritten.
10939
97912def
MA
109402012-01-15 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10943
688070a5
EZ
109442012-01-14 Eli Zaretskii <eliz@gnu.org>
10945
10946 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10947 don't pass the (nil) value of `upnode' to string-match.
10948
301afadc
CY
109492012-01-14 Chong Yidong <cyd@gnu.org>
10950
10951 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10952 Fix values recognized by the cursorBlink resource.
301afadc 10953
9e5788aa
PE
109542012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10955
10956 * epg.el (epg--make-temp-file): Avoid permission race condition
10957 when running on old Emacs versions (bug#10403).
10958
3cdb7f5a
GM
109592012-01-14 Glenn Morris <rgm@gnu.org>
10960
10961 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10962
8c82b1b4
AM
109632012-01-13 Alan Mackenzie <acm@muc.de>
10964
10965 Fix filling for when filladapt mode is enabled.
10966
10967 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10968 c-mask-paragraph, pass in `fill-paragraph' rather than
10969 `fill-region-as-paragraph'. (This is a reversion of a previous
10970 change.)
eb864a71
LM
10971 * progmodes/cc-mode.el (c-basic-common-init):
10972 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10973
e517eda4
GM
109742012-01-13 Glenn Morris <rgm@gnu.org>
10975
1498536e
GM
10976 * dired.el (dired-switches-escape-p): New function.
10977 (dired-insert-directory): Use dired-switches-escape-p.
10978 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10979
e517eda4
GM
10980 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10981
328f984d
GM
109822012-01-12 Glenn Morris <rgm@gnu.org>
10983
10984 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10985 changes in adaptive-fill-regexp. (Bug#10276)
10986
2cc769a8
AM
109872012-01-11 Alan Mackenzie <acm@muc.de>
10988
10989 Fix Emacs bug #10463 - put `widen's around the critical spots.
10990
1d00653d 10991 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10992 widen around each invocation of c-state-pp-to-literal. Remove an
10993 unused let variable.
10994
e52c37fa
GM
109952012-01-11 Glenn Morris <rgm@gnu.org>
10996
10997 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10998 Doc fix.
e52c37fa 10999
96f8741e
CY
110002012-01-10 Chong Yidong <cyd@gnu.org>
11001
1d00653d
SM
11002 * net/network-stream.el (network-stream-open-starttls):
11003 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11004 response to the capability command.
11005
b09a806e
GM
110062012-01-10 Glenn Morris <rgm@gnu.org>
11007
11008 * mail/unrmail.el (unrmail): Tweak previous change.
11009
7655cb66
CY
110102012-01-09 Chong Yidong <cyd@gnu.org>
11011
11012 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11013
9d5a8f0b
AM
110142012-01-08 Alan Mackenzie <acm@muc.de>
11015
11016 Optimise font locking in long enum definitions.
11017
11018 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11019 arm to a cond form to handle enums.
11020 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11021 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11022
9a0115ab 110232012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11024
11025 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11026 (Bug#10401)
6bb72cbd 11027
f186bb95
LMI
110282012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11029
29232a68
LMI
11030 * faces.el (set-face-attribute): Clarify the meaning of the nil
11031 frame (bug#10294).
11032
4e5d086d
LMI
11033 * subr.el (with-selected-frame): Mention that the selected frame
11034 is restored (bug#9980).
11035
8e66aebe
LMI
11036 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11037 (bug#9759).
11038
cd394be1 11039 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11040 (password-read): Don't autoload unused function.
11041
adf4e762
JB
110422012-01-07 Juanma Barranquero <lekktu@gmail.com>
11043
11044 * progmodes/which-func.el (which-func-mode): Turn into a
11045 non-interactive function and mark as obsolete (bug#10428).
11046
89bd9ccd
CY
110472012-01-06 Chong Yidong <cyd@gnu.org>
11048
11049 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11050 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11051 functions, along with 1 and -1.
11052
4afee9d5
EZ
110532012-01-06 Eli Zaretskii <eliz@gnu.org>
11054
11055 * time.el (display-time-load-average)
11056 (display-time-default-load-average): Doc fixes. See the thread
11057 starting at
11058 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11059 for the details.
11060
536aea70
GM
110612012-01-06 Glenn Morris <rgm@gnu.org>
11062
665ae865
GM
11063 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11064 has no messages. (Bug#10377)
11065
c869783d
GM
11066 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11067 than Info-edit. (Bug#10385)
11068
2bb4227e
GM
11069 * time.el (display-time-load-average, display-time-next-load-average):
11070 Doc fixes.
11071
7d5944b9
GM
11072 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11073 local setting of buffer-read-only to the input buffer. (Bug#10419)
11074
536aea70
GM
11075 * calendar/calendar.el (calendar-mode):
11076 Locally set scroll-margin to 0. (Bug#10379)
11077
7dccca16
UM
110782012-01-06 Ulrich Mueller <ulm@gentoo.org>
11079
11080 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11081
afbb7930
GM
110822012-01-05 Glenn Morris <rgm@gnu.org>
11083
11084 * eshell/em-unix.el (diff-no-select): Autoload it.
11085 (eshell/diff): Use diff-no-select. (Bug#10420)
11086
04482335
CY
110872012-01-05 Chong Yidong <cyd@gnu.org>
11088
7baca3bc
CY
11089 * shell.el (shell-dynamic-complete-functions): Revert last change.
11090 (shell-command-completion-function): New function.
11091 (shell-completion-vars): Use it to implement
11092 shell-completion-execonly (Bug#10417).
11093
04482335
CY
11094 * custom.el (enable-theme): Don't set custom-safe-themes.
11095
1d00653d
SM
11096 * cus-theme.el (custom-theme-merge-theme):
11097 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11098
bb5aa5d6
MM
110992012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11100
11101 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11102 first prompt in `sql-interacive-mode'.
11103 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11104 keywords.
6df6ae42 11105 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11106 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11107 context of original buffer. Invoke `sql-login-hook'.
11108
a7183d7c
EZ
111092012-01-04 Eli Zaretskii <eliz@gnu.org>
11110
11111 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11112 letters in cite-prefix.
11113
a1eacd1e
LMI
111142012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11115
11116 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11117
787cdb34
CY
111182012-01-03 Chong Yidong <cyd@gnu.org>
11119
1d00653d
SM
11120 * shell.el (shell-dynamic-complete-functions):
11121 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11122 comint-filename-completion first (Bug#10417).
11123
30710442
RS
111242012-01-02 Richard Stallman <rms@gnu.org>
11125
11126 * battery.el (battery-status-function):
11127 Detect when to use battery-yeeloong-sysfs.
11128 (battery-echo-area-format): Add string for Yeeloong.
11129 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11130 (battery-yeeloong-sysfs): New function.
11131
f75bfc33
CY
111322012-01-02 Chong Yidong <cyd@gnu.org>
11133
11134 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11135 (dirtrack): Merge code for handling relative filenames in prompt
11136 from shell-dir-cookie-watcher.
11137 (dirtrack-debug-message): New arg to avoid excess format calls.
11138
11139 * shell.el (shell-dir-cookie-re): Variable deleted.
11140 (shell-dir-cookie-watcher): Function deleted.
11141 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11142 with dirtrack-mode.
11143
651e947e
EZ
111442012-01-01 Eli Zaretskii <eliz@gnu.org>
11145
1d00653d
SM
11146 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11147 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11148 libgnutls-26.dll.
11149
94d4c7dc
AS
111502011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11151
11152 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11153
8d43f3cd
EZ
111542011-12-31 Eli Zaretskii <eliz@gnu.org>
11155
11156 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11157 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11158
98c8795a
MA
111592011-12-29 Michael Albinus <michael.albinus@gmx.de>
11160
11161 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11162 also for alternative shells.
11163 (tramp-open-connection-setup-interactive-shell): Check, whether
11164 the shell is a busybox.
11165 (tramp-send-command): Don't suppress multiple prompts for
11166 busyboxes, it hurts.
11167
51281b32
CY
111682011-12-28 Chong Yidong <cyd@gnu.org>
11169
11170 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11171 (gdb-get-source-file): Move mode line update to
11172 gdb-get-source-file (Bug#10087).
11173
2170cb53
CY
111742011-12-25 Chong Yidong <cyd@gnu.org>
11175
11176 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11177 gud-gdb-marker-filter without taking it as an argument.
11178 (gud-gdb-run-command-fetch-lines): Caller changed.
11179 (gud-gdb-completion-function): New variable.
11180 (gud-gdb-completion-at-point): Use it.
11181 (gud-gdb-completions-1): Split from gud-gdb-completions.
11182
11183 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11184 function as separate arguments.
11185 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11186 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11187 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11188 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11189 (gdb-stopped, def-gdb-auto-update-trigger)
11190 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11191 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11192 Callers changed.
2170cb53
CY
11193 (gud-gdbmi-completions): New function.
11194 (gdb): Use it for generating the completion table.
11195
be8b11bb
AM
111962011-12-24 Alan Mackenzie <acm@muc.de>
11197
11198 Introduce a mechanism to widen the region used in context font
1d00653d 11199 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11200
1d00653d
SM
11201 * progmodes/cc-langs.el (c-before-font-lock-functions):
11202 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11203 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11204 functions to be run just before context (etc.) font locking.
11205
11206 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11207 New, functionality extracted from
be8b11bb 11208 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11209 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11210 (c-after-change): Set c-in-after-change-fontification.
11211 (c-set-fl-decl-start): Rejig its interface, so it can be called
11212 from both after-change and context fontifying.
b81d40f0
JB
11213 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11214 New functions.
11215 (c-standard-font-lock-fontify-region-function): New variable.
11216 (c-font-lock-fontify-region): New function.
be8b11bb 11217
341cf6ac
JL
112182011-12-24 Juri Linkov <juri@jurta.org>
11219
11220 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11221 (Bug#10348)
11222
bffcee0a
MA
112232011-12-23 Michael Albinus <michael.albinus@gmx.de>
11224
11225 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11226 existence of source file. (Bug#10325)
11227
cb5e207c
AM
112282011-12-23 Alan Mackenzie <acm@muc.de>
11229
11230 Fix unstable fontification inside templates.
11231
b81d40f0
JB
11232 * progmodes/cc-langs.el (c-before-font-lock-functions):
11233 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11234 additionally has c-set-fl-decl-start. The other languages (apart
11235 from AWK) have that as a single entry.
11236
b81d40f0
JB
11237 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11238 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11239 c-set-fl-decl-start.
11240
b81d40f0
JB
11241 * progmodes/cc-mode.el (c-common-init, c-after-change):
11242 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11243 (c-set-fl-decl-start): New function, extracted from
11244 c-font-lock-enclosing-decls and enhanced.
11245
60ff536c
JB
112462011-12-23 Juanma Barranquero <lekktu@gmail.com>
11247
11248 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11249
1c4757d6
JL
112502011-12-22 Juri Linkov <juri@jurta.org>
11251
11252 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11253
d031f2c7
CY
112542011-12-22 Chong Yidong <cyd@gnu.org>
11255
11256 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11257
bace743a
DA
112582011-12-21 Drew Adams <drew.adams@oracle.com>
11259
11260 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11261
728a1f2b
JC
112622011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11263
11264 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11265
0d373f73
TZ
112662011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11267
fec0aaa4
TZ
11268 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11269 highlighting and support. Fix up comments for capitalization.
11270 (cfengine-mode-debug): New var.
11271 (cfengine3-mode): Change the modeline indicator to "CFE3".
11272 (cfengine3-font-lock-keywords): Improve defun highlighting.
11273 (cfengine2-actions): Rename from `cfengine-actions'.
11274 (cfengine2-font-lock-keywords): Rename from
11275 `cfengine-font-lock-keywords'.
11276 (cfengine2-imenu-expression): Rename from
11277 `cfengine-imenu-expression'.
11278 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11279 (cfengine2-beginning-of-defun): Rename from
11280 `cfengine-beginning-of-defun'.
11281 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11282 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11283 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11284 modeline indicator to "CFE2".
11285 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11286 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11287
bc86f573
CY
112882011-12-21 Chong Yidong <cyd@gnu.org>
11289
11290 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11291 filename argument.
11292
d45ba96b
MR
112932011-12-20 Martin Rudalics <rudalics@gmx.at>
11294
11295 * window.el (window-normalize-buffer-to-display): Remove.
11296 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11297
a6198c90
CY
112982011-12-19 Chong Yidong <cyd@gnu.org>
11299
11300 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11301 Don't signal an error in a predicate function; return non-nil.
11302 (vc-dir-mark-file): Move the error here.
11303 (vc-dir-mark-unmark): If acting on the region, keep going if one
11304 of the entries cannot be marked/unmarked.
11305 (vc-dir-mark-all-files): If current entry is a directory, mark
11306 only child files, as documented.
11307
34c5fb55
VB
113082011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11309
11310 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11311 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11312 addition.
11313
c803b2b7
JD
113142011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11315
11316 * term/ns-win.el (ns-get-selection-internal)
11317 (ns-store-selection-internal): Declare.
1154d12e
JB
11318 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11319 Declare as obsolete.
11320 (ns-get-pasteboard, ns-paste-secondary):
11321 Use ns-get-selection-internal.
41e9b956 11322 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11323 Use ns-store-selection-internal.
c803b2b7 11324
9cff91f8 113252011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11326
11327 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11328 (vc-deduce-fileset): Doc fix.
99a289d9 11329
f16c898a
AS
113302011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11331
11332 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11333
763237c4
SS
113342011-12-13 Sam Steingold <sds@gnu.org>
11335
11336 * man.el (Man-getpage-in-background): When running under a
11337 window-system, ignore $MANWIDTH and $COLUMNS.
11338
5fc1c122
KH
113392011-12-15 Kenichi Handa <handa@m17n.org>
11340
11341 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11342 (setup-ethiopic-environment-internal): Comment out key-binding for
11343 ethio-toggle-punctuation.
11344
13d49cbb
AM
113452011-12-13 Alan Mackenzie <acm@muc.de>
11346
898169a2
AM
11347 Add the switch statement to AWK Mode.
11348
7a71b18d 11349 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11350 "default" to the keywords regexp.
11351
7a71b18d 11352 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11353 expression as the rest.
1d00653d
SM
11354 (c-nonlabel-token-key): Allow string literals for AWK.
11355 Refactor for the other modes.
898169a2 11356
13d49cbb 11357 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11358 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11359 routines. Limit backward searching in c-font-lock-enclosing.decl.
11360
11361 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11362 pp-state and literal type in addition to the limits.
1d00653d 11363 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11364 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11365 (c-slow-in-literal, c-fast-in-literal): Remove.
11366 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11367
11368 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11369 being in a literal. Add a limit for backward searching.
11370
11371 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11372 c-slow-in-literal.
11373
15e0efc7
SM
113742011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11377
454592a6
MR
113782011-12-13 Martin Rudalics <rudalics@gmx.at>
11379
11380 * window.el (delete-other-windows): Use correct frame in call to
11381 window-with-parameter.
11382
87393f26
DP
113832011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11384
11385 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11386 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11387 (makefile-gmake-statements, makefile-makepp-statements):
11388 Use it and add new makepp keywords.
11389 (makefile-makepp-font-lock-keywords): Add new patterns.
11390 (makefile-match-function-end): Match new [...] and [[...]].
11391
11636b22
JB
113922011-12-11 Juanma Barranquero <lekktu@gmail.com>
11393
11394 * ses.el (ses-call-printer-return, ses-cell-property-get)
11395 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11396 (ses-create-cell-variable, ses-reset-header-string)
11397 (ses-cell-set-formula, ses-repair-cell-reference-all)
11398 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11399 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11400 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11401 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11402 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11403 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11404 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11405 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11406 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11407 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11408 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11409 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11410
cf018193
VB
114112011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11412
11413 * ses.el: The overall change is to add cell renaming, that is
11414 setting fancy names for cell symbols other than name matching
11415 "\\`[A-Z]+[0-9]+\\'" regexp .
11416 (ses-create-cell-variable): New defun.
11417 (ses-relocate-formula): Relocate formulas only for cells the
11418 symbols of which are not renamed, i.e. symbols whose names do not
11419 match regexp "\\`[A-Z]+[0-9]+\\'".
11420 (ses-relocate-all): Relocate values only for cells the symbols of
11421 which are not renamed.
11422 (ses-load): Create cells variables as the (ses-cell ...) are read,
11423 in order to check row col consistency with cell symbol name only
11424 for cells that are not renamed.
11425 (ses-replace-name-in-formula): New defun.
11426 (ses-rename-cell): New defun.
11427
ee957461
CY
114282011-12-11 Chong Yidong <cyd@gnu.org>
11429
11430 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11431 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11432
9a9e9ef0
MR
114332011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11434
11435 * window.el (other-window): Fix docstring.
11436
92a8eba5
EZ
114372011-12-10 Eli Zaretskii <eliz@gnu.org>
11438
11439 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11440 `from' or `to' address before taking its substring.
11441 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11442 encoded name is chopped in the middle of the encoded string, and
11443 thus displayed encoded.
11444
e152e577
JB
114452011-12-10 Juanma Barranquero <lekktu@gmail.com>
11446
11447 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11448
e5d84bfe
EZ
114492011-12-10 Eli Zaretskii <eliz@gnu.org>
11450
11451 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11452 to use texinfo-update-node and commands that call it if the
11453 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11454 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11455 (texinfo-all-menus-update, texinfo-master-menu)
11456 (texinfo-update-node, texinfo-every-node-update)
11457 (texinfo-multiple-files-update): Doc fix. Warn against updating
11458 all the @node lines.
11459 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11460 argument is numeric. Explain better in the doc string what the
11461 function really does.
11462 (texinfo-insert-master-menu-list): Improve the error message
11463 displayed if there's no menu in the Top node.
11464 (Bug#2975) See also this thread:
e5d84bfe
EZ
11465 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11466
1d84e9bb
MG
114672011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11468
11469 * speedbar.el (speedbar-supported-extension-expressions):
11470 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11471
382c953b
JB
114722011-12-09 Juanma Barranquero <lekktu@gmail.com>
11473
11474 * printing.el (pr-mode-alist):
11475 * simple.el (filter-buffer-substring-functions)
11476 (completion-list-insert-choice-function):
11477 * window.el (window-with-parameter, window-atom-root)
11478 (window-sides-slots, window-size-fixed, window-min-delta)
11479 (window-max-delta, window--resize-mini-window)
11480 (window--resize-child-windows-normal, window-tree)
11481 (delete-other-windows, quit-window, split-window)
11482 (display-buffer-record-window, special-display-buffer-names)
11483 (special-display-regexps, special-display-popup-frame)
11484 (same-window-p, split-window-sensibly)
11485 (display-buffer-overriding-action, display-buffer-alist)
11486 (display-buffer-base-action, display-buffer, switch-to-buffer)
11487 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11488 (fit-window-to-buffer, recenter-positions)
11489 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11490 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11491 and remove unneeded backslashes in docstrings.
11492
39c9faef
SM
114932011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11494
98449af8
SM
11495 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11496
39c9faef
SM
11497 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11498 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11499 end in ".mk".
11500 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11501 when reading the makefile (bug#10116).
11502
86ed9fdc
SM
115032011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11506 (bug#10116).
11507
5580f89d
GM
115082011-12-06 Glenn Morris <rgm@gnu.org>
11509
11510 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11511
28d3917c
CY
115122011-12-06 Chong Yidong <cyd@gnu.org>
11513
11514 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11515
a98edce9
JB
115162011-12-06 Juanma Barranquero <lekktu@gmail.com>
11517
11518 * textmodes/table.el (table-shorten-cell): Fix typo.
11519
e65adfac
CG
115202011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11521
11522 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11523
71cc0b74
EZ
115242011-12-05 Eli Zaretskii <eliz@gnu.org>
11525
11526 * descr-text.el (describe-char): Fix display of strong
11527 right-to-left characters and directional embeddings and overrides.
11528
11529 * simple.el (what-cursor-position): Fix display of codepoints of
11530 strong right-to-left characters.
11531
315bc30d
CY
115322011-12-05 Chong Yidong <cyd@gnu.org>
11533
11534 * faces.el (read-color): Doc fix.
11535
58a70b94
GM
115362011-12-05 Glenn Morris <rgm@gnu.org>
11537
11538 * align.el (align--set-marker): Add doc-string.
11539 Don't try to move something that is not a marker. (Bug#10216)
11540
5158face
GM
115412011-12-04 Glenn Morris <rgm@gnu.org>
11542
11543 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11544 overly zealous deletion of trailing whitespace.
11545
520fca41
JB
115462011-12-04 Juanma Barranquero <lekktu@gmail.com>
11547
11548 * server.el (server-delete-client): On Windows, do not try to delete
11549 the only terminal.
11550 (server-process-filter): On Windows, treat requests for a tty frame as
11551 if they were for a GUI frame if the running server is in GUI mode.
11552
5e605a2e
GM
115532011-12-03 Glenn Morris <rgm@gnu.org>
11554
11555 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11556
5c3fe83f
SM
115572011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11558
6f5e57e7
SM
11559 * electric.el: Streamline electric-indent's hook.
11560 (electric-indent-chars): Revert to simple list.
11561 (electric-indent-functions): New var.
11562 (electric-indent-post-self-insert-function): Use it.
11563
5c3fe83f
SM
11564 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11565 there's no inferior buffer (bug#10196).
11566 (prolog-consult-compile): Don't use toggle-read-only.
11567
6bdac736
MA
115682011-12-02 Michael Albinus <michael.albinus@gmx.de>
11569
11570 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11571 interrupt. (Bug#10187)
11572
6131ba7f
SM
115732011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11574
99c79fee
SM
11575 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11576 (bug#9160).
11577
6131ba7f
SM
11578 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11579 (bug#10191).
11580
cb0a02ea
JL
115812011-12-02 Juri Linkov <juri@jurta.org>
11582
11583 * info.el (Info-search): Display "end of manual" when Isearch
11584 reaches the end of single-file Info manual. (Bug#9918)
11585
66e0570c
EZ
115862011-12-02 Eli Zaretskii <eliz@gnu.org>
11587
11588 * isearch.el (isearch-message-prefix): Run the input method part
11589 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11590
02b16839
JL
115912011-12-02 Juri Linkov <juri@jurta.org>
11592
11593 * isearch.el (isearch-occur): Use `word-search-regexp' for
11594 `isearch-word'.
11595 (isearch-search-and-update): Add condition for `isearch-word' and
11596 call `word-search-regexp'. (Bug#10145)
11597
0b950688
GM
115982011-12-01 Glenn Morris <rgm@gnu.org>
11599
11600 * eshell/em-hist.el (eshell-hist-initialize):
11601 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11602 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11603
9505c3c7
SM
116042011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11605
11606 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11607
1bbe96b2 116082011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11609
a1beca85
SM
11610 * progmodes/verilog-mode.el (verilog-pretty-expr):
11611 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11612 verilog, such as += *= and the like.
11613 (verilog-assignment-operator-re): Regular expression to find the
11614 assigment operator in a verilog assignment.
11615 (verilog-assignment-operation-re): Regular expression to find an
11616 assignment statement for pretty-expr.
11617 (verilog-in-attribute-p): Query returns true if point is in an
11618 attribute context; used to skip these for expression line up from
11619 pretty-expr.
11620 (verilog-in-parameter-p): Query returns true if point is in an
11621 parameter definition context; used to skip these for expression
11622 line up from pretty-expr.
11623 (verilog-in-parenthesis-p): Query returns true if point is in a
11624 parenthetical expression, specifically ( ) but not [ ] or { };
11625 used by pretty-expr.
11626 (verilog-just-one-space): If there is no space, don't add one.
11627 (verilog-get-lineup-indent-2): Specifically skip just attribute
11628 contexts for expression lineup, rather than skipping all
11629 parenthetical expressions.
11630 (verilog-calculate-indent): Fix comment, and fix indent.
11631 (verilog-do-indent): Indent declarations in lists (suggested by
11632 Joachim Lechner).
11633 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11634 skeleton items.
11635 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11636 by Alain Mellan).
11637
1bbe96b2 116382011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11639
11640 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11641 parameters with embedded comments. Reported by Ray Stevens.
11642 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11643 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11644 Reported by Tim Holt.
11645 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11646 instantiated by upper module causing wrong expansion until AUTOed a
11647 second time. Reported by K C Buckenmaier.
11648 (verilog-diff-auto): Fix showing .* as a difference when
11649 `verilog-auto-star-save' off. Reported by Dan Dever.
11650 (verilog-auto-reset, verilog-read-always-signals)
11651 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11652 temporary signals in reset list if
11653 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11654 style to each signal's assignment type, bug381.
11655 Reported by Thomas Esposito.
6288f0ca
WS
11656 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11657 (verilog-uvm-statement-re): Support UVM indentation and
11658 highlighting, with old OVM keywords only.
a1beca85 11659 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11660 Support AUTOTIEOFF creating non-wire data types.
11661 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11662 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11663 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11664 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11665 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11666 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11667 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11668 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11669 non-numeric vector width. Reported by Alex Reed.
11670 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11671 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11672 (verilog-auto-delete-trailing-whitespace):
11673 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11674 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11675 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11676 Fix verilog-scan-cache corruption when running user AUTO expansion
11677 hooks that call indentation routines.
11678 (verilog-simplify-range-expression): Fix typo ignoring lower case
11679 identifiers.
11680 (verilog-delete-auto): Fix delete-autos to also remove user created
11681 automatics, as long as they start with AUTO.
11682 (verilog-batch-diff-auto, verilog-diff-auto)
11683 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11684 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11685 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11686 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11687 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11688 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11689 is disabled and its cache will get corrupt, causing AUTOS not to
11690 expand. Instead use only -quick functions.
11691 (verilog-scan-region): Fix scanning over escaped quotes.
11692 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11693 (verilog-re-search-backward-quick)
11694 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11695 related functions now ignore strings, to fix misparsing of strings
11696 with magic comments embedded in them.
a1beca85
SM
11697 (verilog-read-auto-template):
11698 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11699 Reported by Brad Dobbie.
11700 (verilog-read-auto-template):
11701 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11702 Reported by Brad Dobbie.
6288f0ca
WS
11703 (verilog-auto-inst, verilog-auto-inst-param)
11704 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11705 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11706 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11707 debugging templates without merge conflicts, bug357.
11708 Reported by Brad Dobbie.
11709 (verilog-read-auto-template):
11710 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11711 Reported by Brad Dobbie.
11712 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11713 abbrevs so user won't be asked to save.
11714 (verilog-read-auto-lisp-present): Fix to start at beginning of
11715 buffer in case called outside of verilog-auto.
11716 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11717 to "X-2". Reported by Matthew Myers.
11718 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11719 all inputs from module templates. Reported by Leith Johnson.
11720 (verilog-module-inside-filename-p): Fix locating programs as with
11721 modules.
11722 (verilog-auto-inst-port): Fix vl-width expressions when using
11723 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11724 (verilog-decls-get-regs, verilog-decls-get-signals,
11725 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11726 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11727 verilog-read-decls): Combine reg and wire structures into one var
11728 structure to represent SystemVerilog concepts.
11729 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11730 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11731 (verilog-auto-wire-type, verilog-insert-definition):
11732 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11733 SystemVerilog "logic" keyword instead of "wire"/"reg".
11734 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11735 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11736 ifdef or generate if so there's not a driver conflict).
11737 Reported by Matthew Myers.
11738 (verilog-auto-declare-nettype, verilog-insert-definition):
11739 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11740 `default_nettype none. Reported by Julian Gorfajn.
11741 (verilog-read-always-signals-recurse, verilog-read-decls)
11742 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11743 malformed end statement, bug325. Reported by Joshua Wise and
11744 Andrew Drake.
11745 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11746 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11747 when expanding .* in interfaces, bug320.
11748 Reported by Pierre-David Pfister.
6288f0ca 11749 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11750 name and open parenthesis, bug317.
11751 Reported by Pierre-David Pfister.
6288f0ca
WS
11752 (verilog-simplify-range-expression): Fix simplification of
11753 multiplications inside AUTOWIRE connections, bug303.
11754 (verilog-auto-inst-port): Support parameter expansion in
11755 multidimensional arrays.
11756 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11757 after "assert property". Reported by Julian Gorfajn.
11758 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11759 with multiplication, bug303.
11760 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11761 Reported by Jan Frode Lonnum.
11762
1bbe96b2
GM
117632011-11-30 Juanma Barranquero <lekktu@gmail.com>
11764
11765 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11766 (hfy-shell-file-name, hfy-shell):
11767 * international/fontset.el (x-decompose-font-name): Fix typos.
11768
117692011-11-29 Ken Brown <kbrown@cornell.edu>
11770
11771 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11772 (gdb-version): Remove defvar.
11773 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11774 (gdb-gud-context-command, gdb-non-stop-handler)
11775 (gdb-current-context-command, gdb-stopped): Use it.
11776 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11777 (gdb-non-stop-handler): Don't enable pretty-printing here.
11778 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11779 non-stop mode. Use the following.
11780 (gdb-check-target-async): New defun.
11781 (gud-watch, gdb-stopped): Fix whitespace.
11782 (gdb-get-source-file): Don't try to display the source file if
11783 `gdb-main-file' is nil.
11784
117852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * align.el: Try to generate fewer markers (bug#10047).
11788 (align--set-marker): New macro.
11789 (align-region): Use it.
11790
c935221f
SM
117912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11794
e70b5064
CY
117952011-11-29 Chong Yidong <cyd@gnu.org>
11796
11797 * indent.el (indent-for-tab-command, indent-according-to-mode):
11798 Doc fix.
11799 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11800
f3af92b7
MA
118012011-11-29 Michael Albinus <michael.albinus@gmx.de>
11802
11803 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11804 aware of remote file names. (Bug#10124)
11805
ed472be9
CY
118062011-11-29 Chong Yidong <cyd@gnu.org>
11807
11808 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11809
24510c22
SM
118102011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11811
11812 * files.el (find-file): Don't use force-same-window (bug#10144).
11813 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11814 use pop-to-buffer if the selected window can't be used.
11815 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11816
c60c3703
EZ
118172011-11-28 Eli Zaretskii <eliz@gnu.org>
11818
11819 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11820 special-mode-map.
11821
e95def75
CY
118222011-11-28 Chong Yidong <cyd@gnu.org>
11823
11824 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11825
c3f1c606
NR
118262011-11-27 Nick Roberts <nickrob@snap.net.nz>
11827
11828 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11829 gdb-get-source-file-list on gdb-create-source-file-list.
11830
00db469c
EZ
118312011-11-26 Eli Zaretskii <eliz@gnu.org>
11832
11833 * whitespace.el (whitespace-newline): Use a different foreground
11834 color for 16-color light-background displays.
11835
4ad3bc2a
CY
118362011-11-24 Chong Yidong <cyd@gnu.org>
11837
11838 * window.el (display-buffer--special-action): Doc fix.
11839
e9fce1ac
JB
118402011-11-25 Juanma Barranquero <lekktu@gmail.com>
11841
11842 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11843 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11844 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11845 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11846 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11847 (avl-tree-stack-first):
11848 * emacs-lisp/cconv.el (cconv--analyse-use):
11849 * net/gnutls.el (gnutls-negotiate): Fix typos.
11850
cb825e5d
GM
118512011-11-24 Glenn Morris <rgm@gnu.org>
11852
3adbe224
GM
11853 * lpr.el (lpr-windows-system, lpr-lp-system):
11854 * mail/binhex.el (binhex-begin-line):
11855 * progmodes/grep.el (grep-history, grep-find-history):
11856 * textmodes/flyspell.el:
11857 * vc/pcvs-defs.el (cvs-global-menu):
11858 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11859 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11860 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11861
321decc8
GM
11862 * net/tls.el: Fix case of "GnuTLS".
11863
420b63ad
GM
11864 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11865
cb825e5d
GM
11866 * version.el (emacs-build-system): Give it a doc-string.
11867
a0649f08
JL
118682011-11-24 Juri Linkov <juri@jurta.org>
11869
11870 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11871
c0bc0fd4
GM
118722011-11-24 Glenn Morris <rgm@gnu.org>
11873
11874 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11875 if called on a non-mime message just toggle the headers. (Bug#8006)
11876
20db1522
JB
118772011-11-24 Juanma Barranquero <lekktu@gmail.com>
11878
11879 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11880 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11881 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11882 (allout-rebullet-heading, allout-open-sibtopic)
11883 (allout-toggle-current-subtree-encryption)
11884 (allout-toggle-subtree-encryption, allout-encrypt-string)
11885 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11886 (allout-distinctive-bullets-string, allout-auto-activation):
11887 * window.el (window-normalize-buffer-to-display):
11888 * progmodes/verilog-mode.el (verilog-batch-indent):
11889 * textmodes/bibtex.el (bibtex-field-braces-opt)
11890 (bibtex-field-strings-opt):
11891 * vc/cvs-status.el (cvs-tree-merge):
11892 Fix typos.
11893
7262a87c
MA
118942011-11-23 Michael Albinus <michael.albinus@gmx.de>
11895
11896 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11897 `non-essential' to t, in order to avoid remote connections.
11898
283430a1
EZ
118992011-11-23 Eli Zaretskii <eliz@gnu.org>
11900
a1beca85
SM
11901 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11902 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11903 case-insensitively.
11904
d2992a38
ML
119052011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11906
11907 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11908
50419064
GM
119092011-11-23 Glenn Morris <rgm@gnu.org>
11910
da94eca1
GM
11911 * paths.el (rmail-file-name): Reformat the doc-string so that it
11912 is picked up.
11913
9aac4de2
GM
11914 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11915 (rmail-auto-file): Ignore case in the "special" field names,
11916 as mail-fetch-field does for all others.
11917
8038d2d2
GM
11918 * mail/rmail.el (rmail-forward):
11919 * mail/rmailkwd.el (rmail-set-label):
11920 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11921 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11922
f3fe222a
GM
11923 * mail/rmail.el (rmail-current-message): Doc fix.
11924
50419064
GM
11925 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11926
28109f49
SM
119272011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11930
394c65f1
GM
119312011-11-22 Glenn Morris <rgm@gnu.org>
11932
11933 * mail/rmailmm.el (test-rmail-mime-handler)
11934 (test-rmail-mime-bulk-handler)
11935 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11936
f2a0aa3a
JL
119372011-11-21 Juri Linkov <juri@jurta.org>
11938
1154d12e
JB
11939 * calc/calc.el (calc-read-key-sequence):
11940 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11941
9c34a344
LMI
119422011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11943
11944 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11945 Tell the caller that the next line needs recomputation, even
11946 though it doesn't start a sexp (bug#10094).
11947
f04a3be9
SM
119482011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11951
7978747f
SM
119522011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11953
f04a3be9
SM
11954 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11955 Use force-same-window.
7978747f 11956
fe7a3057
JB
119572011-11-20 Juanma Barranquero <lekktu@gmail.com>
11958
11959 * descr-text.el (describe-char-unicode-data):
11960 * json.el (json-string-escape):
11961 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11962 (Footnote-unicode, Footnote-style-p):
11963 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11964
24901d61
CY
119652011-11-20 Chong Yidong <cyd@gnu.org>
11966
11967 * window.el (replace-buffer-in-windows): Restore interactive spec.
11968
bac7ff22
SM
119692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11970
24f3d7b9
SM
11971 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11972
bac7ff22
SM
11973 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11974 (byte-compile-global-not-obsolete-vars): New var.
11975 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11976 Use it.
11977 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11978
cd1181db
JB
119792011-11-20 Juanma Barranquero <lekktu@gmail.com>
11980
11981 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11982 * progmodes/pascal.el (electric-pascal-equal):
11983 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11984 * xml.el (xml-substitute-special): Fix typos.
11985
7fb18e9e
GM
119862011-11-20 Glenn Morris <rgm@gnu.org>
11987
11988 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11989 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11990 Doc fixes.
11991 (rmail-decode-mime-charset): Mark as obsolete.
11992
11993 * mail/rmailsum.el (rmail-message-regexp-p-1):
11994 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11995 Before using mime functions, check they are set. (Bug#10077)
11996
d5a6b3ba
JL
119972011-11-19 Juri Linkov <juri@jurta.org>
11998
11999 * info.el (Info-finder-find-node): Use `package--builtins' instead
12000 of `package-alist'. Use node names formed by the pattern "Keyword "
12001 and the keyword name.
12002
e981b61f
AS
120032011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12004
1d00653d 12005 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12006
3ffbc301
JL
120072011-11-19 Juri Linkov <juri@jurta.org>
12008
12009 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12010 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12011 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12012 `old-history', `old-history-forward'. Add let-binding
12013 `window-selected'. Remove calls to `kill-buffer',
12014 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12015 before calling `Info-find-node', so `Info-find-node-2' will reread
12016 the Info file. Restore window positions only when `window-selected'
12017 is non-nil.
12018
30c62133
JL
120192011-11-19 Juri Linkov <juri@jurta.org>
12020
12021 * isearch.el (isearch-lazy-highlight-new-loop):
12022 Remove condition `(not isearch-error)'. (Bug#9918)
12023
12024 * misearch.el (multi-isearch-search-fun): Add condition
12025 `(not bound)' to ignore lazy-highlighting search.
12026 Add the search-failed message "end of multi" when the end of
12027 multi-sequence is reached. Uncapitalize the search-failed
12028 message "Repeat for next buffer".
12029
12030 * info.el (Info-search): Add the search-failed message
12031 "end of the manual" when the end of the manual is reached
12032 in Isearch mode.
12033
645ca9cf
JL
120342011-11-19 Juri Linkov <juri@jurta.org>
12035
12036 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12037 Use non-destructive `remove' instead of `delete' because
12038 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12039 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12040
df754f66
JL
120412011-11-19 Juri Linkov <juri@jurta.org>
12042
12043 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12044 to nil instead of binding `search-ring' and `regexp-search-ring'.
12045 (Bug#9185)
12046
0e23d96a
EZ
120472011-11-19 Eli Zaretskii <eliz@gnu.org>
12048
12049 * simple.el (line-move): Force movement by logical lines for any
12050 hscrolled window, not only when auto-hscroll-mode is on.
12051 (line-move-visual): Update doc string to that effect. (Bug#10076)
12052
8a6ccb66
AS
120532011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12054
12055 * language/european.el (macintosh): Define as alias for mac-roman.
12056
49ae5b39
EZ
120572011-11-19 Eli Zaretskii <eliz@gnu.org>
12058
12059 * mail/rmailmm.el (rmail-mime-display-header)
12060 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12061 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12062 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12063 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12064 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12065 of a raw aref.
12066 (rmail-mime-entity-segment): To get past the tagline, move forward
12067 2 more lines, to account for the 2 empty lines that precede and
12068 follow the line with the buttons.
12069 (rmail-mime-update-tagline): Move one more line, to get past the
12070 empty line that follows the buttons in the tagline. (Bug#9520)
12071
c56cad4a
MR
120722011-11-19 Martin Rudalics <rudalics@gmx.at>
12073
12074 * window.el (window-max-delta-1, window-min-delta-1)
12075 (window-min-size-1, window-state-get-1, window-state-put-1)
12076 (window-state-put-2): Use "window--" prefix.
12077
cbe71af3
SM
120782011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12079
2ad52c60
SM
12080 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12081 (smie-warning-count): New var.
12082 (smie-set-prec2tab): Use it.
12083 (smie-bnf->prec2): Improve warnings. Add docstring.
12084 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12085 (smie-bnf--set-class): New function.
12086 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12087 corner case.
12088
6944dbc1
SM
12089 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12090 (compilation-error-properties, compilation-move-to-column):
12091 Handle compilation-first-column while in the target buffer.
12092
c400c4d7
SM
12093 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12094 Don't hardcode point-min==1.
12095
6dbe3e96
SM
12096 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12097 (eshell-rewrite-for-command): Remove workaround.
12098 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12099 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12100 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12101
cbe71af3
SM
12102 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12103
a8e1496d
GM
121042011-11-17 Glenn Morris <rgm@gnu.org>
12105
12106 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12107 Ignore buffer-local generated-autoload-file if it is the same
12108 as the global value. (Bug#10049)
12109
df85d315
JB
121102011-11-17 Juanma Barranquero <lekktu@gmail.com>
12111
12112 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12113 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12114 (reftex-toc-previous-heading, reftex-toc-max-level)
12115 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12116 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12117 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12118 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12119 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12120 (reftex-toc-rename-label, reftex-toc-visit-location)
12121 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12122 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12123 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12124 leaving "*toc*" only for references to the buffer.
12125
a0c2d0ae
MR
121262011-11-17 Martin Rudalics <rudalics@gmx.at>
12127
12128 * window.el (window-resize, delete-window, split-window):
12129 Replace window-splits by window-combination-resize.
1d00653d 12130 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12131
35c0bac8
GM
121322011-11-17 Glenn Morris <rgm@gnu.org>
12133
12134 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12135 Make bash entry derive from sh entry, not shell entry.
12136
d0c8fc8a
MA
121372011-11-16 Michael Albinus <michael.albinus@gmx.de>
12138
7262a87c
MA
12139 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12140 local file name.
12141
7877f373
JB
121422011-11-16 Juanma Barranquero <lekktu@gmail.com>
12143
12144 * menu-bar.el (menu-bar-file-menu):
12145 * printing.el (pr-ps-utility):
12146 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12147 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12148 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12149 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12150 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12151 (icalendar--convert-cyclic-to-ical)
12152 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12153 (icalendar--convert-ical-to-diary)
12154 (icalendar--convert-recurring-to-diary)
12155 (icalendar--convert-non-recurring-all-day-to-diary)
12156 (icalendar-import-format-sample):
12157 * progmodes/idlw-shell.el (idlwave-shell-mode):
12158 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12159 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12160 (vhdl-ps-print-init): Fix typos.
12161
10649b82
KM
121622011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12163
9d0cfcd6
GM
12164 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12165 FSF and collapse date sequence, obscure author/maintainer email address
12166 better, remove extra version line, track relocation of author's webpage.
10649b82 12167
9d0cfcd6
GM
12168 * progmodes/python.el (python-pdbtrack-input-prompt)
12169 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12170 regular python pdb prompts. Adjustments shamelessly taken exactly as
12171 suggested in EmacsWiki page (tiny change):
12172 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12173
58179cce
JB
121742011-11-16 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * expand.el (expand-pos, expand-index, expand-point):
12177 Remove redundant info from docstring.
12178 (expand-add-abbrevs): Doc fix.
12179 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12180 (expand-sample-perl-mode-expand-list): Fix typos.
12181
12182 * net/dbus.el (dbus-event-member-name):
12183 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12184 * term/pc-win.el (msdos-create-frame-with-faces):
12185 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12186
b6f67890
MR
121872011-11-16 Martin Rudalics <rudalics@gmx.at>
12188
12189 * window.el (split-window, window-state-get-1)
12190 (window-state-put-1, window-state-put-2): Rename occurrences of
12191 window-nest to window-combination-limit.
1d00653d 12192 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12193
ce7ddba0
CY
121942011-11-16 Chong Yidong <cyd@gnu.org>
12195
12196 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12197 regexp (Bug#10033).
12198
3ae704f4
SM
121992011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12202 `completing-read' will remove *Completions* and will preserve
12203 current-buffer for us.
12204 (tmm-add-prompt): Users of *Completions* will always (re)set its
12205 major mode.
12206 (tmm-old-comp-map): Remove.
12207
6ad1cdde
GM
122082011-11-16 Glenn Morris <rgm@gnu.org>
12209
12210 * mail/rmailedit.el: Require rmailmm when compiling.
12211 (rmail-old-mime-state): New declaration.
12212 (rmail-edit-current-message): If editing a mime message,
12213 edit the "raw" message from the mbox buffer.
12214 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12215
d20faa20
GM
122162011-11-15 Glenn Morris <rgm@gnu.org>
12217
12218 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12219 which wasn't being used. Add optional arg to force given state.
12220 (rmail-mime): Add optional arg to force given state.
12221
c7015153
JB
122222011-11-15 Juanma Barranquero <lekktu@gmail.com>
12223
12224 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12225 * frame.el (display-mm-dimensions-alist):
12226 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12227 (outline-move-subtree-down):
12228 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12229 (newsticker--treeview-do-get-node):
12230 * net/quickurl.el (quickurl-list-buffer-name):
12231 * progmodes/dcl-mode.el (dcl-mode):
12232 * progmodes/gdb-mi.el (gdb-mapcar*):
12233 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12234
45261b50
GM
122352011-11-15 Glenn Morris <rgm@gnu.org>
12236
12237 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12238 in a boolean sense, so just make it a boolean, and fix the doc.
12239 (rmail-show-mime-function, rmail-mime-feature)
12240 (rmail-require-mime-maybe): Doc fixes.
12241 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12242
12243 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12244
0d26e0b6
JB
122452011-11-15 Juanma Barranquero <lekktu@gmail.com>
12246
12247 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12248 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12249 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12250 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12251
447f30f6
GM
122522011-11-15 Glenn Morris <rgm@gnu.org>
12253
672b871d
GM
12254 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12255 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12256 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12257 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12258 (rmail-mime, rmail-show-mime): Doc fixes.
12259
f6aa5bb1
GM
12260 * term/ns-win.el (mode-line-frame-identification):
12261 Leave it alone. (Bug#10051)
12262
947cd66b
GM
12263 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12264
447f30f6
GM
12265 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12266 Handle empty buffers. (Bug#9978)
12267
0b381c7e
JB
122682011-11-14 Juanma Barranquero <lekktu@gmail.com>
12269
12270 * international/mule.el (define-charset):
12271 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12272 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12273 * progmodes/verilog-mode.el (verilog-backward-token):
12274 * textmodes/ispell.el (lookup-words):
12275 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12276
71e027ac
GM
122772011-11-14 Glenn Morris <rgm@gnu.org>
12278
56632ce4
GM
12279 * progmodes/executable.el
12280 (executable-make-buffer-file-executable-if-script-p):
12281 Handle file-modes returning nil.
12282
40500957
GM
12283 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12284 message - not necessary, and causes problems. (Bug#9831)
12285
071c2340
GM
12286 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12287
d3cfca60
GM
12288 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12289
71e027ac
GM
12290 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12291 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12292 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12293
89d61221
MR
122942011-11-12 Martin Rudalics <rudalics@gmx.at>
12295
12296 * window.el (window-resize, delete-window): Use window-splits
12297 variable instead of function.
12298 (window-state-get-1, window-state-put-2, window-state-put):
12299 Don't deal with windows' splits status.
12300
98282f6f
GM
123012011-11-12 Glenn Morris <rgm@gnu.org>
12302
12303 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12304 (apropos-documentation): Doc fixes.
12305
40a8bdf6
JB
123062011-11-11 Juanma Barranquero <lekktu@gmail.com>
12307
12308 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12309 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12310
65bd19ff
SM
123112011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * electric.el (electric-indent-post-self-insert-function): Make it
12314 possible for a char to only indent in some circumstances.
12315 (electric-indent-mode): Simplify.
12316
54f9154c
MR
123172011-11-11 Martin Rudalics <rudalics@gmx.at>
12318
12319 * window.el (windows-with-parameter): Remove unused function.
12320 (windows-at-side): Rename to window-at-side-list.
12321 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12322 (window-side-check, window-size-ignore, window-size-fixed-1)
12323 (window-in-direction-2): Prefix with "window--".
12324 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12325
68cbc58b
GM
123262011-11-11 Glenn Morris <rgm@gnu.org>
12327
12328 * subr.el (eval-after-load): If FILE is already loaded,
12329 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12330
b2621720
GM
123312011-11-10 Glenn Morris <rgm@gnu.org>
12332
9a4de110
GM
12333 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12334 Call svn via vc-svn-command rather than vc-do-command.
12335 (vc-svn-command): Add --non-interactive. (Bug#9993)
12336 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12337
b2621720
GM
12338 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12339 Add toggle-read-only. (Bug#7292)
12340 * files.el (toggle-read-only): Mention that it should only
12341 be used interactively. (Bug#10006)
12342
1dce7193
SM
123432011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12344
d9ac1a1e
SM
12345 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12346 Adjust regexp for OCaml warnings.
12347
0c325082
SM
12348 * electric.el (electric-pair-post-self-insert-function): Let user
12349 turn it off buffer-locally (bug#9932).
12350
90132c14
SM
12351 * progmodes/python.el (python-beginning-of-statement):
12352 Rewrite (bug#2703).
12353
1dce7193
SM
12354 * progmodes/compile.el: Better handle TABs (bug#9749).
12355 (compilation-internal-error-properties)
12356 (compilation-next-error-function): Obey the target buffer's
12357 compilation-error-screen-columns.
12358
c4e7c63a
JB
123592011-11-09 Juanma Barranquero <lekktu@gmail.com>
12360
12361 * progmodes/meta-mode.el: Remove obsolete comments.
12362 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12363 Fix typos in docstrings.
12364
2cffd681
MR
123652011-11-09 Martin Rudalics <rudalics@gmx.at>
12366
12367 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12368 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12369 (window--resizable): New function. Make all callers of
12370 window-resizable call window--resizable instead.
12371 (window-resizable): Rewrite in terms of window--resizable.
12372
0edcba87
GM
123732011-11-08 Glenn Morris <rgm@gnu.org>
12374
12375 * progmodes/delphi.el (delphi-mode-syntax-table):
12376 Let define-derived-mode define a proper syntax table. (Bug#9994)
12377
4b0d61e3
SM
123782011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * window.el: Stay away from defsubst.
12381 (window-list-no-nils): Remove.
12382 (window-state-get-1, window-state-get): Use backquote instead.
12383
cd394be1 123842011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12385
4b0d61e3 12386 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12387 Fix incorrect use of default argument in `completing-read'.
12388
e1c2c6f2
MR
123892011-11-08 Martin Rudalics <rudalics@gmx.at>
12390
12391 * window.el (display-buffer-function, special-display-function):
12392 Mention display-buffer-record-window but do not mention
12393 help-setup parameter in doc-strings.
b3f4a882 12394 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12395
105216ed
CY
123962011-11-08 Chong Yidong <cyd@gnu.org>
12397
12398 * window.el (window-total-height, window-total-width): Doc fix.
12399 (window-body-size): Move from C.
12400 (window-body-height, window-body-width): Move to C.
12401
0a9f9ab5
SM
124022011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * window.el: Make special-display like display-buffer-alist (bug#9532).
12405 (display-buffer--special-action): New function, morphed
12406 from display-buffer--special.
12407 (display-buffer): Use it to handle special-display-buffers at higher
12408 priority (just after display-buffer-alist).
12409 (display-buffer-fallback-action, display-buffer--other-frame-action)
12410 (pop-to-buffer-same-window): Remove display-buffer--special.
12411
a769dd15
GM
124122011-11-07 Glenn Morris <rgm@gnu.org>
12413
12414 * calendar/cal-menu.el (cal-menu-set-date-title):
12415 Do nothing if not in a calendar. (Bug#9976)
12416
05a61ee3
SM
124172011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * files.el (find-file): Always use selected-window.
12420
be7f5545
MR
124212011-11-07 Martin Rudalics <rudalics@gmx.at>
12422
12423 * window.el (window-combinations): Make WINDOW argument
12424 mandatory. Rewrite doc-string.
12425 (walk-window-subtree, window-atom-check, window-min-delta)
12426 (window-max-delta, window--resize-this-window)
12427 (window--resize-root-window-vertically, window-tree)
12428 (balance-windows, window-state-put): Rewrite doc-strings as to
12429 not mention the term "subwindow".
12430 (window--resize-subwindows-skip-p): Rename to
12431 window--resize-child-windows-skip-p.
12432 (window--resize-subwindows-normal): Rename to
12433 window--resize-child-windows-normal.
12434 (window--resize-subwindows): Rename to
12435 window--resize-child-windows.
12436 (window-or-subwindow-p): Rename to window--in-subtree-p.
12437
3c6702ef
ML
124382011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12439
12440 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12441 Ensure that mbox format messages end in two newlines (Bug#9974).
12442
49745b39
CY
124432011-11-06 Chong Yidong <cyd@gnu.org>
12444
12445 * window.el (window-combination-p): Function deleted; its
12446 side-effect is not used in any existing code.
12447 (window-combinations, window-combined-p): Call window-*-child
12448 directly.
12449
24300f5f
CY
124502011-11-05 Chong Yidong <cyd@gnu.org>
12451
12452 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12453 (window-size-ignore, window-state-get): Callers changed.
12454 (window-normalize-window): Rename from window-normalize-any-window.
12455 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12456 (window-normalize-live-window): Delete.
447f16b8
CY
12457 (window-combination-p, window-combined-p, window-combinations)
12458 (walk-window-subtree, window-atom-root, window-min-size)
12459 (window-sizable, window-sizable-p, window-size-fixed-p)
12460 (window-min-delta, window-max-delta, window-resizable)
12461 (window-resizable-p, window-full-height-p, window-full-width-p)
12462 (window-current-scroll-bars, window-point-1, set-window-point-1)
12463 (window-at-side-p, window-in-direction, window-resize)
12464 (adjust-window-trailing-edge, maximize-window, minimize-window)
12465 (window-deletable-p, delete-window, delete-other-windows)
12466 (record-window-buffer, unrecord-window-buffer)
12467 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12468 (quit-window, split-window, window-state-put)
12469 (set-window-text-height, fit-window-to-buffer)
12470 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12471
89bd5ee1
EZ
124722011-11-04 Eli Zaretskii <eliz@gnu.org>
12473
53479029
EZ
12474 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12475 rfc2047-decode-string.
12476 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12477 warnings.
12478
89bd5ee1
EZ
12479 * window.el (window-body-height, window-body-width): Mention in
12480 the doc string that the return values are in frame's canonical
12481 units. (Bug#9949)
12482
bd17fdee
AM
124832011-11-03 Alan Mackenzie <acm@muc.de>
12484
12485 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12486 change in cc-engine.el.
12487
acc825c5
SM
124882011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12491
1885e5b8
MR
124922011-11-02 Martin Rudalics <rudalics@gmx.at>
12493
12494 * window.el (quit-window): Call unrecord-window-buffer after
12495 showing another buffer in the window. (Bug#9937)
acc825c5 12496 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12497
ebe06da9
JB
124982011-11-02 Juanma Barranquero <lekktu@gmail.com>
12499
12500 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12501 Accept status with more than 9 shelves. (Bug#9935)
12502 Reported by Colin D Bennett <colin@gibibit.com>.
12503
4ee88440
MR
125042011-11-01 Martin Rudalics <rudalics@gmx.at>
12505
12506 * help.el (with-help-window): Don't reference
12507 temp-buffer-show-specifiers in doc-string.
12508
08e1d82c
AS
125092011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12510
12511 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12512 menu-item.
12513
84bd6e9e
VJL
125142011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12515
12516 * whitespace.el: New version 13.2.2.
12517 (whitespace-newline-mode): Disable properly. Reported by Sarah
12518 <EmacsWiki>.
12519
dba0634a
UJ
125202011-10-30 Ulf Jasper <ulf.jasper@web.de>
12521
12522 * net/newst-treeview.el: Remove "Time-stamp".
12523 (newsticker--group-manage-orphan-feeds): Do not call
12524 newsticker--treeview-tree-update.
db22a3c2
JB
12525 (newsticker-treeview-update, newsticker-treeview):
12526 Call newsticker--treeview-tree-update if necessary.
dba0634a 12527
3d8daefe
MR
125282011-10-30 Martin Rudalics <rudalics@gmx.at>
12529
12530 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12531 (window-iso-combinations): Remove "iso-" infix.
12532 Suggested by Chong Yidong.
3d8daefe
MR
12533 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12534 (window-max-delta-1, window-resize, window--resize-siblings)
12535 (window--resize-this-window, adjust-window-trailing-edge)
12536 (split-window, balance-windows-1)
12537 (shrink-window-if-larger-than-buffer):
12538 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12539 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12540
1bc4c3ae
SM
125412011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12544 in place (bug#9907).
12545 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12546 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12547 (eshell-structure-basic-command, eshell-rewrite-while-command)
12548 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12549 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12550 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12551 (eshell-do-pipelines-synchronously, eshell-eval-command):
12552 Use backquotes and prefer setq to set.
12553 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12554 (eshell-macrop): Use functionp.
c1e2f5fa 12555 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12556
30b65d9c
CY
125572011-10-30 Chong Yidong <cyd@gnu.org>
12558
12559 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12560 instead of set-mark (Bug#9810).
12561
2d197ffb
CY
125622011-10-30 Chong Yidong <cyd@gnu.org>
12563
12564 * window.el (split-window-below, split-window-right): Rename from
12565 split-window-above-each-other and split-window-side-by-side
12566 respectively. All callers changed.
12567 (split-window-sensibly, split-window-sensibly): Use them.
12568 (split-window-keep-point): Doc fix.
12569
12570 * isearch.el: Add isearch-scroll property to split-window-below
12571 and split-window-right.
12572
12573 * follow.el (follow-mode):
12574 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12575 * progmodes/ada-xref.el (ada-gdb-application):
12576 * emulation/vip.el (vip-buffer-in-two-windows):
12577 * image-dired.el (image-dired-dired-with-window-configuration):
12578 * dired-x.el (dired-do-find-marked-files):
12579 * dired.el (dired-pop-to-buffer):
12580 * bs.el (bs--show-with-configuration):
12581 * vc/emerge.el (emerge-setup-windows):
12582 * textmodes/two-column.el (2C-two-columns):
12583 * textmodes/reftex-toc.el (reftex-toc):
12584 * progmodes/gdb-mi.el (gdb-setup-windows):
12585 * progmodes/fortran.el (fortran-window-create):
12586 * net/newst-treeview.el (newsticker--treeview-window-init):
12587 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12588 * emulation/tpu-edt.el (tpu-gold-map):
12589 * emulation/crisp.el (crisp-mode-map):
12590 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12591
38bb2ca8
CY
125922011-10-29 Chong Yidong <cyd@gnu.org>
12593
aa4de341
CY
12594 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12595
e1eb5385
CY
12596 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12597
5d2ece3c
CY
12598 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12599 forged Ispell output (Bug#7904).
12600
38bb2ca8
CY
12601 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12602
d0af9f77
SM
126032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12604
12605 * doc-view.el: Avoid ugly errors about not finding nil.
12606 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12607 (doc-view-dvipdf-program, doc-view-unoconv-program)
12608 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12609 Avoid nil or absolute file name as default value.
12610 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12611
52bedd34
AM
126122011-10-28 Alan Mackenzie <acm@muc.de>
12613
db22a3c2 12614 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12615
7e43cfa5
AM
126162011-10-28 Alan Mackenzie <acm@muc.de>
12617
12618 Amend the handling of c-beginning/end-of-defun in nested declaration
12619 scopes.
12620
52bedd34
AM
12621 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12622 cc-langs.el. Change it to a defcustom.
7e43cfa5 12623
52bedd34
AM
12624 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12625 cc-vars.el.
7e43cfa5 12626
d0af9f77
SM
12627 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12628 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12629
52bedd34 12630 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12631 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12632 (c-widen-to-enclosing-decl-scope): New function.
12633 (c-while-widening-to-decl-block): New macro.
12634 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12635 outward for defun boundaries, and correspondingly change symbol
12636 `respect-enclosure' to `go-outward'.
12637 (c-declaration-limits): Change algorithm to report only the "innermost"
12638 defun's boundaries.
12639
1a2ce9ee
DD
126402011-10-28 Deniz Dogan <deniz@dogan.se>
12641
12642 * net/rcirc.el (rcirc-mode): Use hard newlines.
12643
bc97a826
AM
126442011-10-28 Alan Mackenzie <acm@muc.de>
12645
12646 Amend to indent and fontify macros "which include their own semicolon"
12647 correctly, using the "virtual semicolon" mechanism.
12648
52bedd34 12649 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12650
d0af9f77 12651 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12652 Recode to scan one line at a time rather than having \n and \r
58179cce 12653 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12654 (c-forward-label): Amend for virtual semicolons.
58179cce 12655 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12656
52bedd34
AM
12657 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12658 of the new C macros.
bc97a826 12659
52bedd34 12660 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12661 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12662 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12663 (c-opt-cpp-macro-define): Make into a full language variable.
12664 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12665 AWK Mode (including \n, \r) removed, no longer needed.
12666
d0af9f77
SM
12667 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12668 Invoke c-make-macro-with-semi-re.
bc97a826 12669
52bedd34
AM
12670 * progmodes/cc-vars.el (c-macro-with-semi-re):
12671 (c-macro-names-with-semicolon): New variables.
58179cce 12672 (c-make-macro-with-semi-re): New function.
bc97a826 12673
7a6c0941
SM
126742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * vc/log-edit.el: Fill empty field rather than adding new one.
12677 (log-edit-add-field): New function.
12678 (log-edit-insert-changelog): Use it.
12679
b0c4cdcf
ML
126802011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12681
12682 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12683
ee1f1da9
SM
126842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12685
12686 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12687 (gdb--check-interpreter): New function.
12688 (gdb): Use it.
12689
51bc5f8b
GM
126902011-10-27 Glenn Morris <rgm@gnu.org>
12691
416a2c45
GM
12692 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12693 (least-positive-float, least-negative-float)
12694 (least-positive-normalized-float, least-negative-normalized-float)
12695 (float-epsilon, float-negative-epsilon):
12696 Remove unnecessary declarations.
12697
12698 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12699 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12700 (least-positive-float, least-negative-float)
12701 (least-positive-normalized-float, least-negative-normalized-float)
12702 (float-epsilon, float-negative-epsilon): Add doc-strings,
12703 based on those in cl.texi.
12704
51bc5f8b
GM
12705 * files.el (set-visited-file-name): If the major-mode changed,
12706 reload the local variables. (Bug#9796)
12707
15de15c6
CY
127082011-10-27 Chong Yidong <cyd@gnu.org>
12709
12710 * subr.el (change-major-mode-after-body-hook): New hook.
12711 (run-mode-hooks): Run it.
12712
ee1f1da9
SM
12713 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12714 Use change-major-mode-before-body-hook.
15de15c6
CY
12715
12716 * simple.el (fundamental-mode):
12717 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12718 change introducing fundamental-mode-hook.
12719
5430d399
JB
127202011-10-26 Juanma Barranquero <lekktu@gmail.com>
12721
acc825c5 12722 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12723
ad74a69e
MA
127242011-10-26 Michael Albinus <michael.albinus@gmx.de>
12725
12726 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12727 tramp.el explicitly. (Bug#7583)
ad74a69e 12728
71d4c2a5
SM
127292011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * progmodes/octave-mod.el:
12732 * progmodes/octave-inf.el: Update maintainer.
12733
b1f6fa26
CY
127342011-10-26 Chong Yidong <cyd@gnu.org>
12735
12736 * subr.el (with-wrapper-hook): Rewrite doc.
12737
3f04efd6
MA
127382011-10-25 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12741 filenames "/method:foo:". (Bug#9793)
3f04efd6 12742
410488d3
SM
127432011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12746 (bug#9865).
12747
c1ebb47e
GM
127482011-10-24 Glenn Morris <rgm@gnu.org>
12749
12750 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12751
7f5c46c7
MA
127522011-10-24 Michael Albinus <michael.albinus@gmx.de>
12753
12754 * notifications.el: Add the requirement of a running D-Bus session
12755 bus to the Commentary.
12756
db2440b6
JL
127572011-10-24 Juri Linkov <juri@jurta.org>
12758
12759 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12760 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12761 (Bug#9364)
12762
feecf435
JL
127632011-10-24 Juri Linkov <juri@jurta.org>
12764
12765 * info.el (Info-following-node-name-re): Add newline to the list
12766 of allowed characters for leading space. (Bug#9824)
12767
a3839de2
SM
127682011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12769
acc825c5
SM
12770 * progmodes/octave-inf.el (inferior-octave-mode-map):
12771 Fix C-c C-h binding.
a3839de2
SM
12772 * progmodes/octave-mod.el (octave-help): Remove.
12773
09388e76
MA
127742011-10-23 Michael Albinus <michael.albinus@gmx.de>
12775
12776 Sync with Tramp 2.2.3.
12777
12778 * net/tramp-cache.el (top): Pacify byte-compiler using
12779 `init-file-user' and `site-run-file'.
12780
12781 * net/trampver.el: Update release number.
12782
86c60681
CY
127832011-10-23 Chong Yidong <cyd@gnu.org>
12784
12785 * files.el (toggle-read-only): Remove obsolete comment about
12786 version control.
12787
12788 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12789 for toggle-read-only. Note that this hasn't called vc-next-action
12790 since 2008-05-02, though it wasn't documented at the time.
12791
a3839de2
SM
12792 * vc/ediff-init.el (ediff-toggle-read-only-function):
12793 Use toggle-read-only.
86c60681 12794
cd5495ff
AM
127952011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12796
12797 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12798 of c-parse-state.
12799
00b77525 12800 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12801 correct faulty logical expression.
cd5495ff
AM
12802 (c-parse-state-state, c-record-parse-state-state):
12803 (c-replay-parse-state-state): New defvar/defuns.
12804 (c-debug-parse-state): Use new functions.
12805
42ee24ed
MR
128062011-10-22 Martin Rudalics <rudalics@gmx.at>
12807
12808 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12809 last fix. Use window-in-direction correctly.
42ee24ed 12810
a7dee7e7
CY
128112011-10-21 Chong Yidong <cyd@gnu.org>
12812
12813 * progmodes/idlwave.el (idlwave-mode):
12814 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12815 require-final-newline; that's done in prog-mode.
12816 Suggested by Stefan Monnier.
a7dee7e7 12817
e07b9a6d
MR
128182011-10-21 Martin Rudalics <rudalics@gmx.at>
12819
12820 * mouse.el (mouse-drag-window-above)
12821 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12822 (mouse-drag-mode-line-1, mouse-drag-header-line)
12823 (mouse-drag-vertical-line-rightward-window): Remove.
12824 (mouse-drag-line): New function.
12825 (mouse-drag-mode-line, mouse-drag-header-line)
12826 (mouse-drag-vertical-line): Call mouse-drag-line.
12827 * window.el (window-at-side-p, windows-at-side): New functions.
12828
7e1361d9
UM
128292011-10-21 Ulrich Mueller <ulm@gentoo.org>
12830
12831 * tar-mode.el (tar-grind-file-mode):
12832 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12833
30fcaf3a
CY
128342011-10-21 Chong Yidong <cyd@gnu.org>
12835
12836 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12837 * progmodes/vera-mode.el (vera-mode):
12838 Use mode-require-final-newline.
30fcaf3a 12839
516eddb0
GM
128402011-10-20 Glenn Morris <rgm@gnu.org>
12841
db22a3c2 12842 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12843
10d5f513
CS
128442011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12845
12846 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12847
ac6c8639
CY
128482011-10-20 Chong Yidong <cyd@gnu.org>
12849
12850 * emulation/cua-base.el (cua-mode):
12851 * mail/footnote.el (footnote-mode):
12852 * mail/mailabbrev.el (mail-abbrevs-mode):
12853 * net/xesam.el (xesam-minor-mode):
12854 * progmodes/bug-reference.el (bug-reference-mode):
12855 * progmodes/cap-words.el (capitalized-words-mode):
12856 * progmodes/compile.el (compilation-minor-mode)
12857 (compilation-shell-minor-mode):
12858 * progmodes/gud.el (gud-tooltip-mode):
12859 * progmodes/hideif.el (hide-ifdef-mode):
12860 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12861 * progmodes/subword.el (subword-mode):
12862 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12863 * progmodes/which-func.el (which-function-mode):
12864 * term/tvi970.el (tvi970-set-keypad-mode):
12865 * term/vt100.el (vt100-wide-mode):
12866 * textmodes/flyspell.el (flyspell-mode):
12867 * textmodes/ispell.el (ispell-minor-mode):
12868 * textmodes/nroff-mode.el (nroff-electric-mode):
12869 * textmodes/paragraphs.el (use-hard-newlines):
12870 * textmodes/refill.el (refill-mode):
12871 * textmodes/reftex.el (reftex-mode):
12872 * textmodes/rst.el (rst-minor-mode):
12873 * textmodes/sgml-mode.el (html-autoview-mode)
12874 (sgml-electric-tag-pair-mode):
12875 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12876 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12877 * emulation/crisp.el (crisp-mode):
12878 * emacs-lisp/eldoc.el (eldoc-mode):
12879 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12880 minor mode behavior.
12881
aa42ab43
JL
128822011-10-19 Juri Linkov <juri@jurta.org>
12883
12884 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12885 the list of hard-coded chars with escape-glyph face.
12886
89400f1d
SM
128872011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12888
12889 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12890
305c07f6
MA
128912011-10-19 Michael Albinus <michael.albinus@gmx.de>
12892
12893 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12894 running process.
12895
13754b54
GM
128962011-10-19 Glenn Morris <rgm@gnu.org>
12897
12898 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12899 Ignore ignored files. (Bug#9726)
12900
06e21633
CY
129012011-10-19 Chong Yidong <cyd@gnu.org>
12902
12903 Doc fix for minor modes, stating that an omitted argument enables
12904 the mode unconditionally when called from Lisp.
12905
12906 * abbrev.el (abbrev-mode):
12907 * allout.el (allout-mode):
12908 * autoinsert.el (auto-insert-mode):
12909 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12910 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12911 (global-auto-revert-mode):
12912 * battery.el (display-battery-mode):
12913 * composite.el (global-auto-composition-mode)
12914 (auto-composition-mode):
12915 * delsel.el (delete-selection-mode):
12916 * desktop.el (desktop-save-mode):
12917 * dired-x.el (dired-omit-mode):
12918 * dirtrack.el (dirtrack-mode):
12919 * doc-view.el (doc-view-minor-mode):
12920 * double.el (double-mode):
12921 * electric.el (electric-indent-mode, electric-pair-mode):
12922 * emacs-lock.el (emacs-lock-mode):
12923 * epa-hook.el (auto-encryption-mode):
12924 * follow.el (follow-mode):
12925 * font-core.el (font-lock-mode):
12926 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12927 * help.el (temp-buffer-resize-mode):
12928 * hilit-chg.el (highlight-changes-mode)
12929 (highlight-changes-visible-mode):
12930 * hi-lock.el (hi-lock-mode):
12931 * hl-line.el (hl-line-mode, global-hl-line-mode):
12932 * icomplete.el (icomplete-mode):
12933 * ido.el (ido-everywhere):
12934 * image-file.el (auto-image-file-mode):
12935 * image-mode.el (image-minor-mode):
12936 * iswitchb.el (iswitchb-mode):
12937 * jka-cmpr-hook.el (auto-compression-mode):
12938 * linum.el (linum-mode):
12939 * longlines.el (longlines-mode):
12940 * master.el (master-mode):
12941 * mb-depth.el (minibuffer-depth-indicate-mode):
12942 * menu-bar.el (menu-bar-mode):
12943 * minibuf-eldef.el (minibuffer-electric-default-mode):
12944 * mouse-sel.el (mouse-sel-mode):
12945 * msb.el (msb-mode):
12946 * mwheel.el (mouse-wheel-mode):
12947 * outline.el (outline-minor-mode):
12948 * paren.el (show-paren-mode):
12949 * recentf.el (recentf-mode):
12950 * reveal.el (reveal-mode, global-reveal-mode):
12951 * rfn-eshadow.el (file-name-shadow-mode):
12952 * ruler-mode.el (ruler-mode):
12953 * savehist.el (savehist-mode):
12954 * scroll-all.el (scroll-all-mode):
12955 * scroll-bar.el (scroll-bar-mode):
12956 * server.el (server-mode):
12957 * shell.el (shell-dirtrack-mode):
12958 * simple.el (auto-fill-mode, transient-mark-mode)
12959 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12960 (line-number-mode, column-number-mode, size-indication-mode)
12961 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12962 * strokes.el (strokes-mode):
12963 * time.el (display-time-mode):
12964 * t-mouse.el (gpm-mouse-mode):
12965 * tool-bar.el (tool-bar-mode):
12966 * tooltip.el (tooltip-mode):
12967 * type-break.el (type-break-mode-line-message-mode)
12968 (type-break-query-mode):
12969 * view.el (view-mode):
12970 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12971 (global-whitespace-mode, global-whitespace-newline-mode):
12972 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12973
a3839de2
SM
12974 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12975 Fix autogenerated docstring.
06e21633 12976
5214e501
JL
129772011-10-19 Juri Linkov <juri@jurta.org>
12978
12979 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12980 by checking environment variables "DESKTOP_SESSION" and
12981 "XDG_CURRENT_DESKTOP". (Bug#9779)
12982
195f8db9
JL
129832011-10-19 Juri Linkov <juri@jurta.org>
12984
12985 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12986 (browse-url-chromium-program, browse-url-chromium-arguments):
12987 New defcustoms.
12988 (browse-url-default-browser): Check for `browse-url-chromium' and
12989 call `browse-url-chromium-program'.
12990 (browse-url-chromium): New command. (Bug#9779)
12991
343a34ff
JB
129922011-10-18 Juanma Barranquero <lekktu@gmail.com>
12993
12994 * facemenu.el (list-colors-duplicates): On Windows, detect more
12995 duplicates by assuming that only colors matching "^System" are
12996 special "system colors". (Bug#9722)
12997
6978a151
SM
129982011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12999
13000 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13001 to distinguish the author from the committer.
13002
6a80b297
MA
130032011-10-18 Michael Albinus <michael.albinus@gmx.de>
13004
13005 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13006
b31a5677
JK
130072011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13008
13009 * international/mule.el (sgml-html-meta-auto-coding-function):
13010 Add support for detecting encoding in HTML5 specified only as
13011 <meta charset="UTF-8">. Implementation just makes http-equiv and
13012 content-type parts from HTML4 encoding string optional. (Bug#9716)
13013
80c6d77f
GM
130142011-10-18 Glenn Morris <rgm@gnu.org>
13015
13016 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13017
08b0fee8
CY
130182011-10-18 Chong Yidong <cyd@gnu.org>
13019
13020 * faces.el (cursor): Doc fix.
13021
67e729a5
CY
130222011-10-17 Chong Yidong <cyd@gnu.org>
13023
13024 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13025
343a34ff 130262011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13027
13028 * dirtrack.el (dirtrack): Support shell buffers with path
13029 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13030
0bc06380
TZ
130312011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13032
13033 * json.el: Bump version to 1.3 and note change in History.
13034 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13035
8b79f3e0
SM
130362011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13037
5a7c536b
SM
13038 * comint.el (comint-insert-input, comint-send-input)
13039 (comint-get-old-input-default, comint-backward-matching-input)
13040 (comint-next-prompt): Use nil instead of `input' for field property of
13041 past user input (bug#114).
13042
96a8a0df
SM
13043 * minibuffer.el (completion--replace): Inherit surrounding properties
13044 (bug#114).
13045 (minibuffer-complete-and-exit): Use it.
13046
8b79f3e0
SM
13047 * comint.el (comint--table-subvert): Quote the all-completions output
13048 (bug#9160).
13049
b8f7ff0d
MR
130502011-10-17 Martin Rudalics <rudalics@gmx.at>
13051
8b79f3e0 13052 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13053
b8f7ff0d 13054 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13055 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13056 entries and separate them from frame entries.
13057
c235b555
GM
130582011-10-15 Glenn Morris <rgm@gnu.org>
13059
13060 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13061 Doc fixes.
13062
6bbfa6e1
CY
130632011-10-15 Chong Yidong <cyd@stupidchicken.com>
13064
8b79f3e0
SM
13065 * net/network-stream.el (network-stream-open-starttls):
13066 Improve detection of failure due to lack of TLS support.
ec5c990d 13067
6bbfa6e1
CY
13068 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13069 putting the input text in front and in bold.
13070
98488977
SM
130712011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13072
3d1337be
SM
13073 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13074
ee0b45e4
SM
13075 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13076 empty buffer.
13077
98488977
SM
13078 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13079 unread-command-events rather than pushing yet-another event.
13080
186f4720
EZ
130812011-10-14 Eli Zaretskii <eliz@gnu.org>
13082
13083 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13084 the explanation of the possible choices. Make the options passed
13085 to completing-read shorter.
13086
8b7a997c
AM
130872011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13088
13089 * textmodes/flyspell.el (flyspell-large-region): Make sure
13090 extended character mode is used if defined (Bug#1339).
13091
12587bbb
EZ
130922011-10-13 Eli Zaretskii <eliz@gnu.org>
13093
13094 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13095 character info for LRE, LRO, RLE, and RLO characters by appending
13096 an invisible PDF.
12587bbb 13097
bad41229
SM
130982011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13099
13100 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13101 even in case of error; add debug spec; simplify data flow.
13102 (with-timeout-handler): Remove.
13103
28dbc92f
MA
131042011-10-12 Michael Albinus <michael.albinus@gmx.de>
13105
13106 Fix Bug#6019, Bug#9315.
13107
13108 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13109 complete `buffer-file-name', the local file name part could look
13110 remotely (for example on VMS).
13111
13112 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13113 `tramp-run-real-handler'.
13114 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13115 already quoted by '"'.
13116
13117 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13118 Let `file-name-handler-alist' be nil, the local file name part
13119 could look remotely (for example on VMS).
13120
e1b0b23a
SM
131212011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13122
13123 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13124 from here...
13125 (flyspell-post-command-hook): ...to here.
13126
a120bde9
SM
131272011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13130 if not needed.
13131 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13132 using completion. Protect against "slow" callers.
13133 Remove the "message hack".
13134
7ce7717b
JL
131352011-10-11 Juri Linkov <juri@jurta.org>
13136
13137 * isearch.el (isearch-lazy-highlight-word): New variable.
13138 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13139 Use it. (Bug#9727)
13140
c02ee9d6
GM
131412011-10-11 Glenn Morris <rgm@gnu.org>
13142
13143 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13144 like f90-previous-statement does.
13145
93e616fd 131462011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13147
1f190e73 13148 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13149 only in interactive use, to avoid error.
13150
af7b6078
SM
131512011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13152
13153 * minibuffer.el (completion-file-name-table): Fix last change,
13154 i.e. ignore normal errors but not the other ones.
13155
0563dae9
MR
131562011-10-10 Martin Rudalics <rudalics@gmx.at>
13157
13158 * window.el (special-display-buffer-names)
13159 (special-display-regexps): Remove some remnants of earlier
13160 changes from doc-strings.
366ca7f3
MR
13161 (quit-windows-on): New function.
13162
13163 * vc/vc.el (vc-revert, vc-rollback):
13164 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13165 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13166 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13167
49677495
MR
131682011-10-09 Martin Rudalics <rudalics@gmx.at>
13169
13170 * window.el (frame-auto-hide-function): Add version tag.
13171 (Bug#9699)
13172
56f2d1e1
MA
131732011-10-09 Michael Albinus <michael.albinus@gmx.de>
13174
13175 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13176 condition.
13177
112a6592
LL
131782011-10-09 Leo Liu <sdl.web@gmail.com>
13179
13180 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13181 (Bug#9701)
13182
0812589b
GM
131832011-10-08 Glenn Morris <rgm@gnu.org>
13184
13185 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13186 before the first code statement zero indent. (Bug#9690)
13187
b2b0776e
CY
131882011-10-08 Chong Yidong <cyd@stupidchicken.com>
13189
13190 * simple.el (count-words-region): Always count in the region.
13191 Report the number of lines and characters too.
13192 (count-words): New command, which counts in the buffer if the
13193 region is inactive, as count-words-region used to.
13194 (count-words--message): New function. Handle plurals.
13195 (count-lines-region): Make it an alias for count-words-region.
13196
13197 * bindings.el (esc-map): Replace count-lines-region with
13198 count-words-region.
13199
c557cd6b
MR
132002011-10-08 Martin Rudalics <rudalics@gmx.at>
13201
13202 * window.el (window--delete): Delete dedicated frame
13203 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13204 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13205
61a57ef4 132062011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13207
3a7d293b 13208 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13209
c3833279
CY
132102011-10-07 Chong Yidong <cyd@stupidchicken.com>
13211
13212 * bindings.el ([M-left],[M-right]): Bind to left-word and
13213 right-word respectively.
13214
21ce8245
GM
132152011-10-07 Glenn Morris <rgm@gnu.org>
13216
13217 * cus-start.el (debug-on-quit): Fix custom type.
13218
6d823bb2
LMI
132192011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13220
0181e193
LMI
13221 * subr.el (define-key-after): Clarify that the function is not
13222 useful for non-menu keymaps.
13223
6d823bb2
LMI
13224 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13225
8e3459ce 132262011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13227
21ce8245 13228 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13229 in current minibuffer (Fix bug with recursive minibuffers).
13230
a1c2d21e
CY
132312011-10-06 Chong Yidong <cyd@stupidchicken.com>
13232
13233 * progmodes/gdb-mi.el (gdb): Doc fix.
13234
5a4cf282
MR
132352011-10-05 Martin Rudalics <rudalics@gmx.at>
13236
13237 * window.el (frame-auto-hide-function): New option replacing
13238 frame-auto-delete. Suggested by Stefan Monnier.
13239 (window--delete): Call frame-auto-hide-function instead of
13240 investigating frame-auto-delete.
c96111ea
MR
13241 (window-point-1, set-window-point-1): New functions.
13242 (window-in-direction, record-window-buffer, window-state-get-1)
13243 (display-buffer-record-window): Use window-point-1 instead of
13244 window-point.
13245 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13246
9854542e
SM
132472011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13250
8943cfb0
GM
132512011-10-05 Glenn Morris <rgm@gnu.org>
13252
13253 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13254 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13255
647ab967
LL
132562011-10-05 Leo Liu <sdl.web@gmail.com>
13257
13258 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13259 works with buffer object.
13260
3ddfbced
SM
132612011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 * mpc.el (mpc-tool-bar-map): Add labels.
13264
bdfa5dd2
GM
132652011-10-04 Glenn Morris <rgm@gnu.org>
13266
13267 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13268
0e2070b5
MR
132692011-10-04 Martin Rudalics <rudalics@gmx.at>
13270
13271 * window.el (window--delete): New function.
13272 (frame-auto-delete): Resuscitate option.
13273 (bury-buffer, replace-buffer-in-windows)
13274 (quit-window): Rewrite using window--delete.
13275 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13276 Pass display-buffer-mark-dedicated to window--display-buffer-2
13277 (Bug#9639).
13278
3dc61a09
SM
132792011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13280
915a9b64
SM
13281 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13282 returns a list (bug#9554). Add remote file name completion.
13283 * comint.el (comint--table-subvert): Curry and get quote&unquote
13284 functions as arguments.
13285 (comint--complete-file-name-data): Adjust call accordingly.
13286 * pcomplete.el (pcomplete--table-subvert): Remove.
13287 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13288
3dc61a09
SM
13289 * minibuffer.el (completion-table-case-fold): Use currying.
13290 (completion--styles-type, completion--cycling-threshold-type):
13291 New constants.
13292 (completion-styles, completion-category-overrides)
13293 (completion-cycle-threshold): Use them.
13294 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13295 completion-table-case-fold.
13296
8ea0a993
SB
132972011-10-03 Stephen Berman <stephen.berman@gmx.net>
13298
13299 * minibuffer.el (completion-category-overrides): Fix type of styles
13300 and add more user friendly tags (bug#9660).
13301
8c24b7f6
SM
133022011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13303
13304 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13305 (mule-input-method-string): New widget.
13306 (default-input-method, language-info-custom-alist): Use it.
13307
428fe61a
SM
133082011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13309
32c1fffd
SM
13310 * pcomplete.el: Require comint.
13311 (pcomplete--common-suffix): Remove.
13312 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13313 (pcomplete--table-subvert): Sync with comint--table-subvert.
13314 (pcomplete--entries): Use comint-completion-file-name-table.
13315 * comint.el (comint-unquote-filename): Simplify.
13316 (comint-completion-file-name-table): New function (bug#9616).
13317 (comint--complete-file-name-data): Use it.
13318
428fe61a
SM
13319 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13320 (pcmpl-gnu-tar-buffer): Remove.
13321 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13322 around. Make sure pcomplete-suffix-list is only changed temporarily.
13323 Don't look inside the tar's file if it's too large.
428fe61a 13324
04c52e2f
CY
133252011-10-01 Chong Yidong <cyd@stupidchicken.com>
13326
ce3cefcc
CY
13327 * cus-edit.el (custom-mode-map):
13328 * epa.el (epa-key-list-mode-map):
13329 * man.el (Man-mode-map):
13330 * startup.el (splash-screen-keymap):
13331 * simple.el (special-mode-map): Use scroll-up-command and
13332 scroll-down-command.
13333
13334 * progmodes/idlw-help.el (idlwave-help-mode-map):
13335 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13336 * net/newst-plainview.el (newsticker-mode-map):
13337 * emulation/ws-mode.el (wordstar-mode-map):
13338 * emulation/vi.el (vi-com-map):
13339 * calc/calc-graph.el (calc-graph-show-dumb):
13340 * term/sun.el (terminal-init-sun):
13341 * term/ns-win.el (global-map):
13342 * progmodes/grep.el (grep-mode-map):
13343 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13344 * mail/rmail.el (rmail-mode-map):
13345 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13346
04c52e2f
CY
13347 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13348 custom-safe-themes as special.
13349
79adf8c8
JD
133502011-10-01 Julien Danjou <julien@danjou.info>
13351
13352 * notifications.el (notifications-notify): Fix docstring.
13353
63bd50d3
PS
133542011-10-01 Per Starbäck <per@starback.se>
13355
13356 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13357
199e4c7e
MR
133582011-09-30 Martin Rudalics <rudalics@gmx.at>
13359
13360 * startup.el (command-line-1): Fix last fix by inserting
13361 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13362 (Bug#9605) and (Bug#9636)
199e4c7e 13363
fe5f08dd
EZ
133642011-09-29 Eli Zaretskii <eliz@gnu.org>
13365
13366 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13367 window is hscrolled, move by logical lines. (Bug#9607)
13368 (line-move-visual): Update the doc string to the above effect.
13369
b5516bbd
MR
133702011-09-29 Martin Rudalics <rudalics@gmx.at>
13371
ccee00c0
MR
13372 * window.el (display-buffer-record-window): When WINDOW is the
13373 selected window use `point' instead of `window-point'. (Bug#9626)
13374
b5516bbd
MR
13375 * startup.el (command-line-1): Use insert-before-markers when
13376 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13377
b5516bbd
MR
13378 * help.el (help-window): Remove variable.
13379
52aa0014
GM
133802011-09-29 Glenn Morris <rgm@gnu.org>
13381
13382 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13383
df9a7357
JB
133842011-09-29 Juanma Barranquero <lekktu@gmail.com>
13385
13386 * descr-text.el (describe-char-categories): Accept category
13387 descriptions more than one line long.
13388
a8406c20
SM
133892011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13390
88d9610c
SM
13391 * simple.el (delete-trailing-whitespace): Fix last change.
13392
a5daf810
SM
13393 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13394 Don't confuse "y => 3" as the beginning of a `y' operation.
13395
a8406c20
SM
13396 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13397 object has more than 4 slots (bug#9613).
13398
a239d4e9
JB
133992011-09-28 Juanma Barranquero <lekktu@gmail.com>
13400
13401 * subr.el (with-output-to-temp-buffer):
13402 * net/quickurl.el (quickurl, quickurl-browse-url):
13403 Fix typos in docstrings.
13404
693fbdb6
EZ
134052011-09-27 Eli Zaretskii <eliz@gnu.org>
13406
13407 * minibuffer.el (completion-styles)
13408 (completion-category-overrides): Cross reference each other in doc
13409 strings.
13410
8b457e28
GM
134112011-09-27 Glenn Morris <rgm@gnu.org>
13412
13413 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13414 to split-string. (Bug#9606)
13415
85a16208
LMI
134162011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13417
13418 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13419 (bug#9615).
13420
502f9ebd
CY
134212011-09-27 Chong Yidong <cyd@stupidchicken.com>
13422
13423 * emacs-lisp/package.el (list-packages): Fix echo area message.
13424
7690bdea
LL
134252011-09-27 Leo Liu <sdl.web@gmail.com>
13426
13427 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13428
e2ee6f30
MA
134292011-09-25 Michael Albinus <michael.albinus@gmx.de>
13430
13431 * net/dbus.el (dbus-unregister-object): Don't release services for
13432 registered signals. (Bug#9581)
13433
f3f98342
TZ
134342011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13435
13436 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13437 function that picks between cfengine 2 and 3 support
13438 automatically. Update docs accordingly.
13439
dd7aa8dd
KH
134402011-09-22 Kenichi Handa <handa@m17n.org>
13441
13442 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13443 ZERO.
13444 (indian-itrans-v5-table-for-tamil): New variable.
13445 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13446
3f2b07f8
KM
134472011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13448
13449 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13450 that's true if the current command involved collapsing of text.
13451 It's reset to false at the beginning of the next command.
13452 (allout-post-command-business): Move the cursor to the beginning
13453 of entry if the cursor is hidden and collapsing activity just
13454 happened.
13455
371d6a61
CY
134562011-09-24 Chong Yidong <cyd@stupidchicken.com>
13457
13458 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13459 tracking (Bug#9541).
13460
2ac2721a
UJ
134612011-09-24 Ulf Jasper <ulf.jasper@web.de>
13462
13463 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13464 (newsticker-show-news): Automatically load html rendering package
13465 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13466 because w3m-fill-column is let-bound" and the error "Symbol's value
13467 as variable is void: w3m-fill-column".
2ac2721a 13468
fac7ae53
MA
134692011-09-24 Michael Albinus <michael.albinus@gmx.de>
13470
13471 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13472 Release services only if they are defined. (Bug#9581)
13473
e08b633b
RS
134742011-09-23 Richard Stallman <rms@gnu.org>
13475
e488d29c
RS
13476 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13477 distinguish start of paragraph from start of its text.
13478
19c38752
RS
13479 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13480
e08b633b
RS
13481 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13482 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13483 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13484
0a39f27e
AS
134852011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13486
13487 * international/mule-diag.el (mule-diag): Insert a newline after
13488 each fontset description.
13489
db4e950d
SM
134902011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * simple.el (delete-trailing-whitespace):
13493 Document last change; simplify.
13494
eca3f3ea
PW
134952011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13496
d68e189a
PW
13497 * simple.el (delete-trailing-whitespace): Also delete
13498 extra newlines at the end of the buffer.
13499
eca3f3ea
PW
13500 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13501 (picture-newline): Use forward-line so as to ignore fields.
13502
01c157cc
SM
135032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13504
13505 * subr.el (with-wrapper-hook): Fix edebug spec.
13506
022de23e
LMI
135072011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13508
13509 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13510 (bug#4538).
13511
91683089
MA
135122011-09-23 Michael Albinus <michael.albinus@gmx.de>
13513
eca3f3ea
PW
13514 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13515 Fix nasty bug using wrong cached values.
91683089 13516
5bdd6fa4
AM
135172011-09-23 Alan Mackenzie <acm@muc.de>
13518
13519 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13520
97adfb97
CY
135212011-09-23 Chong Yidong <cyd@stupidchicken.com>
13522
13523 * window.el (pop-to-buffer): Ensure right window is selected if we
13524 chose another frame.
13525
d4ef2b50
EZ
135262011-09-22 Eli Zaretskii <eliz@gnu.org>
13527
13528 * simple.el (what-cursor-position): Use get-char-property-change
13529 and next-single-char-property-change, to be able to show display
13530 properties that come from overlays as well as text properties.
13531
72258fe5
CY
135322011-09-22 Chong Yidong <cyd@stupidchicken.com>
13533
13534 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13535
13536 * cmuscheme.el (run-scheme, switch-to-scheme):
13537 * cus-edit.el (customize-group, custom-buffer-create)
13538 (customize-browse):
13539 * info.el (info):
13540 * shell.el (shell):
13541 * mail/sendmail.el (mail):
13542 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13543
8f098516
RS
135442011-09-22 Richard Stallman <rms@gnu.org>
13545
13546 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13547 move back only to line beg, don't move back over blank lines.
13548
e74f1bb6
MA
135492011-09-22 Michael Albinus <michael.albinus@gmx.de>
13550
13551 * files.el (copy-directory): Set directory attributes only in case
13552 they could be retrieved from the source directory. (Bug#9565)
13553
bfeef8b6
DK
135542011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13555
13556 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13557 (hs-find-block-beginning, hs-hide-level-recursive):
13558 Ignore strings as well as comments. (Bug#9502)
13559
7e423bb8
AS
135602011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13561
13562 * progmodes/sql.el (sql-comint-postgres):
13563 Convert port number to a string. (Bug#9566)
13564
b4d72fcf
MR
135652011-09-22 Martin Rudalics <rudalics@gmx.at>
13566
13567 * window.el (quit-window): Undedicate window when switching to
13568 previous buffer. Reported by Thierry Volpiatto
13569 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13570 (special-display-popup-frame): When popping up a new frame reset
13571 its previous buffers to nil. Simplify code.
b4d72fcf 13572
a7b88dc6
MA
135732011-09-21 Michael Albinus <michael.albinus@gmx.de>
13574
13575 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13576 and process filter, as done also in `shell-command'.
13577
cf4eacfd
MR
135782011-09-21 Martin Rudalics <rudalics@gmx.at>
13579
eca3f3ea 13580 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13581 Call set-window-start with NOFORCE argument t.
13582 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13583 (quit-window): Reword doc-string. Handle new format of
13584 quit-restore parameter. Don't delete window if it has a
13585 previous buffer we can show instead of the present one.
13586 (display-buffer-record-window): Rewrite using a new format for
13587 the quit-restore window parameter
13588 (special-display-popup-frame, display-buffer-same-window)
13589 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13590 (display-buffer-pop-up-window, display-buffer-use-some-window):
13591 Adapt symbol passed to display-buffer-record-window.
13592 * help.el (help-window-setup): Handle new format of quit-restore
13593 parameter.
13594
8d28cb95
SM
135952011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13596
94ab793f
SM
13597 * faces.el (face-list): Fix docstring (bug#9564).
13598
8d28cb95
SM
13599 * window.el (display-buffer--action-function-custom-type):
13600 Don't include internal functions in the Custom interface.
13601
3820edeb
JL
136022011-09-20 Juri Linkov <juri@jurta.org>
13603
13604 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13605 (Info-forward-node, Info-backward-node, Info-next-preorder)
13606 (Info-last-preorder): Use it. (Bug#9528)
13607
5147931d
JL
136082011-09-20 Juri Linkov <juri@jurta.org>
13609
13610 * info.el (Info-last-preorder): Visit last menu item only when
13611 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13612
cf499a1a
JD
136132011-09-20 Julien Danjou <julien@danjou.info>
13614
13615 * password-cache.el (password-cache-remove): Remove entries even if the
13616 value is nil, so that password with a nil value (negative caching) is
13617 possible to invalidate.
13618
f84e2fe2
LM
136192011-09-20 Lawrence Mitchell <wence@gmx.li>
13620
13621 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13622 all whitespace around breakpoint. (Bug#9553)
13623 (f90-find-breakpoint): Only break at whitespace inside a comment.
13624
78054a46
SM
136252011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * minibuffer.el (completion-file-name-table): Keep track of errors.
13628 (completion-table-with-predicate): Handle the case where pred1 is nil.
13629 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13630
345083b2
SM
136312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13632
e24e27be
SM
13633 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13634 (debugger-return-value): Signal an error if the debugging context does
13635 not await any return value.
13636
345083b2
SM
13637 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13638 * image-mode.el (image-toggle-display-text)
13639 (image-toggle-display-image): Stay away from evil `intangible'.
13640
08d355e3
LL
136412011-09-19 Leo Liu <sdl.web@gmail.com>
13642
13643 * replace.el (occur-revert-arguments): Make it permanent-local.
13644 (occur-mode): Don't call font-lock-defontify.
13645
f01da43f
CY
136462011-09-19 Chong Yidong <cyd@stupidchicken.com>
13647
13648 * net/ldap.el (ldap-search-internal): Don't push empty search
13649 result (Bug#9508).
13650
b6072fa6
SM
136512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13652
13653 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13654
443d6696
MA
136552011-09-19 Michael Albinus <michael.albinus@gmx.de>
13656
13657 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13658 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13659
7cc6e154
JL
136602011-09-18 Juri Linkov <juri@jurta.org>
13661
13662 * buff-menu.el (Buffer-menu-mode-map):
13663 * dired.el (dired-mode-map):
13664 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13665 (lisp-interaction-mode-map):
13666 * emacs-lisp/package.el (package-menu-mode-map):
13667 * epa.el (epa-key-list-mode-map):
13668 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13669 (menu-bar-options-menu):
13670 * outline.el (outline-mode-menu-bar-map):
13671 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13672 * vc/vc-dir.el (vc-dir-menu-map):
13673 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13674 Capitalize non-function content words in menu item strings.
13675
13676 * dired.el (dired-mode-map): Add menu item for
13677 `image-dired-dired-toggle-marked-thumbs'.
13678
80302a81
JL
136792011-09-18 Juri Linkov <juri@jurta.org>
13680
13681 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13682 to `isearch-case-fold-search' and restore its original value
13683 after the `isearch-mode' call.
13684
46c5cf66
JL
136852011-09-18 Juri Linkov <juri@jurta.org>
13686
13687 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13688 because `zgrep' returns 1 for successful matches (bug#9226).
13689
d18b513b
JL
136902011-09-18 Juri Linkov <juri@jurta.org>
13691
13692 * info.el (Info-extract-menu-node-name): Check the second match
13693 for empty string (second test-case of bug#9528).
13694 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13695 intermediate nodes to the history (first test-case of bug#9528).
13696
72753f87
JL
136972011-09-18 Juri Linkov <juri@jurta.org>
13698
13699 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13700 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13701
c9384295
JL
137022011-09-18 Juri Linkov <juri@jurta.org>
13703
1154d12e
JB
13704 * info.el (Info-file-supports-index-cookies):
13705 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13706 outputs one more line for long file names (bug#4142).
c9384295 13707
d473dce8
CY
137082011-09-18 Chong Yidong <cyd@stupidchicken.com>
13709
13710 * newcomment.el (comment-normalize-vars): If prompting for
13711 comment-start, set comment-start-skip too (Bug#8424).
13712
2176854d
JB
137132011-09-18 Johan Bockgård <bojohan@gnu.org>
13714
13715 * icomplete.el: Fix previous fix of Bug#5849.
13716 (icomplete-mode): Don't set completion-show-inline-help.
13717 (icomplete-minibuffer-setup): Set completion-show-inline-help
13718 locally during icompletion.
13719
3aace4e4
CY
137202011-09-18 Chong Yidong <cyd@stupidchicken.com>
13721
c940224f
CY
13722 * woman.el (woman2-process-escapes): Don't delete unrecognized
13723 escapes (Bug#7843).
13724
3aace4e4
CY
13725 * files.el (inhibit-first-line-modes-regexps): Add image files.
13726 (hack-local-variables-prop-line): Return nil for malformed
13727 prop-lines (Bug#9044).
13728
710dec63
MA
137292011-09-18 Michael Albinus <michael.albinus@gmx.de>
13730
13731 * net/tramp.el (top): Don't require 'shell.
13732 (tramp-methods): Fix docstring.
13733 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13734 Return complete remote file name. Handle "smb" case.
13735 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13736 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13737
13738 * net/tramp-compat.el (top): Require 'shell.
13739
13740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13741 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13742 `tramp-current-host'.
13743 (tramp-get-remote-tmpdir): Remove.
13744
13745 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13746 `tramp-tmpdir' entries.
13747 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13748 (tramp-smb-handle-file-attributes): Ignore errors.
13749 (tramp-smb-wait-for-output): Check also for process end.
13750
5d5ac8ec
LMI
137512011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13752
13753 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13754 when sending QUIT (bug#9312).
13755
8c0f49f0
CY
137562011-09-17 Chong Yidong <cyd@stupidchicken.com>
13757
13758 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13759 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13760 occur-mode-display-occurrence.
13761 (occur-edit-mode): Add usage message.
13762 (occur-cease-edit): New command.
13763 (occur-after-change-function): Use text properties to find the
13764 position of the prefix text.
13765 (occur-engine): Set stickiness of prefix text properties.
13766
8f1383f7
GM
137672011-09-17 Glenn Morris <rgm@gnu.org>
13768
13769 * progmodes/etags.el (complete-tag):
13770 Fix call to completion-in-region. (Bug#9526)
13771
744ba0e3
JL
137722011-09-17 Juri Linkov <juri@jurta.org>
13773
13774 * textmodes/ispell.el (ispell-word): Add to the error message
13775 the word, ispell program name and current dictionary (bug#9121).
13776 (ispell-tex-arg-end): Capitalize "error" in the error message.
13777
d9bbf400
AS
137782011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13779
13780 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13781 check. (Bug#4251)
13782
8da11505
JL
137832011-09-17 Juri Linkov <juri@jurta.org>
13784
13785 * window.el (window-safe-min-height, window-safe-min-width):
13786 Fix typos (followup to bug#9522).
13787
a91adc7e
SJ
137882011-09-17 Sven Joachim <svenjoac@gmx.de>
13789
13790 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13791
064f328a
EZ
137922011-09-16 Eli Zaretskii <eliz@gnu.org>
13793
13794 * simple.el (line-move): If goal-column is set, move by logical
13795 lines, not by display lines. (Bug#971)
13796 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13797 to reflect the above change.
13798
e69df516
SM
137992011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13800
13801 * image.el (imagemagick-register-types): Use regexp-opt.
13802
cbb0f9ab
CY
138032011-09-15 Chong Yidong <cyd@stupidchicken.com>
13804
13805 * window.el (display-buffer-base-action): Rename from
13806 display-buffer-default-action. Make default value empty.
13807 (display-buffer-overriding-action): Convert to defvar.
13808 (display-buffer-fallback-action): New var.
13809
25322144
CY
138102011-09-15 Chong Yidong <cyd@stupidchicken.com>
13811
13812 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13813 declaration.
13814 (package--add-to-archive-contents): If there is a duplicate entry
13815 with an older version, remove it.
13816 (package-menu-mark-delete, package-menu-mark-install)
13817 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13818 (package-menu-mark-obsolete-for-deletion):
13819 Use package-menu-get-status instead of a regexp search.
25322144
CY
13820 (package-menu-get-status): Use tabulated-list-entry.
13821 (package-menu-mark-upgrades): New command.
d770725a 13822 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13823 (package-menu-execute): Do installation before deletion.
13824 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13825 instead of checking major-mode.
13826 (package-menu--find-upgrades): New function.
13827
7520339c
LMI
138282011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13829
13830 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13831 passwords in the log buffer.
65a046c4
LMI
13832 (smtpmail-process-filter): Update the process marker so that the
13833 "broken by peer" status message is inserted in the right place.
7520339c 13834
d3c30954
SM
138352011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13836
3fe48822
SM
13837 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13838 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13839 bibtex-completion-at-point-function.
13840 (bibtex-completion-at-point-function): Use them.
13841
1b8b3954
SM
13842 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13843
d3c30954
SM
13844 * mpc.el (mpc-constraints-tag-lookup): New function.
13845 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13846 also to browser "album|playlist".
13847
72779976
JL
138482011-09-14 Juri Linkov <juri@jurta.org>
13849
13850 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13851 (isearch-edit-string): Use length of `isearch-string' when
13852 `isearch-fail-pos' returns nil.
13853 (isearch-message): Remove duplicate code and call
13854 `isearch-fail-pos' with arg `t'.
13855
a0bf2bcd
CY
138562011-09-14 Chong Yidong <cyd@stupidchicken.com>
13857
17bb0a2d
CY
13858 * replace.el (occur-mode-goto-occurrence): Don't force using other
13859 window (Bug#9499).
13860
a0bf2bcd
CY
13861 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13862
f678e0b6
MR
138632011-09-14 Martin Rudalics <rudalics@gmx.at>
13864
13865 * window.el (display-buffer-window): Remove.
13866 (display-buffer-record-window): Use help-setup window parameter
13867 instead of variable display-buffer-window.
13868 (display-buffer-function, special-display-buffer-names)
13869 (special-display-function): Mention help-setup parameter instead
13870 of display-buffer-window in doc-string.
d3c30954
SM
13871 * help.el (help-window-setup): New argument help-window.
13872 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13873 Reword some messages.
13874 (with-help-window): Pass window used for displaying the buffer
13875 to help-window-setup. Don't set display-buffer-window.
13876
8e39b2e8
GM
138772011-09-13 Glenn Morris <rgm@gnu.org>
13878
13879 * emacs-lisp/debug.el (debugger-make-xrefs):
13880 Preserve point. (Bug#9462)
13881
85e9c04b
CY
138822011-09-13 Chong Yidong <cyd@stupidchicken.com>
13883
13884 * window.el (window-deletable-p): Use next-frame.
13885
1b36ed6a
MR
138862011-09-13 Martin Rudalics <rudalics@gmx.at>
13887
13888 * window.el (window-auto-delete): Remove.
13889 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13890 dedication and previous buffers.
1b36ed6a
MR
13891 (switch-to-prev-buffer): Don't delete window.
13892 (delete-windows-on): Delete a window's frame if and only if the
13893 window is dedicated.
13894 (replace-buffer-in-windows): Delete buffer's window or frame if
13895 and only if window is dedicated.
13896 (quit-window): Handle quit-restore as before last change.
4d61f28d 13897 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13898
ef8ef9fb
CY
138992011-09-13 Chong Yidong <cyd@stupidchicken.com>
13900
13901 * window.el (window-deletable-p): Never delete the last frame on a
13902 given terminal.
13903
b2cba41e
GM
139042011-09-13 Glenn Morris <rgm@gnu.org>
13905
13906 * help.el (describe-key-briefly): Copy previous standard-output change.
13907
51553db6 139082011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13909
13910 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13911
b7556719
GM
139122011-09-13 Glenn Morris <rgm@gnu.org>
13913
13914 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13915 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13916
64b51947
CY
139172011-09-12 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * dired-aux.el (dired-mark-read-string): Don't return default
13920 value on empty input (Bug#9361).
13921 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13922 Omit initial minibuffer contents.
13923 (dired-do-chmod): Signal an error on empty input.
13924 (dired-mark-read-string): Don't return default on empty input.
13925
13926 * files.el (file-modes-symbolic-to-number): Doc fix.
13927
393a301e
SM
139282011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13929
13930 * international/mule-cmds.el (ucs-completions): Remove.
13931 (read-char-by-name): Use complete-with-action instead; add metadata.
13932
fa5660f9
CY
139332011-09-11 Chong Yidong <cyd@stupidchicken.com>
13934
13935 * window.el (display-buffer--action-function-custom-type)
13936 (display-buffer--action-custom-type): New vars.
13937 (display-buffer-alist, display-buffer-default-action)
13938 (display-buffer-overriding-action): Add defcustom types.
13939
4a592f66
CY
13940 * frame.el (delete-other-frames): Doc fix (Bug#276).
13941
73d56dbd
LMI
139422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13943
13944 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13945
37ac18a3
CY
139462011-09-11 Chong Yidong <cyd@stupidchicken.com>
13947
13948 Change modes that used same-window-* vars to use switch-to-buffer.
13949
13950 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13951 Use switch-to-buffer.
13952
13953 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13954 (customize-browse, custom-buffer-create-other-window):
13955 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13956
13957 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13958 (Info-prev, Info-up, Info-speedbar-goto-node)
13959 (info-display-manual): Use switch-to-buffer.
13960 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13961
13962 * mail/sendmail.el (mail): Use switch-to-buffer.
13963 (mail-recover): Use switch-to-buffer-other-window.
13964
13965 * cmuscheme.el (run-scheme, switch-to-scheme):
13966 * ielm.el (ielm):
13967 * shell.el (shell):
13968 * net/rlogin.el (rlogin):
13969 * net/telnet.el (telnet, rsh):
13970 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13971
10195bd6
AS
139722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13973
13974 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13975
b322f63a
LMI
139762011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13977
39d7fed6
LMI
13978 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13979 so don't mention it (bug#9301).
ba5a81f1 13980 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13981
ee0e9f11
LMI
13982 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13983 match `x', `w32' and `ns', like the manual says (bug#9029).
13984
0b1c89c1 13985 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13986 (process-kill-buffer-query-function): Mention the buffer name in
13987 the query.
0b1c89c1 13988
77549ea8
LMI
13989 * image-mode.el (image-next-line): The line parameter is mandatory
13990 (bug#9258).
13991
803ef892
LMI
13992 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13993 which can be useful (bug#9301).
13994
12980837
LMI
13995 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13996
91054f8f
LMI
13997 * subr.el (match-string): Mention that the current buffer should
13998 be the same as the search was done in (bug#9282).
13999
b322f63a
LMI
14000 * facemenu.el: Disable the remove-* commands if the mark isn't
14001 active (bug#9162).
14002
3199b96f
CY
140032011-09-10 Chong Yidong <cyd@stupidchicken.com>
14004
14005 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14006 of display-buffer.
14007 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14008
14009 * replace.el (occur-mode-goto-occurrence)
14010 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14011 and display-buffer.
14012
14013 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14014 display-buffer.
14015
14016 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14017 special-display and same-window variables.
14018 (mail-other-window): Use switch-to-buffer-other-window.
14019 (mail-other-frame): USe switch-to-buffer-other-frame.
14020
393a301e
SM
14021 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14022 Use display-buffer-other-frame.
3199b96f
CY
14023 (gdb-display-gdb-buffer): Use pop-to-buffer.
14024
14025 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14026
14027 * progmodes/python.el: Don't set same-window-buffer-names.
14028
14029 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14030
14031 * window.el (display-buffer-alist): Add *Python*.
14032
8319e0bf
CY
140332011-09-10 Chong Yidong <cyd@stupidchicken.com>
14034
14035 * window.el (display-buffer-alist): Add entry for buffers
14036 previously handled same-window-*.
14037 (display-buffer-alist, display-buffer-default-action)
14038 (display-buffer-overriding-action): Mark as risky.
14039 (display-buffer-alist): Document action function changes.
14040 (display-buffer--same-window-action)
14041 (display-buffer--other-frame-action): New variables.
14042 (switch-to-buffer, display-buffer-other-frame): Use them.
14043 (display-buffer): Rename reuse-frame entry to reusable-frames.
14044 (display-buffer-reuse-selected-window): Function deleted.
14045 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14046 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14047 (display-buffer-special): New function.
14048 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14049 display-buffer-reuse-or-pop-window. Split off special-display
14050 part into display-buffer-special.
14051 (display-buffer-use-some-window): Don't perform any special
14052 pop-up-frames handling.
14053 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14054 (display-buffer--maybe-same-window): Rename from
0d3ff375 14055 display-buffer-maybe-same-window.
8319e0bf 14056
919a69aa
CY
14057 * info.el: Don't set same-window-regexps.
14058 (info-setup): New function.
14059 (info-other-window, info): Call it.
14060
14061 * cus-edit.el: Don't set same-window-regexps.
14062 (customize-group): New argument.
14063 (customize-group-other-window): Use it.
14064 (customize-face, customize-face-other-window): Likewise.
14065 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14066
8319e0bf
CY
14067 * net/rlogin.el:
14068 * net/telnet.el:
14069 * progmodes/gud.el: Don't set same-window-regexps.
14070
14071 * cmuscheme.el:
14072 * ielm.el:
14073 * shell.el:
14074 * mail/sendmail.el:
14075 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14076
25173000
JL
140772011-09-10 Juri Linkov <juri@jurta.org>
14078
14079 * isearch.el (isearch-edit-string): Remove obsolete mention of
14080 `C-w' (`isearch-yank-word-or-char') from docstring.
14081 (isearch-query-replace): Fix typo in docstring (bug#9466).
14082
056e44ef
JL
140832011-09-10 Juri Linkov <juri@jurta.org>
14084
14085 * paren.el (show-paren-function): Don't show escaped parens.
14086 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14087
c3760c17
EZ
140882011-09-10 Eli Zaretskii <eliz@gnu.org>
14089
14090 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14091 (mm-default-file-encoding): Remove autoload forms, they are
14092 replaced with autoload cookies in mml.el and mm-encode.el.
14093 (mail-add-attachment): New command.
14094 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14095 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14096 the doc string.
14097 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14098
fece895e
RT
140992011-09-10 Reuben Thomas <rrt@sc3d.org>
14100
e69df516
SM
14101 * simple.el (count-words-region): Use buffer if there's no region
14102 (bug#9429).
fece895e 14103
5e68ce4a
JL
141042011-09-09 Juri Linkov <juri@jurta.org>
14105
14106 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14107 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14108 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14109
0a6b9622
AM
141102011-09-09 Alan Mackenzie <acm@muc.de>
14111
14112 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14113 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14114
14a29deb
EZ
141152011-09-09 Eli Zaretskii <eliz@gnu.org>
14116
14117 Fix for Savannah bug#9392.
14118 * simple.el (mail-encode-mml): New defvar.
14119
14120 * mail/rmail.el (mail-encode-mml): Add a defvar.
14121 (rmail-enable-mime-composing): Default to t.
14122 (rmail-forward): Use MIME method of forwarding only if both
14123 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14124 Set mail-encode-mml non-nil if the MIME method was used.
14125
14126 * mail/sendmail.el (mml-to-mime): Add autoload form.
14127 (mail-encode-mml): Add a defvar.
14128 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14129 to nil.
14130 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14131 message through mml-to-mime, and reset mail-encode-mml to nil.
14132
28c45130
GM
141332011-09-09 Glenn Morris <rgm@gnu.org>
14134
14135 * woman.el (woman-if-body): When processing an .el block,
14136 do not delete the next .el block as well. (Bug#9447)
69f4b618 14137 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14138
9b1c252e
MR
141392011-09-08 Martin Rudalics <rudalics@gmx.at>
14140
14141 * window.el (window-deletable-p): Make sure window is live before
14142 invoking window-prev-buffers.
14143
567457e3
LL
141442011-09-08 Leo Liu <sdl.web@gmail.com>
14145
14146 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14147
97f05794
JL
141482011-09-08 Juri Linkov <juri@jurta.org>
14149
14150 * progmodes/compile.el (compilation-environment): Make it
14151 a defcustom (bug#8340).
14152
8b0874b5
MR
141532011-09-08 Martin Rudalics <rudalics@gmx.at>
14154
14155 * window.el (frame-auto-delete): Rename to window-auto-delete.
14156 Make it control auto-deletion of windows and/or frames.
14157 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14158 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14159 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14160 Rewrite handling of case when window/frame can be deleted.
14161 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14162 argument t. (Bug#9456)
8b0874b5 14163
4feb6e73
CY
141642011-09-07 Chong Yidong <cyd@stupidchicken.com>
14165
14166 * help-mode.el (help-mode): Restore autoload.
14167
91ab9c13
JL
141682011-09-07 Juri Linkov <juri@jurta.org>
14169
14170 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14171 `compilation-environment'. Set buffer-local
14172 `compilation-environment' to `thisenv' later after (funcall mode).
14173 (Bug#8340)
14174
14175 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14176 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14177 instead of replacing its value. (Bug#8340)
14178
0527e251
JL
141792011-09-07 Juri Linkov <juri@jurta.org>
14180
14181 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14182 based on text properties put by `grep-filter' instead of matching
14183 escape sequences.
14184 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14185 to the value of `grep-error-screen-columns' (bug#9438).
14186
249f792c
JL
141872011-09-07 Juri Linkov <juri@jurta.org>
14188
14189 * simple.el (next-error-highlight, next-error-highlight-no-select):
14190 Doc fix (bug#9432).
14191
ff7271b9
OT
141922011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14193
14194 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14195 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14196
183fc730
LL
141972011-09-07 Leo Liu <sdl.web@gmail.com>
14198
14199 * net/rcirc.el (rcirc-mode): Conditionally initialize
14200 rcirc-input-ring.
14201
77694924
SM
142022011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * emacs-lisp/find-func.el (find-function-C-source): Only set
14205 find-function-C-source-directory after checking that we found a source
14206 file there (bug#9440).
14207
d809b8eb
AM
142082011-09-06 Alan Mackenzie <acm@muc.de>
14209
14210 * isearch.el (isearch-other-meta-char): Wherever a key list is
14211 unread, "unread" the prefix arg, too. This fixes bug #8901.
14212
453de99f
OG
142132011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14214
14215 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14216
90439906
JL
142172011-09-05 Juri Linkov <juri@jurta.org>
14218
14219 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14220
f62bd846
JL
142212011-09-05 Juri Linkov <juri@jurta.org>
14222
14223 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14224 keeping point where processing of grep matches begins, and
14225 continue to delete remaining escape sequences from the same point.
14226 (grep-filter): Make leading zero optional in "0?1;31m" because
14227 git-grep emits "\033[1;31m" escape sequences unlike expected
14228 "\033[01;31m" as GNU Grep does (bug#9408).
14229 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14230
045820ec
JL
142312011-09-05 Juri Linkov <juri@jurta.org>
14232
14233 * subr.el (y-or-n-p): Capitalize "yes".
14234
f5e29b9b
MA
142352011-09-04 Michael Albinus <michael.albinus@gmx.de>
14236
14237 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14238 `tramp-cache-unload-hook' where appropriate.
14239 (tramp-methods): Rename `tramp-remote-sh' to
14240 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14241 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14242
14243 * net/tramp-sh.el (top): Don't require 'shell.
14244 (tramp-methods): Add `tramp-remote-shell' and
14245 `tramp-remote-shell-args' entries.
14246 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14247 (tramp-sh-handle-shell-command): Remove.
14248 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14249 Use `tramp-remote-shell'.
14250
2784c434
CY
142512011-09-03 Chong Yidong <cyd@stupidchicken.com>
14252
393a301e 14253 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14254 (sendmail-query-once): Save directly to send-mail-function.
14255 Update message-send-mail-function too.
14256
14257 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14258
464cdf56
CS
142592011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14260
14261 * progmodes/python.el (python-mode-map): Use correct function to
14262 start python interpreter from menu-bar (as reported by Geert
14263 Kloosterman).
14264 (inferior-python-mode-map): Fix typo.
393a301e 14265 (python-shell-map): Remove.
464cdf56 14266
d37e5c87
DD
142672011-09-03 Deniz Dogan <deniz@dogan.se>
14268
14269 * net/rcirc.el (rcirc-print): Simplify code for
14270 rcirc-scroll-show-maximum-output. There is no need to walk
14271 through all windows to find the right one.
14272
f3ada0ee
CS
142732011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14274
14275 * help.el (help-return-method): Doc fix.
14276
1f3c99ca
MR
142772011-09-03 Martin Rudalics <rudalics@gmx.at>
14278
14279 * window.el (window-deletable-p): Don't return a non-nil value
14280 when there's a buffer that was shown in the window before.
14281 (Bug#9419)
393a301e
SM
14282 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14283 Set window's previous buffers to nil.
1f3c99ca 14284
a3cf097f
EZ
142852011-09-03 Eli Zaretskii <eliz@gnu.org>
14286
14287 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14288 newline before and after the tag line, so it doesn't interfere
14289 with determining the paragraph direction of bidirectional text.
14290
3d03de90
LL
142912011-09-03 Leo Liu <sdl.web@gmail.com>
14292
14293 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14294
c3313451
CY
142952011-09-02 Chong Yidong <cyd@stupidchicken.com>
14296
393a301e 14297 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14298 (pop-to-buffer): Change interactive spec. Pass second argument
14299 directly to display-buffer.
14300 (display-buffer): Fix interactive spec. Use functionp to
14301 distinguish between a function and a list of functions.
14302
14303 * abbrev.el (edit-abbrevs):
14304 * arc-mode.el (archive-extract):
14305 * autoinsert.el (auto-insert):
14306 * bookmark.el (bookmark-bmenu-list):
14307 * files.el (find-file):
14308 * view.el (view-buffer):
14309 * progmodes/compile.el (compilation-goto-locus):
14310 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14311
89894cd8
CY
143122011-09-02 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * window.el (display-buffer-alist): Doc fix.
14315 (display-buffer): Add docstring. Don't treat
14316 display-buffer-default specially.
14317 (display-buffer-reuse-selected-window)
14318 (display-buffer-same-window, display-buffer-maybe-same-window)
14319 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14320 (display-buffer-pop-up-window)
14321 (display-buffer-reuse-or-pop-window)
14322 (display-buffer-use-some-window): New functions.
14323 (display-buffer-default-action): Use them.
393a301e 14324 (display-buffer-default): Delete.
89894cd8
CY
14325 (pop-to-buffer-1): Fix choice of actions.
14326
ae0bc9fb
SM
143272011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * minibuffer.el (completion--insert-strings): Don't get confused by
14330 completion entries that end with an LF char.
14331
e9d90883
EZ
143322011-09-01 Eli Zaretskii <eliz@gnu.org>
14333
14334 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14335
437014c8
CY
143362011-09-01 Chong Yidong <cyd@stupidchicken.com>
14337
14338 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14339 (display-buffer-same-window, display-buffer-other-window):
14340 New functions.
437014c8
CY
14341 (pop-to-buffer-1): New function. Use the above.
14342 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14343 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14344
14345 * view.el (view-buffer-other-window, view-buffer-other-frame):
14346 Just use pop-to-buffer.
14347
a5e063d5
TV
143482011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14349
14350 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14351
793d32bb
WH
143522011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14353
14354 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14355
d65e4c15
RS
143562011-08-31 Richard Stallman <rms@gnu.org>
14357
14358 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14359 of the separation of rmail-view-buffer from rmail-buffer.
14360 If you say no to "replace original", the decrypt is in the
14361 view buffer. If you say yes, the decrypt goes into the
14362 rmail buffer also.
14363
f818cd2a
MR
143642011-08-31 Martin Rudalics <rudalics@gmx.at>
14365
14366 * window.el (display-buffer-window): Rewrite doc-string.
14367 (display-buffer-record-window): New function.
14368 (display-buffer-macro-specifiers)
14369 (display-buffer-even-window-sizes, display-buffer-set-height)
14370 (display-buffer-set-width, display-buffer-in-window)
14371 (display-buffer-reuse-window, display-buffer-split-specifiers)
14372 (display-buffer-side-specifiers, display-buffer-split-window-1)
14373 (display-buffer-split-window, display-buffer-split-atom-window)
14374 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14375 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14376 (display-buffer-other-window-means-other-frame)
14377 (display-buffer-normalize-special)
14378 (display-buffer-normalize-default)
14379 (display-buffer-normalize-argument)
14380 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14381 (display-buffer-normalize-specifiers, display-buffer-frame)
14382 (display-buffer-same-window, display-buffer-same-frame)
14383 (display-buffer-other-window)
14384 (display-buffer-same-frame-other-window)
14385 (display-buffer-other-frame, pop-to-buffer-same-window)
14386 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14387 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14388 (switch-to-buffer-same-frame)
14389 (switch-to-buffer-other-window-same-frame)
14390 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14391 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14392 (display-buffer-alist-set): Remove.
14393 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14394 (special-display-regexps, special-display-function):
14395 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14396 parameter.
14397 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14398 (special-display-frame-alist, special-display-popup-frame)
14399 (same-window-buffer-names, same-window-regexps, same-window-p)
14400 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14401 (split-window-preferred-function, split-height-threshold)
14402 (split-width-threshold, window-splittable-p)
14403 (split-window-sensibly, window--try-to-split-window)
14404 (window--frame-usable-p, even-window-heights)
14405 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14406 (window--display-buffer-2, display-buffer-other-frame):
14407 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14408 (display-buffer-default, display-buffer-assq-regexp): New functions.
14409 (display-buffer-alist): Rewrite doc-string.
14410 (display-buffer-default-action)
14411 (display-buffer-overriding-action): New variables.
14412 (display-buffer, switch-to-buffer): Rewrite.
14413 (pop-to-buffer): Restore Emacs 23 behavior but use
14414 window-normalize-buffer-to-display.
14415 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14416 Restore Emacs 23 behavior but use
14417 window-normalize-buffer-to-switch-to.
14418 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14419 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14420 Rewrite using Emacs 23 options.
f818cd2a 14421
5bc3b51d
MA
144222011-08-31 Michael Albinus <michael.albinus@gmx.de>
14423
14424 * net/tramp.el (tramp-root-regexp): Remove.
14425 (tramp-completion-file-name-regexp-unified)
14426 (tramp-completion-file-name-regexp-separate)
14427 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14428 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14429 (tramp-drop-volume-letter): Simplify definition.
14430 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14431
b1a4f8e1
SM
144322011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14435 (bug#9356).
14436
5664fa7b
RT
144372011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14438
b1a4f8e1 14439 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14440
9a45d6c3
JL
144412011-08-29 Juri Linkov <juri@jurta.org>
14442
14443 * isearch.el (isearch-done): Don't display message "Mark saved"
14444 when arg `edit' is non-nil to prevent its flicker in the echo area.
14445
fb87e0fb
CY
144462011-08-28 Chong Yidong <cyd@stupidchicken.com>
14447
14448 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14449 obsolete packages for deletion.
14450
09ac1c2a
CS
144512011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14452
14453 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14454 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14455 view-mode from help-mode.
14456 (help-xref-override-view-map): Remove.
14457 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14458 view-mode is not used anymore.
14459
7a1ff57f
CY
144602011-08-28 Chong Yidong <cyd@stupidchicken.com>
14461
14462 * server.el (server-port): Doc fix.
14463
b9696605
CY
14464 * cus-theme.el (custom-theme-choose-mode): Inherit from
14465 special-mode (Bug#9124).
14466 (custom-theme-choose-mode-map): Add special-mode to parent.
14467
ef8cdf8c
AM
144682011-08-28 Alan Mackenzie <acm@muc.de>
14469
14470 * progmodes/cc-fonts.el
14471 (c-make-font-lock-BO-decl-search-function): New function.
14472 (c-basic-matchers-after - "Fontify the clauses after various
14473 keywords"): Extract the three keyword lists for the 3 erroneous
14474 constructs from the list of four, and use the new function above
14475 in place of an old one.
14476
27de4e20
DD
144772011-08-28 Deniz Dogan <deniz@dogan.se>
14478
14479 * net/rcirc.el (rcirc-insert-prev-input)
14480 (rcirc-insert-next-input): Remove unused argument.
14481
356a3681
SM
144822011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14483
14484 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14485
3fc9b218
AM
144862011-08-27 Alan Mackenzie <acm@muc.de>
14487
14488 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14489 handle function pointer parameters properly.
14490
538a061c
MR
144912011-08-27 Martin Rudalics <rudalics@gmx.at>
14492
14493 * window.el (display-buffer-reuse-window): Fix case where
14494 selected window was reused with non-nil OTHER-WINDOW argument.
14495 (Bug#9381)
14496
35b1c40c
DD
144972011-08-27 Deniz Dogan <deniz@dogan.se>
14498
14499 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14500 oftc's NickServ messages.
14501
2f6a3e79
GM
145022011-08-27 Glenn Morris <rgm@gnu.org>
14503
14504 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14505
7254299e
CY
145062011-08-26 Chong Yidong <cyd@stupidchicken.com>
14507
14508 * emacs-lisp/package.el (package-install): Call package-initialize
14509 if called interactively.
14510
f8ccf167
LL
145112011-08-26 Leo Liu <sdl.web@gmail.com>
14512
14513 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14514
3e8cd5ce
JL
145152011-08-25 Juri Linkov <juri@jurta.org>
14516
14517 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14518 `search-whitespace-regexp' (bug#9364).
14519
93eb7113
JL
145202011-08-25 Juri Linkov <juri@jurta.org>
14521
14522 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14523 `regexp-search-ring' to their global values to protect from
14524 updating by `read-from-minibuffer' (bug#9185).
14525
f65d1611
JL
145262011-08-25 Juri Linkov <juri@jurta.org>
14527
14528 * textmodes/ispell.el (ispell-command-loop): Add newline
14529 at the end of the "Use option `i'..." line.
14530
f1cf7a31
JL
145312011-08-25 Juri Linkov <juri@jurta.org>
14532
14533 * battery.el (display-battery-mode): If `battery-status-function'
14534 or `battery-mode-line-format' is nil, display the message and set
14535 `display-battery-mode' to nil (bug#9363).
14536
0c95fcf7
EZ
145372011-08-25 Eli Zaretskii <eliz@gnu.org>
14538
14539 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14540 bidi-string-mark-left-to-right; they are unnecessary now.
14541
a2ebe600
DD
145422011-08-25 Deniz Dogan <deniz@dogan.se>
14543
14544 * net/quickurl.el: Documentation typo fixes.
14545
e4ed06f1
CY
145462011-08-25 Chong Yidong <cyd@stupidchicken.com>
14547
14548 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14549
e5f1c99e
GM
145502011-08-25 Glenn Morris <rgm@gnu.org>
14551
b2948976
GM
14552 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14553
e5f1c99e
GM
14554 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14555 (smtpmail-via-smtp): Handle nil response from smtp.
14556
f22f4808
JL
145572011-08-24 Juri Linkov <juri@jurta.org>
14558
14559 * proced.el (proced-marked): Inherit from `error' instead of
14560 `font-lock-warning-face'.
14561
14562 * ibuffer.el (ibuffer-marked-face): Change default face from
14563 `font-lock-warning-face' to `warning'.
14564 (ibuffer-deletion-face): Change default face from
14565 `font-lock-type-face' to `error'.
14566
14567 * battery.el (battery-update): Use the face `error' instead of
14568 `font-lock-warning-face' (bug#6117).
14569
6a93965e
JL
145702011-08-24 Juri Linkov <juri@jurta.org>
14571
14572 * faces.el (success): Change face color from "Green3" to
14573 "ForestGreen" on light background (bug#9353).
14574
1ed43b09
CY
145752011-08-24 Chong Yidong <cyd@stupidchicken.com>
14576
5664fa7b
RT
14577 * window.el (quit-window): Rename from quit-restore-window.
14578 Use same arglist as old quit-window.
1ed43b09
CY
14579 (frame-auto-delete): Doc fix.
14580
14581 * view.el (view-mode-exit): Use quit-window.
14582
11dcdbb2
JL
145832011-08-24 Juri Linkov <juri@jurta.org>
14584
14585 * isearch.el (isearch-ring-adjust1): Start visiting previous
14586 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14587 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14588 for empty search string (when the last search string is reused
14589 automatically) to adjust the isearch ring to the last element and
14590 prepare the correct index for further M-p commands (bug#9185).
14591
de62b4df
KH
145922011-08-24 Kenichi Handa <handa@m17n.org>
14593
14594 * international/ucs-normalize.el: If decomposition property of
14595 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14596 nil.
14597 (nfd, nfkd): Likewise.
14598
963b492b
SM
145992011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14600
14601 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14602 from process filters aren't reliably transmitted to the surrounding
14603 accept-process-output.
14604 (mpc-proc-check): New function.
14605 (mpc-proc-sync): Use it (bug#8293)
14606
93b6b5e1
SM
146072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14608
14609 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14610 Add compatibility functions (bug#9313).
14611
bca633fb
EZ
146122011-08-23 Eli Zaretskii <eliz@gnu.org>
14613
b177498a
EZ
14614 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14615
6df6ae42 14616 * international/uni-bidi.el: Regenerate.
bca633fb 14617
0902a04e
KH
146182011-08-23 Kenichi Handa <handa@m17n.org>
14619
14620 * international/charprop.el:
14621 * international/uni-bidi.el:
14622 * international/uni-category.el:
14623 * international/uni-combining.el:
14624 * international/uni-comment.el:
14625 * international/uni-decimal.el:
14626 * international/uni-decomposition.el:
14627 * international/uni-digit.el:
14628 * international/uni-lowercase.el:
14629 * international/uni-mirrored.el:
14630 * international/uni-name.el:
14631 * international/uni-numeric.el:
14632 * international/uni-old-name.el:
14633 * international/uni-titlecase.el:
14634 * international/uni-uppercase.el: Regenerate.
14635
3bbf23bc
MR
146362011-08-23 Martin Rudalics <rudalics@gmx.at>
14637
14638 * help.el (help-window-setup): Fix message displayed when other
14639 window is reused. (Bug#9341)
14640
b3fd59bd
SM
146412011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14642
1802e444
SM
14643 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14644 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14645
b3fd59bd
SM
14646 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14647 Mark obsolete.
14648 * shell.el (shell-parse-pcomplete-arguments): New function.
14649 (shell-completion-vars): Use it instead (bug#9160).
14650
4eb61348
SM
146512011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14652
867cab74
SM
14653 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14654 strings and comments (bug#9333).
14655
4eb61348
SM
14656 * emacs-lisp/debug.el (debug-arglist): New function.
14657 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14658 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14659
262a1439
JL
146602011-08-22 Juri Linkov <juri@jurta.org>
14661
56ee679c
JL
14662 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14663 Revert regexp that highlights output switches to its old
14664 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14665
262a1439
JL
14666 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14667 to check for empty output (bug#9226).
14668
f13f86fb
CY
146692011-08-22 Chong Yidong <cyd@stupidchicken.com>
14670
14671 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14672 symbol-constituent as the default, as that stops font-lock from
14673 working properly (Bug#8843).
14674
c65c9622
LMI
146752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14676
14677 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14678 `coding-system-for-*' around the process open call to avoid
14679 auth-source side effects.
e7f2c178 14680 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14681 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14682 probe hangs.
c65c9622 14683
23a8a5ab
CY
146842011-08-21 Chong Yidong <cyd@stupidchicken.com>
14685
ff98b2dd
CY
14686 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14687
23a8a5ab
CY
14688 * emacs-lisp/find-func.el (find-function-noselect): New arg
14689 lisp-only.
14690
14691 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14692 signal an error for built-in functions (Bug#6664).
14693
f5e3c598
LMI
146942011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14695
14696 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14697 (smtpmail-try-auth-methods): Use it.
14698
a3f2468a
CY
146992011-08-21 Chong Yidong <cyd@stupidchicken.com>
14700
2c34e8da
CY
14701 * font-lock.el (font-lock-fontify-region)
14702 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14703 (font-lock-default-unfontify-buffer)
14704 (font-lock-default-fontify-region)
14705 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14706
b3fd59bd
SM
14707 * progmodes/compile.el (compilation-error-properties):
14708 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14709 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14710 `ant' regexp.
ee31aabc 14711
a3f2468a
CY
14712 * net/browse-url.el (browse-url-firefox): Don't call
14713 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14714
8e999f70
GM
147152011-08-20 Glenn Morris <rgm@gnu.org>
14716
c21a496a
GM
14717 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14718
59ee0542
GM
14719 * tutorial.el (tutorial--default-keys): Update some default bindings.
14720
8e999f70
GM
14721 * files.el (hack-local-variables): Fully ignore case for "mode:".
14722
e3715033
AM
147232011-08-20 Alan Mackenzie <acm@muc.de>
14724
14725 Resolve invalid use of a regexp in regexp-opt.
14726
4d61f28d
JB
14727 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14728 detection for a java annotation.
e3715033 14729
4d61f28d 14730 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14731 detection for a java annotation.
14732
4d61f28d
JB
14733 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14734 handling for java.
e3715033
AM
14735 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14736
04ed2e9c
CY
147372011-08-20 Chong Yidong <cyd@stupidchicken.com>
14738
14739 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14740 (Bug#9274).
14741
826cee64
AM
147422011-08-20 Alan Mackenzie <acm@muc.de>
14743
58179cce 14744 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14745 such a construct. Mainly for when jit-lock etc. starts a chunk
14746 here.
14747
58179cce 14748 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14749 variable.
58179cce 14750 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14751 c-make-font-lock-search-function.
14752 (c-make-font-lock-search-function): Use the above function.
14753 (c-make-font-lock-context-search-function): New function.
14754 (c-cpp-matchers): Enhance the preprocessor expression case with
14755 the above function
14756 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14757 which takes an expression.
14758
14759 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14760
13009bd8
MR
147612011-08-20 Martin Rudalics <rudalics@gmx.at>
14762
14763 * window.el (display-buffer-reuse-window)
14764 (display-buffer-pop-up-window): Don't reuse or split a side
14765 window.
14766
9234ff7f
GM
147672011-08-19 Glenn Morris <rgm@gnu.org>
14768
14769 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14770 Downcase "Mode:". (Bug#9331)
9234ff7f 14771
f635daa1
CY
147722011-08-18 Chong Yidong <cyd@stupidchicken.com>
14773
14774 * international/characters.el: Add L and R categories.
14775
14776 * subr.el (bidi-string-mark-left-to-right): Rename from
14777 string-mark-left-to-right. Use category search.
14778
14779 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14780
bc987f8b
JL
147812011-08-18 Juri Linkov <juri@jurta.org>
14782
14783 * faces.el (error, warning, success): New faces with definitions
14784 copied from old default values of `font-lock-warning-face',
14785 `compilation-warning', `compilation-info' (bug#6117).
14786
14787 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14788
14789 * progmodes/compile.el (compilation-error): Inherit from `error'.
14790 (compilation-warning): Inherit from `warning'.
14791 (compilation-info): Inherit from `success'.
14792
14793 * dired.el (dired-marked): Inherit from `warning'.
14794 (dired-flagged): Inherit from `error'.
14795
57173b96
LMI
147962011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14797
3e79eb87
LMI
14798 * mail/smtpmail.el (auth-source): Require to avoid problems with
14799 binding variables (bug#9298). Also clean up some unused
14800 autoloads.
14801
b3fd59bd
SM
14802 * net/network-stream.el (network-stream-open-starttls):
14803 Support using starttls.el without using gnutls-cli.
57173b96 14804
02b404de
JL
148052011-08-17 Juri Linkov <juri@jurta.org>
14806
14807 * progmodes/grep.el (rgrep): Handle the case when
14808 `grep-find-command' is a cons cell (bug#9278).
14809
8c9177f2
MR
148102011-08-17 Martin Rudalics <rudalics@gmx.at>
14811
14812 * window.el (display-buffer-pop-up-frame): Run frame creation
14813 function with BUFFER current (as special-display-popup-frame
14814 does). Reported by Drew Adams.
14815
3644a0ab
DU
148162011-08-17 Daiki Ueno <ueno@unixuser.org>
14817
14818 * epa-mail.el: Simplify GnuPG group expansion using
14819 epg-expand-group.
14820 (epa-mail-group-alist, epa-mail-group-modtime)
14821 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14822 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14823 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14824 Remove.
14825
5e617bc2 148262011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14827
14828 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14829
9c4aeabf
AM
148302011-08-16 Alan Mackenzie <acm@muc.de>
14831
14832 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14833 Correct, to avoid the inside of macros.
14834
3a99bf64
RS
148352011-08-16 Richard Stallman <rms@gnu.org>
14836
04963aa8
RS
14837 * epa-mail.el: Handle GnuPG group definitions.
14838 (epa-mail-group-alist, epa-mail-group-modtime)
14839 (epa-mail-gnupg-conf-file): New variables.
14840 (epa-mail-parse-groups, epa-mail-sync-groups)
14841 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14842 (epa-mail-expand-recipients): New functions.
14843 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14844
177549d0
RS
14845 * mail/rmail.el (rmail-epa-decrypt): New command.
14846
fe38beef
RS
14847 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14848 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14849 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14850 (epa-decrypt-armor-in-region): Make error message clearer.
14851
934eacb9
SM
148522011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14853
14854 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14855 and "a2b" to "ab" for `prefix'.
14856
d024fb4e
CY
148572011-08-14 Chong Yidong <cyd@stupidchicken.com>
14858
14859 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14860 filter groups.
de148fee
CY
14861 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14862 Fourquet (Bug#8804).
d024fb4e 14863
62f1ca49
JB
148642011-08-12 Juanma Barranquero <lekktu@gmail.com>
14865
14866 * startup.el (argi): Declare as global variable (bug#9275).
14867
9ccaaa4b
CY
148682011-08-12 Chong Yidong <cyd@stupidchicken.com>
14869
14870 * subr.el (string-mark-left-to-right): Search the entire string
14871 for RTL script, not just the terminating character. Doc fix.
14872
a3dae87a
SM
148732011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14874
6cd18349
SM
14875 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14876 New function.
14877 (js--regexp-literal, js-syntax-propertize-function): Remove.
14878 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14879 (js-mode-map): Don't rebind electric keys.
14880 (js-insert-and-indent): Remove.
14881 (js-mode): Setup electric-layout and electric-indent instead.
14882
a3dae87a
SM
14883 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14884
9d5cb631
DU
148852011-08-12 Daiki Ueno <ueno@unixuser.org>
14886
14887 * epa.el (epa-progress-callback-function): Fix the logic of
14888 displaying progress.
14889 * epa-file.el (epa-file-insert-file-contents): Make progress
14890 display more user-friendly.
14891 (epa-file-write-region): Ditto.
14892
3e26a4a2
CY
148932011-08-10 Chong Yidong <cyd@stupidchicken.com>
14894
14895 * subr.el (string-mark-left-to-right): New function.
14896
14897 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14898 Use string-mark-left-to-right.
14899 (list-buffers-noselect): Caller changed.
14900
a3dae87a
SM
14901 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14902 Use string-mark-left-to-right.
3e26a4a2
CY
14903 (tabulated-list-print): Recenter after moving point.
14904
ac8cf6e6
JL
149052011-08-10 Juri Linkov <juri@jurta.org>
14906
14907 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14908 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14909 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14910
8d96c9a4
CY
149112011-08-09 Chong Yidong <cyd@stupidchicken.com>
14912
14913 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14914 (Bug#7554).
14915
7be1c708 149162011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14917
14918 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14919 character. (Bug#6594)
14920
37e11a63
CY
149212011-08-08 Chong Yidong <cyd@stupidchicken.com>
14922
839dde57
CY
14923 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14924 (image-dired--with-db-file): New macro.
14925 (image-dired-write-tags, image-dired-remove-tag)
14926 (image-dired-create-gallery-lists, image-dired-write-comments)
14927 (image-dired-get-comment, image-dired-mark-tagged-files)
14928 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14929 (image-dired-gallery-generate): Use insert-file-contents.
14930
37e11a63
CY
14931 * time.el (display-time-world-list, display-time-world-display):
14932 * time-stamp.el (time-stamp-string):
14933 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14934 set-time-zone-rule (Bug#7337).
14935
0b4946c4
DU
149362011-08-08 Daiki Ueno <ueno@unixuser.org>
14937
14938 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14939 (epg-error-to-string, epg-errors-to-string): New function.
14940 (epg-wait-for-completion): Reverse errors list.
14941 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14942 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14943 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14944 (epg-sign-keys, epg-generate-key-from-file)
14945 (epg-generate-key-from-string): Format errors by using
14946 epg-errors-to-string (bug#9255).
14947 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14948
75bfc667
JL
149492011-08-07 Juri Linkov <juri@jurta.org>
14950
14951 * faces.el (list-faces-display): Remove extra angle bracket
14952 from `help-mode-map'.
14953
14954 * info.el (Info-history-toc-nodes): Doc fix.
14955
14956 * longlines.el (longlines-mode): Doc fix.
14957
673e08bb
SM
149582011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14959
4640dd88
SM
14960 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14961 of statements and in a few more cases (bug#9183).
14962
673e08bb
SM
14963 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14964 New functions.
14965 (cl-transform-lambda): Use them (bug#9239).
14966
89b3f019
MR
149672011-08-05 Martin Rudalics <rudalics@gmx.at>
14968
14969 * window.el (display-buffer-same-window)
14970 (display-buffer-same-frame, display-buffer-other-window)
14971 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14972 (pop-to-buffer-other-window)
14973 (pop-to-buffer-same-frame-other-window)
14974 (pop-to-buffer-other-frame): Make them defuns.
14975 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14976
640c8776
SM
149772011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14978
14979 * subr.el (make-composed-keymap): Move from C. Change calling
14980 convention, and improve docstring to bring attention to a subtle point.
14981 * minibuffer.el (completing-read-default): Adjust accordingly.
14982
63648a95
MA
149832011-08-03 Michael Albinus <michael.albinus@gmx.de>
14984
14985 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14986 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14987
14988 * net/trampver.el: Update release number.
14989
b796c9b7
SM
149902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14991
14992 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14993 "in" (bug#9190).
14994
2239d7d5
LMI
149952011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14996
e07dd7c3
LMI
14997 * mail/sendmail.el (sendmail-query-once): Restore the current
14998 buffer after querying (bug#9074).
14999
0e6a2bd7
LMI
15000 * dired.el (dired-flagged): Use different faces for marked and
15001 flagged files (bug#6117).
15002
ce887515
LMI
15003 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15004 (bug#4433).
15005
92f2affc
LMI
15006 * ido.el (ido-mode): Switch off the message if called
15007 non-interactively.
15008
57d5aff0
LMI
15009 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15010 before 587, since it appears that that's more likely to work for
15011 more people.
15012
98cd6c18 15013 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15014 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15015 exist.
15016
b96dec83
LMI
15017 * info.el: Remove the `Info-beginning-of-buffer' function
15018 (bug#8325).
15019
b796c9b7
SM
15020 * net/network-stream.el (network-stream-open-starttls):
15021 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15022
d90e2ea0
MR
150232011-08-01 Martin Rudalics <rudalics@gmx.at>
15024
15025 * window.el (display-buffer-in-window): Don't set dedicated status
15026 of window here (Bug#9215).
15027 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15028 (display-buffer-pop-up-side-window)
b796c9b7 15029 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15030
cca09170
SM
150312011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15032
15033 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15034 before binding generated-autoload-file.
15035
027b979c
DD
150362011-08-01 Deniz Dogan <deniz@dogan.se>
15037
15038 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15039
3c7ee4f3
MA
150402011-07-30 Michael Albinus <michael.albinus@gmx.de>
15041
15042 Sync with Tramp 2.2.2.
15043
15044 * net/trampver.el: Update release number.
15045
2cc8e51a
JL
150462011-07-30 Juri Linkov <juri@jurta.org>
15047
15048 * dired-aux.el (dired-touch-initial): Remove function.
15049 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15050 current time, and `default' to the last modification time of the
15051 current marked file (bug#6887).
15052
a514d856
JM
150532011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15054
15055 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15056 numeric argument to read-number (bug#9163).
a514d856 15057
8a7eddd7
MA
150582011-07-27 Michael Albinus <michael.albinus@gmx.de>
15059
15060 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15061 connection process, it could be nil.
15062
1ddd96f5
LL
150632011-07-27 Leo Liu <sdl.web@gmail.com>
15064
15065 Simplify url handling in rcirc-mode.
15066
15067 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15068 (rcirc-browse-url-at-mouse): Remove.
15069 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15070
b248a85d
AM
150712011-07-26 Alan Mackenzie <acm@muc.de>
15072
15073 Fontify bitfield declarations properly.
15074
15075 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15076 (c-symbol-chars): Now exported as a lang variable.
15077 (c-not-primitive-type-keywords): New lang variable.
15078
15079 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15080 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15081 parsed as a bitfield declaration.
b248a85d 15082
b796c9b7
SM
15083 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15084 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15085 (c-punctuation-in): New function.
15086 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15087 declarations properly.
15088
68575ab0
UJ
150892011-07-26 Ulf Jasper <ulf.jasper@web.de>
15090
15091 * calendar/icalendar.el (icalendar--all-events): Take care of
15092 multiple vcalendars in a single file.
b796c9b7 15093 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15094
0f0a88b9
DD
150952011-07-25 Deniz Dogan <deniz@dogan.se>
15096
15097 * image.el (insert-image): Clarifying docstring.
15098
0b3f36df
MA
150992011-07-24 Michael Albinus <michael.albinus@gmx.de>
15100
15101 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15102 `tramp-send-command-and-check' if there is no error.
15103 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15104
a9901f61
AM
151052011-07-22 Alan Mackenzie <acm@muc.de>
15106
15107 Prevent cc-langs.elc being loaded at run time.
15108
15109 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15110 cc-langs.
15111
4d61f28d 15112 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15113 "(require 'cc-langs)". Quote a form so it will evaluate at
15114 (cc-mode's) compilation time.
15115
11d074b2
MA
151162011-07-22 Michael Albinus <michael.albinus@gmx.de>
15117
15118 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15119 loading. (Bug#9114)
15120
938b94c8
MR
151212011-07-21 Martin Rudalics <rudalics@gmx.at>
15122
15123 * window.el (display-buffer-pop-up-window)
15124 (display-buffer-pop-up-side-window)
15125 (display-buffer-in-side-window): Call display-buffer-set-height
15126 and display-buffer-set-width after setting the new window's
b796c9b7 15127 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15128
bfa4f190
SS
151292011-07-20 Sam Steingold <sds@gnu.org>
15130
15131 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15132 (etags-tags-included-tables): Call `convert-standard-filename' on
15133 the file names contained in TAGS so that windows Emacs can handle
15134 TAGS files created by cygwin ctags.
15135
8ca42262
LMI
151362011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15137
15138 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15139 which apparently didn't work.
15140
5db2afd2 151412011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15142
5db2afd2
RW
15143 * proced.el (proced-send-signal): For *Marked Processes* buffer
15144 put point at beginning of buffer.
15145
92e15d10
SB
151462011-07-19 Stephen Berman <stephen.berman@gmx.net>
15147
15148 * proced.el (proced-format): Make header lines align with the text
15149 (bug#1779).
15150
1bfd59e5
LMI
151512011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15152
15153 * view.el (view-buffer): Allow running in `special' modes if we're
15154 visiting a file (bug#8615).
15155
f5aae37c
MR
151562011-07-19 Martin Rudalics <rudalics@gmx.at>
15157
15158 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15159 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15160 New functions.
f5aae37c
MR
15161 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15162 more accurately.
15163
bf2c1571
AM
151642011-07-18 Alan Mackenzie <acm@muc.de>
15165
15166 Fontify declarators properly when, e.g., a jit-lock chunk begins
15167 inside a declaration.
15168
15169 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15170
b796c9b7
SM
15171 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15172 New function.
bf2c1571
AM
15173 (c-complex-decl-matchers): Insert reference to
15174 c-font-lock-enclosing-decls.
15175
15176 * progmodes/cc-engine.el (c-backward-single-comment):
15177 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15178 to nil around calls to (forward-comment -1).
15179
4e190b80
LMI
151802011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15181
12dc863d
LMI
15182 * image.el (put-image): Doc typo fix.
15183
a762e966
LMI
15184 * progmodes/etags.el (tags-search): Doc typo fix.
15185
4e190b80
LMI
15186 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15187 password if we get errors 550 to 554.
15188
f019fb21
LMI
151892011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15190
b796c9b7 15191 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15192
81746738
LMI
15193 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15194 indentation character (bug#6380).
15195
3ee3a1b5
LMI
15196 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15197
c82f64de
LMI
15198 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15199 to clarify what the problem is (bug#4291).
15200
f019fb21
LMI
15201 * simple.el (current-kill): Clarify what
15202 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15203 (auto-fill-mode): Document `auto-fill-function' in relation to
15204 `auto-fill-mode' (bug#2470).
f019fb21 15205
0794775d
LM
152062011-07-16 Lawrence Mitchell <wence@gmx.li>
15207
15208 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15209 method if slot is read-only (bug#9035).
15210
be39b8cc
MR
152112011-07-16 Martin Rudalics <rudalics@gmx.at>
15212
b796c9b7 15213 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15214 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15215 selected before, see discussion of (Bug#8615), (Bug#6954).
15216 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15217
6ccf7859
GM
152182011-07-15 Glenn Morris <rgm@gnu.org>
15219
15220 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15221 Respect help-form.
6ccf7859 15222
87e86684
LM
152232011-07-09 Lawrence Mitchell <wence@gmx.li>
15224
15225 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15226 (gnutls-negotiate): Use it.
15227
d6066239
LMI
152282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15229
b796c9b7
SM
15230 * net/gnutls.el (gnutls-negotiate):
15231 Upcase `gnutls-algorithm-priority'.
d6066239 15232
bd23ebc0
GM
152332011-07-15 Glenn Morris <rgm@gnu.org>
15234
c65bca65
GM
15235 * jka-compr.el (jka-compr-verbose): Move from here...
15236 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15237 Add missing :version tag.
15238 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15239
478615cc
LMI
152402011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15241
7b41decb
LMI
15242 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15243 (gnutls-negotiate): Use it.
15244
dbc44fcd
LMI
15245 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15246
06789f97
LMI
15247 * info.el (Info-beginning-of-buffer): New command.
15248 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15249 announcing `b' as the key (bug#8325).
ab896c37 15250 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15251
c39da690
LMI
15252 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15253
3aa5f34b
LMI
15254 * international/mule-cmds.el
15255 (describe-specified-language-support): Make the error message
15256 clearer (bug#8905).
15257
4bf0979f
LMI
15258 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15259
478615cc
LMI
15260 * isearch.el (isearch-barrier): Add a doc string, since it's
15261 mentioned in a function doc string (bug#8678).
15262
75c68aa1
MR
152632011-07-15 Martin Rudalics <rudalics@gmx.at>
15264
15265 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15266 buffer argument (Bug#9083) and self-identifying label argument.
15267
a7c33da2
GM
152682011-07-15 Glenn Morris <rgm@gnu.org>
15269
15270 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15271
2f5c6024
LMI
152722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15273
15274 * man.el (Man-fontify-manpage): Fix message when formatting the
15275 man page (bug#7929).
15276
0bb23927 152772011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15278
15279 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15280 argument LRM; if non-nil, append an invisible LRM character to the
15281 buffer name.
15282 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15283 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15284 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15285 paragraph direction.
cce4b0a7 15286
621ef9ab
LMI
152872011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15288
d1583c48
LMI
15289 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15290 the man page name (bug#7929).
15291
6a57fb5f
LMI
15292 * image.el (put-image): Mention the `put-image' overlay property
15293 (bug#7834).
15294
d7956b14
LMI
15295 * scroll-bar.el (set-scroll-bar-mode): Mention that
15296 `scroll-bar-mode' lists the values (bug#7772).
15297
5b2d4a66
LMI
15298 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15299 command (bug#7729).
15300
7509a874
LMI
15301 * rect.el (apply-on-rectangle): Return the point after the last
15302 operation.
15303 (string-rectangle): Go to the point after the last operation
15304 (bug#7522).
15305
4fe74b19
LMI
15306 * printing.el (pr-toggle-region): Clarify the documentation
15307 slightly (bug#7493).
15308
b796c9b7
SM
15309 * time.el (display-time-update):
15310 Allow `display-time-mail-function' to return nil (bug#7158).
15311 Fix suggested by Detlev Zundel.
ab283561 15312
fc233c9d
LMI
15313 * vc/diff.el (diff): Clarify the order the file names are read
15314 (bug#7111).
15315
43f5740b
LMI
15316 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15317 the doc string (bug#7015).
15318
f2182a76
LMI
15319 * font-lock.el (font-lock-maximum-decoration): Mention what
15320 numeric levels mean (bug#6935).
15321
621ef9ab
LMI
15322 * startup.el (initial-buffer-choice): Don't mention the `none'
15323 selection, which is against policy.
15324
adc47434
MR
153252011-07-14 Martin Rudalics <rudalics@gmx.at>
15326
b796c9b7
SM
15327 * window.el (display-buffer-normalize-special):
15328 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15329
7e5bfb8f
EZ
153302011-07-14 Eli Zaretskii <eliz@gnu.org>
15331
15332 * subr.el (version<, version<=, version=): Mention "-CVS" and
15333 "-12345" alpha version numbers.
15334
27fa387a
CY
153352011-07-14 Chong Yidong <cyd@stupidchicken.com>
15336
15337 * bindings.el: Add advertised binding for set-mark-command
15338 (Bug#5772).
15339
8bdfa064
CY
153402011-07-14 Chong Yidong <cyd@stupidchicken.com>
15341
15342 * bindings.el (mode-line-other-buffer):
15343 * bookmark.el (bookmark-bmenu-2-window):
15344 * bs.el (bs-cycle-next, bs-cycle-previous):
15345 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15346 switch-to-buffer.
15347
15348 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15349 Delete.
8bdfa064 15350
5eba16a3
JB
153512011-07-14 Juanma Barranquero <lekktu@gmail.com>
15352
15353 * follow.el (follow-debug-message, follow-redisplay):
15354 * jka-cmpr-hook.el (with-auto-compression-mode):
15355 Fix typos in docstrings.
15356
15853710
LMI
153572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15358
a28e4607
LMI
15359 * subr.el (with-silent-modifications): Clarify somewhat what the
15360 macro inhibits (bug#6525).
15361
15853710
LMI
15362 * simple.el (eval-expression): Note what it does if called
15363 interactively (bug#6495).
15364
bee0fcef
CY
153652011-07-13 Chong Yidong <cyd@stupidchicken.com>
15366
b796c9b7
SM
15367 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15368 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15369
15370 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15371 Remove switch-to-buffer.
15372
58274504
LMI
153732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15374
bd2fcc8d
LMI
15375 * files.el (make-directory): Clarify that an error will be raised
15376 if there's an error (bug#6397).
15377
0f04b32c
LMI
15378 * startup.el (initial-buffer-choice): Add `none' as a choice
15379 (bug#6234).
15380
465c5fc8
LMI
15381 * subr.el (add-hook): Clarify section about buffer-local hooks
15382 (bug#6218).
15383
58274504
LMI
15384 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15385
bead9a43
JB
153862011-07-13 Juanma Barranquero <lekktu@gmail.com>
15387
15388 * tabify.el (untabify): Preserve the current column so that point
15389 doesn't move (bug#6032).
15390
3af98a7b
LMI
153912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15392
b796c9b7
SM
15393 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15394 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15395
6240145a
GM
153962011-07-13 Glenn Morris <rgm@gnu.org>
15397
15398 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15399 (dired-insert-directory): Give a message the first time
15400 if ls is found not to support --dired.
15401
1d8c2ccc
LMI
154022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15403
15404 * simple.el (toggle-truncate-lines): Clarify what is toggled
15405 (bug#5580). Text by Drew Adams.
15406
5fc4038e
CY
154072011-07-13 Chong Yidong <cyd@stupidchicken.com>
15408
15409 * simple.el (blink-matching-open): Make the error message from the
15410 last change less verbose.
15411
bf6012e5
DN
154122011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15413
15414 * font-lock.el (font-lock-comment-face): Use the high contrast
15415 "yellow" color for font-lock-comment-face on low color terminals
15416 using a dark background color (bug#4221).
15417
343c3b5a
LMI
154182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15419
7e9505c5
LMI
15420 * dired.el (dired-insert-set-properties): Make the doc string
15421 reflect what it does now (bug#5325).
15422
c26fdcf5
LMI
15423 * simple.el (blink-matching-open): Say that we were unable to find
15424 the match within the limit, if we're limited (bug#5122).
15425
bb388cc5
LMI
15426 * international/mule-cmds.el (prefer-coding-system): Add an
15427 example (bug#4869).
15428
343c3b5a
LMI
15429 * progmodes/etags.el (tags-search): Document `file-list-form'
15430 (bug#4731).
15431
2a517d45
LM
154322011-07-13 Lawrence Mitchell <wence@gmx.li>
15433
15434 * net/browse-url.el (browse-url-default-browser)
15435 (browse-url-browser-function): Make the default browser choice a
15436 bit more logical (bug#4300). Also clean up the doc string.
15437
b6c78ef2
JB
154382011-07-13 Juanma Barranquero <lekktu@gmail.com>
15439
15440 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15441 binary endings (bug#4440).
15442
1c4dd947
LMI
154432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15444
a2014063
LMI
15445 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15446 which can be pretty annoying (bug#8971).
15447
9c9c2d88
LMI
15448 * jka-compr.el (jka-compr-verbose): New variable, and use
15449 throughout (bug#8971).
15450
1c4dd947
LMI
15451 * info.el (Info-find-file): Fall back on the installation
15452 directory if we can't find the info node anywhere else.
15453
a1c9f41b
SO
154542011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15455
15456 * vc/vc.el (vc-revert-file):
15457 Don't set file time-stamp in the past. (Bug#5181)
15458
536f3d36
LMI
154592011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15460
7152b011
LMI
15461 * files.el (after-find-file): Give a better error message when
15462 trying to find a symlink that points to a file that doesn't exist
15463 (bug#4398).
15464
536f3d36
LMI
15465 * progmodes/cc-vars.el: Remove (probably) misleading comment
15466 (bug#4396).
15467
460c0fba
JB
154682011-07-12 Johan Bockgård <bojohan@gnu.org>
15469
15470 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15471
7a6bda45
CY
154722011-07-12 Chong Yidong <cyd@stupidchicken.com>
15473
15474 * mouse-sel.el: Hack restoring functionality, while keeping
15475 compatibility with 2010-07-03 changes to mouse selection.
15476 (mouse-sel-primary-overlay): New var.
15477 (mouse-sel-selection-alist): Use it.
15478 (mouse-sel-mode): Doc fix; remove points that are default features
15479 of mouse.el.
15480
c79598ef
JB
154812011-07-12 Johan Bockgård <bojohan@gnu.org>
15482
15483 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15484 Fix previous fix (bug#2490).
15485
ff8be6ef
RW
154862011-07-12 Roland Winkler <winkler@gnu.org>
15487
b796c9b7
SM
15488 * textmodes/bibtex.el (bibtex-initialize):
15489 Use pop-to-buffer-same-window.
ff8be6ef
RW
15490 (bibtex-search-entries): Fix interactive call.
15491
296ba3ee
LMI
154922011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493
f5242a02 15494 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15495 Fontise bytecomp Error lines more correctly (bug#2490).
15496 Fix suggested by Johan Bockgård.
f5242a02 15497
296ba3ee
LMI
15498 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15499
15500 * dired-x.el (dired-guess-default): Use `delete-dups'.
15501
f69fd0d2
CY
155022011-07-12 Chong Yidong <cyd@stupidchicken.com>
15503
15504 * dired.el (dired-mark-prompt):
15505 * dired-aux.el (dired-read-shell-command): Doc fix.
15506
eab5dc07
LMI
155072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15508
b796c9b7
SM
15509 * mail/sendmail.el (sendmail-query-once):
15510 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15511 emacs -Q.
15512
15513 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15514
eab5dc07
LMI
15515 * cus-edit.el (custom-file): Take an optional no-error variable.
15516 (customize-save-variable): Set the variable, and give a warning if
15517 running under "emacs -q".
15518
a1e65d42
JB
155192011-07-11 Juanma Barranquero <lekktu@gmail.com>
15520
15521 * loadhist.el (unload-feature-special-hooks):
15522 Add `auto-coding-functions', `fill-nobreak-predicate' and
15523 `find-directory-functions' (bug#5327).
15524
1d52da10
LMI
155252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15526
be958f1d
LMI
15527 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15528
5bedb26c
LMI
15529 * cus-edit.el (custom-guess-name-alist): -alist variables should
15530 use the `alist' type (bug#3120). Suggested by Drew Adams.
15531
1d52da10
LMI
15532 * printing.el: Add documentation to all the `pr-toggle-' commands.
15533
cd394be1 155342011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15535
15536 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15537 backends where it makes sense (bug#2623).
15538
dcc88d8a
LMI
155392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540
c3de9feb
LMI
15541 * dired-x.el (dired-guess-default): Remove duplicate shell command
15542 entries (bug#2028).
8a93078b 15543 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15544 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15545
dcc88d8a
LMI
15546 * subr.el (remove-duplicates): New conveniency function.
15547
505e3645
LMI
155482011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15549
15550 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15551 (bug#1526).
15552
155532011-07-10 Martin Rudalics <rudalics@gmx.at>
15554
15555 * window.el (display-buffer-normalize-default): Don't invert
15556 meaning of even-window-heights. Reported by Eli Zaretskii
15557 <eliz@gnu.org>.
15558
455e4fa1
BR
155592011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15560
15561 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15562
8e0bc3e9
CY
155632011-07-10 Chong Yidong <cyd@stupidchicken.com>
15564
15565 * window.el (display-buffer): Fix arguments to
15566 display-buffer-reuse-window in last change.
15567
fa7c3228
CY
15568 * faces.el (link): Use a less saturated blue on light backgrounds.
15569
15570 * startup.el (fancy-startup-text, fancy-about-text)
15571 (fancy-startup-tail): Use font-lock faces, for background safety.
15572
c0a7f300
BN
155732011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15574
b796c9b7
SM
15575 * emulation/viper-cmd.el (viper-change-state-to-vi):
15576 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15577
4dc2a129
MR
155782011-07-09 Martin Rudalics <rudalics@gmx.at>
15579
15580 * window.el (display-buffer-default-specifiers): Remove.
15581 (display-buffer-macro-specifiers): Remove default specifiers.
15582 (display-buffer-alist): Default to nil.
b796c9b7 15583 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15584 (display-buffer-pop-up-window): Allow splitting internal
15585 windows. Check whether a live window was created.
15586 (display-buffer-other-window-means-other-frame)
15587 (display-buffer-normalize-arguments): Rename to
15588 display-buffer-normalize-argument and rewrite. Set the
15589 other-window specifier.
15590 (display-buffer-normalize-special): New function.
15591 (display-buffer-normalize-options): Rename to
15592 display-buffer-normalize-default and rewrite.
15593 (display-buffer-normalize-options-inhibit): Remove.
15594 (display-buffer-normalize-specifiers): Rewrite.
15595 (display-buffer): Process other-window specifier and call
15596 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15597 more faithfully.
b796c9b7 15598 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15599 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15600 (display-buffer-in-window, display-buffer-alist-set):
15601 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15602 <tassilo@member.fsf.org>.
15603
2d43b8c9
LL
156042011-07-09 Leo Liu <sdl.web@gmail.com>
15605
15606 * register.el (insert-register): Restore accidental change on
15607 2011-06-26. (Bug#9028)
15608
7f9b7c53
GM
156092011-07-09 Glenn Morris <rgm@gnu.org>
15610
15611 * subr.el (remq): Handle the empty list. (Bug#9024)
15612
f042cfd8
AS
156132011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15614
15615 * mail/sendmail.el (send-mail-function): No longer delay custom
15616 initialization.
15617 * custom.el (custom-initialize-delay): Doc fix.
15618
856b2f11
SM
156192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15622
afae1d68
MA
156232011-07-08 Michael Albinus <michael.albinus@gmx.de>
15624
15625 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15626 human-friendly prompt.
15627
0757af94
SM
156282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15631 provided by a particular plugin.
15632
d760b731
LMI
156332011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15634
15635 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15636 save customizations (with "emacs -Q"), just set the variable
15637 instead of erroring out.
15638
15639 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15640
cd79ce90
JL
156412011-07-08 Juri Linkov <juri@jurta.org>
15642
15643 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15644 (archive-zip-update-case): Use 7z if found by `executable-find'.
15645 The order of searching the available programs is the same as in
15646 `archive-zip-extract' (bug#8968).
15647
14cc04aa
CY
156482011-07-07 Chong Yidong <cyd@stupidchicken.com>
15649
15650 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15651 (menu-bar-options-menu): Tweak descriptions.
15652
0a1848ec
LMI
156532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15654
15655 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15656 menu items into verb phrases (bug#1421). Also refill to fit under
15657 80 columns.
15658
f5bd0689
CY
156592011-07-07 Chong Yidong <cyd@stupidchicken.com>
15660
538e85c6
CY
15661 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15662 (Info-read-node-name): Doc fix (Bug#1084).
15663
f5bd0689
CY
15664 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15665 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15666 (end-of-sexp, beginning-of-sexp)
15667 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15668 (forward-symbol, forward-same-syntax, word-at-point)
15669 (sentence-at-point): Doc fix (Bug#1144).
15670
56ec5115
LMI
156712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15672
f3f8e37f
LMI
15673 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15674 should cover it (bug#1281).
15675
0757af94 15676 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15677
e9fce1ac 15678 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15679 negotiation fails, then possibly try again with a non-encrypted
15680 connection (bug#9017).
15681
56ec5115
LMI
15682 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15683 be used.
15684
c2f9aec8
RS
156852011-07-07 Richard Stallman <rms@gnu.org>
15686
15687 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15688 property, and handle its changed format.
15689 Look for the correct line number.
15690 Use file's line contents (but not past first =) to find
15691 correct line in message.
15692
ef7b981d 156932011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15694
15695 * international/characters.el (build-unicode-category-table):
15696 Delete it.
0757af94 15697 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15698
0757af94 15699 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15700 to src/chartab.c.
15701 (get-char-code-property): Call unicode-property-table-internal to
15702 load a file. Call get-unicode-property-internal where necessary.
15703 (put-char-code-property): Call unicode-property-table-internal to
15704 load a file. Call put-unicode-property-internal where necessary.
15705 put-unicode-property-internal where necessary.
0757af94
SM
15706 (char-code-property-description):
15707 Call unicode-property-table-internal to load a file.
c805dec0
KH
15708
15709 * international/charprop.el:
15710 * international/uni-bidi.el:
15711 * international/uni-category.el:
15712 * international/uni-combining.el:
15713 * international/uni-comment.el:
15714 * international/uni-decimal.el:
15715 * international/uni-decomposition.el:
15716 * international/uni-digit.el:
15717 * international/uni-lowercase.el:
15718 * international/uni-mirrored.el:
15719 * international/uni-name.el:
15720 * international/uni-numeric.el:
15721 * international/uni-old-name.el:
15722 * international/uni-titlecase.el:
15723 * international/uni-uppercase.el: Regenerate.
15724
15725 * loadup.el: Load international/charprop.el before
15726 international/characters.
15727
e14b388a
CY
157282011-07-07 Chong Yidong <cyd@stupidchicken.com>
15729
15730 * window.el (next-buffer, previous-buffer): Signal an error if
15731 called from a minibuffer window.
15732
15733 * bindings.el: Revert 2011-07-04 change.
15734
354cf0ba
RS
157352011-07-06 Richard Stallman <rms@gnu.org>
15736
15737 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15738 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15739 Treat markers like ints.
15740 (rmail-mime-entity): Doc fix.
15741
a48868a7
LMI
157422011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15743
4906cd3d
LMI
15744 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15745 defcustom again for backwards compatibility.
15746
e0457abe
LMI
15747 * simple.el (shell-command-on-region): Fill.
15748
d67f7e1f
LMI
15749 * dired-aux.el (dired-kill-line): Add a doc string.
15750
fe204702
LMI
15751 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15752 to "\\sw\\|\\s_" (bug#358).
15753
a48868a7
LMI
15754 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15755 (dired-unmark-backward): Ditto.
15756 (dired-flag-backup-files): Ditto.
15757
15758 * dired-x.el (dired-mark-sexp): Ditto.
15759
aa8a705c
RS
157602011-07-06 Richard Stallman <rms@gnu.org>
15761
15762 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15763 (rmail-mime-entity): New arg TRUNCATED.
15764 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15765 New functions.
15766 (rmail-mime-save): Warn if entity is truncated.
15767 (rmail-mime-toggle-hidden): Likewise, for showing.
15768 (rmail-mime-process-multipart): Record when an entity is truncated.
15769
a9a936b9
RS
15770 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15771 if ENTITY is a string.
15772
1f2b92cb
LMI
157732011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15774
f4f73198 15775 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15776 of faces when `M-C-x'-ing their definitions (bug#8378).
15777 Also clean up the code slightly.
f4f73198 15778
12b16734 15779 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15780 because that makes the colors go away.
12b16734 15781
f0691d22
LMI
15782 * mail/sendmail.el (send-mail-function): Change the default to
15783 `sendmail-query-once'.
9e87df06 15784 (sendmail-query-once): Add an autoload cookie.
f0691d22 15785
1f2b92cb
LMI
15786 * net/network-stream.el (network-stream-open-starttls): Try using
15787 a plain connection even if the server offered STARTTLS, and we
15788 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15789 capability. This should make smtpmail.el work in slightly more
15790 configurations.
15791
1cdd2a1b
MA
157922011-07-06 Michael Albinus <michael.albinus@gmx.de>
15793
15794 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15795 New defun.
15796 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15797
fbcc67e2
MM
157982011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15799
15800 * progmodes/sql.el: Version 3.0
0757af94 15801 (sql-product-alist): Add product :completion-object,
fbcc67e2 15802 :completion-column, and :statement attributes.
0757af94 15803 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15804 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15805 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15806 ansi keywords.
15807 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15808 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15809 (sql-oracle-show-reserved-words): New function for development.
15810 (sql-product-font-lock): Simplify for source code buffers.
15811 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15812 New functions.
15813 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15814 (sql-mode-map): Add statement movement functions.
15815 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15816 New variable.
fbcc67e2
MM
15817 (sql-statement-regexp, sql-beginning-of-statement)
15818 (sql-end-of-statement, sql-signum): New functions.
0757af94 15819 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15820 (sql-show-sqli-buffer): Bug fix.
15821 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15822 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15823 with sql-interactive-mode.
15824 (sql-save-connection): Save buffer local settings.
0757af94 15825 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15826 (sql-product-interactive): Bug fix.
15827 (sql-preoutput-hold): New variable.
15828 (sql-interactive-remove-continuation-prompt): Bug fixes.
15829 (sql-debug-redirect): New variable.
15830 (sql-str-literal): New function.
15831 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15832 Redesign.
fbcc67e2
MM
15833 (sql-oracle-save-settings, sql-oracle-restore-settings)
15834 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15835 (sql-completion-object, sql-completion-column)
15836 (sql-completion-sqlbuf): New variables.
15837 (sql-build-completions-1, sql-build-completions)
15838 (sql-try-completion): New functions.
15839 (sql-read-table-name): Use them.
15840 (sql-contains-names): New buffer local variable.
15841 (sql-list-all, sql-list-table): Use it.
15842 (sql-oracle-completion-types): New variable.
15843 (sql-oracle-completion-object, sql-sqlite-completion-object)
15844 (sql-postgres-completion-object): New functions.
15845
d4eaeab1
GM
158462011-07-06 Glenn Morris <rgm@gnu.org>
15847
15848 * window.el (pop-to-buffer): Doc fix.
15849
322b7dab 158502011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15851
15852 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15853
322b7dab 158542011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15855
322b7dab 15856 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15857
322b7dab 15858 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15859
605dd5bf
CY
158602011-07-05 Chong Yidong <cyd@stupidchicken.com>
15861
15862 * button.el (button): Inherit from link face. Suggested by Dan
15863 Nicolaescu.
15864
7dbfa719
SM
158652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15866
3db614b0
SM
15867 * progmodes/gdb-mi.el: Fit in 80 columns.
15868 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15869 switch-to-buffer.
15870
7dbfa719
SM
15871 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15872 if imenu is simply not configured (bug#8941).
15873
919d884a
KM
158742011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15875
15876 * allout.el (allout-post-undo-hook): New allout outline-change
15877 event hook to signal undo activity.
15878 (allout-post-command-business): Run allout-post-undo-hook if an
15879 undo just occurred.
7dbfa719
SM
15880 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15881 * allout-widgets.el (allout-widgets-after-undo-function):
15882 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15883 in the vicinity of an undo.
15884 (allout-widgets-mode): Include allout-widgets-after-undo-function
15885 on the new allout-post-undo-hook.
15886
450a0f09
SM
158872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15890 Let define-derived-mode define it.
15891 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15892 cycles of abbrev-table inheritance (bug#8998).
15893
2de69e00
RW
158942011-07-05 Roland Winkler <winkler@gnu.org>
15895
15896 * textmodes/bibtex.el: Add support for biblatex.
15897 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15898 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15899 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15900 (bibtex-entry-alist, bibtex-field-alist): New variables.
15901 (bibtex-entry-field-alist): Obsolete alias for
15902 bibtex-BibTeX-entry-alist.
15903 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15904 (bibtex-set-dialect): New command.
15905 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15906 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15907 Bind via bibtex-set-dialect.
2de69e00
RW
15908 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15909 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15910 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15911 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15912 Define via bibtex-set-dialect.
450a0f09
SM
15913 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15914 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15915 (bibtex-vec-push, bibtex-vec-incr): New functions.
15916 (bibtex-format-entry, bibtex-field-list)
15917 (bibtex-print-help-message, bibtex-validate)
15918 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15919
2dcdbdd9
SM
159202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15921
15922 * progmodes/compile.el (compilation-goto-locus):
15923 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15924 * bs.el (bs-cycle-next, bs-cycle-previous):
15925 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15926 * bindings.el (mode-line-other-buffer):
15927 * autoinsert.el (auto-insert):
15928 * arc-mode.el (archive-extract):
15929 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15930
b27640fe
JB
159312011-07-05 Juanma Barranquero <lekktu@gmail.com>
15932
15933 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15934 Fix check of `emacs-lock-unlockable-modes'.
15935 Coerce true values of `emacs-lock--try-unlocking' to t.
15936
53bbe3ad
JB
159372011-07-05 Juanma Barranquero <lekktu@gmail.com>
15938
15939 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15940 * emacs-lock.el: New file.
15941
1d3cdbc7
JD
159422011-07-05 Julien Danjou <julien@danjou.info>
15943
15944 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15945 than `boundp' to check if face is set.
15946
9173deec
JB
159472011-07-05 Juanma Barranquero <lekktu@gmail.com>
15948
15949 * register.el (registerv-make):
15950 * window.el (window-min-height): Fix typos in docstrings.
15951
869795d6
JD
159522011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15953
9173deec 15954 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15955 Update doc string.
15956
b768cdcd
JB
159572011-07-04 Juanma Barranquero <lekktu@gmail.com>
15958
15959 * server.el (server-execute): Catch quit and call
15960 `server-return-error' to pass the error back to emacsclient and
15961 close the connection (bug#8942).
15962
13aa217b
KM
159632011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15964
15965 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15966 insecure exception for current topic. Also note that auto-saves
15967 are handled differently.
15968
5d3385a0 15969 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15970 State variables for tracking auto-save inhibition situation.
15971
15972 (allout-write-contents-hook-handler): Rename from
15973 'allout-write-file-hook-handler', and describe how it depends on
15974 write-contents-functions sensitivity to non-nil value to prevent
15975 file write.
15976
15977 (allout-auto-save-hook-handler): Remove. auto-save does not check
15978 this in individual buffers, only in the starting buffer, so this
15979 is not the right way for us to inhibit auto-save in a buffer
15980 according to its condition.
15981
15982 (allout-mode): Use new allout-write-contents-hook-handler, and
15983 only with write-contents-functions. Remove auto-save provisions -
15984 they're implemented elsewhere.
15985
15986 (allout-before-change-handler): If undo is in progress, note that
15987 for attention of allout-post-command-business.
15988
15989 (allout-post-command-business): If the command we're following was
15990 an undo, check for change in the status of encrypted items and
15991 adjust auto-save inhibitions accordingly.
15992
15993 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15994 according to whether there are or aren't any plain-text topics
15995 pending encryption.
15996
2dcdbdd9 15997 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15998 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15999 if there are plain-text topics pending encryption.
13aa217b
KM
16000
16001 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16002 buffer-saved-size and some allout state to not inhibit auto-saves
16003 if there are no longer any plain-text topics pending encryption.
16004
0757af94
SM
16005 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16006 No longer provide for exemption of the current topic.
13aa217b 16007
ac89b32c
JL
160082011-07-04 Juri Linkov <juri@jurta.org>
16009
16010 Add 7z operations to delete and save changed members (bug#8968).
16011 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16012 New defcustoms.
16013 (archive-7z-write-file-member): New function.
16014 (archive-7z-summarize): Fix the number of dashes in the
16015 listing output.
16016
8fa39615
SM
160172011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16018
16019 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16020 (bug#8958).
16021
2f11b3f1
CY
160222011-07-04 Chong Yidong <cyd@stupidchicken.com>
16023
d66fef2b
CY
16024 * bindings.el: Ignore next-buffer and previous-buffer in
16025 minibuffer-local-map.
16026
2f11b3f1
CY
16027 * font-lock.el (font-lock-builtin-face): Change light background
16028 color to dark slate blue (Bug#6693).
16029
f932a347
WD
160302011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16031
16032 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16033
c8af70e1
SM
160342011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16035
16036 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16037 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16038 Add switch-to-buffer.
16039
f158badc
LMI
160402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16041
16042 * isearch.el (isearch-search-fun-function): Clarify further the
16043 meaning of the function returned.
16044
6d95bd46
MA
160452011-07-04 Michael Albinus <michael.albinus@gmx.de>
16046
16047 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16048
16049 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16050 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16051 Use it.
16052 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16053 `tramp-default-remote-path' does not exist.
16054 (tramp-send-command-and-read): New optional argument NOERROR.
16055 (tramp-open-connection-setup-interactive-shell)
16056 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16057 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16058 (tramp-process-sentinel): Flush also process' connection property.
16059 (tramp-sh-handle-start-file-process): Do not set process
16060 sentinel. It is done now ...
16061 (tramp-maybe-open-connection): ... here. (Bug#8929)
16062
909e6b67
MK
160632011-07-04 MON KEY <monkey@sandpframing.com>
16064
16065 * play/animate.el (animate-string): Doc fixes and allow changing
16066 the buffer name (bug#5417).
16067
160682011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16069
c8af70e1 16070 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16071
f34755dc
PE
160722011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16073
396cec72
PE
16074 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16075 This is simpler and helps future-proof the code.
16076 (timer-until): Use time-subtract and float-time.
08235028 16077 (timer--time-less-p): Use time-less-p.
f34755dc 16078
56e6cc31
JB
160792011-07-04 Juanma Barranquero <lekktu@gmail.com>
16080
3abb79e5
JB
16081 * type-break.el (timep): Use the value of `float-time' to avoid a
16082 byte-compiler warning.
16083
56e6cc31
JB
16084 * server.el (server-eval-and-print): Return any result, even nil.
16085
7b9430b4
PE
160862011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16087
16088 * type-break.el: Accept time formats that the builtins accept.
16089 (timep, type-break-time-difference): Accept any format that
16090 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16091 This is simpler and helps future-proof the code.
16092 (type-break-time-difference): Round rather than ignoring
16093 subseconds components.
16094
3034e9e7
LMI
160952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16096
16097 * info.el (Info-apropos-matches): Make non-interactive, since it
16098 doesn't seem to do anything useful as a command (bug#8829).
16099
1485f4c0
CY
161002011-07-03 Chong Yidong <cyd@stupidchicken.com>
16101
16102 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16103 Move from faces.el.
1485f4c0
CY
16104 (frame-default-terminal-background): New function.
16105
16106 * custom.el (custom-push-theme): Don't record faces in `changed'
16107 theme; this doesn't work correctly for per-frame face settings.
16108 (disable-theme): Use face-set-after-frame-default to reset faces.
16109 (custom--frame-color-default): New function.
16110
9fa3dd45
LMI
161112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16112
c8af70e1 16113 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16114 (bug#8769).
16115
6cbbc20c
KR
161162011-03-29 Kevin Ryde <user42@zip.com.au>
16117
16118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16119 `perl-Test2' extend to match possible "fail #N" rep count
16120 (bug#8377).
16121
c7f98048
LMI
161222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16123
65676592
LMI
16124 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16125 `smtpmail-via-smtp' now returns the error instead of nil.
16126
c7f98048
LMI
16127 * isearch.el (isearch-search-fun-function): Clarify the doc string
16128 (bug#8101).
16129
56e6cc31 161302011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16131
16132 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16133 unnecessary spaces (bug#8987).
16134
2b216704
LMI
161352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16136
16137 * net/network-stream.el (open-network-stream): Use the
16138 :end-of-capability command thoughout.
16139
161402011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16141
16142 * net/network-stream.el (open-network-stream): Add the
16143 :end-of-capability command parameter, used by pop3.el.
16144
36adf6ce
LMI
161452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16146
1ca0da0e
LMI
16147 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16148
fc00f69c
LMI
16149 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16150 for list)" (bug#6475).
16151
28fd8759 16152 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16153 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16154 an error (bug#6297).
16155
0dd8b6da
LMI
16156 * man.el (Man-reference-regexp): Allow matching possible
16157 word-wrapped references (bug#6289).
16158
ce1438d6
LMI
16159 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16160 for consistency with the other vc buffers (bug#6197).
16161 (vc-checkin): Ditto.
16162
16163 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16164
36adf6ce
LMI
16165 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16166
e83cc1f7
LMI
161672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16168
8a20ca4c
LMI
16169 * custom.el (defcustom): Clarify that :set is only used in the
16170 Customize user interface (bug#6089).
16171
83319045
LMI
16172 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16173 associated with a file, refuse to run instead of erroring out
16174 (bug#6084).
16175
a8392169
LMI
16176 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16177 the doc string, since it appears that using `fill-column' always
16178 controls the width (bug#7845).
16179
e83cc1f7
LMI
16180 * simple.el (shell-command-on-region): Say where the error output
16181 went if `shell-command-default-error-buffer' is set (bug#6857).
16182
e47ca23b
KM
161832011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16184
16185 * allout.el (allout-yank-processing): Adjust cursor position for
16186 backwards-deleted space.
16187
16188 (allout-rebullet-heading): Register changes with
16189 allout-exposure-changed-hook, so the modified topic is properly
16190 decorated.
16191
5cf56143
LMI
161922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16193
08549772
LMI
16194 * minibuffer.el (completion-in-region): Document PREDICATE
16195 (bug#7136).
16196
48e96771
LMI
16197 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16198 of keyword/argument pairs (bug#6904).
16199
c8af70e1
SM
16200 * replace.el (multi-occur):
16201 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16202
e17d05e2
LMI
162032011-07-02 Drew Adams <drew.adams@oracle.com>
16204
16205 * dired.el (dired-mark-if): Make the message about whether it's
16206 marking or unmarking clearer (bug#8523).
16207
063b0e45
LMI
162082011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16209
16210 * disp-table.el (display-table-print-array): New function.
16211 (describe-display-table): Use it to print the vectors more pretty
16212 (Bug#8859).
16213
28545e04
MR
162142011-07-02 Martin Rudalics <rudalics@gmx.at>
16215
16216 * window.el (window-state-get-1): Don't assign clone numbers.
16217 Add clone-of item to list of window parameters.
16218 (window-state-put-2): Don't process clone numbers.
16219 (display-buffer-alist): Fix doc-string.
16220
3349e122
SM
162212011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16222
16223 * subr.el (remq): Don't allocate if it's not needed.
16224 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16225 (keymap--merge-bindings): New functions.
16226 (keymap-canonicalize): Use them to refine the canonicalization.
16227 * minibuffer.el (minibuffer-local-completion-map)
16228 (minibuffer-local-must-match-map): Move initialization from C.
16229 (minibuffer-local-filename-completion-map): Move initialization from C;
16230 don't inherit from anything here.
16231 (minibuffer-local-filename-must-match-map): Make obsolete.
16232 (completing-read-default): Use make-composed-keymap to combine
16233 minibuffer-local-filename-completion-map with either
16234 minibuffer-local-must-match-map or
16235 minibuffer-local-filename-completion-map.
16236
d224ac83
GM
162372011-07-01 Glenn Morris <rgm@gnu.org>
16238
3de63bf8
GM
16239 * type-break.el (type-break-time-sum): Use dolist.
16240
d224ac83
GM
16241 * textmodes/flyspell.el (flyspell-word-search-backward):
16242 Replace CL function.
16243
1a1e3f32
SM
162442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16245
fe3f64d5
SM
16246 * mouse.el (mouse--strip-first-event): New function.
16247 (function-key-map): Use it to map fringe clicks to normal clicks
16248 by default.
16249
eb604e34
SM
16250 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16251 (vc-bzr-revision-completion-table): Add support for annotate and date.
16252
1a1e3f32
SM
16253 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16254 inherit from parent.
16255
5bd35902
LMI
162562011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16257
ace6c69c 16258 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16259 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16260
191e2bed
LMI
16261 * dired.el (dired-mode): Fix up the doc string as suggested by
16262 Drew Adams (bug#8817).
16263
5bd35902
LMI
16264 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16265 cookie, since the manual says that it should be possible to add
16266 this function to `find-file-hook' (bug#8709).
16267
eee8207a
TZ
162682011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16269
16270 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16271 here. Noted Ted Zlatanov as the maintainer.
16272 (cfengine-common-settings, cfengine-common-syntax): New functions
16273 to set up common things between `cfengine-mode' and
16274 `cfengine3-mode'.
16275 (cfengine3-mode): New mode.
16276 (cfengine3-defuns cfengine3-defuns-regex
16277 (cfengine3-class-selector-regex cfengine3-category-regex)
16278 (cfengine3-vartypes cfengine3-font-lock-keywords)
16279 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16280 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16281
36b148cf
MA
162822011-07-01 Michael Albinus <michael.albinus@gmx.de>
16283
16284 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16285
16286 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16287
0bf4ba9a
MR
162882011-07-01 Martin Rudalics <rudalics@gmx.at>
16289
16290 * window.el (same-window-buffer-names, same-window-regexps)
16291 (same-window-p, special-display-frame-alist)
16292 (special-display-popup-frame, special-display-function)
16293 (special-display-buffer-names, special-display-regexps)
16294 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16295 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16296 (split-window-preferred-function, split-height-threshold)
16297 (split-width-threshold, even-window-heights)
16298 (display-buffer-mark-dedicated, window-splittable-p)
16299 (split-window-sensibly, window-safely-shrinkable-p):
16300 Un-obsolete.
16301 (display-buffer): Don't spread args with function specifier
16302 because special-display-popup-frame won't like it.
16303
35837f51
PE
163042011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16305
d0672f86
PE
16306 Time-stamp simplifications and fixes.
16307 These improve accuracy slightly, and future-proof the code
16308 against some potential changes to current-time format.
16309
b9444d97
PE
16310 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16311 by using time-since and float-time.
16312
0ef923dc
PE
16313 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16314 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16315 + NNN microseconds".
16316
2f81380d
PE
16317 * type-break.el (type-break-time-sum): Rewrite using time-add.
16318
845b5c3e
PE
16319 * play/hanoi.el (hanoi-current-time-float): Remove.
16320 All uses replaced by float-time.
16321
ee6f1be0
PE
16322 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16323 This yields a more-accurate answer.
16324 (rng-time-to-float): Remove; no longer needed.
16325
fe955043
PE
16326 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16327
5777162a
PE
16328 * calendar/timeclock.el (timeclock-seconds-to-time):
16329 Defalias to seconds-to-time, since they're the same thing.
16330
3103f8b6 16331 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16332 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16333 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16334
0e61a35f
SM
163352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16336
16337 * window.el (bury-buffer): Don't iconify the only frame.
16338 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16339 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16340
ddd63a1e
CY
163412011-07-01 Chong Yidong <cyd@stupidchicken.com>
16342
0e61a35f
SM
16343 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16344 Add mouse-yank-primary.
ddd63a1e 16345
055f4923
TZ
163462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16347
16348 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16349
6a2fb145
SM
163502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16353 (find-library-name): Use it to find relative load names when provided
16354 absolute file name (bug#8803).
16355
fd4983f2
LMI
163562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16357
887d14ad
LMI
16358 * textmodes/flyspell.el (flyspell-word): Consider words that
16359 differ only in case as potential doublons (bug#5687).
16360
c53dc7fc
LMI
16361 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16362 Remove two rather uninteresting debugging-like messages to make
16363 debbugs.el more silent.
16364
fd4983f2
LMI
16365 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16366 a password-like phrase.
16367
7a71b18d 163682011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16369
16370 * progmodes/cc-guess.el: New file.
16371
6a2fb145 16372 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16373
16374 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16375 derived from `c-basic-common-init'.
16376
16377 * progmodes/cc-mode.el (top-level): Require cc-guess.
16378 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16379
1fa280a3
LM
163802011-06-30 Lawrence Mitchell <wence@gmx.li>
16381
16382 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16383
e6597158
AM
163842011-06-30 Alan Mackenzie <acm@muc.de>
16385
1fa280a3
LM
16386 * progmodes/cc-engine.el (c-guess-continued-construct):
16387 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16388 lock is disabled. Name this case as "CASE G".
16389
68ba37fb
KM
163902011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16391
16392 * allout.el (allout-yank-processing): Fix injection of extra space
16393 between bullet and non-whitespace character in first topic when
16394 pasting, ensuring that the actual spacing in the pasted topic
16395 following the bullet char is preserved. This extra space was
16396 causing pasted encrypted topics to get a decrypted status even
16397 when the content was actually still encrypted. Now the decryption
16398 status from before the paste is preserved.
16399
16400 (allout-flag-region): Set all allout overlays so they evaporate
16401 when reduced to zero length (evanescent), to prevent overlay
16402 leakage.
16403
887a0b34
GM
164042011-06-30 Glenn Morris <rgm@gnu.org>
16405
94b9acce
GM
16406 * w32-fns.el (w32-charset-info-alist): Declare.
16407
1d9b46d4
GM
16408 * find-dired.el (find-grep-options): Simplify.
16409
cc232200
GM
16410 * term/ns-win.el (ns-set-resource): Declare.
16411
28e77c46
GM
16412 * ses.el (row, col): Declare dynamic variables honestly.
16413
887a0b34
GM
16414 * textmodes/reftex-parse.el (index-tags): Declare.
16415
658d8eb8
CY
164162011-06-30 Chong Yidong <cyd@stupidchicken.com>
16417
16418 * cus-edit.el (customize-push-and-save): New function.
16419
16420 * files.el (hack-local-variables-confirm): Use it.
16421
1fa280a3
LM
16422 * custom.el (load-theme): New arg NO-CONFIRM.
16423 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16424 (custom-enabled-themes): Doc fix.
16425
16426 * cus-theme.el (customize-create-theme)
16427 (custom-theme-merge-theme): Callers to load-theme changed.
16428
bb617717
LMI
164292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16430
d61bdd5d
LMI
16431 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16432 short URLs have at least one dot in them (bug #7614).
16433
bb617717
LMI
16434 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16435 nil, because using a pty is apparently too slow (bug #895).
16436
2f31f37a
LMI
164372011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
16439 * mail/sendmail.el (sendmail-query-once): New function.
16440 (sendmail-query-once-function): New variable.
16441
3076b24e
GM
164422011-06-29 Glenn Morris <rgm@gnu.org>
16443
faf2a174
GM
16444 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16445
3076b24e
GM
16446 * ses.el (top-level): Require cl when compiling.
16447 (ses-set-localvars): Fix error statement.
16448 Call it at compile time to silence a storm of warnings.
16449
5386012d
MR
164502011-06-29 Martin Rudalics <rudalics@gmx.at>
16451
16452 * window.el (normalize-live-buffer): Rename to
16453 window-normalize-buffer.
16454 (normalize-live-frame): Rename to window-normalize-frame.
16455 (normalize-any-window): Rename to window-normalize-any-window.
16456 (normalize-live-window): Rename to window-normalize-live-window.
16457 (make-window-atom): Rename to window-make-atom.
16458 (window-resize-reset): Rename to window--resize-reset.
16459 (window-resize-reset-1): Rename to window--resize-reset-1.
16460 (resize-mini-window): Rename to window--resize-mini-window.
16461 (resize-subwindows-skip-p): Rename to
16462 window--resize-subwindows-skip-p.
16463 (resize-subwindows-normal): Rename to
16464 window--resize-subwindows-normal.
16465 (resize-subwindows): Rename to window--resize-subwindows.
16466 (resize-other-windows): Rename to window--resize-siblings.
16467 (resize-this-window): Rename to window--resize-this-window.
16468 (resize-root-window): Rename to window--resize-root-window.
16469 (resize-root-window-vertically): Rename to
16470 window--resize-root-window-vertically.
16471 (normalize-buffer-to-display): Rename to
16472 window-normalize-buffer-to-display.
16473 (normalize-buffer-to-switch-to): Rename to
16474 window-normalize-buffer-to-switch-to.
16475 Correspondingly update all callers of the functions listed
16476 above.
16477 (display-buffer-alist, display-buffer-normalize-arguments)
16478 (display-buffer-normalize-options, display-buffer)
16479 (display-buffer-alist-set): Use "function" instead of
16480 "fun-with-args".
16481
1176868d
CY
164822011-06-28 Chong Yidong <cyd@stupidchicken.com>
16483
16484 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16485 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16486 debbugs.gnu.org. Mention acknowledgment email.
16487
20a7a65f
LMI
164882011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16489
16490 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16491 buffer multibyteness, since it shouldn't matter.
16492
5f45cca5
MR
164932011-06-28 Martin Rudalics <rudalics@gmx.at>
16494
16495 * window.el (display-buffer-in-side-window): Handle dedicated
16496 windows as in display-buffer-reuse-window.
16497 (display-buffer-normalize-alist): Use value of override
16498 specifier.
16499 (display-buffer-normalize-specifiers): Use value of
16500 other-window-means-other-frame specifier.
16501 (display-buffer-alist): Rewrite some texts in widgets.
16502 (display-buffer): Spread arguments when calling function
16503 specified by fun-with-args.
16504
ad85fe1f
DD
165052011-06-28 Deniz Dogan <deniz@dogan.se>
16506
1fa280a3
LM
16507 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16508 Unnest `let'.
da68c4c8 16509
ad85fe1f
DD
16510 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16511 selectors (Bug#5732).
ec49bd31 16512 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16513
a08cc025
JA
165142011-06-27 Jari Aalto <jari.aalto@cante.net>
16515
16516 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16517 (eshell-ls-date-format): New defcustom.
16518 (eshell-ls-file): Use it.
16519
e2b551c5
SM
165202011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16521
16522 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16523
8982b231
KY
165242011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16525
16526 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16527 (ange-ftp-make-tmp-name): New arg.
16528 (ange-ftp-file-local-copy): Use it.
16529
36c9fa27
J
165302011-06-27 Jambunathan K <kjambunathan@gmail.com>
16531
16532 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16533 no-conversion (Bug#8870).
16534
d68443dc
MR
165352011-06-27 Martin Rudalics <rudalics@gmx.at>
16536
16537 * window.el (window-right, window-left, window-child)
16538 (window-child-count, window-last-child)
16539 (window-iso-combination-p, walk-window-tree-1)
16540 (window-atom-check-1, window-tree-1, delete-window)
16541 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16542 new naming conventions - window-vchild, window-hchild,
16543 window-next and window-prev are now called window-top-child,
16544 window-left-child, window-next-sibling and window-prev-sibling
16545 respectively.
d615d6d2
MR
16546 (resize-window-reset): Rename to window-resize-reset.
16547 (resize-window-reset-1): Rename to window-resize-reset-1.
16548 (resize-window): Rename to window-resize.
16549 (window-min-height, window-min-width)
16550 (resize-mini-window, resize-this-window, resize-root-window)
16551 (resize-root-window-vertically, adjust-window-trailing-edge)
16552 (enlarge-window, shrink-window, maximize-window)
16553 (minimize-window, delete-window, quit-restore-window)
16554 (split-window, balance-windows, balance-windows-area-adjust)
16555 (balance-windows-area, window-state-put-2)
16556 (display-buffer-even-window-sizes, display-buffer-set-height)
16557 (display-buffer-set-width, set-window-text-height)
16558 (fit-window-to-buffer): Rename all "resize-window" prefixed
16559 calls to use the "window-resize" prefix convention.
16560 (display-buffer-alist): Fix symbol for label specifier.
16561 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16562 corresponding specifier.
16563 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16564
b6458526
VB
165652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16566
16567 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16568 convention.
16569 (ses-call-printer): Does not pass an empty string to formatter when the
16570 cell is empty to keep from barking printer Calc math-format-value.
16571
d31fd9ac
RS
165722011-06-27 Richard Stallman <rms@gnu.org>
16573
43d5bf84
RS
16574 * battery.el (battery-mode-line-limit): New variable.
16575 (battery-update): Handle it.
16576
d31fd9ac
RS
16577 * mail/rmailmm.el (rmail-mime-process-multipart):
16578 Handle truncated messages.
16579
819a6054
GM
165802011-06-27 Glenn Morris <rgm@gnu.org>
16581
16582 * progmodes/flymake.el (flymake-err-line-patterns):
16583 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16584
cedc73f2
VB
165852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16586
819a6054 16587 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16588 (ses--clean-!, ses--clean-_): New functions.
16589 (ses-range): Add configurability of readout order, and conversion
16590 to Calc vector.
16591
5e5d49b6
VB
16592 * ses.el (ses-repair-cell-reference-all): New function.
16593 (ses-cell-symbol): Set macro as safe, so that it can be used in
16594 formulas.
16595
56e6cc31 16596 * ses.el: Update cycle detection algorithm.
90ca8b49 16597 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16598 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16599 (ses-set-localvars): New function.
16600 (ses-make-cell): Add property-list as a cell element.
16601 (ses-cell-property-get-fun, ses-cell-property-get)
16602 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16603 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16604 New functions.
90ca8b49
VB
16605 (ses-cell-property-set, ses-cell-property-pop)
16606 (ses-cell-property-get-handle): New macro.
16607 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16608 New aliases, used for code readability.
16609 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16610 cycle detection.
16611 (ses-self-reference-early-detection): New defcustom.
fac916bf 16612 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16613 (ses-mode): Use ses-set-localvars.
16614 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16615 before lauching the update processing.
16616 (ses-initialize-Dijkstra-attempt): New function.
16617 (ses-recalculate-cell): Update for cycle detection based on
16618 Dijkstra algorithm.
16619
2bb63e81
VB
16620 * ses.el: Fix commenting and indenting convention.
16621
c9d29fb8
SM
166222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 * bs.el (bs-cycle-next): Complete last change.
16625
d8e4b68b
JB
166262011-06-27 Drew Adams <drew.adams@oracle.com>
16627
16628 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16629
40098786
LMI
166302011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16631
c9d29fb8
SM
16632 * net/network-stream.el (network-stream-open-starttls):
16633 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16634 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16635
40098786
LMI
16636 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16637 to binary to possibly avoid line encoding issues on Windows (among
16638 other things).
16639
468d09d4
LMI
166402011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16641
16642 * net/network-stream.el (open-network-stream): Return an :error
16643 saying what the problem was, if possible.
16644
16645 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16646 server.
16647
16648 * net/network-stream.el (network-stream-open-starttls): If we
16649 wanted to use STARTTLS, and the server offered it, but we weren't
16650 able to because we had no STARTTLS support, then close the connection.
16651 (open-network-stream): Return an :error element, if present.
16652
16f07dd7
CY
166532011-06-26 Chong Yidong <cyd@stupidchicken.com>
16654
88821ca0
CY
16655 * hl-line.el (hl-line-sticky-flag): Doc fix.
16656 (global-hl-line-sticky-flag): New option (Bug#8323).
16657 (global-hl-line-highlight): Obey it.
16658
16f07dd7
CY
16659 * vc/vc.el (vc-revert-show-diff): Default to t.
16660
6b5ccddf
KM
166612011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16662
c9d29fb8
SM
16663 * allout-widgets.el (allout-widgets-post-command-business):
16664 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16665 undecorated when an isearch is continued past, and isearch
16666 automatically collapses them. This leads to "widget leaks", where
16667 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16668 hidden widgets can slow down cursor travel, substantially.
16669 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16670 so we're doing without this nicety.
16671
16672 (allout-widgets-tally-string): Don't try to do a hash-table-count
16673 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16674 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16675 *Messages* when allout-widgets-maintain-tally is t.
16676
355f2e07
MR
166772011-06-26 Martin Rudalics <rudalics@gmx.at>
16678
16679 * window.el (display-buffer-normalize-argument): Rename to
16680 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16681 LABEL argument. Respect special-display-function when popping up
16682 a new frame. Fix code searching for a window showing the buffer
16683 on another frame.
c9d29fb8
SM
16684 (display-buffer-normalize-specifiers):
16685 Call display-buffer-normalize-arguments.
355f2e07
MR
16686 (display-buffer-in-window): Don't undedicate the window if its
16687 buffer remains the same.
16688 Reported by Drew Adams <drew.adams@oracle.com>.
16689 (display-buffer-alist): Add choice for same-window macro
16690 specfier.
16691 (display-buffer): Mention special meaning of LABEL argument in
16692 doc-string. Fix quoting. Don't pop up a new frame even as
16693 fallback.
16694
7ca8fc42
JB
166952011-06-26 Juanma Barranquero <lekktu@gmail.com>
16696
16697 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16698 avoid deleting the current window in some cases (bug#8911).
16699
bc312254
AS
167002011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16701
16702 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16703 (Bug#8934)
16704
2db18f3f
LMI
167052011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16706
c9d29fb8
SM
16707 * net/network-stream.el (network-stream-open-starttls):
16708 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16709 (network-stream-open-tls): Ditto.
16710
6302e0d3
LL
167112011-06-26 Leo Liu <sdl.web@gmail.com>
16712
16713 * register.el (registerv): New struct.
16714 (registerv-make): New function.
c9d29fb8
SM
16715 (jump-to-register, describe-register-1, insert-register):
16716 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16717 struct. (Bug#8415)
16718
5fdd4046
CY
167192011-06-26 Chong Yidong <cyd@stupidchicken.com>
16720
2afef60a
CY
16721 * vc/vc.el (vc-revert-show-diff): New defcustom.
16722 (vc-diff-internal): New arg specifying diff buffer.
16723 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16724 reuse an existing *vc-diff* buffer (Bug#8927).
16725
5fdd4046
CY
16726 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16727
e93db24a
GM
167282011-06-26 Glenn Morris <rgm@gnu.org>
16729
16730 * progmodes/f90.el (f90-critical-indent): New option.
16731 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16732 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16733 (f90-mode): Doc fix.
16734 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16735 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16736 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16737 (f90-match-end): Handle block, critical.
16738
eefff499
GM
167392011-06-25 Glenn Morris <rgm@gnu.org>
16740
f6ba4cc9
GM
16741 * calendar/diary-lib.el (diary-included-files): Doc fix.
16742 (diary-include-files): New function, extracted from
16743 diary-include-other-diary-files and diary-mark-included-diary-files.
16744 (diary-include-other-diary-files, diary-mark-included-diary-files):
16745 Just call diary-include-files.
16746 (diary-mark-entries): Reset diary-included-files on first call.
16747
16712304
GM
16748 * calendar/diary-lib.el (diary-mark-entries)
16749 (diary-mark-included-diary-files):
16750 Visit included diary-files in temp buffers.
16751
5d8e0d43
GM
16752 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16753 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16754 (f90-start-block-re, f90-imenu-generic-expression)
16755 (f90-looking-at-program-block-start, f90-no-block-limit):
16756 Add support for submodules.
16757
ccf7a5d5
GM
16758 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16759 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16760
11fdef7d 167612011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16762
16763 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16764 buffer-file-type before setting its value, to avoid disastrous
eefff499 16765 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16766
74f53697
JB
167672011-06-25 Juanma Barranquero <lekktu@gmail.com>
16768
16769 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16770
16771 * ses.el (ses-unload-function):
16772 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16773
16774 * proced.el (proced-unload-function):
16775 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16776
18a4ce5e
AR
167772011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16778
16779 * server.el (server-create-window-system-frame): Add parameters arg.
16780 (server-process-filter): Doc fix. Handle frame-parameters.
16781
519d22cc
JB
167822011-06-25 Juanma Barranquero <lekktu@gmail.com>
16783
16784 Fix bug#8730, bug#8781.
16785
16786 * loadhist.el (unload--set-major-mode): New function.
16787 (unload-feature): Use it.
16788
16789 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16790 (python-unload-function): New function.
16791
c206f5b0
SM
167922011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16793
16794 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16795
f9ad64f3
GS
167962011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16797
16798 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16799 the candidates list.
16800
7d0da90e
JB
168012011-06-24 Juanma Barranquero <lekktu@gmail.com>
16802
16803 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16804
14b4e83d
RS
168052011-06-23 Richard Stallman <rms@gnu.org>
16806
16807 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16808 (rmail-variables): Set next-error-move-function.
16809 (rmail-what-message): Take argument POS.
16810 (rmail-next-error-move): New function.
16811
273d2baf
SM
168122011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16813
16814 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16815 messages for adjacent non-terminals.
16816
56c2cc9a
RS
168172011-06-23 Richard Stallman <rms@gnu.org>
16818
16819 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16820 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16821 (rmail-start-mail): Don't specify use of rmail-mail-return;
16822 that's done by mail-bury now.
16823 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16824
d59eb518
MA
168252011-06-23 Michael Albinus <michael.albinus@gmx.de>
16826
16827 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16828 SIZE is a number.
16829
02cfc6d6
MR
168302011-06-23 Martin Rudalics <rudalics@gmx.at>
16831
16832 * window.el (get-lru-window, get-mru-window)
16833 (get-largest-window): Never return a minibuffer window.
16834 (display-buffer-pop-up-window): Fix a bug that could lead to
16835 reusing the minibuffer window.
16836 (display-buffer): Pass original specifier argument to
16837 display-buffer-function instead of the normalized one.
16838 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16839
4e323265
LL
168402011-06-22 Leo Liu <sdl.web@gmail.com>
16841
16842 * minibuffer.el (completing-read-function)
1f9f395d 16843 (completing-read-default): Move from minibuf.c.
4e323265 16844
7a70468f
RS
168452011-06-22 Richard Stallman <rms@gnu.org>
16846
50718fc2
RS
16847 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16848 to Rmail even if not started by a special Rmail command.
16849
7a70468f
RS
16850 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16851 Copy the buffer currently showing just one message.
16852
297dde5a
RW
168532011-06-22 Roland Winkler <winkler@gnu.org>
16854
16855 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16856 (bibtex-clean-entry): First delete the old key so that a
16857 customized algorithm for generating the new key does not get
16858 confused by the old key.
16859 (bibtex-url): Obey regexp of first step.
16860 (bibtex-search-entries): Do not use add-to-list with local
16861 list-var.
16862
97bb1093
LMI
168632011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16864
16865 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16866 stored a user name, then query for the password first, instead of
16867 waiting for SMTP to give an error message and the trying again.
16868
1c0f1a19
JD
168692011-06-22 Lawrence Mitchell <wence@gmx.li>
16870
16871 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16872 BUFFER in call-process.
16873
396f7c9d
LMI
168742011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16875
16876 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16877 QUIT twice.
ddb7ffee
LMI
16878 (smtpmail-try-auth-methods): Require user name and password from
16879 auth-source.
396f7c9d 16880
8998d1b3
MR
168812011-06-22 Martin Rudalics <rudalics@gmx.at>
16882
16883 * window.el (display-buffer-default-specifiers)
16884 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16885 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16886 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16887
16888 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16889 (special-display-frame-alist, special-display-popup-frame):
16890 Remove duplicate declarations. These are now in window.el.
16891
4ea31e07
LMI
168922011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16893
c9d29fb8
SM
16894 * mail/smtpmail.el (smtpmail-via-smtp):
16895 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16896 server supports it. SMTP servers that support STARTTLS commonly
16897 require it.
16898
16899 * net/network-stream.el (network-stream-open-starttls): Support
16900 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16901 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16902
95f41d9a
LMI
16903 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16904 upgrades with `open-network-stream', and rely solely on
16905 auth-source for all credentials. Big changes throughout the file,
16906 but in particular:
c9d29fb8
SM
16907 (smtpmail-auth-credentials): Remove.
16908 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16909 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16910 MAIL FROM, too.
95f41d9a 16911
c9d29fb8
SM
16912 * net/network-stream.el (network-stream-open-starttls):
16913 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16914 STARTTLS.
16915 (auth-source): Require.
16916 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16917 (network-stream-certificate): Change cert-cert to cert and
16918 cert-key to key.
4ea31e07 16919
065ec2c7
MA
169202011-06-21 Michael Albinus <michael.albinus@gmx.de>
16921
16922 * net/tramp-cache.el (top): Don't load the persistency file when
16923 "emacs -Q" has been called.
16924
cd93b359
DR
169252011-06-21 Tim Harper <timcharper@gmail.com>
16926
d8e4b68b
JB
16927 * term/ns-win.el (ns-initialize-window-system):
16928 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16929 resource to NO as it is not yet supported by the NS port.
16930
ae9c0411
JB
169312011-06-21 Juanma Barranquero <lekktu@gmail.com>
16932
16933 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16934 (list-dynamic-libraries): ...not here.
16935
7f3f739f
LL
169362011-06-21 Leo Liu <sdl.web@gmail.com>
16937
16938 * subr.el (sha1): Implement sha1 using secure-hash.
16939
327c8fb1
MR
169402011-06-21 Martin Rudalics <rudalics@gmx.at>
16941
16942 * window.el (display-buffer-alist): In default value do not
16943 enforce searching a window on any but the selected frame.
16944 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16945 (display-buffer-select-window): Remove function.
16946 (display-buffer-in-window): When a window on another frame gets
16947 reused, do not select it any more but just raise its frame if
16948 necessary (Bug#8851) and (Bug#8856).
16949 (display-buffer-normalize-options): Handle pop-up-frames related
16950 options more faithfully.
16951 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16952 window if it is on another frame.
c9d29fb8
SM
16953 (display-buffer-alist, display-buffer-default-specifiers):
16954 Don't make new frame unsplittable by default.
9e9de014
MR
16955 (display-buffer-normalize-argument): Fix doc-string typo and use
16956 'same-frame-other-window instead of 'other-window when associating
16957 with display-buffer-macro-specifiers.
327c8fb1 16958
7cf3f556
VB
169592011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16960
16961 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16962 New functions.
16963 (5x5-mode-map, 5x5-mode-menu): Bind them.
16964 (5x5-draw-grid): Tweak the solver's rendering.
16965
60a406cf
SM
169662011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16967
16968 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16969 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16970
d8e4b68b 169712011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16972
16973 * menu-bar.el: Use function variable instead of switch-to-buffer.
16974 (menu-bar-select-buffer-function): New variable.
60a406cf 16975 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16976
478d6f95
SM
169772011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16978
16979 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16980 variable's status.
16981
ca530739
JD
169822011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16983
16984 * x-dnd.el (x-dnd-version-from-flags)
16985 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16986 and long as number (Bug#8899).
16987 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16988
bcd70d97
SM
169892011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16990
60a406cf 16991 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16992 (completion-try-completion, completion-all-completions): Compute the
16993 metadata argument if it's missing; make it optional (bug#8795).
16994
60a406cf 16995 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16996 (widget-complete): Use new :completion-function property.
16997 (widget-completions-at-point): New function.
16998 (default): Use :completion-function instead of :complete.
60a406cf
SM
16999 (widget-default-completions): Rename from widget-default-complete;
17000 Rewrite.
bcd70d97
SM
17001 (widget-string-complete, widget-file-complete, widget-color-complete):
17002 Remove functions.
17003 (file, symbol, function, variable, coding-system, color):
17004 * international/mule-cmds.el (default-input-method, charset)
17005 (language-info-custom-alist):
17006 * cus-edit.el (face): Use new property :completions.
17007
17008 * progmodes/pascal.el (pascal-completions-at-point): New function.
17009 (pascal-mode): Use it.
17010 (pascal-mode-map): Use completion-at-point.
17011 (pascal-toggle-completions): Make obsolete.
17012 (pascal-complete-word, pascal-show-completions):
17013 * progmodes/octave-mod.el (octave-complete-symbol):
17014 Redefine as obsolete alias.
17015 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17016 Signal absence of completion info for old Octave,
17017 (inferior-octave-complete): Redefine as obsolete alias.
17018 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17019 (meta-completions-at-point): Rename from meta-complete-symbol and
17020 adapt it for use on completion-at-point-functions.
17021 (meta-common-mode): Use it.
17022 (meta-looking-at-backward, meta-match-buffer): Remove.
17023 (meta-complete-symbol): Redefine as obsolete alias.
17024 (meta-common-mode-map): Use completion-at-point.
17025 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17026 (makefile-mode-map): Use completion-at-point.
17027 (makefile-completions-at-point): Rename from makefile-complete and
17028 adapt it for use on completion-at-point-functions.
17029 (makefile-mode): Use it.
17030 (makefile-complete): Redefine as obsolete alias.
17031
aebf69c8
DD
170322011-06-20 Deniz Dogan <deniz@dogan.se>
17033
17034 * net/rcirc.el: Delete trailing whitespaces once and for all.
17035
bfbbb27d
DC
170362011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17037
17038 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17039
d264a46b
CY
170402011-06-19 Chong Yidong <cyd@stupidchicken.com>
17041
4ca009e5
CY
17042 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17043
d264a46b
CY
17044 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17045
fbf5b3ce
MR
170462011-06-19 Martin Rudalics <rudalics@gmx.at>
17047
17048 * window.el (display-buffer-other-window-means-other-frame):
17049 Call display-buffer-normalize-alist.
17050 (display-buffer-normalize-specifiers-1): Rename to
17051 display-buffer-normalize-argument. New argument other-frame.
17052 Rewrite.
17053 (display-buffer-normalize-specifiers-2): Rename to
17054 display-buffer-normalize-options.
17055 (display-buffer-normalize-alist-1): New function.
17056 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17057 display-buffer-normalize-alist.
17058 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17059 (display-buffer-normalize-options-inhibit): New variable.
17060 (display-buffer-normalize-specifiers): Rewrite calling
17061 display-buffer-normalize-alist,
17062 display-buffer-normalize-argument, and
17063 display-buffer-normalize-options. Don't call the latter if
17064 display-buffer-normalize-options-inhibit is non-nil.
17065 (frame-auto-delete): New option.
17066 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17067 (window-list-no-nils, window-state-ignored-parameters)
17068 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17069 (window-state-put-1, window-state-put-2, window-state-put):
17070 New functions.
9a028c23
MR
17071 (display-buffer-normalize-options): Move special-display-p group
17072 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17073
6d10d800
CY
170742011-06-18 Chong Yidong <cyd@stupidchicken.com>
17075
6420d28b
CY
17076 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17077 groups (Bug#8776).
17078 (rx-submatch-n): New function.
17079 (rx): Document it.
17080
ddb8b596
CY
17081 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17082 (Bug#8768).
17083
17084 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17085
77080289
CY
17086 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17087
61dfb316
CY
17088 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17089 anytime existing face settings are present (Bug#8889).
17090
6d10d800
CY
17091 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17092 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17093 Remove unused argument.
17094
be3fb2b8
MR
170952011-06-18 Martin Rudalics <rudalics@gmx.at>
17096
bcd70d97
SM
17097 * window.el (display-buffer-default-specifiers):
17098 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17099 pop-up-window-min-width, and another reuse-window specifier
17100 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17101 (display-buffer-normalize-specifiers-2):
17102 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17103 pop-up-windows is unset. Add a reuse-window specifier for the
17104 case popping up a new window fails.
17105 (special-display-popup-frame): Remove double quoting.
28dec25a 17106 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17107
1c6d8c76
SM
171082011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17109
17110 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17111 according to comint-completion-addsuffix.
17112
17113 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17114 (pcomplete-suffix-list): Mark as obsolete.
17115 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17116 pcomplete-seen in the closure.
17117 (pcomplete-comint-setup): Setup completion-at-point as well.
17118 (pcomplete--entries): New function.
17119 (pcomplete--env-regexp): New var.
17120 (pcomplete-entries): Rewrite to work with partial-completion and
17121 without relying on pcomplete-suffix-list.
17122 (pcomplete-pare-list): Remove, unused.
17123
25aef8b8
MR
171242011-06-17 Martin Rudalics <rudalics@gmx.at>
17125
17126 * window.el (display-buffer-alist): Set pop-up-window-min-height
17127 and pop-up-window-min-width in default value. Reported by
17128 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17129 other-window-means-other-frame.
17130 (display-buffer-macro-specifiers): Comment out entry for
17131 other-window specifier.
17132 (display-buffer-other-window-means-other-frame): New function.
17133 (display-buffer-normalize-specifiers-1): New arguments
17134 buffer-name and label. Treat other-window case specially.
17135 (display-buffer-normalize-specifiers-2): Treat other-window case
17136 specially.
17137 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17138 (display-buffer-normalize-specifiers):
17139 Call display-buffer-normalize-specifiers-3.
25aef8b8 17140
dbad4f69
MR
171412011-06-17 Martin Rudalics <rudalics@gmx.at>
17142
17143 * window.el (same-window-p): Fix two typos introduced when
17144 adding with-no-warnings.
d1067961
MR
17145 (display-buffer-normalize-specifiers-1): Don't check
17146 pop-up-frames for 'unset initialization.
17147 (display-buffer-normalize-specifiers-2): Major rewrite using
17148 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17149 (pop-up-frames, display-buffer-reuse-frames)
17150 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17151 Suggested by David Engster <deng@randomsample.de>.
17152 (even-window-heights): Initialize to 'unset.
17153 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17154 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17155 other window case.
dbad4f69 17156
9b9c9e3a
MR
171572011-06-16 Martin Rudalics <rudalics@gmx.at>
17158
bcd70d97
SM
17159 * window.el (display-buffer-normalize-specifiers-1):
17160 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17161 second argument of display-buffer (Bug#8865).
981d5c09
MR
17162 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17163 (switch-to-buffer-other-window-same-frame)
17164 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17165 Adams (Bug#8875).
9c2755e9
MR
17166 (display-buffer): Don't check noninteractive when calling
17167 display-buffer-pop-up-frame.
17168 (display-buffer-pop-up-frame): Never pop up a frame in
17169 noninteractive mode (Bug#8857).
67222e1d
MR
17170 (enlarge-window, shrink-window): Don't report an error when the
17171 window can't be resized as requested (Bug#8862).
9b9c9e3a 17172
2b75be67
SM
171732011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17174
9ffdd3ba
SM
17175 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17176
cb581a67
SM
17177 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17178
2b75be67
SM
17179 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17180
8c0e3589
AM
171812011-06-15 Alan Mackenzie <acm@muc.de>
17182
cb581a67
SM
17183 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17184 for declarators, disable knr checking to speed up for normal files.
17185 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17186
b96e6cde
LMI
171872011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17188
4bba86e6
LMI
17189 * net/network-stream.el (open-network-stream): Add the keyword
17190 :always-query-capabilities for the case where you want to force a
17191 `plain' network connection, but the protocol still requires the
17192 capabilitiy command (i.e., SMTP and EHLO).
17193
2b75be67 17194 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17195 consistency with other `-live-p' functions.
17196
efdcdbf8
SM
171972011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17198
17199 * window.el (same-window-buffer-names, same-window-regexps)
17200 (special-display-frame-alist, special-display-popup-frame)
17201 (special-display-function, special-display-buffer-names)
17202 (special-display-regexps, pop-up-frame-alist)
17203 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17204 (pop-up-windows, split-window-preferred-function)
17205 (split-height-threshold, split-width-threshold, even-window-heights)
17206 (display-buffer-mark-dedicated): Don't encourage the use of
17207 display-buffer-alist from Elisp code.
17208
c5cde042
DN
172092011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17210
17211 * progmodes/python.el (python-mode): Derive from prog-mode.
17212 * progmodes/ps-mode.el (ps-mode):
17213 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17214 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17215 * progmodes/ld-script.el (ld-script-mode): Likewise.
17216
baa1c9ab
MR
172172011-06-15 Martin Rudalics <rudalics@gmx.at>
17218
17219 * window.el (display-buffer-alist): Trim default value to avoid
17220 popping up a new frame (Bug#8857) or reusing an arbitrary window
17221 on another frame.
17222 (display-buffer): Do not fall back on popping up a new frame in
17223 batch mode (Bug#8857).
17224
c5dd5a51
CY
172252011-06-14 Chong Yidong <cyd@stupidchicken.com>
17226
17227 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17228 (custom-theme-summary): New function.
17229 (customize-themes): Use it.
17230
d647b7c4
GM
172312011-06-13 Glenn Morris <rgm@gnu.org>
17232
17233 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17234
9481c002
MR
172352011-06-13 Martin Rudalics <rudalics@gmx.at>
17236
357f93d2
MR
17237 * help.el (help-window): Remove variable.
17238 (help-window-point-marker, temp-buffer-max-height)
17239 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17240 (help-print-return-message): Don't set help-window.
17241 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17242 (help-window-setup-finish): Remove.
17243 (help-window-display-message, help-window-setup)
17244 (with-help-window): Major rewrite based on new
17245 display-buffer-window variable.
17246
17247 * help-mode.el (help-mode-finish): Remove help-window related
17248 code.
17249
17250 * view.el (view-exits-all-viewing-windows): Remove reference to
17251 view-return-to-alist in doc-string.
17252 (view-return-to-alist): Make obsolete.
17253 (view-buffer): Call pop-to-buffer-same-window and remove
17254 undo-window code.
17255 (view-buffer-other-window): Call pop-to-buffer-other-window and
17256 simplify code. Ignore second argument.
17257 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17258 simplify code. Ignore second argument.
17259 (view-return-to-alist-update): Make obsolete.
17260 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17261 Rewrite using quit-restore window parameters.
2b75be67
SM
17262 (view-mode-exit): Rename second argument to EXIT-ONLY.
17263 Rewrite using quit-restore-window.
357f93d2
MR
17264 (View-exit, View-exit-and-edit, View-leave, View-quit)
17265 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17266 appropriate arguments.
17267 (view-end-message): Use quit-restore window parameter.
17268
9481c002
MR
17269 * window.el (display-buffer-function): Rewrite doc-string.
17270 (display-buffer-window, display-buffer-alist): New variables.
17271 (display-buffer-split-specifiers)
17272 (display-buffer-side-specifiers)
17273 (display-buffer-macro-specifiers): New constants.
17274 (display-buffer-even-window-sizes, display-buffer-set-height)
17275 (display-buffer-set-width, display-buffer-select-window)
17276 (display-buffer-in-window, display-buffer-reuse-window)
17277 (display-buffer-split-window-1, display-buffer-split-window)
17278 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17279 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17280 (display-buffer-in-side-window, normalize-buffer-to-display)
17281 (display-buffer-normalize-specifiers-1)
17282 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17283 (display-buffer-normalize-specifiers, display-buffer-frame):
17284 New functions.
9481c002
MR
17285 (display-buffer): Major rewrite.
17286 (display-buffer-other-window, display-buffer-other-frame)
17287 (pop-to-buffer, switch-to-buffer-other-window)
17288 (switch-to-buffer-other-frame): Rewrite.
17289 (display-buffer-same-window, display-buffer-same-frame)
17290 (display-buffer-same-frame-other-window)
17291 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17292 (pop-to-buffer-other-window)
17293 (pop-to-buffer-same-frame-other-window)
17294 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17295 (switch-to-buffer-other-window-same-frame): New functions.
17296 (same-window-p, special-display-p): Rewrite disabling warnings.
17297 Make obsolete.
17298 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17299 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17300 Make obsolete
17301 (same-window-buffer-names, same-window-regexps)
17302 (special-display-frame-alist, special-display-popup-frame)
17303 (special-display-function, special-display-buffer-names)
17304 (special-display-regexps, pop-up-frame-alist)
17305 (pop-up-frame-function, split-window-preferred-function)
17306 (split-height-threshold, split-width-threshold)
17307 (even-window-heights): Make obsolete.
17308
9db51aca
GM
173092011-06-12 Glenn Morris <rgm@gnu.org>
17310
17311 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17312 Misc simplifications.
9db51aca 17313
39cffb44
MR
173142011-06-12 Martin Rudalics <rudalics@gmx.at>
17315
17316 * window.el (window-safely-shrinkable-p): Restore function which
17317 was inadvertently removed in change from 2011-06-11. Declare as
17318 obsolete.
17319
2b75be67
SM
17320 * calendar/calendar.el (calendar-generate-window):
17321 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17322 window-safely-shrinkable-p.
17323
a8955be7
GM
173242011-06-12 Glenn Morris <rgm@gnu.org>
17325
17326 * progmodes/fortran.el (fortran-mode-syntax-table):
17327 * progmodes/f90.el (f90-mode-syntax-table):
17328 Set % to punctuation. (Bug#8820)
17329 (f90-find-tag-default): Remove, no longer needed.
17330
f0d4059d
DC
173312011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17332
17333 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17334
1100a63c
CY
173352011-06-11 Chong Yidong <cyd@stupidchicken.com>
17336
17337 * image.el (image-animated-p): Return animation delay in seconds.
17338 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17339 (image-animate-timeout): Remove DELAY argument. Don't assume
17340 every subimage has the same delay; get it from image-animated-p.
17341 (image-animate): Caller changed.
17342
def722bf
MA
173432011-06-11 Michael Albinus <michael.albinus@gmx.de>
17344
17345 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17346 to ignored backtrace functions.
17347
0a2bb1a9
GM
173482011-06-11 Glenn Morris <rgm@gnu.org>
17349
17350 * calendar/appt.el (appt-disp-window-function): Doc fix.
17351 (appt-check): Handle overlapping appointments. (Bug#8337)
17352
6198ccd0
MR
173532011-06-11 Martin Rudalics <rudalics@gmx.at>
17354
17355 * window.el (window-tree-1, window-tree): New functions, moving
17356 the latter to window.el.
17357 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17358 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17359 (bw-refresh-edges): Remove.
17360 (balance-windows-1, balance-windows-2): New functions.
17361 (balance-windows): Rewrite in terms of window tree functions,
17362 balance-windows-1 and balance-windows-2.
17363 (bw-adjust-window): Remove.
17364 (balance-windows-area-adjust): New function with functionality of
17365 bw-adjust-window but using resize-window.
2b75be67
SM
17366 (set-window-text-height): Rewrite doc-string.
17367 Use normalize-live-window and resize-window.
17368 (enlarge-window-horizontally, shrink-window-horizontally):
17369 Rename argument to DELTA.
6198ccd0
MR
17370 (window-buffer-height): New function.
17371 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17372 Rewrite using new window resize routines.
2b75be67
SM
17373 (kill-buffer-and-window, mouse-autoselect-window-select):
17374 Use ignore-errors instead of condition-case.
6198ccd0
MR
17375 (quit-window): Call delete-frame instead of delete-windows-on
17376 for the only buffer on frame.
17377
9397e56f
MR
173782011-06-10 Martin Rudalics <rudalics@gmx.at>
17379
17380 * loadup.el (top-level): Load window before files for the sake
17381 of replace-buffer-in-windows.
17382
17383 * files.el (read-buffer-to-switch)
17384 (switch-to-buffer-other-window)
2b75be67
SM
17385 (switch-to-buffer-other-frame, display-buffer-other-frame):
17386 Move to window.el.
9397e56f
MR
17387
17388 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17389 (previous-buffer): Move to window.el.
17390
17391 * bindings.el (unbury-buffer): Move to window.el.
17392
17393 * window.el (delete-other-windows-vertically): Move after
17394 definition of delete-other-windows.
17395 (other-window, delete-windows-on, replace-buffer-in-windows):
17396 Move here from window.c.
17397 (record-window-buffer, unrecord-window-buffer)
17398 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17399 (switch-to-next-buffer): New functions.
17400 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17401 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17402 (previous-buffer): Move here from simple.el.
17403 Call switch-to-prev-buffer.
9397e56f
MR
17404 (bury-buffer): Move here from buffer.c. Switch to previous
17405 buffer when window cannot be deleted.
17406 (unbury-buffer): Move here from bindings.el.
17407 (ctl-x-map): Move binding for other-window from window.c to
17408 here.
17409 (read-buffer-to-switch, switch-to-buffer-other-window)
17410 (switch-to-buffer-other-frame): Move here from files.el.
17411 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17412 (switch-to-buffer): Move here from buffer.c.
17413 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17414
562dd5e9
MR
174152011-06-10 Martin Rudalics <rudalics@gmx.at>
17416
17417 * window.el (window-min-height, window-min-width): Move here
17418 from window.c. Add defcustoms and rewrite doc-strings.
17419 (resize-mini-window, resize-window): New functions.
17420 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17421 Move here from window.c.
17422 (maximize-window, minimize-window): New functions.
17423 (delete-window, delete-other-windows, split-window): Move here
17424 from window.c.
17425 (window-split-min-size): New function.
17426 (split-window-keep-point): Mention split-window-above-each-other
17427 instead of split-window-vertically.
2b75be67 17428 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17429 Rename split-window-vertically to split-window-above-each-other
17430 and provide defalias for old definition.
17431 (split-window-side-by-side, split-window-horizontally):
17432 Rename split-window-horizontally to split-window-side-by-side
17433 and provide defalias for the old definition.
562dd5e9
MR
17434 (ctl-x-map): Move bindings for delete-window,
17435 delete-other-windows and enlarge-window here from window.c.
17436 Replace bindings for split-window-vertically and
17437 split-window-horizontally by bindings for
17438 split-window-above-each-other and split-window-side-by-side.
17439
17440 * cus-start.el (all): Remove entries for window-min-height and
17441 window-min-width. Add entries for window-splits and
17442 window-nest.
17443
f0da764a
GM
174442011-06-09 Glenn Morris <rgm@gnu.org>
17445
80675c21
GM
17446 * calendar/appt.el (appt-mode-line): New function.
17447 (appt-check, appt-disp-window): Use it.
17448
f0da764a
GM
17449 * files.el (hack-one-local-variable-eval-safep):
17450 Allow minor-modes with explicit +/-1 arguments.
17451
59f623b7
TZ
174522011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17453
17454 * term/xterm.el (xterm): Add defgroup.
17455 (xterm-extra-capabilities): Add defcustom to supply known xterm
17456 capabilities, skip querying them, or query them (default).
17457 (terminal-init-xterm): Use it.
17458 (terminal-init-xterm-modify-other-keys): New function to set up
17459 modifyOtherKeys support to simplify `terminal-init-xterm'.
17460
9aab8e0d
MR
174612011-06-09 Martin Rudalics <rudalics@gmx.at>
17462
17463 * window.el (resize-window-reset, resize-window-reset-1)
17464 (resize-subwindows-skip-p, resize-subwindows-normal)
17465 (resize-subwindows, resize-other-windows, resize-this-window)
17466 (resize-root-window, resize-root-window-vertically)
17467 (window-deletable-p, window-or-subwindow-p)
17468 (frame-root-window-p): New functions.
17469
e8b08aee
GM
174702011-06-09 Glenn Morris <rgm@gnu.org>
17471
17472 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17473 (ange-ftp-get-files): Use it.
17474
254c37a5
AK
174752011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17476
17477 * mail/sendmail.el (mail-recover-1, mail-recover):
17478 * files.el (recover-file, recover-session):
17479 Handle dired-listing-switches not being just a single short option.
17480
35d7dbd3
GM
174812011-06-09 Glenn Morris <rgm@gnu.org>
17482
17483 * calendar/appt.el (appt-display-message, appt-disp-window):
17484 Handle lists of appointments.
17485
387522b2
MR
174862011-06-08 Martin Rudalics <rudalics@gmx.at>
17487
2b75be67
SM
17488 * window.el (one-window-p): Move down in code.
17489 Rewrite doc-string.
17490 (window-current-scroll-bars): Rewrite doc-string.
17491 Normalize live window argument.
387522b2
MR
17492 (walk-windows, get-window-with-predicate, count-windows):
17493 Rewrite doc-string. Use window-list-1.
17494 (window-in-direction-2, window-in-direction, get-mru-window):
17495 New functions.
17496
d8e4b68b 174972011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17498
17499 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17500 Doc fix (Bug#8713).
17501
175022011-06-08 Chong Yidong <cyd@stupidchicken.com>
17503
17504 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17505
175062011-06-08 Juanma Barranquero <lekktu@gmail.com>
17507
17508 * loadhist.el (unload-feature-special-hooks):
17509 Add `comint-output-filter-functions'.
17510
0de12c52
IK
175112011-06-08 Ivan Kanis <gnu@kanis.fr>
17512
17513 * calendar/appt.el (appt-check): Move some initializations into the let.
17514
f3d1777e
MR
175152011-06-08 Martin Rudalics <rudalics@gmx.at>
17516
17517 * window.el (window-height): Defalias to window-total-height.
17518 (window-width): Defalias to window-body-width.
17519
18af70d0
CY
175202011-06-07 Chong Yidong <cyd@stupidchicken.com>
17521
17522 * image-mode.el (image-toggle-animation): New command.
17523 (image-mode-map): Bind it to RET.
17524 (image-mode): Update message.
17525 (image-toggle-display-image): Avoid a spurious cache flush.
17526 (image-transform-rotation): Doc fix.
17527 (image-transform-properties): Return quickly in the normal case.
17528 (image-animate-loop): Rename from image-animate-max-time.
17529
2b75be67 17530 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17531 (create-animated-image): Remove unnecessary function.
17532 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17533 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17534 (image-animate-timer): Use car-safe.
17535 (image-animate-timeout): Rename argument.
17536
190b47e6
MR
175372011-06-07 Martin Rudalics <rudalics@gmx.at>
17538
17539 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17540 window.c. Rename first argument to ALL-FRAMES.
17541 Rephrase doc-strings.
17542 (get-buffer-window-list): Rewrite using window-list-1.
17543 Rephrase doc-string.
a1511caf
MR
17544 (window-safe-min-height, window-safe-min-width): New constants.
17545 (window-size-ignore, window-min-size, window-min-size-1)
17546 (window-sizable, window-sizable-p, window-size-fixed-1)
17547 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17548 (window-max-delta-1, window-max-delta, window-resizable)
17549 (window-resizable-p, window-total-height, window-total-width)
17550 (window-body-width): New functions.
17551 (window-full-height-p, window-full-width-p): Rewrite using
17552 window-total-size.
17553 (window-body-height): Rewrite using window-body-size.
190b47e6 17554
85cc1f11
MR
175552011-06-06 Martin Rudalics <rudalics@gmx.at>
17556
17557 * window.el (window-right, window-left, window-child)
17558 (window-child-count, window-last-child, window-any-p)
17559 (normalize-live-buffer, normalize-live-frame)
17560 (normalize-any-window, normalize-live-window)
17561 (window-iso-combination-p, window-iso-combined-p)
17562 (window-iso-combinations)
17563 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17564 (windows-with-parameter, window-with-parameter)
17565 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17566 (window-atom-check, window-side-check, window-check):
17567 New functions.
85cc1f11
MR
17568 (ignore-window-parameters, window-sides, window-sides-vertical)
17569 (window-sides-slots): New variables.
17570 (window-size-fixed): Move down in code. Minor doc-string fix.
17571
e7156492
AS
175722011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17573
17574 * comint.el (comint-dynamic-complete-as-filename)
17575 (comint-dynamic-complete-filename): Correctly call
17576 completion-in-region.
17577
7e821d0d
DD
175782011-06-05 Deniz Dogan <deniz@dogan.se>
17579
17580 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17581 in last change.
17582
ac09b8a1
DD
175832011-06-05 Deniz Dogan <deniz@dogan.se>
17584
17585 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17586 (rcirc): Use it to prompt for encryption.
17587
34699b85
RW
175882011-06-05 Roland Winkler <winkler@gnu.org>
17589
17590 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17591 (bibtex-search-entries): New command bound to C-c C-a.
17592 (bibtex-display-entries): New function.
17593
004dedd3
RW
175942011-06-05 Roland Winkler <winkler@gnu.org>
17595
17596 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17597 (bibtex-insert-kill): After yanking insert newline if necessary.
17598 (bibtex-initialize): Call bibtex-string-files-init only once.
17599 (bibtex-mode): Do not call easy-menu-add.
17600 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17601 (bibtex-yank): Set arg properly if nil.
17602
022fe7ce
RW
176032011-06-05 Roland Winkler <winkler@gnu.org>
17604
2b75be67
SM
17605 * textmodes/bibtex.el (bibtex-search-entry-globally):
17606 New variable.
022fe7ce
RW
17607 (bibtex-search-entry): Use it.
17608
b7c3692a
RW
176092011-06-05 Roland Winkler <winkler@gnu.org>
17610
17611 * textmodes/bibtex.el (bibtex-entry-format): New option
17612 sort-fields.
17613 (bibtex-format-entry, bibtex-reformat): Honor this option.
17614 (bibtex-parse-entry): Return fields in proper order.
17615
8eda563d
JB
176162011-06-05 Juanma Barranquero <lekktu@gmail.com>
17617
17618 * doc-view.el (doc-view-remove-if): Move computation of result out
17619 of `dolist' to silence misleading lexical-binding warning.
17620
7dbe3dbc
CY
176212011-06-04 Chong Yidong <cyd@stupidchicken.com>
17622
17623 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17624 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17625
0c33dd17
MA
176262011-06-04 Michael Albinus <michael.albinus@gmx.de>
17627
17628 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17629 "SunOS 5.10".
17630
f8f91c2b
MA
176312011-06-04 Michael Albinus <michael.albinus@gmx.de>
17632
17633 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17634 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17635 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17636 (tramp-parse-putty):
17637 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17638 (tramp-completion-function-alist-ssh)
17639 (tramp-completion-function-alist-telnet)
17640 (tramp-completion-function-alist-su)
17641 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17642 cookie.
17643
17644 * net/tramp-ftp.el:
17645 * net/tramp-sh.el:
17646 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17647 load "tramp.el" `tramp-set-completion-function'.
17648
e17d9003
SM
176492011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17650
17651 * shell.el: Require and use pcomplete.
17652 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17653 (shell-completion-vars): Set pcomplete-default-completion-function.
17654
6c4cab03
DD
176552011-06-04 Deniz Dogan <deniz@dogan.se>
17656
17657 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17658 `memq' (Bug#8799).
17659
ea9fafe0
SM
176602011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17661
17662 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17663
b3e945d3
JB
176642011-06-02 Juanma Barranquero <lekktu@gmail.com>
17665
17666 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17667 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17668 * vc/log-view.el (log-view-beginning-of-defun):
17669 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17670 (smerge-refine-forward, smerge-refine-chopup-region):
17671 Silence warning for unused `dotimes' counter variables.
17672
7d520089
SM
176732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17674
17675 * net/tramp.el (tramp-with-progress-reporter): Rename from
17676 with-progress-reporter. Use `declare'.
17677 * net/tramp-smb.el:
17678 * net/tramp-sh.el:
17679 * net/tramp-gvfs.el: Update all uses.
17680
a1c2400f
JB
176812011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17682
17683 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17684 buffer isn't killed before making it current.
17685
2403c841
SM
176862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17687
17688 Silence various byte-compiler warnings.
17689 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17690 `access-type' and new obsolescence format.
17691 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17692 new format.
17693 (byte-compile-check-variable): New `access-type' argument.
17694 Only warn if the access-type is obsolete.
17695 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17696 (byte-compile-variable-set): Adjust callers.
17697 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17698 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17699 setting it as obsolete.
17700 * simple.el (minibuffer-completing-symbol):
17701 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17702 access as obsolete.
17703 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17704 obsolete yet.
17705 * international/quail.el (quail-mouse-choose-completion): Remove unused
17706 code referring to obsolete var.
17707 (quail-choose-completion-string): Remove.
17708 * server.el (server-clients-with, server-kill-buffer-query-function)
17709 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17710 * proced.el (proced-send-signal):
17711 * emacs-lisp/lisp.el (lisp-complete-symbol):
17712 Replace completion-annotate-function with completion-extra-properties.
17713
2462470b
SM
177142011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17715
fb5b2591
SM
17716 * simple.el (goto-line): Use read-number.
17717 (overriding-map-is-bound): Remove.
17718 (saved-overriding-map): Change default.
17719 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17720 Take the map as argument.
17721 (universal-argument, negative-argument, digit-argument): Use it.
17722 (restore-overriding-map): Adjust.
17723 (do-auto-fill): Use fill-forward-paragraph.
17724 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17725
fd6fa53f
SM
17726 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17727 (minibuffer-inactive-mode): New major mode.
17728 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17729 the *Messages* buffer" hack.
17730 (mouse-popup-menubar): Don't burp if the event is a normal key.
17731
2462470b
SM
17732 Miscellaneous tweaks.
17733 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17734 lexical scoping as in subr.el's dolist and dotimes.
17735 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17736 Silence compiler warning.
17737 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17738 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17739 * international/ccl.el (ccl-compile): Trivial simplification.
17740 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17741 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17742 `printflag' argument.
17743 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17744 Purecopy the whole obsolescence data.
17745
108bf785
LL
177462011-06-01 Leo Liu <sdl.web@gmail.com>
17747
17748 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17749 improve doc-string as suggested by Marco Pessotto
17750 <melmothx@gmail.com>.
17751 (rcirc-print): Fix last change.
17752
30a23501
SM
177532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17754
17755 * minibuffer.el (complete-with-action): Return nil for the metadata and
17756 boundaries of non-functional tables.
17757 (completion-table-dynamic): Return nil for the metadata.
17758 (completion-table-with-terminator): Add default case, using
17759 complete-with-action.
17760 (completion--metadata): New function.
17761 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17762 to try and avoid pathological performance problems.
17763 (completion--embedded-envvar-table): Return `category' metadata.
17764
bcd54f83
LMI
177652011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17766
17767 * subr.el (process-alive-p): New tiny convenience function.
17768
e227544d
SM
177692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17770
17771 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17772 content but also its previous major mode.
17773
e8296fdc
HE
177742011-05-31 Helmut Eller <eller.helmut@gmail.com>
17775
4d61f28d 17776 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17777 *Backtrace* buffer when we exit with C-M-c.
17778
620c53a6
SM
177792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17780
17781 * minibuffer.el: Add metadata method to completion tables.
17782 (completion-category-overrides): New defcustom.
17783 (completion-metadata, completion--field-metadata)
17784 (completion-metadata-get, completion--styles)
17785 (completion--cycle-threshold): New functions.
17786 (completion-try-completion, completion-all-completions):
17787 Add `metadata' argument to choose completion-styles.
17788 (completion--do-completion): Use metadata to choose cycling.
17789 (completion-all-sorted-completions): Use metadata for sorting.
17790 Remove :completion-cycle-penalty which is not needed any more.
17791 (completion--try-word-completion): Add `metadata' argument.
17792 (minibuffer-completion-help): Check metadata for annotation function
17793 and sorting.
17794 (completion-file-name-table): Return `category' metadata.
17795 (minibuffer-completing-file-name): Make obsolete.
17796 * simple.el (minibuffer-completing-symbol): Make obsolete.
17797 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17798 completion-try-completion.
17799
1257e755
SM
178002011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17801
17802 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17803
3767e706
LL
178042011-05-30 Leo Liu <sdl.web@gmail.com>
17805
17806 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17807 (rcirc-print): Decode all incoming messages (bug#8744).
17808 (rcirc-decode-coding-system): Allow value nil for automatic coding
17809 system detection.
3767e706 17810
d1a5d56a
GM
178112011-06-01 Glenn Morris <rgm@gnu.org>
17812
17813 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17814
e8cbec34
CY
178152011-05-29 Chong Yidong <cyd@stupidchicken.com>
17816
17817 * image.el (image-animate-max-time): Allow nil and t values.
17818 Default to nil.
17819 (create-animated-image): Doc fix.
17820 (image-animate-start): Remove second arg; just use
17821 image-animate-max-time.
17822 (image-animate-timeout): Doc fix. Args changed.
17823
17824 * image-mode.el (image-toggle-display-image): Ensure that the
17825 image spec passed to the animate timer is the same object as in
58179cce 17826 the buffer's display property (Bug#6981).
e8cbec34
CY
17827 (image-transform-properties): Doc fix.
17828
17829 * image.el (image-animate-max-time): Default to nil.
17830
159daf87
MR
178312011-05-29 Martin Rudalics <rudalics@gmx.at>
17832
17833 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17834 entire buffer list (Bug#8184).
17835
d66c4c7c
CY
178362011-05-29 Chong Yidong <cyd@stupidchicken.com>
17837
17838 * image.el (imagemagick-types-inhibit)
17839 (imagemagick-register-types): Doc fix.
17840
80aec780
DD
178412011-05-29 Deniz Dogan <deniz@dogan.se>
17842
17843 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17844 default.
17845
1dd3c2d9
CY
178462011-05-29 Chong Yidong <cyd@stupidchicken.com>
17847
17848 * select.el: Don't perform clipboard-manager saving in hooks;
17849 leave the hooks empty.
17850
60e56523
LL
178512011-05-28 Leo Liu <sdl.web@gmail.com>
17852
17853 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17854 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17855 (occur-edit-mode): New major mode (Bug#8463).
17856 (occur-after-change-function): New function.
17857 (occur-engine): Give Occur tags a read-only property.
17858
2b1e1a22
KR
178592011-05-28 Kevin Ryde <user42@zip.com.au>
17860
17861 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17862
5d344e88
CY
178632011-05-28 Chong Yidong <cyd@stupidchicken.com>
17864
8e6ca83d
CY
17865 * bindings.el (help-echo): Make the initial non-indicator dash
17866 empty on graphical terminals (Bug#7295).
17867
5d344e88
CY
17868 * files.el (auto-mode-alist): Move config rule after the
17869 in-stripping one (Bug#8547).
17870
bfbbace7
CY
17871 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17872
fbeba6e2
CY
17873 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17874 setting (Bug#8740).
17875
60ed8c72
AA
178762011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17877
4ac619f0
AA
17878 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17879 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17880 (Bug#8539).
60ed8c72 17881
23db196e
CY
178822011-05-28 Chong Yidong <cyd@stupidchicken.com>
17883
17884 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17885
5012f24c
DK
178862011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17887
17888 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17889 (hs-hide-block-at-point, hs-find-block-beginning)
17890 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17891 (Bug#8279).
17892
6a639b16
GM
178932011-05-28 Glenn Morris <rgm@gnu.org>
17894
17895 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17896
d43eaf2c
CY
178972011-05-28 Chong Yidong <cyd@stupidchicken.com>
17898
5199bde1
CY
17899 * help-fns.el (describe-function-1): If the function is a derived
17900 major mode, print the parent mode.
17901
d43eaf2c
CY
17902 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17903 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17904
423428a8
SM
179052011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17906
0ff8e1ba 17907 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17908 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17909 * progmodes/etags.el (tags-completion-at-point-function):
17910 * info-look.el (info-lookup-completions-at-point): Mark as
17911 non-exclusive.
17912 (info-complete): Adjust accordingly.
17913
423428a8
SM
17914 * info-look.el: Convert to lexical-binding and completion-at-point.
17915 (info-lookup-completions-at-point): New function.
17916 (info-complete): Use it and completion-in-region.
17917
b74aa22b
DA
179182011-05-28 Drew Adams <drew.adams@oracle.com>
17919
17920 * isearch.el: Let M-e start with point at the first mismatched char.
17921 (isearch-fail-pos): New function.
17922 (isearch-edit-string): Use it.
17923
66e2e71d
DK
179242011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17925
17926 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17927
b1890b0f 179282011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17929
17930 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17931 traversal functions for avl-trees.
17932 (avl-tree--stack): New struct.
17933 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17934 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17935 (avl-tree--do-enter): Add optional `updatefun' arg.
17936 Change return value.
eb95d01d 17937 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17938 (avl-tree--do-delete): Add `test' and `nilflag' args.
17939 Change return value.
eb95d01d
TC
17940 (avl-tree-member): Add optional `nilflag'
17941 (avl-tree-member-p): New function.
17942 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17943 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17944 (avl-tree-stack-empty-p): New functions.
17945
3769ddcf
TC
17946 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17947 avl-tree--del-balance1 and make it work both ways.
17948 (avl-tree--del-balance2): Remove.
17949 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17950 make it work both ways.
17951 (avl-tree--enter-balance2): Remove.
17952 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17953 New macros.
17954 (avl-tree--mapc, avl-tree-map): Add direction argument.
17955
eb95d01d 179562011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17957
17958 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17959
a9f737ee
CY
179602011-05-27 Chong Yidong <cyd@stupidchicken.com>
17961
17962 * select.el: Support clipboard managers with built-in function
17963 x-clipboard-manager-save, via delete-frame-functions and
17964 kill-emacs-hook.
17965 (xselect-convert-to-targets): Add MULTIPLE target to list.
17966 (xselect-convert-to-save-targets): New function.
17967
c92a1e54
KH
179682011-05-27 Kenichi Handa <handa@m17n.org>
17969
17970 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17971 let-binding rfc2047-encode-encoded-words to nil.
17972
e145f188
GM
179732011-05-27 Glenn Morris <rgm@gnu.org>
17974
5ec8a862
GM
17975 * mail/emacsbug.el: Don't require url-util.
17976
4b29d9fb
GM
17977 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17978
e145f188
GM
17979 * files.el (set-auto-mode):
17980 Also respect mode: entries at the end of the file. (Bug#8586)
17981
7d15102b
GM
179822011-05-26 Glenn Morris <rgm@gnu.org>
17983
98f593b8
GM
17984 * files.el (hack-local-variables-prop-line, hack-local-variables):
17985 Downcase mode names, as seems to be traditional.
27b48e63 17986 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17987
7d15102b
GM
17988 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17989 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17990
51d5b4ec
JD
179912011-05-25 Julien Danjou <julien@danjou.info>
17992
17993 * textmodes/rst.el (rst-define-level-faces): Do not define face
17994 symbol if it is already defined.
17995
91513f63
VB
179962011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17997
17998 * play/5x5.el (5x5-new-game, 5x5-randomize):
17999 Reset 5x5-solver-output to nil when a new grid is cast.
18000 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18001 these debugging traces, as defmacro breaks the compiled code.
18002
4d90d6d0
DK
180032011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18004
18005 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18006
e1b90ef6
LL
180072011-05-24 Leo Liu <sdl.web@gmail.com>
18008
18009 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18010 (vc-bzr-sha1): Adapt.
18011
d8e4b68b 18012 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18013
18014 * bindings.el: Provide sha1 feature.
18015
db0406bb 180162011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18017
18018 * mail/sendmail.el: Require `rfc2047'.
18019 (mail-insert-from-field): Do not perform RFC2047 encoding.
18020 (mail-encode-header): New function.
18021 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18022 buffer to the return value of select-message-coding-system.
18023 Call mail-encode-header.
b8d747b9
KH
18024
18025 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18026
db0406bb 180272011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18028
4d90d6d0
DK
18029 * mail/supercite.el (sc-default-cite-frame):
18030 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18031
eb8a5e9b
GM
180322011-05-24 Glenn Morris <rgm@gnu.org>
18033
f8630703
GM
18034 * progmodes/python.el (brm-menu): Declare.
18035
8831bbed
GM
18036 * emulation/viper.el (viper-set-hooks): Declare.
18037
eb8a5e9b
GM
18038 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18039 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18040 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18041 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18042 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18043 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18044
a2a25d24
SM
180452011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18046
18047 Add an :exit-function for completion-at-point.
18048
18049 * minibuffer.el (completion--done): New fun.
18050 (completion--do-completion): Use it. New arg `expect-exact'.
18051 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18052 since completion--do-completion does it for us now.
18053 (minibuffer-force-complete): Use completion--done and
18054 completion--replace. Handle sole-completion case with more care.
18055 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18056 (completion-extra-properties): New var.
18057 (completion-annotate-function): Make obsolete.
18058 (minibuffer-completion-help): Adjust accordingly.
18059 Use completion-list-insert-choice-function.
18060 (completion-at-point, completion-help-at-point):
18061 Bind completion-extra-properties.
18062 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18063 * simple.el (completion-list-insert-choice-function): New var.
18064 (completion-setup-function): Preserve it.
18065 (choose-completion): Pay attention to it, shuffle the code a bit.
18066 (choose-completion-string): New arg `insert-function'.
18067
18068 * textmodes/bibtex.el: Convert to lexical binding.
18069 (bibtex-mode-map): Use completion-at-point.
18070 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18071 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18072 (bibtex-complete): Define as obsolete alias.
18073 (bibtex-complete-internal): Remove.
18074 (bibtex-format-entry): Remove unused sub-group in regexp.
18075 * shell.el (shell--command-completion-data)
18076 (shell-environment-variable-completion):
18077 * pcomplete.el (pcomplete-completions-at-point):
18078 * comint.el (comint--complete-file-name-data): Use :exit-function
18079 instead of completion-table-with-terminator so it also works for
18080 choose-completion.
18081
e44e373d
SM
180822011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18083
4f91a816
SM
18084 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18085
782fc819
SM
18086 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18087 (bug#8710).
18088
e44e373d
SM
18089 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18090
381987c3
KM
180912011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18092
18093 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18094 customization variable and implement: If non-nil, auto-fill will
18095 be inhibited while on topic's header line.
18096
b776bc70
VB
180972011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18098
18099 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18100 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18101 always have a solution in grid size = 5 cases.
18102 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18103 (5x5-solver-output, 5x5-log-buffer): New vars.
18104 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18105 Make these variables buffer local to achieve 5x5 multi-session-ness.
18106 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18107 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18108 (5x5-solve-suggest): New funs.
18109 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18110 randomize a grid so that we ensure that there is always a solution.
18111 (5x5-make-random-grid): Allow other movement than flipping.
18112
7de88b6e
KR
181132011-05-23 Kevin Ryde <user42@zip.com.au>
18114
18115 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18116 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18117 advice and passes PREDICATE.
18118
b1ef1257
SM
181192011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18120
bbca48fe
SM
18121 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18122 byte-compile-lambda if it's actually a lambda.
18123
b1ef1257
SM
18124 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18125 Fix function quoting. Use backquote better.
18126
92a9cc65
YS
181272011-05-22 Yuanle Song <sylecn@gmail.com>
18128
18129 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18130 matching (Bug#8516).
18131
f0fb8059
JA
181322011-01-22 Jari Aalto <jari.aalto@cante.net>
18133
18134 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18135 different face (Bug#8178).
18136
d5b44c93
CY
181372011-05-22 Chong Yidong <cyd@stupidchicken.com>
18138
18139 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18140 defface (Bug#8144).
18141
79106a44
SM
181422011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18143
9c848d8a
SM
18144 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18145 funcall as well (bug#8712). Warn when performing those conversions.
18146 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18147
79106a44
SM
18148 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18149
88dfa756
GM
181502011-05-22 Glenn Morris <rgm@gnu.org>
18151
18152 * files.el (hack-local-variables-prop-line): Small simplifications.
18153 (hack-local-variables, hack-local-variables-prop-line):
18154 If MODE-ONLY, return the mode, rather than just `t'.
18155
b7cf2c79
SM
181562011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18157
18158 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18159
3f1a8558
GM
181602011-05-21 Glenn Morris <rgm@gnu.org>
18161
7e4ccca3
GM
18162 * files.el (hack-local-variables-prop-line, hack-local-variables):
18163 If only interested in the mode, don't bother doing the other stuff.
18164
637d46ca
GM
18165 * image-mode.el (image-after-revert-hook):
18166 Redraw all frames on which the image is visible. (Bug#8567)
18167
973d955b
GM
18168 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18169
3f1a8558
GM
18170 * wid-edit.el (widget-checklist-match-inline):
18171 Fix 2011-04-19 change. (Bug#8649)
18172
96479927
SM
181732011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18174
1dcf791f
SM
18175 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18176 Also allow singlespace after single-letter capitals followed by a dot.
18177
96479927
SM
18178 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18179 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18180
35fd0881
N
181812011-05-20 Nix <nix@esperi.org.uk>
18182
18183 * files.el (basic-save-buffer-2):
18184 Fix handling of break-hardlink-on-save with non-existent files.
18185
82745640
DD
181862011-05-19 Deniz Dogan <deniz@dogan.se>
18187
18188 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18189 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18190
4a720484
GM
181912011-05-19 Glenn Morris <rgm@gnu.org>
18192
d1f21341
GM
18193 * progmodes/f90.el (f90-type-def-re):
18194 Handle "type, bind(c)". (Bug#8691)
18195
4a720484
GM
18196 * emacs-lisp/autoload.el (batch-update-autoloads):
18197 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18198
2fb0a219
MA
181992011-05-18 Michael Albinus <michael.albinus@gmx.de>
18200
18201 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18202 property for the correct connection in case of multihops.
18203
e565dd37
GM
182042011-05-18 Glenn Morris <rgm@gnu.org>
18205
c2571358 18206 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18207 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18208
e565dd37
GM
18209 Rationalize calendar handling of day and month abbrev-arrays.
18210 * calendar/calendar.el (calendar-customized-p): New function.
18211 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18212 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18213 Add :set function.
18214 (calendar-abbrev-length, calendar-day-abbrev-array)
18215 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18216 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18217 Elements may no longer be nil.
18218 (calendar-day-name, calendar-month-name):
18219 Update for changed nature of abbrev arrays.
18220 * calendar/diary-lib.el (diary-name-pattern):
18221 Update for changed nature of abbrev arrays.
18222 (diary-mark-entries-1): Update calendar-make-alist calls.
18223 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18224 * calendar/cal-html.el (cal-html-day-abbrev-array):
18225 Simply inherit from calendar-day-abbrev-array.
18226
1d99a745
SM
182272011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18228
18229 * progmodes/grep.el (grep-mode): Disable default
18230 compilation-directory-matcher setting (bug#8684).
18231
7c1d9aa0
MA
182322011-05-17 Michael Albinus <michael.albinus@gmx.de>
18233
18234 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18235 instead of "head" and "tail". There were problems with SunOS 5.9,
18236 and it performs better.
18237
3952e9d8
GM
182382011-05-17 Glenn Morris <rgm@gnu.org>
18239
2dd12e7f
GM
18240 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18241
e4157b9c
GM
18242 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18243 Replace obsolete function.
18244
8e249bbd
GM
18245 * shell.el (pcomplete-parse-arguments-function): Declare.
18246
3952e9d8
GM
18247 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18248 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18249 (appt-check): Doc fixes.
18250 (appt-disp-window-function, appt-delete-window-function):
18251 Remove needless special case in custom :type.
18252 (appt-display-count): Default to 0, not nil.
18253 (appt-check): Reset appt-display-count to 0, not nil.
18254
c71a0d48 182552011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18256
c71a0d48
GM
18257 * progmodes/python.el (python-font-lock-keywords):
18258 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18259
31d55be9
SM
182602011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18261
18262 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18263
3bfacb2f
KR
182642011-05-16 Kevin Ryde <user42@zip.com.au>
18265
18266 * info-look.el (makefile-automake-mode): New setups, looking in
18267 automake manual, then makefile-mode.
18268 (makefile-mode): Remove automake manual, have it just in
18269 makefile-automake-mode since there's various things different or
18270 not relevant to plain make.
18271 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18272 believe a hypothetical automake-mode would go to makefile-mode,
18273 not the other way around.
18274
c8e83751
CY
182752011-05-15 Chong Yidong <cyd@stupidchicken.com>
18276
5e9e35cd
CY
18277 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18278 hunk-end tags (Bug#8672).
18279
c8e83751
CY
18280 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18281 vc-annotate-show-diff-revision-at-line (Bug#8671).
18282
50b23e5a
GM
182832011-05-14 Glenn Morris <rgm@gnu.org>
18284
7210a739
GM
18285 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18286 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18287 (change-log-font-lock-keywords): Also handle multiple author lines
18288 with leading tabs. (Bug#8644)
7210a739 18289
4691905a
GM
18290 * calendar/appt.el (appt-check): Rename some local variables.
18291 Some simplification/reordering.
18292
50b23e5a
GM
18293 * mail/feedmail.el (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)
18297 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18298 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18299 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18300 (feedmail-binmail-gnulinuxish-template):
18301 Rename from feedmail-binmail-linuxish-template.
18302 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18303 Use insert-buffer-substring.
18304
215cda7c
BC
183052011-05-14 Bill Carpenter <bill@carpenter.org>
18306
18307 * mail/feedmail.el (feedmail-patch-level): Increase.
18308 (feedmail-debug): New custom group.
18309 (feedmail-confirm-outgoing-timeout)
18310 (feedmail-sendmail-f-doesnt-sell-me-out)
18311 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18312 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18313 (feedmail-sender-line, feedmail-from-line)
18314 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18315 (feedmail-spray-this-address)
215cda7c
BC
18316 (feedmail-spray-address-fiddle-plex-list)
18317 (feedmail-queue-use-send-time-for-date)
18318 (feedmail-queue-use-send-time-for-message-id)
18319 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18320 (feedmail-buffer-eating-function):
18321 Doc fixes.
18322 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18323 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18324 (feedmail-message-action-scroll-down): New functions.
18325 (feedmail-queue-directory, feedmail-queue-draft-directory):
18326 Use expand-file-name.
18327 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18328 Remove C-v help entry.
18329 (feedmail-queue-buffer-file-name): New variable.
18330 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18331 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18332 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18333 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18334 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18335 (feedmail-message-action-toggle-spray)
18336 (feedmail-run-the-queue-no-prompts)
18337 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18338 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18339 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18340 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18341 (feedmail-envelope-deducer, feedmail-fiddle-from)
18342 (feedmail-fiddle-sender, feedmail-default-date-generator)
18343 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18344 (feedmail-fiddle-spray-address)
18345 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18346 (feedmail-fiddle-list-of-fiddle-plexes)
18347 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18348 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18349 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18350 Change default. Doc fix.
18351 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18352 (feedmail-binmail-linuxish-template): New constant.
18353 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18354 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18355 (feedmail-send-it): Add debug call.
18356 Use feedmail-queue-buffer-file-name, and
18357 feedmail-send-it-immediately-wrapper.
18358 (feedmail-message-action-send): Add debug call.
18359 Use feedmail-send-it-immediately-wrapper.
18360 (feedmail-queue-express-to-queue): Add debug call.
18361 Run feedmail-queue-express-hook.
18362 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18363 (feedmail-message-action-help-blat):
18364 Rename from feedmail-queue-send-edit-prompt-help-first.
18365 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18366 Check line-endings. Handle errors better.
18367 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18368 Doc fix. Add debug call.
18369 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18370 Use feedmail-queue-send-edit-prompt-inner.
18371 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18372 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18373 from feedmail-queue-send-edit-prompt.
18374 (feedmail-queue-send-edit-prompt-help)
18375 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18376 (feedmail-tidy-up-slug): Add debug call.
18377 Respect feedmail-queue-slug-suspect-regexp.
18378 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18379 (feedmail-dump-message-to-queue): Add debug call.
18380 Expand queue-directory.
18381 (feedmail-dump-message-to-queue): Change message slightly.
18382 Use feedmail-say-chatter.
18383 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18384 (feedmail-send-it-immediately-wrapper): New function.
18385 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18386 Insert empty string rather than newline. Handle full-frame case.
18387 Use catch/throw. Use feedmail-say-chatter.
18388 (feedmail-fiddle-from): Try mail-host-address.
18389 (feedmail-default-message-id-generator): Doc fix.
18390 Bind system-time-locale. Handle missing end.
18391 (feedmail-fiddle-x-mailer): Add debug call.
18392 Handle feedmail-x-mailer-line being nil.
18393 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18394 Add debug call. Use buffer-substring-no-properties.
18395 (feedmail-say-debug, feedmail-say-chatter): New functions.
18396 (feedmail-find-eoh): Give an explicit error.
18397
42c7e61e
UJ
183982011-05-13 Ulf Jasper <ulf.jasper@web.de>
18399
c2571358 18400 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18401 family from helvetica to sans.
c2571358 18402 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18403 etc/images/newsticker.
18404
c2571358 18405 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18406 family from helvetica to sans.
18407
18408 * net/newst-plainview.el (newsticker-new-item-face)
18409 (newsticker-old-item-face, newsticker-immortal-item-face)
18410 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18411 (newsticker-statistics-face): Change default family from
42c7e61e 18412 helvetica to sans.
c2571358 18413 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18414 etc/images/newsticker.
18415
5d3385a0
JB
18416 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18417 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18418 auto-marking.
18419
8497a297
DV
184202011-05-13 Didier Verna <didier@xemacs.org>
18421
18422 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18423 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18424 TODO entries.
8497a297
DV
18425 (lisp-lambda-list-keyword-parameter-indentation)
18426 (lisp-lambda-list-keyword-parameter-alignment)
18427 (lisp-lambda-list-keyword-alignment): New customizable user options.
18428 (lisp-indent-defun-method): Improve docstring.
18429 (extended-loop-p): Fix comment.
18430 (lisp-indent-lambda-list-keywords-regexp): New variable.
18431 (lisp-indent-lambda-list): New function.
18432 (lisp-indent-259): Use it.
18433 (lisp-indent-defmethod): Support for more than one
18434 method qualifier and properly indent methods lambda-lists.
18435 (defgeneric): Provide a missing common-lisp-indent-function property.
18436
f278f87f
SM
184372011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18438
18439 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18440 bounds for the empty string (bug#8667).
18441
5233edd7
GM
184422011-05-13 Glenn Morris <rgm@gnu.org>
18443
5237a44f
GM
18444 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18445
8340026c 18446 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18447 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18448
5233edd7 18449 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18450 (appt-time-msg-list): Doc fix.
a5464014 18451 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18452
92d10796
AS
184532011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18454
18455 * progmodes/ld-script.el (ld-script-keywords)
18456 (ld-script-builtins): Update keywords list.
18457
914a0ae1
SM
184582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18459
c89be45f
SM
18460 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18461
914a0ae1
SM
18462 * shell.el (shell-completion-vars): New function.
18463 (shell-mode):
18464 * simple.el (read-shell-command): Use it.
18465 (blink-matching-open): No need for " [...]" in minibuffer-message.
18466
98dc3df3
GM
184672011-05-12 Glenn Morris <rgm@gnu.org>
18468
18469 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18470 (appt-check): Simplify.
18471
d2fc7e3d 184722011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18473
4d61f28d 18474 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18475 literal "/dev/null".
18476
d2fc7e3d 184772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18478
18479 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18480 Fix typo.
18481
d2fc7e3d 184822011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18483
3f254caa
SM
18484 * progmodes/which-func.el (which-function):
18485 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18486 which might not be defined (Bug#8260).
18487
d45885f7
GM
184882011-05-12 Glenn Morris <rgm@gnu.org>
18489
18490 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18491 Let byte-compile-initial-macro-environment always take precedence.
18492
488086f4
SM
184932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18494
18495 * net/rcirc.el: Add support for SSL/TLS connections.
18496 (rcirc-server-alist): New field `encryption'.
18497 (rcirc): Check `encryption' settings.
18498 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18499 Merge make-local-variable into `set'.
18500 (rcirc--connection-open-p): New function.
18501 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18502 the process is not a network process (e.g. running gnutls-cli).
18503 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18504 Make rcirc-(en|de)code-coding-system local here.
18505 (rcirc-mode): Merge make-local-variable into `set'.
18506 (rcirc-parent-buffer): Make permanent buffer-local.
18507 (rcirc-multiline-minor-mode): Don't do it here.
18508 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18509 there's no server buffer.
18510
7d3b9d44
GM
185112011-05-11 Glenn Morris <rgm@gnu.org>
18512
f64049c6
GM
18513 * newcomment.el (comment-kill): Prefix "unused" local.
18514
93c9df73
GM
18515 * term/w32console.el (get-screen-color): Declare.
18516
7d3b9d44
GM
18517 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18518 Handle symbol elements of byte-compile-initial-macro-environment.
18519
9e2dd53f
LL
185202011-05-10 Leo Liu <sdl.web@gmail.com>
18521
488086f4
SM
18522 * bookmark.el (bookmark-bmenu-mode-map):
18523 Bind bookmark-bmenu-search to `/'.
8b340240 18524
9e2dd53f 18525 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18526 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18527 (Footnote-unicode): New function.
18528 (footnote-style-alist): Add unicode style to the list.
18529 (footnote-style): Doc fix.
9e2dd53f 18530
79b70037
GM
185312011-05-10 Jim Meyering <meyering@redhat.com>
18532
18533 Fix doubled-word typos.
18534 * international/quail.el (quail-insert-kbd-layout): and and -> and
18535 * kermit.el: and and -> and
18536 * net/ldap.el (ldap-search-internal): to to -> to
18537 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18538 * progmodes/js.el (js-mode): and and -> and
18539 * textmodes/artist.el (artist-move-to-xy): at at -> at
18540 (artist-draw-region-trim-line-endings): if if -> if
18541 And Safetyc -> Safety.
18542 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18543
b8f82dc1 185442011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18545 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18546
18547 * files.el (hack-one-local-variable-eval-safep):
18548 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18549
4f99f44b
GM
185502011-05-10 Glenn Morris <rgm@gnu.org>
18551
18552 * calendar/diary-lib.el (diary-list-entries-hook)
18553 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18554 (diary-nongregorian-marking-hook, diary-list-entries)
18555 (diary-include-other-diary-files, diary-mark-entries)
18556 (diary-mark-included-diary-files): Doc fixes.
18557
84f29e6b
JB
185582011-05-09 Juanma Barranquero <lekktu@gmail.com>
18559
18560 * misc.el: Require tabulated-list.el during compilation.
18561
9bedd73a
CY
185622011-05-09 Chong Yidong <cyd@stupidchicken.com>
18563
488086f4
SM
18564 * progmodes/compile.el (compilation-start):
18565 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18566 (compilation-filter-hook): Doc fix.
18567
797c735c
DD
185682011-05-09 Deniz Dogan <deniz@dogan.se>
18569
18570 * wdired.el: Remove outdated installation comment. Fix usage
18571 comment.
18572
5f4b1dfe
JB
185732011-05-09 Juanma Barranquero <lekktu@gmail.com>
18574
18575 * misc.el: Implement new command `list-dynamic-libraries'.
18576 (list-dynamic-libraries--loaded-only-p): New variable.
18577 (list-dynamic-libraries--refresh): New function.
18578 (list-dynamic-libraries): New command.
18579
4c44026c
CY
185802011-05-09 Chong Yidong <cyd@stupidchicken.com>
18581
488086f4
SM
18582 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18583 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18584 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18585 higher priority to avoid clobbering by gnu.
18586
027f966d
CY
185872011-05-08 Chong Yidong <cyd@stupidchicken.com>
18588
18589 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18590 if the face has existing theme settings (Bug#8454).
18591
085f5d7d
CY
185922011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18593
488086f4
SM
18594 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18595 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18596
2a86a00c
RS
18597 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18598 special file names `.' and `..' (Bug#8259).
18599
d9c54a06
CY
186002011-05-08 Chong Yidong <cyd@stupidchicken.com>
18601
488086f4
SM
18602 * progmodes/grep.el (grep-mode-font-lock-keywords):
18603 Remove buffer-changing entries.
d9c54a06
CY
18604 (grep-filter): New function.
18605 (grep-mode): Add it to compilation-filter-hook.
18606
18607 * progmodes/compile.el (compilation-filter-hook)
18608 (compilation-filter-start): New defvars.
18609 (compilation-filter): Call compilation-filter-hook prior to
18610 updating the process mark.
18611
c4662635
SM
186122011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18613
18614 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18615
b0512a1d
EZ
186162011-05-07 Eli Zaretskii <eliz@gnu.org>
18617
605c9376
EZ
18618 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18619 mailclient-send-it even if window-system is nil. (Bug#8595)
18620
c4662635
SM
18621 * term/w32console.el (terminal-init-w32console):
18622 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18623 background-mode. (Bug#8597)
18624
d1dc2cc2
SM
186252011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18626
18627 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18628 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18629 New functions.
18630 (defgeneric, eieio--defmethod): Use them.
18631 (eieio-defgeneric): Remove.
18632 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18633
915d1300
GM
186342011-05-07 Glenn Morris <rgm@gnu.org>
18635
a3961c3e
GM
18636 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18637 Use let rather than let*.
18638 (timeclock-find-discrep): Remove unused local.
18639
314347b9
GM
18640 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18641
915d1300
GM
18642 * calendar/appt.el (appt-time-msg-list): Doc fix.
18643
275b59b0
NF
186442011-05-06 Noah Friedman <friedman@splode.com>
18645
18646 * apropos.el (apropos-print-doc): Only use
18647 emacs-lisp-docstring-fill-column when it is bound to an integer,
18648 per that variable's documentation.
18649
6c19f744
SM
186502011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18651
18652 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18653 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18654
60f884b2
GM
186552011-05-06 Glenn Morris <rgm@gnu.org>
18656
5006e634
GM
18657 * calendar/appt.el (appt-message-warning-time): Doc fix.
18658 (appt-warning-time-regexp): New option.
18659 (appt-make-list): Respect appt-message-warning-time.
18660
548d0a63
GM
18661 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18662 New options.
18663 (diary-add-to-list): Strip comments from the displayed string.
18664 (diary-mode): Set comment-start and comment-end.
18665
60f884b2
GM
18666 * vc/diff-mode.el (smerge-refine-subst): Declare.
18667 (diff-refine-hunk): Don't require smerge-mode when compiling.
18668
989681bb
JB
186692011-05-06 Juanma Barranquero <lekktu@gmail.com>
18670
18671 * simple.el (list-processes): Return nil as the docstring says.
18672
a6bc05e1
MA
186732011-05-05 Michael Albinus <michael.albinus@gmx.de>
18674
18675 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18676 to "".
18677 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18678 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18679 determining of binary transfer. (Bug#7383)
18680
23c22e9a
MA
186812011-05-05 Michael Albinus <michael.albinus@gmx.de>
18682
c4662635
SM
18683 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18684 Fix port computation bug. (Bug#8618)
23c22e9a 18685
0bff894f
GM
186862011-05-05 Glenn Morris <rgm@gnu.org>
18687
b8296902
GM
18688 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18689
1f522ce8
GM
18690 * simple.el (shell-dynamic-complete-functions)
18691 (comint-dynamic-complete-functions): Declare.
18692
cf5bee67
GM
18693 * net/network-stream.el (gnutls-negotiate):
18694 * simple.el (tabulated-list-print): Fix declarations.
18695
18696 * progmodes/gud.el (syntax-symbol, syntax-point):
18697 Remove unnecessary and incorrect declarations.
18698
0bff894f 18699 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18700 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18701
9869b3ae
SM
187022011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18703
18704 Fix earlier half-done eieio-defmethod change (bug#8338).
18705 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18706 Streamline and change calling convention.
18707 (defmethod): Adjust accordingly and simplify.
18708 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18709 new eieio--defmethod.
18710 (slot-boundp): Minor CSE simplification.
18711
9c1d5ac5
MZ
187122011-05-05 Milan Zamazal <pdm@zamazal.org>
18713
18714 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18715 (glasses-make-readable): Use glasses-separate-capital-groups.
18716
455c834e
JB
187172011-05-05 Juanma Barranquero <lekktu@gmail.com>
18718
18719 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18720 (warning-series): Doc fix.
18721 (display-warning): Don't try to create the buffer if we just found it.
18722
9ed7c8cb
CY
187232011-05-04 Chong Yidong <cyd@stupidchicken.com>
18724
18725 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18726 (autoload-find-generated-file): New function.
18727 (generate-file-autoloads): Bind generated-autoload-file to
18728 buffer-file-name.
9869b3ae
SM
18729 (update-file-autoloads, update-directory-autoloads):
18730 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18731 output file (Bug#7989).
18732 (batch-update-autoloads): Doc fix.
18733
0898ca10
JB
187342011-05-04 Juanma Barranquero <lekktu@gmail.com>
18735
18736 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18737
31dfb76c
GM
187382011-05-04 Glenn Morris <rgm@gnu.org>
18739
f330b642
GM
18740 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18741 function, so it follows changes in calendar-date-style.
18742 (diary-fancy-date-matcher): New function.
18743 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18744 (diary-fancy-font-lock-fontify-region-function):
18745 Use diary-fancy-date-pattern as a function.
18746
31dfb76c
GM
18747 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18748 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18749
48e79d6a
TZ
187502011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18751
18752 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18753 instead of positional arguments. Allow :keylist and :crlfiles
18754 arguments.
18755 (open-gnutls-stream): Call it.
18756
18757 * net/network-stream.el (network-stream-open-starttls): Adjust to
18758 call `gnutls-negotiate' with :process and :hostname arguments.
18759
dd5a5ee0
SM
187602011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18761
ef80fc09
SM
18762 * minibuffer.el (completion--message): New function.
18763 (completion--do-completion, minibuffer-complete)
18764 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18765 (completion--do-completion): Don't ignore completion-auto-help when in
18766 icomplete-mode.
18767
dd5a5ee0
SM
18768 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18769 internal encoding (e.g. tibetan zero is not whitespace).
18770 (global-whitespace-mode): Prefer save-current-buffer.
18771 (whitespace-trailing-regexp): Remove useless save-match-data.
18772 (whitespace-empty-at-bob-regexp): Minor simplification.
18773
b7d22a83
CY
187742011-05-03 Chong Yidong <cyd@stupidchicken.com>
18775
18776 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18777
5192af46
AM
187782011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18779
18780 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18781 Use `concat' to create string for insertion.
5192af46 18782
5767d190
SM
187832011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18784
18785 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18786 Avoid open-line which runs post-self-insert-hook.
18787 (bibtex-fill-entry): Remove unused `end' var.
18788
bf242939
AM
187892011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18790
5767d190
SM
18791 * textmodes/ispell.el (ispell-add-per-file-word-list):
18792 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18793
25666126
LL
187942011-05-03 Leo Liu <sdl.web@gmail.com>
18795
18796 * isearch.el (isearch-yank-pop): New command.
5767d190 18797 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18798 (isearch-forward): Mention it.
18799
52d3c2d0
SM
188002011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18801
1bcace58
SM
18802 * simple.el (minibuffer-complete-shell-command): Remove.
18803 (minibuffer-local-shell-command-map): Use completion-at-point.
18804 (read-shell-command): Setup completion vars here instead.
18805 (read-expression-map): Bind TAB to symbol completion.
18806
52d3c2d0
SM
18807 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18808 error directly rather via storing it into `results'.
18809
35813471
LL
188102011-05-02 Leo Liu <sdl.web@gmail.com>
18811
18812 * vc/diff.el: Fix description.
18813
e793a940
LMI
188142011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18815
18816 * server.el (server-eval-at): New function.
18817
8de66e05
LMI
188182011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18819
18820 * net/network-stream.el (open-network-stream): Take a :nowait
18821 parameter and pass it on to `make-network-process'.
18822 (network-stream-open-plain): Ditto.
18823
dcb79f20
AS
188242011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18825
18826 * faces.el (face-spec-set-match-display): Don't match toolkit
18827 options on terminal frames.
18828
14a7fbd8
SM
188292011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18830
7eabc1be
SM
18831 * progmodes/pascal.el: Use lexical binding.
18832 (pascal-mode-map): Remove author preferences.
18833
14a7fbd8
SM
18834 * pcomplete.el (pcomplete-std-complete): Don't abuse
18835 completion-at-point.
18836
50f84510
JB
188372011-04-28 Juanma Barranquero <lekktu@gmail.com>
18838
6e087a44
JB
18839 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18840 removing code that has been dead since 1991 or so.
18841
50f84510
JB
18842 * startup.el (command-line): When warning about "_emacs", use a
18843 delayed warning to allow the user to filter it out.
18844
0ba690bd
DD
188452011-04-28 Deniz Dogan <deniz@dogan.se>
18846
18847 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18848 user has not joined.
18849
08abfaad
SM
188502011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18851
18852 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18853 aren't any completions at point.
18854
638f053a
JB
188552011-04-28 Juanma Barranquero <lekktu@gmail.com>
18856
18857 * subr.el (display-delayed-warnings): New function.
18858 (delayed-warnings-hook): New variable.
18859
8fff8daa
SM
188602011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18861
08abfaad
SM
18862 * minibuffer.el (completion-at-point, completion-help-at-point):
18863 Don't presume that a given completion-at-point-function will always
18864 use the same calling convention.
18865
8fff8daa
SM
18866 * pcomplete.el (pcomplete-completions-at-point):
18867 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18868 pcomplete-seen is non-nil.
18869 (pcomplete-comint-setup): Also recognize the new comint/shell
18870 completion functions.
18871 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18872 pcomplete-seen is non-nil.
18873
841a1577 188742011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18875
841a1577 18876 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18877 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18878 the first character in the entry. This allows for code to add its
211ec907
UJ
18879 own uid to the entry.
18880 (icalendar--convert-float-to-ical): Add export of
18881 `diary-float'-entries save for those with the optional DAY
18882 argument.
18883
2a782793
DC
188842011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18885
18886 * subr.el (shell-quote-argument): Use alternate escaping strategy
18887 when we spot a variable reference in a string.
18888
0438ce91
DC
188892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18890
18891 * cus-start.el (all): Define customization for debug-on-event.
18892
841a1577 188932011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18894
18895 * subr.el (shell-quote-argument): Escape correctly under Windows.
18896
d090ed6c
SM
188972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18898
18899 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18900
bfd31217
MA
189012011-04-25 Michael Albinus <michael.albinus@gmx.de>
18902
d090ed6c
SM
18903 * net/tramp.el (tramp-process-actions): Add POS argument.
18904 Delete region between POS and (pos).
bfd31217 18905
d090ed6c
SM
18906 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18907 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18908 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18909
18910 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18911 position in `tramp-process-actions' call.
18912
18913 * net/trampver.el: Update release number.
18914
e92f3bd3
SM
189152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18916
850256b5
SM
18917 * custom.el (defcustom): Obey lexical-binding.
18918
e92f3bd3
SM
18919 Fix octave-inf completion problems reported by Alexander Klimov.
18920 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18921 Inherit from octave-mode-syntax-table.
18922 (inferior-octave-mode): Set info-lookup-mode.
18923 (inferior-octave-completion-at-point): New function.
18924 (inferior-octave-complete): Use it and completion-in-region.
18925 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18926 comint-filename-completion.
18927 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18928 symbol elements which shouldn't be word elements.
18929 (octave-font-lock-keywords, octave-beginning-of-defun)
18930 (octave-function-header-regexp): Adjust regexps accordingly.
18931 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18932
cd22b309
JB
189332011-04-25 Juanma Barranquero <lekktu@gmail.com>
18934
18935 * net/gnutls.el (gnutls-errorp): Declare before first use.
18936
8b492194
TZ
189372011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18938
18939 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18940 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18941 default trustfile exists before going to use it. Add missing
5a5fa834 18942 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18943 Reported by Claudio Bley <claudio.bley@gmail.com>.
18944 (open-gnutls-stream): Add usage example.
18945
18946 * net/network-stream.el (network-stream-open-starttls): Give host
18947 parameter to `gnutls-negotiate'.
18948 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18949 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18950
841a1577 189512011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18952
cd22b309
JB
18953 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18954 Use correct match group (bug#8438).
05842630 18955
3ba7869c
CY
189562011-04-24 Chong Yidong <cyd@stupidchicken.com>
18957
512e3ae1
CY
18958 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18959 (package-menu--generate): New arg specifying packages to show.
18960 (package-menu-refresh, package-menu-execute, list-packages):
18961 Callers changed.
18962 (package-show-package-list): New function, replacing deleted
18963 package--list-packages (renamed because it is non-internal).
18964
18965 * finder.el (finder-list-matches): Use package-show-package-list
18966 instead of deleted package--list-packages.
18967
e92f3bd3
SM
18968 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18969 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18970 (vc-annotate-mode-map): Bind it to RET.
18971
7031be6d
UR
189722011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18973
18974 * progmodes/etags.el (next-file): Don't use set-buffer to change
18975 buffers (Bug#8478).
18976
4ef177aa
CY
189772011-04-24 Chong Yidong <cyd@stupidchicken.com>
18978
c8d173eb
CY
18979 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18980
4ef177aa
CY
18981 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18982 (apropos-accumulator): Doc fix.
18983 (apropos-function, apropos-macro, apropos-command)
18984 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18985 (apropos-plist): Add face property.
18986 (apropos-symbols-internal): Fix indentation.
18987 (apropos-print): Simplify help, and recognize apropos-multi-type.
18988 (apropos-print-doc): Use button-type-get to extract the button's
18989 face property. Fill docstring (Bug#8352).
18990
4ffd0d6b 189912011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18992
18993 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18994
c6c32125 18995 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18996 (mpuz-mode-map): Use mapc.
c6c32125
JB
18997 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18998 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18999 Fix typos in docstrings.
19000
58d468b4
JB
19001 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19002 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19003
6470c3c6
JB
19004 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19005
4ffd0d6b 190062011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19007
19008 * minibuffer.el (completion--do-completion): Avoid the "Next char
19009 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19010
3ad8bad0
CY
19011 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19012 mouse-2 into unread-command-events, it is interpreted correctly.
19013
71d73c9c 19014 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19015 (image-toggle-display): Doc fix.
71d73c9c 19016
841a1577 190172011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19018
4ffd0d6b
GM
19019 * textmodes/page.el (what-page): Use line-number-at-pos to
19020 calculate line number (Bug#6825).
6e1dbaa9 19021
c2fb1b60
JB
190222011-04-22 Juanma Barranquero <lekktu@gmail.com>
19023
19024 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19025 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19026 Pass argument NO-DEFAULT to `find-tag-interactive'.
19027
e02f48d7
JB
190282011-04-22 Juanma Barranquero <lekktu@gmail.com>
19029
19030 Lexical-binding cleanup.
19031
19032 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19033 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19034 * progmodes/ada-prj.el (ada-prj-initialize-values)
19035 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19036 (ada-prj-show-value):
19037 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19038 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19039 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19040 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19041 * progmodes/bug-reference.el (bug-reference-push-button):
19042 * progmodes/fortran.el (fortran-line-length):
19043 * progmodes/glasses.el (glasses-change):
19044 * progmodes/octave-mod.el (octave-fill-paragraph):
19045 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19046 (python-pdbtrack-grub-for-buffer, python-sentinel):
19047 * progmodes/sql.el (sql-save-connection):
19048 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19049 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19050 Mark unused parameters.
19051
19052 * progmodes/compile.el (compilation--flush-directory-cache)
19053 (compilation--flush-parse, compile-internal): Mark unused parameters.
19054 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19055 (compilation-next-error-function): Remove unused variable `timestamp'.
19056
19057 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19058 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19059
19060 * progmodes/dcl-mode.el (dcl-end-of-command):
19061 Remove unused variable `start'.
19062 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19063 (dcl-option-value-basic, dcl-option-value-offset)
19064 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19065 Mark unused parameters.
19066 (dcl-save-local-variable): Remove unused variable `val'.
19067 (mode): Declare.
19068
19069 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19070 Mark unused parameters.
19071 (delphi-ignore-changes): Move before first use.
19072 (delphi-charset-token-at): Remove unused variable `start'.
19073 (delphi-else-start): Remove unused variable `if-count'.
19074 (delphi-comment-block-start, delphi-comment-block-end):
19075 Remove unused variable `kind'.
19076 (delphi-indent-line): Remove unused variable `new-point'.
19077
19078 * progmodes/ebrowse.el (ebrowse-files-list)
19079 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19080 Mark unused parameters. Don't quote `lambda'.
19081 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19082 Don't quote `lambda'.
19083 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19084 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19085 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19086 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19087 Use `ignore-errors'.
19088 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19089 (ebrowse-view/find-file-and-search-pattern)
19090 (ebrowse-view/find-member-declaration/definition):
19091 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19092 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19093 Rename parameter PREFIX-ARG to PREFIX.
19094 (ebrowse-tags-read-name): Remove unused variables `start' and
19095 `member-info'.
19096 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19097 to `tags-file'.
19098
19099 * progmodes/etags.el (local-find-tag-hook): Declare.
19100 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19101 Mark unused parameters.
19102
19103 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19104 (executable-interpret): Mark unused parameter.
19105
19106 * progmodes/flymake.el (flymake-process-sentinel)
19107 (flymake-after-change-function)
19108 (flymake-create-temp-with-folder-structure)
19109 (flymake-get-include-dirs-dot): Mark unused parameters.
19110 (flymake-safe-delete-directory): Remove unused variable `err'.
19111
19112 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19113 (speedbar-timer-fn, speedbar-line-text)
19114 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19115 (speedbar-center-buffer-smartly): Declare functions.
19116 (gdb-find-watch-expression): Remove unused variable `array'.
19117 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19118 (gdb-starting): Mark unused parameters.
19119 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19120 (gdb-table-string): Remove unused variable `res'.
19121 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19122 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19123 (gdb-display-buffer): Remove unused variable `cur-size'.
19124
19125 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19126 allow lexical-binding compilation.
19127 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19128 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19129 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19130 Mark unused parameters.
19131 (gud-gdb-marker-filter): Remove unused variable `match'.
19132 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19133 lambda expressions and funcall them, instead of using `fset'.
19134
19135 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19136 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19137
19138 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19139 variable `header-beg'; use `let'.
19140
19141 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19142 `restart', `last-sexp' and `at-do'.
19143
19144 * progmodes/js.el (js--debug): Mark unused parameter.
19145 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19146 (js--splice-into-items): Remove unused variable `item'.
19147 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19148
19149 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19150 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19151 (makefile-complete): Remove unused variable `try'.
19152 (makefile-fill-paragraph, makefile-match-function-end):
19153 Mark unused parameters.
19154
19155 * progmodes/octave-inf.el (inferior-octave-complete):
19156 Remove unused variable `proc'.
19157 (inferior-octave-output-digest): Mark unused parameter.
19158
19159 * progmodes/perl-mode.el (perl-calculate-indent):
19160 Remove unused variable `err'.
19161
19162 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19163 (prolog-indent-line): Mark unused parameters.
19164 (prolog-indent-line): Remove unused variable `beg'.
19165
19166 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19167 (reporter-dont-compact-list): Declare.
19168
19169 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19170 Remove unused variable `char'.
19171 (sh-debug): Mark unused parameter.
19172 (sh-get-indent-info): Remove unused variable `start'.
19173 (sh-calculate-indent): Remove unused variable `var'.
19174
19175 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19176 (simula-electric-keyword): Remove unused variable `null'.
19177 (simula-search-backward, simula-search-forward): Remove unused
19178 variables `begin' and `end'.
19179
19180 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19181 Remove unused variable `pos'.
19182 (vera-electric-tab, vera-comment-uncomment-region):
19183 Mark unused parameters.
19184 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19185
7ede3b65
CY
191862011-04-22 Chong Yidong <cyd@stupidchicken.com>
19187
19188 * emacs-lisp/package.el (package--builtins, package-alist)
19189 (package-load-descriptor, package-built-in-p, package-activate)
19190 (define-package, package-installed-p)
19191 (package-compute-transaction, package-buffer-info)
19192 (package--push): Doc fix. Distinguish more clearly between
19193 version strings and version lists.
19194
121656e9
JB
191952011-04-21 Juanma Barranquero <lekktu@gmail.com>
19196
19197 Lexical-binding cleanup.
19198
19199 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19200 (5x5-make-mutate-best):
19201 * play/fortune.el (fortune-in-buffer):
19202 * play/gomoku.el (gomoku-init-display):
19203 * play/solitaire.el (solitaire, solitaire-do-check):
19204 * play/tetris.el (tetris-default-update-speed-function):
19205 Mark unused parameters.
19206
19207 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19208 (bubbles--shift): Remove unused variable `char-org'.
19209 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19210 (bubbles--show-images): Remove unused variable `char'.
19211
19212 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19213 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19214 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19215 (decipher-analyze-buffer): Use ?\s.
19216 (decipher-make-checkpoint): Remove unused variable `mapping'.
19217
19218 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19219
19220 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19221 Remove unused variable `result'; use `let'.
19222
19223 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19224 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19225 (gametree-children-shown-p, gametree-compute-reduced-score):
19226 Use `ignore-errors'.
19227
19228 * play/handwrite.el (ps-lpr-switches): Declare.
19229 (handwrite): Remove unused variables `pmin' and `lastp'.
19230
19231 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19232
19233 * play/landmark.el (landmark-init-display)
19234 (landmark-update-naught-weights): Mark unused parameters.
19235 (landmark-y): Remove unused variable `noise'. Simplify.
19236 (landmark-human-plays): Remove unused variable `score'.
19237
19238 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19239 (mpuz-try-proposal): Remove unused variable `game'.
19240
19241 * play/zone.el (life-patterns): Declare.
19242
80f499c7
JB
192432011-04-20 Juanma Barranquero <lekktu@gmail.com>
19244
19245 * vc/vc.el (ediff-vc-internal): Declare function.
19246
024ff170
SM
192472011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19248
c0a193ea
SM
19249 * shell.el: Use lexical-binding and std completion UI.
19250 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19251 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19252 comint-preoutput-filter-functions rather than on
19253 comint-output-filter-functions.
19254 (shell-command-completion, shell--command-completion-data)
19255 (shell-filename-completion, shell-environment-variable-completion)
19256 (shell-c-a-p-replace-by-expanded-directory): New functions.
19257 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19258 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19259 (shell-dynamic-complete-environment-variable): Use them.
19260 (shell-dynamic-complete-as-environment-variable)
19261 (shell-dynamic-complete-as-command): Remove.
19262 (shell-match-partial-variable): Match past point.
19263 * comint.el: Clean up use of completion-at-point-functions.
19264 (comint-completion-at-point): New function.
19265 (comint-mode): Use it completion-at-point-functions.
19266 (comint-dynamic-complete): Make it obsolete.
19267 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19268 (comint-c-a-p-replace-by-expanded-history): New function.
19269 (comint-dynamic-complete-functions)
19270 (comint-replace-by-expanded-history): Use it.
19271 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19272 termination strings. Try harder to avoid second try-completion.
19273 (completion-in-region-mode-map): Disable bindings that don't work yet.
19274
2dbaa080
SM
19275 * comint.el: Use lexical-binding. Require CL.
19276 (comint-dynamic-complete-functions): Use comint-filename-completion.
19277 (comint-completion-addsuffix): Tweak custom type.
19278 (comint-filename-completion, comint--common-suffix)
19279 (comint--common-quoted-suffix, comint--table-subvert)
19280 (comint--complete-file-name-data): New functions.
19281 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19282 (comint-dynamic-list-filename-completions): Use them.
19283 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19284
2dbaa080
SM
19285 * minibuffer.el (completion-in-region-mode):
19286 Keep completion-in-region-mode--predicate global.
19287 (completion-in-region--postch):
19288 Assume completion-in-region-mode--predicate is not null.
19289
c79a6f38
SM
19290 * progmodes/flymake.el (flymake-start-syntax-check-process):
19291 Obey `dir'. Simplify.
19292
024ff170
SM
19293 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19294 we're in VC after all.
19295
1c6c854e
CS
192962011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19297
19298 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19299 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19300 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19301
bed7f140
SM
193022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19303
332e62ab
SM
19304 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19305 add sanity check.
19306
bed7f140
SM
19307 * obsolete/erc-hecomplete.el: Make obsolete.
19308 * obsolete/: Standardize obsolescence info in the header.
19309
f195c582
GM
193102011-04-20 Glenn Morris <rgm@gnu.org>
19311
19312 * calendar/solar.el (solar-horizontal-coordinates):
19313 Use the longitude argument rather than `calendar-longitude'.
19314 (solar-date-next-longitude): Remove unused locals.
19315
cb79b8c0
VJL
193162011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19317
19318 * whitespace.el: New version 13.2.1.
19319
193202011-04-20 felix <EmacsWiki> (tiny change)
19321
d8e4b68b 19322 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19323 switching between major modes on a file.
19324
602ea69d
SM
193252011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19326
19327 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19328 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19329 multi-line comments as well.
19330
06b60517
JB
193312011-04-19 Juanma Barranquero <lekktu@gmail.com>
19332
19333 Lexical-binding cleanup.
19334
19335 * arc-mode.el (archive-mode-revert):
19336 * cmuscheme.el (scheme-interactively-start-process):
19337 * custom.el (custom-initialize-delay):
19338 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19339 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19340 * emacs-lock.el (emacs-lock-clear-sentinel):
19341 * ezimage.el (defezimage):
19342 * follow.el (follow-avoid-tail-recenter):
19343 * fringe.el (set-fringe-mode-1):
19344 * generic-x.el (bat-generic-mode-compile):
19345 * help-mode.el (help-info-variable, help-do-xref)
19346 (help-mode-revert-buffer):
19347 * help.el (view-emacs-todo):
19348 * iswitchb.el (iswitchb-completion-help):
19349 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19350 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19351 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19352 * locate.el (locate-update):
19353 * longlines.el (longlines-encode-region)
19354 (longlines-after-change-function):
19355 * outline.el (outline-isearch-open-invisible):
19356 * ps-def.el (declare-function, charset-dimension, char-width)
19357 (encode-char):
19358 * ps-mule.el (ps-mule-plot-string):
19359 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19360 (recentf-edit-list-select, recentf-edit-list-validate)
19361 (recentf-open-files-action):
19362 * rect.el (delete-whitespace-rectangle-line)
19363 (rectangle-number-line-callback):
19364 * register.el (window-configuration-to-register)
19365 (frame-configuration-to-register):
19366 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19367 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19368 (xselect-convert-to-targets, xselect-convert-to-delete)
19369 (xselect-convert-to-filename, xselect-convert-to-charpos)
19370 (xselect-convert-to-lineno, xselect-convert-to-colno)
19371 (xselect-convert-to-os, xselect-convert-to-host)
19372 (xselect-convert-to-user, xselect-convert-to-class)
19373 (xselect-convert-to-name, xselect-convert-to-integer)
19374 (xselect-convert-to-atom, xselect-convert-to-identity):
19375 * subr.el (declare, ignore, process-kill-without-query)
19376 (text-clone-maintain):
19377 * terminal.el (te-get-char, te-tic-sentinel):
19378 * tool-bar.el (tool-bar-make-keymap):
19379 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19380 * type-break.el (type-break-mode, type-break-noninteractive-query):
19381 * view.el (View-back-to-mark):
19382 * wid-browse.el (widget-browse-action, widget-browse-widget)
19383 (widget-browse-widgets, widget-browse-sexp):
19384 * widget.el (define-widget-keywords):
19385 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19386 Mark unused parameters.
19387
19388 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19389 (align-areas): Remove unused variable `look'.
19390 (align-region): Remove unused variables `real-end' and `pos-list'.
19391
19392 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19393
19394 * bindings.el (mode-line-modified, mode-line-remote):
19395 Mark unused parameters.
19396 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19397
19398 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19399 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19400
19401 * comint.el (comint-history-isearch-pop-state)
19402 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19403 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19404 (comint-substitute-in-file-name): Doc fix.
19405
19406 * completion.el (cmpl-statistics-block): Mark unused parameter.
19407 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19408 (save-completions-to-file, load-completions-from-file):
19409 Remove unused local variable `e'.
19410
19411 * composite.el (compose-chars): Remove unused variable `len'.
19412 (lgstring-insert-glyph): Remove unused variable `g'.
19413 (compose-glyph-string): Remove unused variables `ascent',
19414 `descent', `lbearing' and `rbearing'.
19415 (compose-glyph-string-relative): Remove unused variables
19416 `lbearing', `rbearing' and `wadjust'.
19417 (compose-gstring-for-graphic): Remove unused variables `header',
19418 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19419 (compose-gstring-for-terminal): Remove unused variables `header'
19420 and `nchars'. Use `let', not `let*'.
19421
19422 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19423 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19424 (Custom-buffer-done, custom-buffer-create-internal)
19425 (custom-browse-visibility-action, custom-browse-group-tag-action)
19426 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19427 (widget-magic-mouse-down-action, custom-toggle-parent)
19428 (custom-add-parent-links, custom-toggle-hide-variable)
19429 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19430 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19431 (custom-face-menu-create, custom-variable-menu-create, get)
19432 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19433 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19434 (customize-apropos): Remove unused variable `tests'.
19435 (custom-group-value-create): Remove unused variable `hidden-p'.
19436 (sort-fold-case): Declare.
19437
19438 * cus-theme.el (custom-reset-standard-faces-list)
19439 (custom-reset-standard-variables-list): Declare.
19440 (customize-create-theme, custom-theme-revert, custom-theme-write)
19441 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19442 Mark unused parameters.
19443
19444 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19445
19446 * delim-col.el (delimit-columns-max): Move defvar before first use.
19447
19448 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19449 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19450
19451 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19452 (auto-insert): Declare.
19453 (desktop-restore-file-buffer): Rename desktop-* parameters;
19454 mark unused ones.
19455 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19456 (desktop-buffer): Rename desktop-* parameters.
19457
19458 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19459 (dframe-reposition-frame-xemacs, dframe-help-echo)
19460 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19461 Mark unused parameters.
19462
19463 * dired-aux.el (backup-extract-version-start, overwrite-query)
19464 (overwrite-backup-query, rename-regexp-query)
19465 (rename-non-directory-query): Declare.
19466 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19467 (dired-add-entry): Remove unused variable `orig-file-name'.
19468 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19469 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19470 `dired-copy-preserve-time' directly.
19471 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19472 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19473
19474 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19475 (dired-virtual-revert, dired-make-relative-symlink):
19476 Mark unused parameters.
19477 (manual-program): Declare.
19478 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19479 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19480 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19481
19482 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19483
19484 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19485
19486 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19487 Declare.
19488
19489 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19490
19491 * electric.el (Electric-command-loop): Rename parameter
19492 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19493
19494 * expand.el (expand-in-literal): Remove unused variable `here'.
19495
19496 * facemenu.el (facemenu-add-new-color):
19497 Remove unused variable `docstring'.
19498
19499 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19500 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19501 (face-attr-construct): Mark unused parameter. Doc fix.
19502 (read-color): Remove unused variable `hex-string'.
19503
19504 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19505 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19506 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19507 (display-buffer-other-frame): Remove unused variable `old-window'.
19508 (kill-buffer-hook): Declare.
19509 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19510 Mark unused parameters.
19511 (after-find-file): Pass 1 to `auto-save-mode', not t.
19512
19513 * files-x.el (auto-insert): Declare.
19514 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19515
19516 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19517 variable `buf'. Mark unused parameter.
06b60517
JB
19518 (find-lisp-insert-directory): Mark unused parameter.
19519
19520 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19521 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19522 (format-common-tail): Remove, unused.
19523 (format-deannotate-region): Remove unused variable `loc'.
19524 (format-annotate-region): Remove unused variable `p'.
19525 (format-annotate-single-property-change): Remove unused variables
19526 `default' and `tail'.
19527
19528 * forms.el (read-file-filter): Declare.
19529 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19530
19531 * frame.el (frame-creation-function-alist): Mark unused parameter.
19532 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19533
19534 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19535 Remove unused parameters.
19536 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19537 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19538
19539 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19540 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19541 (hfy-prepare-tag-map): Mark unused parameters.
19542 (htmlfontify-buffer): Use `called-interactively-p'.
19543
19544 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19545 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19546 (ibuffer-do-occur): Mark unused parameters.
19547 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19548 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19549
19550 * ibuffer.el: Don't quote `lambda'.
19551 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19552 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19553 Mark unused parameters.
19554
19555 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19556 (ido-completing-read): Mark unused parameters.
19557 (ido-copy-current-word): Mark unused parameters;
19558 remove unused variable `name'.
19559 (ido-sort-merged-list): Remove unused parameter `dirs'.
19560
19561 * ielm.el (ielm-input-sender): Mark unused parameter.
19562 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19563 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19564 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19565 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19566 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19567
19568 * image-dired.el (image-dired-display-thumbs): Remove unused
19569 variables `curr-file' and `count'.
19570 (image-dired-remove-tag): Remove unused variable `start'.
19571 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19572 variable `curr-file'
19573 (image-dired-rotate-original): Remove unused variable `temp-file'.
19574 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19575 Remove unused variable `file'.
19576 (image-dired-gallery-generate): Remove unused variable `curr'.
19577 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19578
19579 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19580
19581 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19582
19583 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19584
19585 * isearch.el (minibuffer-history-symbol): Declare.
19586 (isearch-edit-string): Remove unused variable `err'.
19587 (isearch-message-prefix, isearch-message-suffix):
19588 Mark unused parameters.
19589
19590 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19591
19592 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19593
19594 * makesum.el (double-column): Remove unused variable `cnt'.
19595
19596 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19597 (ido-ignore-item-temp-list): Declare.
19598
19599 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19600 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19601 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19602 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19603 `mouse-col-delta'.
19604
19605 * mouse-sel.el (mouse-extend-internal):
19606 Remove unused variable `orig-window-frame'.
19607
19608 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19609 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19610 Move declarations before first use.
19611 (pcomplete-opt): Mark unused parameters; doc fix.
19612
19613 * proced.el (proced-revert): Mark unused parameter.
19614 (proced-send-signal): Remove unused variable `err'.
19615
19616 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19617 Rename parameter PREFIX-ARG to ARG.
19618 (ps-basic-plot-string, ps-basic-plot-whitespace):
19619 Mark unused parameters.
19620
19621 * replace.el (replace-count): Define.
19622 (occur-revert-function): Mark unused parameters.
19623 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19624 (isearch-case-fold-search, isearch-string): Declare.
19625 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19626 bind `case-fold-search'. Remove unused variables `beg' and `end',
19627 and simplify.
19628 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19629 COUNT and bind `replace-count'.
19630 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19631 to COUNT.
19632
19633 * savehist.el (print-readably, print-string-length): Declare.
19634
19635 * shadowfile.el (shadow-expand-cluster-in-file-name):
19636 Remove unused variable `cluster'.
19637 (shadow-copy-file): Remove unused variable `i'.
19638 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19639 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19640 (shadow-define-literal-group, shadow-define-regexp-group)
19641 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19642
19643 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19644 (shell): Use `called-interactively-p'.
19645 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19646
19647 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19648 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19649 (delete-backward-char): Remove unused variable `ocol'.
19650 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19651 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19652 (event-apply-hyper-modifier, event-apply-shift-modifier)
19653 (event-apply-control-modifier, event-apply-meta-modifier):
19654 Mark unused parameters.
19655 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19656 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19657
19658 * speedbar.el (speedbar-ignored-directory-expressions)
19659 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19660 (speedbar-find-file, speedbar-dir-follow)
19661 (speedbar-directory-buttons-follow, speedbar-tag-find)
19662 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19663 (speedbar-buffers-line-directory, speedbar-buffer-click):
19664 Mark unused parameters.
19665 (speedbar-tag-file): Remove unused variable `mode'.
19666 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19667
19668 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19669
19670 * talk.el (talk): Remove unused variable `display'.
19671
19672 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19673 (tar-write-region-annotate): Mark unused parameter.
19674
19675 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19676 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19677 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19678 warning by another.
19679
19680 * time-stamp.el (time-stamp-string-preprocess):
19681 Remove unused variable `require-padding'.
19682
19683 * tree-widget.el (widget-glyph-enable): Declare.
19684 (tree-widget-action): Mark unused parameter.
19685
19686 * w32-fns.el (x-get-selection): Mark unused parameter.
19687 (autoload-make-program, generated-autoload-file): Declare.
19688
19689 * wdired.el (wdired-revert): Mark unused parameters.
19690 (wdired-xcase-word): Remove unused variable `err'.
19691
19692 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19693 (whitespace-help-scroll): Remove unused variable `data-help'.
19694
19695 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19696 (widget-image-insert, widget-after-change, default)
19697 (widget-default-format-handler, widget-default-notify)
19698 (widget-default-prompt-value, widget-info-link-action)
19699 (widget-url-link-action, widget-function-link-action)
19700 (widget-variable-link-action, widget-file-link-action)
19701 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19702 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19703 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19704 (widget-insert-button-action, widget-delete-button-action, visibility)
19705 (widget-documentation-link-action, widget-documentation-string-action)
19706 (widget-const-prompt-value, widget-regexp-match, symbol)
19707 (widget-coding-system-prompt-value)
19708 (widget-key-sequence-value-to-external, sexp)
19709 (widget-sexp-value-to-internal, character, vector, cons)
19710 (widget-choice-prompt-value, widget-boolean-prompt-value)
19711 (widget-color--choose-action): Mark unused parameters.
19712 (widget-item-match-inline, widget-choice-match-inline)
19713 (widget-checklist-match, widget-checklist-match-inline)
19714 (widget-group-match): Rename parameter VALUES to VALS.
19715 (widget-field-value-set): Remove unused variable `size'.
19716 (widget-color-action): Remove unused variables `value' and `start'.
19717
19718 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19719 variable `dir'. Doc fix.
06b60517
JB
19720 (windmove-find-other-window): Don't pass it.
19721
19722 * window.el (count-windows): Mark unused parameter.
19723 (bw-adjust-window): Remove unused variable `err'.
19724
19725 * woman.el (woman-file-name): Remove unused variable `default'.
19726 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19727 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19728 (global-font-lock-mode): Declare.
19729 (woman-decode-region): Mark unused parameter.
19730 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19731
19732 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19733 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19734 (x-dnd-handle-moz-url): Remove unused variable `title'.
19735 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19736
19737 * xml.el (xml-parse-tag, xml-parse-attlist):
19738 Remove unused variable `pos'.
19739
bc4f7f3d
GM
197402011-04-19 Glenn Morris <rgm@gnu.org>
19741
19742 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19743 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19744 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19745 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19746 * calendar/cal-html.el (cal-html-insert-minical):
19747 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19748 (calendar-mark-date-pattern):
19749 Prefix "unused" locals.
19750
19751 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19752 optional argument `style'.
19753
19754 * calendar/appt.el (appt-make-list):
19755 * calendar/cal-china.el (calendar-chinese-date-string):
19756 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19757 (diary-hebrew-yahrzeit):
19758 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19759 * calendar/calendar.el (calendar-generate-window):
19760 * calendar/time-date.el (time-to-days):
19761 Remove unused local variables.
19762
16a43933
CY
197632011-04-18 Chong Yidong <cyd@stupidchicken.com>
19764
19765 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19766 glyphless-char-display table.
19767 (tabulated-list-glyphless-char-display): New var.
19768
7eed1860
SS
197692011-04-18 Sam Steingold <sds@gnu.org>
19770
19771 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19772 to acknowledgments.
19773
4d2d1ccd
GM
197742011-04-17 Glenn Morris <rgm@gnu.org>
19775
19776 * calendar/diary-lib.el (diary-sexp-entry):
19777 * calendar/holidays.el (holiday-sexp):
19778 Set debug-on-error rather than the removed stack-trace-on-error.
19779
239da61d
GM
197802011-04-16 Glenn Morris <rgm@gnu.org>
19781
19782 * progmodes/f90.el: Use lexical-binding.
19783 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19784
8b05752a
SM
197852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19786
daca8ba5
SM
19787 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19788 (mail-mode): Setup mailalias completion here instead.
19789 * mail/mailalias.el: Use lexical-binding.
19790 (pattern, mailalias-done): Declare dynamic.
19791 (mail-completion-at-point-function): New function, from mail-complete.
19792 (mail-complete): Use it.
19793 (mail-completion-expand): New function.
19794 (mail-get-names): Use it.
19795 (mail-directory, mail-directory-process, mail-directory-stream):
19796 Don't use `pattern' for lexically bound arg.
19797
6f542485
SM
19798 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19799
037e7c3f
SM
19800 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19801 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19802 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19803
8b05752a
SM
19804 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19805 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19806 (byte-interactive-p): Define them again, for use when inlining
19807 old code.
19808
49093f60
JB
198092011-04-15 Juanma Barranquero <lekktu@gmail.com>
19810
19811 * loadup.el: Use `string-to-number', not `string-to-int'.
19812
b5b8e7de
SM
198132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19814
19815 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19816 gud-gdb-complete-command.
19817 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19818 (gud-gdb-completion-at-point): New function.
19819 (gud-gdb-completions): Remove.
19820
f42efeb5
MA
198212011-04-14 Michael Albinus <michael.albinus@gmx.de>
19822
49093f60
JB
19823 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19824 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19825 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19826 whether `executable-find' is bound.
f42efeb5
MA
19827
19828 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19829
e240cc21
SM
198302011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19831
19832 * minibuffer.el (completion-in-region-mode-predicate)
19833 (completion-in-region-mode--predicate): New vars.
19834 (completion-in-region, completion-in-region--postch)
19835 (completion-in-region-mode): Use them.
19836 (completion--capf-wrapper): Also return the hook function.
19837 (completion-at-point, completion-help-at-point):
19838 Adjust and provide a predicate.
c2bd2ab0
SM
19839
19840 Preserve arg names for advice of subr and lexical functions (bug#8457).
19841 * help-fns.el (help-function-arglist): Consolidate the subr and
19842 new-byte-code cases. Add argument `preserve-names' to extract names
19843 from the docstring when needed.
19844 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19845 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19846 (ad-arglist): Use help-function-arglist's new arg.
19847 (ad-definition-type): Use cond.
19848
c183f693
JB
198492011-04-13 Juanma Barranquero <lekktu@gmail.com>
19850
06641a47
JB
19851 * autorevert.el (auto-revert-handler):
19852 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19853 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19854 Don't quote lambda.
19855
c183f693
JB
19856 * image-mode.el (image-transform-set-scale):
19857 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19858
1e3b6001
G
198592011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19860
19861 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19862 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19863 Upgrades via gnutls-cli are too slow to be done opportunistically.
19864
2d6af8dd
JB
198652011-04-12 Juanma Barranquero <lekktu@gmail.com>
19866
19867 * dframe.el (dframe-current-frame): Remove spurious quote.
19868
c0749a51
GM
198692011-04-12 Glenn Morris <rgm@gnu.org>
19870
088d0d61
GM
19871 * calendar/cal-tex.el (cal-tex-end-document):
19872 Try to automatically use latin1 input if needed.
19873
c0749a51
GM
19874 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19875 Don't try to cons a mark onto an empty element.
19876
5c90fde0
LL
198772011-04-11 Leo Liu <sdl.web@gmail.com>
19878
19879 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19880 buffers.
19881 (ido-kill-buffer-at-head): Support killing virtual buffers.
19882
369e974d
CY
198832011-04-10 Chong Yidong <cyd@stupidchicken.com>
19884
19885 * minibuffer.el (completion-show-inline-help): New var.
19886 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19887 (minibuffer-force-complete, minibuffer-complete-word):
19888 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19889
19890 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19891 to avoid interference from inline help (Bug#5849).
19892
37f1c930
LL
198932011-04-10 Leo Liu <sdl.web@gmail.com>
19894
099c39a4
JB
19895 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19896 Fix typo.
37f1c930 19897
a32d4040
CY
198982011-04-09 Chong Yidong <cyd@stupidchicken.com>
19899
19900 * image-mode.el (image-toggle-display-image): Signal an error if
19901 not in Image mode.
19902 (image-transform-mode, image-transform-resize)
19903 (image-transform-set-rotation): Doc fix.
daca8ba5 19904 (image-transform-set-resize): Delete.
a32d4040
CY
19905 (image-transform-set-scale, image-transform-fit-to-height)
19906 (image-transform-fit-to-width): Handle image-toggle-display-image
19907 and image-transform-resize directly.
19908
099c39a4 199092011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19910
19911 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19912 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19913 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19914 (doc-view-mode-map): Add bindings for the new functions.
19915
099c39a4 199162011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19917
4d61f28d 19918 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19919 Fix typo in docstring.
19920
3726838a
EZ
199212011-04-08 Eli Zaretskii <eliz@gnu.org>
19922
04f33f1e
EZ
19923 * files.el (file-size-human-readable): Produce one digit after
19924 decimal, like "ls -lh" does.
19925
19926 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19927 the file size representation.
19928
3726838a
EZ
19929 * simple.el (list-processes): If async subprocesses are not
19930 available, error out with a clear error message.
19931
cbb59342
CY
199322011-04-08 Chong Yidong <cyd@stupidchicken.com>
19933
19934 * help.el (help-form-show): New function, to be called from C.
19935 Put help-form output in a buffer named differently than *Help*.
19936
e3971c44
EZ
199372011-04-08 Eli Zaretskii <eliz@gnu.org>
19938
19939 * files.el (file-size-human-readable): New function.
19940
19941 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19942 computing the representation inline. Don't require `cl'.
19943
12544bbe
GM
199442011-04-08 Glenn Morris <rgm@gnu.org>
19945
a1de6c6a
GM
19946 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19947
3c4671f4
GM
19948 * net/browse-url.el (browse-url-firefox):
19949 Test system-type, not system-configuration.
19950
b605679c
GM
19951 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19952 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19953 Use log-edit-empty-buffer-p. (Bug#7598)
19954
56442f0c
GM
19955 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19956 (rlogin-mode-map): Initialize in the defvar.
19957 (rlogin): Use ignore-errors.
19958
12544bbe
GM
19959 * replace.el (occur-mode-map): Some fixes for menu items.
19960
eb237b0f
AH
199612011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19962
19963 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19964
7d668f2c
CY
199652011-04-06 Chong Yidong <cyd@stupidchicken.com>
19966
e67a13ab
CY
19967 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19968 issuing unused warnings.
19969
19970 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19971 macro directly.
19972
7d668f2c
CY
19973 * simple.el: Lisp reimplement of list-processes. Based on an
19974 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19975 (process-menu-mode): New major mode.
19976 (list-processes--refresh, list-processes):
19977 (process-menu-visit-buffer): New functions.
19978
19979 * files.el (save-buffers-kill-emacs): Don't assume any return
19980 value of list-processes, which is undocumented anyway.
19981
a83ec3c9
CY
199822011-04-06 Chong Yidong <cyd@stupidchicken.com>
19983
19984 * emacs-lisp/tabulated-list.el: New file.
19985
e91a96fe
CY
19986 * emacs-lisp/package.el: Use Tabulated List mode.
19987 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19988 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19989 table format using Tabulated List mode variables.
19990 (package--push): New macro, replacing package-list-maybe-add.
19991 (package-menu--generate): Use package--push. Renamed from
19992 package--generate-package-list.
19993 (package-menu-refresh, list-packages): Use it.
daca8ba5 19994 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19995 Return insertion data instead of inserting it directly.
099c39a4
JB
19996 (package-menu-describe-package, package-menu-execute):
19997 Use tabulated-list-get-id.
e91a96fe
CY
19998 (package-menu-mark-delete, package-menu-mark-install)
19999 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20000 (package-menu-mark-obsolete-for-deletion):
20001 Use tabulated-list-put-tag.
e91a96fe
CY
20002 (package--list-packages, package-menu-revert)
20003 (package-menu-get-package, package-menu-get-version)
20004 (package-menu-sort-by-column): Functions deleted.
20005 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20006 (package-menu--status-predicate, package-menu--version-predicate)
20007 (package-menu--name-predicate)
20008 (package-menu--description-predicate): Handle arguments in the
20009 Tabulated List format.
20010 (package-list-packages-no-fetch): Call list-packages.
20011
3e214b50
JB
200122011-04-06 Juanma Barranquero <lekktu@gmail.com>
20013
20014 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20015 (after-find-file): Don't bind it.
3e214b50
JB
20016 (revert-buffer-in-progress-p): New variable.
20017 (revert-buffer): Bind it.
20018 Pass nil for `after-find-file-from-revert-buffer'.
20019
20020 * saveplace.el (save-place-find-file-hook): Use new variable
20021 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20022
3f0f1700
GM
200232011-04-06 Glenn Morris <rgm@gnu.org>
20024
c0274801
GM
20025 * Makefile.in (AUTOGEN_VCS): New variable.
20026 (autoloads): Use $AUTOGEN_VCS.
20027
3f0f1700
GM
20028 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20029 * calendar/calendar.el (calendar-mode-map):
20030 Check for toolkit scroll bars. (Bug#8305)
20031
41ea9e48
CY
200322011-04-05 Chong Yidong <cyd@stupidchicken.com>
20033
20034 * minibuffer.el (completion-in-region--postch)
20035 (completion-in-region-mode): Remove unnecessary messages.
20036
6194c800
JB
200372011-04-05 Juanma Barranquero <lekktu@gmail.com>
20038
33256f14
JB
20039 * font-lock.el (font-lock-refresh-defaults):
20040 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20041 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20042
6194c800
JB
20043 * info.el (Info-directory-list, Info-read-node-name-2)
20044 (Info-split-parameter-string): Doc fixes.
20045 (Info-virtual-nodes): Reflow docstring.
20046 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20047 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20048 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20049 Fix typos in docstrings.
20050 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20051 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20052 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20053 (Info-restore-desktop-buffer): Mark unused parameters.
20054 (Info-directory-find-file, Info-directory-find-node)
20055 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20056 (Info-virtual-index-find-node, Info-apropos-find-file)
20057 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20058 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20059 (Info-virtual-index): Remove unused local variable `nodename'.
20060
b87a8200 200612011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20062
b87a8200
DD
20063 * net/rcirc.el: Update my e-mail address.
20064 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20065
3b2ff876
CY
200662011-04-05 Chong Yidong <cyd@stupidchicken.com>
20067
20068 * startup.el (command-line): Save the cursor's theme-face
20069 directly, instead of using face-override-spec.
20070
20071 * custom.el (load-theme): Minor optimization in assigning faces.
20072
8d17e7ca
JB
200732011-04-04 Juanma Barranquero <lekktu@gmail.com>
20074
20075 * help-fns.el (describe-variable): Complete all variables having
20076 documentation, including keywords.
20077 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20078
2fbc1934
JB
200792011-04-04 Juanma Barranquero <lekktu@gmail.com>
20080
20081 Convert to lexical-binding.
20082
20083 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20084 (bs--get-marked-string, bs--get-modified-string)
20085 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20086 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20087 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20088
20089 * ehelp.el (electric-help-execute-extended)
20090 (electric-help-ctrl-x-prefix):
20091 * hexl.el (hexl-revert-buffer-function):
20092 * linum.el (linum-after-change, linum-after-scroll):
20093 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20094
20095 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20096
74f50695
DU
200972011-04-04 Daiki Ueno <ueno@unixuser.org>
20098
20099 * epa-dired.el:
20100 * epa-mail.el:
20101 * epa-hook.el:
20102 * epa-file.el:
20103 * epa.el:
20104 * epg.el: Use lexical binding.
20105
c11325f7
CY
201062011-04-03 Chong Yidong <cyd@stupidchicken.com>
20107
0d9e9a12
CY
20108 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20109
c11325f7 20110 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20111 dictionary case for flyspell-mark-duplications-exceptions.
20112 Use regexp matching for languages.
c11325f7
CY
20113 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20114 default dictionary (Bug#7926).
20115
da91b5f2
CY
201162011-04-02 Chong Yidong <cyd@stupidchicken.com>
20117
099c39a4
JB
20118 * emacs-lisp/package.el (package--with-work-buffer):
20119 Recognize https URLs.
da91b5f2 20120
099c39a4
JB
20121 * net/network-stream.el: Move from gnus/proto-stream.el.
20122 Change prefix to network-stream throughout.
da91b5f2
CY
20123 (open-protocol-stream): Merge into open-network-stream, leaving
20124 open-protocol-stream as an alias. Handle nil BUFFER args.
20125
20126 * subr.el (open-network-stream): Move to net/network-stream.el.
20127
afa8e9f6
GM
201282011-04-02 Glenn Morris <rgm@gnu.org>
20129
1d2e369d
GM
20130 * find-dired.el (find-exec-terminator): New option.
20131 (find-ls-option): Test for -ls support.
20132 (find-ls-subdir-switches): Test for -b in find-ls-option.
20133 (find-dired, find-grep-dired): Doc fixes.
20134 (find-dired): Use find-exec-terminator.
20135
8abb7da8 20136 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20137 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20138 (find-name-arg): Remove purecopy.
8abb7da8 20139
f3ca7378
GM
20140 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20141 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20142 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20143 accordingly. Don't add the null-device if not needed.
20144
afa8e9f6
GM
20145 * files.el (save-some-buffers): Doc fix.
20146
35eae264
EZ
201472011-04-02 Eli Zaretskii <eliz@gnu.org>
20148
20149 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20150
26b51db5
JB
201512011-04-01 Juanma Barranquero <lekktu@gmail.com>
20152
20153 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20154 Use `dolist' rather than `mapcar'.
20155
7200d79c
SM
201562011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20157
03408648 20158 Add lexical binding.
7200d79c 20159
03408648
SM
20160 * subr.el (apply-partially): Use new closures rather than CL.
20161 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20162 (dolist, dotimes): Use slightly different expansion for lexical code.
20163 (functionp): Move to C.
20164 (letrec): New macro.
20165 (with-wrapper-hook): Use it and apply-partially instead of CL.
20166 (eval-after-load): Preserve lexical-binding.
20167 (save-window-excursion, with-output-to-temp-buffer): Turn them
20168 into macros.
7200d79c 20169
03408648
SM
20170 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20171
20172 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20173 than the arglist.
20174 (help-add-fundoc-usage): Don't add `Not documented'.
20175 (help-function-arglist): Handle closures, subroutines, and new
20176 byte-code-functions.
20177 (help-make-usage): Remove leading underscores.
20178 (describe-function-1): Handle closures.
20179 (describe-variable): Use special-variable-p for completion.
20180
20181 * files.el (lexical-binding): Declare safe.
f488fb65 20182
03408648
SM
20183 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20184 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20185 (pcase): Add `let' pattern.
20186 Change memoization so it actually works.
20187 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20188 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20189 <let>: New case.
f488fb65 20190
03408648
SM
20191 * emacs-lisp/macroexp.el: Use lexical binding.
20192 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20193 Don't convert ' to #' without checking that it's indeed quoting
20194 a lambda.
20195
20196 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20197 Use eval-sexp-add-defvars.
03408648
SM
20198 (eval-sexp-add-defvars): New fun.
20199
20200 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20201
20202 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20203 Don't autoload.
20204 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20205 than the internal `byte-compile-lambda'.
20206 (defmethod): Don't hide code under quotes.
20207 (eieio-defmethod): New `code' argument.
20208
20209 * emacs-lisp/eieio-comp.el: Remove.
20210
20211 * emacs-lisp/edebug.el (edebug-eval-defun)
20212 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20213 (edebug-toggle): Avoid `eval'.
20214
20215 * emacs-lisp/disass.el (disassemble-internal): Handle new
20216 `closure' objects.
20217 (disassemble-1): Handle new byte codes.
20218
20219 * emacs-lisp/cl.el (pushnew): Silence warning.
20220
20221 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20222 (cl-byte-compile-throw): Remove.
20223 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20224
20225 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20226 closures.
20227
20228 * emacs-lisp/cconv.el: New file.
20229
20230 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20231 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20232 (byte-compile-initial-macro-environment):
20233 Handle declare-function here.
20234 (byte-compile--lexical-environment): New var.
20235 (byte-stack-ref, byte-stack-set, byte-discardN)
20236 (byte-discardN-preserve-tos): New lap codes.
20237 (byte-interactive-p): Don't use any more.
20238 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20239 New macros.
20240 (byte-compile-lapcode): Use them and handle new lap codes.
20241 (byte-compile-obsolete): Remove.
20242 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20243 (byte-compile-arglist-warn): Check late def of inlinable funs.
20244 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20245 since they should have been expanded by now.
20246 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20247 (byte-compile-from-buffer): Remove unused second arg.
20248 (byte-compile-preprocess): New function.
20249 (byte-compile-toplevel-file-form): New function to distinguish
20250 file-form calls from outside from file-form calls from hunk-handlers.
20251 (byte-compile-file-form): Simplify.
20252 (byte-compile-file-form-defsubst): Remove.
20253 (byte-compile-file-form-defmumble): Simplify now that
20254 byte-compile-lambda always returns a byte-code-function.
20255 (byte-compile): Preprocess.
20256 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20257 Remove, not used any more.
20258 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20259 (byte-compile-make-args-desc): New funs.
20260 (byte-compile-lambda): Handle lexical functions. Always return
20261 a byte-code-function.
20262 (byte-compile-reserved-constants): New var, to make up room for
20263 closed-over variables.
20264 (byte-compile-constants-vector): Obey it.
20265 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20266 (byte-compile-macroexpand-declare-function): New function.
20267 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20268 byte-code-functions.
20269 (byte-compile-form): Check obsolescence here.
20270 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20271 (byte-compile-variable-ref): Remove.
20272 (byte-compile-dynamic-variable-op): New fun.
20273 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20274 (byte-compile-variable-set): New funs.
20275 (byte-compile-discard): Add 2 args.
20276 (byte-compile-stack-ref, byte-compile-stack-set)
20277 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20278 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20279 macroexpand-all instead.
20280 (byte-compile-quote-form): Remove.
20281 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20282 (byte-compile-bind, byte-compile-unbind): New funs.
20283 (byte-compile-let): Handle let* and lexical binding.
20284 (byte-compile-let*): Remove.
20285 (byte-compile-catch, byte-compile-unwind-protect)
20286 (byte-compile-track-mouse, byte-compile-condition-case):
20287 Handle a new :fun-body form, used for lexical scoping.
20288 (byte-compile-save-window-excursion)
20289 (byte-compile-with-output-to-temp-buffer): Remove.
20290 (byte-compile-defun): Simplify.
20291 (byte-compile-stack-adjustment): New fun.
20292 (byte-compile-out): Use it.
20293 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20294
20295 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20296 handler any more.
20297
20298 * emacs-lisp/byte-opt.el: Use lexical binding.
20299 (byte-inline-lapcode): Remove (to bytecomp).
20300 (byte-compile-inline-expand): Pay attention to inlining to/from
20301 lexically bound code.
20302 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20303 any more.
20304 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20305 any more and don't call compiler-macros.
20306 (byte-compile-splice-in-already-compiled-code): Remove.
20307 (byte-code): Don't inline any more.
20308 (disassemble-offset): Receive `bytes' as argument rather than via
20309 dynamic scoping.
20310 (byte-compile-tag-number): Declare before first use.
20311 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20312 `return' even if make-spliceable.
20313 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20314 obsolete interactive-p.
20315 (byte-optimize-lapcode): Optimize new lap-codes.
20316 Don't trip up on new form of `byte-constant' lap code.
20317
20318 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20319
20320 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20321
20322 * custom.el (custom-initialize-default, custom-declare-variable):
20323 Use `defvar'.
20324
20325 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20326 New variables.
20327 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20328 (COMPILE_FIRST): Add macroexp and cconv.
20329 * makefile.w32-in: Mirror changes in Makefile.in.
20330
20331 * vc/cvs-status.el:
20332 * vc/diff-mode.el:
20333 * vc/log-edit.el:
20334 * vc/log-view.el:
20335 * vc/smerge-mode.el:
20336 * textmodes/bibtex-style.el:
090bd7cb 20337 * textmodes/css-mode.el:
03408648
SM
20338 * startup.el:
20339 * uniquify.el:
da91b5f2
CY
20340 * minibuffer.el:
20341 * newcomment.el:
20342 * reveal.el:
20343 * server.el:
20344 * mpc.el:
20345 * emacs-lisp/smie.el:
20346 * doc-view.el:
20347 * dired.el:
03408648
SM
20348 * abbrev.el: Use lexical binding.
20349
0f0c1f27
EZ
203502011-04-01 Eli Zaretskii <eliz@gnu.org>
20351
20352 * info.el (info-display-manual): New function.
20353
c82b2579
SM
203542011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20355
20356 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20357
221ddf68
TH
203582011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20359
20360 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20361 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20362
cba6e77e
GM
203632011-03-31 Glenn Morris <rgm@gnu.org>
20364
e040639f
GM
20365 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20366
cba6e77e
GM
20367 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20368
6d0f1c9e
CS
203692011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20370
20371 * progmodes/python.el (python-default-interpreter)
20372 (python-python-command-args, python-jython-command-args)
20373 (python-which-shell, python-which-args, python-which-bufname)
20374 (python-file-queue, python-comint-output-filter-function)
20375 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20376 variables and functions.
20377
3e2d70fd
SM
203782011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20379
20380 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20381 (completion-in-region-mode): New minor mode.
20382 (completion-in-region): Use it.
20383 (completion-in-region--data, completion-in-region-mode-map): New vars.
20384 (completion-in-region--postch): New function.
20385 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20386 New vars.
20387 (completion--capf-wrapper): New function.
20388 (completion-at-point): Use it to track well-behavedness of
20389 hook functions.
20390 (completion-help-at-point): New command.
20391
f3e4086c
JM
203922011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20393
20394 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20395 syntax class to search for whitespace on a single line
20396 (Message-ID: <4D938140.4030905@redhat.com>).
20397
eb7ffc14
LL
203982011-03-30 Leo Liu <sdl.web@gmail.com>
20399
20400 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20401 New commands.
20402 (edit-abbrevs-map): Bind them here.
20403 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20404
d806ab68
KM
204052011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20406
20407 * allout.el (allout-hide-by-annotation, allout-flag-region):
20408 Reduce possibility of overlay leakage by making them volatile.
20409
20410 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20411 hash is not shared between buffers. Mode initialization is
20412 responsible for giving it a useful starting value.
20413 (allout-item-span): Reduce possibility of overlay leakage by
20414 making them volatile.
20415 (allout-widgets-count-buttons-in-region): Add diagnostic function
20416 for tracking down button overlay leaks.
20417
ea622834
LL
204182011-03-29 Leo Liu <sdl.web@gmail.com>
20419
20420 * ido.el (ido-read-internal): Use the default history var
20421 minibuffer-history if no HISTORY is specified.
20422
b62f8267
G
204232011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20424
03408648
SM
20425 * net/imap.el (imap-shell-open, imap-process-connection-type):
20426 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20427 Kerberos, SSL, other subprocesses.
20428
947b6566
LL
204292011-03-28 Leo Liu <sdl.web@gmail.com>
20430
20431 * abbrev.el (abbrev-table-empty-p): New function.
20432 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20433 nonempty ones. (Bug#5937)
20434
5ffb62aa
JD
204352011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20436
20437 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20438
7a097943
LL
204392011-03-27 Leo Liu <sdl.web@gmail.com>
20440
20441 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20442 for foreground and background colors.
20443 (ansi-color-make-color-map): Adapt.
20444
c5b40130
LL
204452011-03-25 Leo Liu <sdl.web@gmail.com>
20446
1f48f7d2
LL
20447 * midnight.el (midnight-time-float): Remove. Note it calculates
20448 the microsecond component incorrectly and seconds-to-time does the
20449 same job.
625897ec 20450 Remove redundant (require 'timer).
1f48f7d2 20451
c5b40130
LL
20452 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20453 (ido-completions): Remove unused arguments. (Bug#8329)
20454
d86d2721
SM
204552011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20456
20457 * minibuffer.el (completion--flush-all-sorted-completions):
20458 Remove itself from hook.
20459 (completion-at-point): Let the functions perform the completion
20460 immediately and return nil or t.
20461 * comint.el (comint-dynamic-complete-functions): Now identical to
20462 completion-at-point-functions.
20463 (comint-dynamic-list-input-ring): Remove unused var `index'.
20464 (comint--match-partial-filename, comint--unquote&expand-filename):
20465 New funs, split from comint-match-partial-filename.
20466 (comint-dynamic-complete): Use completion-at-point.
20467 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20468
e8974c48
DA
204692011-03-24 Drew Adams <drew.adams@oracle.com>
20470
20471 * thingatpt.el: Support `defun'.
20472
def71b5e
LL
204732011-03-23 Leo Liu <sdl.web@gmail.com>
20474
cb5af48e
LL
20475 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20476
def71b5e
LL
20477 * help-mode.el (help-mode-finish): Tweak regexp.
20478
927c53e7
GM
204792011-03-23 Glenn Morris <rgm@gnu.org>
20480
18d05bed
GM
20481 * eshell/esh-opt.el (eshell-eval-using-options):
20482 Do not bind unused local variable `eshell-option-stub'.
20483
927c53e7
GM
20484 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20485
9d0da923
JB
204862011-03-22 Juanma Barranquero <lekktu@gmail.com>
20487
20488 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20489 keymap variable in `with-no-warnings' to avoid a warning when the
20490 keymap has been already `defconst'ed.
20491
4b978a67
LL
204922011-03-22 Leo Liu <sdl.web@gmail.com>
20493
20494 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20495 encode all chars in abbrevs; otherwise use emacs-mule or
20496 utf-8-emacs. (Bug#8308)
20497
5fd62452
JB
204982011-03-22 Juanma Barranquero <lekktu@gmail.com>
20499
0b1596c6
JB
20500 * simple.el (backward-delete-char-untabify):
20501 Avoid warning about using `delete-backward-char'.
20502
5fd62452
JB
20503 * image.el (image-type-file-name-regexps): Make it variable.
20504 `imagemagick-register-types' modifies it, and the user may want
20505 to add new extensions for known image types.
20506 (imagemagick-register-types): Throw error if not using ImageMagick.
20507
0b4e93f1
LL
205082011-03-22 Leo Liu <sdl.web@gmail.com>
20509
20510 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20511 located before rcirc-prompt-end-marker.
20512 (rcirc-complete): Error if point is not after rcirc prompt.
20513 Handle the case when table is nil.
9882e214 20514 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20515
fccee4ab
CY
205162011-03-22 Chong Yidong <cyd@stupidchicken.com>
20517
20518 * custom.el (custom--inhibit-theme-enable): Make it affect only
20519 custom-theme-set-variables and custom-theme-set-faces.
20520 (provide-theme): Ignore custom--inhibit-theme-enable.
20521 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20522 (custom-enabling-themes): Delete variable.
d86d2721
SM
20523 (enable-theme): Accept only loaded themes as arguments.
20524 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20525 (custom-enabled-themes): Forbid themes from setting this.
20526 Eliminate use of custom-enabling-themes.
20527 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20528
af896da6
LL
205292011-03-21 Leo Liu <sdl.web@gmail.com>
20530
20531 * ido.el (ido-read-internal): Add ido-selected to history instead
20532 of user input.
20533
78f64af0
SM
205342011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20535
20536 * subr.el (deferred-action-list, deferred-action-function):
20537 Mark obsolete.
20538
b16ac1ec
LL
205392011-03-21 Leo Liu <sdl.web@gmail.com>
20540
810f7698
LL
20541 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20542 change on 2011-02-13 (bug#8309).
20543
b16ac1ec
LL
20544 * minibuffer.el (read-file-name-function): Change default value.
20545 (read-file-name--defaults): Rename from read-file-name-defaults.
20546 (read-file-name-default): Rename from read-file-name.
20547 (read-file-name): Call read-file-name-function.
20548
4e05e67e
GM
205492011-03-21 Glenn Morris <rgm@gnu.org>
20550
20551 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20552 Doc fixes.
20553
4359915b
CY
205542011-03-21 Chong Yidong <cyd@stupidchicken.com>
20555
20556 * cus-theme.el: Add missing provide statement.
20557 (customize-create-theme): Extract theme value correctly.
20558 (custom-theme-visit-theme): Autoload.
20559 (customize-create-theme): Prompt before inserting default faces.
20560
1fe275ee
JB
205612011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20562
20563 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20564 units and musical notes.
20565
cd394be1 205662011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20567
20568 * ido.el (ido-read-internal): Use completing-read-default.
20569 (ido-completing-read): Fix compatibility with completing-read.
20570
7d476bde
CO
205712011-03-20 Christian Ohler <ohler@gnu.org>
20572
20573 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20574 (ert-delete-all-tests): Use `called-interactively-p' rather than
20575 `interactive-p'.
20576 (ert--make-xrefs-region): Respect END.
20577
fe0fb33e
CY
205782011-03-19 Chong Yidong <cyd@stupidchicken.com>
20579
ff854b0b
CY
20580 * dired-aux.el (dired-create-directory): Signal an error if the
20581 directory already exists (Bug#8246).
20582
fe0fb33e
CY
20583 * facemenu.el (list-colors-display): Call list-faces-display
20584 inside with-help-window.
20585 (list-colors-print): Use display property to align the final
20586 column, instead of checking window-width.
20587
576bce32
EZ
205882011-03-19 Eli Zaretskii <eliz@gnu.org>
20589
4d61f28d 20590 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20591 windows-nt systems.
20592 (emerge-protect-metachars): Quote correctly for ms-dos and
20593 windows-nt systems.
20594
89c41d68 205952011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20596
20597 * info.el (info-initialize): Replace all uses of `:' with
20598 path-separator for compatibility with non-Unix systems.
20599 Cache quoting of path-separator. (Bug#8258)
20600
b14e3e21 206012011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20602
20603 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20604 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20605 (mouse-avoidance-mode): Fix typos in docstrings.
20606
4525ce3e
CY
206072011-03-19 Chong Yidong <cyd@stupidchicken.com>
20608
20609 * startup.el (package-subdirectory-regexp): Move from package.el.
20610 Omit \\` and \\', and let callers add them.
20611
20612 * emacs-lisp/package.el (package-strip-version)
20613 (package-load-all-descriptors): Add \\` and \\' to
20614 package-subdirectory-regexp before using it.
20615 (package-untar-buffer): New arg DIR; ensure that file untars only
20616 into this expected directory. Remove superfluous delete-region.
20617 (package-unpack): Caller changed.
20618 (package-tar-file-info): Use package-subdirectory-regexp.
20619
a904a09a 206202011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20621
a904a09a
SM
20622 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20623 diff-mode-shared-map (bug#8284).
20624 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20625
206262011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20627
20628 * calendar/time-date.el (format-seconds): Use assoc instead of
20629 assoc-string, since assoc-string doesn't exist in XEmacs.
20630
171fc304
JB
206312011-03-17 Juanma Barranquero <lekktu@gmail.com>
20632
20633 * custom.el (custom-known-themes): Reflow docstring.
20634 (custom-theme-load-path): Fix typo in docstring.
20635 (load-theme): Fix typo in error message.
20636 (custom-available-themes, custom-variable-theme-value):
20637 Use `let', not `let*'.
20638
d71990a1
JB
206392011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20640
20641 * calc/README: Mention inclusion of musical notes.
20642
20643 * calc/calc-units.el (calc-lu-quant): Rename from
20644 `calc-logunits-quantity'.
20645 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20646 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20647 (calc-db): Rename from `calc-dblevel'.
20648 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20649 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20650 (calc-np): Rename from `calc-nplevel'.
20651 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20652 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20653 (calc-lu-plus): Rename from `calc-logunits-add'.
20654 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20655 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20656 (calc-lu-minus): Rename from `calc-logunits-sub'.
20657 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20658 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20659 (calc-lu-times): Rename from `calc-logunits-mul'.
20660 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20661 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20662 (calc-lu-divide): Rename from `calc-logunits-div'.
20663 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20664 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20665
20666 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20667 functions being autoloaded.
20668
20669 * calc/calc.el (calc-lu-power-reference): Rename from
20670 `calc-logunits-power-reference'.
20671 (calc-lu-field-reference): Rename from
20672 `calc-logunits-field-reference'.
20673
7a71b18d
GM
20674 * calc/calc-help.el (calc-l-prefix-help):
20675 Mention musical note functions.
d71990a1 20676
40c2934b
SM
206772011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20678
20679 * minibuffer.el (completion-all-sorted-completions):
20680 Use :completion-cycle-penalty text property if present.
20681
b0911414
KM
206822011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20683
20684 * allout.el (allout-yank-processing): Adjust for new rebulleting
20685 regime so bullet being yanked is used without prompting the user
20686 for a choice.
20687
8a05b668
JB
206882011-03-16 Juanma Barranquero <lekktu@gmail.com>
20689
20690 * startup.el (command-line): Warn the user that _emacs is deprecated.
20691
5ba5fb81
JB
206922011-03-16 Juanma Barranquero <lekktu@gmail.com>
20693
20694 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20695 (delphi-verbose, delphi-comment-face, delphi-string-face)
20696 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20697 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20698 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20699 (delphi-new-comment-line, delphi-font-lock-defaults)
20700 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20701 Fix typos in docstrings.
20702
2dab465b
KM
207032011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20704
5ba5fb81 20705 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20706 Invert the roles of character and string values for INSTEAD, so a
20707 string is used for the more common case of a defaulting prompt.
20708
0adf5618
SM
207092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20710
20711 * progmodes/ruby-mode.el (ruby-backward-sexp):
20712 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20713 * play/gamegrid.el (gamegrid-make-face):
20714 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20715 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20716 * notifications.el (notifications-notify):
20717 * net/xesam.el (xesam-search-engines):
20718 * net/quickurl.el (quickurl-list-insert):
20719 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20720
d72700e5
CY
207212011-03-15 Chong Yidong <cyd@stupidchicken.com>
20722
20723 * startup.el (command-line): Update package subdirectory regexp.
20724
49c5410a
SM
207252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20726
c6eee9aa
SM
20727 * allout.el (allout-abbreviate-flattened-numbering)
20728 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20729
49c5410a
SM
20730 * subr.el (read-char-choice): Only show the cursor after the prompt,
20731 not after the answer.
20732
047b2bb9
KR
207332011-03-15 Kevin Ryde <user42@zip.com.au>
20734
20735 * help-fns.el (variable-at-point): Skip leading quotes, if any
20736 (bug#8253).
20737
0a57d256
SM
207382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20739
20740 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20741 warning message.
20742
77c992bc
MA
207432011-03-14 Michael Albinus <michael.albinus@gmx.de>
20744
20745 * shell.el (shell): When called interactively, offer to change the
20746 shell file name on remote hosts.
20747
eebc475d
TZ
207482011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20749
20750 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20751 integration for LDAP parameters. The host, base, user or binddn,
20752 and secret tokens can be specified in a netrc file, for instance.
20753 This is optional because an `auth-source' parameter must be
20754 specified in the search attributes.
20755
9d05d1ba
JB
207562011-03-13 Juanma Barranquero <lekktu@gmail.com>
20757
20758 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20759
09d9db2c
GM
207602011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20761
20762 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20763 into declaration. Remove redundant and harmful binding.
20764
207652011-03-12 Eli Zaretskii <eliz@gnu.org>
20766
20767 * files.el (file-ownership-preserved-p): Pass `integer' as an
20768 explicit 2nd argument to `file-attributes'. If the file's owner
20769 is the Administrators group on Windows, and the current user is
20770 Administrator, consider that a match.
20771
20772 * server.el (server-ensure-safe-dir): Consider server directory
20773 safe on MS-Windows if its owner is the Administrators group while
20774 the current Emacs user is Administrator. Use `=' to compare
20775 numerical UIDs, since they could be integers or floats.
20776
219bd536
JB
207772011-03-12 Juanma Barranquero <lekktu@gmail.com>
20778
20779 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20780
f3afd36b
MA
207812011-03-12 Michael Albinus <michael.albinus@gmx.de>
20782
20783 Sync with Tramp 2.2.1.
20784
20785 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20786
20787 * net/trampver.el: Update release number.
20788
3aaaa6f1
SM
207892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20790
94642599
SM
20791 * progmodes/compile.el (compilation--previous-directory): Fix up
20792 various nil/dead-marker mismatches (bug#8014).
20793 (compilation-directory-properties, compilation-error-properties):
20794 Don't call it at a position past the one we're about to change.
20795
3aaaa6f1
SM
20796 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20797 Disable obsolescence warnings in the file that declares it.
20798
14239447
KM
207992011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20800
099c39a4
JB
20801 * allout-widgets.el (allout-widgets-tally):
20802 Initialize allout-widgets-tally as a hash table rather than nil to
20803 prevent mode-line redisplay warnings. Also, clarify the module
20804 description and fix a comment typo.
14239447 20805
135e287c
JB
208062011-03-11 Juanma Barranquero <lekktu@gmail.com>
20807
20808 * help-fns.el (describe-variable): Don't complete keywords.
20809 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20810
ffbf300e
CY
208112011-03-10 Chong Yidong <cyd@stupidchicken.com>
20812
ba08b241
CY
20813 * emacs-lisp/package.el (package-version-join): Impose a standard
20814 string representation for pre/alpha/beta version lists.
20815 (package-unpack-single): Standardize the directory name by passing
20816 it through package-version-join.
20817 (package-strip-rcs-id): Accept any version string that does not
20818 signal an error in version-to-list.
ffbf300e 20819
f346fd6b
MA
208202011-03-10 Michael Albinus <michael.albinus@gmx.de>
20821
20822 * simple.el (delete-trailing-whitespace): Return nil for the
20823 benefit of `write-file-functions'.
20824
ccb55d27
GM
208252011-03-10 Glenn Morris <rgm@gnu.org>
20826
5ceaac0c
GM
20827 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20828
02da65ff
GM
20829 * vc/vc-git.el (vc-git-program): New option.
20830 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20831 (vc-git--call): Use it.
20832
b2f603cc
GM
20833 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20834
5772caab
GM
20835 * cus-edit.el (Custom-newline): If no button at point, look
20836 for a subgroup button at start-of-line. (Bug#2298)
20837
ccb55d27
GM
20838 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20839
ec6ecaed
JD
208402011-03-10 Julien Danjou <julien@danjou.info>
20841
20842 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20843 `cursor-type' is nil.
20844
9d5aa01d
JB
208452011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20846
20847 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20848
b6a5875b
KM
208492011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20850
7a71b18d 20851 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20852 preserves the existing header prefix, rebulleting it if necessary,
20853 rather than replacing it. This is necessary for proper operation
20854 of cooperative addons like allout-widgets.
1154d12e
JB
20855 (allout-make-topic-prefix, allout-rebullet-heading):
20856 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20857 value as alternate bullet to be used, instead of prompting the user
20858 for a bullet character.
b6a5875b 20859
ee545c35
MA
208602011-03-09 Michael Albinus <michael.albinus@gmx.de>
20861
d86d2721
SM
20862 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20863 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20864 `tramp-default-port'.
20865
c47971d7
DD
208662011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20867
20868 * net/rcirc.el (rcirc-handler-001): Remove useless
20869 with-rcirc-process-buffer.
20870 (rcirc-check-auth-status): Swap arguments to string-match.
20871
13522cb4
GM
208722011-03-09 Glenn Morris <rgm@gnu.org>
20873
0be6f4f1
GM
20874 * shell.el (shell-mode):
20875 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20876
13522cb4
GM
20877 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20878 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20879
515de2e3
CY
208802011-03-08 Chong Yidong <cyd@stupidchicken.com>
20881
20882 * emacs-lisp/package.el (package-refresh-contents)
20883 (package-menu-execute): Use condition-case-no-debug.
20884
b511b994
MA
208852011-03-08 Michael Albinus <michael.albinus@gmx.de>
20886
20887 * simple.el (shell-command-to-string): Use `process-file'.
20888
20889 * emacs-lisp/package.el (package-tar-file-info): Handle also
20890 remote files.
20891
d86d2721
SM
20892 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20893 Use `equal' for upload base check.
b511b994 20894
25bbfb31
AM
208952011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20896
20897 * textmodes/texinfo.el (texinfo-environments):
20898 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20899
be996521
GM
209002011-03-08 Glenn Morris <rgm@gnu.org>
20901
e9c8529f
GM
20902 * cus-start.el (cursor-in-non-selected-windows):
20903 Fix :set quoting oddness. (Bug#8192)
20904
be996521
GM
20905 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20906 in some setf expressions. (Bug#2159)
20907
2bb5649e
CY
209082011-03-08 Chong Yidong <cyd@stupidchicken.com>
20909
20910 * custom.el (custom-available-themes): Return themes in
20911 alphabetical order.
20912
33383987 20913See ChangeLog.15 for earlier changes.
e3d51b27
MR
20914
20915;; Local Variables:
20916;; coding: utf-8
e3d51b27
MR
20917;; End:
20918
acaf905b 20919 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20920
20921 This file is part of GNU Emacs.
20922
20923 GNU Emacs is free software: you can redistribute it and/or modify
20924 it under the terms of the GNU General Public License as published by
20925 the Free Software Foundation, either version 3 of the License, or
20926 (at your option) any later version.
20927
20928 GNU Emacs is distributed in the hope that it will be useful,
20929 but WITHOUT ANY WARRANTY; without even the implied warranty of
20930 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20931 GNU General Public License for more details.
20932
20933 You should have received a copy of the GNU General Public License
20934 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.