* lisp/env.el (env--substitute-vars-regexp): New const.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d14bb752
SM
12012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3b11e6ac
SM
3 * env.el (env--substitute-vars-regexp): New const.
4 (substitute-env-vars): Use it. Add `only-defined' arg.
5 * net/tramp.el (tramp-replace-environment-variables): Use it.
6
784c1a7b
SM
7 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8 Byte-compile *before* eval in eval-and-compile.
9 (byte-compile-log-warning): Remove redundant inhibit-read-only.
10 (byte-compile-file-form-autoload): Don't hide actual definition.
11 (byte-compile-maybe-guarded): Accept `functionp' as well.
12
d14bb752
SM
13 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
14
499a0f7a
MA
152012-11-07 Michael Albinus <michael.albinus@gmx.de>
16
17 * notifications.el (notifications-get-server-information-method):
18 New defconst.
19 (notifications-get-capabilities): Fix docstring.
20 (notifications-get-server-information): New defun.
21
f0704a9a
AM
222012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23
24 * textmodes/ispell.el (ispell-region): Standard re-indent for better
25 readability.
26
b159a1fd
AM
27 * textmodes/ispell.el: Experimental support for support debugging.
28 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
29 buffer for ispell.
30 (ispell-print-if-debug): New function to print stuff to
31 `ispell-debug-buffer' if debugging is enabled.
32 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
33 show some debugging info.
34 (ispell-buffer-with-debug): New function that creates a debugging
35 buffer and calls `ispell-buffer' with debugging enabled.
36
056cb3a1
AM
37 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
38 comment in autoconf mode. (Bug#12768)
39
8e6a67b7
DA
402012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
41
42 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
43 frame-first-window, frame-root-window, frame-selected-window,
44 minibuffer-selected-window, minibuffer-window,
45 window-absolute-pixel-edges, window-at, window-body-height,
46 window-body-width, window-display-table, window-combination-limit,
47 window-frame, window-fringes, window-inside-absolute-pixel-edges,
48 window-inside-edges, window-inside-pixel-edges, window-left-child,
49 window-left-column, window-margins, window-next-buffers,
50 window-next-sibling, window-new-normal, window-new-total,
51 window-normal-size, window-parameter, window-parameters, window-parent,
52 window-pixel-edges, window-point, window-prev-buffers,
53 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
54 window-start, window-text-height, window-top-child, window-top-line,
55 window-total-height, window-total-width and window-use-time to the list
56 of functions without side-effects.
57 (toplevel): Add window-valid-p to the list of error-free functions
58 without side-effects.
59
53fc914f
AM
602012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
61
62 * textmodes/ispell.el (ispell-program-name): Update
63 spellchecker parameters when customized.
64
9749e2b0
GM
652012-11-04 Glenn Morris <rgm@gnu.org>
66
67 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
68
2cbafa56
CY
692012-11-04 Chong Yidong <cyd@gnu.org>
70
71 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
72 same-window-* variables.
73
85178ca1
JL
742012-11-04 Juri Linkov <juri@jurta.org>
75
76 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
77 (isearch-describe-key, isearch-describe-mode): Use a display
78 action instead of binding same-window-* variables (Bug#10040).
79
5c677d44
GM
802012-11-03 Glenn Morris <rgm@gnu.org>
81
49138400
GM
82 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
83 Rename handler properties back from cl-- to cl-. (Bug#12788)
84
5c677d44
GM
85 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
86
1d4341f9
EZ
872012-11-03 Eli Zaretskii <eliz@gnu.org>
88
89 * term/pc-win.el: Don't load term/internal from here.
90
91 * loadup.el: Load term/internal from here.
92
12fd5ee1
FEG
932012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
94
95 * progmodes/python.el (inferior-python-mode): Fix hang in
96 jit-lock (Bug#12645).
97
43bcfda6
MR
982012-11-03 Martin Rudalics <rudalics@gmx.at>
99
100 * window.el (switch-to-visible-buffer)
101 (switch-to-buffer-preserve-window-point): Fix doc-strings.
102
376a8e83
GM
1032012-11-03 Glenn Morris <rgm@gnu.org>
104
105 * emacs-lisp/cl-lib.el (cl--random-time):
106 Rename from cl-random-time. (Bug#12773)
107 (cl--gensym-counter, cl--random-state): Update callers.
108 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
109
0f7b074f
CY
1102012-11-03 Chong Yidong <cyd@gnu.org>
111
112 * cus-start.el: Make cursor-type customizable (Bug#11633).
113
3a6851d9
GM
1142012-11-02 Glenn Morris <rgm@gnu.org>
115
00a3b041
GM
116 * filecache.el: No need to load find-lisp when compiling.
117 (find-lisp-find-files): Autoload it.
118 (file-cache-add-directory-recursively): Don't require find-lisp.
119
11fef14a
GM
120 * image.el (image-type-from-file-name): Trivial simplification.
121
3a6851d9
GM
122 * emacs-lisp/bytecomp.el (byte-compile-eval):
123 Decouple "noruntime" and "cl-functions" warnings.
124
b4b096e4
SB
1252012-11-01 Stephen Berman <stephen.berman@gmx.net>
126
127 * play/gomoku.el (gomoku-display-statistics): Update mode line
128 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
129
218e997a
MR
1302012-10-31 Martin Rudalics <rudalics@gmx.at>
131
132 * window.el (quit-restore-window): If the window has been
133 created on an existing frame and ended up as the sole window on
134 that frame, do not delete it (Bug#12764).
135
b08b6da7
SM
1362012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
137
3618df45
SM
138 * progmodes/sh-script.el (sh--inside-noncommand-expression):
139 Rename from sh--inside-arithmetic-expression, handle more cases
140 (bug#11263).
141
b08b6da7
SM
142 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
143 (sh-font-lock-open-heredoc): Use it (bug#12770).
144
4ddedf94
GM
1452012-10-30 Glenn Morris <rgm@gnu.org>
146
f43a5263
GM
147 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
148
4ddedf94
GM
149 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
150
748b0d84
CY
1512012-10-29 Chong Yidong <cyd@gnu.org>
152
b5dd9a77
CY
153 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
154 function key is stored in a keyboard macro (Bug#4894).
155
748b0d84
CY
156 * thingatpt.el (number-at-point): Apply a thing-at-point property.
157
e07fcbdc
SM
1582012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
159
d7f9cc85
SM
160 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
161 header comments".
162 (diff-unified->context, diff-context->unified)
163 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
164
c606253c
SM
165 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
166
e07fcbdc
SM
167 * files.el (find-alternate-file): Only ask one question (bug#12487).
168
894b9dd9
CY
1692012-10-29 Chong Yidong <cyd@gnu.org>
170
1dc2755a
CY
171 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
172 Suggested by Dan Nicolaescu (Bug#6326).
173
329c48d8
CY
174 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
175
2230fa5b 176 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 177
e84cad57
CY
178 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
179
1913c5f5
CY
180 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
181
894b9dd9
CY
182 * face-remap.el (face-remap-add-relative): Handle the case where a
183 face-remapping-alist entry is a cons cell (Bug#12762).
184
329c48d8
CY
1852012-10-29 Kevin Ryde <user42@zip.com.au>
186
187 * woman.el (woman-parse-numeric-value): Handle picas correctly
188 (Bug#12639).
189
a0ccbcbd
GM
1902012-10-29 Glenn Morris <rgm@gnu.org>
191
192 * emacs-lisp/cl.el (defsetf): Doc fix.
193
b3871e59
SM
1942012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
197 syntax to the matching opener, if any (bug#12547).
198 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
199 matching open as a "case-(".
200 (sh-smie-rc-grammar): Add a corresponding rule for it.
201
cd44022c
DH
2022012-10-28 Daniel Hackney <dan@haxney.org>
203
204 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
205 "PKGNAME-autoloads.el" in case we created it.
206
70edffb1
SM
2072012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
208
86957a0c
SM
209 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
210 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 211 (completion--twq-all): Disable too-strict assertions.
86957a0c 212
70edffb1
SM
213 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
214
d069271c
EZ
2152012-10-27 Eli Zaretskii <eliz@gnu.org>
216
217 * profiler.el (profiler-report-make-entry-part): Fix help-echo
218 text to match the real keybindings.
219
e2f022a3
JL
2202012-10-27 Juri Linkov <juri@jurta.org>
221
222 * wdired.el (wdired-keep-marker-rename): New defcustom.
223 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
224 (Bug#11795)
225
226 * dired.el (dired-keep-marker-rename): Add reference to
227 `wdired-keep-marker-rename' in the docstring.
228 Add default character value ?R to display initially in
229 Customization UI instead of ?@.
230
df171c23
MR
2312012-10-27 Martin Rudalics <rudalics@gmx.at>
232
233 * window.el (display-buffer): In doc-string describe
234 window-height and window-width alist entries.
235
236 * time.el (display-time-world): Restore fit-window-to-buffer
237 behavior.
238
05b621a6
CY
2392012-10-27 Chong Yidong <cyd@gnu.org>
240
241 * subr.el (insert-buffer-substring-as-yank): Doc fix.
242
55f197b2
J
2432012-10-26 Jambunathan K <kjambunathan@gmail.com>
244
245 * minibuffer.el (completion-category-overrides): New completion
246 category `bookmark' (bug#11131).
247
372212df
SM
2482012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
249
150f809c
SM
250 * emacs-lisp/advice.el (ad-assemble-advised-definition):
251 Silence bogus compiler warnings for ad-do-it.
252
372212df
SM
253 * bookmark.el (bookmark-completing-read): Set the completion category
254 to `bookmark' (bug#11131).
255
c5772569
B
2562012-10-26 Bastien <bzg@altern.org>
257 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * face-remap.el: Use lexical-binding.
260 (text-scale-adjust): Improve docstring. Use itself for the temporary
261 overlay-map bindings, so as to repeat the "Use..." message each time.
262
a2be0357
SM
2632012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
264
63314e57
SM
265 * emacs-lisp/macroexp.el (macroexp--expand-all):
266 Obey byte-compile-warning-enabled-p (bug#12486).
267
a2be0357
SM
268 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
269 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
270
8c7727c3
MR
2712012-10-26 Martin Rudalics <rudalics@gmx.at>
272
273 * mouse.el (mouse-drag-line): Move last form into preceding when
274 clause (Bug#12731).
275
276 * help.el (resize-temp-buffer-window): Fix doc-string.
277
3f2a848d
DE
2782012-10-25 David Engster <deng@randomsample.de>
279
280 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 281 Remove. This feature is already integrated in imenu.
3f2a848d
DE
282
283 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
284 always loaded. Require `speedbar' unconditionally.
285
a7723be6
SM
2862012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
287
aaabfc8b
SM
288 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
289
414a8595
SM
290 * minibuffer.el (minibuffer-force-complete): Fix thinko.
291
fb5b9475
SM
292 * net/ldap.el (ldap-search-internal): The official ldif format starts
293 with a "version: 1" header (bug#12724).
294
a7723be6
SM
295 * emacs-lisp/package.el (package-installed-p): Warn if not ready
296 (bug#12721).
297
a05cb6e3
GM
2982012-10-25 Glenn Morris <rgm@gnu.org>
299
300 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
301
3c92de70
SM
3022012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * minibuffer.el (minibuffer-force-complete): Use one more marker
305 for the temporary-overlay-map command (bug#12619).
306
a4b6d7c6
CY
3072012-10-24 Chong Yidong <cyd@gnu.org>
308
309 * time.el (display-time-world-mode): Derive from special-mode.
310 (display-time-world): Use display-buffer (Bug#12708).
311 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
312 (display-time-world-display): Wrap the final delete-char inside
313 inhibit-read-only.
a4b6d7c6 314
75e8f9d2
CY
3152012-10-24 Chong Yidong <cyd@gnu.org>
316
cd996018
CY
317 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
318 Doc fix.
319
75e8f9d2
CY
320 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
321
d92df117
SM
3222012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * minibuffer.el (completion--all-sorted-completions-location): New var.
325 (completion--cache-all-sorted-completions)
326 (completion--flush-all-sorted-completions): Use it.
327 (completion-in-region, completion-in-region--postch)
328 (completion-at-point, completion-help-at-point): Use markers in
329 completion-in-region--data (bug#12619).
330
9c3e39f3
SM
3312012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
332
c79825bd
SM
333 * progmodes/compile.el (compilation-start): Try to handle common
334 quoting of `cd' argument (bug#12640).
335
9c3e39f3
SM
336 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
337 (bug#12671).
338
a6709bc7
GM
3392012-10-23 Glenn Morris <rgm@gnu.org>
340
341 * progmodes/gud.el (gud-menu-map):
342 Check gdb-active-process is bound. (Bug#12358)
343
d1069532
SM
3442012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
345
d20d69c0
SM
346 * repeat.el (repeat): Set real-this-command (bug#12232).
347
d1069532
SM
348 * htmlfontify.el (hfy-post-html-hook):
349 * filesets.el (filesets-cache-fill-content-hook):
350 * arc-mode.el (archive-extract-hook):
351 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
352 * net/rcirc.el (rcirc-sentinel-functions)
353 (rcirc-receive-message-functions, rcirc-activity-functions)
354 (rcirc-print-functions):
355 * net/dbus.el (dbus-event-error-functions):
356 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
357 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
358 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
359 * term/sun.el (sun-raw-prefix-hooks):
360 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
361
f7eac6d8
MA
3622012-10-23 Michael Albinus <michael.albinus@gmx.de>
363
d1069532
SM
364 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
365 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
366 (tramp-smb-wait-for-output): Add timeout to
367 `tramp-accept-process-output' calls.
368
608d9d7c
CY
3692012-10-23 Chong Yidong <cyd@gnu.org>
370
49238e7f
CY
371 * faces.el (font-list-limit): Define as an obsolete variable.
372
373 * startup.el (command-line):
374 * cus-start.el: Don't refer to font-list-limit.
375
608d9d7c
CY
376 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
377
4ff5b1b2
SM
3782012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * subr.el (internal-temp-output-buffer-show): Rename from
381 temp-output-buffer-show, since previously compiled files expect this name.
382
ea1d4aac
GM
3832012-10-23 Glenn Morris <rgm@gnu.org>
384
385 * image.el (image-type-from-file-name): If multiple types match,
386 return the first one that is supported. (Bug#9045)
387
eda82a31
GM
3882012-10-22 Glenn Morris <rgm@gnu.org>
389
390 * image.el (imagemagick-enabled-types): Doc fix.
391
4f020bec
TA
3922012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
393
394 * progmodes/which-func.el (which-func-current): The hash-table may have
395 an explicit nil (bug#12338).
396
c77d37e2
SM
3972012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * electric.el (electric-pair-delete-selection-self-insert-function):
400 Rename to electric-pair-will-use-region, return a boolean.
401 (electric-pair-mode): Adjust accordingly. Don't require delsel.
402
403 * delsel.el (delete-selection-helper): Use a function instead of a hook.
404 (delete-selection-pre-hook): Use use-region-p.
405 (delete-selection-self-insert-function): Remove.
406 (self-insert-command): Obey self-insert-uses-region-functions.
407 (self-insert-iso): Revert to previous setting, since we don't actually
408 know what that command does.
409 (delete-selection-self-insert-hooks): Remove.
410
b1d39ccc
SL
4112012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
412
413 * delsel.el (delete-selection-helper): New function, extracted from
414 delete-selection-pre-hook.
415 (delete-selection-pre-hook): Use it.
416 (delete-selection-self-insert-function): New function.
417 (delete-selection-self-insert-hooks): New hook.
418 (self-insert-command, self-insert-iso): Use it.
419 * electric.el (electric-pair-syntax): New function, extracted from
420 electric-pair-post-self-insert-function.
421 (electric-pair-post-self-insert-function): Use it.
422 (electric-pair-delete-selection-self-insert-function): New function.
423 (electric-pair-mode): Require delsel and setup
424 delete-selection-self-insert-hooks (bug#11520).
425
045ef729
CY
4262012-10-20 Chong Yidong <cyd@gnu.org>
427
4c5d08a8
CY
428 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
429 no changes to show (Bug#12586).
430
045ef729
CY
431 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
432 list explicitly (Bug#12571).
433
3503c798 4342012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 435
b1d39ccc
SL
436 * progmodes/flymake.el (flymake-create-temp-inplace):
437 Use file-truename.
79e1997a 438
2068905b
EZ
4392012-10-20 Eli Zaretskii <eliz@gnu.org>
440
441 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
442
4c9e9550
JB
4432012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
444
445 * calc/calc-units.el (math-extract-units): Properly extract powers
446 of units.
447
1a6e7e38
DC
4482012-10-20 Daniel Colascione <dancol@dancol.org>
449
450 * frame.el (make-frame): Set x-display-name as we used to in order
451 to unbreak creating an X11 frame from an Emacs daemon started
452 without a display.
453
8e808318
SM
4542012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * minibuffer.el (minibuffer-force-complete): Make the next completion use
457 the same completion-field (bug@12221).
458
fb0104da
MR
4592012-10-19 Martin Rudalics <rudalics@gmx.at>
460
461 * emacs-lisp/debug.el (debug): Record height of debugger window
462 also when debugger will be back (Bug#8789).
463
8c27235e
CY
4642012-10-18 Chong Yidong <cyd@gnu.org>
465
466 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
467 Convert to defcustom.
468 (gdb-get-source-file): Don't bind pop-up-windows.
469
470 * progmodes/gud.el (gud-display-line): Don't specially re-use
471 other frames for the gdb-mi case (Bug#12648).
472
90eacf99
SM
4732012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
474
aaf0c300
SM
475 * emacs-lisp/advice.el: Clean up commentary a bit.
476 (ad-do-advised-functions, ad-with-originals): Use `declare'.
477 (byte-code-function-p): Never redefine.
478
90eacf99
SM
479 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
480
281c9d2b
GM
4812012-10-18 Glenn Morris <rgm@gnu.org>
482
40714e3d
GM
483 * dired.el (dired-sort-toggle): Some ls implementations only allow
484 a single option string. (Bug#12666)
485
281c9d2b
GM
486 * minibuffer.el (completion-cycle-threshold): Doc fix.
487
b278604e
KH
4882012-10-17 Kenichi Handa <handa@gnu.org>
489
90eacf99
SM
490 * international/mule.el (set-keyboard-coding-system):
491 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
492 Supply TERMINAL arg to set-input-meta-mode.
493
df171c23 4942012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
495
496 * wdired.el (wdired-old-marks): New variable.
497 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
498 (wdired-do-renames): Move point with renamed file and don't lose
499 mark status (Bug#11795).
500
e5a94ec4
JL
5012012-10-16 Juri Linkov <juri@jurta.org>
502
503 * replace.el (query-replace-help): Mention multi-buffer replacement
504 keys in the Help message. (Bug#12655)
505
d18a0d24
CY
5062012-10-15 Chong Yidong <cyd@gnu.org>
507
508 * emacs-lisp/byte-run.el (defsubst): Doc fix.
509
8111f5e6
EZ
5102012-10-14 Eli Zaretskii <eliz@gnu.org>
511
7b9abf24
EZ
512 * window.el (display-buffer): Doc fix.
513
8111f5e6
EZ
514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
515 Adjust the msft regexp to the output of Studio 2010, and move msft
516 before edg-1. See the discussion on emacs-devel,
517 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
518 for the details.
519
5046ef67
SM
5202012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
521
9760c73c
SM
522 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
523 (oset): Move uses of object-class-fast macro after its definition.
524
5046ef67
SM
525 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
526
0d11ff1c
CY
5272012-10-13 Chong Yidong <cyd@gnu.org>
528
529 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
530 enabled, re-enable it (Bug#11963).
531
88ded8ac
MR
5322012-10-13 Martin Rudalics <rudalics@gmx.at>
533
534 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
535 non-nil, restore window configuration (Bug#12623).
536
bd0ffffd
SM
5372012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
538
06485aa8
SM
539 * help-fns.el (describe-variable, describe-function-1):
540 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
541
bd0ffffd
SM
542 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
543
3a989246
GM
5442012-10-12 Glenn Morris <rgm@gnu.org>
545
546 * mail/rmailsum.el (rmail-header-summary):
547 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
548
55cd00c8
FEG
5492012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
550
bd0ffffd
SM
551 * progmodes/python.el (python-mode-map):
552 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
553 (python-nav--up-list): Fix behavior for blocks on the same level.
554
ac9fc2c7
SM
5552012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
556
d8cc4c00 557 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 558
5253a5fd
SM
559 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
560 changes to the format of load-history.
561
ac9fc2c7
SM
562 * international/mule-cmds.el (read-char-by-name): Move let-binding of
563 completion-ignore-case in case that var is buffer-local (bug#12615).
564
cde44a77
KH
5652012-10-11 Kenichi Handa <handa@gnu.org>
566
567 * international/eucjp-ms.el: Re-generated.
568
4ef4a10d
KH
5692012-10-10 Kenichi Handa <handa@gnu.org>
570
571 * select.el (xselect--encode-string): If a coding is specified for
572 selection, and that is compatible with COMPOUND_TEXT, use it.
573
9d7f027b
MR
5742012-10-10 Martin Rudalics <rudalics@gmx.at>
575
576 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
577 (switch-to-buffer):
578 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 579
238f3a58
SM
5802012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
583 Don't document nil as a useful value (bug#12583).
584
1d51f99c
MA
5852012-10-09 Michael Albinus <michael.albinus@gmx.de>
586
238f3a58
SM
587 * net/tramp.el (tramp-debug-message):
588 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
589 (with-tramp-progress-reporter): Rename from
590 `tramp-with-progress-reporter'.
238f3a58
SM
591 (with-tramp-file-property, with-tramp-connection-property):
592 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
593 `with-connection-property', respectively.
594
595 * net/tramp-cache.el: Remove `with-file-property' and
596 `with-connection-property'.
597
598 * net/tramp.el:
599 * net/tramp-gvfs.el:
600 * net/tramp-sh.el:
601 * net/tramp-smb.el: Adapt callees.
602
603 * net/trampver.el: Update release number.
604
26b77251
GM
6052012-10-09 Glenn Morris <rgm@gnu.org>
606
9a5f296f
GM
607 * w32-fns.el (set-message-beep):
608 * term/w32-win.el (set-message-beep): Update declarations.
609
94c66ce5
SM
6102012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
611
10766e9e
SM
612 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
613 (mode-line-widen, mode-line-input-method-map)
614 (mode-line-coding-system-map, mode-line-remote)
615 (mode-line-unbury-buffer, mode-line-bury-buffer)
616 (mode-line-next-buffer, mode-line-previous-buffer):
617 Replace save-selected-window+select-window => with-selected-window.
618
f754db08
SM
619 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
620 * progmodes/cc-vars.el (bq-process): Remove, unused.
621
94c66ce5
SM
622 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
623
a4ff7fe1
FEG
6242012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
625
626 Implemented `backward-up-list'-like navigation.
627 * progmodes/python.el (python-nav-up-list)
628 (python-nav-backward-up-list): New functions.
629 (python-mode-map): Define substitute key for backward-up-list to
630 python-nav-backward-up-list.
631
24517d82
FEG
6322012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
633
634 * progmodes/python.el (python-fill-paragraph): Rename from
635 python-fill-paragraph-function. Fixed fill-paragraph for
636 decorators (Bug#12605).
637
51867ae2
FEG
6382012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
639
640 * progmodes/python.el (python-shell-output-filter): Handle extra
641 carriage return in OSX (Bug#12409).
642
a5b773c4
FEG
6432012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
644
645 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 646 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
647 (python-syntax-propertize-function): Use it.
648 (python-shell-output-syntax-table): New var.
649 (inferior-python-mode): Prevent unbalanced parens/quotes from
650 previous output mess with current input context.
651
13373538
JB
6522012-10-08 Juanma Barranquero <lekktu@gmail.com>
653
654 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
655 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
656
775a132d
MA
6572012-10-08 Michael Albinus <michael.albinus@gmx.de>
658
659 * ffap.el (ffap-replace-file-component): Support Tramp file name
660 syntax, not only ange-ftp's one.
661
3ab44929
GM
6622012-10-08 Glenn Morris <rgm@gnu.org>
663
57f1dee4
GM
664 * cus-start.el (message-log-max): Set :version.
665
3ab44929
GM
666 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
667
6a088630
MR
6682012-10-08 Martin Rudalics <rudalics@gmx.at>
669
670 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
671 the minibuffer window (Bug#10851).
672
8dbce54c
FEG
6732012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
674
675 Enhancements on forward-sexp movement.
676 * progmodes/python.el (python-nav-beginning-of-statement)
677 (python-nav-end-of-statement): Return point-marker.
678 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
679 (python-info-current-symbol)
680 (python-info-statement-starts-block-p): Rename from
681 python-info-beginning-of-block-p.
682 (python-info-statement-ends-block-p): Rename from
683 python-info-end-of-block-p.
684 (python-info-beginning-of-statement-p)
685 (python-info-end-of-statement-p)
686 (python-info-beginning-of-block-p, python-info-end-of-block-p):
687 New functions.
688
5acd2b3e
SM
6892012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
692 frame-selected-windows.
693
e08348a0
DC
6942012-10-08 Daniel Colascione <dancol@dancol.org>
695
696 * battery.el (battery-status-function): Check for
697 w32-battery-status itself, not system-time windows-nt.
698
699 * frame.el: Require cl-lib.
700 (display-format-alist): New variable mapping frame types to
701 functions that initialize them.
702 (window-system-for-display): New function: interprets
703 display-format-alist.
704 (make-frame-on-display): Remove existing display-selection logic
705 and just forward to make-frame, which will now DTRT.
706 (make-frame): Restructure to use window-system-for-display to
707 figure out how to create a frame on a given display.
708 (display-mouse-p): Look for frame-type w32, not a particular
709 system-type.
710
711 * loadup.el: Load w32 lisp code when we have the w32 feature.
712
713 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
714 system-type windows-nt.
715
716 * server.el (server-create-window-system-frame): Look for window
717 type.
718 (server-proces-filter): Only force a window system when windows-nt
719 _and_ w32. Explain why.
720
721 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
722 of window systems we configure for the mode.
723
724 * startup.el (command-line): Mark window system is initialized
725 after we've done it.
726
727 * common-win.el (x-select-text): Look for w32, not windows-nt.
728
729 * ns-win.el: Require cl-lib. Add ourselves to
730 display-format-alist.
731 (ns-initialize-window-system): Assert we're not initialized twice.
732
733 * w32-win.el: Enable lexical binding; require cl-lib; add
734 ourselves to display-format-alist.
735 (w32-handle-dropped-file): Convert incoming dropped files from
736 Windows paths to Cygwin ones before passing them on to the rest of
737 Emacs.
738 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
739 (w32-initialize-window-system): Assert we're not initialized twice.
740
741 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
742 (x-initialize-window-system): Assert we're not initialized twice.
743
744 * w32-common-fns.el: New File.
745 (w32-version, w32-using-nt, w32-get-clipboard-data)
746 (w32-set-clipboard-data, x-set-selection, x-get-selection)
747 (w32-charset-info-alist, x-last-selected, text)
748 (x-get-selection-value, x-selection-value): Move here.
749
750 * w32-fns.el: Require w32-common-fns.
751 (w32-version, w32-using-nt, w32-get-clipboard-data)
752 (w32-set-clipboard-data, x-set-selection, x-get-selection)
753 (w32-charset-info-alist, x-last-selected, text)
754 (x-get-selection-value, x-selection-value): Move to
755 w32-common-fns.
756
757 * w32-vars.el:
758 (w32-allow-system-shell, w32-system-shells): Define only in
759 non-cygwin case.
760
795b1482
SM
7612012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
764 (read-passwd): Remove a few more potential sources of leaks.
765
f27c99dc
FEG
7662012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
767
768 * progmodes/python.el (inferior-python-mode)
795b1482 769 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
770 variables copied from parent buffer.
771
fcacb558
JD
7722012-10-07 Jan Djärv <jan.h.d@swipnet.se>
773
774 * term/ns-win.el (ns-read-file-name): Update declaration to match
775 nsfns.m.
776 (ns-respond-to-change-font): Change fontsize separatly so we are sure
777 it is set when font is acted upon.
778
be0d5bae
FEG
7792012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
780
781 Enhancements to indentation.
782 * progmodes/python.el (python-indent-context): Give priority to
783 inside-string context. Make comments indentation markers.
784 (python-indent-region): Do not mess with strings, unless it's the
785 enclosing set of quotes.
786
13af0d10
SM
7872012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
788
662a9d0e
SM
789 * window.el (internal--before-save-selected-window)
790 (internal--after-save-selected-window): New functions extracted from
791 save-selected-window. Make sure we return the `alist' we construct.
792 (save-selected-window): Use them.
793
794 * textmodes/tex-mode.el (tex-recenter-output-buffer):
795 Use with-selected-window.
796
13af0d10
SM
797 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
798 forms that define macros (bug#12593).
799
6aa75fb6
KH
8002012-10-07 Kenichi Handa <handa@gnu.org>
801
13af0d10
SM
802 * international/mule-conf.el (compound-text-with-extensions):
803 Add :mime-charset property as x-ctext.
6aa75fb6 804
78d876b9
SM
8052012-10-07 Stefan Merten <smerten@oekonux.de>
806
807 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
808 (rst-indent-literal-normal, rst-indent-literal-minimized)
809 (rst-indent-comment): Correct :version tag.
557337e9 810 (rst-official-cvs-rev): Correct version string.
78d876b9 811
99a1e701
GM
8122012-10-07 Glenn Morris <rgm@gnu.org>
813
814 * mail/rmailmm.el (rmail-mime-process-multipart):
815 Do not confuse a multipart message with an epilogue
816 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
817
08f18c3d
FEG
8182012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
819
820 Fix shell output retrieval and comint-prompt-regexp init.
821 * progmodes/python.el (inferior-python-mode):
822 (python-shell-make-comint): Fix initialization of
823 comint-prompt-regexp from copied file local variables.
824 (python-shell-fetched-lines): Remove var.
825 (python-shell-output-filter-in-progress): Rename from
826 python-shell-fetch-lines-in-progress.
827 (python-shell-output-filter-buffer): Rename from
828 python-shell-fetch-lines-string.
829 (python-shell-fetch-lines-filter): Delete function.
830 (python-shell-output-filter): New function.
831 (python-shell-send-string-no-output): Use them.
832
82ed3ab4
GM
8332012-10-07 Glenn Morris <rgm@gnu.org>
834
1595ecfa
GM
835 * hi-lock.el (hi-lock-process-phrase):
836 Try to make it less fragile. (Bug#7161)
837
82ed3ab4
GM
838 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
839
f1f4dba0
GM
8402012-10-06 Glenn Morris <rgm@gnu.org>
841
addc11ed 842 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
843 non-existent mode `help'.
844 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 845
460042b8
GM
846 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
847 (reftex-create-bibtex-footer): Fix custom types.
848
67667c70
GM
849 * progmodes/sh-script.el (sh-indent-after-continuation):
850 Add explicit :group.
851
18dec750
GM
852 * textmodes/rst.el (rst-preferred-decorations)
853 (rst-shift-basic-offset): Clarify obsolescence versions.
854
d1a1c7e6
GM
855 * profiler.el (profiler): Add missing group :version tag.
856 * avoid.el (mouse-avoidance-banish-position):
857 * proced.el (proced-renice-command):
858 * calc/calc.el (calc-ensure-consistent-units):
859 * calendar/icalendar.el (icalendar-import-format-uid):
860 * net/tramp.el (tramp-save-ad-hoc-proxies):
861 * progmodes/bug-reference.el (bug-reference-bug-regexp):
862 * progmodes/flymake.el (flymake-error-bitmap)
863 (flymake-warning-bitmap, flymake-fringe-indicator-position):
864 * progmodes/sh-script.el (sh-indent-after-continuation):
865 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
866 (verilog-before-save-font-hook, verilog-after-save-font-hook):
867 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
868 (vhdl-array-index-record-field-in-sensitivity-list)
869 (vhdl-indent-comment-like-next-code-line):
870 * textmodes/reftex-vars.el (reftex-ref-style-alist)
871 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
872 (reftex-cite-key-separator, reftex-create-bibtex-header)
873 (reftex-create-bibtex-footer):
874 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
875 (rst-indent-literal-normal, rst-indent-literal-minimized)
876 (rst-indent-comment): Add missing custom :version tags.
877
ef35abb4
GM
878 * calendar/timeclock.el (timeclock-modeline-display):
879 Add missing obsolete alias for renamed user option.
880
d1aae614
GM
881 * strokes.el (strokes-modeline-string):
882 * emulation/crisp.el (crisp-mode-modeline-string):
883 * eshell/esh-mode.el (eshell-status-in-modeline):
884 Aliases to defcustoms must come before the defcustom.
885
f1f4dba0
GM
886 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
887 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
888 (cal-tex-cursor-week-monday): Doc fixes.
889 (cal-tex-cursor-week2-summary): Doc fix.
890 Rename from cal-tex-cursor-week-at-a-glance.
891
892 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
893 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
894
895 * calendar/calendar.el (calendar-mode-map):
896 Add cal-tex-cursor-week2-summary.
897
d39109c3
SM
8982012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
899
685f87b0
SM
900 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
901
d39109c3
SM
902 * subr.el (read-passwd-map): New var.
903 (read-passwd): Use `read-string' again.
904 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
905
5694896d
J
9062012-10-06 Jambunathan K <kjambunathan@gmail.com>
907
908 * register.el (append-to-register, prepend-to-register):
909 Deactivate mark, as does `copy-to-register' (bug#12389).
910
9414dd8d
CY
9112012-10-06 Chong Yidong <cyd@gnu.org>
912
913 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
914
2b89bca4
KH
9152012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
916
917 * international/characters.el: Fix simple mistake ((car chars) ->
918 elt), delete duplicated code.
919
d5acb99a
GM
9202012-10-06 Glenn Morris <rgm@gnu.org>
921
922 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
923
123ec157
JS
9242012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
925
926 * color.el (color-hsl-to-rgb): Fix incorrect results for
927 small and large hue values. (Bug#12559)
928
7fa36ccb
FEG
9292012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
930
931 Enhancements to docstring formatting when filling paragraphs.
932 * progmodes/python.el (python-fill-docstring-style): Rename from
933 python-fill-string-style. Added new style.
934 (python-fill-string): Use new style. Better checks for
935 docstrings.
936
d8788e1e
GM
9372012-10-05 Glenn Morris <rgm@gnu.org>
938
204f3953
GM
939 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
940
d8788e1e
GM
941 * color.el (color-name-to-rgb, color-rgb-to-hex)
942 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
943 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
944 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
945 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
946
8d956cef
GM
947 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
948
e8757f09 9492012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
950
951 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
952 to get the correct size across symlinks.
953
e8757f09
GM
954 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
955
0e2ae83d
JL
9562012-10-04 Juri Linkov <juri@jurta.org>
957
958 * replace.el (query-replace-interactive): Declare obsolete.
959 (query-replace-read-from): Add the last incremental search string
960 to the list of default values accessible via M-n.
961 (map-query-replace-regexp): Use `read-regexp'.
962 (query-replace, query-replace-regexp, query-replace-regexp-eval)
963 (map-query-replace-regexp, replace-string, replace-regexp):
964 Fix docstrings to replace mentions of `query-replace-interactive'
965 with alternatives. (Bug#12526)
966
93cacb6d
JL
9672012-10-04 Juri Linkov <juri@jurta.org>
968
969 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
970 (dired-pop-to-buffer): Declare obsolete.
971 (dired-mark-pop-up): Doc fix.
972
fc345011
FEG
9732012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
974
975 Allow user to set docstring style for fill-paragraph.
976 * progmodes/python.el
977 (python-fill-comment-function, python-fill-string-function)
978 (python-fill-decorator-function, python-fill-paren-function):
979 Remove :safe for defcustoms.
980 (python-fill-string-style): New defcustom
5694896d 981 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
982 (python-fill-string): Honor python-fill-string-style settings.
983
6bab5d8b
MR
9842012-10-04 Martin Rudalics <rudalics@gmx.at>
985
986 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
987 after setting its buffer (Bug#10805).
988
a1a9f411
FEG
9892012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
990
991 Fix cornercase for string syntax.
992 * progmodes/python.el (python-syntax-propertize-function):
993 Simplify and enhance the regexp for unescaped quotes. Now it also
994 matches quotes in weird situations like the single quote in
995 "something\"'".
996 (python-syntax-stringify): Simplify num-quotes detecting code.
997
05e153a6
GM
9982012-10-03 Glenn Morris <rgm@gnu.org>
999
1000 * help-macro.el (three-step-help):
1001 Revert 2012-09-29 change. (Bug#12567)
1002
2e566ecb
MR
10032012-10-03 Martin Rudalics <rudalics@gmx.at>
1004
96ef9ccd
MR
1005 * menu-bar.el (kill-this-buffer): Don't do anything when
1006 `menu-frame' is not alive or visible (Bug#8184).
1007
2e566ecb
MR
1008 * emacs-lisp/debug.el (debug): When quitting the debugger window
1009 restore current buffer (Bug#12502).
1010
a96e1cb7
CY
10112012-10-02 Chong Yidong <cyd@gnu.org>
1012
5694896d
J
1013 * progmodes/hideif.el (hif-lookup, hif-defined):
1014 Handle semantic-c-takeover-hideif.
a96e1cb7 1015
b3ecad33
PE
10162012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1017
1018 Change sampling interval units from ms to ns.
1019 * profiler.el (profiler-sampling-interval): Change units
1020 from ms to ns, multiplying the default by 1000000 so that
1021 it remains 1 ms.
1022 (profiler-report-cpu-line-format): Give enough room for
1023 the maximum counters on 64-bit hosts.
1024 (profiler-report-render-calltree-1): Call them "CPU samples",
1025 not "Time (ms)", since they are not milliseconds now (and
1026 never really were).
1027
8cb51b66 10282012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1029
5694896d
J
1030 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1031 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1032
fd795bf4
CY
10332012-10-02 Chong Yidong <cyd@gnu.org>
1034
1035 * emacs-lisp/eieio.el: Restore Version header.
1036
fe0a74f9
SM
10372012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1038
6be9197e
SM
1039 * vc/diff-mode.el (diff--auto-refine-data): New var.
1040 (diff-hunk): Use it to delay refinement.
1041 (diff-mode): Remove overlays when we turn off font-lock.
1042
18486139
SM
1043 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1044 (table-initialize-table-fixed-width-mode)
1045 (table-set-table-fixed-width-mode): Remove functions.
1046 (table-command-list): Move initialization into declaration.
1047 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1048 (table-with-cache-buffer): Use `declare'.
1049 (table-span-cell): Simplify via CSE.
1050 (table-fixed-width-mode): Use define-minor-mode.
1051 (table-call-interactively, table-funcall, table-apply): Remove.
1052 (table-function): New function, to replace them.
1053
d83ef976
SM
1054 * bookmark.el (bookmark-search-pattern): Remove var.
1055 (bookmark-read-search-input): Remove function.
1056 (bookmark-bmenu-search): Reimplement using a minibuffer.
1057
cd386662
SM
1058 * faces.el (modeline): Remove obsolete face name.
1059
fe0a74f9
SM
1060 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1061 and give a non-nil default value.
1062 (add-change-log-entry): Simplify accordingly.
1063
9f7b98f8
DG
10642012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1065
1066 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1067 (vc-git-log-edit-toggle-amend): New function.
1068 (vc-git-log-edit-toggle-signoff): New function.
1069 (vc-git-log-edit-mode): New major mode.
1070 (vc-git-log-edit-mode-map): Keymap for it.
1071 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1072
1073 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1074 header names.
1075 (log-edit-toggle-header): New function.
1076 (log-edit-extract-headers): Accept function values in HEADERS alist.
1077
62a81506
CY
10782012-10-01 David Engster <deng@randomsample.de>
1079
1080 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1081 from symbol property and change message to be more consistent with
1082 Emacs proper.
1083 (eieio-describe-generic): Add filename for each implementation.
1084 Fix indices for generic and normal methods.
1085 (eieio-method-def, eieio-class-def): New buttons.
1086 (eieio-help-find-method-definition)
1087 (eieio-help-find-class-definition): New functions.
1088 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1089 class, constructor and method definitions.
1090
1091 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1092 information in symbol property.
1093 (scoped-class): Remove.
1094 (eieio-slot-name-index, call-next-method): Check if it is bound.
1095
10962012-10-01 Leo P. White <lpw25@cam.ac.uk>
1097
1098 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1099 (eieio-custom-mode): New major mode.
1100 (eieio-customize-object): Use it.
1101
11022012-10-01 Eric Ludlam <zappo@gnu.org>
1103
1104 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1105 specifying the expected class, and whether subclassing is allowed.
1106 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1107 (eieio-persistent-validate/fix-slot-value)
1108 (eieio-persistent-slot-type-is-class-p): New functions.
1109 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1110
1111 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1112 Stop using unused publd variable.
1113
1114 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1115 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1116 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1117 (eieio-speedbar-handle-click): Do not specify a class for the
1118 method. Fixes method invocation order problems with EDE.
1119
375e49d4
SM
11202012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1123 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1124
16ce6ccd
KF
11252012-10-01 Karl Fogel <kfogel@red-bean.com>
1126
1127 * bookmark.el (bookmark-version-control): Give tags in the
1128 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1129 (bookmark-write-file): Bind `print-circle' to `t' to allow
1130 circular custom bookmark types. (Bug#12503)
16ce6ccd 1131
19e54a4d
PE
11322012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1133
86ec63ba
PE
1134 Revert the FOLLOW-SYMLINKS change for file-attributes.
1135 * files.el (remote-file-name-inhibit-cache, after-find-file):
1136 * time.el (display-time-file-nonempty-p): Undo last change.
1137
19e54a4d
PE
1138 * profiler.el (profiler-sampling-interval): Change default back to 1.
1139 See Stefan Monnier in
1140 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1141
0478776b
FEG
11422012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1143
1144 Shell output catching a la gud-gdb.
1145 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1146 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1147 New Vars.
0478776b
FEG
1148 (python-shell-fetch-lines-filter): New function.
1149 (python-shell-send-string-no-output): Use them.
1150
c22bac2c
TM
11512012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1152
1153 * profiler.el (profiler-sampling-interval): Rename from
1154 profiler-sample-interval.
1155 (profiler-sampling-interval): Default to 10.
1156 (profiler-find-profile): New command (was profiler-find-log).
1157 (profiler-find-profile-other-window): New command.
1158 (profiler-find-profile-other-frame): New command.
1159 (profiler-profile): Introduce API-level data structure.
1160
e7a2937b
PE
11612012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1162
1163 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1164 * files.el (remote-file-name-inhibit-cache):
1165 * time.el (display-time-file-nonempty-p): Use it.
1166 * files.el (after-find-file): Don't chase links before calling
1167 file-exists-p, as file-exists-p already does the right thing.
1168
4f595e15
RA
11692012-09-30 Ralf Angeli <angeli@caeruleus.net>
1170
1171 Merge from standalone RefTeX repository.
1172
1173 The following ChangeLog entries are shortened versions of the
1174 original ones with file paths adapted. A not so strongly edited
1175 version of the original ChangeLog can be found in the commit log.
1176
1177 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1178 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1179 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1180
1181 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1182 that entries with whitespace at various places are found.
1183 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1184 Include @String definitions in the resulting bib file. Add header
1185 and footer defined in `reftex-create-bibtex-header' and
1186 `reftex-create-bibtex-footer'.
1187 (reftex-do-citation): Make it possible again to insert
1188 non-existent entries. Save match data when asking for optional
1189 arguments. Return all keys, not just the first one.
1190 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1191 all citations in the same line.
1192 (reftex-parse-bibtex-entry): Accept additional optional argument
1193 `raw' and keep quotes or braces if it is non-nil. Match fields
1194 containing hyphens besides word constituents.
1195 (reftex-get-string-refs): New function.
1196 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1197 and ask if it should be reread in case it did.
1198 (reftex-pop-to-bibtex-entry)
1199 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1200 entries with spaces or tabs in front of arguments.
1201 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1202 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1203 Match entries containing numbers and symbol constituents.
1204 (reftex-do-citation, reftex-figure-out-cite-format):
1205 Use `reftex-cite-key-separator'.
4f595e15
RA
1206
1207 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1208 (reftex-mouse-view-crossref): Explain why point is set.
1209
1210 * textmodes/reftex-global.el: Whitespace changes.
1211
1212 * textmodes/reftex-index.el: Move provide statement to end of
1213 file.
1214 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1215 (reftex-index-visit-phrases-buffer): Set marker when visiting
1216 buffer. This allows for returning from the phrases file to the
1217 file one was just editing instead of the file where the last
1218 phrases was added from.
1219 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1220 punctuation syntax as it usually is not used as string quote in
1221 TeX-related modes and may occur unmatched. The change also
1222 prevents fontification of quoted content.
1223 (reftex-index-phrases-mode): Use it.
1224
375e49d4
SM
1225 * textmodes/reftex-parse.el (reftex-parse-from-file):
1226 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1227 (reftex-parse-from-file): Use beginning of match instead of end as
1228 bound.
1229
1230 * textmodes/reftex-ref.el: Adapt creation of
1231 `reftex-<package>-<macro>' functions to new structure of
1232 `reftex-ref-style-alist'.
375e49d4
SM
1233 (reftex-reference): Use `reftex-ref-style-list' function.
1234 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1235 reference macro if `reftex-ref-macro-prompt' is non-nil.
1236 (reftex-reference): Pass refstyle to `reftex-format-special'.
1237 Determine reference macro by looking at
375e49d4
SM
1238 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1239 Use only one special format function.
4f595e15
RA
1240 (reftex-varioref-vref, reftex-fancyref-fref)
1241 (reftex-fancyref-Fref): Remove definitions. The functions are now
1242 generated from `reftex-ref-style-alist'.
1243 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1244 Remove.
1245 (reftex-format-special): New function.
1246
1247 * textmodes/reftex-sel.el
1248 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1249 of `reftex-ref-style-alist'. Remove code for testing macro type.
1250 (reftex-select-toggle-varioref)
1251 (reftex-select-toggle-fancyref): Remove.
1252 (reftex-select-cycle-ref-style-internal)
1253 (reftex-select-cycle-ref-style-forward)
1254 (reftex-select-cycle-ref-style-backward): New functions.
1255 (reftex-select-label-map): Use `v' and `V' for general cycling
1256 through reference styles. Add `p' for switching between number
1257 and page reference types.
1258
375e49d4
SM
1259 * textmodes/reftex-toc.el (reftex-re-enlarge):
1260 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1261 the horizontal version throws an error even if the parameter is 0.
1262
1263 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1264 (reftex-plug-into-AUCTeX): Doc fix.
1265 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1266 string. Adapt to new name.
1267 (reftex-ref-style-alist): Change structure so that it is not
1268 possible to use multiple different package names within a style.
375e49d4
SM
1269 Remove the symbols for symbols for macro type distinction.
1270 Add characters for macro selection.
4f595e15
RA
1271 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1272 (reftex-create-bibtex-footer): New variables.
1273 (reftex-format-ref-function): Mention third argument of special
1274 format function.
375e49d4
SM
1275 (reftex-ref-style-alist, reftex-ref-style-default-list):
1276 New variables.
4f595e15
RA
1277 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1278 to new implementation. Mark as obsolete. Add compatibility code
1279 for honoring the variable values in case they are set.
375e49d4
SM
1280 (reftex-cite-format-builtin, reftex-bibliography-commands):
1281 Add support for ConTeXt.
1282 (reftex-format-ref-function, reftex-format-cite-function):
1283 Fix custom type.
4f595e15
RA
1284 (reftex-cite-key-separator): New variable.
1285
1286 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1287 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1288 `reftex-syntax-table' because parens have to retain their paren
1289 syntax in order for parsing of BibTeX entries like @book(...) to
1290 work.
1291 (reftex-in-comment): Do not error out if `comment-start-skip' is
1292 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1293 (reftex-tie-multifile-symbols): Add doc string.
1294 Initialize `reftex-ref-style-list'.
4f595e15
RA
1295 (reftex-untie-multifile-symbols): Add doc string.
1296 (reftex-add-index-macros): Doc fix.
1297 (reftex-ref-style-activate, reftex-ref-style-toggle)
1298 (reftex-ref-style-list): New functions.
1299 (reftex-mode-menu): Use them. Adapt to new structure of
1300 `reftex-ref-style-alist'.
1301 (reftex-select-with-char): Kill the RefTeX Select buffer when
1302 done.
1303 (reftex-remove-if): New function.
1304 (reftex-erase-all-selection-and-index-buffers)
1305 (reftex-mode-menu): Reference styles are now computed from
1306 `reftex-ref-style-alist'. Fix typo.
1307 (reftex-report-bug): New function.
1308 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1309 algorithms with O(n log n). Introduce optional argument SORT (not
1310 yet used).
1311
440ba395
FEG
13122012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1313
1314 Enhancements for triple-quote string syntax.
375e49d4
SM
1315 * progmodes/python.el (python-syntax-propertize-function):
1316 Match both quote cases in one regexp.
440ba395
FEG
1317 (python-syntax-stringify): Handle matches properly.
1318
4c478e6b
JL
13192012-09-30 Juri Linkov <juri@jurta.org>
1320
1321 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1322 to nil around the call to `insert' to prevent
4c478e6b
JL
1323 directory time modification by lock_file. (Bug#2295)
1324 * tar-mode.el (tar-summarize-buffer): Idem.
1325
d80d54b2
JL
13262012-09-30 Juri Linkov <juri@jurta.org>
1327
1328 * facemenu.el (list-colors-sort): Add option "Luminance".
1329 (list-colors-sort-key): Implement it.
1330
1331 * vc/diff-mode.el (diff-refine-removed):
1332 * vc/ediff-init.el (ediff-fine-diff-A):
1333 * vc/smerge-mode.el (smerge-refined-removed):
1334 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1335
d7e642cc
JD
13362012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1337
1338 * term/ns-win.el (x-file-dialog): New function.
1339
ee41332b
JB
13402012-09-30 Juanma Barranquero <lekktu@gmail.com>
1341
1342 * ido.el (ido-max-directory-size): Default to nil; the current
1343 default is small for POSIX systems, and impractical on Windows 7
1344 now that lstat returns directory sizes for NTFS.
1345
5938d519
MR
13462012-09-30 Martin Rudalics <rudalics@gmx.at>
1347
1348 In buffer display functions handle window-height/window-width
1349 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1350 * window.el (window--display-buffer): New argument ALIST.
1351 Obey window-height and window-width alist entries.
1352 (window--try-to-split-window): New argument ALIST.
1353 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1354 changed and window-combination-limit equals `window-size'.
1355 (display-buffer-in-atom-window)
1356 (display-buffer-in-major-side-window)
1357 (display-buffer-in-side-window, display-buffer-same-window)
1358 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1359 (display-buffer-pop-up-window, display-buffer-below-selected)
1360 (display-buffer-at-bottom, display-buffer-in-previous-window)
1361 (display-buffer-use-some-window): Adjust all callers of
1362 window--display-buffer and window--try-to-split-window.
1363 (fit-frame-to-buffer): New option.
1364 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1365 is non-nil.
1366 (display-buffer-in-major-side-window): Evaluate window-height /
1367 window-width alist entries.
1368
1369 * help.el (temp-buffer-resize-frames)
1370 (temp-buffer-resize-regexps): Remove options.
1371 (temp-buffer-resize-mode): Adjust doc-string.
1372 (resize-temp-buffer-window): Don't consult
1373 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1374 temp-buffer-resize-frames.
1375
375e49d4
SM
1376 * dired.el (dired-mark-pop-up):
1377 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1378 entry.
1379
c4c0c2df
CY
13802012-09-30 Chong Yidong <cyd@gnu.org>
1381
48de8b12
CY
1382 * server.el (server-host): Document the security implications.
1383 (server-auth-key): Doc fix.
1384
1385 * startup.el (initial-buffer-choice): Doc fix.
1386
1387 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1388
a97dc380
CY
1389 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1390 restriction change.
1391
d39d3c8e
CY
1392 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1393
c4c0c2df
CY
1394 * help-fns.el (help-fns--obsolete): Fix last change.
1395
98a5e33b
SM
13962012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1397
34cf6f39
SM
1398 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1399 (minor-mode-map-alist): Remove redundant code.
1400
e01c13fe
SM
1401 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1402 visited in a buffer.
1403 (cvs-insert-visited-file): New function.
1404 (find-file-hook): Use it.
1405
1406 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1407
02661b3a
SM
1408 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1409 chose face.
1410 (log-edit-empty-buffer-p): Don't require a space after a header.
1411
43711d4b
SM
1412 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1413
38a30d64
SM
1414 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1415
4ffb41a9
SM
1416 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1417 a proper minor-mode.
1418
98a5e33b
SM
1419 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1420
de82e29b
GM
14212012-09-29 Glenn Morris <rgm@gnu.org>
1422
5cc2e639
GM
1423 * winner.el (winner-mode): Remove variable (let define-minor-mode
1424 handle it).
1425 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1426 Doc fixes.
1427 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1428 (winner-mode): Use define-minor-mode.
1429
7bd302eb
GM
1430 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1431 the full definition in loaddefs, rather than duplicating it.
1432
2923922f 1433 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1434
0e3e4156
GM
1435 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1436 (inferior-lisp-program, inferior-lisp-load-command)
1437 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1438 No need to autoload defcustoms.
0e3e4156 1439
de82e29b
GM
1440 * hippie-exp.el (hippie-expand-try-functions-list)
1441 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1442 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1443 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1444 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1445 * progmodes/vhdl-mode.el (vhdl-line-expand):
1446 Explicitly load hippie-exp, so it does not get autoloaded
1447 while hippie-expand-try-functions-list is let-bound.
1448
e60b51ab
GM
14492012-09-28 Glenn Morris <rgm@gnu.org>
1450
277f0cfa
GM
1451 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1452
e60b51ab
GM
1453 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1454 Only "cl.el" counts as cl these days.
1455
53baf48a
JL
14562012-09-28 Juri Linkov <juri@jurta.org>
1457
1458 Display archive errors in the echo area instead of inserting
1459 to the file buffer.
1460
1461 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1462 to STDERR-TEST that can be a regexp matching a successful output.
1463 Create a temporary file and redirect stderr to it. Search for
1464 STDERR-TEST in the stderr output and display it in the echo area
1465 if no match is found.
1466 (archive-extract-by-file): New function like
1467 `archive-extract-by-stdout' but extracting archives to files
1468 and looking for successful matches in stdout. Function body is
1469 mostly copied from `archive-rar-extract'.
1470 (archive-rar-extract): Use `archive-extract-by-file'.
1471 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1472
9c1228c3
LL
14732012-09-28 Leo Liu <sdl.web@gmail.com>
1474
375e49d4
SM
1475 * pcomplete.el (pcomplete-show-completions):
1476 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1477
9c1228c3
LL
1478 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1479
7f457c06
SM
14802012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1481
3df749b0
SM
1482 * type-break.el: Use lexical-binding.
1483 (type-break-mode): Use define-minor-mode.
1484
7f457c06
SM
1485 * emacs-lisp/pcase.el (pcase--mark-used): New.
1486 (pcase--u1): Use it (bug#12512).
1487
1488 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1489 in load-history with the right file name.
1490
c00ebc98
TH
14912012-09-28 Tassilo Horn <tsdh@gnu.org>
1492
1493 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1494 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1495 (doc-view-get-bounding-box): Make bounding box slicing work for
1496 ODF and DVI documents.
1497
96fb7170
GM
14982012-09-28 Glenn Morris <rgm@gnu.org>
1499
1500 * type-break.el (type-break-mode, type-break-interval)
1501 (type-break-good-rest-interval, type-break-keystroke-threshold):
1502 No need to autoload.
1503 (type-break-good-rest-interval, type-break-keystroke-threshold):
1504 Add :set-after.
1505
5bc93c67
CY
15062012-09-28 Chong Yidong <cyd@gnu.org>
1507
1508 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1509 Add :version tag.
1510
9cad61d6
SM
15112012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1512
e28e67b3 1513 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1514
daee954c
GM
15152012-09-27 Glenn Morris <rgm@gnu.org>
1516
a88324d4
GM
1517 * faces.el (x-display-name): Declare (for without-x builds).
1518
8e5064e5
GM
1519 * linum.el (linum-format): Don't autoload it. Improve :type.
1520
cc1783c2
GM
1521 * progmodes/tcl.el: Don't require outline when compiling.
1522 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1523 * textmodes/sgml-mode.el: Don't require outline when compiling.
1524 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1525
48c339f2
GM
1526 * term.el (term-ansi-reset):
1527 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1528
daee954c
GM
1529 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1530 files for RCS and SCCS. (Bug#9781)
1531
b7f42161
CY
15322012-09-27 Chong Yidong <cyd@gnu.org>
1533
1534 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1535 change; value should be t.
1536
a2e770db
SM
15372012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1538
83600dc8
SM
1539 * image-mode.el: Use lexical-binding.
1540 (image-mode-winprops): Use t to stand for the window of
1541 a buffer that's not displayed.
1542 * doc-view.el (doc-view-new-window-function): Handle the new
1543 t in winprops.
1544 (doc-view-enlarge): Make it a real nop if the size is not changed.
1545 (doc-view-display): Handle the case where the buffer is not (yet?)
1546 displayed in any window.
1547 (doc-view-saved-settings): New var.
1548 (doc-view-mode): Use it.
1549 (doc-view-fallback-mode): Set it.
1550
a2e770db
SM
1551 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1552 Set lexical-binding.
1553 (minibuffer-eldef-shorten-default): New var.
1554 (minibuffer-default-in-prompt-regexps): Use it for new default.
1555 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1556
e3b60857
JB
15572012-09-26 Juanma Barranquero <lekktu@gmail.com>
1558
1559 * international/uni-bidi.el:
1560 * international/uni-category.el:
1561 * international/uni-name.el:
1562 * international/uni-numeric.el: Regenerate.
1563
3a880af4
SM
15642012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1565 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * profiler.el: New file.
1568
07b1a5fb
SM
15692012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1572 (testcover-reinstrument): Simplify with CSE.
1573
42019c2e
JB
15742012-09-26 Juanma Barranquero <lekktu@gmail.com>
1575
1576 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1577
179f044b
WS
15782012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1579
1580 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1581 (verilog-auto-input, verilog-auto-insert-lisp)
1582 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1583 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1584 (verilog-auto-unused, verilog-auto-wire)
1585 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1586 newline. Reported by Andrew Jones.
1587 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1588 Reported by Brad Dobbie.
07b1a5fb
SM
1589 (verilog-batch-delete-trailing-whitespace):
1590 Create verilog-batch-delete-trailing-whitespace.
1591 Reported by Brad Dobbie.
179f044b
WS
1592 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1593 parameters from another module. Reported by Dan Katz.
1594 (verilog-auto, verilog-auto-assign-modport)
1595 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1596 AUTOINOUTMODPORT for UVM interface module shell generation.
1597 Reported by Brad Dobbie.
1598 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1599 standard behavior.
1600 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1601 Reported by Matt Martin.
1602
9c52dd5a
MR
16032012-09-25 Martin Rudalics <rudalics@gmx.at>
1604
1605 * window.el (window--resize-child-windows): When resizing child
1606 windows proportionally, process them in reverse order to
1607 preserve the "when splitting a window the new one gets the odd
1608 line" behavior.
1609 (window--resize-root-window-vertically): When resizing the
1610 minibuffer window try to affect only windows at the bottom of the
1611 frame. (Bug#12419)
1612
863666eb
CY
16132012-09-25 Chong Yidong <cyd@gnu.org>
1614
1615 * subr.el (declare): Doc fix.
1616
1617 * help-fns.el (help-fns--obsolete): Handle macros properly.
1618
59f7af81
CY
16192012-09-25 Chong Yidong <cyd@gnu.org>
1620
1621 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1622 this function obsolete.
1623
1624 * calendar/cal-x.el (calendar-two-frame-setup)
1625 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1626 * calendar/calendar.el (american-calendar, european-calendar)
1627 (calendar-for-loop):
1628 * comint.el (comint-dynamic-simple-complete)
1629 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1630 * desktop.el (desktop-load-default):
1631 * dired-x.el (dired-omit-here-always)
1632 (dired-hack-local-variables, dired-default-directory):
1633 * emacs-lisp/derived.el (derived-mode-class):
1634 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1635 * emacs-lock.el (toggle-emacs-lock):
1636 * epa.el (epa-display-verify-result):
1637 * epg.el (epg-sign-keys, epg-start-sign-keys)
1638 (epg-passphrase-callback-function):
1639 * eshell/esh-util.el (eshell-for):
1640 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1641 (eshell-add-to-window-buffer-names):
1642 * files.el (locate-file-completion):
1643 * imenu.el (imenu-example--create-c-index)
1644 (imenu-example--create-lisp-index)
1645 (imenu-example--lisp-extract-index-name)
1646 (imenu-example--name-and-position):
1647 * international/mule-cmds.el (princ-list):
1648 * international/mule-diag.el (decode-codepage-char):
1649 * international/mule-util.el (detect-coding-with-priority):
1650 * iswitchb.el (iswitchb-read-buffer):
1651 * mail/mailalias.el (mail-complete):
1652 * mail/sendmail.el (mail-sent-via):
1653 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1654 (mouse-major-mode-menu):
1655 * password-cache.el (password-read-and-add):
1656 * pcomplete.el (pcomplete-parse-comint-arguments):
1657 * progmodes/sh-script.el (sh-maybe-here-document):
1658 * replace.el (query-replace-regexp-eval):
1659 * savehist.el (savehist-load):
1660 * simple.el (choose-completion-delete-max-match):
1661 * term.el (term-dynamic-simple-complete):
1662 * vc/ediff-init.el (ediff-check-version):
1663 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1664 * vc/vc.el (vc-diff-switches-list):
1665 * view.el (view-return-to-alist-update): Likewise.
1666
1667 * subr.el (eval-next-after-load, makehash, insert-string)
1668 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1669 mark obsolete.
1670 (mode-line-inverse-video): Variable deleted.
1671
1672 * international/mule-util.el (string-to-sequence): Remove.
1673
1674 * calendar/calendar.el (calendar-version):
1675 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1676 (icalendar-convert-diary-to-ical):
1677 * cus-edit.el (custom-mode):
1678 * ansi-color.el (ansi-color-unfontify-region):
1679 * international/latin1-disp.el (latin1-char-displayable-p):
1680 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1681 * progmodes/which-func.el (which-func-update-1):
1682 Use define-obsolete-function-alias.
59f7af81
CY
1683
1684 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1685 * net/newst-treeview.el (newsticker-groups-filename):
1686 Fix incorrect obsolescence declaration.
59f7af81
CY
1687
1688 * allout.el (allout-passphrase-hint-string): Likewise.
1689 (allout-init): Use a declare form to mark obsolete.
1690
1691 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1692 this applies to functions.
1693
1694 * iswitchb.el (iswitchb-read-buffer): Move code of
1695 iswitchb-define-mode-map here, and delete that obsolete function.
1696
1697 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1698 font-lock-reference-face.
1699
cca96c97
GM
17002012-09-25 Glenn Morris <rgm@gnu.org>
1701
b06eeda8
GM
1702 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1703 Doc fixes.
1704
cca96c97
GM
1705 * eshell/em-term.el (eshell-term-name):
1706 Default to term-term-name. (Bug#12485)
1707
dc4f818b
FEG
17082012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1709
cca96c97
GM
1710 * progmodes/python.el (python-shell-send-buffer): Better handling
1711 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1712
289c24bd
GM
17132012-09-24 Glenn Morris <rgm@gnu.org>
1714
1715 * eshell/esh-cmd.el (eshell-find-alias-function):
1716 Tighten up file-name regexp. (Bug#12499)
1717
8fb8b88f
FEG
17182012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1719
1720 Enhancements for triple-quote string syntax.
1721 * progmodes/python.el (python-quote-syntax): Remove.
1722 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1723 (python-syntax-count-quotes, python-syntax-stringify):
1724 New functions.
8fb8b88f 1725
6c27f0f8
CY
17262012-09-24 Chong Yidong <cyd@gnu.org>
1727
a5f2b6ec
CY
1728 * mail/supercite.el (sc-version): Remove obsolete function.
1729 (sc-describe): Don't mark as obsolete, since it is bound.
1730 (sc-submit-bug-report): Remove.
1731
1732 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1733 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1734 (log-edit-require-final-newline)
1735 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1736
1737 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1738 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1739 * vc/vc.el (vc-checkout-carefully): Likewise.
1740
1741 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1742 (emerge-version): Remove.
1743
1744 * progmodes/compile.el (compile-internal): Remove.
1745 (compilation-parse-errors-function): Fix typo.
1746
1747 * international/mule.el (set-char-table-default): Remove.
1748 (set-coding-priority, make-coding-system, generic-char-p)
1749 (charset-list, charset-bytes, charset-id): Use declare to mark
1750 functions as obsolete.
1751
1752 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1753 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1754 * vc/vc-hooks.el (vc-default-registered): Don't use
1755 vc-master-templates.
1756
07b1a5fb
SM
1757 * font-lock.el (font-lock-reference-face):
1758 Use define-obsolete-variable-alias.
6c27f0f8
CY
1759
1760 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1761 * calendar/calendar.el (calendar-font-lock-keywords):
1762 * calendar/diary-lib.el (diary-font-lock-keywords)
1763 (diary-fancy-font-lock-keywords):
1764 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1765 * textmodes/reftex-index.el (reftex-insert-index):
1766 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1767 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1768 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1769 * progmodes/prolog.el (prolog-font-lock-keywords):
1770 * progmodes/idlwave.el (idlwave-idl-keywords):
1771 * progmodes/ada-mode.el (ada-font-lock-keywords):
1772 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1773
bcc0adbf
GM
17742012-09-24 Glenn Morris <rgm@gnu.org>
1775
1776 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1777
095bb823
FEG
17782012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1779
1780 * progmodes/python.el (python-indent-line): More consistent cursor
1781 movement behavior.
1782
70efc5c9
SM
17832012-09-23 Stefan Merten <smerten@oekonux.de>
1784
1785 * textmodes/rst.el: Fix compiler warning.
1786
2f438239
RW
17872012-09-23 Roland Winkler <winkler@gnu.org>
1788
07b1a5fb
SM
1789 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1790 Transcribe also LaTeX hyphenation.
2f438239
RW
1791 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1792 bibtex-reformat-previous-options.
1793
936ad041
RW
17942012-09-23 Roland Winkler <winkler@gnu.org>
1795
1796 * proced.el (proced-renice-command): New variable.
1797 (proced-marked-processes): New function.
1798 (proced-with-processes-buffer): New macro.
1799 (proced-send-signal): Use them.
1800 (proced-renice): New command bound to r.
1801
6fab0274
RW
18022012-09-23 Roland Winkler <winkler@gnu.org>
1803
1804 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1805 ibuffer-saved-filter-groups has one element, shortcut the call of
1806 completing-read. (Bug#12331)
1807
9a930676
CY
18082012-09-23 Chong Yidong <cyd@gnu.org>
1809
1810 * bindings.el (mode-line-toggle-read-only):
1811 * bs.el (bs-toggle-readonly):
1812 * buff-menu.el (Buffer-menu-toggle-read-only):
1813 * dired.el (dired-toggle-read-only):
1814 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1815
d07ff9db
CY
18162012-09-23 Chong Yidong <cyd@gnu.org>
1817
1818 * image.el (image-type-available-p): Adapt to init-image-library
1819 argument changes.
1820
51c4474e
JL
18212012-09-22 Juri Linkov <juri@jurta.org>
1822
1823 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1824 `dired-toggle-read-only'. (Bug#12462)
1825
43bf5e8e
MR
18262012-09-22 Martin Rudalics <rudalics@gmx.at>
1827
1828 * subr.el (temp-output-buffer-show): New function.
1829 (with-output-to-temp-buffer): Call temp-output-buffer-show
1830 instead of internal-temp-output-buffer-show.
1831
c88b867f
CY
18322012-09-22 Chong Yidong <cyd@gnu.org>
1833
3df47cd5
CY
1834 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1835 (Bug#12462).
1836
c88b867f
CY
1837 * repeat.el (repeat): Doc fix (Bug#12348).
1838
1839 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1840 (Bug#10909).
1841
1842 * simple.el (shell-command-on-region): Doc fix.
3171e303 1843 (read-only-mode): Doc fix.
c88b867f 1844
df9685f3
EZ
18452012-09-22 Eli Zaretskii <eliz@gnu.org>
1846
1847 * emacs-lisp/timer.el (run-with-idle-timer)
1848 (timer-activate-when-idle): Warn against reinvoking an idle timer
1849 from within its own timer action. (Bug#12447)
1850
8e17c9ba
MR
18512012-09-22 Martin Rudalics <rudalics@gmx.at>
1852
1853 * cus-start.el (window-combination-limit): Add new optional
1854 values.
1855 * window.el (temp-buffer-window-show)
1856 (window--try-to-split-window): Handle new values of
1857 window-combination-limit (Bug#1806).
1858 (split-window): Test window-combination-limit for t instead of
1859 non-nil.
1860 (display-buffer-at-bottom): New buffer display action function.
1861 * help.el (temp-buffer-resize-regexps): New option.
1862 (temp-buffer-resize-mode): Rewrite doc-string.
1863 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1864 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1865
48a24920
SM
18662012-09-22 Stefan Merten <smerten@oekonux.de>
1867
70efc5c9 1868 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1869 (rst-official-version)
1870 (rst-package-emacs-version-alist): Sync with official version
1871 V1.4.0.
1872 (rst-faces-defaults, rst-set-level-default)
1873 (rst-level-face-max, rst-level-face-base-color)
1874 (rst-level-face-base-light, rst-level-face-format-light)
1875 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1876 (rst-adornment-faces-alist): Match new setup.
1877 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1878 (rst-level-5, rst-level-6): New faces.
1879
82f8cd94
CY
18802012-09-22 Chong Yidong <cyd@gnu.org>
1881
1882 * simple.el (undo): Handle indirect buffers (Bug#8207).
1883
acfa068f 18842012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1885
1886 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1887 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1888 (ido-set-matches-1): Use it. (Bug#2042)
1889
acfa068f 18902012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1891
1892 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1893 Fix 2011-05-17 change. (Bug#12418)
1894
acfa068f 18952012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1896
1897 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1898
acfa068f 18992012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1900
1901 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1902 Be more robust about locating simple.el.
1903
acfa068f 19042012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1905
1906 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1907
acfa068f
CY
19082012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1909
1910 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1911
41a97e6f
JL
19122012-09-20 Juri Linkov <juri@jurta.org>
1913
eb2deaff
JL
1914 * replace.el (query-replace-read-from): Use `read-regexp' instead
1915 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1916 (occur-read-primary-args): Use `read-regexp' instead of
1917 `read-string'.
1918 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1919 `read-from-minibuffer'.
1920 * isearch.el (isearch-occur): Use `read-regexp' instead of
1921 `read-string'.
1922 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1923 `read-from-minibuffer'.
1924 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1925 of `read-string'. (Bug#7567)
1926
5825610b
JL
1927 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1928 and allow accepting a list of strings prepended to a list of
1929 standard default values. Doc fix. (Bug#12321)
1930
eebbf404
JL
1931 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1932
41a97e6f
JL
1933 * replace.el (read-regexp): Don't add ": " when PROMPT already
1934 ends with a colon and space. (Bug#12321)
1935
c9e452d3
TH
19362012-09-20 Tassilo Horn <tsdh@gnu.org>
1937
1938 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1939 error.
1940
ee97deee
SM
19412012-09-20 Stefan Merten <smerten@oekonux.de>
1942
70efc5c9 1943 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1944 Fixes feature request bug#11711.
1945 (rst-mode): Create `imenu-create-index-function'.
1946 (rst-get-stripped-line): Delete after refactoring.
1947 (rst-section-tree, rst-section-tree-rec)
1948 (rst-section-tree-point): Refactor and document properly.
1949 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1950 (rst-imenu-convert-cell, rst-imenu-create-index):
1951 New function.
ee97deee 1952
f490dab9
SM
19532012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1954
95b9712e
SM
1955 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1956 (macroexp--expand-all): Use it.
1957 (macroexp--funcall-and-return): Remove by folding it into its sole
1958 caller (macroexp--warn-and-return).
1959 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1960 Use macroexp--obsolete-warning.
1961
f490dab9
SM
1962 * calc/calc.el: Fix last change by removing the whole chunk, since it
1963 was only needed back when Calc was not bundled.
1964
96e8d411
MR
19652012-09-20 Martin Rudalics <rudalics@gmx.at>
1966
1967 * emacs-lisp/debug.el (debug): Restore assignment to
1968 debugger-old-buffer removed on 2012-09-08.
1969
0876a82d
JL
19702012-09-20 Juri Linkov <juri@jurta.org>
1971
1972 * dired-aux.el (dired-diff): Remove (require 'diff) since
1973 `diff-latest-backup-file' is now autoloaded.
1974
9f7c28f0
CY
19752012-09-20 Chong Yidong <cyd@gnu.org>
1976
1977 * vc/diff.el (diff-latest-backup-file): Autoload.
1978
7a04bee9
SM
19792012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1980
e6f0a80d
SM
1981 * calc/calc.el: Remove redundant autoload shape check.
1982 (sel-mode): Don't defvar.
1983 (calc-get-stack-element): Add `sel-mode' arg instead.
1984 (calc-top, calc-top-list): Pass it this additional argument.
1985 * calc/calc-store.el (calc-store-map):
1986 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1987 (calc-map-equation, calc-outer-product, calc-inner-product):
1988 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1989
7a04bee9
SM
1990 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1991
12734222
JL
19922012-09-19 Juri Linkov <juri@jurta.org>
1993
1994 * dired-aux.el (dired-diff): Add (require 'diff) because
1995 `diff-latest-backup-file' is not autoloaded.
1996 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1997 of `dired-get-filename' to t to not report error when there is
1998 no default file on the current line.
1999
46624b4f
SM
20002012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2001
ce97595b
SM
2002 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2003 macroexp--eval-if-compile.
2004 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2005 (macroexp--expand-all): Use them (bug#12371).
2006
46624b4f
SM
2007 * doc-view.el (doc-view-guess-paper-size)
2008 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2009
db8a5a18
TH
20102012-09-19 Tassilo Horn <tsdh@gnu.org>
2011
2012 New feature: set optimal slice from BoundingBox information.
2013 * doc-view.el (doc-view-mode-map): Add keybinding.
2014 (doc-view-menu): Add menu entry.
2015 (doc-view-set-slice): Adapt docstring.
2016 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2017 (doc-view-scale-bounding-box)
2018 (doc-view-set-slice-from-bounding-box): New functions.
2019 (doc-view-paper-sizes): New defvar.
2020
69f6644c
GM
20212012-09-19 Glenn Morris <rgm@gnu.org>
2022
35f5b19d
GM
2023 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2024 (byte-compile-log-warning): Autoload. (Bug#12371)
2025
69f6644c
GM
2026 * calendar/calendar.el (calendar-american-month-header)
2027 (calendar-european-month-header, calendar-iso-month-header)
2028 (calendar-month-header): New options.
2029 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2030 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2031
e543ae91
JD
20322012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2033
2034 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2035
2fd5e67d
JL
20362012-09-18 Juri Linkov <juri@jurta.org>
2037
2038 * dired-aux.el (dired-diff): Restore original functionality of
2039 getting the default value, but keep new feature of using the
2040 latest existing backup file (`diff-latest-backup-file').
2041
42917e79
JL
20422012-09-18 Juri Linkov <juri@jurta.org>
2043
2044 * dired.el (dired-mark): If the region is active in Transient Mark
2045 mode, mark all files in the active region. Doc fix.
2046 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2047 Doc fix. (Bug#10624)
2048
20f70ede
JL
20492012-09-18 Juri Linkov <juri@jurta.org>
2050
2051 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2052 attributes for M-n are pulled from the file at point.
2053 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2054 Suggested by Drew Adams. (Bug#10624)
2055
32fb8162
DG
20562012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2059 whitespace after "end".
2060 (ruby-do-end-to-brace): Collapse block to one line if it fits
2061 within fill-column.
2062
37ab5092
MR
20632012-09-18 Martin Rudalics <rudalics@gmx.at>
2064
2065 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2066 value.
2067 (debug): Don't remove debugger window when debugger is expected
2068 to be back.
2069
ed1f0bd3
CY
20702012-09-18 Chong Yidong <cyd@gnu.org>
2071
2072 * custom.el (defface): Doc fix.
2073
2074 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2075
a11035b8
MB
20762012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2077
2078 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2079 to initialize query-on-exit; then test that instead (bug#12288).
2080
64f6a736
SM
20812012-09-17 Stefan Merten <smerten@oekonux.de>
2082
70efc5c9 2083 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2084 (rst-defcustom-testcover, rst-testcover-add-compose)
2085 (rst-testcover-add-1value): New functions.
2086 (rst-portable-mark-active-p): Replace by `use-region-p'.
2087 (rst-update-section, rst-classify-adornment)
2088 (rst-find-title-line): Mark `1value' forms.
2089 (rst-classify-adornment): Remove superfluous form.
2090 (rst-update-section, rst-get-adornments-around)
2091 (rst-adornment-complete-p, rst-get-next-adornment)
2092 (rst-adjust, rst-promote-region)
2093 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2094 (rst-find-pfx-in-region, rst-section-tree-rec)
2095 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2096 (rst-toc-node, rst-toc, rst-forward-section)
2097 (rst-iterate-leftmost-paragraphs)
2098 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2099 (rst-bullet-list-region)
2100 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2101 (rst-compile-find-conf, rst-compile)
2102 (rst-repeat-last-character): Fix style.
2103
580bd868
CY
21042012-09-17 Chong Yidong <cyd@gnu.org>
2105
2106 * comint.el (comint--complete-file-name-data): Don't add a space
2107 if the status is `sole'; that adds a gratuitous space in the
2108 completion-cycling case (Bug#12092).
2109
2110 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2111
69de3ec6
RS
21122012-09-17 Richard Stallman <rms@gnu.org>
2113
0dee970c
RS
2114 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2115 only in the mime-shown mode, not in raw mode.
2116 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2117 mime processing. (Bug#12305)
0dee970c 2118
6b250df6
GM
2119 * mail/rmail.el (rmail-retry-failure):
2120 Turn off mime processing first. (Bug#12037)
acb1c47b 2121
69de3ec6
RS
2122 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2123
d079ee5f
CY
21242012-09-17 Chong Yidong <cyd@gnu.org>
2125
2126 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2127 (shell-dynamic-complete-functions): Convert to defcustom.
2128 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2129
865fe16f
CY
2130 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2131 * comint.el (comint-prompt-read-only):
2132 * custom.el (defcustom):
2133 * hi-lock.el (hi-lock-mode):
2134 * ibuffer.el (ibuffer-formats):
2135 * ielm.el (ielm-prompt-read-only):
2136 * novice.el (disable-command):
2137 * saveplace.el (toggle-save-place):
2138 * speedbar.el (speedbar-supported-extension-expressions):
2139 * startup.el (auto-save-list-file-prefix, init-file-user)
2140 (after-init-hook, inhibit-startup-echo-area-message):
2141 * strokes.el (strokes-help):
2142 * time-stamp.el (time-stamp):
2143 * calendar/calendar.el (calendar, diary-file):
2144 * calendar/diary-lib.el (diary-mail-entries, diary)
2145 (diary-list-entries-hook):
2146 * calendar/holidays.el (holidays, calendar-holidays):
2147 * calendar/lunar.el (lunar-phases):
2148 * calendar/solar.el (sunrise-sunset):
2149 * emulation/edt.el (edt-load-keys):
2150 * emulation/viper.el (viper-mode):
2151 * eshell/em-alias.el (eshell-command-aliases-list):
2152 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2153 * international/ogonek.el (ogonek-information):
2154 * net/tramp-cmds.el (tramp-bug):
2155 * net/quickurl.el (quickurl-reread-hook-postfix):
2156 * play/decipher.el (decipher-font-lock-keywords):
2157 * progmodes/cc-styles.el (c-set-style):
2158 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2159 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2160 * progmodes/octave-mod.el (octave-mode):
2161 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2162 * progmodes/verilog-mode.el (verilog-read-defines):
2163 * textmodes/two-column.el (2C-mode): Likewise.
2164
48093eb9
KY
21652012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2166
2167 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2168 that holds many addresses.
2169
c584eaf9
CY
21702012-09-16 Chong Yidong <cyd@gnu.org>
2171
40d70ecb
CY
2172 * align.el (align-areas): Call the indication function with
2173 positions instead of markers for arguments (Bug#12343).
2174
1667e065
CY
2175 * files.el (parse-colon-path): Use split-string (Bug#12351).
2176
fdc2806d 2177 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2178 (display-buffer-function): Mark as obsolete.
fdc2806d 2179
f1be615c 2180 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2181 values similar to font-lock-keywords (Bug#12136).
2182 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2183 (compilation-error-regexp-alist): Doc fix.
2184
f40a9709
GM
21852012-09-15 Glenn Morris <rgm@gnu.org>
2186
72aa16e1
GM
2187 * version.el (emacs-bzr-version-bzr): New function.
2188 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2189
82375160
GM
2190 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2191 checkouts, check the parent dirstate matches the branch.
2192 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2193 empty string.
2194
f40a9709
GM
2195 * version.el (emacs-bzr-version): Doc fix.
2196 (emacs-bzr-version-dirstate): New function.
2197 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2198 is local try and check that it matches the branch. If not, just
2199 use dirstate information. (Bug#12441)
2200
cb26b7f5
JL
22012012-09-14 Juri Linkov <juri@jurta.org>
2202
2203 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2204 (Bug#12399)
2205
2de39f08
SM
22062012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2207
0fb3cb7c
SM
2208 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2209
2de39f08
SM
2210 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2211 Remove obsolete byte-compiler hack that tried to silence some warnings.
2212 (edebug-submit-bug-report): Remove.
2213 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2214 Remove aliases, use the un-prefixed name instead.
2215 (edebug-pop-to-buffer): Consider other frames.
2216 (edebug-original-read):: Make it more obvious that it's always defined.
2217 (edebug--make-form-data-entry, edebug--form-data-name)
2218 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2219 single-dashed name, and implement with cl-defstruct.
2220 (edebug-set-form-data-entry): Use the standard accessors.
2221 (edebug-make-top-form-data-entry): Use push.
2222 (edebug-no-match): Drop useless `funcall'.
2223 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2224 to functions.
2225 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2226 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2227 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2228 (easy-menu-define, with-custom-print): Remove redundant specs.
2229 (edebug-outside-overriding-local-map)
2230 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2231 (edebug--display): Bind unread-command-events directly to nil rather
2232 than binding it to unread-command-events and later setting it to nil.
2233 (edebug--display): Kill edebug-eval-buffer here...
2234 (edebug--recursive-edit): ...rather than here.
2235 Bind standard-output and standard-input.
2236 (edebug-eval): Check cl-macroexpand-all is fboundp.
2237 (edebug-temp-display-freq-count): Fix last change.
2238
2239 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2240 * subr.el (noreturn, 1value): Add `debug' spec.
2241 * emacs-lisp/advice.el: Require cl-lib.
2242 (ad-copy-tree): Remove, use copy-tree instead.
2243 (ad-dolist): Remove use dolist or cl-dolist instead.
2244 (ad-do-return): Remove, use cl-return instead.
2245 (defadvice): Add `debug' spec.
2246
5b68b333
JL
22472012-09-13 Juri Linkov <juri@jurta.org>
2248
2249 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2250 (Bug#12399)
2251
b9800ec4
GM
22522012-09-13 Glenn Morris <rgm@gnu.org>
2253
6a2e6868
GM
2254 * calc/calc.el (math-compose-expr):
2255 * calc/calc-ext.el (math-compose-expr):
2256 * progmodes/cc-defs.el (cl-macroexpand-all):
2257 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2258 (cl-macroexpand-all): Update declarations.
2259
b9800ec4
GM
2260 * vc/vc.el: No need to require ediff.
2261 (ediff-load-version-control): Declare.
2262 (ediff-vc-internal): Fix declaration.
2263 (vc-version-ediff): Require ediff.
2264
c18e885b
PE
22652012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2266
2267 Use a more backwards-compatible timer format (Bug#12430).
2268 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2269 being right after USECS, as that better supports old code that
2270 inadvisedly looked directly at the timer vector.
2271
d607d303
KH
22722012-09-13 Kenichi Handa <handa@gnu.org>
2273
2274 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2275 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2276 `coding-priority' property of these language environment.
2277
72eac303
PE
22782012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2279
2280 Fix glitches caused by addition of psec to timers (Bug#12430).
2281 * image.el (image-animate-timer):
2282 * time.el (display-time-world-timer):
2283 Use timer--function and timer--args rather than raw access to
2284 timer vector.
2285
2168fe4f
GM
22862012-09-13 Glenn Morris <rgm@gnu.org>
2287
2288 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2289 If not compiling a file, try using load-file-name.
2290
bd8d6108
SM
22912012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2292
c0c54fbd
SM
2293 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2294 Fix last change.
2295 (edebug-update-eval-list): Use `push'.
2296
bd8d6108
SM
2297 * emacs-lisp/edebug.el: Use lexical-binding.
2298 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2299 Mark unused args with underscore.
2300 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2301 (edebug-form-data): Use defvar-local.
2302 (edebug-make-before-and-after-form, edebug-make-after-form):
2303 Use backquote.
2304 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2305 Not dynamically scoped any more.
2306 (edebug--enter-trace): Add arguments `function' and `args'.
2307 Rename from edebug-enter-trace.
2308 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2309 (edebug--update-coverage): Add `after-index' and `value' args.
2310 Rename from edebug-update-coverage.
2311 (edebug-slow-after): Call it accordingly.
2312 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2313 edebug-recursive-edit.
2314 (edebug--display): Call it accordingly. Add args `value',
2315 `offset-index', and `arg-mode'. Rename from edebug-display.
2316 (edebug-debugger, edebug): Call it accordingly.
2317 (edebug-eval-display-list): Use dolist.
2318
a9f9d9de
JL
23192012-09-12 Juri Linkov <juri@jurta.org>
2320
2321 * info.el (Info-search): Don't check for isearch-mode and
2322 isearch-regexp before let-binding search-spaces-regexp to
2323 Info-search-whitespace-regexp.
2324 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2325 search-whitespace-regexp if isearch-lax-whitespace or
2326 isearch-regexp-lax-whitespace is non-nil.
2327 (Info-mode): Don't set local variable search-whitespace-regexp.
2328 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2329
bfeae2cf
SM
23302012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2333 (debugger-env-macro): Remove support for unread-command-char.
2334
2335 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2336 the temporary map re-appearing on emulation-mode-map-alists.
2337
2338 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2339 since 22.1.
2340
2341 * ehelp.el (with-electric-help): Accept functions in
2342 electric-help-form-to-execute.
2343 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2344 And replace unread-command-char -> unread-command-events.
2345
fbbcaf1b
MA
23462012-09-12 Michael Albinus <michael.albinus@gmx.de>
2347
2348 Sync with Tramp 2.2.6.
2349
2350 * net/tramp.el (tramp-accept-process-output): Don't use
2351 JUST-THIS-ONE in the XEmacs case.
2352
2353 * net/trampver.el: Update release number.
2354
4dece104
MR
23552012-09-12 Martin Rudalics <rudalics@gmx.at>
2356
bfeae2cf
SM
2357 * emacs-lisp/debug.el (debugger-previous-window-height):
2358 New variable.
4dece104
MR
2359 (debug): When debugger-jumping-flag is non-nil try to restore
2360 height of debugger window. (Bug#8789)
2361
45b82ad0
SM
23622012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2363
60c49c0f
SM
2364 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2365 overriding-local-map and pre/post-command-hook here.
2366 (edebug-recursive-edit): Do it here instead (bug#12345).
2367 (edebug-outside-unread-command-char): Remove all uses of
2368 unread-command-char.
2369
45b82ad0
SM
2370 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2371 inhibit-debugger is bound instead.
2372
baa26ea0
BG
23732012-09-11 Bastien Guerry <bzg@gnu.org>
2374
2375 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2376 (Bug#12346)
baa26ea0 2377
04e8abfa
BG
23782012-09-11 Bastien Guerry <bzg@gnu.org>
2379
96d03571 2380 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2381 (Bug#12347)
96d03571
BG
2382
23832012-09-11 Bastien Guerry <bzg@gnu.org>
2384
fc0c31f8 2385 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2386
04e082b0
MM
23872012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2388
2389 * progmodes/sql.el: Version 3.1
2390 (sql-db2-escape-newlines): New variable.
2391 (sql-escape-newlines-filter): Use it.
2392
399a361b
JB
23932012-09-10 Juanma Barranquero <lekktu@gmail.com>
2394
2395 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2396
0780c517
DN
23972012-09-10 Dan Nicolaescu <dann@gnu.org>
2398
45b82ad0
SM
2399 * vc/diff-mode.el (diff-mode-menu):
2400 Bind diff-remove-trailing-whitespace.
0780c517 2401
9b851e25
SM
24022012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2405 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2406 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2407 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2408 (eval-defun-2): Remove bogus interactive spec.
2409 (lisp-indent-line): Remove redundant whole-exp code, now done in
2410 indent-according-to-mode.
2411 (save-match-data): Remove redundant indent data.
2412
2413 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2414 Use `declare'.
2415
3231d532
JL
24162012-09-09 Juri Linkov <juri@jurta.org>
2417
2418 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2419 (replace-lax-whitespace, query-replace-regexp)
2420 (query-replace-regexp-eval, replace-regexp): Doc fix.
2421 (perform-replace, replace-highlight): Let-bind
2422 isearch-lax-whitespace to replace-lax-whitespace and
2423 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2424
2425 * isearch.el (isearch-query-replace): Let-bind
2426 replace-lax-whitespace to isearch-lax-whitespace and
2427 replace-regexp-lax-whitespace to
2428 isearch-regexp-lax-whitespace. (Bug#10885)
2429
70fe8236
SM
24302012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2433
8ed43f15
AM
24342012-09-09 Alan Mackenzie <acm@muc.de>
2435
70fe8236
SM
2436 * progmodes/cc-engine.el (c-state-cache-init):
2437 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2438 (c-record-parse-state-state):
2439 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2440
bfabf70a
AS
24412012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2442
2443 * register.el (register-separator): Rename from
2444 separator-register. All uses changed. Doc fix.
2445 (register): Fix version.
2446
011474aa
CY
24472012-09-09 Chong Yidong <cyd@gnu.org>
2448
2449 * replace.el (query-replace-map): Bind four new symbols for
2450 requesting window scrolling.
2451
2452 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2453 query-replace-map (Bug#8948).
2454
2455 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2456
2457 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2458 since they are now in query-replace-map.
2459
2460 * window.el (scroll-other-window-down): Make the arg optional.
2461
a8b7cd8d
CY
24622012-09-09 Chong Yidong <cyd@gnu.org>
2463
2464 * files.el (hack-local-variables-confirm): Use quit-window to kill
2465 the *Local Variables* buffer.
2466
c3268831
DG
24672012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2468
2469 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2470 not just expect to be at its beginning. Adjust callees.
2471 Succeed when do-end block has no space before the pipe character.
2472 (ruby-brace-to-do-end): When the original block is one-liner,
2473 convert to multiline. Reindent the result.
2474
0979429b
J
24752012-09-08 Jambunathan K <kjambunathan@gmail.com>
2476
2477 * register.el (register): New group.
27359e99 2478 (separator-register): New user option.
0979429b
J
2479 (increment-register): Route it to `append-to-register', if
2480 register contains text. Implication is that `C-x r +' can now be
2481 used for appending to a text register (bug#12217).
2482 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2483 `separator-register'.
0979429b 2484
ace2989a
AM
24852012-09-08 Alan Mackenzie <acm@muc.de>
2486
2487 AWK Mode: make auto-newline work when there's "==" in the pattern.
2488 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2489 correctly.
0979429b
J
2490 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2491 Test more rigorously for "=" token.
ace2989a 2492
616c6c36
DG
24932012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2494
0979429b
J
2495 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2496 Only fail when reached LIMIT.
616c6c36 2497
35d98877
CY
24982012-09-08 Chong Yidong <cyd@gnu.org>
2499
2500 * dired.el (dired-mode-map): Don't bind M-=.
2501
2502 * dired-aux.el (dired-diff): Use backup file as default.
2503
1715f2db
DA
25042012-09-08 Drew Adams <drew.adams@oracle.com>
2505
2506 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2507
6dcef6ec
CY
25082012-09-08 Chong Yidong <cyd@gnu.org>
2509
2510 * subr.el (syntax-after, syntax-class): Doc fix.
2511
fa2bcf43
MR
25122012-09-08 Martin Rudalics <rudalics@gmx.at>
2513
2514 * window.el (display-buffer-in-previous-window): New buffer
2515 display action function.
2516
2517 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2518 (debugger-previous-window): New variable.
2519 (debug): Rewrite using display-buffer-in-previous-window,
2520 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2521
daac280a
SM
25222012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2525
9dd40b00
MM
25262012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2527
daac280a
SM
2528 * progmodes/python.el (python-shell-send-string):
2529 When default-directory is remote, create temp file on remote
9dd40b00
MM
2530 filesystem.
2531 (python-shell-send-file): When file is remote, pass local view of
2532 file paths to remote Python interpreter. (Bug#12340)
2533
145823ec
CY
25342012-09-07 Chong Yidong <cyd@gnu.org>
2535
cee2e90d
CY
2536 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2537
0d7eb2ea
CY
2538 * files.el (after-find-file): Don't fail on a read-only buffer if
2539 require-final-newline is `visit' or `visit-save' (Bug#11156).
2540
145823ec
CY
2541 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2542
daac280a
SM
2543 * userlock.el (ask-user-about-supersession-threat):
2544 Use read-char-choice (Bug#12093).
145823ec 2545
74c582e6
CY
25462012-09-07 Chong Yidong <cyd@gnu.org>
2547
e5c2edf7
CY
2548 * subr.el (buffer-narrowed-p): New function.
2549
2550 * ses.el (ses-widen):
2551 * simple.el (count-words--buffer-message):
1f9f395d 2552 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2553
2554 * simple.el (count-words-region): Don't signal an error if there
2555 is a non-nil prefix arg and the mark is not set.
c640e87d 2556
74c582e6
CY
2557 * help.el (describe-key-briefly): Allow the message to be seen
2558 when invoked from the minibuffer (Bug#7014).
2559
d81ceaaf
DG
25602012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2561
2562 * progmodes/ruby-mode.el (ruby-end-of-defun)
2563 (ruby-beginning-of-defun): Simplify, allow indentation before
2564 block beginning and end keywords.
8f06acce
DG
2565 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2566 (ruby-end-of-defun): Expect that the point is at the beginning of
2567 the defun.
d81ceaaf 2568
d458ef98
SM
25692012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2572 (bug#12367).
2573 (cl--make-usage-args): Strip _ from argument names.
2574
20367d28
RS
25752012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2576
2577 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2578 obsolete alias speedbar-key-map.
2579 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2580 (vhdl-index-menu-init): Don't use obsolete variable
2581 font-lock-maximum-size.
2582
3424a4f6
CY
25832012-09-06 Chong Yidong <cyd@gnu.org>
2584
2585 * frame.el (window-system-version): Mark as obsolete.
2586
fcbfbdea
CY
2587 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2588 of obsolete variable speedbar-key-map.
2589
826b3235
JL
25902012-09-06 Juri Linkov <juri@jurta.org>
2591
2592 * replace.el (replace-lax-whitespace): New defcustom.
2593 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2594 (replace-string, replace-regexp): Mention it in docstrings.
2595 (perform-replace, replace-highlight): Let-bind
2596 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2597 to the values of replace-lax-whitespace and regexp-flag.
2598 Don't let-bind search-whitespace-regexp. (Bug#10885)
2599
2600 * isearch.el (isearch-query-replace): Let-bind
2601 replace-lax-whitespace instead of let-binding
2602 replace-search-function and replace-re-search-function.
2603 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2604 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2605 (isearch-toggle-symbol): Set isearch-regexp to nil
2606 in isearch-word mode (like in isearch-toggle-word).
2607
1ec5e41d
JL
26082012-09-06 Juri Linkov <juri@jurta.org>
2609
2610 * replace.el (replace-search-function)
2611 (replace-re-search-function): Set default values to nil.
2612 (perform-replace): Let-bind isearch-related variables based on
2613 replace-related values, call `isearch-search-fun' and let-bind
2614 the result to `search-function'. Remove code that sets
2615 `search-function' and `search-string' separately for
2616 `delimited-flag'.
2617 (replace-highlight): Add new argument `delimited-flag' and
2618 rename other arguments to the names used in `perform-replace'.
2619 Let-bind `isearch-word' to the argument `delimited-flag'.
2620 (Bug#10885, bug#10887)
2621
0ba2d4b6
DG
26222012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2623
2624 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2625 ruby-beginning-of-indent, simplify, allow all keywords to have
2626 indentation before them.
2627 (ruby-beginning-of-indent): Adjust for above. Search until the
2628 found point is not inside a string or comment.
2629 (ruby-font-lock-keywords): Allow symbols to start with "@"
2630 character, give them higher priority than variables.
2631 (ruby-syntax-propertize-function)
2632 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2633 matchers. Expression expansions are not comments when inside a
2634 string, and there comment syntax status is irrelevant.
2635 (ruby-match-expression-expansion): New function. Check that
2636 expression expansion is inside a string, and it's not escaped.
2637 (ruby-font-lock-keywords): Use it.
2638
ef654460
MR
26392012-09-05 Martin Rudalics <rudalics@gmx.at>
2640
2641 * help.el (temp-buffer-max-height): New default value.
2642 (temp-buffer-resize-frames): New option.
2643 (resize-temp-buffer-window): Optionally resize frame.
2644
2645 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2646 (fit-frame-to-buffer): New function.
2647
7e570fbf 26482012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2649
2650 * emulation/cua-rect.el (cua--init-rectangles):
2651 * textmodes/picture.el (picture-mode-map):
2652 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2653 like forward-char and backward-char. (Bug#12317)
2654
7e570fbf 26552012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2656
2657 * progmodes/flymake.el (flymake-warning-re): New variable.
2658 (flymake-parse-line): Use it.
2659
7e570fbf 26602012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2661
2662 * calendar/holidays.el (holiday-christian-holidays):
2663 Rename an entry. (Bug#12289)
2664
7e570fbf 26652012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2666
2667 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2668 (bug#12222).
2669
972debf2
SM
26702012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * loadup.el: Load macroexp. Remove hack.
2673 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2674 (macroexp--expand-all): Use it to get better warnings.
2675 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2676 (internal-macroexpand-for-load): New functions.
2677 (macroexp--pending-eager-loads): New var.
2678 (emacs-startup-hook): New hack to replace one in loadup.el.
2679 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2680 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2681 (cl-psetf): Simplify.
2682 (cl-defstruct): Add indent rule.
2683
8ce192e3
LI
26842012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2685
2686 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2687 over `user-mail-address' for the SMTP MAIL FROM envelope.
2688 (smtpmail-via-smtp): Ditto.
2689
6578b4d8
DG
26902012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2691
2692 * progmodes/ruby-mode.el: Clean up keybindings.
2693 (ruby-mode-map): Don't bind ruby-electric-brace,
2694 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2695 backward-kill-word, reindent-then-newline-and-indent.
2696 (ruby-mark-defun): Remove.
2697 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2698 (ruby-mode): Set local beginning-of-defun-function and
2699 end-of-defun-function values.
2700
c5e28e39
MR
27012012-09-03 Martin Rudalics <rudalics@gmx.at>
2702
2703 * window.el (temp-buffer-window-setup-hook)
2704 (temp-buffer-window-show-hook): New hooks.
2705 (temp-buffer-window-setup, temp-buffer-window-show)
2706 (with-temp-buffer-window): New functions.
972debf2
SM
2707 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2708 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2709
2710 * help.el (temp-buffer-resize-mode): Fix doc-string.
2711 (resize-temp-buffer-window): New optional argument WINDOW.
2712
2713 * files.el (recover-file, save-buffers-kill-emacs):
2714 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2715
73406194
MA
27162012-09-02 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2719 remote definition of `default-directory', ensure we can connect.
2720
63dd1c6f
JL
27212012-09-02 Juri Linkov <juri@jurta.org>
2722
2723 Toggle whitespace matching mode with M-s SPC.
2724 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2725
2726 * isearch.el (search-whitespace-regexp): Doc fix.
2727 Remove cons cell customization.
2728 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2729 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2730 New variables.
2731 (isearch-forward, isearch-forward-regexp): Doc fix.
2732 (isearch-toggle-lax-whitespace): New command.
2733 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2734 (re-search-forward-lax-whitespace)
2735 (re-search-backward-lax-whitespace): New functions.
2736 (isearch-whitespace-regexp): Remove function.
2737 (isearch-query-replace): Let-bind replace-search-function and
2738 replace-re-search-function.
2739 (isearch-occur): Let-bind search-spaces-regexp according to the
2740 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2741 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2742 condition for C-q SPC.
2743 (isearch-search-fun-default): Use new functions mentioned above.
2744 (isearch-search-forward, isearch-search-backward): Remove functions.
2745 (isearch-search): Don't let-bind search-spaces-regexp.
2746 (isearch-lazy-highlight-space-regexp): Remove variable.
2747 (isearch-lazy-highlight-lax-whitespace)
2748 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2749 (isearch-lazy-highlight-new-loop): Use them.
2750 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2751
af7dda05
CY
27522012-09-02 Chong Yidong <cyd@gnu.org>
2753
2754 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2755
d67d3afd
GM
27562012-09-02 Glenn Morris <rgm@gnu.org>
2757
2758 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2759
69678719
GM
27602012-09-01 Glenn Morris <rgm@gnu.org>
2761
2762 * term.el: Tidy up menu definitions.
2763 (term-mode-map): Use easymenu for In/Out, Complete menus.
2764 (term-pager-break-map): Initialize in the defvar.
2765 (term-terminal-menu, term-signals-menu): Define with easymenu.
2766 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2767 (term-pager-menu): New, extracted from term-process-pager.
2768 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2769 (term-update-mode-line): Propertize line/char and page items.
2770 (term-process-pager): Move keymap initialization elsewhere.
2771
78dd6ab1
MR
27722012-09-01 Martin Rudalics <rudalics@gmx.at>
2773
2774 * window.el (switch-to-prev-buffer): Handle additional values of
2775 BURY-OR-KILL argument. Don't switch in minibuffer window.
2776 (switch-to-next-buffer): Don't switch in minibuffer window.
2777 (quit-restore-window): New function based on quit-window.
2778 Handle additional values of former KILL argument.
2779 (quit-window): Call quit-restore-window with appropriate
2780 interpretation of KILL argument.
2781 (display-buffer-below-selected): New buffer display action
2782 function.
2783
3d10e134
SM
27842012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * minibuffer.el (completion-at-point-functions): Complete docstring
2787 (bug#12254).
2788
0e23ef9d
PE
27892012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2790
2791 Better seed support for (random).
2792 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2793 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2794 * play/mpuz.el, play/tetris.el, play/zone.el:
2795 * calc/calc-comb.el (math-init-random-base):
2796 * play/blackbox.el (bb-init-board):
2797 * play/life.el (life):
2798 * server.el (server-use-tcp):
2799 * type-break.el (type-break):
2800 Remove unnecessary call to (random t).
2801 * net/sasl.el (sasl-unique-id-function):
2802 Change (random t) to (random), now that the latter is more random.
2803 * play/life.el (life-initialized): Remove no-longer-needed var.
2804
862382df
MR
28052012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2806
2807 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2808 Consider frame's buffer predicate when choosing the buffer.
2809 (Bug#12081)
2810
262a66e1
RS
28112012-08-30 Richard Stallman <rms@gnu.org>
2812
2813 * simple.el (special-mode-map): Delete binding for `z'.
2814
f17e1d00
AS
28152012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2816
2817 * progmodes/compile.el (compilation-always-kill): Doc fix.
2818
24777832
CY
28192012-08-30 Chong Yidong <cyd@gnu.org>
2820
2821 * window.el (display-buffer-reuse-frames): Make the obsolescence
2822 message more informative.
2823
69ba1f04
GM
28242012-08-30 Glenn Morris <rgm@gnu.org>
2825
2826 * paren.el (show-paren-delay):
2827 Add a :set function. Doc fix. (Bug#12297)
2828
f0019ede
MB
28292012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2830
2831 * progmodes/compile.el (compilation-always-kill): New var.
2832 (compilation-start): Use it.
2833
35e62fc9
SM
28342012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2835
af070a1c
SM
2836 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2837 * files.el (read-only-mode): Move to simple.el.
2838
35e62fc9
SM
2839 * files.el (read-only-mode): New minor mode.
2840 (toggle-read-only): Use it and mark obsolete.
2841 (find-file--read-only):
2842 * vc/vc.el (vc-next-action, vc-checkout):
2843 * vc/vc-cvs.el (vc-cvs-checkout):
2844 * obsolete/vc-mcvs.el (vc-mcvs-update):
2845 * ffap.el (ffap--toggle-read-only): Update callers.
2846
c2c43c23
MA
28472012-08-29 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2850 remote shell scripts.
2851 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2852
2853 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2854 "/usr/local/sbin".
2855
9fba804b
SM
28562012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2859
eada0861 28602012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2861
806f0cc7
LL
2862 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2863 completion-at-point. (Bug#12220)
2864
3bb213b9
LL
2865 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2866
22ab32ef
LL
2867 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2868
eada0861 28692012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2870
19c17fc1
CY
2871 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2872 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2873
eada0861 28742012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2875
2876 * progmodes/hideif.el (hif-compress-define-list):
2877 Fix typo. (Bug#11951)
2878
eada0861 28792012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2880
2881 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2882 buffer local setting.
2883
27d6c5a8
LL
2884 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2885 rcirc-encode-coding-system.
2886
eada0861 28872012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2888
2889 * net/rcirc.el (rcirc-split-message): New function.
2890 (rcirc-send-message): Use it. (Bug#12051)
2891
d44688e4
JL
28922012-08-28 Juri Linkov <juri@jurta.org>
2893
2894 * info.el (Info-fontify-node): Hide empty lines at the end of
2895 the node. (Bug#12272)
2896
34f10d41
MR
28972012-08-27 Drew Adams <drew.adams@oracle.com>
2898
2899 * dired.el (dired-pop-to-buffer): Make window start at beginning
2900 of buffer (Bug#12281).
2901
77f1f99c
CY
29022012-08-26 Chong Yidong <cyd@gnu.org>
2903
2904 * window.el (special-display-regexps, special-display-frame-alist)
2905 (special-display-buffer-names, special-display-function)
2906 (display-buffer-reuse-frames): Mark as obsolete.
2907
2908 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2909
2910 * help.el (help-print-return-message): Don't treat
2911 display-buffer-reuse-frames specially.
2912
d97af5a0
CY
29132012-08-26 Chong Yidong <cyd@gnu.org>
2914
9fba804b
SM
2915 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2916 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2917 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2918 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2919 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2920 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2921 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2922 the functions directly with gdb-display-buffer-other-frame-action.
2923 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2924 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2925 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2926 (gdb-display-registers-buffer): Define directly.
2927 (def-gdb-display-buffer): Macro deleted.
2928 (gdb-display-buffer): Remove second and third args, callers don't
2929 use them. Defer to the default display-buffer behavior, apart
2930 from making windows dedicated.
2931 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2932
2933 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2934
2935 * window.el (display-buffer-pop-up-frame): Handle a
2936 pop-up-frame-parameters alist entry.
2937 (display-buffer): Document it.
2938
dd7ffad6
CY
29392012-08-26 Chong Yidong <cyd@gnu.org>
2940
2941 * isearch.el (search-whitespace-regexp): Make string and nil
2942 values apply to both ordinary and regexp search. Allow a cons
2943 cell value to distinguish between the two.
2944 (isearch-whitespace-regexp, isearch-search-forward)
2945 (isearch-search-backward): New functions.
2946 (isearch-occur, isearch-search-fun-default, isearch-search)
2947 (isearch-lazy-highlight-new-loop): Use them.
2948 (isearch-forward, isearch-forward-regexp): Doc fix.
2949
4c47bd1e
CY
29502012-08-26 Chong Yidong <cyd@gnu.org>
2951
2952 * faces.el (help-argument-name): Always inherit from italic
2953 (Bug#12213).
2954
9aba119d
MR
29552012-08-25 Martin Rudalics <rudalics@gmx.at>
2956
2957 * window.el (window--even-window-heights): Even heights when
2958 WINDOW and the selected window form a vertical combination.
2959 (display-buffer-use-some-window): Provide that window used gets
2960 sized back by quit-window. (Bug#11880) and (Bug#12091)
2961
ca5256ad
PE
29622012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2963
2964 Fix file time stamp problem with bzr and CVS (Bug#12001).
2965 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2966 in the file's time stamp, since the version control system loses
2967 that information.
2968
d1c0d176
JL
29692012-08-22 Juri Linkov <juri@jurta.org>
2970
2971 * info.el (Info-fontify-node): Hide the suffix of the
2972 Info file name in the header line. (Bug#12187)
2973
141562ff
GM
29742012-08-22 Glenn Morris <rgm@gnu.org>
2975
2976 * calendar/cal-tex.el (cal-tex-weekly-common):
2977 Restore leading blank page.
2978
61a48e19 29792012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2980
2981 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2982 the region under `shift-select-mode'. (Bug#12231)
2983
29842012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2985
2986 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2987 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2988 gives details on why the space is never needed.
2989
ea95074e
MR
29902012-08-22 Martin Rudalics <rudalics@gmx.at>
2991
9fba804b
SM
2992 * window.el (walk-window-tree, window-with-parameter):
2993 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2994 should run on the minibuffer window.
2995 (window-at-side-list): Don't operate on minibuffer window.
2996 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2997 (window--size-ignore): Rename to window--size-ignore-p.
2998 Update callers.
caceae25
MR
2999 (display-buffer-in-atom-window, window--major-non-side-window)
3000 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3001 (delete-side-window, display-buffer-in-side-window):
3002 New functions.
caceae25
MR
3003 (window--side-check, window-deletable-p, delete-window)
3004 (delete-other-windows, split-window): Handle side windows and
3005 atomic windows appropriately.
3006 (window--display-buffer): Call display-buffer-record-window also
3007 when the window buffer did not change.
ea95074e 3008
80a51fa0
CS
30092012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3010
3011 * help-fns.el (help-fns--key-bindings):
3012 Abbreviate non-symbol remap targets. (Bug#12174)
3013
fbb6300b
MR
30142012-08-22 Martin Rudalics <rudalics@gmx.at>
3015
3016 * dired.el (dired-mark-remembered): Don't clobber point.
3017 (Bug#11795)
3018
2b2c0794
GM
30192012-08-22 Glenn Morris <rgm@gnu.org>
3020
3021 * progmodes/bug-reference.el (bug-reference): New custom group.
3022 (bug-reference-bug-regexp): Make it a defcustom.
3023
37219830
DU
30242012-08-22 Daiki Ueno <ueno@unixuser.org>
3025
3026 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3027 (js-paren-indent-offset, js-square-indent-offset)
3028 (js-curly-indent-offset): Add :safe (Bug#12257).
3029
94e0e559
EC
30302012-08-22 Edward O'Connor <hober0@gmail.com>
3031
3032 * json.el (json-key-format): Add error properties.
3033 (json-encode-key): New function.
3034 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3035 Use json-encode-key.
3036
da485f5e
GM
30372012-08-22 Glenn Morris <rgm@gnu.org>
3038
3039 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3040 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3041 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3042 Update for above change.
3043
c6cc78b8
AS
30442012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3045
3046 * cus-face.el (custom-face-attributes): Fix customize type for the
3047 :underline attribute. (Bug#11805)
3048
5481664a
MR
30492012-08-21 Martin Rudalics <rudalics@gmx.at>
3050
3051 * window.el (window-point-1, set-window-point-1): Remove.
3052 (window-in-direction, record-window-buffer)
3053 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3054 (window--state-get-1, display-buffer-record-window):
3055 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3056 window-point and set-window-point respectively.
3057
6d74698e
GM
30582012-08-21 Glenn Morris <rgm@gnu.org>
3059
b7fa2691
GM
3060 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3061 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3062 Use it.
3063
52f56d5a
GM
3064 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3065 (cal-tex-shortday): New function.
3066 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3067 (cal-tex-cursor-filofax-daily): Use the above.
3068
9f1ee09e
GM
3069 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3070 New functions.
3071 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3072 (cal-tex-cursor-filofax-week): Use them.
3073
79858159
GM
3074 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3075 New constants.
3076 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3077 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3078
d346b2b4
GM
3079 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3080 (cal-tex-end-document): Don't rely on buffer name.
3081
b2403709
GM
3082 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3083 Use cal-tex-vspace.
3084 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3085 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3086 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3087 Use cal-tex-arg.
b2403709 3088
1cebb5c0
GM
3089 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3090 (cal-tex-cursor-week, cal-tex-cursor-week2)
3091 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3092 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3093 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3094 (cal-tex-insert-preamble, cal-tex-b-document)
3095 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3096 Improve cal-tex-cmd usage.
3097
c68cd5d4
GM
3098 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3099 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3100 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3101 (cal-tex-weekly-paper): New function.
3102 (cal-tex-cursor-week, cal-tex-cursor-week2)
3103 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3104 (cal-tex-cursor-day): Use it.
3105
9dca4801
GM
3106 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3107 (cal-tex-cursor-filofax-week): Remove leading blank page.
3108
1941e134
GM
3109 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3110 Add autoload cookie. For now at least, don't use color, since
3111 no other cal-tex function does.
3112
6d74698e
GM
3113 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3114 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3115 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3116
64cde199
JL
31172012-08-21 Juri Linkov <juri@jurta.org>
3118
3119 * info.el (Info-file-attributes): New variable.
3120 (info-insert-file-contents): Add file attributes to
3121 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3122 `Info-toc-nodes' when previous modtime of the Info file is less
3123 than new modtime.
3124 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3125 of info.el. (Bug#12230)
3126
32757648
GM
31272012-08-20 Glenn Morris <rgm@gnu.org>
3128
3129 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3130 * calendar/holidays.el (calendar-holiday-list):
3131 Report errors with display-warning rather than beep'n'sleep.
3132
a32fbbcf
MA
31332012-08-20 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp.el (tramp-accept-process-output): Accept only output
3136 from PROC. Otherwise, process filters and sentinels might be
3137 confused. (Bug#12145)
3138
a05731a0
CY
31392012-08-20 Chong Yidong <cyd@gnu.org>
3140
3141 * descr-text.el (describe-text-properties-1): Use overlays-in to
3142 report on empty overlays (Bug#3322).
3143
36e8d1eb
GM
31442012-08-20 Glenn Morris <rgm@gnu.org>
3145
3d300447
GM
3146 * mail/rmailout.el (rmail-output-read-file-name):
3147 Trap and report errors in rmail-output-file-alist elements.
3148
36e8d1eb
GM
3149 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3150 since most non-font-lock faces are not also variables).
3151
b96e5814
ER
31522012-08-20 Edward Reingold <reingold@iit.edu>
3153
3154 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3155 New function. (Bug12160)
3156
7cef3569
GM
31572012-08-19 Glenn Morris <rgm@gnu.org>
3158
3159 * mail/rmailout.el (rmail-output-read-file-name):
3160 Fix previous change (when the alist is nil or does not match).
3161
17975d7f
CY
31622012-08-19 Chong Yidong <cyd@gnu.org>
3163
3164 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3165 (Bug#12228).
3166
2170b1bd
CY
31672012-08-18 Chong Yidong <cyd@gnu.org>
3168
3169 * simple.el (yank-handled-properties): New defcustom.
3170 (yank-excluded-properties): Add font-lock-face and category.
3171 (yank): Doc fix.
3172
9fba804b
SM
3173 * subr.el (remove-yank-excluded-properties):
3174 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3175 and category is now done this way, instead of being hard-coded.
3176 (insert-for-yank-1): Remove font-lock-face handling.
3177 (yank-handle-font-lock-face-property)
3178 (yank-handle-category-property): New function.
3179
ee218151
GM
31802012-08-17 Glenn Morris <rgm@gnu.org>
3181
3182 * mail/rmailout.el (rmail-output-read-file-name):
3183 Check rmail-output-file-alist against the full message body
3184 in the correct rmail buffer. (Bug#12214)
3185
4a6bc3fd
MA
31862012-08-17 Michael Albinus <michael.albinus@gmx.de>
3187
9fba804b
SM
3188 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3189 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3190
383dcbf9
CY
31912012-08-17 Chong Yidong <cyd@gnu.org>
3192
3193 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3194 font spec, set the font directly (Bug#3228).
3195
998c4a6a
MR
31962012-08-17 Martin Rudalics <rudalics@gmx.at>
3197
3198 * window.el (delete-window): Fix last fix.
3199
52162052
MR
32002012-08-16 Martin Rudalics <rudalics@gmx.at>
3201
3202 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3203 (window-child, window-child-count, window-last-child)
3204 (window-normalize-window, window-combined-p)
3205 (window-combinations, window-atom-root, window-min-size)
3206 (window-sizable, window-sizable-p, window-size-fixed-p)
3207 (window-min-delta, window-max-delta, window--resizable)
3208 (window--resizable-p, window-resizable, window-total-size)
3209 (window-full-height-p, window-full-width-p, window-body-size)
3210 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3211 (minimize-window, window-deletable-p, delete-window)
3212 (delete-other-windows, set-window-buffer-start-and-point)
3213 (next-buffer, previous-buffer, split-window, balance-windows-2)
3214 (set-window-text-height, window-buffer-height)
3215 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3216 (truncated-partial-width-window-p): Minor code adjustments.
3217 In doc-strings state whether the argument window has to denote a
85c2386b 3218 live, valid or any window.
52162052 3219
1c308380
PS
32202012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3221
3222 * progmodes/subword.el (subword-forward-function)
3223 (subword-backward-function, subword-forward-regexp)
3224 (subword-backward-regexp): New variables.
3225 (subword-forward, subword-forward-internal, subword-backward-internal):
3226 Use new variables, eg so that different "word" definitions
3227 can be easily used. (Bug#11411)
3228
94c9ece1
SM
32292012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3232 for composite selectors.
3233 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3234 operation just because we can't find a previous revision.
3235
f2045622
CY
32362012-08-15 Chong Yidong <cyd@gnu.org>
3237
3238 * frame.el (set-frame-font): Accept font objects.
3239
582db660
SM
32402012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3243
2f29c200
WJ
32442012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3245
456e62c2
WJ
3246 * man.el (Man-overstrike-face, Man-underline-face)
3247 (Man-reverse-face): Remove variables.
3248 (Man-overstrike, Man-underline, Man-reverse): New faces.
3249 (Man-fontify-manpage): Use them instead of the variables.
3250 (Man-cleanup-manpage): Comment change.
3251 (Man-ansi-color-map): New variable.
3252 (Man-fontify-manpage): Use it.
3253 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3254
2f29c200
WJ
3255 Implement ANSI SGR parameters 22-27 (bug#12146).
3256 * ansi-color.el (ansi-colors): Doc fix.
3257 (ansi-color-context, ansi-color-context-region): Doc fix.
3258 (ansi-color--find-face): New function.
3259 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3260 Rename the local variable `face' to `codes' since it is now a list of
3261 ansi codes. Doc fix.
3262 (ansi-color-get-face): Remove.
3263 (ansi-color-parse-sequence): New function, derived from
3264 ansi-color-get-face.
3265 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3266 codes 22-27.
3267
b4f5e9df
SM
32682012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * subr.el (read-passwd): Allow use from a minibuffer.
3271
ba025fbd
EZ
32722012-08-14 Eli Zaretskii <eliz@gnu.org>
3273
3274 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3275 inside comments and strings as identifiers.
3276
3277 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3278 expression to evaluate. This allows to evaluate expressions with
3279 embedded whitespace.
3280 (gud-tooltip-tips): Add a blank before the newline in the
3281 message-box text, for the benefit of message-box emulation on
3282 MS-Windows.
3283
3284 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3285 messages from GDB, pop them up in a tooltip to give feedback to
3286 user.
b4f5e9df
SM
3287 (gdb-tooltip-print-1): Quote the expression to evaluate.
3288 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3289 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3290 if the TTY name is nil or empty (which happens when communicating
3291 with the inferior via pipes, e.g. on MS-Windows).
3292 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3293 don't send that to the GUD buffer.
3294
c548f821
GM
32952012-08-14 Glenn Morris <rgm@gnu.org>
3296
3297 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3298 Optimize away setq-default with no args, as for setq. (Bug#12195)
3299
55802e4a
CY
33002012-08-14 Chong Yidong <cyd@gnu.org>
3301
4abcdac8
CY
3302 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3303
55802e4a
CY
3304 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3305 (Bug#12085).
3306
3c3cda1a
GM
33072012-08-14 Glenn Morris <rgm@gnu.org>
3308
3309 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3310
e1873bd0
MA
33112012-08-14 Michael Albinus <michael.albinus@gmx.de>
3312
3313 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3314 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3315 Use cached shell name.
3316
925411b4
FEG
33172012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3318
3319 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3320 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3321
e636fafe
DG
33222012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3323
3324 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3325 (ruby-percent-literal-beg-re): New constant.
3326 (ruby-syntax-general-delimiters-goto-beg): Rename to
3327 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3328 (ruby-syntax-propertize-general-delimiters): Rename to
3329 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3330 popular term. Adjust comments everywhere.
3331 (ruby-syntax-propertize-percent-literal): Only propertize when not
3332 inside a simple string or comment. When the literal is unclosed,
3333 leave the text after it unpropertized.
f063063a
DG
3334 (ruby-syntax-methods-before-regexp): New constant.
3335 (ruby-syntax-propertize-function): Use it to recognize regexps.
3336 Don't look at the text after regexp, just use the whitelist.
e636fafe 3337
e5b19827
AS
33382012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3339
3340 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3341 non-nil always load the compiled file if it exists. (Bug#12197)
3342
a9f6f311
CY
33432012-08-14 Chong Yidong <cyd@gnu.org>
3344
3345 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3346 (hi-lock-set-pattern): When deciding whether to use font lock or
3347 overlays, look at font-lock-mode instead of font-lock-fontified
3348 (Bug#12168).
3349 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3350 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3351
7d806b1e
DU
33522012-08-14 Daiki Ueno <ueno@unixuser.org>
3353
3354 * subr.el (internal--after-with-selected-window): Fix typo
3355 (Bug#12193).
3356
5beed586
FEG
33572012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3358
3359 Use `completion-table-dynamic' for completion functions.
3360 * progmodes/python.el
3361 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3362 (python-shell-completion--get-completions):
3363 Remove functions.
5beed586
FEG
3364 (python-shell-completion-complete-at-point): New function.
3365 (python-completion-complete-at-point): Use it.
3366
92cb3b04
J
33672012-08-13 Jambunathan K <kjambunathan@gmail.com>
3368
3369 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3370 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3371
89660017
SM
33722012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3c98c962
SM
3374 * subr.el (function-get): Refine `autoload' arg so it can also
3375 autoload functions for gv.el (bug#12191).
3376 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3377 autoloads macros.
3378
aa7c6dbe
SM
3379 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3380 Prefer pcase-let over destructuring-bind.
3381 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3382 Also, remove whitespace as we go, rather than after accumulating the
3383 various places.
3384
89660017
SM
3385 * subr.el (internal--before-with-selected-window)
3386 (internal--after-with-selected-window): Fix typo seleted->selected.
3387 (with-selected-window): Adjust callers.
3388 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3389
31cd32c9
BG
33902012-08-13 Bastien Guerry <bzg@gnu.org>
3391
0fcd3d9f 3392 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3393 enhancement. (Bug#12172)
3394
1b15d8ad
AS
33952012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3396
31e54db0
AS
3397 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3398 type 1-6.
3399 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3400 extended headers.
3401
1b15d8ad
AS
3402 * files.el (hack-local-variables-filter): Remove useless eval.
3403
35cb9c06
MR
34042012-08-13 Martin Rudalics <rudalics@gmx.at>
3405
3406 * subr.el (with-selected-window): Fix last change.
3407
1439443b
SM
34082012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * subr.el (internal--before-with-seleted-window)
3411 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3412 (with-selected-window): Use them, to replace dependency on
3413 tty-top-frame.
1439443b 3414
0d9e2599
NN
34152012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3416
3417 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3418 binding for `newline'.
3419 (ruby-move-to-block): When moving backward, stop at block opening,
3420 not indentation.
3421 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3422 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3423 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3424 `ruby-toggle-block'.
3425
ba10c48c
SM
34262012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * ibuffer.el (ibuffer-do-toggle-read-only):
3429 * dired.el (dired-toggle-read-only):
3430 * buff-menu.el (Buffer-menu-toggle-read-only):
3431 * bindings.el (mode-line-toggle-read-only):
3432 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3433
9229c658
AS
34342012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3435
3436 * descr-text.el (describe-char): Put the overlays over the
3437 "displayed as" character.
3438
0fd09128
JB
34392012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3440
3441 * calc/calc-units.el (math-default-units-table): Give an
3442 initial value.
3443 (math-put-default-units): Add options to put composite units and
3444 unit systems in the default units table.
3445 (calc-convert-units): Send composite units to
3446 `math-put-default-units' when appropriate.
3447
9ff9402d 34482012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3449
fbb5e336
GM
3450 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3451
7aacaf15
GM
3452 * tutorial.el (help-with-tutorial):
3453 * emacs-lisp/copyright.el (copyright-update-directory):
3454 * emacs-lisp/autoload.el (autoload-find-generated-file)
3455 (autoload-find-file): Disable local eval: (for insurance).
3456
f40b9f10
GM
3457 * files.el (hack-local-variables-filter): If an eval: form is not
3458 known to be safe, and enable-local-variables is :safe, then ignore
3459 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3460 This is CVE-2012-3479.
f40b9f10 3461
daa9f1a6
SM
34622012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3465 (rx-form): Simplify.
3466
9cd80478
DG
34672012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3468
0d9e2599
NN
3469 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3470 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3471 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3472 (ruby-syntax-propertize-function): Adjust for changes in
3473 `ruby-syntax-propertize-heredoc'.
3474
34752012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3476
9cd80478
DG
3477 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3478 binding (use `M-;' instead).
9cd80478 3479 (ruby-singleton-class-p): New function.
0d9e2599 3480 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3481
d301b413
SM
34822012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3485
1530c98e
CY
34862012-08-10 Chong Yidong <cyd@gnu.org>
3487
3488 * progmodes/python.el (python-shell-get-process-name): Don't mess
3489 with same-window-buffer-names.
3490
3491 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3492 (eshell-remove-from-window-buffer-names): Make obsolete.
3493 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3494 (eshell): Just use pop-to-buffer-same-window instead.
3495
e1293765
CY
34962012-08-10 Chong Yidong <cyd@gnu.org>
3497
3498 * bindings.el: Bind M-= back to count-words-region.
3499
3500 * simple.el (count-words-region): Accept a prefix arg for acting
3501 on the entire buffer.
3502 (count-words--buffer-message): New helper function.
3503
e1894109
SM
35042012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3507 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3508 (event-start, event-end): Use posn-at-point to return a more
3509 informative posn.
3510 (posnp): New function.
3511 * mouse.el (popup-menu-normalize-position): Use it.
3512
c69f56a2
MY
35132012-08-10 Masatake YAMATO <yamato@redhat.com>
3514
3515 * mouse.el (popup-menu-normalize-position): New function.
3516 (popup-menu): Use `popup-menu-normalize-position' to normalize
3517 the form for POSITION argument.
3518
3519 * term/x-win.el (x-menu-bar-open):
3520 Use the value returend from (posn-at-point) as position
3521 passed to `popup-menu'.
3522
31673780
JB
35232012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3524
3525 * calc/calccomp.el (math-compose-expr): Add extra argument
3526 indicating that parentheses should be put around products in
3527 denominators. Give multiplication precedence over division during
3528 composition.
3529
dab7711b
CY
35302012-08-09 Chong Yidong <cyd@gnu.org>
3531
dee4ef93
CY
3532 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3533 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3534 (Man-untabify-command, manual-program): Convert to defcustom
3535 (Bug#10429).
3536
73e2bbc5
CY
3537 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3538
3e861c8a
CY
3539 * descr-text.el (describe-char): Don't insert extra newlines
3540 (Bug#10127).
3541
a9f5a649
CY
3542 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3543 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3544
dab7711b
CY
3545 * align.el (align-region): Delete temporary markers (Bug#10047).
3546 Plus some code cleanups.
3547
e0cc4efa
FEG
35482012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3549
3550 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3551 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3552 (python-shell-internal-last-output): Use make-local-variable
3553 instead of make-variable-buffer-local.
3554
489af14f
FEG
35552012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3556
3557 * progmodes/python.el: Enhancements to forward-sexp.
3558 (python-nav-forward-sexp): Rename from
3559 python-nav-forward-sexp-function.
c69f56a2
MY
3560 (python-nav--forward-sexp, python-nav--backward-sexp):
3561 New functions.
489af14f 3562
0fc50303
JB
35632012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3564
3565 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3566 modes and simplification modes.
3567
5d65606a
SM
35682012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * delsel.el (delete-selection-pre-hook): Don't propagate the
3571 file-supersession signals (bug#12161).
3572
4250fdf5
SM
35732012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3576 (cl-map-extents): Add compatibility aliases (bug#12135).
3577
d9f9b465
MA
35782012-08-08 Michael Albinus <michael.albinus@gmx.de>
3579
3580 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3581 tests by `ignore-error'.
3582 (tramp-find-shell): Open also a new shell, when cache is already
3583 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3584
ce0fcefa
JL
35852012-08-08 Juri Linkov <juri@jurta.org>
3586
3587 * bookmark.el: Add `defaults' property to the bookmark record.
3588 (bookmark-current-buffer): Doc fix.
3589 (bookmark-make-record): Add `defaults' property with default values
3590 to the bookmark record.
3591 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3592 with `bookmark-insert-current-bookmark'.
3593 (bookmark-set): Get `defaults' property from the bookmark record
3594 and use it in `read-from-minibuffer'.
3595 (bookmark-insert-current-bookmark): Remove function.
3596
3597 * info.el (Info-bookmark-make-record): Add `defaults' property
3598 with values of canonical Info node name, the current Info file
3599 name and the current Info node name. (Bug#12107)
3600
53fa8652
JL
36012012-08-08 Juri Linkov <juri@jurta.org>
3602
3603 * files.el (basic-save-buffer): Use `buffer-name' as the default
3604 of `read-file-name' when buffer is not visiting a file (bug#12128).
3605
242c0a95
JL
36062012-08-08 Juri Linkov <juri@jurta.org>
3607
3608 * info.el (Info-isearch-search): Doc fix.
3609 (Info-search): Change search-failed message from "initial node" to
3610 "end of node" (bug#12078).
3611 (Info-isearch-search): Change `isearch-string-state' to
3612 `isearch--state-string'.
3613
32ac3a6b
GM
36142012-08-08 Glenn Morris <rgm@gnu.org>
3615
3616 * language/persian.el: Remove file.
f8c1afd5 3617 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3618 * loadup.el: Remove language/persian.
3619
2c2d9c9c
OF
36202012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3621
3622 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3623
2d79ec42
FEG
36242012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3625
3626 * progmodes/python.el Fixed defsubst warning.
3627 (python-syntax-context) Rename from python-info-ppss-context.
3628 (python-syntax-context-type): Rename from
3629 python-info-ppss-context-type.
3630 (python-syntax-comment-or-string-p): Rename from
3631 python-info-ppss-comment-or-string-p.
3632
2bd255dd
JB
36332012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3634
3635 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3636
c395097f
AS
36372012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3638
6125983e
AS
3639 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3640 a defcustom that is quoted with backquote.
3641
4250fdf5
SM
3642 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3643 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3644 (math-do-arg-check, math-define-function-body): Use backquote forms.
3645 * calc/calc-ext.el (math-defcache): Likewise.
3646 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3647 * allout.el (allout-new-exposure): Likewise.
3648 * calc/calcalg2.el (math-tracing-integral): Likewise.
3649 * info.el (Info-last-menu-item): Likewise.
3650 * emulation/vip.el (vip-loop): Likewise.
3651 * textmodes/artist.el (artist-funcall): Likewise.
3652 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3653 Construct menu-item directly.
3654
4250fdf5
SM
3655 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3656 Don't declare.
c395097f 3657
5fb50dd3
CY
36582012-08-07 Chong Yidong <cyd@gnu.org>
3659
3660 * simple.el (deactivate-mark): Preserve text properties when
3661 saving the primary selection (Bug#8384).
3662
54eea618
KR
36632012-08-07 Kevin Ryde <user42@zip.com.au>
3664
3665 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3666 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3667 and continue processing (Bug#12110).
3668
638eaeb9
SM
36692012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3672 syntax-propertize-function (bug#10095).
3673
ea376861
SM
36742012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3675
f91b35be
SM
3676 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3677 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3678 describe-function-1.
3679 (describe-function-1): Use them. Move compiler macro after sig.
3680 (help-fns--compiler-macro): Use function-get. Assume we're already in
3681 standard-output. Adjust layout to new call order.
3682
ea376861
SM
3683 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3684 re-binding a symbol that has a symbol-macro (bug#12119).
3685
d5be7bd0
MB
36862012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3687
3688 * language/persian.el: New file. (Bug#11812)
3689 * loadup.el: Add language/persian.el.
3690
90749b53
CY
36912012-08-06 Chong Yidong <cyd@gnu.org>
3692
3693 * window.el (window--maybe-raise-frame): New function.
3694 (window--display-buffer): Split off from here.
3695 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3696 (display-buffer-pop-up-window, display-buffer-use-some-window):
3697 Obey an inhibit-switch-frame action alist entry.
3698 (display-buffer): Update doc.
3699
3700 * replace.el (occur-after-change-function): Avoid losing focus by
3701 using the inhibit-switch-frame display parameter (Bug#12139).
3702
ba7b0154
FEG
37032012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3704
3705 Make internal shell process buffer names start with space.
3706 * progmodes/python.el (python-shell-make-comint): Add optional
3707 argument INTERNAL.
3708 (run-python-internal): Use it.
3709 (python-shell-internal-get-or-create-process): Check for new
3710 internal buffer names.
3711
5eaeacb5
GM
37122012-08-06 Glenn Morris <rgm@gnu.org>
3713
e296d94b 3714 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3715 Do less getting and setting of environment variables.
3716
b7ccbdc2
CY
37172012-08-05 Chong Yidong <cyd@gnu.org>
3718
777fe95e
CY
3719 * proced.el (proced): Add substitution string to docstring to
3720 trigger autoloading of the proced library on C-h f (Bug#1768).
3721
4250fdf5
SM
3722 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3723 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3724
3725 * imenu.el (imenu-generic-expression): Move documentation here
3726 from imenu--generic-function.
3727 (imenu--generic-function): Refer to imenu-generic-expression.
3728
9e3b7800 37292012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3730
3731 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3732 indentation declaration.
3733 (viper-loop): Add indentation declaration (Bug#7025).
3734
e5d9c0d1
CY
37352012-08-05 Chong Yidong <cyd@gnu.org>
3736
f0422feb
CY
3737 * help-fns.el (describe-variable): Add hyperlink for
3738 directory-local variables files. Improve buffer-local and
3739 permanent-local reporting; suggested by MON KEY (Bug#6644).
3740
3741 * help-mode.el (help-dir-local-var-def): New button type.
3742
e5d9c0d1
CY
3743 * files.el (kill-buffer-hook): Provide a defvar.
3744
a4f2deaa
GM
37452012-08-05 Glenn Morris <rgm@gnu.org>
3746
3747 * eshell/esh-ext.el (eshell/addpath):
3748 Also update eshell-path-env. (Bug#12013)
3749
a9dd5754
CY
37502012-08-05 Chong Yidong <cyd@gnu.org>
3751
a4f2deaa 3752 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3753
d014c740
CY
3754 * fringe.el (fringe-styles): Add docstring.
3755 (fringe--check-mode): New function.
3756 (set-fringe-mode, set-fringe-style): Use it.
3757 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3758
a9dd5754
CY
3759 * files.el (set-auto-mode): Fix invalid setq call.
3760
7c2dc8bd
SM
37612012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * isearch.el: Misc simplification; use defstruct.
3764 (isearch-mode-map): Dense maps now work like sparse ones.
3765 (isearch--state): New defstruct.
3766 (isearch-string-state, isearch-message-state, isearch-point-state)
3767 (isearch-success-state, isearch-forward-state)
3768 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3769 (isearch-wrapped-state, isearch-barrier-state)
3770 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3771 replaced by defstruct's accessors.
3772 (isearch--set-state): Rename from isearch-top-state and change
3773 calling convention.
3774 (isearch-push-state): Use new isearch--get-state.
3775 (isearch-toggle-word): Disable regexp when enabling word.
3776 (isearch-message-prefix): Remove unused arg _c-q-hack.
3777 (isearch-message-suffix): Remove unused arg _ellipsis.
3778
7fcc0070
AS
37792012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3780
3781 * simple.el (list-processes--refresh): For a server use :host or
3782 :local as the address.
97ad0769 3783 (list-processes): Doc fix.
7fcc0070 3784
a11035b8 37852012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3786
3787 * lisp/mpc.el: Support password in host argument.
3788 (mpc--proc-connect): Parse and use new password element.
3789 Set mpc-proc variable instead of returning process.
3790 (mpc-proc): Adjust accordingly.
3791
6dad7178
EZ
37922012-08-03 Eli Zaretskii <eliz@gnu.org>
3793
18949c2f
EZ
3794 * whitespace.el (whitespace-display-mappings): Use Unicode
3795 codepoints, instead of emacs-mule codepoints. See
3796 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3797 for the details.
3798
6dad7178
EZ
3799 * files.el (file-truename): Don't skip symlink-chasing part on
3800 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3801 Windows into the loop that recursively chases symlinks.
3802 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3803 MS-DOS.
3804
385b0198
CY
38052012-08-03 Chong Yidong <cyd@gnu.org>
3806
6200f3c4
CY
3807 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3808
385b0198
CY
3809 * sort.el (sort-regexp-fields): Doc fix.
3810
b9e74744
TH
38112012-08-03 Tassilo Horn <tsdh@gnu.org>
3812
3813 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3814 labels regex position point at the expected place.
3815
41013cb4
MK
38162012-08-03 MON KEY <monkey@sandpframing.com>
3817
3818 * net/imap.el (imap-interactive-login, imap-authenticate)
3819 (imap-mailbox-lsub, imap-mailbox-list)
3820 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3821 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3822 (imap-parse-response): Doc fix.
3823
0ffee616
JT
38242012-08-03 João Távora <joaotavora@gmail.com>
3825
3826 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3827 if sexp scanning does not move point (Bug#5734).
3828
cfcc9cc8
TH
38292012-08-02 Tassilo Horn <tsdh@gnu.org>
3830
3831 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3832 Add listings, minted, and ctable packages.
3833 (reftex-label-alist-builtin): Move listings, minted, and ctable
3834 entries before LaTeX.
a01bbb84 3835 (reftex-label-alist): Docfix.
cfcc9cc8 3836
66ec2442
BG
38372012-08-02 Bastien Guerry <bzg@gnu.org>
3838
3839 * replace.el (occur): Fix docstring (bug#12122).
3840
837b365b
GM
38412012-08-02 Glenn Morris <rgm@gnu.org>
3842
3843 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3844
e098de97
PE
38452012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3846
3847 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3848 * international/mule-cmds.el: Create
3849 inactivate-current-input-method-function as an obsolete alias for
3850 deactivate-current-input-method-function. See Katsumi Yamaoka in
3851 <http://bugs.gnu.org/10150#46>.
3852
a0f95636
JB
38532012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3854
3855 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3856 of nested `if's.
3857
0d26d7c4
GM
38582012-08-01 Glenn Morris <rgm@gnu.org>
3859
3860 * progmodes/autoconf.el (autoconf-definition-regexp):
3861 Add AH_TEMPLATE, adjust submatch numbering.
3862 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3863 (autoconf-current-defun-function): Update for above change.
3864 (autoconf-current-defun-function): First skip to end of current word.
3865
b686ba06
RS
38662012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3867
3868 * calendar/cal-html.el (cal-html-insert-agenda-days):
3869 Fix typo. (Bug#12018)
3870
0d49da68
FEG
38712012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3872
3873 Shell processes: enhancements to startup and CEDET compatibility.
3874 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3875 (python-shell-make-comint): accept-process-output at startup.
3876 (run-python-internal): Set inferior-python-mode-hook to nil.
3877 (python-shell-internal-get-or-create-process): call sit-for.
3878 (python-preoutput-result): Add obsolete alias.
3879 (python-shell-internal-send-string): Use it.
3880 (python-shell-send-setup-code): Remove call to
3881 accept-process-output.
3882
f1a71c6e
AS
38832012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3884
3885 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3886 (Bug#12108)
3887
d2605269
JB
38882012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3889
3890 * calc-mode.el (calc-basic-simplification-mode): Rename from
3891 `calc-limited-simplification-mode'.
3892 (calc-alg-simplification-mode): New function.
fc0c31f8 3893 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3894
d2605269
JB
3895 * calc.el (calc-set-mode-line): Adjust mode line display for
3896 basic simplification mode.
3897
3898 * calc-help.el (calc-m-prefix-help): Update help message.
3899
3900 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3901 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3902
a3827a43
BG
39032012-07-31 Bastien Guerry <bzg@gnu.org>
3904
3905 * man.el (man): Fix comment. (bug#12101)
3906
502e3f89
MR
39072012-07-31 Martin Rudalics <rudalics@gmx.at>
3908
3909 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3910 Don't return a non-nil value when no suitable buffer was found.
3911
d7714961
FEG
39122012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3913
3914 * progmodes/python.el (run-python-internal): Disable font lock for
3915 internal shells.
3916
1f45e27e
SM
39172012-07-30 Stefan Merten <smerten@oekonux.de>
3918
70efc5c9 3919 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3920 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3921 (rst-official-version, rst-official-cvs-rev)
3922 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3923 (rst-mode-map): New key binding.
3924
0aee6912
PE
39252012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3926
3927 Update .PHONY listings in makefiles.
3928 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3929 autoloads, update-subdirs, updates, bzr-update, update-authors,
3930 compile-onefile, compile-calc, backup-compiled-files,
3931 compile-after-backup, compile-one-process, mh-autoloads,
3932 bootstrap-clean, distclean, maintainer-clean.
3933
9052f9f0
JB
39342012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3935
1823ac5a
JB
3936 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3937 (calc-set-mode-line): Don't display "AlgSimp ".
3938
3939 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3940 (calc-lim-simplify-mode): New function.
3941 (calc-set-simplify-mode): Default to 'alg.
3942 (calc-default-simplify-mode): Make algebraic simplifications
3943 the default.
3944
3945 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3946 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3947
8d7c7eed 3948 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3949 indicate new simplification modes.
3950
1823ac5a
JB
3951 * calc/README: Mention new default simplification mode.
3952
9052f9f0
JB
3953 * calc/calc.el (math-normalize-error): New variable.
3954 (math-normalize): Set `math-normalize-error' to t
3955 when there's an error.
3956
3957 * calc/calc-alg.el (math-simplify): Don't simplify when
3958 `math-normalize' returns an error.
3959
20ba0cb4
EZ
39602012-07-29 Eli Zaretskii <eliz@gnu.org>
3961
3962 * international/mule-cmds.el (set-locale-environment): Revert last
3963 change, since display-graphic-p returns nil when this function is
3964 called during startup. Instead...
3965
3966 * term/w32console.el (terminal-init-w32console): ...setup the
3967 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3968
a5dcc929
JL
39692012-07-29 Juri Linkov <juri@jurta.org>
3970
3971 * simple.el (goto-line): Don't display default line number in the
3972 prompt because it should be displayed by `read-number' (bug#9952).
3973 Add the current line number to the defaults of `goto-line' to
3974 allow its easier modification by users with `M-n' (bug#9201).
3975
3976 * subr.el (read-number): Support multiple default values like in
3977 other minibuffer reading functions. Replace `read' with
3978 `string-to-number' for consistency with `number-to-string'.
3979
72b255c7
PE
39802012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3981
3982 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3983 * emulation/viper-init.el (viper-deactivate-input-method-action):
3984 Rename from viper-inactivate-input-method-action.
3985 (viper-deactivate-input-method):
3986 Rename from viper-inactivate-input-method.
3987 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3988 * international/mule-cmds.el (deactivate-input-method):
3989 Rename from inactivate-input-method.
3990 Also run input-method-deactivate-hook.
3991 (deactivate-current-input-method-function):
3992 Rename from inactivate-current-input-method-function.
3993 (input-method-deactivate-hook): New hook.
3994 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3995 (inactivate-input-method): Mark obsolete.
3996
72b255c7
PE
3997 * international/quail.el (quail-activate):
3998 Also run quail-deactivate-hook.
3999 (quail-deactivate): Rename from quail-inactivate.
4000 * international/robin.el (robin-activate):
4001 Also run robin-deactivate-hook.
4002 (robin-deactivate): Rename from robin-inactivate.
4003
2549c068
CY
40042012-07-29 Chong Yidong <cyd@gnu.org>
4005
4006 * simple.el (indicate-copied-region): New function.
4007 (kill-ring-save): Split off from here.
4008
4009 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4010 (kill-rectangle): Set deactivate-mark to t on read-only error.
4011
4012 * register.el (copy-to-register, copy-rectangle-to-register):
4013 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4014 (append-to-register, prepend-to-register): Call indicate-copied-region.
4015
40162012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4017
4018 * simple.el (async-shell-command-buffer): New defcustom.
4019 (shell-command): Use it. (Bug#4719)
4020
01bd1b0d
EZ
40212012-07-28 Eli Zaretskii <eliz@gnu.org>
4022
4023 * international/mule-cmds.el (set-locale-environment): In a
4024 console session on MS-Windows, set up keyboard and terminal
4025 encoding from the OEM codepage, not the ANSI codepage.
4026 (Bug#12055)
4027
a55739d3
CY
40282012-07-28 Chong Yidong <cyd@gnu.org>
4029
4030 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4031 gdb-get-location.
4032
0e1a094f 40332012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4034
4035 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4036 the alist (bug#12029).
4037
20329d73
EZ
40382012-07-28 Eli Zaretskii <eliz@gnu.org>
4039
4040 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4041 (compile-always, compile-first)
4042 ($(lisp)/calendar/cal-loaddefs.el)
4043 ($(lisp)/calendar/diary-loaddefs.el)
4044 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4045 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4046 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4047 instead of on update-subdirs.
4048 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4049
345a2258
CY
40502012-07-28 Chong Yidong <cyd@gnu.org>
4051
1eee6341
CY
4052 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4053 directory if vc-deduce-backend returns nil (Bug#7350).
4054
345a2258
CY
4055 * simple.el (delete-trailing-lines): New option.
4056 (delete-trailing-whitespace): Obey it (Bug#11879).
4057
049a0936
DE
40582012-07-28 David Engster <deng@randomsample.de>
4059
4060 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4061 Explanation of new 'symbol-qnames feature in doc-strings.
4062 (xml-maybe-do-ns): Return expanded names as plain symbols if
4063 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4064 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4065
aa81af71
FEG
40662012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4067
4068 Consistent completion in inferior python with emacs -nw.
4069 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4070 binding in inferior-python-mode-map with "\t".
4071 (python-shell-completion-complete-at-point)
4072 (python-completion-complete-at-point): Remove interactive spec.
4073
e827b1eb
JB
40742012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4075
4076 * calc/calccomp.el (math-compose-expr): Undo previous change.
4077
a90dfb95
FEG
40782012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4079
4250fdf5 4080 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4081 run-python.
4082 (python-shell-make-comint): Fix pop-to-buffer call.
4083 (run-python): Autoload. New arg SHOW.
4084 (python-shell-get-or-create-process): Do not pop python process
4085 buffer.
4086
32770973 40872012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4088
4089 * notifications.el (notifications-on-action-signal)
4090 (notifications-on-closed-signal): Use also the bus address for the map.
4091 (notifications-notify, notifications-close-notification)
fc0c31f8 4092 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4093
86332df2
TH
40942012-07-27 Tassilo Horn <tsdh@gnu.org>
4095
4250fdf5
SM
4096 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4097 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4098 ctable macro.
4099 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4100 labels written in keyvals syntax.
4101
ca1302a4
JB
41022012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4103
4104 * calc/calccomp.el (math-compose-expr): Use parentheses when
4105 there is a product in the denominator of a fraction.
4106
f8b91036
EZ
41072012-07-26 Eli Zaretskii <eliz@gnu.org>
4108
4109 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4110 ($(lisp)/calendar/diary-loaddefs.el)
4111 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4112 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4113 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4114 rewritten while the autoload files are built at the same time,
4115 which needs to load subdirs.el.
4116
c8e5a42c
MR
41172012-07-26 Martin Rudalics <rudalics@gmx.at>
4118
4119 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4120 (mouse-drag-line): Don't exit tracking when a switch-frame or
4121 switch-window event occurs (Bug#12006).
4122
670d85ea
SM
41232012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * mouse.el (popup-menu): Fix last change.
4126
7abaf5cc
SM
41272012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 Autoload from Lisp with more care. Follow aliases when looking for
4130 function properties.
4131 * subr.el (autoloadp): New function.
4132 (symbol-file): Use it.
4133 (function-get): New function.
4134 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4135 autoload-do-load.
4136 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4137 (lisp-indent-function):
4138 * emacs-lisp/gv.el (gv-get):
4139 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4140 * emacs-lisp/byte-opt.el (byte-optimize-form):
4141 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4142 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4143 Use function-get.
4144 * emacs-lisp/cl.el: Don't propagate function properties any more.
4145
4146 * speedbar.el (speedbar-add-localized-speedbar-support):
4147 * emacs-lisp/disass.el (disassemble-internal):
4148 * desktop.el (desktop-load-file):
4149 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4150 (describe-function-1):
4151 * emacs-lisp/find-func.el (find-function-noselect):
4152 * emacs-lisp/elp.el (elp-instrument-function):
4153 * emacs-lisp/advice.el (ad-has-proper-definition):
4154 * apropos.el (apropos-safe-documentation, apropos-macrop):
4155 * emacs-lisp/debug.el (debug-on-entry):
4156 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4157 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4158 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4159
b1364986
AA
41602012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4161
4162 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4163 function, not an obsolete variable (Bug#12046).
4164
67ada220
AS
41652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4166
4167 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4168
f08088e3
CS
41692012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4170
4171 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4172 window only if it is still live (Bug#12034).
4173
8137e7b3
MR
41742012-07-25 Martin Rudalics <rudalics@gmx.at>
4175
4176 * subr.el (redirect-frame-focus): Add advertised calling
4177 convention (Bug#12030).
4178
09ae5da1
PE
41792012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4180
4181 Prefer typical American spelling for "acknowledgment".
4182 * vc/add-log.el (change-log-acknowledgment): Rename from
4183 change-log-acknowledgement, with an alias for the old name.
4184
3cc5a3a8
JB
41852012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4186
4187 * calc-alg.el (math-simplify-divide): Don't cross multiply
4188 in an equation when the lhs is a variable.
4189
b7af7f62
JD
41902012-07-24 Julien Danjou <julien@danjou.info>
4191
4192 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4193 Remove, unused.
4194
ec1b09b1
EZ
41952012-07-23 Eli Zaretskii <eliz@gnu.org>
4196
4197 * startup.el (command-line): Don't display an empty user name in
4198 the error message about non-existent home directory, when
4199 init-file-user was set to an empty string. See
4200 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4201 for the details and context.
4202
b525fd8a
VB
42032012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4204
4205 * ses.el (ses-cell-formula-aset): New macro.
4206 (ses-cell-references-aset): New macro.
4207 (ses-cell-p): New function.
4208 (ses-rename-cell): Do no longer rely on complex operations like
4209 ses-cell-set-formula or ses-set-cell to change the cell and handle
4210 the undo at the same time, but rather use lower level new macros
4211 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4212 the undo directly. Refresh the mode line.
b525fd8a 4213
2c73e345
LL
42142012-07-21 Leo Liu <sdl.web@gmail.com>
4215
670d85ea
SM
4216 * progmodes/cc-cmds.el (c-defun-name):
4217 Use match-string-no-properties instead for consistency.
2c73e345 4218
542dfbde
LL
42192012-07-20 Leo Liu <sdl.web@gmail.com>
4220
3646bcd6
LL
4221 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4222 (Bug#7879)
4223
542dfbde
LL
4224 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4225
25721031
CY
42262012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4229 * progmodes/bug-reference.el, misearch.el: Provide themselves
4230 (bug#11915).
4231
4232 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4233 of narrowed buffer (bug#11966).
4234
316e68a7
VB
42352012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4236
4237 * ses.el (ses-rename-cell): Set new name also in reference list of
4238 cells of which the renamed cell depends.
4239
bbf0e7d9
MY
42402012-07-20 Masatake YAMATO <yamato@redhat.com>
4241
4242 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4243 to check whether menu-bar is shown or not. If not shown,
4244 show the menu-bar as a popup menu instead of using tmm.
4245 * mouse.el (popup-menu): Accept `point' as `position' argument.
4246
c28662a8
DG
42472012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4248
4249 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4250 up inside string symbol literal (bug#11923).
4251
87ab808f
EZ
42522012-07-20 Eli Zaretskii <eliz@gnu.org>
4253
4254 * startup.el (fancy-startup-text): Read the whole tutorial, not
4255 just its first 256 bytes. Prevents gibberish in display of the
4256 tutorial title.
4257
89dea803
DA
42582012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4259
4260 Drop idle buffer compaction due to an absence of the
4261 proved efficiency.
4262 * compact.el: Remove.
4263
8a4e6db8
SS
42642012-07-19 Sam Steingold <sds@gnu.org>
4265
4266 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4267 vc-bzr-pull & vc-bzr-merge-branch.
4268 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4269 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4270 for consistency with compilation-error-regexp-alist.
4271 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4272 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4273 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4274 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4275
5db81e33
SM
42762012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * emacs-lisp/chart.el: Use lexical-binding.
4279 (chart-emacs-storage): Don't hardcode the list of entries.
4280
5b835e1d
DA
42812012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4282
4283 Next round of tweaks caused by Fgarbage_collect changes.
4284 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4285
9cd47b72
DA
42862012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4287
4288 Compact buffers when idle.
4289 * compact.el: New file.
4290
1d6fc0df
SM
42912012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * subr.el (eventp): Presume that if it looks vaguely like an event,
4294 it's an event (bug#10190).
4295
1d29cc7d
FEG
42962012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4297
4298 Enhancements to ppss related code (thanks Stefan).
4299 * progmodes/python.el (python-indent-context)
4300 (python-indent-calculate-indentation, python-indent-dedent-line)
4301 (python-indent-electric-colon, python-nav-forward-block)
4302 (python-mode-abbrev-table)
1d6fc0df 4303 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4304 for ppss context.
4305 (python-info-continuation-line-p): Cleanup.
4306 (python-info-ppss-context): Do not catch 'quote.
4307 (python-info-ppss-context-type)
4308 (python-info-ppss-comment-or-string-p): Simplify.
4309
d583cbe6
FEG
43102012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4311
4312 * progmodes/python.el: Enhancements to eldoc support.
4313 (python-info-current-symbol): New function.
4314 (python-eldoc-at-point): Use python-info-current-symbol.
4315 (python-info-current-defun): Fix cornercase on first defun scan.
4316 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4317 and signal error when no inferior python process is available.
4318
eceb6feb
DG
43192012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4320
4321 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4322 assume it's always t.
4323 (vc-git-registered): Remove caching, the function is only called
4324 once.
4325 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4326
4c8ff0fe
CY
43272012-07-18 Chong Yidong <cyd@gnu.org>
4328
19fb7186
CY
4329 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4330
9587c688
CY
4331 * simple.el (count-words): Report on narrowing (Bug#9959).
4332
0fe776a1
CY
4333 * bindings.el: Bind M-= to count-words.
4334
4c8ff0fe
CY
4335 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4336
7f5331cc
MY
43372012-07-18 Masatake YAMATO <yamato@redhat.com>
4338
4339 * progmodes/sh-script.el (sh-imenu-generic-expression):
4340 Capture a function with `function' keyword and without parentheses
4341 like "function FOO" (bug#11856).
4342
2dc2a609
TH
43432012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4344
4345 * window.el (split-window-sensibly): Make WINDOW argument
4346 optional.
4347
439f7677
CY
43482012-07-18 Chong Yidong <cyd@gnu.org>
4349
9aeb25a6
CY
4350 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4351
439f7677
CY
4352 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4353 and make C-x 8 RET exit isearch (Bug#11439).
4354
4355 * international/iso-transl.el: Move isearch-mode-map key
4356 definitions to isearch.el.
4357
12999ea8
SM
43582012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4361 (eieio-defclass): Use gv-define-setter when possible.
4362
3ab6e069
DA
43632012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4364
4365 Reflect recent changes in Fgarbage_collect.
4366 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4367 reflect new format of data returned by Fgarbage_collect.
4368
0a60bc10
FEG
43692012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4370
4371 New utility functions + python-info-ppss-context fix (Bug#11910).
4372 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4373 (python-info-ppss-comment-or-string-p): New functions.
4374 (python-info-ppss-context): Small fix for string check.
4375
6dafa0d5
JL
43762012-07-17 Juri Linkov <juri@jurta.org>
4377
4378 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4379 (dired-do-async-shell-command): Don't add `*' at the end of the
4380 command (Bug#11815).
4381 (dired-do-shell-command): Doc fix.
4382 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4383 Join the individual commands using either "&" or ";" as the
4384 separator depending on the values of these trailing characters.
4385 At the end re-add the trailing "&". (Bug#10598)
4386
4387 * simple.el (async-shell-command): Sync the interactive spec with
4388 `shell-command'. Doc fix.
4389 (shell-command): Doc fix.
4390
b19dd9d1
JL
43912012-07-17 Juri Linkov <juri@jurta.org>
4392
4393 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4394
bcdc27d7 43952012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4396
bcdc27d7 4397 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4398 * progmodes/python.el (python-nav-beginning-of-statement):
4399 Rename from python-nav-statement-start.
bcdc27d7
FEG
4400 (python-nav-end-of-statement): Rename from
4401 python-nav-statement-end.
4402 (python-nav-beginning-of-block): Rename from
4403 python-nav-block-start.
4404 (python-nav-end-of-block): Rename from python-nav-block-end.
4405
191da00e
FEG
44062012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4407
7f5331cc
MY
4408 * progmodes/python.el (python-shell-send-string-no-output):
4409 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4410 future interactions (Bug#11868).
4411
4dc7c8d5 44122012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4413
88ecaf8f
SM
4414 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4415
ef501ef0
SM
4416 * emacs-lisp/elint.el (elint-find-args-in-code):
4417 Use help-function-arglist, so as to handle lexical byte-code.
4418
aa7aaf8f
SM
4419 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4420 change (bug#11826).
4421
45fd731c
SM
44222012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4423
2143fa32
SM
4424 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4425 Avoid spuriously marking the buffer as modified because of c-is-sws.
4426
efc26dbe
SM
4427 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4428 as not-a-comment (bug#11946).
4429
f5695c9a
SM
4430 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4431 for uninterned vars.
4432
4433 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4434 Use read-event since we don't really want to read chars but bytes.
4435
45fd731c
SM
4436 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4437 $$..$$ but also $..$ using regexps (bug#11953).
4438 Use tex-verbatim for \url and \path.
4439 (tex-font-lock-keywords): Define as defconst like the others.
4440 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4441
ddfc8813
RK
44422012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4443
4444 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4445 alias for insert-char.
4446
758e556a
FEG
44472012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4448
4449 * progmodes/python.el: Simplified imenu implementation.
4450 (python-nav-jump-to-defun): Remove command.
4451 (python-mode-map): Use `imenu' instead.
4452 (python-nav-list-defun-positions-cache)
4453 (python-imenu-include-defun-type, python-imenu-make-tree)
4454 (python-imenu-subtree-root-label, python-imenu-index-alist):
4455 Remove vars.
4456 (python-nav-list-defun-positions, python-nav-read-defun)
4457 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4458 (python-imenu-make-tree, python-imenu-create-index):
4459 Remove functions.
758e556a
FEG
4460 (python-mode): Update to interact with imenu by setting
4461 `imenu-extract-index-name-function' only.
4462
032d23ab
FEG
44632012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4464
4465 * progmodes/python.el: Enhancements to navigation commands.
4466 (python-nav-backward-sentence)
4467 (python-nav-forward-sentence): Remove.
4468 (python-nav-backward-statement, python-nav-forward-statement)
4469 (python-nav-statement-start, python-nav-statement-end)
4470 (python-nav-backward-block, python-nav-forward-block)
4471 (python-nav-block-start, python-nav-block-end)
4472 (python-nav-forward-sexp-function)
4473 (python-info-current-line-comment-p)
4474 (python-info-current-line-empty-p): New functions.
4475 (python-indent-context): Use `python-nav-statement-start'.
4476
01795a1b
MA
44772012-07-16 Michael Albinus <michael.albinus@gmx.de>
4478
9328d9aa
MA
4479 * eshell/em-ls.el (eshell/ls): Use `apply'.
4480
4481 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4482 multi-hops, instead of Tramp internals.
4483
01795a1b
MA
4484 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4485
4486 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4487 when F1 and F2 are located on different hosts.
4488
63408057
CY
44892012-07-14 Chong Yidong <cyd@gnu.org>
4490
4491 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4492 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4493 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4494 (xterm-mouse--read-event-sequence-1000)
4495 (xterm-mouse--read-event-sequence-1006): New functions. For old
4496 mouse protocol, handle M-mouse-X events correctly.
4497 (xterm-mouse-event): New arg specifying mouse protocol.
4498 (turn-on-xterm-mouse-tracking-on-terminal)
4499 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4500 sequence to toggle extended coordinates on newer XTerms.
4501 This appears to be harmless on terminals which do not support this.
63408057 4502
cd276f6e
LL
45032012-07-14 Leo Liu <sdl.web@gmail.com>
4504
28ca98ac
LL
4505 Add fringe bitmap indicators for flymake. (Bug#11253)
4506 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4507 (flymake-make-overlay): New arg BITMAP.
4508 (flymake-error-bitmap, flymake-warning-bitmap)
4509 (flymake-fringe-indicator-position): New user variables.
4510
cd276f6e
LL
4511 * fringe.el: New bitmap exclamation-mark.
4512
04408072
JD
45132012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4514
4515 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4516 also (Bug#7879).
4517
b5cf7fc4
CY
45182012-07-14 Chong Yidong <cyd@gnu.org>
4519
4520 * electric.el (electric-pair-post-self-insert-function): Fix pair
4521 insertion in empty-region case (Bug#11520).
4522
be755c79
RT
45232012-07-14 Chong Yidong <cyd@gnu.org>
4524
45fd731c
SM
4525 * bindings.el: Consolidate ctl-x-r-map bindings.
4526 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4527
4528 * rect.el, register.el: Move bindings to bindings.el.
4529
45302012-07-14 Reuben Thomas <rrt@sc3d.org>
4531
4532 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4533
7f5b3198
AS
45342012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4535
4536 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4537
97662200
JB
45382012-07-13 Juanma Barranquero <lekktu@gmail.com>
4539
80185fed
JB
4540 * bindings.el (top): Use `mapc' instead of `mapcar'.
4541
97662200
JB
4542 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4543
2bb1ae55
MA
45442012-07-13 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * progmodes/sql.el (sql-comint): Suppress the check for program on
4547 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4548 (Bug#11908)
4549
dea31bd3
CY
45502012-07-13 Chong Yidong <cyd@gnu.org>
4551
4552 * bindings.el: Assign a non-nil permanent-local property to
4553 per-buffer variables which lack a default value (Bug#11930).
4554
4555 * help-fns.el (describe-variable): In the "automatically becomes
4556 local" notice, take note of permanent-local variables.
4557
b68b3337
CY
45582012-07-13 Chong Yidong <cyd@gnu.org>
4559
4560 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4561 to allow printing the message when called from Lisp.
4562
4563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4564 Remove toggle-read-only.
4565
4566 * bs.el (bs-toggle-readonly):
45fd731c
SM
4567 * buff-menu.el (Buffer-menu-toggle-read-only):
4568 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4569
4570 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4571 Remove with-no-warnings around toggle-read-only.
4572 (ffap-read-only, ffap-read-only-other-window)
4573 (ffap-read-only-other-frame): Callers changed.
4574
4575 * help-mode.el: Don't require view package.
4576 (help-mode-finish): Set buffer-read-only instead of calling
4577 toggle-read-only.
4578
4579 * bindings.el (mode-line-toggle-read-only):
4580 * dired.el (dired-toggle-read-only):
4581 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4582 with non-nil second arg.
4583
4584 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4585 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4586 directly.
4587
56bc1586
EZ
45882012-07-12 Eli Zaretskii <eliz@gnu.org>
4589
4590 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4591 not incf.
4592
a464a6c7
SM
45932012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 More CL cleanups and reduction of use of cl.el.
4596 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4597 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4598 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4599 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4600 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4601 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4602 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4603 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4604 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4605 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4606 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4607 * eshell/em-cmpl.el, eshell/em-banner.el:
4608 * calendar/parse-time.el: Use cl-lib.
4609 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4610 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4611 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4612 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4613 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4614 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4615 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4616 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4617 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4618 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4619 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4620 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4621 `lambda' rather than with `quote'.
4622 (eshell-do-opt): Adjust accordingly.
4623 (eshell-process-option): Simplify.
4624 * eshell/esh-var.el:
4625 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4626 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4627 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4628 to `pcase--dontcare'.
4629 * emacs-lisp/cl.el (labels): Mark obsolete.
4630 (cl--letf, letf): Move to cl-lib.
4631 (cl--letf*, letf*): Remove.
4632 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4633 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4634 (cl-progv): Rewrite.
4635 (cl--letf, cl-letf): Move from cl.el.
4636 (cl-letf*): New macro.
4637 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4638
7ad4afe1
MA
46392012-07-11 Michael Albinus <michael.albinus@gmx.de>
4640
4641 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4642
9af57756
CY
46432012-07-11 Chong Yidong <cyd@gnu.org>
4644
4645 * vc/log-edit.el (log-edit-vc-backend): New variable.
4646 (log-edit): Doc fix.
4647
4648 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4649 argument of log-edit to set up all local variables.
4650 (vc-start-logentry): New optional arg specifying VC backend.
4651
4652 * vc/vc.el (vc-checkin): Use it.
4653 (vc-deduce-fileset): Handle Log Edit buffers.
4654 (vc-diff): Make first argument optional too.
4655
4656 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4657
8477cc7a
MA
46582012-07-10 Michael Albinus <michael.albinus@gmx.de>
4659
4660 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4661 command, just in case. The function is not needed anymore.
4662 (eshell-external-command): Do not call `eshell-remote-command'.
4663
19faa8e8
SM
46642012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4665
f58e0fd5
SM
4666 Reduce use of (require 'cl).
4667 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4668 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4669 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4670 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4671 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4672 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4673 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4674 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4675 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4676 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4677 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4678 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4679 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4680 (byte-compile-unfold-bcf, byte-compile-check-variable):
4681 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4682 (byte-compile-nilconstp):
4683 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4684 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4685
2519d43a
SM
4686 * emacs-lisp/gv.el (cond): Make it a valid place.
4687 (if): Simplify slightly.
4688
19faa8e8
SM
4689 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4690 (pcase--self-quoting-p): New function.
4691 (pcase--u1): Use it.
4692
c4907a5e
GM
46932012-07-10 Glenn Morris <rgm@gnu.org>
4694
4695 * emacs-lisp/authors.el (authors-fixed-entries):
4696 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4697
c4444d16
PE
46982012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4699
4700 Rename configure.in to configure.ac (Bug#11603).
4701 * emacs-lisp/authors.el (authors-canonical-file-name):
4702 * progmodes/autoconf.el (autoconf-mode):
4703 Prefer configure.ac to configure.in.
4704
d75be97d
CY
47052012-07-08 Chong Yidong <cyd@gnu.org>
4706
01ac65bd
CY
4707 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4708 Implement the mouse-1-click-follows-link handling properly.
4709
4710 * info.el (Info-link-keymap): Use follow-link mechanism for
4711 header-line links (Bug#374).
4712
d75be97d
CY
4713 * simple.el (deactivate-mark): Do not set the primary selection
4714 if another program has acquired it (Bug#11772).
4715
87a92845 47162012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4717
4718 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4719 (woman-decode-region): Replace escaped-escapes without destroying
4720 bold or underline (Bug#11552).
87a92845 4721 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4722
621b9d6c
CY
47232012-07-07 Chong Yidong <cyd@gnu.org>
4724
4725 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4726 (interprogram-cut-function, interprogram-paste-function):
4727 Mention that we typically mean the clipboard.
621b9d6c 4728
133a11fc
GM
47292012-07-06 Glenn Morris <rgm@gnu.org>
4730
0d27a45e
GM
4731 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4732
133a11fc
GM
4733 * files.el (toggle-read-only): Restrict message to interactive use.
4734
07b151f1
MA
47352012-07-06 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4738
4739 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4740
211b896b
GM
47412012-07-06 Glenn Morris <rgm@gnu.org>
4742
50394322
GM
4743 * Makefile.in (compile-one-process): Rename from "recompile".
4744
211b896b
GM
4745 * Makefile.in (bzr-update): "compile" is the same as "recompile
4746 autoloads", but parallelizable, so use that instead.
4747
4737eec9
DG
47482012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4749
4750 * window.el (quit-window): Always restore window height when
8137e7b3 4751 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4752
226c3633 47532012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4754
4755 * simple.el (kill-whole-line): Doc tweak.
4756
226c3633 47572012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4758
4759 * files.el (file-relative-name): Compare file names
4760 case-insensitively if on MS-Windows or MS-DOS, or if
4761 read-file-name-completion-ignore-case is non-nil. Don't use
4762 case-fold-search for this purpose. (Bug#11827)
4763
4dc7c8d5
SM
47642012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4765
4766 * calendar/cal-dst.el (calendar-current-time-zone):
4767 Return calendar-current-time-zone-cache if non-nil.
4768
47692012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 47702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4771
19faa8e8
SM
4772 * calendar/cal-dst.el (calendar-current-time-zone):
4773 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4774
60198fc9
GM
47752012-07-06 Glenn Morris <rgm@gnu.org>
4776
4777 * Makefile.in (cvs-update): Remove old alias.
4778
957b3189
MA
47792012-07-05 Michael Albinus <michael.albinus@gmx.de>
4780
4781 Sync with Tramp 2.2.6-pre.
4782
4783 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4784 compatible declaration.
4785
19faa8e8
SM
4786 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4787 Protect `list-load-path-shadows' call.
957b3189
MA
4788
4789 * net/tramp-compat.el (top): Require packages, which aren't
4790 autoloaded anymore for XEmacs. Protect call of
4791 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4792 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4793 it hurts at least for SXEmacs.
4794 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4795 standard-value for `temporary-file-directory'.
4796
4797 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4798 Redirect stderr to /dev/null.
4799 (tramp-sh-handle-write-region): uid and gid can be floats.
4800 Reported by Russell Sim <russell.sim@gmail.com>.
4801 (tramp-sh-handle-vc-registered): Hide errors.
4802 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4803 and `start-file-process'.
4804 (tramp-maybe-open-connection): Check also whether `non-essential'
4805 is bound.
4806
566df3fc
CY
48072012-07-04 Chong Yidong <cyd@gnu.org>
4808
4809 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4810 (xml-parse-tag): Likewise, and avoid changing entity tables.
4811 (xml-syntax-table): Define from scratch, making sure not to give
4812 x2000 and other Unicode spaces whitespace syntax, since those are
4813 not spaces in XML.
4814 (xml-parse-fragment): Delete unused function.
4815 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4816 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4817 (xml-entity-ref, xml-pe-reference-re)
4818 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4819 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4820 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4821 (xml-entity-value-re): Use syntax references in regexps where
4822 possible; no need to define inside a let-binding.
4823 (xml-parse-dtd): Use xml-pe-reference-re.
4824 (xml-entity-or-char-ref-re): New defconst.
4825 (xml-parse-string, xml-substitute-special): Use it.
4826
30eabd7a
SM
48272012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4828
0781098a
SM
4829 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4830 (find-file--read-only): New function.
4831 (find-file-read-only, find-file-read-only-other-window)
4832 (find-file-read-only-other-frame): Use it.
4833 (insert-file-contents-literally): Don't `fset'.
4834 (get-free-disk-space): Use locate-dominating-file.
4835
b5771c0d
SM
4836 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4837 function is already compiled.
4838
30eabd7a
SM
4839 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4840
b4886f6e
MA
48412012-07-03 Michael Albinus <michael.albinus@gmx.de>
4842
4843 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4844 files on the same host.
4845
b9d82339
AS
48462012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4847
4848 * help-fns.el (describe-function-1): Only call
4849 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4850
a76e6535
CY
48512012-07-03 Chong Yidong <cyd@gnu.org>
4852
4853 * xml.el: Protect parser against XML bombs.
4854 (xml-entity-expansion-limit): New variable.
4855 (xml-parse-string, xml-substitute-special): Use it.
4856 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4857
b544fef2
GM
48582012-07-03 Glenn Morris <rgm@gnu.org>
4859
4860 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4861 Allow linking to specific messages in debbugs reports (eg 123#5).
4862
a7aef6f5
CY
48632012-07-02 Chong Yidong <cyd@gnu.org>
4864
4865 * xml.el: Fix entity and character reference expansion, allowing
4866 them to expand into markup as per XML spec.
4867 (xml-default-ns): New variable.
4868 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4869 (xml-parse-region): Make first two arguments optional.
4870 Discard text properties.
4871 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4872 All callers changed.
a7aef6f5
CY
4873 (xml-parse-tag): Call xml-parse-tag-1. For backward
4874 compatibility, this function should not modify buffer contents.
4875 (xml-parse-tag-1): Fix opening-tag regexp.
4876 (xml-parse-string): Rewrite, handling entity and character
4877 references properly.
4878 (xml--entity-replacement-text): Signal an error if a parameter
4879 entity is undefined.
4880
3df31c9f
SM
48812012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4882
2b5208f1
SM
4883 * comint.el (comint-output-filter): Filter out repeated prompts.
4884
3df31c9f
SM
4885 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4886 and file-name-absolute-p.
4887 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4888 internal calls.
4889
e3ac1281
PE
48902012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4891
4892 Spelling fixes.
4893 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4894 Rename from byte-compile--refiy-function. All uses changed.
4895
fbf2e7ad
CY
48962012-07-01 Chong Yidong <cyd@gnu.org>
4897
4898 * xml.el (xml--parse-buffer): New function. Move most of
4899 xml-parse-region here.
4900 (xml-parse-region): Copy region into a temporary buffer, since
4901 parameter entity substitution requires changing buffer contents.
4902 Use xml--parse-buffer.
4903 (xml-parse-file): Use xml--parse-buffer.
4904 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4905 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4906
9bf0aa15
GM
49072012-06-30 Glenn Morris <rgm@gnu.org>
4908
bbce2853
GM
4909 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4910
9bf0aa15
GM
4911 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4912 Remove outdated and unnecessary dbus declarations.
4913
0d23c240
EZ
49142012-06-30 Eli Zaretskii <eliz@gnu.org>
4915
4916 * emacs-lisp/timer.el (timer-until): Subtract results of
4917 float-time, instead of taking float-time of the result of
4918 time-subtract, since float-time signals an error for negative time
4919 arguments.
4920
b3218de1
CY
49212012-06-30 Chong Yidong <cyd@gnu.org>
4922
4923 * xml.el (xml-*-re): Convert defvars into defconsts, and
4924 eval-and-compile them so eval-and-compile works on derivatives.
4925 (xml--entity-replacement-text): Use eval-and-comple.
4926
a40c87a0
MA
49272012-06-30 Michael Albinus <michael.albinus@gmx.de>
4928
4929 * vc/vc-git.el (vc-git-registered): Use cache property
4930 `git-registered'.
4931 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4932 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4933 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4934
ac87de97
DG
49352012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4936
4937 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4938 removed (likely outside Emacs). (Bug#11757)
ac87de97 4939
ac10fe06
SM
49402012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4941
3df31c9f 4942 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4943
7f3fbd5d
CY
49442012-06-30 Chong Yidong <cyd@gnu.org>
4945
4946 * xml.el: Implement XML parameter entities.
4947 (xml-parameter-entity-alist): New variable.
4948 (xml-parse-region, xml-parse-fragment): Preserve previous values
4949 of xml-entity-alist and xml-parameter-entity-alist, so that
4950 repeated calls on different documents do not change them.
4951 (xml-parse-tag): Fix doctype regexp.
4952 (xml--entity-replacement-text): New function.
4953 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4954 properly requires url retrieval which is unimplemented.
4955 (xml-escape-string): Doc fix.
4956
3cfbebba
SM
49572012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4960
2af3565e
DA
49612012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4962
4963 * fringe.el (fringe-mode): Doc fix.
4964
929df0e7
MA
49652012-06-29 Michael Albinus <michael.albinus@gmx.de>
4966
4967 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4968 is non-nil.
4969 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4970 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4971
c8d3a25c 49722012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4973
c8d3a25c
GM
4974 * calendar/cal-dst.el (calendar-current-time-zone):
4975 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4976
c8d3a25c 49772012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4978
4979 * progmodes/which-func.el (which-func-format):
4980 Add mouse-face. (Bug#11698)
4981
c8d3a25c
GM
49822012-06-29 Leo Liu <sdl.web@gmail.com>
4983
4984 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4985
49862012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * minibuffer.el (minibuffer-confirm-exit-commands):
4989 Add completion-at-point (bug#11725).
4990
49912012-06-29 Glenn Morris <rgm@gnu.org>
4992
4993 * progmodes/f90.el (f90-font-lock-keywords-2):
4994 Add some preprocessor elements. (Bug#10499)
4995
49962012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4999 Use syntax-propertize (bug#11739).
5000
2badeec4
JB
50012012-06-28 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5004
ae4969c2
JD
50052012-06-28 Julien Danjou <julien@danjou.info>
5006
5007 * term.el (term-handle-colors-array): Use a set of new faces to
5008 color the terminal. Also uses :inverse-video property.
5009 (term-default-fg-color): Set to nil by default, deprecate in favor
5010 of `term-face'.
5011 (term-default-bg-color): Set to nil by default, deprecate in favor
5012 of `term-face'.
5013 (term-current-face): Use `term-face' by default.
5014 (term-bold-attribute): Variable deleted.
5015
1c9bd870
GM
50162012-06-28 Glenn Morris <rgm@gnu.org>
5017
5018 * simple.el (completion-list-mode-finish):
5019 Don't use toggle-read-only. (Since completion-list-mode has
5020 a special mode-class, it wasn't doing anything extra anyway.)
5021
c207708c
SM
50222012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 Make inlining of other-mode interpreted functions work (bug#11799).
5025 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5026 (byte-compile): Use it to fix compilation of lexical-binding closures.
5027 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5028 function, if needed.
5029
3fd56834
SM
50302012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5031
04901786
SM
5032 * help-mode.el (help-make-xrefs): Don't just withstand
5033 cyclic-variable-indirection but any error in documentation-property.
5034
1ec4b7b2
SM
5035 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5036 memory use.
5037 * bindings.el (bindings--define-key): New function.
5038 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5039 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5040 * bindings.el: Use it to purecopy define-key bindings.
5041
e309e2a5
SM
5042 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5043
d5c6faf9
SM
5044 * emacs-lisp/cl.el (flet): Mark obsolete.
5045 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5046 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5047 * progmodes/js.el (js-c-fill-paragraph):
5048 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5049 (ebrowse-switch-member-buffer-to-derived-class):
5050 * play/5x5.el (5x5-solver): Use cl-flet.
5051
6e9590e2
SM
5052 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5053 (cl--symbol-function): New macro.
5054 (cl--letf, cl--letf*): Use it.
5055
3fd56834
SM
5056 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5057 Strip "toggle-" if any.
5058
35ff222c
GM
50592012-06-27 Glenn Morris <rgm@gnu.org>
5060
1ba6038a
GM
5061 * info.el (Info-default-directory-list): Move here from paths.el.
5062 * paths.el: Remove file, which is now empty.
5063 * loadup.el: No longer load "paths".
5064
0ea0e51b
GM
5065 * custom.el (custom-initialize-delay): Doc fix.
5066
35ff222c
GM
5067 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5068 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5069 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5070 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5071 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5072 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5073 * eshell/eshell.el (eshell-defgroup): Remove alias.
5074
c89926a5
CY
50752012-06-27 Chong Yidong <cyd@gnu.org>
5076
5077 * help.el (help-enable-auto-load): New variable.
5078
5079 * help-fns.el (help-fns--autoloaded-p): New function.
5080 (describe-function-1): Refer to a function as "autoloaded" if it
5081 was autoloaded at any time in the past. Perform autoloading if
5082 help-enable-auto-load is non-nil.
5083
cc06e7e7
EZ
50842012-06-26 Eli Zaretskii <eliz@gnu.org>
5085
5086 * makefile.w32-in (compile, compile-always): Depend on
5087 update-subdirs, not on subdirs.el. Otherwise, several different
5088 sub-targets of 'bootstrap' running in parallel could
5089 simultaneously write to subdirs.el, producing a garbled file.
5090
d2c32364
SS
50912012-06-26 Sam Steingold <sds@gnu.org>
5092
5093 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5094 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5095 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5096 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5097 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5098 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5099 * textmodes/tex-mode.el: Use it.
5100 Did not touch cedet and org because they are maintained elsewhere.
5101
5cf983b2
MR
51022012-06-26 Martin Rudalics <rudalics@gmx.at>
5103
5104 * calendar/calendar.el (calendar-exit): Don't try to delete or
5105 iconify last frame. See:
5106 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5107
8c4f2952
JD
51082012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5109
5110 * server.el (server-process-filter): Remember dir in the
5111 process's `server-client-directory' properties.
5112
772b2e2c
CY
51132012-06-24 Chong Yidong <cyd@gnu.org>
5114
5115 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5116 non-tag text.
5117
711b11e1
JB
51182012-06-23 Juanma Barranquero <lekktu@gmail.com>
5119
5120 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5121
dc5d230c
SM
51222012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * help-fns.el (describe-variable): Don't croak when doc is not found.
5125 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5126 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5127 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5128 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5129 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5130 ((lambda ..) ..).
5131 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5132
136e1c1d
CY
51332012-06-23 Chong Yidong <cyd@gnu.org>
5134
e8c1cabf
CY
5135 * info.el (Info-mouse-follow-link): Accept symbol values of
5136 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5137 (Info-fontify-node): Use Info-link-keymap for all navigation
5138 buttons, with link-args property to perform the desired action.
5139 (Info-link-keymap): Doc fix.
5140 (Info-next-link-keymap, Info-prev-link-keymap)
5141 (Info-up-link-keymap): Delete now-unused keymaps.
5142
0e9e6c6a
CY
51432012-06-23 Chong Yidong <cyd@gnu.org>
5144
05e89fea
CY
5145 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5146
0e9e6c6a
CY
5147 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5148 system abbrevs.
5149
5150 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5151
e33c6771
SM
51522012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5153
b68581e2
SM
5154 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5155 (bug#11719).
5156
e33c6771
SM
5157 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5158 the requote function doesn't work properly (bug#11714).
5159
7117e105
GM
51602012-06-23 Glenn Morris <rgm@gnu.org>
5161
5162 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5163
36cec983
SM
51642012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 Further GV/CL cleanups.
5167 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5168 gv-expander.
5169 (gv--defun-declaration): New function.
5170 (defun-declarations-alist): Use it.
5171 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5172 (gv-place): Autoload.
5173 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5174 original definition of dotimes and dolist.
5175 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5176 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5177 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5178 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5179 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5180 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5181 to the function's definition.
5182 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5183 * window.el:
5184 * files.el:
5185 * faces.el:
5186 * env.el: Don't use CL.
5187
d35af63c
PE
51882012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5189
5190 Support higher-resolution time stamps (Bug#9000).
5191
5192 * calendar/time-date.el (with-decoded-time-value): New arg
5193 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5194 (encode-time-value): New optional arg PICO. New type 3.
5195 (time-to-seconds) [!float-time]: Support the new picoseconds
5196 component if it's used.
5197 (seconds-to-time, time-subtract, time-add):
5198 Support ps-resolution time stamps as well.
5199
5200 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5201 (timerp): Timer vectors now have length 9, not 8.
5202 (timer--time): Support new-style (4-part) time stamps.
5203 (timer-next-integral-multiple-of-time): Time stamps now have
5204 picosecond resolution, so take a bit more care about rounding.
5205 (timer-relative-time, timer-inc-time): New optional arg psecs.
5206 (timer-set-time-with-usecs): Set psecs to 0.
5207 (timer--activate): Check psecs component, too.
5208
5209 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5210
ac77b21a
SM
52112012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5212
f143bfe3
SM
5213 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5214 Move the non-essential binding to the post/pre-command-hook where it is
5215 more obviously correct.
5216
ac77b21a
SM
5217 * subr.el (read-passwd): Don't use a history at all.
5218 * savehist.el (savehist-save): Remove password saved accidentally
5219 because of the above bug.
5220
76386c5a
BG
52212012-06-22 Bastien Guerry <bzg@gnu.org>
5222
5223 * files.el (toggle-read-only): Display a message telling whether
5224 the buffer is read-only or not (bug#11726).
5225
2ee3d7f0
SM
52262012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * emacs-lisp/gv.el: New file.
5229 * subr.el (push, pop): Extend to generalized variables.
5230 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5231 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5232 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5233 gv-define-simple-setter, and gv-define-expander.
5234 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5235 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5236 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5237 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5238 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5239 gv-letplace.
5240 (cl-defstruct): Don't define setf-method any more.
5241 * emacs-lisp/cl.el (flet): Don't autoload.
5242 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5243 (define-setf-expander, defsetf, define-modify-macro)
5244 (cl-struct-setf-expander): Move from cl-lib.el.
5245 * emacs-lisp/syntax.el:
5246 * emacs-lisp/ewoc.el:
5247 * emacs-lisp/smie.el:
5248 * emacs-lisp/cconv.el:
5249 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5250 (timer--time): Use gv-define-simple-setter.
5251 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5252 to avoid coding-system problems in subr.el. Adjust all users.
5253 (macroexp--maxsize, macroexp-small-p): New functions.
5254 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5255 * scroll-bar.el (scroll-bar-mode):
5256 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5257 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5258 * winner.el (winner-configuration, winner-make-point-alist)
5259 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5260 * files.el (locate-file-completion-table): Avoid list*.
5261
c5695d1d
CY
52622012-06-22 Chong Yidong <cyd@gnu.org>
5263
5264 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5265 (dired-create-files): Doc fix (Bug#11329).
5266 (dired-do-copy): Doc fix (Bug#11334).
5267 (dired-mark-read-string): Doc fix (Bug#11553).
5268
2ee3d7f0
SM
5269 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5270 Doc fix (Bug#11326).
c5695d1d
CY
5271 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5272 (dired-dwim-target): Doc fix.
5273
5274 * wdired.el (wdired-mode): Doc fix.
5275
89b5595a
GM
52762012-06-22 Glenn Morris <rgm@gnu.org>
5277
575db3f1
GM
5278 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5279 (pcmpl-rpm-cache-stamp-file): New constant.
5280 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5281 (pcmpl-rpm-packages): Optionally cache list of packages.
5282
a4c8dd51
GM
5283 * pcmpl-rpm.el (pcmpl-rpm): New group.
5284 (pcmpl-rpm-query-options): New option.
5285 (pcmpl-rpm-packages): No need to inline it.
5286 Use pcmpl-rpm-query-options.
5287
89b5595a
GM
5288 * calendar/calendar.el (calendar-in-read-only-buffer):
5289 Avoid some needless mode changes.
5290
e76f0800
CY
52912012-06-21 Chong Yidong <cyd@gnu.org>
5292
5293 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5294 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5295 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5296
297a8f1d
CY
52972012-06-20 Chong Yidong <cyd@gnu.org>
5298
5299 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5300
d34c18b1
DR
53012012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5302
5303 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5304 (bug#11201).
5305
32f7f28e
CY
53062012-06-20 Chong Yidong <cyd@gnu.org>
5307
5308 * term.el (term-window-width): Handle the case of a missing right
5309 fringe (Bug#8837).
5310 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5311 (term-mode): Use define-derived-mode. Minor cleanups.
5312 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5313 (term-move-columns, term-insert-char, term-emulate-terminal)
5314 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5315
493c6688
MA
53162012-06-20 Michael Albinus <michael.albinus@gmx.de>
5317
d34c18b1
DR
5318 * net/ange-ftp.el (ange-ftp-get-passwd):
5319 Bind `enable-recursive-minibuffers'.
493c6688
MA
5320 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5321
3f06ecf4
DR
53222012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5323
5324 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5325
68f12411
GM
53262012-06-19 Glenn Morris <rgm@gnu.org>
5327
5328 * progmodes/python.el (python-mode): Derive from prog-mode.
5329
b3820318
KG
53302012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5331
5332 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5333 (edt-user-menu-bar-update-buffers): New functions.
5334 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5335
c6bf3022
CY
53362012-06-19 Chong Yidong <cyd@gnu.org>
5337
5338 * subr.el (with-selected-window): Preserve the selected window's
5339 terminal's top-frame (Bug#4702).
5340
5341 * window.el (save-selected-window): Likewise.
5342
25f09295
SM
53432012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * progmodes/python.el (python-rx-constituents): Move backquote.
5346 (python-skeleton-define, python-define-auxiliary-skeleton):
5347 Use `declare'.
5348
6b11952a
MA
53492012-06-18 Michael Albinus <michael.albinus@gmx.de>
5350
5351 * minibuffer.el (read-file-name-default): Revert the patch from
5352 2012-06-17.
5353
ee4b1330
SM
53542012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5357 (pcase--u1, pcase--q1): Don't use apply-partially.
5358
35647f79
GM
53592012-06-18 Glenn Morris <rgm@gnu.org>
5360
5361 * progmodes/python.el (python-proc, python-buffer)
5362 (python-send-receive, python-send-string): Fix obsolete versions.
5363
24b0cff0
MR
53642012-06-18 Martin Rudalics <rudalics@gmx.at>
5365
5366 * window.el (special-display-p): Completely remove stringp
5367 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5368
29855149
MA
53692012-06-17 Michael Albinus <michael.albinus@gmx.de>
5370
5371 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5372
5373 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5374
5375 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5376 * net/tramp-sh.el (tramp-maybe-open-connection):
5377 Throw if `non-essential' is non-nil.
5378
07463363
MR
53792012-06-17 Martin Rudalics <rudalics@gmx.at>
5380
5381 * window.el (special-display-p): Signal an error if BUFFER-NAME
5382 is not a string (Bug#11713).
5383
48d1354e
PE
53842012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5385
5386 * progmodes/python.el (python-info-beginning-of-backslash):
5387 Rename from python-info-beginning-of-backlash, as a spelling fix.
5388
eb4a8a9a
CY
53892012-06-17 Chong Yidong <cyd@gnu.org>
5390
5391 * term.el (term-emulate-terminal): If term-check-size is called,
5392 move point to the process mark without resetting point (Bug#4635).
5393
ddfbf826 53942012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5395
5396 * international/mule-cmds.el (mule-menu-keymap)
5397 (set-language-environment, set-locale-environment): Doc tweaks.
5398
9b0e3eba
AA
53992012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5400
5401 * cus-face.el (custom-face-attributes): Add wave-style underline
5402 attribute.
5403 * faces.el (set-face-attribute): Update docstring to describe
5404 wave-style underline attribute.
5405
771e3eae
CY
54062012-06-16 Chong Yidong <cyd@gnu.org>
5407
5408 * term/xterm.el (terminal-init-xterm): Discard input before
5409 querying background mode (Bug#10959).
5410
7ae2ea10
SM
54112012-06-16 Stefan Merten <smerten@oekonux.de>
5412
5413 * textmodes/rst.el: Added and corrected some comments.
5414 (rst-re-alist-def): Improve symbol syntax.
5415 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5416 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5417 (rst-official-version, rst-official-cvs-rev): Update version
5418 information.
7ae2ea10 5419
b6974efa
JB
54202012-06-15 Juanma Barranquero <lekktu@gmail.com>
5421
5422 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5423 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5424
8826d473
GM
54252012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5426
5427 * progmodes/python.el: New python.el merge.
5428 (python-guess-indent): Obsolete var.
5429 (python-indent-guess-indent-offset): New defcustom.
5430 (python-indent): Obsolete var.
5431 (python-indent-offset): New defcustom.
5432 (python-python-command, python-jython-command): Delete var.
5433 (python-shell-interpreter): New defcustom.
5434 (python-pdbtrack-do-tracking-p): Delete var.
5435 (python-pdbtrack-activate): New defcustom.
5436 (python-use-skeletons): Obsolete var.
5437 (python-skeleton-autoinsert): New defcustom.
5438 (inferior-python-filter-regexp, python-continuation-offset)
5439 (python-honour-comment-indentation, python-indent-string-contents)
5440 (python-jython-packages, python-mode-hook)
5441 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5442 (python-shell-prompt-alist)
5443 (python-source-modes): Delete defcustoms.
5444 (python-check-buffer-name, python-eldoc-setup-code)
5445 (python-eldoc-string-code, python-ffap-setup-code)
5446 (python-ffap-string-code, python-fill-comment-function)
5447 (python-fill-decorator-function, python-fill-paren-function)
5448 (python-fill-string-function, python-imenu-include-defun-type)
5449 (python-imenu-make-tree, python-imenu-subtree-root-label)
5450 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5451 (python-shell-compilation-regexp-alist)
5452 (python-shell-completion-module-string-code)
5453 (python-shell-completion-pdb-string-code)
5454 (python-shell-completion-setup-code)
5455 (python-shell-completion-string-code)
5456 (python-shell-enable-font-lock, python-shell-exec-path)
5457 (python-shell-extra-pythonpaths)
5458 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5459 (python-shell-process-environment)
5460 (python-shell-prompt-block-regexp)
5461 (python-shell-prompt-output-regexp)
5462 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5463 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5464 (python-shell-virtualenv-path): New defcustoms.
5465 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5466 (inferior-python-mode-syntax-table, python--prompt-regexp)
5467 (python-buffer, python-command python-python-command)
5468 (python-default-template, python-imports, python-indent-index)
5469 (python-indent-list, python-indent-list-length)
5470 (python-mode-running, python-pdbtrack-is-tracking-p)
5471 (python-preoutput-continuation, python-preoutput-leftover)
5472 (python-preoutput-result, python-preoutput-skip-next-prompt)
5473 (python-prev-dir/file, python-recursing)
5474 (python-saved-check-command, python-version-checked)
5475 (python-which-func-length-limit)
5476 (view-return-to-alist): Delete vars.
5477 (python-check-custom-command, python-dotty-syntax-table)
5478 (python-imenu-index-alist, python-indent-current-level)
5479 (python-indent-dedenters, python-indent-levels)
5480 (python-nav-beginning-of-defun-regexp)
5481 (python-nav-list-defun-positions-cache)
5482 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5483 (python-shell-internal-buffer)
5484 (python-skeleton-available): New vars.
5485 (def-python-skeleton): Delete macro.
5486 (python-skeleton-define): New macro.
5487 (python-define-auxiliary-skeleton, python-rx): New macros.
5488 (python-insert-class): Delete command.
5489 (python-skeleton-class): New command.
5490 (python-insert-def): Delete command.
5491 (python-skeleton-def): New command.
5492 (python-insert-for): Delete command.
5493 (python-skeleton-for): New command.
5494 (python-insert-if): Delete command.
5495 (python-skeleton-if): New command.
5496 (python-insert-try/except, python-insert-try/finally): Delete commands.
5497 (python-skeleton-try): New command.
5498 (python-insert-while): Delete command.
5499 (python-skeleton-while): New command.
5500 (python-backspace): Delete command.
5501 (python-indent-dedent-line-backspace): New command.
5502 (python-electric-colon): Delete command.
5503 (python-indent-electric-colon): New command.
5504 (python-guess-indent): Delete command.
5505 (python-indent-guess-indent-offset): New command.
5506 (python-shift-left): Delete command.
5507 (python-indent-shift-left): New command.
5508 (python-shift-right): Delete command.
5509 (python-indent-shift-right): New command.
5510 (python-find-function): Delete command.
5511 (python-nav-jump-to-defun): New command.
5512 (python-next-statement): Delete command.
5513 (python-nav-forward-sentence): New command.
5514 (python-previous-statement): Delete command.
5515 (python-nav-backward-sentence): New command.
5516 (python-fill-paragraph): Delete command.
5517 (python-fill-paragraph-function): New command.
5518 (python-send-buffer): Delete command.
5519 (python-shell-send-buffer): New command.
5520 (python-send-defun): Delete command.
5521 (python-shell-send-defun): New command.
5522 (python-send-region, python-send-region-and-go): Delete commands.
5523 (python-shell-send-region)
5524 (python-shell-switch-to-shell): New commands.
5525 (python-send-string): Delete command.
5526 (python-shell-send-string): New command.
5527 (python-switch-to-python): Delete command.
5528 (python-shell-switch-to-shell): New command.
5529 (python-describe-symbol): Delete command.
5530 (python-eldoc-at-point): New command.
5531 (python--set-prompt-regexp, python-args-to-list)
5532 (python-after-info-look, python-check-version)
5533 (python-check-comint-prompt, python-find-imports)
5534 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5535 (python-unload-function, python-expand-template)
5536 (python-maybe-jython, python-preoutput-filter)
5537 (python-pdbtrack-get-source-buffer)
5538 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5539 (python-pdbtrack-toggle-stack-tracking)
5540 (python-pdbtrack-track-stack-file, python-initial-text)
5541 (python-first-word, python-comment-line-p, python-send-command)
5542 (python-setup-brm, python-sentinel, python-set-proc)
5543 (python-skip-out, python-input-filter, python-outdent-p)
5544 (python-outline-level, python-backslash-continuation-line-p)
5545 (python-end-of-block, python-end-of-statement, python-mark-block)
5546 (python-beginning-of-block, python-beginning-of-statement)
5547 (python-blank-line-p, python-beginning-of-string)
5548 (python-open-block-statement-p): Delete functions.
5549 (python-indent-line, python-indent-line-1): Delete functions.
5550 (python-indent-line): New function.
5551 (python-indentation-levels): Delete function.
5552 (python-indent-calculate-levels): New function.
5553 (python-proc): Delete function.
5554 (python-shell-get-process): New function.
5555 (python-send-receive): Delete function.
5556 (python-shell-send-string-no-output): New function.
5557 (python-module-path): Delete function.
5558 (python-ffap-module-path): New function.
5559 (python-completion-at-point)
5560 (python-symbol-completions): Delete functions.
5561 (python-completion-complete-at-point): New function.
5562 (python-load-file): Delete function.
5563 (python-shell-send-file): New function.
5564 (python-calculate-indentation): Delete function.
5565 (python-indent-calculate-indentation): New function.
5566 (python-skip-comments/blanks): Delete function.
5567 (python-util-forward-comment): New function.
5568 (python-continuation-line-p): Delete function.
5569 (python-info-continuation-line-p): New function.
5570 (python-which-func, python-current-defun): Delete function.
5571 (python-info-current-defun): New function.
5572 (python-beginning-of-defun): Delete function.
5573 (python-nav-beginning-of-defun): New function.
5574 (python-close-block-statement-p)
5575 (python-block-end-p): Delete function.
5576 (python-info-closing-block): New function.
5577 (python-comint-output-filter-function)
5578 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5579 (python-fill-comment, python-fill-decorator, python-fill-paren)
5580 (python-fill-string, python-imenu-make-element-tree)
5581 (python-imenu-make-tree, python-imenu-tree-assoc)
5582 (python-indent-context, python-indent-dedent-line)
5583 (python-indent-line-function)
5584 (python-indent-post-self-insert-function)
5585 (python-indent-toggle-levels)
5586 (python-info-assignment-continuation-line-p)
5587 (python-info-beginning-of-backlash)
5588 (python-info-block-continuation-line-p)
5589 (python-info-closing-block-message)
5590 (python-info-line-ends-backslash-p)
5591 (python-info-looking-at-beginning-of-defun)
5592 (python-info-ppss-context, python-info-ppss-context-type)
5593 (python-nav-list-defun-positions, python-nav-read-defun)
5594 (python-nav-sentence-end, python-nav-sentence-start)
5595 (python-pdbtrack-comint-output-filter-function)
5596 (python-pdbtrack-set-tracked-buffer)
5597 (python-shell-calculate-exec-path)
5598 (python-shell-calculate-process-environment)
5599 (python-shell-completion--do-completion-at-point)
5600 (python-shell-completion--get-completions)
5601 (python-shell-completion-complete-at-point)
5602 (python-shell-completion-complete-or-indent)
5603 (python-shell-get-or-create-process)
5604 (python-shell-get-process-name)
5605 (python-shell-internal-get-or-create-process)
5606 (python-shell-internal-get-process-name)
5607 (python-shell-internal-send-string, python-shell-make-comint)
5608 (python-shell-parse-command, python-shell-send-setup-code)
5609 (python-skeleton-add-menu-items)
5610 (python-util-clone-local-variables, python-util-position)
5611 (run-python-internal, python-indentation-levels)
5612 (python-nav-beginning-of-defun)
5613 (python-completion-complete-at-point): New functions.
5614 (run-python): Change arguments. New API requirements.
5615
4302f5ba
SM
56162012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5617
f38ea36d
SM
5618 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5619 (bug#11649).
5620
5621 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5622 (macroexp--expand-all): Use it.
5623
4302f5ba
SM
5624 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5625 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5626 Use `cl-function' instead.
5627
33377562
JB
56282012-06-14 Juanma Barranquero <lekktu@gmail.com>
5629
5630 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5631 Suggested by Stefan Monnier while discussing bug#11657.
5632
54c5ba1a
SS
56332012-06-14 Sam Steingold <sds@gnu.org>
5634
5635 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5636
f9f1b1fe
AS
56372012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5638
5639 * play/doctor.el (doctor-doc): Remove parameter and use
5640 doctor-sent instead of sent.
5641 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5642
a81068ba
SM
56432012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5a315f9c
SM
5645 * files.el: Require cl-lib.
5646 (file-name-non-special): Replace case -> cl-case.
5647
5648 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5649
a81068ba
SM
5650 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5651 mapping from #' to function*.
5652
8cca9703
CY
56532012-06-13 Chong Yidong <cyd@gnu.org>
5654
5655 * mouse.el (mouse-drag-track): Do not set the mark if the user
5656 releases the mouse without selecting anything (Bug#11588).
5657
a12ac9d7
SM
56582012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5659
ccf1dc18
SM
5660 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5661 as well (bug#11646).
5662
ef62b23d
SM
5663 * loadup.el: Count byte-code functions as well.
5664
c4c8444a
SM
5665 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5666 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5667
a12ac9d7
SM
5668 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5669 (bug#11649). Add cl-defun and cl-defmacro.
5670
87e6e64f
DA
56712012-06-13 Drew Adams <drew.adams@oracle.com>
5672
5673 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5674 Fix last change.
5675
682cefaf
MA
56762012-06-13 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5679 Otherwise, it blocks in batch mode.
5680
773e1f08
JB
56812012-06-13 Juanma Barranquero <lekktu@gmail.com>
5682
5683 * help-mode.el (bookmark-make-record-default): Declare.
5684
60057926
CY
56852012-06-13 Chong Yidong <cyd@gnu.org>
5686
5687 * emacs-lisp/package.el (list-packages): Compute a list of
5688 packages that are newly-available since the last list-packages
5689 invocation.
5690 (package-menu--new-package-list): New var.
5691 (package-menu--generate, package-menu--print-info)
5692 (package-menu--status-predicate, package-menu-mark-install):
5693 Handle new status label "new".
5694
ad4d226c
SM
56952012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5698 conversion to backquotes.
5699
f1a4e679
CY
57002012-06-12 Chong Yidong <cyd@gnu.org>
5701
5702 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5703 Rename from gud-inhibit-global-bindings.
5704
5705 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5706
5707 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5708 hook from nxml-glyph-set-hook.
5709
5710 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5711 declaration.
5712
5713 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5714
5715 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5716 Convert to defcustom.
5717
0c9e42b5
DA
57182012-06-12 Drew Adams <drew.adams@oracle.com>
5719
5720 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5721 New functions.
5722 (help-mode): Use them.
5723
09e06855
GM
57242012-06-11 Glenn Morris <rgm@gnu.org>
5725
5726 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5727 Use preprocessor face for directives.
5728 (fortran-directive-re): Doc fix.
5729
71adb94b
SM
57302012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5731
2eb87922
SM
5732 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5733 conversion to backquotes (bug#11652).
5734
71adb94b
SM
5735 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5736 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5737 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5738 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5739 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5740 (cl-ninth, cl-tenth): Mark them as inlinable.
5741 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5742 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5743 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5744 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5745 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5746 (cl-list*, cl-adjoin): Don't put an autoload manually.
5747 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5748 (cl--compiler-macro-list*): Add autoload cookie.
5749 (cl--compiler-macro-cXXr): New function.
2eb87922 5750
71adb94b
SM
5751 * help-fns.el (help-fns--compiler-macro): New function extracted from
5752 describe-function-1; follow aliases and use `compiler-macro' property.
5753 (describe-function-1): Use it.
5754
a6674402
CY
57552012-06-11 Chong Yidong <cyd@gnu.org>
5756
5757 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5758 is uninstalled, if imagemagick is installed.
5759
bb3faf5b
SM
57602012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/cl-lib.el: Use lexical-binding.
5763 (cl-map-extents, cl-maclisp-member): Remove.
5764 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5765 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5766 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5767 * emacs-lisp/cl-extra.el: Use lexical-binding.
5768 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5769 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5770 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5771 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5772 * emacs-lisp/cl-seq.el: Use lexical-binding.
5773 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5774 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5775 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5776 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5777 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5778 CL's internals.
5779
2fe4b125
MA
57802012-06-11 Michael Albinus <michael.albinus@gmx.de>
5781
5782 Sync with Tramp 2.2.6-pre.
5783
5784 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5785 `print-length' and `print-level' to nil, in order to avoid
5786 truncation. Reported by Christopher Schmidt
5787 <christopher@ristopher.com>.
5788
5789 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5790
5791 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5792 New defmacro.
5793 (tramp-compat-copy-directory): Add optional argument
5794 COPY-CONTENTS. It is not handled yet.
5795
5796 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5797 (tramp-ftp-file-name-p): Simplify.
5798
5799 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5800 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5801 connection vector.
5802
5803 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5804 (tramp-methods): Do not use `tramp-password-end-of-line'.
5805 (tramp-completion-function-alist-putty): Handle UNIX case.
5806 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5807 (tramp-do-file-attributes-with-stat)
5808 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5809 gid as real numbers. They could run out of integer range on cygwin.
5810 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5811 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5812 (tramp-open-connection-setup-interactive-shell):
5813 Use `tramp-cleanup'. Move check for busyboxes ...
5814 (tramp-find-shell): ... here. Simplify implementation.
5815 Set "remote-shell" property also for alternative shells.
5816 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5817 If failing, a regular file would be written otherwise.
5818 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5819 (tramp-find-inline-encoding): Cache the coding commands in the
5820 process cache. Apply test command on the remote side, if defined.
5821 (tramp-find-inline-compress): Cache the compress commands in the
5822 process cache.
5823 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5824 when requested. Handle hops.
5825 (tramp-current-connection): New defvar.
87e6e64f
DA
5826 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5827 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5828 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5829 (tramp-get-inline-compress, tramp-get-inline-coding):
5830 Read connection properties from the process cache.
2fe4b125
MA
5831
5832 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5833 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5834 New defconsts.
2fe4b125
MA
5835 (tramp-smb-prompt): Extend for powershell prompt.
5836 (tramp-smb-file-name-handler-alist): Add handlers for
5837 `process-file', `shell-command' and `start-file-process'.
5838 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5839 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5840 (tramp-smb-file-name-p): Simplify.
5841 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5842 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5843 (tramp-smb-shell-quote-argument): New defuns.
5844 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5845 Implement using "tar". By this, time-stamps are preserved.
5846 (tramp-smb-handle-copy-file): Handle also the case of directories.
5847 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5848 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5849 Use `tramp-get-connection-buffer').
2fe4b125
MA
5850 (tramp-smb-handle-rename-file): Use "rename", when source and
5851 target are on the same share.
87e6e64f
DA
5852 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5853 Use `tramp-smb-server-version'.
2fe4b125
MA
5854 (tramp-smb-wait-for-output): Remove prompt.
5855
5856 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5857 (tramp-methods, tramp-rsh-end-of-line):
5858 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5859 (tramp-save-ad-hoc-proxies): New defcustom.
5860 (tramp-completion-function-alist): Adapt docstring.
5861 (tramp-default-password-end-of-line): Remove defcustom.
5862 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5863 (tramp-user-regexp, tramp-file-name-regexp-unified)
5864 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5865 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5866 (tramp-remote-file-name-spec-regexp): New defconst.
5867 (tramp-file-name-structure): Extend structure for hops.
5868 (tramp-get-method-parameter): Move up.
5869 (tramp-file-name-p, tramp-dissect-file-name)
5870 (with-parsed-tramp-file-name): Handle hops.
5871 (tramp-file-name-hop): New defun.
5872 (tramp-make-tramp-file-name): New optional arg HOP.
5873 (tramp-message-show-progress-reporter-message): New defvar.
5874 (tramp-with-progress-reporter): Use it. We cannot use
5875 `tramp-message-show-message' here, because this suppresses also
5876 error buffers.
5877 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5878 `tramp-message-show-message' is nil.
5879 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5880 (tramp-cleanup): New defun.
5881 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5882 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5883 an error unchanged.
5884 (tramp-completion-handle-file-name-all-completions): Handle hops.
5885 Fix an error when called from ido.
5886 (tramp-completion-dissect-file-name): Use better local variable
5887 name. Add hop to the vector.
5888 (tramp-handle-insert-file-contents): Use progress-reporter for the
5889 whole scenario.
5890 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5891 to `t'.
5892 (tramp-check-for-regexp): Simplify search.
5893 (tramp-enter-password): Remove it. Move implementation ...
5894 (tramp-action-password): ... here.
5895 (tramp-mode-string-to-int, tramp-local-host-p)
5896 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5897 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5898 Set tramp-autoload cookie.
2fe4b125
MA
5899
5900 * net/trampver.el: Update release number.
5901
59022012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5903 Michael Albinus <michael.albinus@gmx.de>
5904
5905 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5906 (tramp-parse-group, tramp-parse-file)
5907 (tramp-parse-shostkeys-sknownhosts): New defuns.
5908 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5909 (tramp-parse-shosts-group, tramp-parse-sconfig)
5910 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5911 (tramp-parse-sknownhosts, tramp-parse-hosts)
5912 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5913 Use them.
5914 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5915 (tramp-parse-putty-group): Don't narrow.
5916 (tramp-parse-putty): Make a loop.
5917 (tramp-file-name-handler): Catch the `suppress' signal.
5918
72834e10
CY
59192012-06-11 Chong Yidong <cyd@gnu.org>
5920
5921 * image.el (imagemagick-register-types): Put the ImageMagick entry
5922 at the end of image-type-file-name-regexps.
5923
a4712e11
JB
59242012-06-11 Johan Bockgård <bojohan@gnu.org>
5925
5926 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5927 (pcase, pcase-let*, pcase-dolist): Use them.
5928
82ad98e3
SM
59292012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * emacs-lisp/pcase.el (pcase--let*): New function.
5932 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5933 (pcase--expand): Use macroexp-let².
5934
f80efb86
SM
59352012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5938 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5939 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5940 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5941 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5942 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5943
31ca4639 59442012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5945
31ca4639
CY
5946 * mail/rmail.el (rmail-yank-current-message): Leave point at
5947 correct position. (Bug#11660)
94f0aa34 5948
31ca4639 59492012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5950
31ca4639 5951 * allout-widgets.el: Fix code header.
9e1b8ec4 5952
31ca4639 59532012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5954
f80efb86
SM
5955 * cus-edit.el (customize-changed-options-previous-release):
5956 Bump to 24.1.
31ca4639 5957
642b6d30
AS
59582012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5959
5960 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5961
4f5d2ba1
CY
59622012-06-09 Chong Yidong <cyd@gnu.org>
5963
5964 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5965
e75852fd
MR
59662012-06-09 Martin Rudalics <rudalics@gmx.at>
5967
5968 * window.el (special-display-popup-frame): Don't use
5969 window--display-buffer (Bug#11651).
5970
1e48e282
EZ
59712012-06-09 Eli Zaretskii <eliz@gnu.org>
5972
8a26b487
EZ
5973 Fix parallel builds: make sure loaddefs.el is not being written
5974 while Lisp files are compiled.
5975 (compile): Don't depend on 'mh-autoloads'.
5976 (compile-CMD, compile-SH): Depend on 'autoloads'.
5977 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5978
1e48e282
EZ
5979 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5980
6175e34b
CY
59812012-06-09 Chong Yidong <cyd@gnu.org>
5982
5983 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5984 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5985 Doc fixes (Bug#11225).
5986
d9857e53
SM
59872012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5990 a function if there's a clear indication that it has a compiler-macro.
5991 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5992 (macro-declarations-alist): Add arglist to declaration functions.
5993 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5994 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5995 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5996 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5997 Also add autoload to find the compiler macro.
5998 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5999 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6000 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6001 (cl--compiler-macro-get): New functions, replacing calls to
6002 cl-define-compiler-macro.
6003 (cl-typep) [compiler-macro]: Use macroexp-let².
6004
f81298f8 60052012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6006
6007 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6008 string properly, fixes Bug#11473.
6009
4b56d0fe
CY
60102012-06-08 Chong Yidong <cyd@gnu.org>
6011
6012 * faces.el (set-face-attribute): Doc fix.
6013 (modify-face): Don't use :bold and :italic.
6014 (error, warning, success): Tweak definitions.
6015
6016 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6017 (custom-modified, custom-set, custom-changed, custom-themed)
6018 (custom-saved, custom-button, custom-button-mouse)
6019 (custom-button-pressed, custom-state, custom-comment-tag)
6020 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6021 (custom-group-subtitle): Use new-style face specs.
6022 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6023 (custom-set-face, custom-changed-face, custom-saved-face)
6024 (custom-button-face, custom-button-pressed-face)
6025 (custom-documentation-face, custom-state-face)
6026 (custom-comment-face, custom-comment-tag-face)
6027 (custom-variable-tag-face, custom-variable-button-face)
6028 (custom-face-tag-face, custom-group-tag-face-1)
6029 (custom-group-tag-face): Remove obsolete face alias.
6030
6031 * epa.el (epa-validity-high, epa-validity-medium)
6032 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6033 (epa-field-name, epa-field-body):
6034 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6035 (font-lock-keyword-face, font-lock-builtin-face)
6036 (font-lock-function-name-face, font-lock-variable-name-face)
6037 (font-lock-type-face, font-lock-constant-face):
6038 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6039 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6040 * speedbar.el (speedbar-button-face, speedbar-file-face)
6041 (speedbar-directory-face, speedbar-tag-face)
6042 (speedbar-selected-face, speedbar-highlight-face)
6043 (speedbar-separator-face):
6044 * whitespace.el (whitespace-newline, whitespace-space)
6045 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6046 (whitespace-line, whitespace-space-before-tab)
6047 (whitespace-space-after-tab, whitespace-indentation)
6048 (whitespace-empty):
6049 * emulation/cua-base.el (cua-global-mark):
6050 * eshell/em-prompt.el (eshell-prompt):
6051 * net/newst-plainview.el (newsticker-new-item-face)
6052 (newsticker-old-item-face, newsticker-immortal-item-face)
6053 (newsticker-obsolete-item-face, newsticker-date-face)
6054 (newsticker-statistics-face, newsticker-default-face):
6055 * net/newst-reader.el (newsticker-feed-face)
6056 (newsticker-extra-face, newsticker-enclosure-face):
6057 * net/newst-treeview.el (newsticker-treeview-face)
6058 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6059 (newsticker-treeview-immortal-face)
6060 (newsticker-treeview-obsolete-face)
6061 (newsticker-treeview-selection-face):
6062 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6063 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6064 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6065 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6066 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6067 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6068 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6069 (mpuz-text):
6070 * progmodes/vera-mode.el (vera-font-lock-number)
6071 (vera-font-lock-function, vera-font-lock-interface):
6072 * textmodes/table.el (table-cell): Use new-style face specs, and
6073 don't use the old :bold and :italic attributes.
6074
6075 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6076 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6077 (ebrowse-member-class, ebrowse-progress): Likewise.
6078 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6079 (ebrowse-file-name-face, ebrowse-default-face)
6080 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6081 (ebrowse-progress-face): Remove obsolete faces.
6082
6083 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6084 Inherit from error and warning faces respectively.
6085
6086 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6087 Likewise.
f80efb86
SM
6088 (flyspell-incorrect-face, flyspell-duplicate-face):
6089 Remove obsolete aliases.
4b56d0fe 6090
03310646
MA
60912012-06-08 Michael Albinus <michael.albinus@gmx.de>
6092
6093 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6094 Avoid infloop.
6095
513749ee
SM
60962012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * startup.el (argv, argi): Make lexically scoped.
6099 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6100 * emacs-lisp/cl-macs.el: Use lexical-binding.
6101 Rename cl-bind-* to cl--bind-*.
6102 * files.el: Don't require `cl' since it doesn't use it.
6103 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6104
595ef4ad
JB
61052012-06-08 Juanma Barranquero <lekktu@gmail.com>
6106
6107 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6108 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6109 instead of calling external sort utility.
6110 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6111
e9f66fcb
EZ
61122012-06-08 Eli Zaretskii <eliz@gnu.org>
6113
6114 * descr-text.el (describe-char): Mention how to insert the
6115 character, if the current input method doesn't support it.
6116 See the discussion in this thread for the details:
6117 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6118
3d10db47
SS
61192012-06-08 Sam Steingold <sds@gnu.org>
6120
6121 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6122 XF86Back to previous-buffer.
6123 (minibuffer-local-map): Bind them to next-history-element and
6124 previous-history-element respectively.
6125 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6126 help-go-back respectively.
6127 * info.el (Info-mode-map): Bind them to Info-history-forward and
6128 Info-history-back respectively.
6129 These are the keys next to Up on the ThinkPad keyboard.
6130
de7e2b36
SM
61312012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6134 * emacs-lisp/cl-macs.el: Provide itself.
6135 (cl--labels-convert-cache): New var.
6136 (cl--labels-convert): New function.
6137 (cl-flet, cl-labels): New implementation with new semantics, relying on
6138 lexical-binding.
6139 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6140 (cl-closure-vars, cl--function-convert-cache)
6141 (cl--function-convert): Move from cl-macs.el.
6142 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6143 rename by removing the "cl-" prefix.
6144 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6145
6fa6c4ae
SM
61462012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6147
6148 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6149 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6150 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6151 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6152 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6153 (cl-hash-table-count): Add old compatibility aliases.
6154
6155 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6156 Use macroexpand-all-environment instead.
6157 (cl--old-macroexpand): New var.
6158 (cl--sm-macroexpand): New function.
6159 (cl-symbol-macrolet): Use it during macro expansion.
6160 (cl--function-convert-cache): New var.
6161 (cl--function-convert): New function, extracted from
6162 cl-macroexpand-all.
6163 (cl-lexical-let): Use it.
6164
6165 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6166 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6167 (cl-member): Remove old alias.
6168
6169 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6170 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6171 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6172 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6173 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6174 (cl-macroexpand-cmacs): Remove var.
6175 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6176 Use macroexpand-all instead.
6177
4dd1c416
SM
61782012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6181 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6182 (macroexp-copyable-p): New functions and macros.
6183 * emacs-lisp/edebug.el (edebug-unwrap):
6184 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6185 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6186 (pcase--let*): Remove.
6187 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6188 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6189 macroexp-const-p instead.
6190 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6191
6192 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6193 instead of "cl-" for internal definitions. Use macroexp-const-p.
6194 (cl-old-bc-file-form): Remove var.
6195 (cl-const-exprs-p): Remove fun.
6196 (cl-labels, cl-macrolet): Use backquote.
6197 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6198 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6199 (cl-define-setf-expander): Rename from cl-define-setf-method.
6200 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6201
6202 * international/mule-cmds.el: Don't require CL.
6203 (view-hello-file): Don't use `letf'.
6204
ed8bd4d7
SM
62052012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6206
7287f2f3
SM
6207 * tmm.el (tmm-prompt): Use string-prefix-p.
6208 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6209 (tmm-add-prompt): Use minibuffer-completion-help.
6210 (tmm-delete-map): Remove.
6211
ed8bd4d7
SM
6212 * subr.el (kbd): Make it its own function.
6213
7b4cdbf4
SM
62142012-06-07 Stefan Merten <smerten@oekonux.de>
6215
6216 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6217 Silence compiler warnings. Fix versions.
ed8bd4d7 6218 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6219 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6220 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6221 (rst-package-emacs-version-alist): Correct Emacs version to
6222 represent major merge with upstream.
ed8bd4d7 6223 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6224
2b48d721
GM
62252012-06-06 Glenn Morris <rgm@gnu.org>
6226
6227 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6228 Only print environment variables if set.
6229
fa779ab0
SM
62302012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6233 (macroexp--cons): Rename from maybe-cons.
6234 (macroexp--accumulate): Rename from macroexp-accumulate.
6235 (macroexp--all-forms): Rename from macroexpand-all-forms.
6236 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6237 (macroexp--expand-all): Rename from macroexpand-all-1.
6238
628299e0
SS
62392012-06-06 Sam Steingold <sds@gnu.org>
6240
6241 * calendar/calendar.el (calendar-in-read-only-buffer):
6242 Call `special-mode' to enable the standard read-only keybindings.
6243
b7bb5838
SM
62442012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6247 with "loading" messages (bug#11635).
6248
dfb308ba
MA
62492012-06-06 Michael Albinus <michael.albinus@gmx.de>
6250
6251 * files.el (enable-remote-dir-locals): New option.
6252 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6253
0372ee92
MA
6254 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6255 Ensure, that the temp directory is local.
6256
6257 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6258 `temporary-file-directory'.
6259
eed0bb91
MA
6260 * progmodes/python.el (python-send-region): Ensure, that the
6261 temporary file is created also in the remote case.
6262
7a58f64d
GM
62632012-06-06 Glenn Morris <rgm@gnu.org>
6264
f7dd4e98
GM
6265 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6266 (vc-rcs-update-changelog): Use it.
6267
090bd7cb 6268 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6269
7a58f64d
GM
6270 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6271 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6272 (vc-sccs-diff): Replace use of the external vcdiff script.
6273
daed4003
GM
62742012-06-05 Glenn Morris <rgm@gnu.org>
6275
6276 * ledit.el: Move to obsolete/.
6277
48c455c7
SS
62782012-06-05 Sam Steingold <sds@gnu.org>
6279
ed9265fc 6280 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6281 patch (Bug#11140).
6282
57a7d507
SM
62832012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6284
090bd7cb 6285 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6286
53aacf21
SM
6287 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6288 compiler-macro expansion.
6289
57a7d507
SM
6290 Add native compiler-macro support.
6291 * emacs-lisp/macroexp.el (macroexpand-all-1):
6292 Support compiler-macros directly. Properly follow aliases and apply
6293 the compiler macros more thoroughly.
6294 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6295 macroexpand now properly follows aliases.
6296 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6297 (cl-compiler-macroexpand): Use new prop.
6298 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6299
6300 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6301
51a5f9d8
MR
63022012-06-05 Martin Rudalics <rudalics@gmx.at>
6303
6304 * window.el (get-lru-window, get-mru-window, get-largest-window):
6305 New argument NOT-SELECTED to avoid picking the selected window.
6306 (window--display-buffer-1, window--display-buffer-2): Replace by
6307 new function window--display-buffer
6308 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6309 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6310 Use window--display-buffer.
51a5f9d8
MR
6311 (display-buffer-use-some-window): Remove temporary dedication
6312 hack by calling get-lru-window and get-largest-window with
6313 NOT-SELECTED argument non-nil. Call window--display-buffer.
6314
08f9f738
GM
63152012-06-05 Glenn Morris <rgm@gnu.org>
6316
6317 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6318 Replace external vcdiff script.
6319
e364a2b7
SM
63202012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6323
041df390
CY
63242012-06-04 Chong Yidong <cyd@gnu.org>
6325
e364a2b7
SM
6326 * image.el (imagemagick-types-inhibit): Revert last change.
6327 Add INFO and M.
47b36b94 6328 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6329
7c1898a7
SM
63302012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * emacs-lisp/cl-lib.el: Rename from cl.el.
6333 * emacs-lisp/cl.el: New compatibility file.
6334 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6335 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6336 to obey the "cl-" prefix.
6337 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6338
0c3461de
GM
63392012-06-03 Glenn Morris <rgm@gnu.org>
6340
1e266c88
GM
6341 * emacs-lisp/authors.el (authors-aliases): Addition.
6342
0c3461de
GM
6343 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6344 Fix :version.
6345
d8a52e15
SM
63462012-06-03 Stefan Merten <smerten@oekonux.de>
6347
6348 * textmodes/rst.el: Add comments.
6349 (rst-transition, rst-adornment): New faces.
6350 (rst-adornment-faces-alist): Make default safe to reevaluate.
6351 Fixes
6352 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6353 Improve customization tags.
6354 (rst-define-level-faces): Clarify meaning.
6355
5205d6f6
CY
63562012-06-03 Chong Yidong <cyd@gnu.org>
6357
6358 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6359 (compilation-mode-line-run, compilation-mode-line-exit):
6360 New faces.
5205d6f6
CY
6361 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6362
757ee657
JD
63632012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6364
7c1898a7
SM
6365 * progmodes/which-func.el (which-func-update-ediff-windows):
6366 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6367
5f2c76c6
CY
63682012-06-03 Chong Yidong <cyd@gnu.org>
6369
6370 * bindings.el: Remove explicit help text from format-mode-line.
6371 It is now supplied by mode-line-default-help-echo.
6372 (mode-line-front-space, mode-line-end-spaces)
6373 (mode-line-misc-info): New variables.
6374 (mode-line-modes, mode-line-position): Move the default value to
6375 the variable definition.
6376 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6377 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6378 (mode-line-modified-help-echo): New functions.
6379 (mode-line-mule-info, mode-line-modified): Use them.
6380 (mode-line-eol-desc, propertized-buffer-identification):
6381 Consistency fixes for help text.
cbe46e5f
CY
6382 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6383 set-buffer-file-coding-system (Bug#289).
6384 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6385
f2d6a3df
SM
63862012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * simple.el (execute-extended-command): Set real-this-command
6389 (bug#11506).
6390
37269466
CY
63912012-06-02 Chong Yidong <cyd@gnu.org>
6392
6393 Remove incorrect uses of "modeline" in comments, docstrings, and
6394 function/variable names (Bug#10329).
6395
6396 * cus-edit.el (mode-line):
6397 * dframe.el (dframe-mouse-hscroll):
6398 * emacs-lisp/re-builder.el:
6399 * emacs-lisp/easy-mmode.el (define-minor-mode):
6400 * frame.el (set-frame-name):
6401 * help.el (lookup-minor-mode-from-indicator):
6402 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6403 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6404 (c-toggle-hungry-state):
6405 * progmodes/antlr-mode.el (antlr-language-alist):
6406 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6407 * progmodes/vhdl-mode.el (vhdl-mode):
6408 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6409 * term/ns-win.el (ns-face-at-pos):
6410 * term/sup-mouse.el (sup-mouse-report):
6411 * textmodes/flyspell.el (flyspell-mode-line-string):
6412 * textmodes/ispell.el (ispell-highlight-face):
6413 * textmodes/reftex-global.el:
6414 * vc/vc-arch.el (vc-arch-mode-line-string):
6415 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6416 * vc/vc-git.el (vc-git-mode-line-string):
6417 * vc/vc-hooks.el (vc-display-status)
6418 (vc-default-mode-line-string):
6419 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6420
6421 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6422
6423 * dired.el (dired-sort-set-mode-line): Rename from
6424 dired-sort-set-modeline. All callers changed.
6425
6426 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6427 eshell-status-in-modeline.
6428
6429 * foldout.el (foldout-mode-line-string): Rename from
6430 foldout-modeline-string. All callers changed.
6431 (foldout-update-mode-line): Rename from foldout-update-modeline.
6432
6433 * subr.el (redraw-modeline): Make into obsolete alias.
6434
6435 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6436 timeclock-modeline-display. Make old name an alias.
6437 (timeclock-update-mode-line): Likewise. All callers changed.
6438 (timeclock-mode-line-display): No need to check before using
6439 add-hook.
6440 (timeclock-relative, timeclock-day-over-hook)
6441 (timeclock-use-elapsed, timeclock-mode-string)
6442 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6443
6444 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6445 crisp-mode-modeline-string.
6446
6447 * play/solitaire.el (solitaire-build-mode-line): Rename from
6448 solitaire-build-modeline. All callers changed.
6449
6450 * play/zone.el (zone-hiding-mode-line): Rename from
6451 zone-hiding-modeline. All callers changed.
6452 (zone): Remove unusued `modeline-hidden-level' property.
6453
6454 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6455 xscheme-modeline-initialize. All callers changed.
6456
6457 * strokes.el (strokes-lighter): Rename from
6458 strokes-modeline-string.
6459
6460 * textmodes/sgml-mode.el (html-face-tag-alist)
6461 (html-tag-face-alist): Use mode-line face instead of obsolete
6462 alias modeline.
6463
42152ee4
SM
64642012-06-02 Stefan Merten <smerten@oekonux.de>
6465
6466 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6467 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6468
95f520b5
CY
64692012-06-02 Chong Yidong <cyd@gnu.org>
6470
6471 * image.el (imagemagick-enabled-types): Rename from
6472 imagemagick-types-enable. Add many more types.
6473 (imagemagick-types-inhibit): Change default to nil.
6474 (imagemagick-filter-types): Caller changed.
6475
4a5f187a
SM
64762012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6477
03fef3e6
SM
6478 * emacs-lisp/cl-macs.el: Use backquotes.
6479 (cl-transform-function-property): Use eval-and-compile rather than
6480 abusing `require'.
6481 (defstruct): Use declare-function instead of with-no-warnings.
6482
4a5f187a
SM
6483 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6484 (byte-compile-output-docform): Re-add the print-circle bindings.
6485 (byte-compile-fix-header): Use #$ just because it's shorter.
6486 (byte-compile-output-file-form): Remove defun/defmacro.
6487
bd56924f
MR
64882012-06-01 Martin Rudalics <rudalics@gmx.at>
6489
6490 * simple.el (choose-completion): Remove now obsolete binding for
6491 owindow.
6492
046e38ce
MA
64932012-06-01 Michael Albinus <michael.albinus@gmx.de>
6494
6495 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6496 in order to avoid "Stack overflow in regexp matcher".
6497
32d72c2f
GM
64982012-05-31 Glenn Morris <rgm@gnu.org>
6499
6500 * image.el: For clarity, call imagemagick-register-types at
6501 top-level, rather than relying on a custom :initialize.
6502 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6503 (imagemagick-filter-types): New function. (Bug#7406)
6504 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6505 If disabling support, remove elements altogether rather
6506 than using an impossible regexp.
6507 (imagemagick-types-inhibit): Give it the default init function.
6508
dd41169b
SM
65092012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6510
4a5f187a
SM
6511 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6512 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6513
efc00ab1 65142012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6515
6516 * desktop.el (desktop-read): Clear previous and next buffers for
6517 all windows and bury *Messages* buffer (bug#11556).
6518
500fcedc
SM
65192012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 Add `declare' for `defun'. Align `defmacro's with it.
6522 * emacs-lisp/easy-mmode.el (define-minor-mode)
6523 (define-globalized-minor-mode): Don't autoload the var definitions.
6524 * emacs-lisp/byte-run.el: Use lexical-binding.
6525 (defun-declarations-alist, macro-declarations-alist): New vars.
6526 (defmacro, defun): Use them.
6527 (make-obsolete, define-obsolete-function-alias)
6528 (make-obsolete-variable, define-obsolete-variable-alias):
6529 Use `declare'.
6530 (macro-declaration-function): Mark obsolete.
6531 * emacs-lisp/autoload.el: Use lexical-binding.
6532 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6533
6e8a1786
AM
65342012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6535
6536 * textmodes/ispell.el (ispell-with-no-warnings):
6537 Define as a macro.
500fcedc
SM
6538 (ispell-kill-ispell, ispell-change-dictionary):
6539 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6540 `interactive-p'.
6541
61b108cc
SM
65422012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6545 (macro-declaration-function): Move var from C code.
6546 (macro-declaration-function): Define function with defalias.
6547 * emacs-lisp/macroexp.el (macroexpand-all-1):
6548 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6549 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6550 defun/defmacro any more.
6551 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6552 Provide fallback for unknown arglist.
6553 (byte-compile-arglist-warn): Change calling convention.
6554 (byte-compile-output-file-form): Move print-vars binding.
6555 (byte-compile-output-docform): Simplify accordingly.
6556 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6557 (byte-compile-defmacro-declaration): Remove.
6558 (byte-compile-file-form-defmumble): Generalize to defalias.
6559 (byte-compile-output-as-comment): Return byte-positions.
6560 Simplify callers accordingly.
6561 (byte-compile-lambda): Use `assert'.
6562 (byte-compile-defun, byte-compile-defmacro): Remove.
6563 (byte-compile-file-form-defalias):
6564 Use byte-compile-file-form-defmumble.
6565 (byte-compile-defalias-warn): Remove.
6566
6d3f7c2f
SM
65672012-05-29 Stefan Merten <smerten@oekonux.de>
6568
6569 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6570 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6571
6572 (rst-mode-abbrev-table): Merge definition.
6573 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6574 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6575
6dbaa1c7
UJ
65762012-05-29 Ulf Jasper <ulf.jasper@web.de>
6577
6578 * calendar/icalendar.el
6579 (icalendar-export-region): Export UID properly.
6580
d209e2fb 65812012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6582 * calendar/icalendar.el (icalendar-import-format):
6583 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6584 (icalendar-import-format-uid): New.
6585 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6586 Export UID.
6587
6876a58d
SM
65882012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6591 different alternative patterns.
6592 (pcase-codegen): Be more careful to preserve identity.
6593 (pcase--u1): Don't forget to mark vars as used.
6594
6595 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6596 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6597 (byte-compile-from-buffer): ...rather than here.
6598
6599 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6600 functions from byte-compile-function-environment.
6601
46b7967e
TN
66022012-05-29 Troels Nielsen <bn.troels@gmail.com>
6603
6604 * window.el (window-deletable-p): Avoid deleting the root window
6605 of a frame with an active minibuffer.
6606
69d565e2
MR
66072012-05-29 Martin Rudalics <rudalics@gmx.at>
6608
6609 * simple.el (choose-completion): Use quit-window (Bug#11567).
6610
a149fa51
CY
66112012-05-29 Chong Yidong <cyd@gnu.org>
6612
6613 * whitespace.el (whitespace-cleanup): Fix usage of
6614 whitespace-empty-at-bob-regexp (Bug#11492).
6615
2b311310
AH
66162012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6617
6618 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6619 revert (Bug#11488).
6620
b9cb2387
JL
66212012-05-29 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch-mode-map): Bind `M-s _' to
6624 `isearch-toggle-symbol'. Bind `M-s c' to
6625 `isearch-toggle-case-fold'.
6626 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6627 (isearch-forward): Add `M-s _' to the docstring.
6628 (isearch-forward-symbol, isearch-toggle-case-fold)
6629 (isearch-symbol-regexp): New functions. (Bug#11381)
6630
d5e61c1c
JL
66312012-05-29 Juri Linkov <juri@jurta.org>
6632
6633 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6634 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6635 a function, call it to get the regexp.
6636 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6637 property `isearch-message-prefix' instead of the string "word ".
6638 (isearch-search-fun-default): For the case of `isearch-word',
6639 return a lambda that calls re-search-forward/re-search-backward
6640 with a regexp returned by `word-search-regexp' or by the function
6641 in `isearch-word'.
6642
8cbd80f7
JL
66432012-05-29 Juri Linkov <juri@jurta.org>
6644
6645 * isearch.el (isearch-search-fun-default): New function.
6646 (isearch-search-fun): Move default part to the new function
6647 `isearch-search-fun-default'.
6648 (isearch-search-fun-function): Set the default value to
6649 `isearch-search-fun-default'. (Bug#11381)
6650
6651 * comint.el (comint-history-isearch-end):
6652 Use `isearch-search-fun-default'.
6653 (comint-history-isearch-search): Use `isearch-search-fun-default'
6654 and remove spacial case for `isearch-word'.
6655 (comint-history-isearch-wrap): Remove spacial case for
6656 `isearch-word'.
6657
6658 * hexl.el (hexl-isearch-search-function):
6659 Use `isearch-search-fun-default'.
6660
6661 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6662 Use `word-search-regexp' for `isearch-word'.
6663
6664 * misearch.el (multi-isearch-search-fun):
6665 Use `isearch-search-fun-default'.
6666
6667 * simple.el (minibuffer-history-isearch-search):
6668 Use `isearch-search-fun-default' and remove spacial case for
6669 `isearch-word'.
6670 (minibuffer-history-isearch-wrap): Remove spacial case for
6671 `isearch-word'.
6672
6673 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6674 Remove spacial case for `isearch-word'.
6675 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6676
85c8c5b6
AM
66772012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6678
6679 Decrease XEmacs incompatibilities.
6680 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6681 Use `string-match'.
6682 (flyspell-delete-region-overlays): Use alternative definition for
6683 XEmacs.
6684 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6685 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6686 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6687 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6688 `define-obsolete-face-alias' under XEmacs, but old method.
6689
6690 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6691 `with-no-warnings' definition or Emacs alias.
6692 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6693 (ispell-word): Do not use `region-p' if XEmacs.
6694
8cab9efc
AM
66952012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6696
6697 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6698 Check for `ispell-dictionary-base-alist' instead of full
6699 `ispell-dictionary-alist'.
6700 (ispell-init-process): Show spellchecker when starting new Ispell
6701 process.
6702
fda91268
RZ
67032012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6706 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6707
694ea8e3
JB
67082012-05-27 Juanma Barranquero <lekktu@gmail.com>
6709
6710 * version.el (motif-version-string, gtk-version-string)
6711 (ns-version-string): Declare.
6712
e4d4f539
JL
67132012-05-27 Juri Linkov <juri@jurta.org>
6714
6715 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6716 after the `eval-defun-1' specialcaseing
6717 like in `edebug-eval-defun' (bug#10181).
6718
6719 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6720 like in `eval-defun-1'.
6721
33017faf 67222012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6723
fda91268
RZ
6724 * mail/sendmail.el (mail-yank-region):
6725 Recognize rmail-yank-current-message in addition to insert-buffer.
6726 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6727 a *mail* buffer created through rmail-start-mail with sendmail as
6728 mail-user-agent.
6729
33017faf
GM
67302012-05-27 Chong Yidong <cyd@gnu.org>
6731
6732 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6733 Default to 256 (Bug#11267).
6734
6735 * help.el (describe-mode): Doc fix.
6736
04188bb9
GM
67372012-05-26 Glenn Morris <rgm@gnu.org>
6738
38264cc9
GM
6739 * w32-fns.el (w32-init-info): Remove.
6740 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6741
eb7afdad
GM
6742 * info.el (info-initialize): For self-contained NS builds, put the
6743 included info/ directory at the front. (Bug#2791)
6744
04188bb9
GM
6745 * paths.el (Info-default-directory-list): Make it a defcustom,
6746 mainly so that we can use custom-initialize-delay.
6747
a179e3f7
SM
67482012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6749
43416392
SM
6750 * subr.el (buffer-has-markers-at): Mark obsolete.
6751
a179e3f7 6752 * subr.el (lambda): Use declare.
43416392 6753
a179e3f7
SM
6754 * emacs-lisp/lisp-mode.el (lambda):
6755 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6756
34a008d9
AH
67572012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6758
6759 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6760
0a3b289f
GM
67612012-05-26 Glenn Morris <rgm@gnu.org>
6762
6763 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6764
758c81e8
GM
67652012-05-25 Glenn Morris <rgm@gnu.org>
6766
f9f334f0
GM
6767 * paths.el: Remove no-byte-compile.
6768 * loadup.el: No need to load paths.el uncompiled.
6769
87eb79c2
GM
6770 * image.el (imagemagick-types-inhibit): Doc fix.
6771
758c81e8
GM
6772 * version.el: Remove no-byte-compile and associated formatting.
6773 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6774 is ancient code from when there was an "inc-vers.el".
6775
e7e85dc0
SM
67762012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * progmodes/gdb-mi.el: Minor style changes.
6779 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6780 Turn into minor modes.
6781 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6782 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6783 (gdb-shell): Remove unneeded let-binding.
6784 (gdb-get-many-fields): Eliminate O(n²) behavior.
6785
f31237a4
EZ
67862012-05-25 Eli Zaretskii <eliz@gnu.org>
6787
6788 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6789 platforms that don't link in fontset.c.
6790
bc1b21bb
JL
67912012-05-25 Juri Linkov <juri@jurta.org>
6792
6793 Use the same diff color scheme as in modern VCSes (bug#10181).
6794
6795 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6796 to avoid confusion with `diff-added' that now uses green colors.
6797 (diff-removed): Use shades of red.
6798 (diff-added): Use shades of green.
6799 (diff-changed): Leave just the yellow color.
6800 (diff-use-changed-face): New variable.
6801 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6802 how to highlight context diff changes.
6803 (diff-refine-change): Use shades of yellow.
6804 (diff-refine-removed): New face that uses shades of red.
6805 (diff-refine-added): New face that uses shades of green.
6806 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6807 `diff-refine-removed' in the call to `smerge-refine-subst'
6808 depending on the value of `diff-use-changed-face'.
6809
6810 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6811 (smerge-other): Use shades of green.
6812 (smerge-base): Use shades of yellow.
6813 (smerge-refined-change): Empty face.
6814 (smerge-refined-removed): New face that uses shades of red.
6815 (smerge-refined-added): New face that uses shades of green.
6816 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6817 args `props-r' and `props-a', and use them. Doc fix.
6818 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6819 on its value use different faces `smerge-refined-change',
6820 `smerge-refined-removed', `smerge-refined-added' in the call to
6821 `smerge-refine-subst'.
6822
6823 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6824 Add face condition `min-colors 88' with shades of red.
6825 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6826 `min-colors 88' with shades of green.
6827 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6828 `min-colors 88' with shades of yellow.
6829
6df9112c
GM
68302012-05-24 Glenn Morris <rgm@gnu.org>
6831
ead5edc0
GM
6832 * paths.el (prune-directory-list, remote-shell-program): Move to...
6833 * files.el (prune-directory-list, remote-shell-program): ...here.
6834 For the latter, delay initialization, prefer ssh, just search PATH.
6835
f18b81e6
GM
6836 * paths.el (term-file-prefix): Move to faces.el (the only user).
6837 * faces.el (term-file-prefix): Move here, make it a defcustom.
6838
ee2f89a6
GM
6839 * paths.el (news-directory, news-path, news-inews-program):
6840 Move to gnus/nnspool.el.
61a583ca 6841
f8815e4c
GM
6842 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6843
c8f3b42c
GM
6844 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6845 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6846 Make the latter a defcustom, with a delayed initialization.
6847
6df9112c
GM
6848 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6849 These were deleted from Gnus itself late 2010.
6850
5dadff36
JB
68512012-05-22 Juanma Barranquero <lekktu@gmail.com>
6852
9e1701c6
JB
6853 * progmodes/which-func.el (which-func-ff-hook):
6854 Check against user-error, not error.
6855
bd7239f5 6856 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6857 cl-specs.el, which no longer exists.
6858
3290526d
GM
68592012-05-22 Glenn Morris <rgm@gnu.org>
6860
6861 * info.el (info-emacs-bug): New command.
6862 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6863 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6864
ff0c3cfb
GM
68652012-05-21 Glenn Morris <rgm@gnu.org>
6866
6867 * makefile.w32-in (update-subdirs-SH):
6868 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6869
5814f126
SM
68702012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6871
a52c0aa0
SM
6872 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6873
5814f126
SM
6874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6875 Simplify Maven regexp, and make sure the file can't start with a space
6876 (bug#11517).
6877
b847032c
GM
68782012-05-21 Glenn Morris <rgm@gnu.org>
6879
6880 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6881 Scrap superfluous subshells.
6882
3858bfe7
SM
68832012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6886 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6887
d14b0029
JB
68882012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6889
6890 * calc/calc.el (calc-ensure-consistent-units): New variable.
6891
a52c0aa0
SM
6892 * calc/calc-units.el (math-consistent-units-p)
6893 (math-check-unit-consistency): New functions.
6894 (calc-quick-units, calc-convert-units):
6895 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6896 is non-nil.
d14b0029
JB
6897 (calc-extract-units): Fix typo.
6898
60c4db3a
SM
68992012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6900
77f3b62e
SM
6901 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6902
60c4db3a
SM
6903 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6904 (flyspell-default-deplacement-commands): Don't spell check after
6905 repeated window/frame switches (e.g. triggered by mouse-movement).
6906 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6907 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6908 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6909 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6910 Remove unused vars.
6911 (flyspell-get-casechars, flyspell-get-not-casechars):
6912 Simplify; Don't bother removing a ] just to add it back.
6913 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6914
d209e2fb 69152012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6916
6917 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6918 New functions.
bd7239f5 6919 (math-function-table): Add support for more C functions.
b1a10716 6920
3f1b25b5
AM
69212012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6922
090bd7cb
JB
6923 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6924 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6925 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6926
b581bb5c
SM
69272012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6930 their respective macro declarations.
6931 * skeleton.el (define-skeleton):
6932 * progmodes/compile.el (define-compilation-mode):
6933 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6934 (define-ibuffer-filter):
6935 * emacs-lisp/generic.el (define-generic-mode):
6936 * emacs-lisp/easy-mmode.el (define-minor-mode)
6937 (define-globalized-minor-mode):
6938 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6939 * emacs-lisp/byte-run.el (defsubst):
6940 * custom.el (deftheme): Add doc-string metadata.
6941
70b8ef8f
SM
69422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6945
b1198e17
SM
69462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6947
9abdc45d
SM
6948 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6949
b1198e17
SM
6950 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6951 * emacs-lisp/cl-macs.el: Idem.
6952 * emacs-lisp/cl-specs.el: Remove.
6953
4735906a
SM
69542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 Minor renaming of internal CL functions and variables.
6957 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6958 (cl--position): Rename from cl-position.
6959 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6960 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6961 (cl--random-state): Rename from *random-state*.
6962
ac348012
SM
69632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6966 parens around the arg list (bug#11499).
6967
a0a79cde
JL
69682012-05-17 Juri Linkov <juri@jurta.org>
6969
6970 * isearch.el (word-search-regexp, word-search-backward)
6971 (word-search-forward, word-search-backward-lax)
6972 (word-search-forward-lax): Move functions from search.c
6973 (bug#10145, bug#11381).
6974
65034a51
AM
69752012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6976
090bd7cb
JB
6977 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6978 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6979 Delay for otherchars as for normal word components.
65034a51 6980
1a72a195
SM
69812012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * minibuffer.el (completion--sifn-requote): Fix last change.
6984 (minibuffer-local-must-match-filename-map):
6985 Move define-obsolete-variable-alias before its var.
6986
fdb058c2
SM
69872012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6988
c41045e6
SM
6989 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6990
036dfb8b
SM
6991 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6992 behavior.
6993 (completion--string-equal-p): New function.
6994 (completion--twq-all): Use it to get better assertion failure data.
6995
2473256d
SM
6996 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6997 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6998 (shell--requote-argument): New functions.
6999 (shell-completion-vars): Use them.
7000 (shell--parse-pcomplete-arguments): Rename from
7001 shell-parse-pcomplete-arguments.
7002 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7003 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7004 Obey comint-file-name-quote-list.
7005
fdb058c2
SM
7006 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7007 (smie-indent-keyword): Use it.
7008
51fa99f1
SM
70092012-05-14 Stefan Merten <smerten@oekonux.de>
7010
7011 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7012
e18afed7 70132012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7014
7015 * net/rlogin.el (rlogin-mode-map): Fix last change.
7016
e18afed7 70172012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7018
7019 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7020 the following \r\n using a single `process-send-string', since the
7021 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7022 with two `process-send-string's (Bug#11444).
8633b1f4 7023
e18afed7 70242012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7025
fdb058c2
SM
7026 * shell.el (shell-parse-pcomplete-arguments):
7027 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7028
2d21d7f6
WJ
70292012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7030
e18afed7 7031 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7032 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7033 (image-transform-width, image-transform-fit-width): New functions.
7034 (image-transform-properties): Use them.
7035 (image-transform-check-size): New function.
7036 (image-toggle-display-image): Use it (for testing).
7037 (image-transform-set-rotation): Reduce angle mod 360.
7038 Delete obsolete comment.
7039
7102e6d0
WJ
70402012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7041
7042 * image-mode.el: Fix scaling (bug#11399).
7043 (image-transform-resize): Doc fix.
7044 (image-transform-properties): Default scale is 1 and height should
7045 be an integer.
7046
06bc5e6e
SM
70472012-05-13 Johan Bockgård <bojohan@gnu.org>
7048
7049 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7050 than hard-coding `car', to fix misbehavior when moving forward.
7051
0ae03b6a
CY
70522012-05-13 Chong Yidong <cyd@gnu.org>
7053
7054 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7055 (tabulated-list-entries, tabulated-list-padding)
7056 (tabulated-list-sort-key): Make permanent-local.
7057
7058 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7059 (electric-buffer-list): Put electric buffer menu
7060 command descriptions in this docstring, instead of the docstring
7061 of electric-buffer-menu-mode. Code cleanups.
7062 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7063 Electric-buffer-menu-mode.
7064 (electric-buffer-update-highlight): Minor code cleanup.
7065
205a7391
MA
70662012-05-13 Michael Albinus <michael.albinus@gmx.de>
7067
7068 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7069 (Bug#11447)
7070
e5bd0a28
SM
70712012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 Move define-obsolete-variable-alias before the var's definition.
7074 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7075 * tooltip.el (tooltip-hook):
7076 * textmodes/reftex-toc.el (reftex-toc-map):
7077 * textmodes/reftex-sel.el (reftex-select-label-map)
7078 (reftex-select-bib-map):
7079 * textmodes/reftex-index.el (reftex-index-map)
7080 (reftex-index-phrases-map):
7081 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7082 * progmodes/meta-mode.el (meta-mode-map):
7083 * novice.el (disabled-command-hook):
7084 * loadhist.el (unload-hook-features-list):
7085 * frame.el (blink-cursor):
7086 * files.el (find-file-not-found-hooks, write-file-hooks)
7087 (write-contents-hooks):
7088 * emulation/tpu-edt.el (GOLD-map):
7089 * emacs-lock.el (emacs-lock-from-exiting):
7090 * emacs-lisp/generic.el (generic-font-lock-defaults):
7091 * emacs-lisp/chart.el (chart-map):
7092 * dos-fns.el (register-name-alist):
7093 * dired-x.el (dired-omit-files-p):
7094 * desktop.el (desktop-enable):
7095 * cus-edit.el (custom-mode-hook):
7096 * buff-menu.el (buffer-menu-mode-hook):
7097 * bookmark.el (bookmark-read-annotation-text-func)
7098 (bookmark-exit-hooks):
7099 * allout.el (allout-mode-deactivate-hook)
7100 (allout-exposure-change-hook, allout-structure-added-hook)
7101 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7102 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7103 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7104 comes before the corresponding variable's definition.
7105
ac59c2f6
CY
71062012-05-12 Chong Yidong <cyd@gnu.org>
7107
7108 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7109 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7110 (Buffer-menu-mode-map): Bind it.
7111 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7112
dee6c9a3
SM
71132012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7114
2171cea5
SM
7115 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7116 (prolog-upper-case-string, prolog-lower-case-string)
7117 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7118 (prolog-use-smie, prolog-smie-grammar): New vars.
7119 (prolog-smie-forward-token, prolog-smie-backward-token)
7120 (prolog-smie-rules): New funs.
7121 (prolog-comment-indent): Remove.
7122 (prolog-mode-variables): Use default comment indentation instead.
7123 Setup SMIE.
7124 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7125 (prolog-mode): Don't call them any more.
7126 (prolog-electric-colon, prolog-electric-dash)
7127 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7128
aa0382bd
SM
7129 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7130
dbacb4bd
SM
7131 * minibuffer.el (completion--twq-all): Again, allow case differences.
7132
13bdd94c
SM
7133 * term.el: Move keymap initialization code to be more idiomatic.
7134 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7135 (term-terminal-menu): Move initialization into declaration.
7136 (term-escape-char): Let the user set it in her .emacs.
7137
ff46c759
SM
7138 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7139 Provide SMIE-based indentation (not enabled by default yet).
7140 (sh-mode-map): Don't bind electric keys.
7141 Use electric-pair-mode instead of skeleton-pair.
7142 (sh-assignment-regexp): Fit within 80 columns.
7143 (sh-indent-supported): Specify actual shell name instead of boolean.
7144 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7145 (sh-maybe-here-document): Use it. Make obsolete.
7146 (sh-electric-here-document-mode) New minor mode.
7147 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7148 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7149 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7150 (sh-smie-rc-grammar, sh-use-smie): New vars.
7151 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7152 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7153 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7154 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7155 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7156 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7157 (sh-set-shell): Use smie-setup if requested.
7158
dee6c9a3
SM
7159 * term.el (term-set-escape-char): Properly set term-escape-char.
7160 See http://stackoverflow.com/questions/10524656.
7161
9f9aa044
CY
71622012-05-10 Chong Yidong <cyd@gnu.org>
7163
7164 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7165 Use url-generic-parse-url, and handle host names and Windows
7166 filenames properly.
7167 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7168 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7169 URL schemes to work on.
7170 (ffap--toggle-read-only): New function.
7171 (ffap-read-only, ffap-read-only-other-window)
7172 (ffap-read-only-other-frame): Use it.
7173 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7174 necessary for ffap-url-unwrap-remote.
7175
836d29b3
DA
71762012-05-10 Dave Abrahams <dave@boostpro.com>
7177
7178 * cus-start.el (create-lockfiles): Add it.
7179
00fd78ed
CY
71802012-05-09 Chong Yidong <cyd@gnu.org>
7181
7182 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7183 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7184
666b903b 71852012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7186
7187 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7188
666b903b 71892012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7190
7191 * ansi-color.el (ansi-color-process-output): Check for validity of
7192 comint-last-output-start before using it. This avoids a bad
7193 interaction with gdb-mi's input/output buffer.
7194
666b903b 71952012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7196
7197 * files.el (dir-locals-read-from-file):
7198 Mention dir-locals in any error message.
7199
666b903b 72002012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7201
7202 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7203 package (Bug#11410).
7204
f677562b
CY
7205 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7206 variables into description.
7207
666b903b 72082012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7209
7210 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7211 shell-delimiter-argument-list (bug#11348).
7212 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7213
b499d8d0
JB
72142012-05-09 Juanma Barranquero <lekktu@gmail.com>
7215
8f6b6da8
JB
7216 * textmodes/rst.el: Silence byte-compiler warnings.
7217 (rst-re-alist, rst-reset-section-caches): Move around.
7218 (rst-re): Use `characterp', not `char-valid-p'.
7219 (font-lock-beg, font-lock-end): Declare.
7220
4824146a
JB
7221 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7222 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7223
b499d8d0
JB
7224 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7225
ad89bb83
GM
72262012-05-08 Glenn Morris <rgm@gnu.org>
7227
7228 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7229
8bba5a75
SM
72302012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7231
49ed9c8e
SM
7232 * vc/log-edit.el: Add GNU coding standards highlighting.
7233 (log-edit-font-lock-gnu-style)
7234 (log-edit-font-lock-gnu-keywords): New vars.
7235 (log-edit-font-lock-keywords): New fun.
7236 (log-edit-mode): Don't fold case in font-lock.
7237 (log-edit-font-lock-keywords): Do not assume case-folding.
7238
07d00b56
SM
7239 * imenu.el: Misc cleanup. Make docstrings out of comments.
7240 Use lexical-binding.
7241 (imenu--index-alist, imenu--last-menubar-index-alist)
7242 (imenu-menubar-modified-tick): Use defvar-local.
7243 (imenu--split-menu): Remove unused var.
7244 (imenu--cleanup-seen): Declare as global.
7245 (imenu--cleanup): Use dolist.
7246
8bba5a75
SM
7247 * subr.el (defvar-local): Add debug spec and doc-string position.
7248
5075bdb5
GM
72492012-05-08 Glenn Morris <rgm@gnu.org>
7250
090bd7cb 7251 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7252 * language/english.el, language/georgian.el, language/greek.el:
7253 * language/japanese.el, language/khmer.el, language/korean.el:
7254 * language/lao.el, language/misc-lang.el, language/romanian.el:
7255 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7256 * language/thai.el, language/utf-8-lang.el:
7257 Remove no-byte-compile setting.
7258
5075bdb5
GM
7259 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7260
06f679a7
AH
72612012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7262
7263 * progmodes/make-mode.el (makefile-browse):
7264 Remove unnecessary interactive. (Bug#11324)
7265
03794570
GM
72662012-05-07 Glenn Morris <rgm@gnu.org>
7267
af8630f4
GM
7268 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7269
03794570
GM
7270 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7271
f0809a9d
SM
72722012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7273
28be5ce7
SM
7274 * loadup.el: Preload newcomment.el.
7275 * newcomment.el: Move autoload-only code to toplevel.
7276
f0809a9d
SM
7277 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7278 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7279 Handle new :right-align column property.
7280 (tabulated-list-print-col): Idem, plus use `display' text-property to
7281 try and preserve alignment for variable pitch fonts.
7282
1241b724
CY
72832012-05-07 Chong Yidong <cyd@gnu.org>
7284
7285 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7286 (tabulated-list-use-header-line): New var.
7287 (tabulated-list-init-header): Use it.
7288 (tabulated-list-print-fake-header): New function.
7289 (tabulated-list-print): Use it.
7290 (tabulated-list-sort-button-map): Add non-header-line commands.
7291 (tabulated-list-init-header): Add column name property to basic
7292 labels as well.
7293 (tabulated-list-col-sort): Handle non-header-line button case.
7294 (tabulated-list--sort-by-column-name): Fix a corner case.
7295
f0809a9d
SM
7296 * buff-menu.el (list-buffers--refresh):
7297 Handle Buffer-menu-use-header-line.
1241b724 7298
e5f9458f
CY
72992012-05-06 Chong Yidong <cyd@gnu.org>
7300
7301 * buff-menu.el: Convert to Tabulated List mode.
7302 (Buffer-menu-buffer+size-width): Make obsolete.
7303 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7304 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7305 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7306 documentation into docstring of buffer-menu.
7307 (Buffer-menu-toggle-files-only): Add an informative message.
7308 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7309 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7310 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7311 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7312 (Buffer-menu-execute, Buffer-menu-select)
7313 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7314 (Buffer-menu-bury): Use Tabulated List machinery.
7315 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7316 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7317 Delete.
e5f9458f
CY
7318 (list-buffers--refresh): New function.
7319 (list-buffers-noselect): Use it.
7320 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7321 (Buffer-menu--pretty-file-name): New helper functions.
7322
7323 * loadup.el: Preload tabulated-list.
7324
7325 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7326 tabulated-list-sort-column.
7327 (tabulated-list-init-header): Add the initial aligning space even
7328 if tabulated-list-padding is zero.
7329
e129292c
CS
73302012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7331
7332 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7333 whose cdr is not a cons cell correctly (bug#11038).
7334
6632d361
CY
73352012-05-06 Chong Yidong <cyd@gnu.org>
7336
e129292c
CS
7337 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7338 Accept additional plist in column descriptors.
6632d361
CY
7339 (tabulated-list-init-header): Obey it.
7340 (tabulated-list-get-entry): New function.
7341 (tabulated-list-put-tag): Use it. Use string-width instead of
7342 length.
7343 (tabulated-list--column-number): New function.
7344 (tabulated-list-print): Use it.
e129292c
CS
7345 (tabulated-list-print-col): New function.
7346 Set `tabulated-list-column-name' property on each column's text.
6632d361 7347 (tabulated-list-print-entry): Use it.
e129292c
CS
7348 (tabulated-list-delete-entry, tabulated-list-set-col):
7349 New functions.
6632d361
CY
7350 (tabulated-list-sort-column): New command (Bug#11337).
7351
3cc99f68
CY
7352 * buff-menu.el (list-buffers): Move C-x C-b binding from
7353 buff-menu.el to bindings.el.
7354
7355 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7356 :advertised-binding feature.
7357
52b61776
TN
73582012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7359
7360 * progmodes/compile.el (compilation-internal-error-properties):
7361 Calculate start position correctly when end-col is set but
7362 end-line is not (Bug#11382).
7363
ebfe2597
WJ
73642012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7365
7366 * man.el (Man-unindent): Use text-property-default-nonsticky to
7367 prevent untabify from inheriting face properties (Bug#11408).
7368
6d3f7c2f
SM
73692012-05-05 Stefan Merten <smerten@oekonux.de>
7370
7371 * textmodes/rst.el: Major merge with upstream development up to
7372 Docutils SVN r7399 / rst.el V1.2.1.
7373
7374 Clarify maintainership and authors.
7375
7376 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7377 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7378 (rst-official-version, rst-official-cvs-rev, rst-version)
7379 (rst-package-emacs-version-alist): New functions and variables
7380 for version information.
7381
7382 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7383 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7384 (rst-mode-syntax-table, rst-mode): New and corrected functions
7385 and variables representing reStructuredText features.
7386
7387 (rst-re): New function for reStructuredText regexes. Use in
7388 many places.
7389
7390 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7391 (rst-mode-map): Rebind keys.
7392
7393 (rst-mode-lazy, rst-font-lock-keywords)
7394 (rst-font-lock-extend-region)
7395 (rst-font-lock-extend-region-internal)
7396 (rst-font-lock-extend-region-extend)
7397 (rst-font-lock-find-unindented-line-limit)
7398 (rst-font-lock-find-unindented-line-match)
7399 (rst-adornment-level, rst-font-lock-adornment-level)
7400 (rst-font-lock-adornment-match)
7401 (rst-font-lock-handle-adornment-pre-match-form)
7402 (rst-font-lock-handle-adornment-matcher): Major revision of
7403 font-locking. Integrate with other code. Use `jit-lock-mode'.
7404
7405 (rst-preferred-adornments, rst-adjust-hook)
7406 (rst-new-adornment-down, rst-preferred-bullets)
7407 (rst-preferred-bullets, rst-indent, rst-indent-width)
7408 (rst-indent-field, rst-indent-literal-normal)
7409 (rst-indent-literal-minimized, rst-indent-comment): Change,
7410 extend and improve customization.
7411
7412 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7413 (rst-normalize-cursor-position, rst-get-decoration)
7414 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7415 (rst-rstrip, rst-toc-insert-find-delete-contents)
7416 (rst-shift-fill-region, rst-compute-bullet-tabs)
7417 (rst-debug-print-tabs, rst-debug-mark-found)
7418 (rst-shift-region-guts, rst-shift-region-right)
7419 (rst-shift-region-left, rst-use-char-classes)
7420 (rst-font-lock-keywords-function)
7421 (rst-font-lock-indentation-point)
7422 (rst-font-lock-find-unindented-line-begin)
7423 (rst-font-lock-find-unindented-line-end)
7424 (rst-font-lock-find-unindented-line)
7425 (rst-font-lock-adornment-point, rst-font-lock-level)
7426 (rst-adornment-level-alist): Remove functions and variables.
7427
7428 (rst-compare-adornments, rst-get-adornment-match)
7429 (rst-suggest-new-adornment, rst-get-adornments-around)
7430 (rst-adornment-complete-p, rst-get-next-adornment)
7431 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7432 (rst-straighten-adornments): Standardize function names to
7433 use "adornment" instead of "decoration". Correct callers.
7434 Similar standardizing in many places.
7435
7436 (rst-update-section, rst-adjust, rst-promote-region)
7437 (rst-enumerate-region, rst-bullet-list-region)
7438 (rst-repeat-last-character): Correct use of `interactive'.
7439
7440 (rst-classify-adornment, rst-find-all-adornments)
7441 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7442 (rst-find-leftmost-column, rst-repeat-last-character):
7443 Refactor functions.
7444
7445 (rst-find-title-line, rst-reset-section-caches)
7446 (rst-get-adornments-around, rst-adjust-adornment-work)
7447 (rst-arabic-to-roman, rst-roman-to-arabic)
7448 (rst-insert-list-pos, rst-insert-list-new-item)
7449 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7450 New functions.
7451
7452 (rst-all-sections, rst-section-hierarchy)
7453 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7454 New variables.
7455
7456 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7457 configuration instead of only buffer. Change where necessary.
7458
7459 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7460 (rst-shift-region, rst-adaptive-fill): New functions for
7461 indentation and filling.
7462
7463 (rst-comment-line-break, rst-comment-indent)
7464 (rst-comment-insert-comment, rst-comment-region)
7465 (rst-uncomment-region): New functions for handling comments.
7466
7467 (rst-compile): Quote shell arguments.
7468
7469 (rst-compile-pdf-preview, rst-compile-slides-preview):
7470 Delete temporary files after use.
7471
a43f98b3
GM
74722012-05-05 Glenn Morris <rgm@gnu.org>
7473
48176e8b
GM
7474 * calendar/cal-html.el: Optionally include holidays in the output.
7475 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7476 (cal-html-holidays): New option.
7477 (cal-html-css-default): Add holiday entry.
7478 (holiday-in-range): Autoload it.
7479 (cal-html-htmlify-entry): Add optional class argument.
7480 (cal-html-htmlify-list): Add optional holidays argument.
7481 (cal-html-insert-agenda-days): Include holidays in the output.
7482 (cal-html-one-month): Maybe include holidays.
7483
a43f98b3
GM
7484 * calendar/holidays.el (holiday-in-range):
7485 Move here from cal-tex-list-holidays.
7486 * calendar/cal-tex.el (cal-tex-list-holidays):
7487 Make it an obsolete alias for holiday-in-range. Update all callers.
7488
fef9d149 74892012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7490
7491 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7492 Nextstep.
7493
248da2f4
RW
74942012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7495
7496 * files.el (file-auto-mode-skip): New var.
7497 (set-auto-mode-1): Use it.
7498
f95e9344
SM
74992012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7500
df96ab1e
SM
7501 * repeat.el: Use lexical-binding.
7502 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7503 (repeat-undo-count): Remove.
7504 (repeat):
7505 * progmodes/octave-mod.el (octave-abbrev-start):
7506 * progmodes/f90.el (f90-abbrev-start):
7507 * face-remap.el (text-scale-adjust):
7508 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7509
5342bb06
SM
7510 * emacs-lisp/pcase.el (pcase--let*): New function.
7511 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7512 a bit more.
7513 (pcase--split-pred): Be more clever about ruling out overlap between
7514 a predicate and some constant pattern.
7515 (pcase--q1): Use `null' instead of (eq foo nil).
7516
f95e9344
SM
7517 * subr.el (setq-local, defvar-local): New macros.
7518 (kbd): Redefine as an alias.
7519 (with-selected-window): Leave unrelated frames alone.
7520 (set-temporary-overlay-map): New function.
7521
71873e2b
SM
75222012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * subr.el (user-error): New function.
7525 * window.el (switch-to-buffer):
7526 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7527 (smerge-match-conflict):
7528 * simple.el (previous-matching-history-element)
7529 (next-matching-history-element, goto-history-element, undo-more)
7530 (undo-start):
7531 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7532 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7533 (next-file, tags-loop-scan, list-tags, complete-tag):
7534 * progmodes/compile.el (compilation-loop):
7535 * mouse.el (mouse-minibuffer-check):
7536 * man.el (Man-bgproc-sentinel, Man-goto-page):
7537 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7538 (Info-history-forward, Info-follow-reference, Info-menu)
7539 (Info-extract-menu-item, Info-extract-menu-counting)
7540 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7541 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7542 (Info-next-reference, Info-prev-reference, Info-index)
7543 (Info-index-next, Info-follow-nearest-node)
7544 (Info-copy-current-node-name):
7545 * imenu.el (imenu--make-index-alist)
7546 (imenu-default-create-index-function, imenu-add-to-menubar):
7547 * files.el (basic-save-buffer, recover-file):
7548 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7549 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7550 (checkdoc-message-text, checkdoc-defun):
7551 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7552 * cus-edit.el (customize-changed-options, customize-rogue)
7553 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7554 (custom-variable-mark-to-reset-standard)
7555 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7556 (custom-file):
7557 * completion.el (check-completion-length):
7558 * comint.el (comint-search-arg)
7559 (comint-previous-matching-input-string-position)
7560 (comint-previous-matching-input)
7561 (comint-replace-by-expanded-history-before-point, comint-send-input)
7562 (comint-copy-old-input, comint-backward-matching-input)
7563 (comint-goto-process-mark, comint-set-process-mark):
7564 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7565 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7566
8a61ee22
SM
75672012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7568
66408d1e
SM
7569 * dabbrev.el (dabbrev--ignore-case-p): New function.
7570 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7571 Use it.
7572
8a61ee22
SM
7573 * files.el (automount-dir-prefix): Mark as obsolete.
7574
3c74813a
GM
75752012-05-04 Glenn Morris <rgm@gnu.org>
7576
7577 * patcomp.el, play/bruce.el: Move to obsolete/.
7578
0bfcf5c5
PE
75792012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7580
7581 Fix minor Y10k bugs.
7582 * arc-mode.el (archive-unixdate):
7583 * autoinsert.el (auto-insert-alist):
7584 * calc/calc-forms.el (math-this-year):
7585 * emacs-lisp/copyright.el (copyright-current-year)
7586 (copyright-update-year, copyright):
7587 * tar-mode.el (tar-clip-time-string):
7588 * time.el (display-time-update):
7589 Don't assume years have 4 digits.
7590
78f3273a
CY
75912012-05-04 Chong Yidong <cyd@gnu.org>
7592
7593 * dos-w32.el (file-name-buffer-file-type-alist)
7594 (direct-print-region-use-command-dot-com):
7595 * ffap.el (ffap-menu-regexp):
7596 * find-file.el (ff-special-constructs):
7597 * follow.el (follow-debug):
7598 * forms.el (forms--debug):
7599 * iswitchb.el (iswitchb-all-frames):
7600 * ido.el (ido-all-frames):
7601 * emacs-lisp/timer.el (timer-max-repeats):
7602 * mail/feedmail.el (feedmail-mail-send-hook)
7603 (feedmail-mail-send-hook-queued):
7604 * mail/footnote.el (footnote-signature-separator):
7605 * mail/mailabbrev.el (mail-alias-separator-string)
7606 (mail-abbrev-mode-regexp):
7607 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7608 * progmodes/idlwave.el (idlwave-libinfo-file)
7609 (idlwave-default-completion-case-is-down)
7610 (idlwave-library-routines): Convert defvars to defcustoms.
7611
7612 * mail/rmail.el (rmail-decode-mime-charset):
7613 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7614 (idlwave-shell-fix-inserted-breaks)
7615 (idlwave-shell-activate-alt-keybindings)
7616 (idlwave-shell-use-breakpoint-glyph):
7617 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7618
f7ae6719
SM
76192012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7622
47086495
WS
76232012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7624
7625 * progmodes/verilog-mode.el (font-lock-keywords):
7626 Fix mis-highligting auto. Reported by Craig Barner.
7627 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7628 defines from global name space. Reported by Dan Dever.
47086495
WS
7629 (verilog-auto-reset, verilog-auto-reset-widths)
7630 (verilog-auto-tieoff): Support using unbased numbers for
7631 AUTORESET and AUTOTIEOFF.
7632 (verilog-submit-bug-report): Update variable list.
7633 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7634 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7635 (verilog-auto-template-lint): Fix hash error when linting modules
7636 with no used templates.
7637 (verilog-warn, verilog-warn-error)
7638 (verilog-warn-fatal): When non-interactive report multiple
7639 warnings before exiting. Suggested by Brad Dobbie.
7640 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7641 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7642 to report unused template errors. Reported by Brad Dobbie.
7643 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7644 nets, bug438. Reported by Vns Blore.
47086495
WS
7645 (verilog-auto-inout-module, verilog-auto-reg)
7646 (verilog-read-decls, verilog-read-sub-decls-sig)
7647 (verilog-signals-edit-wire-reg, verilog-signals-with):
7648 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7649 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7650 "reg" for backwards compatibility presuming Verilog 2001.
7651 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7652 (verilog-preprocess): Fix replication of preprocess output.
7653 Reported by Brad Dobbie.
7654 (verilog-auto-inst-interfaced-ports):
7655 Create verilog-auto-inst-interfaced-ports, bug429.
7656 Reported by Julian Gorfajn.
7657 (verilog-after-save-font-hook)
7658 (verilog-before-save-font-hook): New variable.
7659 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7660 (verilog-save-font-mods): Wrap disabling fontification, reported
7661 by David Rogoff.
7662 (verilog-do-indent, verilog-pretty-declarations-auto)
7663 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7664 Reported by Pierre-David Pfister.
7665 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7666 of class declarations, bug292. Reported by Kevin Heilman.
7667 (verilog-read-decls): Fix 'parameter type' not appearing in
7668 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7669 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7670 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7671 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7672 Reported by David Kravitz.
7673
76742012-05-03 Michael McNamara <mac@mail.brushroad.com>
7675
7676 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7677 assignment with tests in ifs and for loops.
7678 (verilog-extended-complete-re, verilog-complete-reg): Change so
7679 that DPI inport functions don't look like fuction declarations.
7680 (verilog-pretty-expr): Don't line up assignment
7681 operations to the test and increment in if and for loops
7682 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7683 that DPI inport functions don't look like fuction declarations.
47086495 7684
2e51d4b5
KH
76852012-05-03 Kenichi Handa <handa@m17n.org>
7686
7687 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7688 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7689 (Bug#11282).
7690
2bd785a2
SM
76912012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * emacs-lisp/bytecomp.el
7694 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7695 since cconv.el might have introduced :fun-body, internal-make-closure,
7696 and friends for bytecomp to handle (bug#11391).
7697 * custom.el (defcustom): Avoid ((λ ..) ..).
7698
99d27583
SM
76992012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7702
55a71479
JB
77032012-05-02 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * notifications.el (dbus-debug):
7706 * term/linux.el (gpm-mouse-enable):
7707 * term/screen.el (xterm-register-default-colors): Declare.
7708
7b97c764
CY
77092012-05-02 Chong Yidong <cyd@gnu.org>
7710
2bc356d7
CY
7711 * cus-start.el (gc-cons-percentage, exec-suffixes)
7712 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7713 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7714 (make-cursor-line-fully-visible, void-text-area-pointer)
7715 (font-list-limit): Add customization data.
7716
7b97c764
CY
7717 * allout.el (allout-exposure-change-functions)
7718 (allout-structure-added-functions)
7719 (allout-structure-deleted-functions)
7720 (allout-structure-shifted-functions): Rename abnormal hooks from
7721 *-hook, and convert to defcustoms.
5d3385a0
JB
7722 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7723 Convert to defcustoms.
7b97c764
CY
7724 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7725
7726 * allout-widgets.el: Hook callers changed.
7727
90207a15 77282012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7729
7730 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7731 the yanked message in preference to the default value of
7732 buffer-file-coding-system.
7733
90207a15 77342012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7735
5d3385a0
JB
7736 * window.el (display-buffer--action-function-custom-type):
7737 Fix entry.
d9558cad 7738
90207a15 77392012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7740
7741 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7742
d80ac57b
GM
77432012-05-01 Glenn Morris <rgm@gnu.org>
7744
976f7668
GM
7745 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7746
beb83b5a
GM
7747 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7748
d80ac57b
GM
7749 * cus-edit.el (custom-variable-documentation): Simplify with format.
7750
b593d6a9 77512012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7752 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7753
7754 * simple.el (suggest-key-bindings, execute-extended-command):
7755 Move from keyboard.c.
7756
782fbf2a
CY
77572012-05-01 Chong Yidong <cyd@gnu.org>
7758
7759 * follow.el: Eliminate advice.
7760 (set-process-filter, process-filter, sit-for): Advice deleted.
7761 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7762 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7763 Vars deleted.
782fbf2a
CY
7764 (follow-auto): Use a :set function.
7765 (follow-mode): Rewritten. Don't advise process filters.
7766 (follow-switch-to-current-buffer-all, follow-scroll-up)
7767 (follow-scroll-down): Assume follow-mode is bound.
7768 (follow-comint-scroll-to-bottom)
7769 (follow-align-compilation-windows): New functions.
7770 (follow--window-sorter): New function.
7771 (follow-all-followers): Use it to explicitly sort windows by their
7772 positions; don't make assumptions about next-window order.
7773 (follow-windows-start-end, follow-delete-other-windows-and-split)
7774 (follow-calc-win-start): Doc fix.
7775 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7776 vertical-motion unnecessarily.
7777 (follow-adjust-window): New function.
7778 (follow-post-command-hook): Use it.
7779 (follow-call-set-process-filter, follow-call-process-filter)
7780 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7781 (follow-stop-intercept-process-output, follow-generic-filter):
7782 Functions deleted.
7783 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7784 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7785 New functions, replacing advice on scroll-bar-* commands.
87233a14 7786 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7787
7788 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7789 (comint-postoutput-scroll-to-bottom): Use it.
7790 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7791
290af740
GM
77922012-05-01 Glenn Morris <rgm@gnu.org>
7793
7794 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7795 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7796 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7797 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7798 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7799 Remove no-byte-compile setting.
7800
6eac8dc9
SM
78012012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7804 all-completions code to not return a number in the last cdr.
7805
9cc7819c
LL
78062012-04-30 Leo Liu <sdl.web@gmail.com>
7807
7808 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7809 read-only error.
7810
c93b886f
CY
78112012-04-29 Chong Yidong <cyd@gnu.org>
7812
7813 * follow.el (follow-calc-win-end): Rewrite to handle partial
7814 screen lines correctly (Bug#8390).
7815 (follow-avoid-tail-recenter): Minor cleanup.
7816
8b6c19f4
SM
78172012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 Avoid the obsolete `assoc' package.
7820 * speedbar.el (speedbar-refresh): Avoid adelete.
7821 (speedbar-file-lists): Simplify and avoid aput.
7822 * man.el (Man--sections, Man--refpages): New vars, replacing
7823 Man-sections-alist and Man-refpages-alist.
7824 (Man-build-section-alist, Man-build-references-alist):
7825 Use them; avoid aput.
7826 (Man--last-section, Man--last-refpage): New vars.
7827 (Man-follow-manual-reference): Use them.
7828 Use the `default' arg of completing-read.
7829 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7830
c5bb7569
CY
78312012-04-27 Chong Yidong <cyd@gnu.org>
7832
d1d2e2e8
CY
7833 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7834
15cd8efd
CY
7835 * startup.el (x-apply-session-resources): New function.
7836
7837 * term/ns-win.el (ns-initialize-window-system):
7838 * term/w32-win.el (w32-initialize-window-system):
7839 * term/x-win.el (x-initialize-window-system): Use it to properly
7840 set menu-bar-mode and other vars from X resources, even if the
7841 initial frame is not a window-system frame (Bug#2299).
7842
c5bb7569
CY
7843 * subr.el (read-key): Avoid running filter function when setting
7844 up temporary tool bar entries (Bug#9922).
7845
a8e7d6d7 78462012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7847
7848 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7849 (Bug#11344)
7850
a8e7d6d7 78512012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7852
7853 * select.el (xselect--encode-string): New function, split from
7854 xselect-convert-to-string.
7855 (xselect-convert-to-string): Use it.
7856 (xselect-convert-to-filename, xselect-convert-to-os)
7857 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7858 returned strings are properly encoded (Bug#11315).
7859
a8e7d6d7 78602012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7861
7862 * simple.el (delete-active-region): Move to killing custom group.
7863
a8e7d6d7 78642012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7865
7866 * progmodes/which-func.el (which-func-current): Quote %
7867 characters for mode-line processing.
7868
578c1d4b 78692012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7870
7871 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7872 reaching eob (Bug#11286).
7873
a8e7d6d7 78742012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7875
7876 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7877 (gdb): Make it buffer-local and init to zero.
7878 (gdb-control-commands-regexp): New variable.
7879 (gdb-send): Don't wrap in "-interpreter-exec console" if
7880 gdb-control-level is positive. Increment gdb-control-level
7881 whenever the command matches gdb-control-commands-regexp, and
7882 decrement it each time the command is "end". (Bug#11279)
7883
a8e7d6d7 78842012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7885
7886 * window.el (adjust-window-trailing-edge, enlarge-window)
7887 (shrink-window, window-resize):
7888 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7889 windows (Bug#11276).
7890
b3608390
CY
78912012-04-27 Chong Yidong <cyd@gnu.org>
7892
7893 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7894 fix "missing prefix" warning. All callers changed.
b3608390 7895
797e6e88
SM
78962012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/assoc.el: Move to obsolete/.
7899
e95a67dc
SM
79002012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7901
657c21e4 7902 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7903
7904 * term/ns-win.el (ns-define-service):
7905 * progmodes/pascal.el (pascal-goto-defun):
7906 * progmodes/js.el (js--read-tab):
7907 * progmodes/etags.el (tags-lazy-completion-table):
7908 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7909 * emacs-lisp/ewoc.el (ewoc--wrap):
7910 * emacs-lisp/assoc.el (aput, adelete, amake):
7911 * doc-view.el (doc-view-convert-current-doc):
7912 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7913
cb3e7ae0
CY
79142012-04-26 Chong Yidong <cyd@gnu.org>
7915
dce04f7f
CY
7916 * image.el (image-type-from-buffer): Only return supported image
7917 type (Bug#9045).
7918
cb3e7ae0
CY
7919 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7920 value, for symmetry with diff-end-of-hunk.
7921 (diff-split-hunk, diff-find-source-location)
7922 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7923 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7924 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7925 compute the relevant hunk or file properly (Bug#6005).
7926 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7927
0d42eb3e
SM
79282012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * vc/vc-mtn.el:
7931 * vc/vc-hg.el:
7932 * vc/vc-git.el:
7933 * vc/vc-dir.el:
7934 * vc/vc-cvs.el:
7935 * vc/vc-bzr.el:
7936 * vc/vc-arch.el:
7937 * vc/vc.el: Replace lexical-let by lexical-binding.
7938 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7939 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7940 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7941
f08ae1c9
CY
79422012-04-26 Chong Yidong <cyd@gnu.org>
7943
8b71081d
CY
7944 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7945 (diff-mode-shared-map): Bind it to / and [remap undo].
7946
f08ae1c9
CY
7947 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7948 (ediff-window-setup-function): Use it as the default, to set up
7949 windows based on whether the current frame is graphical (Bug#2138).
7950 (ediff-choose-window-setup-function-automatically): Make obsolete.
7951
7952 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7953
ef24141c
SM
79542012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7955
cc356a5d
SM
7956 * ffap.el: Remove old code for obsolete package.
7957 (ffap-complete-as-file-p): Remove.
7958
b4ff4f1f
SM
7959 Use completion-table-with-quoting for comint and pcomplete.
7960 * comint.el (comint--unquote&requote-argument)
7961 (comint--unquote-argument, comint--requote-argument): New functions.
7962 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7963 (comint-quote-filename): Use regexp-opt-charset.
7964 (comint--common-suffix, comint--common-quoted-suffix)
7965 (comint--table-subvert): Remove.
7966 (comint-unquote-function, comint-requote-function): New vars.
7967 (comint--complete-file-name-data): Use them with
7968 completion-table-with-quoting.
7969 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7970 * pcomplete.el (pcomplete-arg-quote-list)
7971 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7972 (pcomplete-unquote-argument-function): Default to non-nil.
7973 (pcomplete-unquote-argument): Simplify.
7974 (pcomplete--common-quoted-suffix): Remove.
7975 (pcomplete-requote-argument-function): New var.
7976 (pcomplete--common-suffix): New function.
7977 (pcomplete-completions-at-point): Use completion-table-with-quoting
7978 and completion-table-subvert.
7979
79c4eeb4
SM
7980 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7981 (minibuffer--double-dollars): Preserve properties.
7982 (completion--sifn-requote): New function.
7983 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7984
ef24141c
SM
7985 * minibuffer.el: Add support for completion of quoted/escaped data.
7986 (completion-table-with-quoting, completion-table-subvert): New funs.
7987 (completion--twq-try, completion--twq-all): New functions.
7988 (completion--nth-completion): New function.
7989 (completion-try-completion, completion-all-completions): Use it.
7990
784e7d6e
LL
79912012-04-25 Leo Liu <sdl.web@gmail.com>
7992
dd2ac746
SM
7993 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7994 Use compilation-message if available to find real filename.
784e7d6e 7995
07875ee7
CY
79962012-04-25 Chong Yidong <cyd@gnu.org>
7997
7998 * vc/diff-mode.el (diff-setup-whitespace): New function.
7999 (diff-mode): Use it.
8000
8001 * vc/diff.el (diff-sentinel):
8002 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8003 Whitespace mode variables based on diff style (Bug#8612).
8004
5055880d
LL
80052012-04-25 Leo Liu <sdl.web@gmail.com>
8006
daf75653
LL
8007 * progmodes/python.el (python-send-region): Add suffix .py to the
8008 temp file.
8009
5055880d
LL
8010 * files.el (auto-mode-alist): Use javascript-mode instead.
8011
db9b177b
AH
80122012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8013
ef24141c 8014 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8015
090bd7cb 8016 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8017 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8018 references, see Bug#9.
ef24141c 8019 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8020 when receiving a fault reply.
ef24141c 8021 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8022
090bd7cb 8023 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8024 (soap-inspect-simple-type): New function.
db9b177b 8025
090bd7cb 8026 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8027 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8028 (soap-decode-basic-type, soap-encode-basic-type):
8029 support unsignedInt and double basic types.
db9b177b 8030 (soap-resolve-references-for-simple-type)
ef24141c
SM
8031 (soap-parse-simple-type, soap-encode-simple-type): New function.
8032 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8033
090bd7cb 8034 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8035 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8036 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8037 the local name of "soapenc:Array".
8038 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8039 decoding integer, byte and anyURI xsd types.
8040
1fc6097b
CY
80412012-04-25 Chong Yidong <cyd@gnu.org>
8042
8043 * cus-edit.el (custom-buffer-create-internal): Update header text.
8044
afc6df87
EZ
80452012-04-25 Eli Zaretskii <eliz@gnu.org>
8046
8047 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8048 settings on 'system-type', not on 'window-system'. On MS-Windows,
8049 set interactive-mode on in GDB.
8050
dfbd787f
SM
80512012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8054 (ruby-syntax-propertize-regexp): Remove.
8055 (ruby-syntax-propertize-function): Split regexp into chunks.
8056 Match following code directly.
8057
85222d44
DG
80582012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8059
51a8ea2a
DG
8060 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8061 (ruby-syntax-propertize-regexp): New function.
8062 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8063 by a special keyword.
8064
85222d44
DG
8065 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8066 (ruby-syntax-general-delimiters-goto-beg)
8067 (ruby-syntax-propertize-general-delimiters): New functions.
8068 (ruby-syntax-propertize-function): Use them to handle GDL.
8069 (ruby-font-lock-keywords): Move old handling of GDL...
8070 (ruby-font-lock-syntactic-keywords): .. to here.
8071 (ruby-calculate-indent): Adjust indentation for GDL.
8072
b613912b
MA
80732012-04-24 Michael Albinus <michael.albinus@gmx.de>
8074
b5380639
MA
8075 * notifications.el (top): Remove unneeded declarations.
8076 (notifications-specification-version): Change to "1.2".
e43042fe 8077 (notifications-interface, notifications-notify-method)
b613912b
MA
8078 (notifications-close-notification-method): Fix docstring.
8079 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8080 (notifications-notify): Add :action-items, :resident and
8081 :transient hints. Change "image_data" to "image-data" and
8082 "image_path" to "image-path".
b613912b
MA
8083 (notifications-get-capabilities): New defun.
8084
257440aa
LL
80852012-04-24 Leo Liu <sdl.web@gmail.com>
8086
8087 * progmodes/python.el: Move hideshow setup to the end.
8088
b1bac16e
MR
80892012-04-24 Martin Rudalics <rudalics@gmx.at>
8090
8091 * window.el (handle-select-window): Clear echo area since this is
8092 no more done by read_char (Bug#11304).
8093
d81bd059
SM
80942012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8097 and `/ M' to filter-derived-mode.
8098 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8099 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8100 (ibuffer-mark-by-mode): Use default rather than initial-input.
8101 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8102
c4cf6d91
IA
81032012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8104
8105 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8106 (ibuffer-filter-by-derived-mode): New filter.
8107 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8108
7511ded8
CY
81092012-04-23 Andreas Politz <politza@fh-trier.de>
8110
8111 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8112
775c916b
CY
81132012-04-23 Chong Yidong <cyd@gnu.org>
8114
8115 * cus-edit.el (customize-apropos, customize-apropos-options):
8116 Disable matching of non-option variables (Bug#11176).
8117 (customize-option, customize-option-other-window)
8118 (customize-changed-options): Doc fix.
8119 (customize-apropos-options, customize-apropos-faces)
8120 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8121
8122 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8123 Fix word list splitting (Bug#11132).
46c71e23
CY
8124 (apropos-symbol, apropos-keybinding, apropos-label)
8125 (apropos-property, apropos-function-button)
8126 (apropos-variable-button, apropos-misc-button): New faces.
8127 (apropos-symbol-face, apropos-keybinding-face)
8128 (apropos-label-face, apropos-property-face, apropos-match-face):
8129 Variables removed (Bug#8396).
8130 (apropos-library-button, apropos-format-plist, apropos-print)
8131 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8132
2df41f9c
MA
81332012-04-23 Michael Albinus <michael.albinus@gmx.de>
8134
8135 * net/xesam.el (xesam-mode-map): Use let-bound map in
8136 initialization. (Bug#11292)
8137
da00640a
AM
81382012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8139
8140 Preserve ispell session localwords when switching back to
8141 original buffer.
8142
090bd7cb
JB
8143 * textmodes/ispell.el (ispell-buffer-session-localwords):
8144 New buffer-local variable to hold buffer session localwords.
ed9265fc 8145 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8146 localwords.
8147 (ispell-command-loop, ispell-change-dictionary)
8148 (ispell-buffer-local-words): Preserve session localwords when
8149 needed.
8150
090bd7cb
JB
8151 * textmodes/flyspell.el (flyspell-process-localwords)
8152 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8153
f621ccf5
AM
81542012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8155
090bd7cb
JB
8156 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8157 using obsolete `translation-table-for-input'.
ef24141c
SM
8158 (ispell-word, ispell-process-line, ispell-complete-word):
8159 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8160
c2d1019e
CY
81612012-04-22 Chong Yidong <cyd@gnu.org>
8162
8163 * cus-edit.el (custom-variable-menu)
8164 (custom-variable-reset-saved, custom-face-menu)
8165 (custom-face-reset-saved): If there is no saved value, make the
8166 "reset-saved" operation bring back the default (Bug#9509).
8167 (custom-face-state): Properly detect themed faces.
8168
eeddc531
CY
8169 * faces.el (face-spec-set): Stop supporting deprecated form of
8170 third arg.
8171
dcbf5805
MA
81722012-04-22 Michael Albinus <michael.albinus@gmx.de>
8173
8174 Move functions from C to Lisp. Make non-blocking method calls
8175 the default. Implement further D-Bus standard interfaces.
8176
ef24141c
SM
8177 * net/dbus.el (dbus-message-internal): Declare function.
8178 Remove unneeded function declarations.
dcbf5805
MA
8179 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8180 (dbus-message-type-method-return, dbus-message-type-error)
8181 (dbus-message-type-signal): Declare variables. Remove local
8182 definitions.
8183 (dbus-interface-dbus, dbus-interface-peer)
8184 (dbus-interface-introspectable, dbus-interface-properties)
8185 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8186 Adapt docstring.
8187 (dbus-interface-objectmanager): New defconst.
8188 (dbus-call-method, dbus-call-method-asynchronously)
8189 (dbus-send-signal, dbus-method-return-internal)
8190 (dbus-method-error-internal, dbus-register-service)
8191 (dbus-register-signal, dbus-register-method): New defuns, moved
8192 from dbusbind.c
8193 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8194 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8195 New defuns.
dcbf5805
MA
8196 (dbus-call-method-non-blocking): Make it an obsolete function.
8197 (dbus-unregister-object, dbus-unregister-service)
8198 (dbus-handle-event, dbus-register-property)
8199 (dbus-property-handler): Obey the new structure of
8200 `bus-registered-objects'.
8201 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8202 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8203 Use `dbus-call-method'.
8204
cf20dee0
CY
82052012-04-22 Chong Yidong <cyd@gnu.org>
8206
8207 * cus-edit.el (custom-commands, custom-reset-menu)
8208 (Custom-reset-standard): Tweak labels.
8209 (custom-reset-button-menu): Change default to t.
8210 (custom-buffer-create-internal): For the custom-reset-button-menu
8211 case, put the revert button first.
8212 (custom-group-subtitle): New face.
8213 (custom-group-value-create): Align docstring to a specific column.
8214
8215 * wid-edit.el (widget-documentation-link-add): Don't handle
8216 indentation in this function.
8217 (widget-documentation-string-indent-to): New function.
8218 (widget-documentation-string-value-create): Use it.
8219
8220 * autorevert.el (auto-revert):
8221 * epg-config.el (epg):
8222 * ibuffer.el (ibuffer):
8223 * mpc.el (mpc):
8224 * ses.el (ses):
8225 * eshell/eshell.el (eshell):
8226 * net/ange-ftp.el (ange-ftp):
8227 * progmodes/ebnf2ps.el (postscript):
8228 * progmodes/flymake.el (flymake):
8229 * progmodes/prolog.el (prolog):
8230 * progmodes/verilog-mode.el (verilog-mode):
8231 * progmodes/which-func.el (which-func):
8232 * term/xterm.el (xterm):
8233 * textmodes/picture.el (picture):
8234 * textmodes/tildify.el (tildify):
8235 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8236 customization buffers.
8237
583e23bd
AM
82382012-04-22 Alan Mackenzie <acm@muc.de>
8239
8240 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8241 Adding a ) can hide the resulting (..) from searches. Fix it.
8242 Bound the backward search to the position of the existing (.
8243
7dd51bf1
JB
82442012-04-21 Juanma Barranquero <lekktu@gmail.com>
8245
8246 * progmodes/verilog-mode.el (verilog-mode): Check whether
8247 which-func-modes is t before adding verilog-mode.
8248 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8249
d64a438f
LL
82502012-04-21 Leo Liu <sdl.web@gmail.com>
8251
7dd51bf1 8252 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8253
081e8d65
MV
82542012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8255
8256 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8257 filling of the last column of a table (Bug#5635).
8258 (woman-find-next-control-line): New arg, specifying an additional
8259 regexp component for the control line.
8260 (woman2-roff-buffer): Use it.
8261 (woman-break-table): New function.
8262 (woman2-TS): Use it.
8263
82642012-04-21 Chong Yidong <cyd@gnu.org>
8265
8266 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8267 (woman-horizontal-escapes, woman-negative-vertical-space)
8268 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8269 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8270
ed571ccb
SM
82712012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * minibuffer.el (completion-file-name-table): Complete user names.
8274
39773899
LL
82752012-04-20 Leo Liu <sdl.web@gmail.com>
8276
8277 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8278 and pcase-let*.
8279
de6ff46d
CY
82802012-04-20 Chong Yidong <cyd@gnu.org>
8281
8282 * server.el (server-execute): Respect initial-buffer-choice if it
8283 is a string and there are no files to open (Bug#2825).
8284 (server-create-window-system-frame, server-create-tty-frame):
8285 Don't switch buffers here.
2d0e8e61
CY
8286 (server-process-filter): Only try to open a window system frame if
8287 compiled with graphical support (Bug#8314).
de6ff46d 8288
54071013
DN
82892012-04-20 Dan Nicolaescu <dann@gnu.org>
8290
8291 * battery.el (battery-echo-area-format): Display remaining time
8292 for sysfs backend too (Bug#11269).
8293 (battery-linux-sysfs): Fix conditional for the charge.
8294
f30d612a
CY
82952012-04-20 Chong Yidong <cyd@gnu.org>
8296
c07a4c0b 8297 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8298 (gdb-inferior-io--init-proc): New function.
8299 (gdb-init-1): Use it.
8300 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8301 responsible for allocating a new pty and hooking it to gdb when
8302 the old pty gets an EIO due to process exit.
8303 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8304 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8305 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8306
2116e93c
EZ
83072012-04-20 Eli Zaretskii <eliz@gnu.org>
8308
8309 * window.el (window-min-size, window-sizable, window-min-delta)
8310 (window-max-delta, window--resizable, window-resizable)
8311 (window-total-size, window-full-height-p, window-full-width-p)
8312 (window-in-direction, window--resize-mini-window, window-resize)
8313 (window--resize-child-windows-normal)
8314 (window--resize-child-windows, window--resize-siblings)
8315 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8316 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8317
c07a4c0b 83182012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8319
ef24141c
SM
8320 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8321 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8322 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8323 pty process (Bug#11273).
8324 (gdb-update): New arg to suppress talking to the gdb process.
8325 (gdb-done-or-error): Use it.
8326 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8327 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8328 sentinel not being called.
8329
8330 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8331
d02766ab
CY
8332 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8333
c07a4c0b 83342012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8335
8336 * net/network-stream.el (open-network-stream): Doc fix.
8337
c07a4c0b 83382012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8339
8340 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8341
c07a4c0b 83422012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8343
8344 Ensure searching for keywords is case sensitive.
8345
8346 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8347 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8348 (c-defun-name, c-mark-function, c-cpp-define-name)
8349 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8350 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8351
ef24141c
SM
8352 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8353 Bind case-fold-search to nil.
f0f6bc35 8354
c07a4c0b 83552012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8356
8357 * mail/sendmail.el (mail-bury): Call return action with the right
8358 Rmail buffer (Bug#11242).
8359
9a864fa2
CY
8360 * server.el (server-process-filter): Handle corner case where both
8361 tty and nowait options are present (Bug#11102).
8362
539aa513
EZ
83632012-04-20 Eli Zaretskii <eliz@gnu.org>
8364
8365 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8366 (top level): Put into the executable the ident-style '$Id:' tag on
8367 windows-nt as well.
539aa513 8368
cfc7d5da
SM
83692012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8370
8371 * electric.el (electric-indent-post-self-insert-function): Check that
8372 electric-indent-mode is enabled in current buffer.
8373
5b01685c
JB
83742012-04-19 Juanma Barranquero <lekktu@gmail.com>
8375
8376 * imenu.el (imenu-progress-message): Restore; it is "used" in
8377 erc/erc-imenu.el and net/snmp-mode.el.
8378
4d6769e1
JB
83792012-04-19 Juanma Barranquero <lekktu@gmail.com>
8380
8381 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8382 (mouse-avoidance-nudge-mouse): Remove unused binding.
8383
8384 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8385
8386 * descr-text.el (describe-char):
8387 * progmodes/python.el (python-describe-symbol):
8388 Don't call `toggle-read-only', set `buffer-read-only'.
8389
8390 * imenu.el (imenu-default-goto-function): Mark unused args.
8391 (imenu-progress-message): Remove obsolete macro; all callers changed.
8392
8393 * subr.el (keymap-canonicalize): Remove unused binding.
8394 (read-passwd): Mark unused arg.
8395
8396 * tutorial.el (tutorial--display-changes): Remove unused binding.
8397 (tutorial--save-tutorial-to): Remove unused variable.
8398
8399 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8400 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8401 (package-generate-autoloads, package-menu--generate)
8402 (package-menu--find-upgrades): Remove unused bindings.
8403
8404 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8405 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8406 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8407 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8408 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8409 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8410 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8411 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8412 (cua-delete-char-rectangle): Mark unused args.
8413 (cua-align-rectangle): Remove unused binding.
8414
8415 * mail/rmail.el (compilation--message->loc)
8416 (epa--find-coding-system-for-mime-charset): Declare.
8417
8418 * net/dbus.el (dbus-register-service): Declare.
8419 (dbus-name-owner-changed-handler): Remove unused binding.
8420
8421 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8422 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8423 (nxml-scan-backward-within): Mark unused arg.
8424 (nxml-dynamic-markup-word): Remove unused binding.
8425
8426 * mouse.el (mouse-menu-major-mode-map):
8427 * emacs-lisp/authors.el (authors-scan-change-log)
8428 (authors-add-to-author-list):
8429 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8430 * emacs-lisp/smie.el (smie-auto-fill):
8431 * mail/sendmail.el (mail-bury):
8432 * mail/unrmail.el (unrmail):
8433 * net/tls.el (open-tls-stream):
8434 * textmodes/picture.el (picture-mouse-set-point):
8435 Remove unused bindings.
8436
8c8fc5df
MA
84372012-04-19 Michael Albinus <michael.albinus@gmx.de>
8438
8439 * net/tramp.el (tramp-action-password): Let-bind
8440 `enable-recursive-minibuffers' to t.
8441
a77b0ac9
SS
84422012-04-18 Sam Steingold <sds@gnu.org>
8443
8444 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8445 instead of 'string to accommodate values like [f11].
8446 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8447 * progmodes/gdb-mi.el: Likewise.
8448
12a106a9
LL
84492012-04-18 Leo Liu <sdl.web@gmail.com>
8450
8451 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8452 current buffer.
8453 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8454 LOCAL is nil.
8455
bc6494ef
CY
84562012-04-18 Chong Yidong <cyd@gnu.org>
8457
8458 * simple.el (line-move): Use forward-line if in batch mode
8459 (Bug#11053).
8460
c09c46b2
CS
84612012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8462
8463 * files.el (after-find-file): Do not try to add a final newline if
8464 the buffer is read-only (Bug#11156).
8465
5f6530ea
RS
84662012-04-17 Richard Stallman <rms@gnu.org>
8467
8468 * mail/rmail.el (rmail-start-mail):
8469 Pass (rmail-mail-return...) for the return-action.
8470 Pass (rmail-yank-current-message...) for the yank-action.
8471 (rmail-yank-current-message): New function.
8472 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8473 (rmail-reply): Likewise.
8474 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8475
8476 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8477 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8478 buffer, not newbuf.
8479
197b6f3c
JB
84802012-04-17 Juanma Barranquero <lekktu@gmail.com>
8481
8482 * server.el (server-ensure-safe-dir): Simplify.
8483
2311d8e5 84842012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8485
2311d8e5
GM
8486 * emacs-lisp/smie.el: Provide smarter auto-filling.
8487 (smie-auto-fill): New function.
8488 (smie-setup): Use it.
98fb480e 8489
2311d8e5
GM
8490 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8491
84922012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8493
8494 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8495 (comment-indent): Use it.
8496
2311d8e5 84972012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8498
8499 * ses.el: The overall change is to add cell renaming, that is
8500 setting fancy names for cell symbols other than name matching
8501 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8502 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8503 (ses-create-cell-variable): New defun.
2311d8e5 8504 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8505 (ses-relocate-formula): Relocate formulas only for cells the
8506 symbols of which are not renamed, i.e. symbols whose names do not
8507 match regexp "\\`[A-Z]+[0-9]+\\'".
8508 (ses-relocate-all): Relocate values only for cells the symbols of
8509 which are not renamed.
8510 (ses-load): Create cells variables as the (ses-cell ...) are read,
8511 in order to check row col consistency with cell symbol name only
8512 for cells that are not renamed.
8513 (ses-replace-name-in-formula): New defun.
8514 (ses-rename-cell): New defun.
4bdf2ad2 8515
fc72b15c
PO
85162012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8517
8518 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8519 New option (bug#11118).
8520 (perl-calculate-indent): Respect it.
8521
12e10e61
GM
85222012-04-17 Glenn Morris <rgm@gnu.org>
8523
8524 * dired-aux.el (dired-mark-read-string): Doc fix.
8525
30009afd
DA
85262012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8527
8528 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8529 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8530
41f03f4d
GM
85312012-04-17 Glenn Morris <rgm@gnu.org>
8532
8533 * mouse.el (mouse-drag-track):
8534 * speedbar.el (speedbar-frame-mode):
8535 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8536
f45f90f3
LL
85372012-04-16 Leo Liu <sdl.web@gmail.com>
8538
8539 * progmodes/python.el: Trivial cleanup.
8540
94ee8db5
GM
85412012-04-16 Glenn Morris <rgm@gnu.org>
8542
121b8917
GM
8543 * vc/vc.el (vc-string-prefix-p):
8544 * vc/pcvs-util.el (cvs-string-prefix-p):
8545 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8546 * mpc.el (mpc-string-prefix-p):
8547 Make all of these into obsolete aliases for string-prefix-p.
8548 Update callers.
8549 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8550
1197ecfa
GM
8551 * textmodes/two-column.el: Move custom options to the start.
8552 (frame-width): Remove compat definition.
8553 (2C-associate-buffer, 2C-dissociate):
8554 Use with-current-buffer rather than save-excursion.
8555 (2C-dissociate): Force a mode-line update.
8556 (2C-autoscroll): Use ignore-errors.
8557
099e7202
GM
8558 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8559 Autoload trivia.
8560
bf350d6a
GM
8561 * emacs-lisp/cl-extra.el (*random-state*):
8562 Remove unnecessary declaration.
8563
0e829eab
GM
8564 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8565
e3ad7552
GM
8566 * play/cookie1.el (cookie-snarf):
8567 Give an explicit error if input file cannot be read.
8568
68892d27
GM
8569 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8570
20f0c46d
GM
8571 * progmodes/perl-mode.el (c-macro-expand):
8572 Remove unnecessary autoload (it is in loaddefs.el).
8573
5a0978ce
GM
8574 * textmodes/picture.el (picture-desired-column)
8575 (picture-update-desired-column): Convert comments to doc-strings.
8576 (picture-substitute): Remove function.
8577 (picture-mode-map): Initialize in the defvar.
8578
6b955486
GM
8579 * woman.el: Remove eval-after-load for tar-mode.
8580 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8581 (woman-tar-extract-file): Autoload it.
8582
94ee8db5
GM
8583 * frame.el (automatic-hscrolling): Make this alias obsolete.
8584
177eca34
AM
85852012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8586
090bd7cb 8587 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8588 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8589 (ispell-dictionary-base-alist): Revert to original XEmacs
8590 friendly version for default. [:alpha:] will be added in
090bd7cb 8591 `ispell-set-spellchecker-params' if needed.
177eca34 8592
c505aaeb
CY
85932012-04-16 Chong Yidong <cyd@gnu.org>
8594
b19dd9d1 8595 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8596 (imagemagick-register-types): Use it.
8597 (imagemagick-types-inhibit): Add :set function. Allow new value
8598 of t to inhibit all types.
8599
8600 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8601 so we can preload it.
8602
8603 * loadup.el (fboundp): Preload regexp-opt, needed by
8604 imagemagick-register-types.
8605
60efac0f
CY
86062012-04-15 Chong Yidong <cyd@gnu.org>
8607
8608 * frame.el (scrolling): Remove nearly unused customization group.
8609
8610 * scroll-all.el (scroll-all-mode): Move to windows group.
8611
5dd1713e
CY
86122012-04-15 Chong Yidong <cyd@gnu.org>
8613
8614 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8615
e6fd457e
CY
86162012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8619 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8620
e153c136
GM
86212012-04-15 Glenn Morris <rgm@gnu.org>
8622
8623 * simple.el (process-file-side-effects): Doc fix.
8624
e6fd457e 86252012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8626
8627 * international/mule-cmds.el (set-language-environment): Doc fix.
8628
3603c3b1
JB
86292012-04-14 Juanma Barranquero <lekktu@gmail.com>
8630
8631 * server.el (server-auth-key, server-generate-key): Doc fixes.
8632 (server-get-auth-key): Doc fix. Use `string-match-p'.
8633 (server-start): Reflow docstring.
8634
e6de100c
LI
86352012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8636
8637 * server.el (server-generate-key): `called-interactively-p'
8638 requires a parameter.
8639
29734c21
MN
86402012-04-14 Michal Nazarewicz <mina86@mina86.com>
8641
8642 * server.el (server-auth-key): New variable.
75f1671a 8643 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8644 (server-start): Use the new variable and functions to allow
8645 setting a permanent server key (bug#9423).
8646
d65c9521
LL
86472012-04-14 Leo Liu <sdl.web@gmail.com>
8648
8649 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8650
5ae255c7
PE
86512012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8652
8653 Spelling fixes.
8654 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8655 Emacs uses American spelling.
8656
d5e6342e
JB
86572012-04-14 Juanma Barranquero <lekktu@gmail.com>
8658
8659 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8660 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8661 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8662 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8663
ab036cd7
SM
86642012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * progmodes/which-func.el (which-func-modes): Change default.
8667
35dc09a1 86682012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8669
8670 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8671 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8672
35dc09a1 86732012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8674
8675 * custom.el (custom-theme-set-variables): Doc fix.
8676
35dc09a1 86772012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8678
8679 * international/mule.el (set-auto-coding-for-load): Doc fix.
8680
35dc09a1 86812012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8682
35dc09a1
GM
8683 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8684 imenu work again for Objective C Mode. Correct the *-index values,
8685 these having been disturbed by a previous change in 2011-08.
57f845ee 8686
0de3da9f
AM
8687 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8688 Correct two search limits.
8689
35dc09a1 86902012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8691
8692 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8693
35dc09a1 86942012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8695
8696 * international/characters.el: Fix sorting.
8697
35dc09a1 86982012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8699
8700 * international/characters.el: Add more missing Latin case pairs.
8701
35dc09a1 87022012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8703
8704 * files.el (dir-locals-set-class-variables): Doc fix.
8705
35dc09a1 87062012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8707
3f1b5bf8
EZ
8708 * international/characters.el: Add set-case-syntax-pair call for
8709 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8710 counterpart. (Bug#11209)
8711
9f847f41
EZ
8712 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8713
35dc09a1 87142012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8715
8716 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8717
35dc09a1 87182012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8719
35dc09a1
GM
8720 * textmodes/ispell.el (ispell-dictionary-base-alist):
8721 Add data for Hebrew.
e2627d21 8722
35dc09a1 87232012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8724
35dc09a1
GM
8725 * net/rcirc.el (rcirc-cmd-quit):
8726 Revert 2012-03-18 change (Bug#11192).
5c14e333 8727
35dc09a1 87282012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8729
8730 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8731
35dc09a1 87322012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8733
4517fe3a
SM
8734 * minibuffer.el (completion-in-region-mode-map):
8735 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8736
b472a594
VD
87372012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8738
8739 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8740
09b95ce3
MY
87412012-04-13 Masatake YAMATO <yamato@redhat.com>
8742
8743 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8744 to allow `C-M-f' and `C-M-b' to move to the nearest path
8745 separator (bug#9511).
8746
4b63a9ca
LI
87472012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8748
8749 * avoid.el: Require cl when compiling. And also move the
8750 `provide' to the end.
8751
7b55b8bf
TV
87522012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8753
8754 * avoid.el (mouse-avoidance-banish-position): New variable.
8755 (mouse-avoidance-banish-destination): Use it (bug#10165).
8756
adedaa1f
LL
87572012-04-13 Leo Liu <sdl.web@gmail.com>
8758
8759 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8760
70e74021
KB
87612012-04-13 Ken Brown <kbrown@cornell.edu>
8762
8763 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8764 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8765 (browse-url-filename-alist): For the same reason, don't modify
8766 file:// URLs on Cygwin.
8767
e75e89ba
SM
87682012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8771 the region on shift if the binding is already shifted (bug#11221).
8772
82f289a4
GM
87732012-04-12 Glenn Morris <rgm@gnu.org>
8774
8775 * mail/mailpost.el: Move to obsolete/.
8776
d333dc4c
DA
87772012-04-12 Drew Adams <drew.adams@oracle.com>
8778
8779 * imenu.el (imenu--generic-function): Ignore invisible definitions
8780 (bug#10123).
8781
0d15b5ba
VD
87822012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8783
8784 * hexl.el (hexl-bits): New variable.
8785 (hexl-options): Mention the variable in the doc string.
75f1671a 8786 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8787 (hexl-mode): Mention the new variable.
75f1671a
JB
8788 (hexl-mode, hexl-current-address, hexl-current-address):
8789 Use the displen.
0d15b5ba
VD
8790 (hexl-ascii-start-column): New function.
8791 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8792 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8793
64a440db
AM
87942012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8795
8796 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8797 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8798 the encoding, as expected by hunspell.
8799
6decb6c2
SM
88002012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * battery.el (battery--linux-sysfs-regexp): New const.
8803 (battery-status-function): Use it. Remove yeeloong special case.
8804 (battery-yeeloong-sysfs): Remove.
8805 (battery-echo-area-format): Remove yeeloong special case.
8806
088be6fb
SM
88072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8808
6622e416
SM
8809 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8810 Reported by Noah Friedman.
8811
088be6fb
SM
8812 * subr.el (read-passwd): Use read-string.
8813
b49f886e
LMI
88142012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8815
8816 * vcursor.el (vcursor-move): Increase the priority of the overlay
8817 (bug#9663).
8818
a63067fc
DD
88192012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8820
8821 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8822 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8823
ac3cf14a
WS
88242012-04-11 William Stevenson <yhvh2000@gmail.com>
8825
8826 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8827 define-minor-mode (bug#10760).
8828
c4fc691b 88292012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8830
4d6769e1 8831 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8832 that directories matching `grep-find-ignored-files' won't be
8833 pruned (bug#10351).
8834
af23e2e5
CY
88352012-04-11 Chong Yidong <cyd@gnu.org>
8836
8837 * startup.el (command-line): Remove support for long-obsolete
8838 variable font-lock-face-attributes.
8839
ab7ce8c1
GM
88402012-04-11 Glenn Morris <rgm@gnu.org>
8841
8842 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8843
de8c03dc
SM
88442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * window.el (window--state-get-1): Obey window-point-insertion-type.
8847
050cc68b
LB
88482012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8849
8850 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8851 to previous function when point is on the first character of a
75f1671a 8852 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8853
a38c310c
GM
88542012-04-11 Glenn Morris <rgm@gnu.org>
8855
effed0c2
GM
8856 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8857 not just file-errors.
8858
a38c310c
GM
8859 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8860 (vc-bzr-sha1): Use internal sha1.
8861
0221e323
SM
88622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8865
43956923
SG
88662012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8867
8868 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8869 that start in the middle of the line (bug#10496).
8870
6a8c9eaf
DN
88712012-04-10 Dan Nicolaescu <dann@gnu.org>
8872
8873 * battery.el (battery-linux-proc-acpi): Only one battery is
8874 discharged at a time, but that seems to confuse battery.el when
8875 computing `rate-type' for the battery not being discharged
8876 (bug#10332).
8877
1930bf5d
SM
88782012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8879
2a718f6f
SM
8880 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8881
599430d0
SM
8882 * international/quail.el: Use dolist and simplify.
8883 (quail-define-package, quail-update-keyboard-layout)
8884 (quail-define-rules): Use dolist.
8885 (quail-insert-kbd-layout, quail-get-translation): CSE.
8886
a2754b6c
SM
8887 * tmm.el: Use dolist, remove left over hook.
8888 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8889 Use dolist.
8890 (calendar-load-hook): Don't mess with it.
8891
1930bf5d
SM
8892 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8893 Use derived-mode-p. Run the diff asynchronously.
8894
9f67961c
LMI
88952012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8896
8897 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8898
2a8ce227
JB
88992012-04-10 Juanma Barranquero <lekktu@gmail.com>
8900
8901 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8902 (list-dynamic-libraries--loaded): New function.
8903 (list-dynamic-libraries--refresh): Use it.
8904
8f33b5f8
NW
89052012-04-10 Nathan Weizenbaum <nweiz@google.com>
8906
1930bf5d
SM
8907 * progmodes/python.el (python-fill-paragraph):
8908 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8909 disabled (bug#7018).
8910
b12f0439
L
89112012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8912
1930bf5d 8913 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8914 DOS/MS Windows for the Baltic languages. There are still plenty
8915 of texts written in this encoding/codepage (bug#6519).
b12f0439 8916
57c3bd01
GM
89172012-04-10 Glenn Morris <rgm@gnu.org>
8918
8919 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8920 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8921
6c3eab30
FA
89222012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8923
1930bf5d 8924 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8925 next-line "n" and previous-line "p" in order to make recentf more
8926 consistent with ibuffer, dired or org-mode (bug#9387).
8927
24d78a88
LMI
89282012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8929
bc72b5d9
LMI
8930 * image.el (put-image): Return the overlay created instead of the
8931 optional input string (bug#7834). Note that this may break code
8932 that is (for some reason or other) depending on `put-image'
8933 returning the string.
8934
bd2dba5a
LMI
8935 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8936
74beb59f
LMI
8937 * simple.el (zap-to-char): Allow zapping using input methods
8938 (bug#1580).
8939
24d78a88
LMI
8940 * textmodes/fill.el (fill-region): Leave point and mark where they
8941 were before filling (bug#5399).
8942
263f20cd
GM
89432012-04-09 Glenn Morris <rgm@gnu.org>
8944
8945 * version.el (emacs-bzr-get-version):
8946 Handle lightweight checkouts of local branches.
8947
58d1f797
AS
89482012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8949
263f20cd 8950 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8951
b4d3bc10
CY
89522012-04-09 Chong Yidong <cyd@gnu.org>
8953
8954 * custom.el (custom-variable-p): Return nil for non-symbol
8955 arguments instead of signaling an error.
8956 (user-variable-p): Obsolete alias for custom-variable-p.
8957
8958 * apropos.el (apropos-variable):
8959 * files-x.el (read-file-local-variable):
8960 * simple.el (set-variable):
8961 * woman.el (woman-mini-help):
8962 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8963
fd06db5d
GM
89642012-04-09 Glenn Morris <rgm@gnu.org>
8965
e5fcdb5e
GM
8966 * startup.el (normal-top-level): Don't look for leim-list.el
8967 in places where it will not be found. (Bug#910)
8968
fd06db5d
GM
8969 * international/mule-cmds.el (set-default-coding-systems):
8970 * files.el (normal-mode):
8971 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8972 This function was removed with ucs-tables.el in 2008.
8973
b39bb7e1
EZ
89742012-04-08 Eli Zaretskii <eliz@gnu.org>
8975
8976 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8977 ispell-encoding8-command to "-i", without a trailing space.
8978 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8979 separate command-line arguments, to specify the encoding, since
8980 that's how hunspell expects it.
8981
5c5b8e23
GM
89822012-04-08 Glenn Morris <rgm@gnu.org>
8983
8984 * loadup.el: Load bindings before cus-start.
8985 This reduces somewhat the number of "rogue" settings in emacs -Q.
8986
a1ed8b05
GM
89872012-04-07 Glenn Morris <rgm@gnu.org>
8988
8989 * version.el (emacs-bzr-get-version): New function.
dfae128a 8990 (emacs-bzr-version): New variable.
a1ed8b05
GM
8991 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8992 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8993
b142f158
EZ
89942012-04-07 Eli Zaretskii <eliz@gnu.org>
8995
dfae128a
GM
8996 * international/uni-bidi.el, international/uni-category.el:
8997 * international/uni-combining.el, international/uni-decimal.el:
8998 * international/uni-decomposition.el, international/uni-digit.el:
8999 * international/uni-lowercase.el, international/uni-mirrored.el:
9000 * international/uni-name.el, international/uni-numeric.el:
9001 * international/uni-titlecase.el, international/uni-uppercase.el:
9002 Update for Unicode 6.1.
b142f158 9003
9078ead6
EZ
90042012-04-07 Eli Zaretskii <eliz@gnu.org>
9005
9006 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9007
f23d2c7d
LMI
90082012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9009
9010 * window.el (shrink-window): Mention the `window-min-height'
9011 variable in the doc string.
9012
0a0a3573
BG
90132012-04-05 Bastien Guerry <bzg@altern.org>
9014
9015 * color.el (color-lighten-name): Fix typo.
9016
e5248ac9
SM
90172012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * server.el (server--on-display-p): New function.
9020 (server--on-display-p): Use it.
9021
b4243e22
GV
90222012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9023
9024 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9025 (bug#11145).
9026
305d9f44
SM
90272012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * comint.el (comint--common-quoted-suffix): Check string boundary
9030 before comparing (bug#11158).
9031 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9032
3d439cd1
CY
90332012-04-04 Chong Yidong <cyd@gnu.org>
9034
321cc491
CY
9035 * minibuffer.el (completion-extra-properties): Doc fix.
9036
3d439cd1
CY
9037 * subr.el (delayed-warnings-hook): Doc fix.
9038
2d562c0f
DU
90392012-04-04 Daiki Ueno <ueno@unixuser.org>
9040
9041 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9042 selection (Bug#11159).
9043 (epa-insert-keys): Inform that the default public key will be
9044 exported if no key is selected.
9045
4443f204
RS
90462012-04-04 Richard Stallman <rms@gnu.org>
9047
9048 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9049
529c06b6
CY
90502012-04-03 Chong Yidong <cyd@gnu.org>
9051
9052 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9053 mail-insert-file, not its obsolete alias mail-attach-file.
9054
66b907dc
MA
90552012-04-03 Michael Albinus <michael.albinus@gmx.de>
9056
9057 * notifications.el (notifications-notify): Fix docstring.
9058
c0ea195d
GM
90592012-04-02 Glenn Morris <rgm@gnu.org>
9060
9061 * emacs-lisp/authors.el (authors-aliases): Another addition.
9062
5ca64e00
MA
90632012-04-02 Michael Albinus <michael.albinus@gmx.de>
9064
9065 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9066 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9067 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9068
42ee526b
CY
90692012-04-01 Chong Yidong <cyd@gnu.org>
9070
9071 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9072 Handle root directory properly.
9073 (copy-directory): Caller changed.
9074
9075 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9076 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9077
0b021094
GM
90782012-03-31 Glenn Morris <rgm@gnu.org>
9079
40f86458
GM
9080 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9081
7019c177
GM
9082 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9083
a1daddd6
GM
9084 * calendar/calendar.el (calendar-window-list)
9085 (calendar-hide-window): Restore. (Bug#11140)
9086 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9087
0b021094
GM
9088 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9089
40311efc
TV
90902012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9091
9092 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9093 Check if file is a symlink (Bug#10489).
9094
9095 * files.el (copy-directory): Likewise.
9096
5319014e
CY
90972012-03-30 Chong Yidong <cyd@gnu.org>
9098
9099 * image.el (imagemagick-types-inhibit)
9100 (imagemagick-register-types): Doc fix.
9101
935d1290
AM
91022012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9103
090bd7cb 9104 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9105 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9106 and treats ~word as ordinary words in pipe mode.
935d1290 9107
61c6e8fd
GM
91082012-03-30 Glenn Morris <rgm@gnu.org>
9109
9110 * tutorial.el (help-with-tutorial): Ensure local variables don't
9111 happen to make the buffer read-only. (Bug#11127)
9112
81fdff00
SM
91132012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9116 (perl-calculate-indent): Return `noindent' in strings.
9117
6e7a6ec0
SS
91182012-03-28 Sam Steingold <sds@gnu.org>
9119
9120 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9121 instead of the broken adhockery which does not prevent calendar
9122 buffers from being displayed at random after exit.
9123 (calendar-window-list, calendar-hide-window): Remove the broken
9124 adhockery.
9125
fee88ca0
GM
91262012-03-28 Glenn Morris <rgm@gnu.org>
9127
9128 * replace.el (query-replace-map): Doc fix.
9129
38de3354
AS
91302012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9131
9132 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9133 contents. (Bug#11109)
9134
b973155e
SM
91352012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9138 (bug#11077).
9139 (avl-tree--check, avl-tree--check-node): New funs.
9140
dcb6e7b3
MR
91412012-03-27 Martin Rudalics <rudalics@gmx.at>
9142
9143 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9144 (switch-to-prev-buffer, switch-to-next-buffer):
9145 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9146 showing a buffer already is done on the same frame.
9147
b4fa35fa
GM
91482012-03-27 Glenn Morris <rgm@gnu.org>
9149
9150 * startup.el (mail-host-address): Doc fix.
9151
f9210e18
SM
91522012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9155 than 197 variables.
9156
c0bf7753
AF
91572012-03-26 Ami Fischman <ami@fischman.org>
9158
9159 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9160
33da7b16
GM
91612012-03-26 Glenn Morris <rgm@gnu.org>
9162
02243d9d
GM
9163 * files.el (save-buffers-kill-emacs): Doc fix.
9164
33da7b16
GM
9165 * startup.el (normal-top-level, command-line, command-line-1):
9166 Give them doc strings.
9167
e5a69fd0
EZ
91682012-03-25 Eli Zaretskii <eliz@gnu.org>
9169
9170 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9171 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9172
9a69676a
CY
91732012-03-25 Chong Yidong <cyd@gnu.org>
9174
4125cb8b
CY
9175 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9176 theme if it was previously enabled before (Bug#11031).
9177
dd470960
CY
9178 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9179 spec with custom-face-get-current-spec if its :shown-value is not
9180 determined yet (Bug#9337).
4125cb8b 9181 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9182
9a69676a
CY
9183 * button.el (button-at): Minor addition to docstring.
9184
6e7e90fa
SL
91852012-03-24 Simon Leinen <simon.leinen@gmail.com>
9186
9187 * vc/vc.el (vc-merge): Fix a prompt.
9188
f06e2758
CY
91892012-03-24 Chong Yidong <cyd@gnu.org>
9190
9191 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9192 point (Bug#9623).
9193
6e7e90fa
SL
9194 * button.el (button-at): Minor addition to docstring.
9195
b9d0879b
SM
91962012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * newcomment.el (comment-choose-indent): No space after BOL.
9199
e71cebb3
SS
92002012-03-22 Sam Steingold <sds@gnu.org>
9201
9202 * window.el (switch-to-prev-buffer): Revert last patch because the
9203 bug turned out to be an advertised feature (Elisp manual 28.14).
9204
335aff35
GM
92052012-03-22 Glenn Morris <rgm@gnu.org>
9206
9207 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9208 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9209
c676576a
LMI
92102012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9211
9212 * net/network-stream.el (network-stream-open-starttls): Make error
9213 message under Windows be less misleading.
9214
126f3d39
LW
92152012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9216
9217 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9218 understands (bug#9942).
9219
64fee311
CY
92202012-03-22 Chong Yidong <cyd@gnu.org>
9221
9222 * simple.el (end-of-visible-line): Handle return value of
9223 next-single-property-change properly (Bug#9371).
9224
a640d29a
KH
92252012-03-22 Kenichi Handa <handa@m17n.org>
9226
9227 * international/quail.el (quail-insert-kbd-layout): Fix previous
9228 change. To avoid unwanted bidi reordering, use
9229 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9230
39675016
DG
92312012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9232
9233 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9234 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9235 (ruby-beginning-of-indent): Be more careful with the difference
9236 between word-boundary and symbol boundary.
9237 (ruby-mode-syntax-table): Make : a symbol constituent.
9238
0a6934fc 92392012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9240
3d008e4f
SM
9241 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9242
0a6934fc
SM
92432012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9244
af67c9d7
SM
9245 * progmodes/etags.el (tags-completion-at-point-function):
9246 Improve last fix.
9247
1acad97c
SM
9248 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9249
e298b5da
SS
92502012-03-21 Sam Steingold <sds@gnu.org>
9251
9252 * progmodes/etags.el (tags-completion-at-point-function):
9253 Avoid the error when point is inside the pattern.
9254
91d82a70
JY
92552012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9256
9257 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9258 line (Bug#10855).
9259
69188b79
CY
92602012-03-21 Drew Adams <drew.adams@oracle.com>
9261
9262 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9263
99fc91fe
AK
92642012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9265
9266 * ido.el (ido-set-current-directory, ido-read-internal)
9267 (ido-choose-completion-string, ido-completion-help): Handle nil
9268 value of ido-completion-buffer (Bug#11008).
9269
087bbb4c
SS
92702012-03-21 Sam Steingold <sds@gnu.org>
9271
9272 * window.el (switch-to-prev-buffer): Do not switch to a visible
9273 window previous buffer, just like with the frame previous buffers.
9274
fb5b8aca
CY
92752012-03-21 Chong Yidong <cyd@gnu.org>
9276
9277 * faces.el (make-face, make-empty-face, copy-face):
9278 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9279 Doc fixes.
9280
dc9924b8
SM
92812012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9284 (widget-complete): Remove broken use of it.
9285
f0bcceb9
CY
92862012-03-20 Chong Yidong <cyd@gnu.org>
9287
dc9924b8
SM
9288 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9289 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9290 characters.
9291
ee52ebf3
TH
92922012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9293
9294 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9295 to draw rectangles, not squares. (Regression introduced by revno
9296 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9297
4c5779ab
CY
92982012-03-18 Chong Yidong <cyd@gnu.org>
9299
9300 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9301 it is not yet defined (for temacs).
9302
15360934
LL
93032012-03-18 Leo Liu <sdl.web@gmail.com>
9304
735135f9
PE
9305 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9306 prefix.
15360934 9307
d9a8eb66
EZ
93082012-03-17 Eli Zaretskii <eliz@gnu.org>
9309
9310 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9311 (ispell-choices-win-default-height, ispell-silently-savep)
9312 (ispell-dictionary-alist, ispell-encoding8-command)
9313 (ispell-check-version, ispell-aspell-find-dictionary)
9314 (ispell-valid-dictionary-list, ispell-words-keyword)
9315 (ispell-get-word, ispell-internal-change-dictionary)
9316 (ispell-region, ispell-skip-region-list)
9317 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9318 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9319 (ispell-message-text-end, ispell-message)
9320 (ispell-buffer-local-parsing): Doc fix.
9321
f02ff80d
J
93222012-03-13 Jambunathan K <kjambunathan@gmail.com>
9323
9324 * htmlfontify.el: Add support for code block fontification for ODT
9325 export (Bug #9914).
9326 (hfy-optimisations): Define new option
9327 `body-text-only'
9328 (hfy-fontify-buffer): Honor above setting.
9329 (hfy-begin-span, hfy-end-span): New routines factored out form
9330 `hfy-fontify-buffer'.
9331 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9332 that permit insertion of custom tags.
9333 (hfy-fontify-buffer): Use above handlers.
9334 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9335 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9336 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9337 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9338 bind a special variable `hfy-user-sheet-assoc'.
9339 (htmlfontify-string): New defun.
9340 (hfy-compile-face-map): Make sure that the last char in the
9341 buffer is correctly fontified.
9342 (hfy-face-resolve-face): Whitespace only change.
9343
9ac7a13f
EZ
93442012-03-17 Eli Zaretskii <eliz@gnu.org>
9345
9346 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9347 message more clear.
9348
e2b5bdd7
LL
93492012-03-16 Leo Liu <sdl.web@gmail.com>
9350
9351 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9352
2e492df3
AM
93532012-03-16 Alan Mackenzie <acm@muc.de>
9354
9355 Further optimise the handling of large macros.
9356
9357 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9358 limit to a call of `c-literal-limits'.
9359 (c-determine-+ve-limit): New function.
dc9924b8
SM
9360 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9361 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9362 In CASE 5B, restrict a search limit to 500.
9363 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9364
9365 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9366 Restrict macro bounds to +-500 from after-change's BEG END.
9367
50e94f0c
LL
93682012-03-16 Leo Liu <sdl.web@gmail.com>
9369
9370 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9371
6f09f6ed
AH
93722012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9373
9374 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9375 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9376
c7e73d51
GM
93772012-03-16 Glenn Morris <rgm@gnu.org>
9378
da986230
GM
9379 * view.el (view-buffer, view-buffer-other-window)
9380 (view-buffer-other-frame): Doc fixes re special mode-class.
9381
0835f01e
GM
9382 * subr.el (eval-after-load): If named feature is provided not from
9383 a file, run after-load forms. (Bug#10946)
9384
c7e73d51
GM
9385 * calendar/calendar.el (calendar-insert-at-column):
9386 Handle non-unit-width characters a bit better. (Bug#10978)
9387
3f2eafd1
CY
93882012-03-15 Chong Yidong <cyd@gnu.org>
9389
9390 * emacs-lisp/ring.el (ring-extend): New function.
9391 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9392
9393 * comint.el (comint-read-input-ring)
9394 (comint-add-to-input-history): Grow comint-input-ring lazily.
9395
103af3fe
SM
93962012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9397
663b1677
SM
9398 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9399 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9400
103af3fe
SM
9401 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9402 (imenu-add-to-menubar): Don't add a redundant index.
9403 (imenu-update-menubar): Handle a dynamically composed keymap.
9404
899cb7cb
KY
94052012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9406
9407 * mail/sendmail.el (mail-encode-header):
9408 Bind rfc2047-encode-encoded-words to nil.
9409
3809f91d
GM
94102012-03-13 Glenn Morris <rgm@gnu.org>
9411
9412 * calendar/calendar.el (calendar-string-spread):
9413 Handle non-unit-width characters a bit better. (Bug#10978)
9414
9e345a01
LL
94152012-03-13 Leo Liu <sdl.web@gmail.com>
9416
9417 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9418 directory and file as argument (Bug#10822).
9419
4a07df36
KS
94202012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9421
9422 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9423 For dynamically generated code, follow $PC.
9424 (gdb-disassembly-handler-custom): Handle no function name case.
9425
4aaa9356
TL
94262012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9427
9428 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9429 * emulation/ws-mode.el (ws-query-replace):
9430 * sort.el (sort-regexp-fields):
9431 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9432
225979da
SM
94332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * dabbrev.el: Fix cycle completion order (bug#10963).
9436 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9437 (dabbrev-completion): Don't use an obarray; provide
9438 a cycle-sort-function.
9439
e2f1fdab
LL
94402012-03-12 Leo Liu <sdl.web@gmail.com>
9441
dc9924b8 9442 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9443 (kill-do-not-save-duplicates): Doc fix.
9444
b19490ed
SM
94452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9446
9447 * dabbrev.el: Fix cycle completion (bug#10963).
9448 Use lexical binding and wrap to 80 columns.
9449 (dabbrev-completion): Delay computing the list of completions.
9450
4b05d722
KH
94512012-03-12 Kenichi Handa <handa@m17n.org>
9452
9453 * international/quail.el (quail-insert-kbd-layout): Surround each
9454 row by LRO and PDF instead of inserting many LRMs. Pad the left
9455 and right of each non-spacing marks. Insert invisible space
9456 between lower and upper characters to prevent composition.
9457
dbbc2e69
SM
94582012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * minibuffer.el (minibuffer-complete): Don't get confused when the
9461 function is run twice via different commands (bug#10958).
9462 (complete-with-action): Fix docstring.
9463
292112ed
CY
94642012-03-12 Chong Yidong <cyd@gnu.org>
9465
5d1ac394
CY
9466 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9467 (nxml-completion-at-point-function): New function.
9468 (nxml-mode): Use it.
9469 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9470
292112ed
CY
9471 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9472 Load generated autoloads file before byte compiling (Bug#10970).
9473 (package--make-autoloads-and-compile): New helper fun.
9474
4098f8f7
CS
94752012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9476
9477 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9478
8f754691
MA
94792012-03-11 Michael Albinus <michael.albinus@gmx.de>
9480
9481 * autorevert.el (auto-revert-handler): Ensure, that
9482 file-readable-p is applied only for local files or in
9483 auto-revert-tail-mode.
9484
e29ab36b
AS
94852012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9486
dbbc2e69
SM
9487 * server.el (server-eval-at): Handle non-tcp connections.
9488 Decode result string.
ad0bf5b6 9489
e29ab36b
AS
9490 * server.el (server-msg-size): New constant.
9491 (server-reply-print): New function.
9492 (server-eval-and-print): Use it.
9493 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9494 Handle -print-nonl.
9495
de5939ba
CS
94962012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9497
9498 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9499 (Bug#10987).
9500
0c93eabf
CY
95012012-03-11 Chong Yidong <cyd@gnu.org>
9502
397a688f
CY
9503 * simple.el (goto-line): Doc fix (Bug#9938).
9504
2cc775f9
CY
9505 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9506
0c93eabf
CY
9507 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9508 when finished (Bug#10963).
9509
c491fa41
MR
95102012-03-11 Martin Rudalics <rudalics@gmx.at>
9511
9512 * window.el (split-window-below): Fix bug in case where
9513 split-window-keep-point is nil (Bug#10971).
9514
300e8fa5
JL
95152012-03-11 Juri Linkov <juri@jurta.org>
9516
9517 * replace.el (replace-highlight): Set isearch-word to nil
9518 unconditionally. (Bug#10887)
9519
dbf6c5a1
EZ
95202012-03-10 Eli Zaretskii <eliz@gnu.org>
9521
9522 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9523 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9524 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9525 (mairix-widget-create-query): Add usage information about mairix
9526 search forms: negating words, searching for substrings, etc.
9527
b9e501de
JP
95282012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9529
9530 * international/fontset.el (font-encoding-alist): Add an entry for
9531 ksx1001 (Bug#5667).
9532
92795c91
RS
95332012-03-10 Richard Stallman <rms@gnu.org>
9534
1694e6c1
RS
9535 * mail/sendmail.el (mail-encode-header):
9536 Set rfc2047-encode-encoded-words.
9537
607e8555
RS
9538 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9539
de3bc99a
RS
9540 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9541 view buffer means not swapped.
9542 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9543 (rmail-write-region-annotate): Error if real text has disappeared.
9544
92795c91
RS
9545 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9546
699bd04e
CY
95472012-03-10 Chong Yidong <cyd@gnu.org>
9548
9549 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9550 * emulation/cua-base.el (cua--init-keymaps):
9551 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9552
570a1714
MR
95532012-03-10 Martin Rudalics <rudalics@gmx.at>
9554
dbbc2e69
SM
9555 * speedbar.el (speedbar-unhighlight-one-tag-line):
9556 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9557
82dcf4e4
CY
95582012-03-10 Chong Yidong <cyd@gnu.org>
9559
7a2c7ca7
CY
9560 * minibuffer.el (completion-in-region, completion-help-at-point):
9561 Give the completion field overlay a high priority (Bug#6830).
9562
82dcf4e4
CY
9563 * dired.el (dired-goto-file): Recognize absolute file name
9564 listings (Bug#7126).
9565 (dired-goto-file-1): New helper function.
9566 (dired-toggle-read-only): Inhibit warnings.
9567
052e28ac
MA
95682012-03-09 Michael Albinus <michael.albinus@gmx.de>
9569
75f1671a 9570 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9571 there are no properties.
9572
95d5e396
LL
95732012-03-09 Leo Liu <sdl.web@gmail.com>
9574
9575 * savehist.el (savehist-printable): Stricter check for string
9576 value (Bug#10937).
9577
3f018d6d
EZ
95782012-03-09 Eli Zaretskii <eliz@gnu.org>
9579
dbbc2e69
SM
9580 * mail/smtpmail.el (smtpmail-send-it):
9581 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9582 valid mbox format.
9583
f7fd3d79
GM
95842012-03-09 Glenn Morris <rgm@gnu.org>
9585
9586 * files.el (dir-locals-find-file):
9587 Don't check result is regular, readable.
9588 (dir-locals-read-from-file): Demote errors.
9589
6ff6e72f
EZ
95902012-03-08 Eli Zaretskii <eliz@gnu.org>
9591
dbbc2e69
SM
9592 * international/quail.el (quail-insert-kbd-layout):
9593 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9594 layout cell, to prevent their reordering by bidi display engine.
9595 For details, see the discussion in
9596 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9597
9cec7834
AM
95982012-03-08 Alan Mackenzie <acm@muc.de>
9599
9600 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9601 the starting position; make it extend the marked region when
9602 invoked repeatedly - all under appropriate circumstances.
9603 Fixes bugs #5525, #10906.
9604
9a40b8d4
GM
96052012-03-08 Glenn Morris <rgm@gnu.org>
9606
9607 * files.el (locate-dominating-file, dir-locals-find-file):
9608 Undo 2012-03-06 change.
9609
7a08ed35
EZ
96102012-03-07 Eli Zaretskii <eliz@gnu.org>
9611
dbbc2e69
SM
9612 * international/quail.el (quail-help):
9613 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9614 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9615 for the reason.
9616
5aca4f71 96172012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9618
9619 Avoid superfluous registering of signals. (Bug#10807)
9620
9621 * notifications.el (notifications-on-action-object)
9622 (notifications-on-close-object): New defvars.
9623 (notifications-on-action-signal, notifications-on-closed-signal):
9624 Unregister the signal if not needed any longer.
9625 (notifications-notify): Register `notifications-action-signal' or
9626 `notifications-closed-signal', if :on-action or :on-close has been
9627 passed as argument.
9628
78e8b10a
CY
96292012-03-07 Chong Yidong <cyd@gnu.org>
9630
9631 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9632 non-X platforms.
9633
69481eb8
GM
96342012-03-06 Glenn Morris <rgm@gnu.org>
9635
9636 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9637 (x-disown-selection-internal, x-get-selection-internal):
9638 Doc fix (add arglist signatures). (Bug#10783)
9639
133b8e11
KS
96402012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9641
9642 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9643 Handle breakpoints with no "type".
9644
99a83064
GM
96452012-03-06 Glenn Morris <rgm@gnu.org>
9646
9647 * files.el (locate-dominating-file): Add optional predicate argument.
9648 (dir-locals-find-file): Make use of above change.
9649
17798e78
TTN
96502012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9651
9652 * info.el (Info-insert-dir): Also try "dir.gz".
9653
eb182446
GM
96542012-03-06 Glenn Morris <rgm@gnu.org>
9655
8f2114ee
GM
9656 * files.el (dir-locals-find-file):
9657 Ignore non-readable or non-regular files. (Bug#10928)
9658
eb182446
GM
9659 * files.el (locate-dominating-file): Doc fix.
9660
24679323
AS
96612012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9662
9663 * calendar/calendar.el (calendar-set-mode-line):
9664 `getenv' returns a string. (Bug#10951)
9665
01d972a9
LL
96662012-03-05 Leo Liu <sdl.web@gmail.com>
9667
109aa8a9
LL
9668 * simple.el (backward-delete-char-untabify): Constrain point to
9669 field (Bug#10939).
9670
01d972a9
LL
9671 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9672
10607bea
CY
96732012-03-05 Chong Yidong <cyd@gnu.org>
9674
9675 * simple.el (count-words): If called from Lisp, return the word
9676 count, for symmetry with `count-lines'. Arglist changed.
9677 (count-words--message): Args changed. Consolidate counting code
9678 from count-words and count-words-region.
9679 (count-words-region): Caller changed.
9680 (count-lines-region): Make it an obsolete alias.
9681
5dd11cfe
TH
96822012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9683
9684 * saveplace.el (save-place-to-alist)
9685 (save-place-ignore-files-regexp): Allow value nil to disable this
9686 feature.
9687
c349f4e6
CY
96882012-03-04 Chong Yidong <cyd@gnu.org>
9689
9690 * faces.el (face-spec-reset-face): For the default face, reset the
9691 attributes to default values (Bug#10748).
9692
e627be4c
LMI
96932012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9694
9695 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9696 previous patch: Check `message-send-mail-function', and not the
9697 default function (bug#10897).
9698
ebeabff4
MA
96992012-03-04 Michael Albinus <michael.albinus@gmx.de>
9700
a41a6cf4
MA
9701 * notifications.el (notifications-on-action-signal)
9702 (notifications-on-closed-signal): Check for unique service name of
9703 incoming event. Fix error in removing entry.
ebeabff4 9704 (top): Register for signals with wildcard service name.
a41a6cf4 9705 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9706
c1ca42b4
CY
97072012-03-04 Chong Yidong <cyd@gnu.org>
9708
dc9924b8 9709 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9710
ea16568d
GM
97112012-03-04 Glenn Morris <rgm@gnu.org>
9712
9713 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9714 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9715 (expand-abbrev, define-abbrev-table): Doc fixes.
9716
fbae4637
LMI
97172012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718
9719 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9720 `message-default-send-mail-function' and not `send-mail-function'
9721 when doing the prompting for `sendmail-query-once' before sending
9722 in Message buffers (bug#10897).
9723
a1e7225c
LMI
9724 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9725 This is inconsistent with all the other stream functions, which leave
9726 the setting up to the higher levels (if so wanted) (bug#10931).
9727
56d093a9
AM
97282012-03-02 Alan Mackenzie <acm@muc.de>
9729
9730 Depessimize the handling of very large macros.
9731
9732 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9733 (c-macro-cache-syntactic): New variables to implement a one
9734 element macro cache.
9735 (c-invalidate-macro-cache): New function.
9736 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9737 Adapt to use the new cache.
9738 (c-state-safe-place): Use better the cache of safe positions.
9739 (c-state-semi-nonlit-pos-cache)
9740 (c-state-semi-nonlit-pos-cache-limit):
9741 New variables for...
9742 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9743 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9744 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9745 Use c-state-semi-safe-place.
56d093a9 9746
dbbc2e69
SM
9747 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9748 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9749
817e5c3d
MA
97502012-03-02 Michael Albinus <michael.albinus@gmx.de>
9751
dbbc2e69
SM
9752 * jka-compr.el (jka-compr-call-process):
9753 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9754 not remote.
9755
a032a702
MA
97562012-03-01 Michael Albinus <michael.albinus@gmx.de>
9757
9758 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9759 access of FILE2, if FILE1 does not exist.
9760
99a54f21
MA
9761 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9762 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9763
9764 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9765 Add "PAGER=" to `process-environment'.
9766
f6561e1f
MM
97672012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9768
9769 * progmodes/sql.el: Bug fix
9770 (sql-get-login-ext): Save login values in globals.
9771 (sql-get-login): Use new version of `sql-get-login-ext'.
9772 (sql-interactive-mode): Set global `sql-connection' to nil.
9773 (sql-connect): Set global values for connection.
9774 (sql-product-interactive): Save global values as buffer local.
9775
2d44d9cc
LL
97762012-02-29 Leo Liu <sdl.web@gmail.com>
9777
9778 * abbrev.el (define-abbrevs): Reset sys to nil.
9779
96b49301 97802012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9781
bf7f9bc5
JB
9782 * files.el (file-equal-p): Rename from `files-equal-p'.
9783 Return nil when one or both files don't exist.
96b49301 9784 (file-subdir-of-p): Now only top directory must exists,
9785 return nil if it doesn't.
bf7f9bc5
JB
9786 (copy-directory): No need to test with `file-subdir-of-p' after
9787 creating dir.
9788 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9789 to `file-equal-p'.
96b49301 9790
44e97401
GM
97912012-02-28 Glenn Morris <rgm@gnu.org>
9792
9793 * shell.el (shell-mode):
9794 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9795 * play/landmark.el (landmark-font-lock-face-O):
9796 * play/handwrite.el (handwrite):
9797 * play/gomoku.el (gomoku-O):
9798 * net/browse-url.el (browse-url-browser-display):
9799 * international/mule.el (define-charset):
9800 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9801 * filesets.el (filesets-find-file-delay):
9802 * eshell/em-xtra.el (eshell-xtra):
9803 * eshell/em-unix.el (eshell-grep):
9804 * emulation/viper.el (viper-mode):
9805 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9806 * emacs-lisp/easymenu.el (easy-menu-define):
9807 * calendar/timeclock.el (timeclock-use-display-time):
9808 * bs.el (bs-mode):
9809 * bookmark.el (bookmark-save-flag):
9810 Doc fix (standardize possessive apostrophe usage).
9811
c98c6276
CY
98122012-02-27 Chong Yidong <cyd@gnu.org>
9813
bf7f9bc5
JB
9814 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9815 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9816
c98c6276
CY
9817 * font-lock.el (font-lock-specified-p): Rename from
9818 font-lock-spec-present. Callers changed.
9819
9c62cd04 98202012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9821
bf7f9bc5
JB
9822 * emacs-lisp/package.el (package-compute-transaction):
9823 Handle holding a package version to t in package-load-list.
8ac9e529 9824
530739c9
MA
98252012-02-26 Michael Albinus <michael.albinus@gmx.de>
9826
9827 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9828 (tramp-get-inode, tramp-get-device): Use cached values.
9829
487915d7
AM
98302012-02-26 Alan Mackenzie <acm@muc.de>
9831
9832 Check there is a font-lock specification before doing initial
9833 fontification.
9834
9835 * font-core.el (font-lock-mode): Move the conditional from
9836 :after-hook to font-lock-initial-fontify.
9837 (font-lock-default-function): Move the check for a specification
9838 to font-lock-spec-present.
9839
dc9924b8 9840 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9841 (font-lock-spec-present): New function.
9842
4fd96557
JB
98432012-02-26 Jim Blandy <jimb@red-bean.com>
9844
9845 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9846 (gdb-send): Apply it to the operand of the '-interpreter-exec
9847 console' command, so that we can pass arguments with (say) quotes
9848 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9849
9a4888c0
CY
98502012-02-26 Chong Yidong <cyd@gnu.org>
9851
07498861
CY
9852 * help-fns.el (describe-function-1): Clarify description of
9853 remapping (Bug#10844).
9854
9a4888c0
CY
9855 * files.el (files-equal-p): Doc fix.
9856 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9857 and quit the loop once a mismatch is found.
9858
ea8fb88d
JB
98592012-02-25 Juanma Barranquero <lekktu@gmail.com>
9860
9861 * bs.el (bs--show-with-configuration): Don't throw an error
9862 if the window cannot be split; otherwise, subsequent calls to
9863 bs-show fail, restoring a stale window config. (Bug#10882)
9864
525795c1
JD
98652012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9866
9867 * term/ns-win.el (global-map): Bind ns-drag-file to
9868 ns-find-file (Bug#5855, Bug#10050).
9869
f008086f
AS
98702012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9871
9872 * calendar/parse-time.el (parse-time-string): Allow extractor to
9873 return nil.
9874
a3fcfa99
MA
98752012-02-25 Michael Albinus <michael.albinus@gmx.de>
9876
91027d08
JB
9877 * net/tramp.el (tramp-file-name-for-operation):
9878 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9879
9880 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9881 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9882 Add COPY-CONTENTS argument.
a3fcfa99 9883
67b0de11
CY
98842012-02-25 Chong Yidong <cyd@gnu.org>
9885
9886 Add custom groups for VC backends, for consistency with vc-bzr.
9887
9888 * vc/vc-arch.el (vc-arch):
9889 * vc/vc-cvs.el (vc-cvs):
9890 * vc/vc-git.el (vc-git):
9891 * vc/vc-hg.el (vc-hg):
9892 * vc/vc-mtn.el (vc-mtn):
9893 * vc/vc-rcs.el (vc-rcs):
9894 * vc/vc-sccs.el (vc-sccs):
9895 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9896 All relevant defcustoms reassigned.
9897
3c9dfce6
CY
98982012-02-25 Chong Yidong <cyd@gnu.org>
9899
1339bf43
CY
9900 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9901
3c9dfce6
CY
9902 * term/x-win.el (x-initialize-window-system): Reduce default for
9903 x-selection-timeout to 5 seconds (Bug#8869).
9904
25b2e303 99052012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9906
ec70a47d
GM
9907 * files.el (files-equal-p, file-subdir-of-p): New functions.
9908 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9909 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9910 * dired-aux.el (dired-copy-file-recursive): Same.
9911 (dired-create-files): Modify destination when source is equal to
9912 dest when copying files.
53a46cd0 9913 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9914
914260cd
MA
99152012-02-24 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9918 (Bug#10874)
9919
2cb228f7
AM
99202012-02-23 Alan Mackenzie <acm@muc.de>
9921
9922 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9923 parameter "after-hook:" to allow the expansion to run code after
9924 the execution of the mode hooks.
9925
9926 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9927 from font-lock-mode-internal.
2cb228f7 9928
91027d08 9929 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9930 :after-hook.
9931
8f0fde21
SM
99322012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9933
3e88618b
SM
9934 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9935 (completion--cache-all-sorted-completions): New function.
9936 (completion-all-sorted-completions): Use it.
9937 (completion--do-completion, minibuffer-force-complete):
9938 Use it to re-instate the flush hook.
9939
8f0fde21
SM
9940 * icomplete.el (icomplete-completions): Replace last fix with a better
9941 one (bug#10850).
9942
8e911f6f
DG
99432012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9944
9945 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9946 when it might call us back infinitely (bug#10797).
9947
49fe4321
GM
99482012-02-23 Glenn Morris <rgm@gnu.org>
9949
9950 * minibuffer.el (completion-category-overrides): Doc fix.
9951
b291b572
SM
99522012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9955 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9956
31a9ef2e
GM
99572012-02-23 Glenn Morris <rgm@gnu.org>
9958
5e6e6794 9959 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9960 (authors-obsolete-files-regexps, authors-ignored-files)
9961 (authors-ambiguous-files, authors-renamed-files-alist):
9962 Add more entries.
9963
0bd1e074
JL
99642012-02-23 Juri Linkov <juri@jurta.org>
9965
9966 * isearch.el (isearch-occur): Sync interactive spec with occur's
9967 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9968
b617673c
JL
9969 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9970
19e9789e
JL
99712012-02-22 Juri Linkov <juri@jurta.org>
9972
9973 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9974 (ucs-insert): Doc fix. Check for hex digits in the string.
9975 Don't display `nil' in the error message. (Bug#10857)
9976
f41ce09d
AM
99772012-02-22 Alan Mackenzie <acm@muc.de>
9978
7a71b18d 9979 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9980
ac2eceee
GM
99812012-02-22 Glenn Morris <rgm@gnu.org>
9982
9983 * ffap.el (ffap-c-path):
9984 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9985
abd1f678
CY
99862012-02-22 Chong Yidong <cyd@gnu.org>
9987
9988 * custom.el (load-theme): Doc fix.
9989
f25aef2e
GM
99902012-02-22 Glenn Morris <rgm@gnu.org>
9991
9992 * dired-x.el (dired-guess-shell-alist-default):
9993 Remove escape sequences from nroff output. (Bug#172)
9994
5f8dc2ca
GM
99952012-02-21 Glenn Morris <rgm@gnu.org>
9996
6ff86ec4
GM
9997 * vc/emerge.el (emerge-defvar-local):
9998 Set `permanent-local' property rather than unused `preserved'.
9999
be3223a3 10000 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10001 (picture-mode-map): Use it. (Bug#10860)
10002 (picture-mode): Doc fix.
10003
3fe58f4f
JB
100042012-02-21 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * newcomment.el (uncomment-region-default): Remove unused binding.
10007
f9a998c3
GM
100082012-02-21 Glenn Morris <rgm@gnu.org>
10009
10010 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10011 (picture-self-insert, picture-tab-chars): Doc fix.
10012 (picture-mode-map): Fix C-a, C-e.
10013
c6029348
GM
100142012-02-20 Glenn Morris <rgm@gnu.org>
10015
10016 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10017
ab1ce9d7
LL
100182012-02-20 Leo Liu <sdl.web@gmail.com>
10019
10020 * icomplete.el (icomplete-completions): Check FROM arg before
10021 passing to substring (Bug#10850).
10022
0fd40f89
CY
100232012-02-19 Chong Yidong <cyd@gnu.org>
10024
10025 * comint.el: Require ansi-color.
10026 (comint-output-filter-functions): Add ansi-color-process-output.
10027
10028 * ansi-color.el: Don't set comint-output-filter-functions; it is
10029 now in the initial value defined in comint.el.
10030 (ansi-color-apply-face-function): New variable.
10031 (ansi-color-apply-on-region): Use it.
10032 (ansi-color-apply-overlay-face): New function.
10033
10034 * shell.el (shell): No need to require ansi-color.
10035 (shell-mode): Use ansi-color-apply-face-function to highlight
10036 color escapes using font-lock-face property (Bug#10835).
10037
20af2394
CY
100382012-02-19 Chong Yidong <cyd@gnu.org>
10039
10040 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10041 mode-line formats (Bug#10839).
10042
e23a3fbe
GM
100432012-02-18 Glenn Morris <rgm@gnu.org>
10044
b474519e
GM
10045 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10046
10047 * mail/undigest.el (unforward-rmail-message): Doc fix.
10048
e23a3fbe
GM
10049 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10050
57939ff4
EZ
100512012-02-18 Eli Zaretskii <eliz@gnu.org>
10052
10053 * international/characters.el (script-list): Sync with the latest
10054 Unicode Character Database.
10055
0c23686e
AS
100562012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10057
10058 * international/titdic-cnv.el: Remove duplicate coding tag.
10059 * language/cham.el: Likewise.
10060 * language/tai-viet.el: Likewise.
10061
6818b449
GM
100622012-02-18 Glenn Morris <rgm@gnu.org>
10063
10064 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10065 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10066 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10067 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10068 * calendar/holidays.el (holiday-bahai-holidays)
10069 (calendar-holidays, list-holidays):
10070 Use utf-8 Bahá'í in doc-strings, menus, etc.
10071
0311a3fc
TH
100722012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10073
10074 * saveplace.el (save-place-ignore-files-regexp): New variable
10075 allowing for excluding files from saving their location of point.
10076 The default value matches the temporary commit message editing
10077 files from Git, SVN, Bazaar, and Mercurial.
10078 (save-place-to-alist): Use it.
10079
d209e2fb 100802012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10081 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10082
10083 * newcomment.el (uncomment-region-default): Don't leave extra space
10084 when an arg is provided (bug#8150).
10085
ee0ce425
TZ
100862012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10087
eb864a71 10088 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10089
95ddf442
GM
100902012-02-17 Glenn Morris <rgm@gnu.org>
10091
10092 * net/socks.el: Require network-stream. (Bug#10599)
10093
48dd1e39 100942012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10095
10096 * international/charprop.el:
10097 * international/uni-name.el:
10098 * international/uni-old-name.el:
10099 * international/uni-comment.el: Regenerate.
10100
d68cd087
GM
101012012-02-16 Glenn Morris <rgm@gnu.org>
10102
10103 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10104 Interactively in calendar buffer, give an error if not on a date.
10105
13932042
GM
101062012-02-15 Glenn Morris <rgm@gnu.org>
10107
10108 * shell.el (shell-delimiter-argument-list):
10109 Revert 2011-02-17 change. (Bug#8027)
10110
c3a70e2b
CY
101112012-02-15 Chong Yidong <cyd@gnu.org>
10112
60236b0d
CY
10113 * minibuffer.el (completion-at-point-functions): Doc fix.
10114
c3a70e2b
CY
10115 * custom.el (defcustom): Doc fix; note use of defvar.
10116
9f26dc24
GM
101172012-02-15 Glenn Morris <rgm@gnu.org>
10118
10119 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10120 Doc fixes.
10121
6546b134
GM
101222012-02-14 Glenn Morris <rgm@gnu.org>
10123
10124 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10125
d29b2b4c
LI
101262012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10127
10128 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10129 way the ports list is computed.
835bdcba
LI
10130 (smtpmail-query-smtp-server): Prompt the user for a port number if
10131 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10132
08dcdbc9
TZ
101332012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10134
10135 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10136
2605051a
GM
101372012-02-13 Glenn Morris <rgm@gnu.org>
10138
10139 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10140
7ee99f32
TZ
101412012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10142
10143 * net/gnutls.el (gnutls-trustfiles): New variable.
10144 (gnutls-negotiate): Use it.
10145
5f0af64f
LI
101462012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10147
10148 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10149 does its stuff if Gnus is running.
10150
c14fcc95
AM
101512012-02-13 Alan Mackenzie <acm@muc.de>
10152
10153 Fix a loop in c-set-fl-decl-start.
10154
7a71b18d 10155 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10156 c-backward-syntactic-ws actually moves backwards.
10157
142b4d90
LL
101582012-02-13 Leo Liu <sdl.web@gmail.com>
10159
10160 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10161 beginning so that all \C-o chars are removed.
10162
fa9958a6
TZ
101632012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10164
dc9924b8 10165 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10166
0bc5886a
AM
101672012-02-12 Alan Mackenzie <acm@muc.de>
10168
10169 Fix infinite loop with long macros.
4d6769e1 10170 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10171
d4bd55e7
CY
101722012-02-12 Chong Yidong <cyd@gnu.org>
10173
10174 * window.el (display-buffer): Doc fix (Bug#10785).
10175
66f3fe22
GM
101762012-02-12 Glenn Morris <rgm@gnu.org>
10177
bd7da63e
GM
10178 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10179 (x-disown-selection-internal, x-get-selection-internal):
10180 Sync docs with the xselect.c versions.
10181
66f3fe22
GM
10182 * allout-widgets.el: Add missing license notice.
10183
3e0d2fa7
GM
101842012-02-11 Glenn Morris <rgm@gnu.org>
10185
cfecdf09
GM
10186 * select.el (x-get-selection-internal, x-own-selection-internal)
10187 (x-disown-selection-internal):
10188 * x-dnd.el (x-get-selection-internal): Update declarations.
10189
6d216d7f
GM
10190 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10191
2bed3f04
GM
10192 * window.el (window-sides-slots):
10193 * tool-bar.el (tool-bar-position):
10194 * term/xterm.el (xterm-extra-capabilities):
10195 * ses.el (ses-self-reference-early-detection):
10196 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10197 (verilog-auto-wire-type)
10198 (verilog-auto-delete-trailing-whitespace)
10199 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10200 (verilog-auto-tieoff-declaration):
10201 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10202 (sql-oracle-statement-starters, sql-oracle-scan-on):
10203 * progmodes/prolog.el (prolog-align-comments-flag)
10204 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10205 (prolog-left-indent-regexp, prolog-paren-indent-p)
10206 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10207 (prolog-types, prolog-mode-specificators)
10208 (prolog-determinism-specificators, prolog-directives)
10209 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10210 (prolog-electric-dot-flag)
10211 (prolog-electric-dot-full-predicate-template)
10212 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10213 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10214 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10215 (prolog-program-switches, prolog-prompt-regexp)
10216 (prolog-debug-on-string, prolog-debug-off-string)
10217 (prolog-trace-on-string, prolog-trace-off-string)
10218 (prolog-zip-on-string, prolog-zip-off-string)
10219 (prolog-use-standard-consult-compile-method-flag)
10220 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10221 (prolog-imenu-max-lines, prolog-info-predicate-index)
10222 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10223 (prolog-char-quote-workaround):
10224 * progmodes/cc-vars.el (c-defun-tactic):
10225 * net/tramp.el (tramp-encoding-command-interactive)
10226 (tramp-local-end-of-line):
10227 * net/soap-client.el (soap-client):
10228 * net/netrc.el (netrc-file):
10229 * net/gnutls.el (gnutls):
10230 * minibuffer.el (completion-category-overrides)
10231 (completion-cycle-threshold)
10232 (completion-pcm-complete-word-inserts-delimiters):
10233 * man.el (Man-name-local-regexp):
10234 * mail/feedmail.el (feedmail-display-full-frame):
10235 * international/characters.el (glyphless-char-display-control):
10236 * eshell/em-ls.el (eshell-ls-date-format):
10237 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10238 (lisp-lambda-list-keyword-parameter-indentation)
10239 (lisp-lambda-list-keyword-parameter-alignment):
10240 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10241 * dired-x.el (dired-omit-verbose):
10242 * cus-theme.el (custom-theme-allow-multiple-selections):
10243 * calc/calc.el (calc-highlight-selections-with-faces)
10244 (calc-lu-field-reference, calc-lu-power-reference)
10245 (calc-note-threshold):
10246 * battery.el (battery-mode-line-limit):
10247 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10248 (archive-7z-update):
10249 * allout.el (allout-prefixed-keybindings)
10250 (allout-unprefixed-keybindings)
10251 (allout-inhibit-auto-fill-on-headline)
10252 (allout-flattened-numbering-abbreviation):
10253 * allout-widgets.el (allout-widgets-auto-activation)
10254 (allout-widgets-icons-dark-subdir)
10255 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10256 (allout-widgets-theme-dark-background)
10257 (allout-widgets-theme-light-background)
10258 (allout-widgets-item-image-properties-emacs)
10259 (allout-widgets-item-image-properties-xemacs)
10260 (allout-widgets-run-unit-tests-on-load)
10261 (allout-widgets-time-decoration-activity)
10262 (allout-widgets-hook-error-post-time)
10263 (allout-widgets-track-decoration):
10264 Add missing :version tags to new defcustoms and defgroups.
10265
5fec1b8e
GM
10266 * progmodes/sql.el (sql-ansi-statement-starters)
10267 (sql-oracle-statement-starters): Add custom type.
10268
3e0d2fa7
GM
10269 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10270 (prolog-system-version): Give it a type.
10271
90b671e2
EZ
102722012-02-11 Eli Zaretskii <eliz@gnu.org>
10273
10274 * term/pc-win.el (x-select-text, x-selection-owner-p)
10275 (x-own-selection-internal, x-disown-selection-internal)
10276 (x-get-selection-internal): Sync doc strings and argument lists
10277 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10278
5eac0c02
LL
102792012-02-11 Leo Liu <sdl.web@gmail.com>
10280
10281 * progmodes/python.el (python-end-of-statement): Fix infinite
10282 loop. (Bug#10788)
10283
f82cb659
GM
102842012-02-10 Glenn Morris <rgm@gnu.org>
10285
10286 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10287 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10288
cc26d239
LI
102892012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10290
10291 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10292 about SMTP before checking the From header.
10293
91027d08 10294 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10295 into own function for reuse by emacsbug.el.
10296
1be3ca5a
LL
102972012-02-10 Leo Liu <sdl.web@gmail.com>
10298
10299 * subr.el (condition-case-unless-debug): Rename from
10300 condition-case-no-debug. All callers changed.
10301 (with-demoted-errors): Fix caller.
10302
10303 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10304 * nxml/rng-valid.el (rng-do-some-validation):
10305 * emacs-lisp/package.el (package-refresh-contents)
10306 (package-menu-execute):
10307 * desktop.el (desktop-create-buffer):
91027d08 10308 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10309
b011fbfe
GM
103102012-02-10 Glenn Morris <rgm@gnu.org>
10311
b2096d72
GM
10312 * textmodes/bibtex.el:
10313 Add missing :version tags for new/changed defcustoms.
10314
b011fbfe
GM
10315 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10316
4c7e65bf
LI
103172012-02-09 Lars Ingebrigtsen <larsi@rusty>
10318
10319 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10320 (smtpmail-via-smtp): Use it, or fall back on the From address.
10321 (smtpmail-send-it): Ditto.
10322
f3934f6f
SM
103232012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10326 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10327 (byte-compile-tmp-var): New const.
10328 (byte-compile-defvar): Use it to minimize .elc size.
10329 Just use `defvar' rather than simulate it (bug#10761).
10330
a075a2c5
GM
103312012-02-09 Glenn Morris <rgm@gnu.org>
10332
cf3aa21b
GM
10333 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10334
354998cd
GM
10335 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10336 Add :version tags.
10337
dc9924b8
SM
10338 * progmodes/compile.el (compilation-error-screen-columns)
10339 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10340
dab3703d
GM
10341 * vc/log-view.el (log-view-toggle-entry-display):
10342 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10343
3f88cd72
GM
10344 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10345 (report-emacs-bug-can-use-xdg-email):
10346 (report-emacs-bug-insert-to-mailer): Doc fixes.
10347 (report-emacs-bug): Message fix.
10348
d95b247d
GM
10349 * net/browse-url.el (browse-url-can-use-xdg-open)
10350 (browse-url-xdg-open): Doc fixes.
10351
a075a2c5
GM
10352 * electric.el (electric-indent-mode, electric-pair-mode)
10353 (electric-layout-rules, electric-layout-mode): Doc fixes.
10354 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10355
ffb6157e
MR
103562012-02-08 Martin Rudalics <rudalics@gmx.at>
10357
10358 * server.el (server-unselect-display): Don't inadvertently kill
10359 the current buffer. (Bug#10729)
10360
e1ac4066
GM
103612012-02-08 Glenn Morris <rgm@gnu.org>
10362
34e8a2da
GM
10363 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10364 (sql-list-table): Doc fixes.
10365
b4ac6e8c
GM
10366 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10367 Comment out (does nothing).
10368
e1ac4066
GM
10369 * completion.el (dynamic-completion-mode):
10370 * dirtrack.el (dirtrack-debug-mode):
10371 * electric.el (electric-layout-mode):
10372 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10373 * face-remap.el (text-scale-mode, buffer-face-mode):
10374 * iimage.el (iimage-mode):
10375 * image-mode.el (image-transform-mode):
10376 * minibuffer.el (completion-in-region-mode):
10377 * scroll-lock.el (scroll-lock-mode):
10378 * simple.el (next-error-follow-minor-mode):
10379 * tar-mode.el (tar-subfile-mode):
10380 * tooltip.el (tooltip-mode):
10381 * vcursor.el (vcursor-use-vcursor-map):
10382 * wid-browse.el (widget-minor-mode):
10383 * emulation/tpu-edt.el (tpu-edt-mode):
10384 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10385 * international/iso-ascii.el (iso-ascii-mode):
10386 * language/thai-util.el (thai-word-mode):
10387 * mail/supercite.el (sc-minor-mode):
10388 * net/goto-addr.el (goto-address-mode):
10389 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10390 * progmodes/cwarn.el (cwarn-mode):
10391 * progmodes/flymake.el (flymake-mode):
10392 * progmodes/glasses.el (glasses-mode):
10393 * progmodes/hideshow.el (hs-minor-mode):
10394 * progmodes/pascal.el (pascal-outline-mode):
10395 * textmodes/enriched.el (enriched-mode):
10396 * vc/smerge-mode.el (smerge-mode):
10397 Doc fixes (minor mode argument).
10398
5e0d957f
EZ
103992012-02-07 Eli Zaretskii <eliz@gnu.org>
10400
10401 * ls-lisp.el (ls-lisp-sanitize): New function.
10402 (ls-lisp-insert-directory): Use it to fix or remove any elements
10403 in file-alist with missing attributes. (Bug#4673)
10404
98d7371e
AM
104052012-02-07 Alan Mackenzie <acm@muc.de>
10406
10407 Fix spurious recognition of c-in-knr-argdecl.
10408
10409 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10410 putative K&R region.
10411
667ced3a
AM
104122012-02-07 Alan Mackenzie <acm@muc.de>
10413
eb864a71
LM
10414 * progmodes/cc-engine.el (c-forward-objc-directive):
10415 Prevent looping in "#pragma mark @implementation".
667ced3a 10416
5b77774d
MA
104172012-02-07 Michael Albinus <michael.albinus@gmx.de>
10418
10419 * notifications.el (notifications-on-closed-signal): Make `reason'
10420 optional. (Bug#10744)
10421
af008560
GM
104222012-02-07 Glenn Morris <rgm@gnu.org>
10423
60d47423
GM
10424 * emacs-lisp/easy-mmode.el (define-minor-mode):
10425 Doc fixes for the macro and the mode it defines.
10426
dd605cc4
GM
10427 * image.el (imagemagick-types-inhibit): Doc fix.
10428
af008560
GM
10429 * cus-start.el (imagemagick-render-type): Add it.
10430
5cc59a37
LI
104312012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10432
4d6769e1
JB
10433 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10434 Set the default at load time, too, so that `font-lock-fontify-buffer'
10435 can be called without setting up the entire mode first. This fixes
10436 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10437
9a6dd747
CY
104382012-02-06 Chong Yidong <cyd@gnu.org>
10439
2d16b285
CY
10440 * simple.el (list-processes--refresh): Delete exited processes
10441 (Bug#8094).
10442
171e9b6e
CY
10443 * comint.el (comint-next-prompt): next-single-char-property-change
10444 and prev-single-char-property-change never return nil (Bug#8657).
10445
9a6dd747
CY
10446 * custom.el (defcustom): Doc fix (Bug#9711).
10447
aa4589a7
CY
104482012-02-05 Chong Yidong <cyd@gnu.org>
10449
5c2a252f
CY
10450 * cus-edit.el (custom-variable-reset-backup): Quote the value
10451 before storing it in the customized-value property (Bug#6712).
4aab9006 10452 (custom-display): Add a customization type tag.
983b9602 10453 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10454
aa4589a7
CY
10455 * wid-edit.el (widget-field-value-get): New optional arg to
10456 suppress trailing whitespace truncation.
10457 (character): Use it (Bug#2689).
10458
1ff980ae
AS
104592012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10460
10461 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10462 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10463
03988c98
CY
104642012-02-05 Chong Yidong <cyd@gnu.org>
10465
eeb6cc88
CY
10466 * cus-edit.el (custom-variable-value-create): For mismatched
10467 types, show the current value (Bug#7600).
10468
03988c98
CY
10469 * custom.el (defcustom): Doc fix.
10470
f8cdeef0
GM
104712012-02-05 Glenn Morris <rgm@gnu.org>
10472
10473 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10474
0696d255
JB
104752012-02-05 Juanma Barranquero <lekktu@gmail.com>
10476
10477 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10478 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10479 (pp-last-sexp): Use `looking-at-p'.
10480
34c99998
GM
104812012-02-04 Glenn Morris <rgm@gnu.org>
10482
8f05da42
GM
10483 * files.el (revert-buffer):
10484 Doc fix (mention revert-buffer-in-progress-p).
10485
f160676e
GM
10486 * emacs-lisp/ert-x.el (ert-simulate-command):
10487 Check deferred-action-list (which is obsolete) is bound.
10488
c7291ad9
GM
10489 * subr.el (with-wrapper-hook): Doc fixes.
10490
34c99998
GM
10491 * simple.el (filter-buffer-substring-functions)
10492 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10493
6283a7d3
LL
104942012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10495
10496 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10497 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10498
e96e3013
LL
104992012-02-04 Leo Liu <sdl.web@gmail.com>
10500
10501 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10502
8ded50f2
GM
105032012-02-04 Glenn Morris <rgm@gnu.org>
10504
82ff1d13
GM
10505 * image.el (image-extension-data): Add obsolete alias.
10506
987a0a16
GM
10507 * isearch.el (isearch-update): Doc fix.
10508
ea32ef46
GM
10509 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10510
8ded50f2
GM
10511 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10512
eea14f31
GM
105132012-02-03 Glenn Morris <rgm@gnu.org>
10514
10515 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10516 (image-animate-timeout): Doc fix.
10517
10518 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10519
12f381b7
GM
105202012-02-02 Glenn Morris <rgm@gnu.org>
10521
953cebf5
GM
10522 * server.el (server-auth-dir): Doc fix.
10523 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10524
12f381b7
GM
10525 * subr.el (run-mode-hooks): Doc fix.
10526
953a8c3b
JL
105272012-02-02 Juri Linkov <juri@jurta.org>
10528
10529 * image-mode.el (image-toggle-display-image): Remove tautological
10530 `major-mode' from the `derived-mode-p' test.
10531
c5d3843c
KH
105322012-02-02 Kenichi Handa <handa@m17n.org>
10533
9f6e692e 10534 * composite.el (compose-region): Cancel previous change.
c5d3843c 10535
159462d4 105362012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10537
10538 * composite.el (compose-region, compose-string): Signal error for
10539 a null string component (Bug#6988).
10540
9f562668
CY
105412012-02-01 Chong Yidong <cyd@gnu.org>
10542
e2cef717
CY
10543 * view.el (view-buffer-other-window, view-buffer-other-frame):
10544 Handle special modes like view-buffer (Bug#10650).
10545 (view-buffer): Simplify.
10546
9f562668
CY
10547 * frame.el (set-frame-font): Tweak meaning of third argument.
10548
9f6e692e
JB
10549 * dynamic-setting.el (font-setting-change-default-font):
10550 Use set-frame-font (Bug#9982).
9f562668 10551
781acb9f
GM
105522012-02-01 Glenn Morris <rgm@gnu.org>
10553
6035be52
GM
10554 * progmodes/compile.el (compilation-internal-error-properties):
10555 Respect compilation-first-column in the "*compilation*" buffer.
10556
781acb9f
GM
10557 * emacs-lisp/easy-mmode.el (define-minor-mode):
10558 Relax :variable's test for a named function.
10559
abbceb00
AM
105602012-01-31 Alan Mackenzie <acm@muc.de>
10561
10562 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10563 off by one error.
10564
fce3fdeb
CY
105652012-01-31 Chong Yidong <cyd@gnu.org>
10566
10567 * frame.el (set-frame-font): New arg ALL-FRAMES.
10568
10569 * menu-bar.el (menu-set-font): Use set-frame-font.
10570
10571 * faces.el (face-spec-reset-face): Don't apply unspecified
10572 attribute values to the default face.
10573
47893581
JB
105742012-01-31 Juanma Barranquero <lekktu@gmail.com>
10575
10576 * progmodes/cwarn.el (cwarn): Remove dead link.
10577 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10578 Remove * from defcustom docstrings.
10579 (turn-on-cwarn-mode): Make obsolete.
10580 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10581 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10582
e58e988a
GM
105832012-01-31 Glenn Morris <rgm@gnu.org>
10584
60dc2671 10585 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10586 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10587 Allow named functions to be used as the cdr of :variable.
e58e988a 10588
7a3f511d
GM
105892012-01-30 Glenn Morris <rgm@gnu.org>
10590
10591 * emacs-lisp/authors.el (authors-fixed-entries):
10592 Remove reference to deleted file rnewspost.el.
10593
cb882333
JB
105942012-01-29 Juanma Barranquero <lekktu@gmail.com>
10595
10596 * window.el (window-with-parameter): Remove unused variable `windows'.
10597 (window--side-check): Remove unused variable `code'.
10598 (window--resize-siblings): Remove unused variable `first'.
10599 (adjust-window-trailing-edge): Remove unused variable `failed'.
10600 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10601 Use `let', not `let*'.
10602 (balance-windows-2): Remove unused variable `found'.
10603 (window--state-put-2): Remove unused variable `splits'.
10604 (window-state-put): Remove unused variable `selected'.
10605 (same-window-p): Use `string-match-p'.
10606 (display-buffer-assq-regexp): Remove unused variable `value'.
10607 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10608 Mark argument ALIST as ignored.
10609 (pop-to-buffer): Remove unused variable `old-window'.
10610
907201af
EZ
106112012-01-29 Eli Zaretskii <eliz@gnu.org>
10612
10613 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10614 and .lzma compressed files.
10615
ea162670
CY
106162012-01-29 Chong Yidong <cyd@gnu.org>
10617
5b95ee8a
CY
10618 * frame.el (window-system-default-frame-alist): Doc fix.
10619
ea162670
CY
10620 * dynamic-setting.el (font-setting-change-default-font): Don't
10621 change the default face if SET-FONT argument is non-nil (Bug#9982).
10622
d6e6f4b1
SB
106232012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10624
10625 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10626
0f29fa41 106272012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10628
10629 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10630 breakpoints in files outside current directory (Bug#6098).
10631
db174434
CY
106322012-01-29 Chong Yidong <cyd@gnu.org>
10633
6b25e4e2
SE
10634 * progmodes/python.el: Require ansi-color at top-level.
10635
6df6ae42
JB
10636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10637 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10638 (lisp-mode-abbrev-table): Add doc.
10639 (lisp-mode-variables): Don't set local-abbrev-table.
10640 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10641
e70ee681
RW
106422012-01-28 Roland Winkler <winkler@gnu.org>
10643
10644 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10645
ace88aa2
RW
106462012-01-28 Roland Winkler <winkler@gnu.org>
10647
10648 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10649 (bibtex-set-dialect): Use it. Either set global values of
10650 dialect-dependent variables or bind these variables buffer-locally
10651 (Bug#10254).
10652 (bibtex-mode): Call bibtex-set-dialect via
10653 hack-local-variables-hook.
eb864a71
LM
10654 (bibtex-dialect): Update docstring.
10655 Add safe-local-variable predicate.
ace88aa2
RW
10656 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10657 bibtex-set-dialect.
10658 (bibtex-mode-map): Define menu for each dialect.
10659 (bibtex-entry): Fix docstring.
10660
93376c5b
CY
106612012-01-28 Chong Yidong <cyd@gnu.org>
10662
10663 * eshell/esh-arg.el (eshell-quote-argument): New function.
10664
10665 * eshell/esh-ext.el (eshell-invoke-batch-file):
10666 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10667 first arg to eshell-parse-command (Bug#10523).
10668
4372494f
DA
106692012-01-28 Drew Adams <drew.adams@oracle.com>
10670
10671 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10672 `default-directory' is non-nil.
10673
4d4ec1f8
EZ
106742012-01-28 Eli Zaretskii <eliz@gnu.org>
10675
10676 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10677 line that displays system-configuration-options. (Bug#9924)
10678
7c188927
DA
106792012-01-28 Drew Adams <drew.adams@oracle.com>
10680
10681 * descr-text.el (describe-char): Show information about POS, in
10682 addition to information about the character at POS. Improve and
10683 update the doc string. Change "code point" to "code point in
10684 charset", to avoid confusion with the character's Unicode code
10685 point shown above that. (Bug#10129)
10686
e0da685a
EZ
106872012-01-28 Eli Zaretskii <eliz@gnu.org>
10688
10689 * descr-text.el (describe-char): Show the raw character, not only
10690 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10691 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10692 for the reasons.
10693
70550acf
PH
106942012-01-28 Phil Hagelberg <phil@hagelb.org>
10695
eb864a71
LM
10696 * emacs-lisp/package.el (package-install):
10697 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10698
0ce8e868
CY
106992012-01-28 Chong Yidong <cyd@gnu.org>
10700
cb882333
JB
10701 * emacs-lisp/package.el (package-maybe-load-descriptor):
10702 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10703 (package-maybe-load-descriptor): Use it.
10704 (package-download-transaction): Fully load required packages
10705 inside the loop, so that `require' calls work (Bug#10593).
10706 (package-install): No need to call package-initialize now.
10707
2e7f3bea
CY
107082012-01-28 Chong Yidong <cyd@gnu.org>
10709
6e9bad14
CY
10710 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10711
f823b8ca
CY
10712 * tooltip.el (tooltip-mode): Doc fix.
10713 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10714
2680c309
CY
10715 * frame.el (set-cursor-color): Doc fix (Bug#352).
10716
d7a9e63b
CY
10717 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10718 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10719
2e7f3bea
CY
10720 * cus-edit.el (custom-buffer-create-internal): Fix search button
10721 action (Bug#10542).
2ae01800 10722 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10723
fc4f7a23
EW
107242012-01-27 Eduard Wiebe <usenet@pusto.de>
10725
10726 * dired.el (dired-mark-files-regexp):
10727 Include any subdirectory components. (Bug#10445)
10728
7dd37071
ML
107292012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10730
10731 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10732 Handle [host]:port syntax. (Bug#10533)
10733
a268160b
AH
107342012-01-27 Alex Harsanyi <harsanyi@mac.com>
10735
10736 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10737
e43273ef
GM
107382012-01-26 Glenn Morris <rgm@gnu.org>
10739
10740 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10741 * term.el (term-raw-escape-map): Use Control-X-prefix.
10742 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10743
1edf595d
MR
107442012-01-25 Martin Rudalics <rudalics@gmx.at>
10745
10746 * window.el (window-state-get, window--state-get-1): Don't deal
10747 with fixed-sizeness of windows. Simplify code.
10748
fa8eafef
JC
107492012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10750
6df6ae42
JB
10751 * window.el (window--state-get-1, window--state-put-2):
10752 Don't save and restore the mark.
fa8eafef 10753
0b21c100
CY
107542012-01-25 Chong Yidong <cyd@gnu.org>
10755
10756 * custom.el (custom-variable-p): Doc fix.
10757
5ae1a6c8
GM
107582012-01-25 Glenn Morris <rgm@gnu.org>
10759
40047858
GM
10760 * dired.el (dired-goto-file): Handle some of the more common
10761 characters that `ls -b' escapes. (Bug#10596)
10762
5ddce96c
GM
10763 * progmodes/compile.el (compilation-next-error-function):
10764 Respect compilation-first-column in the "*compilation*" buffer.
10765 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10766
5ae1a6c8
GM
10767 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10768
b559f1a9
GM
107692012-01-24 Glenn Morris <rgm@gnu.org>
10770
10771 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10772
6725d21a
JD
107732012-01-24 Julien Danjou <julien@danjou.info>
10774
10775 * color.el (color-rgb-to-hsl): Fix value computing.
10776 (color-hue-to-rgb): New function.
10777 (color-hsl-to-rgb): New function.
10778 (color-clamp, color-saturate-hsl, color-saturate-name)
10779 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10780 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10781
70df4bbe
GM
107822012-01-24 Glenn Morris <rgm@gnu.org>
10783
10784 * vc/vc-rcs.el (vc-rcs-create-tag):
10785 * vc/vc-sccs.el (vc-sccs-create-tag):
10786 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10787
802a2ae2
ML
107882012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10789
10790 * eshell/esh-util.el (eshell-read-hosts-file):
10791 Skip comment lines. (Bug#10549)
10792
d7128bb1
ML
10793 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10794
d1a5c3b4
JB
107952012-01-23 Juanma Barranquero <lekktu@gmail.com>
10796
2724d9c7
JB
10797 * subr.el (display-delayed-warnings): Doc fix.
10798 (collapse-delayed-warnings): New function to collapse identical
10799 adjacent warnings.
10800 (delayed-warnings-hook): Add it.
d1a5c3b4 10801
a5509865
MA
108022012-01-22 Michael Albinus <michael.albinus@gmx.de>
10803
10804 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10805
a5509865
MA
10806 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10807 (tramp-default-user-alist): Don't add "pscp".
10808 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10809 property "login-as", if set. (Bug#10530)
10810
cc6d5805
MA
108112012-01-21 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10814 "plink1" and "psftp". (Bug#10530)
10815
108162012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10817
10818 * international/mule-cmds.el (prefer-coding-system): Show a
10819 warning message if the default value of file-name-coding-system
10820 was not changed.
10821
f0960428
JC
108222012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10823
cb882333
JB
10824 * windmove.el (windmove-reference-loc):
10825 Fix windmove-reference-loc miscalculation.
f0960428 10826
dd6f2a63
JB
108272012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10828
10829 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10830 default unit.
10831
7b447e9b
GM
108322012-01-21 Glenn Morris <rgm@gnu.org>
10833
117a9ea1
GM
10834 * international/mule.el (auto-coding-alist): Add .tbz.
10835
7b447e9b
GM
10836 * files.el (local-enable-local-variables): Doc fix.
10837 (inhibit-local-variables-regexps): Rename from
10838 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10839 Doc fix. Add some extensions from auto-coding-alist.
10840 (inhibit-local-variables-suffixes):
10841 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10842 (inhibit-local-variables-p):
10843 New function, extracted from set-auto-mode-1.
10844 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10845 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10846 (hack-local-variables): Doc fix. Make the mode-only case
10847 respect enable-local-variables and friends.
10848 Respect inhibit-local-variables-regexps for file-locals, but
10849 not for directory-locals.
10850 (set-visited-file-name):
10851 Take account of inhibit-local-variables-regexps.
10852 Whether it applies may change as the file name is changed.
10853 * jka-cmpr-hook.el (jka-compr-install):
10854 * jka-compr.el (jka-compr-uninstall):
10855 Update for inhibit-first-line-modes-suffixes name change.
10856
dd6e3cdd
MR
108572012-01-20 Martin Rudalics <rudalics@gmx.at>
10858
10859 * help-macro.el (make-help-screen): Temporarily restore original
10860 binding for minor-mode-map-alist (Bug#10454).
10861
0d0deb38
JD
108622012-01-19 Julien Danjou <julien@danjou.info>
10863
10864 * color.el (color-name-to-rgb): Use the white color to find the max
10865 color component value and return correctly computed values.
10866 (color-name-to-rgb): Add missing float conversion for max value.
10867
34a02f46
MR
108682012-01-19 Martin Rudalics <rudalics@gmx.at>
10869
10870 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10871 special state value for window-persistent-parameters.
10872 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10873 (window--state-put-2): Reset all window parameters to nil before
10874 assigning values of persistent parameters.
10875
606c44c4
AM
108762012-01-18 Alan Mackenzie <acm@muc.de>
10877
10878 Eliminate sluggishness and hangs in fontification of "semicolon
10879 deserts".
10880
cb882333
JB
10881 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10882 Change value 10000 -> 3000.
606c44c4
AM
10883 (c-state-safe-place): Reformulate so it doesn't stack up an
10884 infinite number of wrong entries in c-state-nonlit-pos-cache.
10885 (c-determine-limit-get-base, c-determine-limit): New functions to
10886 determine backward search limits disregarding literals.
10887 (c-find-decl-spots): Amend commenting.
10888 (c-cheap-inside-bracelist-p): New function which detects "={".
10889
10890 * progmodes/cc-fonts.el
10891 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10892 backward search.
10893 (c-font-lock-declarations): Fix an occurrence of point being
10894 undefined. Check additionally for point being in a bracelist or
10895 near a macro invocation without a semicolon so as to avoid a
10896 fruitless time consuming search for a declarator. Give a more
10897 precise search limit for declarators using the new
10898 c-determine-limit.
10899
f3860cea
GM
109002012-01-18 Glenn Morris <rgm@gnu.org>
10901
10902 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10903 (set-auto-mode): Doc fixes.
10904
1db03b16
GM
109052012-01-17 Glenn Morris <rgm@gnu.org>
10906
0e6038be
GM
10907 * isearch.el (search-nonincremental-instead): Fix doc typo.
10908
1db03b16
GM
10909 * dired.el (dired-insert-directory): Handle newlines in directory name.
10910 (dired-build-subdir-alist): Unescape newlines in directory name.
10911
4cb0aa75
MA
109122012-01-17 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10915 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10916 (tramp-action-terminal): Use it. (Bug#10530)
10917
1d00653d
SM
109182012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10921
6a6ee00d
MR
109222012-01-16 Martin Rudalics <rudalics@gmx.at>
10923
10924 * window.el (window-state-ignored-parameters): Remove variable.
10925 (window--state-get-1): Rename argument MARKERS to IGNORE.
10926 Handle persistent window parameters. Make copy of clone-of
10927 parameter only if requested. (Bug#10348)
10928 (window--state-put-2): Install a window parameter only if it has
10929 a non-nil value or an existing parameter shall be overwritten.
10930
97912def
MA
109312012-01-15 Michael Albinus <michael.albinus@gmx.de>
10932
10933 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10934
688070a5
EZ
109352012-01-14 Eli Zaretskii <eliz@gnu.org>
10936
10937 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10938 don't pass the (nil) value of `upnode' to string-match.
10939
301afadc
CY
109402012-01-14 Chong Yidong <cyd@gnu.org>
10941
10942 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10943 Fix values recognized by the cursorBlink resource.
301afadc 10944
9e5788aa
PE
109452012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10946
10947 * epg.el (epg--make-temp-file): Avoid permission race condition
10948 when running on old Emacs versions (bug#10403).
10949
3cdb7f5a
GM
109502012-01-14 Glenn Morris <rgm@gnu.org>
10951
10952 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10953
8c82b1b4
AM
109542012-01-13 Alan Mackenzie <acm@muc.de>
10955
10956 Fix filling for when filladapt mode is enabled.
10957
10958 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10959 c-mask-paragraph, pass in `fill-paragraph' rather than
10960 `fill-region-as-paragraph'. (This is a reversion of a previous
10961 change.)
eb864a71
LM
10962 * progmodes/cc-mode.el (c-basic-common-init):
10963 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10964
e517eda4
GM
109652012-01-13 Glenn Morris <rgm@gnu.org>
10966
1498536e
GM
10967 * dired.el (dired-switches-escape-p): New function.
10968 (dired-insert-directory): Use dired-switches-escape-p.
10969 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10970
e517eda4
GM
10971 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10972
328f984d
GM
109732012-01-12 Glenn Morris <rgm@gnu.org>
10974
10975 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10976 changes in adaptive-fill-regexp. (Bug#10276)
10977
2cc769a8
AM
109782012-01-11 Alan Mackenzie <acm@muc.de>
10979
10980 Fix Emacs bug #10463 - put `widen's around the critical spots.
10981
1d00653d 10982 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10983 widen around each invocation of c-state-pp-to-literal. Remove an
10984 unused let variable.
10985
e52c37fa
GM
109862012-01-11 Glenn Morris <rgm@gnu.org>
10987
10988 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10989 Doc fix.
e52c37fa 10990
96f8741e
CY
109912012-01-10 Chong Yidong <cyd@gnu.org>
10992
1d00653d
SM
10993 * net/network-stream.el (network-stream-open-starttls):
10994 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10995 response to the capability command.
10996
b09a806e
GM
109972012-01-10 Glenn Morris <rgm@gnu.org>
10998
10999 * mail/unrmail.el (unrmail): Tweak previous change.
11000
7655cb66
CY
110012012-01-09 Chong Yidong <cyd@gnu.org>
11002
11003 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11004
9d5a8f0b
AM
110052012-01-08 Alan Mackenzie <acm@muc.de>
11006
11007 Optimise font locking in long enum definitions.
11008
11009 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11010 arm to a cond form to handle enums.
11011 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11012 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11013
9a0115ab 110142012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11015
11016 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11017 (Bug#10401)
6bb72cbd 11018
f186bb95
LMI
110192012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11020
29232a68
LMI
11021 * faces.el (set-face-attribute): Clarify the meaning of the nil
11022 frame (bug#10294).
11023
4e5d086d
LMI
11024 * subr.el (with-selected-frame): Mention that the selected frame
11025 is restored (bug#9980).
11026
8e66aebe
LMI
11027 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11028 (bug#9759).
11029
cd394be1 11030 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11031 (password-read): Don't autoload unused function.
11032
adf4e762
JB
110332012-01-07 Juanma Barranquero <lekktu@gmail.com>
11034
11035 * progmodes/which-func.el (which-func-mode): Turn into a
11036 non-interactive function and mark as obsolete (bug#10428).
11037
89bd9ccd
CY
110382012-01-06 Chong Yidong <cyd@gnu.org>
11039
11040 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11041 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11042 functions, along with 1 and -1.
11043
4afee9d5
EZ
110442012-01-06 Eli Zaretskii <eliz@gnu.org>
11045
11046 * time.el (display-time-load-average)
11047 (display-time-default-load-average): Doc fixes. See the thread
11048 starting at
11049 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11050 for the details.
11051
536aea70
GM
110522012-01-06 Glenn Morris <rgm@gnu.org>
11053
665ae865
GM
11054 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11055 has no messages. (Bug#10377)
11056
c869783d
GM
11057 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11058 than Info-edit. (Bug#10385)
11059
2bb4227e
GM
11060 * time.el (display-time-load-average, display-time-next-load-average):
11061 Doc fixes.
11062
7d5944b9
GM
11063 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11064 local setting of buffer-read-only to the input buffer. (Bug#10419)
11065
536aea70
GM
11066 * calendar/calendar.el (calendar-mode):
11067 Locally set scroll-margin to 0. (Bug#10379)
11068
7dccca16
UM
110692012-01-06 Ulrich Mueller <ulm@gentoo.org>
11070
11071 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11072
afbb7930
GM
110732012-01-05 Glenn Morris <rgm@gnu.org>
11074
11075 * eshell/em-unix.el (diff-no-select): Autoload it.
11076 (eshell/diff): Use diff-no-select. (Bug#10420)
11077
04482335
CY
110782012-01-05 Chong Yidong <cyd@gnu.org>
11079
7baca3bc
CY
11080 * shell.el (shell-dynamic-complete-functions): Revert last change.
11081 (shell-command-completion-function): New function.
11082 (shell-completion-vars): Use it to implement
11083 shell-completion-execonly (Bug#10417).
11084
04482335
CY
11085 * custom.el (enable-theme): Don't set custom-safe-themes.
11086
1d00653d
SM
11087 * cus-theme.el (custom-theme-merge-theme):
11088 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11089
bb5aa5d6
MM
110902012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11091
11092 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11093 first prompt in `sql-interacive-mode'.
11094 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11095 keywords.
6df6ae42 11096 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11097 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11098 context of original buffer. Invoke `sql-login-hook'.
11099
a7183d7c
EZ
111002012-01-04 Eli Zaretskii <eliz@gnu.org>
11101
11102 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11103 letters in cite-prefix.
11104
a1eacd1e
LMI
111052012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11106
11107 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11108
787cdb34
CY
111092012-01-03 Chong Yidong <cyd@gnu.org>
11110
1d00653d
SM
11111 * shell.el (shell-dynamic-complete-functions):
11112 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11113 comint-filename-completion first (Bug#10417).
11114
30710442
RS
111152012-01-02 Richard Stallman <rms@gnu.org>
11116
11117 * battery.el (battery-status-function):
11118 Detect when to use battery-yeeloong-sysfs.
11119 (battery-echo-area-format): Add string for Yeeloong.
11120 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11121 (battery-yeeloong-sysfs): New function.
11122
f75bfc33
CY
111232012-01-02 Chong Yidong <cyd@gnu.org>
11124
11125 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11126 (dirtrack): Merge code for handling relative filenames in prompt
11127 from shell-dir-cookie-watcher.
11128 (dirtrack-debug-message): New arg to avoid excess format calls.
11129
11130 * shell.el (shell-dir-cookie-re): Variable deleted.
11131 (shell-dir-cookie-watcher): Function deleted.
11132 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11133 with dirtrack-mode.
11134
651e947e
EZ
111352012-01-01 Eli Zaretskii <eliz@gnu.org>
11136
1d00653d
SM
11137 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11138 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11139 libgnutls-26.dll.
11140
94d4c7dc
AS
111412011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11144
8d43f3cd
EZ
111452011-12-31 Eli Zaretskii <eliz@gnu.org>
11146
11147 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11148 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11149
98c8795a
MA
111502011-12-29 Michael Albinus <michael.albinus@gmx.de>
11151
11152 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11153 also for alternative shells.
11154 (tramp-open-connection-setup-interactive-shell): Check, whether
11155 the shell is a busybox.
11156 (tramp-send-command): Don't suppress multiple prompts for
11157 busyboxes, it hurts.
11158
51281b32
CY
111592011-12-28 Chong Yidong <cyd@gnu.org>
11160
11161 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11162 (gdb-get-source-file): Move mode line update to
11163 gdb-get-source-file (Bug#10087).
11164
2170cb53
CY
111652011-12-25 Chong Yidong <cyd@gnu.org>
11166
11167 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11168 gud-gdb-marker-filter without taking it as an argument.
11169 (gud-gdb-run-command-fetch-lines): Caller changed.
11170 (gud-gdb-completion-function): New variable.
11171 (gud-gdb-completion-at-point): Use it.
11172 (gud-gdb-completions-1): Split from gud-gdb-completions.
11173
11174 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11175 function as separate arguments.
11176 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11177 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11178 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11179 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11180 (gdb-stopped, def-gdb-auto-update-trigger)
11181 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11182 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11183 Callers changed.
2170cb53
CY
11184 (gud-gdbmi-completions): New function.
11185 (gdb): Use it for generating the completion table.
11186
be8b11bb
AM
111872011-12-24 Alan Mackenzie <acm@muc.de>
11188
11189 Introduce a mechanism to widen the region used in context font
1d00653d 11190 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11191
1d00653d
SM
11192 * progmodes/cc-langs.el (c-before-font-lock-functions):
11193 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11194 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11195 functions to be run just before context (etc.) font locking.
11196
11197 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11198 New, functionality extracted from
be8b11bb 11199 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11200 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11201 (c-after-change): Set c-in-after-change-fontification.
11202 (c-set-fl-decl-start): Rejig its interface, so it can be called
11203 from both after-change and context fontifying.
b81d40f0
JB
11204 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11205 New functions.
11206 (c-standard-font-lock-fontify-region-function): New variable.
11207 (c-font-lock-fontify-region): New function.
be8b11bb 11208
341cf6ac
JL
112092011-12-24 Juri Linkov <juri@jurta.org>
11210
11211 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11212 (Bug#10348)
11213
bffcee0a
MA
112142011-12-23 Michael Albinus <michael.albinus@gmx.de>
11215
11216 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11217 existence of source file. (Bug#10325)
11218
cb5e207c
AM
112192011-12-23 Alan Mackenzie <acm@muc.de>
11220
11221 Fix unstable fontification inside templates.
11222
b81d40f0
JB
11223 * progmodes/cc-langs.el (c-before-font-lock-functions):
11224 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11225 additionally has c-set-fl-decl-start. The other languages (apart
11226 from AWK) have that as a single entry.
11227
b81d40f0
JB
11228 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11229 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11230 c-set-fl-decl-start.
11231
b81d40f0
JB
11232 * progmodes/cc-mode.el (c-common-init, c-after-change):
11233 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11234 (c-set-fl-decl-start): New function, extracted from
11235 c-font-lock-enclosing-decls and enhanced.
11236
60ff536c
JB
112372011-12-23 Juanma Barranquero <lekktu@gmail.com>
11238
11239 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11240
1c4757d6
JL
112412011-12-22 Juri Linkov <juri@jurta.org>
11242
11243 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11244
d031f2c7
CY
112452011-12-22 Chong Yidong <cyd@gnu.org>
11246
11247 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11248
bace743a
DA
112492011-12-21 Drew Adams <drew.adams@oracle.com>
11250
11251 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11252
728a1f2b
JC
112532011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11254
11255 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11256
0d373f73
TZ
112572011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11258
fec0aaa4
TZ
11259 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11260 highlighting and support. Fix up comments for capitalization.
11261 (cfengine-mode-debug): New var.
11262 (cfengine3-mode): Change the modeline indicator to "CFE3".
11263 (cfengine3-font-lock-keywords): Improve defun highlighting.
11264 (cfengine2-actions): Rename from `cfengine-actions'.
11265 (cfengine2-font-lock-keywords): Rename from
11266 `cfengine-font-lock-keywords'.
11267 (cfengine2-imenu-expression): Rename from
11268 `cfengine-imenu-expression'.
11269 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11270 (cfengine2-beginning-of-defun): Rename from
11271 `cfengine-beginning-of-defun'.
11272 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11273 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11274 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11275 modeline indicator to "CFE2".
11276 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11277 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11278
bc86f573
CY
112792011-12-21 Chong Yidong <cyd@gnu.org>
11280
11281 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11282 filename argument.
11283
d45ba96b
MR
112842011-12-20 Martin Rudalics <rudalics@gmx.at>
11285
11286 * window.el (window-normalize-buffer-to-display): Remove.
11287 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11288
a6198c90
CY
112892011-12-19 Chong Yidong <cyd@gnu.org>
11290
11291 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11292 Don't signal an error in a predicate function; return non-nil.
11293 (vc-dir-mark-file): Move the error here.
11294 (vc-dir-mark-unmark): If acting on the region, keep going if one
11295 of the entries cannot be marked/unmarked.
11296 (vc-dir-mark-all-files): If current entry is a directory, mark
11297 only child files, as documented.
11298
34c5fb55
VB
112992011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11300
11301 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11302 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11303 addition.
11304
c803b2b7
JD
113052011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11306
11307 * term/ns-win.el (ns-get-selection-internal)
11308 (ns-store-selection-internal): Declare.
1154d12e
JB
11309 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11310 Declare as obsolete.
11311 (ns-get-pasteboard, ns-paste-secondary):
11312 Use ns-get-selection-internal.
41e9b956 11313 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11314 Use ns-store-selection-internal.
c803b2b7 11315
9cff91f8 113162011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11317
11318 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11319 (vc-deduce-fileset): Doc fix.
99a289d9 11320
f16c898a
AS
113212011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11322
11323 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11324
763237c4
SS
113252011-12-13 Sam Steingold <sds@gnu.org>
11326
11327 * man.el (Man-getpage-in-background): When running under a
11328 window-system, ignore $MANWIDTH and $COLUMNS.
11329
5fc1c122
KH
113302011-12-15 Kenichi Handa <handa@m17n.org>
11331
11332 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11333 (setup-ethiopic-environment-internal): Comment out key-binding for
11334 ethio-toggle-punctuation.
11335
13d49cbb
AM
113362011-12-13 Alan Mackenzie <acm@muc.de>
11337
898169a2
AM
11338 Add the switch statement to AWK Mode.
11339
7a71b18d 11340 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11341 "default" to the keywords regexp.
11342
7a71b18d 11343 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11344 expression as the rest.
1d00653d
SM
11345 (c-nonlabel-token-key): Allow string literals for AWK.
11346 Refactor for the other modes.
898169a2 11347
13d49cbb 11348 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11349 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11350 routines. Limit backward searching in c-font-lock-enclosing.decl.
11351
11352 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11353 pp-state and literal type in addition to the limits.
1d00653d 11354 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11355 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11356 (c-slow-in-literal, c-fast-in-literal): Remove.
11357 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11358
11359 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11360 being in a literal. Add a limit for backward searching.
11361
11362 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11363 c-slow-in-literal.
11364
15e0efc7
SM
113652011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11368
454592a6
MR
113692011-12-13 Martin Rudalics <rudalics@gmx.at>
11370
11371 * window.el (delete-other-windows): Use correct frame in call to
11372 window-with-parameter.
11373
87393f26
DP
113742011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11375
11376 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11377 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11378 (makefile-gmake-statements, makefile-makepp-statements):
11379 Use it and add new makepp keywords.
11380 (makefile-makepp-font-lock-keywords): Add new patterns.
11381 (makefile-match-function-end): Match new [...] and [[...]].
11382
11636b22
JB
113832011-12-11 Juanma Barranquero <lekktu@gmail.com>
11384
11385 * ses.el (ses-call-printer-return, ses-cell-property-get)
11386 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11387 (ses-create-cell-variable, ses-reset-header-string)
11388 (ses-cell-set-formula, ses-repair-cell-reference-all)
11389 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11390 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11391 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11392 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11393 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11394 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11395 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11396 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11397 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11398 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11399 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11400 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11401
cf018193
VB
114022011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11403
11404 * ses.el: The overall change is to add cell renaming, that is
11405 setting fancy names for cell symbols other than name matching
11406 "\\`[A-Z]+[0-9]+\\'" regexp .
11407 (ses-create-cell-variable): New defun.
11408 (ses-relocate-formula): Relocate formulas only for cells the
11409 symbols of which are not renamed, i.e. symbols whose names do not
11410 match regexp "\\`[A-Z]+[0-9]+\\'".
11411 (ses-relocate-all): Relocate values only for cells the symbols of
11412 which are not renamed.
11413 (ses-load): Create cells variables as the (ses-cell ...) are read,
11414 in order to check row col consistency with cell symbol name only
11415 for cells that are not renamed.
11416 (ses-replace-name-in-formula): New defun.
11417 (ses-rename-cell): New defun.
11418
ee957461
CY
114192011-12-11 Chong Yidong <cyd@gnu.org>
11420
11421 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11422 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11423
9a9e9ef0
MR
114242011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11425
11426 * window.el (other-window): Fix docstring.
11427
92a8eba5
EZ
114282011-12-10 Eli Zaretskii <eliz@gnu.org>
11429
11430 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11431 `from' or `to' address before taking its substring.
11432 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11433 encoded name is chopped in the middle of the encoded string, and
11434 thus displayed encoded.
11435
e152e577
JB
114362011-12-10 Juanma Barranquero <lekktu@gmail.com>
11437
11438 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11439
e5d84bfe
EZ
114402011-12-10 Eli Zaretskii <eliz@gnu.org>
11441
11442 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11443 to use texinfo-update-node and commands that call it if the
11444 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11445 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11446 (texinfo-all-menus-update, texinfo-master-menu)
11447 (texinfo-update-node, texinfo-every-node-update)
11448 (texinfo-multiple-files-update): Doc fix. Warn against updating
11449 all the @node lines.
11450 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11451 argument is numeric. Explain better in the doc string what the
11452 function really does.
11453 (texinfo-insert-master-menu-list): Improve the error message
11454 displayed if there's no menu in the Top node.
11455 (Bug#2975) See also this thread:
e5d84bfe
EZ
11456 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11457
1d84e9bb
MG
114582011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11459
11460 * speedbar.el (speedbar-supported-extension-expressions):
11461 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11462
382c953b
JB
114632011-12-09 Juanma Barranquero <lekktu@gmail.com>
11464
11465 * printing.el (pr-mode-alist):
11466 * simple.el (filter-buffer-substring-functions)
11467 (completion-list-insert-choice-function):
11468 * window.el (window-with-parameter, window-atom-root)
11469 (window-sides-slots, window-size-fixed, window-min-delta)
11470 (window-max-delta, window--resize-mini-window)
11471 (window--resize-child-windows-normal, window-tree)
11472 (delete-other-windows, quit-window, split-window)
11473 (display-buffer-record-window, special-display-buffer-names)
11474 (special-display-regexps, special-display-popup-frame)
11475 (same-window-p, split-window-sensibly)
11476 (display-buffer-overriding-action, display-buffer-alist)
11477 (display-buffer-base-action, display-buffer, switch-to-buffer)
11478 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11479 (fit-window-to-buffer, recenter-positions)
11480 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11481 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11482 and remove unneeded backslashes in docstrings.
11483
39c9faef
SM
114842011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11485
98449af8
SM
11486 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11487
39c9faef
SM
11488 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11489 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11490 end in ".mk".
11491 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11492 when reading the makefile (bug#10116).
11493
86ed9fdc
SM
114942011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11495
11496 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11497 (bug#10116).
11498
5580f89d
GM
114992011-12-06 Glenn Morris <rgm@gnu.org>
11500
11501 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11502
28d3917c
CY
115032011-12-06 Chong Yidong <cyd@gnu.org>
11504
11505 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11506
a98edce9
JB
115072011-12-06 Juanma Barranquero <lekktu@gmail.com>
11508
11509 * textmodes/table.el (table-shorten-cell): Fix typo.
11510
e65adfac
CG
115112011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11512
11513 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11514
71cc0b74
EZ
115152011-12-05 Eli Zaretskii <eliz@gnu.org>
11516
11517 * descr-text.el (describe-char): Fix display of strong
11518 right-to-left characters and directional embeddings and overrides.
11519
11520 * simple.el (what-cursor-position): Fix display of codepoints of
11521 strong right-to-left characters.
11522
315bc30d
CY
115232011-12-05 Chong Yidong <cyd@gnu.org>
11524
11525 * faces.el (read-color): Doc fix.
11526
58a70b94
GM
115272011-12-05 Glenn Morris <rgm@gnu.org>
11528
11529 * align.el (align--set-marker): Add doc-string.
11530 Don't try to move something that is not a marker. (Bug#10216)
11531
5158face
GM
115322011-12-04 Glenn Morris <rgm@gnu.org>
11533
11534 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11535 overly zealous deletion of trailing whitespace.
11536
520fca41
JB
115372011-12-04 Juanma Barranquero <lekktu@gmail.com>
11538
11539 * server.el (server-delete-client): On Windows, do not try to delete
11540 the only terminal.
11541 (server-process-filter): On Windows, treat requests for a tty frame as
11542 if they were for a GUI frame if the running server is in GUI mode.
11543
5e605a2e
GM
115442011-12-03 Glenn Morris <rgm@gnu.org>
11545
11546 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11547
5c3fe83f
SM
115482011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11549
6f5e57e7
SM
11550 * electric.el: Streamline electric-indent's hook.
11551 (electric-indent-chars): Revert to simple list.
11552 (electric-indent-functions): New var.
11553 (electric-indent-post-self-insert-function): Use it.
11554
5c3fe83f
SM
11555 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11556 there's no inferior buffer (bug#10196).
11557 (prolog-consult-compile): Don't use toggle-read-only.
11558
6bdac736
MA
115592011-12-02 Michael Albinus <michael.albinus@gmx.de>
11560
11561 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11562 interrupt. (Bug#10187)
11563
6131ba7f
SM
115642011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11565
99c79fee
SM
11566 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11567 (bug#9160).
11568
6131ba7f
SM
11569 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11570 (bug#10191).
11571
cb0a02ea
JL
115722011-12-02 Juri Linkov <juri@jurta.org>
11573
11574 * info.el (Info-search): Display "end of manual" when Isearch
11575 reaches the end of single-file Info manual. (Bug#9918)
11576
66e0570c
EZ
115772011-12-02 Eli Zaretskii <eliz@gnu.org>
11578
11579 * isearch.el (isearch-message-prefix): Run the input method part
11580 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11581
02b16839
JL
115822011-12-02 Juri Linkov <juri@jurta.org>
11583
11584 * isearch.el (isearch-occur): Use `word-search-regexp' for
11585 `isearch-word'.
11586 (isearch-search-and-update): Add condition for `isearch-word' and
11587 call `word-search-regexp'. (Bug#10145)
11588
0b950688
GM
115892011-12-01 Glenn Morris <rgm@gnu.org>
11590
11591 * eshell/em-hist.el (eshell-hist-initialize):
11592 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11593 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11594
9505c3c7
SM
115952011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11598
1bbe96b2 115992011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11600
a1beca85
SM
11601 * progmodes/verilog-mode.el (verilog-pretty-expr):
11602 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11603 verilog, such as += *= and the like.
11604 (verilog-assignment-operator-re): Regular expression to find the
11605 assigment operator in a verilog assignment.
11606 (verilog-assignment-operation-re): Regular expression to find an
11607 assignment statement for pretty-expr.
11608 (verilog-in-attribute-p): Query returns true if point is in an
11609 attribute context; used to skip these for expression line up from
11610 pretty-expr.
11611 (verilog-in-parameter-p): Query returns true if point is in an
11612 parameter definition context; used to skip these for expression
11613 line up from pretty-expr.
11614 (verilog-in-parenthesis-p): Query returns true if point is in a
11615 parenthetical expression, specifically ( ) but not [ ] or { };
11616 used by pretty-expr.
11617 (verilog-just-one-space): If there is no space, don't add one.
11618 (verilog-get-lineup-indent-2): Specifically skip just attribute
11619 contexts for expression lineup, rather than skipping all
11620 parenthetical expressions.
11621 (verilog-calculate-indent): Fix comment, and fix indent.
11622 (verilog-do-indent): Indent declarations in lists (suggested by
11623 Joachim Lechner).
11624 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11625 skeleton items.
11626 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11627 by Alain Mellan).
11628
1bbe96b2 116292011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11630
11631 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11632 parameters with embedded comments. Reported by Ray Stevens.
11633 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11634 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11635 Reported by Tim Holt.
11636 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11637 instantiated by upper module causing wrong expansion until AUTOed a
11638 second time. Reported by K C Buckenmaier.
11639 (verilog-diff-auto): Fix showing .* as a difference when
11640 `verilog-auto-star-save' off. Reported by Dan Dever.
11641 (verilog-auto-reset, verilog-read-always-signals)
11642 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11643 temporary signals in reset list if
11644 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11645 style to each signal's assignment type, bug381.
11646 Reported by Thomas Esposito.
6288f0ca
WS
11647 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11648 (verilog-uvm-statement-re): Support UVM indentation and
11649 highlighting, with old OVM keywords only.
a1beca85 11650 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11651 Support AUTOTIEOFF creating non-wire data types.
11652 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11653 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11654 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11655 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11656 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11657 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11658 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11659 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11660 non-numeric vector width. Reported by Alex Reed.
11661 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11662 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11663 (verilog-auto-delete-trailing-whitespace):
11664 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11665 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11666 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11667 Fix verilog-scan-cache corruption when running user AUTO expansion
11668 hooks that call indentation routines.
11669 (verilog-simplify-range-expression): Fix typo ignoring lower case
11670 identifiers.
11671 (verilog-delete-auto): Fix delete-autos to also remove user created
11672 automatics, as long as they start with AUTO.
11673 (verilog-batch-diff-auto, verilog-diff-auto)
11674 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11675 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11676 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11677 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11678 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11679 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11680 is disabled and its cache will get corrupt, causing AUTOS not to
11681 expand. Instead use only -quick functions.
11682 (verilog-scan-region): Fix scanning over escaped quotes.
11683 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11684 (verilog-re-search-backward-quick)
11685 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11686 related functions now ignore strings, to fix misparsing of strings
11687 with magic comments embedded in them.
a1beca85
SM
11688 (verilog-read-auto-template):
11689 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11690 Reported by Brad Dobbie.
11691 (verilog-read-auto-template):
11692 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11693 Reported by Brad Dobbie.
6288f0ca
WS
11694 (verilog-auto-inst, verilog-auto-inst-param)
11695 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11696 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11697 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11698 debugging templates without merge conflicts, bug357.
11699 Reported by Brad Dobbie.
11700 (verilog-read-auto-template):
11701 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11702 Reported by Brad Dobbie.
11703 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11704 abbrevs so user won't be asked to save.
11705 (verilog-read-auto-lisp-present): Fix to start at beginning of
11706 buffer in case called outside of verilog-auto.
11707 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11708 to "X-2". Reported by Matthew Myers.
11709 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11710 all inputs from module templates. Reported by Leith Johnson.
11711 (verilog-module-inside-filename-p): Fix locating programs as with
11712 modules.
11713 (verilog-auto-inst-port): Fix vl-width expressions when using
11714 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11715 (verilog-decls-get-regs, verilog-decls-get-signals,
11716 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11717 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11718 verilog-read-decls): Combine reg and wire structures into one var
11719 structure to represent SystemVerilog concepts.
11720 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11721 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11722 (verilog-auto-wire-type, verilog-insert-definition):
11723 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11724 SystemVerilog "logic" keyword instead of "wire"/"reg".
11725 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11726 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11727 ifdef or generate if so there's not a driver conflict).
11728 Reported by Matthew Myers.
11729 (verilog-auto-declare-nettype, verilog-insert-definition):
11730 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11731 `default_nettype none. Reported by Julian Gorfajn.
11732 (verilog-read-always-signals-recurse, verilog-read-decls)
11733 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11734 malformed end statement, bug325. Reported by Joshua Wise and
11735 Andrew Drake.
11736 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11737 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11738 when expanding .* in interfaces, bug320.
11739 Reported by Pierre-David Pfister.
6288f0ca 11740 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11741 name and open parenthesis, bug317.
11742 Reported by Pierre-David Pfister.
6288f0ca
WS
11743 (verilog-simplify-range-expression): Fix simplification of
11744 multiplications inside AUTOWIRE connections, bug303.
11745 (verilog-auto-inst-port): Support parameter expansion in
11746 multidimensional arrays.
11747 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11748 after "assert property". Reported by Julian Gorfajn.
11749 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11750 with multiplication, bug303.
11751 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11752 Reported by Jan Frode Lonnum.
11753
1bbe96b2
GM
117542011-11-30 Juanma Barranquero <lekktu@gmail.com>
11755
11756 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11757 (hfy-shell-file-name, hfy-shell):
11758 * international/fontset.el (x-decompose-font-name): Fix typos.
11759
117602011-11-29 Ken Brown <kbrown@cornell.edu>
11761
11762 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11763 (gdb-version): Remove defvar.
11764 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11765 (gdb-gud-context-command, gdb-non-stop-handler)
11766 (gdb-current-context-command, gdb-stopped): Use it.
11767 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11768 (gdb-non-stop-handler): Don't enable pretty-printing here.
11769 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11770 non-stop mode. Use the following.
11771 (gdb-check-target-async): New defun.
11772 (gud-watch, gdb-stopped): Fix whitespace.
11773 (gdb-get-source-file): Don't try to display the source file if
11774 `gdb-main-file' is nil.
11775
117762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * align.el: Try to generate fewer markers (bug#10047).
11779 (align--set-marker): New macro.
11780 (align-region): Use it.
11781
c935221f
SM
117822011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11785
e70b5064
CY
117862011-11-29 Chong Yidong <cyd@gnu.org>
11787
11788 * indent.el (indent-for-tab-command, indent-according-to-mode):
11789 Doc fix.
11790 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11791
f3af92b7
MA
117922011-11-29 Michael Albinus <michael.albinus@gmx.de>
11793
11794 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11795 aware of remote file names. (Bug#10124)
11796
ed472be9
CY
117972011-11-29 Chong Yidong <cyd@gnu.org>
11798
11799 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11800
24510c22
SM
118012011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * files.el (find-file): Don't use force-same-window (bug#10144).
11804 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11805 use pop-to-buffer if the selected window can't be used.
11806 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11807
c60c3703
EZ
118082011-11-28 Eli Zaretskii <eliz@gnu.org>
11809
11810 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11811 special-mode-map.
11812
e95def75
CY
118132011-11-28 Chong Yidong <cyd@gnu.org>
11814
11815 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11816
c3f1c606
NR
118172011-11-27 Nick Roberts <nickrob@snap.net.nz>
11818
11819 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11820 gdb-get-source-file-list on gdb-create-source-file-list.
11821
00db469c
EZ
118222011-11-26 Eli Zaretskii <eliz@gnu.org>
11823
11824 * whitespace.el (whitespace-newline): Use a different foreground
11825 color for 16-color light-background displays.
11826
4ad3bc2a
CY
118272011-11-24 Chong Yidong <cyd@gnu.org>
11828
11829 * window.el (display-buffer--special-action): Doc fix.
11830
e9fce1ac
JB
118312011-11-25 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11834 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11835 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11836 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11837 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11838 (avl-tree-stack-first):
11839 * emacs-lisp/cconv.el (cconv--analyse-use):
11840 * net/gnutls.el (gnutls-negotiate): Fix typos.
11841
cb825e5d
GM
118422011-11-24 Glenn Morris <rgm@gnu.org>
11843
3adbe224
GM
11844 * lpr.el (lpr-windows-system, lpr-lp-system):
11845 * mail/binhex.el (binhex-begin-line):
11846 * progmodes/grep.el (grep-history, grep-find-history):
11847 * textmodes/flyspell.el:
11848 * vc/pcvs-defs.el (cvs-global-menu):
11849 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11850 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11851 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11852
321decc8
GM
11853 * net/tls.el: Fix case of "GnuTLS".
11854
420b63ad
GM
11855 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11856
cb825e5d
GM
11857 * version.el (emacs-build-system): Give it a doc-string.
11858
a0649f08
JL
118592011-11-24 Juri Linkov <juri@jurta.org>
11860
11861 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11862
c0bc0fd4
GM
118632011-11-24 Glenn Morris <rgm@gnu.org>
11864
11865 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11866 if called on a non-mime message just toggle the headers. (Bug#8006)
11867
20db1522
JB
118682011-11-24 Juanma Barranquero <lekktu@gmail.com>
11869
11870 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11871 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11872 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11873 (allout-rebullet-heading, allout-open-sibtopic)
11874 (allout-toggle-current-subtree-encryption)
11875 (allout-toggle-subtree-encryption, allout-encrypt-string)
11876 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11877 (allout-distinctive-bullets-string, allout-auto-activation):
11878 * window.el (window-normalize-buffer-to-display):
11879 * progmodes/verilog-mode.el (verilog-batch-indent):
11880 * textmodes/bibtex.el (bibtex-field-braces-opt)
11881 (bibtex-field-strings-opt):
11882 * vc/cvs-status.el (cvs-tree-merge):
11883 Fix typos.
11884
7262a87c
MA
118852011-11-23 Michael Albinus <michael.albinus@gmx.de>
11886
11887 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11888 `non-essential' to t, in order to avoid remote connections.
11889
283430a1
EZ
118902011-11-23 Eli Zaretskii <eliz@gnu.org>
11891
a1beca85
SM
11892 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11893 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11894 case-insensitively.
11895
d2992a38
ML
118962011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11897
11898 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11899
50419064
GM
119002011-11-23 Glenn Morris <rgm@gnu.org>
11901
da94eca1
GM
11902 * paths.el (rmail-file-name): Reformat the doc-string so that it
11903 is picked up.
11904
9aac4de2
GM
11905 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11906 (rmail-auto-file): Ignore case in the "special" field names,
11907 as mail-fetch-field does for all others.
11908
8038d2d2
GM
11909 * mail/rmail.el (rmail-forward):
11910 * mail/rmailkwd.el (rmail-set-label):
11911 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11912 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11913
f3fe222a
GM
11914 * mail/rmail.el (rmail-current-message): Doc fix.
11915
50419064
GM
11916 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11917
28109f49
SM
119182011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11921
394c65f1
GM
119222011-11-22 Glenn Morris <rgm@gnu.org>
11923
11924 * mail/rmailmm.el (test-rmail-mime-handler)
11925 (test-rmail-mime-bulk-handler)
11926 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11927
f2a0aa3a
JL
119282011-11-21 Juri Linkov <juri@jurta.org>
11929
1154d12e
JB
11930 * calc/calc.el (calc-read-key-sequence):
11931 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11932
9c34a344
LMI
119332011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11934
11935 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11936 Tell the caller that the next line needs recomputation, even
11937 though it doesn't start a sexp (bug#10094).
11938
f04a3be9
SM
119392011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11942
7978747f
SM
119432011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11944
f04a3be9
SM
11945 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11946 Use force-same-window.
7978747f 11947
fe7a3057
JB
119482011-11-20 Juanma Barranquero <lekktu@gmail.com>
11949
11950 * descr-text.el (describe-char-unicode-data):
11951 * json.el (json-string-escape):
11952 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11953 (Footnote-unicode, Footnote-style-p):
11954 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11955
24901d61
CY
119562011-11-20 Chong Yidong <cyd@gnu.org>
11957
11958 * window.el (replace-buffer-in-windows): Restore interactive spec.
11959
bac7ff22
SM
119602011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11961
24f3d7b9
SM
11962 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11963
bac7ff22
SM
11964 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11965 (byte-compile-global-not-obsolete-vars): New var.
11966 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11967 Use it.
11968 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11969
cd1181db
JB
119702011-11-20 Juanma Barranquero <lekktu@gmail.com>
11971
11972 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11973 * progmodes/pascal.el (electric-pascal-equal):
11974 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11975 * xml.el (xml-substitute-special): Fix typos.
11976
7fb18e9e
GM
119772011-11-20 Glenn Morris <rgm@gnu.org>
11978
11979 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11980 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11981 Doc fixes.
11982 (rmail-decode-mime-charset): Mark as obsolete.
11983
11984 * mail/rmailsum.el (rmail-message-regexp-p-1):
11985 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11986 Before using mime functions, check they are set. (Bug#10077)
11987
d5a6b3ba
JL
119882011-11-19 Juri Linkov <juri@jurta.org>
11989
11990 * info.el (Info-finder-find-node): Use `package--builtins' instead
11991 of `package-alist'. Use node names formed by the pattern "Keyword "
11992 and the keyword name.
11993
e981b61f
AS
119942011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11995
1d00653d 11996 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11997
3ffbc301
JL
119982011-11-19 Juri Linkov <juri@jurta.org>
11999
12000 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12001 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12002 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12003 `old-history', `old-history-forward'. Add let-binding
12004 `window-selected'. Remove calls to `kill-buffer',
12005 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12006 before calling `Info-find-node', so `Info-find-node-2' will reread
12007 the Info file. Restore window positions only when `window-selected'
12008 is non-nil.
12009
30c62133
JL
120102011-11-19 Juri Linkov <juri@jurta.org>
12011
12012 * isearch.el (isearch-lazy-highlight-new-loop):
12013 Remove condition `(not isearch-error)'. (Bug#9918)
12014
12015 * misearch.el (multi-isearch-search-fun): Add condition
12016 `(not bound)' to ignore lazy-highlighting search.
12017 Add the search-failed message "end of multi" when the end of
12018 multi-sequence is reached. Uncapitalize the search-failed
12019 message "Repeat for next buffer".
12020
12021 * info.el (Info-search): Add the search-failed message
12022 "end of the manual" when the end of the manual is reached
12023 in Isearch mode.
12024
645ca9cf
JL
120252011-11-19 Juri Linkov <juri@jurta.org>
12026
12027 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12028 Use non-destructive `remove' instead of `delete' because
12029 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12030 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12031
df754f66
JL
120322011-11-19 Juri Linkov <juri@jurta.org>
12033
12034 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12035 to nil instead of binding `search-ring' and `regexp-search-ring'.
12036 (Bug#9185)
12037
0e23d96a
EZ
120382011-11-19 Eli Zaretskii <eliz@gnu.org>
12039
12040 * simple.el (line-move): Force movement by logical lines for any
12041 hscrolled window, not only when auto-hscroll-mode is on.
12042 (line-move-visual): Update doc string to that effect. (Bug#10076)
12043
8a6ccb66
AS
120442011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12045
12046 * language/european.el (macintosh): Define as alias for mac-roman.
12047
49ae5b39
EZ
120482011-11-19 Eli Zaretskii <eliz@gnu.org>
12049
12050 * mail/rmailmm.el (rmail-mime-display-header)
12051 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12052 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12053 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12054 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12055 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12056 of a raw aref.
12057 (rmail-mime-entity-segment): To get past the tagline, move forward
12058 2 more lines, to account for the 2 empty lines that precede and
12059 follow the line with the buttons.
12060 (rmail-mime-update-tagline): Move one more line, to get past the
12061 empty line that follows the buttons in the tagline. (Bug#9520)
12062
c56cad4a
MR
120632011-11-19 Martin Rudalics <rudalics@gmx.at>
12064
12065 * window.el (window-max-delta-1, window-min-delta-1)
12066 (window-min-size-1, window-state-get-1, window-state-put-1)
12067 (window-state-put-2): Use "window--" prefix.
12068
cbe71af3
SM
120692011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12070
2ad52c60
SM
12071 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12072 (smie-warning-count): New var.
12073 (smie-set-prec2tab): Use it.
12074 (smie-bnf->prec2): Improve warnings. Add docstring.
12075 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12076 (smie-bnf--set-class): New function.
12077 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12078 corner case.
12079
6944dbc1
SM
12080 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12081 (compilation-error-properties, compilation-move-to-column):
12082 Handle compilation-first-column while in the target buffer.
12083
c400c4d7
SM
12084 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12085 Don't hardcode point-min==1.
12086
6dbe3e96
SM
12087 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12088 (eshell-rewrite-for-command): Remove workaround.
12089 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12090 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12091 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12092
cbe71af3
SM
12093 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12094
a8e1496d
GM
120952011-11-17 Glenn Morris <rgm@gnu.org>
12096
12097 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12098 Ignore buffer-local generated-autoload-file if it is the same
12099 as the global value. (Bug#10049)
12100
df85d315
JB
121012011-11-17 Juanma Barranquero <lekktu@gmail.com>
12102
12103 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12104 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12105 (reftex-toc-previous-heading, reftex-toc-max-level)
12106 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12107 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12108 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12109 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12110 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12111 (reftex-toc-rename-label, reftex-toc-visit-location)
12112 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12113 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12114 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12115 leaving "*toc*" only for references to the buffer.
12116
a0c2d0ae
MR
121172011-11-17 Martin Rudalics <rudalics@gmx.at>
12118
12119 * window.el (window-resize, delete-window, split-window):
12120 Replace window-splits by window-combination-resize.
1d00653d 12121 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12122
35c0bac8
GM
121232011-11-17 Glenn Morris <rgm@gnu.org>
12124
12125 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12126 Make bash entry derive from sh entry, not shell entry.
12127
d0c8fc8a
MA
121282011-11-16 Michael Albinus <michael.albinus@gmx.de>
12129
7262a87c
MA
12130 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12131 local file name.
12132
7877f373
JB
121332011-11-16 Juanma Barranquero <lekktu@gmail.com>
12134
12135 * menu-bar.el (menu-bar-file-menu):
12136 * printing.el (pr-ps-utility):
12137 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12138 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12139 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12140 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12141 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12142 (icalendar--convert-cyclic-to-ical)
12143 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12144 (icalendar--convert-ical-to-diary)
12145 (icalendar--convert-recurring-to-diary)
12146 (icalendar--convert-non-recurring-all-day-to-diary)
12147 (icalendar-import-format-sample):
12148 * progmodes/idlw-shell.el (idlwave-shell-mode):
12149 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12150 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12151 (vhdl-ps-print-init): Fix typos.
12152
10649b82
KM
121532011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12154
9d0cfcd6
GM
12155 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12156 FSF and collapse date sequence, obscure author/maintainer email address
12157 better, remove extra version line, track relocation of author's webpage.
10649b82 12158
9d0cfcd6
GM
12159 * progmodes/python.el (python-pdbtrack-input-prompt)
12160 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12161 regular python pdb prompts. Adjustments shamelessly taken exactly as
12162 suggested in EmacsWiki page (tiny change):
12163 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12164
58179cce
JB
121652011-11-16 Juanma Barranquero <lekktu@gmail.com>
12166
12167 * expand.el (expand-pos, expand-index, expand-point):
12168 Remove redundant info from docstring.
12169 (expand-add-abbrevs): Doc fix.
12170 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12171 (expand-sample-perl-mode-expand-list): Fix typos.
12172
12173 * net/dbus.el (dbus-event-member-name):
12174 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12175 * term/pc-win.el (msdos-create-frame-with-faces):
12176 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12177
b6f67890
MR
121782011-11-16 Martin Rudalics <rudalics@gmx.at>
12179
12180 * window.el (split-window, window-state-get-1)
12181 (window-state-put-1, window-state-put-2): Rename occurrences of
12182 window-nest to window-combination-limit.
1d00653d 12183 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12184
ce7ddba0
CY
121852011-11-16 Chong Yidong <cyd@gnu.org>
12186
12187 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12188 regexp (Bug#10033).
12189
3ae704f4
SM
121902011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12191
12192 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12193 `completing-read' will remove *Completions* and will preserve
12194 current-buffer for us.
12195 (tmm-add-prompt): Users of *Completions* will always (re)set its
12196 major mode.
12197 (tmm-old-comp-map): Remove.
12198
6ad1cdde
GM
121992011-11-16 Glenn Morris <rgm@gnu.org>
12200
12201 * mail/rmailedit.el: Require rmailmm when compiling.
12202 (rmail-old-mime-state): New declaration.
12203 (rmail-edit-current-message): If editing a mime message,
12204 edit the "raw" message from the mbox buffer.
12205 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12206
d20faa20
GM
122072011-11-15 Glenn Morris <rgm@gnu.org>
12208
12209 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12210 which wasn't being used. Add optional arg to force given state.
12211 (rmail-mime): Add optional arg to force given state.
12212
c7015153
JB
122132011-11-15 Juanma Barranquero <lekktu@gmail.com>
12214
12215 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12216 * frame.el (display-mm-dimensions-alist):
12217 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12218 (outline-move-subtree-down):
12219 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12220 (newsticker--treeview-do-get-node):
12221 * net/quickurl.el (quickurl-list-buffer-name):
12222 * progmodes/dcl-mode.el (dcl-mode):
12223 * progmodes/gdb-mi.el (gdb-mapcar*):
12224 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12225
45261b50
GM
122262011-11-15 Glenn Morris <rgm@gnu.org>
12227
12228 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12229 in a boolean sense, so just make it a boolean, and fix the doc.
12230 (rmail-show-mime-function, rmail-mime-feature)
12231 (rmail-require-mime-maybe): Doc fixes.
12232 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12233
12234 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12235
0d26e0b6
JB
122362011-11-15 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12239 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12240 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12241 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12242
447f30f6
GM
122432011-11-15 Glenn Morris <rgm@gnu.org>
12244
672b871d
GM
12245 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12246 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12247 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12248 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12249 (rmail-mime, rmail-show-mime): Doc fixes.
12250
f6aa5bb1
GM
12251 * term/ns-win.el (mode-line-frame-identification):
12252 Leave it alone. (Bug#10051)
12253
947cd66b
GM
12254 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12255
447f30f6
GM
12256 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12257 Handle empty buffers. (Bug#9978)
12258
0b381c7e
JB
122592011-11-14 Juanma Barranquero <lekktu@gmail.com>
12260
12261 * international/mule.el (define-charset):
12262 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12263 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12264 * progmodes/verilog-mode.el (verilog-backward-token):
12265 * textmodes/ispell.el (lookup-words):
12266 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12267
71e027ac
GM
122682011-11-14 Glenn Morris <rgm@gnu.org>
12269
56632ce4
GM
12270 * progmodes/executable.el
12271 (executable-make-buffer-file-executable-if-script-p):
12272 Handle file-modes returning nil.
12273
40500957
GM
12274 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12275 message - not necessary, and causes problems. (Bug#9831)
12276
071c2340
GM
12277 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12278
d3cfca60
GM
12279 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12280
71e027ac
GM
12281 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12282 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12283 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12284
89d61221
MR
122852011-11-12 Martin Rudalics <rudalics@gmx.at>
12286
12287 * window.el (window-resize, delete-window): Use window-splits
12288 variable instead of function.
12289 (window-state-get-1, window-state-put-2, window-state-put):
12290 Don't deal with windows' splits status.
12291
98282f6f
GM
122922011-11-12 Glenn Morris <rgm@gnu.org>
12293
12294 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12295 (apropos-documentation): Doc fixes.
12296
40a8bdf6
JB
122972011-11-11 Juanma Barranquero <lekktu@gmail.com>
12298
12299 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12300 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12301
65bd19ff
SM
123022011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * electric.el (electric-indent-post-self-insert-function): Make it
12305 possible for a char to only indent in some circumstances.
12306 (electric-indent-mode): Simplify.
12307
54f9154c
MR
123082011-11-11 Martin Rudalics <rudalics@gmx.at>
12309
12310 * window.el (windows-with-parameter): Remove unused function.
12311 (windows-at-side): Rename to window-at-side-list.
12312 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12313 (window-side-check, window-size-ignore, window-size-fixed-1)
12314 (window-in-direction-2): Prefix with "window--".
12315 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12316
68cbc58b
GM
123172011-11-11 Glenn Morris <rgm@gnu.org>
12318
12319 * subr.el (eval-after-load): If FILE is already loaded,
12320 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12321
b2621720
GM
123222011-11-10 Glenn Morris <rgm@gnu.org>
12323
9a4de110
GM
12324 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12325 Call svn via vc-svn-command rather than vc-do-command.
12326 (vc-svn-command): Add --non-interactive. (Bug#9993)
12327 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12328
b2621720
GM
12329 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12330 Add toggle-read-only. (Bug#7292)
12331 * files.el (toggle-read-only): Mention that it should only
12332 be used interactively. (Bug#10006)
12333
1dce7193
SM
123342011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12335
d9ac1a1e
SM
12336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12337 Adjust regexp for OCaml warnings.
12338
0c325082
SM
12339 * electric.el (electric-pair-post-self-insert-function): Let user
12340 turn it off buffer-locally (bug#9932).
12341
90132c14
SM
12342 * progmodes/python.el (python-beginning-of-statement):
12343 Rewrite (bug#2703).
12344
1dce7193
SM
12345 * progmodes/compile.el: Better handle TABs (bug#9749).
12346 (compilation-internal-error-properties)
12347 (compilation-next-error-function): Obey the target buffer's
12348 compilation-error-screen-columns.
12349
c4e7c63a
JB
123502011-11-09 Juanma Barranquero <lekktu@gmail.com>
12351
12352 * progmodes/meta-mode.el: Remove obsolete comments.
12353 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12354 Fix typos in docstrings.
12355
2cffd681
MR
123562011-11-09 Martin Rudalics <rudalics@gmx.at>
12357
12358 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12359 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12360 (window--resizable): New function. Make all callers of
12361 window-resizable call window--resizable instead.
12362 (window-resizable): Rewrite in terms of window--resizable.
12363
0edcba87
GM
123642011-11-08 Glenn Morris <rgm@gnu.org>
12365
12366 * progmodes/delphi.el (delphi-mode-syntax-table):
12367 Let define-derived-mode define a proper syntax table. (Bug#9994)
12368
4b0d61e3
SM
123692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * window.el: Stay away from defsubst.
12372 (window-list-no-nils): Remove.
12373 (window-state-get-1, window-state-get): Use backquote instead.
12374
cd394be1 123752011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12376
4b0d61e3 12377 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12378 Fix incorrect use of default argument in `completing-read'.
12379
e1c2c6f2
MR
123802011-11-08 Martin Rudalics <rudalics@gmx.at>
12381
12382 * window.el (display-buffer-function, special-display-function):
12383 Mention display-buffer-record-window but do not mention
12384 help-setup parameter in doc-strings.
b3f4a882 12385 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12386
105216ed
CY
123872011-11-08 Chong Yidong <cyd@gnu.org>
12388
12389 * window.el (window-total-height, window-total-width): Doc fix.
12390 (window-body-size): Move from C.
12391 (window-body-height, window-body-width): Move to C.
12392
0a9f9ab5
SM
123932011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12394
12395 * window.el: Make special-display like display-buffer-alist (bug#9532).
12396 (display-buffer--special-action): New function, morphed
12397 from display-buffer--special.
12398 (display-buffer): Use it to handle special-display-buffers at higher
12399 priority (just after display-buffer-alist).
12400 (display-buffer-fallback-action, display-buffer--other-frame-action)
12401 (pop-to-buffer-same-window): Remove display-buffer--special.
12402
a769dd15
GM
124032011-11-07 Glenn Morris <rgm@gnu.org>
12404
12405 * calendar/cal-menu.el (cal-menu-set-date-title):
12406 Do nothing if not in a calendar. (Bug#9976)
12407
05a61ee3
SM
124082011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 * files.el (find-file): Always use selected-window.
12411
be7f5545
MR
124122011-11-07 Martin Rudalics <rudalics@gmx.at>
12413
12414 * window.el (window-combinations): Make WINDOW argument
12415 mandatory. Rewrite doc-string.
12416 (walk-window-subtree, window-atom-check, window-min-delta)
12417 (window-max-delta, window--resize-this-window)
12418 (window--resize-root-window-vertically, window-tree)
12419 (balance-windows, window-state-put): Rewrite doc-strings as to
12420 not mention the term "subwindow".
12421 (window--resize-subwindows-skip-p): Rename to
12422 window--resize-child-windows-skip-p.
12423 (window--resize-subwindows-normal): Rename to
12424 window--resize-child-windows-normal.
12425 (window--resize-subwindows): Rename to
12426 window--resize-child-windows.
12427 (window-or-subwindow-p): Rename to window--in-subtree-p.
12428
3c6702ef
ML
124292011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12430
12431 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12432 Ensure that mbox format messages end in two newlines (Bug#9974).
12433
49745b39
CY
124342011-11-06 Chong Yidong <cyd@gnu.org>
12435
12436 * window.el (window-combination-p): Function deleted; its
12437 side-effect is not used in any existing code.
12438 (window-combinations, window-combined-p): Call window-*-child
12439 directly.
12440
24300f5f
CY
124412011-11-05 Chong Yidong <cyd@gnu.org>
12442
12443 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12444 (window-size-ignore, window-state-get): Callers changed.
12445 (window-normalize-window): Rename from window-normalize-any-window.
12446 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12447 (window-normalize-live-window): Delete.
447f16b8
CY
12448 (window-combination-p, window-combined-p, window-combinations)
12449 (walk-window-subtree, window-atom-root, window-min-size)
12450 (window-sizable, window-sizable-p, window-size-fixed-p)
12451 (window-min-delta, window-max-delta, window-resizable)
12452 (window-resizable-p, window-full-height-p, window-full-width-p)
12453 (window-current-scroll-bars, window-point-1, set-window-point-1)
12454 (window-at-side-p, window-in-direction, window-resize)
12455 (adjust-window-trailing-edge, maximize-window, minimize-window)
12456 (window-deletable-p, delete-window, delete-other-windows)
12457 (record-window-buffer, unrecord-window-buffer)
12458 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12459 (quit-window, split-window, window-state-put)
12460 (set-window-text-height, fit-window-to-buffer)
12461 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12462
89bd5ee1
EZ
124632011-11-04 Eli Zaretskii <eliz@gnu.org>
12464
53479029
EZ
12465 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12466 rfc2047-decode-string.
12467 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12468 warnings.
12469
89bd5ee1
EZ
12470 * window.el (window-body-height, window-body-width): Mention in
12471 the doc string that the return values are in frame's canonical
12472 units. (Bug#9949)
12473
bd17fdee
AM
124742011-11-03 Alan Mackenzie <acm@muc.de>
12475
12476 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12477 change in cc-engine.el.
12478
acc825c5
SM
124792011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12482
1885e5b8
MR
124832011-11-02 Martin Rudalics <rudalics@gmx.at>
12484
12485 * window.el (quit-window): Call unrecord-window-buffer after
12486 showing another buffer in the window. (Bug#9937)
acc825c5 12487 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12488
ebe06da9
JB
124892011-11-02 Juanma Barranquero <lekktu@gmail.com>
12490
12491 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12492 Accept status with more than 9 shelves. (Bug#9935)
12493 Reported by Colin D Bennett <colin@gibibit.com>.
12494
4ee88440
MR
124952011-11-01 Martin Rudalics <rudalics@gmx.at>
12496
12497 * help.el (with-help-window): Don't reference
12498 temp-buffer-show-specifiers in doc-string.
12499
08e1d82c
AS
125002011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12501
12502 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12503 menu-item.
12504
84bd6e9e
VJL
125052011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12506
12507 * whitespace.el: New version 13.2.2.
12508 (whitespace-newline-mode): Disable properly. Reported by Sarah
12509 <EmacsWiki>.
12510
dba0634a
UJ
125112011-10-30 Ulf Jasper <ulf.jasper@web.de>
12512
12513 * net/newst-treeview.el: Remove "Time-stamp".
12514 (newsticker--group-manage-orphan-feeds): Do not call
12515 newsticker--treeview-tree-update.
db22a3c2
JB
12516 (newsticker-treeview-update, newsticker-treeview):
12517 Call newsticker--treeview-tree-update if necessary.
dba0634a 12518
3d8daefe
MR
125192011-10-30 Martin Rudalics <rudalics@gmx.at>
12520
12521 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12522 (window-iso-combinations): Remove "iso-" infix.
12523 Suggested by Chong Yidong.
3d8daefe
MR
12524 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12525 (window-max-delta-1, window-resize, window--resize-siblings)
12526 (window--resize-this-window, adjust-window-trailing-edge)
12527 (split-window, balance-windows-1)
12528 (shrink-window-if-larger-than-buffer):
12529 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12530 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12531
1bc4c3ae
SM
125322011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12535 in place (bug#9907).
12536 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12537 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12538 (eshell-structure-basic-command, eshell-rewrite-while-command)
12539 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12540 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12541 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12542 (eshell-do-pipelines-synchronously, eshell-eval-command):
12543 Use backquotes and prefer setq to set.
12544 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12545 (eshell-macrop): Use functionp.
c1e2f5fa 12546 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12547
30b65d9c
CY
125482011-10-30 Chong Yidong <cyd@gnu.org>
12549
12550 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12551 instead of set-mark (Bug#9810).
12552
2d197ffb
CY
125532011-10-30 Chong Yidong <cyd@gnu.org>
12554
12555 * window.el (split-window-below, split-window-right): Rename from
12556 split-window-above-each-other and split-window-side-by-side
12557 respectively. All callers changed.
12558 (split-window-sensibly, split-window-sensibly): Use them.
12559 (split-window-keep-point): Doc fix.
12560
12561 * isearch.el: Add isearch-scroll property to split-window-below
12562 and split-window-right.
12563
12564 * follow.el (follow-mode):
12565 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12566 * progmodes/ada-xref.el (ada-gdb-application):
12567 * emulation/vip.el (vip-buffer-in-two-windows):
12568 * image-dired.el (image-dired-dired-with-window-configuration):
12569 * dired-x.el (dired-do-find-marked-files):
12570 * dired.el (dired-pop-to-buffer):
12571 * bs.el (bs--show-with-configuration):
12572 * vc/emerge.el (emerge-setup-windows):
12573 * textmodes/two-column.el (2C-two-columns):
12574 * textmodes/reftex-toc.el (reftex-toc):
12575 * progmodes/gdb-mi.el (gdb-setup-windows):
12576 * progmodes/fortran.el (fortran-window-create):
12577 * net/newst-treeview.el (newsticker--treeview-window-init):
12578 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12579 * emulation/tpu-edt.el (tpu-gold-map):
12580 * emulation/crisp.el (crisp-mode-map):
12581 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12582
38bb2ca8
CY
125832011-10-29 Chong Yidong <cyd@gnu.org>
12584
aa4de341
CY
12585 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12586
e1eb5385
CY
12587 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12588
5d2ece3c
CY
12589 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12590 forged Ispell output (Bug#7904).
12591
38bb2ca8
CY
12592 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12593
d0af9f77
SM
125942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * doc-view.el: Avoid ugly errors about not finding nil.
12597 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12598 (doc-view-dvipdf-program, doc-view-unoconv-program)
12599 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12600 Avoid nil or absolute file name as default value.
12601 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12602
52bedd34
AM
126032011-10-28 Alan Mackenzie <acm@muc.de>
12604
db22a3c2 12605 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12606
7e43cfa5
AM
126072011-10-28 Alan Mackenzie <acm@muc.de>
12608
12609 Amend the handling of c-beginning/end-of-defun in nested declaration
12610 scopes.
12611
52bedd34
AM
12612 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12613 cc-langs.el. Change it to a defcustom.
7e43cfa5 12614
52bedd34
AM
12615 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12616 cc-vars.el.
7e43cfa5 12617
d0af9f77
SM
12618 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12619 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12620
52bedd34 12621 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12622 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12623 (c-widen-to-enclosing-decl-scope): New function.
12624 (c-while-widening-to-decl-block): New macro.
12625 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12626 outward for defun boundaries, and correspondingly change symbol
12627 `respect-enclosure' to `go-outward'.
12628 (c-declaration-limits): Change algorithm to report only the "innermost"
12629 defun's boundaries.
12630
1a2ce9ee
DD
126312011-10-28 Deniz Dogan <deniz@dogan.se>
12632
12633 * net/rcirc.el (rcirc-mode): Use hard newlines.
12634
bc97a826
AM
126352011-10-28 Alan Mackenzie <acm@muc.de>
12636
12637 Amend to indent and fontify macros "which include their own semicolon"
12638 correctly, using the "virtual semicolon" mechanism.
12639
52bedd34 12640 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12641
d0af9f77 12642 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12643 Recode to scan one line at a time rather than having \n and \r
58179cce 12644 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12645 (c-forward-label): Amend for virtual semicolons.
58179cce 12646 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12647
52bedd34
AM
12648 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12649 of the new C macros.
bc97a826 12650
52bedd34 12651 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12652 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12653 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12654 (c-opt-cpp-macro-define): Make into a full language variable.
12655 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12656 AWK Mode (including \n, \r) removed, no longer needed.
12657
d0af9f77
SM
12658 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12659 Invoke c-make-macro-with-semi-re.
bc97a826 12660
52bedd34
AM
12661 * progmodes/cc-vars.el (c-macro-with-semi-re):
12662 (c-macro-names-with-semicolon): New variables.
58179cce 12663 (c-make-macro-with-semi-re): New function.
bc97a826 12664
7a6c0941
SM
126652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12666
12667 * vc/log-edit.el: Fill empty field rather than adding new one.
12668 (log-edit-add-field): New function.
12669 (log-edit-insert-changelog): Use it.
12670
b0c4cdcf
ML
126712011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12672
12673 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12674
ee1f1da9
SM
126752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12678 (gdb--check-interpreter): New function.
12679 (gdb): Use it.
12680
51bc5f8b
GM
126812011-10-27 Glenn Morris <rgm@gnu.org>
12682
416a2c45
GM
12683 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12684 (least-positive-float, least-negative-float)
12685 (least-positive-normalized-float, least-negative-normalized-float)
12686 (float-epsilon, float-negative-epsilon):
12687 Remove unnecessary declarations.
12688
12689 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12690 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12691 (least-positive-float, least-negative-float)
12692 (least-positive-normalized-float, least-negative-normalized-float)
12693 (float-epsilon, float-negative-epsilon): Add doc-strings,
12694 based on those in cl.texi.
12695
51bc5f8b
GM
12696 * files.el (set-visited-file-name): If the major-mode changed,
12697 reload the local variables. (Bug#9796)
12698
15de15c6
CY
126992011-10-27 Chong Yidong <cyd@gnu.org>
12700
12701 * subr.el (change-major-mode-after-body-hook): New hook.
12702 (run-mode-hooks): Run it.
12703
ee1f1da9
SM
12704 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12705 Use change-major-mode-before-body-hook.
15de15c6
CY
12706
12707 * simple.el (fundamental-mode):
12708 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12709 change introducing fundamental-mode-hook.
12710
5430d399
JB
127112011-10-26 Juanma Barranquero <lekktu@gmail.com>
12712
acc825c5 12713 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12714
ad74a69e
MA
127152011-10-26 Michael Albinus <michael.albinus@gmx.de>
12716
12717 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12718 tramp.el explicitly. (Bug#7583)
ad74a69e 12719
71d4c2a5
SM
127202011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * progmodes/octave-mod.el:
12723 * progmodes/octave-inf.el: Update maintainer.
12724
b1f6fa26
CY
127252011-10-26 Chong Yidong <cyd@gnu.org>
12726
12727 * subr.el (with-wrapper-hook): Rewrite doc.
12728
3f04efd6
MA
127292011-10-25 Michael Albinus <michael.albinus@gmx.de>
12730
12731 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12732 filenames "/method:foo:". (Bug#9793)
3f04efd6 12733
410488d3
SM
127342011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12737 (bug#9865).
12738
c1ebb47e
GM
127392011-10-24 Glenn Morris <rgm@gnu.org>
12740
12741 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12742
7f5c46c7
MA
127432011-10-24 Michael Albinus <michael.albinus@gmx.de>
12744
12745 * notifications.el: Add the requirement of a running D-Bus session
12746 bus to the Commentary.
12747
db2440b6
JL
127482011-10-24 Juri Linkov <juri@jurta.org>
12749
12750 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12751 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12752 (Bug#9364)
12753
feecf435
JL
127542011-10-24 Juri Linkov <juri@jurta.org>
12755
12756 * info.el (Info-following-node-name-re): Add newline to the list
12757 of allowed characters for leading space. (Bug#9824)
12758
a3839de2
SM
127592011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12760
acc825c5
SM
12761 * progmodes/octave-inf.el (inferior-octave-mode-map):
12762 Fix C-c C-h binding.
a3839de2
SM
12763 * progmodes/octave-mod.el (octave-help): Remove.
12764
09388e76
MA
127652011-10-23 Michael Albinus <michael.albinus@gmx.de>
12766
12767 Sync with Tramp 2.2.3.
12768
12769 * net/tramp-cache.el (top): Pacify byte-compiler using
12770 `init-file-user' and `site-run-file'.
12771
12772 * net/trampver.el: Update release number.
12773
86c60681
CY
127742011-10-23 Chong Yidong <cyd@gnu.org>
12775
12776 * files.el (toggle-read-only): Remove obsolete comment about
12777 version control.
12778
12779 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12780 for toggle-read-only. Note that this hasn't called vc-next-action
12781 since 2008-05-02, though it wasn't documented at the time.
12782
a3839de2
SM
12783 * vc/ediff-init.el (ediff-toggle-read-only-function):
12784 Use toggle-read-only.
86c60681 12785
cd5495ff
AM
127862011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12787
12788 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12789 of c-parse-state.
12790
00b77525 12791 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12792 correct faulty logical expression.
cd5495ff
AM
12793 (c-parse-state-state, c-record-parse-state-state):
12794 (c-replay-parse-state-state): New defvar/defuns.
12795 (c-debug-parse-state): Use new functions.
12796
42ee24ed
MR
127972011-10-22 Martin Rudalics <rudalics@gmx.at>
12798
12799 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12800 last fix. Use window-in-direction correctly.
42ee24ed 12801
a7dee7e7
CY
128022011-10-21 Chong Yidong <cyd@gnu.org>
12803
12804 * progmodes/idlwave.el (idlwave-mode):
12805 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12806 require-final-newline; that's done in prog-mode.
12807 Suggested by Stefan Monnier.
a7dee7e7 12808
e07b9a6d
MR
128092011-10-21 Martin Rudalics <rudalics@gmx.at>
12810
12811 * mouse.el (mouse-drag-window-above)
12812 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12813 (mouse-drag-mode-line-1, mouse-drag-header-line)
12814 (mouse-drag-vertical-line-rightward-window): Remove.
12815 (mouse-drag-line): New function.
12816 (mouse-drag-mode-line, mouse-drag-header-line)
12817 (mouse-drag-vertical-line): Call mouse-drag-line.
12818 * window.el (window-at-side-p, windows-at-side): New functions.
12819
7e1361d9
UM
128202011-10-21 Ulrich Mueller <ulm@gentoo.org>
12821
12822 * tar-mode.el (tar-grind-file-mode):
12823 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12824
30fcaf3a
CY
128252011-10-21 Chong Yidong <cyd@gnu.org>
12826
12827 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12828 * progmodes/vera-mode.el (vera-mode):
12829 Use mode-require-final-newline.
30fcaf3a 12830
516eddb0
GM
128312011-10-20 Glenn Morris <rgm@gnu.org>
12832
db22a3c2 12833 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12834
10d5f513
CS
128352011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12836
12837 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12838
ac6c8639
CY
128392011-10-20 Chong Yidong <cyd@gnu.org>
12840
12841 * emulation/cua-base.el (cua-mode):
12842 * mail/footnote.el (footnote-mode):
12843 * mail/mailabbrev.el (mail-abbrevs-mode):
12844 * net/xesam.el (xesam-minor-mode):
12845 * progmodes/bug-reference.el (bug-reference-mode):
12846 * progmodes/cap-words.el (capitalized-words-mode):
12847 * progmodes/compile.el (compilation-minor-mode)
12848 (compilation-shell-minor-mode):
12849 * progmodes/gud.el (gud-tooltip-mode):
12850 * progmodes/hideif.el (hide-ifdef-mode):
12851 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12852 * progmodes/subword.el (subword-mode):
12853 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12854 * progmodes/which-func.el (which-function-mode):
12855 * term/tvi970.el (tvi970-set-keypad-mode):
12856 * term/vt100.el (vt100-wide-mode):
12857 * textmodes/flyspell.el (flyspell-mode):
12858 * textmodes/ispell.el (ispell-minor-mode):
12859 * textmodes/nroff-mode.el (nroff-electric-mode):
12860 * textmodes/paragraphs.el (use-hard-newlines):
12861 * textmodes/refill.el (refill-mode):
12862 * textmodes/reftex.el (reftex-mode):
12863 * textmodes/rst.el (rst-minor-mode):
12864 * textmodes/sgml-mode.el (html-autoview-mode)
12865 (sgml-electric-tag-pair-mode):
12866 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12867 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12868 * emulation/crisp.el (crisp-mode):
12869 * emacs-lisp/eldoc.el (eldoc-mode):
12870 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12871 minor mode behavior.
12872
aa42ab43
JL
128732011-10-19 Juri Linkov <juri@jurta.org>
12874
12875 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12876 the list of hard-coded chars with escape-glyph face.
12877
89400f1d
SM
128782011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12881
305c07f6
MA
128822011-10-19 Michael Albinus <michael.albinus@gmx.de>
12883
12884 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12885 running process.
12886
13754b54
GM
128872011-10-19 Glenn Morris <rgm@gnu.org>
12888
12889 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12890 Ignore ignored files. (Bug#9726)
12891
06e21633
CY
128922011-10-19 Chong Yidong <cyd@gnu.org>
12893
12894 Doc fix for minor modes, stating that an omitted argument enables
12895 the mode unconditionally when called from Lisp.
12896
12897 * abbrev.el (abbrev-mode):
12898 * allout.el (allout-mode):
12899 * autoinsert.el (auto-insert-mode):
12900 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12901 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12902 (global-auto-revert-mode):
12903 * battery.el (display-battery-mode):
12904 * composite.el (global-auto-composition-mode)
12905 (auto-composition-mode):
12906 * delsel.el (delete-selection-mode):
12907 * desktop.el (desktop-save-mode):
12908 * dired-x.el (dired-omit-mode):
12909 * dirtrack.el (dirtrack-mode):
12910 * doc-view.el (doc-view-minor-mode):
12911 * double.el (double-mode):
12912 * electric.el (electric-indent-mode, electric-pair-mode):
12913 * emacs-lock.el (emacs-lock-mode):
12914 * epa-hook.el (auto-encryption-mode):
12915 * follow.el (follow-mode):
12916 * font-core.el (font-lock-mode):
12917 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12918 * help.el (temp-buffer-resize-mode):
12919 * hilit-chg.el (highlight-changes-mode)
12920 (highlight-changes-visible-mode):
12921 * hi-lock.el (hi-lock-mode):
12922 * hl-line.el (hl-line-mode, global-hl-line-mode):
12923 * icomplete.el (icomplete-mode):
12924 * ido.el (ido-everywhere):
12925 * image-file.el (auto-image-file-mode):
12926 * image-mode.el (image-minor-mode):
12927 * iswitchb.el (iswitchb-mode):
12928 * jka-cmpr-hook.el (auto-compression-mode):
12929 * linum.el (linum-mode):
12930 * longlines.el (longlines-mode):
12931 * master.el (master-mode):
12932 * mb-depth.el (minibuffer-depth-indicate-mode):
12933 * menu-bar.el (menu-bar-mode):
12934 * minibuf-eldef.el (minibuffer-electric-default-mode):
12935 * mouse-sel.el (mouse-sel-mode):
12936 * msb.el (msb-mode):
12937 * mwheel.el (mouse-wheel-mode):
12938 * outline.el (outline-minor-mode):
12939 * paren.el (show-paren-mode):
12940 * recentf.el (recentf-mode):
12941 * reveal.el (reveal-mode, global-reveal-mode):
12942 * rfn-eshadow.el (file-name-shadow-mode):
12943 * ruler-mode.el (ruler-mode):
12944 * savehist.el (savehist-mode):
12945 * scroll-all.el (scroll-all-mode):
12946 * scroll-bar.el (scroll-bar-mode):
12947 * server.el (server-mode):
12948 * shell.el (shell-dirtrack-mode):
12949 * simple.el (auto-fill-mode, transient-mark-mode)
12950 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12951 (line-number-mode, column-number-mode, size-indication-mode)
12952 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12953 * strokes.el (strokes-mode):
12954 * time.el (display-time-mode):
12955 * t-mouse.el (gpm-mouse-mode):
12956 * tool-bar.el (tool-bar-mode):
12957 * tooltip.el (tooltip-mode):
12958 * type-break.el (type-break-mode-line-message-mode)
12959 (type-break-query-mode):
12960 * view.el (view-mode):
12961 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12962 (global-whitespace-mode, global-whitespace-newline-mode):
12963 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12964
a3839de2
SM
12965 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12966 Fix autogenerated docstring.
06e21633 12967
5214e501
JL
129682011-10-19 Juri Linkov <juri@jurta.org>
12969
12970 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12971 by checking environment variables "DESKTOP_SESSION" and
12972 "XDG_CURRENT_DESKTOP". (Bug#9779)
12973
195f8db9
JL
129742011-10-19 Juri Linkov <juri@jurta.org>
12975
12976 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12977 (browse-url-chromium-program, browse-url-chromium-arguments):
12978 New defcustoms.
12979 (browse-url-default-browser): Check for `browse-url-chromium' and
12980 call `browse-url-chromium-program'.
12981 (browse-url-chromium): New command. (Bug#9779)
12982
343a34ff
JB
129832011-10-18 Juanma Barranquero <lekktu@gmail.com>
12984
12985 * facemenu.el (list-colors-duplicates): On Windows, detect more
12986 duplicates by assuming that only colors matching "^System" are
12987 special "system colors". (Bug#9722)
12988
6978a151
SM
129892011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12992 to distinguish the author from the committer.
12993
6a80b297
MA
129942011-10-18 Michael Albinus <michael.albinus@gmx.de>
12995
12996 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12997
b31a5677
JK
129982011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12999
13000 * international/mule.el (sgml-html-meta-auto-coding-function):
13001 Add support for detecting encoding in HTML5 specified only as
13002 <meta charset="UTF-8">. Implementation just makes http-equiv and
13003 content-type parts from HTML4 encoding string optional. (Bug#9716)
13004
80c6d77f
GM
130052011-10-18 Glenn Morris <rgm@gnu.org>
13006
13007 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13008
08b0fee8
CY
130092011-10-18 Chong Yidong <cyd@gnu.org>
13010
13011 * faces.el (cursor): Doc fix.
13012
67e729a5
CY
130132011-10-17 Chong Yidong <cyd@gnu.org>
13014
13015 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13016
343a34ff 130172011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13018
13019 * dirtrack.el (dirtrack): Support shell buffers with path
13020 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13021
0bc06380
TZ
130222011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13023
13024 * json.el: Bump version to 1.3 and note change in History.
13025 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13026
8b79f3e0
SM
130272011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13028
5a7c536b
SM
13029 * comint.el (comint-insert-input, comint-send-input)
13030 (comint-get-old-input-default, comint-backward-matching-input)
13031 (comint-next-prompt): Use nil instead of `input' for field property of
13032 past user input (bug#114).
13033
96a8a0df
SM
13034 * minibuffer.el (completion--replace): Inherit surrounding properties
13035 (bug#114).
13036 (minibuffer-complete-and-exit): Use it.
13037
8b79f3e0
SM
13038 * comint.el (comint--table-subvert): Quote the all-completions output
13039 (bug#9160).
13040
b8f7ff0d
MR
130412011-10-17 Martin Rudalics <rudalics@gmx.at>
13042
8b79f3e0 13043 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13044
b8f7ff0d 13045 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13046 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13047 entries and separate them from frame entries.
13048
c235b555
GM
130492011-10-15 Glenn Morris <rgm@gnu.org>
13050
13051 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13052 Doc fixes.
13053
6bbfa6e1
CY
130542011-10-15 Chong Yidong <cyd@stupidchicken.com>
13055
8b79f3e0
SM
13056 * net/network-stream.el (network-stream-open-starttls):
13057 Improve detection of failure due to lack of TLS support.
ec5c990d 13058
6bbfa6e1
CY
13059 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13060 putting the input text in front and in bold.
13061
98488977
SM
130622011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13063
3d1337be
SM
13064 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13065
ee0b45e4
SM
13066 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13067 empty buffer.
13068
98488977
SM
13069 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13070 unread-command-events rather than pushing yet-another event.
13071
186f4720
EZ
130722011-10-14 Eli Zaretskii <eliz@gnu.org>
13073
13074 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13075 the explanation of the possible choices. Make the options passed
13076 to completing-read shorter.
13077
8b7a997c
AM
130782011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13079
13080 * textmodes/flyspell.el (flyspell-large-region): Make sure
13081 extended character mode is used if defined (Bug#1339).
13082
12587bbb
EZ
130832011-10-13 Eli Zaretskii <eliz@gnu.org>
13084
13085 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13086 character info for LRE, LRO, RLE, and RLO characters by appending
13087 an invisible PDF.
12587bbb 13088
bad41229
SM
130892011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13090
13091 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13092 even in case of error; add debug spec; simplify data flow.
13093 (with-timeout-handler): Remove.
13094
28dbc92f
MA
130952011-10-12 Michael Albinus <michael.albinus@gmx.de>
13096
13097 Fix Bug#6019, Bug#9315.
13098
13099 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13100 complete `buffer-file-name', the local file name part could look
13101 remotely (for example on VMS).
13102
13103 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13104 `tramp-run-real-handler'.
13105 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13106 already quoted by '"'.
13107
13108 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13109 Let `file-name-handler-alist' be nil, the local file name part
13110 could look remotely (for example on VMS).
13111
e1b0b23a
SM
131122011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13115 from here...
13116 (flyspell-post-command-hook): ...to here.
13117
a120bde9
SM
131182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13121 if not needed.
13122 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13123 using completion. Protect against "slow" callers.
13124 Remove the "message hack".
13125
7ce7717b
JL
131262011-10-11 Juri Linkov <juri@jurta.org>
13127
13128 * isearch.el (isearch-lazy-highlight-word): New variable.
13129 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13130 Use it. (Bug#9727)
13131
c02ee9d6
GM
131322011-10-11 Glenn Morris <rgm@gnu.org>
13133
13134 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13135 like f90-previous-statement does.
13136
93e616fd 131372011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13138
1f190e73 13139 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13140 only in interactive use, to avoid error.
13141
af7b6078
SM
131422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * minibuffer.el (completion-file-name-table): Fix last change,
13145 i.e. ignore normal errors but not the other ones.
13146
0563dae9
MR
131472011-10-10 Martin Rudalics <rudalics@gmx.at>
13148
13149 * window.el (special-display-buffer-names)
13150 (special-display-regexps): Remove some remnants of earlier
13151 changes from doc-strings.
366ca7f3
MR
13152 (quit-windows-on): New function.
13153
13154 * vc/vc.el (vc-revert, vc-rollback):
13155 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13156 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13157 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13158
49677495
MR
131592011-10-09 Martin Rudalics <rudalics@gmx.at>
13160
13161 * window.el (frame-auto-hide-function): Add version tag.
13162 (Bug#9699)
13163
56f2d1e1
MA
131642011-10-09 Michael Albinus <michael.albinus@gmx.de>
13165
13166 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13167 condition.
13168
112a6592
LL
131692011-10-09 Leo Liu <sdl.web@gmail.com>
13170
13171 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13172 (Bug#9701)
13173
0812589b
GM
131742011-10-08 Glenn Morris <rgm@gnu.org>
13175
13176 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13177 before the first code statement zero indent. (Bug#9690)
13178
b2b0776e
CY
131792011-10-08 Chong Yidong <cyd@stupidchicken.com>
13180
13181 * simple.el (count-words-region): Always count in the region.
13182 Report the number of lines and characters too.
13183 (count-words): New command, which counts in the buffer if the
13184 region is inactive, as count-words-region used to.
13185 (count-words--message): New function. Handle plurals.
13186 (count-lines-region): Make it an alias for count-words-region.
13187
13188 * bindings.el (esc-map): Replace count-lines-region with
13189 count-words-region.
13190
c557cd6b
MR
131912011-10-08 Martin Rudalics <rudalics@gmx.at>
13192
13193 * window.el (window--delete): Delete dedicated frame
13194 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13195 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13196
61a57ef4 131972011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13198
3a7d293b 13199 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13200
c3833279
CY
132012011-10-07 Chong Yidong <cyd@stupidchicken.com>
13202
13203 * bindings.el ([M-left],[M-right]): Bind to left-word and
13204 right-word respectively.
13205
21ce8245
GM
132062011-10-07 Glenn Morris <rgm@gnu.org>
13207
13208 * cus-start.el (debug-on-quit): Fix custom type.
13209
6d823bb2
LMI
132102011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
0181e193
LMI
13212 * subr.el (define-key-after): Clarify that the function is not
13213 useful for non-menu keymaps.
13214
6d823bb2
LMI
13215 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13216
8e3459ce 132172011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13218
21ce8245 13219 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13220 in current minibuffer (Fix bug with recursive minibuffers).
13221
a1c2d21e
CY
132222011-10-06 Chong Yidong <cyd@stupidchicken.com>
13223
13224 * progmodes/gdb-mi.el (gdb): Doc fix.
13225
5a4cf282
MR
132262011-10-05 Martin Rudalics <rudalics@gmx.at>
13227
13228 * window.el (frame-auto-hide-function): New option replacing
13229 frame-auto-delete. Suggested by Stefan Monnier.
13230 (window--delete): Call frame-auto-hide-function instead of
13231 investigating frame-auto-delete.
c96111ea
MR
13232 (window-point-1, set-window-point-1): New functions.
13233 (window-in-direction, record-window-buffer, window-state-get-1)
13234 (display-buffer-record-window): Use window-point-1 instead of
13235 window-point.
13236 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13237
9854542e
SM
132382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13241
8943cfb0
GM
132422011-10-05 Glenn Morris <rgm@gnu.org>
13243
13244 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13245 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13246
647ab967
LL
132472011-10-05 Leo Liu <sdl.web@gmail.com>
13248
13249 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13250 works with buffer object.
13251
3ddfbced
SM
132522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * mpc.el (mpc-tool-bar-map): Add labels.
13255
bdfa5dd2
GM
132562011-10-04 Glenn Morris <rgm@gnu.org>
13257
13258 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13259
0e2070b5
MR
132602011-10-04 Martin Rudalics <rudalics@gmx.at>
13261
13262 * window.el (window--delete): New function.
13263 (frame-auto-delete): Resuscitate option.
13264 (bury-buffer, replace-buffer-in-windows)
13265 (quit-window): Rewrite using window--delete.
13266 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13267 Pass display-buffer-mark-dedicated to window--display-buffer-2
13268 (Bug#9639).
13269
3dc61a09
SM
132702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13271
915a9b64
SM
13272 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13273 returns a list (bug#9554). Add remote file name completion.
13274 * comint.el (comint--table-subvert): Curry and get quote&unquote
13275 functions as arguments.
13276 (comint--complete-file-name-data): Adjust call accordingly.
13277 * pcomplete.el (pcomplete--table-subvert): Remove.
13278 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13279
3dc61a09
SM
13280 * minibuffer.el (completion-table-case-fold): Use currying.
13281 (completion--styles-type, completion--cycling-threshold-type):
13282 New constants.
13283 (completion-styles, completion-category-overrides)
13284 (completion-cycle-threshold): Use them.
13285 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13286 completion-table-case-fold.
13287
8ea0a993
SB
132882011-10-03 Stephen Berman <stephen.berman@gmx.net>
13289
13290 * minibuffer.el (completion-category-overrides): Fix type of styles
13291 and add more user friendly tags (bug#9660).
13292
8c24b7f6
SM
132932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13296 (mule-input-method-string): New widget.
13297 (default-input-method, language-info-custom-alist): Use it.
13298
428fe61a
SM
132992011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13300
32c1fffd
SM
13301 * pcomplete.el: Require comint.
13302 (pcomplete--common-suffix): Remove.
13303 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13304 (pcomplete--table-subvert): Sync with comint--table-subvert.
13305 (pcomplete--entries): Use comint-completion-file-name-table.
13306 * comint.el (comint-unquote-filename): Simplify.
13307 (comint-completion-file-name-table): New function (bug#9616).
13308 (comint--complete-file-name-data): Use it.
13309
428fe61a
SM
13310 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13311 (pcmpl-gnu-tar-buffer): Remove.
13312 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13313 around. Make sure pcomplete-suffix-list is only changed temporarily.
13314 Don't look inside the tar's file if it's too large.
428fe61a 13315
04c52e2f
CY
133162011-10-01 Chong Yidong <cyd@stupidchicken.com>
13317
ce3cefcc
CY
13318 * cus-edit.el (custom-mode-map):
13319 * epa.el (epa-key-list-mode-map):
13320 * man.el (Man-mode-map):
13321 * startup.el (splash-screen-keymap):
13322 * simple.el (special-mode-map): Use scroll-up-command and
13323 scroll-down-command.
13324
13325 * progmodes/idlw-help.el (idlwave-help-mode-map):
13326 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13327 * net/newst-plainview.el (newsticker-mode-map):
13328 * emulation/ws-mode.el (wordstar-mode-map):
13329 * emulation/vi.el (vi-com-map):
13330 * calc/calc-graph.el (calc-graph-show-dumb):
13331 * term/sun.el (terminal-init-sun):
13332 * term/ns-win.el (global-map):
13333 * progmodes/grep.el (grep-mode-map):
13334 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13335 * mail/rmail.el (rmail-mode-map):
13336 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13337
04c52e2f
CY
13338 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13339 custom-safe-themes as special.
13340
79adf8c8
JD
133412011-10-01 Julien Danjou <julien@danjou.info>
13342
13343 * notifications.el (notifications-notify): Fix docstring.
13344
63bd50d3
PS
133452011-10-01 Per Starbäck <per@starback.se>
13346
13347 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13348
199e4c7e
MR
133492011-09-30 Martin Rudalics <rudalics@gmx.at>
13350
13351 * startup.el (command-line-1): Fix last fix by inserting
13352 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13353 (Bug#9605) and (Bug#9636)
199e4c7e 13354
fe5f08dd
EZ
133552011-09-29 Eli Zaretskii <eliz@gnu.org>
13356
13357 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13358 window is hscrolled, move by logical lines. (Bug#9607)
13359 (line-move-visual): Update the doc string to the above effect.
13360
b5516bbd
MR
133612011-09-29 Martin Rudalics <rudalics@gmx.at>
13362
ccee00c0
MR
13363 * window.el (display-buffer-record-window): When WINDOW is the
13364 selected window use `point' instead of `window-point'. (Bug#9626)
13365
b5516bbd
MR
13366 * startup.el (command-line-1): Use insert-before-markers when
13367 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13368
b5516bbd
MR
13369 * help.el (help-window): Remove variable.
13370
52aa0014
GM
133712011-09-29 Glenn Morris <rgm@gnu.org>
13372
13373 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13374
df9a7357
JB
133752011-09-29 Juanma Barranquero <lekktu@gmail.com>
13376
13377 * descr-text.el (describe-char-categories): Accept category
13378 descriptions more than one line long.
13379
a8406c20
SM
133802011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13381
88d9610c
SM
13382 * simple.el (delete-trailing-whitespace): Fix last change.
13383
a5daf810
SM
13384 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13385 Don't confuse "y => 3" as the beginning of a `y' operation.
13386
a8406c20
SM
13387 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13388 object has more than 4 slots (bug#9613).
13389
a239d4e9
JB
133902011-09-28 Juanma Barranquero <lekktu@gmail.com>
13391
13392 * subr.el (with-output-to-temp-buffer):
13393 * net/quickurl.el (quickurl, quickurl-browse-url):
13394 Fix typos in docstrings.
13395
693fbdb6
EZ
133962011-09-27 Eli Zaretskii <eliz@gnu.org>
13397
13398 * minibuffer.el (completion-styles)
13399 (completion-category-overrides): Cross reference each other in doc
13400 strings.
13401
8b457e28
GM
134022011-09-27 Glenn Morris <rgm@gnu.org>
13403
13404 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13405 to split-string. (Bug#9606)
13406
85a16208
LMI
134072011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13408
13409 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13410 (bug#9615).
13411
502f9ebd
CY
134122011-09-27 Chong Yidong <cyd@stupidchicken.com>
13413
13414 * emacs-lisp/package.el (list-packages): Fix echo area message.
13415
7690bdea
LL
134162011-09-27 Leo Liu <sdl.web@gmail.com>
13417
13418 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13419
e2ee6f30
MA
134202011-09-25 Michael Albinus <michael.albinus@gmx.de>
13421
13422 * net/dbus.el (dbus-unregister-object): Don't release services for
13423 registered signals. (Bug#9581)
13424
f3f98342
TZ
134252011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13426
13427 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13428 function that picks between cfengine 2 and 3 support
13429 automatically. Update docs accordingly.
13430
dd7aa8dd
KH
134312011-09-22 Kenichi Handa <handa@m17n.org>
13432
13433 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13434 ZERO.
13435 (indian-itrans-v5-table-for-tamil): New variable.
13436 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13437
3f2b07f8
KM
134382011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13439
13440 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13441 that's true if the current command involved collapsing of text.
13442 It's reset to false at the beginning of the next command.
13443 (allout-post-command-business): Move the cursor to the beginning
13444 of entry if the cursor is hidden and collapsing activity just
13445 happened.
13446
371d6a61
CY
134472011-09-24 Chong Yidong <cyd@stupidchicken.com>
13448
13449 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13450 tracking (Bug#9541).
13451
2ac2721a
UJ
134522011-09-24 Ulf Jasper <ulf.jasper@web.de>
13453
13454 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13455 (newsticker-show-news): Automatically load html rendering package
13456 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13457 because w3m-fill-column is let-bound" and the error "Symbol's value
13458 as variable is void: w3m-fill-column".
2ac2721a 13459
fac7ae53
MA
134602011-09-24 Michael Albinus <michael.albinus@gmx.de>
13461
13462 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13463 Release services only if they are defined. (Bug#9581)
13464
e08b633b
RS
134652011-09-23 Richard Stallman <rms@gnu.org>
13466
e488d29c
RS
13467 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13468 distinguish start of paragraph from start of its text.
13469
19c38752
RS
13470 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13471
e08b633b
RS
13472 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13473 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13474 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13475
0a39f27e
AS
134762011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13477
13478 * international/mule-diag.el (mule-diag): Insert a newline after
13479 each fontset description.
13480
db4e950d
SM
134812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * simple.el (delete-trailing-whitespace):
13484 Document last change; simplify.
13485
eca3f3ea
PW
134862011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13487
d68e189a
PW
13488 * simple.el (delete-trailing-whitespace): Also delete
13489 extra newlines at the end of the buffer.
13490
eca3f3ea
PW
13491 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13492 (picture-newline): Use forward-line so as to ignore fields.
13493
01c157cc
SM
134942011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13495
13496 * subr.el (with-wrapper-hook): Fix edebug spec.
13497
022de23e
LMI
134982011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13499
13500 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13501 (bug#4538).
13502
91683089
MA
135032011-09-23 Michael Albinus <michael.albinus@gmx.de>
13504
eca3f3ea
PW
13505 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13506 Fix nasty bug using wrong cached values.
91683089 13507
5bdd6fa4
AM
135082011-09-23 Alan Mackenzie <acm@muc.de>
13509
13510 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13511
97adfb97
CY
135122011-09-23 Chong Yidong <cyd@stupidchicken.com>
13513
13514 * window.el (pop-to-buffer): Ensure right window is selected if we
13515 chose another frame.
13516
d4ef2b50
EZ
135172011-09-22 Eli Zaretskii <eliz@gnu.org>
13518
13519 * simple.el (what-cursor-position): Use get-char-property-change
13520 and next-single-char-property-change, to be able to show display
13521 properties that come from overlays as well as text properties.
13522
72258fe5
CY
135232011-09-22 Chong Yidong <cyd@stupidchicken.com>
13524
13525 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13526
13527 * cmuscheme.el (run-scheme, switch-to-scheme):
13528 * cus-edit.el (customize-group, custom-buffer-create)
13529 (customize-browse):
13530 * info.el (info):
13531 * shell.el (shell):
13532 * mail/sendmail.el (mail):
13533 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13534
8f098516
RS
135352011-09-22 Richard Stallman <rms@gnu.org>
13536
13537 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13538 move back only to line beg, don't move back over blank lines.
13539
e74f1bb6
MA
135402011-09-22 Michael Albinus <michael.albinus@gmx.de>
13541
13542 * files.el (copy-directory): Set directory attributes only in case
13543 they could be retrieved from the source directory. (Bug#9565)
13544
bfeef8b6
DK
135452011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13546
13547 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13548 (hs-find-block-beginning, hs-hide-level-recursive):
13549 Ignore strings as well as comments. (Bug#9502)
13550
7e423bb8
AS
135512011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13552
13553 * progmodes/sql.el (sql-comint-postgres):
13554 Convert port number to a string. (Bug#9566)
13555
b4d72fcf
MR
135562011-09-22 Martin Rudalics <rudalics@gmx.at>
13557
13558 * window.el (quit-window): Undedicate window when switching to
13559 previous buffer. Reported by Thierry Volpiatto
13560 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13561 (special-display-popup-frame): When popping up a new frame reset
13562 its previous buffers to nil. Simplify code.
b4d72fcf 13563
a7b88dc6
MA
135642011-09-21 Michael Albinus <michael.albinus@gmx.de>
13565
13566 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13567 and process filter, as done also in `shell-command'.
13568
cf4eacfd
MR
135692011-09-21 Martin Rudalics <rudalics@gmx.at>
13570
eca3f3ea 13571 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13572 Call set-window-start with NOFORCE argument t.
13573 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13574 (quit-window): Reword doc-string. Handle new format of
13575 quit-restore parameter. Don't delete window if it has a
13576 previous buffer we can show instead of the present one.
13577 (display-buffer-record-window): Rewrite using a new format for
13578 the quit-restore window parameter
13579 (special-display-popup-frame, display-buffer-same-window)
13580 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13581 (display-buffer-pop-up-window, display-buffer-use-some-window):
13582 Adapt symbol passed to display-buffer-record-window.
13583 * help.el (help-window-setup): Handle new format of quit-restore
13584 parameter.
13585
8d28cb95
SM
135862011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13587
94ab793f
SM
13588 * faces.el (face-list): Fix docstring (bug#9564).
13589
8d28cb95
SM
13590 * window.el (display-buffer--action-function-custom-type):
13591 Don't include internal functions in the Custom interface.
13592
3820edeb
JL
135932011-09-20 Juri Linkov <juri@jurta.org>
13594
13595 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13596 (Info-forward-node, Info-backward-node, Info-next-preorder)
13597 (Info-last-preorder): Use it. (Bug#9528)
13598
5147931d
JL
135992011-09-20 Juri Linkov <juri@jurta.org>
13600
13601 * info.el (Info-last-preorder): Visit last menu item only when
13602 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13603
cf499a1a
JD
136042011-09-20 Julien Danjou <julien@danjou.info>
13605
13606 * password-cache.el (password-cache-remove): Remove entries even if the
13607 value is nil, so that password with a nil value (negative caching) is
13608 possible to invalidate.
13609
f84e2fe2
LM
136102011-09-20 Lawrence Mitchell <wence@gmx.li>
13611
13612 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13613 all whitespace around breakpoint. (Bug#9553)
13614 (f90-find-breakpoint): Only break at whitespace inside a comment.
13615
78054a46
SM
136162011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13617
13618 * minibuffer.el (completion-file-name-table): Keep track of errors.
13619 (completion-table-with-predicate): Handle the case where pred1 is nil.
13620 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13621
345083b2
SM
136222011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13623
e24e27be
SM
13624 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13625 (debugger-return-value): Signal an error if the debugging context does
13626 not await any return value.
13627
345083b2
SM
13628 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13629 * image-mode.el (image-toggle-display-text)
13630 (image-toggle-display-image): Stay away from evil `intangible'.
13631
08d355e3
LL
136322011-09-19 Leo Liu <sdl.web@gmail.com>
13633
13634 * replace.el (occur-revert-arguments): Make it permanent-local.
13635 (occur-mode): Don't call font-lock-defontify.
13636
f01da43f
CY
136372011-09-19 Chong Yidong <cyd@stupidchicken.com>
13638
13639 * net/ldap.el (ldap-search-internal): Don't push empty search
13640 result (Bug#9508).
13641
b6072fa6
SM
136422011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13643
13644 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13645
443d6696
MA
136462011-09-19 Michael Albinus <michael.albinus@gmx.de>
13647
13648 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13649 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13650
7cc6e154
JL
136512011-09-18 Juri Linkov <juri@jurta.org>
13652
13653 * buff-menu.el (Buffer-menu-mode-map):
13654 * dired.el (dired-mode-map):
13655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13656 (lisp-interaction-mode-map):
13657 * emacs-lisp/package.el (package-menu-mode-map):
13658 * epa.el (epa-key-list-mode-map):
13659 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13660 (menu-bar-options-menu):
13661 * outline.el (outline-mode-menu-bar-map):
13662 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13663 * vc/vc-dir.el (vc-dir-menu-map):
13664 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13665 Capitalize non-function content words in menu item strings.
13666
13667 * dired.el (dired-mode-map): Add menu item for
13668 `image-dired-dired-toggle-marked-thumbs'.
13669
80302a81
JL
136702011-09-18 Juri Linkov <juri@jurta.org>
13671
13672 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13673 to `isearch-case-fold-search' and restore its original value
13674 after the `isearch-mode' call.
13675
46c5cf66
JL
136762011-09-18 Juri Linkov <juri@jurta.org>
13677
13678 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13679 because `zgrep' returns 1 for successful matches (bug#9226).
13680
d18b513b
JL
136812011-09-18 Juri Linkov <juri@jurta.org>
13682
13683 * info.el (Info-extract-menu-node-name): Check the second match
13684 for empty string (second test-case of bug#9528).
13685 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13686 intermediate nodes to the history (first test-case of bug#9528).
13687
72753f87
JL
136882011-09-18 Juri Linkov <juri@jurta.org>
13689
13690 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13691 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13692
c9384295
JL
136932011-09-18 Juri Linkov <juri@jurta.org>
13694
1154d12e
JB
13695 * info.el (Info-file-supports-index-cookies):
13696 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13697 outputs one more line for long file names (bug#4142).
c9384295 13698
d473dce8
CY
136992011-09-18 Chong Yidong <cyd@stupidchicken.com>
13700
13701 * newcomment.el (comment-normalize-vars): If prompting for
13702 comment-start, set comment-start-skip too (Bug#8424).
13703
2176854d
JB
137042011-09-18 Johan Bockgård <bojohan@gnu.org>
13705
13706 * icomplete.el: Fix previous fix of Bug#5849.
13707 (icomplete-mode): Don't set completion-show-inline-help.
13708 (icomplete-minibuffer-setup): Set completion-show-inline-help
13709 locally during icompletion.
13710
3aace4e4
CY
137112011-09-18 Chong Yidong <cyd@stupidchicken.com>
13712
c940224f
CY
13713 * woman.el (woman2-process-escapes): Don't delete unrecognized
13714 escapes (Bug#7843).
13715
3aace4e4
CY
13716 * files.el (inhibit-first-line-modes-regexps): Add image files.
13717 (hack-local-variables-prop-line): Return nil for malformed
13718 prop-lines (Bug#9044).
13719
710dec63
MA
137202011-09-18 Michael Albinus <michael.albinus@gmx.de>
13721
13722 * net/tramp.el (top): Don't require 'shell.
13723 (tramp-methods): Fix docstring.
13724 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13725 Return complete remote file name. Handle "smb" case.
13726 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13727 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13728
13729 * net/tramp-compat.el (top): Require 'shell.
13730
13731 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13732 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13733 `tramp-current-host'.
13734 (tramp-get-remote-tmpdir): Remove.
13735
13736 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13737 `tramp-tmpdir' entries.
13738 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13739 (tramp-smb-handle-file-attributes): Ignore errors.
13740 (tramp-smb-wait-for-output): Check also for process end.
13741
5d5ac8ec
LMI
137422011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13743
13744 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13745 when sending QUIT (bug#9312).
13746
8c0f49f0
CY
137472011-09-17 Chong Yidong <cyd@stupidchicken.com>
13748
13749 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13750 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13751 occur-mode-display-occurrence.
13752 (occur-edit-mode): Add usage message.
13753 (occur-cease-edit): New command.
13754 (occur-after-change-function): Use text properties to find the
13755 position of the prefix text.
13756 (occur-engine): Set stickiness of prefix text properties.
13757
8f1383f7
GM
137582011-09-17 Glenn Morris <rgm@gnu.org>
13759
13760 * progmodes/etags.el (complete-tag):
13761 Fix call to completion-in-region. (Bug#9526)
13762
744ba0e3
JL
137632011-09-17 Juri Linkov <juri@jurta.org>
13764
13765 * textmodes/ispell.el (ispell-word): Add to the error message
13766 the word, ispell program name and current dictionary (bug#9121).
13767 (ispell-tex-arg-end): Capitalize "error" in the error message.
13768
d9bbf400
AS
137692011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13772 check. (Bug#4251)
13773
8da11505
JL
137742011-09-17 Juri Linkov <juri@jurta.org>
13775
13776 * window.el (window-safe-min-height, window-safe-min-width):
13777 Fix typos (followup to bug#9522).
13778
a91adc7e
SJ
137792011-09-17 Sven Joachim <svenjoac@gmx.de>
13780
13781 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13782
064f328a
EZ
137832011-09-16 Eli Zaretskii <eliz@gnu.org>
13784
13785 * simple.el (line-move): If goal-column is set, move by logical
13786 lines, not by display lines. (Bug#971)
13787 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13788 to reflect the above change.
13789
e69df516
SM
137902011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13791
13792 * image.el (imagemagick-register-types): Use regexp-opt.
13793
cbb0f9ab
CY
137942011-09-15 Chong Yidong <cyd@stupidchicken.com>
13795
13796 * window.el (display-buffer-base-action): Rename from
13797 display-buffer-default-action. Make default value empty.
13798 (display-buffer-overriding-action): Convert to defvar.
13799 (display-buffer-fallback-action): New var.
13800
25322144
CY
138012011-09-15 Chong Yidong <cyd@stupidchicken.com>
13802
13803 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13804 declaration.
13805 (package--add-to-archive-contents): If there is a duplicate entry
13806 with an older version, remove it.
13807 (package-menu-mark-delete, package-menu-mark-install)
13808 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13809 (package-menu-mark-obsolete-for-deletion):
13810 Use package-menu-get-status instead of a regexp search.
25322144
CY
13811 (package-menu-get-status): Use tabulated-list-entry.
13812 (package-menu-mark-upgrades): New command.
d770725a 13813 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13814 (package-menu-execute): Do installation before deletion.
13815 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13816 instead of checking major-mode.
13817 (package-menu--find-upgrades): New function.
13818
7520339c
LMI
138192011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13820
13821 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13822 passwords in the log buffer.
65a046c4
LMI
13823 (smtpmail-process-filter): Update the process marker so that the
13824 "broken by peer" status message is inserted in the right place.
7520339c 13825
d3c30954
SM
138262011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13827
3fe48822
SM
13828 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13829 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13830 bibtex-completion-at-point-function.
13831 (bibtex-completion-at-point-function): Use them.
13832
1b8b3954
SM
13833 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13834
d3c30954
SM
13835 * mpc.el (mpc-constraints-tag-lookup): New function.
13836 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13837 also to browser "album|playlist".
13838
72779976
JL
138392011-09-14 Juri Linkov <juri@jurta.org>
13840
13841 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13842 (isearch-edit-string): Use length of `isearch-string' when
13843 `isearch-fail-pos' returns nil.
13844 (isearch-message): Remove duplicate code and call
13845 `isearch-fail-pos' with arg `t'.
13846
a0bf2bcd
CY
138472011-09-14 Chong Yidong <cyd@stupidchicken.com>
13848
17bb0a2d
CY
13849 * replace.el (occur-mode-goto-occurrence): Don't force using other
13850 window (Bug#9499).
13851
a0bf2bcd
CY
13852 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13853
f678e0b6
MR
138542011-09-14 Martin Rudalics <rudalics@gmx.at>
13855
13856 * window.el (display-buffer-window): Remove.
13857 (display-buffer-record-window): Use help-setup window parameter
13858 instead of variable display-buffer-window.
13859 (display-buffer-function, special-display-buffer-names)
13860 (special-display-function): Mention help-setup parameter instead
13861 of display-buffer-window in doc-string.
d3c30954
SM
13862 * help.el (help-window-setup): New argument help-window.
13863 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13864 Reword some messages.
13865 (with-help-window): Pass window used for displaying the buffer
13866 to help-window-setup. Don't set display-buffer-window.
13867
8e39b2e8
GM
138682011-09-13 Glenn Morris <rgm@gnu.org>
13869
13870 * emacs-lisp/debug.el (debugger-make-xrefs):
13871 Preserve point. (Bug#9462)
13872
85e9c04b
CY
138732011-09-13 Chong Yidong <cyd@stupidchicken.com>
13874
13875 * window.el (window-deletable-p): Use next-frame.
13876
1b36ed6a
MR
138772011-09-13 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (window-auto-delete): Remove.
13880 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13881 dedication and previous buffers.
1b36ed6a
MR
13882 (switch-to-prev-buffer): Don't delete window.
13883 (delete-windows-on): Delete a window's frame if and only if the
13884 window is dedicated.
13885 (replace-buffer-in-windows): Delete buffer's window or frame if
13886 and only if window is dedicated.
13887 (quit-window): Handle quit-restore as before last change.
4d61f28d 13888 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13889
ef8ef9fb
CY
138902011-09-13 Chong Yidong <cyd@stupidchicken.com>
13891
13892 * window.el (window-deletable-p): Never delete the last frame on a
13893 given terminal.
13894
b2cba41e
GM
138952011-09-13 Glenn Morris <rgm@gnu.org>
13896
13897 * help.el (describe-key-briefly): Copy previous standard-output change.
13898
51553db6 138992011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13900
13901 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13902
b7556719
GM
139032011-09-13 Glenn Morris <rgm@gnu.org>
13904
13905 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13906 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13907
64b51947
CY
139082011-09-12 Chong Yidong <cyd@stupidchicken.com>
13909
13910 * dired-aux.el (dired-mark-read-string): Don't return default
13911 value on empty input (Bug#9361).
13912 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13913 Omit initial minibuffer contents.
13914 (dired-do-chmod): Signal an error on empty input.
13915 (dired-mark-read-string): Don't return default on empty input.
13916
13917 * files.el (file-modes-symbolic-to-number): Doc fix.
13918
393a301e
SM
139192011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * international/mule-cmds.el (ucs-completions): Remove.
13922 (read-char-by-name): Use complete-with-action instead; add metadata.
13923
fa5660f9
CY
139242011-09-11 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * window.el (display-buffer--action-function-custom-type)
13927 (display-buffer--action-custom-type): New vars.
13928 (display-buffer-alist, display-buffer-default-action)
13929 (display-buffer-overriding-action): Add defcustom types.
13930
4a592f66
CY
13931 * frame.el (delete-other-frames): Doc fix (Bug#276).
13932
73d56dbd
LMI
139332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13934
13935 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13936
37ac18a3
CY
139372011-09-11 Chong Yidong <cyd@stupidchicken.com>
13938
13939 Change modes that used same-window-* vars to use switch-to-buffer.
13940
13941 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13942 Use switch-to-buffer.
13943
13944 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13945 (customize-browse, custom-buffer-create-other-window):
13946 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13947
13948 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13949 (Info-prev, Info-up, Info-speedbar-goto-node)
13950 (info-display-manual): Use switch-to-buffer.
13951 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13952
13953 * mail/sendmail.el (mail): Use switch-to-buffer.
13954 (mail-recover): Use switch-to-buffer-other-window.
13955
13956 * cmuscheme.el (run-scheme, switch-to-scheme):
13957 * ielm.el (ielm):
13958 * shell.el (shell):
13959 * net/rlogin.el (rlogin):
13960 * net/telnet.el (telnet, rsh):
13961 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13962
10195bd6
AS
139632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13964
13965 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13966
b322f63a
LMI
139672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13968
39d7fed6
LMI
13969 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13970 so don't mention it (bug#9301).
ba5a81f1 13971 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13972
ee0e9f11
LMI
13973 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13974 match `x', `w32' and `ns', like the manual says (bug#9029).
13975
0b1c89c1 13976 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13977 (process-kill-buffer-query-function): Mention the buffer name in
13978 the query.
0b1c89c1 13979
77549ea8
LMI
13980 * image-mode.el (image-next-line): The line parameter is mandatory
13981 (bug#9258).
13982
803ef892
LMI
13983 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13984 which can be useful (bug#9301).
13985
12980837
LMI
13986 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13987
91054f8f
LMI
13988 * subr.el (match-string): Mention that the current buffer should
13989 be the same as the search was done in (bug#9282).
13990
b322f63a
LMI
13991 * facemenu.el: Disable the remove-* commands if the mark isn't
13992 active (bug#9162).
13993
3199b96f
CY
139942011-09-10 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13997 of display-buffer.
13998 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13999
14000 * replace.el (occur-mode-goto-occurrence)
14001 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14002 and display-buffer.
14003
14004 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14005 display-buffer.
14006
14007 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14008 special-display and same-window variables.
14009 (mail-other-window): Use switch-to-buffer-other-window.
14010 (mail-other-frame): USe switch-to-buffer-other-frame.
14011
393a301e
SM
14012 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14013 Use display-buffer-other-frame.
3199b96f
CY
14014 (gdb-display-gdb-buffer): Use pop-to-buffer.
14015
14016 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14017
14018 * progmodes/python.el: Don't set same-window-buffer-names.
14019
14020 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14021
14022 * window.el (display-buffer-alist): Add *Python*.
14023
8319e0bf
CY
140242011-09-10 Chong Yidong <cyd@stupidchicken.com>
14025
14026 * window.el (display-buffer-alist): Add entry for buffers
14027 previously handled same-window-*.
14028 (display-buffer-alist, display-buffer-default-action)
14029 (display-buffer-overriding-action): Mark as risky.
14030 (display-buffer-alist): Document action function changes.
14031 (display-buffer--same-window-action)
14032 (display-buffer--other-frame-action): New variables.
14033 (switch-to-buffer, display-buffer-other-frame): Use them.
14034 (display-buffer): Rename reuse-frame entry to reusable-frames.
14035 (display-buffer-reuse-selected-window): Function deleted.
14036 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14037 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14038 (display-buffer-special): New function.
14039 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14040 display-buffer-reuse-or-pop-window. Split off special-display
14041 part into display-buffer-special.
14042 (display-buffer-use-some-window): Don't perform any special
14043 pop-up-frames handling.
14044 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14045 (display-buffer--maybe-same-window): Rename from
0d3ff375 14046 display-buffer-maybe-same-window.
8319e0bf 14047
919a69aa
CY
14048 * info.el: Don't set same-window-regexps.
14049 (info-setup): New function.
14050 (info-other-window, info): Call it.
14051
14052 * cus-edit.el: Don't set same-window-regexps.
14053 (customize-group): New argument.
14054 (customize-group-other-window): Use it.
14055 (customize-face, customize-face-other-window): Likewise.
14056 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14057
8319e0bf
CY
14058 * net/rlogin.el:
14059 * net/telnet.el:
14060 * progmodes/gud.el: Don't set same-window-regexps.
14061
14062 * cmuscheme.el:
14063 * ielm.el:
14064 * shell.el:
14065 * mail/sendmail.el:
14066 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14067
25173000
JL
140682011-09-10 Juri Linkov <juri@jurta.org>
14069
14070 * isearch.el (isearch-edit-string): Remove obsolete mention of
14071 `C-w' (`isearch-yank-word-or-char') from docstring.
14072 (isearch-query-replace): Fix typo in docstring (bug#9466).
14073
056e44ef
JL
140742011-09-10 Juri Linkov <juri@jurta.org>
14075
14076 * paren.el (show-paren-function): Don't show escaped parens.
14077 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14078
c3760c17
EZ
140792011-09-10 Eli Zaretskii <eliz@gnu.org>
14080
14081 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14082 (mm-default-file-encoding): Remove autoload forms, they are
14083 replaced with autoload cookies in mml.el and mm-encode.el.
14084 (mail-add-attachment): New command.
14085 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14086 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14087 the doc string.
14088 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14089
fece895e
RT
140902011-09-10 Reuben Thomas <rrt@sc3d.org>
14091
e69df516
SM
14092 * simple.el (count-words-region): Use buffer if there's no region
14093 (bug#9429).
fece895e 14094
5e68ce4a
JL
140952011-09-09 Juri Linkov <juri@jurta.org>
14096
14097 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14098 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14099 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14100
0a6b9622
AM
141012011-09-09 Alan Mackenzie <acm@muc.de>
14102
14103 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14104 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14105
14a29deb
EZ
141062011-09-09 Eli Zaretskii <eliz@gnu.org>
14107
14108 Fix for Savannah bug#9392.
14109 * simple.el (mail-encode-mml): New defvar.
14110
14111 * mail/rmail.el (mail-encode-mml): Add a defvar.
14112 (rmail-enable-mime-composing): Default to t.
14113 (rmail-forward): Use MIME method of forwarding only if both
14114 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14115 Set mail-encode-mml non-nil if the MIME method was used.
14116
14117 * mail/sendmail.el (mml-to-mime): Add autoload form.
14118 (mail-encode-mml): Add a defvar.
14119 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14120 to nil.
14121 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14122 message through mml-to-mime, and reset mail-encode-mml to nil.
14123
28c45130
GM
141242011-09-09 Glenn Morris <rgm@gnu.org>
14125
14126 * woman.el (woman-if-body): When processing an .el block,
14127 do not delete the next .el block as well. (Bug#9447)
69f4b618 14128 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14129
9b1c252e
MR
141302011-09-08 Martin Rudalics <rudalics@gmx.at>
14131
14132 * window.el (window-deletable-p): Make sure window is live before
14133 invoking window-prev-buffers.
14134
567457e3
LL
141352011-09-08 Leo Liu <sdl.web@gmail.com>
14136
14137 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14138
97f05794
JL
141392011-09-08 Juri Linkov <juri@jurta.org>
14140
14141 * progmodes/compile.el (compilation-environment): Make it
14142 a defcustom (bug#8340).
14143
8b0874b5
MR
141442011-09-08 Martin Rudalics <rudalics@gmx.at>
14145
14146 * window.el (frame-auto-delete): Rename to window-auto-delete.
14147 Make it control auto-deletion of windows and/or frames.
14148 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14149 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14150 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14151 Rewrite handling of case when window/frame can be deleted.
14152 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14153 argument t. (Bug#9456)
8b0874b5 14154
4feb6e73
CY
141552011-09-07 Chong Yidong <cyd@stupidchicken.com>
14156
14157 * help-mode.el (help-mode): Restore autoload.
14158
91ab9c13
JL
141592011-09-07 Juri Linkov <juri@jurta.org>
14160
14161 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14162 `compilation-environment'. Set buffer-local
14163 `compilation-environment' to `thisenv' later after (funcall mode).
14164 (Bug#8340)
14165
14166 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14167 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14168 instead of replacing its value. (Bug#8340)
14169
0527e251
JL
141702011-09-07 Juri Linkov <juri@jurta.org>
14171
14172 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14173 based on text properties put by `grep-filter' instead of matching
14174 escape sequences.
14175 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14176 to the value of `grep-error-screen-columns' (bug#9438).
14177
249f792c
JL
141782011-09-07 Juri Linkov <juri@jurta.org>
14179
14180 * simple.el (next-error-highlight, next-error-highlight-no-select):
14181 Doc fix (bug#9432).
14182
ff7271b9
OT
141832011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14184
14185 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14186 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14187
183fc730
LL
141882011-09-07 Leo Liu <sdl.web@gmail.com>
14189
14190 * net/rcirc.el (rcirc-mode): Conditionally initialize
14191 rcirc-input-ring.
14192
77694924
SM
141932011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * emacs-lisp/find-func.el (find-function-C-source): Only set
14196 find-function-C-source-directory after checking that we found a source
14197 file there (bug#9440).
14198
d809b8eb
AM
141992011-09-06 Alan Mackenzie <acm@muc.de>
14200
14201 * isearch.el (isearch-other-meta-char): Wherever a key list is
14202 unread, "unread" the prefix arg, too. This fixes bug #8901.
14203
453de99f
OG
142042011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14205
14206 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14207
90439906
JL
142082011-09-05 Juri Linkov <juri@jurta.org>
14209
14210 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14211
f62bd846
JL
142122011-09-05 Juri Linkov <juri@jurta.org>
14213
14214 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14215 keeping point where processing of grep matches begins, and
14216 continue to delete remaining escape sequences from the same point.
14217 (grep-filter): Make leading zero optional in "0?1;31m" because
14218 git-grep emits "\033[1;31m" escape sequences unlike expected
14219 "\033[01;31m" as GNU Grep does (bug#9408).
14220 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14221
045820ec
JL
142222011-09-05 Juri Linkov <juri@jurta.org>
14223
14224 * subr.el (y-or-n-p): Capitalize "yes".
14225
f5e29b9b
MA
142262011-09-04 Michael Albinus <michael.albinus@gmx.de>
14227
14228 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14229 `tramp-cache-unload-hook' where appropriate.
14230 (tramp-methods): Rename `tramp-remote-sh' to
14231 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14232 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14233
14234 * net/tramp-sh.el (top): Don't require 'shell.
14235 (tramp-methods): Add `tramp-remote-shell' and
14236 `tramp-remote-shell-args' entries.
14237 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14238 (tramp-sh-handle-shell-command): Remove.
14239 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14240 Use `tramp-remote-shell'.
14241
2784c434
CY
142422011-09-03 Chong Yidong <cyd@stupidchicken.com>
14243
393a301e 14244 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14245 (sendmail-query-once): Save directly to send-mail-function.
14246 Update message-send-mail-function too.
14247
14248 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14249
464cdf56
CS
142502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14251
14252 * progmodes/python.el (python-mode-map): Use correct function to
14253 start python interpreter from menu-bar (as reported by Geert
14254 Kloosterman).
14255 (inferior-python-mode-map): Fix typo.
393a301e 14256 (python-shell-map): Remove.
464cdf56 14257
d37e5c87
DD
142582011-09-03 Deniz Dogan <deniz@dogan.se>
14259
14260 * net/rcirc.el (rcirc-print): Simplify code for
14261 rcirc-scroll-show-maximum-output. There is no need to walk
14262 through all windows to find the right one.
14263
f3ada0ee
CS
142642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14265
14266 * help.el (help-return-method): Doc fix.
14267
1f3c99ca
MR
142682011-09-03 Martin Rudalics <rudalics@gmx.at>
14269
14270 * window.el (window-deletable-p): Don't return a non-nil value
14271 when there's a buffer that was shown in the window before.
14272 (Bug#9419)
393a301e
SM
14273 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14274 Set window's previous buffers to nil.
1f3c99ca 14275
a3cf097f
EZ
142762011-09-03 Eli Zaretskii <eliz@gnu.org>
14277
14278 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14279 newline before and after the tag line, so it doesn't interfere
14280 with determining the paragraph direction of bidirectional text.
14281
3d03de90
LL
142822011-09-03 Leo Liu <sdl.web@gmail.com>
14283
14284 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14285
c3313451
CY
142862011-09-02 Chong Yidong <cyd@stupidchicken.com>
14287
393a301e 14288 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14289 (pop-to-buffer): Change interactive spec. Pass second argument
14290 directly to display-buffer.
14291 (display-buffer): Fix interactive spec. Use functionp to
14292 distinguish between a function and a list of functions.
14293
14294 * abbrev.el (edit-abbrevs):
14295 * arc-mode.el (archive-extract):
14296 * autoinsert.el (auto-insert):
14297 * bookmark.el (bookmark-bmenu-list):
14298 * files.el (find-file):
14299 * view.el (view-buffer):
14300 * progmodes/compile.el (compilation-goto-locus):
14301 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14302
89894cd8
CY
143032011-09-02 Chong Yidong <cyd@stupidchicken.com>
14304
14305 * window.el (display-buffer-alist): Doc fix.
14306 (display-buffer): Add docstring. Don't treat
14307 display-buffer-default specially.
14308 (display-buffer-reuse-selected-window)
14309 (display-buffer-same-window, display-buffer-maybe-same-window)
14310 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14311 (display-buffer-pop-up-window)
14312 (display-buffer-reuse-or-pop-window)
14313 (display-buffer-use-some-window): New functions.
14314 (display-buffer-default-action): Use them.
393a301e 14315 (display-buffer-default): Delete.
89894cd8
CY
14316 (pop-to-buffer-1): Fix choice of actions.
14317
ae0bc9fb
SM
143182011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14319
14320 * minibuffer.el (completion--insert-strings): Don't get confused by
14321 completion entries that end with an LF char.
14322
e9d90883
EZ
143232011-09-01 Eli Zaretskii <eliz@gnu.org>
14324
14325 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14326
437014c8
CY
143272011-09-01 Chong Yidong <cyd@stupidchicken.com>
14328
14329 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14330 (display-buffer-same-window, display-buffer-other-window):
14331 New functions.
437014c8
CY
14332 (pop-to-buffer-1): New function. Use the above.
14333 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14334 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14335
14336 * view.el (view-buffer-other-window, view-buffer-other-frame):
14337 Just use pop-to-buffer.
14338
a5e063d5
TV
143392011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14340
14341 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14342
793d32bb
WH
143432011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14344
14345 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14346
d65e4c15
RS
143472011-08-31 Richard Stallman <rms@gnu.org>
14348
14349 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14350 of the separation of rmail-view-buffer from rmail-buffer.
14351 If you say no to "replace original", the decrypt is in the
14352 view buffer. If you say yes, the decrypt goes into the
14353 rmail buffer also.
14354
f818cd2a
MR
143552011-08-31 Martin Rudalics <rudalics@gmx.at>
14356
14357 * window.el (display-buffer-window): Rewrite doc-string.
14358 (display-buffer-record-window): New function.
14359 (display-buffer-macro-specifiers)
14360 (display-buffer-even-window-sizes, display-buffer-set-height)
14361 (display-buffer-set-width, display-buffer-in-window)
14362 (display-buffer-reuse-window, display-buffer-split-specifiers)
14363 (display-buffer-side-specifiers, display-buffer-split-window-1)
14364 (display-buffer-split-window, display-buffer-split-atom-window)
14365 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14366 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14367 (display-buffer-other-window-means-other-frame)
14368 (display-buffer-normalize-special)
14369 (display-buffer-normalize-default)
14370 (display-buffer-normalize-argument)
14371 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14372 (display-buffer-normalize-specifiers, display-buffer-frame)
14373 (display-buffer-same-window, display-buffer-same-frame)
14374 (display-buffer-other-window)
14375 (display-buffer-same-frame-other-window)
14376 (display-buffer-other-frame, pop-to-buffer-same-window)
14377 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14378 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14379 (switch-to-buffer-same-frame)
14380 (switch-to-buffer-other-window-same-frame)
14381 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14382 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14383 (display-buffer-alist-set): Remove.
14384 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14385 (special-display-regexps, special-display-function):
14386 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14387 parameter.
14388 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14389 (special-display-frame-alist, special-display-popup-frame)
14390 (same-window-buffer-names, same-window-regexps, same-window-p)
14391 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14392 (split-window-preferred-function, split-height-threshold)
14393 (split-width-threshold, window-splittable-p)
14394 (split-window-sensibly, window--try-to-split-window)
14395 (window--frame-usable-p, even-window-heights)
14396 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14397 (window--display-buffer-2, display-buffer-other-frame):
14398 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14399 (display-buffer-default, display-buffer-assq-regexp): New functions.
14400 (display-buffer-alist): Rewrite doc-string.
14401 (display-buffer-default-action)
14402 (display-buffer-overriding-action): New variables.
14403 (display-buffer, switch-to-buffer): Rewrite.
14404 (pop-to-buffer): Restore Emacs 23 behavior but use
14405 window-normalize-buffer-to-display.
14406 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14407 Restore Emacs 23 behavior but use
14408 window-normalize-buffer-to-switch-to.
14409 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14410 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14411 Rewrite using Emacs 23 options.
f818cd2a 14412
5bc3b51d
MA
144132011-08-31 Michael Albinus <michael.albinus@gmx.de>
14414
14415 * net/tramp.el (tramp-root-regexp): Remove.
14416 (tramp-completion-file-name-regexp-unified)
14417 (tramp-completion-file-name-regexp-separate)
14418 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14419 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14420 (tramp-drop-volume-letter): Simplify definition.
14421 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14422
b1a4f8e1
SM
144232011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14426 (bug#9356).
14427
5664fa7b
RT
144282011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14429
b1a4f8e1 14430 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14431
9a45d6c3
JL
144322011-08-29 Juri Linkov <juri@jurta.org>
14433
14434 * isearch.el (isearch-done): Don't display message "Mark saved"
14435 when arg `edit' is non-nil to prevent its flicker in the echo area.
14436
fb87e0fb
CY
144372011-08-28 Chong Yidong <cyd@stupidchicken.com>
14438
14439 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14440 obsolete packages for deletion.
14441
09ac1c2a
CS
144422011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14443
14444 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14445 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14446 view-mode from help-mode.
14447 (help-xref-override-view-map): Remove.
14448 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14449 view-mode is not used anymore.
14450
7a1ff57f
CY
144512011-08-28 Chong Yidong <cyd@stupidchicken.com>
14452
14453 * server.el (server-port): Doc fix.
14454
b9696605
CY
14455 * cus-theme.el (custom-theme-choose-mode): Inherit from
14456 special-mode (Bug#9124).
14457 (custom-theme-choose-mode-map): Add special-mode to parent.
14458
ef8cdf8c
AM
144592011-08-28 Alan Mackenzie <acm@muc.de>
14460
14461 * progmodes/cc-fonts.el
14462 (c-make-font-lock-BO-decl-search-function): New function.
14463 (c-basic-matchers-after - "Fontify the clauses after various
14464 keywords"): Extract the three keyword lists for the 3 erroneous
14465 constructs from the list of four, and use the new function above
14466 in place of an old one.
14467
27de4e20
DD
144682011-08-28 Deniz Dogan <deniz@dogan.se>
14469
14470 * net/rcirc.el (rcirc-insert-prev-input)
14471 (rcirc-insert-next-input): Remove unused argument.
14472
356a3681
SM
144732011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14476
3fc9b218
AM
144772011-08-27 Alan Mackenzie <acm@muc.de>
14478
14479 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14480 handle function pointer parameters properly.
14481
538a061c
MR
144822011-08-27 Martin Rudalics <rudalics@gmx.at>
14483
14484 * window.el (display-buffer-reuse-window): Fix case where
14485 selected window was reused with non-nil OTHER-WINDOW argument.
14486 (Bug#9381)
14487
35b1c40c
DD
144882011-08-27 Deniz Dogan <deniz@dogan.se>
14489
14490 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14491 oftc's NickServ messages.
14492
2f6a3e79
GM
144932011-08-27 Glenn Morris <rgm@gnu.org>
14494
14495 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14496
7254299e
CY
144972011-08-26 Chong Yidong <cyd@stupidchicken.com>
14498
14499 * emacs-lisp/package.el (package-install): Call package-initialize
14500 if called interactively.
14501
f8ccf167
LL
145022011-08-26 Leo Liu <sdl.web@gmail.com>
14503
14504 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14505
3e8cd5ce
JL
145062011-08-25 Juri Linkov <juri@jurta.org>
14507
14508 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14509 `search-whitespace-regexp' (bug#9364).
14510
93eb7113
JL
145112011-08-25 Juri Linkov <juri@jurta.org>
14512
14513 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14514 `regexp-search-ring' to their global values to protect from
14515 updating by `read-from-minibuffer' (bug#9185).
14516
f65d1611
JL
145172011-08-25 Juri Linkov <juri@jurta.org>
14518
14519 * textmodes/ispell.el (ispell-command-loop): Add newline
14520 at the end of the "Use option `i'..." line.
14521
f1cf7a31
JL
145222011-08-25 Juri Linkov <juri@jurta.org>
14523
14524 * battery.el (display-battery-mode): If `battery-status-function'
14525 or `battery-mode-line-format' is nil, display the message and set
14526 `display-battery-mode' to nil (bug#9363).
14527
0c95fcf7
EZ
145282011-08-25 Eli Zaretskii <eliz@gnu.org>
14529
14530 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14531 bidi-string-mark-left-to-right; they are unnecessary now.
14532
a2ebe600
DD
145332011-08-25 Deniz Dogan <deniz@dogan.se>
14534
14535 * net/quickurl.el: Documentation typo fixes.
14536
e4ed06f1
CY
145372011-08-25 Chong Yidong <cyd@stupidchicken.com>
14538
14539 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14540
e5f1c99e
GM
145412011-08-25 Glenn Morris <rgm@gnu.org>
14542
b2948976
GM
14543 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14544
e5f1c99e
GM
14545 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14546 (smtpmail-via-smtp): Handle nil response from smtp.
14547
f22f4808
JL
145482011-08-24 Juri Linkov <juri@jurta.org>
14549
14550 * proced.el (proced-marked): Inherit from `error' instead of
14551 `font-lock-warning-face'.
14552
14553 * ibuffer.el (ibuffer-marked-face): Change default face from
14554 `font-lock-warning-face' to `warning'.
14555 (ibuffer-deletion-face): Change default face from
14556 `font-lock-type-face' to `error'.
14557
14558 * battery.el (battery-update): Use the face `error' instead of
14559 `font-lock-warning-face' (bug#6117).
14560
6a93965e
JL
145612011-08-24 Juri Linkov <juri@jurta.org>
14562
14563 * faces.el (success): Change face color from "Green3" to
14564 "ForestGreen" on light background (bug#9353).
14565
1ed43b09
CY
145662011-08-24 Chong Yidong <cyd@stupidchicken.com>
14567
5664fa7b
RT
14568 * window.el (quit-window): Rename from quit-restore-window.
14569 Use same arglist as old quit-window.
1ed43b09
CY
14570 (frame-auto-delete): Doc fix.
14571
14572 * view.el (view-mode-exit): Use quit-window.
14573
11dcdbb2
JL
145742011-08-24 Juri Linkov <juri@jurta.org>
14575
14576 * isearch.el (isearch-ring-adjust1): Start visiting previous
14577 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14578 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14579 for empty search string (when the last search string is reused
14580 automatically) to adjust the isearch ring to the last element and
14581 prepare the correct index for further M-p commands (bug#9185).
14582
de62b4df
KH
145832011-08-24 Kenichi Handa <handa@m17n.org>
14584
14585 * international/ucs-normalize.el: If decomposition property of
14586 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14587 nil.
14588 (nfd, nfkd): Likewise.
14589
963b492b
SM
145902011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14593 from process filters aren't reliably transmitted to the surrounding
14594 accept-process-output.
14595 (mpc-proc-check): New function.
14596 (mpc-proc-sync): Use it (bug#8293)
14597
93b6b5e1
SM
145982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14599
14600 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14601 Add compatibility functions (bug#9313).
14602
bca633fb
EZ
146032011-08-23 Eli Zaretskii <eliz@gnu.org>
14604
b177498a
EZ
14605 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14606
6df6ae42 14607 * international/uni-bidi.el: Regenerate.
bca633fb 14608
0902a04e
KH
146092011-08-23 Kenichi Handa <handa@m17n.org>
14610
14611 * international/charprop.el:
14612 * international/uni-bidi.el:
14613 * international/uni-category.el:
14614 * international/uni-combining.el:
14615 * international/uni-comment.el:
14616 * international/uni-decimal.el:
14617 * international/uni-decomposition.el:
14618 * international/uni-digit.el:
14619 * international/uni-lowercase.el:
14620 * international/uni-mirrored.el:
14621 * international/uni-name.el:
14622 * international/uni-numeric.el:
14623 * international/uni-old-name.el:
14624 * international/uni-titlecase.el:
14625 * international/uni-uppercase.el: Regenerate.
14626
3bbf23bc
MR
146272011-08-23 Martin Rudalics <rudalics@gmx.at>
14628
14629 * help.el (help-window-setup): Fix message displayed when other
14630 window is reused. (Bug#9341)
14631
b3fd59bd
SM
146322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14633
1802e444
SM
14634 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14635 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14636
b3fd59bd
SM
14637 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14638 Mark obsolete.
14639 * shell.el (shell-parse-pcomplete-arguments): New function.
14640 (shell-completion-vars): Use it instead (bug#9160).
14641
4eb61348
SM
146422011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14643
867cab74
SM
14644 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14645 strings and comments (bug#9333).
14646
4eb61348
SM
14647 * emacs-lisp/debug.el (debug-arglist): New function.
14648 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14649 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14650
262a1439
JL
146512011-08-22 Juri Linkov <juri@jurta.org>
14652
56ee679c
JL
14653 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14654 Revert regexp that highlights output switches to its old
14655 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14656
262a1439
JL
14657 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14658 to check for empty output (bug#9226).
14659
f13f86fb
CY
146602011-08-22 Chong Yidong <cyd@stupidchicken.com>
14661
14662 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14663 symbol-constituent as the default, as that stops font-lock from
14664 working properly (Bug#8843).
14665
c65c9622
LMI
146662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14667
14668 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14669 `coding-system-for-*' around the process open call to avoid
14670 auth-source side effects.
e7f2c178 14671 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14672 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14673 probe hangs.
c65c9622 14674
23a8a5ab
CY
146752011-08-21 Chong Yidong <cyd@stupidchicken.com>
14676
ff98b2dd
CY
14677 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14678
23a8a5ab
CY
14679 * emacs-lisp/find-func.el (find-function-noselect): New arg
14680 lisp-only.
14681
14682 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14683 signal an error for built-in functions (Bug#6664).
14684
f5e3c598
LMI
146852011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14686
14687 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14688 (smtpmail-try-auth-methods): Use it.
14689
a3f2468a
CY
146902011-08-21 Chong Yidong <cyd@stupidchicken.com>
14691
2c34e8da
CY
14692 * font-lock.el (font-lock-fontify-region)
14693 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14694 (font-lock-default-unfontify-buffer)
14695 (font-lock-default-fontify-region)
14696 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14697
b3fd59bd
SM
14698 * progmodes/compile.el (compilation-error-properties):
14699 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14700 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14701 `ant' regexp.
ee31aabc 14702
a3f2468a
CY
14703 * net/browse-url.el (browse-url-firefox): Don't call
14704 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14705
8e999f70
GM
147062011-08-20 Glenn Morris <rgm@gnu.org>
14707
c21a496a
GM
14708 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14709
59ee0542
GM
14710 * tutorial.el (tutorial--default-keys): Update some default bindings.
14711
8e999f70
GM
14712 * files.el (hack-local-variables): Fully ignore case for "mode:".
14713
e3715033
AM
147142011-08-20 Alan Mackenzie <acm@muc.de>
14715
14716 Resolve invalid use of a regexp in regexp-opt.
14717
4d61f28d
JB
14718 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14719 detection for a java annotation.
e3715033 14720
4d61f28d 14721 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14722 detection for a java annotation.
14723
4d61f28d
JB
14724 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14725 handling for java.
e3715033
AM
14726 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14727
04ed2e9c
CY
147282011-08-20 Chong Yidong <cyd@stupidchicken.com>
14729
14730 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14731 (Bug#9274).
14732
826cee64
AM
147332011-08-20 Alan Mackenzie <acm@muc.de>
14734
58179cce 14735 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14736 such a construct. Mainly for when jit-lock etc. starts a chunk
14737 here.
14738
58179cce 14739 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14740 variable.
58179cce 14741 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14742 c-make-font-lock-search-function.
14743 (c-make-font-lock-search-function): Use the above function.
14744 (c-make-font-lock-context-search-function): New function.
14745 (c-cpp-matchers): Enhance the preprocessor expression case with
14746 the above function
14747 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14748 which takes an expression.
14749
14750 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14751
13009bd8
MR
147522011-08-20 Martin Rudalics <rudalics@gmx.at>
14753
14754 * window.el (display-buffer-reuse-window)
14755 (display-buffer-pop-up-window): Don't reuse or split a side
14756 window.
14757
9234ff7f
GM
147582011-08-19 Glenn Morris <rgm@gnu.org>
14759
14760 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14761 Downcase "Mode:". (Bug#9331)
9234ff7f 14762
f635daa1
CY
147632011-08-18 Chong Yidong <cyd@stupidchicken.com>
14764
14765 * international/characters.el: Add L and R categories.
14766
14767 * subr.el (bidi-string-mark-left-to-right): Rename from
14768 string-mark-left-to-right. Use category search.
14769
14770 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14771
bc987f8b
JL
147722011-08-18 Juri Linkov <juri@jurta.org>
14773
14774 * faces.el (error, warning, success): New faces with definitions
14775 copied from old default values of `font-lock-warning-face',
14776 `compilation-warning', `compilation-info' (bug#6117).
14777
14778 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14779
14780 * progmodes/compile.el (compilation-error): Inherit from `error'.
14781 (compilation-warning): Inherit from `warning'.
14782 (compilation-info): Inherit from `success'.
14783
14784 * dired.el (dired-marked): Inherit from `warning'.
14785 (dired-flagged): Inherit from `error'.
14786
57173b96
LMI
147872011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14788
3e79eb87
LMI
14789 * mail/smtpmail.el (auth-source): Require to avoid problems with
14790 binding variables (bug#9298). Also clean up some unused
14791 autoloads.
14792
b3fd59bd
SM
14793 * net/network-stream.el (network-stream-open-starttls):
14794 Support using starttls.el without using gnutls-cli.
57173b96 14795
02b404de
JL
147962011-08-17 Juri Linkov <juri@jurta.org>
14797
14798 * progmodes/grep.el (rgrep): Handle the case when
14799 `grep-find-command' is a cons cell (bug#9278).
14800
8c9177f2
MR
148012011-08-17 Martin Rudalics <rudalics@gmx.at>
14802
14803 * window.el (display-buffer-pop-up-frame): Run frame creation
14804 function with BUFFER current (as special-display-popup-frame
14805 does). Reported by Drew Adams.
14806
3644a0ab
DU
148072011-08-17 Daiki Ueno <ueno@unixuser.org>
14808
14809 * epa-mail.el: Simplify GnuPG group expansion using
14810 epg-expand-group.
14811 (epa-mail-group-alist, epa-mail-group-modtime)
14812 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14813 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14814 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14815 Remove.
14816
5e617bc2 148172011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14818
14819 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14820
9c4aeabf
AM
148212011-08-16 Alan Mackenzie <acm@muc.de>
14822
14823 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14824 Correct, to avoid the inside of macros.
14825
3a99bf64
RS
148262011-08-16 Richard Stallman <rms@gnu.org>
14827
04963aa8
RS
14828 * epa-mail.el: Handle GnuPG group definitions.
14829 (epa-mail-group-alist, epa-mail-group-modtime)
14830 (epa-mail-gnupg-conf-file): New variables.
14831 (epa-mail-parse-groups, epa-mail-sync-groups)
14832 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14833 (epa-mail-expand-recipients): New functions.
14834 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14835
177549d0
RS
14836 * mail/rmail.el (rmail-epa-decrypt): New command.
14837
fe38beef
RS
14838 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14839 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14840 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14841 (epa-decrypt-armor-in-region): Make error message clearer.
14842
934eacb9
SM
148432011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14846 and "a2b" to "ab" for `prefix'.
14847
d024fb4e
CY
148482011-08-14 Chong Yidong <cyd@stupidchicken.com>
14849
14850 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14851 filter groups.
de148fee
CY
14852 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14853 Fourquet (Bug#8804).
d024fb4e 14854
62f1ca49
JB
148552011-08-12 Juanma Barranquero <lekktu@gmail.com>
14856
14857 * startup.el (argi): Declare as global variable (bug#9275).
14858
9ccaaa4b
CY
148592011-08-12 Chong Yidong <cyd@stupidchicken.com>
14860
14861 * subr.el (string-mark-left-to-right): Search the entire string
14862 for RTL script, not just the terminating character. Doc fix.
14863
a3dae87a
SM
148642011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14865
6cd18349
SM
14866 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14867 New function.
14868 (js--regexp-literal, js-syntax-propertize-function): Remove.
14869 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14870 (js-mode-map): Don't rebind electric keys.
14871 (js-insert-and-indent): Remove.
14872 (js-mode): Setup electric-layout and electric-indent instead.
14873
a3dae87a
SM
14874 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14875
9d5cb631
DU
148762011-08-12 Daiki Ueno <ueno@unixuser.org>
14877
14878 * epa.el (epa-progress-callback-function): Fix the logic of
14879 displaying progress.
14880 * epa-file.el (epa-file-insert-file-contents): Make progress
14881 display more user-friendly.
14882 (epa-file-write-region): Ditto.
14883
3e26a4a2
CY
148842011-08-10 Chong Yidong <cyd@stupidchicken.com>
14885
14886 * subr.el (string-mark-left-to-right): New function.
14887
14888 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14889 Use string-mark-left-to-right.
14890 (list-buffers-noselect): Caller changed.
14891
a3dae87a
SM
14892 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14893 Use string-mark-left-to-right.
3e26a4a2
CY
14894 (tabulated-list-print): Recenter after moving point.
14895
ac8cf6e6
JL
148962011-08-10 Juri Linkov <juri@jurta.org>
14897
14898 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14899 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14900 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14901
8d96c9a4
CY
149022011-08-09 Chong Yidong <cyd@stupidchicken.com>
14903
14904 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14905 (Bug#7554).
14906
7be1c708 149072011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14908
14909 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14910 character. (Bug#6594)
14911
37e11a63
CY
149122011-08-08 Chong Yidong <cyd@stupidchicken.com>
14913
839dde57
CY
14914 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14915 (image-dired--with-db-file): New macro.
14916 (image-dired-write-tags, image-dired-remove-tag)
14917 (image-dired-create-gallery-lists, image-dired-write-comments)
14918 (image-dired-get-comment, image-dired-mark-tagged-files)
14919 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14920 (image-dired-gallery-generate): Use insert-file-contents.
14921
37e11a63
CY
14922 * time.el (display-time-world-list, display-time-world-display):
14923 * time-stamp.el (time-stamp-string):
14924 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14925 set-time-zone-rule (Bug#7337).
14926
0b4946c4
DU
149272011-08-08 Daiki Ueno <ueno@unixuser.org>
14928
14929 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14930 (epg-error-to-string, epg-errors-to-string): New function.
14931 (epg-wait-for-completion): Reverse errors list.
14932 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14933 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14934 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14935 (epg-sign-keys, epg-generate-key-from-file)
14936 (epg-generate-key-from-string): Format errors by using
14937 epg-errors-to-string (bug#9255).
14938 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14939
75bfc667
JL
149402011-08-07 Juri Linkov <juri@jurta.org>
14941
14942 * faces.el (list-faces-display): Remove extra angle bracket
14943 from `help-mode-map'.
14944
14945 * info.el (Info-history-toc-nodes): Doc fix.
14946
14947 * longlines.el (longlines-mode): Doc fix.
14948
673e08bb
SM
149492011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14950
4640dd88
SM
14951 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14952 of statements and in a few more cases (bug#9183).
14953
673e08bb
SM
14954 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14955 New functions.
14956 (cl-transform-lambda): Use them (bug#9239).
14957
89b3f019
MR
149582011-08-05 Martin Rudalics <rudalics@gmx.at>
14959
14960 * window.el (display-buffer-same-window)
14961 (display-buffer-same-frame, display-buffer-other-window)
14962 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14963 (pop-to-buffer-other-window)
14964 (pop-to-buffer-same-frame-other-window)
14965 (pop-to-buffer-other-frame): Make them defuns.
14966 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14967
640c8776
SM
149682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * subr.el (make-composed-keymap): Move from C. Change calling
14971 convention, and improve docstring to bring attention to a subtle point.
14972 * minibuffer.el (completing-read-default): Adjust accordingly.
14973
63648a95
MA
149742011-08-03 Michael Albinus <michael.albinus@gmx.de>
14975
14976 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14977 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14978
14979 * net/trampver.el: Update release number.
14980
b796c9b7
SM
149812011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14984 "in" (bug#9190).
14985
2239d7d5
LMI
149862011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14987
e07dd7c3
LMI
14988 * mail/sendmail.el (sendmail-query-once): Restore the current
14989 buffer after querying (bug#9074).
14990
0e6a2bd7
LMI
14991 * dired.el (dired-flagged): Use different faces for marked and
14992 flagged files (bug#6117).
14993
ce887515
LMI
14994 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14995 (bug#4433).
14996
92f2affc
LMI
14997 * ido.el (ido-mode): Switch off the message if called
14998 non-interactively.
14999
57d5aff0
LMI
15000 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15001 before 587, since it appears that that's more likely to work for
15002 more people.
15003
98cd6c18 15004 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15005 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15006 exist.
15007
b96dec83
LMI
15008 * info.el: Remove the `Info-beginning-of-buffer' function
15009 (bug#8325).
15010
b796c9b7
SM
15011 * net/network-stream.el (network-stream-open-starttls):
15012 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15013
d90e2ea0
MR
150142011-08-01 Martin Rudalics <rudalics@gmx.at>
15015
15016 * window.el (display-buffer-in-window): Don't set dedicated status
15017 of window here (Bug#9215).
15018 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15019 (display-buffer-pop-up-side-window)
b796c9b7 15020 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15021
cca09170
SM
150222011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15025 before binding generated-autoload-file.
15026
027b979c
DD
150272011-08-01 Deniz Dogan <deniz@dogan.se>
15028
15029 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15030
3c7ee4f3
MA
150312011-07-30 Michael Albinus <michael.albinus@gmx.de>
15032
15033 Sync with Tramp 2.2.2.
15034
15035 * net/trampver.el: Update release number.
15036
2cc8e51a
JL
150372011-07-30 Juri Linkov <juri@jurta.org>
15038
15039 * dired-aux.el (dired-touch-initial): Remove function.
15040 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15041 current time, and `default' to the last modification time of the
15042 current marked file (bug#6887).
15043
a514d856
JM
150442011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15045
15046 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15047 numeric argument to read-number (bug#9163).
a514d856 15048
8a7eddd7
MA
150492011-07-27 Michael Albinus <michael.albinus@gmx.de>
15050
15051 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15052 connection process, it could be nil.
15053
1ddd96f5
LL
150542011-07-27 Leo Liu <sdl.web@gmail.com>
15055
15056 Simplify url handling in rcirc-mode.
15057
15058 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15059 (rcirc-browse-url-at-mouse): Remove.
15060 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15061
b248a85d
AM
150622011-07-26 Alan Mackenzie <acm@muc.de>
15063
15064 Fontify bitfield declarations properly.
15065
15066 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15067 (c-symbol-chars): Now exported as a lang variable.
15068 (c-not-primitive-type-keywords): New lang variable.
15069
15070 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15071 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15072 parsed as a bitfield declaration.
b248a85d 15073
b796c9b7
SM
15074 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15075 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15076 (c-punctuation-in): New function.
15077 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15078 declarations properly.
15079
68575ab0
UJ
150802011-07-26 Ulf Jasper <ulf.jasper@web.de>
15081
15082 * calendar/icalendar.el (icalendar--all-events): Take care of
15083 multiple vcalendars in a single file.
b796c9b7 15084 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15085
0f0a88b9
DD
150862011-07-25 Deniz Dogan <deniz@dogan.se>
15087
15088 * image.el (insert-image): Clarifying docstring.
15089
0b3f36df
MA
150902011-07-24 Michael Albinus <michael.albinus@gmx.de>
15091
15092 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15093 `tramp-send-command-and-check' if there is no error.
15094 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15095
a9901f61
AM
150962011-07-22 Alan Mackenzie <acm@muc.de>
15097
15098 Prevent cc-langs.elc being loaded at run time.
15099
15100 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15101 cc-langs.
15102
4d61f28d 15103 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15104 "(require 'cc-langs)". Quote a form so it will evaluate at
15105 (cc-mode's) compilation time.
15106
11d074b2
MA
151072011-07-22 Michael Albinus <michael.albinus@gmx.de>
15108
15109 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15110 loading. (Bug#9114)
15111
938b94c8
MR
151122011-07-21 Martin Rudalics <rudalics@gmx.at>
15113
15114 * window.el (display-buffer-pop-up-window)
15115 (display-buffer-pop-up-side-window)
15116 (display-buffer-in-side-window): Call display-buffer-set-height
15117 and display-buffer-set-width after setting the new window's
b796c9b7 15118 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15119
bfa4f190
SS
151202011-07-20 Sam Steingold <sds@gnu.org>
15121
15122 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15123 (etags-tags-included-tables): Call `convert-standard-filename' on
15124 the file names contained in TAGS so that windows Emacs can handle
15125 TAGS files created by cygwin ctags.
15126
8ca42262
LMI
151272011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15128
15129 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15130 which apparently didn't work.
15131
5db2afd2 151322011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15133
5db2afd2
RW
15134 * proced.el (proced-send-signal): For *Marked Processes* buffer
15135 put point at beginning of buffer.
15136
92e15d10
SB
151372011-07-19 Stephen Berman <stephen.berman@gmx.net>
15138
15139 * proced.el (proced-format): Make header lines align with the text
15140 (bug#1779).
15141
1bfd59e5
LMI
151422011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15143
15144 * view.el (view-buffer): Allow running in `special' modes if we're
15145 visiting a file (bug#8615).
15146
f5aae37c
MR
151472011-07-19 Martin Rudalics <rudalics@gmx.at>
15148
15149 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15150 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15151 New functions.
f5aae37c
MR
15152 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15153 more accurately.
15154
bf2c1571
AM
151552011-07-18 Alan Mackenzie <acm@muc.de>
15156
15157 Fontify declarators properly when, e.g., a jit-lock chunk begins
15158 inside a declaration.
15159
15160 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15161
b796c9b7
SM
15162 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15163 New function.
bf2c1571
AM
15164 (c-complex-decl-matchers): Insert reference to
15165 c-font-lock-enclosing-decls.
15166
15167 * progmodes/cc-engine.el (c-backward-single-comment):
15168 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15169 to nil around calls to (forward-comment -1).
15170
4e190b80
LMI
151712011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15172
12dc863d
LMI
15173 * image.el (put-image): Doc typo fix.
15174
a762e966
LMI
15175 * progmodes/etags.el (tags-search): Doc typo fix.
15176
4e190b80
LMI
15177 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15178 password if we get errors 550 to 554.
15179
f019fb21
LMI
151802011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15181
b796c9b7 15182 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15183
81746738
LMI
15184 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15185 indentation character (bug#6380).
15186
3ee3a1b5
LMI
15187 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15188
c82f64de
LMI
15189 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15190 to clarify what the problem is (bug#4291).
15191
f019fb21
LMI
15192 * simple.el (current-kill): Clarify what
15193 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15194 (auto-fill-mode): Document `auto-fill-function' in relation to
15195 `auto-fill-mode' (bug#2470).
f019fb21 15196
0794775d
LM
151972011-07-16 Lawrence Mitchell <wence@gmx.li>
15198
15199 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15200 method if slot is read-only (bug#9035).
15201
be39b8cc
MR
152022011-07-16 Martin Rudalics <rudalics@gmx.at>
15203
b796c9b7 15204 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15205 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15206 selected before, see discussion of (Bug#8615), (Bug#6954).
15207 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15208
6ccf7859
GM
152092011-07-15 Glenn Morris <rgm@gnu.org>
15210
15211 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15212 Respect help-form.
6ccf7859 15213
87e86684
LM
152142011-07-09 Lawrence Mitchell <wence@gmx.li>
15215
15216 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15217 (gnutls-negotiate): Use it.
15218
d6066239
LMI
152192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15220
b796c9b7
SM
15221 * net/gnutls.el (gnutls-negotiate):
15222 Upcase `gnutls-algorithm-priority'.
d6066239 15223
bd23ebc0
GM
152242011-07-15 Glenn Morris <rgm@gnu.org>
15225
c65bca65
GM
15226 * jka-compr.el (jka-compr-verbose): Move from here...
15227 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15228 Add missing :version tag.
15229 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15230
478615cc
LMI
152312011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15232
7b41decb
LMI
15233 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15234 (gnutls-negotiate): Use it.
15235
dbc44fcd
LMI
15236 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15237
06789f97
LMI
15238 * info.el (Info-beginning-of-buffer): New command.
15239 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15240 announcing `b' as the key (bug#8325).
ab896c37 15241 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15242
c39da690
LMI
15243 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15244
3aa5f34b
LMI
15245 * international/mule-cmds.el
15246 (describe-specified-language-support): Make the error message
15247 clearer (bug#8905).
15248
4bf0979f
LMI
15249 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15250
478615cc
LMI
15251 * isearch.el (isearch-barrier): Add a doc string, since it's
15252 mentioned in a function doc string (bug#8678).
15253
75c68aa1
MR
152542011-07-15 Martin Rudalics <rudalics@gmx.at>
15255
15256 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15257 buffer argument (Bug#9083) and self-identifying label argument.
15258
a7c33da2
GM
152592011-07-15 Glenn Morris <rgm@gnu.org>
15260
15261 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15262
2f5c6024
LMI
152632011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15264
15265 * man.el (Man-fontify-manpage): Fix message when formatting the
15266 man page (bug#7929).
15267
0bb23927 152682011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15269
15270 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15271 argument LRM; if non-nil, append an invisible LRM character to the
15272 buffer name.
15273 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15274 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15275 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15276 paragraph direction.
cce4b0a7 15277
621ef9ab
LMI
152782011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15279
d1583c48
LMI
15280 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15281 the man page name (bug#7929).
15282
6a57fb5f
LMI
15283 * image.el (put-image): Mention the `put-image' overlay property
15284 (bug#7834).
15285
d7956b14
LMI
15286 * scroll-bar.el (set-scroll-bar-mode): Mention that
15287 `scroll-bar-mode' lists the values (bug#7772).
15288
5b2d4a66
LMI
15289 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15290 command (bug#7729).
15291
7509a874
LMI
15292 * rect.el (apply-on-rectangle): Return the point after the last
15293 operation.
15294 (string-rectangle): Go to the point after the last operation
15295 (bug#7522).
15296
4fe74b19
LMI
15297 * printing.el (pr-toggle-region): Clarify the documentation
15298 slightly (bug#7493).
15299
b796c9b7
SM
15300 * time.el (display-time-update):
15301 Allow `display-time-mail-function' to return nil (bug#7158).
15302 Fix suggested by Detlev Zundel.
ab283561 15303
fc233c9d
LMI
15304 * vc/diff.el (diff): Clarify the order the file names are read
15305 (bug#7111).
15306
43f5740b
LMI
15307 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15308 the doc string (bug#7015).
15309
f2182a76
LMI
15310 * font-lock.el (font-lock-maximum-decoration): Mention what
15311 numeric levels mean (bug#6935).
15312
621ef9ab
LMI
15313 * startup.el (initial-buffer-choice): Don't mention the `none'
15314 selection, which is against policy.
15315
adc47434
MR
153162011-07-14 Martin Rudalics <rudalics@gmx.at>
15317
b796c9b7
SM
15318 * window.el (display-buffer-normalize-special):
15319 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15320
7e5bfb8f
EZ
153212011-07-14 Eli Zaretskii <eliz@gnu.org>
15322
15323 * subr.el (version<, version<=, version=): Mention "-CVS" and
15324 "-12345" alpha version numbers.
15325
27fa387a
CY
153262011-07-14 Chong Yidong <cyd@stupidchicken.com>
15327
15328 * bindings.el: Add advertised binding for set-mark-command
15329 (Bug#5772).
15330
8bdfa064
CY
153312011-07-14 Chong Yidong <cyd@stupidchicken.com>
15332
15333 * bindings.el (mode-line-other-buffer):
15334 * bookmark.el (bookmark-bmenu-2-window):
15335 * bs.el (bs-cycle-next, bs-cycle-previous):
15336 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15337 switch-to-buffer.
15338
15339 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15340 Delete.
8bdfa064 15341
5eba16a3
JB
153422011-07-14 Juanma Barranquero <lekktu@gmail.com>
15343
15344 * follow.el (follow-debug-message, follow-redisplay):
15345 * jka-cmpr-hook.el (with-auto-compression-mode):
15346 Fix typos in docstrings.
15347
15853710
LMI
153482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15349
a28e4607
LMI
15350 * subr.el (with-silent-modifications): Clarify somewhat what the
15351 macro inhibits (bug#6525).
15352
15853710
LMI
15353 * simple.el (eval-expression): Note what it does if called
15354 interactively (bug#6495).
15355
bee0fcef
CY
153562011-07-13 Chong Yidong <cyd@stupidchicken.com>
15357
b796c9b7
SM
15358 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15359 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15360
15361 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15362 Remove switch-to-buffer.
15363
58274504
LMI
153642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15365
bd2fcc8d
LMI
15366 * files.el (make-directory): Clarify that an error will be raised
15367 if there's an error (bug#6397).
15368
0f04b32c
LMI
15369 * startup.el (initial-buffer-choice): Add `none' as a choice
15370 (bug#6234).
15371
465c5fc8
LMI
15372 * subr.el (add-hook): Clarify section about buffer-local hooks
15373 (bug#6218).
15374
58274504
LMI
15375 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15376
bead9a43
JB
153772011-07-13 Juanma Barranquero <lekktu@gmail.com>
15378
15379 * tabify.el (untabify): Preserve the current column so that point
15380 doesn't move (bug#6032).
15381
3af98a7b
LMI
153822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15383
b796c9b7
SM
15384 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15385 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15386
6240145a
GM
153872011-07-13 Glenn Morris <rgm@gnu.org>
15388
15389 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15390 (dired-insert-directory): Give a message the first time
15391 if ls is found not to support --dired.
15392
1d8c2ccc
LMI
153932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15394
15395 * simple.el (toggle-truncate-lines): Clarify what is toggled
15396 (bug#5580). Text by Drew Adams.
15397
5fc4038e
CY
153982011-07-13 Chong Yidong <cyd@stupidchicken.com>
15399
15400 * simple.el (blink-matching-open): Make the error message from the
15401 last change less verbose.
15402
bf6012e5
DN
154032011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15404
15405 * font-lock.el (font-lock-comment-face): Use the high contrast
15406 "yellow" color for font-lock-comment-face on low color terminals
15407 using a dark background color (bug#4221).
15408
343c3b5a
LMI
154092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15410
7e9505c5
LMI
15411 * dired.el (dired-insert-set-properties): Make the doc string
15412 reflect what it does now (bug#5325).
15413
c26fdcf5
LMI
15414 * simple.el (blink-matching-open): Say that we were unable to find
15415 the match within the limit, if we're limited (bug#5122).
15416
bb388cc5
LMI
15417 * international/mule-cmds.el (prefer-coding-system): Add an
15418 example (bug#4869).
15419
343c3b5a
LMI
15420 * progmodes/etags.el (tags-search): Document `file-list-form'
15421 (bug#4731).
15422
2a517d45
LM
154232011-07-13 Lawrence Mitchell <wence@gmx.li>
15424
15425 * net/browse-url.el (browse-url-default-browser)
15426 (browse-url-browser-function): Make the default browser choice a
15427 bit more logical (bug#4300). Also clean up the doc string.
15428
b6c78ef2
JB
154292011-07-13 Juanma Barranquero <lekktu@gmail.com>
15430
15431 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15432 binary endings (bug#4440).
15433
1c4dd947
LMI
154342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15435
a2014063
LMI
15436 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15437 which can be pretty annoying (bug#8971).
15438
9c9c2d88
LMI
15439 * jka-compr.el (jka-compr-verbose): New variable, and use
15440 throughout (bug#8971).
15441
1c4dd947
LMI
15442 * info.el (Info-find-file): Fall back on the installation
15443 directory if we can't find the info node anywhere else.
15444
a1c9f41b
SO
154452011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15446
15447 * vc/vc.el (vc-revert-file):
15448 Don't set file time-stamp in the past. (Bug#5181)
15449
536f3d36
LMI
154502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15451
7152b011
LMI
15452 * files.el (after-find-file): Give a better error message when
15453 trying to find a symlink that points to a file that doesn't exist
15454 (bug#4398).
15455
536f3d36
LMI
15456 * progmodes/cc-vars.el: Remove (probably) misleading comment
15457 (bug#4396).
15458
460c0fba
JB
154592011-07-12 Johan Bockgård <bojohan@gnu.org>
15460
15461 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15462
7a6bda45
CY
154632011-07-12 Chong Yidong <cyd@stupidchicken.com>
15464
15465 * mouse-sel.el: Hack restoring functionality, while keeping
15466 compatibility with 2010-07-03 changes to mouse selection.
15467 (mouse-sel-primary-overlay): New var.
15468 (mouse-sel-selection-alist): Use it.
15469 (mouse-sel-mode): Doc fix; remove points that are default features
15470 of mouse.el.
15471
c79598ef
JB
154722011-07-12 Johan Bockgård <bojohan@gnu.org>
15473
15474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15475 Fix previous fix (bug#2490).
15476
ff8be6ef
RW
154772011-07-12 Roland Winkler <winkler@gnu.org>
15478
b796c9b7
SM
15479 * textmodes/bibtex.el (bibtex-initialize):
15480 Use pop-to-buffer-same-window.
ff8be6ef
RW
15481 (bibtex-search-entries): Fix interactive call.
15482
296ba3ee
LMI
154832011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484
f5242a02 15485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15486 Fontise bytecomp Error lines more correctly (bug#2490).
15487 Fix suggested by Johan Bockgård.
f5242a02 15488
296ba3ee
LMI
15489 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15490
15491 * dired-x.el (dired-guess-default): Use `delete-dups'.
15492
f69fd0d2
CY
154932011-07-12 Chong Yidong <cyd@stupidchicken.com>
15494
15495 * dired.el (dired-mark-prompt):
15496 * dired-aux.el (dired-read-shell-command): Doc fix.
15497
eab5dc07
LMI
154982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15499
b796c9b7
SM
15500 * mail/sendmail.el (sendmail-query-once):
15501 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15502 emacs -Q.
15503
15504 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15505
eab5dc07
LMI
15506 * cus-edit.el (custom-file): Take an optional no-error variable.
15507 (customize-save-variable): Set the variable, and give a warning if
15508 running under "emacs -q".
15509
a1e65d42
JB
155102011-07-11 Juanma Barranquero <lekktu@gmail.com>
15511
15512 * loadhist.el (unload-feature-special-hooks):
15513 Add `auto-coding-functions', `fill-nobreak-predicate' and
15514 `find-directory-functions' (bug#5327).
15515
1d52da10
LMI
155162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15517
be958f1d
LMI
15518 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15519
5bedb26c
LMI
15520 * cus-edit.el (custom-guess-name-alist): -alist variables should
15521 use the `alist' type (bug#3120). Suggested by Drew Adams.
15522
1d52da10
LMI
15523 * printing.el: Add documentation to all the `pr-toggle-' commands.
15524
cd394be1 155252011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15526
15527 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15528 backends where it makes sense (bug#2623).
15529
dcc88d8a
LMI
155302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15531
c3de9feb
LMI
15532 * dired-x.el (dired-guess-default): Remove duplicate shell command
15533 entries (bug#2028).
8a93078b 15534 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15535 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15536
dcc88d8a
LMI
15537 * subr.el (remove-duplicates): New conveniency function.
15538
505e3645
LMI
155392011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540
15541 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15542 (bug#1526).
15543
155442011-07-10 Martin Rudalics <rudalics@gmx.at>
15545
15546 * window.el (display-buffer-normalize-default): Don't invert
15547 meaning of even-window-heights. Reported by Eli Zaretskii
15548 <eliz@gnu.org>.
15549
455e4fa1
BR
155502011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15551
15552 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15553
8e0bc3e9
CY
155542011-07-10 Chong Yidong <cyd@stupidchicken.com>
15555
15556 * window.el (display-buffer): Fix arguments to
15557 display-buffer-reuse-window in last change.
15558
fa7c3228
CY
15559 * faces.el (link): Use a less saturated blue on light backgrounds.
15560
15561 * startup.el (fancy-startup-text, fancy-about-text)
15562 (fancy-startup-tail): Use font-lock faces, for background safety.
15563
c0a7f300
BN
155642011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15565
b796c9b7
SM
15566 * emulation/viper-cmd.el (viper-change-state-to-vi):
15567 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15568
4dc2a129
MR
155692011-07-09 Martin Rudalics <rudalics@gmx.at>
15570
15571 * window.el (display-buffer-default-specifiers): Remove.
15572 (display-buffer-macro-specifiers): Remove default specifiers.
15573 (display-buffer-alist): Default to nil.
b796c9b7 15574 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15575 (display-buffer-pop-up-window): Allow splitting internal
15576 windows. Check whether a live window was created.
15577 (display-buffer-other-window-means-other-frame)
15578 (display-buffer-normalize-arguments): Rename to
15579 display-buffer-normalize-argument and rewrite. Set the
15580 other-window specifier.
15581 (display-buffer-normalize-special): New function.
15582 (display-buffer-normalize-options): Rename to
15583 display-buffer-normalize-default and rewrite.
15584 (display-buffer-normalize-options-inhibit): Remove.
15585 (display-buffer-normalize-specifiers): Rewrite.
15586 (display-buffer): Process other-window specifier and call
15587 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15588 more faithfully.
b796c9b7 15589 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15590 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15591 (display-buffer-in-window, display-buffer-alist-set):
15592 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15593 <tassilo@member.fsf.org>.
15594
2d43b8c9
LL
155952011-07-09 Leo Liu <sdl.web@gmail.com>
15596
15597 * register.el (insert-register): Restore accidental change on
15598 2011-06-26. (Bug#9028)
15599
7f9b7c53
GM
156002011-07-09 Glenn Morris <rgm@gnu.org>
15601
15602 * subr.el (remq): Handle the empty list. (Bug#9024)
15603
f042cfd8
AS
156042011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15605
15606 * mail/sendmail.el (send-mail-function): No longer delay custom
15607 initialization.
15608 * custom.el (custom-initialize-delay): Doc fix.
15609
856b2f11
SM
156102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15613
afae1d68
MA
156142011-07-08 Michael Albinus <michael.albinus@gmx.de>
15615
15616 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15617 human-friendly prompt.
15618
0757af94
SM
156192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15622 provided by a particular plugin.
15623
d760b731
LMI
156242011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15625
15626 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15627 save customizations (with "emacs -Q"), just set the variable
15628 instead of erroring out.
15629
15630 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15631
cd79ce90
JL
156322011-07-08 Juri Linkov <juri@jurta.org>
15633
15634 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15635 (archive-zip-update-case): Use 7z if found by `executable-find'.
15636 The order of searching the available programs is the same as in
15637 `archive-zip-extract' (bug#8968).
15638
14cc04aa
CY
156392011-07-07 Chong Yidong <cyd@stupidchicken.com>
15640
15641 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15642 (menu-bar-options-menu): Tweak descriptions.
15643
0a1848ec
LMI
156442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15645
15646 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15647 menu items into verb phrases (bug#1421). Also refill to fit under
15648 80 columns.
15649
f5bd0689
CY
156502011-07-07 Chong Yidong <cyd@stupidchicken.com>
15651
538e85c6
CY
15652 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15653 (Info-read-node-name): Doc fix (Bug#1084).
15654
f5bd0689
CY
15655 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15656 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15657 (end-of-sexp, beginning-of-sexp)
15658 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15659 (forward-symbol, forward-same-syntax, word-at-point)
15660 (sentence-at-point): Doc fix (Bug#1144).
15661
56ec5115
LMI
156622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15663
f3f8e37f
LMI
15664 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15665 should cover it (bug#1281).
15666
0757af94 15667 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15668
e9fce1ac 15669 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15670 negotiation fails, then possibly try again with a non-encrypted
15671 connection (bug#9017).
15672
56ec5115
LMI
15673 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15674 be used.
15675
c2f9aec8
RS
156762011-07-07 Richard Stallman <rms@gnu.org>
15677
15678 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15679 property, and handle its changed format.
15680 Look for the correct line number.
15681 Use file's line contents (but not past first =) to find
15682 correct line in message.
15683
ef7b981d 156842011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15685
15686 * international/characters.el (build-unicode-category-table):
15687 Delete it.
0757af94 15688 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15689
0757af94 15690 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15691 to src/chartab.c.
15692 (get-char-code-property): Call unicode-property-table-internal to
15693 load a file. Call get-unicode-property-internal where necessary.
15694 (put-char-code-property): Call unicode-property-table-internal to
15695 load a file. Call put-unicode-property-internal where necessary.
15696 put-unicode-property-internal where necessary.
0757af94
SM
15697 (char-code-property-description):
15698 Call unicode-property-table-internal to load a file.
c805dec0
KH
15699
15700 * international/charprop.el:
15701 * international/uni-bidi.el:
15702 * international/uni-category.el:
15703 * international/uni-combining.el:
15704 * international/uni-comment.el:
15705 * international/uni-decimal.el:
15706 * international/uni-decomposition.el:
15707 * international/uni-digit.el:
15708 * international/uni-lowercase.el:
15709 * international/uni-mirrored.el:
15710 * international/uni-name.el:
15711 * international/uni-numeric.el:
15712 * international/uni-old-name.el:
15713 * international/uni-titlecase.el:
15714 * international/uni-uppercase.el: Regenerate.
15715
15716 * loadup.el: Load international/charprop.el before
15717 international/characters.
15718
e14b388a
CY
157192011-07-07 Chong Yidong <cyd@stupidchicken.com>
15720
15721 * window.el (next-buffer, previous-buffer): Signal an error if
15722 called from a minibuffer window.
15723
15724 * bindings.el: Revert 2011-07-04 change.
15725
354cf0ba
RS
157262011-07-06 Richard Stallman <rms@gnu.org>
15727
15728 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15729 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15730 Treat markers like ints.
15731 (rmail-mime-entity): Doc fix.
15732
a48868a7
LMI
157332011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
4906cd3d
LMI
15735 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15736 defcustom again for backwards compatibility.
15737
e0457abe
LMI
15738 * simple.el (shell-command-on-region): Fill.
15739
d67f7e1f
LMI
15740 * dired-aux.el (dired-kill-line): Add a doc string.
15741
fe204702
LMI
15742 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15743 to "\\sw\\|\\s_" (bug#358).
15744
a48868a7
LMI
15745 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15746 (dired-unmark-backward): Ditto.
15747 (dired-flag-backup-files): Ditto.
15748
15749 * dired-x.el (dired-mark-sexp): Ditto.
15750
aa8a705c
RS
157512011-07-06 Richard Stallman <rms@gnu.org>
15752
15753 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15754 (rmail-mime-entity): New arg TRUNCATED.
15755 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15756 New functions.
15757 (rmail-mime-save): Warn if entity is truncated.
15758 (rmail-mime-toggle-hidden): Likewise, for showing.
15759 (rmail-mime-process-multipart): Record when an entity is truncated.
15760
a9a936b9
RS
15761 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15762 if ENTITY is a string.
15763
1f2b92cb
LMI
157642011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15765
f4f73198 15766 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15767 of faces when `M-C-x'-ing their definitions (bug#8378).
15768 Also clean up the code slightly.
f4f73198 15769
12b16734 15770 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15771 because that makes the colors go away.
12b16734 15772
f0691d22
LMI
15773 * mail/sendmail.el (send-mail-function): Change the default to
15774 `sendmail-query-once'.
9e87df06 15775 (sendmail-query-once): Add an autoload cookie.
f0691d22 15776
1f2b92cb
LMI
15777 * net/network-stream.el (network-stream-open-starttls): Try using
15778 a plain connection even if the server offered STARTTLS, and we
15779 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15780 capability. This should make smtpmail.el work in slightly more
15781 configurations.
15782
1cdd2a1b
MA
157832011-07-06 Michael Albinus <michael.albinus@gmx.de>
15784
15785 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15786 New defun.
15787 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15788
fbcc67e2
MM
157892011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15790
15791 * progmodes/sql.el: Version 3.0
0757af94 15792 (sql-product-alist): Add product :completion-object,
fbcc67e2 15793 :completion-column, and :statement attributes.
0757af94 15794 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15795 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15796 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15797 ansi keywords.
15798 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15799 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15800 (sql-oracle-show-reserved-words): New function for development.
15801 (sql-product-font-lock): Simplify for source code buffers.
15802 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15803 New functions.
15804 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15805 (sql-mode-map): Add statement movement functions.
15806 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15807 New variable.
fbcc67e2
MM
15808 (sql-statement-regexp, sql-beginning-of-statement)
15809 (sql-end-of-statement, sql-signum): New functions.
0757af94 15810 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15811 (sql-show-sqli-buffer): Bug fix.
15812 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15813 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15814 with sql-interactive-mode.
15815 (sql-save-connection): Save buffer local settings.
0757af94 15816 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15817 (sql-product-interactive): Bug fix.
15818 (sql-preoutput-hold): New variable.
15819 (sql-interactive-remove-continuation-prompt): Bug fixes.
15820 (sql-debug-redirect): New variable.
15821 (sql-str-literal): New function.
15822 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15823 Redesign.
fbcc67e2
MM
15824 (sql-oracle-save-settings, sql-oracle-restore-settings)
15825 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15826 (sql-completion-object, sql-completion-column)
15827 (sql-completion-sqlbuf): New variables.
15828 (sql-build-completions-1, sql-build-completions)
15829 (sql-try-completion): New functions.
15830 (sql-read-table-name): Use them.
15831 (sql-contains-names): New buffer local variable.
15832 (sql-list-all, sql-list-table): Use it.
15833 (sql-oracle-completion-types): New variable.
15834 (sql-oracle-completion-object, sql-sqlite-completion-object)
15835 (sql-postgres-completion-object): New functions.
15836
d4eaeab1
GM
158372011-07-06 Glenn Morris <rgm@gnu.org>
15838
15839 * window.el (pop-to-buffer): Doc fix.
15840
322b7dab 158412011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15842
15843 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15844
322b7dab 158452011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15846
322b7dab 15847 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15848
322b7dab 15849 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15850
605dd5bf
CY
158512011-07-05 Chong Yidong <cyd@stupidchicken.com>
15852
15853 * button.el (button): Inherit from link face. Suggested by Dan
15854 Nicolaescu.
15855
7dbfa719
SM
158562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15857
3db614b0
SM
15858 * progmodes/gdb-mi.el: Fit in 80 columns.
15859 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15860 switch-to-buffer.
15861
7dbfa719
SM
15862 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15863 if imenu is simply not configured (bug#8941).
15864
919d884a
KM
158652011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15866
15867 * allout.el (allout-post-undo-hook): New allout outline-change
15868 event hook to signal undo activity.
15869 (allout-post-command-business): Run allout-post-undo-hook if an
15870 undo just occurred.
7dbfa719
SM
15871 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15872 * allout-widgets.el (allout-widgets-after-undo-function):
15873 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15874 in the vicinity of an undo.
15875 (allout-widgets-mode): Include allout-widgets-after-undo-function
15876 on the new allout-post-undo-hook.
15877
450a0f09
SM
158782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15879
15880 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15881 Let define-derived-mode define it.
15882 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15883 cycles of abbrev-table inheritance (bug#8998).
15884
2de69e00
RW
158852011-07-05 Roland Winkler <winkler@gnu.org>
15886
15887 * textmodes/bibtex.el: Add support for biblatex.
15888 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15889 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15890 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15891 (bibtex-entry-alist, bibtex-field-alist): New variables.
15892 (bibtex-entry-field-alist): Obsolete alias for
15893 bibtex-BibTeX-entry-alist.
15894 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15895 (bibtex-set-dialect): New command.
15896 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15897 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15898 Bind via bibtex-set-dialect.
2de69e00
RW
15899 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15900 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15901 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15902 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15903 Define via bibtex-set-dialect.
450a0f09
SM
15904 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15905 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15906 (bibtex-vec-push, bibtex-vec-incr): New functions.
15907 (bibtex-format-entry, bibtex-field-list)
15908 (bibtex-print-help-message, bibtex-validate)
15909 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15910
2dcdbdd9
SM
159112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15912
15913 * progmodes/compile.el (compilation-goto-locus):
15914 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15915 * bs.el (bs-cycle-next, bs-cycle-previous):
15916 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15917 * bindings.el (mode-line-other-buffer):
15918 * autoinsert.el (auto-insert):
15919 * arc-mode.el (archive-extract):
15920 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15921
b27640fe
JB
159222011-07-05 Juanma Barranquero <lekktu@gmail.com>
15923
15924 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15925 Fix check of `emacs-lock-unlockable-modes'.
15926 Coerce true values of `emacs-lock--try-unlocking' to t.
15927
53bbe3ad
JB
159282011-07-05 Juanma Barranquero <lekktu@gmail.com>
15929
15930 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15931 * emacs-lock.el: New file.
15932
1d3cdbc7
JD
159332011-07-05 Julien Danjou <julien@danjou.info>
15934
15935 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15936 than `boundp' to check if face is set.
15937
9173deec
JB
159382011-07-05 Juanma Barranquero <lekktu@gmail.com>
15939
15940 * register.el (registerv-make):
15941 * window.el (window-min-height): Fix typos in docstrings.
15942
869795d6
JD
159432011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15944
9173deec 15945 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15946 Update doc string.
15947
b768cdcd
JB
159482011-07-04 Juanma Barranquero <lekktu@gmail.com>
15949
15950 * server.el (server-execute): Catch quit and call
15951 `server-return-error' to pass the error back to emacsclient and
15952 close the connection (bug#8942).
15953
13aa217b
KM
159542011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15955
15956 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15957 insecure exception for current topic. Also note that auto-saves
15958 are handled differently.
15959
5d3385a0 15960 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15961 State variables for tracking auto-save inhibition situation.
15962
15963 (allout-write-contents-hook-handler): Rename from
15964 'allout-write-file-hook-handler', and describe how it depends on
15965 write-contents-functions sensitivity to non-nil value to prevent
15966 file write.
15967
15968 (allout-auto-save-hook-handler): Remove. auto-save does not check
15969 this in individual buffers, only in the starting buffer, so this
15970 is not the right way for us to inhibit auto-save in a buffer
15971 according to its condition.
15972
15973 (allout-mode): Use new allout-write-contents-hook-handler, and
15974 only with write-contents-functions. Remove auto-save provisions -
15975 they're implemented elsewhere.
15976
15977 (allout-before-change-handler): If undo is in progress, note that
15978 for attention of allout-post-command-business.
15979
15980 (allout-post-command-business): If the command we're following was
15981 an undo, check for change in the status of encrypted items and
15982 adjust auto-save inhibitions accordingly.
15983
15984 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15985 according to whether there are or aren't any plain-text topics
15986 pending encryption.
15987
2dcdbdd9 15988 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15989 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15990 if there are plain-text topics pending encryption.
13aa217b
KM
15991
15992 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15993 buffer-saved-size and some allout state to not inhibit auto-saves
15994 if there are no longer any plain-text topics pending encryption.
15995
0757af94
SM
15996 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15997 No longer provide for exemption of the current topic.
13aa217b 15998
ac89b32c
JL
159992011-07-04 Juri Linkov <juri@jurta.org>
16000
16001 Add 7z operations to delete and save changed members (bug#8968).
16002 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16003 New defcustoms.
16004 (archive-7z-write-file-member): New function.
16005 (archive-7z-summarize): Fix the number of dashes in the
16006 listing output.
16007
8fa39615
SM
160082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16011 (bug#8958).
16012
2f11b3f1
CY
160132011-07-04 Chong Yidong <cyd@stupidchicken.com>
16014
d66fef2b
CY
16015 * bindings.el: Ignore next-buffer and previous-buffer in
16016 minibuffer-local-map.
16017
2f11b3f1
CY
16018 * font-lock.el (font-lock-builtin-face): Change light background
16019 color to dark slate blue (Bug#6693).
16020
f932a347
WD
160212011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16022
16023 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16024
c8af70e1
SM
160252011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16028 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16029 Add switch-to-buffer.
16030
f158badc
LMI
160312011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16032
16033 * isearch.el (isearch-search-fun-function): Clarify further the
16034 meaning of the function returned.
16035
6d95bd46
MA
160362011-07-04 Michael Albinus <michael.albinus@gmx.de>
16037
16038 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16039
16040 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16041 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16042 Use it.
16043 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16044 `tramp-default-remote-path' does not exist.
16045 (tramp-send-command-and-read): New optional argument NOERROR.
16046 (tramp-open-connection-setup-interactive-shell)
16047 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16048 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16049 (tramp-process-sentinel): Flush also process' connection property.
16050 (tramp-sh-handle-start-file-process): Do not set process
16051 sentinel. It is done now ...
16052 (tramp-maybe-open-connection): ... here. (Bug#8929)
16053
909e6b67
MK
160542011-07-04 MON KEY <monkey@sandpframing.com>
16055
16056 * play/animate.el (animate-string): Doc fixes and allow changing
16057 the buffer name (bug#5417).
16058
160592011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16060
c8af70e1 16061 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16062
f34755dc
PE
160632011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16064
396cec72
PE
16065 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16066 This is simpler and helps future-proof the code.
16067 (timer-until): Use time-subtract and float-time.
08235028 16068 (timer--time-less-p): Use time-less-p.
f34755dc 16069
56e6cc31
JB
160702011-07-04 Juanma Barranquero <lekktu@gmail.com>
16071
3abb79e5
JB
16072 * type-break.el (timep): Use the value of `float-time' to avoid a
16073 byte-compiler warning.
16074
56e6cc31
JB
16075 * server.el (server-eval-and-print): Return any result, even nil.
16076
7b9430b4
PE
160772011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16078
16079 * type-break.el: Accept time formats that the builtins accept.
16080 (timep, type-break-time-difference): Accept any format that
16081 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16082 This is simpler and helps future-proof the code.
16083 (type-break-time-difference): Round rather than ignoring
16084 subseconds components.
16085
3034e9e7
LMI
160862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16087
16088 * info.el (Info-apropos-matches): Make non-interactive, since it
16089 doesn't seem to do anything useful as a command (bug#8829).
16090
1485f4c0
CY
160912011-07-03 Chong Yidong <cyd@stupidchicken.com>
16092
16093 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16094 Move from faces.el.
1485f4c0
CY
16095 (frame-default-terminal-background): New function.
16096
16097 * custom.el (custom-push-theme): Don't record faces in `changed'
16098 theme; this doesn't work correctly for per-frame face settings.
16099 (disable-theme): Use face-set-after-frame-default to reset faces.
16100 (custom--frame-color-default): New function.
16101
9fa3dd45
LMI
161022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16103
c8af70e1 16104 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16105 (bug#8769).
16106
6cbbc20c
KR
161072011-03-29 Kevin Ryde <user42@zip.com.au>
16108
16109 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16110 `perl-Test2' extend to match possible "fail #N" rep count
16111 (bug#8377).
16112
c7f98048
LMI
161132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16114
65676592
LMI
16115 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16116 `smtpmail-via-smtp' now returns the error instead of nil.
16117
c7f98048
LMI
16118 * isearch.el (isearch-search-fun-function): Clarify the doc string
16119 (bug#8101).
16120
56e6cc31 161212011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16122
16123 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16124 unnecessary spaces (bug#8987).
16125
2b216704
LMI
161262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16127
16128 * net/network-stream.el (open-network-stream): Use the
16129 :end-of-capability command thoughout.
16130
161312011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16132
16133 * net/network-stream.el (open-network-stream): Add the
16134 :end-of-capability command parameter, used by pop3.el.
16135
36adf6ce
LMI
161362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16137
1ca0da0e
LMI
16138 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16139
fc00f69c
LMI
16140 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16141 for list)" (bug#6475).
16142
28fd8759 16143 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16144 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16145 an error (bug#6297).
16146
0dd8b6da
LMI
16147 * man.el (Man-reference-regexp): Allow matching possible
16148 word-wrapped references (bug#6289).
16149
ce1438d6
LMI
16150 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16151 for consistency with the other vc buffers (bug#6197).
16152 (vc-checkin): Ditto.
16153
16154 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16155
36adf6ce
LMI
16156 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16157
e83cc1f7
LMI
161582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16159
8a20ca4c
LMI
16160 * custom.el (defcustom): Clarify that :set is only used in the
16161 Customize user interface (bug#6089).
16162
83319045
LMI
16163 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16164 associated with a file, refuse to run instead of erroring out
16165 (bug#6084).
16166
a8392169
LMI
16167 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16168 the doc string, since it appears that using `fill-column' always
16169 controls the width (bug#7845).
16170
e83cc1f7
LMI
16171 * simple.el (shell-command-on-region): Say where the error output
16172 went if `shell-command-default-error-buffer' is set (bug#6857).
16173
e47ca23b
KM
161742011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16175
16176 * allout.el (allout-yank-processing): Adjust cursor position for
16177 backwards-deleted space.
16178
16179 (allout-rebullet-heading): Register changes with
16180 allout-exposure-changed-hook, so the modified topic is properly
16181 decorated.
16182
5cf56143
LMI
161832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16184
08549772
LMI
16185 * minibuffer.el (completion-in-region): Document PREDICATE
16186 (bug#7136).
16187
48e96771
LMI
16188 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16189 of keyword/argument pairs (bug#6904).
16190
c8af70e1
SM
16191 * replace.el (multi-occur):
16192 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16193
e17d05e2
LMI
161942011-07-02 Drew Adams <drew.adams@oracle.com>
16195
16196 * dired.el (dired-mark-if): Make the message about whether it's
16197 marking or unmarking clearer (bug#8523).
16198
063b0e45
LMI
161992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16200
16201 * disp-table.el (display-table-print-array): New function.
16202 (describe-display-table): Use it to print the vectors more pretty
16203 (Bug#8859).
16204
28545e04
MR
162052011-07-02 Martin Rudalics <rudalics@gmx.at>
16206
16207 * window.el (window-state-get-1): Don't assign clone numbers.
16208 Add clone-of item to list of window parameters.
16209 (window-state-put-2): Don't process clone numbers.
16210 (display-buffer-alist): Fix doc-string.
16211
3349e122
SM
162122011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * subr.el (remq): Don't allocate if it's not needed.
16215 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16216 (keymap--merge-bindings): New functions.
16217 (keymap-canonicalize): Use them to refine the canonicalization.
16218 * minibuffer.el (minibuffer-local-completion-map)
16219 (minibuffer-local-must-match-map): Move initialization from C.
16220 (minibuffer-local-filename-completion-map): Move initialization from C;
16221 don't inherit from anything here.
16222 (minibuffer-local-filename-must-match-map): Make obsolete.
16223 (completing-read-default): Use make-composed-keymap to combine
16224 minibuffer-local-filename-completion-map with either
16225 minibuffer-local-must-match-map or
16226 minibuffer-local-filename-completion-map.
16227
d224ac83
GM
162282011-07-01 Glenn Morris <rgm@gnu.org>
16229
3de63bf8
GM
16230 * type-break.el (type-break-time-sum): Use dolist.
16231
d224ac83
GM
16232 * textmodes/flyspell.el (flyspell-word-search-backward):
16233 Replace CL function.
16234
1a1e3f32
SM
162352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16236
fe3f64d5
SM
16237 * mouse.el (mouse--strip-first-event): New function.
16238 (function-key-map): Use it to map fringe clicks to normal clicks
16239 by default.
16240
eb604e34
SM
16241 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16242 (vc-bzr-revision-completion-table): Add support for annotate and date.
16243
1a1e3f32
SM
16244 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16245 inherit from parent.
16246
5bd35902
LMI
162472011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16248
ace6c69c 16249 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16250 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16251
191e2bed
LMI
16252 * dired.el (dired-mode): Fix up the doc string as suggested by
16253 Drew Adams (bug#8817).
16254
5bd35902
LMI
16255 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16256 cookie, since the manual says that it should be possible to add
16257 this function to `find-file-hook' (bug#8709).
16258
eee8207a
TZ
162592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16260
16261 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16262 here. Noted Ted Zlatanov as the maintainer.
16263 (cfengine-common-settings, cfengine-common-syntax): New functions
16264 to set up common things between `cfengine-mode' and
16265 `cfengine3-mode'.
16266 (cfengine3-mode): New mode.
16267 (cfengine3-defuns cfengine3-defuns-regex
16268 (cfengine3-class-selector-regex cfengine3-category-regex)
16269 (cfengine3-vartypes cfengine3-font-lock-keywords)
16270 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16271 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16272
36b148cf
MA
162732011-07-01 Michael Albinus <michael.albinus@gmx.de>
16274
16275 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16276
16277 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16278
0bf4ba9a
MR
162792011-07-01 Martin Rudalics <rudalics@gmx.at>
16280
16281 * window.el (same-window-buffer-names, same-window-regexps)
16282 (same-window-p, special-display-frame-alist)
16283 (special-display-popup-frame, special-display-function)
16284 (special-display-buffer-names, special-display-regexps)
16285 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16286 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16287 (split-window-preferred-function, split-height-threshold)
16288 (split-width-threshold, even-window-heights)
16289 (display-buffer-mark-dedicated, window-splittable-p)
16290 (split-window-sensibly, window-safely-shrinkable-p):
16291 Un-obsolete.
16292 (display-buffer): Don't spread args with function specifier
16293 because special-display-popup-frame won't like it.
16294
35837f51
PE
162952011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16296
d0672f86
PE
16297 Time-stamp simplifications and fixes.
16298 These improve accuracy slightly, and future-proof the code
16299 against some potential changes to current-time format.
16300
b9444d97
PE
16301 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16302 by using time-since and float-time.
16303
0ef923dc
PE
16304 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16305 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16306 + NNN microseconds".
16307
2f81380d
PE
16308 * type-break.el (type-break-time-sum): Rewrite using time-add.
16309
845b5c3e
PE
16310 * play/hanoi.el (hanoi-current-time-float): Remove.
16311 All uses replaced by float-time.
16312
ee6f1be0
PE
16313 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16314 This yields a more-accurate answer.
16315 (rng-time-to-float): Remove; no longer needed.
16316
fe955043
PE
16317 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16318
5777162a
PE
16319 * calendar/timeclock.el (timeclock-seconds-to-time):
16320 Defalias to seconds-to-time, since they're the same thing.
16321
3103f8b6 16322 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16323 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16324 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16325
0e61a35f
SM
163262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16327
16328 * window.el (bury-buffer): Don't iconify the only frame.
16329 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16330 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16331
ddd63a1e
CY
163322011-07-01 Chong Yidong <cyd@stupidchicken.com>
16333
0e61a35f
SM
16334 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16335 Add mouse-yank-primary.
ddd63a1e 16336
055f4923
TZ
163372011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16338
16339 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16340
6a2fb145
SM
163412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16342
16343 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16344 (find-library-name): Use it to find relative load names when provided
16345 absolute file name (bug#8803).
16346
fd4983f2
LMI
163472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16348
887d14ad
LMI
16349 * textmodes/flyspell.el (flyspell-word): Consider words that
16350 differ only in case as potential doublons (bug#5687).
16351
c53dc7fc
LMI
16352 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16353 Remove two rather uninteresting debugging-like messages to make
16354 debbugs.el more silent.
16355
fd4983f2
LMI
16356 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16357 a password-like phrase.
16358
7a71b18d 163592011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16360
16361 * progmodes/cc-guess.el: New file.
16362
6a2fb145 16363 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16364
16365 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16366 derived from `c-basic-common-init'.
16367
16368 * progmodes/cc-mode.el (top-level): Require cc-guess.
16369 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16370
1fa280a3
LM
163712011-06-30 Lawrence Mitchell <wence@gmx.li>
16372
16373 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16374
e6597158
AM
163752011-06-30 Alan Mackenzie <acm@muc.de>
16376
1fa280a3
LM
16377 * progmodes/cc-engine.el (c-guess-continued-construct):
16378 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16379 lock is disabled. Name this case as "CASE G".
16380
68ba37fb
KM
163812011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16382
16383 * allout.el (allout-yank-processing): Fix injection of extra space
16384 between bullet and non-whitespace character in first topic when
16385 pasting, ensuring that the actual spacing in the pasted topic
16386 following the bullet char is preserved. This extra space was
16387 causing pasted encrypted topics to get a decrypted status even
16388 when the content was actually still encrypted. Now the decryption
16389 status from before the paste is preserved.
16390
16391 (allout-flag-region): Set all allout overlays so they evaporate
16392 when reduced to zero length (evanescent), to prevent overlay
16393 leakage.
16394
887a0b34
GM
163952011-06-30 Glenn Morris <rgm@gnu.org>
16396
94b9acce
GM
16397 * w32-fns.el (w32-charset-info-alist): Declare.
16398
1d9b46d4
GM
16399 * find-dired.el (find-grep-options): Simplify.
16400
cc232200
GM
16401 * term/ns-win.el (ns-set-resource): Declare.
16402
28e77c46
GM
16403 * ses.el (row, col): Declare dynamic variables honestly.
16404
887a0b34
GM
16405 * textmodes/reftex-parse.el (index-tags): Declare.
16406
658d8eb8
CY
164072011-06-30 Chong Yidong <cyd@stupidchicken.com>
16408
16409 * cus-edit.el (customize-push-and-save): New function.
16410
16411 * files.el (hack-local-variables-confirm): Use it.
16412
1fa280a3
LM
16413 * custom.el (load-theme): New arg NO-CONFIRM.
16414 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16415 (custom-enabled-themes): Doc fix.
16416
16417 * cus-theme.el (customize-create-theme)
16418 (custom-theme-merge-theme): Callers to load-theme changed.
16419
bb617717
LMI
164202011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16421
d61bdd5d
LMI
16422 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16423 short URLs have at least one dot in them (bug #7614).
16424
bb617717
LMI
16425 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16426 nil, because using a pty is apparently too slow (bug #895).
16427
2f31f37a
LMI
164282011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16429
16430 * mail/sendmail.el (sendmail-query-once): New function.
16431 (sendmail-query-once-function): New variable.
16432
3076b24e
GM
164332011-06-29 Glenn Morris <rgm@gnu.org>
16434
faf2a174
GM
16435 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16436
3076b24e
GM
16437 * ses.el (top-level): Require cl when compiling.
16438 (ses-set-localvars): Fix error statement.
16439 Call it at compile time to silence a storm of warnings.
16440
5386012d
MR
164412011-06-29 Martin Rudalics <rudalics@gmx.at>
16442
16443 * window.el (normalize-live-buffer): Rename to
16444 window-normalize-buffer.
16445 (normalize-live-frame): Rename to window-normalize-frame.
16446 (normalize-any-window): Rename to window-normalize-any-window.
16447 (normalize-live-window): Rename to window-normalize-live-window.
16448 (make-window-atom): Rename to window-make-atom.
16449 (window-resize-reset): Rename to window--resize-reset.
16450 (window-resize-reset-1): Rename to window--resize-reset-1.
16451 (resize-mini-window): Rename to window--resize-mini-window.
16452 (resize-subwindows-skip-p): Rename to
16453 window--resize-subwindows-skip-p.
16454 (resize-subwindows-normal): Rename to
16455 window--resize-subwindows-normal.
16456 (resize-subwindows): Rename to window--resize-subwindows.
16457 (resize-other-windows): Rename to window--resize-siblings.
16458 (resize-this-window): Rename to window--resize-this-window.
16459 (resize-root-window): Rename to window--resize-root-window.
16460 (resize-root-window-vertically): Rename to
16461 window--resize-root-window-vertically.
16462 (normalize-buffer-to-display): Rename to
16463 window-normalize-buffer-to-display.
16464 (normalize-buffer-to-switch-to): Rename to
16465 window-normalize-buffer-to-switch-to.
16466 Correspondingly update all callers of the functions listed
16467 above.
16468 (display-buffer-alist, display-buffer-normalize-arguments)
16469 (display-buffer-normalize-options, display-buffer)
16470 (display-buffer-alist-set): Use "function" instead of
16471 "fun-with-args".
16472
1176868d
CY
164732011-06-28 Chong Yidong <cyd@stupidchicken.com>
16474
16475 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16476 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16477 debbugs.gnu.org. Mention acknowledgment email.
16478
20a7a65f
LMI
164792011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16480
16481 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16482 buffer multibyteness, since it shouldn't matter.
16483
5f45cca5
MR
164842011-06-28 Martin Rudalics <rudalics@gmx.at>
16485
16486 * window.el (display-buffer-in-side-window): Handle dedicated
16487 windows as in display-buffer-reuse-window.
16488 (display-buffer-normalize-alist): Use value of override
16489 specifier.
16490 (display-buffer-normalize-specifiers): Use value of
16491 other-window-means-other-frame specifier.
16492 (display-buffer-alist): Rewrite some texts in widgets.
16493 (display-buffer): Spread arguments when calling function
16494 specified by fun-with-args.
16495
ad85fe1f
DD
164962011-06-28 Deniz Dogan <deniz@dogan.se>
16497
1fa280a3
LM
16498 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16499 Unnest `let'.
da68c4c8 16500
ad85fe1f
DD
16501 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16502 selectors (Bug#5732).
ec49bd31 16503 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16504
a08cc025
JA
165052011-06-27 Jari Aalto <jari.aalto@cante.net>
16506
16507 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16508 (eshell-ls-date-format): New defcustom.
16509 (eshell-ls-file): Use it.
16510
e2b551c5
SM
165112011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16512
16513 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16514
8982b231
KY
165152011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16516
16517 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16518 (ange-ftp-make-tmp-name): New arg.
16519 (ange-ftp-file-local-copy): Use it.
16520
36c9fa27
J
165212011-06-27 Jambunathan K <kjambunathan@gmail.com>
16522
16523 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16524 no-conversion (Bug#8870).
16525
d68443dc
MR
165262011-06-27 Martin Rudalics <rudalics@gmx.at>
16527
16528 * window.el (window-right, window-left, window-child)
16529 (window-child-count, window-last-child)
16530 (window-iso-combination-p, walk-window-tree-1)
16531 (window-atom-check-1, window-tree-1, delete-window)
16532 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16533 new naming conventions - window-vchild, window-hchild,
16534 window-next and window-prev are now called window-top-child,
16535 window-left-child, window-next-sibling and window-prev-sibling
16536 respectively.
d615d6d2
MR
16537 (resize-window-reset): Rename to window-resize-reset.
16538 (resize-window-reset-1): Rename to window-resize-reset-1.
16539 (resize-window): Rename to window-resize.
16540 (window-min-height, window-min-width)
16541 (resize-mini-window, resize-this-window, resize-root-window)
16542 (resize-root-window-vertically, adjust-window-trailing-edge)
16543 (enlarge-window, shrink-window, maximize-window)
16544 (minimize-window, delete-window, quit-restore-window)
16545 (split-window, balance-windows, balance-windows-area-adjust)
16546 (balance-windows-area, window-state-put-2)
16547 (display-buffer-even-window-sizes, display-buffer-set-height)
16548 (display-buffer-set-width, set-window-text-height)
16549 (fit-window-to-buffer): Rename all "resize-window" prefixed
16550 calls to use the "window-resize" prefix convention.
16551 (display-buffer-alist): Fix symbol for label specifier.
16552 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16553 corresponding specifier.
16554 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16555
b6458526
VB
165562011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16557
16558 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16559 convention.
16560 (ses-call-printer): Does not pass an empty string to formatter when the
16561 cell is empty to keep from barking printer Calc math-format-value.
16562
d31fd9ac
RS
165632011-06-27 Richard Stallman <rms@gnu.org>
16564
43d5bf84
RS
16565 * battery.el (battery-mode-line-limit): New variable.
16566 (battery-update): Handle it.
16567
d31fd9ac
RS
16568 * mail/rmailmm.el (rmail-mime-process-multipart):
16569 Handle truncated messages.
16570
819a6054
GM
165712011-06-27 Glenn Morris <rgm@gnu.org>
16572
16573 * progmodes/flymake.el (flymake-err-line-patterns):
16574 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16575
cedc73f2
VB
165762011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16577
819a6054 16578 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16579 (ses--clean-!, ses--clean-_): New functions.
16580 (ses-range): Add configurability of readout order, and conversion
16581 to Calc vector.
16582
5e5d49b6
VB
16583 * ses.el (ses-repair-cell-reference-all): New function.
16584 (ses-cell-symbol): Set macro as safe, so that it can be used in
16585 formulas.
16586
56e6cc31 16587 * ses.el: Update cycle detection algorithm.
90ca8b49 16588 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16589 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16590 (ses-set-localvars): New function.
16591 (ses-make-cell): Add property-list as a cell element.
16592 (ses-cell-property-get-fun, ses-cell-property-get)
16593 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16594 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16595 New functions.
90ca8b49
VB
16596 (ses-cell-property-set, ses-cell-property-pop)
16597 (ses-cell-property-get-handle): New macro.
16598 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16599 New aliases, used for code readability.
16600 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16601 cycle detection.
16602 (ses-self-reference-early-detection): New defcustom.
fac916bf 16603 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16604 (ses-mode): Use ses-set-localvars.
16605 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16606 before lauching the update processing.
16607 (ses-initialize-Dijkstra-attempt): New function.
16608 (ses-recalculate-cell): Update for cycle detection based on
16609 Dijkstra algorithm.
16610
2bb63e81
VB
16611 * ses.el: Fix commenting and indenting convention.
16612
c9d29fb8
SM
166132011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16614
16615 * bs.el (bs-cycle-next): Complete last change.
16616
d8e4b68b
JB
166172011-06-27 Drew Adams <drew.adams@oracle.com>
16618
16619 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16620
40098786
LMI
166212011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16622
c9d29fb8
SM
16623 * net/network-stream.el (network-stream-open-starttls):
16624 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16625 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16626
40098786
LMI
16627 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16628 to binary to possibly avoid line encoding issues on Windows (among
16629 other things).
16630
468d09d4
LMI
166312011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16632
16633 * net/network-stream.el (open-network-stream): Return an :error
16634 saying what the problem was, if possible.
16635
16636 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16637 server.
16638
16639 * net/network-stream.el (network-stream-open-starttls): If we
16640 wanted to use STARTTLS, and the server offered it, but we weren't
16641 able to because we had no STARTTLS support, then close the connection.
16642 (open-network-stream): Return an :error element, if present.
16643
16f07dd7
CY
166442011-06-26 Chong Yidong <cyd@stupidchicken.com>
16645
88821ca0
CY
16646 * hl-line.el (hl-line-sticky-flag): Doc fix.
16647 (global-hl-line-sticky-flag): New option (Bug#8323).
16648 (global-hl-line-highlight): Obey it.
16649
16f07dd7
CY
16650 * vc/vc.el (vc-revert-show-diff): Default to t.
16651
6b5ccddf
KM
166522011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16653
c9d29fb8
SM
16654 * allout-widgets.el (allout-widgets-post-command-business):
16655 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16656 undecorated when an isearch is continued past, and isearch
16657 automatically collapses them. This leads to "widget leaks", where
16658 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16659 hidden widgets can slow down cursor travel, substantially.
16660 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16661 so we're doing without this nicety.
16662
16663 (allout-widgets-tally-string): Don't try to do a hash-table-count
16664 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16665 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16666 *Messages* when allout-widgets-maintain-tally is t.
16667
355f2e07
MR
166682011-06-26 Martin Rudalics <rudalics@gmx.at>
16669
16670 * window.el (display-buffer-normalize-argument): Rename to
16671 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16672 LABEL argument. Respect special-display-function when popping up
16673 a new frame. Fix code searching for a window showing the buffer
16674 on another frame.
c9d29fb8
SM
16675 (display-buffer-normalize-specifiers):
16676 Call display-buffer-normalize-arguments.
355f2e07
MR
16677 (display-buffer-in-window): Don't undedicate the window if its
16678 buffer remains the same.
16679 Reported by Drew Adams <drew.adams@oracle.com>.
16680 (display-buffer-alist): Add choice for same-window macro
16681 specfier.
16682 (display-buffer): Mention special meaning of LABEL argument in
16683 doc-string. Fix quoting. Don't pop up a new frame even as
16684 fallback.
16685
7ca8fc42
JB
166862011-06-26 Juanma Barranquero <lekktu@gmail.com>
16687
16688 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16689 avoid deleting the current window in some cases (bug#8911).
16690
bc312254
AS
166912011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16692
16693 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16694 (Bug#8934)
16695
2db18f3f
LMI
166962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16697
c9d29fb8
SM
16698 * net/network-stream.el (network-stream-open-starttls):
16699 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16700 (network-stream-open-tls): Ditto.
16701
6302e0d3
LL
167022011-06-26 Leo Liu <sdl.web@gmail.com>
16703
16704 * register.el (registerv): New struct.
16705 (registerv-make): New function.
c9d29fb8
SM
16706 (jump-to-register, describe-register-1, insert-register):
16707 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16708 struct. (Bug#8415)
16709
5fdd4046
CY
167102011-06-26 Chong Yidong <cyd@stupidchicken.com>
16711
2afef60a
CY
16712 * vc/vc.el (vc-revert-show-diff): New defcustom.
16713 (vc-diff-internal): New arg specifying diff buffer.
16714 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16715 reuse an existing *vc-diff* buffer (Bug#8927).
16716
5fdd4046
CY
16717 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16718
e93db24a
GM
167192011-06-26 Glenn Morris <rgm@gnu.org>
16720
16721 * progmodes/f90.el (f90-critical-indent): New option.
16722 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16723 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16724 (f90-mode): Doc fix.
16725 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16726 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16727 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16728 (f90-match-end): Handle block, critical.
16729
eefff499
GM
167302011-06-25 Glenn Morris <rgm@gnu.org>
16731
f6ba4cc9
GM
16732 * calendar/diary-lib.el (diary-included-files): Doc fix.
16733 (diary-include-files): New function, extracted from
16734 diary-include-other-diary-files and diary-mark-included-diary-files.
16735 (diary-include-other-diary-files, diary-mark-included-diary-files):
16736 Just call diary-include-files.
16737 (diary-mark-entries): Reset diary-included-files on first call.
16738
16712304
GM
16739 * calendar/diary-lib.el (diary-mark-entries)
16740 (diary-mark-included-diary-files):
16741 Visit included diary-files in temp buffers.
16742
5d8e0d43
GM
16743 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16744 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16745 (f90-start-block-re, f90-imenu-generic-expression)
16746 (f90-looking-at-program-block-start, f90-no-block-limit):
16747 Add support for submodules.
16748
ccf7a5d5
GM
16749 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16750 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16751
11fdef7d 167522011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16753
16754 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16755 buffer-file-type before setting its value, to avoid disastrous
eefff499 16756 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16757
74f53697
JB
167582011-06-25 Juanma Barranquero <lekktu@gmail.com>
16759
16760 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16761
16762 * ses.el (ses-unload-function):
16763 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16764
16765 * proced.el (proced-unload-function):
16766 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16767
18a4ce5e
AR
167682011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16769
16770 * server.el (server-create-window-system-frame): Add parameters arg.
16771 (server-process-filter): Doc fix. Handle frame-parameters.
16772
519d22cc
JB
167732011-06-25 Juanma Barranquero <lekktu@gmail.com>
16774
16775 Fix bug#8730, bug#8781.
16776
16777 * loadhist.el (unload--set-major-mode): New function.
16778 (unload-feature): Use it.
16779
16780 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16781 (python-unload-function): New function.
16782
c206f5b0
SM
167832011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16784
16785 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16786
f9ad64f3
GS
167872011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16788
16789 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16790 the candidates list.
16791
7d0da90e
JB
167922011-06-24 Juanma Barranquero <lekktu@gmail.com>
16793
16794 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16795
14b4e83d
RS
167962011-06-23 Richard Stallman <rms@gnu.org>
16797
16798 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16799 (rmail-variables): Set next-error-move-function.
16800 (rmail-what-message): Take argument POS.
16801 (rmail-next-error-move): New function.
16802
273d2baf
SM
168032011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16804
16805 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16806 messages for adjacent non-terminals.
16807
56c2cc9a
RS
168082011-06-23 Richard Stallman <rms@gnu.org>
16809
16810 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16811 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16812 (rmail-start-mail): Don't specify use of rmail-mail-return;
16813 that's done by mail-bury now.
16814 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16815
d59eb518
MA
168162011-06-23 Michael Albinus <michael.albinus@gmx.de>
16817
16818 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16819 SIZE is a number.
16820
02cfc6d6
MR
168212011-06-23 Martin Rudalics <rudalics@gmx.at>
16822
16823 * window.el (get-lru-window, get-mru-window)
16824 (get-largest-window): Never return a minibuffer window.
16825 (display-buffer-pop-up-window): Fix a bug that could lead to
16826 reusing the minibuffer window.
16827 (display-buffer): Pass original specifier argument to
16828 display-buffer-function instead of the normalized one.
16829 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16830
4e323265
LL
168312011-06-22 Leo Liu <sdl.web@gmail.com>
16832
16833 * minibuffer.el (completing-read-function)
1f9f395d 16834 (completing-read-default): Move from minibuf.c.
4e323265 16835
7a70468f
RS
168362011-06-22 Richard Stallman <rms@gnu.org>
16837
50718fc2
RS
16838 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16839 to Rmail even if not started by a special Rmail command.
16840
7a70468f
RS
16841 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16842 Copy the buffer currently showing just one message.
16843
297dde5a
RW
168442011-06-22 Roland Winkler <winkler@gnu.org>
16845
16846 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16847 (bibtex-clean-entry): First delete the old key so that a
16848 customized algorithm for generating the new key does not get
16849 confused by the old key.
16850 (bibtex-url): Obey regexp of first step.
16851 (bibtex-search-entries): Do not use add-to-list with local
16852 list-var.
16853
97bb1093
LMI
168542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16855
16856 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16857 stored a user name, then query for the password first, instead of
16858 waiting for SMTP to give an error message and the trying again.
16859
1c0f1a19
JD
168602011-06-22 Lawrence Mitchell <wence@gmx.li>
16861
16862 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16863 BUFFER in call-process.
16864
396f7c9d
LMI
168652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16866
16867 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16868 QUIT twice.
ddb7ffee
LMI
16869 (smtpmail-try-auth-methods): Require user name and password from
16870 auth-source.
396f7c9d 16871
8998d1b3
MR
168722011-06-22 Martin Rudalics <rudalics@gmx.at>
16873
16874 * window.el (display-buffer-default-specifiers)
16875 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16876 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16877 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16878
16879 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16880 (special-display-frame-alist, special-display-popup-frame):
16881 Remove duplicate declarations. These are now in window.el.
16882
4ea31e07
LMI
168832011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16884
c9d29fb8
SM
16885 * mail/smtpmail.el (smtpmail-via-smtp):
16886 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16887 server supports it. SMTP servers that support STARTTLS commonly
16888 require it.
16889
16890 * net/network-stream.el (network-stream-open-starttls): Support
16891 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16892 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16893
95f41d9a
LMI
16894 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16895 upgrades with `open-network-stream', and rely solely on
16896 auth-source for all credentials. Big changes throughout the file,
16897 but in particular:
c9d29fb8
SM
16898 (smtpmail-auth-credentials): Remove.
16899 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16900 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16901 MAIL FROM, too.
95f41d9a 16902
c9d29fb8
SM
16903 * net/network-stream.el (network-stream-open-starttls):
16904 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16905 STARTTLS.
16906 (auth-source): Require.
16907 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16908 (network-stream-certificate): Change cert-cert to cert and
16909 cert-key to key.
4ea31e07 16910
065ec2c7
MA
169112011-06-21 Michael Albinus <michael.albinus@gmx.de>
16912
16913 * net/tramp-cache.el (top): Don't load the persistency file when
16914 "emacs -Q" has been called.
16915
cd93b359
DR
169162011-06-21 Tim Harper <timcharper@gmail.com>
16917
d8e4b68b
JB
16918 * term/ns-win.el (ns-initialize-window-system):
16919 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16920 resource to NO as it is not yet supported by the NS port.
16921
ae9c0411
JB
169222011-06-21 Juanma Barranquero <lekktu@gmail.com>
16923
16924 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16925 (list-dynamic-libraries): ...not here.
16926
7f3f739f
LL
169272011-06-21 Leo Liu <sdl.web@gmail.com>
16928
16929 * subr.el (sha1): Implement sha1 using secure-hash.
16930
327c8fb1
MR
169312011-06-21 Martin Rudalics <rudalics@gmx.at>
16932
16933 * window.el (display-buffer-alist): In default value do not
16934 enforce searching a window on any but the selected frame.
16935 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16936 (display-buffer-select-window): Remove function.
16937 (display-buffer-in-window): When a window on another frame gets
16938 reused, do not select it any more but just raise its frame if
16939 necessary (Bug#8851) and (Bug#8856).
16940 (display-buffer-normalize-options): Handle pop-up-frames related
16941 options more faithfully.
16942 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16943 window if it is on another frame.
c9d29fb8
SM
16944 (display-buffer-alist, display-buffer-default-specifiers):
16945 Don't make new frame unsplittable by default.
9e9de014
MR
16946 (display-buffer-normalize-argument): Fix doc-string typo and use
16947 'same-frame-other-window instead of 'other-window when associating
16948 with display-buffer-macro-specifiers.
327c8fb1 16949
7cf3f556
VB
169502011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16951
16952 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16953 New functions.
16954 (5x5-mode-map, 5x5-mode-menu): Bind them.
16955 (5x5-draw-grid): Tweak the solver's rendering.
16956
60a406cf
SM
169572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16958
16959 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16960 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16961
d8e4b68b 169622011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16963
16964 * menu-bar.el: Use function variable instead of switch-to-buffer.
16965 (menu-bar-select-buffer-function): New variable.
60a406cf 16966 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16967
478d6f95
SM
169682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16971 variable's status.
16972
ca530739
JD
169732011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16974
16975 * x-dnd.el (x-dnd-version-from-flags)
16976 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16977 and long as number (Bug#8899).
16978 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16979
bcd70d97
SM
169802011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16981
60a406cf 16982 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16983 (completion-try-completion, completion-all-completions): Compute the
16984 metadata argument if it's missing; make it optional (bug#8795).
16985
60a406cf 16986 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16987 (widget-complete): Use new :completion-function property.
16988 (widget-completions-at-point): New function.
16989 (default): Use :completion-function instead of :complete.
60a406cf
SM
16990 (widget-default-completions): Rename from widget-default-complete;
16991 Rewrite.
bcd70d97
SM
16992 (widget-string-complete, widget-file-complete, widget-color-complete):
16993 Remove functions.
16994 (file, symbol, function, variable, coding-system, color):
16995 * international/mule-cmds.el (default-input-method, charset)
16996 (language-info-custom-alist):
16997 * cus-edit.el (face): Use new property :completions.
16998
16999 * progmodes/pascal.el (pascal-completions-at-point): New function.
17000 (pascal-mode): Use it.
17001 (pascal-mode-map): Use completion-at-point.
17002 (pascal-toggle-completions): Make obsolete.
17003 (pascal-complete-word, pascal-show-completions):
17004 * progmodes/octave-mod.el (octave-complete-symbol):
17005 Redefine as obsolete alias.
17006 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17007 Signal absence of completion info for old Octave,
17008 (inferior-octave-complete): Redefine as obsolete alias.
17009 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17010 (meta-completions-at-point): Rename from meta-complete-symbol and
17011 adapt it for use on completion-at-point-functions.
17012 (meta-common-mode): Use it.
17013 (meta-looking-at-backward, meta-match-buffer): Remove.
17014 (meta-complete-symbol): Redefine as obsolete alias.
17015 (meta-common-mode-map): Use completion-at-point.
17016 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17017 (makefile-mode-map): Use completion-at-point.
17018 (makefile-completions-at-point): Rename from makefile-complete and
17019 adapt it for use on completion-at-point-functions.
17020 (makefile-mode): Use it.
17021 (makefile-complete): Redefine as obsolete alias.
17022
aebf69c8
DD
170232011-06-20 Deniz Dogan <deniz@dogan.se>
17024
17025 * net/rcirc.el: Delete trailing whitespaces once and for all.
17026
bfbbb27d
DC
170272011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17028
17029 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17030
d264a46b
CY
170312011-06-19 Chong Yidong <cyd@stupidchicken.com>
17032
4ca009e5
CY
17033 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17034
d264a46b
CY
17035 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17036
fbf5b3ce
MR
170372011-06-19 Martin Rudalics <rudalics@gmx.at>
17038
17039 * window.el (display-buffer-other-window-means-other-frame):
17040 Call display-buffer-normalize-alist.
17041 (display-buffer-normalize-specifiers-1): Rename to
17042 display-buffer-normalize-argument. New argument other-frame.
17043 Rewrite.
17044 (display-buffer-normalize-specifiers-2): Rename to
17045 display-buffer-normalize-options.
17046 (display-buffer-normalize-alist-1): New function.
17047 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17048 display-buffer-normalize-alist.
17049 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17050 (display-buffer-normalize-options-inhibit): New variable.
17051 (display-buffer-normalize-specifiers): Rewrite calling
17052 display-buffer-normalize-alist,
17053 display-buffer-normalize-argument, and
17054 display-buffer-normalize-options. Don't call the latter if
17055 display-buffer-normalize-options-inhibit is non-nil.
17056 (frame-auto-delete): New option.
17057 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17058 (window-list-no-nils, window-state-ignored-parameters)
17059 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17060 (window-state-put-1, window-state-put-2, window-state-put):
17061 New functions.
9a028c23
MR
17062 (display-buffer-normalize-options): Move special-display-p group
17063 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17064
6d10d800
CY
170652011-06-18 Chong Yidong <cyd@stupidchicken.com>
17066
6420d28b
CY
17067 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17068 groups (Bug#8776).
17069 (rx-submatch-n): New function.
17070 (rx): Document it.
17071
ddb8b596
CY
17072 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17073 (Bug#8768).
17074
17075 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17076
77080289
CY
17077 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17078
61dfb316
CY
17079 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17080 anytime existing face settings are present (Bug#8889).
17081
6d10d800
CY
17082 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17083 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17084 Remove unused argument.
17085
be3fb2b8
MR
170862011-06-18 Martin Rudalics <rudalics@gmx.at>
17087
bcd70d97
SM
17088 * window.el (display-buffer-default-specifiers):
17089 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17090 pop-up-window-min-width, and another reuse-window specifier
17091 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17092 (display-buffer-normalize-specifiers-2):
17093 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17094 pop-up-windows is unset. Add a reuse-window specifier for the
17095 case popping up a new window fails.
17096 (special-display-popup-frame): Remove double quoting.
28dec25a 17097 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17098
1c6d8c76
SM
170992011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17100
17101 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17102 according to comint-completion-addsuffix.
17103
17104 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17105 (pcomplete-suffix-list): Mark as obsolete.
17106 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17107 pcomplete-seen in the closure.
17108 (pcomplete-comint-setup): Setup completion-at-point as well.
17109 (pcomplete--entries): New function.
17110 (pcomplete--env-regexp): New var.
17111 (pcomplete-entries): Rewrite to work with partial-completion and
17112 without relying on pcomplete-suffix-list.
17113 (pcomplete-pare-list): Remove, unused.
17114
25aef8b8
MR
171152011-06-17 Martin Rudalics <rudalics@gmx.at>
17116
17117 * window.el (display-buffer-alist): Set pop-up-window-min-height
17118 and pop-up-window-min-width in default value. Reported by
17119 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17120 other-window-means-other-frame.
17121 (display-buffer-macro-specifiers): Comment out entry for
17122 other-window specifier.
17123 (display-buffer-other-window-means-other-frame): New function.
17124 (display-buffer-normalize-specifiers-1): New arguments
17125 buffer-name and label. Treat other-window case specially.
17126 (display-buffer-normalize-specifiers-2): Treat other-window case
17127 specially.
17128 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17129 (display-buffer-normalize-specifiers):
17130 Call display-buffer-normalize-specifiers-3.
25aef8b8 17131
dbad4f69
MR
171322011-06-17 Martin Rudalics <rudalics@gmx.at>
17133
17134 * window.el (same-window-p): Fix two typos introduced when
17135 adding with-no-warnings.
d1067961
MR
17136 (display-buffer-normalize-specifiers-1): Don't check
17137 pop-up-frames for 'unset initialization.
17138 (display-buffer-normalize-specifiers-2): Major rewrite using
17139 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17140 (pop-up-frames, display-buffer-reuse-frames)
17141 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17142 Suggested by David Engster <deng@randomsample.de>.
17143 (even-window-heights): Initialize to 'unset.
17144 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17145 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17146 other window case.
dbad4f69 17147
9b9c9e3a
MR
171482011-06-16 Martin Rudalics <rudalics@gmx.at>
17149
bcd70d97
SM
17150 * window.el (display-buffer-normalize-specifiers-1):
17151 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17152 second argument of display-buffer (Bug#8865).
981d5c09
MR
17153 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17154 (switch-to-buffer-other-window-same-frame)
17155 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17156 Adams (Bug#8875).
9c2755e9
MR
17157 (display-buffer): Don't check noninteractive when calling
17158 display-buffer-pop-up-frame.
17159 (display-buffer-pop-up-frame): Never pop up a frame in
17160 noninteractive mode (Bug#8857).
67222e1d
MR
17161 (enlarge-window, shrink-window): Don't report an error when the
17162 window can't be resized as requested (Bug#8862).
9b9c9e3a 17163
2b75be67
SM
171642011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17165
9ffdd3ba
SM
17166 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17167
cb581a67
SM
17168 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17169
2b75be67
SM
17170 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17171
8c0e3589
AM
171722011-06-15 Alan Mackenzie <acm@muc.de>
17173
cb581a67
SM
17174 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17175 for declarators, disable knr checking to speed up for normal files.
17176 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17177
b96e6cde
LMI
171782011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17179
4bba86e6
LMI
17180 * net/network-stream.el (open-network-stream): Add the keyword
17181 :always-query-capabilities for the case where you want to force a
17182 `plain' network connection, but the protocol still requires the
17183 capabilitiy command (i.e., SMTP and EHLO).
17184
2b75be67 17185 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17186 consistency with other `-live-p' functions.
17187
efdcdbf8
SM
171882011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17189
17190 * window.el (same-window-buffer-names, same-window-regexps)
17191 (special-display-frame-alist, special-display-popup-frame)
17192 (special-display-function, special-display-buffer-names)
17193 (special-display-regexps, pop-up-frame-alist)
17194 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17195 (pop-up-windows, split-window-preferred-function)
17196 (split-height-threshold, split-width-threshold, even-window-heights)
17197 (display-buffer-mark-dedicated): Don't encourage the use of
17198 display-buffer-alist from Elisp code.
17199
c5cde042
DN
172002011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17201
17202 * progmodes/python.el (python-mode): Derive from prog-mode.
17203 * progmodes/ps-mode.el (ps-mode):
17204 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17205 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17206 * progmodes/ld-script.el (ld-script-mode): Likewise.
17207
baa1c9ab
MR
172082011-06-15 Martin Rudalics <rudalics@gmx.at>
17209
17210 * window.el (display-buffer-alist): Trim default value to avoid
17211 popping up a new frame (Bug#8857) or reusing an arbitrary window
17212 on another frame.
17213 (display-buffer): Do not fall back on popping up a new frame in
17214 batch mode (Bug#8857).
17215
c5dd5a51
CY
172162011-06-14 Chong Yidong <cyd@stupidchicken.com>
17217
17218 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17219 (custom-theme-summary): New function.
17220 (customize-themes): Use it.
17221
d647b7c4
GM
172222011-06-13 Glenn Morris <rgm@gnu.org>
17223
17224 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17225
9481c002
MR
172262011-06-13 Martin Rudalics <rudalics@gmx.at>
17227
357f93d2
MR
17228 * help.el (help-window): Remove variable.
17229 (help-window-point-marker, temp-buffer-max-height)
17230 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17231 (help-print-return-message): Don't set help-window.
17232 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17233 (help-window-setup-finish): Remove.
17234 (help-window-display-message, help-window-setup)
17235 (with-help-window): Major rewrite based on new
17236 display-buffer-window variable.
17237
17238 * help-mode.el (help-mode-finish): Remove help-window related
17239 code.
17240
17241 * view.el (view-exits-all-viewing-windows): Remove reference to
17242 view-return-to-alist in doc-string.
17243 (view-return-to-alist): Make obsolete.
17244 (view-buffer): Call pop-to-buffer-same-window and remove
17245 undo-window code.
17246 (view-buffer-other-window): Call pop-to-buffer-other-window and
17247 simplify code. Ignore second argument.
17248 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17249 simplify code. Ignore second argument.
17250 (view-return-to-alist-update): Make obsolete.
17251 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17252 Rewrite using quit-restore window parameters.
2b75be67
SM
17253 (view-mode-exit): Rename second argument to EXIT-ONLY.
17254 Rewrite using quit-restore-window.
357f93d2
MR
17255 (View-exit, View-exit-and-edit, View-leave, View-quit)
17256 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17257 appropriate arguments.
17258 (view-end-message): Use quit-restore window parameter.
17259
9481c002
MR
17260 * window.el (display-buffer-function): Rewrite doc-string.
17261 (display-buffer-window, display-buffer-alist): New variables.
17262 (display-buffer-split-specifiers)
17263 (display-buffer-side-specifiers)
17264 (display-buffer-macro-specifiers): New constants.
17265 (display-buffer-even-window-sizes, display-buffer-set-height)
17266 (display-buffer-set-width, display-buffer-select-window)
17267 (display-buffer-in-window, display-buffer-reuse-window)
17268 (display-buffer-split-window-1, display-buffer-split-window)
17269 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17270 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17271 (display-buffer-in-side-window, normalize-buffer-to-display)
17272 (display-buffer-normalize-specifiers-1)
17273 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17274 (display-buffer-normalize-specifiers, display-buffer-frame):
17275 New functions.
9481c002
MR
17276 (display-buffer): Major rewrite.
17277 (display-buffer-other-window, display-buffer-other-frame)
17278 (pop-to-buffer, switch-to-buffer-other-window)
17279 (switch-to-buffer-other-frame): Rewrite.
17280 (display-buffer-same-window, display-buffer-same-frame)
17281 (display-buffer-same-frame-other-window)
17282 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17283 (pop-to-buffer-other-window)
17284 (pop-to-buffer-same-frame-other-window)
17285 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17286 (switch-to-buffer-other-window-same-frame): New functions.
17287 (same-window-p, special-display-p): Rewrite disabling warnings.
17288 Make obsolete.
17289 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17290 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17291 Make obsolete
17292 (same-window-buffer-names, same-window-regexps)
17293 (special-display-frame-alist, special-display-popup-frame)
17294 (special-display-function, special-display-buffer-names)
17295 (special-display-regexps, pop-up-frame-alist)
17296 (pop-up-frame-function, split-window-preferred-function)
17297 (split-height-threshold, split-width-threshold)
17298 (even-window-heights): Make obsolete.
17299
9db51aca
GM
173002011-06-12 Glenn Morris <rgm@gnu.org>
17301
17302 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17303 Misc simplifications.
9db51aca 17304
39cffb44
MR
173052011-06-12 Martin Rudalics <rudalics@gmx.at>
17306
17307 * window.el (window-safely-shrinkable-p): Restore function which
17308 was inadvertently removed in change from 2011-06-11. Declare as
17309 obsolete.
17310
2b75be67
SM
17311 * calendar/calendar.el (calendar-generate-window):
17312 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17313 window-safely-shrinkable-p.
17314
a8955be7
GM
173152011-06-12 Glenn Morris <rgm@gnu.org>
17316
17317 * progmodes/fortran.el (fortran-mode-syntax-table):
17318 * progmodes/f90.el (f90-mode-syntax-table):
17319 Set % to punctuation. (Bug#8820)
17320 (f90-find-tag-default): Remove, no longer needed.
17321
f0d4059d
DC
173222011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17323
17324 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17325
1100a63c
CY
173262011-06-11 Chong Yidong <cyd@stupidchicken.com>
17327
17328 * image.el (image-animated-p): Return animation delay in seconds.
17329 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17330 (image-animate-timeout): Remove DELAY argument. Don't assume
17331 every subimage has the same delay; get it from image-animated-p.
17332 (image-animate): Caller changed.
17333
def722bf
MA
173342011-06-11 Michael Albinus <michael.albinus@gmx.de>
17335
17336 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17337 to ignored backtrace functions.
17338
0a2bb1a9
GM
173392011-06-11 Glenn Morris <rgm@gnu.org>
17340
17341 * calendar/appt.el (appt-disp-window-function): Doc fix.
17342 (appt-check): Handle overlapping appointments. (Bug#8337)
17343
6198ccd0
MR
173442011-06-11 Martin Rudalics <rudalics@gmx.at>
17345
17346 * window.el (window-tree-1, window-tree): New functions, moving
17347 the latter to window.el.
17348 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17349 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17350 (bw-refresh-edges): Remove.
17351 (balance-windows-1, balance-windows-2): New functions.
17352 (balance-windows): Rewrite in terms of window tree functions,
17353 balance-windows-1 and balance-windows-2.
17354 (bw-adjust-window): Remove.
17355 (balance-windows-area-adjust): New function with functionality of
17356 bw-adjust-window but using resize-window.
2b75be67
SM
17357 (set-window-text-height): Rewrite doc-string.
17358 Use normalize-live-window and resize-window.
17359 (enlarge-window-horizontally, shrink-window-horizontally):
17360 Rename argument to DELTA.
6198ccd0
MR
17361 (window-buffer-height): New function.
17362 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17363 Rewrite using new window resize routines.
2b75be67
SM
17364 (kill-buffer-and-window, mouse-autoselect-window-select):
17365 Use ignore-errors instead of condition-case.
6198ccd0
MR
17366 (quit-window): Call delete-frame instead of delete-windows-on
17367 for the only buffer on frame.
17368
9397e56f
MR
173692011-06-10 Martin Rudalics <rudalics@gmx.at>
17370
17371 * loadup.el (top-level): Load window before files for the sake
17372 of replace-buffer-in-windows.
17373
17374 * files.el (read-buffer-to-switch)
17375 (switch-to-buffer-other-window)
2b75be67
SM
17376 (switch-to-buffer-other-frame, display-buffer-other-frame):
17377 Move to window.el.
9397e56f
MR
17378
17379 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17380 (previous-buffer): Move to window.el.
17381
17382 * bindings.el (unbury-buffer): Move to window.el.
17383
17384 * window.el (delete-other-windows-vertically): Move after
17385 definition of delete-other-windows.
17386 (other-window, delete-windows-on, replace-buffer-in-windows):
17387 Move here from window.c.
17388 (record-window-buffer, unrecord-window-buffer)
17389 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17390 (switch-to-next-buffer): New functions.
17391 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17392 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17393 (previous-buffer): Move here from simple.el.
17394 Call switch-to-prev-buffer.
9397e56f
MR
17395 (bury-buffer): Move here from buffer.c. Switch to previous
17396 buffer when window cannot be deleted.
17397 (unbury-buffer): Move here from bindings.el.
17398 (ctl-x-map): Move binding for other-window from window.c to
17399 here.
17400 (read-buffer-to-switch, switch-to-buffer-other-window)
17401 (switch-to-buffer-other-frame): Move here from files.el.
17402 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17403 (switch-to-buffer): Move here from buffer.c.
17404 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17405
562dd5e9
MR
174062011-06-10 Martin Rudalics <rudalics@gmx.at>
17407
17408 * window.el (window-min-height, window-min-width): Move here
17409 from window.c. Add defcustoms and rewrite doc-strings.
17410 (resize-mini-window, resize-window): New functions.
17411 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17412 Move here from window.c.
17413 (maximize-window, minimize-window): New functions.
17414 (delete-window, delete-other-windows, split-window): Move here
17415 from window.c.
17416 (window-split-min-size): New function.
17417 (split-window-keep-point): Mention split-window-above-each-other
17418 instead of split-window-vertically.
2b75be67 17419 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17420 Rename split-window-vertically to split-window-above-each-other
17421 and provide defalias for old definition.
17422 (split-window-side-by-side, split-window-horizontally):
17423 Rename split-window-horizontally to split-window-side-by-side
17424 and provide defalias for the old definition.
562dd5e9
MR
17425 (ctl-x-map): Move bindings for delete-window,
17426 delete-other-windows and enlarge-window here from window.c.
17427 Replace bindings for split-window-vertically and
17428 split-window-horizontally by bindings for
17429 split-window-above-each-other and split-window-side-by-side.
17430
17431 * cus-start.el (all): Remove entries for window-min-height and
17432 window-min-width. Add entries for window-splits and
17433 window-nest.
17434
f0da764a
GM
174352011-06-09 Glenn Morris <rgm@gnu.org>
17436
80675c21
GM
17437 * calendar/appt.el (appt-mode-line): New function.
17438 (appt-check, appt-disp-window): Use it.
17439
f0da764a
GM
17440 * files.el (hack-one-local-variable-eval-safep):
17441 Allow minor-modes with explicit +/-1 arguments.
17442
59f623b7
TZ
174432011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17444
17445 * term/xterm.el (xterm): Add defgroup.
17446 (xterm-extra-capabilities): Add defcustom to supply known xterm
17447 capabilities, skip querying them, or query them (default).
17448 (terminal-init-xterm): Use it.
17449 (terminal-init-xterm-modify-other-keys): New function to set up
17450 modifyOtherKeys support to simplify `terminal-init-xterm'.
17451
9aab8e0d
MR
174522011-06-09 Martin Rudalics <rudalics@gmx.at>
17453
17454 * window.el (resize-window-reset, resize-window-reset-1)
17455 (resize-subwindows-skip-p, resize-subwindows-normal)
17456 (resize-subwindows, resize-other-windows, resize-this-window)
17457 (resize-root-window, resize-root-window-vertically)
17458 (window-deletable-p, window-or-subwindow-p)
17459 (frame-root-window-p): New functions.
17460
e8b08aee
GM
174612011-06-09 Glenn Morris <rgm@gnu.org>
17462
17463 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17464 (ange-ftp-get-files): Use it.
17465
254c37a5
AK
174662011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17467
17468 * mail/sendmail.el (mail-recover-1, mail-recover):
17469 * files.el (recover-file, recover-session):
17470 Handle dired-listing-switches not being just a single short option.
17471
35d7dbd3
GM
174722011-06-09 Glenn Morris <rgm@gnu.org>
17473
17474 * calendar/appt.el (appt-display-message, appt-disp-window):
17475 Handle lists of appointments.
17476
387522b2
MR
174772011-06-08 Martin Rudalics <rudalics@gmx.at>
17478
2b75be67
SM
17479 * window.el (one-window-p): Move down in code.
17480 Rewrite doc-string.
17481 (window-current-scroll-bars): Rewrite doc-string.
17482 Normalize live window argument.
387522b2
MR
17483 (walk-windows, get-window-with-predicate, count-windows):
17484 Rewrite doc-string. Use window-list-1.
17485 (window-in-direction-2, window-in-direction, get-mru-window):
17486 New functions.
17487
d8e4b68b 174882011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17489
17490 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17491 Doc fix (Bug#8713).
17492
174932011-06-08 Chong Yidong <cyd@stupidchicken.com>
17494
17495 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17496
174972011-06-08 Juanma Barranquero <lekktu@gmail.com>
17498
17499 * loadhist.el (unload-feature-special-hooks):
17500 Add `comint-output-filter-functions'.
17501
0de12c52
IK
175022011-06-08 Ivan Kanis <gnu@kanis.fr>
17503
17504 * calendar/appt.el (appt-check): Move some initializations into the let.
17505
f3d1777e
MR
175062011-06-08 Martin Rudalics <rudalics@gmx.at>
17507
17508 * window.el (window-height): Defalias to window-total-height.
17509 (window-width): Defalias to window-body-width.
17510
18af70d0
CY
175112011-06-07 Chong Yidong <cyd@stupidchicken.com>
17512
17513 * image-mode.el (image-toggle-animation): New command.
17514 (image-mode-map): Bind it to RET.
17515 (image-mode): Update message.
17516 (image-toggle-display-image): Avoid a spurious cache flush.
17517 (image-transform-rotation): Doc fix.
17518 (image-transform-properties): Return quickly in the normal case.
17519 (image-animate-loop): Rename from image-animate-max-time.
17520
2b75be67 17521 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17522 (create-animated-image): Remove unnecessary function.
17523 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17524 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17525 (image-animate-timer): Use car-safe.
17526 (image-animate-timeout): Rename argument.
17527
190b47e6
MR
175282011-06-07 Martin Rudalics <rudalics@gmx.at>
17529
17530 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17531 window.c. Rename first argument to ALL-FRAMES.
17532 Rephrase doc-strings.
17533 (get-buffer-window-list): Rewrite using window-list-1.
17534 Rephrase doc-string.
a1511caf
MR
17535 (window-safe-min-height, window-safe-min-width): New constants.
17536 (window-size-ignore, window-min-size, window-min-size-1)
17537 (window-sizable, window-sizable-p, window-size-fixed-1)
17538 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17539 (window-max-delta-1, window-max-delta, window-resizable)
17540 (window-resizable-p, window-total-height, window-total-width)
17541 (window-body-width): New functions.
17542 (window-full-height-p, window-full-width-p): Rewrite using
17543 window-total-size.
17544 (window-body-height): Rewrite using window-body-size.
190b47e6 17545
85cc1f11
MR
175462011-06-06 Martin Rudalics <rudalics@gmx.at>
17547
17548 * window.el (window-right, window-left, window-child)
17549 (window-child-count, window-last-child, window-any-p)
17550 (normalize-live-buffer, normalize-live-frame)
17551 (normalize-any-window, normalize-live-window)
17552 (window-iso-combination-p, window-iso-combined-p)
17553 (window-iso-combinations)
17554 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17555 (windows-with-parameter, window-with-parameter)
17556 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17557 (window-atom-check, window-side-check, window-check):
17558 New functions.
85cc1f11
MR
17559 (ignore-window-parameters, window-sides, window-sides-vertical)
17560 (window-sides-slots): New variables.
17561 (window-size-fixed): Move down in code. Minor doc-string fix.
17562
e7156492
AS
175632011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17564
17565 * comint.el (comint-dynamic-complete-as-filename)
17566 (comint-dynamic-complete-filename): Correctly call
17567 completion-in-region.
17568
7e821d0d
DD
175692011-06-05 Deniz Dogan <deniz@dogan.se>
17570
17571 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17572 in last change.
17573
ac09b8a1
DD
175742011-06-05 Deniz Dogan <deniz@dogan.se>
17575
17576 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17577 (rcirc): Use it to prompt for encryption.
17578
34699b85
RW
175792011-06-05 Roland Winkler <winkler@gnu.org>
17580
17581 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17582 (bibtex-search-entries): New command bound to C-c C-a.
17583 (bibtex-display-entries): New function.
17584
004dedd3
RW
175852011-06-05 Roland Winkler <winkler@gnu.org>
17586
17587 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17588 (bibtex-insert-kill): After yanking insert newline if necessary.
17589 (bibtex-initialize): Call bibtex-string-files-init only once.
17590 (bibtex-mode): Do not call easy-menu-add.
17591 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17592 (bibtex-yank): Set arg properly if nil.
17593
022fe7ce
RW
175942011-06-05 Roland Winkler <winkler@gnu.org>
17595
2b75be67
SM
17596 * textmodes/bibtex.el (bibtex-search-entry-globally):
17597 New variable.
022fe7ce
RW
17598 (bibtex-search-entry): Use it.
17599
b7c3692a
RW
176002011-06-05 Roland Winkler <winkler@gnu.org>
17601
17602 * textmodes/bibtex.el (bibtex-entry-format): New option
17603 sort-fields.
17604 (bibtex-format-entry, bibtex-reformat): Honor this option.
17605 (bibtex-parse-entry): Return fields in proper order.
17606
8eda563d
JB
176072011-06-05 Juanma Barranquero <lekktu@gmail.com>
17608
17609 * doc-view.el (doc-view-remove-if): Move computation of result out
17610 of `dolist' to silence misleading lexical-binding warning.
17611
7dbe3dbc
CY
176122011-06-04 Chong Yidong <cyd@stupidchicken.com>
17613
17614 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17615 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17616
0c33dd17
MA
176172011-06-04 Michael Albinus <michael.albinus@gmx.de>
17618
17619 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17620 "SunOS 5.10".
17621
f8f91c2b
MA
176222011-06-04 Michael Albinus <michael.albinus@gmx.de>
17623
17624 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17625 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17626 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17627 (tramp-parse-putty):
17628 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17629 (tramp-completion-function-alist-ssh)
17630 (tramp-completion-function-alist-telnet)
17631 (tramp-completion-function-alist-su)
17632 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17633 cookie.
17634
17635 * net/tramp-ftp.el:
17636 * net/tramp-sh.el:
17637 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17638 load "tramp.el" `tramp-set-completion-function'.
17639
e17d9003
SM
176402011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17641
17642 * shell.el: Require and use pcomplete.
17643 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17644 (shell-completion-vars): Set pcomplete-default-completion-function.
17645
6c4cab03
DD
176462011-06-04 Deniz Dogan <deniz@dogan.se>
17647
17648 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17649 `memq' (Bug#8799).
17650
ea9fafe0
SM
176512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17652
17653 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17654
b3e945d3
JB
176552011-06-02 Juanma Barranquero <lekktu@gmail.com>
17656
17657 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17658 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17659 * vc/log-view.el (log-view-beginning-of-defun):
17660 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17661 (smerge-refine-forward, smerge-refine-chopup-region):
17662 Silence warning for unused `dotimes' counter variables.
17663
7d520089
SM
176642011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17665
17666 * net/tramp.el (tramp-with-progress-reporter): Rename from
17667 with-progress-reporter. Use `declare'.
17668 * net/tramp-smb.el:
17669 * net/tramp-sh.el:
17670 * net/tramp-gvfs.el: Update all uses.
17671
a1c2400f
JB
176722011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17673
17674 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17675 buffer isn't killed before making it current.
17676
2403c841
SM
176772011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 Silence various byte-compiler warnings.
17680 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17681 `access-type' and new obsolescence format.
17682 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17683 new format.
17684 (byte-compile-check-variable): New `access-type' argument.
17685 Only warn if the access-type is obsolete.
17686 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17687 (byte-compile-variable-set): Adjust callers.
17688 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17689 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17690 setting it as obsolete.
17691 * simple.el (minibuffer-completing-symbol):
17692 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17693 access as obsolete.
17694 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17695 obsolete yet.
17696 * international/quail.el (quail-mouse-choose-completion): Remove unused
17697 code referring to obsolete var.
17698 (quail-choose-completion-string): Remove.
17699 * server.el (server-clients-with, server-kill-buffer-query-function)
17700 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17701 * proced.el (proced-send-signal):
17702 * emacs-lisp/lisp.el (lisp-complete-symbol):
17703 Replace completion-annotate-function with completion-extra-properties.
17704
2462470b
SM
177052011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17706
fb5b2591
SM
17707 * simple.el (goto-line): Use read-number.
17708 (overriding-map-is-bound): Remove.
17709 (saved-overriding-map): Change default.
17710 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17711 Take the map as argument.
17712 (universal-argument, negative-argument, digit-argument): Use it.
17713 (restore-overriding-map): Adjust.
17714 (do-auto-fill): Use fill-forward-paragraph.
17715 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17716
fd6fa53f
SM
17717 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17718 (minibuffer-inactive-mode): New major mode.
17719 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17720 the *Messages* buffer" hack.
17721 (mouse-popup-menubar): Don't burp if the event is a normal key.
17722
2462470b
SM
17723 Miscellaneous tweaks.
17724 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17725 lexical scoping as in subr.el's dolist and dotimes.
17726 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17727 Silence compiler warning.
17728 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17729 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17730 * international/ccl.el (ccl-compile): Trivial simplification.
17731 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17732 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17733 `printflag' argument.
17734 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17735 Purecopy the whole obsolescence data.
17736
108bf785
LL
177372011-06-01 Leo Liu <sdl.web@gmail.com>
17738
17739 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17740 improve doc-string as suggested by Marco Pessotto
17741 <melmothx@gmail.com>.
17742 (rcirc-print): Fix last change.
17743
30a23501
SM
177442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17745
17746 * minibuffer.el (complete-with-action): Return nil for the metadata and
17747 boundaries of non-functional tables.
17748 (completion-table-dynamic): Return nil for the metadata.
17749 (completion-table-with-terminator): Add default case, using
17750 complete-with-action.
17751 (completion--metadata): New function.
17752 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17753 to try and avoid pathological performance problems.
17754 (completion--embedded-envvar-table): Return `category' metadata.
17755
bcd54f83
LMI
177562011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17757
17758 * subr.el (process-alive-p): New tiny convenience function.
17759
e227544d
SM
177602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17761
17762 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17763 content but also its previous major mode.
17764
e8296fdc
HE
177652011-05-31 Helmut Eller <eller.helmut@gmail.com>
17766
4d61f28d 17767 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17768 *Backtrace* buffer when we exit with C-M-c.
17769
620c53a6
SM
177702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17771
17772 * minibuffer.el: Add metadata method to completion tables.
17773 (completion-category-overrides): New defcustom.
17774 (completion-metadata, completion--field-metadata)
17775 (completion-metadata-get, completion--styles)
17776 (completion--cycle-threshold): New functions.
17777 (completion-try-completion, completion-all-completions):
17778 Add `metadata' argument to choose completion-styles.
17779 (completion--do-completion): Use metadata to choose cycling.
17780 (completion-all-sorted-completions): Use metadata for sorting.
17781 Remove :completion-cycle-penalty which is not needed any more.
17782 (completion--try-word-completion): Add `metadata' argument.
17783 (minibuffer-completion-help): Check metadata for annotation function
17784 and sorting.
17785 (completion-file-name-table): Return `category' metadata.
17786 (minibuffer-completing-file-name): Make obsolete.
17787 * simple.el (minibuffer-completing-symbol): Make obsolete.
17788 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17789 completion-try-completion.
17790
1257e755
SM
177912011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17792
17793 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17794
3767e706
LL
177952011-05-30 Leo Liu <sdl.web@gmail.com>
17796
17797 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17798 (rcirc-print): Decode all incoming messages (bug#8744).
17799 (rcirc-decode-coding-system): Allow value nil for automatic coding
17800 system detection.
3767e706 17801
d1a5d56a
GM
178022011-06-01 Glenn Morris <rgm@gnu.org>
17803
17804 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17805
e8cbec34
CY
178062011-05-29 Chong Yidong <cyd@stupidchicken.com>
17807
17808 * image.el (image-animate-max-time): Allow nil and t values.
17809 Default to nil.
17810 (create-animated-image): Doc fix.
17811 (image-animate-start): Remove second arg; just use
17812 image-animate-max-time.
17813 (image-animate-timeout): Doc fix. Args changed.
17814
17815 * image-mode.el (image-toggle-display-image): Ensure that the
17816 image spec passed to the animate timer is the same object as in
58179cce 17817 the buffer's display property (Bug#6981).
e8cbec34
CY
17818 (image-transform-properties): Doc fix.
17819
17820 * image.el (image-animate-max-time): Default to nil.
17821
159daf87
MR
178222011-05-29 Martin Rudalics <rudalics@gmx.at>
17823
17824 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17825 entire buffer list (Bug#8184).
17826
d66c4c7c
CY
178272011-05-29 Chong Yidong <cyd@stupidchicken.com>
17828
17829 * image.el (imagemagick-types-inhibit)
17830 (imagemagick-register-types): Doc fix.
17831
80aec780
DD
178322011-05-29 Deniz Dogan <deniz@dogan.se>
17833
17834 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17835 default.
17836
1dd3c2d9
CY
178372011-05-29 Chong Yidong <cyd@stupidchicken.com>
17838
17839 * select.el: Don't perform clipboard-manager saving in hooks;
17840 leave the hooks empty.
17841
60e56523
LL
178422011-05-28 Leo Liu <sdl.web@gmail.com>
17843
17844 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17845 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17846 (occur-edit-mode): New major mode (Bug#8463).
17847 (occur-after-change-function): New function.
17848 (occur-engine): Give Occur tags a read-only property.
17849
2b1e1a22
KR
178502011-05-28 Kevin Ryde <user42@zip.com.au>
17851
17852 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17853
5d344e88
CY
178542011-05-28 Chong Yidong <cyd@stupidchicken.com>
17855
8e6ca83d
CY
17856 * bindings.el (help-echo): Make the initial non-indicator dash
17857 empty on graphical terminals (Bug#7295).
17858
5d344e88
CY
17859 * files.el (auto-mode-alist): Move config rule after the
17860 in-stripping one (Bug#8547).
17861
bfbbace7
CY
17862 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17863
fbeba6e2
CY
17864 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17865 setting (Bug#8740).
17866
60ed8c72
AA
178672011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17868
4ac619f0
AA
17869 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17870 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17871 (Bug#8539).
60ed8c72 17872
23db196e
CY
178732011-05-28 Chong Yidong <cyd@stupidchicken.com>
17874
17875 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17876
5012f24c
DK
178772011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17878
17879 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17880 (hs-hide-block-at-point, hs-find-block-beginning)
17881 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17882 (Bug#8279).
17883
6a639b16
GM
178842011-05-28 Glenn Morris <rgm@gnu.org>
17885
17886 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17887
d43eaf2c
CY
178882011-05-28 Chong Yidong <cyd@stupidchicken.com>
17889
5199bde1
CY
17890 * help-fns.el (describe-function-1): If the function is a derived
17891 major mode, print the parent mode.
17892
d43eaf2c
CY
17893 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17894 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17895
423428a8
SM
178962011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17897
0ff8e1ba 17898 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17899 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17900 * progmodes/etags.el (tags-completion-at-point-function):
17901 * info-look.el (info-lookup-completions-at-point): Mark as
17902 non-exclusive.
17903 (info-complete): Adjust accordingly.
17904
423428a8
SM
17905 * info-look.el: Convert to lexical-binding and completion-at-point.
17906 (info-lookup-completions-at-point): New function.
17907 (info-complete): Use it and completion-in-region.
17908
b74aa22b
DA
179092011-05-28 Drew Adams <drew.adams@oracle.com>
17910
17911 * isearch.el: Let M-e start with point at the first mismatched char.
17912 (isearch-fail-pos): New function.
17913 (isearch-edit-string): Use it.
17914
66e2e71d
DK
179152011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17916
17917 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17918
b1890b0f 179192011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17920
17921 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17922 traversal functions for avl-trees.
17923 (avl-tree--stack): New struct.
17924 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17925 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17926 (avl-tree--do-enter): Add optional `updatefun' arg.
17927 Change return value.
eb95d01d 17928 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17929 (avl-tree--do-delete): Add `test' and `nilflag' args.
17930 Change return value.
eb95d01d
TC
17931 (avl-tree-member): Add optional `nilflag'
17932 (avl-tree-member-p): New function.
17933 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17934 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17935 (avl-tree-stack-empty-p): New functions.
17936
3769ddcf
TC
17937 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17938 avl-tree--del-balance1 and make it work both ways.
17939 (avl-tree--del-balance2): Remove.
17940 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17941 make it work both ways.
17942 (avl-tree--enter-balance2): Remove.
17943 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17944 New macros.
17945 (avl-tree--mapc, avl-tree-map): Add direction argument.
17946
eb95d01d 179472011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17948
17949 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17950
a9f737ee
CY
179512011-05-27 Chong Yidong <cyd@stupidchicken.com>
17952
17953 * select.el: Support clipboard managers with built-in function
17954 x-clipboard-manager-save, via delete-frame-functions and
17955 kill-emacs-hook.
17956 (xselect-convert-to-targets): Add MULTIPLE target to list.
17957 (xselect-convert-to-save-targets): New function.
17958
c92a1e54
KH
179592011-05-27 Kenichi Handa <handa@m17n.org>
17960
17961 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17962 let-binding rfc2047-encode-encoded-words to nil.
17963
e145f188
GM
179642011-05-27 Glenn Morris <rgm@gnu.org>
17965
5ec8a862
GM
17966 * mail/emacsbug.el: Don't require url-util.
17967
4b29d9fb
GM
17968 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17969
e145f188
GM
17970 * files.el (set-auto-mode):
17971 Also respect mode: entries at the end of the file. (Bug#8586)
17972
7d15102b
GM
179732011-05-26 Glenn Morris <rgm@gnu.org>
17974
98f593b8
GM
17975 * files.el (hack-local-variables-prop-line, hack-local-variables):
17976 Downcase mode names, as seems to be traditional.
27b48e63 17977 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17978
7d15102b
GM
17979 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17980 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17981
51d5b4ec
JD
179822011-05-25 Julien Danjou <julien@danjou.info>
17983
17984 * textmodes/rst.el (rst-define-level-faces): Do not define face
17985 symbol if it is already defined.
17986
91513f63
VB
179872011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17988
17989 * play/5x5.el (5x5-new-game, 5x5-randomize):
17990 Reset 5x5-solver-output to nil when a new grid is cast.
17991 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17992 these debugging traces, as defmacro breaks the compiled code.
17993
4d90d6d0
DK
179942011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17995
17996 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17997
e1b90ef6
LL
179982011-05-24 Leo Liu <sdl.web@gmail.com>
17999
18000 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18001 (vc-bzr-sha1): Adapt.
18002
d8e4b68b 18003 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18004
18005 * bindings.el: Provide sha1 feature.
18006
db0406bb 180072011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18008
18009 * mail/sendmail.el: Require `rfc2047'.
18010 (mail-insert-from-field): Do not perform RFC2047 encoding.
18011 (mail-encode-header): New function.
18012 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18013 buffer to the return value of select-message-coding-system.
18014 Call mail-encode-header.
b8d747b9
KH
18015
18016 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18017
db0406bb 180182011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18019
4d90d6d0
DK
18020 * mail/supercite.el (sc-default-cite-frame):
18021 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18022
eb8a5e9b
GM
180232011-05-24 Glenn Morris <rgm@gnu.org>
18024
f8630703
GM
18025 * progmodes/python.el (brm-menu): Declare.
18026
8831bbed
GM
18027 * emulation/viper.el (viper-set-hooks): Declare.
18028
eb8a5e9b
GM
18029 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18030 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18031 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18032 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18033 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18034 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18035
a2a25d24
SM
180362011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 Add an :exit-function for completion-at-point.
18039
18040 * minibuffer.el (completion--done): New fun.
18041 (completion--do-completion): Use it. New arg `expect-exact'.
18042 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18043 since completion--do-completion does it for us now.
18044 (minibuffer-force-complete): Use completion--done and
18045 completion--replace. Handle sole-completion case with more care.
18046 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18047 (completion-extra-properties): New var.
18048 (completion-annotate-function): Make obsolete.
18049 (minibuffer-completion-help): Adjust accordingly.
18050 Use completion-list-insert-choice-function.
18051 (completion-at-point, completion-help-at-point):
18052 Bind completion-extra-properties.
18053 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18054 * simple.el (completion-list-insert-choice-function): New var.
18055 (completion-setup-function): Preserve it.
18056 (choose-completion): Pay attention to it, shuffle the code a bit.
18057 (choose-completion-string): New arg `insert-function'.
18058
18059 * textmodes/bibtex.el: Convert to lexical binding.
18060 (bibtex-mode-map): Use completion-at-point.
18061 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18062 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18063 (bibtex-complete): Define as obsolete alias.
18064 (bibtex-complete-internal): Remove.
18065 (bibtex-format-entry): Remove unused sub-group in regexp.
18066 * shell.el (shell--command-completion-data)
18067 (shell-environment-variable-completion):
18068 * pcomplete.el (pcomplete-completions-at-point):
18069 * comint.el (comint--complete-file-name-data): Use :exit-function
18070 instead of completion-table-with-terminator so it also works for
18071 choose-completion.
18072
e44e373d
SM
180732011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18074
4f91a816
SM
18075 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18076
782fc819
SM
18077 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18078 (bug#8710).
18079
e44e373d
SM
18080 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18081
381987c3
KM
180822011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18083
18084 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18085 customization variable and implement: If non-nil, auto-fill will
18086 be inhibited while on topic's header line.
18087
b776bc70
VB
180882011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18089
18090 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18091 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18092 always have a solution in grid size = 5 cases.
18093 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18094 (5x5-solver-output, 5x5-log-buffer): New vars.
18095 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18096 Make these variables buffer local to achieve 5x5 multi-session-ness.
18097 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18098 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18099 (5x5-solve-suggest): New funs.
18100 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18101 randomize a grid so that we ensure that there is always a solution.
18102 (5x5-make-random-grid): Allow other movement than flipping.
18103
7de88b6e
KR
181042011-05-23 Kevin Ryde <user42@zip.com.au>
18105
18106 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18107 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18108 advice and passes PREDICATE.
18109
b1ef1257
SM
181102011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18111
bbca48fe
SM
18112 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18113 byte-compile-lambda if it's actually a lambda.
18114
b1ef1257
SM
18115 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18116 Fix function quoting. Use backquote better.
18117
92a9cc65
YS
181182011-05-22 Yuanle Song <sylecn@gmail.com>
18119
18120 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18121 matching (Bug#8516).
18122
f0fb8059
JA
181232011-01-22 Jari Aalto <jari.aalto@cante.net>
18124
18125 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18126 different face (Bug#8178).
18127
d5b44c93
CY
181282011-05-22 Chong Yidong <cyd@stupidchicken.com>
18129
18130 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18131 defface (Bug#8144).
18132
79106a44
SM
181332011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18134
9c848d8a
SM
18135 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18136 funcall as well (bug#8712). Warn when performing those conversions.
18137 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18138
79106a44
SM
18139 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18140
88dfa756
GM
181412011-05-22 Glenn Morris <rgm@gnu.org>
18142
18143 * files.el (hack-local-variables-prop-line): Small simplifications.
18144 (hack-local-variables, hack-local-variables-prop-line):
18145 If MODE-ONLY, return the mode, rather than just `t'.
18146
b7cf2c79
SM
181472011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18148
18149 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18150
3f1a8558
GM
181512011-05-21 Glenn Morris <rgm@gnu.org>
18152
7e4ccca3
GM
18153 * files.el (hack-local-variables-prop-line, hack-local-variables):
18154 If only interested in the mode, don't bother doing the other stuff.
18155
637d46ca
GM
18156 * image-mode.el (image-after-revert-hook):
18157 Redraw all frames on which the image is visible. (Bug#8567)
18158
973d955b
GM
18159 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18160
3f1a8558
GM
18161 * wid-edit.el (widget-checklist-match-inline):
18162 Fix 2011-04-19 change. (Bug#8649)
18163
96479927
SM
181642011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18165
1dcf791f
SM
18166 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18167 Also allow singlespace after single-letter capitals followed by a dot.
18168
96479927
SM
18169 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18170 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18171
35fd0881
N
181722011-05-20 Nix <nix@esperi.org.uk>
18173
18174 * files.el (basic-save-buffer-2):
18175 Fix handling of break-hardlink-on-save with non-existent files.
18176
82745640
DD
181772011-05-19 Deniz Dogan <deniz@dogan.se>
18178
18179 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18180 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18181
4a720484
GM
181822011-05-19 Glenn Morris <rgm@gnu.org>
18183
d1f21341
GM
18184 * progmodes/f90.el (f90-type-def-re):
18185 Handle "type, bind(c)". (Bug#8691)
18186
4a720484
GM
18187 * emacs-lisp/autoload.el (batch-update-autoloads):
18188 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18189
2fb0a219
MA
181902011-05-18 Michael Albinus <michael.albinus@gmx.de>
18191
18192 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18193 property for the correct connection in case of multihops.
18194
e565dd37
GM
181952011-05-18 Glenn Morris <rgm@gnu.org>
18196
c2571358 18197 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18198 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18199
e565dd37
GM
18200 Rationalize calendar handling of day and month abbrev-arrays.
18201 * calendar/calendar.el (calendar-customized-p): New function.
18202 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18203 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18204 Add :set function.
18205 (calendar-abbrev-length, calendar-day-abbrev-array)
18206 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18207 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18208 Elements may no longer be nil.
18209 (calendar-day-name, calendar-month-name):
18210 Update for changed nature of abbrev arrays.
18211 * calendar/diary-lib.el (diary-name-pattern):
18212 Update for changed nature of abbrev arrays.
18213 (diary-mark-entries-1): Update calendar-make-alist calls.
18214 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18215 * calendar/cal-html.el (cal-html-day-abbrev-array):
18216 Simply inherit from calendar-day-abbrev-array.
18217
1d99a745
SM
182182011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18219
18220 * progmodes/grep.el (grep-mode): Disable default
18221 compilation-directory-matcher setting (bug#8684).
18222
7c1d9aa0
MA
182232011-05-17 Michael Albinus <michael.albinus@gmx.de>
18224
18225 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18226 instead of "head" and "tail". There were problems with SunOS 5.9,
18227 and it performs better.
18228
3952e9d8
GM
182292011-05-17 Glenn Morris <rgm@gnu.org>
18230
2dd12e7f
GM
18231 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18232
e4157b9c
GM
18233 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18234 Replace obsolete function.
18235
8e249bbd
GM
18236 * shell.el (pcomplete-parse-arguments-function): Declare.
18237
3952e9d8
GM
18238 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18239 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18240 (appt-check): Doc fixes.
18241 (appt-disp-window-function, appt-delete-window-function):
18242 Remove needless special case in custom :type.
18243 (appt-display-count): Default to 0, not nil.
18244 (appt-check): Reset appt-display-count to 0, not nil.
18245
c71a0d48 182462011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18247
c71a0d48
GM
18248 * progmodes/python.el (python-font-lock-keywords):
18249 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18250
31d55be9
SM
182512011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18252
18253 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18254
3bfacb2f
KR
182552011-05-16 Kevin Ryde <user42@zip.com.au>
18256
18257 * info-look.el (makefile-automake-mode): New setups, looking in
18258 automake manual, then makefile-mode.
18259 (makefile-mode): Remove automake manual, have it just in
18260 makefile-automake-mode since there's various things different or
18261 not relevant to plain make.
18262 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18263 believe a hypothetical automake-mode would go to makefile-mode,
18264 not the other way around.
18265
c8e83751
CY
182662011-05-15 Chong Yidong <cyd@stupidchicken.com>
18267
5e9e35cd
CY
18268 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18269 hunk-end tags (Bug#8672).
18270
c8e83751
CY
18271 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18272 vc-annotate-show-diff-revision-at-line (Bug#8671).
18273
50b23e5a
GM
182742011-05-14 Glenn Morris <rgm@gnu.org>
18275
7210a739
GM
18276 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18277 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18278 (change-log-font-lock-keywords): Also handle multiple author lines
18279 with leading tabs. (Bug#8644)
7210a739 18280
4691905a
GM
18281 * calendar/appt.el (appt-check): Rename some local variables.
18282 Some simplification/reordering.
18283
50b23e5a
GM
18284 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18285 (feedmail-sendmail-f-doesnt-sell-me-out)
18286 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18287 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18288 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18289 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18290 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18291 (feedmail-binmail-gnulinuxish-template):
18292 Rename from feedmail-binmail-linuxish-template.
18293 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18294 Use insert-buffer-substring.
18295
215cda7c
BC
182962011-05-14 Bill Carpenter <bill@carpenter.org>
18297
18298 * mail/feedmail.el (feedmail-patch-level): Increase.
18299 (feedmail-debug): New custom group.
18300 (feedmail-confirm-outgoing-timeout)
18301 (feedmail-sendmail-f-doesnt-sell-me-out)
18302 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18303 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18304 (feedmail-sender-line, feedmail-from-line)
18305 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18306 (feedmail-spray-this-address)
215cda7c
BC
18307 (feedmail-spray-address-fiddle-plex-list)
18308 (feedmail-queue-use-send-time-for-date)
18309 (feedmail-queue-use-send-time-for-message-id)
18310 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18311 (feedmail-buffer-eating-function):
18312 Doc fixes.
18313 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18314 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18315 (feedmail-message-action-scroll-down): New functions.
18316 (feedmail-queue-directory, feedmail-queue-draft-directory):
18317 Use expand-file-name.
18318 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18319 Remove C-v help entry.
18320 (feedmail-queue-buffer-file-name): New variable.
18321 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18322 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18323 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18324 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18325 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18326 (feedmail-message-action-toggle-spray)
18327 (feedmail-run-the-queue-no-prompts)
18328 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18329 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18330 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18331 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18332 (feedmail-envelope-deducer, feedmail-fiddle-from)
18333 (feedmail-fiddle-sender, feedmail-default-date-generator)
18334 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18335 (feedmail-fiddle-spray-address)
18336 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18337 (feedmail-fiddle-list-of-fiddle-plexes)
18338 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18339 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18340 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18341 Change default. Doc fix.
18342 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18343 (feedmail-binmail-linuxish-template): New constant.
18344 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18345 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18346 (feedmail-send-it): Add debug call.
18347 Use feedmail-queue-buffer-file-name, and
18348 feedmail-send-it-immediately-wrapper.
18349 (feedmail-message-action-send): Add debug call.
18350 Use feedmail-send-it-immediately-wrapper.
18351 (feedmail-queue-express-to-queue): Add debug call.
18352 Run feedmail-queue-express-hook.
18353 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18354 (feedmail-message-action-help-blat):
18355 Rename from feedmail-queue-send-edit-prompt-help-first.
18356 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18357 Check line-endings. Handle errors better.
18358 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18359 Doc fix. Add debug call.
18360 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18361 Use feedmail-queue-send-edit-prompt-inner.
18362 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18363 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18364 from feedmail-queue-send-edit-prompt.
18365 (feedmail-queue-send-edit-prompt-help)
18366 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18367 (feedmail-tidy-up-slug): Add debug call.
18368 Respect feedmail-queue-slug-suspect-regexp.
18369 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18370 (feedmail-dump-message-to-queue): Add debug call.
18371 Expand queue-directory.
18372 (feedmail-dump-message-to-queue): Change message slightly.
18373 Use feedmail-say-chatter.
18374 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18375 (feedmail-send-it-immediately-wrapper): New function.
18376 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18377 Insert empty string rather than newline. Handle full-frame case.
18378 Use catch/throw. Use feedmail-say-chatter.
18379 (feedmail-fiddle-from): Try mail-host-address.
18380 (feedmail-default-message-id-generator): Doc fix.
18381 Bind system-time-locale. Handle missing end.
18382 (feedmail-fiddle-x-mailer): Add debug call.
18383 Handle feedmail-x-mailer-line being nil.
18384 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18385 Add debug call. Use buffer-substring-no-properties.
18386 (feedmail-say-debug, feedmail-say-chatter): New functions.
18387 (feedmail-find-eoh): Give an explicit error.
18388
42c7e61e
UJ
183892011-05-13 Ulf Jasper <ulf.jasper@web.de>
18390
c2571358 18391 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18392 family from helvetica to sans.
c2571358 18393 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18394 etc/images/newsticker.
18395
c2571358 18396 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18397 family from helvetica to sans.
18398
18399 * net/newst-plainview.el (newsticker-new-item-face)
18400 (newsticker-old-item-face, newsticker-immortal-item-face)
18401 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18402 (newsticker-statistics-face): Change default family from
42c7e61e 18403 helvetica to sans.
c2571358 18404 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18405 etc/images/newsticker.
18406
5d3385a0
JB
18407 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18408 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18409 auto-marking.
18410
8497a297
DV
184112011-05-13 Didier Verna <didier@xemacs.org>
18412
18413 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18414 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18415 TODO entries.
8497a297
DV
18416 (lisp-lambda-list-keyword-parameter-indentation)
18417 (lisp-lambda-list-keyword-parameter-alignment)
18418 (lisp-lambda-list-keyword-alignment): New customizable user options.
18419 (lisp-indent-defun-method): Improve docstring.
18420 (extended-loop-p): Fix comment.
18421 (lisp-indent-lambda-list-keywords-regexp): New variable.
18422 (lisp-indent-lambda-list): New function.
18423 (lisp-indent-259): Use it.
18424 (lisp-indent-defmethod): Support for more than one
18425 method qualifier and properly indent methods lambda-lists.
18426 (defgeneric): Provide a missing common-lisp-indent-function property.
18427
f278f87f
SM
184282011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18429
18430 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18431 bounds for the empty string (bug#8667).
18432
5233edd7
GM
184332011-05-13 Glenn Morris <rgm@gnu.org>
18434
5237a44f
GM
18435 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18436
8340026c 18437 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18438 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18439
5233edd7 18440 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18441 (appt-time-msg-list): Doc fix.
a5464014 18442 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18443
92d10796
AS
184442011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18445
18446 * progmodes/ld-script.el (ld-script-keywords)
18447 (ld-script-builtins): Update keywords list.
18448
914a0ae1
SM
184492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18450
c89be45f
SM
18451 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18452
914a0ae1
SM
18453 * shell.el (shell-completion-vars): New function.
18454 (shell-mode):
18455 * simple.el (read-shell-command): Use it.
18456 (blink-matching-open): No need for " [...]" in minibuffer-message.
18457
98dc3df3
GM
184582011-05-12 Glenn Morris <rgm@gnu.org>
18459
18460 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18461 (appt-check): Simplify.
18462
d2fc7e3d 184632011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18464
4d61f28d 18465 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18466 literal "/dev/null".
18467
d2fc7e3d 184682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18469
18470 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18471 Fix typo.
18472
d2fc7e3d 184732011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18474
3f254caa
SM
18475 * progmodes/which-func.el (which-function):
18476 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18477 which might not be defined (Bug#8260).
18478
d45885f7
GM
184792011-05-12 Glenn Morris <rgm@gnu.org>
18480
18481 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18482 Let byte-compile-initial-macro-environment always take precedence.
18483
488086f4
SM
184842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18485
18486 * net/rcirc.el: Add support for SSL/TLS connections.
18487 (rcirc-server-alist): New field `encryption'.
18488 (rcirc): Check `encryption' settings.
18489 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18490 Merge make-local-variable into `set'.
18491 (rcirc--connection-open-p): New function.
18492 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18493 the process is not a network process (e.g. running gnutls-cli).
18494 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18495 Make rcirc-(en|de)code-coding-system local here.
18496 (rcirc-mode): Merge make-local-variable into `set'.
18497 (rcirc-parent-buffer): Make permanent buffer-local.
18498 (rcirc-multiline-minor-mode): Don't do it here.
18499 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18500 there's no server buffer.
18501
7d3b9d44
GM
185022011-05-11 Glenn Morris <rgm@gnu.org>
18503
f64049c6
GM
18504 * newcomment.el (comment-kill): Prefix "unused" local.
18505
93c9df73
GM
18506 * term/w32console.el (get-screen-color): Declare.
18507
7d3b9d44
GM
18508 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18509 Handle symbol elements of byte-compile-initial-macro-environment.
18510
9e2dd53f
LL
185112011-05-10 Leo Liu <sdl.web@gmail.com>
18512
488086f4
SM
18513 * bookmark.el (bookmark-bmenu-mode-map):
18514 Bind bookmark-bmenu-search to `/'.
8b340240 18515
9e2dd53f 18516 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18517 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18518 (Footnote-unicode): New function.
18519 (footnote-style-alist): Add unicode style to the list.
18520 (footnote-style): Doc fix.
9e2dd53f 18521
79b70037
GM
185222011-05-10 Jim Meyering <meyering@redhat.com>
18523
18524 Fix doubled-word typos.
18525 * international/quail.el (quail-insert-kbd-layout): and and -> and
18526 * kermit.el: and and -> and
18527 * net/ldap.el (ldap-search-internal): to to -> to
18528 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18529 * progmodes/js.el (js-mode): and and -> and
18530 * textmodes/artist.el (artist-move-to-xy): at at -> at
18531 (artist-draw-region-trim-line-endings): if if -> if
18532 And Safetyc -> Safety.
18533 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18534
b8f82dc1 185352011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18536 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18537
18538 * files.el (hack-one-local-variable-eval-safep):
18539 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18540
4f99f44b
GM
185412011-05-10 Glenn Morris <rgm@gnu.org>
18542
18543 * calendar/diary-lib.el (diary-list-entries-hook)
18544 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18545 (diary-nongregorian-marking-hook, diary-list-entries)
18546 (diary-include-other-diary-files, diary-mark-entries)
18547 (diary-mark-included-diary-files): Doc fixes.
18548
84f29e6b
JB
185492011-05-09 Juanma Barranquero <lekktu@gmail.com>
18550
18551 * misc.el: Require tabulated-list.el during compilation.
18552
9bedd73a
CY
185532011-05-09 Chong Yidong <cyd@stupidchicken.com>
18554
488086f4
SM
18555 * progmodes/compile.el (compilation-start):
18556 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18557 (compilation-filter-hook): Doc fix.
18558
797c735c
DD
185592011-05-09 Deniz Dogan <deniz@dogan.se>
18560
18561 * wdired.el: Remove outdated installation comment. Fix usage
18562 comment.
18563
5f4b1dfe
JB
185642011-05-09 Juanma Barranquero <lekktu@gmail.com>
18565
18566 * misc.el: Implement new command `list-dynamic-libraries'.
18567 (list-dynamic-libraries--loaded-only-p): New variable.
18568 (list-dynamic-libraries--refresh): New function.
18569 (list-dynamic-libraries): New command.
18570
4c44026c
CY
185712011-05-09 Chong Yidong <cyd@stupidchicken.com>
18572
488086f4
SM
18573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18574 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18575 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18576 higher priority to avoid clobbering by gnu.
18577
027f966d
CY
185782011-05-08 Chong Yidong <cyd@stupidchicken.com>
18579
18580 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18581 if the face has existing theme settings (Bug#8454).
18582
085f5d7d
CY
185832011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18584
488086f4
SM
18585 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18586 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18587
2a86a00c
RS
18588 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18589 special file names `.' and `..' (Bug#8259).
18590
d9c54a06
CY
185912011-05-08 Chong Yidong <cyd@stupidchicken.com>
18592
488086f4
SM
18593 * progmodes/grep.el (grep-mode-font-lock-keywords):
18594 Remove buffer-changing entries.
d9c54a06
CY
18595 (grep-filter): New function.
18596 (grep-mode): Add it to compilation-filter-hook.
18597
18598 * progmodes/compile.el (compilation-filter-hook)
18599 (compilation-filter-start): New defvars.
18600 (compilation-filter): Call compilation-filter-hook prior to
18601 updating the process mark.
18602
c4662635
SM
186032011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18604
18605 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18606
b0512a1d
EZ
186072011-05-07 Eli Zaretskii <eliz@gnu.org>
18608
605c9376
EZ
18609 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18610 mailclient-send-it even if window-system is nil. (Bug#8595)
18611
c4662635
SM
18612 * term/w32console.el (terminal-init-w32console):
18613 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18614 background-mode. (Bug#8597)
18615
d1dc2cc2
SM
186162011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18617
18618 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18619 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18620 New functions.
18621 (defgeneric, eieio--defmethod): Use them.
18622 (eieio-defgeneric): Remove.
18623 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18624
915d1300
GM
186252011-05-07 Glenn Morris <rgm@gnu.org>
18626
a3961c3e
GM
18627 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18628 Use let rather than let*.
18629 (timeclock-find-discrep): Remove unused local.
18630
314347b9
GM
18631 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18632
915d1300
GM
18633 * calendar/appt.el (appt-time-msg-list): Doc fix.
18634
275b59b0
NF
186352011-05-06 Noah Friedman <friedman@splode.com>
18636
18637 * apropos.el (apropos-print-doc): Only use
18638 emacs-lisp-docstring-fill-column when it is bound to an integer,
18639 per that variable's documentation.
18640
6c19f744
SM
186412011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18642
18643 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18644 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18645
60f884b2
GM
186462011-05-06 Glenn Morris <rgm@gnu.org>
18647
5006e634
GM
18648 * calendar/appt.el (appt-message-warning-time): Doc fix.
18649 (appt-warning-time-regexp): New option.
18650 (appt-make-list): Respect appt-message-warning-time.
18651
548d0a63
GM
18652 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18653 New options.
18654 (diary-add-to-list): Strip comments from the displayed string.
18655 (diary-mode): Set comment-start and comment-end.
18656
60f884b2
GM
18657 * vc/diff-mode.el (smerge-refine-subst): Declare.
18658 (diff-refine-hunk): Don't require smerge-mode when compiling.
18659
989681bb
JB
186602011-05-06 Juanma Barranquero <lekktu@gmail.com>
18661
18662 * simple.el (list-processes): Return nil as the docstring says.
18663
a6bc05e1
MA
186642011-05-05 Michael Albinus <michael.albinus@gmx.de>
18665
18666 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18667 to "".
18668 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18669 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18670 determining of binary transfer. (Bug#7383)
18671
23c22e9a
MA
186722011-05-05 Michael Albinus <michael.albinus@gmx.de>
18673
c4662635
SM
18674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18675 Fix port computation bug. (Bug#8618)
23c22e9a 18676
0bff894f
GM
186772011-05-05 Glenn Morris <rgm@gnu.org>
18678
b8296902
GM
18679 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18680
1f522ce8
GM
18681 * simple.el (shell-dynamic-complete-functions)
18682 (comint-dynamic-complete-functions): Declare.
18683
cf5bee67
GM
18684 * net/network-stream.el (gnutls-negotiate):
18685 * simple.el (tabulated-list-print): Fix declarations.
18686
18687 * progmodes/gud.el (syntax-symbol, syntax-point):
18688 Remove unnecessary and incorrect declarations.
18689
0bff894f 18690 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18691 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18692
9869b3ae
SM
186932011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18694
18695 Fix earlier half-done eieio-defmethod change (bug#8338).
18696 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18697 Streamline and change calling convention.
18698 (defmethod): Adjust accordingly and simplify.
18699 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18700 new eieio--defmethod.
18701 (slot-boundp): Minor CSE simplification.
18702
9c1d5ac5
MZ
187032011-05-05 Milan Zamazal <pdm@zamazal.org>
18704
18705 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18706 (glasses-make-readable): Use glasses-separate-capital-groups.
18707
455c834e
JB
187082011-05-05 Juanma Barranquero <lekktu@gmail.com>
18709
18710 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18711 (warning-series): Doc fix.
18712 (display-warning): Don't try to create the buffer if we just found it.
18713
9ed7c8cb
CY
187142011-05-04 Chong Yidong <cyd@stupidchicken.com>
18715
18716 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18717 (autoload-find-generated-file): New function.
18718 (generate-file-autoloads): Bind generated-autoload-file to
18719 buffer-file-name.
9869b3ae
SM
18720 (update-file-autoloads, update-directory-autoloads):
18721 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18722 output file (Bug#7989).
18723 (batch-update-autoloads): Doc fix.
18724
0898ca10
JB
187252011-05-04 Juanma Barranquero <lekktu@gmail.com>
18726
18727 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18728
31dfb76c
GM
187292011-05-04 Glenn Morris <rgm@gnu.org>
18730
f330b642
GM
18731 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18732 function, so it follows changes in calendar-date-style.
18733 (diary-fancy-date-matcher): New function.
18734 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18735 (diary-fancy-font-lock-fontify-region-function):
18736 Use diary-fancy-date-pattern as a function.
18737
31dfb76c
GM
18738 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18739 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18740
48e79d6a
TZ
187412011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18742
18743 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18744 instead of positional arguments. Allow :keylist and :crlfiles
18745 arguments.
18746 (open-gnutls-stream): Call it.
18747
18748 * net/network-stream.el (network-stream-open-starttls): Adjust to
18749 call `gnutls-negotiate' with :process and :hostname arguments.
18750
dd5a5ee0
SM
187512011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18752
ef80fc09
SM
18753 * minibuffer.el (completion--message): New function.
18754 (completion--do-completion, minibuffer-complete)
18755 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18756 (completion--do-completion): Don't ignore completion-auto-help when in
18757 icomplete-mode.
18758
dd5a5ee0
SM
18759 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18760 internal encoding (e.g. tibetan zero is not whitespace).
18761 (global-whitespace-mode): Prefer save-current-buffer.
18762 (whitespace-trailing-regexp): Remove useless save-match-data.
18763 (whitespace-empty-at-bob-regexp): Minor simplification.
18764
b7d22a83
CY
187652011-05-03 Chong Yidong <cyd@stupidchicken.com>
18766
18767 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18768
5192af46
AM
187692011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18770
18771 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18772 Use `concat' to create string for insertion.
5192af46 18773
5767d190
SM
187742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18775
18776 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18777 Avoid open-line which runs post-self-insert-hook.
18778 (bibtex-fill-entry): Remove unused `end' var.
18779
bf242939
AM
187802011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18781
5767d190
SM
18782 * textmodes/ispell.el (ispell-add-per-file-word-list):
18783 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18784
25666126
LL
187852011-05-03 Leo Liu <sdl.web@gmail.com>
18786
18787 * isearch.el (isearch-yank-pop): New command.
5767d190 18788 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18789 (isearch-forward): Mention it.
18790
52d3c2d0
SM
187912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18792
1bcace58
SM
18793 * simple.el (minibuffer-complete-shell-command): Remove.
18794 (minibuffer-local-shell-command-map): Use completion-at-point.
18795 (read-shell-command): Setup completion vars here instead.
18796 (read-expression-map): Bind TAB to symbol completion.
18797
52d3c2d0
SM
18798 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18799 error directly rather via storing it into `results'.
18800
35813471
LL
188012011-05-02 Leo Liu <sdl.web@gmail.com>
18802
18803 * vc/diff.el: Fix description.
18804
e793a940
LMI
188052011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18806
18807 * server.el (server-eval-at): New function.
18808
8de66e05
LMI
188092011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18810
18811 * net/network-stream.el (open-network-stream): Take a :nowait
18812 parameter and pass it on to `make-network-process'.
18813 (network-stream-open-plain): Ditto.
18814
dcb79f20
AS
188152011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18816
18817 * faces.el (face-spec-set-match-display): Don't match toolkit
18818 options on terminal frames.
18819
14a7fbd8
SM
188202011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18821
7eabc1be
SM
18822 * progmodes/pascal.el: Use lexical binding.
18823 (pascal-mode-map): Remove author preferences.
18824
14a7fbd8
SM
18825 * pcomplete.el (pcomplete-std-complete): Don't abuse
18826 completion-at-point.
18827
50f84510
JB
188282011-04-28 Juanma Barranquero <lekktu@gmail.com>
18829
6e087a44
JB
18830 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18831 removing code that has been dead since 1991 or so.
18832
50f84510
JB
18833 * startup.el (command-line): When warning about "_emacs", use a
18834 delayed warning to allow the user to filter it out.
18835
0ba690bd
DD
188362011-04-28 Deniz Dogan <deniz@dogan.se>
18837
18838 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18839 user has not joined.
18840
08abfaad
SM
188412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18842
18843 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18844 aren't any completions at point.
18845
638f053a
JB
188462011-04-28 Juanma Barranquero <lekktu@gmail.com>
18847
18848 * subr.el (display-delayed-warnings): New function.
18849 (delayed-warnings-hook): New variable.
18850
8fff8daa
SM
188512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18852
08abfaad
SM
18853 * minibuffer.el (completion-at-point, completion-help-at-point):
18854 Don't presume that a given completion-at-point-function will always
18855 use the same calling convention.
18856
8fff8daa
SM
18857 * pcomplete.el (pcomplete-completions-at-point):
18858 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18859 pcomplete-seen is non-nil.
18860 (pcomplete-comint-setup): Also recognize the new comint/shell
18861 completion functions.
18862 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18863 pcomplete-seen is non-nil.
18864
841a1577 188652011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18866
841a1577 18867 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18868 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18869 the first character in the entry. This allows for code to add its
211ec907
UJ
18870 own uid to the entry.
18871 (icalendar--convert-float-to-ical): Add export of
18872 `diary-float'-entries save for those with the optional DAY
18873 argument.
18874
2a782793
DC
188752011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18876
18877 * subr.el (shell-quote-argument): Use alternate escaping strategy
18878 when we spot a variable reference in a string.
18879
0438ce91
DC
188802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18881
18882 * cus-start.el (all): Define customization for debug-on-event.
18883
841a1577 188842011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18885
18886 * subr.el (shell-quote-argument): Escape correctly under Windows.
18887
d090ed6c
SM
188882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18889
18890 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18891
bfd31217
MA
188922011-04-25 Michael Albinus <michael.albinus@gmx.de>
18893
d090ed6c
SM
18894 * net/tramp.el (tramp-process-actions): Add POS argument.
18895 Delete region between POS and (pos).
bfd31217 18896
d090ed6c
SM
18897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18898 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18899 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18900
18901 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18902 position in `tramp-process-actions' call.
18903
18904 * net/trampver.el: Update release number.
18905
e92f3bd3
SM
189062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18907
850256b5
SM
18908 * custom.el (defcustom): Obey lexical-binding.
18909
e92f3bd3
SM
18910 Fix octave-inf completion problems reported by Alexander Klimov.
18911 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18912 Inherit from octave-mode-syntax-table.
18913 (inferior-octave-mode): Set info-lookup-mode.
18914 (inferior-octave-completion-at-point): New function.
18915 (inferior-octave-complete): Use it and completion-in-region.
18916 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18917 comint-filename-completion.
18918 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18919 symbol elements which shouldn't be word elements.
18920 (octave-font-lock-keywords, octave-beginning-of-defun)
18921 (octave-function-header-regexp): Adjust regexps accordingly.
18922 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18923
cd22b309
JB
189242011-04-25 Juanma Barranquero <lekktu@gmail.com>
18925
18926 * net/gnutls.el (gnutls-errorp): Declare before first use.
18927
8b492194
TZ
189282011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18929
18930 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18931 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18932 default trustfile exists before going to use it. Add missing
5a5fa834 18933 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18934 Reported by Claudio Bley <claudio.bley@gmail.com>.
18935 (open-gnutls-stream): Add usage example.
18936
18937 * net/network-stream.el (network-stream-open-starttls): Give host
18938 parameter to `gnutls-negotiate'.
18939 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18940 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18941
841a1577 189422011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18943
cd22b309
JB
18944 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18945 Use correct match group (bug#8438).
05842630 18946
3ba7869c
CY
189472011-04-24 Chong Yidong <cyd@stupidchicken.com>
18948
512e3ae1
CY
18949 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18950 (package-menu--generate): New arg specifying packages to show.
18951 (package-menu-refresh, package-menu-execute, list-packages):
18952 Callers changed.
18953 (package-show-package-list): New function, replacing deleted
18954 package--list-packages (renamed because it is non-internal).
18955
18956 * finder.el (finder-list-matches): Use package-show-package-list
18957 instead of deleted package--list-packages.
18958
e92f3bd3
SM
18959 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18960 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18961 (vc-annotate-mode-map): Bind it to RET.
18962
7031be6d
UR
189632011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18964
18965 * progmodes/etags.el (next-file): Don't use set-buffer to change
18966 buffers (Bug#8478).
18967
4ef177aa
CY
189682011-04-24 Chong Yidong <cyd@stupidchicken.com>
18969
c8d173eb
CY
18970 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18971
4ef177aa
CY
18972 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18973 (apropos-accumulator): Doc fix.
18974 (apropos-function, apropos-macro, apropos-command)
18975 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18976 (apropos-plist): Add face property.
18977 (apropos-symbols-internal): Fix indentation.
18978 (apropos-print): Simplify help, and recognize apropos-multi-type.
18979 (apropos-print-doc): Use button-type-get to extract the button's
18980 face property. Fill docstring (Bug#8352).
18981
4ffd0d6b 189822011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18983
18984 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18985
c6c32125 18986 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18987 (mpuz-mode-map): Use mapc.
c6c32125
JB
18988 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18989 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18990 Fix typos in docstrings.
18991
58d468b4
JB
18992 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18993 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18994
6470c3c6
JB
18995 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18996
4ffd0d6b 189972011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18998
18999 * minibuffer.el (completion--do-completion): Avoid the "Next char
19000 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19001
3ad8bad0
CY
19002 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19003 mouse-2 into unread-command-events, it is interpreted correctly.
19004
71d73c9c 19005 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19006 (image-toggle-display): Doc fix.
71d73c9c 19007
841a1577 190082011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19009
4ffd0d6b
GM
19010 * textmodes/page.el (what-page): Use line-number-at-pos to
19011 calculate line number (Bug#6825).
6e1dbaa9 19012
c2fb1b60
JB
190132011-04-22 Juanma Barranquero <lekktu@gmail.com>
19014
19015 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19016 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19017 Pass argument NO-DEFAULT to `find-tag-interactive'.
19018
e02f48d7
JB
190192011-04-22 Juanma Barranquero <lekktu@gmail.com>
19020
19021 Lexical-binding cleanup.
19022
19023 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19024 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19025 * progmodes/ada-prj.el (ada-prj-initialize-values)
19026 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19027 (ada-prj-show-value):
19028 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19029 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19030 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19031 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19032 * progmodes/bug-reference.el (bug-reference-push-button):
19033 * progmodes/fortran.el (fortran-line-length):
19034 * progmodes/glasses.el (glasses-change):
19035 * progmodes/octave-mod.el (octave-fill-paragraph):
19036 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19037 (python-pdbtrack-grub-for-buffer, python-sentinel):
19038 * progmodes/sql.el (sql-save-connection):
19039 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19040 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19041 Mark unused parameters.
19042
19043 * progmodes/compile.el (compilation--flush-directory-cache)
19044 (compilation--flush-parse, compile-internal): Mark unused parameters.
19045 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19046 (compilation-next-error-function): Remove unused variable `timestamp'.
19047
19048 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19049 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19050
19051 * progmodes/dcl-mode.el (dcl-end-of-command):
19052 Remove unused variable `start'.
19053 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19054 (dcl-option-value-basic, dcl-option-value-offset)
19055 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19056 Mark unused parameters.
19057 (dcl-save-local-variable): Remove unused variable `val'.
19058 (mode): Declare.
19059
19060 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19061 Mark unused parameters.
19062 (delphi-ignore-changes): Move before first use.
19063 (delphi-charset-token-at): Remove unused variable `start'.
19064 (delphi-else-start): Remove unused variable `if-count'.
19065 (delphi-comment-block-start, delphi-comment-block-end):
19066 Remove unused variable `kind'.
19067 (delphi-indent-line): Remove unused variable `new-point'.
19068
19069 * progmodes/ebrowse.el (ebrowse-files-list)
19070 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19071 Mark unused parameters. Don't quote `lambda'.
19072 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19073 Don't quote `lambda'.
19074 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19075 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19076 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19077 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19078 Use `ignore-errors'.
19079 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19080 (ebrowse-view/find-file-and-search-pattern)
19081 (ebrowse-view/find-member-declaration/definition):
19082 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19083 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19084 Rename parameter PREFIX-ARG to PREFIX.
19085 (ebrowse-tags-read-name): Remove unused variables `start' and
19086 `member-info'.
19087 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19088 to `tags-file'.
19089
19090 * progmodes/etags.el (local-find-tag-hook): Declare.
19091 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19092 Mark unused parameters.
19093
19094 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19095 (executable-interpret): Mark unused parameter.
19096
19097 * progmodes/flymake.el (flymake-process-sentinel)
19098 (flymake-after-change-function)
19099 (flymake-create-temp-with-folder-structure)
19100 (flymake-get-include-dirs-dot): Mark unused parameters.
19101 (flymake-safe-delete-directory): Remove unused variable `err'.
19102
19103 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19104 (speedbar-timer-fn, speedbar-line-text)
19105 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19106 (speedbar-center-buffer-smartly): Declare functions.
19107 (gdb-find-watch-expression): Remove unused variable `array'.
19108 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19109 (gdb-starting): Mark unused parameters.
19110 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19111 (gdb-table-string): Remove unused variable `res'.
19112 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19113 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19114 (gdb-display-buffer): Remove unused variable `cur-size'.
19115
19116 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19117 allow lexical-binding compilation.
19118 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19119 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19120 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19121 Mark unused parameters.
19122 (gud-gdb-marker-filter): Remove unused variable `match'.
19123 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19124 lambda expressions and funcall them, instead of using `fset'.
19125
19126 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19127 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19128
19129 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19130 variable `header-beg'; use `let'.
19131
19132 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19133 `restart', `last-sexp' and `at-do'.
19134
19135 * progmodes/js.el (js--debug): Mark unused parameter.
19136 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19137 (js--splice-into-items): Remove unused variable `item'.
19138 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19139
19140 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19141 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19142 (makefile-complete): Remove unused variable `try'.
19143 (makefile-fill-paragraph, makefile-match-function-end):
19144 Mark unused parameters.
19145
19146 * progmodes/octave-inf.el (inferior-octave-complete):
19147 Remove unused variable `proc'.
19148 (inferior-octave-output-digest): Mark unused parameter.
19149
19150 * progmodes/perl-mode.el (perl-calculate-indent):
19151 Remove unused variable `err'.
19152
19153 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19154 (prolog-indent-line): Mark unused parameters.
19155 (prolog-indent-line): Remove unused variable `beg'.
19156
19157 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19158 (reporter-dont-compact-list): Declare.
19159
19160 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19161 Remove unused variable `char'.
19162 (sh-debug): Mark unused parameter.
19163 (sh-get-indent-info): Remove unused variable `start'.
19164 (sh-calculate-indent): Remove unused variable `var'.
19165
19166 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19167 (simula-electric-keyword): Remove unused variable `null'.
19168 (simula-search-backward, simula-search-forward): Remove unused
19169 variables `begin' and `end'.
19170
19171 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19172 Remove unused variable `pos'.
19173 (vera-electric-tab, vera-comment-uncomment-region):
19174 Mark unused parameters.
19175 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19176
7ede3b65
CY
191772011-04-22 Chong Yidong <cyd@stupidchicken.com>
19178
19179 * emacs-lisp/package.el (package--builtins, package-alist)
19180 (package-load-descriptor, package-built-in-p, package-activate)
19181 (define-package, package-installed-p)
19182 (package-compute-transaction, package-buffer-info)
19183 (package--push): Doc fix. Distinguish more clearly between
19184 version strings and version lists.
19185
121656e9
JB
191862011-04-21 Juanma Barranquero <lekktu@gmail.com>
19187
19188 Lexical-binding cleanup.
19189
19190 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19191 (5x5-make-mutate-best):
19192 * play/fortune.el (fortune-in-buffer):
19193 * play/gomoku.el (gomoku-init-display):
19194 * play/solitaire.el (solitaire, solitaire-do-check):
19195 * play/tetris.el (tetris-default-update-speed-function):
19196 Mark unused parameters.
19197
19198 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19199 (bubbles--shift): Remove unused variable `char-org'.
19200 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19201 (bubbles--show-images): Remove unused variable `char'.
19202
19203 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19204 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19205 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19206 (decipher-analyze-buffer): Use ?\s.
19207 (decipher-make-checkpoint): Remove unused variable `mapping'.
19208
19209 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19210
19211 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19212 Remove unused variable `result'; use `let'.
19213
19214 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19215 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19216 (gametree-children-shown-p, gametree-compute-reduced-score):
19217 Use `ignore-errors'.
19218
19219 * play/handwrite.el (ps-lpr-switches): Declare.
19220 (handwrite): Remove unused variables `pmin' and `lastp'.
19221
19222 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19223
19224 * play/landmark.el (landmark-init-display)
19225 (landmark-update-naught-weights): Mark unused parameters.
19226 (landmark-y): Remove unused variable `noise'. Simplify.
19227 (landmark-human-plays): Remove unused variable `score'.
19228
19229 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19230 (mpuz-try-proposal): Remove unused variable `game'.
19231
19232 * play/zone.el (life-patterns): Declare.
19233
80f499c7
JB
192342011-04-20 Juanma Barranquero <lekktu@gmail.com>
19235
19236 * vc/vc.el (ediff-vc-internal): Declare function.
19237
024ff170
SM
192382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19239
c0a193ea
SM
19240 * shell.el: Use lexical-binding and std completion UI.
19241 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19242 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19243 comint-preoutput-filter-functions rather than on
19244 comint-output-filter-functions.
19245 (shell-command-completion, shell--command-completion-data)
19246 (shell-filename-completion, shell-environment-variable-completion)
19247 (shell-c-a-p-replace-by-expanded-directory): New functions.
19248 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19249 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19250 (shell-dynamic-complete-environment-variable): Use them.
19251 (shell-dynamic-complete-as-environment-variable)
19252 (shell-dynamic-complete-as-command): Remove.
19253 (shell-match-partial-variable): Match past point.
19254 * comint.el: Clean up use of completion-at-point-functions.
19255 (comint-completion-at-point): New function.
19256 (comint-mode): Use it completion-at-point-functions.
19257 (comint-dynamic-complete): Make it obsolete.
19258 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19259 (comint-c-a-p-replace-by-expanded-history): New function.
19260 (comint-dynamic-complete-functions)
19261 (comint-replace-by-expanded-history): Use it.
19262 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19263 termination strings. Try harder to avoid second try-completion.
19264 (completion-in-region-mode-map): Disable bindings that don't work yet.
19265
2dbaa080
SM
19266 * comint.el: Use lexical-binding. Require CL.
19267 (comint-dynamic-complete-functions): Use comint-filename-completion.
19268 (comint-completion-addsuffix): Tweak custom type.
19269 (comint-filename-completion, comint--common-suffix)
19270 (comint--common-quoted-suffix, comint--table-subvert)
19271 (comint--complete-file-name-data): New functions.
19272 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19273 (comint-dynamic-list-filename-completions): Use them.
19274 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19275
2dbaa080
SM
19276 * minibuffer.el (completion-in-region-mode):
19277 Keep completion-in-region-mode--predicate global.
19278 (completion-in-region--postch):
19279 Assume completion-in-region-mode--predicate is not null.
19280
c79a6f38
SM
19281 * progmodes/flymake.el (flymake-start-syntax-check-process):
19282 Obey `dir'. Simplify.
19283
024ff170
SM
19284 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19285 we're in VC after all.
19286
1c6c854e
CS
192872011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19288
19289 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19290 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19291 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19292
bed7f140
SM
192932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19294
332e62ab
SM
19295 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19296 add sanity check.
19297
bed7f140
SM
19298 * obsolete/erc-hecomplete.el: Make obsolete.
19299 * obsolete/: Standardize obsolescence info in the header.
19300
f195c582
GM
193012011-04-20 Glenn Morris <rgm@gnu.org>
19302
19303 * calendar/solar.el (solar-horizontal-coordinates):
19304 Use the longitude argument rather than `calendar-longitude'.
19305 (solar-date-next-longitude): Remove unused locals.
19306
cb79b8c0
VJL
193072011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19308
19309 * whitespace.el: New version 13.2.1.
19310
193112011-04-20 felix <EmacsWiki> (tiny change)
19312
d8e4b68b 19313 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19314 switching between major modes on a file.
19315
602ea69d
SM
193162011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19317
19318 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19319 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19320 multi-line comments as well.
19321
06b60517
JB
193222011-04-19 Juanma Barranquero <lekktu@gmail.com>
19323
19324 Lexical-binding cleanup.
19325
19326 * arc-mode.el (archive-mode-revert):
19327 * cmuscheme.el (scheme-interactively-start-process):
19328 * custom.el (custom-initialize-delay):
19329 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19330 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19331 * emacs-lock.el (emacs-lock-clear-sentinel):
19332 * ezimage.el (defezimage):
19333 * follow.el (follow-avoid-tail-recenter):
19334 * fringe.el (set-fringe-mode-1):
19335 * generic-x.el (bat-generic-mode-compile):
19336 * help-mode.el (help-info-variable, help-do-xref)
19337 (help-mode-revert-buffer):
19338 * help.el (view-emacs-todo):
19339 * iswitchb.el (iswitchb-completion-help):
19340 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19341 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19342 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19343 * locate.el (locate-update):
19344 * longlines.el (longlines-encode-region)
19345 (longlines-after-change-function):
19346 * outline.el (outline-isearch-open-invisible):
19347 * ps-def.el (declare-function, charset-dimension, char-width)
19348 (encode-char):
19349 * ps-mule.el (ps-mule-plot-string):
19350 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19351 (recentf-edit-list-select, recentf-edit-list-validate)
19352 (recentf-open-files-action):
19353 * rect.el (delete-whitespace-rectangle-line)
19354 (rectangle-number-line-callback):
19355 * register.el (window-configuration-to-register)
19356 (frame-configuration-to-register):
19357 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19358 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19359 (xselect-convert-to-targets, xselect-convert-to-delete)
19360 (xselect-convert-to-filename, xselect-convert-to-charpos)
19361 (xselect-convert-to-lineno, xselect-convert-to-colno)
19362 (xselect-convert-to-os, xselect-convert-to-host)
19363 (xselect-convert-to-user, xselect-convert-to-class)
19364 (xselect-convert-to-name, xselect-convert-to-integer)
19365 (xselect-convert-to-atom, xselect-convert-to-identity):
19366 * subr.el (declare, ignore, process-kill-without-query)
19367 (text-clone-maintain):
19368 * terminal.el (te-get-char, te-tic-sentinel):
19369 * tool-bar.el (tool-bar-make-keymap):
19370 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19371 * type-break.el (type-break-mode, type-break-noninteractive-query):
19372 * view.el (View-back-to-mark):
19373 * wid-browse.el (widget-browse-action, widget-browse-widget)
19374 (widget-browse-widgets, widget-browse-sexp):
19375 * widget.el (define-widget-keywords):
19376 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19377 Mark unused parameters.
19378
19379 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19380 (align-areas): Remove unused variable `look'.
19381 (align-region): Remove unused variables `real-end' and `pos-list'.
19382
19383 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19384
19385 * bindings.el (mode-line-modified, mode-line-remote):
19386 Mark unused parameters.
19387 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19388
19389 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19390 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19391
19392 * comint.el (comint-history-isearch-pop-state)
19393 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19394 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19395 (comint-substitute-in-file-name): Doc fix.
19396
19397 * completion.el (cmpl-statistics-block): Mark unused parameter.
19398 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19399 (save-completions-to-file, load-completions-from-file):
19400 Remove unused local variable `e'.
19401
19402 * composite.el (compose-chars): Remove unused variable `len'.
19403 (lgstring-insert-glyph): Remove unused variable `g'.
19404 (compose-glyph-string): Remove unused variables `ascent',
19405 `descent', `lbearing' and `rbearing'.
19406 (compose-glyph-string-relative): Remove unused variables
19407 `lbearing', `rbearing' and `wadjust'.
19408 (compose-gstring-for-graphic): Remove unused variables `header',
19409 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19410 (compose-gstring-for-terminal): Remove unused variables `header'
19411 and `nchars'. Use `let', not `let*'.
19412
19413 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19414 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19415 (Custom-buffer-done, custom-buffer-create-internal)
19416 (custom-browse-visibility-action, custom-browse-group-tag-action)
19417 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19418 (widget-magic-mouse-down-action, custom-toggle-parent)
19419 (custom-add-parent-links, custom-toggle-hide-variable)
19420 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19421 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19422 (custom-face-menu-create, custom-variable-menu-create, get)
19423 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19424 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19425 (customize-apropos): Remove unused variable `tests'.
19426 (custom-group-value-create): Remove unused variable `hidden-p'.
19427 (sort-fold-case): Declare.
19428
19429 * cus-theme.el (custom-reset-standard-faces-list)
19430 (custom-reset-standard-variables-list): Declare.
19431 (customize-create-theme, custom-theme-revert, custom-theme-write)
19432 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19433 Mark unused parameters.
19434
19435 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19436
19437 * delim-col.el (delimit-columns-max): Move defvar before first use.
19438
19439 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19440 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19441
19442 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19443 (auto-insert): Declare.
19444 (desktop-restore-file-buffer): Rename desktop-* parameters;
19445 mark unused ones.
19446 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19447 (desktop-buffer): Rename desktop-* parameters.
19448
19449 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19450 (dframe-reposition-frame-xemacs, dframe-help-echo)
19451 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19452 Mark unused parameters.
19453
19454 * dired-aux.el (backup-extract-version-start, overwrite-query)
19455 (overwrite-backup-query, rename-regexp-query)
19456 (rename-non-directory-query): Declare.
19457 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19458 (dired-add-entry): Remove unused variable `orig-file-name'.
19459 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19460 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19461 `dired-copy-preserve-time' directly.
19462 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19463 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19464
19465 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19466 (dired-virtual-revert, dired-make-relative-symlink):
19467 Mark unused parameters.
19468 (manual-program): Declare.
19469 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19470 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19471 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19472
19473 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19474
19475 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19476
19477 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19478 Declare.
19479
19480 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19481
19482 * electric.el (Electric-command-loop): Rename parameter
19483 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19484
19485 * expand.el (expand-in-literal): Remove unused variable `here'.
19486
19487 * facemenu.el (facemenu-add-new-color):
19488 Remove unused variable `docstring'.
19489
19490 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19491 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19492 (face-attr-construct): Mark unused parameter. Doc fix.
19493 (read-color): Remove unused variable `hex-string'.
19494
19495 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19496 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19497 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19498 (display-buffer-other-frame): Remove unused variable `old-window'.
19499 (kill-buffer-hook): Declare.
19500 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19501 Mark unused parameters.
19502 (after-find-file): Pass 1 to `auto-save-mode', not t.
19503
19504 * files-x.el (auto-insert): Declare.
19505 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19506
19507 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19508 variable `buf'. Mark unused parameter.
06b60517
JB
19509 (find-lisp-insert-directory): Mark unused parameter.
19510
19511 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19512 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19513 (format-common-tail): Remove, unused.
19514 (format-deannotate-region): Remove unused variable `loc'.
19515 (format-annotate-region): Remove unused variable `p'.
19516 (format-annotate-single-property-change): Remove unused variables
19517 `default' and `tail'.
19518
19519 * forms.el (read-file-filter): Declare.
19520 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19521
19522 * frame.el (frame-creation-function-alist): Mark unused parameter.
19523 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19524
19525 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19526 Remove unused parameters.
19527 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19528 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19529
19530 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19531 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19532 (hfy-prepare-tag-map): Mark unused parameters.
19533 (htmlfontify-buffer): Use `called-interactively-p'.
19534
19535 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19536 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19537 (ibuffer-do-occur): Mark unused parameters.
19538 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19539 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19540
19541 * ibuffer.el: Don't quote `lambda'.
19542 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19543 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19544 Mark unused parameters.
19545
19546 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19547 (ido-completing-read): Mark unused parameters.
19548 (ido-copy-current-word): Mark unused parameters;
19549 remove unused variable `name'.
19550 (ido-sort-merged-list): Remove unused parameter `dirs'.
19551
19552 * ielm.el (ielm-input-sender): Mark unused parameter.
19553 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19554 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19555 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19556 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19557 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19558
19559 * image-dired.el (image-dired-display-thumbs): Remove unused
19560 variables `curr-file' and `count'.
19561 (image-dired-remove-tag): Remove unused variable `start'.
19562 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19563 variable `curr-file'
19564 (image-dired-rotate-original): Remove unused variable `temp-file'.
19565 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19566 Remove unused variable `file'.
19567 (image-dired-gallery-generate): Remove unused variable `curr'.
19568 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19569
19570 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19571
19572 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19573
19574 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19575
19576 * isearch.el (minibuffer-history-symbol): Declare.
19577 (isearch-edit-string): Remove unused variable `err'.
19578 (isearch-message-prefix, isearch-message-suffix):
19579 Mark unused parameters.
19580
19581 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19582
19583 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19584
19585 * makesum.el (double-column): Remove unused variable `cnt'.
19586
19587 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19588 (ido-ignore-item-temp-list): Declare.
19589
19590 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19591 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19592 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19593 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19594 `mouse-col-delta'.
19595
19596 * mouse-sel.el (mouse-extend-internal):
19597 Remove unused variable `orig-window-frame'.
19598
19599 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19600 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19601 Move declarations before first use.
19602 (pcomplete-opt): Mark unused parameters; doc fix.
19603
19604 * proced.el (proced-revert): Mark unused parameter.
19605 (proced-send-signal): Remove unused variable `err'.
19606
19607 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19608 Rename parameter PREFIX-ARG to ARG.
19609 (ps-basic-plot-string, ps-basic-plot-whitespace):
19610 Mark unused parameters.
19611
19612 * replace.el (replace-count): Define.
19613 (occur-revert-function): Mark unused parameters.
19614 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19615 (isearch-case-fold-search, isearch-string): Declare.
19616 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19617 bind `case-fold-search'. Remove unused variables `beg' and `end',
19618 and simplify.
19619 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19620 COUNT and bind `replace-count'.
19621 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19622 to COUNT.
19623
19624 * savehist.el (print-readably, print-string-length): Declare.
19625
19626 * shadowfile.el (shadow-expand-cluster-in-file-name):
19627 Remove unused variable `cluster'.
19628 (shadow-copy-file): Remove unused variable `i'.
19629 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19630 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19631 (shadow-define-literal-group, shadow-define-regexp-group)
19632 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19633
19634 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19635 (shell): Use `called-interactively-p'.
19636 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19637
19638 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19639 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19640 (delete-backward-char): Remove unused variable `ocol'.
19641 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19642 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19643 (event-apply-hyper-modifier, event-apply-shift-modifier)
19644 (event-apply-control-modifier, event-apply-meta-modifier):
19645 Mark unused parameters.
19646 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19647 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19648
19649 * speedbar.el (speedbar-ignored-directory-expressions)
19650 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19651 (speedbar-find-file, speedbar-dir-follow)
19652 (speedbar-directory-buttons-follow, speedbar-tag-find)
19653 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19654 (speedbar-buffers-line-directory, speedbar-buffer-click):
19655 Mark unused parameters.
19656 (speedbar-tag-file): Remove unused variable `mode'.
19657 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19658
19659 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19660
19661 * talk.el (talk): Remove unused variable `display'.
19662
19663 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19664 (tar-write-region-annotate): Mark unused parameter.
19665
19666 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19667 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19668 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19669 warning by another.
19670
19671 * time-stamp.el (time-stamp-string-preprocess):
19672 Remove unused variable `require-padding'.
19673
19674 * tree-widget.el (widget-glyph-enable): Declare.
19675 (tree-widget-action): Mark unused parameter.
19676
19677 * w32-fns.el (x-get-selection): Mark unused parameter.
19678 (autoload-make-program, generated-autoload-file): Declare.
19679
19680 * wdired.el (wdired-revert): Mark unused parameters.
19681 (wdired-xcase-word): Remove unused variable `err'.
19682
19683 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19684 (whitespace-help-scroll): Remove unused variable `data-help'.
19685
19686 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19687 (widget-image-insert, widget-after-change, default)
19688 (widget-default-format-handler, widget-default-notify)
19689 (widget-default-prompt-value, widget-info-link-action)
19690 (widget-url-link-action, widget-function-link-action)
19691 (widget-variable-link-action, widget-file-link-action)
19692 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19693 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19694 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19695 (widget-insert-button-action, widget-delete-button-action, visibility)
19696 (widget-documentation-link-action, widget-documentation-string-action)
19697 (widget-const-prompt-value, widget-regexp-match, symbol)
19698 (widget-coding-system-prompt-value)
19699 (widget-key-sequence-value-to-external, sexp)
19700 (widget-sexp-value-to-internal, character, vector, cons)
19701 (widget-choice-prompt-value, widget-boolean-prompt-value)
19702 (widget-color--choose-action): Mark unused parameters.
19703 (widget-item-match-inline, widget-choice-match-inline)
19704 (widget-checklist-match, widget-checklist-match-inline)
19705 (widget-group-match): Rename parameter VALUES to VALS.
19706 (widget-field-value-set): Remove unused variable `size'.
19707 (widget-color-action): Remove unused variables `value' and `start'.
19708
19709 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19710 variable `dir'. Doc fix.
06b60517
JB
19711 (windmove-find-other-window): Don't pass it.
19712
19713 * window.el (count-windows): Mark unused parameter.
19714 (bw-adjust-window): Remove unused variable `err'.
19715
19716 * woman.el (woman-file-name): Remove unused variable `default'.
19717 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19718 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19719 (global-font-lock-mode): Declare.
19720 (woman-decode-region): Mark unused parameter.
19721 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19722
19723 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19724 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19725 (x-dnd-handle-moz-url): Remove unused variable `title'.
19726 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19727
19728 * xml.el (xml-parse-tag, xml-parse-attlist):
19729 Remove unused variable `pos'.
19730
bc4f7f3d
GM
197312011-04-19 Glenn Morris <rgm@gnu.org>
19732
19733 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19734 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19735 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19736 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19737 * calendar/cal-html.el (cal-html-insert-minical):
19738 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19739 (calendar-mark-date-pattern):
19740 Prefix "unused" locals.
19741
19742 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19743 optional argument `style'.
19744
19745 * calendar/appt.el (appt-make-list):
19746 * calendar/cal-china.el (calendar-chinese-date-string):
19747 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19748 (diary-hebrew-yahrzeit):
19749 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19750 * calendar/calendar.el (calendar-generate-window):
19751 * calendar/time-date.el (time-to-days):
19752 Remove unused local variables.
19753
16a43933
CY
197542011-04-18 Chong Yidong <cyd@stupidchicken.com>
19755
19756 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19757 glyphless-char-display table.
19758 (tabulated-list-glyphless-char-display): New var.
19759
7eed1860
SS
197602011-04-18 Sam Steingold <sds@gnu.org>
19761
19762 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19763 to acknowledgments.
19764
4d2d1ccd
GM
197652011-04-17 Glenn Morris <rgm@gnu.org>
19766
19767 * calendar/diary-lib.el (diary-sexp-entry):
19768 * calendar/holidays.el (holiday-sexp):
19769 Set debug-on-error rather than the removed stack-trace-on-error.
19770
239da61d
GM
197712011-04-16 Glenn Morris <rgm@gnu.org>
19772
19773 * progmodes/f90.el: Use lexical-binding.
19774 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19775
8b05752a
SM
197762011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19777
daca8ba5
SM
19778 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19779 (mail-mode): Setup mailalias completion here instead.
19780 * mail/mailalias.el: Use lexical-binding.
19781 (pattern, mailalias-done): Declare dynamic.
19782 (mail-completion-at-point-function): New function, from mail-complete.
19783 (mail-complete): Use it.
19784 (mail-completion-expand): New function.
19785 (mail-get-names): Use it.
19786 (mail-directory, mail-directory-process, mail-directory-stream):
19787 Don't use `pattern' for lexically bound arg.
19788
6f542485
SM
19789 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19790
037e7c3f
SM
19791 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19792 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19793 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19794
8b05752a
SM
19795 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19796 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19797 (byte-interactive-p): Define them again, for use when inlining
19798 old code.
19799
49093f60
JB
198002011-04-15 Juanma Barranquero <lekktu@gmail.com>
19801
19802 * loadup.el: Use `string-to-number', not `string-to-int'.
19803
b5b8e7de
SM
198042011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19805
19806 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19807 gud-gdb-complete-command.
19808 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19809 (gud-gdb-completion-at-point): New function.
19810 (gud-gdb-completions): Remove.
19811
f42efeb5
MA
198122011-04-14 Michael Albinus <michael.albinus@gmx.de>
19813
49093f60
JB
19814 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19815 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19816 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19817 whether `executable-find' is bound.
f42efeb5
MA
19818
19819 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19820
e240cc21
SM
198212011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * minibuffer.el (completion-in-region-mode-predicate)
19824 (completion-in-region-mode--predicate): New vars.
19825 (completion-in-region, completion-in-region--postch)
19826 (completion-in-region-mode): Use them.
19827 (completion--capf-wrapper): Also return the hook function.
19828 (completion-at-point, completion-help-at-point):
19829 Adjust and provide a predicate.
c2bd2ab0
SM
19830
19831 Preserve arg names for advice of subr and lexical functions (bug#8457).
19832 * help-fns.el (help-function-arglist): Consolidate the subr and
19833 new-byte-code cases. Add argument `preserve-names' to extract names
19834 from the docstring when needed.
19835 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19836 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19837 (ad-arglist): Use help-function-arglist's new arg.
19838 (ad-definition-type): Use cond.
19839
c183f693
JB
198402011-04-13 Juanma Barranquero <lekktu@gmail.com>
19841
06641a47
JB
19842 * autorevert.el (auto-revert-handler):
19843 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19844 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19845 Don't quote lambda.
19846
c183f693
JB
19847 * image-mode.el (image-transform-set-scale):
19848 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19849
1e3b6001
G
198502011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19851
19852 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19853 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19854 Upgrades via gnutls-cli are too slow to be done opportunistically.
19855
2d6af8dd
JB
198562011-04-12 Juanma Barranquero <lekktu@gmail.com>
19857
19858 * dframe.el (dframe-current-frame): Remove spurious quote.
19859
c0749a51
GM
198602011-04-12 Glenn Morris <rgm@gnu.org>
19861
088d0d61
GM
19862 * calendar/cal-tex.el (cal-tex-end-document):
19863 Try to automatically use latin1 input if needed.
19864
c0749a51
GM
19865 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19866 Don't try to cons a mark onto an empty element.
19867
5c90fde0
LL
198682011-04-11 Leo Liu <sdl.web@gmail.com>
19869
19870 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19871 buffers.
19872 (ido-kill-buffer-at-head): Support killing virtual buffers.
19873
369e974d
CY
198742011-04-10 Chong Yidong <cyd@stupidchicken.com>
19875
19876 * minibuffer.el (completion-show-inline-help): New var.
19877 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19878 (minibuffer-force-complete, minibuffer-complete-word):
19879 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19880
19881 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19882 to avoid interference from inline help (Bug#5849).
19883
37f1c930
LL
198842011-04-10 Leo Liu <sdl.web@gmail.com>
19885
099c39a4
JB
19886 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19887 Fix typo.
37f1c930 19888
a32d4040
CY
198892011-04-09 Chong Yidong <cyd@stupidchicken.com>
19890
19891 * image-mode.el (image-toggle-display-image): Signal an error if
19892 not in Image mode.
19893 (image-transform-mode, image-transform-resize)
19894 (image-transform-set-rotation): Doc fix.
daca8ba5 19895 (image-transform-set-resize): Delete.
a32d4040
CY
19896 (image-transform-set-scale, image-transform-fit-to-height)
19897 (image-transform-fit-to-width): Handle image-toggle-display-image
19898 and image-transform-resize directly.
19899
099c39a4 199002011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19901
19902 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19903 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19904 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19905 (doc-view-mode-map): Add bindings for the new functions.
19906
099c39a4 199072011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19908
4d61f28d 19909 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19910 Fix typo in docstring.
19911
3726838a
EZ
199122011-04-08 Eli Zaretskii <eliz@gnu.org>
19913
04f33f1e
EZ
19914 * files.el (file-size-human-readable): Produce one digit after
19915 decimal, like "ls -lh" does.
19916
19917 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19918 the file size representation.
19919
3726838a
EZ
19920 * simple.el (list-processes): If async subprocesses are not
19921 available, error out with a clear error message.
19922
cbb59342
CY
199232011-04-08 Chong Yidong <cyd@stupidchicken.com>
19924
19925 * help.el (help-form-show): New function, to be called from C.
19926 Put help-form output in a buffer named differently than *Help*.
19927
e3971c44
EZ
199282011-04-08 Eli Zaretskii <eliz@gnu.org>
19929
19930 * files.el (file-size-human-readable): New function.
19931
19932 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19933 computing the representation inline. Don't require `cl'.
19934
12544bbe
GM
199352011-04-08 Glenn Morris <rgm@gnu.org>
19936
a1de6c6a
GM
19937 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19938
3c4671f4
GM
19939 * net/browse-url.el (browse-url-firefox):
19940 Test system-type, not system-configuration.
19941
b605679c
GM
19942 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19943 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19944 Use log-edit-empty-buffer-p. (Bug#7598)
19945
56442f0c
GM
19946 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19947 (rlogin-mode-map): Initialize in the defvar.
19948 (rlogin): Use ignore-errors.
19949
12544bbe
GM
19950 * replace.el (occur-mode-map): Some fixes for menu items.
19951
eb237b0f
AH
199522011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19953
19954 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19955
7d668f2c
CY
199562011-04-06 Chong Yidong <cyd@stupidchicken.com>
19957
e67a13ab
CY
19958 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19959 issuing unused warnings.
19960
19961 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19962 macro directly.
19963
7d668f2c
CY
19964 * simple.el: Lisp reimplement of list-processes. Based on an
19965 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19966 (process-menu-mode): New major mode.
19967 (list-processes--refresh, list-processes):
19968 (process-menu-visit-buffer): New functions.
19969
19970 * files.el (save-buffers-kill-emacs): Don't assume any return
19971 value of list-processes, which is undocumented anyway.
19972
a83ec3c9
CY
199732011-04-06 Chong Yidong <cyd@stupidchicken.com>
19974
19975 * emacs-lisp/tabulated-list.el: New file.
19976
e91a96fe
CY
19977 * emacs-lisp/package.el: Use Tabulated List mode.
19978 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19979 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19980 table format using Tabulated List mode variables.
19981 (package--push): New macro, replacing package-list-maybe-add.
19982 (package-menu--generate): Use package--push. Renamed from
19983 package--generate-package-list.
19984 (package-menu-refresh, list-packages): Use it.
daca8ba5 19985 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19986 Return insertion data instead of inserting it directly.
099c39a4
JB
19987 (package-menu-describe-package, package-menu-execute):
19988 Use tabulated-list-get-id.
e91a96fe
CY
19989 (package-menu-mark-delete, package-menu-mark-install)
19990 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19991 (package-menu-mark-obsolete-for-deletion):
19992 Use tabulated-list-put-tag.
e91a96fe
CY
19993 (package--list-packages, package-menu-revert)
19994 (package-menu-get-package, package-menu-get-version)
19995 (package-menu-sort-by-column): Functions deleted.
19996 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19997 (package-menu--status-predicate, package-menu--version-predicate)
19998 (package-menu--name-predicate)
19999 (package-menu--description-predicate): Handle arguments in the
20000 Tabulated List format.
20001 (package-list-packages-no-fetch): Call list-packages.
20002
3e214b50
JB
200032011-04-06 Juanma Barranquero <lekktu@gmail.com>
20004
20005 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20006 (after-find-file): Don't bind it.
3e214b50
JB
20007 (revert-buffer-in-progress-p): New variable.
20008 (revert-buffer): Bind it.
20009 Pass nil for `after-find-file-from-revert-buffer'.
20010
20011 * saveplace.el (save-place-find-file-hook): Use new variable
20012 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20013
3f0f1700
GM
200142011-04-06 Glenn Morris <rgm@gnu.org>
20015
c0274801
GM
20016 * Makefile.in (AUTOGEN_VCS): New variable.
20017 (autoloads): Use $AUTOGEN_VCS.
20018
3f0f1700
GM
20019 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20020 * calendar/calendar.el (calendar-mode-map):
20021 Check for toolkit scroll bars. (Bug#8305)
20022
41ea9e48
CY
200232011-04-05 Chong Yidong <cyd@stupidchicken.com>
20024
20025 * minibuffer.el (completion-in-region--postch)
20026 (completion-in-region-mode): Remove unnecessary messages.
20027
6194c800
JB
200282011-04-05 Juanma Barranquero <lekktu@gmail.com>
20029
33256f14
JB
20030 * font-lock.el (font-lock-refresh-defaults):
20031 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20032 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20033
6194c800
JB
20034 * info.el (Info-directory-list, Info-read-node-name-2)
20035 (Info-split-parameter-string): Doc fixes.
20036 (Info-virtual-nodes): Reflow docstring.
20037 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20038 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20039 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20040 Fix typos in docstrings.
20041 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20042 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20043 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20044 (Info-restore-desktop-buffer): Mark unused parameters.
20045 (Info-directory-find-file, Info-directory-find-node)
20046 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20047 (Info-virtual-index-find-node, Info-apropos-find-file)
20048 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20049 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20050 (Info-virtual-index): Remove unused local variable `nodename'.
20051
b87a8200 200522011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20053
b87a8200
DD
20054 * net/rcirc.el: Update my e-mail address.
20055 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20056
3b2ff876
CY
200572011-04-05 Chong Yidong <cyd@stupidchicken.com>
20058
20059 * startup.el (command-line): Save the cursor's theme-face
20060 directly, instead of using face-override-spec.
20061
20062 * custom.el (load-theme): Minor optimization in assigning faces.
20063
8d17e7ca
JB
200642011-04-04 Juanma Barranquero <lekktu@gmail.com>
20065
20066 * help-fns.el (describe-variable): Complete all variables having
20067 documentation, including keywords.
20068 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20069
2fbc1934
JB
200702011-04-04 Juanma Barranquero <lekktu@gmail.com>
20071
20072 Convert to lexical-binding.
20073
20074 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20075 (bs--get-marked-string, bs--get-modified-string)
20076 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20077 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20078 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20079
20080 * ehelp.el (electric-help-execute-extended)
20081 (electric-help-ctrl-x-prefix):
20082 * hexl.el (hexl-revert-buffer-function):
20083 * linum.el (linum-after-change, linum-after-scroll):
20084 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20085
20086 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20087
74f50695
DU
200882011-04-04 Daiki Ueno <ueno@unixuser.org>
20089
20090 * epa-dired.el:
20091 * epa-mail.el:
20092 * epa-hook.el:
20093 * epa-file.el:
20094 * epa.el:
20095 * epg.el: Use lexical binding.
20096
c11325f7
CY
200972011-04-03 Chong Yidong <cyd@stupidchicken.com>
20098
0d9e9a12
CY
20099 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20100
c11325f7 20101 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20102 dictionary case for flyspell-mark-duplications-exceptions.
20103 Use regexp matching for languages.
c11325f7
CY
20104 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20105 default dictionary (Bug#7926).
20106
da91b5f2
CY
201072011-04-02 Chong Yidong <cyd@stupidchicken.com>
20108
099c39a4
JB
20109 * emacs-lisp/package.el (package--with-work-buffer):
20110 Recognize https URLs.
da91b5f2 20111
099c39a4
JB
20112 * net/network-stream.el: Move from gnus/proto-stream.el.
20113 Change prefix to network-stream throughout.
da91b5f2
CY
20114 (open-protocol-stream): Merge into open-network-stream, leaving
20115 open-protocol-stream as an alias. Handle nil BUFFER args.
20116
20117 * subr.el (open-network-stream): Move to net/network-stream.el.
20118
afa8e9f6
GM
201192011-04-02 Glenn Morris <rgm@gnu.org>
20120
1d2e369d
GM
20121 * find-dired.el (find-exec-terminator): New option.
20122 (find-ls-option): Test for -ls support.
20123 (find-ls-subdir-switches): Test for -b in find-ls-option.
20124 (find-dired, find-grep-dired): Doc fixes.
20125 (find-dired): Use find-exec-terminator.
20126
8abb7da8 20127 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20128 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20129 (find-name-arg): Remove purecopy.
8abb7da8 20130
f3ca7378
GM
20131 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20132 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20133 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20134 accordingly. Don't add the null-device if not needed.
20135
afa8e9f6
GM
20136 * files.el (save-some-buffers): Doc fix.
20137
35eae264
EZ
201382011-04-02 Eli Zaretskii <eliz@gnu.org>
20139
20140 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20141
26b51db5
JB
201422011-04-01 Juanma Barranquero <lekktu@gmail.com>
20143
20144 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20145 Use `dolist' rather than `mapcar'.
20146
7200d79c
SM
201472011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20148
03408648 20149 Add lexical binding.
7200d79c 20150
03408648
SM
20151 * subr.el (apply-partially): Use new closures rather than CL.
20152 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20153 (dolist, dotimes): Use slightly different expansion for lexical code.
20154 (functionp): Move to C.
20155 (letrec): New macro.
20156 (with-wrapper-hook): Use it and apply-partially instead of CL.
20157 (eval-after-load): Preserve lexical-binding.
20158 (save-window-excursion, with-output-to-temp-buffer): Turn them
20159 into macros.
7200d79c 20160
03408648
SM
20161 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20162
20163 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20164 than the arglist.
20165 (help-add-fundoc-usage): Don't add `Not documented'.
20166 (help-function-arglist): Handle closures, subroutines, and new
20167 byte-code-functions.
20168 (help-make-usage): Remove leading underscores.
20169 (describe-function-1): Handle closures.
20170 (describe-variable): Use special-variable-p for completion.
20171
20172 * files.el (lexical-binding): Declare safe.
f488fb65 20173
03408648
SM
20174 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20175 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20176 (pcase): Add `let' pattern.
20177 Change memoization so it actually works.
20178 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20179 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20180 <let>: New case.
f488fb65 20181
03408648
SM
20182 * emacs-lisp/macroexp.el: Use lexical binding.
20183 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20184 Don't convert ' to #' without checking that it's indeed quoting
20185 a lambda.
20186
20187 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20188 Use eval-sexp-add-defvars.
03408648
SM
20189 (eval-sexp-add-defvars): New fun.
20190
20191 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20192
20193 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20194 Don't autoload.
20195 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20196 than the internal `byte-compile-lambda'.
20197 (defmethod): Don't hide code under quotes.
20198 (eieio-defmethod): New `code' argument.
20199
20200 * emacs-lisp/eieio-comp.el: Remove.
20201
20202 * emacs-lisp/edebug.el (edebug-eval-defun)
20203 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20204 (edebug-toggle): Avoid `eval'.
20205
20206 * emacs-lisp/disass.el (disassemble-internal): Handle new
20207 `closure' objects.
20208 (disassemble-1): Handle new byte codes.
20209
20210 * emacs-lisp/cl.el (pushnew): Silence warning.
20211
20212 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20213 (cl-byte-compile-throw): Remove.
20214 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20215
20216 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20217 closures.
20218
20219 * emacs-lisp/cconv.el: New file.
20220
20221 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20222 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20223 (byte-compile-initial-macro-environment):
20224 Handle declare-function here.
20225 (byte-compile--lexical-environment): New var.
20226 (byte-stack-ref, byte-stack-set, byte-discardN)
20227 (byte-discardN-preserve-tos): New lap codes.
20228 (byte-interactive-p): Don't use any more.
20229 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20230 New macros.
20231 (byte-compile-lapcode): Use them and handle new lap codes.
20232 (byte-compile-obsolete): Remove.
20233 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20234 (byte-compile-arglist-warn): Check late def of inlinable funs.
20235 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20236 since they should have been expanded by now.
20237 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20238 (byte-compile-from-buffer): Remove unused second arg.
20239 (byte-compile-preprocess): New function.
20240 (byte-compile-toplevel-file-form): New function to distinguish
20241 file-form calls from outside from file-form calls from hunk-handlers.
20242 (byte-compile-file-form): Simplify.
20243 (byte-compile-file-form-defsubst): Remove.
20244 (byte-compile-file-form-defmumble): Simplify now that
20245 byte-compile-lambda always returns a byte-code-function.
20246 (byte-compile): Preprocess.
20247 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20248 Remove, not used any more.
20249 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20250 (byte-compile-make-args-desc): New funs.
20251 (byte-compile-lambda): Handle lexical functions. Always return
20252 a byte-code-function.
20253 (byte-compile-reserved-constants): New var, to make up room for
20254 closed-over variables.
20255 (byte-compile-constants-vector): Obey it.
20256 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20257 (byte-compile-macroexpand-declare-function): New function.
20258 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20259 byte-code-functions.
20260 (byte-compile-form): Check obsolescence here.
20261 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20262 (byte-compile-variable-ref): Remove.
20263 (byte-compile-dynamic-variable-op): New fun.
20264 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20265 (byte-compile-variable-set): New funs.
20266 (byte-compile-discard): Add 2 args.
20267 (byte-compile-stack-ref, byte-compile-stack-set)
20268 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20269 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20270 macroexpand-all instead.
20271 (byte-compile-quote-form): Remove.
20272 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20273 (byte-compile-bind, byte-compile-unbind): New funs.
20274 (byte-compile-let): Handle let* and lexical binding.
20275 (byte-compile-let*): Remove.
20276 (byte-compile-catch, byte-compile-unwind-protect)
20277 (byte-compile-track-mouse, byte-compile-condition-case):
20278 Handle a new :fun-body form, used for lexical scoping.
20279 (byte-compile-save-window-excursion)
20280 (byte-compile-with-output-to-temp-buffer): Remove.
20281 (byte-compile-defun): Simplify.
20282 (byte-compile-stack-adjustment): New fun.
20283 (byte-compile-out): Use it.
20284 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20285
20286 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20287 handler any more.
20288
20289 * emacs-lisp/byte-opt.el: Use lexical binding.
20290 (byte-inline-lapcode): Remove (to bytecomp).
20291 (byte-compile-inline-expand): Pay attention to inlining to/from
20292 lexically bound code.
20293 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20294 any more.
20295 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20296 any more and don't call compiler-macros.
20297 (byte-compile-splice-in-already-compiled-code): Remove.
20298 (byte-code): Don't inline any more.
20299 (disassemble-offset): Receive `bytes' as argument rather than via
20300 dynamic scoping.
20301 (byte-compile-tag-number): Declare before first use.
20302 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20303 `return' even if make-spliceable.
20304 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20305 obsolete interactive-p.
20306 (byte-optimize-lapcode): Optimize new lap-codes.
20307 Don't trip up on new form of `byte-constant' lap code.
20308
20309 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20310
20311 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20312
20313 * custom.el (custom-initialize-default, custom-declare-variable):
20314 Use `defvar'.
20315
20316 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20317 New variables.
20318 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20319 (COMPILE_FIRST): Add macroexp and cconv.
20320 * makefile.w32-in: Mirror changes in Makefile.in.
20321
20322 * vc/cvs-status.el:
20323 * vc/diff-mode.el:
20324 * vc/log-edit.el:
20325 * vc/log-view.el:
20326 * vc/smerge-mode.el:
20327 * textmodes/bibtex-style.el:
090bd7cb 20328 * textmodes/css-mode.el:
03408648
SM
20329 * startup.el:
20330 * uniquify.el:
da91b5f2
CY
20331 * minibuffer.el:
20332 * newcomment.el:
20333 * reveal.el:
20334 * server.el:
20335 * mpc.el:
20336 * emacs-lisp/smie.el:
20337 * doc-view.el:
20338 * dired.el:
03408648
SM
20339 * abbrev.el: Use lexical binding.
20340
0f0c1f27
EZ
203412011-04-01 Eli Zaretskii <eliz@gnu.org>
20342
20343 * info.el (info-display-manual): New function.
20344
c82b2579
SM
203452011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20346
20347 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20348
221ddf68
TH
203492011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20350
20351 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20352 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20353
cba6e77e
GM
203542011-03-31 Glenn Morris <rgm@gnu.org>
20355
e040639f
GM
20356 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20357
cba6e77e
GM
20358 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20359
6d0f1c9e
CS
203602011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20361
20362 * progmodes/python.el (python-default-interpreter)
20363 (python-python-command-args, python-jython-command-args)
20364 (python-which-shell, python-which-args, python-which-bufname)
20365 (python-file-queue, python-comint-output-filter-function)
20366 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20367 variables and functions.
20368
3e2d70fd
SM
203692011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20370
20371 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20372 (completion-in-region-mode): New minor mode.
20373 (completion-in-region): Use it.
20374 (completion-in-region--data, completion-in-region-mode-map): New vars.
20375 (completion-in-region--postch): New function.
20376 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20377 New vars.
20378 (completion--capf-wrapper): New function.
20379 (completion-at-point): Use it to track well-behavedness of
20380 hook functions.
20381 (completion-help-at-point): New command.
20382
f3e4086c
JM
203832011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20384
20385 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20386 syntax class to search for whitespace on a single line
20387 (Message-ID: <4D938140.4030905@redhat.com>).
20388
eb7ffc14
LL
203892011-03-30 Leo Liu <sdl.web@gmail.com>
20390
20391 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20392 New commands.
20393 (edit-abbrevs-map): Bind them here.
20394 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20395
d806ab68
KM
203962011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20397
20398 * allout.el (allout-hide-by-annotation, allout-flag-region):
20399 Reduce possibility of overlay leakage by making them volatile.
20400
20401 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20402 hash is not shared between buffers. Mode initialization is
20403 responsible for giving it a useful starting value.
20404 (allout-item-span): Reduce possibility of overlay leakage by
20405 making them volatile.
20406 (allout-widgets-count-buttons-in-region): Add diagnostic function
20407 for tracking down button overlay leaks.
20408
ea622834
LL
204092011-03-29 Leo Liu <sdl.web@gmail.com>
20410
20411 * ido.el (ido-read-internal): Use the default history var
20412 minibuffer-history if no HISTORY is specified.
20413
b62f8267
G
204142011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20415
03408648
SM
20416 * net/imap.el (imap-shell-open, imap-process-connection-type):
20417 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20418 Kerberos, SSL, other subprocesses.
20419
947b6566
LL
204202011-03-28 Leo Liu <sdl.web@gmail.com>
20421
20422 * abbrev.el (abbrev-table-empty-p): New function.
20423 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20424 nonempty ones. (Bug#5937)
20425
5ffb62aa
JD
204262011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20427
20428 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20429
7a097943
LL
204302011-03-27 Leo Liu <sdl.web@gmail.com>
20431
20432 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20433 for foreground and background colors.
20434 (ansi-color-make-color-map): Adapt.
20435
c5b40130
LL
204362011-03-25 Leo Liu <sdl.web@gmail.com>
20437
1f48f7d2
LL
20438 * midnight.el (midnight-time-float): Remove. Note it calculates
20439 the microsecond component incorrectly and seconds-to-time does the
20440 same job.
625897ec 20441 Remove redundant (require 'timer).
1f48f7d2 20442
c5b40130
LL
20443 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20444 (ido-completions): Remove unused arguments. (Bug#8329)
20445
d86d2721
SM
204462011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20447
20448 * minibuffer.el (completion--flush-all-sorted-completions):
20449 Remove itself from hook.
20450 (completion-at-point): Let the functions perform the completion
20451 immediately and return nil or t.
20452 * comint.el (comint-dynamic-complete-functions): Now identical to
20453 completion-at-point-functions.
20454 (comint-dynamic-list-input-ring): Remove unused var `index'.
20455 (comint--match-partial-filename, comint--unquote&expand-filename):
20456 New funs, split from comint-match-partial-filename.
20457 (comint-dynamic-complete): Use completion-at-point.
20458 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20459
e8974c48
DA
204602011-03-24 Drew Adams <drew.adams@oracle.com>
20461
20462 * thingatpt.el: Support `defun'.
20463
def71b5e
LL
204642011-03-23 Leo Liu <sdl.web@gmail.com>
20465
cb5af48e
LL
20466 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20467
def71b5e
LL
20468 * help-mode.el (help-mode-finish): Tweak regexp.
20469
927c53e7
GM
204702011-03-23 Glenn Morris <rgm@gnu.org>
20471
18d05bed
GM
20472 * eshell/esh-opt.el (eshell-eval-using-options):
20473 Do not bind unused local variable `eshell-option-stub'.
20474
927c53e7
GM
20475 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20476
9d0da923
JB
204772011-03-22 Juanma Barranquero <lekktu@gmail.com>
20478
20479 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20480 keymap variable in `with-no-warnings' to avoid a warning when the
20481 keymap has been already `defconst'ed.
20482
4b978a67
LL
204832011-03-22 Leo Liu <sdl.web@gmail.com>
20484
20485 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20486 encode all chars in abbrevs; otherwise use emacs-mule or
20487 utf-8-emacs. (Bug#8308)
20488
5fd62452
JB
204892011-03-22 Juanma Barranquero <lekktu@gmail.com>
20490
0b1596c6
JB
20491 * simple.el (backward-delete-char-untabify):
20492 Avoid warning about using `delete-backward-char'.
20493
5fd62452
JB
20494 * image.el (image-type-file-name-regexps): Make it variable.
20495 `imagemagick-register-types' modifies it, and the user may want
20496 to add new extensions for known image types.
20497 (imagemagick-register-types): Throw error if not using ImageMagick.
20498
0b4e93f1
LL
204992011-03-22 Leo Liu <sdl.web@gmail.com>
20500
20501 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20502 located before rcirc-prompt-end-marker.
20503 (rcirc-complete): Error if point is not after rcirc prompt.
20504 Handle the case when table is nil.
9882e214 20505 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20506
fccee4ab
CY
205072011-03-22 Chong Yidong <cyd@stupidchicken.com>
20508
20509 * custom.el (custom--inhibit-theme-enable): Make it affect only
20510 custom-theme-set-variables and custom-theme-set-faces.
20511 (provide-theme): Ignore custom--inhibit-theme-enable.
20512 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20513 (custom-enabling-themes): Delete variable.
d86d2721
SM
20514 (enable-theme): Accept only loaded themes as arguments.
20515 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20516 (custom-enabled-themes): Forbid themes from setting this.
20517 Eliminate use of custom-enabling-themes.
20518 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20519
af896da6
LL
205202011-03-21 Leo Liu <sdl.web@gmail.com>
20521
20522 * ido.el (ido-read-internal): Add ido-selected to history instead
20523 of user input.
20524
78f64af0
SM
205252011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20526
20527 * subr.el (deferred-action-list, deferred-action-function):
20528 Mark obsolete.
20529
b16ac1ec
LL
205302011-03-21 Leo Liu <sdl.web@gmail.com>
20531
810f7698
LL
20532 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20533 change on 2011-02-13 (bug#8309).
20534
b16ac1ec
LL
20535 * minibuffer.el (read-file-name-function): Change default value.
20536 (read-file-name--defaults): Rename from read-file-name-defaults.
20537 (read-file-name-default): Rename from read-file-name.
20538 (read-file-name): Call read-file-name-function.
20539
4e05e67e
GM
205402011-03-21 Glenn Morris <rgm@gnu.org>
20541
20542 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20543 Doc fixes.
20544
4359915b
CY
205452011-03-21 Chong Yidong <cyd@stupidchicken.com>
20546
20547 * cus-theme.el: Add missing provide statement.
20548 (customize-create-theme): Extract theme value correctly.
20549 (custom-theme-visit-theme): Autoload.
20550 (customize-create-theme): Prompt before inserting default faces.
20551
1fe275ee
JB
205522011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20553
20554 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20555 units and musical notes.
20556
cd394be1 205572011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20558
20559 * ido.el (ido-read-internal): Use completing-read-default.
20560 (ido-completing-read): Fix compatibility with completing-read.
20561
7d476bde
CO
205622011-03-20 Christian Ohler <ohler@gnu.org>
20563
20564 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20565 (ert-delete-all-tests): Use `called-interactively-p' rather than
20566 `interactive-p'.
20567 (ert--make-xrefs-region): Respect END.
20568
fe0fb33e
CY
205692011-03-19 Chong Yidong <cyd@stupidchicken.com>
20570
ff854b0b
CY
20571 * dired-aux.el (dired-create-directory): Signal an error if the
20572 directory already exists (Bug#8246).
20573
fe0fb33e
CY
20574 * facemenu.el (list-colors-display): Call list-faces-display
20575 inside with-help-window.
20576 (list-colors-print): Use display property to align the final
20577 column, instead of checking window-width.
20578
576bce32
EZ
205792011-03-19 Eli Zaretskii <eliz@gnu.org>
20580
4d61f28d 20581 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20582 windows-nt systems.
20583 (emerge-protect-metachars): Quote correctly for ms-dos and
20584 windows-nt systems.
20585
89c41d68 205862011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20587
20588 * info.el (info-initialize): Replace all uses of `:' with
20589 path-separator for compatibility with non-Unix systems.
20590 Cache quoting of path-separator. (Bug#8258)
20591
b14e3e21 205922011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20593
20594 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20595 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20596 (mouse-avoidance-mode): Fix typos in docstrings.
20597
4525ce3e
CY
205982011-03-19 Chong Yidong <cyd@stupidchicken.com>
20599
20600 * startup.el (package-subdirectory-regexp): Move from package.el.
20601 Omit \\` and \\', and let callers add them.
20602
20603 * emacs-lisp/package.el (package-strip-version)
20604 (package-load-all-descriptors): Add \\` and \\' to
20605 package-subdirectory-regexp before using it.
20606 (package-untar-buffer): New arg DIR; ensure that file untars only
20607 into this expected directory. Remove superfluous delete-region.
20608 (package-unpack): Caller changed.
20609 (package-tar-file-info): Use package-subdirectory-regexp.
20610
a904a09a 206112011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20612
a904a09a
SM
20613 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20614 diff-mode-shared-map (bug#8284).
20615 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20616
206172011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20618
20619 * calendar/time-date.el (format-seconds): Use assoc instead of
20620 assoc-string, since assoc-string doesn't exist in XEmacs.
20621
171fc304
JB
206222011-03-17 Juanma Barranquero <lekktu@gmail.com>
20623
20624 * custom.el (custom-known-themes): Reflow docstring.
20625 (custom-theme-load-path): Fix typo in docstring.
20626 (load-theme): Fix typo in error message.
20627 (custom-available-themes, custom-variable-theme-value):
20628 Use `let', not `let*'.
20629
d71990a1
JB
206302011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20631
20632 * calc/README: Mention inclusion of musical notes.
20633
20634 * calc/calc-units.el (calc-lu-quant): Rename from
20635 `calc-logunits-quantity'.
20636 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20637 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20638 (calc-db): Rename from `calc-dblevel'.
20639 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20640 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20641 (calc-np): Rename from `calc-nplevel'.
20642 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20643 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20644 (calc-lu-plus): Rename from `calc-logunits-add'.
20645 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20646 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20647 (calc-lu-minus): Rename from `calc-logunits-sub'.
20648 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20649 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20650 (calc-lu-times): Rename from `calc-logunits-mul'.
20651 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20652 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20653 (calc-lu-divide): Rename from `calc-logunits-div'.
20654 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20655 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20656
20657 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20658 functions being autoloaded.
20659
20660 * calc/calc.el (calc-lu-power-reference): Rename from
20661 `calc-logunits-power-reference'.
20662 (calc-lu-field-reference): Rename from
20663 `calc-logunits-field-reference'.
20664
7a71b18d
GM
20665 * calc/calc-help.el (calc-l-prefix-help):
20666 Mention musical note functions.
d71990a1 20667
40c2934b
SM
206682011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20669
20670 * minibuffer.el (completion-all-sorted-completions):
20671 Use :completion-cycle-penalty text property if present.
20672
b0911414
KM
206732011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20674
20675 * allout.el (allout-yank-processing): Adjust for new rebulleting
20676 regime so bullet being yanked is used without prompting the user
20677 for a choice.
20678
8a05b668
JB
206792011-03-16 Juanma Barranquero <lekktu@gmail.com>
20680
20681 * startup.el (command-line): Warn the user that _emacs is deprecated.
20682
5ba5fb81
JB
206832011-03-16 Juanma Barranquero <lekktu@gmail.com>
20684
20685 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20686 (delphi-verbose, delphi-comment-face, delphi-string-face)
20687 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20688 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20689 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20690 (delphi-new-comment-line, delphi-font-lock-defaults)
20691 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20692 Fix typos in docstrings.
20693
2dab465b
KM
206942011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20695
5ba5fb81 20696 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20697 Invert the roles of character and string values for INSTEAD, so a
20698 string is used for the more common case of a defaulting prompt.
20699
0adf5618
SM
207002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20701
20702 * progmodes/ruby-mode.el (ruby-backward-sexp):
20703 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20704 * play/gamegrid.el (gamegrid-make-face):
20705 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20706 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20707 * notifications.el (notifications-notify):
20708 * net/xesam.el (xesam-search-engines):
20709 * net/quickurl.el (quickurl-list-insert):
20710 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20711
d72700e5
CY
207122011-03-15 Chong Yidong <cyd@stupidchicken.com>
20713
20714 * startup.el (command-line): Update package subdirectory regexp.
20715
49c5410a
SM
207162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20717
c6eee9aa
SM
20718 * allout.el (allout-abbreviate-flattened-numbering)
20719 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20720
49c5410a
SM
20721 * subr.el (read-char-choice): Only show the cursor after the prompt,
20722 not after the answer.
20723
047b2bb9
KR
207242011-03-15 Kevin Ryde <user42@zip.com.au>
20725
20726 * help-fns.el (variable-at-point): Skip leading quotes, if any
20727 (bug#8253).
20728
0a57d256
SM
207292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20730
20731 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20732 warning message.
20733
77c992bc
MA
207342011-03-14 Michael Albinus <michael.albinus@gmx.de>
20735
20736 * shell.el (shell): When called interactively, offer to change the
20737 shell file name on remote hosts.
20738
eebc475d
TZ
207392011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20740
20741 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20742 integration for LDAP parameters. The host, base, user or binddn,
20743 and secret tokens can be specified in a netrc file, for instance.
20744 This is optional because an `auth-source' parameter must be
20745 specified in the search attributes.
20746
9d05d1ba
JB
207472011-03-13 Juanma Barranquero <lekktu@gmail.com>
20748
20749 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20750
09d9db2c
GM
207512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20752
20753 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20754 into declaration. Remove redundant and harmful binding.
20755
207562011-03-12 Eli Zaretskii <eliz@gnu.org>
20757
20758 * files.el (file-ownership-preserved-p): Pass `integer' as an
20759 explicit 2nd argument to `file-attributes'. If the file's owner
20760 is the Administrators group on Windows, and the current user is
20761 Administrator, consider that a match.
20762
20763 * server.el (server-ensure-safe-dir): Consider server directory
20764 safe on MS-Windows if its owner is the Administrators group while
20765 the current Emacs user is Administrator. Use `=' to compare
20766 numerical UIDs, since they could be integers or floats.
20767
219bd536
JB
207682011-03-12 Juanma Barranquero <lekktu@gmail.com>
20769
20770 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20771
f3afd36b
MA
207722011-03-12 Michael Albinus <michael.albinus@gmx.de>
20773
20774 Sync with Tramp 2.2.1.
20775
20776 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20777
20778 * net/trampver.el: Update release number.
20779
3aaaa6f1
SM
207802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20781
94642599
SM
20782 * progmodes/compile.el (compilation--previous-directory): Fix up
20783 various nil/dead-marker mismatches (bug#8014).
20784 (compilation-directory-properties, compilation-error-properties):
20785 Don't call it at a position past the one we're about to change.
20786
3aaaa6f1
SM
20787 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20788 Disable obsolescence warnings in the file that declares it.
20789
14239447
KM
207902011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20791
099c39a4
JB
20792 * allout-widgets.el (allout-widgets-tally):
20793 Initialize allout-widgets-tally as a hash table rather than nil to
20794 prevent mode-line redisplay warnings. Also, clarify the module
20795 description and fix a comment typo.
14239447 20796
135e287c
JB
207972011-03-11 Juanma Barranquero <lekktu@gmail.com>
20798
20799 * help-fns.el (describe-variable): Don't complete keywords.
20800 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20801
ffbf300e
CY
208022011-03-10 Chong Yidong <cyd@stupidchicken.com>
20803
ba08b241
CY
20804 * emacs-lisp/package.el (package-version-join): Impose a standard
20805 string representation for pre/alpha/beta version lists.
20806 (package-unpack-single): Standardize the directory name by passing
20807 it through package-version-join.
20808 (package-strip-rcs-id): Accept any version string that does not
20809 signal an error in version-to-list.
ffbf300e 20810
f346fd6b
MA
208112011-03-10 Michael Albinus <michael.albinus@gmx.de>
20812
20813 * simple.el (delete-trailing-whitespace): Return nil for the
20814 benefit of `write-file-functions'.
20815
ccb55d27
GM
208162011-03-10 Glenn Morris <rgm@gnu.org>
20817
5ceaac0c
GM
20818 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20819
02da65ff
GM
20820 * vc/vc-git.el (vc-git-program): New option.
20821 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20822 (vc-git--call): Use it.
20823
b2f603cc
GM
20824 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20825
5772caab
GM
20826 * cus-edit.el (Custom-newline): If no button at point, look
20827 for a subgroup button at start-of-line. (Bug#2298)
20828
ccb55d27
GM
20829 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20830
ec6ecaed
JD
208312011-03-10 Julien Danjou <julien@danjou.info>
20832
20833 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20834 `cursor-type' is nil.
20835
9d5aa01d
JB
208362011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20837
20838 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20839
b6a5875b
KM
208402011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20841
7a71b18d 20842 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20843 preserves the existing header prefix, rebulleting it if necessary,
20844 rather than replacing it. This is necessary for proper operation
20845 of cooperative addons like allout-widgets.
1154d12e
JB
20846 (allout-make-topic-prefix, allout-rebullet-heading):
20847 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20848 value as alternate bullet to be used, instead of prompting the user
20849 for a bullet character.
b6a5875b 20850
ee545c35
MA
208512011-03-09 Michael Albinus <michael.albinus@gmx.de>
20852
d86d2721
SM
20853 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20854 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20855 `tramp-default-port'.
20856
c47971d7
DD
208572011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20858
20859 * net/rcirc.el (rcirc-handler-001): Remove useless
20860 with-rcirc-process-buffer.
20861 (rcirc-check-auth-status): Swap arguments to string-match.
20862
13522cb4
GM
208632011-03-09 Glenn Morris <rgm@gnu.org>
20864
0be6f4f1
GM
20865 * shell.el (shell-mode):
20866 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20867
13522cb4
GM
20868 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20869 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20870
515de2e3
CY
208712011-03-08 Chong Yidong <cyd@stupidchicken.com>
20872
20873 * emacs-lisp/package.el (package-refresh-contents)
20874 (package-menu-execute): Use condition-case-no-debug.
20875
b511b994
MA
208762011-03-08 Michael Albinus <michael.albinus@gmx.de>
20877
20878 * simple.el (shell-command-to-string): Use `process-file'.
20879
20880 * emacs-lisp/package.el (package-tar-file-info): Handle also
20881 remote files.
20882
d86d2721
SM
20883 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20884 Use `equal' for upload base check.
b511b994 20885
25bbfb31
AM
208862011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20887
20888 * textmodes/texinfo.el (texinfo-environments):
20889 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20890
be996521
GM
208912011-03-08 Glenn Morris <rgm@gnu.org>
20892
e9c8529f
GM
20893 * cus-start.el (cursor-in-non-selected-windows):
20894 Fix :set quoting oddness. (Bug#8192)
20895
be996521
GM
20896 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20897 in some setf expressions. (Bug#2159)
20898
2bb5649e
CY
208992011-03-08 Chong Yidong <cyd@stupidchicken.com>
20900
20901 * custom.el (custom-available-themes): Return themes in
20902 alphabetical order.
20903
33383987 20904See ChangeLog.15 for earlier changes.
e3d51b27
MR
20905
20906;; Local Variables:
20907;; coding: utf-8
e3d51b27
MR
20908;; End:
20909
acaf905b 20910 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20911
20912 This file is part of GNU Emacs.
20913
20914 GNU Emacs is free software: you can redistribute it and/or modify
20915 it under the terms of the GNU General Public License as published by
20916 the Free Software Foundation, either version 3 of the License, or
20917 (at your option) any later version.
20918
20919 GNU Emacs is distributed in the hope that it will be useful,
20920 but WITHOUT ANY WARRANTY; without even the implied warranty of
20921 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20922 GNU General Public License for more details.
20923
20924 You should have received a copy of the GNU General Public License
20925 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.