Use ad-hoc comparison function for the profiler's hash-tables.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
cabc040a
JD
12012-11-08 Julien Danjou <julien@danjou.info>
2
3 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4 `auto-mode-alist' (Bug#12835).
5
d14bb752
SM
62012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7
79b3e376
SM
8 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
9 (perl--prettify-symbols-alist): New const.
10 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
11 New functions.
12 (perl-font-lock-keywords-2): Use them.
13 (perl-electric-noindent-p): New function.
14 (perl-mode): Use it to set up electric-indent-mode.
15 (perl-electric-terminator, perl-indent-command): Mark obsolete.
16 (perl-mode-map): Remove bindings for them.
17 (perl-imenu-generic-expression, perl-outline-level):
18 Match functions&packages in column>0.
19
3b11e6ac
SM
20 * env.el (env--substitute-vars-regexp): New const.
21 (substitute-env-vars): Use it. Add `only-defined' arg.
22 * net/tramp.el (tramp-replace-environment-variables): Use it.
23
784c1a7b
SM
24 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
25 Byte-compile *before* eval in eval-and-compile.
26 (byte-compile-log-warning): Remove redundant inhibit-read-only.
27 (byte-compile-file-form-autoload): Don't hide actual definition.
28 (byte-compile-maybe-guarded): Accept `functionp' as well.
29
d14bb752
SM
30 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
31
499a0f7a
MA
322012-11-07 Michael Albinus <michael.albinus@gmx.de>
33
34 * notifications.el (notifications-get-server-information-method):
35 New defconst.
36 (notifications-get-capabilities): Fix docstring.
37 (notifications-get-server-information): New defun.
38
f0704a9a
AM
392012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
40
41 * textmodes/ispell.el (ispell-region): Standard re-indent for better
42 readability.
43
b159a1fd
AM
44 * textmodes/ispell.el: Experimental support for support debugging.
45 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
46 buffer for ispell.
47 (ispell-print-if-debug): New function to print stuff to
48 `ispell-debug-buffer' if debugging is enabled.
49 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
50 show some debugging info.
51 (ispell-buffer-with-debug): New function that creates a debugging
52 buffer and calls `ispell-buffer' with debugging enabled.
53
056cb3a1
AM
54 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
55 comment in autoconf mode. (Bug#12768)
56
8e6a67b7
DA
572012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
58
59 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
60 frame-first-window, frame-root-window, frame-selected-window,
61 minibuffer-selected-window, minibuffer-window,
62 window-absolute-pixel-edges, window-at, window-body-height,
63 window-body-width, window-display-table, window-combination-limit,
64 window-frame, window-fringes, window-inside-absolute-pixel-edges,
65 window-inside-edges, window-inside-pixel-edges, window-left-child,
66 window-left-column, window-margins, window-next-buffers,
67 window-next-sibling, window-new-normal, window-new-total,
68 window-normal-size, window-parameter, window-parameters, window-parent,
69 window-pixel-edges, window-point, window-prev-buffers,
70 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
71 window-start, window-text-height, window-top-child, window-top-line,
72 window-total-height, window-total-width and window-use-time to the list
73 of functions without side-effects.
74 (toplevel): Add window-valid-p to the list of error-free functions
75 without side-effects.
76
53fc914f
AM
772012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
78
79 * textmodes/ispell.el (ispell-program-name): Update
80 spellchecker parameters when customized.
81
9749e2b0
GM
822012-11-04 Glenn Morris <rgm@gnu.org>
83
84 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
85
2cbafa56
CY
862012-11-04 Chong Yidong <cyd@gnu.org>
87
88 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
89 same-window-* variables.
90
85178ca1
JL
912012-11-04 Juri Linkov <juri@jurta.org>
92
93 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
94 (isearch-describe-key, isearch-describe-mode): Use a display
95 action instead of binding same-window-* variables (Bug#10040).
96
5c677d44
GM
972012-11-03 Glenn Morris <rgm@gnu.org>
98
49138400
GM
99 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
100 Rename handler properties back from cl-- to cl-. (Bug#12788)
101
5c677d44
GM
102 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
103
1d4341f9
EZ
1042012-11-03 Eli Zaretskii <eliz@gnu.org>
105
106 * term/pc-win.el: Don't load term/internal from here.
107
108 * loadup.el: Load term/internal from here.
109
12fd5ee1
FEG
1102012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
111
112 * progmodes/python.el (inferior-python-mode): Fix hang in
113 jit-lock (Bug#12645).
114
43bcfda6
MR
1152012-11-03 Martin Rudalics <rudalics@gmx.at>
116
117 * window.el (switch-to-visible-buffer)
118 (switch-to-buffer-preserve-window-point): Fix doc-strings.
119
376a8e83
GM
1202012-11-03 Glenn Morris <rgm@gnu.org>
121
122 * emacs-lisp/cl-lib.el (cl--random-time):
123 Rename from cl-random-time. (Bug#12773)
124 (cl--gensym-counter, cl--random-state): Update callers.
125 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
126
0f7b074f
CY
1272012-11-03 Chong Yidong <cyd@gnu.org>
128
129 * cus-start.el: Make cursor-type customizable (Bug#11633).
130
3a6851d9
GM
1312012-11-02 Glenn Morris <rgm@gnu.org>
132
00a3b041
GM
133 * filecache.el: No need to load find-lisp when compiling.
134 (find-lisp-find-files): Autoload it.
135 (file-cache-add-directory-recursively): Don't require find-lisp.
136
11fef14a
GM
137 * image.el (image-type-from-file-name): Trivial simplification.
138
3a6851d9
GM
139 * emacs-lisp/bytecomp.el (byte-compile-eval):
140 Decouple "noruntime" and "cl-functions" warnings.
141
b4b096e4
SB
1422012-11-01 Stephen Berman <stephen.berman@gmx.net>
143
144 * play/gomoku.el (gomoku-display-statistics): Update mode line
145 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
146
218e997a
MR
1472012-10-31 Martin Rudalics <rudalics@gmx.at>
148
149 * window.el (quit-restore-window): If the window has been
150 created on an existing frame and ended up as the sole window on
151 that frame, do not delete it (Bug#12764).
152
b08b6da7
SM
1532012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
154
3618df45
SM
155 * progmodes/sh-script.el (sh--inside-noncommand-expression):
156 Rename from sh--inside-arithmetic-expression, handle more cases
157 (bug#11263).
158
b08b6da7
SM
159 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
160 (sh-font-lock-open-heredoc): Use it (bug#12770).
161
4ddedf94
GM
1622012-10-30 Glenn Morris <rgm@gnu.org>
163
f43a5263
GM
164 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
165
4ddedf94
GM
166 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
167
748b0d84
CY
1682012-10-29 Chong Yidong <cyd@gnu.org>
169
b5dd9a77
CY
170 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
171 function key is stored in a keyboard macro (Bug#4894).
172
748b0d84
CY
173 * thingatpt.el (number-at-point): Apply a thing-at-point property.
174
e07fcbdc
SM
1752012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
176
d7f9cc85
SM
177 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
178 header comments".
179 (diff-unified->context, diff-context->unified)
180 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
181
c606253c
SM
182 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
183
e07fcbdc
SM
184 * files.el (find-alternate-file): Only ask one question (bug#12487).
185
894b9dd9
CY
1862012-10-29 Chong Yidong <cyd@gnu.org>
187
1dc2755a
CY
188 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
189 Suggested by Dan Nicolaescu (Bug#6326).
190
329c48d8
CY
191 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
192
2230fa5b 193 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 194
e84cad57
CY
195 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
196
1913c5f5
CY
197 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
198
894b9dd9
CY
199 * face-remap.el (face-remap-add-relative): Handle the case where a
200 face-remapping-alist entry is a cons cell (Bug#12762).
201
329c48d8
CY
2022012-10-29 Kevin Ryde <user42@zip.com.au>
203
204 * woman.el (woman-parse-numeric-value): Handle picas correctly
205 (Bug#12639).
206
a0ccbcbd
GM
2072012-10-29 Glenn Morris <rgm@gnu.org>
208
209 * emacs-lisp/cl.el (defsetf): Doc fix.
210
b3871e59
SM
2112012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
214 syntax to the matching opener, if any (bug#12547).
215 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
216 matching open as a "case-(".
217 (sh-smie-rc-grammar): Add a corresponding rule for it.
218
cd44022c
DH
2192012-10-28 Daniel Hackney <dan@haxney.org>
220
221 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
222 "PKGNAME-autoloads.el" in case we created it.
223
70edffb1
SM
2242012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
225
86957a0c
SM
226 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
227 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 228 (completion--twq-all): Disable too-strict assertions.
86957a0c 229
70edffb1
SM
230 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
231
d069271c
EZ
2322012-10-27 Eli Zaretskii <eliz@gnu.org>
233
234 * profiler.el (profiler-report-make-entry-part): Fix help-echo
235 text to match the real keybindings.
236
e2f022a3
JL
2372012-10-27 Juri Linkov <juri@jurta.org>
238
239 * wdired.el (wdired-keep-marker-rename): New defcustom.
240 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
241 (Bug#11795)
242
243 * dired.el (dired-keep-marker-rename): Add reference to
244 `wdired-keep-marker-rename' in the docstring.
245 Add default character value ?R to display initially in
246 Customization UI instead of ?@.
247
df171c23
MR
2482012-10-27 Martin Rudalics <rudalics@gmx.at>
249
250 * window.el (display-buffer): In doc-string describe
251 window-height and window-width alist entries.
252
253 * time.el (display-time-world): Restore fit-window-to-buffer
254 behavior.
255
05b621a6
CY
2562012-10-27 Chong Yidong <cyd@gnu.org>
257
258 * subr.el (insert-buffer-substring-as-yank): Doc fix.
259
55f197b2
J
2602012-10-26 Jambunathan K <kjambunathan@gmail.com>
261
262 * minibuffer.el (completion-category-overrides): New completion
263 category `bookmark' (bug#11131).
264
372212df
SM
2652012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
266
150f809c
SM
267 * emacs-lisp/advice.el (ad-assemble-advised-definition):
268 Silence bogus compiler warnings for ad-do-it.
269
372212df
SM
270 * bookmark.el (bookmark-completing-read): Set the completion category
271 to `bookmark' (bug#11131).
272
c5772569
B
2732012-10-26 Bastien <bzg@altern.org>
274 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * face-remap.el: Use lexical-binding.
277 (text-scale-adjust): Improve docstring. Use itself for the temporary
278 overlay-map bindings, so as to repeat the "Use..." message each time.
279
a2be0357
SM
2802012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
281
63314e57
SM
282 * emacs-lisp/macroexp.el (macroexp--expand-all):
283 Obey byte-compile-warning-enabled-p (bug#12486).
284
a2be0357
SM
285 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
286 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
287
8c7727c3
MR
2882012-10-26 Martin Rudalics <rudalics@gmx.at>
289
290 * mouse.el (mouse-drag-line): Move last form into preceding when
291 clause (Bug#12731).
292
293 * help.el (resize-temp-buffer-window): Fix doc-string.
294
3f2a848d
DE
2952012-10-25 David Engster <deng@randomsample.de>
296
297 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 298 Remove. This feature is already integrated in imenu.
3f2a848d
DE
299
300 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
301 always loaded. Require `speedbar' unconditionally.
302
a7723be6
SM
3032012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
304
aaabfc8b
SM
305 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
306
414a8595
SM
307 * minibuffer.el (minibuffer-force-complete): Fix thinko.
308
fb5b9475
SM
309 * net/ldap.el (ldap-search-internal): The official ldif format starts
310 with a "version: 1" header (bug#12724).
311
a7723be6
SM
312 * emacs-lisp/package.el (package-installed-p): Warn if not ready
313 (bug#12721).
314
a05cb6e3
GM
3152012-10-25 Glenn Morris <rgm@gnu.org>
316
317 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
318
3c92de70
SM
3192012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * minibuffer.el (minibuffer-force-complete): Use one more marker
322 for the temporary-overlay-map command (bug#12619).
323
a4b6d7c6
CY
3242012-10-24 Chong Yidong <cyd@gnu.org>
325
326 * time.el (display-time-world-mode): Derive from special-mode.
327 (display-time-world): Use display-buffer (Bug#12708).
328 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
329 (display-time-world-display): Wrap the final delete-char inside
330 inhibit-read-only.
a4b6d7c6 331
75e8f9d2
CY
3322012-10-24 Chong Yidong <cyd@gnu.org>
333
cd996018
CY
334 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
335 Doc fix.
336
75e8f9d2
CY
337 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
338
d92df117
SM
3392012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * minibuffer.el (completion--all-sorted-completions-location): New var.
342 (completion--cache-all-sorted-completions)
343 (completion--flush-all-sorted-completions): Use it.
344 (completion-in-region, completion-in-region--postch)
345 (completion-at-point, completion-help-at-point): Use markers in
346 completion-in-region--data (bug#12619).
347
9c3e39f3
SM
3482012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
349
c79825bd
SM
350 * progmodes/compile.el (compilation-start): Try to handle common
351 quoting of `cd' argument (bug#12640).
352
9c3e39f3
SM
353 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
354 (bug#12671).
355
a6709bc7
GM
3562012-10-23 Glenn Morris <rgm@gnu.org>
357
358 * progmodes/gud.el (gud-menu-map):
359 Check gdb-active-process is bound. (Bug#12358)
360
d1069532
SM
3612012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
362
d20d69c0
SM
363 * repeat.el (repeat): Set real-this-command (bug#12232).
364
d1069532
SM
365 * htmlfontify.el (hfy-post-html-hook):
366 * filesets.el (filesets-cache-fill-content-hook):
367 * arc-mode.el (archive-extract-hook):
368 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
369 * net/rcirc.el (rcirc-sentinel-functions)
370 (rcirc-receive-message-functions, rcirc-activity-functions)
371 (rcirc-print-functions):
372 * net/dbus.el (dbus-event-error-functions):
373 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
374 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
375 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
376 * term/sun.el (sun-raw-prefix-hooks):
377 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
378
f7eac6d8
MA
3792012-10-23 Michael Albinus <michael.albinus@gmx.de>
380
d1069532
SM
381 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
382 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
383 (tramp-smb-wait-for-output): Add timeout to
384 `tramp-accept-process-output' calls.
385
608d9d7c
CY
3862012-10-23 Chong Yidong <cyd@gnu.org>
387
49238e7f
CY
388 * faces.el (font-list-limit): Define as an obsolete variable.
389
390 * startup.el (command-line):
391 * cus-start.el: Don't refer to font-list-limit.
392
608d9d7c
CY
393 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
394
4ff5b1b2
SM
3952012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * subr.el (internal-temp-output-buffer-show): Rename from
398 temp-output-buffer-show, since previously compiled files expect this name.
399
ea1d4aac
GM
4002012-10-23 Glenn Morris <rgm@gnu.org>
401
402 * image.el (image-type-from-file-name): If multiple types match,
403 return the first one that is supported. (Bug#9045)
404
eda82a31
GM
4052012-10-22 Glenn Morris <rgm@gnu.org>
406
407 * image.el (imagemagick-enabled-types): Doc fix.
408
4f020bec
TA
4092012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
410
411 * progmodes/which-func.el (which-func-current): The hash-table may have
412 an explicit nil (bug#12338).
413
c77d37e2
SM
4142012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 * electric.el (electric-pair-delete-selection-self-insert-function):
417 Rename to electric-pair-will-use-region, return a boolean.
418 (electric-pair-mode): Adjust accordingly. Don't require delsel.
419
420 * delsel.el (delete-selection-helper): Use a function instead of a hook.
421 (delete-selection-pre-hook): Use use-region-p.
422 (delete-selection-self-insert-function): Remove.
423 (self-insert-command): Obey self-insert-uses-region-functions.
424 (self-insert-iso): Revert to previous setting, since we don't actually
425 know what that command does.
426 (delete-selection-self-insert-hooks): Remove.
427
b1d39ccc
SL
4282012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
429
430 * delsel.el (delete-selection-helper): New function, extracted from
431 delete-selection-pre-hook.
432 (delete-selection-pre-hook): Use it.
433 (delete-selection-self-insert-function): New function.
434 (delete-selection-self-insert-hooks): New hook.
435 (self-insert-command, self-insert-iso): Use it.
436 * electric.el (electric-pair-syntax): New function, extracted from
437 electric-pair-post-self-insert-function.
438 (electric-pair-post-self-insert-function): Use it.
439 (electric-pair-delete-selection-self-insert-function): New function.
440 (electric-pair-mode): Require delsel and setup
441 delete-selection-self-insert-hooks (bug#11520).
442
045ef729
CY
4432012-10-20 Chong Yidong <cyd@gnu.org>
444
4c5d08a8
CY
445 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
446 no changes to show (Bug#12586).
447
045ef729
CY
448 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
449 list explicitly (Bug#12571).
450
3503c798 4512012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 452
b1d39ccc
SL
453 * progmodes/flymake.el (flymake-create-temp-inplace):
454 Use file-truename.
79e1997a 455
2068905b
EZ
4562012-10-20 Eli Zaretskii <eliz@gnu.org>
457
458 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
459
4c9e9550
JB
4602012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
461
462 * calc/calc-units.el (math-extract-units): Properly extract powers
463 of units.
464
1a6e7e38
DC
4652012-10-20 Daniel Colascione <dancol@dancol.org>
466
467 * frame.el (make-frame): Set x-display-name as we used to in order
468 to unbreak creating an X11 frame from an Emacs daemon started
469 without a display.
470
8e808318
SM
4712012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * minibuffer.el (minibuffer-force-complete): Make the next completion use
474 the same completion-field (bug@12221).
475
fb0104da
MR
4762012-10-19 Martin Rudalics <rudalics@gmx.at>
477
478 * emacs-lisp/debug.el (debug): Record height of debugger window
479 also when debugger will be back (Bug#8789).
480
8c27235e
CY
4812012-10-18 Chong Yidong <cyd@gnu.org>
482
483 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
484 Convert to defcustom.
485 (gdb-get-source-file): Don't bind pop-up-windows.
486
487 * progmodes/gud.el (gud-display-line): Don't specially re-use
488 other frames for the gdb-mi case (Bug#12648).
489
90eacf99
SM
4902012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
491
aaf0c300
SM
492 * emacs-lisp/advice.el: Clean up commentary a bit.
493 (ad-do-advised-functions, ad-with-originals): Use `declare'.
494 (byte-code-function-p): Never redefine.
495
90eacf99
SM
496 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
497
281c9d2b
GM
4982012-10-18 Glenn Morris <rgm@gnu.org>
499
40714e3d
GM
500 * dired.el (dired-sort-toggle): Some ls implementations only allow
501 a single option string. (Bug#12666)
502
281c9d2b
GM
503 * minibuffer.el (completion-cycle-threshold): Doc fix.
504
b278604e
KH
5052012-10-17 Kenichi Handa <handa@gnu.org>
506
90eacf99
SM
507 * international/mule.el (set-keyboard-coding-system):
508 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
509 Supply TERMINAL arg to set-input-meta-mode.
510
df171c23 5112012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
512
513 * wdired.el (wdired-old-marks): New variable.
514 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
515 (wdired-do-renames): Move point with renamed file and don't lose
516 mark status (Bug#11795).
517
e5a94ec4
JL
5182012-10-16 Juri Linkov <juri@jurta.org>
519
520 * replace.el (query-replace-help): Mention multi-buffer replacement
521 keys in the Help message. (Bug#12655)
522
d18a0d24
CY
5232012-10-15 Chong Yidong <cyd@gnu.org>
524
525 * emacs-lisp/byte-run.el (defsubst): Doc fix.
526
8111f5e6
EZ
5272012-10-14 Eli Zaretskii <eliz@gnu.org>
528
7b9abf24
EZ
529 * window.el (display-buffer): Doc fix.
530
8111f5e6
EZ
531 * progmodes/compile.el (compilation-error-regexp-alist-alist):
532 Adjust the msft regexp to the output of Studio 2010, and move msft
533 before edg-1. See the discussion on emacs-devel,
534 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
535 for the details.
536
5046ef67
SM
5372012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
538
9760c73c
SM
539 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
540 (oset): Move uses of object-class-fast macro after its definition.
541
5046ef67
SM
542 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
543
0d11ff1c
CY
5442012-10-13 Chong Yidong <cyd@gnu.org>
545
546 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
547 enabled, re-enable it (Bug#11963).
548
88ded8ac
MR
5492012-10-13 Martin Rudalics <rudalics@gmx.at>
550
551 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
552 non-nil, restore window configuration (Bug#12623).
553
bd0ffffd
SM
5542012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
555
06485aa8
SM
556 * help-fns.el (describe-variable, describe-function-1):
557 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
558
bd0ffffd
SM
559 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
560
3a989246
GM
5612012-10-12 Glenn Morris <rgm@gnu.org>
562
563 * mail/rmailsum.el (rmail-header-summary):
564 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
565
55cd00c8
FEG
5662012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
567
bd0ffffd
SM
568 * progmodes/python.el (python-mode-map):
569 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
570 (python-nav--up-list): Fix behavior for blocks on the same level.
571
ac9fc2c7
SM
5722012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
573
d8cc4c00 574 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 575
5253a5fd
SM
576 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
577 changes to the format of load-history.
578
ac9fc2c7
SM
579 * international/mule-cmds.el (read-char-by-name): Move let-binding of
580 completion-ignore-case in case that var is buffer-local (bug#12615).
581
cde44a77
KH
5822012-10-11 Kenichi Handa <handa@gnu.org>
583
584 * international/eucjp-ms.el: Re-generated.
585
4ef4a10d
KH
5862012-10-10 Kenichi Handa <handa@gnu.org>
587
588 * select.el (xselect--encode-string): If a coding is specified for
589 selection, and that is compatible with COMPOUND_TEXT, use it.
590
9d7f027b
MR
5912012-10-10 Martin Rudalics <rudalics@gmx.at>
592
593 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
594 (switch-to-buffer):
595 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 596
238f3a58
SM
5972012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
600 Don't document nil as a useful value (bug#12583).
601
1d51f99c
MA
6022012-10-09 Michael Albinus <michael.albinus@gmx.de>
603
238f3a58
SM
604 * net/tramp.el (tramp-debug-message):
605 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
606 (with-tramp-progress-reporter): Rename from
607 `tramp-with-progress-reporter'.
238f3a58
SM
608 (with-tramp-file-property, with-tramp-connection-property):
609 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
610 `with-connection-property', respectively.
611
612 * net/tramp-cache.el: Remove `with-file-property' and
613 `with-connection-property'.
614
615 * net/tramp.el:
616 * net/tramp-gvfs.el:
617 * net/tramp-sh.el:
618 * net/tramp-smb.el: Adapt callees.
619
620 * net/trampver.el: Update release number.
621
26b77251
GM
6222012-10-09 Glenn Morris <rgm@gnu.org>
623
9a5f296f
GM
624 * w32-fns.el (set-message-beep):
625 * term/w32-win.el (set-message-beep): Update declarations.
626
94c66ce5
SM
6272012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
628
10766e9e
SM
629 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
630 (mode-line-widen, mode-line-input-method-map)
631 (mode-line-coding-system-map, mode-line-remote)
632 (mode-line-unbury-buffer, mode-line-bury-buffer)
633 (mode-line-next-buffer, mode-line-previous-buffer):
634 Replace save-selected-window+select-window => with-selected-window.
635
f754db08
SM
636 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
637 * progmodes/cc-vars.el (bq-process): Remove, unused.
638
94c66ce5
SM
639 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
640
a4ff7fe1
FEG
6412012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
642
643 Implemented `backward-up-list'-like navigation.
644 * progmodes/python.el (python-nav-up-list)
645 (python-nav-backward-up-list): New functions.
646 (python-mode-map): Define substitute key for backward-up-list to
647 python-nav-backward-up-list.
648
24517d82
FEG
6492012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
650
651 * progmodes/python.el (python-fill-paragraph): Rename from
652 python-fill-paragraph-function. Fixed fill-paragraph for
653 decorators (Bug#12605).
654
51867ae2
FEG
6552012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
656
657 * progmodes/python.el (python-shell-output-filter): Handle extra
658 carriage return in OSX (Bug#12409).
659
a5b773c4
FEG
6602012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
661
662 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 663 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
664 (python-syntax-propertize-function): Use it.
665 (python-shell-output-syntax-table): New var.
666 (inferior-python-mode): Prevent unbalanced parens/quotes from
667 previous output mess with current input context.
668
13373538
JB
6692012-10-08 Juanma Barranquero <lekktu@gmail.com>
670
671 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
672 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
673
775a132d
MA
6742012-10-08 Michael Albinus <michael.albinus@gmx.de>
675
676 * ffap.el (ffap-replace-file-component): Support Tramp file name
677 syntax, not only ange-ftp's one.
678
3ab44929
GM
6792012-10-08 Glenn Morris <rgm@gnu.org>
680
57f1dee4
GM
681 * cus-start.el (message-log-max): Set :version.
682
3ab44929
GM
683 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
684
6a088630
MR
6852012-10-08 Martin Rudalics <rudalics@gmx.at>
686
687 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
688 the minibuffer window (Bug#10851).
689
8dbce54c
FEG
6902012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
691
692 Enhancements on forward-sexp movement.
693 * progmodes/python.el (python-nav-beginning-of-statement)
694 (python-nav-end-of-statement): Return point-marker.
695 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
696 (python-info-current-symbol)
697 (python-info-statement-starts-block-p): Rename from
698 python-info-beginning-of-block-p.
699 (python-info-statement-ends-block-p): Rename from
700 python-info-end-of-block-p.
701 (python-info-beginning-of-statement-p)
702 (python-info-end-of-statement-p)
703 (python-info-beginning-of-block-p, python-info-end-of-block-p):
704 New functions.
705
5acd2b3e
SM
7062012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
709 frame-selected-windows.
710
e08348a0
DC
7112012-10-08 Daniel Colascione <dancol@dancol.org>
712
713 * battery.el (battery-status-function): Check for
714 w32-battery-status itself, not system-time windows-nt.
715
716 * frame.el: Require cl-lib.
717 (display-format-alist): New variable mapping frame types to
718 functions that initialize them.
719 (window-system-for-display): New function: interprets
720 display-format-alist.
721 (make-frame-on-display): Remove existing display-selection logic
722 and just forward to make-frame, which will now DTRT.
723 (make-frame): Restructure to use window-system-for-display to
724 figure out how to create a frame on a given display.
725 (display-mouse-p): Look for frame-type w32, not a particular
726 system-type.
727
728 * loadup.el: Load w32 lisp code when we have the w32 feature.
729
730 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
731 system-type windows-nt.
732
733 * server.el (server-create-window-system-frame): Look for window
734 type.
735 (server-proces-filter): Only force a window system when windows-nt
736 _and_ w32. Explain why.
737
738 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
739 of window systems we configure for the mode.
740
741 * startup.el (command-line): Mark window system is initialized
742 after we've done it.
743
744 * common-win.el (x-select-text): Look for w32, not windows-nt.
745
746 * ns-win.el: Require cl-lib. Add ourselves to
747 display-format-alist.
748 (ns-initialize-window-system): Assert we're not initialized twice.
749
750 * w32-win.el: Enable lexical binding; require cl-lib; add
751 ourselves to display-format-alist.
752 (w32-handle-dropped-file): Convert incoming dropped files from
753 Windows paths to Cygwin ones before passing them on to the rest of
754 Emacs.
755 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
756 (w32-initialize-window-system): Assert we're not initialized twice.
757
758 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
759 (x-initialize-window-system): Assert we're not initialized twice.
760
761 * w32-common-fns.el: New File.
762 (w32-version, w32-using-nt, w32-get-clipboard-data)
763 (w32-set-clipboard-data, x-set-selection, x-get-selection)
764 (w32-charset-info-alist, x-last-selected, text)
765 (x-get-selection-value, x-selection-value): Move here.
766
767 * w32-fns.el: Require w32-common-fns.
768 (w32-version, w32-using-nt, w32-get-clipboard-data)
769 (w32-set-clipboard-data, x-set-selection, x-get-selection)
770 (w32-charset-info-alist, x-last-selected, text)
771 (x-get-selection-value, x-selection-value): Move to
772 w32-common-fns.
773
774 * w32-vars.el:
775 (w32-allow-system-shell, w32-system-shells): Define only in
776 non-cygwin case.
777
795b1482
SM
7782012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
781 (read-passwd): Remove a few more potential sources of leaks.
782
f27c99dc
FEG
7832012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
784
785 * progmodes/python.el (inferior-python-mode)
795b1482 786 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
787 variables copied from parent buffer.
788
fcacb558
JD
7892012-10-07 Jan Djärv <jan.h.d@swipnet.se>
790
791 * term/ns-win.el (ns-read-file-name): Update declaration to match
792 nsfns.m.
793 (ns-respond-to-change-font): Change fontsize separatly so we are sure
794 it is set when font is acted upon.
795
be0d5bae
FEG
7962012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
797
798 Enhancements to indentation.
799 * progmodes/python.el (python-indent-context): Give priority to
800 inside-string context. Make comments indentation markers.
801 (python-indent-region): Do not mess with strings, unless it's the
802 enclosing set of quotes.
803
13af0d10
SM
8042012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
805
662a9d0e
SM
806 * window.el (internal--before-save-selected-window)
807 (internal--after-save-selected-window): New functions extracted from
808 save-selected-window. Make sure we return the `alist' we construct.
809 (save-selected-window): Use them.
810
811 * textmodes/tex-mode.el (tex-recenter-output-buffer):
812 Use with-selected-window.
813
13af0d10
SM
814 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
815 forms that define macros (bug#12593).
816
6aa75fb6
KH
8172012-10-07 Kenichi Handa <handa@gnu.org>
818
13af0d10
SM
819 * international/mule-conf.el (compound-text-with-extensions):
820 Add :mime-charset property as x-ctext.
6aa75fb6 821
78d876b9
SM
8222012-10-07 Stefan Merten <smerten@oekonux.de>
823
824 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
825 (rst-indent-literal-normal, rst-indent-literal-minimized)
826 (rst-indent-comment): Correct :version tag.
557337e9 827 (rst-official-cvs-rev): Correct version string.
78d876b9 828
99a1e701
GM
8292012-10-07 Glenn Morris <rgm@gnu.org>
830
831 * mail/rmailmm.el (rmail-mime-process-multipart):
832 Do not confuse a multipart message with an epilogue
833 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
834
08f18c3d
FEG
8352012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
836
837 Fix shell output retrieval and comint-prompt-regexp init.
838 * progmodes/python.el (inferior-python-mode):
839 (python-shell-make-comint): Fix initialization of
840 comint-prompt-regexp from copied file local variables.
841 (python-shell-fetched-lines): Remove var.
842 (python-shell-output-filter-in-progress): Rename from
843 python-shell-fetch-lines-in-progress.
844 (python-shell-output-filter-buffer): Rename from
845 python-shell-fetch-lines-string.
846 (python-shell-fetch-lines-filter): Delete function.
847 (python-shell-output-filter): New function.
848 (python-shell-send-string-no-output): Use them.
849
82ed3ab4
GM
8502012-10-07 Glenn Morris <rgm@gnu.org>
851
1595ecfa
GM
852 * hi-lock.el (hi-lock-process-phrase):
853 Try to make it less fragile. (Bug#7161)
854
82ed3ab4
GM
855 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
856
f1f4dba0
GM
8572012-10-06 Glenn Morris <rgm@gnu.org>
858
addc11ed 859 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
860 non-existent mode `help'.
861 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 862
460042b8
GM
863 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
864 (reftex-create-bibtex-footer): Fix custom types.
865
67667c70
GM
866 * progmodes/sh-script.el (sh-indent-after-continuation):
867 Add explicit :group.
868
18dec750
GM
869 * textmodes/rst.el (rst-preferred-decorations)
870 (rst-shift-basic-offset): Clarify obsolescence versions.
871
d1a1c7e6
GM
872 * profiler.el (profiler): Add missing group :version tag.
873 * avoid.el (mouse-avoidance-banish-position):
874 * proced.el (proced-renice-command):
875 * calc/calc.el (calc-ensure-consistent-units):
876 * calendar/icalendar.el (icalendar-import-format-uid):
877 * net/tramp.el (tramp-save-ad-hoc-proxies):
878 * progmodes/bug-reference.el (bug-reference-bug-regexp):
879 * progmodes/flymake.el (flymake-error-bitmap)
880 (flymake-warning-bitmap, flymake-fringe-indicator-position):
881 * progmodes/sh-script.el (sh-indent-after-continuation):
882 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
883 (verilog-before-save-font-hook, verilog-after-save-font-hook):
884 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
885 (vhdl-array-index-record-field-in-sensitivity-list)
886 (vhdl-indent-comment-like-next-code-line):
887 * textmodes/reftex-vars.el (reftex-ref-style-alist)
888 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
889 (reftex-cite-key-separator, reftex-create-bibtex-header)
890 (reftex-create-bibtex-footer):
891 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
892 (rst-indent-literal-normal, rst-indent-literal-minimized)
893 (rst-indent-comment): Add missing custom :version tags.
894
ef35abb4
GM
895 * calendar/timeclock.el (timeclock-modeline-display):
896 Add missing obsolete alias for renamed user option.
897
d1aae614
GM
898 * strokes.el (strokes-modeline-string):
899 * emulation/crisp.el (crisp-mode-modeline-string):
900 * eshell/esh-mode.el (eshell-status-in-modeline):
901 Aliases to defcustoms must come before the defcustom.
902
f1f4dba0
GM
903 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
904 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
905 (cal-tex-cursor-week-monday): Doc fixes.
906 (cal-tex-cursor-week2-summary): Doc fix.
907 Rename from cal-tex-cursor-week-at-a-glance.
908
909 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
910 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
911
912 * calendar/calendar.el (calendar-mode-map):
913 Add cal-tex-cursor-week2-summary.
914
d39109c3
SM
9152012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
916
685f87b0
SM
917 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
918
d39109c3
SM
919 * subr.el (read-passwd-map): New var.
920 (read-passwd): Use `read-string' again.
921 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
922
5694896d
J
9232012-10-06 Jambunathan K <kjambunathan@gmail.com>
924
925 * register.el (append-to-register, prepend-to-register):
926 Deactivate mark, as does `copy-to-register' (bug#12389).
927
9414dd8d
CY
9282012-10-06 Chong Yidong <cyd@gnu.org>
929
930 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
931
2b89bca4
KH
9322012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
933
934 * international/characters.el: Fix simple mistake ((car chars) ->
935 elt), delete duplicated code.
936
d5acb99a
GM
9372012-10-06 Glenn Morris <rgm@gnu.org>
938
939 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
940
123ec157
JS
9412012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
942
943 * color.el (color-hsl-to-rgb): Fix incorrect results for
944 small and large hue values. (Bug#12559)
945
7fa36ccb
FEG
9462012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
947
948 Enhancements to docstring formatting when filling paragraphs.
949 * progmodes/python.el (python-fill-docstring-style): Rename from
950 python-fill-string-style. Added new style.
951 (python-fill-string): Use new style. Better checks for
952 docstrings.
953
d8788e1e
GM
9542012-10-05 Glenn Morris <rgm@gnu.org>
955
204f3953
GM
956 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
957
d8788e1e
GM
958 * color.el (color-name-to-rgb, color-rgb-to-hex)
959 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
960 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
961 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
962 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
963
8d956cef
GM
964 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
965
e8757f09 9662012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
967
968 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
969 to get the correct size across symlinks.
970
e8757f09
GM
971 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
972
0e2ae83d
JL
9732012-10-04 Juri Linkov <juri@jurta.org>
974
975 * replace.el (query-replace-interactive): Declare obsolete.
976 (query-replace-read-from): Add the last incremental search string
977 to the list of default values accessible via M-n.
978 (map-query-replace-regexp): Use `read-regexp'.
979 (query-replace, query-replace-regexp, query-replace-regexp-eval)
980 (map-query-replace-regexp, replace-string, replace-regexp):
981 Fix docstrings to replace mentions of `query-replace-interactive'
982 with alternatives. (Bug#12526)
983
93cacb6d
JL
9842012-10-04 Juri Linkov <juri@jurta.org>
985
986 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
987 (dired-pop-to-buffer): Declare obsolete.
988 (dired-mark-pop-up): Doc fix.
989
fc345011
FEG
9902012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
991
992 Allow user to set docstring style for fill-paragraph.
993 * progmodes/python.el
994 (python-fill-comment-function, python-fill-string-function)
995 (python-fill-decorator-function, python-fill-paren-function):
996 Remove :safe for defcustoms.
997 (python-fill-string-style): New defcustom
5694896d 998 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
999 (python-fill-string): Honor python-fill-string-style settings.
1000
6bab5d8b
MR
10012012-10-04 Martin Rudalics <rudalics@gmx.at>
1002
1003 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1004 after setting its buffer (Bug#10805).
1005
a1a9f411
FEG
10062012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1007
1008 Fix cornercase for string syntax.
1009 * progmodes/python.el (python-syntax-propertize-function):
1010 Simplify and enhance the regexp for unescaped quotes. Now it also
1011 matches quotes in weird situations like the single quote in
1012 "something\"'".
1013 (python-syntax-stringify): Simplify num-quotes detecting code.
1014
05e153a6
GM
10152012-10-03 Glenn Morris <rgm@gnu.org>
1016
1017 * help-macro.el (three-step-help):
1018 Revert 2012-09-29 change. (Bug#12567)
1019
2e566ecb
MR
10202012-10-03 Martin Rudalics <rudalics@gmx.at>
1021
96ef9ccd
MR
1022 * menu-bar.el (kill-this-buffer): Don't do anything when
1023 `menu-frame' is not alive or visible (Bug#8184).
1024
2e566ecb
MR
1025 * emacs-lisp/debug.el (debug): When quitting the debugger window
1026 restore current buffer (Bug#12502).
1027
a96e1cb7
CY
10282012-10-02 Chong Yidong <cyd@gnu.org>
1029
5694896d
J
1030 * progmodes/hideif.el (hif-lookup, hif-defined):
1031 Handle semantic-c-takeover-hideif.
a96e1cb7 1032
b3ecad33
PE
10332012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1034
1035 Change sampling interval units from ms to ns.
1036 * profiler.el (profiler-sampling-interval): Change units
1037 from ms to ns, multiplying the default by 1000000 so that
1038 it remains 1 ms.
1039 (profiler-report-cpu-line-format): Give enough room for
1040 the maximum counters on 64-bit hosts.
1041 (profiler-report-render-calltree-1): Call them "CPU samples",
1042 not "Time (ms)", since they are not milliseconds now (and
1043 never really were).
1044
8cb51b66 10452012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1046
5694896d
J
1047 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1048 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1049
fd795bf4
CY
10502012-10-02 Chong Yidong <cyd@gnu.org>
1051
1052 * emacs-lisp/eieio.el: Restore Version header.
1053
fe0a74f9
SM
10542012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1055
6be9197e
SM
1056 * vc/diff-mode.el (diff--auto-refine-data): New var.
1057 (diff-hunk): Use it to delay refinement.
1058 (diff-mode): Remove overlays when we turn off font-lock.
1059
18486139
SM
1060 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1061 (table-initialize-table-fixed-width-mode)
1062 (table-set-table-fixed-width-mode): Remove functions.
1063 (table-command-list): Move initialization into declaration.
1064 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1065 (table-with-cache-buffer): Use `declare'.
1066 (table-span-cell): Simplify via CSE.
1067 (table-fixed-width-mode): Use define-minor-mode.
1068 (table-call-interactively, table-funcall, table-apply): Remove.
1069 (table-function): New function, to replace them.
1070
d83ef976
SM
1071 * bookmark.el (bookmark-search-pattern): Remove var.
1072 (bookmark-read-search-input): Remove function.
1073 (bookmark-bmenu-search): Reimplement using a minibuffer.
1074
cd386662
SM
1075 * faces.el (modeline): Remove obsolete face name.
1076
fe0a74f9
SM
1077 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1078 and give a non-nil default value.
1079 (add-change-log-entry): Simplify accordingly.
1080
9f7b98f8
DG
10812012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1082
1083 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1084 (vc-git-log-edit-toggle-amend): New function.
1085 (vc-git-log-edit-toggle-signoff): New function.
1086 (vc-git-log-edit-mode): New major mode.
1087 (vc-git-log-edit-mode-map): Keymap for it.
1088 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1089
1090 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1091 header names.
1092 (log-edit-toggle-header): New function.
1093 (log-edit-extract-headers): Accept function values in HEADERS alist.
1094
62a81506
CY
10952012-10-01 David Engster <deng@randomsample.de>
1096
1097 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1098 from symbol property and change message to be more consistent with
1099 Emacs proper.
1100 (eieio-describe-generic): Add filename for each implementation.
1101 Fix indices for generic and normal methods.
1102 (eieio-method-def, eieio-class-def): New buttons.
1103 (eieio-help-find-method-definition)
1104 (eieio-help-find-class-definition): New functions.
1105 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1106 class, constructor and method definitions.
1107
1108 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1109 information in symbol property.
1110 (scoped-class): Remove.
1111 (eieio-slot-name-index, call-next-method): Check if it is bound.
1112
11132012-10-01 Leo P. White <lpw25@cam.ac.uk>
1114
1115 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1116 (eieio-custom-mode): New major mode.
1117 (eieio-customize-object): Use it.
1118
11192012-10-01 Eric Ludlam <zappo@gnu.org>
1120
1121 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1122 specifying the expected class, and whether subclassing is allowed.
1123 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1124 (eieio-persistent-validate/fix-slot-value)
1125 (eieio-persistent-slot-type-is-class-p): New functions.
1126 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1127
1128 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1129 Stop using unused publd variable.
1130
1131 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1132 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1133 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1134 (eieio-speedbar-handle-click): Do not specify a class for the
1135 method. Fixes method invocation order problems with EDE.
1136
375e49d4
SM
11372012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1140 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1141
16ce6ccd
KF
11422012-10-01 Karl Fogel <kfogel@red-bean.com>
1143
1144 * bookmark.el (bookmark-version-control): Give tags in the
1145 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1146 (bookmark-write-file): Bind `print-circle' to `t' to allow
1147 circular custom bookmark types. (Bug#12503)
16ce6ccd 1148
19e54a4d
PE
11492012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1150
86ec63ba
PE
1151 Revert the FOLLOW-SYMLINKS change for file-attributes.
1152 * files.el (remote-file-name-inhibit-cache, after-find-file):
1153 * time.el (display-time-file-nonempty-p): Undo last change.
1154
19e54a4d
PE
1155 * profiler.el (profiler-sampling-interval): Change default back to 1.
1156 See Stefan Monnier in
1157 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1158
0478776b
FEG
11592012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1160
1161 Shell output catching a la gud-gdb.
1162 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1163 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1164 New Vars.
0478776b
FEG
1165 (python-shell-fetch-lines-filter): New function.
1166 (python-shell-send-string-no-output): Use them.
1167
c22bac2c
TM
11682012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1169
1170 * profiler.el (profiler-sampling-interval): Rename from
1171 profiler-sample-interval.
1172 (profiler-sampling-interval): Default to 10.
1173 (profiler-find-profile): New command (was profiler-find-log).
1174 (profiler-find-profile-other-window): New command.
1175 (profiler-find-profile-other-frame): New command.
1176 (profiler-profile): Introduce API-level data structure.
1177
e7a2937b
PE
11782012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1179
1180 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1181 * files.el (remote-file-name-inhibit-cache):
1182 * time.el (display-time-file-nonempty-p): Use it.
1183 * files.el (after-find-file): Don't chase links before calling
1184 file-exists-p, as file-exists-p already does the right thing.
1185
4f595e15
RA
11862012-09-30 Ralf Angeli <angeli@caeruleus.net>
1187
1188 Merge from standalone RefTeX repository.
1189
1190 The following ChangeLog entries are shortened versions of the
1191 original ones with file paths adapted. A not so strongly edited
1192 version of the original ChangeLog can be found in the commit log.
1193
1194 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1195 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1196 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1197
1198 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1199 that entries with whitespace at various places are found.
1200 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1201 Include @String definitions in the resulting bib file. Add header
1202 and footer defined in `reftex-create-bibtex-header' and
1203 `reftex-create-bibtex-footer'.
1204 (reftex-do-citation): Make it possible again to insert
1205 non-existent entries. Save match data when asking for optional
1206 arguments. Return all keys, not just the first one.
1207 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1208 all citations in the same line.
1209 (reftex-parse-bibtex-entry): Accept additional optional argument
1210 `raw' and keep quotes or braces if it is non-nil. Match fields
1211 containing hyphens besides word constituents.
1212 (reftex-get-string-refs): New function.
1213 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1214 and ask if it should be reread in case it did.
1215 (reftex-pop-to-bibtex-entry)
1216 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1217 entries with spaces or tabs in front of arguments.
1218 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1219 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1220 Match entries containing numbers and symbol constituents.
1221 (reftex-do-citation, reftex-figure-out-cite-format):
1222 Use `reftex-cite-key-separator'.
4f595e15
RA
1223
1224 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1225 (reftex-mouse-view-crossref): Explain why point is set.
1226
1227 * textmodes/reftex-global.el: Whitespace changes.
1228
1229 * textmodes/reftex-index.el: Move provide statement to end of
1230 file.
1231 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1232 (reftex-index-visit-phrases-buffer): Set marker when visiting
1233 buffer. This allows for returning from the phrases file to the
1234 file one was just editing instead of the file where the last
1235 phrases was added from.
1236 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1237 punctuation syntax as it usually is not used as string quote in
1238 TeX-related modes and may occur unmatched. The change also
1239 prevents fontification of quoted content.
1240 (reftex-index-phrases-mode): Use it.
1241
375e49d4
SM
1242 * textmodes/reftex-parse.el (reftex-parse-from-file):
1243 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1244 (reftex-parse-from-file): Use beginning of match instead of end as
1245 bound.
1246
1247 * textmodes/reftex-ref.el: Adapt creation of
1248 `reftex-<package>-<macro>' functions to new structure of
1249 `reftex-ref-style-alist'.
375e49d4
SM
1250 (reftex-reference): Use `reftex-ref-style-list' function.
1251 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1252 reference macro if `reftex-ref-macro-prompt' is non-nil.
1253 (reftex-reference): Pass refstyle to `reftex-format-special'.
1254 Determine reference macro by looking at
375e49d4
SM
1255 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1256 Use only one special format function.
4f595e15
RA
1257 (reftex-varioref-vref, reftex-fancyref-fref)
1258 (reftex-fancyref-Fref): Remove definitions. The functions are now
1259 generated from `reftex-ref-style-alist'.
1260 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1261 Remove.
1262 (reftex-format-special): New function.
1263
1264 * textmodes/reftex-sel.el
1265 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1266 of `reftex-ref-style-alist'. Remove code for testing macro type.
1267 (reftex-select-toggle-varioref)
1268 (reftex-select-toggle-fancyref): Remove.
1269 (reftex-select-cycle-ref-style-internal)
1270 (reftex-select-cycle-ref-style-forward)
1271 (reftex-select-cycle-ref-style-backward): New functions.
1272 (reftex-select-label-map): Use `v' and `V' for general cycling
1273 through reference styles. Add `p' for switching between number
1274 and page reference types.
1275
375e49d4
SM
1276 * textmodes/reftex-toc.el (reftex-re-enlarge):
1277 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1278 the horizontal version throws an error even if the parameter is 0.
1279
1280 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1281 (reftex-plug-into-AUCTeX): Doc fix.
1282 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1283 string. Adapt to new name.
1284 (reftex-ref-style-alist): Change structure so that it is not
1285 possible to use multiple different package names within a style.
375e49d4
SM
1286 Remove the symbols for symbols for macro type distinction.
1287 Add characters for macro selection.
4f595e15
RA
1288 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1289 (reftex-create-bibtex-footer): New variables.
1290 (reftex-format-ref-function): Mention third argument of special
1291 format function.
375e49d4
SM
1292 (reftex-ref-style-alist, reftex-ref-style-default-list):
1293 New variables.
4f595e15
RA
1294 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1295 to new implementation. Mark as obsolete. Add compatibility code
1296 for honoring the variable values in case they are set.
375e49d4
SM
1297 (reftex-cite-format-builtin, reftex-bibliography-commands):
1298 Add support for ConTeXt.
1299 (reftex-format-ref-function, reftex-format-cite-function):
1300 Fix custom type.
4f595e15
RA
1301 (reftex-cite-key-separator): New variable.
1302
1303 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1304 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1305 `reftex-syntax-table' because parens have to retain their paren
1306 syntax in order for parsing of BibTeX entries like @book(...) to
1307 work.
1308 (reftex-in-comment): Do not error out if `comment-start-skip' is
1309 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1310 (reftex-tie-multifile-symbols): Add doc string.
1311 Initialize `reftex-ref-style-list'.
4f595e15
RA
1312 (reftex-untie-multifile-symbols): Add doc string.
1313 (reftex-add-index-macros): Doc fix.
1314 (reftex-ref-style-activate, reftex-ref-style-toggle)
1315 (reftex-ref-style-list): New functions.
1316 (reftex-mode-menu): Use them. Adapt to new structure of
1317 `reftex-ref-style-alist'.
1318 (reftex-select-with-char): Kill the RefTeX Select buffer when
1319 done.
1320 (reftex-remove-if): New function.
1321 (reftex-erase-all-selection-and-index-buffers)
1322 (reftex-mode-menu): Reference styles are now computed from
1323 `reftex-ref-style-alist'. Fix typo.
1324 (reftex-report-bug): New function.
1325 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1326 algorithms with O(n log n). Introduce optional argument SORT (not
1327 yet used).
1328
440ba395
FEG
13292012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1330
1331 Enhancements for triple-quote string syntax.
375e49d4
SM
1332 * progmodes/python.el (python-syntax-propertize-function):
1333 Match both quote cases in one regexp.
440ba395
FEG
1334 (python-syntax-stringify): Handle matches properly.
1335
4c478e6b
JL
13362012-09-30 Juri Linkov <juri@jurta.org>
1337
1338 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1339 to nil around the call to `insert' to prevent
4c478e6b
JL
1340 directory time modification by lock_file. (Bug#2295)
1341 * tar-mode.el (tar-summarize-buffer): Idem.
1342
d80d54b2
JL
13432012-09-30 Juri Linkov <juri@jurta.org>
1344
1345 * facemenu.el (list-colors-sort): Add option "Luminance".
1346 (list-colors-sort-key): Implement it.
1347
1348 * vc/diff-mode.el (diff-refine-removed):
1349 * vc/ediff-init.el (ediff-fine-diff-A):
1350 * vc/smerge-mode.el (smerge-refined-removed):
1351 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1352
d7e642cc
JD
13532012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1354
1355 * term/ns-win.el (x-file-dialog): New function.
1356
ee41332b
JB
13572012-09-30 Juanma Barranquero <lekktu@gmail.com>
1358
1359 * ido.el (ido-max-directory-size): Default to nil; the current
1360 default is small for POSIX systems, and impractical on Windows 7
1361 now that lstat returns directory sizes for NTFS.
1362
5938d519
MR
13632012-09-30 Martin Rudalics <rudalics@gmx.at>
1364
1365 In buffer display functions handle window-height/window-width
1366 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1367 * window.el (window--display-buffer): New argument ALIST.
1368 Obey window-height and window-width alist entries.
1369 (window--try-to-split-window): New argument ALIST.
1370 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1371 changed and window-combination-limit equals `window-size'.
1372 (display-buffer-in-atom-window)
1373 (display-buffer-in-major-side-window)
1374 (display-buffer-in-side-window, display-buffer-same-window)
1375 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1376 (display-buffer-pop-up-window, display-buffer-below-selected)
1377 (display-buffer-at-bottom, display-buffer-in-previous-window)
1378 (display-buffer-use-some-window): Adjust all callers of
1379 window--display-buffer and window--try-to-split-window.
1380 (fit-frame-to-buffer): New option.
1381 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1382 is non-nil.
1383 (display-buffer-in-major-side-window): Evaluate window-height /
1384 window-width alist entries.
1385
1386 * help.el (temp-buffer-resize-frames)
1387 (temp-buffer-resize-regexps): Remove options.
1388 (temp-buffer-resize-mode): Adjust doc-string.
1389 (resize-temp-buffer-window): Don't consult
1390 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1391 temp-buffer-resize-frames.
1392
375e49d4
SM
1393 * dired.el (dired-mark-pop-up):
1394 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1395 entry.
1396
c4c0c2df
CY
13972012-09-30 Chong Yidong <cyd@gnu.org>
1398
48de8b12
CY
1399 * server.el (server-host): Document the security implications.
1400 (server-auth-key): Doc fix.
1401
1402 * startup.el (initial-buffer-choice): Doc fix.
1403
1404 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1405
a97dc380
CY
1406 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1407 restriction change.
1408
d39d3c8e
CY
1409 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1410
c4c0c2df
CY
1411 * help-fns.el (help-fns--obsolete): Fix last change.
1412
98a5e33b
SM
14132012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1414
34cf6f39
SM
1415 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1416 (minor-mode-map-alist): Remove redundant code.
1417
e01c13fe
SM
1418 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1419 visited in a buffer.
1420 (cvs-insert-visited-file): New function.
1421 (find-file-hook): Use it.
1422
1423 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1424
02661b3a
SM
1425 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1426 chose face.
1427 (log-edit-empty-buffer-p): Don't require a space after a header.
1428
43711d4b
SM
1429 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1430
38a30d64
SM
1431 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1432
4ffb41a9
SM
1433 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1434 a proper minor-mode.
1435
98a5e33b
SM
1436 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1437
de82e29b
GM
14382012-09-29 Glenn Morris <rgm@gnu.org>
1439
5cc2e639
GM
1440 * winner.el (winner-mode): Remove variable (let define-minor-mode
1441 handle it).
1442 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1443 Doc fixes.
1444 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1445 (winner-mode): Use define-minor-mode.
1446
7bd302eb
GM
1447 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1448 the full definition in loaddefs, rather than duplicating it.
1449
2923922f 1450 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1451
0e3e4156
GM
1452 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1453 (inferior-lisp-program, inferior-lisp-load-command)
1454 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1455 No need to autoload defcustoms.
0e3e4156 1456
de82e29b
GM
1457 * hippie-exp.el (hippie-expand-try-functions-list)
1458 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1459 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1460 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1461 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1462 * progmodes/vhdl-mode.el (vhdl-line-expand):
1463 Explicitly load hippie-exp, so it does not get autoloaded
1464 while hippie-expand-try-functions-list is let-bound.
1465
e60b51ab
GM
14662012-09-28 Glenn Morris <rgm@gnu.org>
1467
277f0cfa
GM
1468 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1469
e60b51ab
GM
1470 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1471 Only "cl.el" counts as cl these days.
1472
53baf48a
JL
14732012-09-28 Juri Linkov <juri@jurta.org>
1474
1475 Display archive errors in the echo area instead of inserting
1476 to the file buffer.
1477
1478 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1479 to STDERR-TEST that can be a regexp matching a successful output.
1480 Create a temporary file and redirect stderr to it. Search for
1481 STDERR-TEST in the stderr output and display it in the echo area
1482 if no match is found.
1483 (archive-extract-by-file): New function like
1484 `archive-extract-by-stdout' but extracting archives to files
1485 and looking for successful matches in stdout. Function body is
1486 mostly copied from `archive-rar-extract'.
1487 (archive-rar-extract): Use `archive-extract-by-file'.
1488 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1489
9c1228c3
LL
14902012-09-28 Leo Liu <sdl.web@gmail.com>
1491
375e49d4
SM
1492 * pcomplete.el (pcomplete-show-completions):
1493 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1494
9c1228c3
LL
1495 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1496
7f457c06
SM
14972012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1498
3df749b0
SM
1499 * type-break.el: Use lexical-binding.
1500 (type-break-mode): Use define-minor-mode.
1501
7f457c06
SM
1502 * emacs-lisp/pcase.el (pcase--mark-used): New.
1503 (pcase--u1): Use it (bug#12512).
1504
1505 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1506 in load-history with the right file name.
1507
c00ebc98
TH
15082012-09-28 Tassilo Horn <tsdh@gnu.org>
1509
1510 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1511 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1512 (doc-view-get-bounding-box): Make bounding box slicing work for
1513 ODF and DVI documents.
1514
96fb7170
GM
15152012-09-28 Glenn Morris <rgm@gnu.org>
1516
1517 * type-break.el (type-break-mode, type-break-interval)
1518 (type-break-good-rest-interval, type-break-keystroke-threshold):
1519 No need to autoload.
1520 (type-break-good-rest-interval, type-break-keystroke-threshold):
1521 Add :set-after.
1522
5bc93c67
CY
15232012-09-28 Chong Yidong <cyd@gnu.org>
1524
1525 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1526 Add :version tag.
1527
9cad61d6
SM
15282012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1529
e28e67b3 1530 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1531
daee954c
GM
15322012-09-27 Glenn Morris <rgm@gnu.org>
1533
a88324d4
GM
1534 * faces.el (x-display-name): Declare (for without-x builds).
1535
8e5064e5
GM
1536 * linum.el (linum-format): Don't autoload it. Improve :type.
1537
cc1783c2
GM
1538 * progmodes/tcl.el: Don't require outline when compiling.
1539 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1540 * textmodes/sgml-mode.el: Don't require outline when compiling.
1541 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1542
48c339f2
GM
1543 * term.el (term-ansi-reset):
1544 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1545
daee954c
GM
1546 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1547 files for RCS and SCCS. (Bug#9781)
1548
b7f42161
CY
15492012-09-27 Chong Yidong <cyd@gnu.org>
1550
1551 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1552 change; value should be t.
1553
a2e770db
SM
15542012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1555
83600dc8
SM
1556 * image-mode.el: Use lexical-binding.
1557 (image-mode-winprops): Use t to stand for the window of
1558 a buffer that's not displayed.
1559 * doc-view.el (doc-view-new-window-function): Handle the new
1560 t in winprops.
1561 (doc-view-enlarge): Make it a real nop if the size is not changed.
1562 (doc-view-display): Handle the case where the buffer is not (yet?)
1563 displayed in any window.
1564 (doc-view-saved-settings): New var.
1565 (doc-view-mode): Use it.
1566 (doc-view-fallback-mode): Set it.
1567
a2e770db
SM
1568 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1569 Set lexical-binding.
1570 (minibuffer-eldef-shorten-default): New var.
1571 (minibuffer-default-in-prompt-regexps): Use it for new default.
1572 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1573
e3b60857
JB
15742012-09-26 Juanma Barranquero <lekktu@gmail.com>
1575
1576 * international/uni-bidi.el:
1577 * international/uni-category.el:
1578 * international/uni-name.el:
1579 * international/uni-numeric.el: Regenerate.
1580
3a880af4
SM
15812012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1582 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * profiler.el: New file.
1585
07b1a5fb
SM
15862012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1589 (testcover-reinstrument): Simplify with CSE.
1590
42019c2e
JB
15912012-09-26 Juanma Barranquero <lekktu@gmail.com>
1592
1593 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1594
179f044b
WS
15952012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1596
1597 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1598 (verilog-auto-input, verilog-auto-insert-lisp)
1599 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1600 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1601 (verilog-auto-unused, verilog-auto-wire)
1602 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1603 newline. Reported by Andrew Jones.
1604 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1605 Reported by Brad Dobbie.
07b1a5fb
SM
1606 (verilog-batch-delete-trailing-whitespace):
1607 Create verilog-batch-delete-trailing-whitespace.
1608 Reported by Brad Dobbie.
179f044b
WS
1609 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1610 parameters from another module. Reported by Dan Katz.
1611 (verilog-auto, verilog-auto-assign-modport)
1612 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1613 AUTOINOUTMODPORT for UVM interface module shell generation.
1614 Reported by Brad Dobbie.
1615 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1616 standard behavior.
1617 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1618 Reported by Matt Martin.
1619
9c52dd5a
MR
16202012-09-25 Martin Rudalics <rudalics@gmx.at>
1621
1622 * window.el (window--resize-child-windows): When resizing child
1623 windows proportionally, process them in reverse order to
1624 preserve the "when splitting a window the new one gets the odd
1625 line" behavior.
1626 (window--resize-root-window-vertically): When resizing the
1627 minibuffer window try to affect only windows at the bottom of the
1628 frame. (Bug#12419)
1629
863666eb
CY
16302012-09-25 Chong Yidong <cyd@gnu.org>
1631
1632 * subr.el (declare): Doc fix.
1633
1634 * help-fns.el (help-fns--obsolete): Handle macros properly.
1635
59f7af81
CY
16362012-09-25 Chong Yidong <cyd@gnu.org>
1637
1638 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1639 this function obsolete.
1640
1641 * calendar/cal-x.el (calendar-two-frame-setup)
1642 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1643 * calendar/calendar.el (american-calendar, european-calendar)
1644 (calendar-for-loop):
1645 * comint.el (comint-dynamic-simple-complete)
1646 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1647 * desktop.el (desktop-load-default):
1648 * dired-x.el (dired-omit-here-always)
1649 (dired-hack-local-variables, dired-default-directory):
1650 * emacs-lisp/derived.el (derived-mode-class):
1651 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1652 * emacs-lock.el (toggle-emacs-lock):
1653 * epa.el (epa-display-verify-result):
1654 * epg.el (epg-sign-keys, epg-start-sign-keys)
1655 (epg-passphrase-callback-function):
1656 * eshell/esh-util.el (eshell-for):
1657 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1658 (eshell-add-to-window-buffer-names):
1659 * files.el (locate-file-completion):
1660 * imenu.el (imenu-example--create-c-index)
1661 (imenu-example--create-lisp-index)
1662 (imenu-example--lisp-extract-index-name)
1663 (imenu-example--name-and-position):
1664 * international/mule-cmds.el (princ-list):
1665 * international/mule-diag.el (decode-codepage-char):
1666 * international/mule-util.el (detect-coding-with-priority):
1667 * iswitchb.el (iswitchb-read-buffer):
1668 * mail/mailalias.el (mail-complete):
1669 * mail/sendmail.el (mail-sent-via):
1670 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1671 (mouse-major-mode-menu):
1672 * password-cache.el (password-read-and-add):
1673 * pcomplete.el (pcomplete-parse-comint-arguments):
1674 * progmodes/sh-script.el (sh-maybe-here-document):
1675 * replace.el (query-replace-regexp-eval):
1676 * savehist.el (savehist-load):
1677 * simple.el (choose-completion-delete-max-match):
1678 * term.el (term-dynamic-simple-complete):
1679 * vc/ediff-init.el (ediff-check-version):
1680 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1681 * vc/vc.el (vc-diff-switches-list):
1682 * view.el (view-return-to-alist-update): Likewise.
1683
1684 * subr.el (eval-next-after-load, makehash, insert-string)
1685 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1686 mark obsolete.
1687 (mode-line-inverse-video): Variable deleted.
1688
1689 * international/mule-util.el (string-to-sequence): Remove.
1690
1691 * calendar/calendar.el (calendar-version):
1692 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1693 (icalendar-convert-diary-to-ical):
1694 * cus-edit.el (custom-mode):
1695 * ansi-color.el (ansi-color-unfontify-region):
1696 * international/latin1-disp.el (latin1-char-displayable-p):
1697 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1698 * progmodes/which-func.el (which-func-update-1):
1699 Use define-obsolete-function-alias.
59f7af81
CY
1700
1701 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1702 * net/newst-treeview.el (newsticker-groups-filename):
1703 Fix incorrect obsolescence declaration.
59f7af81
CY
1704
1705 * allout.el (allout-passphrase-hint-string): Likewise.
1706 (allout-init): Use a declare form to mark obsolete.
1707
1708 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1709 this applies to functions.
1710
1711 * iswitchb.el (iswitchb-read-buffer): Move code of
1712 iswitchb-define-mode-map here, and delete that obsolete function.
1713
1714 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1715 font-lock-reference-face.
1716
cca96c97
GM
17172012-09-25 Glenn Morris <rgm@gnu.org>
1718
b06eeda8
GM
1719 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1720 Doc fixes.
1721
cca96c97
GM
1722 * eshell/em-term.el (eshell-term-name):
1723 Default to term-term-name. (Bug#12485)
1724
dc4f818b
FEG
17252012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1726
cca96c97
GM
1727 * progmodes/python.el (python-shell-send-buffer): Better handling
1728 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1729
289c24bd
GM
17302012-09-24 Glenn Morris <rgm@gnu.org>
1731
1732 * eshell/esh-cmd.el (eshell-find-alias-function):
1733 Tighten up file-name regexp. (Bug#12499)
1734
8fb8b88f
FEG
17352012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1736
1737 Enhancements for triple-quote string syntax.
1738 * progmodes/python.el (python-quote-syntax): Remove.
1739 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1740 (python-syntax-count-quotes, python-syntax-stringify):
1741 New functions.
8fb8b88f 1742
6c27f0f8
CY
17432012-09-24 Chong Yidong <cyd@gnu.org>
1744
a5f2b6ec
CY
1745 * mail/supercite.el (sc-version): Remove obsolete function.
1746 (sc-describe): Don't mark as obsolete, since it is bound.
1747 (sc-submit-bug-report): Remove.
1748
1749 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1750 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1751 (log-edit-require-final-newline)
1752 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1753
1754 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1755 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1756 * vc/vc.el (vc-checkout-carefully): Likewise.
1757
1758 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1759 (emerge-version): Remove.
1760
1761 * progmodes/compile.el (compile-internal): Remove.
1762 (compilation-parse-errors-function): Fix typo.
1763
1764 * international/mule.el (set-char-table-default): Remove.
1765 (set-coding-priority, make-coding-system, generic-char-p)
1766 (charset-list, charset-bytes, charset-id): Use declare to mark
1767 functions as obsolete.
1768
1769 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1770 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1771 * vc/vc-hooks.el (vc-default-registered): Don't use
1772 vc-master-templates.
1773
07b1a5fb
SM
1774 * font-lock.el (font-lock-reference-face):
1775 Use define-obsolete-variable-alias.
6c27f0f8
CY
1776
1777 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1778 * calendar/calendar.el (calendar-font-lock-keywords):
1779 * calendar/diary-lib.el (diary-font-lock-keywords)
1780 (diary-fancy-font-lock-keywords):
1781 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1782 * textmodes/reftex-index.el (reftex-insert-index):
1783 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1784 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1785 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1786 * progmodes/prolog.el (prolog-font-lock-keywords):
1787 * progmodes/idlwave.el (idlwave-idl-keywords):
1788 * progmodes/ada-mode.el (ada-font-lock-keywords):
1789 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1790
bcc0adbf
GM
17912012-09-24 Glenn Morris <rgm@gnu.org>
1792
1793 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1794
095bb823
FEG
17952012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1796
1797 * progmodes/python.el (python-indent-line): More consistent cursor
1798 movement behavior.
1799
70efc5c9
SM
18002012-09-23 Stefan Merten <smerten@oekonux.de>
1801
1802 * textmodes/rst.el: Fix compiler warning.
1803
2f438239
RW
18042012-09-23 Roland Winkler <winkler@gnu.org>
1805
07b1a5fb
SM
1806 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1807 Transcribe also LaTeX hyphenation.
2f438239
RW
1808 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1809 bibtex-reformat-previous-options.
1810
936ad041
RW
18112012-09-23 Roland Winkler <winkler@gnu.org>
1812
1813 * proced.el (proced-renice-command): New variable.
1814 (proced-marked-processes): New function.
1815 (proced-with-processes-buffer): New macro.
1816 (proced-send-signal): Use them.
1817 (proced-renice): New command bound to r.
1818
6fab0274
RW
18192012-09-23 Roland Winkler <winkler@gnu.org>
1820
1821 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1822 ibuffer-saved-filter-groups has one element, shortcut the call of
1823 completing-read. (Bug#12331)
1824
9a930676
CY
18252012-09-23 Chong Yidong <cyd@gnu.org>
1826
1827 * bindings.el (mode-line-toggle-read-only):
1828 * bs.el (bs-toggle-readonly):
1829 * buff-menu.el (Buffer-menu-toggle-read-only):
1830 * dired.el (dired-toggle-read-only):
1831 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1832
d07ff9db
CY
18332012-09-23 Chong Yidong <cyd@gnu.org>
1834
1835 * image.el (image-type-available-p): Adapt to init-image-library
1836 argument changes.
1837
51c4474e
JL
18382012-09-22 Juri Linkov <juri@jurta.org>
1839
1840 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1841 `dired-toggle-read-only'. (Bug#12462)
1842
43bf5e8e
MR
18432012-09-22 Martin Rudalics <rudalics@gmx.at>
1844
1845 * subr.el (temp-output-buffer-show): New function.
1846 (with-output-to-temp-buffer): Call temp-output-buffer-show
1847 instead of internal-temp-output-buffer-show.
1848
c88b867f
CY
18492012-09-22 Chong Yidong <cyd@gnu.org>
1850
3df47cd5
CY
1851 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1852 (Bug#12462).
1853
c88b867f
CY
1854 * repeat.el (repeat): Doc fix (Bug#12348).
1855
1856 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1857 (Bug#10909).
1858
1859 * simple.el (shell-command-on-region): Doc fix.
3171e303 1860 (read-only-mode): Doc fix.
c88b867f 1861
df9685f3
EZ
18622012-09-22 Eli Zaretskii <eliz@gnu.org>
1863
1864 * emacs-lisp/timer.el (run-with-idle-timer)
1865 (timer-activate-when-idle): Warn against reinvoking an idle timer
1866 from within its own timer action. (Bug#12447)
1867
8e17c9ba
MR
18682012-09-22 Martin Rudalics <rudalics@gmx.at>
1869
1870 * cus-start.el (window-combination-limit): Add new optional
1871 values.
1872 * window.el (temp-buffer-window-show)
1873 (window--try-to-split-window): Handle new values of
1874 window-combination-limit (Bug#1806).
1875 (split-window): Test window-combination-limit for t instead of
1876 non-nil.
1877 (display-buffer-at-bottom): New buffer display action function.
1878 * help.el (temp-buffer-resize-regexps): New option.
1879 (temp-buffer-resize-mode): Rewrite doc-string.
1880 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1881 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1882
48a24920
SM
18832012-09-22 Stefan Merten <smerten@oekonux.de>
1884
70efc5c9 1885 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1886 (rst-official-version)
1887 (rst-package-emacs-version-alist): Sync with official version
1888 V1.4.0.
1889 (rst-faces-defaults, rst-set-level-default)
1890 (rst-level-face-max, rst-level-face-base-color)
1891 (rst-level-face-base-light, rst-level-face-format-light)
1892 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1893 (rst-adornment-faces-alist): Match new setup.
1894 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1895 (rst-level-5, rst-level-6): New faces.
1896
82f8cd94
CY
18972012-09-22 Chong Yidong <cyd@gnu.org>
1898
1899 * simple.el (undo): Handle indirect buffers (Bug#8207).
1900
acfa068f 19012012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1902
1903 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1904 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1905 (ido-set-matches-1): Use it. (Bug#2042)
1906
acfa068f 19072012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1908
1909 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1910 Fix 2011-05-17 change. (Bug#12418)
1911
acfa068f 19122012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1913
1914 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1915
acfa068f 19162012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1917
1918 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1919 Be more robust about locating simple.el.
1920
acfa068f 19212012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1922
1923 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1924
acfa068f
CY
19252012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1926
1927 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1928
41a97e6f
JL
19292012-09-20 Juri Linkov <juri@jurta.org>
1930
eb2deaff
JL
1931 * replace.el (query-replace-read-from): Use `read-regexp' instead
1932 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1933 (occur-read-primary-args): Use `read-regexp' instead of
1934 `read-string'.
1935 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1936 `read-from-minibuffer'.
1937 * isearch.el (isearch-occur): Use `read-regexp' instead of
1938 `read-string'.
1939 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1940 `read-from-minibuffer'.
1941 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1942 of `read-string'. (Bug#7567)
1943
5825610b
JL
1944 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1945 and allow accepting a list of strings prepended to a list of
1946 standard default values. Doc fix. (Bug#12321)
1947
eebbf404
JL
1948 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1949
41a97e6f
JL
1950 * replace.el (read-regexp): Don't add ": " when PROMPT already
1951 ends with a colon and space. (Bug#12321)
1952
c9e452d3
TH
19532012-09-20 Tassilo Horn <tsdh@gnu.org>
1954
1955 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1956 error.
1957
ee97deee
SM
19582012-09-20 Stefan Merten <smerten@oekonux.de>
1959
70efc5c9 1960 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1961 Fixes feature request bug#11711.
1962 (rst-mode): Create `imenu-create-index-function'.
1963 (rst-get-stripped-line): Delete after refactoring.
1964 (rst-section-tree, rst-section-tree-rec)
1965 (rst-section-tree-point): Refactor and document properly.
1966 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1967 (rst-imenu-convert-cell, rst-imenu-create-index):
1968 New function.
ee97deee 1969
f490dab9
SM
19702012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1971
95b9712e
SM
1972 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1973 (macroexp--expand-all): Use it.
1974 (macroexp--funcall-and-return): Remove by folding it into its sole
1975 caller (macroexp--warn-and-return).
1976 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1977 Use macroexp--obsolete-warning.
1978
f490dab9
SM
1979 * calc/calc.el: Fix last change by removing the whole chunk, since it
1980 was only needed back when Calc was not bundled.
1981
96e8d411
MR
19822012-09-20 Martin Rudalics <rudalics@gmx.at>
1983
1984 * emacs-lisp/debug.el (debug): Restore assignment to
1985 debugger-old-buffer removed on 2012-09-08.
1986
0876a82d
JL
19872012-09-20 Juri Linkov <juri@jurta.org>
1988
1989 * dired-aux.el (dired-diff): Remove (require 'diff) since
1990 `diff-latest-backup-file' is now autoloaded.
1991
9f7c28f0
CY
19922012-09-20 Chong Yidong <cyd@gnu.org>
1993
1994 * vc/diff.el (diff-latest-backup-file): Autoload.
1995
7a04bee9
SM
19962012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1997
e6f0a80d
SM
1998 * calc/calc.el: Remove redundant autoload shape check.
1999 (sel-mode): Don't defvar.
2000 (calc-get-stack-element): Add `sel-mode' arg instead.
2001 (calc-top, calc-top-list): Pass it this additional argument.
2002 * calc/calc-store.el (calc-store-map):
2003 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2004 (calc-map-equation, calc-outer-product, calc-inner-product):
2005 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2006
7a04bee9
SM
2007 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2008
12734222
JL
20092012-09-19 Juri Linkov <juri@jurta.org>
2010
2011 * dired-aux.el (dired-diff): Add (require 'diff) because
2012 `diff-latest-backup-file' is not autoloaded.
2013 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2014 of `dired-get-filename' to t to not report error when there is
2015 no default file on the current line.
2016
46624b4f
SM
20172012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2018
ce97595b
SM
2019 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2020 macroexp--eval-if-compile.
2021 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2022 (macroexp--expand-all): Use them (bug#12371).
2023
46624b4f
SM
2024 * doc-view.el (doc-view-guess-paper-size)
2025 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2026
db8a5a18
TH
20272012-09-19 Tassilo Horn <tsdh@gnu.org>
2028
2029 New feature: set optimal slice from BoundingBox information.
2030 * doc-view.el (doc-view-mode-map): Add keybinding.
2031 (doc-view-menu): Add menu entry.
2032 (doc-view-set-slice): Adapt docstring.
2033 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2034 (doc-view-scale-bounding-box)
2035 (doc-view-set-slice-from-bounding-box): New functions.
2036 (doc-view-paper-sizes): New defvar.
2037
69f6644c
GM
20382012-09-19 Glenn Morris <rgm@gnu.org>
2039
35f5b19d
GM
2040 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2041 (byte-compile-log-warning): Autoload. (Bug#12371)
2042
69f6644c
GM
2043 * calendar/calendar.el (calendar-american-month-header)
2044 (calendar-european-month-header, calendar-iso-month-header)
2045 (calendar-month-header): New options.
2046 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2047 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2048
e543ae91
JD
20492012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2050
2051 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2052
2fd5e67d
JL
20532012-09-18 Juri Linkov <juri@jurta.org>
2054
2055 * dired-aux.el (dired-diff): Restore original functionality of
2056 getting the default value, but keep new feature of using the
2057 latest existing backup file (`diff-latest-backup-file').
2058
42917e79
JL
20592012-09-18 Juri Linkov <juri@jurta.org>
2060
2061 * dired.el (dired-mark): If the region is active in Transient Mark
2062 mode, mark all files in the active region. Doc fix.
2063 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2064 Doc fix. (Bug#10624)
2065
20f70ede
JL
20662012-09-18 Juri Linkov <juri@jurta.org>
2067
2068 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2069 attributes for M-n are pulled from the file at point.
2070 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2071 Suggested by Drew Adams. (Bug#10624)
2072
32fb8162
DG
20732012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2074
2075 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2076 whitespace after "end".
2077 (ruby-do-end-to-brace): Collapse block to one line if it fits
2078 within fill-column.
2079
37ab5092
MR
20802012-09-18 Martin Rudalics <rudalics@gmx.at>
2081
2082 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2083 value.
2084 (debug): Don't remove debugger window when debugger is expected
2085 to be back.
2086
ed1f0bd3
CY
20872012-09-18 Chong Yidong <cyd@gnu.org>
2088
2089 * custom.el (defface): Doc fix.
2090
2091 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2092
a11035b8
MB
20932012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2094
2095 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2096 to initialize query-on-exit; then test that instead (bug#12288).
2097
64f6a736
SM
20982012-09-17 Stefan Merten <smerten@oekonux.de>
2099
70efc5c9 2100 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2101 (rst-defcustom-testcover, rst-testcover-add-compose)
2102 (rst-testcover-add-1value): New functions.
2103 (rst-portable-mark-active-p): Replace by `use-region-p'.
2104 (rst-update-section, rst-classify-adornment)
2105 (rst-find-title-line): Mark `1value' forms.
2106 (rst-classify-adornment): Remove superfluous form.
2107 (rst-update-section, rst-get-adornments-around)
2108 (rst-adornment-complete-p, rst-get-next-adornment)
2109 (rst-adjust, rst-promote-region)
2110 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2111 (rst-find-pfx-in-region, rst-section-tree-rec)
2112 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2113 (rst-toc-node, rst-toc, rst-forward-section)
2114 (rst-iterate-leftmost-paragraphs)
2115 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2116 (rst-bullet-list-region)
2117 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2118 (rst-compile-find-conf, rst-compile)
2119 (rst-repeat-last-character): Fix style.
2120
580bd868
CY
21212012-09-17 Chong Yidong <cyd@gnu.org>
2122
2123 * comint.el (comint--complete-file-name-data): Don't add a space
2124 if the status is `sole'; that adds a gratuitous space in the
2125 completion-cycling case (Bug#12092).
2126
2127 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2128
69de3ec6
RS
21292012-09-17 Richard Stallman <rms@gnu.org>
2130
0dee970c
RS
2131 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2132 only in the mime-shown mode, not in raw mode.
2133 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2134 mime processing. (Bug#12305)
0dee970c 2135
6b250df6
GM
2136 * mail/rmail.el (rmail-retry-failure):
2137 Turn off mime processing first. (Bug#12037)
acb1c47b 2138
69de3ec6
RS
2139 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2140
d079ee5f
CY
21412012-09-17 Chong Yidong <cyd@gnu.org>
2142
2143 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2144 (shell-dynamic-complete-functions): Convert to defcustom.
2145 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2146
865fe16f
CY
2147 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2148 * comint.el (comint-prompt-read-only):
2149 * custom.el (defcustom):
2150 * hi-lock.el (hi-lock-mode):
2151 * ibuffer.el (ibuffer-formats):
2152 * ielm.el (ielm-prompt-read-only):
2153 * novice.el (disable-command):
2154 * saveplace.el (toggle-save-place):
2155 * speedbar.el (speedbar-supported-extension-expressions):
2156 * startup.el (auto-save-list-file-prefix, init-file-user)
2157 (after-init-hook, inhibit-startup-echo-area-message):
2158 * strokes.el (strokes-help):
2159 * time-stamp.el (time-stamp):
2160 * calendar/calendar.el (calendar, diary-file):
2161 * calendar/diary-lib.el (diary-mail-entries, diary)
2162 (diary-list-entries-hook):
2163 * calendar/holidays.el (holidays, calendar-holidays):
2164 * calendar/lunar.el (lunar-phases):
2165 * calendar/solar.el (sunrise-sunset):
2166 * emulation/edt.el (edt-load-keys):
2167 * emulation/viper.el (viper-mode):
2168 * eshell/em-alias.el (eshell-command-aliases-list):
2169 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2170 * international/ogonek.el (ogonek-information):
2171 * net/tramp-cmds.el (tramp-bug):
2172 * net/quickurl.el (quickurl-reread-hook-postfix):
2173 * play/decipher.el (decipher-font-lock-keywords):
2174 * progmodes/cc-styles.el (c-set-style):
2175 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2176 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2177 * progmodes/octave-mod.el (octave-mode):
2178 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2179 * progmodes/verilog-mode.el (verilog-read-defines):
2180 * textmodes/two-column.el (2C-mode): Likewise.
2181
48093eb9
KY
21822012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2183
2184 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2185 that holds many addresses.
2186
c584eaf9
CY
21872012-09-16 Chong Yidong <cyd@gnu.org>
2188
40d70ecb
CY
2189 * align.el (align-areas): Call the indication function with
2190 positions instead of markers for arguments (Bug#12343).
2191
1667e065
CY
2192 * files.el (parse-colon-path): Use split-string (Bug#12351).
2193
fdc2806d 2194 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2195 (display-buffer-function): Mark as obsolete.
fdc2806d 2196
f1be615c 2197 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2198 values similar to font-lock-keywords (Bug#12136).
2199 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2200 (compilation-error-regexp-alist): Doc fix.
2201
f40a9709
GM
22022012-09-15 Glenn Morris <rgm@gnu.org>
2203
72aa16e1
GM
2204 * version.el (emacs-bzr-version-bzr): New function.
2205 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2206
82375160
GM
2207 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2208 checkouts, check the parent dirstate matches the branch.
2209 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2210 empty string.
2211
f40a9709
GM
2212 * version.el (emacs-bzr-version): Doc fix.
2213 (emacs-bzr-version-dirstate): New function.
2214 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2215 is local try and check that it matches the branch. If not, just
2216 use dirstate information. (Bug#12441)
2217
cb26b7f5
JL
22182012-09-14 Juri Linkov <juri@jurta.org>
2219
2220 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2221 (Bug#12399)
2222
2de39f08
SM
22232012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2224
0fb3cb7c
SM
2225 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2226
2de39f08
SM
2227 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2228 Remove obsolete byte-compiler hack that tried to silence some warnings.
2229 (edebug-submit-bug-report): Remove.
2230 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2231 Remove aliases, use the un-prefixed name instead.
2232 (edebug-pop-to-buffer): Consider other frames.
2233 (edebug-original-read):: Make it more obvious that it's always defined.
2234 (edebug--make-form-data-entry, edebug--form-data-name)
2235 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2236 single-dashed name, and implement with cl-defstruct.
2237 (edebug-set-form-data-entry): Use the standard accessors.
2238 (edebug-make-top-form-data-entry): Use push.
2239 (edebug-no-match): Drop useless `funcall'.
2240 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2241 to functions.
2242 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2243 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2244 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2245 (easy-menu-define, with-custom-print): Remove redundant specs.
2246 (edebug-outside-overriding-local-map)
2247 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2248 (edebug--display): Bind unread-command-events directly to nil rather
2249 than binding it to unread-command-events and later setting it to nil.
2250 (edebug--display): Kill edebug-eval-buffer here...
2251 (edebug--recursive-edit): ...rather than here.
2252 Bind standard-output and standard-input.
2253 (edebug-eval): Check cl-macroexpand-all is fboundp.
2254 (edebug-temp-display-freq-count): Fix last change.
2255
2256 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2257 * subr.el (noreturn, 1value): Add `debug' spec.
2258 * emacs-lisp/advice.el: Require cl-lib.
2259 (ad-copy-tree): Remove, use copy-tree instead.
2260 (ad-dolist): Remove use dolist or cl-dolist instead.
2261 (ad-do-return): Remove, use cl-return instead.
2262 (defadvice): Add `debug' spec.
2263
5b68b333
JL
22642012-09-13 Juri Linkov <juri@jurta.org>
2265
2266 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2267 (Bug#12399)
2268
b9800ec4
GM
22692012-09-13 Glenn Morris <rgm@gnu.org>
2270
6a2e6868
GM
2271 * calc/calc.el (math-compose-expr):
2272 * calc/calc-ext.el (math-compose-expr):
2273 * progmodes/cc-defs.el (cl-macroexpand-all):
2274 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2275 (cl-macroexpand-all): Update declarations.
2276
b9800ec4
GM
2277 * vc/vc.el: No need to require ediff.
2278 (ediff-load-version-control): Declare.
2279 (ediff-vc-internal): Fix declaration.
2280 (vc-version-ediff): Require ediff.
2281
c18e885b
PE
22822012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2283
2284 Use a more backwards-compatible timer format (Bug#12430).
2285 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2286 being right after USECS, as that better supports old code that
2287 inadvisedly looked directly at the timer vector.
2288
d607d303
KH
22892012-09-13 Kenichi Handa <handa@gnu.org>
2290
2291 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2292 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2293 `coding-priority' property of these language environment.
2294
72eac303
PE
22952012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2296
2297 Fix glitches caused by addition of psec to timers (Bug#12430).
2298 * image.el (image-animate-timer):
2299 * time.el (display-time-world-timer):
2300 Use timer--function and timer--args rather than raw access to
2301 timer vector.
2302
2168fe4f
GM
23032012-09-13 Glenn Morris <rgm@gnu.org>
2304
2305 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2306 If not compiling a file, try using load-file-name.
2307
bd8d6108
SM
23082012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2309
c0c54fbd
SM
2310 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2311 Fix last change.
2312 (edebug-update-eval-list): Use `push'.
2313
bd8d6108
SM
2314 * emacs-lisp/edebug.el: Use lexical-binding.
2315 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2316 Mark unused args with underscore.
2317 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2318 (edebug-form-data): Use defvar-local.
2319 (edebug-make-before-and-after-form, edebug-make-after-form):
2320 Use backquote.
2321 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2322 Not dynamically scoped any more.
2323 (edebug--enter-trace): Add arguments `function' and `args'.
2324 Rename from edebug-enter-trace.
2325 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2326 (edebug--update-coverage): Add `after-index' and `value' args.
2327 Rename from edebug-update-coverage.
2328 (edebug-slow-after): Call it accordingly.
2329 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2330 edebug-recursive-edit.
2331 (edebug--display): Call it accordingly. Add args `value',
2332 `offset-index', and `arg-mode'. Rename from edebug-display.
2333 (edebug-debugger, edebug): Call it accordingly.
2334 (edebug-eval-display-list): Use dolist.
2335
a9f9d9de
JL
23362012-09-12 Juri Linkov <juri@jurta.org>
2337
2338 * info.el (Info-search): Don't check for isearch-mode and
2339 isearch-regexp before let-binding search-spaces-regexp to
2340 Info-search-whitespace-regexp.
2341 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2342 search-whitespace-regexp if isearch-lax-whitespace or
2343 isearch-regexp-lax-whitespace is non-nil.
2344 (Info-mode): Don't set local variable search-whitespace-regexp.
2345 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2346
bfeae2cf
SM
23472012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2350 (debugger-env-macro): Remove support for unread-command-char.
2351
2352 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2353 the temporary map re-appearing on emulation-mode-map-alists.
2354
2355 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2356 since 22.1.
2357
2358 * ehelp.el (with-electric-help): Accept functions in
2359 electric-help-form-to-execute.
2360 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2361 And replace unread-command-char -> unread-command-events.
2362
fbbcaf1b
MA
23632012-09-12 Michael Albinus <michael.albinus@gmx.de>
2364
2365 Sync with Tramp 2.2.6.
2366
2367 * net/tramp.el (tramp-accept-process-output): Don't use
2368 JUST-THIS-ONE in the XEmacs case.
2369
2370 * net/trampver.el: Update release number.
2371
4dece104
MR
23722012-09-12 Martin Rudalics <rudalics@gmx.at>
2373
bfeae2cf
SM
2374 * emacs-lisp/debug.el (debugger-previous-window-height):
2375 New variable.
4dece104
MR
2376 (debug): When debugger-jumping-flag is non-nil try to restore
2377 height of debugger window. (Bug#8789)
2378
45b82ad0
SM
23792012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2380
60c49c0f
SM
2381 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2382 overriding-local-map and pre/post-command-hook here.
2383 (edebug-recursive-edit): Do it here instead (bug#12345).
2384 (edebug-outside-unread-command-char): Remove all uses of
2385 unread-command-char.
2386
45b82ad0
SM
2387 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2388 inhibit-debugger is bound instead.
2389
baa26ea0
BG
23902012-09-11 Bastien Guerry <bzg@gnu.org>
2391
2392 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2393 (Bug#12346)
baa26ea0 2394
04e8abfa
BG
23952012-09-11 Bastien Guerry <bzg@gnu.org>
2396
96d03571 2397 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2398 (Bug#12347)
96d03571
BG
2399
24002012-09-11 Bastien Guerry <bzg@gnu.org>
2401
fc0c31f8 2402 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2403
04e082b0
MM
24042012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2405
2406 * progmodes/sql.el: Version 3.1
2407 (sql-db2-escape-newlines): New variable.
2408 (sql-escape-newlines-filter): Use it.
2409
399a361b
JB
24102012-09-10 Juanma Barranquero <lekktu@gmail.com>
2411
2412 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2413
0780c517
DN
24142012-09-10 Dan Nicolaescu <dann@gnu.org>
2415
45b82ad0
SM
2416 * vc/diff-mode.el (diff-mode-menu):
2417 Bind diff-remove-trailing-whitespace.
0780c517 2418
9b851e25
SM
24192012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2422 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2423 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2424 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2425 (eval-defun-2): Remove bogus interactive spec.
2426 (lisp-indent-line): Remove redundant whole-exp code, now done in
2427 indent-according-to-mode.
2428 (save-match-data): Remove redundant indent data.
2429
2430 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2431 Use `declare'.
2432
3231d532
JL
24332012-09-09 Juri Linkov <juri@jurta.org>
2434
2435 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2436 (replace-lax-whitespace, query-replace-regexp)
2437 (query-replace-regexp-eval, replace-regexp): Doc fix.
2438 (perform-replace, replace-highlight): Let-bind
2439 isearch-lax-whitespace to replace-lax-whitespace and
2440 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2441
2442 * isearch.el (isearch-query-replace): Let-bind
2443 replace-lax-whitespace to isearch-lax-whitespace and
2444 replace-regexp-lax-whitespace to
2445 isearch-regexp-lax-whitespace. (Bug#10885)
2446
70fe8236
SM
24472012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2450
8ed43f15
AM
24512012-09-09 Alan Mackenzie <acm@muc.de>
2452
70fe8236
SM
2453 * progmodes/cc-engine.el (c-state-cache-init):
2454 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2455 (c-record-parse-state-state):
2456 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2457
bfabf70a
AS
24582012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2459
2460 * register.el (register-separator): Rename from
2461 separator-register. All uses changed. Doc fix.
2462 (register): Fix version.
2463
011474aa
CY
24642012-09-09 Chong Yidong <cyd@gnu.org>
2465
2466 * replace.el (query-replace-map): Bind four new symbols for
2467 requesting window scrolling.
2468
2469 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2470 query-replace-map (Bug#8948).
2471
2472 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2473
2474 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2475 since they are now in query-replace-map.
2476
2477 * window.el (scroll-other-window-down): Make the arg optional.
2478
a8b7cd8d
CY
24792012-09-09 Chong Yidong <cyd@gnu.org>
2480
2481 * files.el (hack-local-variables-confirm): Use quit-window to kill
2482 the *Local Variables* buffer.
2483
c3268831
DG
24842012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2485
2486 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2487 not just expect to be at its beginning. Adjust callees.
2488 Succeed when do-end block has no space before the pipe character.
2489 (ruby-brace-to-do-end): When the original block is one-liner,
2490 convert to multiline. Reindent the result.
2491
0979429b
J
24922012-09-08 Jambunathan K <kjambunathan@gmail.com>
2493
2494 * register.el (register): New group.
27359e99 2495 (separator-register): New user option.
0979429b
J
2496 (increment-register): Route it to `append-to-register', if
2497 register contains text. Implication is that `C-x r +' can now be
2498 used for appending to a text register (bug#12217).
2499 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2500 `separator-register'.
0979429b 2501
ace2989a
AM
25022012-09-08 Alan Mackenzie <acm@muc.de>
2503
2504 AWK Mode: make auto-newline work when there's "==" in the pattern.
2505 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2506 correctly.
0979429b
J
2507 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2508 Test more rigorously for "=" token.
ace2989a 2509
616c6c36
DG
25102012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2511
0979429b
J
2512 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2513 Only fail when reached LIMIT.
616c6c36 2514
35d98877
CY
25152012-09-08 Chong Yidong <cyd@gnu.org>
2516
2517 * dired.el (dired-mode-map): Don't bind M-=.
2518
2519 * dired-aux.el (dired-diff): Use backup file as default.
2520
1715f2db
DA
25212012-09-08 Drew Adams <drew.adams@oracle.com>
2522
2523 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2524
6dcef6ec
CY
25252012-09-08 Chong Yidong <cyd@gnu.org>
2526
2527 * subr.el (syntax-after, syntax-class): Doc fix.
2528
fa2bcf43
MR
25292012-09-08 Martin Rudalics <rudalics@gmx.at>
2530
2531 * window.el (display-buffer-in-previous-window): New buffer
2532 display action function.
2533
2534 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2535 (debugger-previous-window): New variable.
2536 (debug): Rewrite using display-buffer-in-previous-window,
2537 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2538
daac280a
SM
25392012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2542
9dd40b00
MM
25432012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2544
daac280a
SM
2545 * progmodes/python.el (python-shell-send-string):
2546 When default-directory is remote, create temp file on remote
9dd40b00
MM
2547 filesystem.
2548 (python-shell-send-file): When file is remote, pass local view of
2549 file paths to remote Python interpreter. (Bug#12340)
2550
145823ec
CY
25512012-09-07 Chong Yidong <cyd@gnu.org>
2552
cee2e90d
CY
2553 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2554
0d7eb2ea
CY
2555 * files.el (after-find-file): Don't fail on a read-only buffer if
2556 require-final-newline is `visit' or `visit-save' (Bug#11156).
2557
145823ec
CY
2558 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2559
daac280a
SM
2560 * userlock.el (ask-user-about-supersession-threat):
2561 Use read-char-choice (Bug#12093).
145823ec 2562
74c582e6
CY
25632012-09-07 Chong Yidong <cyd@gnu.org>
2564
e5c2edf7
CY
2565 * subr.el (buffer-narrowed-p): New function.
2566
2567 * ses.el (ses-widen):
2568 * simple.el (count-words--buffer-message):
1f9f395d 2569 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2570
2571 * simple.el (count-words-region): Don't signal an error if there
2572 is a non-nil prefix arg and the mark is not set.
c640e87d 2573
74c582e6
CY
2574 * help.el (describe-key-briefly): Allow the message to be seen
2575 when invoked from the minibuffer (Bug#7014).
2576
d81ceaaf
DG
25772012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2578
2579 * progmodes/ruby-mode.el (ruby-end-of-defun)
2580 (ruby-beginning-of-defun): Simplify, allow indentation before
2581 block beginning and end keywords.
8f06acce
DG
2582 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2583 (ruby-end-of-defun): Expect that the point is at the beginning of
2584 the defun.
d81ceaaf 2585
d458ef98
SM
25862012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2589 (bug#12367).
2590 (cl--make-usage-args): Strip _ from argument names.
2591
20367d28
RS
25922012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2593
2594 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2595 obsolete alias speedbar-key-map.
2596 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2597 (vhdl-index-menu-init): Don't use obsolete variable
2598 font-lock-maximum-size.
2599
3424a4f6
CY
26002012-09-06 Chong Yidong <cyd@gnu.org>
2601
2602 * frame.el (window-system-version): Mark as obsolete.
2603
fcbfbdea
CY
2604 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2605 of obsolete variable speedbar-key-map.
2606
826b3235
JL
26072012-09-06 Juri Linkov <juri@jurta.org>
2608
2609 * replace.el (replace-lax-whitespace): New defcustom.
2610 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2611 (replace-string, replace-regexp): Mention it in docstrings.
2612 (perform-replace, replace-highlight): Let-bind
2613 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2614 to the values of replace-lax-whitespace and regexp-flag.
2615 Don't let-bind search-whitespace-regexp. (Bug#10885)
2616
2617 * isearch.el (isearch-query-replace): Let-bind
2618 replace-lax-whitespace instead of let-binding
2619 replace-search-function and replace-re-search-function.
2620 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2621 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2622 (isearch-toggle-symbol): Set isearch-regexp to nil
2623 in isearch-word mode (like in isearch-toggle-word).
2624
1ec5e41d
JL
26252012-09-06 Juri Linkov <juri@jurta.org>
2626
2627 * replace.el (replace-search-function)
2628 (replace-re-search-function): Set default values to nil.
2629 (perform-replace): Let-bind isearch-related variables based on
2630 replace-related values, call `isearch-search-fun' and let-bind
2631 the result to `search-function'. Remove code that sets
2632 `search-function' and `search-string' separately for
2633 `delimited-flag'.
2634 (replace-highlight): Add new argument `delimited-flag' and
2635 rename other arguments to the names used in `perform-replace'.
2636 Let-bind `isearch-word' to the argument `delimited-flag'.
2637 (Bug#10885, bug#10887)
2638
0ba2d4b6
DG
26392012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2640
2641 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2642 ruby-beginning-of-indent, simplify, allow all keywords to have
2643 indentation before them.
2644 (ruby-beginning-of-indent): Adjust for above. Search until the
2645 found point is not inside a string or comment.
2646 (ruby-font-lock-keywords): Allow symbols to start with "@"
2647 character, give them higher priority than variables.
2648 (ruby-syntax-propertize-function)
2649 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2650 matchers. Expression expansions are not comments when inside a
2651 string, and there comment syntax status is irrelevant.
2652 (ruby-match-expression-expansion): New function. Check that
2653 expression expansion is inside a string, and it's not escaped.
2654 (ruby-font-lock-keywords): Use it.
2655
ef654460
MR
26562012-09-05 Martin Rudalics <rudalics@gmx.at>
2657
2658 * help.el (temp-buffer-max-height): New default value.
2659 (temp-buffer-resize-frames): New option.
2660 (resize-temp-buffer-window): Optionally resize frame.
2661
2662 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2663 (fit-frame-to-buffer): New function.
2664
7e570fbf 26652012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2666
2667 * emulation/cua-rect.el (cua--init-rectangles):
2668 * textmodes/picture.el (picture-mode-map):
2669 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2670 like forward-char and backward-char. (Bug#12317)
2671
7e570fbf 26722012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2673
2674 * progmodes/flymake.el (flymake-warning-re): New variable.
2675 (flymake-parse-line): Use it.
2676
7e570fbf 26772012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2678
2679 * calendar/holidays.el (holiday-christian-holidays):
2680 Rename an entry. (Bug#12289)
2681
7e570fbf 26822012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2683
2684 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2685 (bug#12222).
2686
972debf2
SM
26872012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * loadup.el: Load macroexp. Remove hack.
2690 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2691 (macroexp--expand-all): Use it to get better warnings.
2692 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2693 (internal-macroexpand-for-load): New functions.
2694 (macroexp--pending-eager-loads): New var.
2695 (emacs-startup-hook): New hack to replace one in loadup.el.
2696 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2697 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2698 (cl-psetf): Simplify.
2699 (cl-defstruct): Add indent rule.
2700
8ce192e3
LI
27012012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2702
2703 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2704 over `user-mail-address' for the SMTP MAIL FROM envelope.
2705 (smtpmail-via-smtp): Ditto.
2706
6578b4d8
DG
27072012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * progmodes/ruby-mode.el: Clean up keybindings.
2710 (ruby-mode-map): Don't bind ruby-electric-brace,
2711 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2712 backward-kill-word, reindent-then-newline-and-indent.
2713 (ruby-mark-defun): Remove.
2714 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2715 (ruby-mode): Set local beginning-of-defun-function and
2716 end-of-defun-function values.
2717
c5e28e39
MR
27182012-09-03 Martin Rudalics <rudalics@gmx.at>
2719
2720 * window.el (temp-buffer-window-setup-hook)
2721 (temp-buffer-window-show-hook): New hooks.
2722 (temp-buffer-window-setup, temp-buffer-window-show)
2723 (with-temp-buffer-window): New functions.
972debf2
SM
2724 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2725 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2726
2727 * help.el (temp-buffer-resize-mode): Fix doc-string.
2728 (resize-temp-buffer-window): New optional argument WINDOW.
2729
2730 * files.el (recover-file, save-buffers-kill-emacs):
2731 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2732
73406194
MA
27332012-09-02 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2736 remote definition of `default-directory', ensure we can connect.
2737
63dd1c6f
JL
27382012-09-02 Juri Linkov <juri@jurta.org>
2739
2740 Toggle whitespace matching mode with M-s SPC.
2741 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2742
2743 * isearch.el (search-whitespace-regexp): Doc fix.
2744 Remove cons cell customization.
2745 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2746 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2747 New variables.
2748 (isearch-forward, isearch-forward-regexp): Doc fix.
2749 (isearch-toggle-lax-whitespace): New command.
2750 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2751 (re-search-forward-lax-whitespace)
2752 (re-search-backward-lax-whitespace): New functions.
2753 (isearch-whitespace-regexp): Remove function.
2754 (isearch-query-replace): Let-bind replace-search-function and
2755 replace-re-search-function.
2756 (isearch-occur): Let-bind search-spaces-regexp according to the
2757 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2758 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2759 condition for C-q SPC.
2760 (isearch-search-fun-default): Use new functions mentioned above.
2761 (isearch-search-forward, isearch-search-backward): Remove functions.
2762 (isearch-search): Don't let-bind search-spaces-regexp.
2763 (isearch-lazy-highlight-space-regexp): Remove variable.
2764 (isearch-lazy-highlight-lax-whitespace)
2765 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2766 (isearch-lazy-highlight-new-loop): Use them.
2767 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2768
af7dda05
CY
27692012-09-02 Chong Yidong <cyd@gnu.org>
2770
2771 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2772
d67d3afd
GM
27732012-09-02 Glenn Morris <rgm@gnu.org>
2774
2775 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2776
69678719
GM
27772012-09-01 Glenn Morris <rgm@gnu.org>
2778
2779 * term.el: Tidy up menu definitions.
2780 (term-mode-map): Use easymenu for In/Out, Complete menus.
2781 (term-pager-break-map): Initialize in the defvar.
2782 (term-terminal-menu, term-signals-menu): Define with easymenu.
2783 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2784 (term-pager-menu): New, extracted from term-process-pager.
2785 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2786 (term-update-mode-line): Propertize line/char and page items.
2787 (term-process-pager): Move keymap initialization elsewhere.
2788
78dd6ab1
MR
27892012-09-01 Martin Rudalics <rudalics@gmx.at>
2790
2791 * window.el (switch-to-prev-buffer): Handle additional values of
2792 BURY-OR-KILL argument. Don't switch in minibuffer window.
2793 (switch-to-next-buffer): Don't switch in minibuffer window.
2794 (quit-restore-window): New function based on quit-window.
2795 Handle additional values of former KILL argument.
2796 (quit-window): Call quit-restore-window with appropriate
2797 interpretation of KILL argument.
2798 (display-buffer-below-selected): New buffer display action
2799 function.
2800
3d10e134
SM
28012012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * minibuffer.el (completion-at-point-functions): Complete docstring
2804 (bug#12254).
2805
0e23ef9d
PE
28062012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2807
2808 Better seed support for (random).
2809 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2810 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2811 * play/mpuz.el, play/tetris.el, play/zone.el:
2812 * calc/calc-comb.el (math-init-random-base):
2813 * play/blackbox.el (bb-init-board):
2814 * play/life.el (life):
2815 * server.el (server-use-tcp):
2816 * type-break.el (type-break):
2817 Remove unnecessary call to (random t).
2818 * net/sasl.el (sasl-unique-id-function):
2819 Change (random t) to (random), now that the latter is more random.
2820 * play/life.el (life-initialized): Remove no-longer-needed var.
2821
862382df
MR
28222012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2823
2824 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2825 Consider frame's buffer predicate when choosing the buffer.
2826 (Bug#12081)
2827
262a66e1
RS
28282012-08-30 Richard Stallman <rms@gnu.org>
2829
2830 * simple.el (special-mode-map): Delete binding for `z'.
2831
f17e1d00
AS
28322012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2833
2834 * progmodes/compile.el (compilation-always-kill): Doc fix.
2835
24777832
CY
28362012-08-30 Chong Yidong <cyd@gnu.org>
2837
2838 * window.el (display-buffer-reuse-frames): Make the obsolescence
2839 message more informative.
2840
69ba1f04
GM
28412012-08-30 Glenn Morris <rgm@gnu.org>
2842
2843 * paren.el (show-paren-delay):
2844 Add a :set function. Doc fix. (Bug#12297)
2845
f0019ede
MB
28462012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2847
2848 * progmodes/compile.el (compilation-always-kill): New var.
2849 (compilation-start): Use it.
2850
35e62fc9
SM
28512012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2852
af070a1c
SM
2853 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2854 * files.el (read-only-mode): Move to simple.el.
2855
35e62fc9
SM
2856 * files.el (read-only-mode): New minor mode.
2857 (toggle-read-only): Use it and mark obsolete.
2858 (find-file--read-only):
2859 * vc/vc.el (vc-next-action, vc-checkout):
2860 * vc/vc-cvs.el (vc-cvs-checkout):
2861 * obsolete/vc-mcvs.el (vc-mcvs-update):
2862 * ffap.el (ffap--toggle-read-only): Update callers.
2863
c2c43c23
MA
28642012-08-29 Michael Albinus <michael.albinus@gmx.de>
2865
2866 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2867 remote shell scripts.
2868 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2869
2870 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2871 "/usr/local/sbin".
2872
9fba804b
SM
28732012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2876
eada0861 28772012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2878
806f0cc7
LL
2879 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2880 completion-at-point. (Bug#12220)
2881
3bb213b9
LL
2882 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2883
22ab32ef
LL
2884 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2885
eada0861 28862012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2887
19c17fc1
CY
2888 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2889 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2890
eada0861 28912012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2892
2893 * progmodes/hideif.el (hif-compress-define-list):
2894 Fix typo. (Bug#11951)
2895
eada0861 28962012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2897
2898 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2899 buffer local setting.
2900
27d6c5a8
LL
2901 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2902 rcirc-encode-coding-system.
2903
eada0861 29042012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2905
2906 * net/rcirc.el (rcirc-split-message): New function.
2907 (rcirc-send-message): Use it. (Bug#12051)
2908
d44688e4
JL
29092012-08-28 Juri Linkov <juri@jurta.org>
2910
2911 * info.el (Info-fontify-node): Hide empty lines at the end of
2912 the node. (Bug#12272)
2913
34f10d41
MR
29142012-08-27 Drew Adams <drew.adams@oracle.com>
2915
2916 * dired.el (dired-pop-to-buffer): Make window start at beginning
2917 of buffer (Bug#12281).
2918
77f1f99c
CY
29192012-08-26 Chong Yidong <cyd@gnu.org>
2920
2921 * window.el (special-display-regexps, special-display-frame-alist)
2922 (special-display-buffer-names, special-display-function)
2923 (display-buffer-reuse-frames): Mark as obsolete.
2924
2925 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2926
2927 * help.el (help-print-return-message): Don't treat
2928 display-buffer-reuse-frames specially.
2929
d97af5a0
CY
29302012-08-26 Chong Yidong <cyd@gnu.org>
2931
9fba804b
SM
2932 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2933 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2934 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2935 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2936 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2937 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2938 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2939 the functions directly with gdb-display-buffer-other-frame-action.
2940 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2941 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2942 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2943 (gdb-display-registers-buffer): Define directly.
2944 (def-gdb-display-buffer): Macro deleted.
2945 (gdb-display-buffer): Remove second and third args, callers don't
2946 use them. Defer to the default display-buffer behavior, apart
2947 from making windows dedicated.
2948 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2949
2950 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2951
2952 * window.el (display-buffer-pop-up-frame): Handle a
2953 pop-up-frame-parameters alist entry.
2954 (display-buffer): Document it.
2955
dd7ffad6
CY
29562012-08-26 Chong Yidong <cyd@gnu.org>
2957
2958 * isearch.el (search-whitespace-regexp): Make string and nil
2959 values apply to both ordinary and regexp search. Allow a cons
2960 cell value to distinguish between the two.
2961 (isearch-whitespace-regexp, isearch-search-forward)
2962 (isearch-search-backward): New functions.
2963 (isearch-occur, isearch-search-fun-default, isearch-search)
2964 (isearch-lazy-highlight-new-loop): Use them.
2965 (isearch-forward, isearch-forward-regexp): Doc fix.
2966
4c47bd1e
CY
29672012-08-26 Chong Yidong <cyd@gnu.org>
2968
2969 * faces.el (help-argument-name): Always inherit from italic
2970 (Bug#12213).
2971
9aba119d
MR
29722012-08-25 Martin Rudalics <rudalics@gmx.at>
2973
2974 * window.el (window--even-window-heights): Even heights when
2975 WINDOW and the selected window form a vertical combination.
2976 (display-buffer-use-some-window): Provide that window used gets
2977 sized back by quit-window. (Bug#11880) and (Bug#12091)
2978
ca5256ad
PE
29792012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2980
2981 Fix file time stamp problem with bzr and CVS (Bug#12001).
2982 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2983 in the file's time stamp, since the version control system loses
2984 that information.
2985
d1c0d176
JL
29862012-08-22 Juri Linkov <juri@jurta.org>
2987
2988 * info.el (Info-fontify-node): Hide the suffix of the
2989 Info file name in the header line. (Bug#12187)
2990
141562ff
GM
29912012-08-22 Glenn Morris <rgm@gnu.org>
2992
2993 * calendar/cal-tex.el (cal-tex-weekly-common):
2994 Restore leading blank page.
2995
61a48e19 29962012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2997
2998 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2999 the region under `shift-select-mode'. (Bug#12231)
3000
30012012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3002
3003 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3004 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3005 gives details on why the space is never needed.
3006
ea95074e
MR
30072012-08-22 Martin Rudalics <rudalics@gmx.at>
3008
9fba804b
SM
3009 * window.el (walk-window-tree, window-with-parameter):
3010 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3011 should run on the minibuffer window.
3012 (window-at-side-list): Don't operate on minibuffer window.
3013 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3014 (window--size-ignore): Rename to window--size-ignore-p.
3015 Update callers.
caceae25
MR
3016 (display-buffer-in-atom-window, window--major-non-side-window)
3017 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3018 (delete-side-window, display-buffer-in-side-window):
3019 New functions.
caceae25
MR
3020 (window--side-check, window-deletable-p, delete-window)
3021 (delete-other-windows, split-window): Handle side windows and
3022 atomic windows appropriately.
3023 (window--display-buffer): Call display-buffer-record-window also
3024 when the window buffer did not change.
ea95074e 3025
80a51fa0
CS
30262012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3027
3028 * help-fns.el (help-fns--key-bindings):
3029 Abbreviate non-symbol remap targets. (Bug#12174)
3030
fbb6300b
MR
30312012-08-22 Martin Rudalics <rudalics@gmx.at>
3032
3033 * dired.el (dired-mark-remembered): Don't clobber point.
3034 (Bug#11795)
3035
2b2c0794
GM
30362012-08-22 Glenn Morris <rgm@gnu.org>
3037
3038 * progmodes/bug-reference.el (bug-reference): New custom group.
3039 (bug-reference-bug-regexp): Make it a defcustom.
3040
37219830
DU
30412012-08-22 Daiki Ueno <ueno@unixuser.org>
3042
3043 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3044 (js-paren-indent-offset, js-square-indent-offset)
3045 (js-curly-indent-offset): Add :safe (Bug#12257).
3046
94e0e559
EC
30472012-08-22 Edward O'Connor <hober0@gmail.com>
3048
3049 * json.el (json-key-format): Add error properties.
3050 (json-encode-key): New function.
3051 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3052 Use json-encode-key.
3053
da485f5e
GM
30542012-08-22 Glenn Morris <rgm@gnu.org>
3055
3056 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3057 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3058 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3059 Update for above change.
3060
c6cc78b8
AS
30612012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3062
3063 * cus-face.el (custom-face-attributes): Fix customize type for the
3064 :underline attribute. (Bug#11805)
3065
5481664a
MR
30662012-08-21 Martin Rudalics <rudalics@gmx.at>
3067
3068 * window.el (window-point-1, set-window-point-1): Remove.
3069 (window-in-direction, record-window-buffer)
3070 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3071 (window--state-get-1, display-buffer-record-window):
3072 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3073 window-point and set-window-point respectively.
3074
6d74698e
GM
30752012-08-21 Glenn Morris <rgm@gnu.org>
3076
b7fa2691
GM
3077 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3078 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3079 Use it.
3080
52f56d5a
GM
3081 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3082 (cal-tex-shortday): New function.
3083 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3084 (cal-tex-cursor-filofax-daily): Use the above.
3085
9f1ee09e
GM
3086 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3087 New functions.
3088 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3089 (cal-tex-cursor-filofax-week): Use them.
3090
79858159
GM
3091 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3092 New constants.
3093 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3094 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3095
d346b2b4
GM
3096 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3097 (cal-tex-end-document): Don't rely on buffer name.
3098
b2403709
GM
3099 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3100 Use cal-tex-vspace.
3101 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3102 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3103 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3104 Use cal-tex-arg.
b2403709 3105
1cebb5c0
GM
3106 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3107 (cal-tex-cursor-week, cal-tex-cursor-week2)
3108 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3109 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3110 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3111 (cal-tex-insert-preamble, cal-tex-b-document)
3112 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3113 Improve cal-tex-cmd usage.
3114
c68cd5d4
GM
3115 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3116 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3117 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3118 (cal-tex-weekly-paper): New function.
3119 (cal-tex-cursor-week, cal-tex-cursor-week2)
3120 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3121 (cal-tex-cursor-day): Use it.
3122
9dca4801
GM
3123 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3124 (cal-tex-cursor-filofax-week): Remove leading blank page.
3125
1941e134
GM
3126 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3127 Add autoload cookie. For now at least, don't use color, since
3128 no other cal-tex function does.
3129
6d74698e
GM
3130 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3131 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3132 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3133
64cde199
JL
31342012-08-21 Juri Linkov <juri@jurta.org>
3135
3136 * info.el (Info-file-attributes): New variable.
3137 (info-insert-file-contents): Add file attributes to
3138 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3139 `Info-toc-nodes' when previous modtime of the Info file is less
3140 than new modtime.
3141 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3142 of info.el. (Bug#12230)
3143
32757648
GM
31442012-08-20 Glenn Morris <rgm@gnu.org>
3145
3146 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3147 * calendar/holidays.el (calendar-holiday-list):
3148 Report errors with display-warning rather than beep'n'sleep.
3149
a32fbbcf
MA
31502012-08-20 Michael Albinus <michael.albinus@gmx.de>
3151
3152 * net/tramp.el (tramp-accept-process-output): Accept only output
3153 from PROC. Otherwise, process filters and sentinels might be
3154 confused. (Bug#12145)
3155
a05731a0
CY
31562012-08-20 Chong Yidong <cyd@gnu.org>
3157
3158 * descr-text.el (describe-text-properties-1): Use overlays-in to
3159 report on empty overlays (Bug#3322).
3160
36e8d1eb
GM
31612012-08-20 Glenn Morris <rgm@gnu.org>
3162
3d300447
GM
3163 * mail/rmailout.el (rmail-output-read-file-name):
3164 Trap and report errors in rmail-output-file-alist elements.
3165
36e8d1eb
GM
3166 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3167 since most non-font-lock faces are not also variables).
3168
b96e5814
ER
31692012-08-20 Edward Reingold <reingold@iit.edu>
3170
3171 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3172 New function. (Bug12160)
3173
7cef3569
GM
31742012-08-19 Glenn Morris <rgm@gnu.org>
3175
3176 * mail/rmailout.el (rmail-output-read-file-name):
3177 Fix previous change (when the alist is nil or does not match).
3178
17975d7f
CY
31792012-08-19 Chong Yidong <cyd@gnu.org>
3180
3181 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3182 (Bug#12228).
3183
2170b1bd
CY
31842012-08-18 Chong Yidong <cyd@gnu.org>
3185
3186 * simple.el (yank-handled-properties): New defcustom.
3187 (yank-excluded-properties): Add font-lock-face and category.
3188 (yank): Doc fix.
3189
9fba804b
SM
3190 * subr.el (remove-yank-excluded-properties):
3191 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3192 and category is now done this way, instead of being hard-coded.
3193 (insert-for-yank-1): Remove font-lock-face handling.
3194 (yank-handle-font-lock-face-property)
3195 (yank-handle-category-property): New function.
3196
ee218151
GM
31972012-08-17 Glenn Morris <rgm@gnu.org>
3198
3199 * mail/rmailout.el (rmail-output-read-file-name):
3200 Check rmail-output-file-alist against the full message body
3201 in the correct rmail buffer. (Bug#12214)
3202
4a6bc3fd
MA
32032012-08-17 Michael Albinus <michael.albinus@gmx.de>
3204
9fba804b
SM
3205 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3206 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3207
383dcbf9
CY
32082012-08-17 Chong Yidong <cyd@gnu.org>
3209
3210 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3211 font spec, set the font directly (Bug#3228).
3212
998c4a6a
MR
32132012-08-17 Martin Rudalics <rudalics@gmx.at>
3214
3215 * window.el (delete-window): Fix last fix.
3216
52162052
MR
32172012-08-16 Martin Rudalics <rudalics@gmx.at>
3218
3219 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3220 (window-child, window-child-count, window-last-child)
3221 (window-normalize-window, window-combined-p)
3222 (window-combinations, window-atom-root, window-min-size)
3223 (window-sizable, window-sizable-p, window-size-fixed-p)
3224 (window-min-delta, window-max-delta, window--resizable)
3225 (window--resizable-p, window-resizable, window-total-size)
3226 (window-full-height-p, window-full-width-p, window-body-size)
3227 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3228 (minimize-window, window-deletable-p, delete-window)
3229 (delete-other-windows, set-window-buffer-start-and-point)
3230 (next-buffer, previous-buffer, split-window, balance-windows-2)
3231 (set-window-text-height, window-buffer-height)
3232 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3233 (truncated-partial-width-window-p): Minor code adjustments.
3234 In doc-strings state whether the argument window has to denote a
85c2386b 3235 live, valid or any window.
52162052 3236
1c308380
PS
32372012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3238
3239 * progmodes/subword.el (subword-forward-function)
3240 (subword-backward-function, subword-forward-regexp)
3241 (subword-backward-regexp): New variables.
3242 (subword-forward, subword-forward-internal, subword-backward-internal):
3243 Use new variables, eg so that different "word" definitions
3244 can be easily used. (Bug#11411)
3245
94c9ece1
SM
32462012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3249 for composite selectors.
3250 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3251 operation just because we can't find a previous revision.
3252
f2045622
CY
32532012-08-15 Chong Yidong <cyd@gnu.org>
3254
3255 * frame.el (set-frame-font): Accept font objects.
3256
582db660
SM
32572012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3260
2f29c200
WJ
32612012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3262
456e62c2
WJ
3263 * man.el (Man-overstrike-face, Man-underline-face)
3264 (Man-reverse-face): Remove variables.
3265 (Man-overstrike, Man-underline, Man-reverse): New faces.
3266 (Man-fontify-manpage): Use them instead of the variables.
3267 (Man-cleanup-manpage): Comment change.
3268 (Man-ansi-color-map): New variable.
3269 (Man-fontify-manpage): Use it.
3270 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3271
2f29c200
WJ
3272 Implement ANSI SGR parameters 22-27 (bug#12146).
3273 * ansi-color.el (ansi-colors): Doc fix.
3274 (ansi-color-context, ansi-color-context-region): Doc fix.
3275 (ansi-color--find-face): New function.
3276 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3277 Rename the local variable `face' to `codes' since it is now a list of
3278 ansi codes. Doc fix.
3279 (ansi-color-get-face): Remove.
3280 (ansi-color-parse-sequence): New function, derived from
3281 ansi-color-get-face.
3282 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3283 codes 22-27.
3284
b4f5e9df
SM
32852012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * subr.el (read-passwd): Allow use from a minibuffer.
3288
ba025fbd
EZ
32892012-08-14 Eli Zaretskii <eliz@gnu.org>
3290
3291 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3292 inside comments and strings as identifiers.
3293
3294 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3295 expression to evaluate. This allows to evaluate expressions with
3296 embedded whitespace.
3297 (gud-tooltip-tips): Add a blank before the newline in the
3298 message-box text, for the benefit of message-box emulation on
3299 MS-Windows.
3300
3301 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3302 messages from GDB, pop them up in a tooltip to give feedback to
3303 user.
b4f5e9df
SM
3304 (gdb-tooltip-print-1): Quote the expression to evaluate.
3305 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3306 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3307 if the TTY name is nil or empty (which happens when communicating
3308 with the inferior via pipes, e.g. on MS-Windows).
3309 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3310 don't send that to the GUD buffer.
3311
c548f821
GM
33122012-08-14 Glenn Morris <rgm@gnu.org>
3313
3314 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3315 Optimize away setq-default with no args, as for setq. (Bug#12195)
3316
55802e4a
CY
33172012-08-14 Chong Yidong <cyd@gnu.org>
3318
4abcdac8
CY
3319 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3320
55802e4a
CY
3321 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3322 (Bug#12085).
3323
3c3cda1a
GM
33242012-08-14 Glenn Morris <rgm@gnu.org>
3325
3326 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3327
e1873bd0
MA
33282012-08-14 Michael Albinus <michael.albinus@gmx.de>
3329
3330 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3331 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3332 Use cached shell name.
3333
925411b4
FEG
33342012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3335
3336 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3337 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3338
e636fafe
DG
33392012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3340
3341 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3342 (ruby-percent-literal-beg-re): New constant.
3343 (ruby-syntax-general-delimiters-goto-beg): Rename to
3344 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3345 (ruby-syntax-propertize-general-delimiters): Rename to
3346 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3347 popular term. Adjust comments everywhere.
3348 (ruby-syntax-propertize-percent-literal): Only propertize when not
3349 inside a simple string or comment. When the literal is unclosed,
3350 leave the text after it unpropertized.
f063063a
DG
3351 (ruby-syntax-methods-before-regexp): New constant.
3352 (ruby-syntax-propertize-function): Use it to recognize regexps.
3353 Don't look at the text after regexp, just use the whitelist.
e636fafe 3354
e5b19827
AS
33552012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3356
3357 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3358 non-nil always load the compiled file if it exists. (Bug#12197)
3359
a9f6f311
CY
33602012-08-14 Chong Yidong <cyd@gnu.org>
3361
3362 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3363 (hi-lock-set-pattern): When deciding whether to use font lock or
3364 overlays, look at font-lock-mode instead of font-lock-fontified
3365 (Bug#12168).
3366 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3367 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3368
7d806b1e
DU
33692012-08-14 Daiki Ueno <ueno@unixuser.org>
3370
3371 * subr.el (internal--after-with-selected-window): Fix typo
3372 (Bug#12193).
3373
5beed586
FEG
33742012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3375
3376 Use `completion-table-dynamic' for completion functions.
3377 * progmodes/python.el
3378 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3379 (python-shell-completion--get-completions):
3380 Remove functions.
5beed586
FEG
3381 (python-shell-completion-complete-at-point): New function.
3382 (python-completion-complete-at-point): Use it.
3383
92cb3b04
J
33842012-08-13 Jambunathan K <kjambunathan@gmail.com>
3385
3386 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3387 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3388
89660017
SM
33892012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3c98c962
SM
3391 * subr.el (function-get): Refine `autoload' arg so it can also
3392 autoload functions for gv.el (bug#12191).
3393 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3394 autoloads macros.
3395
aa7c6dbe
SM
3396 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3397 Prefer pcase-let over destructuring-bind.
3398 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3399 Also, remove whitespace as we go, rather than after accumulating the
3400 various places.
3401
89660017
SM
3402 * subr.el (internal--before-with-selected-window)
3403 (internal--after-with-selected-window): Fix typo seleted->selected.
3404 (with-selected-window): Adjust callers.
3405 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3406
31cd32c9
BG
34072012-08-13 Bastien Guerry <bzg@gnu.org>
3408
0fcd3d9f 3409 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3410 enhancement. (Bug#12172)
3411
1b15d8ad
AS
34122012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3413
31e54db0
AS
3414 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3415 type 1-6.
3416 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3417 extended headers.
3418
1b15d8ad
AS
3419 * files.el (hack-local-variables-filter): Remove useless eval.
3420
35cb9c06
MR
34212012-08-13 Martin Rudalics <rudalics@gmx.at>
3422
3423 * subr.el (with-selected-window): Fix last change.
3424
1439443b
SM
34252012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3426
3427 * subr.el (internal--before-with-seleted-window)
3428 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3429 (with-selected-window): Use them, to replace dependency on
3430 tty-top-frame.
1439443b 3431
0d9e2599
NN
34322012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3433
3434 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3435 binding for `newline'.
3436 (ruby-move-to-block): When moving backward, stop at block opening,
3437 not indentation.
3438 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3439 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3440 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3441 `ruby-toggle-block'.
3442
ba10c48c
SM
34432012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3444
3445 * ibuffer.el (ibuffer-do-toggle-read-only):
3446 * dired.el (dired-toggle-read-only):
3447 * buff-menu.el (Buffer-menu-toggle-read-only):
3448 * bindings.el (mode-line-toggle-read-only):
3449 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3450
9229c658
AS
34512012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3452
3453 * descr-text.el (describe-char): Put the overlays over the
3454 "displayed as" character.
3455
0fd09128
JB
34562012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3457
3458 * calc/calc-units.el (math-default-units-table): Give an
3459 initial value.
3460 (math-put-default-units): Add options to put composite units and
3461 unit systems in the default units table.
3462 (calc-convert-units): Send composite units to
3463 `math-put-default-units' when appropriate.
3464
9ff9402d 34652012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3466
fbb5e336
GM
3467 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3468
7aacaf15
GM
3469 * tutorial.el (help-with-tutorial):
3470 * emacs-lisp/copyright.el (copyright-update-directory):
3471 * emacs-lisp/autoload.el (autoload-find-generated-file)
3472 (autoload-find-file): Disable local eval: (for insurance).
3473
f40b9f10
GM
3474 * files.el (hack-local-variables-filter): If an eval: form is not
3475 known to be safe, and enable-local-variables is :safe, then ignore
3476 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3477 This is CVE-2012-3479.
f40b9f10 3478
daa9f1a6
SM
34792012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3482 (rx-form): Simplify.
3483
9cd80478
DG
34842012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3485
0d9e2599
NN
3486 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3487 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3488 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3489 (ruby-syntax-propertize-function): Adjust for changes in
3490 `ruby-syntax-propertize-heredoc'.
3491
34922012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3493
9cd80478
DG
3494 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3495 binding (use `M-;' instead).
9cd80478 3496 (ruby-singleton-class-p): New function.
0d9e2599 3497 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3498
d301b413
SM
34992012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3502
1530c98e
CY
35032012-08-10 Chong Yidong <cyd@gnu.org>
3504
3505 * progmodes/python.el (python-shell-get-process-name): Don't mess
3506 with same-window-buffer-names.
3507
3508 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3509 (eshell-remove-from-window-buffer-names): Make obsolete.
3510 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3511 (eshell): Just use pop-to-buffer-same-window instead.
3512
e1293765
CY
35132012-08-10 Chong Yidong <cyd@gnu.org>
3514
3515 * bindings.el: Bind M-= back to count-words-region.
3516
3517 * simple.el (count-words-region): Accept a prefix arg for acting
3518 on the entire buffer.
3519 (count-words--buffer-message): New helper function.
3520
e1894109
SM
35212012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3524 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3525 (event-start, event-end): Use posn-at-point to return a more
3526 informative posn.
3527 (posnp): New function.
3528 * mouse.el (popup-menu-normalize-position): Use it.
3529
c69f56a2
MY
35302012-08-10 Masatake YAMATO <yamato@redhat.com>
3531
3532 * mouse.el (popup-menu-normalize-position): New function.
3533 (popup-menu): Use `popup-menu-normalize-position' to normalize
3534 the form for POSITION argument.
3535
3536 * term/x-win.el (x-menu-bar-open):
3537 Use the value returend from (posn-at-point) as position
3538 passed to `popup-menu'.
3539
31673780
JB
35402012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3541
3542 * calc/calccomp.el (math-compose-expr): Add extra argument
3543 indicating that parentheses should be put around products in
3544 denominators. Give multiplication precedence over division during
3545 composition.
3546
dab7711b
CY
35472012-08-09 Chong Yidong <cyd@gnu.org>
3548
dee4ef93
CY
3549 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3550 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3551 (Man-untabify-command, manual-program): Convert to defcustom
3552 (Bug#10429).
3553
73e2bbc5
CY
3554 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3555
3e861c8a
CY
3556 * descr-text.el (describe-char): Don't insert extra newlines
3557 (Bug#10127).
3558
a9f5a649
CY
3559 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3560 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3561
dab7711b
CY
3562 * align.el (align-region): Delete temporary markers (Bug#10047).
3563 Plus some code cleanups.
3564
e0cc4efa
FEG
35652012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3566
3567 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3568 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3569 (python-shell-internal-last-output): Use make-local-variable
3570 instead of make-variable-buffer-local.
3571
489af14f
FEG
35722012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3573
3574 * progmodes/python.el: Enhancements to forward-sexp.
3575 (python-nav-forward-sexp): Rename from
3576 python-nav-forward-sexp-function.
c69f56a2
MY
3577 (python-nav--forward-sexp, python-nav--backward-sexp):
3578 New functions.
489af14f 3579
0fc50303
JB
35802012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3581
3582 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3583 modes and simplification modes.
3584
5d65606a
SM
35852012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * delsel.el (delete-selection-pre-hook): Don't propagate the
3588 file-supersession signals (bug#12161).
3589
4250fdf5
SM
35902012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3593 (cl-map-extents): Add compatibility aliases (bug#12135).
3594
d9f9b465
MA
35952012-08-08 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3598 tests by `ignore-error'.
3599 (tramp-find-shell): Open also a new shell, when cache is already
3600 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3601
ce0fcefa
JL
36022012-08-08 Juri Linkov <juri@jurta.org>
3603
3604 * bookmark.el: Add `defaults' property to the bookmark record.
3605 (bookmark-current-buffer): Doc fix.
3606 (bookmark-make-record): Add `defaults' property with default values
3607 to the bookmark record.
3608 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3609 with `bookmark-insert-current-bookmark'.
3610 (bookmark-set): Get `defaults' property from the bookmark record
3611 and use it in `read-from-minibuffer'.
3612 (bookmark-insert-current-bookmark): Remove function.
3613
3614 * info.el (Info-bookmark-make-record): Add `defaults' property
3615 with values of canonical Info node name, the current Info file
3616 name and the current Info node name. (Bug#12107)
3617
53fa8652
JL
36182012-08-08 Juri Linkov <juri@jurta.org>
3619
3620 * files.el (basic-save-buffer): Use `buffer-name' as the default
3621 of `read-file-name' when buffer is not visiting a file (bug#12128).
3622
242c0a95
JL
36232012-08-08 Juri Linkov <juri@jurta.org>
3624
3625 * info.el (Info-isearch-search): Doc fix.
3626 (Info-search): Change search-failed message from "initial node" to
3627 "end of node" (bug#12078).
3628 (Info-isearch-search): Change `isearch-string-state' to
3629 `isearch--state-string'.
3630
32ac3a6b
GM
36312012-08-08 Glenn Morris <rgm@gnu.org>
3632
3633 * language/persian.el: Remove file.
f8c1afd5 3634 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3635 * loadup.el: Remove language/persian.
3636
2c2d9c9c
OF
36372012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3638
3639 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3640
2d79ec42
FEG
36412012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3642
3643 * progmodes/python.el Fixed defsubst warning.
3644 (python-syntax-context) Rename from python-info-ppss-context.
3645 (python-syntax-context-type): Rename from
3646 python-info-ppss-context-type.
3647 (python-syntax-comment-or-string-p): Rename from
3648 python-info-ppss-comment-or-string-p.
3649
2bd255dd
JB
36502012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3651
3652 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3653
c395097f
AS
36542012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3655
6125983e
AS
3656 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3657 a defcustom that is quoted with backquote.
3658
4250fdf5
SM
3659 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3660 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3661 (math-do-arg-check, math-define-function-body): Use backquote forms.
3662 * calc/calc-ext.el (math-defcache): Likewise.
3663 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3664 * allout.el (allout-new-exposure): Likewise.
3665 * calc/calcalg2.el (math-tracing-integral): Likewise.
3666 * info.el (Info-last-menu-item): Likewise.
3667 * emulation/vip.el (vip-loop): Likewise.
3668 * textmodes/artist.el (artist-funcall): Likewise.
3669 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3670 Construct menu-item directly.
3671
4250fdf5
SM
3672 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3673 Don't declare.
c395097f 3674
5fb50dd3
CY
36752012-08-07 Chong Yidong <cyd@gnu.org>
3676
3677 * simple.el (deactivate-mark): Preserve text properties when
3678 saving the primary selection (Bug#8384).
3679
54eea618
KR
36802012-08-07 Kevin Ryde <user42@zip.com.au>
3681
3682 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3683 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3684 and continue processing (Bug#12110).
3685
638eaeb9
SM
36862012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3689 syntax-propertize-function (bug#10095).
3690
ea376861
SM
36912012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3692
f91b35be
SM
3693 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3694 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3695 describe-function-1.
3696 (describe-function-1): Use them. Move compiler macro after sig.
3697 (help-fns--compiler-macro): Use function-get. Assume we're already in
3698 standard-output. Adjust layout to new call order.
3699
ea376861
SM
3700 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3701 re-binding a symbol that has a symbol-macro (bug#12119).
3702
d5be7bd0
MB
37032012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3704
3705 * language/persian.el: New file. (Bug#11812)
3706 * loadup.el: Add language/persian.el.
3707
90749b53
CY
37082012-08-06 Chong Yidong <cyd@gnu.org>
3709
3710 * window.el (window--maybe-raise-frame): New function.
3711 (window--display-buffer): Split off from here.
3712 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3713 (display-buffer-pop-up-window, display-buffer-use-some-window):
3714 Obey an inhibit-switch-frame action alist entry.
3715 (display-buffer): Update doc.
3716
3717 * replace.el (occur-after-change-function): Avoid losing focus by
3718 using the inhibit-switch-frame display parameter (Bug#12139).
3719
ba7b0154
FEG
37202012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3721
3722 Make internal shell process buffer names start with space.
3723 * progmodes/python.el (python-shell-make-comint): Add optional
3724 argument INTERNAL.
3725 (run-python-internal): Use it.
3726 (python-shell-internal-get-or-create-process): Check for new
3727 internal buffer names.
3728
5eaeacb5
GM
37292012-08-06 Glenn Morris <rgm@gnu.org>
3730
e296d94b 3731 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3732 Do less getting and setting of environment variables.
3733
b7ccbdc2
CY
37342012-08-05 Chong Yidong <cyd@gnu.org>
3735
777fe95e
CY
3736 * proced.el (proced): Add substitution string to docstring to
3737 trigger autoloading of the proced library on C-h f (Bug#1768).
3738
4250fdf5
SM
3739 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3740 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3741
3742 * imenu.el (imenu-generic-expression): Move documentation here
3743 from imenu--generic-function.
3744 (imenu--generic-function): Refer to imenu-generic-expression.
3745
9e3b7800 37462012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3747
3748 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3749 indentation declaration.
3750 (viper-loop): Add indentation declaration (Bug#7025).
3751
e5d9c0d1
CY
37522012-08-05 Chong Yidong <cyd@gnu.org>
3753
f0422feb
CY
3754 * help-fns.el (describe-variable): Add hyperlink for
3755 directory-local variables files. Improve buffer-local and
3756 permanent-local reporting; suggested by MON KEY (Bug#6644).
3757
3758 * help-mode.el (help-dir-local-var-def): New button type.
3759
e5d9c0d1
CY
3760 * files.el (kill-buffer-hook): Provide a defvar.
3761
a4f2deaa
GM
37622012-08-05 Glenn Morris <rgm@gnu.org>
3763
3764 * eshell/esh-ext.el (eshell/addpath):
3765 Also update eshell-path-env. (Bug#12013)
3766
a9dd5754
CY
37672012-08-05 Chong Yidong <cyd@gnu.org>
3768
a4f2deaa 3769 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3770
d014c740
CY
3771 * fringe.el (fringe-styles): Add docstring.
3772 (fringe--check-mode): New function.
3773 (set-fringe-mode, set-fringe-style): Use it.
3774 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3775
a9dd5754
CY
3776 * files.el (set-auto-mode): Fix invalid setq call.
3777
7c2dc8bd
SM
37782012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * isearch.el: Misc simplification; use defstruct.
3781 (isearch-mode-map): Dense maps now work like sparse ones.
3782 (isearch--state): New defstruct.
3783 (isearch-string-state, isearch-message-state, isearch-point-state)
3784 (isearch-success-state, isearch-forward-state)
3785 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3786 (isearch-wrapped-state, isearch-barrier-state)
3787 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3788 replaced by defstruct's accessors.
3789 (isearch--set-state): Rename from isearch-top-state and change
3790 calling convention.
3791 (isearch-push-state): Use new isearch--get-state.
3792 (isearch-toggle-word): Disable regexp when enabling word.
3793 (isearch-message-prefix): Remove unused arg _c-q-hack.
3794 (isearch-message-suffix): Remove unused arg _ellipsis.
3795
7fcc0070
AS
37962012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3797
3798 * simple.el (list-processes--refresh): For a server use :host or
3799 :local as the address.
97ad0769 3800 (list-processes): Doc fix.
7fcc0070 3801
a11035b8 38022012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3803
3804 * lisp/mpc.el: Support password in host argument.
3805 (mpc--proc-connect): Parse and use new password element.
3806 Set mpc-proc variable instead of returning process.
3807 (mpc-proc): Adjust accordingly.
3808
6dad7178
EZ
38092012-08-03 Eli Zaretskii <eliz@gnu.org>
3810
18949c2f
EZ
3811 * whitespace.el (whitespace-display-mappings): Use Unicode
3812 codepoints, instead of emacs-mule codepoints. See
3813 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3814 for the details.
3815
6dad7178
EZ
3816 * files.el (file-truename): Don't skip symlink-chasing part on
3817 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3818 Windows into the loop that recursively chases symlinks.
3819 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3820 MS-DOS.
3821
385b0198
CY
38222012-08-03 Chong Yidong <cyd@gnu.org>
3823
6200f3c4
CY
3824 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3825
385b0198
CY
3826 * sort.el (sort-regexp-fields): Doc fix.
3827
b9e74744
TH
38282012-08-03 Tassilo Horn <tsdh@gnu.org>
3829
3830 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3831 labels regex position point at the expected place.
3832
41013cb4
MK
38332012-08-03 MON KEY <monkey@sandpframing.com>
3834
3835 * net/imap.el (imap-interactive-login, imap-authenticate)
3836 (imap-mailbox-lsub, imap-mailbox-list)
3837 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3838 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3839 (imap-parse-response): Doc fix.
3840
0ffee616
JT
38412012-08-03 João Távora <joaotavora@gmail.com>
3842
3843 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3844 if sexp scanning does not move point (Bug#5734).
3845
cfcc9cc8
TH
38462012-08-02 Tassilo Horn <tsdh@gnu.org>
3847
3848 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3849 Add listings, minted, and ctable packages.
3850 (reftex-label-alist-builtin): Move listings, minted, and ctable
3851 entries before LaTeX.
a01bbb84 3852 (reftex-label-alist): Docfix.
cfcc9cc8 3853
66ec2442
BG
38542012-08-02 Bastien Guerry <bzg@gnu.org>
3855
3856 * replace.el (occur): Fix docstring (bug#12122).
3857
837b365b
GM
38582012-08-02 Glenn Morris <rgm@gnu.org>
3859
3860 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3861
e098de97
PE
38622012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3863
3864 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3865 * international/mule-cmds.el: Create
3866 inactivate-current-input-method-function as an obsolete alias for
3867 deactivate-current-input-method-function. See Katsumi Yamaoka in
3868 <http://bugs.gnu.org/10150#46>.
3869
a0f95636
JB
38702012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3871
3872 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3873 of nested `if's.
3874
0d26d7c4
GM
38752012-08-01 Glenn Morris <rgm@gnu.org>
3876
3877 * progmodes/autoconf.el (autoconf-definition-regexp):
3878 Add AH_TEMPLATE, adjust submatch numbering.
3879 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3880 (autoconf-current-defun-function): Update for above change.
3881 (autoconf-current-defun-function): First skip to end of current word.
3882
b686ba06
RS
38832012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3884
3885 * calendar/cal-html.el (cal-html-insert-agenda-days):
3886 Fix typo. (Bug#12018)
3887
0d49da68
FEG
38882012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3889
3890 Shell processes: enhancements to startup and CEDET compatibility.
3891 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3892 (python-shell-make-comint): accept-process-output at startup.
3893 (run-python-internal): Set inferior-python-mode-hook to nil.
3894 (python-shell-internal-get-or-create-process): call sit-for.
3895 (python-preoutput-result): Add obsolete alias.
3896 (python-shell-internal-send-string): Use it.
3897 (python-shell-send-setup-code): Remove call to
3898 accept-process-output.
3899
f1a71c6e
AS
39002012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3901
3902 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3903 (Bug#12108)
3904
d2605269
JB
39052012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3906
3907 * calc-mode.el (calc-basic-simplification-mode): Rename from
3908 `calc-limited-simplification-mode'.
3909 (calc-alg-simplification-mode): New function.
fc0c31f8 3910 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3911
d2605269
JB
3912 * calc.el (calc-set-mode-line): Adjust mode line display for
3913 basic simplification mode.
3914
3915 * calc-help.el (calc-m-prefix-help): Update help message.
3916
3917 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3918 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3919
a3827a43
BG
39202012-07-31 Bastien Guerry <bzg@gnu.org>
3921
3922 * man.el (man): Fix comment. (bug#12101)
3923
502e3f89
MR
39242012-07-31 Martin Rudalics <rudalics@gmx.at>
3925
3926 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3927 Don't return a non-nil value when no suitable buffer was found.
3928
d7714961
FEG
39292012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3930
3931 * progmodes/python.el (run-python-internal): Disable font lock for
3932 internal shells.
3933
1f45e27e
SM
39342012-07-30 Stefan Merten <smerten@oekonux.de>
3935
70efc5c9 3936 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3937 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3938 (rst-official-version, rst-official-cvs-rev)
3939 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3940 (rst-mode-map): New key binding.
3941
0aee6912
PE
39422012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3943
3944 Update .PHONY listings in makefiles.
3945 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3946 autoloads, update-subdirs, updates, bzr-update, update-authors,
3947 compile-onefile, compile-calc, backup-compiled-files,
3948 compile-after-backup, compile-one-process, mh-autoloads,
3949 bootstrap-clean, distclean, maintainer-clean.
3950
9052f9f0
JB
39512012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3952
1823ac5a
JB
3953 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3954 (calc-set-mode-line): Don't display "AlgSimp ".
3955
3956 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3957 (calc-lim-simplify-mode): New function.
3958 (calc-set-simplify-mode): Default to 'alg.
3959 (calc-default-simplify-mode): Make algebraic simplifications
3960 the default.
3961
3962 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3963 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3964
8d7c7eed 3965 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3966 indicate new simplification modes.
3967
1823ac5a
JB
3968 * calc/README: Mention new default simplification mode.
3969
9052f9f0
JB
3970 * calc/calc.el (math-normalize-error): New variable.
3971 (math-normalize): Set `math-normalize-error' to t
3972 when there's an error.
3973
3974 * calc/calc-alg.el (math-simplify): Don't simplify when
3975 `math-normalize' returns an error.
3976
20ba0cb4
EZ
39772012-07-29 Eli Zaretskii <eliz@gnu.org>
3978
3979 * international/mule-cmds.el (set-locale-environment): Revert last
3980 change, since display-graphic-p returns nil when this function is
3981 called during startup. Instead...
3982
3983 * term/w32console.el (terminal-init-w32console): ...setup the
3984 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3985
a5dcc929
JL
39862012-07-29 Juri Linkov <juri@jurta.org>
3987
3988 * simple.el (goto-line): Don't display default line number in the
3989 prompt because it should be displayed by `read-number' (bug#9952).
3990 Add the current line number to the defaults of `goto-line' to
3991 allow its easier modification by users with `M-n' (bug#9201).
3992
3993 * subr.el (read-number): Support multiple default values like in
3994 other minibuffer reading functions. Replace `read' with
3995 `string-to-number' for consistency with `number-to-string'.
3996
72b255c7
PE
39972012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3998
3999 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4000 * emulation/viper-init.el (viper-deactivate-input-method-action):
4001 Rename from viper-inactivate-input-method-action.
4002 (viper-deactivate-input-method):
4003 Rename from viper-inactivate-input-method.
4004 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4005 * international/mule-cmds.el (deactivate-input-method):
4006 Rename from inactivate-input-method.
4007 Also run input-method-deactivate-hook.
4008 (deactivate-current-input-method-function):
4009 Rename from inactivate-current-input-method-function.
4010 (input-method-deactivate-hook): New hook.
4011 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4012 (inactivate-input-method): Mark obsolete.
4013
72b255c7
PE
4014 * international/quail.el (quail-activate):
4015 Also run quail-deactivate-hook.
4016 (quail-deactivate): Rename from quail-inactivate.
4017 * international/robin.el (robin-activate):
4018 Also run robin-deactivate-hook.
4019 (robin-deactivate): Rename from robin-inactivate.
4020
2549c068
CY
40212012-07-29 Chong Yidong <cyd@gnu.org>
4022
4023 * simple.el (indicate-copied-region): New function.
4024 (kill-ring-save): Split off from here.
4025
4026 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4027 (kill-rectangle): Set deactivate-mark to t on read-only error.
4028
4029 * register.el (copy-to-register, copy-rectangle-to-register):
4030 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4031 (append-to-register, prepend-to-register): Call indicate-copied-region.
4032
40332012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4034
4035 * simple.el (async-shell-command-buffer): New defcustom.
4036 (shell-command): Use it. (Bug#4719)
4037
01bd1b0d
EZ
40382012-07-28 Eli Zaretskii <eliz@gnu.org>
4039
4040 * international/mule-cmds.el (set-locale-environment): In a
4041 console session on MS-Windows, set up keyboard and terminal
4042 encoding from the OEM codepage, not the ANSI codepage.
4043 (Bug#12055)
4044
a55739d3
CY
40452012-07-28 Chong Yidong <cyd@gnu.org>
4046
4047 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4048 gdb-get-location.
4049
0e1a094f 40502012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4051
4052 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4053 the alist (bug#12029).
4054
20329d73
EZ
40552012-07-28 Eli Zaretskii <eliz@gnu.org>
4056
4057 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4058 (compile-always, compile-first)
4059 ($(lisp)/calendar/cal-loaddefs.el)
4060 ($(lisp)/calendar/diary-loaddefs.el)
4061 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4062 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4063 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4064 instead of on update-subdirs.
4065 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4066
345a2258
CY
40672012-07-28 Chong Yidong <cyd@gnu.org>
4068
1eee6341
CY
4069 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4070 directory if vc-deduce-backend returns nil (Bug#7350).
4071
345a2258
CY
4072 * simple.el (delete-trailing-lines): New option.
4073 (delete-trailing-whitespace): Obey it (Bug#11879).
4074
049a0936
DE
40752012-07-28 David Engster <deng@randomsample.de>
4076
4077 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4078 Explanation of new 'symbol-qnames feature in doc-strings.
4079 (xml-maybe-do-ns): Return expanded names as plain symbols if
4080 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4081 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4082
aa81af71
FEG
40832012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4084
4085 Consistent completion in inferior python with emacs -nw.
4086 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4087 binding in inferior-python-mode-map with "\t".
4088 (python-shell-completion-complete-at-point)
4089 (python-completion-complete-at-point): Remove interactive spec.
4090
e827b1eb
JB
40912012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4092
4093 * calc/calccomp.el (math-compose-expr): Undo previous change.
4094
a90dfb95
FEG
40952012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4096
4250fdf5 4097 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4098 run-python.
4099 (python-shell-make-comint): Fix pop-to-buffer call.
4100 (run-python): Autoload. New arg SHOW.
4101 (python-shell-get-or-create-process): Do not pop python process
4102 buffer.
4103
32770973 41042012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4105
4106 * notifications.el (notifications-on-action-signal)
4107 (notifications-on-closed-signal): Use also the bus address for the map.
4108 (notifications-notify, notifications-close-notification)
fc0c31f8 4109 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4110
86332df2
TH
41112012-07-27 Tassilo Horn <tsdh@gnu.org>
4112
4250fdf5
SM
4113 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4114 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4115 ctable macro.
4116 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4117 labels written in keyvals syntax.
4118
ca1302a4
JB
41192012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4120
4121 * calc/calccomp.el (math-compose-expr): Use parentheses when
4122 there is a product in the denominator of a fraction.
4123
f8b91036
EZ
41242012-07-26 Eli Zaretskii <eliz@gnu.org>
4125
4126 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4127 ($(lisp)/calendar/diary-loaddefs.el)
4128 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4129 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4130 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4131 rewritten while the autoload files are built at the same time,
4132 which needs to load subdirs.el.
4133
c8e5a42c
MR
41342012-07-26 Martin Rudalics <rudalics@gmx.at>
4135
4136 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4137 (mouse-drag-line): Don't exit tracking when a switch-frame or
4138 switch-window event occurs (Bug#12006).
4139
670d85ea
SM
41402012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * mouse.el (popup-menu): Fix last change.
4143
7abaf5cc
SM
41442012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 Autoload from Lisp with more care. Follow aliases when looking for
4147 function properties.
4148 * subr.el (autoloadp): New function.
4149 (symbol-file): Use it.
4150 (function-get): New function.
4151 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4152 autoload-do-load.
4153 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4154 (lisp-indent-function):
4155 * emacs-lisp/gv.el (gv-get):
4156 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4157 * emacs-lisp/byte-opt.el (byte-optimize-form):
4158 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4159 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4160 Use function-get.
4161 * emacs-lisp/cl.el: Don't propagate function properties any more.
4162
4163 * speedbar.el (speedbar-add-localized-speedbar-support):
4164 * emacs-lisp/disass.el (disassemble-internal):
4165 * desktop.el (desktop-load-file):
4166 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4167 (describe-function-1):
4168 * emacs-lisp/find-func.el (find-function-noselect):
4169 * emacs-lisp/elp.el (elp-instrument-function):
4170 * emacs-lisp/advice.el (ad-has-proper-definition):
4171 * apropos.el (apropos-safe-documentation, apropos-macrop):
4172 * emacs-lisp/debug.el (debug-on-entry):
4173 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4174 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4175 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4176
b1364986
AA
41772012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4178
4179 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4180 function, not an obsolete variable (Bug#12046).
4181
67ada220
AS
41822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4183
4184 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4185
f08088e3
CS
41862012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4187
4188 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4189 window only if it is still live (Bug#12034).
4190
8137e7b3
MR
41912012-07-25 Martin Rudalics <rudalics@gmx.at>
4192
4193 * subr.el (redirect-frame-focus): Add advertised calling
4194 convention (Bug#12030).
4195
09ae5da1
PE
41962012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4197
4198 Prefer typical American spelling for "acknowledgment".
4199 * vc/add-log.el (change-log-acknowledgment): Rename from
4200 change-log-acknowledgement, with an alias for the old name.
4201
3cc5a3a8
JB
42022012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4203
4204 * calc-alg.el (math-simplify-divide): Don't cross multiply
4205 in an equation when the lhs is a variable.
4206
b7af7f62
JD
42072012-07-24 Julien Danjou <julien@danjou.info>
4208
4209 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4210 Remove, unused.
4211
ec1b09b1
EZ
42122012-07-23 Eli Zaretskii <eliz@gnu.org>
4213
4214 * startup.el (command-line): Don't display an empty user name in
4215 the error message about non-existent home directory, when
4216 init-file-user was set to an empty string. See
4217 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4218 for the details and context.
4219
b525fd8a
VB
42202012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4221
4222 * ses.el (ses-cell-formula-aset): New macro.
4223 (ses-cell-references-aset): New macro.
4224 (ses-cell-p): New function.
4225 (ses-rename-cell): Do no longer rely on complex operations like
4226 ses-cell-set-formula or ses-set-cell to change the cell and handle
4227 the undo at the same time, but rather use lower level new macros
4228 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4229 the undo directly. Refresh the mode line.
b525fd8a 4230
2c73e345
LL
42312012-07-21 Leo Liu <sdl.web@gmail.com>
4232
670d85ea
SM
4233 * progmodes/cc-cmds.el (c-defun-name):
4234 Use match-string-no-properties instead for consistency.
2c73e345 4235
542dfbde
LL
42362012-07-20 Leo Liu <sdl.web@gmail.com>
4237
3646bcd6
LL
4238 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4239 (Bug#7879)
4240
542dfbde
LL
4241 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4242
25721031
CY
42432012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4246 * progmodes/bug-reference.el, misearch.el: Provide themselves
4247 (bug#11915).
4248
4249 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4250 of narrowed buffer (bug#11966).
4251
316e68a7
VB
42522012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4253
4254 * ses.el (ses-rename-cell): Set new name also in reference list of
4255 cells of which the renamed cell depends.
4256
bbf0e7d9
MY
42572012-07-20 Masatake YAMATO <yamato@redhat.com>
4258
4259 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4260 to check whether menu-bar is shown or not. If not shown,
4261 show the menu-bar as a popup menu instead of using tmm.
4262 * mouse.el (popup-menu): Accept `point' as `position' argument.
4263
c28662a8
DG
42642012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4265
4266 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4267 up inside string symbol literal (bug#11923).
4268
87ab808f
EZ
42692012-07-20 Eli Zaretskii <eliz@gnu.org>
4270
4271 * startup.el (fancy-startup-text): Read the whole tutorial, not
4272 just its first 256 bytes. Prevents gibberish in display of the
4273 tutorial title.
4274
89dea803
DA
42752012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4276
4277 Drop idle buffer compaction due to an absence of the
4278 proved efficiency.
4279 * compact.el: Remove.
4280
8a4e6db8
SS
42812012-07-19 Sam Steingold <sds@gnu.org>
4282
4283 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4284 vc-bzr-pull & vc-bzr-merge-branch.
4285 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4286 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4287 for consistency with compilation-error-regexp-alist.
4288 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4289 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4290 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4291 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4292
5db81e33
SM
42932012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * emacs-lisp/chart.el: Use lexical-binding.
4296 (chart-emacs-storage): Don't hardcode the list of entries.
4297
5b835e1d
DA
42982012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4299
4300 Next round of tweaks caused by Fgarbage_collect changes.
4301 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4302
9cd47b72
DA
43032012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4304
4305 Compact buffers when idle.
4306 * compact.el: New file.
4307
1d6fc0df
SM
43082012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * subr.el (eventp): Presume that if it looks vaguely like an event,
4311 it's an event (bug#10190).
4312
1d29cc7d
FEG
43132012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4314
4315 Enhancements to ppss related code (thanks Stefan).
4316 * progmodes/python.el (python-indent-context)
4317 (python-indent-calculate-indentation, python-indent-dedent-line)
4318 (python-indent-electric-colon, python-nav-forward-block)
4319 (python-mode-abbrev-table)
1d6fc0df 4320 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4321 for ppss context.
4322 (python-info-continuation-line-p): Cleanup.
4323 (python-info-ppss-context): Do not catch 'quote.
4324 (python-info-ppss-context-type)
4325 (python-info-ppss-comment-or-string-p): Simplify.
4326
d583cbe6
FEG
43272012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4328
4329 * progmodes/python.el: Enhancements to eldoc support.
4330 (python-info-current-symbol): New function.
4331 (python-eldoc-at-point): Use python-info-current-symbol.
4332 (python-info-current-defun): Fix cornercase on first defun scan.
4333 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4334 and signal error when no inferior python process is available.
4335
eceb6feb
DG
43362012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4337
4338 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4339 assume it's always t.
4340 (vc-git-registered): Remove caching, the function is only called
4341 once.
4342 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4343
4c8ff0fe
CY
43442012-07-18 Chong Yidong <cyd@gnu.org>
4345
19fb7186
CY
4346 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4347
9587c688
CY
4348 * simple.el (count-words): Report on narrowing (Bug#9959).
4349
0fe776a1
CY
4350 * bindings.el: Bind M-= to count-words.
4351
4c8ff0fe
CY
4352 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4353
7f5331cc
MY
43542012-07-18 Masatake YAMATO <yamato@redhat.com>
4355
4356 * progmodes/sh-script.el (sh-imenu-generic-expression):
4357 Capture a function with `function' keyword and without parentheses
4358 like "function FOO" (bug#11856).
4359
2dc2a609
TH
43602012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4361
4362 * window.el (split-window-sensibly): Make WINDOW argument
4363 optional.
4364
439f7677
CY
43652012-07-18 Chong Yidong <cyd@gnu.org>
4366
9aeb25a6
CY
4367 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4368
439f7677
CY
4369 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4370 and make C-x 8 RET exit isearch (Bug#11439).
4371
4372 * international/iso-transl.el: Move isearch-mode-map key
4373 definitions to isearch.el.
4374
12999ea8
SM
43752012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4378 (eieio-defclass): Use gv-define-setter when possible.
4379
3ab6e069
DA
43802012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4381
4382 Reflect recent changes in Fgarbage_collect.
4383 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4384 reflect new format of data returned by Fgarbage_collect.
4385
0a60bc10
FEG
43862012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4387
4388 New utility functions + python-info-ppss-context fix (Bug#11910).
4389 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4390 (python-info-ppss-comment-or-string-p): New functions.
4391 (python-info-ppss-context): Small fix for string check.
4392
6dafa0d5
JL
43932012-07-17 Juri Linkov <juri@jurta.org>
4394
4395 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4396 (dired-do-async-shell-command): Don't add `*' at the end of the
4397 command (Bug#11815).
4398 (dired-do-shell-command): Doc fix.
4399 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4400 Join the individual commands using either "&" or ";" as the
4401 separator depending on the values of these trailing characters.
4402 At the end re-add the trailing "&". (Bug#10598)
4403
4404 * simple.el (async-shell-command): Sync the interactive spec with
4405 `shell-command'. Doc fix.
4406 (shell-command): Doc fix.
4407
b19dd9d1
JL
44082012-07-17 Juri Linkov <juri@jurta.org>
4409
4410 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4411
bcdc27d7 44122012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4413
bcdc27d7 4414 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4415 * progmodes/python.el (python-nav-beginning-of-statement):
4416 Rename from python-nav-statement-start.
bcdc27d7
FEG
4417 (python-nav-end-of-statement): Rename from
4418 python-nav-statement-end.
4419 (python-nav-beginning-of-block): Rename from
4420 python-nav-block-start.
4421 (python-nav-end-of-block): Rename from python-nav-block-end.
4422
191da00e
FEG
44232012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4424
7f5331cc
MY
4425 * progmodes/python.el (python-shell-send-string-no-output):
4426 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4427 future interactions (Bug#11868).
4428
4dc7c8d5 44292012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4430
88ecaf8f
SM
4431 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4432
ef501ef0
SM
4433 * emacs-lisp/elint.el (elint-find-args-in-code):
4434 Use help-function-arglist, so as to handle lexical byte-code.
4435
aa7aaf8f
SM
4436 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4437 change (bug#11826).
4438
45fd731c
SM
44392012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4440
2143fa32
SM
4441 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4442 Avoid spuriously marking the buffer as modified because of c-is-sws.
4443
efc26dbe
SM
4444 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4445 as not-a-comment (bug#11946).
4446
f5695c9a
SM
4447 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4448 for uninterned vars.
4449
4450 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4451 Use read-event since we don't really want to read chars but bytes.
4452
45fd731c
SM
4453 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4454 $$..$$ but also $..$ using regexps (bug#11953).
4455 Use tex-verbatim for \url and \path.
4456 (tex-font-lock-keywords): Define as defconst like the others.
4457 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4458
ddfc8813
RK
44592012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4460
4461 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4462 alias for insert-char.
4463
758e556a
FEG
44642012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4465
4466 * progmodes/python.el: Simplified imenu implementation.
4467 (python-nav-jump-to-defun): Remove command.
4468 (python-mode-map): Use `imenu' instead.
4469 (python-nav-list-defun-positions-cache)
4470 (python-imenu-include-defun-type, python-imenu-make-tree)
4471 (python-imenu-subtree-root-label, python-imenu-index-alist):
4472 Remove vars.
4473 (python-nav-list-defun-positions, python-nav-read-defun)
4474 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4475 (python-imenu-make-tree, python-imenu-create-index):
4476 Remove functions.
758e556a
FEG
4477 (python-mode): Update to interact with imenu by setting
4478 `imenu-extract-index-name-function' only.
4479
032d23ab
FEG
44802012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4481
4482 * progmodes/python.el: Enhancements to navigation commands.
4483 (python-nav-backward-sentence)
4484 (python-nav-forward-sentence): Remove.
4485 (python-nav-backward-statement, python-nav-forward-statement)
4486 (python-nav-statement-start, python-nav-statement-end)
4487 (python-nav-backward-block, python-nav-forward-block)
4488 (python-nav-block-start, python-nav-block-end)
4489 (python-nav-forward-sexp-function)
4490 (python-info-current-line-comment-p)
4491 (python-info-current-line-empty-p): New functions.
4492 (python-indent-context): Use `python-nav-statement-start'.
4493
01795a1b
MA
44942012-07-16 Michael Albinus <michael.albinus@gmx.de>
4495
9328d9aa
MA
4496 * eshell/em-ls.el (eshell/ls): Use `apply'.
4497
4498 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4499 multi-hops, instead of Tramp internals.
4500
01795a1b
MA
4501 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4502
4503 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4504 when F1 and F2 are located on different hosts.
4505
63408057
CY
45062012-07-14 Chong Yidong <cyd@gnu.org>
4507
4508 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4509 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4510 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4511 (xterm-mouse--read-event-sequence-1000)
4512 (xterm-mouse--read-event-sequence-1006): New functions. For old
4513 mouse protocol, handle M-mouse-X events correctly.
4514 (xterm-mouse-event): New arg specifying mouse protocol.
4515 (turn-on-xterm-mouse-tracking-on-terminal)
4516 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4517 sequence to toggle extended coordinates on newer XTerms.
4518 This appears to be harmless on terminals which do not support this.
63408057 4519
cd276f6e
LL
45202012-07-14 Leo Liu <sdl.web@gmail.com>
4521
28ca98ac
LL
4522 Add fringe bitmap indicators for flymake. (Bug#11253)
4523 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4524 (flymake-make-overlay): New arg BITMAP.
4525 (flymake-error-bitmap, flymake-warning-bitmap)
4526 (flymake-fringe-indicator-position): New user variables.
4527
cd276f6e
LL
4528 * fringe.el: New bitmap exclamation-mark.
4529
04408072
JD
45302012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4531
4532 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4533 also (Bug#7879).
4534
b5cf7fc4
CY
45352012-07-14 Chong Yidong <cyd@gnu.org>
4536
4537 * electric.el (electric-pair-post-self-insert-function): Fix pair
4538 insertion in empty-region case (Bug#11520).
4539
be755c79
RT
45402012-07-14 Chong Yidong <cyd@gnu.org>
4541
45fd731c
SM
4542 * bindings.el: Consolidate ctl-x-r-map bindings.
4543 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4544
4545 * rect.el, register.el: Move bindings to bindings.el.
4546
45472012-07-14 Reuben Thomas <rrt@sc3d.org>
4548
4549 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4550
7f5b3198
AS
45512012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4552
4553 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4554
97662200
JB
45552012-07-13 Juanma Barranquero <lekktu@gmail.com>
4556
80185fed
JB
4557 * bindings.el (top): Use `mapc' instead of `mapcar'.
4558
97662200
JB
4559 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4560
2bb1ae55
MA
45612012-07-13 Michael Albinus <michael.albinus@gmx.de>
4562
4563 * progmodes/sql.el (sql-comint): Suppress the check for program on
4564 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4565 (Bug#11908)
4566
dea31bd3
CY
45672012-07-13 Chong Yidong <cyd@gnu.org>
4568
4569 * bindings.el: Assign a non-nil permanent-local property to
4570 per-buffer variables which lack a default value (Bug#11930).
4571
4572 * help-fns.el (describe-variable): In the "automatically becomes
4573 local" notice, take note of permanent-local variables.
4574
b68b3337
CY
45752012-07-13 Chong Yidong <cyd@gnu.org>
4576
4577 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4578 to allow printing the message when called from Lisp.
4579
4580 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4581 Remove toggle-read-only.
4582
4583 * bs.el (bs-toggle-readonly):
45fd731c
SM
4584 * buff-menu.el (Buffer-menu-toggle-read-only):
4585 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4586
4587 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4588 Remove with-no-warnings around toggle-read-only.
4589 (ffap-read-only, ffap-read-only-other-window)
4590 (ffap-read-only-other-frame): Callers changed.
4591
4592 * help-mode.el: Don't require view package.
4593 (help-mode-finish): Set buffer-read-only instead of calling
4594 toggle-read-only.
4595
4596 * bindings.el (mode-line-toggle-read-only):
4597 * dired.el (dired-toggle-read-only):
4598 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4599 with non-nil second arg.
4600
4601 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4602 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4603 directly.
4604
56bc1586
EZ
46052012-07-12 Eli Zaretskii <eliz@gnu.org>
4606
4607 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4608 not incf.
4609
a464a6c7
SM
46102012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 More CL cleanups and reduction of use of cl.el.
4613 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4614 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4615 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4616 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4617 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4618 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4619 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4620 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4621 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4622 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4623 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4624 * eshell/em-cmpl.el, eshell/em-banner.el:
4625 * calendar/parse-time.el: Use cl-lib.
4626 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4627 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4628 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4629 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4630 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4631 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4632 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4633 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4634 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4635 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4636 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4637 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4638 `lambda' rather than with `quote'.
4639 (eshell-do-opt): Adjust accordingly.
4640 (eshell-process-option): Simplify.
4641 * eshell/esh-var.el:
4642 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4643 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4644 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4645 to `pcase--dontcare'.
4646 * emacs-lisp/cl.el (labels): Mark obsolete.
4647 (cl--letf, letf): Move to cl-lib.
4648 (cl--letf*, letf*): Remove.
4649 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4650 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4651 (cl-progv): Rewrite.
4652 (cl--letf, cl-letf): Move from cl.el.
4653 (cl-letf*): New macro.
4654 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4655
7ad4afe1
MA
46562012-07-11 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4659
9af57756
CY
46602012-07-11 Chong Yidong <cyd@gnu.org>
4661
4662 * vc/log-edit.el (log-edit-vc-backend): New variable.
4663 (log-edit): Doc fix.
4664
4665 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4666 argument of log-edit to set up all local variables.
4667 (vc-start-logentry): New optional arg specifying VC backend.
4668
4669 * vc/vc.el (vc-checkin): Use it.
4670 (vc-deduce-fileset): Handle Log Edit buffers.
4671 (vc-diff): Make first argument optional too.
4672
4673 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4674
8477cc7a
MA
46752012-07-10 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4678 command, just in case. The function is not needed anymore.
4679 (eshell-external-command): Do not call `eshell-remote-command'.
4680
19faa8e8
SM
46812012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4682
f58e0fd5
SM
4683 Reduce use of (require 'cl).
4684 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4685 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4686 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4687 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4688 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4689 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4690 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4691 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4692 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4693 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4694 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4695 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4696 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4697 (byte-compile-unfold-bcf, byte-compile-check-variable):
4698 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4699 (byte-compile-nilconstp):
4700 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4701 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4702
2519d43a
SM
4703 * emacs-lisp/gv.el (cond): Make it a valid place.
4704 (if): Simplify slightly.
4705
19faa8e8
SM
4706 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4707 (pcase--self-quoting-p): New function.
4708 (pcase--u1): Use it.
4709
c4907a5e
GM
47102012-07-10 Glenn Morris <rgm@gnu.org>
4711
4712 * emacs-lisp/authors.el (authors-fixed-entries):
4713 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4714
c4444d16
PE
47152012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4716
4717 Rename configure.in to configure.ac (Bug#11603).
4718 * emacs-lisp/authors.el (authors-canonical-file-name):
4719 * progmodes/autoconf.el (autoconf-mode):
4720 Prefer configure.ac to configure.in.
4721
d75be97d
CY
47222012-07-08 Chong Yidong <cyd@gnu.org>
4723
01ac65bd
CY
4724 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4725 Implement the mouse-1-click-follows-link handling properly.
4726
4727 * info.el (Info-link-keymap): Use follow-link mechanism for
4728 header-line links (Bug#374).
4729
d75be97d
CY
4730 * simple.el (deactivate-mark): Do not set the primary selection
4731 if another program has acquired it (Bug#11772).
4732
87a92845 47332012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4734
4735 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4736 (woman-decode-region): Replace escaped-escapes without destroying
4737 bold or underline (Bug#11552).
87a92845 4738 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4739
621b9d6c
CY
47402012-07-07 Chong Yidong <cyd@gnu.org>
4741
4742 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4743 (interprogram-cut-function, interprogram-paste-function):
4744 Mention that we typically mean the clipboard.
621b9d6c 4745
133a11fc
GM
47462012-07-06 Glenn Morris <rgm@gnu.org>
4747
0d27a45e
GM
4748 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4749
133a11fc
GM
4750 * files.el (toggle-read-only): Restrict message to interactive use.
4751
07b151f1
MA
47522012-07-06 Michael Albinus <michael.albinus@gmx.de>
4753
4754 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4755
4756 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4757
211b896b
GM
47582012-07-06 Glenn Morris <rgm@gnu.org>
4759
50394322
GM
4760 * Makefile.in (compile-one-process): Rename from "recompile".
4761
211b896b
GM
4762 * Makefile.in (bzr-update): "compile" is the same as "recompile
4763 autoloads", but parallelizable, so use that instead.
4764
4737eec9
DG
47652012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4766
4767 * window.el (quit-window): Always restore window height when
8137e7b3 4768 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4769
226c3633 47702012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4771
4772 * simple.el (kill-whole-line): Doc tweak.
4773
226c3633 47742012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4775
4776 * files.el (file-relative-name): Compare file names
4777 case-insensitively if on MS-Windows or MS-DOS, or if
4778 read-file-name-completion-ignore-case is non-nil. Don't use
4779 case-fold-search for this purpose. (Bug#11827)
4780
4dc7c8d5
SM
47812012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4782
4783 * calendar/cal-dst.el (calendar-current-time-zone):
4784 Return calendar-current-time-zone-cache if non-nil.
4785
47862012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 47872012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4788
19faa8e8
SM
4789 * calendar/cal-dst.el (calendar-current-time-zone):
4790 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4791
60198fc9
GM
47922012-07-06 Glenn Morris <rgm@gnu.org>
4793
4794 * Makefile.in (cvs-update): Remove old alias.
4795
957b3189
MA
47962012-07-05 Michael Albinus <michael.albinus@gmx.de>
4797
4798 Sync with Tramp 2.2.6-pre.
4799
4800 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4801 compatible declaration.
4802
19faa8e8
SM
4803 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4804 Protect `list-load-path-shadows' call.
957b3189
MA
4805
4806 * net/tramp-compat.el (top): Require packages, which aren't
4807 autoloaded anymore for XEmacs. Protect call of
4808 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4809 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4810 it hurts at least for SXEmacs.
4811 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4812 standard-value for `temporary-file-directory'.
4813
4814 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4815 Redirect stderr to /dev/null.
4816 (tramp-sh-handle-write-region): uid and gid can be floats.
4817 Reported by Russell Sim <russell.sim@gmail.com>.
4818 (tramp-sh-handle-vc-registered): Hide errors.
4819 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4820 and `start-file-process'.
4821 (tramp-maybe-open-connection): Check also whether `non-essential'
4822 is bound.
4823
566df3fc
CY
48242012-07-04 Chong Yidong <cyd@gnu.org>
4825
4826 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4827 (xml-parse-tag): Likewise, and avoid changing entity tables.
4828 (xml-syntax-table): Define from scratch, making sure not to give
4829 x2000 and other Unicode spaces whitespace syntax, since those are
4830 not spaces in XML.
4831 (xml-parse-fragment): Delete unused function.
4832 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4833 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4834 (xml-entity-ref, xml-pe-reference-re)
4835 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4836 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4837 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4838 (xml-entity-value-re): Use syntax references in regexps where
4839 possible; no need to define inside a let-binding.
4840 (xml-parse-dtd): Use xml-pe-reference-re.
4841 (xml-entity-or-char-ref-re): New defconst.
4842 (xml-parse-string, xml-substitute-special): Use it.
4843
30eabd7a
SM
48442012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4845
0781098a
SM
4846 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4847 (find-file--read-only): New function.
4848 (find-file-read-only, find-file-read-only-other-window)
4849 (find-file-read-only-other-frame): Use it.
4850 (insert-file-contents-literally): Don't `fset'.
4851 (get-free-disk-space): Use locate-dominating-file.
4852
b5771c0d
SM
4853 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4854 function is already compiled.
4855
30eabd7a
SM
4856 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4857
b4886f6e
MA
48582012-07-03 Michael Albinus <michael.albinus@gmx.de>
4859
4860 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4861 files on the same host.
4862
b9d82339
AS
48632012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4864
4865 * help-fns.el (describe-function-1): Only call
4866 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4867
a76e6535
CY
48682012-07-03 Chong Yidong <cyd@gnu.org>
4869
4870 * xml.el: Protect parser against XML bombs.
4871 (xml-entity-expansion-limit): New variable.
4872 (xml-parse-string, xml-substitute-special): Use it.
4873 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4874
b544fef2
GM
48752012-07-03 Glenn Morris <rgm@gnu.org>
4876
4877 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4878 Allow linking to specific messages in debbugs reports (eg 123#5).
4879
a7aef6f5
CY
48802012-07-02 Chong Yidong <cyd@gnu.org>
4881
4882 * xml.el: Fix entity and character reference expansion, allowing
4883 them to expand into markup as per XML spec.
4884 (xml-default-ns): New variable.
4885 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4886 (xml-parse-region): Make first two arguments optional.
4887 Discard text properties.
4888 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4889 All callers changed.
a7aef6f5
CY
4890 (xml-parse-tag): Call xml-parse-tag-1. For backward
4891 compatibility, this function should not modify buffer contents.
4892 (xml-parse-tag-1): Fix opening-tag regexp.
4893 (xml-parse-string): Rewrite, handling entity and character
4894 references properly.
4895 (xml--entity-replacement-text): Signal an error if a parameter
4896 entity is undefined.
4897
3df31c9f
SM
48982012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4899
2b5208f1
SM
4900 * comint.el (comint-output-filter): Filter out repeated prompts.
4901
3df31c9f
SM
4902 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4903 and file-name-absolute-p.
4904 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4905 internal calls.
4906
e3ac1281
PE
49072012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4908
4909 Spelling fixes.
4910 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4911 Rename from byte-compile--refiy-function. All uses changed.
4912
fbf2e7ad
CY
49132012-07-01 Chong Yidong <cyd@gnu.org>
4914
4915 * xml.el (xml--parse-buffer): New function. Move most of
4916 xml-parse-region here.
4917 (xml-parse-region): Copy region into a temporary buffer, since
4918 parameter entity substitution requires changing buffer contents.
4919 Use xml--parse-buffer.
4920 (xml-parse-file): Use xml--parse-buffer.
4921 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4922 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4923
9bf0aa15
GM
49242012-06-30 Glenn Morris <rgm@gnu.org>
4925
bbce2853
GM
4926 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4927
9bf0aa15
GM
4928 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4929 Remove outdated and unnecessary dbus declarations.
4930
0d23c240
EZ
49312012-06-30 Eli Zaretskii <eliz@gnu.org>
4932
4933 * emacs-lisp/timer.el (timer-until): Subtract results of
4934 float-time, instead of taking float-time of the result of
4935 time-subtract, since float-time signals an error for negative time
4936 arguments.
4937
b3218de1
CY
49382012-06-30 Chong Yidong <cyd@gnu.org>
4939
4940 * xml.el (xml-*-re): Convert defvars into defconsts, and
4941 eval-and-compile them so eval-and-compile works on derivatives.
4942 (xml--entity-replacement-text): Use eval-and-comple.
4943
a40c87a0
MA
49442012-06-30 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * vc/vc-git.el (vc-git-registered): Use cache property
4947 `git-registered'.
4948 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4949 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4950 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4951
ac87de97
DG
49522012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4953
4954 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4955 removed (likely outside Emacs). (Bug#11757)
ac87de97 4956
ac10fe06
SM
49572012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4958
3df31c9f 4959 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4960
7f3fbd5d
CY
49612012-06-30 Chong Yidong <cyd@gnu.org>
4962
4963 * xml.el: Implement XML parameter entities.
4964 (xml-parameter-entity-alist): New variable.
4965 (xml-parse-region, xml-parse-fragment): Preserve previous values
4966 of xml-entity-alist and xml-parameter-entity-alist, so that
4967 repeated calls on different documents do not change them.
4968 (xml-parse-tag): Fix doctype regexp.
4969 (xml--entity-replacement-text): New function.
4970 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4971 properly requires url retrieval which is unimplemented.
4972 (xml-escape-string): Doc fix.
4973
3cfbebba
SM
49742012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4977
2af3565e
DA
49782012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4979
4980 * fringe.el (fringe-mode): Doc fix.
4981
929df0e7
MA
49822012-06-29 Michael Albinus <michael.albinus@gmx.de>
4983
4984 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4985 is non-nil.
4986 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4987 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4988
c8d3a25c 49892012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4990
c8d3a25c
GM
4991 * calendar/cal-dst.el (calendar-current-time-zone):
4992 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4993
c8d3a25c 49942012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4995
4996 * progmodes/which-func.el (which-func-format):
4997 Add mouse-face. (Bug#11698)
4998
c8d3a25c
GM
49992012-06-29 Leo Liu <sdl.web@gmail.com>
5000
5001 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5002
50032012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * minibuffer.el (minibuffer-confirm-exit-commands):
5006 Add completion-at-point (bug#11725).
5007
50082012-06-29 Glenn Morris <rgm@gnu.org>
5009
5010 * progmodes/f90.el (f90-font-lock-keywords-2):
5011 Add some preprocessor elements. (Bug#10499)
5012
50132012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5016 Use syntax-propertize (bug#11739).
5017
2badeec4
JB
50182012-06-28 Juanma Barranquero <lekktu@gmail.com>
5019
5020 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5021
ae4969c2
JD
50222012-06-28 Julien Danjou <julien@danjou.info>
5023
5024 * term.el (term-handle-colors-array): Use a set of new faces to
5025 color the terminal. Also uses :inverse-video property.
5026 (term-default-fg-color): Set to nil by default, deprecate in favor
5027 of `term-face'.
5028 (term-default-bg-color): Set to nil by default, deprecate in favor
5029 of `term-face'.
5030 (term-current-face): Use `term-face' by default.
5031 (term-bold-attribute): Variable deleted.
5032
1c9bd870
GM
50332012-06-28 Glenn Morris <rgm@gnu.org>
5034
5035 * simple.el (completion-list-mode-finish):
5036 Don't use toggle-read-only. (Since completion-list-mode has
5037 a special mode-class, it wasn't doing anything extra anyway.)
5038
c207708c
SM
50392012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 Make inlining of other-mode interpreted functions work (bug#11799).
5042 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5043 (byte-compile): Use it to fix compilation of lexical-binding closures.
5044 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5045 function, if needed.
5046
3fd56834
SM
50472012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5048
04901786
SM
5049 * help-mode.el (help-make-xrefs): Don't just withstand
5050 cyclic-variable-indirection but any error in documentation-property.
5051
1ec4b7b2
SM
5052 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5053 memory use.
5054 * bindings.el (bindings--define-key): New function.
5055 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5056 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5057 * bindings.el: Use it to purecopy define-key bindings.
5058
e309e2a5
SM
5059 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5060
d5c6faf9
SM
5061 * emacs-lisp/cl.el (flet): Mark obsolete.
5062 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5063 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5064 * progmodes/js.el (js-c-fill-paragraph):
5065 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5066 (ebrowse-switch-member-buffer-to-derived-class):
5067 * play/5x5.el (5x5-solver): Use cl-flet.
5068
6e9590e2
SM
5069 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5070 (cl--symbol-function): New macro.
5071 (cl--letf, cl--letf*): Use it.
5072
3fd56834
SM
5073 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5074 Strip "toggle-" if any.
5075
35ff222c
GM
50762012-06-27 Glenn Morris <rgm@gnu.org>
5077
1ba6038a
GM
5078 * info.el (Info-default-directory-list): Move here from paths.el.
5079 * paths.el: Remove file, which is now empty.
5080 * loadup.el: No longer load "paths".
5081
0ea0e51b
GM
5082 * custom.el (custom-initialize-delay): Doc fix.
5083
35ff222c
GM
5084 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5085 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5086 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5087 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5088 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5089 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5090 * eshell/eshell.el (eshell-defgroup): Remove alias.
5091
c89926a5
CY
50922012-06-27 Chong Yidong <cyd@gnu.org>
5093
5094 * help.el (help-enable-auto-load): New variable.
5095
5096 * help-fns.el (help-fns--autoloaded-p): New function.
5097 (describe-function-1): Refer to a function as "autoloaded" if it
5098 was autoloaded at any time in the past. Perform autoloading if
5099 help-enable-auto-load is non-nil.
5100
cc06e7e7
EZ
51012012-06-26 Eli Zaretskii <eliz@gnu.org>
5102
5103 * makefile.w32-in (compile, compile-always): Depend on
5104 update-subdirs, not on subdirs.el. Otherwise, several different
5105 sub-targets of 'bootstrap' running in parallel could
5106 simultaneously write to subdirs.el, producing a garbled file.
5107
d2c32364
SS
51082012-06-26 Sam Steingold <sds@gnu.org>
5109
5110 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5111 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5112 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5113 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5114 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5115 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5116 * textmodes/tex-mode.el: Use it.
5117 Did not touch cedet and org because they are maintained elsewhere.
5118
5cf983b2
MR
51192012-06-26 Martin Rudalics <rudalics@gmx.at>
5120
5121 * calendar/calendar.el (calendar-exit): Don't try to delete or
5122 iconify last frame. See:
5123 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5124
8c4f2952
JD
51252012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5126
5127 * server.el (server-process-filter): Remember dir in the
5128 process's `server-client-directory' properties.
5129
772b2e2c
CY
51302012-06-24 Chong Yidong <cyd@gnu.org>
5131
5132 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5133 non-tag text.
5134
711b11e1
JB
51352012-06-23 Juanma Barranquero <lekktu@gmail.com>
5136
5137 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5138
dc5d230c
SM
51392012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * help-fns.el (describe-variable): Don't croak when doc is not found.
5142 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5143 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5144 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5145 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5146 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5147 ((lambda ..) ..).
5148 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5149
136e1c1d
CY
51502012-06-23 Chong Yidong <cyd@gnu.org>
5151
e8c1cabf
CY
5152 * info.el (Info-mouse-follow-link): Accept symbol values of
5153 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5154 (Info-fontify-node): Use Info-link-keymap for all navigation
5155 buttons, with link-args property to perform the desired action.
5156 (Info-link-keymap): Doc fix.
5157 (Info-next-link-keymap, Info-prev-link-keymap)
5158 (Info-up-link-keymap): Delete now-unused keymaps.
5159
0e9e6c6a
CY
51602012-06-23 Chong Yidong <cyd@gnu.org>
5161
05e89fea
CY
5162 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5163
0e9e6c6a
CY
5164 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5165 system abbrevs.
5166
5167 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5168
e33c6771
SM
51692012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5170
b68581e2
SM
5171 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5172 (bug#11719).
5173
e33c6771
SM
5174 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5175 the requote function doesn't work properly (bug#11714).
5176
7117e105
GM
51772012-06-23 Glenn Morris <rgm@gnu.org>
5178
5179 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5180
36cec983
SM
51812012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 Further GV/CL cleanups.
5184 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5185 gv-expander.
5186 (gv--defun-declaration): New function.
5187 (defun-declarations-alist): Use it.
5188 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5189 (gv-place): Autoload.
5190 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5191 original definition of dotimes and dolist.
5192 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5193 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5194 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5195 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5196 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5197 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5198 to the function's definition.
5199 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5200 * window.el:
5201 * files.el:
5202 * faces.el:
5203 * env.el: Don't use CL.
5204
d35af63c
PE
52052012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5206
5207 Support higher-resolution time stamps (Bug#9000).
5208
5209 * calendar/time-date.el (with-decoded-time-value): New arg
5210 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5211 (encode-time-value): New optional arg PICO. New type 3.
5212 (time-to-seconds) [!float-time]: Support the new picoseconds
5213 component if it's used.
5214 (seconds-to-time, time-subtract, time-add):
5215 Support ps-resolution time stamps as well.
5216
5217 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5218 (timerp): Timer vectors now have length 9, not 8.
5219 (timer--time): Support new-style (4-part) time stamps.
5220 (timer-next-integral-multiple-of-time): Time stamps now have
5221 picosecond resolution, so take a bit more care about rounding.
5222 (timer-relative-time, timer-inc-time): New optional arg psecs.
5223 (timer-set-time-with-usecs): Set psecs to 0.
5224 (timer--activate): Check psecs component, too.
5225
5226 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5227
ac77b21a
SM
52282012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5229
f143bfe3
SM
5230 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5231 Move the non-essential binding to the post/pre-command-hook where it is
5232 more obviously correct.
5233
ac77b21a
SM
5234 * subr.el (read-passwd): Don't use a history at all.
5235 * savehist.el (savehist-save): Remove password saved accidentally
5236 because of the above bug.
5237
76386c5a
BG
52382012-06-22 Bastien Guerry <bzg@gnu.org>
5239
5240 * files.el (toggle-read-only): Display a message telling whether
5241 the buffer is read-only or not (bug#11726).
5242
2ee3d7f0
SM
52432012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * emacs-lisp/gv.el: New file.
5246 * subr.el (push, pop): Extend to generalized variables.
5247 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5248 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5249 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5250 gv-define-simple-setter, and gv-define-expander.
5251 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5252 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5253 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5254 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5255 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5256 gv-letplace.
5257 (cl-defstruct): Don't define setf-method any more.
5258 * emacs-lisp/cl.el (flet): Don't autoload.
5259 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5260 (define-setf-expander, defsetf, define-modify-macro)
5261 (cl-struct-setf-expander): Move from cl-lib.el.
5262 * emacs-lisp/syntax.el:
5263 * emacs-lisp/ewoc.el:
5264 * emacs-lisp/smie.el:
5265 * emacs-lisp/cconv.el:
5266 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5267 (timer--time): Use gv-define-simple-setter.
5268 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5269 to avoid coding-system problems in subr.el. Adjust all users.
5270 (macroexp--maxsize, macroexp-small-p): New functions.
5271 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5272 * scroll-bar.el (scroll-bar-mode):
5273 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5274 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5275 * winner.el (winner-configuration, winner-make-point-alist)
5276 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5277 * files.el (locate-file-completion-table): Avoid list*.
5278
c5695d1d
CY
52792012-06-22 Chong Yidong <cyd@gnu.org>
5280
5281 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5282 (dired-create-files): Doc fix (Bug#11329).
5283 (dired-do-copy): Doc fix (Bug#11334).
5284 (dired-mark-read-string): Doc fix (Bug#11553).
5285
2ee3d7f0
SM
5286 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5287 Doc fix (Bug#11326).
c5695d1d
CY
5288 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5289 (dired-dwim-target): Doc fix.
5290
5291 * wdired.el (wdired-mode): Doc fix.
5292
89b5595a
GM
52932012-06-22 Glenn Morris <rgm@gnu.org>
5294
575db3f1
GM
5295 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5296 (pcmpl-rpm-cache-stamp-file): New constant.
5297 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5298 (pcmpl-rpm-packages): Optionally cache list of packages.
5299
a4c8dd51
GM
5300 * pcmpl-rpm.el (pcmpl-rpm): New group.
5301 (pcmpl-rpm-query-options): New option.
5302 (pcmpl-rpm-packages): No need to inline it.
5303 Use pcmpl-rpm-query-options.
5304
89b5595a
GM
5305 * calendar/calendar.el (calendar-in-read-only-buffer):
5306 Avoid some needless mode changes.
5307
e76f0800
CY
53082012-06-21 Chong Yidong <cyd@gnu.org>
5309
5310 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5311 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5312 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5313
297a8f1d
CY
53142012-06-20 Chong Yidong <cyd@gnu.org>
5315
5316 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5317
d34c18b1
DR
53182012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5319
5320 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5321 (bug#11201).
5322
32f7f28e
CY
53232012-06-20 Chong Yidong <cyd@gnu.org>
5324
5325 * term.el (term-window-width): Handle the case of a missing right
5326 fringe (Bug#8837).
5327 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5328 (term-mode): Use define-derived-mode. Minor cleanups.
5329 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5330 (term-move-columns, term-insert-char, term-emulate-terminal)
5331 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5332
493c6688
MA
53332012-06-20 Michael Albinus <michael.albinus@gmx.de>
5334
d34c18b1
DR
5335 * net/ange-ftp.el (ange-ftp-get-passwd):
5336 Bind `enable-recursive-minibuffers'.
493c6688
MA
5337 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5338
3f06ecf4
DR
53392012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5340
5341 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5342
68f12411
GM
53432012-06-19 Glenn Morris <rgm@gnu.org>
5344
5345 * progmodes/python.el (python-mode): Derive from prog-mode.
5346
b3820318
KG
53472012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5348
5349 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5350 (edt-user-menu-bar-update-buffers): New functions.
5351 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5352
c6bf3022
CY
53532012-06-19 Chong Yidong <cyd@gnu.org>
5354
5355 * subr.el (with-selected-window): Preserve the selected window's
5356 terminal's top-frame (Bug#4702).
5357
5358 * window.el (save-selected-window): Likewise.
5359
25f09295
SM
53602012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * progmodes/python.el (python-rx-constituents): Move backquote.
5363 (python-skeleton-define, python-define-auxiliary-skeleton):
5364 Use `declare'.
5365
6b11952a
MA
53662012-06-18 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * minibuffer.el (read-file-name-default): Revert the patch from
5369 2012-06-17.
5370
ee4b1330
SM
53712012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5374 (pcase--u1, pcase--q1): Don't use apply-partially.
5375
35647f79
GM
53762012-06-18 Glenn Morris <rgm@gnu.org>
5377
5378 * progmodes/python.el (python-proc, python-buffer)
5379 (python-send-receive, python-send-string): Fix obsolete versions.
5380
24b0cff0
MR
53812012-06-18 Martin Rudalics <rudalics@gmx.at>
5382
5383 * window.el (special-display-p): Completely remove stringp
5384 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5385
29855149
MA
53862012-06-17 Michael Albinus <michael.albinus@gmx.de>
5387
5388 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5389
5390 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5391
5392 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5393 * net/tramp-sh.el (tramp-maybe-open-connection):
5394 Throw if `non-essential' is non-nil.
5395
07463363
MR
53962012-06-17 Martin Rudalics <rudalics@gmx.at>
5397
5398 * window.el (special-display-p): Signal an error if BUFFER-NAME
5399 is not a string (Bug#11713).
5400
48d1354e
PE
54012012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5402
5403 * progmodes/python.el (python-info-beginning-of-backslash):
5404 Rename from python-info-beginning-of-backlash, as a spelling fix.
5405
eb4a8a9a
CY
54062012-06-17 Chong Yidong <cyd@gnu.org>
5407
5408 * term.el (term-emulate-terminal): If term-check-size is called,
5409 move point to the process mark without resetting point (Bug#4635).
5410
ddfbf826 54112012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5412
5413 * international/mule-cmds.el (mule-menu-keymap)
5414 (set-language-environment, set-locale-environment): Doc tweaks.
5415
9b0e3eba
AA
54162012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5417
5418 * cus-face.el (custom-face-attributes): Add wave-style underline
5419 attribute.
5420 * faces.el (set-face-attribute): Update docstring to describe
5421 wave-style underline attribute.
5422
771e3eae
CY
54232012-06-16 Chong Yidong <cyd@gnu.org>
5424
5425 * term/xterm.el (terminal-init-xterm): Discard input before
5426 querying background mode (Bug#10959).
5427
7ae2ea10
SM
54282012-06-16 Stefan Merten <smerten@oekonux.de>
5429
5430 * textmodes/rst.el: Added and corrected some comments.
5431 (rst-re-alist-def): Improve symbol syntax.
5432 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5433 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5434 (rst-official-version, rst-official-cvs-rev): Update version
5435 information.
7ae2ea10 5436
b6974efa
JB
54372012-06-15 Juanma Barranquero <lekktu@gmail.com>
5438
5439 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5440 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5441
8826d473
GM
54422012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5443
5444 * progmodes/python.el: New python.el merge.
5445 (python-guess-indent): Obsolete var.
5446 (python-indent-guess-indent-offset): New defcustom.
5447 (python-indent): Obsolete var.
5448 (python-indent-offset): New defcustom.
5449 (python-python-command, python-jython-command): Delete var.
5450 (python-shell-interpreter): New defcustom.
5451 (python-pdbtrack-do-tracking-p): Delete var.
5452 (python-pdbtrack-activate): New defcustom.
5453 (python-use-skeletons): Obsolete var.
5454 (python-skeleton-autoinsert): New defcustom.
5455 (inferior-python-filter-regexp, python-continuation-offset)
5456 (python-honour-comment-indentation, python-indent-string-contents)
5457 (python-jython-packages, python-mode-hook)
5458 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5459 (python-shell-prompt-alist)
5460 (python-source-modes): Delete defcustoms.
5461 (python-check-buffer-name, python-eldoc-setup-code)
5462 (python-eldoc-string-code, python-ffap-setup-code)
5463 (python-ffap-string-code, python-fill-comment-function)
5464 (python-fill-decorator-function, python-fill-paren-function)
5465 (python-fill-string-function, python-imenu-include-defun-type)
5466 (python-imenu-make-tree, python-imenu-subtree-root-label)
5467 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5468 (python-shell-compilation-regexp-alist)
5469 (python-shell-completion-module-string-code)
5470 (python-shell-completion-pdb-string-code)
5471 (python-shell-completion-setup-code)
5472 (python-shell-completion-string-code)
5473 (python-shell-enable-font-lock, python-shell-exec-path)
5474 (python-shell-extra-pythonpaths)
5475 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5476 (python-shell-process-environment)
5477 (python-shell-prompt-block-regexp)
5478 (python-shell-prompt-output-regexp)
5479 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5480 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5481 (python-shell-virtualenv-path): New defcustoms.
5482 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5483 (inferior-python-mode-syntax-table, python--prompt-regexp)
5484 (python-buffer, python-command python-python-command)
5485 (python-default-template, python-imports, python-indent-index)
5486 (python-indent-list, python-indent-list-length)
5487 (python-mode-running, python-pdbtrack-is-tracking-p)
5488 (python-preoutput-continuation, python-preoutput-leftover)
5489 (python-preoutput-result, python-preoutput-skip-next-prompt)
5490 (python-prev-dir/file, python-recursing)
5491 (python-saved-check-command, python-version-checked)
5492 (python-which-func-length-limit)
5493 (view-return-to-alist): Delete vars.
5494 (python-check-custom-command, python-dotty-syntax-table)
5495 (python-imenu-index-alist, python-indent-current-level)
5496 (python-indent-dedenters, python-indent-levels)
5497 (python-nav-beginning-of-defun-regexp)
5498 (python-nav-list-defun-positions-cache)
5499 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5500 (python-shell-internal-buffer)
5501 (python-skeleton-available): New vars.
5502 (def-python-skeleton): Delete macro.
5503 (python-skeleton-define): New macro.
5504 (python-define-auxiliary-skeleton, python-rx): New macros.
5505 (python-insert-class): Delete command.
5506 (python-skeleton-class): New command.
5507 (python-insert-def): Delete command.
5508 (python-skeleton-def): New command.
5509 (python-insert-for): Delete command.
5510 (python-skeleton-for): New command.
5511 (python-insert-if): Delete command.
5512 (python-skeleton-if): New command.
5513 (python-insert-try/except, python-insert-try/finally): Delete commands.
5514 (python-skeleton-try): New command.
5515 (python-insert-while): Delete command.
5516 (python-skeleton-while): New command.
5517 (python-backspace): Delete command.
5518 (python-indent-dedent-line-backspace): New command.
5519 (python-electric-colon): Delete command.
5520 (python-indent-electric-colon): New command.
5521 (python-guess-indent): Delete command.
5522 (python-indent-guess-indent-offset): New command.
5523 (python-shift-left): Delete command.
5524 (python-indent-shift-left): New command.
5525 (python-shift-right): Delete command.
5526 (python-indent-shift-right): New command.
5527 (python-find-function): Delete command.
5528 (python-nav-jump-to-defun): New command.
5529 (python-next-statement): Delete command.
5530 (python-nav-forward-sentence): New command.
5531 (python-previous-statement): Delete command.
5532 (python-nav-backward-sentence): New command.
5533 (python-fill-paragraph): Delete command.
5534 (python-fill-paragraph-function): New command.
5535 (python-send-buffer): Delete command.
5536 (python-shell-send-buffer): New command.
5537 (python-send-defun): Delete command.
5538 (python-shell-send-defun): New command.
5539 (python-send-region, python-send-region-and-go): Delete commands.
5540 (python-shell-send-region)
5541 (python-shell-switch-to-shell): New commands.
5542 (python-send-string): Delete command.
5543 (python-shell-send-string): New command.
5544 (python-switch-to-python): Delete command.
5545 (python-shell-switch-to-shell): New command.
5546 (python-describe-symbol): Delete command.
5547 (python-eldoc-at-point): New command.
5548 (python--set-prompt-regexp, python-args-to-list)
5549 (python-after-info-look, python-check-version)
5550 (python-check-comint-prompt, python-find-imports)
5551 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5552 (python-unload-function, python-expand-template)
5553 (python-maybe-jython, python-preoutput-filter)
5554 (python-pdbtrack-get-source-buffer)
5555 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5556 (python-pdbtrack-toggle-stack-tracking)
5557 (python-pdbtrack-track-stack-file, python-initial-text)
5558 (python-first-word, python-comment-line-p, python-send-command)
5559 (python-setup-brm, python-sentinel, python-set-proc)
5560 (python-skip-out, python-input-filter, python-outdent-p)
5561 (python-outline-level, python-backslash-continuation-line-p)
5562 (python-end-of-block, python-end-of-statement, python-mark-block)
5563 (python-beginning-of-block, python-beginning-of-statement)
5564 (python-blank-line-p, python-beginning-of-string)
5565 (python-open-block-statement-p): Delete functions.
5566 (python-indent-line, python-indent-line-1): Delete functions.
5567 (python-indent-line): New function.
5568 (python-indentation-levels): Delete function.
5569 (python-indent-calculate-levels): New function.
5570 (python-proc): Delete function.
5571 (python-shell-get-process): New function.
5572 (python-send-receive): Delete function.
5573 (python-shell-send-string-no-output): New function.
5574 (python-module-path): Delete function.
5575 (python-ffap-module-path): New function.
5576 (python-completion-at-point)
5577 (python-symbol-completions): Delete functions.
5578 (python-completion-complete-at-point): New function.
5579 (python-load-file): Delete function.
5580 (python-shell-send-file): New function.
5581 (python-calculate-indentation): Delete function.
5582 (python-indent-calculate-indentation): New function.
5583 (python-skip-comments/blanks): Delete function.
5584 (python-util-forward-comment): New function.
5585 (python-continuation-line-p): Delete function.
5586 (python-info-continuation-line-p): New function.
5587 (python-which-func, python-current-defun): Delete function.
5588 (python-info-current-defun): New function.
5589 (python-beginning-of-defun): Delete function.
5590 (python-nav-beginning-of-defun): New function.
5591 (python-close-block-statement-p)
5592 (python-block-end-p): Delete function.
5593 (python-info-closing-block): New function.
5594 (python-comint-output-filter-function)
5595 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5596 (python-fill-comment, python-fill-decorator, python-fill-paren)
5597 (python-fill-string, python-imenu-make-element-tree)
5598 (python-imenu-make-tree, python-imenu-tree-assoc)
5599 (python-indent-context, python-indent-dedent-line)
5600 (python-indent-line-function)
5601 (python-indent-post-self-insert-function)
5602 (python-indent-toggle-levels)
5603 (python-info-assignment-continuation-line-p)
5604 (python-info-beginning-of-backlash)
5605 (python-info-block-continuation-line-p)
5606 (python-info-closing-block-message)
5607 (python-info-line-ends-backslash-p)
5608 (python-info-looking-at-beginning-of-defun)
5609 (python-info-ppss-context, python-info-ppss-context-type)
5610 (python-nav-list-defun-positions, python-nav-read-defun)
5611 (python-nav-sentence-end, python-nav-sentence-start)
5612 (python-pdbtrack-comint-output-filter-function)
5613 (python-pdbtrack-set-tracked-buffer)
5614 (python-shell-calculate-exec-path)
5615 (python-shell-calculate-process-environment)
5616 (python-shell-completion--do-completion-at-point)
5617 (python-shell-completion--get-completions)
5618 (python-shell-completion-complete-at-point)
5619 (python-shell-completion-complete-or-indent)
5620 (python-shell-get-or-create-process)
5621 (python-shell-get-process-name)
5622 (python-shell-internal-get-or-create-process)
5623 (python-shell-internal-get-process-name)
5624 (python-shell-internal-send-string, python-shell-make-comint)
5625 (python-shell-parse-command, python-shell-send-setup-code)
5626 (python-skeleton-add-menu-items)
5627 (python-util-clone-local-variables, python-util-position)
5628 (run-python-internal, python-indentation-levels)
5629 (python-nav-beginning-of-defun)
5630 (python-completion-complete-at-point): New functions.
5631 (run-python): Change arguments. New API requirements.
5632
4302f5ba
SM
56332012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5634
f38ea36d
SM
5635 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5636 (bug#11649).
5637
5638 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5639 (macroexp--expand-all): Use it.
5640
4302f5ba
SM
5641 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5642 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5643 Use `cl-function' instead.
5644
33377562
JB
56452012-06-14 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5648 Suggested by Stefan Monnier while discussing bug#11657.
5649
54c5ba1a
SS
56502012-06-14 Sam Steingold <sds@gnu.org>
5651
5652 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5653
f9f1b1fe
AS
56542012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5655
5656 * play/doctor.el (doctor-doc): Remove parameter and use
5657 doctor-sent instead of sent.
5658 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5659
a81068ba
SM
56602012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5a315f9c
SM
5662 * files.el: Require cl-lib.
5663 (file-name-non-special): Replace case -> cl-case.
5664
5665 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5666
a81068ba
SM
5667 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5668 mapping from #' to function*.
5669
8cca9703
CY
56702012-06-13 Chong Yidong <cyd@gnu.org>
5671
5672 * mouse.el (mouse-drag-track): Do not set the mark if the user
5673 releases the mouse without selecting anything (Bug#11588).
5674
a12ac9d7
SM
56752012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5676
ccf1dc18
SM
5677 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5678 as well (bug#11646).
5679
ef62b23d
SM
5680 * loadup.el: Count byte-code functions as well.
5681
c4c8444a
SM
5682 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5683 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5684
a12ac9d7
SM
5685 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5686 (bug#11649). Add cl-defun and cl-defmacro.
5687
87e6e64f
DA
56882012-06-13 Drew Adams <drew.adams@oracle.com>
5689
5690 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5691 Fix last change.
5692
682cefaf
MA
56932012-06-13 Michael Albinus <michael.albinus@gmx.de>
5694
5695 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5696 Otherwise, it blocks in batch mode.
5697
773e1f08
JB
56982012-06-13 Juanma Barranquero <lekktu@gmail.com>
5699
5700 * help-mode.el (bookmark-make-record-default): Declare.
5701
60057926
CY
57022012-06-13 Chong Yidong <cyd@gnu.org>
5703
5704 * emacs-lisp/package.el (list-packages): Compute a list of
5705 packages that are newly-available since the last list-packages
5706 invocation.
5707 (package-menu--new-package-list): New var.
5708 (package-menu--generate, package-menu--print-info)
5709 (package-menu--status-predicate, package-menu-mark-install):
5710 Handle new status label "new".
5711
ad4d226c
SM
57122012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5715 conversion to backquotes.
5716
f1a4e679
CY
57172012-06-12 Chong Yidong <cyd@gnu.org>
5718
5719 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5720 Rename from gud-inhibit-global-bindings.
5721
5722 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5723
5724 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5725 hook from nxml-glyph-set-hook.
5726
5727 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5728 declaration.
5729
5730 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5731
5732 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5733 Convert to defcustom.
5734
0c9e42b5
DA
57352012-06-12 Drew Adams <drew.adams@oracle.com>
5736
5737 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5738 New functions.
5739 (help-mode): Use them.
5740
09e06855
GM
57412012-06-11 Glenn Morris <rgm@gnu.org>
5742
5743 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5744 Use preprocessor face for directives.
5745 (fortran-directive-re): Doc fix.
5746
71adb94b
SM
57472012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5748
2eb87922
SM
5749 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5750 conversion to backquotes (bug#11652).
5751
71adb94b
SM
5752 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5753 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5754 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5755 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5756 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5757 (cl-ninth, cl-tenth): Mark them as inlinable.
5758 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5759 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5760 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5761 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5762 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5763 (cl-list*, cl-adjoin): Don't put an autoload manually.
5764 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5765 (cl--compiler-macro-list*): Add autoload cookie.
5766 (cl--compiler-macro-cXXr): New function.
2eb87922 5767
71adb94b
SM
5768 * help-fns.el (help-fns--compiler-macro): New function extracted from
5769 describe-function-1; follow aliases and use `compiler-macro' property.
5770 (describe-function-1): Use it.
5771
a6674402
CY
57722012-06-11 Chong Yidong <cyd@gnu.org>
5773
5774 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5775 is uninstalled, if imagemagick is installed.
5776
bb3faf5b
SM
57772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * emacs-lisp/cl-lib.el: Use lexical-binding.
5780 (cl-map-extents, cl-maclisp-member): Remove.
5781 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5782 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5783 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5784 * emacs-lisp/cl-extra.el: Use lexical-binding.
5785 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5786 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5787 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5788 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5789 * emacs-lisp/cl-seq.el: Use lexical-binding.
5790 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5791 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5792 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5793 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5794 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5795 CL's internals.
5796
2fe4b125
MA
57972012-06-11 Michael Albinus <michael.albinus@gmx.de>
5798
5799 Sync with Tramp 2.2.6-pre.
5800
5801 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5802 `print-length' and `print-level' to nil, in order to avoid
5803 truncation. Reported by Christopher Schmidt
5804 <christopher@ristopher.com>.
5805
5806 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5807
5808 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5809 New defmacro.
5810 (tramp-compat-copy-directory): Add optional argument
5811 COPY-CONTENTS. It is not handled yet.
5812
5813 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5814 (tramp-ftp-file-name-p): Simplify.
5815
5816 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5817 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5818 connection vector.
5819
5820 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5821 (tramp-methods): Do not use `tramp-password-end-of-line'.
5822 (tramp-completion-function-alist-putty): Handle UNIX case.
5823 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5824 (tramp-do-file-attributes-with-stat)
5825 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5826 gid as real numbers. They could run out of integer range on cygwin.
5827 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5828 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5829 (tramp-open-connection-setup-interactive-shell):
5830 Use `tramp-cleanup'. Move check for busyboxes ...
5831 (tramp-find-shell): ... here. Simplify implementation.
5832 Set "remote-shell" property also for alternative shells.
5833 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5834 If failing, a regular file would be written otherwise.
5835 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5836 (tramp-find-inline-encoding): Cache the coding commands in the
5837 process cache. Apply test command on the remote side, if defined.
5838 (tramp-find-inline-compress): Cache the compress commands in the
5839 process cache.
5840 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5841 when requested. Handle hops.
5842 (tramp-current-connection): New defvar.
87e6e64f
DA
5843 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5844 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5845 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5846 (tramp-get-inline-compress, tramp-get-inline-coding):
5847 Read connection properties from the process cache.
2fe4b125
MA
5848
5849 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5850 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5851 New defconsts.
2fe4b125
MA
5852 (tramp-smb-prompt): Extend for powershell prompt.
5853 (tramp-smb-file-name-handler-alist): Add handlers for
5854 `process-file', `shell-command' and `start-file-process'.
5855 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5856 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5857 (tramp-smb-file-name-p): Simplify.
5858 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5859 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5860 (tramp-smb-shell-quote-argument): New defuns.
5861 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5862 Implement using "tar". By this, time-stamps are preserved.
5863 (tramp-smb-handle-copy-file): Handle also the case of directories.
5864 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5865 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5866 Use `tramp-get-connection-buffer').
2fe4b125
MA
5867 (tramp-smb-handle-rename-file): Use "rename", when source and
5868 target are on the same share.
87e6e64f
DA
5869 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5870 Use `tramp-smb-server-version'.
2fe4b125
MA
5871 (tramp-smb-wait-for-output): Remove prompt.
5872
5873 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5874 (tramp-methods, tramp-rsh-end-of-line):
5875 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5876 (tramp-save-ad-hoc-proxies): New defcustom.
5877 (tramp-completion-function-alist): Adapt docstring.
5878 (tramp-default-password-end-of-line): Remove defcustom.
5879 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5880 (tramp-user-regexp, tramp-file-name-regexp-unified)
5881 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5882 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5883 (tramp-remote-file-name-spec-regexp): New defconst.
5884 (tramp-file-name-structure): Extend structure for hops.
5885 (tramp-get-method-parameter): Move up.
5886 (tramp-file-name-p, tramp-dissect-file-name)
5887 (with-parsed-tramp-file-name): Handle hops.
5888 (tramp-file-name-hop): New defun.
5889 (tramp-make-tramp-file-name): New optional arg HOP.
5890 (tramp-message-show-progress-reporter-message): New defvar.
5891 (tramp-with-progress-reporter): Use it. We cannot use
5892 `tramp-message-show-message' here, because this suppresses also
5893 error buffers.
5894 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5895 `tramp-message-show-message' is nil.
5896 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5897 (tramp-cleanup): New defun.
5898 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5899 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5900 an error unchanged.
5901 (tramp-completion-handle-file-name-all-completions): Handle hops.
5902 Fix an error when called from ido.
5903 (tramp-completion-dissect-file-name): Use better local variable
5904 name. Add hop to the vector.
5905 (tramp-handle-insert-file-contents): Use progress-reporter for the
5906 whole scenario.
5907 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5908 to `t'.
5909 (tramp-check-for-regexp): Simplify search.
5910 (tramp-enter-password): Remove it. Move implementation ...
5911 (tramp-action-password): ... here.
5912 (tramp-mode-string-to-int, tramp-local-host-p)
5913 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5914 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5915 Set tramp-autoload cookie.
2fe4b125
MA
5916
5917 * net/trampver.el: Update release number.
5918
59192012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5920 Michael Albinus <michael.albinus@gmx.de>
5921
5922 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5923 (tramp-parse-group, tramp-parse-file)
5924 (tramp-parse-shostkeys-sknownhosts): New defuns.
5925 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5926 (tramp-parse-shosts-group, tramp-parse-sconfig)
5927 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5928 (tramp-parse-sknownhosts, tramp-parse-hosts)
5929 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5930 Use them.
5931 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5932 (tramp-parse-putty-group): Don't narrow.
5933 (tramp-parse-putty): Make a loop.
5934 (tramp-file-name-handler): Catch the `suppress' signal.
5935
72834e10
CY
59362012-06-11 Chong Yidong <cyd@gnu.org>
5937
5938 * image.el (imagemagick-register-types): Put the ImageMagick entry
5939 at the end of image-type-file-name-regexps.
5940
a4712e11
JB
59412012-06-11 Johan Bockgård <bojohan@gnu.org>
5942
5943 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5944 (pcase, pcase-let*, pcase-dolist): Use them.
5945
82ad98e3
SM
59462012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5947
5948 * emacs-lisp/pcase.el (pcase--let*): New function.
5949 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5950 (pcase--expand): Use macroexp-let².
5951
f80efb86
SM
59522012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5955 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5956 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5957 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5958 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5959 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5960
31ca4639 59612012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5962
31ca4639
CY
5963 * mail/rmail.el (rmail-yank-current-message): Leave point at
5964 correct position. (Bug#11660)
94f0aa34 5965
31ca4639 59662012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5967
31ca4639 5968 * allout-widgets.el: Fix code header.
9e1b8ec4 5969
31ca4639 59702012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5971
f80efb86
SM
5972 * cus-edit.el (customize-changed-options-previous-release):
5973 Bump to 24.1.
31ca4639 5974
642b6d30
AS
59752012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5976
5977 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5978
4f5d2ba1
CY
59792012-06-09 Chong Yidong <cyd@gnu.org>
5980
5981 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5982
e75852fd
MR
59832012-06-09 Martin Rudalics <rudalics@gmx.at>
5984
5985 * window.el (special-display-popup-frame): Don't use
5986 window--display-buffer (Bug#11651).
5987
1e48e282
EZ
59882012-06-09 Eli Zaretskii <eliz@gnu.org>
5989
8a26b487
EZ
5990 Fix parallel builds: make sure loaddefs.el is not being written
5991 while Lisp files are compiled.
5992 (compile): Don't depend on 'mh-autoloads'.
5993 (compile-CMD, compile-SH): Depend on 'autoloads'.
5994 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5995
1e48e282
EZ
5996 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5997
6175e34b
CY
59982012-06-09 Chong Yidong <cyd@gnu.org>
5999
6000 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6001 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6002 Doc fixes (Bug#11225).
6003
d9857e53
SM
60042012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6007 a function if there's a clear indication that it has a compiler-macro.
6008 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6009 (macro-declarations-alist): Add arglist to declaration functions.
6010 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6011 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6012 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6013 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6014 Also add autoload to find the compiler macro.
6015 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6016 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6017 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6018 (cl--compiler-macro-get): New functions, replacing calls to
6019 cl-define-compiler-macro.
6020 (cl-typep) [compiler-macro]: Use macroexp-let².
6021
f81298f8 60222012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6023
6024 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6025 string properly, fixes Bug#11473.
6026
4b56d0fe
CY
60272012-06-08 Chong Yidong <cyd@gnu.org>
6028
6029 * faces.el (set-face-attribute): Doc fix.
6030 (modify-face): Don't use :bold and :italic.
6031 (error, warning, success): Tweak definitions.
6032
6033 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6034 (custom-modified, custom-set, custom-changed, custom-themed)
6035 (custom-saved, custom-button, custom-button-mouse)
6036 (custom-button-pressed, custom-state, custom-comment-tag)
6037 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6038 (custom-group-subtitle): Use new-style face specs.
6039 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6040 (custom-set-face, custom-changed-face, custom-saved-face)
6041 (custom-button-face, custom-button-pressed-face)
6042 (custom-documentation-face, custom-state-face)
6043 (custom-comment-face, custom-comment-tag-face)
6044 (custom-variable-tag-face, custom-variable-button-face)
6045 (custom-face-tag-face, custom-group-tag-face-1)
6046 (custom-group-tag-face): Remove obsolete face alias.
6047
6048 * epa.el (epa-validity-high, epa-validity-medium)
6049 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6050 (epa-field-name, epa-field-body):
6051 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6052 (font-lock-keyword-face, font-lock-builtin-face)
6053 (font-lock-function-name-face, font-lock-variable-name-face)
6054 (font-lock-type-face, font-lock-constant-face):
6055 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6056 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6057 * speedbar.el (speedbar-button-face, speedbar-file-face)
6058 (speedbar-directory-face, speedbar-tag-face)
6059 (speedbar-selected-face, speedbar-highlight-face)
6060 (speedbar-separator-face):
6061 * whitespace.el (whitespace-newline, whitespace-space)
6062 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6063 (whitespace-line, whitespace-space-before-tab)
6064 (whitespace-space-after-tab, whitespace-indentation)
6065 (whitespace-empty):
6066 * emulation/cua-base.el (cua-global-mark):
6067 * eshell/em-prompt.el (eshell-prompt):
6068 * net/newst-plainview.el (newsticker-new-item-face)
6069 (newsticker-old-item-face, newsticker-immortal-item-face)
6070 (newsticker-obsolete-item-face, newsticker-date-face)
6071 (newsticker-statistics-face, newsticker-default-face):
6072 * net/newst-reader.el (newsticker-feed-face)
6073 (newsticker-extra-face, newsticker-enclosure-face):
6074 * net/newst-treeview.el (newsticker-treeview-face)
6075 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6076 (newsticker-treeview-immortal-face)
6077 (newsticker-treeview-obsolete-face)
6078 (newsticker-treeview-selection-face):
6079 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6080 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6081 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6082 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6083 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6084 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6085 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6086 (mpuz-text):
6087 * progmodes/vera-mode.el (vera-font-lock-number)
6088 (vera-font-lock-function, vera-font-lock-interface):
6089 * textmodes/table.el (table-cell): Use new-style face specs, and
6090 don't use the old :bold and :italic attributes.
6091
6092 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6093 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6094 (ebrowse-member-class, ebrowse-progress): Likewise.
6095 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6096 (ebrowse-file-name-face, ebrowse-default-face)
6097 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6098 (ebrowse-progress-face): Remove obsolete faces.
6099
6100 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6101 Inherit from error and warning faces respectively.
6102
6103 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6104 Likewise.
f80efb86
SM
6105 (flyspell-incorrect-face, flyspell-duplicate-face):
6106 Remove obsolete aliases.
4b56d0fe 6107
03310646
MA
61082012-06-08 Michael Albinus <michael.albinus@gmx.de>
6109
6110 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6111 Avoid infloop.
6112
513749ee
SM
61132012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * startup.el (argv, argi): Make lexically scoped.
6116 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6117 * emacs-lisp/cl-macs.el: Use lexical-binding.
6118 Rename cl-bind-* to cl--bind-*.
6119 * files.el: Don't require `cl' since it doesn't use it.
6120 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6121
595ef4ad
JB
61222012-06-08 Juanma Barranquero <lekktu@gmail.com>
6123
6124 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6125 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6126 instead of calling external sort utility.
6127 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6128
e9f66fcb
EZ
61292012-06-08 Eli Zaretskii <eliz@gnu.org>
6130
6131 * descr-text.el (describe-char): Mention how to insert the
6132 character, if the current input method doesn't support it.
6133 See the discussion in this thread for the details:
6134 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6135
3d10db47
SS
61362012-06-08 Sam Steingold <sds@gnu.org>
6137
6138 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6139 XF86Back to previous-buffer.
6140 (minibuffer-local-map): Bind them to next-history-element and
6141 previous-history-element respectively.
6142 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6143 help-go-back respectively.
6144 * info.el (Info-mode-map): Bind them to Info-history-forward and
6145 Info-history-back respectively.
6146 These are the keys next to Up on the ThinkPad keyboard.
6147
de7e2b36
SM
61482012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6151 * emacs-lisp/cl-macs.el: Provide itself.
6152 (cl--labels-convert-cache): New var.
6153 (cl--labels-convert): New function.
6154 (cl-flet, cl-labels): New implementation with new semantics, relying on
6155 lexical-binding.
6156 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6157 (cl-closure-vars, cl--function-convert-cache)
6158 (cl--function-convert): Move from cl-macs.el.
6159 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6160 rename by removing the "cl-" prefix.
6161 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6162
6fa6c4ae
SM
61632012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6166 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6167 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6168 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6169 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6170 (cl-hash-table-count): Add old compatibility aliases.
6171
6172 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6173 Use macroexpand-all-environment instead.
6174 (cl--old-macroexpand): New var.
6175 (cl--sm-macroexpand): New function.
6176 (cl-symbol-macrolet): Use it during macro expansion.
6177 (cl--function-convert-cache): New var.
6178 (cl--function-convert): New function, extracted from
6179 cl-macroexpand-all.
6180 (cl-lexical-let): Use it.
6181
6182 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6183 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6184 (cl-member): Remove old alias.
6185
6186 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6187 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6188 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6189 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6190 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6191 (cl-macroexpand-cmacs): Remove var.
6192 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6193 Use macroexpand-all instead.
6194
4dd1c416
SM
61952012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6198 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6199 (macroexp-copyable-p): New functions and macros.
6200 * emacs-lisp/edebug.el (edebug-unwrap):
6201 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6202 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6203 (pcase--let*): Remove.
6204 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6205 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6206 macroexp-const-p instead.
6207 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6208
6209 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6210 instead of "cl-" for internal definitions. Use macroexp-const-p.
6211 (cl-old-bc-file-form): Remove var.
6212 (cl-const-exprs-p): Remove fun.
6213 (cl-labels, cl-macrolet): Use backquote.
6214 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6215 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6216 (cl-define-setf-expander): Rename from cl-define-setf-method.
6217 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6218
6219 * international/mule-cmds.el: Don't require CL.
6220 (view-hello-file): Don't use `letf'.
6221
ed8bd4d7
SM
62222012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6223
7287f2f3
SM
6224 * tmm.el (tmm-prompt): Use string-prefix-p.
6225 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6226 (tmm-add-prompt): Use minibuffer-completion-help.
6227 (tmm-delete-map): Remove.
6228
ed8bd4d7
SM
6229 * subr.el (kbd): Make it its own function.
6230
7b4cdbf4
SM
62312012-06-07 Stefan Merten <smerten@oekonux.de>
6232
6233 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6234 Silence compiler warnings. Fix versions.
ed8bd4d7 6235 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6236 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6237 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6238 (rst-package-emacs-version-alist): Correct Emacs version to
6239 represent major merge with upstream.
ed8bd4d7 6240 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6241
2b48d721
GM
62422012-06-06 Glenn Morris <rgm@gnu.org>
6243
6244 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6245 Only print environment variables if set.
6246
fa779ab0
SM
62472012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6250 (macroexp--cons): Rename from maybe-cons.
6251 (macroexp--accumulate): Rename from macroexp-accumulate.
6252 (macroexp--all-forms): Rename from macroexpand-all-forms.
6253 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6254 (macroexp--expand-all): Rename from macroexpand-all-1.
6255
628299e0
SS
62562012-06-06 Sam Steingold <sds@gnu.org>
6257
6258 * calendar/calendar.el (calendar-in-read-only-buffer):
6259 Call `special-mode' to enable the standard read-only keybindings.
6260
b7bb5838
SM
62612012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6264 with "loading" messages (bug#11635).
6265
dfb308ba
MA
62662012-06-06 Michael Albinus <michael.albinus@gmx.de>
6267
6268 * files.el (enable-remote-dir-locals): New option.
6269 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6270
0372ee92
MA
6271 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6272 Ensure, that the temp directory is local.
6273
6274 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6275 `temporary-file-directory'.
6276
eed0bb91
MA
6277 * progmodes/python.el (python-send-region): Ensure, that the
6278 temporary file is created also in the remote case.
6279
7a58f64d
GM
62802012-06-06 Glenn Morris <rgm@gnu.org>
6281
f7dd4e98
GM
6282 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6283 (vc-rcs-update-changelog): Use it.
6284
090bd7cb 6285 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6286
7a58f64d
GM
6287 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6288 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6289 (vc-sccs-diff): Replace use of the external vcdiff script.
6290
daed4003
GM
62912012-06-05 Glenn Morris <rgm@gnu.org>
6292
6293 * ledit.el: Move to obsolete/.
6294
48c455c7
SS
62952012-06-05 Sam Steingold <sds@gnu.org>
6296
ed9265fc 6297 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6298 patch (Bug#11140).
6299
57a7d507
SM
63002012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6301
090bd7cb 6302 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6303
53aacf21
SM
6304 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6305 compiler-macro expansion.
6306
57a7d507
SM
6307 Add native compiler-macro support.
6308 * emacs-lisp/macroexp.el (macroexpand-all-1):
6309 Support compiler-macros directly. Properly follow aliases and apply
6310 the compiler macros more thoroughly.
6311 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6312 macroexpand now properly follows aliases.
6313 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6314 (cl-compiler-macroexpand): Use new prop.
6315 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6316
6317 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6318
51a5f9d8
MR
63192012-06-05 Martin Rudalics <rudalics@gmx.at>
6320
6321 * window.el (get-lru-window, get-mru-window, get-largest-window):
6322 New argument NOT-SELECTED to avoid picking the selected window.
6323 (window--display-buffer-1, window--display-buffer-2): Replace by
6324 new function window--display-buffer
6325 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6326 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6327 Use window--display-buffer.
51a5f9d8
MR
6328 (display-buffer-use-some-window): Remove temporary dedication
6329 hack by calling get-lru-window and get-largest-window with
6330 NOT-SELECTED argument non-nil. Call window--display-buffer.
6331
08f9f738
GM
63322012-06-05 Glenn Morris <rgm@gnu.org>
6333
6334 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6335 Replace external vcdiff script.
6336
e364a2b7
SM
63372012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6340
041df390
CY
63412012-06-04 Chong Yidong <cyd@gnu.org>
6342
e364a2b7
SM
6343 * image.el (imagemagick-types-inhibit): Revert last change.
6344 Add INFO and M.
47b36b94 6345 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6346
7c1898a7
SM
63472012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * emacs-lisp/cl-lib.el: Rename from cl.el.
6350 * emacs-lisp/cl.el: New compatibility file.
6351 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6352 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6353 to obey the "cl-" prefix.
6354 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6355
0c3461de
GM
63562012-06-03 Glenn Morris <rgm@gnu.org>
6357
1e266c88
GM
6358 * emacs-lisp/authors.el (authors-aliases): Addition.
6359
0c3461de
GM
6360 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6361 Fix :version.
6362
d8a52e15
SM
63632012-06-03 Stefan Merten <smerten@oekonux.de>
6364
6365 * textmodes/rst.el: Add comments.
6366 (rst-transition, rst-adornment): New faces.
6367 (rst-adornment-faces-alist): Make default safe to reevaluate.
6368 Fixes
6369 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6370 Improve customization tags.
6371 (rst-define-level-faces): Clarify meaning.
6372
5205d6f6
CY
63732012-06-03 Chong Yidong <cyd@gnu.org>
6374
6375 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6376 (compilation-mode-line-run, compilation-mode-line-exit):
6377 New faces.
5205d6f6
CY
6378 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6379
757ee657
JD
63802012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6381
7c1898a7
SM
6382 * progmodes/which-func.el (which-func-update-ediff-windows):
6383 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6384
5f2c76c6
CY
63852012-06-03 Chong Yidong <cyd@gnu.org>
6386
6387 * bindings.el: Remove explicit help text from format-mode-line.
6388 It is now supplied by mode-line-default-help-echo.
6389 (mode-line-front-space, mode-line-end-spaces)
6390 (mode-line-misc-info): New variables.
6391 (mode-line-modes, mode-line-position): Move the default value to
6392 the variable definition.
6393 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6394 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6395 (mode-line-modified-help-echo): New functions.
6396 (mode-line-mule-info, mode-line-modified): Use them.
6397 (mode-line-eol-desc, propertized-buffer-identification):
6398 Consistency fixes for help text.
cbe46e5f
CY
6399 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6400 set-buffer-file-coding-system (Bug#289).
6401 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6402
f2d6a3df
SM
64032012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * simple.el (execute-extended-command): Set real-this-command
6406 (bug#11506).
6407
37269466
CY
64082012-06-02 Chong Yidong <cyd@gnu.org>
6409
6410 Remove incorrect uses of "modeline" in comments, docstrings, and
6411 function/variable names (Bug#10329).
6412
6413 * cus-edit.el (mode-line):
6414 * dframe.el (dframe-mouse-hscroll):
6415 * emacs-lisp/re-builder.el:
6416 * emacs-lisp/easy-mmode.el (define-minor-mode):
6417 * frame.el (set-frame-name):
6418 * help.el (lookup-minor-mode-from-indicator):
6419 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6420 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6421 (c-toggle-hungry-state):
6422 * progmodes/antlr-mode.el (antlr-language-alist):
6423 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6424 * progmodes/vhdl-mode.el (vhdl-mode):
6425 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6426 * term/ns-win.el (ns-face-at-pos):
6427 * term/sup-mouse.el (sup-mouse-report):
6428 * textmodes/flyspell.el (flyspell-mode-line-string):
6429 * textmodes/ispell.el (ispell-highlight-face):
6430 * textmodes/reftex-global.el:
6431 * vc/vc-arch.el (vc-arch-mode-line-string):
6432 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6433 * vc/vc-git.el (vc-git-mode-line-string):
6434 * vc/vc-hooks.el (vc-display-status)
6435 (vc-default-mode-line-string):
6436 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6437
6438 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6439
6440 * dired.el (dired-sort-set-mode-line): Rename from
6441 dired-sort-set-modeline. All callers changed.
6442
6443 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6444 eshell-status-in-modeline.
6445
6446 * foldout.el (foldout-mode-line-string): Rename from
6447 foldout-modeline-string. All callers changed.
6448 (foldout-update-mode-line): Rename from foldout-update-modeline.
6449
6450 * subr.el (redraw-modeline): Make into obsolete alias.
6451
6452 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6453 timeclock-modeline-display. Make old name an alias.
6454 (timeclock-update-mode-line): Likewise. All callers changed.
6455 (timeclock-mode-line-display): No need to check before using
6456 add-hook.
6457 (timeclock-relative, timeclock-day-over-hook)
6458 (timeclock-use-elapsed, timeclock-mode-string)
6459 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6460
6461 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6462 crisp-mode-modeline-string.
6463
6464 * play/solitaire.el (solitaire-build-mode-line): Rename from
6465 solitaire-build-modeline. All callers changed.
6466
6467 * play/zone.el (zone-hiding-mode-line): Rename from
6468 zone-hiding-modeline. All callers changed.
6469 (zone): Remove unusued `modeline-hidden-level' property.
6470
6471 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6472 xscheme-modeline-initialize. All callers changed.
6473
6474 * strokes.el (strokes-lighter): Rename from
6475 strokes-modeline-string.
6476
6477 * textmodes/sgml-mode.el (html-face-tag-alist)
6478 (html-tag-face-alist): Use mode-line face instead of obsolete
6479 alias modeline.
6480
42152ee4
SM
64812012-06-02 Stefan Merten <smerten@oekonux.de>
6482
6483 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6484 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6485
95f520b5
CY
64862012-06-02 Chong Yidong <cyd@gnu.org>
6487
6488 * image.el (imagemagick-enabled-types): Rename from
6489 imagemagick-types-enable. Add many more types.
6490 (imagemagick-types-inhibit): Change default to nil.
6491 (imagemagick-filter-types): Caller changed.
6492
4a5f187a
SM
64932012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6494
03fef3e6
SM
6495 * emacs-lisp/cl-macs.el: Use backquotes.
6496 (cl-transform-function-property): Use eval-and-compile rather than
6497 abusing `require'.
6498 (defstruct): Use declare-function instead of with-no-warnings.
6499
4a5f187a
SM
6500 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6501 (byte-compile-output-docform): Re-add the print-circle bindings.
6502 (byte-compile-fix-header): Use #$ just because it's shorter.
6503 (byte-compile-output-file-form): Remove defun/defmacro.
6504
bd56924f
MR
65052012-06-01 Martin Rudalics <rudalics@gmx.at>
6506
6507 * simple.el (choose-completion): Remove now obsolete binding for
6508 owindow.
6509
046e38ce
MA
65102012-06-01 Michael Albinus <michael.albinus@gmx.de>
6511
6512 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6513 in order to avoid "Stack overflow in regexp matcher".
6514
32d72c2f
GM
65152012-05-31 Glenn Morris <rgm@gnu.org>
6516
6517 * image.el: For clarity, call imagemagick-register-types at
6518 top-level, rather than relying on a custom :initialize.
6519 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6520 (imagemagick-filter-types): New function. (Bug#7406)
6521 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6522 If disabling support, remove elements altogether rather
6523 than using an impossible regexp.
6524 (imagemagick-types-inhibit): Give it the default init function.
6525
dd41169b
SM
65262012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6527
4a5f187a
SM
6528 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6529 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6530
efc00ab1 65312012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6532
6533 * desktop.el (desktop-read): Clear previous and next buffers for
6534 all windows and bury *Messages* buffer (bug#11556).
6535
500fcedc
SM
65362012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 Add `declare' for `defun'. Align `defmacro's with it.
6539 * emacs-lisp/easy-mmode.el (define-minor-mode)
6540 (define-globalized-minor-mode): Don't autoload the var definitions.
6541 * emacs-lisp/byte-run.el: Use lexical-binding.
6542 (defun-declarations-alist, macro-declarations-alist): New vars.
6543 (defmacro, defun): Use them.
6544 (make-obsolete, define-obsolete-function-alias)
6545 (make-obsolete-variable, define-obsolete-variable-alias):
6546 Use `declare'.
6547 (macro-declaration-function): Mark obsolete.
6548 * emacs-lisp/autoload.el: Use lexical-binding.
6549 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6550
6e8a1786
AM
65512012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6552
6553 * textmodes/ispell.el (ispell-with-no-warnings):
6554 Define as a macro.
500fcedc
SM
6555 (ispell-kill-ispell, ispell-change-dictionary):
6556 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6557 `interactive-p'.
6558
61b108cc
SM
65592012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6562 (macro-declaration-function): Move var from C code.
6563 (macro-declaration-function): Define function with defalias.
6564 * emacs-lisp/macroexp.el (macroexpand-all-1):
6565 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6566 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6567 defun/defmacro any more.
6568 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6569 Provide fallback for unknown arglist.
6570 (byte-compile-arglist-warn): Change calling convention.
6571 (byte-compile-output-file-form): Move print-vars binding.
6572 (byte-compile-output-docform): Simplify accordingly.
6573 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6574 (byte-compile-defmacro-declaration): Remove.
6575 (byte-compile-file-form-defmumble): Generalize to defalias.
6576 (byte-compile-output-as-comment): Return byte-positions.
6577 Simplify callers accordingly.
6578 (byte-compile-lambda): Use `assert'.
6579 (byte-compile-defun, byte-compile-defmacro): Remove.
6580 (byte-compile-file-form-defalias):
6581 Use byte-compile-file-form-defmumble.
6582 (byte-compile-defalias-warn): Remove.
6583
6d3f7c2f
SM
65842012-05-29 Stefan Merten <smerten@oekonux.de>
6585
6586 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6587 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6588
6589 (rst-mode-abbrev-table): Merge definition.
6590 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6591 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6592
6dbaa1c7
UJ
65932012-05-29 Ulf Jasper <ulf.jasper@web.de>
6594
6595 * calendar/icalendar.el
6596 (icalendar-export-region): Export UID properly.
6597
d209e2fb 65982012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6599 * calendar/icalendar.el (icalendar-import-format):
6600 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6601 (icalendar-import-format-uid): New.
6602 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6603 Export UID.
6604
6876a58d
SM
66052012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6606
6607 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6608 different alternative patterns.
6609 (pcase-codegen): Be more careful to preserve identity.
6610 (pcase--u1): Don't forget to mark vars as used.
6611
6612 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6613 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6614 (byte-compile-from-buffer): ...rather than here.
6615
6616 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6617 functions from byte-compile-function-environment.
6618
46b7967e
TN
66192012-05-29 Troels Nielsen <bn.troels@gmail.com>
6620
6621 * window.el (window-deletable-p): Avoid deleting the root window
6622 of a frame with an active minibuffer.
6623
69d565e2
MR
66242012-05-29 Martin Rudalics <rudalics@gmx.at>
6625
6626 * simple.el (choose-completion): Use quit-window (Bug#11567).
6627
a149fa51
CY
66282012-05-29 Chong Yidong <cyd@gnu.org>
6629
6630 * whitespace.el (whitespace-cleanup): Fix usage of
6631 whitespace-empty-at-bob-regexp (Bug#11492).
6632
2b311310
AH
66332012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6634
6635 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6636 revert (Bug#11488).
6637
b9cb2387
JL
66382012-05-29 Juri Linkov <juri@jurta.org>
6639
6640 * isearch.el (isearch-mode-map): Bind `M-s _' to
6641 `isearch-toggle-symbol'. Bind `M-s c' to
6642 `isearch-toggle-case-fold'.
6643 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6644 (isearch-forward): Add `M-s _' to the docstring.
6645 (isearch-forward-symbol, isearch-toggle-case-fold)
6646 (isearch-symbol-regexp): New functions. (Bug#11381)
6647
d5e61c1c
JL
66482012-05-29 Juri Linkov <juri@jurta.org>
6649
6650 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6651 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6652 a function, call it to get the regexp.
6653 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6654 property `isearch-message-prefix' instead of the string "word ".
6655 (isearch-search-fun-default): For the case of `isearch-word',
6656 return a lambda that calls re-search-forward/re-search-backward
6657 with a regexp returned by `word-search-regexp' or by the function
6658 in `isearch-word'.
6659
8cbd80f7
JL
66602012-05-29 Juri Linkov <juri@jurta.org>
6661
6662 * isearch.el (isearch-search-fun-default): New function.
6663 (isearch-search-fun): Move default part to the new function
6664 `isearch-search-fun-default'.
6665 (isearch-search-fun-function): Set the default value to
6666 `isearch-search-fun-default'. (Bug#11381)
6667
6668 * comint.el (comint-history-isearch-end):
6669 Use `isearch-search-fun-default'.
6670 (comint-history-isearch-search): Use `isearch-search-fun-default'
6671 and remove spacial case for `isearch-word'.
6672 (comint-history-isearch-wrap): Remove spacial case for
6673 `isearch-word'.
6674
6675 * hexl.el (hexl-isearch-search-function):
6676 Use `isearch-search-fun-default'.
6677
6678 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6679 Use `word-search-regexp' for `isearch-word'.
6680
6681 * misearch.el (multi-isearch-search-fun):
6682 Use `isearch-search-fun-default'.
6683
6684 * simple.el (minibuffer-history-isearch-search):
6685 Use `isearch-search-fun-default' and remove spacial case for
6686 `isearch-word'.
6687 (minibuffer-history-isearch-wrap): Remove spacial case for
6688 `isearch-word'.
6689
6690 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6691 Remove spacial case for `isearch-word'.
6692 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6693
85c8c5b6
AM
66942012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6695
6696 Decrease XEmacs incompatibilities.
6697 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6698 Use `string-match'.
6699 (flyspell-delete-region-overlays): Use alternative definition for
6700 XEmacs.
6701 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6702 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6703 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6704 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6705 `define-obsolete-face-alias' under XEmacs, but old method.
6706
6707 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6708 `with-no-warnings' definition or Emacs alias.
6709 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6710 (ispell-word): Do not use `region-p' if XEmacs.
6711
8cab9efc
AM
67122012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6713
6714 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6715 Check for `ispell-dictionary-base-alist' instead of full
6716 `ispell-dictionary-alist'.
6717 (ispell-init-process): Show spellchecker when starting new Ispell
6718 process.
6719
fda91268
RZ
67202012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6723 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6724
694ea8e3
JB
67252012-05-27 Juanma Barranquero <lekktu@gmail.com>
6726
6727 * version.el (motif-version-string, gtk-version-string)
6728 (ns-version-string): Declare.
6729
e4d4f539
JL
67302012-05-27 Juri Linkov <juri@jurta.org>
6731
6732 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6733 after the `eval-defun-1' specialcaseing
6734 like in `edebug-eval-defun' (bug#10181).
6735
6736 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6737 like in `eval-defun-1'.
6738
33017faf 67392012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6740
fda91268
RZ
6741 * mail/sendmail.el (mail-yank-region):
6742 Recognize rmail-yank-current-message in addition to insert-buffer.
6743 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6744 a *mail* buffer created through rmail-start-mail with sendmail as
6745 mail-user-agent.
6746
33017faf
GM
67472012-05-27 Chong Yidong <cyd@gnu.org>
6748
6749 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6750 Default to 256 (Bug#11267).
6751
6752 * help.el (describe-mode): Doc fix.
6753
04188bb9
GM
67542012-05-26 Glenn Morris <rgm@gnu.org>
6755
38264cc9
GM
6756 * w32-fns.el (w32-init-info): Remove.
6757 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6758
eb7afdad
GM
6759 * info.el (info-initialize): For self-contained NS builds, put the
6760 included info/ directory at the front. (Bug#2791)
6761
04188bb9
GM
6762 * paths.el (Info-default-directory-list): Make it a defcustom,
6763 mainly so that we can use custom-initialize-delay.
6764
a179e3f7
SM
67652012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6766
43416392
SM
6767 * subr.el (buffer-has-markers-at): Mark obsolete.
6768
a179e3f7 6769 * subr.el (lambda): Use declare.
43416392 6770
a179e3f7
SM
6771 * emacs-lisp/lisp-mode.el (lambda):
6772 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6773
34a008d9
AH
67742012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6775
6776 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6777
0a3b289f
GM
67782012-05-26 Glenn Morris <rgm@gnu.org>
6779
6780 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6781
758c81e8
GM
67822012-05-25 Glenn Morris <rgm@gnu.org>
6783
f9f334f0
GM
6784 * paths.el: Remove no-byte-compile.
6785 * loadup.el: No need to load paths.el uncompiled.
6786
87eb79c2
GM
6787 * image.el (imagemagick-types-inhibit): Doc fix.
6788
758c81e8
GM
6789 * version.el: Remove no-byte-compile and associated formatting.
6790 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6791 is ancient code from when there was an "inc-vers.el".
6792
e7e85dc0
SM
67932012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * progmodes/gdb-mi.el: Minor style changes.
6796 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6797 Turn into minor modes.
6798 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6799 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6800 (gdb-shell): Remove unneeded let-binding.
6801 (gdb-get-many-fields): Eliminate O(n²) behavior.
6802
f31237a4
EZ
68032012-05-25 Eli Zaretskii <eliz@gnu.org>
6804
6805 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6806 platforms that don't link in fontset.c.
6807
bc1b21bb
JL
68082012-05-25 Juri Linkov <juri@jurta.org>
6809
6810 Use the same diff color scheme as in modern VCSes (bug#10181).
6811
6812 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6813 to avoid confusion with `diff-added' that now uses green colors.
6814 (diff-removed): Use shades of red.
6815 (diff-added): Use shades of green.
6816 (diff-changed): Leave just the yellow color.
6817 (diff-use-changed-face): New variable.
6818 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6819 how to highlight context diff changes.
6820 (diff-refine-change): Use shades of yellow.
6821 (diff-refine-removed): New face that uses shades of red.
6822 (diff-refine-added): New face that uses shades of green.
6823 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6824 `diff-refine-removed' in the call to `smerge-refine-subst'
6825 depending on the value of `diff-use-changed-face'.
6826
6827 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6828 (smerge-other): Use shades of green.
6829 (smerge-base): Use shades of yellow.
6830 (smerge-refined-change): Empty face.
6831 (smerge-refined-removed): New face that uses shades of red.
6832 (smerge-refined-added): New face that uses shades of green.
6833 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6834 args `props-r' and `props-a', and use them. Doc fix.
6835 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6836 on its value use different faces `smerge-refined-change',
6837 `smerge-refined-removed', `smerge-refined-added' in the call to
6838 `smerge-refine-subst'.
6839
6840 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6841 Add face condition `min-colors 88' with shades of red.
6842 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6843 `min-colors 88' with shades of green.
6844 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6845 `min-colors 88' with shades of yellow.
6846
6df9112c
GM
68472012-05-24 Glenn Morris <rgm@gnu.org>
6848
ead5edc0
GM
6849 * paths.el (prune-directory-list, remote-shell-program): Move to...
6850 * files.el (prune-directory-list, remote-shell-program): ...here.
6851 For the latter, delay initialization, prefer ssh, just search PATH.
6852
f18b81e6
GM
6853 * paths.el (term-file-prefix): Move to faces.el (the only user).
6854 * faces.el (term-file-prefix): Move here, make it a defcustom.
6855
ee2f89a6
GM
6856 * paths.el (news-directory, news-path, news-inews-program):
6857 Move to gnus/nnspool.el.
61a583ca 6858
f8815e4c
GM
6859 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6860
c8f3b42c
GM
6861 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6862 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6863 Make the latter a defcustom, with a delayed initialization.
6864
6df9112c
GM
6865 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6866 These were deleted from Gnus itself late 2010.
6867
5dadff36
JB
68682012-05-22 Juanma Barranquero <lekktu@gmail.com>
6869
9e1701c6
JB
6870 * progmodes/which-func.el (which-func-ff-hook):
6871 Check against user-error, not error.
6872
bd7239f5 6873 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6874 cl-specs.el, which no longer exists.
6875
3290526d
GM
68762012-05-22 Glenn Morris <rgm@gnu.org>
6877
6878 * info.el (info-emacs-bug): New command.
6879 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6880 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6881
ff0c3cfb
GM
68822012-05-21 Glenn Morris <rgm@gnu.org>
6883
6884 * makefile.w32-in (update-subdirs-SH):
6885 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6886
5814f126
SM
68872012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6888
a52c0aa0
SM
6889 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6890
5814f126
SM
6891 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6892 Simplify Maven regexp, and make sure the file can't start with a space
6893 (bug#11517).
6894
b847032c
GM
68952012-05-21 Glenn Morris <rgm@gnu.org>
6896
6897 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6898 Scrap superfluous subshells.
6899
3858bfe7
SM
69002012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6901
6902 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6903 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6904
d14b0029
JB
69052012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6906
6907 * calc/calc.el (calc-ensure-consistent-units): New variable.
6908
a52c0aa0
SM
6909 * calc/calc-units.el (math-consistent-units-p)
6910 (math-check-unit-consistency): New functions.
6911 (calc-quick-units, calc-convert-units):
6912 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6913 is non-nil.
d14b0029
JB
6914 (calc-extract-units): Fix typo.
6915
60c4db3a
SM
69162012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6917
77f3b62e
SM
6918 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6919
60c4db3a
SM
6920 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6921 (flyspell-default-deplacement-commands): Don't spell check after
6922 repeated window/frame switches (e.g. triggered by mouse-movement).
6923 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6924 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6925 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6926 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6927 Remove unused vars.
6928 (flyspell-get-casechars, flyspell-get-not-casechars):
6929 Simplify; Don't bother removing a ] just to add it back.
6930 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6931
d209e2fb 69322012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6933
6934 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6935 New functions.
bd7239f5 6936 (math-function-table): Add support for more C functions.
b1a10716 6937
3f1b25b5
AM
69382012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6939
090bd7cb
JB
6940 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6941 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6942 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6943
b581bb5c
SM
69442012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6947 their respective macro declarations.
6948 * skeleton.el (define-skeleton):
6949 * progmodes/compile.el (define-compilation-mode):
6950 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6951 (define-ibuffer-filter):
6952 * emacs-lisp/generic.el (define-generic-mode):
6953 * emacs-lisp/easy-mmode.el (define-minor-mode)
6954 (define-globalized-minor-mode):
6955 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6956 * emacs-lisp/byte-run.el (defsubst):
6957 * custom.el (deftheme): Add doc-string metadata.
6958
70b8ef8f
SM
69592012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6962
b1198e17
SM
69632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6964
9abdc45d
SM
6965 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6966
b1198e17
SM
6967 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6968 * emacs-lisp/cl-macs.el: Idem.
6969 * emacs-lisp/cl-specs.el: Remove.
6970
4735906a
SM
69712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 Minor renaming of internal CL functions and variables.
6974 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6975 (cl--position): Rename from cl-position.
6976 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6977 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6978 (cl--random-state): Rename from *random-state*.
6979
ac348012
SM
69802012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6983 parens around the arg list (bug#11499).
6984
a0a79cde
JL
69852012-05-17 Juri Linkov <juri@jurta.org>
6986
6987 * isearch.el (word-search-regexp, word-search-backward)
6988 (word-search-forward, word-search-backward-lax)
6989 (word-search-forward-lax): Move functions from search.c
6990 (bug#10145, bug#11381).
6991
65034a51
AM
69922012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6993
090bd7cb
JB
6994 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6995 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6996 Delay for otherchars as for normal word components.
65034a51 6997
1a72a195
SM
69982012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * minibuffer.el (completion--sifn-requote): Fix last change.
7001 (minibuffer-local-must-match-filename-map):
7002 Move define-obsolete-variable-alias before its var.
7003
fdb058c2
SM
70042012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7005
c41045e6
SM
7006 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7007
036dfb8b
SM
7008 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7009 behavior.
7010 (completion--string-equal-p): New function.
7011 (completion--twq-all): Use it to get better assertion failure data.
7012
2473256d
SM
7013 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7014 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7015 (shell--requote-argument): New functions.
7016 (shell-completion-vars): Use them.
7017 (shell--parse-pcomplete-arguments): Rename from
7018 shell-parse-pcomplete-arguments.
7019 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7020 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7021 Obey comint-file-name-quote-list.
7022
fdb058c2
SM
7023 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7024 (smie-indent-keyword): Use it.
7025
51fa99f1
SM
70262012-05-14 Stefan Merten <smerten@oekonux.de>
7027
7028 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7029
e18afed7 70302012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7031
7032 * net/rlogin.el (rlogin-mode-map): Fix last change.
7033
e18afed7 70342012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7035
7036 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7037 the following \r\n using a single `process-send-string', since the
7038 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7039 with two `process-send-string's (Bug#11444).
8633b1f4 7040
e18afed7 70412012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7042
fdb058c2
SM
7043 * shell.el (shell-parse-pcomplete-arguments):
7044 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7045
2d21d7f6
WJ
70462012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7047
e18afed7 7048 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7049 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7050 (image-transform-width, image-transform-fit-width): New functions.
7051 (image-transform-properties): Use them.
7052 (image-transform-check-size): New function.
7053 (image-toggle-display-image): Use it (for testing).
7054 (image-transform-set-rotation): Reduce angle mod 360.
7055 Delete obsolete comment.
7056
7102e6d0
WJ
70572012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7058
7059 * image-mode.el: Fix scaling (bug#11399).
7060 (image-transform-resize): Doc fix.
7061 (image-transform-properties): Default scale is 1 and height should
7062 be an integer.
7063
06bc5e6e
SM
70642012-05-13 Johan Bockgård <bojohan@gnu.org>
7065
7066 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7067 than hard-coding `car', to fix misbehavior when moving forward.
7068
0ae03b6a
CY
70692012-05-13 Chong Yidong <cyd@gnu.org>
7070
7071 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7072 (tabulated-list-entries, tabulated-list-padding)
7073 (tabulated-list-sort-key): Make permanent-local.
7074
7075 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7076 (electric-buffer-list): Put electric buffer menu
7077 command descriptions in this docstring, instead of the docstring
7078 of electric-buffer-menu-mode. Code cleanups.
7079 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7080 Electric-buffer-menu-mode.
7081 (electric-buffer-update-highlight): Minor code cleanup.
7082
205a7391
MA
70832012-05-13 Michael Albinus <michael.albinus@gmx.de>
7084
7085 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7086 (Bug#11447)
7087
e5bd0a28
SM
70882012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 Move define-obsolete-variable-alias before the var's definition.
7091 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7092 * tooltip.el (tooltip-hook):
7093 * textmodes/reftex-toc.el (reftex-toc-map):
7094 * textmodes/reftex-sel.el (reftex-select-label-map)
7095 (reftex-select-bib-map):
7096 * textmodes/reftex-index.el (reftex-index-map)
7097 (reftex-index-phrases-map):
7098 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7099 * progmodes/meta-mode.el (meta-mode-map):
7100 * novice.el (disabled-command-hook):
7101 * loadhist.el (unload-hook-features-list):
7102 * frame.el (blink-cursor):
7103 * files.el (find-file-not-found-hooks, write-file-hooks)
7104 (write-contents-hooks):
7105 * emulation/tpu-edt.el (GOLD-map):
7106 * emacs-lock.el (emacs-lock-from-exiting):
7107 * emacs-lisp/generic.el (generic-font-lock-defaults):
7108 * emacs-lisp/chart.el (chart-map):
7109 * dos-fns.el (register-name-alist):
7110 * dired-x.el (dired-omit-files-p):
7111 * desktop.el (desktop-enable):
7112 * cus-edit.el (custom-mode-hook):
7113 * buff-menu.el (buffer-menu-mode-hook):
7114 * bookmark.el (bookmark-read-annotation-text-func)
7115 (bookmark-exit-hooks):
7116 * allout.el (allout-mode-deactivate-hook)
7117 (allout-exposure-change-hook, allout-structure-added-hook)
7118 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7119 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7120 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7121 comes before the corresponding variable's definition.
7122
ac59c2f6
CY
71232012-05-12 Chong Yidong <cyd@gnu.org>
7124
7125 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7126 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7127 (Buffer-menu-mode-map): Bind it.
7128 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7129
dee6c9a3
SM
71302012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7131
2171cea5
SM
7132 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7133 (prolog-upper-case-string, prolog-lower-case-string)
7134 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7135 (prolog-use-smie, prolog-smie-grammar): New vars.
7136 (prolog-smie-forward-token, prolog-smie-backward-token)
7137 (prolog-smie-rules): New funs.
7138 (prolog-comment-indent): Remove.
7139 (prolog-mode-variables): Use default comment indentation instead.
7140 Setup SMIE.
7141 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7142 (prolog-mode): Don't call them any more.
7143 (prolog-electric-colon, prolog-electric-dash)
7144 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7145
aa0382bd
SM
7146 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7147
dbacb4bd
SM
7148 * minibuffer.el (completion--twq-all): Again, allow case differences.
7149
13bdd94c
SM
7150 * term.el: Move keymap initialization code to be more idiomatic.
7151 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7152 (term-terminal-menu): Move initialization into declaration.
7153 (term-escape-char): Let the user set it in her .emacs.
7154
ff46c759
SM
7155 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7156 Provide SMIE-based indentation (not enabled by default yet).
7157 (sh-mode-map): Don't bind electric keys.
7158 Use electric-pair-mode instead of skeleton-pair.
7159 (sh-assignment-regexp): Fit within 80 columns.
7160 (sh-indent-supported): Specify actual shell name instead of boolean.
7161 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7162 (sh-maybe-here-document): Use it. Make obsolete.
7163 (sh-electric-here-document-mode) New minor mode.
7164 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7165 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7166 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7167 (sh-smie-rc-grammar, sh-use-smie): New vars.
7168 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7169 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7170 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7171 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7172 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7173 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7174 (sh-set-shell): Use smie-setup if requested.
7175
dee6c9a3
SM
7176 * term.el (term-set-escape-char): Properly set term-escape-char.
7177 See http://stackoverflow.com/questions/10524656.
7178
9f9aa044
CY
71792012-05-10 Chong Yidong <cyd@gnu.org>
7180
7181 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7182 Use url-generic-parse-url, and handle host names and Windows
7183 filenames properly.
7184 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7185 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7186 URL schemes to work on.
7187 (ffap--toggle-read-only): New function.
7188 (ffap-read-only, ffap-read-only-other-window)
7189 (ffap-read-only-other-frame): Use it.
7190 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7191 necessary for ffap-url-unwrap-remote.
7192
836d29b3
DA
71932012-05-10 Dave Abrahams <dave@boostpro.com>
7194
7195 * cus-start.el (create-lockfiles): Add it.
7196
00fd78ed
CY
71972012-05-09 Chong Yidong <cyd@gnu.org>
7198
7199 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7200 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7201
666b903b 72022012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7203
7204 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7205
666b903b 72062012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7207
7208 * ansi-color.el (ansi-color-process-output): Check for validity of
7209 comint-last-output-start before using it. This avoids a bad
7210 interaction with gdb-mi's input/output buffer.
7211
666b903b 72122012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7213
7214 * files.el (dir-locals-read-from-file):
7215 Mention dir-locals in any error message.
7216
666b903b 72172012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7218
7219 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7220 package (Bug#11410).
7221
f677562b
CY
7222 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7223 variables into description.
7224
666b903b 72252012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7226
7227 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7228 shell-delimiter-argument-list (bug#11348).
7229 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7230
b499d8d0
JB
72312012-05-09 Juanma Barranquero <lekktu@gmail.com>
7232
8f6b6da8
JB
7233 * textmodes/rst.el: Silence byte-compiler warnings.
7234 (rst-re-alist, rst-reset-section-caches): Move around.
7235 (rst-re): Use `characterp', not `char-valid-p'.
7236 (font-lock-beg, font-lock-end): Declare.
7237
4824146a
JB
7238 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7239 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7240
b499d8d0
JB
7241 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7242
ad89bb83
GM
72432012-05-08 Glenn Morris <rgm@gnu.org>
7244
7245 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7246
8bba5a75
SM
72472012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7248
49ed9c8e
SM
7249 * vc/log-edit.el: Add GNU coding standards highlighting.
7250 (log-edit-font-lock-gnu-style)
7251 (log-edit-font-lock-gnu-keywords): New vars.
7252 (log-edit-font-lock-keywords): New fun.
7253 (log-edit-mode): Don't fold case in font-lock.
7254 (log-edit-font-lock-keywords): Do not assume case-folding.
7255
07d00b56
SM
7256 * imenu.el: Misc cleanup. Make docstrings out of comments.
7257 Use lexical-binding.
7258 (imenu--index-alist, imenu--last-menubar-index-alist)
7259 (imenu-menubar-modified-tick): Use defvar-local.
7260 (imenu--split-menu): Remove unused var.
7261 (imenu--cleanup-seen): Declare as global.
7262 (imenu--cleanup): Use dolist.
7263
8bba5a75
SM
7264 * subr.el (defvar-local): Add debug spec and doc-string position.
7265
5075bdb5
GM
72662012-05-08 Glenn Morris <rgm@gnu.org>
7267
090bd7cb 7268 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7269 * language/english.el, language/georgian.el, language/greek.el:
7270 * language/japanese.el, language/khmer.el, language/korean.el:
7271 * language/lao.el, language/misc-lang.el, language/romanian.el:
7272 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7273 * language/thai.el, language/utf-8-lang.el:
7274 Remove no-byte-compile setting.
7275
5075bdb5
GM
7276 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7277
06f679a7
AH
72782012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7279
7280 * progmodes/make-mode.el (makefile-browse):
7281 Remove unnecessary interactive. (Bug#11324)
7282
03794570
GM
72832012-05-07 Glenn Morris <rgm@gnu.org>
7284
af8630f4
GM
7285 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7286
03794570
GM
7287 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7288
f0809a9d
SM
72892012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7290
28be5ce7
SM
7291 * loadup.el: Preload newcomment.el.
7292 * newcomment.el: Move autoload-only code to toplevel.
7293
f0809a9d
SM
7294 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7295 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7296 Handle new :right-align column property.
7297 (tabulated-list-print-col): Idem, plus use `display' text-property to
7298 try and preserve alignment for variable pitch fonts.
7299
1241b724
CY
73002012-05-07 Chong Yidong <cyd@gnu.org>
7301
7302 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7303 (tabulated-list-use-header-line): New var.
7304 (tabulated-list-init-header): Use it.
7305 (tabulated-list-print-fake-header): New function.
7306 (tabulated-list-print): Use it.
7307 (tabulated-list-sort-button-map): Add non-header-line commands.
7308 (tabulated-list-init-header): Add column name property to basic
7309 labels as well.
7310 (tabulated-list-col-sort): Handle non-header-line button case.
7311 (tabulated-list--sort-by-column-name): Fix a corner case.
7312
f0809a9d
SM
7313 * buff-menu.el (list-buffers--refresh):
7314 Handle Buffer-menu-use-header-line.
1241b724 7315
e5f9458f
CY
73162012-05-06 Chong Yidong <cyd@gnu.org>
7317
7318 * buff-menu.el: Convert to Tabulated List mode.
7319 (Buffer-menu-buffer+size-width): Make obsolete.
7320 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7321 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7322 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7323 documentation into docstring of buffer-menu.
7324 (Buffer-menu-toggle-files-only): Add an informative message.
7325 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7326 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7327 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7328 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7329 (Buffer-menu-execute, Buffer-menu-select)
7330 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7331 (Buffer-menu-bury): Use Tabulated List machinery.
7332 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7333 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7334 Delete.
e5f9458f
CY
7335 (list-buffers--refresh): New function.
7336 (list-buffers-noselect): Use it.
7337 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7338 (Buffer-menu--pretty-file-name): New helper functions.
7339
7340 * loadup.el: Preload tabulated-list.
7341
7342 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7343 tabulated-list-sort-column.
7344 (tabulated-list-init-header): Add the initial aligning space even
7345 if tabulated-list-padding is zero.
7346
e129292c
CS
73472012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7348
7349 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7350 whose cdr is not a cons cell correctly (bug#11038).
7351
6632d361
CY
73522012-05-06 Chong Yidong <cyd@gnu.org>
7353
e129292c
CS
7354 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7355 Accept additional plist in column descriptors.
6632d361
CY
7356 (tabulated-list-init-header): Obey it.
7357 (tabulated-list-get-entry): New function.
7358 (tabulated-list-put-tag): Use it. Use string-width instead of
7359 length.
7360 (tabulated-list--column-number): New function.
7361 (tabulated-list-print): Use it.
e129292c
CS
7362 (tabulated-list-print-col): New function.
7363 Set `tabulated-list-column-name' property on each column's text.
6632d361 7364 (tabulated-list-print-entry): Use it.
e129292c
CS
7365 (tabulated-list-delete-entry, tabulated-list-set-col):
7366 New functions.
6632d361
CY
7367 (tabulated-list-sort-column): New command (Bug#11337).
7368
3cc99f68
CY
7369 * buff-menu.el (list-buffers): Move C-x C-b binding from
7370 buff-menu.el to bindings.el.
7371
7372 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7373 :advertised-binding feature.
7374
52b61776
TN
73752012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7376
7377 * progmodes/compile.el (compilation-internal-error-properties):
7378 Calculate start position correctly when end-col is set but
7379 end-line is not (Bug#11382).
7380
ebfe2597
WJ
73812012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7382
7383 * man.el (Man-unindent): Use text-property-default-nonsticky to
7384 prevent untabify from inheriting face properties (Bug#11408).
7385
6d3f7c2f
SM
73862012-05-05 Stefan Merten <smerten@oekonux.de>
7387
7388 * textmodes/rst.el: Major merge with upstream development up to
7389 Docutils SVN r7399 / rst.el V1.2.1.
7390
7391 Clarify maintainership and authors.
7392
7393 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7394 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7395 (rst-official-version, rst-official-cvs-rev, rst-version)
7396 (rst-package-emacs-version-alist): New functions and variables
7397 for version information.
7398
7399 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7400 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7401 (rst-mode-syntax-table, rst-mode): New and corrected functions
7402 and variables representing reStructuredText features.
7403
7404 (rst-re): New function for reStructuredText regexes. Use in
7405 many places.
7406
7407 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7408 (rst-mode-map): Rebind keys.
7409
7410 (rst-mode-lazy, rst-font-lock-keywords)
7411 (rst-font-lock-extend-region)
7412 (rst-font-lock-extend-region-internal)
7413 (rst-font-lock-extend-region-extend)
7414 (rst-font-lock-find-unindented-line-limit)
7415 (rst-font-lock-find-unindented-line-match)
7416 (rst-adornment-level, rst-font-lock-adornment-level)
7417 (rst-font-lock-adornment-match)
7418 (rst-font-lock-handle-adornment-pre-match-form)
7419 (rst-font-lock-handle-adornment-matcher): Major revision of
7420 font-locking. Integrate with other code. Use `jit-lock-mode'.
7421
7422 (rst-preferred-adornments, rst-adjust-hook)
7423 (rst-new-adornment-down, rst-preferred-bullets)
7424 (rst-preferred-bullets, rst-indent, rst-indent-width)
7425 (rst-indent-field, rst-indent-literal-normal)
7426 (rst-indent-literal-minimized, rst-indent-comment): Change,
7427 extend and improve customization.
7428
7429 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7430 (rst-normalize-cursor-position, rst-get-decoration)
7431 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7432 (rst-rstrip, rst-toc-insert-find-delete-contents)
7433 (rst-shift-fill-region, rst-compute-bullet-tabs)
7434 (rst-debug-print-tabs, rst-debug-mark-found)
7435 (rst-shift-region-guts, rst-shift-region-right)
7436 (rst-shift-region-left, rst-use-char-classes)
7437 (rst-font-lock-keywords-function)
7438 (rst-font-lock-indentation-point)
7439 (rst-font-lock-find-unindented-line-begin)
7440 (rst-font-lock-find-unindented-line-end)
7441 (rst-font-lock-find-unindented-line)
7442 (rst-font-lock-adornment-point, rst-font-lock-level)
7443 (rst-adornment-level-alist): Remove functions and variables.
7444
7445 (rst-compare-adornments, rst-get-adornment-match)
7446 (rst-suggest-new-adornment, rst-get-adornments-around)
7447 (rst-adornment-complete-p, rst-get-next-adornment)
7448 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7449 (rst-straighten-adornments): Standardize function names to
7450 use "adornment" instead of "decoration". Correct callers.
7451 Similar standardizing in many places.
7452
7453 (rst-update-section, rst-adjust, rst-promote-region)
7454 (rst-enumerate-region, rst-bullet-list-region)
7455 (rst-repeat-last-character): Correct use of `interactive'.
7456
7457 (rst-classify-adornment, rst-find-all-adornments)
7458 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7459 (rst-find-leftmost-column, rst-repeat-last-character):
7460 Refactor functions.
7461
7462 (rst-find-title-line, rst-reset-section-caches)
7463 (rst-get-adornments-around, rst-adjust-adornment-work)
7464 (rst-arabic-to-roman, rst-roman-to-arabic)
7465 (rst-insert-list-pos, rst-insert-list-new-item)
7466 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7467 New functions.
7468
7469 (rst-all-sections, rst-section-hierarchy)
7470 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7471 New variables.
7472
7473 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7474 configuration instead of only buffer. Change where necessary.
7475
7476 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7477 (rst-shift-region, rst-adaptive-fill): New functions for
7478 indentation and filling.
7479
7480 (rst-comment-line-break, rst-comment-indent)
7481 (rst-comment-insert-comment, rst-comment-region)
7482 (rst-uncomment-region): New functions for handling comments.
7483
7484 (rst-compile): Quote shell arguments.
7485
7486 (rst-compile-pdf-preview, rst-compile-slides-preview):
7487 Delete temporary files after use.
7488
a43f98b3
GM
74892012-05-05 Glenn Morris <rgm@gnu.org>
7490
48176e8b
GM
7491 * calendar/cal-html.el: Optionally include holidays in the output.
7492 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7493 (cal-html-holidays): New option.
7494 (cal-html-css-default): Add holiday entry.
7495 (holiday-in-range): Autoload it.
7496 (cal-html-htmlify-entry): Add optional class argument.
7497 (cal-html-htmlify-list): Add optional holidays argument.
7498 (cal-html-insert-agenda-days): Include holidays in the output.
7499 (cal-html-one-month): Maybe include holidays.
7500
a43f98b3
GM
7501 * calendar/holidays.el (holiday-in-range):
7502 Move here from cal-tex-list-holidays.
7503 * calendar/cal-tex.el (cal-tex-list-holidays):
7504 Make it an obsolete alias for holiday-in-range. Update all callers.
7505
fef9d149 75062012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7507
7508 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7509 Nextstep.
7510
248da2f4
RW
75112012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7512
7513 * files.el (file-auto-mode-skip): New var.
7514 (set-auto-mode-1): Use it.
7515
f95e9344
SM
75162012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7517
df96ab1e
SM
7518 * repeat.el: Use lexical-binding.
7519 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7520 (repeat-undo-count): Remove.
7521 (repeat):
7522 * progmodes/octave-mod.el (octave-abbrev-start):
7523 * progmodes/f90.el (f90-abbrev-start):
7524 * face-remap.el (text-scale-adjust):
7525 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7526
5342bb06
SM
7527 * emacs-lisp/pcase.el (pcase--let*): New function.
7528 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7529 a bit more.
7530 (pcase--split-pred): Be more clever about ruling out overlap between
7531 a predicate and some constant pattern.
7532 (pcase--q1): Use `null' instead of (eq foo nil).
7533
f95e9344
SM
7534 * subr.el (setq-local, defvar-local): New macros.
7535 (kbd): Redefine as an alias.
7536 (with-selected-window): Leave unrelated frames alone.
7537 (set-temporary-overlay-map): New function.
7538
71873e2b
SM
75392012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * subr.el (user-error): New function.
7542 * window.el (switch-to-buffer):
7543 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7544 (smerge-match-conflict):
7545 * simple.el (previous-matching-history-element)
7546 (next-matching-history-element, goto-history-element, undo-more)
7547 (undo-start):
7548 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7549 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7550 (next-file, tags-loop-scan, list-tags, complete-tag):
7551 * progmodes/compile.el (compilation-loop):
7552 * mouse.el (mouse-minibuffer-check):
7553 * man.el (Man-bgproc-sentinel, Man-goto-page):
7554 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7555 (Info-history-forward, Info-follow-reference, Info-menu)
7556 (Info-extract-menu-item, Info-extract-menu-counting)
7557 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7558 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7559 (Info-next-reference, Info-prev-reference, Info-index)
7560 (Info-index-next, Info-follow-nearest-node)
7561 (Info-copy-current-node-name):
7562 * imenu.el (imenu--make-index-alist)
7563 (imenu-default-create-index-function, imenu-add-to-menubar):
7564 * files.el (basic-save-buffer, recover-file):
7565 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7566 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7567 (checkdoc-message-text, checkdoc-defun):
7568 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7569 * cus-edit.el (customize-changed-options, customize-rogue)
7570 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7571 (custom-variable-mark-to-reset-standard)
7572 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7573 (custom-file):
7574 * completion.el (check-completion-length):
7575 * comint.el (comint-search-arg)
7576 (comint-previous-matching-input-string-position)
7577 (comint-previous-matching-input)
7578 (comint-replace-by-expanded-history-before-point, comint-send-input)
7579 (comint-copy-old-input, comint-backward-matching-input)
7580 (comint-goto-process-mark, comint-set-process-mark):
7581 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7582 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7583
8a61ee22
SM
75842012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7585
66408d1e
SM
7586 * dabbrev.el (dabbrev--ignore-case-p): New function.
7587 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7588 Use it.
7589
8a61ee22
SM
7590 * files.el (automount-dir-prefix): Mark as obsolete.
7591
3c74813a
GM
75922012-05-04 Glenn Morris <rgm@gnu.org>
7593
7594 * patcomp.el, play/bruce.el: Move to obsolete/.
7595
0bfcf5c5
PE
75962012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7597
7598 Fix minor Y10k bugs.
7599 * arc-mode.el (archive-unixdate):
7600 * autoinsert.el (auto-insert-alist):
7601 * calc/calc-forms.el (math-this-year):
7602 * emacs-lisp/copyright.el (copyright-current-year)
7603 (copyright-update-year, copyright):
7604 * tar-mode.el (tar-clip-time-string):
7605 * time.el (display-time-update):
7606 Don't assume years have 4 digits.
7607
78f3273a
CY
76082012-05-04 Chong Yidong <cyd@gnu.org>
7609
7610 * dos-w32.el (file-name-buffer-file-type-alist)
7611 (direct-print-region-use-command-dot-com):
7612 * ffap.el (ffap-menu-regexp):
7613 * find-file.el (ff-special-constructs):
7614 * follow.el (follow-debug):
7615 * forms.el (forms--debug):
7616 * iswitchb.el (iswitchb-all-frames):
7617 * ido.el (ido-all-frames):
7618 * emacs-lisp/timer.el (timer-max-repeats):
7619 * mail/feedmail.el (feedmail-mail-send-hook)
7620 (feedmail-mail-send-hook-queued):
7621 * mail/footnote.el (footnote-signature-separator):
7622 * mail/mailabbrev.el (mail-alias-separator-string)
7623 (mail-abbrev-mode-regexp):
7624 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7625 * progmodes/idlwave.el (idlwave-libinfo-file)
7626 (idlwave-default-completion-case-is-down)
7627 (idlwave-library-routines): Convert defvars to defcustoms.
7628
7629 * mail/rmail.el (rmail-decode-mime-charset):
7630 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7631 (idlwave-shell-fix-inserted-breaks)
7632 (idlwave-shell-activate-alt-keybindings)
7633 (idlwave-shell-use-breakpoint-glyph):
7634 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7635
f7ae6719
SM
76362012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7639
47086495
WS
76402012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7641
7642 * progmodes/verilog-mode.el (font-lock-keywords):
7643 Fix mis-highligting auto. Reported by Craig Barner.
7644 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7645 defines from global name space. Reported by Dan Dever.
47086495
WS
7646 (verilog-auto-reset, verilog-auto-reset-widths)
7647 (verilog-auto-tieoff): Support using unbased numbers for
7648 AUTORESET and AUTOTIEOFF.
7649 (verilog-submit-bug-report): Update variable list.
7650 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7651 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7652 (verilog-auto-template-lint): Fix hash error when linting modules
7653 with no used templates.
7654 (verilog-warn, verilog-warn-error)
7655 (verilog-warn-fatal): When non-interactive report multiple
7656 warnings before exiting. Suggested by Brad Dobbie.
7657 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7658 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7659 to report unused template errors. Reported by Brad Dobbie.
7660 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7661 nets, bug438. Reported by Vns Blore.
47086495
WS
7662 (verilog-auto-inout-module, verilog-auto-reg)
7663 (verilog-read-decls, verilog-read-sub-decls-sig)
7664 (verilog-signals-edit-wire-reg, verilog-signals-with):
7665 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7666 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7667 "reg" for backwards compatibility presuming Verilog 2001.
7668 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7669 (verilog-preprocess): Fix replication of preprocess output.
7670 Reported by Brad Dobbie.
7671 (verilog-auto-inst-interfaced-ports):
7672 Create verilog-auto-inst-interfaced-ports, bug429.
7673 Reported by Julian Gorfajn.
7674 (verilog-after-save-font-hook)
7675 (verilog-before-save-font-hook): New variable.
7676 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7677 (verilog-save-font-mods): Wrap disabling fontification, reported
7678 by David Rogoff.
7679 (verilog-do-indent, verilog-pretty-declarations-auto)
7680 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7681 Reported by Pierre-David Pfister.
7682 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7683 of class declarations, bug292. Reported by Kevin Heilman.
7684 (verilog-read-decls): Fix 'parameter type' not appearing in
7685 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7686 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7687 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7688 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7689 Reported by David Kravitz.
7690
76912012-05-03 Michael McNamara <mac@mail.brushroad.com>
7692
7693 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7694 assignment with tests in ifs and for loops.
7695 (verilog-extended-complete-re, verilog-complete-reg): Change so
7696 that DPI inport functions don't look like fuction declarations.
7697 (verilog-pretty-expr): Don't line up assignment
7698 operations to the test and increment in if and for loops
7699 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7700 that DPI inport functions don't look like fuction declarations.
47086495 7701
2e51d4b5
KH
77022012-05-03 Kenichi Handa <handa@m17n.org>
7703
7704 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7705 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7706 (Bug#11282).
7707
2bd785a2
SM
77082012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * emacs-lisp/bytecomp.el
7711 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7712 since cconv.el might have introduced :fun-body, internal-make-closure,
7713 and friends for bytecomp to handle (bug#11391).
7714 * custom.el (defcustom): Avoid ((λ ..) ..).
7715
99d27583
SM
77162012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7719
55a71479
JB
77202012-05-02 Juanma Barranquero <lekktu@gmail.com>
7721
7722 * notifications.el (dbus-debug):
7723 * term/linux.el (gpm-mouse-enable):
7724 * term/screen.el (xterm-register-default-colors): Declare.
7725
7b97c764
CY
77262012-05-02 Chong Yidong <cyd@gnu.org>
7727
2bc356d7
CY
7728 * cus-start.el (gc-cons-percentage, exec-suffixes)
7729 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7730 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7731 (make-cursor-line-fully-visible, void-text-area-pointer)
7732 (font-list-limit): Add customization data.
7733
7b97c764
CY
7734 * allout.el (allout-exposure-change-functions)
7735 (allout-structure-added-functions)
7736 (allout-structure-deleted-functions)
7737 (allout-structure-shifted-functions): Rename abnormal hooks from
7738 *-hook, and convert to defcustoms.
5d3385a0
JB
7739 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7740 Convert to defcustoms.
7b97c764
CY
7741 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7742
7743 * allout-widgets.el: Hook callers changed.
7744
90207a15 77452012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7746
7747 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7748 the yanked message in preference to the default value of
7749 buffer-file-coding-system.
7750
90207a15 77512012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7752
5d3385a0
JB
7753 * window.el (display-buffer--action-function-custom-type):
7754 Fix entry.
d9558cad 7755
90207a15 77562012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7757
7758 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7759
d80ac57b
GM
77602012-05-01 Glenn Morris <rgm@gnu.org>
7761
976f7668
GM
7762 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7763
beb83b5a
GM
7764 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7765
d80ac57b
GM
7766 * cus-edit.el (custom-variable-documentation): Simplify with format.
7767
b593d6a9 77682012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7769 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7770
7771 * simple.el (suggest-key-bindings, execute-extended-command):
7772 Move from keyboard.c.
7773
782fbf2a
CY
77742012-05-01 Chong Yidong <cyd@gnu.org>
7775
7776 * follow.el: Eliminate advice.
7777 (set-process-filter, process-filter, sit-for): Advice deleted.
7778 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7779 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7780 Vars deleted.
782fbf2a
CY
7781 (follow-auto): Use a :set function.
7782 (follow-mode): Rewritten. Don't advise process filters.
7783 (follow-switch-to-current-buffer-all, follow-scroll-up)
7784 (follow-scroll-down): Assume follow-mode is bound.
7785 (follow-comint-scroll-to-bottom)
7786 (follow-align-compilation-windows): New functions.
7787 (follow--window-sorter): New function.
7788 (follow-all-followers): Use it to explicitly sort windows by their
7789 positions; don't make assumptions about next-window order.
7790 (follow-windows-start-end, follow-delete-other-windows-and-split)
7791 (follow-calc-win-start): Doc fix.
7792 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7793 vertical-motion unnecessarily.
7794 (follow-adjust-window): New function.
7795 (follow-post-command-hook): Use it.
7796 (follow-call-set-process-filter, follow-call-process-filter)
7797 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7798 (follow-stop-intercept-process-output, follow-generic-filter):
7799 Functions deleted.
7800 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7801 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7802 New functions, replacing advice on scroll-bar-* commands.
87233a14 7803 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7804
7805 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7806 (comint-postoutput-scroll-to-bottom): Use it.
7807 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7808
290af740
GM
78092012-05-01 Glenn Morris <rgm@gnu.org>
7810
7811 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7812 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7813 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7814 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7815 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7816 Remove no-byte-compile setting.
7817
6eac8dc9
SM
78182012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7821 all-completions code to not return a number in the last cdr.
7822
9cc7819c
LL
78232012-04-30 Leo Liu <sdl.web@gmail.com>
7824
7825 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7826 read-only error.
7827
c93b886f
CY
78282012-04-29 Chong Yidong <cyd@gnu.org>
7829
7830 * follow.el (follow-calc-win-end): Rewrite to handle partial
7831 screen lines correctly (Bug#8390).
7832 (follow-avoid-tail-recenter): Minor cleanup.
7833
8b6c19f4
SM
78342012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 Avoid the obsolete `assoc' package.
7837 * speedbar.el (speedbar-refresh): Avoid adelete.
7838 (speedbar-file-lists): Simplify and avoid aput.
7839 * man.el (Man--sections, Man--refpages): New vars, replacing
7840 Man-sections-alist and Man-refpages-alist.
7841 (Man-build-section-alist, Man-build-references-alist):
7842 Use them; avoid aput.
7843 (Man--last-section, Man--last-refpage): New vars.
7844 (Man-follow-manual-reference): Use them.
7845 Use the `default' arg of completing-read.
7846 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7847
c5bb7569
CY
78482012-04-27 Chong Yidong <cyd@gnu.org>
7849
d1d2e2e8
CY
7850 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7851
15cd8efd
CY
7852 * startup.el (x-apply-session-resources): New function.
7853
7854 * term/ns-win.el (ns-initialize-window-system):
7855 * term/w32-win.el (w32-initialize-window-system):
7856 * term/x-win.el (x-initialize-window-system): Use it to properly
7857 set menu-bar-mode and other vars from X resources, even if the
7858 initial frame is not a window-system frame (Bug#2299).
7859
c5bb7569
CY
7860 * subr.el (read-key): Avoid running filter function when setting
7861 up temporary tool bar entries (Bug#9922).
7862
a8e7d6d7 78632012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7864
7865 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7866 (Bug#11344)
7867
a8e7d6d7 78682012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7869
7870 * select.el (xselect--encode-string): New function, split from
7871 xselect-convert-to-string.
7872 (xselect-convert-to-string): Use it.
7873 (xselect-convert-to-filename, xselect-convert-to-os)
7874 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7875 returned strings are properly encoded (Bug#11315).
7876
a8e7d6d7 78772012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7878
7879 * simple.el (delete-active-region): Move to killing custom group.
7880
a8e7d6d7 78812012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7882
7883 * progmodes/which-func.el (which-func-current): Quote %
7884 characters for mode-line processing.
7885
578c1d4b 78862012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7887
7888 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7889 reaching eob (Bug#11286).
7890
a8e7d6d7 78912012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7892
7893 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7894 (gdb): Make it buffer-local and init to zero.
7895 (gdb-control-commands-regexp): New variable.
7896 (gdb-send): Don't wrap in "-interpreter-exec console" if
7897 gdb-control-level is positive. Increment gdb-control-level
7898 whenever the command matches gdb-control-commands-regexp, and
7899 decrement it each time the command is "end". (Bug#11279)
7900
a8e7d6d7 79012012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7902
7903 * window.el (adjust-window-trailing-edge, enlarge-window)
7904 (shrink-window, window-resize):
7905 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7906 windows (Bug#11276).
7907
b3608390
CY
79082012-04-27 Chong Yidong <cyd@gnu.org>
7909
7910 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7911 fix "missing prefix" warning. All callers changed.
b3608390 7912
797e6e88
SM
79132012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 * emacs-lisp/assoc.el: Move to obsolete/.
7916
e95a67dc
SM
79172012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7918
657c21e4 7919 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7920
7921 * term/ns-win.el (ns-define-service):
7922 * progmodes/pascal.el (pascal-goto-defun):
7923 * progmodes/js.el (js--read-tab):
7924 * progmodes/etags.el (tags-lazy-completion-table):
7925 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7926 * emacs-lisp/ewoc.el (ewoc--wrap):
7927 * emacs-lisp/assoc.el (aput, adelete, amake):
7928 * doc-view.el (doc-view-convert-current-doc):
7929 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7930
cb3e7ae0
CY
79312012-04-26 Chong Yidong <cyd@gnu.org>
7932
dce04f7f
CY
7933 * image.el (image-type-from-buffer): Only return supported image
7934 type (Bug#9045).
7935
cb3e7ae0
CY
7936 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7937 value, for symmetry with diff-end-of-hunk.
7938 (diff-split-hunk, diff-find-source-location)
7939 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7940 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7941 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7942 compute the relevant hunk or file properly (Bug#6005).
7943 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7944
0d42eb3e
SM
79452012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * vc/vc-mtn.el:
7948 * vc/vc-hg.el:
7949 * vc/vc-git.el:
7950 * vc/vc-dir.el:
7951 * vc/vc-cvs.el:
7952 * vc/vc-bzr.el:
7953 * vc/vc-arch.el:
7954 * vc/vc.el: Replace lexical-let by lexical-binding.
7955 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7956 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7957 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7958
f08ae1c9
CY
79592012-04-26 Chong Yidong <cyd@gnu.org>
7960
8b71081d
CY
7961 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7962 (diff-mode-shared-map): Bind it to / and [remap undo].
7963
f08ae1c9
CY
7964 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7965 (ediff-window-setup-function): Use it as the default, to set up
7966 windows based on whether the current frame is graphical (Bug#2138).
7967 (ediff-choose-window-setup-function-automatically): Make obsolete.
7968
7969 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7970
ef24141c
SM
79712012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7972
cc356a5d
SM
7973 * ffap.el: Remove old code for obsolete package.
7974 (ffap-complete-as-file-p): Remove.
7975
b4ff4f1f
SM
7976 Use completion-table-with-quoting for comint and pcomplete.
7977 * comint.el (comint--unquote&requote-argument)
7978 (comint--unquote-argument, comint--requote-argument): New functions.
7979 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7980 (comint-quote-filename): Use regexp-opt-charset.
7981 (comint--common-suffix, comint--common-quoted-suffix)
7982 (comint--table-subvert): Remove.
7983 (comint-unquote-function, comint-requote-function): New vars.
7984 (comint--complete-file-name-data): Use them with
7985 completion-table-with-quoting.
7986 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7987 * pcomplete.el (pcomplete-arg-quote-list)
7988 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7989 (pcomplete-unquote-argument-function): Default to non-nil.
7990 (pcomplete-unquote-argument): Simplify.
7991 (pcomplete--common-quoted-suffix): Remove.
7992 (pcomplete-requote-argument-function): New var.
7993 (pcomplete--common-suffix): New function.
7994 (pcomplete-completions-at-point): Use completion-table-with-quoting
7995 and completion-table-subvert.
7996
79c4eeb4
SM
7997 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7998 (minibuffer--double-dollars): Preserve properties.
7999 (completion--sifn-requote): New function.
8000 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8001
ef24141c
SM
8002 * minibuffer.el: Add support for completion of quoted/escaped data.
8003 (completion-table-with-quoting, completion-table-subvert): New funs.
8004 (completion--twq-try, completion--twq-all): New functions.
8005 (completion--nth-completion): New function.
8006 (completion-try-completion, completion-all-completions): Use it.
8007
784e7d6e
LL
80082012-04-25 Leo Liu <sdl.web@gmail.com>
8009
dd2ac746
SM
8010 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8011 Use compilation-message if available to find real filename.
784e7d6e 8012
07875ee7
CY
80132012-04-25 Chong Yidong <cyd@gnu.org>
8014
8015 * vc/diff-mode.el (diff-setup-whitespace): New function.
8016 (diff-mode): Use it.
8017
8018 * vc/diff.el (diff-sentinel):
8019 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8020 Whitespace mode variables based on diff style (Bug#8612).
8021
5055880d
LL
80222012-04-25 Leo Liu <sdl.web@gmail.com>
8023
daf75653
LL
8024 * progmodes/python.el (python-send-region): Add suffix .py to the
8025 temp file.
8026
5055880d
LL
8027 * files.el (auto-mode-alist): Use javascript-mode instead.
8028
db9b177b
AH
80292012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8030
ef24141c 8031 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8032
090bd7cb 8033 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8034 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8035 references, see Bug#9.
ef24141c 8036 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8037 when receiving a fault reply.
ef24141c 8038 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8039
090bd7cb 8040 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8041 (soap-inspect-simple-type): New function.
db9b177b 8042
090bd7cb 8043 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8044 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8045 (soap-decode-basic-type, soap-encode-basic-type):
8046 support unsignedInt and double basic types.
db9b177b 8047 (soap-resolve-references-for-simple-type)
ef24141c
SM
8048 (soap-parse-simple-type, soap-encode-simple-type): New function.
8049 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8050
090bd7cb 8051 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8052 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8053 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8054 the local name of "soapenc:Array".
8055 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8056 decoding integer, byte and anyURI xsd types.
8057
1fc6097b
CY
80582012-04-25 Chong Yidong <cyd@gnu.org>
8059
8060 * cus-edit.el (custom-buffer-create-internal): Update header text.
8061
afc6df87
EZ
80622012-04-25 Eli Zaretskii <eliz@gnu.org>
8063
8064 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8065 settings on 'system-type', not on 'window-system'. On MS-Windows,
8066 set interactive-mode on in GDB.
8067
dfbd787f
SM
80682012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8071 (ruby-syntax-propertize-regexp): Remove.
8072 (ruby-syntax-propertize-function): Split regexp into chunks.
8073 Match following code directly.
8074
85222d44
DG
80752012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8076
51a8ea2a
DG
8077 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8078 (ruby-syntax-propertize-regexp): New function.
8079 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8080 by a special keyword.
8081
85222d44
DG
8082 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8083 (ruby-syntax-general-delimiters-goto-beg)
8084 (ruby-syntax-propertize-general-delimiters): New functions.
8085 (ruby-syntax-propertize-function): Use them to handle GDL.
8086 (ruby-font-lock-keywords): Move old handling of GDL...
8087 (ruby-font-lock-syntactic-keywords): .. to here.
8088 (ruby-calculate-indent): Adjust indentation for GDL.
8089
b613912b
MA
80902012-04-24 Michael Albinus <michael.albinus@gmx.de>
8091
b5380639
MA
8092 * notifications.el (top): Remove unneeded declarations.
8093 (notifications-specification-version): Change to "1.2".
e43042fe 8094 (notifications-interface, notifications-notify-method)
b613912b
MA
8095 (notifications-close-notification-method): Fix docstring.
8096 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8097 (notifications-notify): Add :action-items, :resident and
8098 :transient hints. Change "image_data" to "image-data" and
8099 "image_path" to "image-path".
b613912b
MA
8100 (notifications-get-capabilities): New defun.
8101
257440aa
LL
81022012-04-24 Leo Liu <sdl.web@gmail.com>
8103
8104 * progmodes/python.el: Move hideshow setup to the end.
8105
b1bac16e
MR
81062012-04-24 Martin Rudalics <rudalics@gmx.at>
8107
8108 * window.el (handle-select-window): Clear echo area since this is
8109 no more done by read_char (Bug#11304).
8110
d81bd059
SM
81112012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8114 and `/ M' to filter-derived-mode.
8115 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8116 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8117 (ibuffer-mark-by-mode): Use default rather than initial-input.
8118 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8119
c4cf6d91
IA
81202012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8121
8122 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8123 (ibuffer-filter-by-derived-mode): New filter.
8124 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8125
7511ded8
CY
81262012-04-23 Andreas Politz <politza@fh-trier.de>
8127
8128 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8129
775c916b
CY
81302012-04-23 Chong Yidong <cyd@gnu.org>
8131
8132 * cus-edit.el (customize-apropos, customize-apropos-options):
8133 Disable matching of non-option variables (Bug#11176).
8134 (customize-option, customize-option-other-window)
8135 (customize-changed-options): Doc fix.
8136 (customize-apropos-options, customize-apropos-faces)
8137 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8138
8139 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8140 Fix word list splitting (Bug#11132).
46c71e23
CY
8141 (apropos-symbol, apropos-keybinding, apropos-label)
8142 (apropos-property, apropos-function-button)
8143 (apropos-variable-button, apropos-misc-button): New faces.
8144 (apropos-symbol-face, apropos-keybinding-face)
8145 (apropos-label-face, apropos-property-face, apropos-match-face):
8146 Variables removed (Bug#8396).
8147 (apropos-library-button, apropos-format-plist, apropos-print)
8148 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8149
2df41f9c
MA
81502012-04-23 Michael Albinus <michael.albinus@gmx.de>
8151
8152 * net/xesam.el (xesam-mode-map): Use let-bound map in
8153 initialization. (Bug#11292)
8154
da00640a
AM
81552012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8156
8157 Preserve ispell session localwords when switching back to
8158 original buffer.
8159
090bd7cb
JB
8160 * textmodes/ispell.el (ispell-buffer-session-localwords):
8161 New buffer-local variable to hold buffer session localwords.
ed9265fc 8162 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8163 localwords.
8164 (ispell-command-loop, ispell-change-dictionary)
8165 (ispell-buffer-local-words): Preserve session localwords when
8166 needed.
8167
090bd7cb
JB
8168 * textmodes/flyspell.el (flyspell-process-localwords)
8169 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8170
f621ccf5
AM
81712012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8172
090bd7cb
JB
8173 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8174 using obsolete `translation-table-for-input'.
ef24141c
SM
8175 (ispell-word, ispell-process-line, ispell-complete-word):
8176 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8177
c2d1019e
CY
81782012-04-22 Chong Yidong <cyd@gnu.org>
8179
8180 * cus-edit.el (custom-variable-menu)
8181 (custom-variable-reset-saved, custom-face-menu)
8182 (custom-face-reset-saved): If there is no saved value, make the
8183 "reset-saved" operation bring back the default (Bug#9509).
8184 (custom-face-state): Properly detect themed faces.
8185
eeddc531
CY
8186 * faces.el (face-spec-set): Stop supporting deprecated form of
8187 third arg.
8188
dcbf5805
MA
81892012-04-22 Michael Albinus <michael.albinus@gmx.de>
8190
8191 Move functions from C to Lisp. Make non-blocking method calls
8192 the default. Implement further D-Bus standard interfaces.
8193
ef24141c
SM
8194 * net/dbus.el (dbus-message-internal): Declare function.
8195 Remove unneeded function declarations.
dcbf5805
MA
8196 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8197 (dbus-message-type-method-return, dbus-message-type-error)
8198 (dbus-message-type-signal): Declare variables. Remove local
8199 definitions.
8200 (dbus-interface-dbus, dbus-interface-peer)
8201 (dbus-interface-introspectable, dbus-interface-properties)
8202 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8203 Adapt docstring.
8204 (dbus-interface-objectmanager): New defconst.
8205 (dbus-call-method, dbus-call-method-asynchronously)
8206 (dbus-send-signal, dbus-method-return-internal)
8207 (dbus-method-error-internal, dbus-register-service)
8208 (dbus-register-signal, dbus-register-method): New defuns, moved
8209 from dbusbind.c
8210 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8211 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8212 New defuns.
dcbf5805
MA
8213 (dbus-call-method-non-blocking): Make it an obsolete function.
8214 (dbus-unregister-object, dbus-unregister-service)
8215 (dbus-handle-event, dbus-register-property)
8216 (dbus-property-handler): Obey the new structure of
8217 `bus-registered-objects'.
8218 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8219 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8220 Use `dbus-call-method'.
8221
cf20dee0
CY
82222012-04-22 Chong Yidong <cyd@gnu.org>
8223
8224 * cus-edit.el (custom-commands, custom-reset-menu)
8225 (Custom-reset-standard): Tweak labels.
8226 (custom-reset-button-menu): Change default to t.
8227 (custom-buffer-create-internal): For the custom-reset-button-menu
8228 case, put the revert button first.
8229 (custom-group-subtitle): New face.
8230 (custom-group-value-create): Align docstring to a specific column.
8231
8232 * wid-edit.el (widget-documentation-link-add): Don't handle
8233 indentation in this function.
8234 (widget-documentation-string-indent-to): New function.
8235 (widget-documentation-string-value-create): Use it.
8236
8237 * autorevert.el (auto-revert):
8238 * epg-config.el (epg):
8239 * ibuffer.el (ibuffer):
8240 * mpc.el (mpc):
8241 * ses.el (ses):
8242 * eshell/eshell.el (eshell):
8243 * net/ange-ftp.el (ange-ftp):
8244 * progmodes/ebnf2ps.el (postscript):
8245 * progmodes/flymake.el (flymake):
8246 * progmodes/prolog.el (prolog):
8247 * progmodes/verilog-mode.el (verilog-mode):
8248 * progmodes/which-func.el (which-func):
8249 * term/xterm.el (xterm):
8250 * textmodes/picture.el (picture):
8251 * textmodes/tildify.el (tildify):
8252 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8253 customization buffers.
8254
583e23bd
AM
82552012-04-22 Alan Mackenzie <acm@muc.de>
8256
8257 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8258 Adding a ) can hide the resulting (..) from searches. Fix it.
8259 Bound the backward search to the position of the existing (.
8260
7dd51bf1
JB
82612012-04-21 Juanma Barranquero <lekktu@gmail.com>
8262
8263 * progmodes/verilog-mode.el (verilog-mode): Check whether
8264 which-func-modes is t before adding verilog-mode.
8265 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8266
d64a438f
LL
82672012-04-21 Leo Liu <sdl.web@gmail.com>
8268
7dd51bf1 8269 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8270
081e8d65
MV
82712012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8272
8273 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8274 filling of the last column of a table (Bug#5635).
8275 (woman-find-next-control-line): New arg, specifying an additional
8276 regexp component for the control line.
8277 (woman2-roff-buffer): Use it.
8278 (woman-break-table): New function.
8279 (woman2-TS): Use it.
8280
82812012-04-21 Chong Yidong <cyd@gnu.org>
8282
8283 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8284 (woman-horizontal-escapes, woman-negative-vertical-space)
8285 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8286 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8287
ed571ccb
SM
82882012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * minibuffer.el (completion-file-name-table): Complete user names.
8291
39773899
LL
82922012-04-20 Leo Liu <sdl.web@gmail.com>
8293
8294 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8295 and pcase-let*.
8296
de6ff46d
CY
82972012-04-20 Chong Yidong <cyd@gnu.org>
8298
8299 * server.el (server-execute): Respect initial-buffer-choice if it
8300 is a string and there are no files to open (Bug#2825).
8301 (server-create-window-system-frame, server-create-tty-frame):
8302 Don't switch buffers here.
2d0e8e61
CY
8303 (server-process-filter): Only try to open a window system frame if
8304 compiled with graphical support (Bug#8314).
de6ff46d 8305
54071013
DN
83062012-04-20 Dan Nicolaescu <dann@gnu.org>
8307
8308 * battery.el (battery-echo-area-format): Display remaining time
8309 for sysfs backend too (Bug#11269).
8310 (battery-linux-sysfs): Fix conditional for the charge.
8311
f30d612a
CY
83122012-04-20 Chong Yidong <cyd@gnu.org>
8313
c07a4c0b 8314 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8315 (gdb-inferior-io--init-proc): New function.
8316 (gdb-init-1): Use it.
8317 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8318 responsible for allocating a new pty and hooking it to gdb when
8319 the old pty gets an EIO due to process exit.
8320 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8321 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8322 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8323
2116e93c
EZ
83242012-04-20 Eli Zaretskii <eliz@gnu.org>
8325
8326 * window.el (window-min-size, window-sizable, window-min-delta)
8327 (window-max-delta, window--resizable, window-resizable)
8328 (window-total-size, window-full-height-p, window-full-width-p)
8329 (window-in-direction, window--resize-mini-window, window-resize)
8330 (window--resize-child-windows-normal)
8331 (window--resize-child-windows, window--resize-siblings)
8332 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8333 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8334
c07a4c0b 83352012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8336
ef24141c
SM
8337 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8338 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8339 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8340 pty process (Bug#11273).
8341 (gdb-update): New arg to suppress talking to the gdb process.
8342 (gdb-done-or-error): Use it.
8343 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8344 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8345 sentinel not being called.
8346
8347 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8348
d02766ab
CY
8349 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8350
c07a4c0b 83512012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8352
8353 * net/network-stream.el (open-network-stream): Doc fix.
8354
c07a4c0b 83552012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8356
8357 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8358
c07a4c0b 83592012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8360
8361 Ensure searching for keywords is case sensitive.
8362
8363 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8364 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8365 (c-defun-name, c-mark-function, c-cpp-define-name)
8366 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8367 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8368
ef24141c
SM
8369 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8370 Bind case-fold-search to nil.
f0f6bc35 8371
c07a4c0b 83722012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8373
8374 * mail/sendmail.el (mail-bury): Call return action with the right
8375 Rmail buffer (Bug#11242).
8376
9a864fa2
CY
8377 * server.el (server-process-filter): Handle corner case where both
8378 tty and nowait options are present (Bug#11102).
8379
539aa513
EZ
83802012-04-20 Eli Zaretskii <eliz@gnu.org>
8381
8382 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8383 (top level): Put into the executable the ident-style '$Id:' tag on
8384 windows-nt as well.
539aa513 8385
cfc7d5da
SM
83862012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * electric.el (electric-indent-post-self-insert-function): Check that
8389 electric-indent-mode is enabled in current buffer.
8390
5b01685c
JB
83912012-04-19 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * imenu.el (imenu-progress-message): Restore; it is "used" in
8394 erc/erc-imenu.el and net/snmp-mode.el.
8395
4d6769e1
JB
83962012-04-19 Juanma Barranquero <lekktu@gmail.com>
8397
8398 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8399 (mouse-avoidance-nudge-mouse): Remove unused binding.
8400
8401 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8402
8403 * descr-text.el (describe-char):
8404 * progmodes/python.el (python-describe-symbol):
8405 Don't call `toggle-read-only', set `buffer-read-only'.
8406
8407 * imenu.el (imenu-default-goto-function): Mark unused args.
8408 (imenu-progress-message): Remove obsolete macro; all callers changed.
8409
8410 * subr.el (keymap-canonicalize): Remove unused binding.
8411 (read-passwd): Mark unused arg.
8412
8413 * tutorial.el (tutorial--display-changes): Remove unused binding.
8414 (tutorial--save-tutorial-to): Remove unused variable.
8415
8416 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8417 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8418 (package-generate-autoloads, package-menu--generate)
8419 (package-menu--find-upgrades): Remove unused bindings.
8420
8421 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8422 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8423 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8424 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8425 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8426 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8427 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8428 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8429 (cua-delete-char-rectangle): Mark unused args.
8430 (cua-align-rectangle): Remove unused binding.
8431
8432 * mail/rmail.el (compilation--message->loc)
8433 (epa--find-coding-system-for-mime-charset): Declare.
8434
8435 * net/dbus.el (dbus-register-service): Declare.
8436 (dbus-name-owner-changed-handler): Remove unused binding.
8437
8438 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8439 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8440 (nxml-scan-backward-within): Mark unused arg.
8441 (nxml-dynamic-markup-word): Remove unused binding.
8442
8443 * mouse.el (mouse-menu-major-mode-map):
8444 * emacs-lisp/authors.el (authors-scan-change-log)
8445 (authors-add-to-author-list):
8446 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8447 * emacs-lisp/smie.el (smie-auto-fill):
8448 * mail/sendmail.el (mail-bury):
8449 * mail/unrmail.el (unrmail):
8450 * net/tls.el (open-tls-stream):
8451 * textmodes/picture.el (picture-mouse-set-point):
8452 Remove unused bindings.
8453
8c8fc5df
MA
84542012-04-19 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * net/tramp.el (tramp-action-password): Let-bind
8457 `enable-recursive-minibuffers' to t.
8458
a77b0ac9
SS
84592012-04-18 Sam Steingold <sds@gnu.org>
8460
8461 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8462 instead of 'string to accommodate values like [f11].
8463 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8464 * progmodes/gdb-mi.el: Likewise.
8465
12a106a9
LL
84662012-04-18 Leo Liu <sdl.web@gmail.com>
8467
8468 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8469 current buffer.
8470 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8471 LOCAL is nil.
8472
bc6494ef
CY
84732012-04-18 Chong Yidong <cyd@gnu.org>
8474
8475 * simple.el (line-move): Use forward-line if in batch mode
8476 (Bug#11053).
8477
c09c46b2
CS
84782012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8479
8480 * files.el (after-find-file): Do not try to add a final newline if
8481 the buffer is read-only (Bug#11156).
8482
5f6530ea
RS
84832012-04-17 Richard Stallman <rms@gnu.org>
8484
8485 * mail/rmail.el (rmail-start-mail):
8486 Pass (rmail-mail-return...) for the return-action.
8487 Pass (rmail-yank-current-message...) for the yank-action.
8488 (rmail-yank-current-message): New function.
8489 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8490 (rmail-reply): Likewise.
8491 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8492
8493 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8494 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8495 buffer, not newbuf.
8496
197b6f3c
JB
84972012-04-17 Juanma Barranquero <lekktu@gmail.com>
8498
8499 * server.el (server-ensure-safe-dir): Simplify.
8500
2311d8e5 85012012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8502
2311d8e5
GM
8503 * emacs-lisp/smie.el: Provide smarter auto-filling.
8504 (smie-auto-fill): New function.
8505 (smie-setup): Use it.
98fb480e 8506
2311d8e5
GM
8507 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8508
85092012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8510
8511 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8512 (comment-indent): Use it.
8513
2311d8e5 85142012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8515
8516 * ses.el: The overall change is to add cell renaming, that is
8517 setting fancy names for cell symbols other than name matching
8518 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8519 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8520 (ses-create-cell-variable): New defun.
2311d8e5 8521 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8522 (ses-relocate-formula): Relocate formulas only for cells the
8523 symbols of which are not renamed, i.e. symbols whose names do not
8524 match regexp "\\`[A-Z]+[0-9]+\\'".
8525 (ses-relocate-all): Relocate values only for cells the symbols of
8526 which are not renamed.
8527 (ses-load): Create cells variables as the (ses-cell ...) are read,
8528 in order to check row col consistency with cell symbol name only
8529 for cells that are not renamed.
8530 (ses-replace-name-in-formula): New defun.
8531 (ses-rename-cell): New defun.
4bdf2ad2 8532
fc72b15c
PO
85332012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8534
8535 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8536 New option (bug#11118).
8537 (perl-calculate-indent): Respect it.
8538
12e10e61
GM
85392012-04-17 Glenn Morris <rgm@gnu.org>
8540
8541 * dired-aux.el (dired-mark-read-string): Doc fix.
8542
30009afd
DA
85432012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8544
8545 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8546 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8547
41f03f4d
GM
85482012-04-17 Glenn Morris <rgm@gnu.org>
8549
8550 * mouse.el (mouse-drag-track):
8551 * speedbar.el (speedbar-frame-mode):
8552 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8553
f45f90f3
LL
85542012-04-16 Leo Liu <sdl.web@gmail.com>
8555
8556 * progmodes/python.el: Trivial cleanup.
8557
94ee8db5
GM
85582012-04-16 Glenn Morris <rgm@gnu.org>
8559
121b8917
GM
8560 * vc/vc.el (vc-string-prefix-p):
8561 * vc/pcvs-util.el (cvs-string-prefix-p):
8562 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8563 * mpc.el (mpc-string-prefix-p):
8564 Make all of these into obsolete aliases for string-prefix-p.
8565 Update callers.
8566 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8567
1197ecfa
GM
8568 * textmodes/two-column.el: Move custom options to the start.
8569 (frame-width): Remove compat definition.
8570 (2C-associate-buffer, 2C-dissociate):
8571 Use with-current-buffer rather than save-excursion.
8572 (2C-dissociate): Force a mode-line update.
8573 (2C-autoscroll): Use ignore-errors.
8574
099e7202
GM
8575 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8576 Autoload trivia.
8577
bf350d6a
GM
8578 * emacs-lisp/cl-extra.el (*random-state*):
8579 Remove unnecessary declaration.
8580
0e829eab
GM
8581 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8582
e3ad7552
GM
8583 * play/cookie1.el (cookie-snarf):
8584 Give an explicit error if input file cannot be read.
8585
68892d27
GM
8586 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8587
20f0c46d
GM
8588 * progmodes/perl-mode.el (c-macro-expand):
8589 Remove unnecessary autoload (it is in loaddefs.el).
8590
5a0978ce
GM
8591 * textmodes/picture.el (picture-desired-column)
8592 (picture-update-desired-column): Convert comments to doc-strings.
8593 (picture-substitute): Remove function.
8594 (picture-mode-map): Initialize in the defvar.
8595
6b955486
GM
8596 * woman.el: Remove eval-after-load for tar-mode.
8597 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8598 (woman-tar-extract-file): Autoload it.
8599
94ee8db5
GM
8600 * frame.el (automatic-hscrolling): Make this alias obsolete.
8601
177eca34
AM
86022012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8603
090bd7cb 8604 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8605 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8606 (ispell-dictionary-base-alist): Revert to original XEmacs
8607 friendly version for default. [:alpha:] will be added in
090bd7cb 8608 `ispell-set-spellchecker-params' if needed.
177eca34 8609
c505aaeb
CY
86102012-04-16 Chong Yidong <cyd@gnu.org>
8611
b19dd9d1 8612 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8613 (imagemagick-register-types): Use it.
8614 (imagemagick-types-inhibit): Add :set function. Allow new value
8615 of t to inhibit all types.
8616
8617 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8618 so we can preload it.
8619
8620 * loadup.el (fboundp): Preload regexp-opt, needed by
8621 imagemagick-register-types.
8622
60efac0f
CY
86232012-04-15 Chong Yidong <cyd@gnu.org>
8624
8625 * frame.el (scrolling): Remove nearly unused customization group.
8626
8627 * scroll-all.el (scroll-all-mode): Move to windows group.
8628
5dd1713e
CY
86292012-04-15 Chong Yidong <cyd@gnu.org>
8630
8631 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8632
e6fd457e
CY
86332012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8636 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8637
e153c136
GM
86382012-04-15 Glenn Morris <rgm@gnu.org>
8639
8640 * simple.el (process-file-side-effects): Doc fix.
8641
e6fd457e 86422012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8643
8644 * international/mule-cmds.el (set-language-environment): Doc fix.
8645
3603c3b1
JB
86462012-04-14 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * server.el (server-auth-key, server-generate-key): Doc fixes.
8649 (server-get-auth-key): Doc fix. Use `string-match-p'.
8650 (server-start): Reflow docstring.
8651
e6de100c
LI
86522012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8653
8654 * server.el (server-generate-key): `called-interactively-p'
8655 requires a parameter.
8656
29734c21
MN
86572012-04-14 Michal Nazarewicz <mina86@mina86.com>
8658
8659 * server.el (server-auth-key): New variable.
75f1671a 8660 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8661 (server-start): Use the new variable and functions to allow
8662 setting a permanent server key (bug#9423).
8663
d65c9521
LL
86642012-04-14 Leo Liu <sdl.web@gmail.com>
8665
8666 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8667
5ae255c7
PE
86682012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8669
8670 Spelling fixes.
8671 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8672 Emacs uses American spelling.
8673
d5e6342e
JB
86742012-04-14 Juanma Barranquero <lekktu@gmail.com>
8675
8676 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8677 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8678 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8679 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8680
ab036cd7
SM
86812012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * progmodes/which-func.el (which-func-modes): Change default.
8684
35dc09a1 86852012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8686
8687 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8688 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8689
35dc09a1 86902012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8691
8692 * custom.el (custom-theme-set-variables): Doc fix.
8693
35dc09a1 86942012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8695
8696 * international/mule.el (set-auto-coding-for-load): Doc fix.
8697
35dc09a1 86982012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8699
35dc09a1
GM
8700 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8701 imenu work again for Objective C Mode. Correct the *-index values,
8702 these having been disturbed by a previous change in 2011-08.
57f845ee 8703
0de3da9f
AM
8704 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8705 Correct two search limits.
8706
35dc09a1 87072012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8708
8709 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8710
35dc09a1 87112012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8712
8713 * international/characters.el: Fix sorting.
8714
35dc09a1 87152012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8716
8717 * international/characters.el: Add more missing Latin case pairs.
8718
35dc09a1 87192012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8720
8721 * files.el (dir-locals-set-class-variables): Doc fix.
8722
35dc09a1 87232012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8724
3f1b5bf8
EZ
8725 * international/characters.el: Add set-case-syntax-pair call for
8726 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8727 counterpart. (Bug#11209)
8728
9f847f41
EZ
8729 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8730
35dc09a1 87312012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8732
8733 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8734
35dc09a1 87352012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8736
35dc09a1
GM
8737 * textmodes/ispell.el (ispell-dictionary-base-alist):
8738 Add data for Hebrew.
e2627d21 8739
35dc09a1 87402012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8741
35dc09a1
GM
8742 * net/rcirc.el (rcirc-cmd-quit):
8743 Revert 2012-03-18 change (Bug#11192).
5c14e333 8744
35dc09a1 87452012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8746
8747 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8748
35dc09a1 87492012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8750
4517fe3a
SM
8751 * minibuffer.el (completion-in-region-mode-map):
8752 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8753
b472a594
VD
87542012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8755
8756 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8757
09b95ce3
MY
87582012-04-13 Masatake YAMATO <yamato@redhat.com>
8759
8760 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8761 to allow `C-M-f' and `C-M-b' to move to the nearest path
8762 separator (bug#9511).
8763
4b63a9ca
LI
87642012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8765
8766 * avoid.el: Require cl when compiling. And also move the
8767 `provide' to the end.
8768
7b55b8bf
TV
87692012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8770
8771 * avoid.el (mouse-avoidance-banish-position): New variable.
8772 (mouse-avoidance-banish-destination): Use it (bug#10165).
8773
adedaa1f
LL
87742012-04-13 Leo Liu <sdl.web@gmail.com>
8775
8776 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8777
70e74021
KB
87782012-04-13 Ken Brown <kbrown@cornell.edu>
8779
8780 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8781 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8782 (browse-url-filename-alist): For the same reason, don't modify
8783 file:// URLs on Cygwin.
8784
e75e89ba
SM
87852012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8788 the region on shift if the binding is already shifted (bug#11221).
8789
82f289a4
GM
87902012-04-12 Glenn Morris <rgm@gnu.org>
8791
8792 * mail/mailpost.el: Move to obsolete/.
8793
d333dc4c
DA
87942012-04-12 Drew Adams <drew.adams@oracle.com>
8795
8796 * imenu.el (imenu--generic-function): Ignore invisible definitions
8797 (bug#10123).
8798
0d15b5ba
VD
87992012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8800
8801 * hexl.el (hexl-bits): New variable.
8802 (hexl-options): Mention the variable in the doc string.
75f1671a 8803 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8804 (hexl-mode): Mention the new variable.
75f1671a
JB
8805 (hexl-mode, hexl-current-address, hexl-current-address):
8806 Use the displen.
0d15b5ba
VD
8807 (hexl-ascii-start-column): New function.
8808 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8809 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8810
64a440db
AM
88112012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8812
8813 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8814 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8815 the encoding, as expected by hunspell.
8816
6decb6c2
SM
88172012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * battery.el (battery--linux-sysfs-regexp): New const.
8820 (battery-status-function): Use it. Remove yeeloong special case.
8821 (battery-yeeloong-sysfs): Remove.
8822 (battery-echo-area-format): Remove yeeloong special case.
8823
088be6fb
SM
88242012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8825
6622e416
SM
8826 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8827 Reported by Noah Friedman.
8828
088be6fb
SM
8829 * subr.el (read-passwd): Use read-string.
8830
b49f886e
LMI
88312012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8832
8833 * vcursor.el (vcursor-move): Increase the priority of the overlay
8834 (bug#9663).
8835
a63067fc
DD
88362012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8837
8838 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8839 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8840
ac3cf14a
WS
88412012-04-11 William Stevenson <yhvh2000@gmail.com>
8842
8843 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8844 define-minor-mode (bug#10760).
8845
c4fc691b 88462012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8847
4d6769e1 8848 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8849 that directories matching `grep-find-ignored-files' won't be
8850 pruned (bug#10351).
8851
af23e2e5
CY
88522012-04-11 Chong Yidong <cyd@gnu.org>
8853
8854 * startup.el (command-line): Remove support for long-obsolete
8855 variable font-lock-face-attributes.
8856
ab7ce8c1
GM
88572012-04-11 Glenn Morris <rgm@gnu.org>
8858
8859 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8860
de8c03dc
SM
88612012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * window.el (window--state-get-1): Obey window-point-insertion-type.
8864
050cc68b
LB
88652012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8866
8867 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8868 to previous function when point is on the first character of a
75f1671a 8869 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8870
a38c310c
GM
88712012-04-11 Glenn Morris <rgm@gnu.org>
8872
effed0c2
GM
8873 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8874 not just file-errors.
8875
a38c310c
GM
8876 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8877 (vc-bzr-sha1): Use internal sha1.
8878
0221e323
SM
88792012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8882
43956923
SG
88832012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8884
8885 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8886 that start in the middle of the line (bug#10496).
8887
6a8c9eaf
DN
88882012-04-10 Dan Nicolaescu <dann@gnu.org>
8889
8890 * battery.el (battery-linux-proc-acpi): Only one battery is
8891 discharged at a time, but that seems to confuse battery.el when
8892 computing `rate-type' for the battery not being discharged
8893 (bug#10332).
8894
1930bf5d
SM
88952012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8896
2a718f6f
SM
8897 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8898
599430d0
SM
8899 * international/quail.el: Use dolist and simplify.
8900 (quail-define-package, quail-update-keyboard-layout)
8901 (quail-define-rules): Use dolist.
8902 (quail-insert-kbd-layout, quail-get-translation): CSE.
8903
a2754b6c
SM
8904 * tmm.el: Use dolist, remove left over hook.
8905 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8906 Use dolist.
8907 (calendar-load-hook): Don't mess with it.
8908
1930bf5d
SM
8909 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8910 Use derived-mode-p. Run the diff asynchronously.
8911
9f67961c
LMI
89122012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8913
8914 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8915
2a8ce227
JB
89162012-04-10 Juanma Barranquero <lekktu@gmail.com>
8917
8918 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8919 (list-dynamic-libraries--loaded): New function.
8920 (list-dynamic-libraries--refresh): Use it.
8921
8f33b5f8
NW
89222012-04-10 Nathan Weizenbaum <nweiz@google.com>
8923
1930bf5d
SM
8924 * progmodes/python.el (python-fill-paragraph):
8925 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8926 disabled (bug#7018).
8927
b12f0439
L
89282012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8929
1930bf5d 8930 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8931 DOS/MS Windows for the Baltic languages. There are still plenty
8932 of texts written in this encoding/codepage (bug#6519).
b12f0439 8933
57c3bd01
GM
89342012-04-10 Glenn Morris <rgm@gnu.org>
8935
8936 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8937 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8938
6c3eab30
FA
89392012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8940
1930bf5d 8941 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8942 next-line "n" and previous-line "p" in order to make recentf more
8943 consistent with ibuffer, dired or org-mode (bug#9387).
8944
24d78a88
LMI
89452012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946
bc72b5d9
LMI
8947 * image.el (put-image): Return the overlay created instead of the
8948 optional input string (bug#7834). Note that this may break code
8949 that is (for some reason or other) depending on `put-image'
8950 returning the string.
8951
bd2dba5a
LMI
8952 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8953
74beb59f
LMI
8954 * simple.el (zap-to-char): Allow zapping using input methods
8955 (bug#1580).
8956
24d78a88
LMI
8957 * textmodes/fill.el (fill-region): Leave point and mark where they
8958 were before filling (bug#5399).
8959
263f20cd
GM
89602012-04-09 Glenn Morris <rgm@gnu.org>
8961
8962 * version.el (emacs-bzr-get-version):
8963 Handle lightweight checkouts of local branches.
8964
58d1f797
AS
89652012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8966
263f20cd 8967 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8968
b4d3bc10
CY
89692012-04-09 Chong Yidong <cyd@gnu.org>
8970
8971 * custom.el (custom-variable-p): Return nil for non-symbol
8972 arguments instead of signaling an error.
8973 (user-variable-p): Obsolete alias for custom-variable-p.
8974
8975 * apropos.el (apropos-variable):
8976 * files-x.el (read-file-local-variable):
8977 * simple.el (set-variable):
8978 * woman.el (woman-mini-help):
8979 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8980
fd06db5d
GM
89812012-04-09 Glenn Morris <rgm@gnu.org>
8982
e5fcdb5e
GM
8983 * startup.el (normal-top-level): Don't look for leim-list.el
8984 in places where it will not be found. (Bug#910)
8985
fd06db5d
GM
8986 * international/mule-cmds.el (set-default-coding-systems):
8987 * files.el (normal-mode):
8988 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8989 This function was removed with ucs-tables.el in 2008.
8990
b39bb7e1
EZ
89912012-04-08 Eli Zaretskii <eliz@gnu.org>
8992
8993 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8994 ispell-encoding8-command to "-i", without a trailing space.
8995 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8996 separate command-line arguments, to specify the encoding, since
8997 that's how hunspell expects it.
8998
5c5b8e23
GM
89992012-04-08 Glenn Morris <rgm@gnu.org>
9000
9001 * loadup.el: Load bindings before cus-start.
9002 This reduces somewhat the number of "rogue" settings in emacs -Q.
9003
a1ed8b05
GM
90042012-04-07 Glenn Morris <rgm@gnu.org>
9005
9006 * version.el (emacs-bzr-get-version): New function.
dfae128a 9007 (emacs-bzr-version): New variable.
a1ed8b05
GM
9008 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9009 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9010
b142f158
EZ
90112012-04-07 Eli Zaretskii <eliz@gnu.org>
9012
dfae128a
GM
9013 * international/uni-bidi.el, international/uni-category.el:
9014 * international/uni-combining.el, international/uni-decimal.el:
9015 * international/uni-decomposition.el, international/uni-digit.el:
9016 * international/uni-lowercase.el, international/uni-mirrored.el:
9017 * international/uni-name.el, international/uni-numeric.el:
9018 * international/uni-titlecase.el, international/uni-uppercase.el:
9019 Update for Unicode 6.1.
b142f158 9020
9078ead6
EZ
90212012-04-07 Eli Zaretskii <eliz@gnu.org>
9022
9023 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9024
f23d2c7d
LMI
90252012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9026
9027 * window.el (shrink-window): Mention the `window-min-height'
9028 variable in the doc string.
9029
0a0a3573
BG
90302012-04-05 Bastien Guerry <bzg@altern.org>
9031
9032 * color.el (color-lighten-name): Fix typo.
9033
e5248ac9
SM
90342012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * server.el (server--on-display-p): New function.
9037 (server--on-display-p): Use it.
9038
b4243e22
GV
90392012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9040
9041 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9042 (bug#11145).
9043
305d9f44
SM
90442012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * comint.el (comint--common-quoted-suffix): Check string boundary
9047 before comparing (bug#11158).
9048 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9049
3d439cd1
CY
90502012-04-04 Chong Yidong <cyd@gnu.org>
9051
321cc491
CY
9052 * minibuffer.el (completion-extra-properties): Doc fix.
9053
3d439cd1
CY
9054 * subr.el (delayed-warnings-hook): Doc fix.
9055
2d562c0f
DU
90562012-04-04 Daiki Ueno <ueno@unixuser.org>
9057
9058 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9059 selection (Bug#11159).
9060 (epa-insert-keys): Inform that the default public key will be
9061 exported if no key is selected.
9062
4443f204
RS
90632012-04-04 Richard Stallman <rms@gnu.org>
9064
9065 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9066
529c06b6
CY
90672012-04-03 Chong Yidong <cyd@gnu.org>
9068
9069 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9070 mail-insert-file, not its obsolete alias mail-attach-file.
9071
66b907dc
MA
90722012-04-03 Michael Albinus <michael.albinus@gmx.de>
9073
9074 * notifications.el (notifications-notify): Fix docstring.
9075
c0ea195d
GM
90762012-04-02 Glenn Morris <rgm@gnu.org>
9077
9078 * emacs-lisp/authors.el (authors-aliases): Another addition.
9079
5ca64e00
MA
90802012-04-02 Michael Albinus <michael.albinus@gmx.de>
9081
9082 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9083 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9084 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9085
42ee526b
CY
90862012-04-01 Chong Yidong <cyd@gnu.org>
9087
9088 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9089 Handle root directory properly.
9090 (copy-directory): Caller changed.
9091
9092 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9093 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9094
0b021094
GM
90952012-03-31 Glenn Morris <rgm@gnu.org>
9096
40f86458
GM
9097 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9098
7019c177
GM
9099 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9100
a1daddd6
GM
9101 * calendar/calendar.el (calendar-window-list)
9102 (calendar-hide-window): Restore. (Bug#11140)
9103 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9104
0b021094
GM
9105 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9106
40311efc
TV
91072012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9108
9109 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9110 Check if file is a symlink (Bug#10489).
9111
9112 * files.el (copy-directory): Likewise.
9113
5319014e
CY
91142012-03-30 Chong Yidong <cyd@gnu.org>
9115
9116 * image.el (imagemagick-types-inhibit)
9117 (imagemagick-register-types): Doc fix.
9118
935d1290
AM
91192012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9120
090bd7cb 9121 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9122 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9123 and treats ~word as ordinary words in pipe mode.
935d1290 9124
61c6e8fd
GM
91252012-03-30 Glenn Morris <rgm@gnu.org>
9126
9127 * tutorial.el (help-with-tutorial): Ensure local variables don't
9128 happen to make the buffer read-only. (Bug#11127)
9129
81fdff00
SM
91302012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9133 (perl-calculate-indent): Return `noindent' in strings.
9134
6e7a6ec0
SS
91352012-03-28 Sam Steingold <sds@gnu.org>
9136
9137 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9138 instead of the broken adhockery which does not prevent calendar
9139 buffers from being displayed at random after exit.
9140 (calendar-window-list, calendar-hide-window): Remove the broken
9141 adhockery.
9142
fee88ca0
GM
91432012-03-28 Glenn Morris <rgm@gnu.org>
9144
9145 * replace.el (query-replace-map): Doc fix.
9146
38de3354
AS
91472012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9148
9149 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9150 contents. (Bug#11109)
9151
b973155e
SM
91522012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9155 (bug#11077).
9156 (avl-tree--check, avl-tree--check-node): New funs.
9157
dcb6e7b3
MR
91582012-03-27 Martin Rudalics <rudalics@gmx.at>
9159
9160 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9161 (switch-to-prev-buffer, switch-to-next-buffer):
9162 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9163 showing a buffer already is done on the same frame.
9164
b4fa35fa
GM
91652012-03-27 Glenn Morris <rgm@gnu.org>
9166
9167 * startup.el (mail-host-address): Doc fix.
9168
f9210e18
SM
91692012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9170
9171 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9172 than 197 variables.
9173
c0bf7753
AF
91742012-03-26 Ami Fischman <ami@fischman.org>
9175
9176 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9177
33da7b16
GM
91782012-03-26 Glenn Morris <rgm@gnu.org>
9179
02243d9d
GM
9180 * files.el (save-buffers-kill-emacs): Doc fix.
9181
33da7b16
GM
9182 * startup.el (normal-top-level, command-line, command-line-1):
9183 Give them doc strings.
9184
e5a69fd0
EZ
91852012-03-25 Eli Zaretskii <eliz@gnu.org>
9186
9187 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9188 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9189
9a69676a
CY
91902012-03-25 Chong Yidong <cyd@gnu.org>
9191
4125cb8b
CY
9192 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9193 theme if it was previously enabled before (Bug#11031).
9194
dd470960
CY
9195 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9196 spec with custom-face-get-current-spec if its :shown-value is not
9197 determined yet (Bug#9337).
4125cb8b 9198 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9199
9a69676a
CY
9200 * button.el (button-at): Minor addition to docstring.
9201
6e7e90fa
SL
92022012-03-24 Simon Leinen <simon.leinen@gmail.com>
9203
9204 * vc/vc.el (vc-merge): Fix a prompt.
9205
f06e2758
CY
92062012-03-24 Chong Yidong <cyd@gnu.org>
9207
9208 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9209 point (Bug#9623).
9210
6e7e90fa
SL
9211 * button.el (button-at): Minor addition to docstring.
9212
b9d0879b
SM
92132012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * newcomment.el (comment-choose-indent): No space after BOL.
9216
e71cebb3
SS
92172012-03-22 Sam Steingold <sds@gnu.org>
9218
9219 * window.el (switch-to-prev-buffer): Revert last patch because the
9220 bug turned out to be an advertised feature (Elisp manual 28.14).
9221
335aff35
GM
92222012-03-22 Glenn Morris <rgm@gnu.org>
9223
9224 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9225 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9226
c676576a
LMI
92272012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9228
9229 * net/network-stream.el (network-stream-open-starttls): Make error
9230 message under Windows be less misleading.
9231
126f3d39
LW
92322012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9233
9234 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9235 understands (bug#9942).
9236
64fee311
CY
92372012-03-22 Chong Yidong <cyd@gnu.org>
9238
9239 * simple.el (end-of-visible-line): Handle return value of
9240 next-single-property-change properly (Bug#9371).
9241
a640d29a
KH
92422012-03-22 Kenichi Handa <handa@m17n.org>
9243
9244 * international/quail.el (quail-insert-kbd-layout): Fix previous
9245 change. To avoid unwanted bidi reordering, use
9246 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9247
39675016
DG
92482012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9249
9250 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9251 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9252 (ruby-beginning-of-indent): Be more careful with the difference
9253 between word-boundary and symbol boundary.
9254 (ruby-mode-syntax-table): Make : a symbol constituent.
9255
0a6934fc 92562012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9257
3d008e4f
SM
9258 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9259
0a6934fc
SM
92602012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9261
af67c9d7
SM
9262 * progmodes/etags.el (tags-completion-at-point-function):
9263 Improve last fix.
9264
1acad97c
SM
9265 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9266
e298b5da
SS
92672012-03-21 Sam Steingold <sds@gnu.org>
9268
9269 * progmodes/etags.el (tags-completion-at-point-function):
9270 Avoid the error when point is inside the pattern.
9271
91d82a70
JY
92722012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9273
9274 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9275 line (Bug#10855).
9276
69188b79
CY
92772012-03-21 Drew Adams <drew.adams@oracle.com>
9278
9279 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9280
99fc91fe
AK
92812012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9282
9283 * ido.el (ido-set-current-directory, ido-read-internal)
9284 (ido-choose-completion-string, ido-completion-help): Handle nil
9285 value of ido-completion-buffer (Bug#11008).
9286
087bbb4c
SS
92872012-03-21 Sam Steingold <sds@gnu.org>
9288
9289 * window.el (switch-to-prev-buffer): Do not switch to a visible
9290 window previous buffer, just like with the frame previous buffers.
9291
fb5b8aca
CY
92922012-03-21 Chong Yidong <cyd@gnu.org>
9293
9294 * faces.el (make-face, make-empty-face, copy-face):
9295 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9296 Doc fixes.
9297
dc9924b8
SM
92982012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9301 (widget-complete): Remove broken use of it.
9302
f0bcceb9
CY
93032012-03-20 Chong Yidong <cyd@gnu.org>
9304
dc9924b8
SM
9305 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9306 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9307 characters.
9308
ee52ebf3
TH
93092012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9310
9311 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9312 to draw rectangles, not squares. (Regression introduced by revno
9313 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9314
4c5779ab
CY
93152012-03-18 Chong Yidong <cyd@gnu.org>
9316
9317 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9318 it is not yet defined (for temacs).
9319
15360934
LL
93202012-03-18 Leo Liu <sdl.web@gmail.com>
9321
735135f9
PE
9322 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9323 prefix.
15360934 9324
d9a8eb66
EZ
93252012-03-17 Eli Zaretskii <eliz@gnu.org>
9326
9327 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9328 (ispell-choices-win-default-height, ispell-silently-savep)
9329 (ispell-dictionary-alist, ispell-encoding8-command)
9330 (ispell-check-version, ispell-aspell-find-dictionary)
9331 (ispell-valid-dictionary-list, ispell-words-keyword)
9332 (ispell-get-word, ispell-internal-change-dictionary)
9333 (ispell-region, ispell-skip-region-list)
9334 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9335 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9336 (ispell-message-text-end, ispell-message)
9337 (ispell-buffer-local-parsing): Doc fix.
9338
f02ff80d
J
93392012-03-13 Jambunathan K <kjambunathan@gmail.com>
9340
9341 * htmlfontify.el: Add support for code block fontification for ODT
9342 export (Bug #9914).
9343 (hfy-optimisations): Define new option
9344 `body-text-only'
9345 (hfy-fontify-buffer): Honor above setting.
9346 (hfy-begin-span, hfy-end-span): New routines factored out form
9347 `hfy-fontify-buffer'.
9348 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9349 that permit insertion of custom tags.
9350 (hfy-fontify-buffer): Use above handlers.
9351 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9352 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9353 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9354 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9355 bind a special variable `hfy-user-sheet-assoc'.
9356 (htmlfontify-string): New defun.
9357 (hfy-compile-face-map): Make sure that the last char in the
9358 buffer is correctly fontified.
9359 (hfy-face-resolve-face): Whitespace only change.
9360
9ac7a13f
EZ
93612012-03-17 Eli Zaretskii <eliz@gnu.org>
9362
9363 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9364 message more clear.
9365
e2b5bdd7
LL
93662012-03-16 Leo Liu <sdl.web@gmail.com>
9367
9368 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9369
2e492df3
AM
93702012-03-16 Alan Mackenzie <acm@muc.de>
9371
9372 Further optimise the handling of large macros.
9373
9374 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9375 limit to a call of `c-literal-limits'.
9376 (c-determine-+ve-limit): New function.
dc9924b8
SM
9377 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9378 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9379 In CASE 5B, restrict a search limit to 500.
9380 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9381
9382 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9383 Restrict macro bounds to +-500 from after-change's BEG END.
9384
50e94f0c
LL
93852012-03-16 Leo Liu <sdl.web@gmail.com>
9386
9387 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9388
6f09f6ed
AH
93892012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9390
9391 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9392 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9393
c7e73d51
GM
93942012-03-16 Glenn Morris <rgm@gnu.org>
9395
da986230
GM
9396 * view.el (view-buffer, view-buffer-other-window)
9397 (view-buffer-other-frame): Doc fixes re special mode-class.
9398
0835f01e
GM
9399 * subr.el (eval-after-load): If named feature is provided not from
9400 a file, run after-load forms. (Bug#10946)
9401
c7e73d51
GM
9402 * calendar/calendar.el (calendar-insert-at-column):
9403 Handle non-unit-width characters a bit better. (Bug#10978)
9404
3f2eafd1
CY
94052012-03-15 Chong Yidong <cyd@gnu.org>
9406
9407 * emacs-lisp/ring.el (ring-extend): New function.
9408 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9409
9410 * comint.el (comint-read-input-ring)
9411 (comint-add-to-input-history): Grow comint-input-ring lazily.
9412
103af3fe
SM
94132012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9414
663b1677
SM
9415 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9416 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9417
103af3fe
SM
9418 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9419 (imenu-add-to-menubar): Don't add a redundant index.
9420 (imenu-update-menubar): Handle a dynamically composed keymap.
9421
899cb7cb
KY
94222012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9423
9424 * mail/sendmail.el (mail-encode-header):
9425 Bind rfc2047-encode-encoded-words to nil.
9426
3809f91d
GM
94272012-03-13 Glenn Morris <rgm@gnu.org>
9428
9429 * calendar/calendar.el (calendar-string-spread):
9430 Handle non-unit-width characters a bit better. (Bug#10978)
9431
9e345a01
LL
94322012-03-13 Leo Liu <sdl.web@gmail.com>
9433
9434 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9435 directory and file as argument (Bug#10822).
9436
4a07df36
KS
94372012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9438
9439 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9440 For dynamically generated code, follow $PC.
9441 (gdb-disassembly-handler-custom): Handle no function name case.
9442
4aaa9356
TL
94432012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9444
9445 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9446 * emulation/ws-mode.el (ws-query-replace):
9447 * sort.el (sort-regexp-fields):
9448 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9449
225979da
SM
94502012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9451
9452 * dabbrev.el: Fix cycle completion order (bug#10963).
9453 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9454 (dabbrev-completion): Don't use an obarray; provide
9455 a cycle-sort-function.
9456
e2f1fdab
LL
94572012-03-12 Leo Liu <sdl.web@gmail.com>
9458
dc9924b8 9459 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9460 (kill-do-not-save-duplicates): Doc fix.
9461
b19490ed
SM
94622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * dabbrev.el: Fix cycle completion (bug#10963).
9465 Use lexical binding and wrap to 80 columns.
9466 (dabbrev-completion): Delay computing the list of completions.
9467
4b05d722
KH
94682012-03-12 Kenichi Handa <handa@m17n.org>
9469
9470 * international/quail.el (quail-insert-kbd-layout): Surround each
9471 row by LRO and PDF instead of inserting many LRMs. Pad the left
9472 and right of each non-spacing marks. Insert invisible space
9473 between lower and upper characters to prevent composition.
9474
dbbc2e69
SM
94752012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * minibuffer.el (minibuffer-complete): Don't get confused when the
9478 function is run twice via different commands (bug#10958).
9479 (complete-with-action): Fix docstring.
9480
292112ed
CY
94812012-03-12 Chong Yidong <cyd@gnu.org>
9482
5d1ac394
CY
9483 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9484 (nxml-completion-at-point-function): New function.
9485 (nxml-mode): Use it.
9486 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9487
292112ed
CY
9488 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9489 Load generated autoloads file before byte compiling (Bug#10970).
9490 (package--make-autoloads-and-compile): New helper fun.
9491
4098f8f7
CS
94922012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9493
9494 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9495
8f754691
MA
94962012-03-11 Michael Albinus <michael.albinus@gmx.de>
9497
9498 * autorevert.el (auto-revert-handler): Ensure, that
9499 file-readable-p is applied only for local files or in
9500 auto-revert-tail-mode.
9501
e29ab36b
AS
95022012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9503
dbbc2e69
SM
9504 * server.el (server-eval-at): Handle non-tcp connections.
9505 Decode result string.
ad0bf5b6 9506
e29ab36b
AS
9507 * server.el (server-msg-size): New constant.
9508 (server-reply-print): New function.
9509 (server-eval-and-print): Use it.
9510 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9511 Handle -print-nonl.
9512
de5939ba
CS
95132012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9514
9515 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9516 (Bug#10987).
9517
0c93eabf
CY
95182012-03-11 Chong Yidong <cyd@gnu.org>
9519
397a688f
CY
9520 * simple.el (goto-line): Doc fix (Bug#9938).
9521
2cc775f9
CY
9522 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9523
0c93eabf
CY
9524 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9525 when finished (Bug#10963).
9526
c491fa41
MR
95272012-03-11 Martin Rudalics <rudalics@gmx.at>
9528
9529 * window.el (split-window-below): Fix bug in case where
9530 split-window-keep-point is nil (Bug#10971).
9531
300e8fa5
JL
95322012-03-11 Juri Linkov <juri@jurta.org>
9533
9534 * replace.el (replace-highlight): Set isearch-word to nil
9535 unconditionally. (Bug#10887)
9536
dbf6c5a1
EZ
95372012-03-10 Eli Zaretskii <eliz@gnu.org>
9538
9539 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9540 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9541 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9542 (mairix-widget-create-query): Add usage information about mairix
9543 search forms: negating words, searching for substrings, etc.
9544
b9e501de
JP
95452012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9546
9547 * international/fontset.el (font-encoding-alist): Add an entry for
9548 ksx1001 (Bug#5667).
9549
92795c91
RS
95502012-03-10 Richard Stallman <rms@gnu.org>
9551
1694e6c1
RS
9552 * mail/sendmail.el (mail-encode-header):
9553 Set rfc2047-encode-encoded-words.
9554
607e8555
RS
9555 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9556
de3bc99a
RS
9557 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9558 view buffer means not swapped.
9559 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9560 (rmail-write-region-annotate): Error if real text has disappeared.
9561
92795c91
RS
9562 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9563
699bd04e
CY
95642012-03-10 Chong Yidong <cyd@gnu.org>
9565
9566 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9567 * emulation/cua-base.el (cua--init-keymaps):
9568 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9569
570a1714
MR
95702012-03-10 Martin Rudalics <rudalics@gmx.at>
9571
dbbc2e69
SM
9572 * speedbar.el (speedbar-unhighlight-one-tag-line):
9573 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9574
82dcf4e4
CY
95752012-03-10 Chong Yidong <cyd@gnu.org>
9576
7a2c7ca7
CY
9577 * minibuffer.el (completion-in-region, completion-help-at-point):
9578 Give the completion field overlay a high priority (Bug#6830).
9579
82dcf4e4
CY
9580 * dired.el (dired-goto-file): Recognize absolute file name
9581 listings (Bug#7126).
9582 (dired-goto-file-1): New helper function.
9583 (dired-toggle-read-only): Inhibit warnings.
9584
052e28ac
MA
95852012-03-09 Michael Albinus <michael.albinus@gmx.de>
9586
75f1671a 9587 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9588 there are no properties.
9589
95d5e396
LL
95902012-03-09 Leo Liu <sdl.web@gmail.com>
9591
9592 * savehist.el (savehist-printable): Stricter check for string
9593 value (Bug#10937).
9594
3f018d6d
EZ
95952012-03-09 Eli Zaretskii <eliz@gnu.org>
9596
dbbc2e69
SM
9597 * mail/smtpmail.el (smtpmail-send-it):
9598 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9599 valid mbox format.
9600
f7fd3d79
GM
96012012-03-09 Glenn Morris <rgm@gnu.org>
9602
9603 * files.el (dir-locals-find-file):
9604 Don't check result is regular, readable.
9605 (dir-locals-read-from-file): Demote errors.
9606
6ff6e72f
EZ
96072012-03-08 Eli Zaretskii <eliz@gnu.org>
9608
dbbc2e69
SM
9609 * international/quail.el (quail-insert-kbd-layout):
9610 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9611 layout cell, to prevent their reordering by bidi display engine.
9612 For details, see the discussion in
9613 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9614
9cec7834
AM
96152012-03-08 Alan Mackenzie <acm@muc.de>
9616
9617 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9618 the starting position; make it extend the marked region when
9619 invoked repeatedly - all under appropriate circumstances.
9620 Fixes bugs #5525, #10906.
9621
9a40b8d4
GM
96222012-03-08 Glenn Morris <rgm@gnu.org>
9623
9624 * files.el (locate-dominating-file, dir-locals-find-file):
9625 Undo 2012-03-06 change.
9626
7a08ed35
EZ
96272012-03-07 Eli Zaretskii <eliz@gnu.org>
9628
dbbc2e69
SM
9629 * international/quail.el (quail-help):
9630 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9631 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9632 for the reason.
9633
5aca4f71 96342012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9635
9636 Avoid superfluous registering of signals. (Bug#10807)
9637
9638 * notifications.el (notifications-on-action-object)
9639 (notifications-on-close-object): New defvars.
9640 (notifications-on-action-signal, notifications-on-closed-signal):
9641 Unregister the signal if not needed any longer.
9642 (notifications-notify): Register `notifications-action-signal' or
9643 `notifications-closed-signal', if :on-action or :on-close has been
9644 passed as argument.
9645
78e8b10a
CY
96462012-03-07 Chong Yidong <cyd@gnu.org>
9647
9648 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9649 non-X platforms.
9650
69481eb8
GM
96512012-03-06 Glenn Morris <rgm@gnu.org>
9652
9653 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9654 (x-disown-selection-internal, x-get-selection-internal):
9655 Doc fix (add arglist signatures). (Bug#10783)
9656
133b8e11
KS
96572012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9658
9659 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9660 Handle breakpoints with no "type".
9661
99a83064
GM
96622012-03-06 Glenn Morris <rgm@gnu.org>
9663
9664 * files.el (locate-dominating-file): Add optional predicate argument.
9665 (dir-locals-find-file): Make use of above change.
9666
17798e78
TTN
96672012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9668
9669 * info.el (Info-insert-dir): Also try "dir.gz".
9670
eb182446
GM
96712012-03-06 Glenn Morris <rgm@gnu.org>
9672
8f2114ee
GM
9673 * files.el (dir-locals-find-file):
9674 Ignore non-readable or non-regular files. (Bug#10928)
9675
eb182446
GM
9676 * files.el (locate-dominating-file): Doc fix.
9677
24679323
AS
96782012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9679
9680 * calendar/calendar.el (calendar-set-mode-line):
9681 `getenv' returns a string. (Bug#10951)
9682
01d972a9
LL
96832012-03-05 Leo Liu <sdl.web@gmail.com>
9684
109aa8a9
LL
9685 * simple.el (backward-delete-char-untabify): Constrain point to
9686 field (Bug#10939).
9687
01d972a9
LL
9688 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9689
10607bea
CY
96902012-03-05 Chong Yidong <cyd@gnu.org>
9691
9692 * simple.el (count-words): If called from Lisp, return the word
9693 count, for symmetry with `count-lines'. Arglist changed.
9694 (count-words--message): Args changed. Consolidate counting code
9695 from count-words and count-words-region.
9696 (count-words-region): Caller changed.
9697 (count-lines-region): Make it an obsolete alias.
9698
5dd11cfe
TH
96992012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9700
9701 * saveplace.el (save-place-to-alist)
9702 (save-place-ignore-files-regexp): Allow value nil to disable this
9703 feature.
9704
c349f4e6
CY
97052012-03-04 Chong Yidong <cyd@gnu.org>
9706
9707 * faces.el (face-spec-reset-face): For the default face, reset the
9708 attributes to default values (Bug#10748).
9709
e627be4c
LMI
97102012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9711
9712 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9713 previous patch: Check `message-send-mail-function', and not the
9714 default function (bug#10897).
9715
ebeabff4
MA
97162012-03-04 Michael Albinus <michael.albinus@gmx.de>
9717
a41a6cf4
MA
9718 * notifications.el (notifications-on-action-signal)
9719 (notifications-on-closed-signal): Check for unique service name of
9720 incoming event. Fix error in removing entry.
ebeabff4 9721 (top): Register for signals with wildcard service name.
a41a6cf4 9722 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9723
c1ca42b4
CY
97242012-03-04 Chong Yidong <cyd@gnu.org>
9725
dc9924b8 9726 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9727
ea16568d
GM
97282012-03-04 Glenn Morris <rgm@gnu.org>
9729
9730 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9731 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9732 (expand-abbrev, define-abbrev-table): Doc fixes.
9733
fbae4637
LMI
97342012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735
9736 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9737 `message-default-send-mail-function' and not `send-mail-function'
9738 when doing the prompting for `sendmail-query-once' before sending
9739 in Message buffers (bug#10897).
9740
a1e7225c
LMI
9741 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9742 This is inconsistent with all the other stream functions, which leave
9743 the setting up to the higher levels (if so wanted) (bug#10931).
9744
56d093a9
AM
97452012-03-02 Alan Mackenzie <acm@muc.de>
9746
9747 Depessimize the handling of very large macros.
9748
9749 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9750 (c-macro-cache-syntactic): New variables to implement a one
9751 element macro cache.
9752 (c-invalidate-macro-cache): New function.
9753 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9754 Adapt to use the new cache.
9755 (c-state-safe-place): Use better the cache of safe positions.
9756 (c-state-semi-nonlit-pos-cache)
9757 (c-state-semi-nonlit-pos-cache-limit):
9758 New variables for...
9759 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9760 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9761 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9762 Use c-state-semi-safe-place.
56d093a9 9763
dbbc2e69
SM
9764 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9765 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9766
817e5c3d
MA
97672012-03-02 Michael Albinus <michael.albinus@gmx.de>
9768
dbbc2e69
SM
9769 * jka-compr.el (jka-compr-call-process):
9770 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9771 not remote.
9772
a032a702
MA
97732012-03-01 Michael Albinus <michael.albinus@gmx.de>
9774
9775 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9776 access of FILE2, if FILE1 does not exist.
9777
99a54f21
MA
9778 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9779 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9780
9781 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9782 Add "PAGER=" to `process-environment'.
9783
f6561e1f
MM
97842012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9785
9786 * progmodes/sql.el: Bug fix
9787 (sql-get-login-ext): Save login values in globals.
9788 (sql-get-login): Use new version of `sql-get-login-ext'.
9789 (sql-interactive-mode): Set global `sql-connection' to nil.
9790 (sql-connect): Set global values for connection.
9791 (sql-product-interactive): Save global values as buffer local.
9792
2d44d9cc
LL
97932012-02-29 Leo Liu <sdl.web@gmail.com>
9794
9795 * abbrev.el (define-abbrevs): Reset sys to nil.
9796
96b49301 97972012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9798
bf7f9bc5
JB
9799 * files.el (file-equal-p): Rename from `files-equal-p'.
9800 Return nil when one or both files don't exist.
96b49301 9801 (file-subdir-of-p): Now only top directory must exists,
9802 return nil if it doesn't.
bf7f9bc5
JB
9803 (copy-directory): No need to test with `file-subdir-of-p' after
9804 creating dir.
9805 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9806 to `file-equal-p'.
96b49301 9807
44e97401
GM
98082012-02-28 Glenn Morris <rgm@gnu.org>
9809
9810 * shell.el (shell-mode):
9811 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9812 * play/landmark.el (landmark-font-lock-face-O):
9813 * play/handwrite.el (handwrite):
9814 * play/gomoku.el (gomoku-O):
9815 * net/browse-url.el (browse-url-browser-display):
9816 * international/mule.el (define-charset):
9817 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9818 * filesets.el (filesets-find-file-delay):
9819 * eshell/em-xtra.el (eshell-xtra):
9820 * eshell/em-unix.el (eshell-grep):
9821 * emulation/viper.el (viper-mode):
9822 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9823 * emacs-lisp/easymenu.el (easy-menu-define):
9824 * calendar/timeclock.el (timeclock-use-display-time):
9825 * bs.el (bs-mode):
9826 * bookmark.el (bookmark-save-flag):
9827 Doc fix (standardize possessive apostrophe usage).
9828
c98c6276
CY
98292012-02-27 Chong Yidong <cyd@gnu.org>
9830
bf7f9bc5
JB
9831 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9832 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9833
c98c6276
CY
9834 * font-lock.el (font-lock-specified-p): Rename from
9835 font-lock-spec-present. Callers changed.
9836
9c62cd04 98372012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9838
bf7f9bc5
JB
9839 * emacs-lisp/package.el (package-compute-transaction):
9840 Handle holding a package version to t in package-load-list.
8ac9e529 9841
530739c9
MA
98422012-02-26 Michael Albinus <michael.albinus@gmx.de>
9843
9844 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9845 (tramp-get-inode, tramp-get-device): Use cached values.
9846
487915d7
AM
98472012-02-26 Alan Mackenzie <acm@muc.de>
9848
9849 Check there is a font-lock specification before doing initial
9850 fontification.
9851
9852 * font-core.el (font-lock-mode): Move the conditional from
9853 :after-hook to font-lock-initial-fontify.
9854 (font-lock-default-function): Move the check for a specification
9855 to font-lock-spec-present.
9856
dc9924b8 9857 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9858 (font-lock-spec-present): New function.
9859
4fd96557
JB
98602012-02-26 Jim Blandy <jimb@red-bean.com>
9861
9862 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9863 (gdb-send): Apply it to the operand of the '-interpreter-exec
9864 console' command, so that we can pass arguments with (say) quotes
9865 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9866
9a4888c0
CY
98672012-02-26 Chong Yidong <cyd@gnu.org>
9868
07498861
CY
9869 * help-fns.el (describe-function-1): Clarify description of
9870 remapping (Bug#10844).
9871
9a4888c0
CY
9872 * files.el (files-equal-p): Doc fix.
9873 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9874 and quit the loop once a mismatch is found.
9875
ea8fb88d
JB
98762012-02-25 Juanma Barranquero <lekktu@gmail.com>
9877
9878 * bs.el (bs--show-with-configuration): Don't throw an error
9879 if the window cannot be split; otherwise, subsequent calls to
9880 bs-show fail, restoring a stale window config. (Bug#10882)
9881
525795c1
JD
98822012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9883
9884 * term/ns-win.el (global-map): Bind ns-drag-file to
9885 ns-find-file (Bug#5855, Bug#10050).
9886
f008086f
AS
98872012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9888
9889 * calendar/parse-time.el (parse-time-string): Allow extractor to
9890 return nil.
9891
a3fcfa99
MA
98922012-02-25 Michael Albinus <michael.albinus@gmx.de>
9893
91027d08
JB
9894 * net/tramp.el (tramp-file-name-for-operation):
9895 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9896
9897 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9898 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9899 Add COPY-CONTENTS argument.
a3fcfa99 9900
67b0de11
CY
99012012-02-25 Chong Yidong <cyd@gnu.org>
9902
9903 Add custom groups for VC backends, for consistency with vc-bzr.
9904
9905 * vc/vc-arch.el (vc-arch):
9906 * vc/vc-cvs.el (vc-cvs):
9907 * vc/vc-git.el (vc-git):
9908 * vc/vc-hg.el (vc-hg):
9909 * vc/vc-mtn.el (vc-mtn):
9910 * vc/vc-rcs.el (vc-rcs):
9911 * vc/vc-sccs.el (vc-sccs):
9912 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9913 All relevant defcustoms reassigned.
9914
3c9dfce6
CY
99152012-02-25 Chong Yidong <cyd@gnu.org>
9916
1339bf43
CY
9917 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9918
3c9dfce6
CY
9919 * term/x-win.el (x-initialize-window-system): Reduce default for
9920 x-selection-timeout to 5 seconds (Bug#8869).
9921
25b2e303 99222012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9923
ec70a47d
GM
9924 * files.el (files-equal-p, file-subdir-of-p): New functions.
9925 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9926 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9927 * dired-aux.el (dired-copy-file-recursive): Same.
9928 (dired-create-files): Modify destination when source is equal to
9929 dest when copying files.
53a46cd0 9930 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9931
914260cd
MA
99322012-02-24 Michael Albinus <michael.albinus@gmx.de>
9933
9934 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9935 (Bug#10874)
9936
2cb228f7
AM
99372012-02-23 Alan Mackenzie <acm@muc.de>
9938
9939 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9940 parameter "after-hook:" to allow the expansion to run code after
9941 the execution of the mode hooks.
9942
9943 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9944 from font-lock-mode-internal.
2cb228f7 9945
91027d08 9946 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9947 :after-hook.
9948
8f0fde21
SM
99492012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9950
3e88618b
SM
9951 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9952 (completion--cache-all-sorted-completions): New function.
9953 (completion-all-sorted-completions): Use it.
9954 (completion--do-completion, minibuffer-force-complete):
9955 Use it to re-instate the flush hook.
9956
8f0fde21
SM
9957 * icomplete.el (icomplete-completions): Replace last fix with a better
9958 one (bug#10850).
9959
8e911f6f
DG
99602012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9961
9962 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9963 when it might call us back infinitely (bug#10797).
9964
49fe4321
GM
99652012-02-23 Glenn Morris <rgm@gnu.org>
9966
9967 * minibuffer.el (completion-category-overrides): Doc fix.
9968
b291b572
SM
99692012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9972 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9973
31a9ef2e
GM
99742012-02-23 Glenn Morris <rgm@gnu.org>
9975
5e6e6794 9976 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9977 (authors-obsolete-files-regexps, authors-ignored-files)
9978 (authors-ambiguous-files, authors-renamed-files-alist):
9979 Add more entries.
9980
0bd1e074
JL
99812012-02-23 Juri Linkov <juri@jurta.org>
9982
9983 * isearch.el (isearch-occur): Sync interactive spec with occur's
9984 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9985
b617673c
JL
9986 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9987
19e9789e
JL
99882012-02-22 Juri Linkov <juri@jurta.org>
9989
9990 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9991 (ucs-insert): Doc fix. Check for hex digits in the string.
9992 Don't display `nil' in the error message. (Bug#10857)
9993
f41ce09d
AM
99942012-02-22 Alan Mackenzie <acm@muc.de>
9995
7a71b18d 9996 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9997
ac2eceee
GM
99982012-02-22 Glenn Morris <rgm@gnu.org>
9999
10000 * ffap.el (ffap-c-path):
10001 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10002
abd1f678
CY
100032012-02-22 Chong Yidong <cyd@gnu.org>
10004
10005 * custom.el (load-theme): Doc fix.
10006
f25aef2e
GM
100072012-02-22 Glenn Morris <rgm@gnu.org>
10008
10009 * dired-x.el (dired-guess-shell-alist-default):
10010 Remove escape sequences from nroff output. (Bug#172)
10011
5f8dc2ca
GM
100122012-02-21 Glenn Morris <rgm@gnu.org>
10013
6ff86ec4
GM
10014 * vc/emerge.el (emerge-defvar-local):
10015 Set `permanent-local' property rather than unused `preserved'.
10016
be3223a3 10017 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10018 (picture-mode-map): Use it. (Bug#10860)
10019 (picture-mode): Doc fix.
10020
3fe58f4f
JB
100212012-02-21 Juanma Barranquero <lekktu@gmail.com>
10022
10023 * newcomment.el (uncomment-region-default): Remove unused binding.
10024
f9a998c3
GM
100252012-02-21 Glenn Morris <rgm@gnu.org>
10026
10027 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10028 (picture-self-insert, picture-tab-chars): Doc fix.
10029 (picture-mode-map): Fix C-a, C-e.
10030
c6029348
GM
100312012-02-20 Glenn Morris <rgm@gnu.org>
10032
10033 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10034
ab1ce9d7
LL
100352012-02-20 Leo Liu <sdl.web@gmail.com>
10036
10037 * icomplete.el (icomplete-completions): Check FROM arg before
10038 passing to substring (Bug#10850).
10039
0fd40f89
CY
100402012-02-19 Chong Yidong <cyd@gnu.org>
10041
10042 * comint.el: Require ansi-color.
10043 (comint-output-filter-functions): Add ansi-color-process-output.
10044
10045 * ansi-color.el: Don't set comint-output-filter-functions; it is
10046 now in the initial value defined in comint.el.
10047 (ansi-color-apply-face-function): New variable.
10048 (ansi-color-apply-on-region): Use it.
10049 (ansi-color-apply-overlay-face): New function.
10050
10051 * shell.el (shell): No need to require ansi-color.
10052 (shell-mode): Use ansi-color-apply-face-function to highlight
10053 color escapes using font-lock-face property (Bug#10835).
10054
20af2394
CY
100552012-02-19 Chong Yidong <cyd@gnu.org>
10056
10057 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10058 mode-line formats (Bug#10839).
10059
e23a3fbe
GM
100602012-02-18 Glenn Morris <rgm@gnu.org>
10061
b474519e
GM
10062 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10063
10064 * mail/undigest.el (unforward-rmail-message): Doc fix.
10065
e23a3fbe
GM
10066 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10067
57939ff4
EZ
100682012-02-18 Eli Zaretskii <eliz@gnu.org>
10069
10070 * international/characters.el (script-list): Sync with the latest
10071 Unicode Character Database.
10072
0c23686e
AS
100732012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10074
10075 * international/titdic-cnv.el: Remove duplicate coding tag.
10076 * language/cham.el: Likewise.
10077 * language/tai-viet.el: Likewise.
10078
6818b449
GM
100792012-02-18 Glenn Morris <rgm@gnu.org>
10080
10081 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10082 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10083 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10084 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10085 * calendar/holidays.el (holiday-bahai-holidays)
10086 (calendar-holidays, list-holidays):
10087 Use utf-8 Bahá'í in doc-strings, menus, etc.
10088
0311a3fc
TH
100892012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10090
10091 * saveplace.el (save-place-ignore-files-regexp): New variable
10092 allowing for excluding files from saving their location of point.
10093 The default value matches the temporary commit message editing
10094 files from Git, SVN, Bazaar, and Mercurial.
10095 (save-place-to-alist): Use it.
10096
d209e2fb 100972012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10098 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10099
10100 * newcomment.el (uncomment-region-default): Don't leave extra space
10101 when an arg is provided (bug#8150).
10102
ee0ce425
TZ
101032012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10104
eb864a71 10105 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10106
95ddf442
GM
101072012-02-17 Glenn Morris <rgm@gnu.org>
10108
10109 * net/socks.el: Require network-stream. (Bug#10599)
10110
48dd1e39 101112012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10112
10113 * international/charprop.el:
10114 * international/uni-name.el:
10115 * international/uni-old-name.el:
10116 * international/uni-comment.el: Regenerate.
10117
d68cd087
GM
101182012-02-16 Glenn Morris <rgm@gnu.org>
10119
10120 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10121 Interactively in calendar buffer, give an error if not on a date.
10122
13932042
GM
101232012-02-15 Glenn Morris <rgm@gnu.org>
10124
10125 * shell.el (shell-delimiter-argument-list):
10126 Revert 2011-02-17 change. (Bug#8027)
10127
c3a70e2b
CY
101282012-02-15 Chong Yidong <cyd@gnu.org>
10129
60236b0d
CY
10130 * minibuffer.el (completion-at-point-functions): Doc fix.
10131
c3a70e2b
CY
10132 * custom.el (defcustom): Doc fix; note use of defvar.
10133
9f26dc24
GM
101342012-02-15 Glenn Morris <rgm@gnu.org>
10135
10136 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10137 Doc fixes.
10138
6546b134
GM
101392012-02-14 Glenn Morris <rgm@gnu.org>
10140
10141 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10142
d29b2b4c
LI
101432012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10144
10145 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10146 way the ports list is computed.
835bdcba
LI
10147 (smtpmail-query-smtp-server): Prompt the user for a port number if
10148 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10149
08dcdbc9
TZ
101502012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10151
10152 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10153
2605051a
GM
101542012-02-13 Glenn Morris <rgm@gnu.org>
10155
10156 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10157
7ee99f32
TZ
101582012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10159
10160 * net/gnutls.el (gnutls-trustfiles): New variable.
10161 (gnutls-negotiate): Use it.
10162
5f0af64f
LI
101632012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10164
10165 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10166 does its stuff if Gnus is running.
10167
c14fcc95
AM
101682012-02-13 Alan Mackenzie <acm@muc.de>
10169
10170 Fix a loop in c-set-fl-decl-start.
10171
7a71b18d 10172 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10173 c-backward-syntactic-ws actually moves backwards.
10174
142b4d90
LL
101752012-02-13 Leo Liu <sdl.web@gmail.com>
10176
10177 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10178 beginning so that all \C-o chars are removed.
10179
fa9958a6
TZ
101802012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10181
dc9924b8 10182 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10183
0bc5886a
AM
101842012-02-12 Alan Mackenzie <acm@muc.de>
10185
10186 Fix infinite loop with long macros.
4d6769e1 10187 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10188
d4bd55e7
CY
101892012-02-12 Chong Yidong <cyd@gnu.org>
10190
10191 * window.el (display-buffer): Doc fix (Bug#10785).
10192
66f3fe22
GM
101932012-02-12 Glenn Morris <rgm@gnu.org>
10194
bd7da63e
GM
10195 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10196 (x-disown-selection-internal, x-get-selection-internal):
10197 Sync docs with the xselect.c versions.
10198
66f3fe22
GM
10199 * allout-widgets.el: Add missing license notice.
10200
3e0d2fa7
GM
102012012-02-11 Glenn Morris <rgm@gnu.org>
10202
cfecdf09
GM
10203 * select.el (x-get-selection-internal, x-own-selection-internal)
10204 (x-disown-selection-internal):
10205 * x-dnd.el (x-get-selection-internal): Update declarations.
10206
6d216d7f
GM
10207 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10208
2bed3f04
GM
10209 * window.el (window-sides-slots):
10210 * tool-bar.el (tool-bar-position):
10211 * term/xterm.el (xterm-extra-capabilities):
10212 * ses.el (ses-self-reference-early-detection):
10213 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10214 (verilog-auto-wire-type)
10215 (verilog-auto-delete-trailing-whitespace)
10216 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10217 (verilog-auto-tieoff-declaration):
10218 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10219 (sql-oracle-statement-starters, sql-oracle-scan-on):
10220 * progmodes/prolog.el (prolog-align-comments-flag)
10221 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10222 (prolog-left-indent-regexp, prolog-paren-indent-p)
10223 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10224 (prolog-types, prolog-mode-specificators)
10225 (prolog-determinism-specificators, prolog-directives)
10226 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10227 (prolog-electric-dot-flag)
10228 (prolog-electric-dot-full-predicate-template)
10229 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10230 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10231 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10232 (prolog-program-switches, prolog-prompt-regexp)
10233 (prolog-debug-on-string, prolog-debug-off-string)
10234 (prolog-trace-on-string, prolog-trace-off-string)
10235 (prolog-zip-on-string, prolog-zip-off-string)
10236 (prolog-use-standard-consult-compile-method-flag)
10237 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10238 (prolog-imenu-max-lines, prolog-info-predicate-index)
10239 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10240 (prolog-char-quote-workaround):
10241 * progmodes/cc-vars.el (c-defun-tactic):
10242 * net/tramp.el (tramp-encoding-command-interactive)
10243 (tramp-local-end-of-line):
10244 * net/soap-client.el (soap-client):
10245 * net/netrc.el (netrc-file):
10246 * net/gnutls.el (gnutls):
10247 * minibuffer.el (completion-category-overrides)
10248 (completion-cycle-threshold)
10249 (completion-pcm-complete-word-inserts-delimiters):
10250 * man.el (Man-name-local-regexp):
10251 * mail/feedmail.el (feedmail-display-full-frame):
10252 * international/characters.el (glyphless-char-display-control):
10253 * eshell/em-ls.el (eshell-ls-date-format):
10254 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10255 (lisp-lambda-list-keyword-parameter-indentation)
10256 (lisp-lambda-list-keyword-parameter-alignment):
10257 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10258 * dired-x.el (dired-omit-verbose):
10259 * cus-theme.el (custom-theme-allow-multiple-selections):
10260 * calc/calc.el (calc-highlight-selections-with-faces)
10261 (calc-lu-field-reference, calc-lu-power-reference)
10262 (calc-note-threshold):
10263 * battery.el (battery-mode-line-limit):
10264 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10265 (archive-7z-update):
10266 * allout.el (allout-prefixed-keybindings)
10267 (allout-unprefixed-keybindings)
10268 (allout-inhibit-auto-fill-on-headline)
10269 (allout-flattened-numbering-abbreviation):
10270 * allout-widgets.el (allout-widgets-auto-activation)
10271 (allout-widgets-icons-dark-subdir)
10272 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10273 (allout-widgets-theme-dark-background)
10274 (allout-widgets-theme-light-background)
10275 (allout-widgets-item-image-properties-emacs)
10276 (allout-widgets-item-image-properties-xemacs)
10277 (allout-widgets-run-unit-tests-on-load)
10278 (allout-widgets-time-decoration-activity)
10279 (allout-widgets-hook-error-post-time)
10280 (allout-widgets-track-decoration):
10281 Add missing :version tags to new defcustoms and defgroups.
10282
5fec1b8e
GM
10283 * progmodes/sql.el (sql-ansi-statement-starters)
10284 (sql-oracle-statement-starters): Add custom type.
10285
3e0d2fa7
GM
10286 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10287 (prolog-system-version): Give it a type.
10288
90b671e2
EZ
102892012-02-11 Eli Zaretskii <eliz@gnu.org>
10290
10291 * term/pc-win.el (x-select-text, x-selection-owner-p)
10292 (x-own-selection-internal, x-disown-selection-internal)
10293 (x-get-selection-internal): Sync doc strings and argument lists
10294 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10295
5eac0c02
LL
102962012-02-11 Leo Liu <sdl.web@gmail.com>
10297
10298 * progmodes/python.el (python-end-of-statement): Fix infinite
10299 loop. (Bug#10788)
10300
f82cb659
GM
103012012-02-10 Glenn Morris <rgm@gnu.org>
10302
10303 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10304 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10305
cc26d239
LI
103062012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10307
10308 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10309 about SMTP before checking the From header.
10310
91027d08 10311 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10312 into own function for reuse by emacsbug.el.
10313
1be3ca5a
LL
103142012-02-10 Leo Liu <sdl.web@gmail.com>
10315
10316 * subr.el (condition-case-unless-debug): Rename from
10317 condition-case-no-debug. All callers changed.
10318 (with-demoted-errors): Fix caller.
10319
10320 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10321 * nxml/rng-valid.el (rng-do-some-validation):
10322 * emacs-lisp/package.el (package-refresh-contents)
10323 (package-menu-execute):
10324 * desktop.el (desktop-create-buffer):
91027d08 10325 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10326
b011fbfe
GM
103272012-02-10 Glenn Morris <rgm@gnu.org>
10328
b2096d72
GM
10329 * textmodes/bibtex.el:
10330 Add missing :version tags for new/changed defcustoms.
10331
b011fbfe
GM
10332 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10333
4c7e65bf
LI
103342012-02-09 Lars Ingebrigtsen <larsi@rusty>
10335
10336 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10337 (smtpmail-via-smtp): Use it, or fall back on the From address.
10338 (smtpmail-send-it): Ditto.
10339
f3934f6f
SM
103402012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10343 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10344 (byte-compile-tmp-var): New const.
10345 (byte-compile-defvar): Use it to minimize .elc size.
10346 Just use `defvar' rather than simulate it (bug#10761).
10347
a075a2c5
GM
103482012-02-09 Glenn Morris <rgm@gnu.org>
10349
cf3aa21b
GM
10350 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10351
354998cd
GM
10352 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10353 Add :version tags.
10354
dc9924b8
SM
10355 * progmodes/compile.el (compilation-error-screen-columns)
10356 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10357
dab3703d
GM
10358 * vc/log-view.el (log-view-toggle-entry-display):
10359 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10360
3f88cd72
GM
10361 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10362 (report-emacs-bug-can-use-xdg-email):
10363 (report-emacs-bug-insert-to-mailer): Doc fixes.
10364 (report-emacs-bug): Message fix.
10365
d95b247d
GM
10366 * net/browse-url.el (browse-url-can-use-xdg-open)
10367 (browse-url-xdg-open): Doc fixes.
10368
a075a2c5
GM
10369 * electric.el (electric-indent-mode, electric-pair-mode)
10370 (electric-layout-rules, electric-layout-mode): Doc fixes.
10371 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10372
ffb6157e
MR
103732012-02-08 Martin Rudalics <rudalics@gmx.at>
10374
10375 * server.el (server-unselect-display): Don't inadvertently kill
10376 the current buffer. (Bug#10729)
10377
e1ac4066
GM
103782012-02-08 Glenn Morris <rgm@gnu.org>
10379
34e8a2da
GM
10380 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10381 (sql-list-table): Doc fixes.
10382
b4ac6e8c
GM
10383 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10384 Comment out (does nothing).
10385
e1ac4066
GM
10386 * completion.el (dynamic-completion-mode):
10387 * dirtrack.el (dirtrack-debug-mode):
10388 * electric.el (electric-layout-mode):
10389 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10390 * face-remap.el (text-scale-mode, buffer-face-mode):
10391 * iimage.el (iimage-mode):
10392 * image-mode.el (image-transform-mode):
10393 * minibuffer.el (completion-in-region-mode):
10394 * scroll-lock.el (scroll-lock-mode):
10395 * simple.el (next-error-follow-minor-mode):
10396 * tar-mode.el (tar-subfile-mode):
10397 * tooltip.el (tooltip-mode):
10398 * vcursor.el (vcursor-use-vcursor-map):
10399 * wid-browse.el (widget-minor-mode):
10400 * emulation/tpu-edt.el (tpu-edt-mode):
10401 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10402 * international/iso-ascii.el (iso-ascii-mode):
10403 * language/thai-util.el (thai-word-mode):
10404 * mail/supercite.el (sc-minor-mode):
10405 * net/goto-addr.el (goto-address-mode):
10406 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10407 * progmodes/cwarn.el (cwarn-mode):
10408 * progmodes/flymake.el (flymake-mode):
10409 * progmodes/glasses.el (glasses-mode):
10410 * progmodes/hideshow.el (hs-minor-mode):
10411 * progmodes/pascal.el (pascal-outline-mode):
10412 * textmodes/enriched.el (enriched-mode):
10413 * vc/smerge-mode.el (smerge-mode):
10414 Doc fixes (minor mode argument).
10415
5e0d957f
EZ
104162012-02-07 Eli Zaretskii <eliz@gnu.org>
10417
10418 * ls-lisp.el (ls-lisp-sanitize): New function.
10419 (ls-lisp-insert-directory): Use it to fix or remove any elements
10420 in file-alist with missing attributes. (Bug#4673)
10421
98d7371e
AM
104222012-02-07 Alan Mackenzie <acm@muc.de>
10423
10424 Fix spurious recognition of c-in-knr-argdecl.
10425
10426 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10427 putative K&R region.
10428
667ced3a
AM
104292012-02-07 Alan Mackenzie <acm@muc.de>
10430
eb864a71
LM
10431 * progmodes/cc-engine.el (c-forward-objc-directive):
10432 Prevent looping in "#pragma mark @implementation".
667ced3a 10433
5b77774d
MA
104342012-02-07 Michael Albinus <michael.albinus@gmx.de>
10435
10436 * notifications.el (notifications-on-closed-signal): Make `reason'
10437 optional. (Bug#10744)
10438
af008560
GM
104392012-02-07 Glenn Morris <rgm@gnu.org>
10440
60d47423
GM
10441 * emacs-lisp/easy-mmode.el (define-minor-mode):
10442 Doc fixes for the macro and the mode it defines.
10443
dd605cc4
GM
10444 * image.el (imagemagick-types-inhibit): Doc fix.
10445
af008560
GM
10446 * cus-start.el (imagemagick-render-type): Add it.
10447
5cc59a37
LI
104482012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10449
4d6769e1
JB
10450 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10451 Set the default at load time, too, so that `font-lock-fontify-buffer'
10452 can be called without setting up the entire mode first. This fixes
10453 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10454
9a6dd747
CY
104552012-02-06 Chong Yidong <cyd@gnu.org>
10456
2d16b285
CY
10457 * simple.el (list-processes--refresh): Delete exited processes
10458 (Bug#8094).
10459
171e9b6e
CY
10460 * comint.el (comint-next-prompt): next-single-char-property-change
10461 and prev-single-char-property-change never return nil (Bug#8657).
10462
9a6dd747
CY
10463 * custom.el (defcustom): Doc fix (Bug#9711).
10464
aa4589a7
CY
104652012-02-05 Chong Yidong <cyd@gnu.org>
10466
5c2a252f
CY
10467 * cus-edit.el (custom-variable-reset-backup): Quote the value
10468 before storing it in the customized-value property (Bug#6712).
4aab9006 10469 (custom-display): Add a customization type tag.
983b9602 10470 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10471
aa4589a7
CY
10472 * wid-edit.el (widget-field-value-get): New optional arg to
10473 suppress trailing whitespace truncation.
10474 (character): Use it (Bug#2689).
10475
1ff980ae
AS
104762012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10477
10478 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10479 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10480
03988c98
CY
104812012-02-05 Chong Yidong <cyd@gnu.org>
10482
eeb6cc88
CY
10483 * cus-edit.el (custom-variable-value-create): For mismatched
10484 types, show the current value (Bug#7600).
10485
03988c98
CY
10486 * custom.el (defcustom): Doc fix.
10487
f8cdeef0
GM
104882012-02-05 Glenn Morris <rgm@gnu.org>
10489
10490 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10491
0696d255
JB
104922012-02-05 Juanma Barranquero <lekktu@gmail.com>
10493
10494 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10495 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10496 (pp-last-sexp): Use `looking-at-p'.
10497
34c99998
GM
104982012-02-04 Glenn Morris <rgm@gnu.org>
10499
8f05da42
GM
10500 * files.el (revert-buffer):
10501 Doc fix (mention revert-buffer-in-progress-p).
10502
f160676e
GM
10503 * emacs-lisp/ert-x.el (ert-simulate-command):
10504 Check deferred-action-list (which is obsolete) is bound.
10505
c7291ad9
GM
10506 * subr.el (with-wrapper-hook): Doc fixes.
10507
34c99998
GM
10508 * simple.el (filter-buffer-substring-functions)
10509 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10510
6283a7d3
LL
105112012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10512
10513 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10514 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10515
e96e3013
LL
105162012-02-04 Leo Liu <sdl.web@gmail.com>
10517
10518 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10519
8ded50f2
GM
105202012-02-04 Glenn Morris <rgm@gnu.org>
10521
82ff1d13
GM
10522 * image.el (image-extension-data): Add obsolete alias.
10523
987a0a16
GM
10524 * isearch.el (isearch-update): Doc fix.
10525
ea32ef46
GM
10526 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10527
8ded50f2
GM
10528 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10529
eea14f31
GM
105302012-02-03 Glenn Morris <rgm@gnu.org>
10531
10532 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10533 (image-animate-timeout): Doc fix.
10534
10535 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10536
12f381b7
GM
105372012-02-02 Glenn Morris <rgm@gnu.org>
10538
953cebf5
GM
10539 * server.el (server-auth-dir): Doc fix.
10540 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10541
12f381b7
GM
10542 * subr.el (run-mode-hooks): Doc fix.
10543
953a8c3b
JL
105442012-02-02 Juri Linkov <juri@jurta.org>
10545
10546 * image-mode.el (image-toggle-display-image): Remove tautological
10547 `major-mode' from the `derived-mode-p' test.
10548
c5d3843c
KH
105492012-02-02 Kenichi Handa <handa@m17n.org>
10550
9f6e692e 10551 * composite.el (compose-region): Cancel previous change.
c5d3843c 10552
159462d4 105532012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10554
10555 * composite.el (compose-region, compose-string): Signal error for
10556 a null string component (Bug#6988).
10557
9f562668
CY
105582012-02-01 Chong Yidong <cyd@gnu.org>
10559
e2cef717
CY
10560 * view.el (view-buffer-other-window, view-buffer-other-frame):
10561 Handle special modes like view-buffer (Bug#10650).
10562 (view-buffer): Simplify.
10563
9f562668
CY
10564 * frame.el (set-frame-font): Tweak meaning of third argument.
10565
9f6e692e
JB
10566 * dynamic-setting.el (font-setting-change-default-font):
10567 Use set-frame-font (Bug#9982).
9f562668 10568
781acb9f
GM
105692012-02-01 Glenn Morris <rgm@gnu.org>
10570
6035be52
GM
10571 * progmodes/compile.el (compilation-internal-error-properties):
10572 Respect compilation-first-column in the "*compilation*" buffer.
10573
781acb9f
GM
10574 * emacs-lisp/easy-mmode.el (define-minor-mode):
10575 Relax :variable's test for a named function.
10576
abbceb00
AM
105772012-01-31 Alan Mackenzie <acm@muc.de>
10578
10579 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10580 off by one error.
10581
fce3fdeb
CY
105822012-01-31 Chong Yidong <cyd@gnu.org>
10583
10584 * frame.el (set-frame-font): New arg ALL-FRAMES.
10585
10586 * menu-bar.el (menu-set-font): Use set-frame-font.
10587
10588 * faces.el (face-spec-reset-face): Don't apply unspecified
10589 attribute values to the default face.
10590
47893581
JB
105912012-01-31 Juanma Barranquero <lekktu@gmail.com>
10592
10593 * progmodes/cwarn.el (cwarn): Remove dead link.
10594 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10595 Remove * from defcustom docstrings.
10596 (turn-on-cwarn-mode): Make obsolete.
10597 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10598 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10599
e58e988a
GM
106002012-01-31 Glenn Morris <rgm@gnu.org>
10601
60dc2671 10602 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10603 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10604 Allow named functions to be used as the cdr of :variable.
e58e988a 10605
7a3f511d
GM
106062012-01-30 Glenn Morris <rgm@gnu.org>
10607
10608 * emacs-lisp/authors.el (authors-fixed-entries):
10609 Remove reference to deleted file rnewspost.el.
10610
cb882333
JB
106112012-01-29 Juanma Barranquero <lekktu@gmail.com>
10612
10613 * window.el (window-with-parameter): Remove unused variable `windows'.
10614 (window--side-check): Remove unused variable `code'.
10615 (window--resize-siblings): Remove unused variable `first'.
10616 (adjust-window-trailing-edge): Remove unused variable `failed'.
10617 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10618 Use `let', not `let*'.
10619 (balance-windows-2): Remove unused variable `found'.
10620 (window--state-put-2): Remove unused variable `splits'.
10621 (window-state-put): Remove unused variable `selected'.
10622 (same-window-p): Use `string-match-p'.
10623 (display-buffer-assq-regexp): Remove unused variable `value'.
10624 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10625 Mark argument ALIST as ignored.
10626 (pop-to-buffer): Remove unused variable `old-window'.
10627
907201af
EZ
106282012-01-29 Eli Zaretskii <eliz@gnu.org>
10629
10630 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10631 and .lzma compressed files.
10632
ea162670
CY
106332012-01-29 Chong Yidong <cyd@gnu.org>
10634
5b95ee8a
CY
10635 * frame.el (window-system-default-frame-alist): Doc fix.
10636
ea162670
CY
10637 * dynamic-setting.el (font-setting-change-default-font): Don't
10638 change the default face if SET-FONT argument is non-nil (Bug#9982).
10639
d6e6f4b1
SB
106402012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10641
10642 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10643
0f29fa41 106442012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10645
10646 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10647 breakpoints in files outside current directory (Bug#6098).
10648
db174434
CY
106492012-01-29 Chong Yidong <cyd@gnu.org>
10650
6b25e4e2
SE
10651 * progmodes/python.el: Require ansi-color at top-level.
10652
6df6ae42
JB
10653 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10654 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10655 (lisp-mode-abbrev-table): Add doc.
10656 (lisp-mode-variables): Don't set local-abbrev-table.
10657 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10658
e70ee681
RW
106592012-01-28 Roland Winkler <winkler@gnu.org>
10660
10661 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10662
ace88aa2
RW
106632012-01-28 Roland Winkler <winkler@gnu.org>
10664
10665 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10666 (bibtex-set-dialect): Use it. Either set global values of
10667 dialect-dependent variables or bind these variables buffer-locally
10668 (Bug#10254).
10669 (bibtex-mode): Call bibtex-set-dialect via
10670 hack-local-variables-hook.
eb864a71
LM
10671 (bibtex-dialect): Update docstring.
10672 Add safe-local-variable predicate.
ace88aa2
RW
10673 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10674 bibtex-set-dialect.
10675 (bibtex-mode-map): Define menu for each dialect.
10676 (bibtex-entry): Fix docstring.
10677
93376c5b
CY
106782012-01-28 Chong Yidong <cyd@gnu.org>
10679
10680 * eshell/esh-arg.el (eshell-quote-argument): New function.
10681
10682 * eshell/esh-ext.el (eshell-invoke-batch-file):
10683 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10684 first arg to eshell-parse-command (Bug#10523).
10685
4372494f
DA
106862012-01-28 Drew Adams <drew.adams@oracle.com>
10687
10688 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10689 `default-directory' is non-nil.
10690
4d4ec1f8
EZ
106912012-01-28 Eli Zaretskii <eliz@gnu.org>
10692
10693 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10694 line that displays system-configuration-options. (Bug#9924)
10695
7c188927
DA
106962012-01-28 Drew Adams <drew.adams@oracle.com>
10697
10698 * descr-text.el (describe-char): Show information about POS, in
10699 addition to information about the character at POS. Improve and
10700 update the doc string. Change "code point" to "code point in
10701 charset", to avoid confusion with the character's Unicode code
10702 point shown above that. (Bug#10129)
10703
e0da685a
EZ
107042012-01-28 Eli Zaretskii <eliz@gnu.org>
10705
10706 * descr-text.el (describe-char): Show the raw character, not only
10707 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10708 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10709 for the reasons.
10710
70550acf
PH
107112012-01-28 Phil Hagelberg <phil@hagelb.org>
10712
eb864a71
LM
10713 * emacs-lisp/package.el (package-install):
10714 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10715
0ce8e868
CY
107162012-01-28 Chong Yidong <cyd@gnu.org>
10717
cb882333
JB
10718 * emacs-lisp/package.el (package-maybe-load-descriptor):
10719 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10720 (package-maybe-load-descriptor): Use it.
10721 (package-download-transaction): Fully load required packages
10722 inside the loop, so that `require' calls work (Bug#10593).
10723 (package-install): No need to call package-initialize now.
10724
2e7f3bea
CY
107252012-01-28 Chong Yidong <cyd@gnu.org>
10726
6e9bad14
CY
10727 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10728
f823b8ca
CY
10729 * tooltip.el (tooltip-mode): Doc fix.
10730 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10731
2680c309
CY
10732 * frame.el (set-cursor-color): Doc fix (Bug#352).
10733
d7a9e63b
CY
10734 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10735 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10736
2e7f3bea
CY
10737 * cus-edit.el (custom-buffer-create-internal): Fix search button
10738 action (Bug#10542).
2ae01800 10739 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10740
fc4f7a23
EW
107412012-01-27 Eduard Wiebe <usenet@pusto.de>
10742
10743 * dired.el (dired-mark-files-regexp):
10744 Include any subdirectory components. (Bug#10445)
10745
7dd37071
ML
107462012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10747
10748 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10749 Handle [host]:port syntax. (Bug#10533)
10750
a268160b
AH
107512012-01-27 Alex Harsanyi <harsanyi@mac.com>
10752
10753 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10754
e43273ef
GM
107552012-01-26 Glenn Morris <rgm@gnu.org>
10756
10757 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10758 * term.el (term-raw-escape-map): Use Control-X-prefix.
10759 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10760
1edf595d
MR
107612012-01-25 Martin Rudalics <rudalics@gmx.at>
10762
10763 * window.el (window-state-get, window--state-get-1): Don't deal
10764 with fixed-sizeness of windows. Simplify code.
10765
fa8eafef
JC
107662012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10767
6df6ae42
JB
10768 * window.el (window--state-get-1, window--state-put-2):
10769 Don't save and restore the mark.
fa8eafef 10770
0b21c100
CY
107712012-01-25 Chong Yidong <cyd@gnu.org>
10772
10773 * custom.el (custom-variable-p): Doc fix.
10774
5ae1a6c8
GM
107752012-01-25 Glenn Morris <rgm@gnu.org>
10776
40047858
GM
10777 * dired.el (dired-goto-file): Handle some of the more common
10778 characters that `ls -b' escapes. (Bug#10596)
10779
5ddce96c
GM
10780 * progmodes/compile.el (compilation-next-error-function):
10781 Respect compilation-first-column in the "*compilation*" buffer.
10782 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10783
5ae1a6c8
GM
10784 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10785
b559f1a9
GM
107862012-01-24 Glenn Morris <rgm@gnu.org>
10787
10788 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10789
6725d21a
JD
107902012-01-24 Julien Danjou <julien@danjou.info>
10791
10792 * color.el (color-rgb-to-hsl): Fix value computing.
10793 (color-hue-to-rgb): New function.
10794 (color-hsl-to-rgb): New function.
10795 (color-clamp, color-saturate-hsl, color-saturate-name)
10796 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10797 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10798
70df4bbe
GM
107992012-01-24 Glenn Morris <rgm@gnu.org>
10800
10801 * vc/vc-rcs.el (vc-rcs-create-tag):
10802 * vc/vc-sccs.el (vc-sccs-create-tag):
10803 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10804
802a2ae2
ML
108052012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10806
10807 * eshell/esh-util.el (eshell-read-hosts-file):
10808 Skip comment lines. (Bug#10549)
10809
d7128bb1
ML
10810 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10811
d1a5c3b4
JB
108122012-01-23 Juanma Barranquero <lekktu@gmail.com>
10813
2724d9c7
JB
10814 * subr.el (display-delayed-warnings): Doc fix.
10815 (collapse-delayed-warnings): New function to collapse identical
10816 adjacent warnings.
10817 (delayed-warnings-hook): Add it.
d1a5c3b4 10818
a5509865
MA
108192012-01-22 Michael Albinus <michael.albinus@gmx.de>
10820
10821 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10822
a5509865
MA
10823 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10824 (tramp-default-user-alist): Don't add "pscp".
10825 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10826 property "login-as", if set. (Bug#10530)
10827
cc6d5805
MA
108282012-01-21 Michael Albinus <michael.albinus@gmx.de>
10829
10830 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10831 "plink1" and "psftp". (Bug#10530)
10832
108332012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10834
10835 * international/mule-cmds.el (prefer-coding-system): Show a
10836 warning message if the default value of file-name-coding-system
10837 was not changed.
10838
f0960428
JC
108392012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10840
cb882333
JB
10841 * windmove.el (windmove-reference-loc):
10842 Fix windmove-reference-loc miscalculation.
f0960428 10843
dd6f2a63
JB
108442012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10845
10846 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10847 default unit.
10848
7b447e9b
GM
108492012-01-21 Glenn Morris <rgm@gnu.org>
10850
117a9ea1
GM
10851 * international/mule.el (auto-coding-alist): Add .tbz.
10852
7b447e9b
GM
10853 * files.el (local-enable-local-variables): Doc fix.
10854 (inhibit-local-variables-regexps): Rename from
10855 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10856 Doc fix. Add some extensions from auto-coding-alist.
10857 (inhibit-local-variables-suffixes):
10858 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10859 (inhibit-local-variables-p):
10860 New function, extracted from set-auto-mode-1.
10861 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10862 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10863 (hack-local-variables): Doc fix. Make the mode-only case
10864 respect enable-local-variables and friends.
10865 Respect inhibit-local-variables-regexps for file-locals, but
10866 not for directory-locals.
10867 (set-visited-file-name):
10868 Take account of inhibit-local-variables-regexps.
10869 Whether it applies may change as the file name is changed.
10870 * jka-cmpr-hook.el (jka-compr-install):
10871 * jka-compr.el (jka-compr-uninstall):
10872 Update for inhibit-first-line-modes-suffixes name change.
10873
dd6e3cdd
MR
108742012-01-20 Martin Rudalics <rudalics@gmx.at>
10875
10876 * help-macro.el (make-help-screen): Temporarily restore original
10877 binding for minor-mode-map-alist (Bug#10454).
10878
0d0deb38
JD
108792012-01-19 Julien Danjou <julien@danjou.info>
10880
10881 * color.el (color-name-to-rgb): Use the white color to find the max
10882 color component value and return correctly computed values.
10883 (color-name-to-rgb): Add missing float conversion for max value.
10884
34a02f46
MR
108852012-01-19 Martin Rudalics <rudalics@gmx.at>
10886
10887 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10888 special state value for window-persistent-parameters.
10889 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10890 (window--state-put-2): Reset all window parameters to nil before
10891 assigning values of persistent parameters.
10892
606c44c4
AM
108932012-01-18 Alan Mackenzie <acm@muc.de>
10894
10895 Eliminate sluggishness and hangs in fontification of "semicolon
10896 deserts".
10897
cb882333
JB
10898 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10899 Change value 10000 -> 3000.
606c44c4
AM
10900 (c-state-safe-place): Reformulate so it doesn't stack up an
10901 infinite number of wrong entries in c-state-nonlit-pos-cache.
10902 (c-determine-limit-get-base, c-determine-limit): New functions to
10903 determine backward search limits disregarding literals.
10904 (c-find-decl-spots): Amend commenting.
10905 (c-cheap-inside-bracelist-p): New function which detects "={".
10906
10907 * progmodes/cc-fonts.el
10908 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10909 backward search.
10910 (c-font-lock-declarations): Fix an occurrence of point being
10911 undefined. Check additionally for point being in a bracelist or
10912 near a macro invocation without a semicolon so as to avoid a
10913 fruitless time consuming search for a declarator. Give a more
10914 precise search limit for declarators using the new
10915 c-determine-limit.
10916
f3860cea
GM
109172012-01-18 Glenn Morris <rgm@gnu.org>
10918
10919 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10920 (set-auto-mode): Doc fixes.
10921
1db03b16
GM
109222012-01-17 Glenn Morris <rgm@gnu.org>
10923
0e6038be
GM
10924 * isearch.el (search-nonincremental-instead): Fix doc typo.
10925
1db03b16
GM
10926 * dired.el (dired-insert-directory): Handle newlines in directory name.
10927 (dired-build-subdir-alist): Unescape newlines in directory name.
10928
4cb0aa75
MA
109292012-01-17 Michael Albinus <michael.albinus@gmx.de>
10930
10931 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10932 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10933 (tramp-action-terminal): Use it. (Bug#10530)
10934
1d00653d
SM
109352012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10938
6a6ee00d
MR
109392012-01-16 Martin Rudalics <rudalics@gmx.at>
10940
10941 * window.el (window-state-ignored-parameters): Remove variable.
10942 (window--state-get-1): Rename argument MARKERS to IGNORE.
10943 Handle persistent window parameters. Make copy of clone-of
10944 parameter only if requested. (Bug#10348)
10945 (window--state-put-2): Install a window parameter only if it has
10946 a non-nil value or an existing parameter shall be overwritten.
10947
97912def
MA
109482012-01-15 Michael Albinus <michael.albinus@gmx.de>
10949
10950 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10951
688070a5
EZ
109522012-01-14 Eli Zaretskii <eliz@gnu.org>
10953
10954 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10955 don't pass the (nil) value of `upnode' to string-match.
10956
301afadc
CY
109572012-01-14 Chong Yidong <cyd@gnu.org>
10958
10959 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10960 Fix values recognized by the cursorBlink resource.
301afadc 10961
9e5788aa
PE
109622012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10963
10964 * epg.el (epg--make-temp-file): Avoid permission race condition
10965 when running on old Emacs versions (bug#10403).
10966
3cdb7f5a
GM
109672012-01-14 Glenn Morris <rgm@gnu.org>
10968
10969 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10970
8c82b1b4
AM
109712012-01-13 Alan Mackenzie <acm@muc.de>
10972
10973 Fix filling for when filladapt mode is enabled.
10974
10975 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10976 c-mask-paragraph, pass in `fill-paragraph' rather than
10977 `fill-region-as-paragraph'. (This is a reversion of a previous
10978 change.)
eb864a71
LM
10979 * progmodes/cc-mode.el (c-basic-common-init):
10980 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10981
e517eda4
GM
109822012-01-13 Glenn Morris <rgm@gnu.org>
10983
1498536e
GM
10984 * dired.el (dired-switches-escape-p): New function.
10985 (dired-insert-directory): Use dired-switches-escape-p.
10986 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10987
e517eda4
GM
10988 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10989
328f984d
GM
109902012-01-12 Glenn Morris <rgm@gnu.org>
10991
10992 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10993 changes in adaptive-fill-regexp. (Bug#10276)
10994
2cc769a8
AM
109952012-01-11 Alan Mackenzie <acm@muc.de>
10996
10997 Fix Emacs bug #10463 - put `widen's around the critical spots.
10998
1d00653d 10999 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11000 widen around each invocation of c-state-pp-to-literal. Remove an
11001 unused let variable.
11002
e52c37fa
GM
110032012-01-11 Glenn Morris <rgm@gnu.org>
11004
11005 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11006 Doc fix.
e52c37fa 11007
96f8741e
CY
110082012-01-10 Chong Yidong <cyd@gnu.org>
11009
1d00653d
SM
11010 * net/network-stream.el (network-stream-open-starttls):
11011 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11012 response to the capability command.
11013
b09a806e
GM
110142012-01-10 Glenn Morris <rgm@gnu.org>
11015
11016 * mail/unrmail.el (unrmail): Tweak previous change.
11017
7655cb66
CY
110182012-01-09 Chong Yidong <cyd@gnu.org>
11019
11020 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11021
9d5a8f0b
AM
110222012-01-08 Alan Mackenzie <acm@muc.de>
11023
11024 Optimise font locking in long enum definitions.
11025
11026 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11027 arm to a cond form to handle enums.
11028 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11029 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11030
9a0115ab 110312012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11032
11033 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11034 (Bug#10401)
6bb72cbd 11035
f186bb95
LMI
110362012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11037
29232a68
LMI
11038 * faces.el (set-face-attribute): Clarify the meaning of the nil
11039 frame (bug#10294).
11040
4e5d086d
LMI
11041 * subr.el (with-selected-frame): Mention that the selected frame
11042 is restored (bug#9980).
11043
8e66aebe
LMI
11044 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11045 (bug#9759).
11046
cd394be1 11047 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11048 (password-read): Don't autoload unused function.
11049
adf4e762
JB
110502012-01-07 Juanma Barranquero <lekktu@gmail.com>
11051
11052 * progmodes/which-func.el (which-func-mode): Turn into a
11053 non-interactive function and mark as obsolete (bug#10428).
11054
89bd9ccd
CY
110552012-01-06 Chong Yidong <cyd@gnu.org>
11056
11057 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11058 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11059 functions, along with 1 and -1.
11060
4afee9d5
EZ
110612012-01-06 Eli Zaretskii <eliz@gnu.org>
11062
11063 * time.el (display-time-load-average)
11064 (display-time-default-load-average): Doc fixes. See the thread
11065 starting at
11066 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11067 for the details.
11068
536aea70
GM
110692012-01-06 Glenn Morris <rgm@gnu.org>
11070
665ae865
GM
11071 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11072 has no messages. (Bug#10377)
11073
c869783d
GM
11074 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11075 than Info-edit. (Bug#10385)
11076
2bb4227e
GM
11077 * time.el (display-time-load-average, display-time-next-load-average):
11078 Doc fixes.
11079
7d5944b9
GM
11080 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11081 local setting of buffer-read-only to the input buffer. (Bug#10419)
11082
536aea70
GM
11083 * calendar/calendar.el (calendar-mode):
11084 Locally set scroll-margin to 0. (Bug#10379)
11085
7dccca16
UM
110862012-01-06 Ulrich Mueller <ulm@gentoo.org>
11087
11088 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11089
afbb7930
GM
110902012-01-05 Glenn Morris <rgm@gnu.org>
11091
11092 * eshell/em-unix.el (diff-no-select): Autoload it.
11093 (eshell/diff): Use diff-no-select. (Bug#10420)
11094
04482335
CY
110952012-01-05 Chong Yidong <cyd@gnu.org>
11096
7baca3bc
CY
11097 * shell.el (shell-dynamic-complete-functions): Revert last change.
11098 (shell-command-completion-function): New function.
11099 (shell-completion-vars): Use it to implement
11100 shell-completion-execonly (Bug#10417).
11101
04482335
CY
11102 * custom.el (enable-theme): Don't set custom-safe-themes.
11103
1d00653d
SM
11104 * cus-theme.el (custom-theme-merge-theme):
11105 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11106
bb5aa5d6
MM
111072012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11108
11109 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11110 first prompt in `sql-interacive-mode'.
11111 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11112 keywords.
6df6ae42 11113 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11114 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11115 context of original buffer. Invoke `sql-login-hook'.
11116
a7183d7c
EZ
111172012-01-04 Eli Zaretskii <eliz@gnu.org>
11118
11119 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11120 letters in cite-prefix.
11121
a1eacd1e
LMI
111222012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11123
11124 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11125
787cdb34
CY
111262012-01-03 Chong Yidong <cyd@gnu.org>
11127
1d00653d
SM
11128 * shell.el (shell-dynamic-complete-functions):
11129 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11130 comint-filename-completion first (Bug#10417).
11131
30710442
RS
111322012-01-02 Richard Stallman <rms@gnu.org>
11133
11134 * battery.el (battery-status-function):
11135 Detect when to use battery-yeeloong-sysfs.
11136 (battery-echo-area-format): Add string for Yeeloong.
11137 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11138 (battery-yeeloong-sysfs): New function.
11139
f75bfc33
CY
111402012-01-02 Chong Yidong <cyd@gnu.org>
11141
11142 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11143 (dirtrack): Merge code for handling relative filenames in prompt
11144 from shell-dir-cookie-watcher.
11145 (dirtrack-debug-message): New arg to avoid excess format calls.
11146
11147 * shell.el (shell-dir-cookie-re): Variable deleted.
11148 (shell-dir-cookie-watcher): Function deleted.
11149 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11150 with dirtrack-mode.
11151
651e947e
EZ
111522012-01-01 Eli Zaretskii <eliz@gnu.org>
11153
1d00653d
SM
11154 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11155 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11156 libgnutls-26.dll.
11157
94d4c7dc
AS
111582011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11159
11160 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11161
8d43f3cd
EZ
111622011-12-31 Eli Zaretskii <eliz@gnu.org>
11163
11164 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11165 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11166
98c8795a
MA
111672011-12-29 Michael Albinus <michael.albinus@gmx.de>
11168
11169 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11170 also for alternative shells.
11171 (tramp-open-connection-setup-interactive-shell): Check, whether
11172 the shell is a busybox.
11173 (tramp-send-command): Don't suppress multiple prompts for
11174 busyboxes, it hurts.
11175
51281b32
CY
111762011-12-28 Chong Yidong <cyd@gnu.org>
11177
11178 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11179 (gdb-get-source-file): Move mode line update to
11180 gdb-get-source-file (Bug#10087).
11181
2170cb53
CY
111822011-12-25 Chong Yidong <cyd@gnu.org>
11183
11184 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11185 gud-gdb-marker-filter without taking it as an argument.
11186 (gud-gdb-run-command-fetch-lines): Caller changed.
11187 (gud-gdb-completion-function): New variable.
11188 (gud-gdb-completion-at-point): Use it.
11189 (gud-gdb-completions-1): Split from gud-gdb-completions.
11190
11191 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11192 function as separate arguments.
11193 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11194 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11195 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11196 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11197 (gdb-stopped, def-gdb-auto-update-trigger)
11198 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11199 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11200 Callers changed.
2170cb53
CY
11201 (gud-gdbmi-completions): New function.
11202 (gdb): Use it for generating the completion table.
11203
be8b11bb
AM
112042011-12-24 Alan Mackenzie <acm@muc.de>
11205
11206 Introduce a mechanism to widen the region used in context font
1d00653d 11207 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11208
1d00653d
SM
11209 * progmodes/cc-langs.el (c-before-font-lock-functions):
11210 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11211 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11212 functions to be run just before context (etc.) font locking.
11213
11214 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11215 New, functionality extracted from
be8b11bb 11216 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11217 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11218 (c-after-change): Set c-in-after-change-fontification.
11219 (c-set-fl-decl-start): Rejig its interface, so it can be called
11220 from both after-change and context fontifying.
b81d40f0
JB
11221 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11222 New functions.
11223 (c-standard-font-lock-fontify-region-function): New variable.
11224 (c-font-lock-fontify-region): New function.
be8b11bb 11225
341cf6ac
JL
112262011-12-24 Juri Linkov <juri@jurta.org>
11227
11228 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11229 (Bug#10348)
11230
bffcee0a
MA
112312011-12-23 Michael Albinus <michael.albinus@gmx.de>
11232
11233 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11234 existence of source file. (Bug#10325)
11235
cb5e207c
AM
112362011-12-23 Alan Mackenzie <acm@muc.de>
11237
11238 Fix unstable fontification inside templates.
11239
b81d40f0
JB
11240 * progmodes/cc-langs.el (c-before-font-lock-functions):
11241 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11242 additionally has c-set-fl-decl-start. The other languages (apart
11243 from AWK) have that as a single entry.
11244
b81d40f0
JB
11245 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11246 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11247 c-set-fl-decl-start.
11248
b81d40f0
JB
11249 * progmodes/cc-mode.el (c-common-init, c-after-change):
11250 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11251 (c-set-fl-decl-start): New function, extracted from
11252 c-font-lock-enclosing-decls and enhanced.
11253
60ff536c
JB
112542011-12-23 Juanma Barranquero <lekktu@gmail.com>
11255
11256 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11257
1c4757d6
JL
112582011-12-22 Juri Linkov <juri@jurta.org>
11259
11260 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11261
d031f2c7
CY
112622011-12-22 Chong Yidong <cyd@gnu.org>
11263
11264 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11265
bace743a
DA
112662011-12-21 Drew Adams <drew.adams@oracle.com>
11267
11268 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11269
728a1f2b
JC
112702011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11271
11272 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11273
0d373f73
TZ
112742011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11275
fec0aaa4
TZ
11276 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11277 highlighting and support. Fix up comments for capitalization.
11278 (cfengine-mode-debug): New var.
11279 (cfengine3-mode): Change the modeline indicator to "CFE3".
11280 (cfengine3-font-lock-keywords): Improve defun highlighting.
11281 (cfengine2-actions): Rename from `cfengine-actions'.
11282 (cfengine2-font-lock-keywords): Rename from
11283 `cfengine-font-lock-keywords'.
11284 (cfengine2-imenu-expression): Rename from
11285 `cfengine-imenu-expression'.
11286 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11287 (cfengine2-beginning-of-defun): Rename from
11288 `cfengine-beginning-of-defun'.
11289 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11290 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11291 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11292 modeline indicator to "CFE2".
11293 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11294 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11295
bc86f573
CY
112962011-12-21 Chong Yidong <cyd@gnu.org>
11297
11298 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11299 filename argument.
11300
d45ba96b
MR
113012011-12-20 Martin Rudalics <rudalics@gmx.at>
11302
11303 * window.el (window-normalize-buffer-to-display): Remove.
11304 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11305
a6198c90
CY
113062011-12-19 Chong Yidong <cyd@gnu.org>
11307
11308 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11309 Don't signal an error in a predicate function; return non-nil.
11310 (vc-dir-mark-file): Move the error here.
11311 (vc-dir-mark-unmark): If acting on the region, keep going if one
11312 of the entries cannot be marked/unmarked.
11313 (vc-dir-mark-all-files): If current entry is a directory, mark
11314 only child files, as documented.
11315
34c5fb55
VB
113162011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11317
11318 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11319 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11320 addition.
11321
c803b2b7
JD
113222011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11323
11324 * term/ns-win.el (ns-get-selection-internal)
11325 (ns-store-selection-internal): Declare.
1154d12e
JB
11326 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11327 Declare as obsolete.
11328 (ns-get-pasteboard, ns-paste-secondary):
11329 Use ns-get-selection-internal.
41e9b956 11330 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11331 Use ns-store-selection-internal.
c803b2b7 11332
9cff91f8 113332011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11334
11335 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11336 (vc-deduce-fileset): Doc fix.
99a289d9 11337
f16c898a
AS
113382011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11339
11340 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11341
763237c4
SS
113422011-12-13 Sam Steingold <sds@gnu.org>
11343
11344 * man.el (Man-getpage-in-background): When running under a
11345 window-system, ignore $MANWIDTH and $COLUMNS.
11346
5fc1c122
KH
113472011-12-15 Kenichi Handa <handa@m17n.org>
11348
11349 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11350 (setup-ethiopic-environment-internal): Comment out key-binding for
11351 ethio-toggle-punctuation.
11352
13d49cbb
AM
113532011-12-13 Alan Mackenzie <acm@muc.de>
11354
898169a2
AM
11355 Add the switch statement to AWK Mode.
11356
7a71b18d 11357 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11358 "default" to the keywords regexp.
11359
7a71b18d 11360 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11361 expression as the rest.
1d00653d
SM
11362 (c-nonlabel-token-key): Allow string literals for AWK.
11363 Refactor for the other modes.
898169a2 11364
13d49cbb 11365 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11366 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11367 routines. Limit backward searching in c-font-lock-enclosing.decl.
11368
11369 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11370 pp-state and literal type in addition to the limits.
1d00653d 11371 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11372 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11373 (c-slow-in-literal, c-fast-in-literal): Remove.
11374 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11375
11376 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11377 being in a literal. Add a limit for backward searching.
11378
11379 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11380 c-slow-in-literal.
11381
15e0efc7
SM
113822011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11385
454592a6
MR
113862011-12-13 Martin Rudalics <rudalics@gmx.at>
11387
11388 * window.el (delete-other-windows): Use correct frame in call to
11389 window-with-parameter.
11390
87393f26
DP
113912011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11392
11393 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11394 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11395 (makefile-gmake-statements, makefile-makepp-statements):
11396 Use it and add new makepp keywords.
11397 (makefile-makepp-font-lock-keywords): Add new patterns.
11398 (makefile-match-function-end): Match new [...] and [[...]].
11399
11636b22
JB
114002011-12-11 Juanma Barranquero <lekktu@gmail.com>
11401
11402 * ses.el (ses-call-printer-return, ses-cell-property-get)
11403 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11404 (ses-create-cell-variable, ses-reset-header-string)
11405 (ses-cell-set-formula, ses-repair-cell-reference-all)
11406 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11407 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11408 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11409 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11410 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11411 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11412 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11413 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11414 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11415 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11416 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11417 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11418
cf018193
VB
114192011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11420
11421 * ses.el: The overall change is to add cell renaming, that is
11422 setting fancy names for cell symbols other than name matching
11423 "\\`[A-Z]+[0-9]+\\'" regexp .
11424 (ses-create-cell-variable): New defun.
11425 (ses-relocate-formula): Relocate formulas only for cells the
11426 symbols of which are not renamed, i.e. symbols whose names do not
11427 match regexp "\\`[A-Z]+[0-9]+\\'".
11428 (ses-relocate-all): Relocate values only for cells the symbols of
11429 which are not renamed.
11430 (ses-load): Create cells variables as the (ses-cell ...) are read,
11431 in order to check row col consistency with cell symbol name only
11432 for cells that are not renamed.
11433 (ses-replace-name-in-formula): New defun.
11434 (ses-rename-cell): New defun.
11435
ee957461
CY
114362011-12-11 Chong Yidong <cyd@gnu.org>
11437
11438 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11439 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11440
9a9e9ef0
MR
114412011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11442
11443 * window.el (other-window): Fix docstring.
11444
92a8eba5
EZ
114452011-12-10 Eli Zaretskii <eliz@gnu.org>
11446
11447 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11448 `from' or `to' address before taking its substring.
11449 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11450 encoded name is chopped in the middle of the encoded string, and
11451 thus displayed encoded.
11452
e152e577
JB
114532011-12-10 Juanma Barranquero <lekktu@gmail.com>
11454
11455 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11456
e5d84bfe
EZ
114572011-12-10 Eli Zaretskii <eliz@gnu.org>
11458
11459 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11460 to use texinfo-update-node and commands that call it if the
11461 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11462 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11463 (texinfo-all-menus-update, texinfo-master-menu)
11464 (texinfo-update-node, texinfo-every-node-update)
11465 (texinfo-multiple-files-update): Doc fix. Warn against updating
11466 all the @node lines.
11467 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11468 argument is numeric. Explain better in the doc string what the
11469 function really does.
11470 (texinfo-insert-master-menu-list): Improve the error message
11471 displayed if there's no menu in the Top node.
11472 (Bug#2975) See also this thread:
e5d84bfe
EZ
11473 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11474
1d84e9bb
MG
114752011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11476
11477 * speedbar.el (speedbar-supported-extension-expressions):
11478 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11479
382c953b
JB
114802011-12-09 Juanma Barranquero <lekktu@gmail.com>
11481
11482 * printing.el (pr-mode-alist):
11483 * simple.el (filter-buffer-substring-functions)
11484 (completion-list-insert-choice-function):
11485 * window.el (window-with-parameter, window-atom-root)
11486 (window-sides-slots, window-size-fixed, window-min-delta)
11487 (window-max-delta, window--resize-mini-window)
11488 (window--resize-child-windows-normal, window-tree)
11489 (delete-other-windows, quit-window, split-window)
11490 (display-buffer-record-window, special-display-buffer-names)
11491 (special-display-regexps, special-display-popup-frame)
11492 (same-window-p, split-window-sensibly)
11493 (display-buffer-overriding-action, display-buffer-alist)
11494 (display-buffer-base-action, display-buffer, switch-to-buffer)
11495 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11496 (fit-window-to-buffer, recenter-positions)
11497 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11498 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11499 and remove unneeded backslashes in docstrings.
11500
39c9faef
SM
115012011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11502
98449af8
SM
11503 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11504
39c9faef
SM
11505 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11506 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11507 end in ".mk".
11508 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11509 when reading the makefile (bug#10116).
11510
86ed9fdc
SM
115112011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11514 (bug#10116).
11515
5580f89d
GM
115162011-12-06 Glenn Morris <rgm@gnu.org>
11517
11518 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11519
28d3917c
CY
115202011-12-06 Chong Yidong <cyd@gnu.org>
11521
11522 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11523
a98edce9
JB
115242011-12-06 Juanma Barranquero <lekktu@gmail.com>
11525
11526 * textmodes/table.el (table-shorten-cell): Fix typo.
11527
e65adfac
CG
115282011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11529
11530 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11531
71cc0b74
EZ
115322011-12-05 Eli Zaretskii <eliz@gnu.org>
11533
11534 * descr-text.el (describe-char): Fix display of strong
11535 right-to-left characters and directional embeddings and overrides.
11536
11537 * simple.el (what-cursor-position): Fix display of codepoints of
11538 strong right-to-left characters.
11539
315bc30d
CY
115402011-12-05 Chong Yidong <cyd@gnu.org>
11541
11542 * faces.el (read-color): Doc fix.
11543
58a70b94
GM
115442011-12-05 Glenn Morris <rgm@gnu.org>
11545
11546 * align.el (align--set-marker): Add doc-string.
11547 Don't try to move something that is not a marker. (Bug#10216)
11548
5158face
GM
115492011-12-04 Glenn Morris <rgm@gnu.org>
11550
11551 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11552 overly zealous deletion of trailing whitespace.
11553
520fca41
JB
115542011-12-04 Juanma Barranquero <lekktu@gmail.com>
11555
11556 * server.el (server-delete-client): On Windows, do not try to delete
11557 the only terminal.
11558 (server-process-filter): On Windows, treat requests for a tty frame as
11559 if they were for a GUI frame if the running server is in GUI mode.
11560
5e605a2e
GM
115612011-12-03 Glenn Morris <rgm@gnu.org>
11562
11563 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11564
5c3fe83f
SM
115652011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11566
6f5e57e7
SM
11567 * electric.el: Streamline electric-indent's hook.
11568 (electric-indent-chars): Revert to simple list.
11569 (electric-indent-functions): New var.
11570 (electric-indent-post-self-insert-function): Use it.
11571
5c3fe83f
SM
11572 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11573 there's no inferior buffer (bug#10196).
11574 (prolog-consult-compile): Don't use toggle-read-only.
11575
6bdac736
MA
115762011-12-02 Michael Albinus <michael.albinus@gmx.de>
11577
11578 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11579 interrupt. (Bug#10187)
11580
6131ba7f
SM
115812011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11582
99c79fee
SM
11583 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11584 (bug#9160).
11585
6131ba7f
SM
11586 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11587 (bug#10191).
11588
cb0a02ea
JL
115892011-12-02 Juri Linkov <juri@jurta.org>
11590
11591 * info.el (Info-search): Display "end of manual" when Isearch
11592 reaches the end of single-file Info manual. (Bug#9918)
11593
66e0570c
EZ
115942011-12-02 Eli Zaretskii <eliz@gnu.org>
11595
11596 * isearch.el (isearch-message-prefix): Run the input method part
11597 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11598
02b16839
JL
115992011-12-02 Juri Linkov <juri@jurta.org>
11600
11601 * isearch.el (isearch-occur): Use `word-search-regexp' for
11602 `isearch-word'.
11603 (isearch-search-and-update): Add condition for `isearch-word' and
11604 call `word-search-regexp'. (Bug#10145)
11605
0b950688
GM
116062011-12-01 Glenn Morris <rgm@gnu.org>
11607
11608 * eshell/em-hist.el (eshell-hist-initialize):
11609 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11610 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11611
9505c3c7
SM
116122011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11615
1bbe96b2 116162011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11617
a1beca85
SM
11618 * progmodes/verilog-mode.el (verilog-pretty-expr):
11619 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11620 verilog, such as += *= and the like.
11621 (verilog-assignment-operator-re): Regular expression to find the
11622 assigment operator in a verilog assignment.
11623 (verilog-assignment-operation-re): Regular expression to find an
11624 assignment statement for pretty-expr.
11625 (verilog-in-attribute-p): Query returns true if point is in an
11626 attribute context; used to skip these for expression line up from
11627 pretty-expr.
11628 (verilog-in-parameter-p): Query returns true if point is in an
11629 parameter definition context; used to skip these for expression
11630 line up from pretty-expr.
11631 (verilog-in-parenthesis-p): Query returns true if point is in a
11632 parenthetical expression, specifically ( ) but not [ ] or { };
11633 used by pretty-expr.
11634 (verilog-just-one-space): If there is no space, don't add one.
11635 (verilog-get-lineup-indent-2): Specifically skip just attribute
11636 contexts for expression lineup, rather than skipping all
11637 parenthetical expressions.
11638 (verilog-calculate-indent): Fix comment, and fix indent.
11639 (verilog-do-indent): Indent declarations in lists (suggested by
11640 Joachim Lechner).
11641 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11642 skeleton items.
11643 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11644 by Alain Mellan).
11645
1bbe96b2 116462011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11647
11648 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11649 parameters with embedded comments. Reported by Ray Stevens.
11650 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11651 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11652 Reported by Tim Holt.
11653 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11654 instantiated by upper module causing wrong expansion until AUTOed a
11655 second time. Reported by K C Buckenmaier.
11656 (verilog-diff-auto): Fix showing .* as a difference when
11657 `verilog-auto-star-save' off. Reported by Dan Dever.
11658 (verilog-auto-reset, verilog-read-always-signals)
11659 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11660 temporary signals in reset list if
11661 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11662 style to each signal's assignment type, bug381.
11663 Reported by Thomas Esposito.
6288f0ca
WS
11664 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11665 (verilog-uvm-statement-re): Support UVM indentation and
11666 highlighting, with old OVM keywords only.
a1beca85 11667 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11668 Support AUTOTIEOFF creating non-wire data types.
11669 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11670 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11671 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11672 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11673 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11674 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11675 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11676 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11677 non-numeric vector width. Reported by Alex Reed.
11678 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11679 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11680 (verilog-auto-delete-trailing-whitespace):
11681 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11682 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11683 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11684 Fix verilog-scan-cache corruption when running user AUTO expansion
11685 hooks that call indentation routines.
11686 (verilog-simplify-range-expression): Fix typo ignoring lower case
11687 identifiers.
11688 (verilog-delete-auto): Fix delete-autos to also remove user created
11689 automatics, as long as they start with AUTO.
11690 (verilog-batch-diff-auto, verilog-diff-auto)
11691 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11692 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11693 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11694 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11695 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11696 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11697 is disabled and its cache will get corrupt, causing AUTOS not to
11698 expand. Instead use only -quick functions.
11699 (verilog-scan-region): Fix scanning over escaped quotes.
11700 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11701 (verilog-re-search-backward-quick)
11702 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11703 related functions now ignore strings, to fix misparsing of strings
11704 with magic comments embedded in them.
a1beca85
SM
11705 (verilog-read-auto-template):
11706 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11707 Reported by Brad Dobbie.
11708 (verilog-read-auto-template):
11709 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11710 Reported by Brad Dobbie.
6288f0ca
WS
11711 (verilog-auto-inst, verilog-auto-inst-param)
11712 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11713 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11714 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11715 debugging templates without merge conflicts, bug357.
11716 Reported by Brad Dobbie.
11717 (verilog-read-auto-template):
11718 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11719 Reported by Brad Dobbie.
11720 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11721 abbrevs so user won't be asked to save.
11722 (verilog-read-auto-lisp-present): Fix to start at beginning of
11723 buffer in case called outside of verilog-auto.
11724 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11725 to "X-2". Reported by Matthew Myers.
11726 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11727 all inputs from module templates. Reported by Leith Johnson.
11728 (verilog-module-inside-filename-p): Fix locating programs as with
11729 modules.
11730 (verilog-auto-inst-port): Fix vl-width expressions when using
11731 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11732 (verilog-decls-get-regs, verilog-decls-get-signals,
11733 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11734 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11735 verilog-read-decls): Combine reg and wire structures into one var
11736 structure to represent SystemVerilog concepts.
11737 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11738 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11739 (verilog-auto-wire-type, verilog-insert-definition):
11740 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11741 SystemVerilog "logic" keyword instead of "wire"/"reg".
11742 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11743 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11744 ifdef or generate if so there's not a driver conflict).
11745 Reported by Matthew Myers.
11746 (verilog-auto-declare-nettype, verilog-insert-definition):
11747 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11748 `default_nettype none. Reported by Julian Gorfajn.
11749 (verilog-read-always-signals-recurse, verilog-read-decls)
11750 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11751 malformed end statement, bug325. Reported by Joshua Wise and
11752 Andrew Drake.
11753 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11754 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11755 when expanding .* in interfaces, bug320.
11756 Reported by Pierre-David Pfister.
6288f0ca 11757 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11758 name and open parenthesis, bug317.
11759 Reported by Pierre-David Pfister.
6288f0ca
WS
11760 (verilog-simplify-range-expression): Fix simplification of
11761 multiplications inside AUTOWIRE connections, bug303.
11762 (verilog-auto-inst-port): Support parameter expansion in
11763 multidimensional arrays.
11764 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11765 after "assert property". Reported by Julian Gorfajn.
11766 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11767 with multiplication, bug303.
11768 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11769 Reported by Jan Frode Lonnum.
11770
1bbe96b2
GM
117712011-11-30 Juanma Barranquero <lekktu@gmail.com>
11772
11773 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11774 (hfy-shell-file-name, hfy-shell):
11775 * international/fontset.el (x-decompose-font-name): Fix typos.
11776
117772011-11-29 Ken Brown <kbrown@cornell.edu>
11778
11779 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11780 (gdb-version): Remove defvar.
11781 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11782 (gdb-gud-context-command, gdb-non-stop-handler)
11783 (gdb-current-context-command, gdb-stopped): Use it.
11784 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11785 (gdb-non-stop-handler): Don't enable pretty-printing here.
11786 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11787 non-stop mode. Use the following.
11788 (gdb-check-target-async): New defun.
11789 (gud-watch, gdb-stopped): Fix whitespace.
11790 (gdb-get-source-file): Don't try to display the source file if
11791 `gdb-main-file' is nil.
11792
117932011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * align.el: Try to generate fewer markers (bug#10047).
11796 (align--set-marker): New macro.
11797 (align-region): Use it.
11798
c935221f
SM
117992011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11802
e70b5064
CY
118032011-11-29 Chong Yidong <cyd@gnu.org>
11804
11805 * indent.el (indent-for-tab-command, indent-according-to-mode):
11806 Doc fix.
11807 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11808
f3af92b7
MA
118092011-11-29 Michael Albinus <michael.albinus@gmx.de>
11810
11811 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11812 aware of remote file names. (Bug#10124)
11813
ed472be9
CY
118142011-11-29 Chong Yidong <cyd@gnu.org>
11815
11816 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11817
24510c22
SM
118182011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * files.el (find-file): Don't use force-same-window (bug#10144).
11821 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11822 use pop-to-buffer if the selected window can't be used.
11823 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11824
c60c3703
EZ
118252011-11-28 Eli Zaretskii <eliz@gnu.org>
11826
11827 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11828 special-mode-map.
11829
e95def75
CY
118302011-11-28 Chong Yidong <cyd@gnu.org>
11831
11832 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11833
c3f1c606
NR
118342011-11-27 Nick Roberts <nickrob@snap.net.nz>
11835
11836 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11837 gdb-get-source-file-list on gdb-create-source-file-list.
11838
00db469c
EZ
118392011-11-26 Eli Zaretskii <eliz@gnu.org>
11840
11841 * whitespace.el (whitespace-newline): Use a different foreground
11842 color for 16-color light-background displays.
11843
4ad3bc2a
CY
118442011-11-24 Chong Yidong <cyd@gnu.org>
11845
11846 * window.el (display-buffer--special-action): Doc fix.
11847
e9fce1ac
JB
118482011-11-25 Juanma Barranquero <lekktu@gmail.com>
11849
11850 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11851 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11852 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11853 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11854 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11855 (avl-tree-stack-first):
11856 * emacs-lisp/cconv.el (cconv--analyse-use):
11857 * net/gnutls.el (gnutls-negotiate): Fix typos.
11858
cb825e5d
GM
118592011-11-24 Glenn Morris <rgm@gnu.org>
11860
3adbe224
GM
11861 * lpr.el (lpr-windows-system, lpr-lp-system):
11862 * mail/binhex.el (binhex-begin-line):
11863 * progmodes/grep.el (grep-history, grep-find-history):
11864 * textmodes/flyspell.el:
11865 * vc/pcvs-defs.el (cvs-global-menu):
11866 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11867 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11868 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11869
321decc8
GM
11870 * net/tls.el: Fix case of "GnuTLS".
11871
420b63ad
GM
11872 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11873
cb825e5d
GM
11874 * version.el (emacs-build-system): Give it a doc-string.
11875
a0649f08
JL
118762011-11-24 Juri Linkov <juri@jurta.org>
11877
11878 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11879
c0bc0fd4
GM
118802011-11-24 Glenn Morris <rgm@gnu.org>
11881
11882 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11883 if called on a non-mime message just toggle the headers. (Bug#8006)
11884
20db1522
JB
118852011-11-24 Juanma Barranquero <lekktu@gmail.com>
11886
11887 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11888 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11889 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11890 (allout-rebullet-heading, allout-open-sibtopic)
11891 (allout-toggle-current-subtree-encryption)
11892 (allout-toggle-subtree-encryption, allout-encrypt-string)
11893 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11894 (allout-distinctive-bullets-string, allout-auto-activation):
11895 * window.el (window-normalize-buffer-to-display):
11896 * progmodes/verilog-mode.el (verilog-batch-indent):
11897 * textmodes/bibtex.el (bibtex-field-braces-opt)
11898 (bibtex-field-strings-opt):
11899 * vc/cvs-status.el (cvs-tree-merge):
11900 Fix typos.
11901
7262a87c
MA
119022011-11-23 Michael Albinus <michael.albinus@gmx.de>
11903
11904 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11905 `non-essential' to t, in order to avoid remote connections.
11906
283430a1
EZ
119072011-11-23 Eli Zaretskii <eliz@gnu.org>
11908
a1beca85
SM
11909 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11910 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11911 case-insensitively.
11912
d2992a38
ML
119132011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11914
11915 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11916
50419064
GM
119172011-11-23 Glenn Morris <rgm@gnu.org>
11918
da94eca1
GM
11919 * paths.el (rmail-file-name): Reformat the doc-string so that it
11920 is picked up.
11921
9aac4de2
GM
11922 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11923 (rmail-auto-file): Ignore case in the "special" field names,
11924 as mail-fetch-field does for all others.
11925
8038d2d2
GM
11926 * mail/rmail.el (rmail-forward):
11927 * mail/rmailkwd.el (rmail-set-label):
11928 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11929 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11930
f3fe222a
GM
11931 * mail/rmail.el (rmail-current-message): Doc fix.
11932
50419064
GM
11933 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11934
28109f49
SM
119352011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11938
394c65f1
GM
119392011-11-22 Glenn Morris <rgm@gnu.org>
11940
11941 * mail/rmailmm.el (test-rmail-mime-handler)
11942 (test-rmail-mime-bulk-handler)
11943 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11944
f2a0aa3a
JL
119452011-11-21 Juri Linkov <juri@jurta.org>
11946
1154d12e
JB
11947 * calc/calc.el (calc-read-key-sequence):
11948 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11949
9c34a344
LMI
119502011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11951
11952 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11953 Tell the caller that the next line needs recomputation, even
11954 though it doesn't start a sexp (bug#10094).
11955
f04a3be9
SM
119562011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11959
7978747f
SM
119602011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11961
f04a3be9
SM
11962 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11963 Use force-same-window.
7978747f 11964
fe7a3057
JB
119652011-11-20 Juanma Barranquero <lekktu@gmail.com>
11966
11967 * descr-text.el (describe-char-unicode-data):
11968 * json.el (json-string-escape):
11969 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11970 (Footnote-unicode, Footnote-style-p):
11971 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11972
24901d61
CY
119732011-11-20 Chong Yidong <cyd@gnu.org>
11974
11975 * window.el (replace-buffer-in-windows): Restore interactive spec.
11976
bac7ff22
SM
119772011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11978
24f3d7b9
SM
11979 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11980
bac7ff22
SM
11981 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11982 (byte-compile-global-not-obsolete-vars): New var.
11983 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11984 Use it.
11985 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11986
cd1181db
JB
119872011-11-20 Juanma Barranquero <lekktu@gmail.com>
11988
11989 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11990 * progmodes/pascal.el (electric-pascal-equal):
11991 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11992 * xml.el (xml-substitute-special): Fix typos.
11993
7fb18e9e
GM
119942011-11-20 Glenn Morris <rgm@gnu.org>
11995
11996 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11997 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11998 Doc fixes.
11999 (rmail-decode-mime-charset): Mark as obsolete.
12000
12001 * mail/rmailsum.el (rmail-message-regexp-p-1):
12002 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12003 Before using mime functions, check they are set. (Bug#10077)
12004
d5a6b3ba
JL
120052011-11-19 Juri Linkov <juri@jurta.org>
12006
12007 * info.el (Info-finder-find-node): Use `package--builtins' instead
12008 of `package-alist'. Use node names formed by the pattern "Keyword "
12009 and the keyword name.
12010
e981b61f
AS
120112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12012
1d00653d 12013 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12014
3ffbc301
JL
120152011-11-19 Juri Linkov <juri@jurta.org>
12016
12017 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12018 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12019 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12020 `old-history', `old-history-forward'. Add let-binding
12021 `window-selected'. Remove calls to `kill-buffer',
12022 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12023 before calling `Info-find-node', so `Info-find-node-2' will reread
12024 the Info file. Restore window positions only when `window-selected'
12025 is non-nil.
12026
30c62133
JL
120272011-11-19 Juri Linkov <juri@jurta.org>
12028
12029 * isearch.el (isearch-lazy-highlight-new-loop):
12030 Remove condition `(not isearch-error)'. (Bug#9918)
12031
12032 * misearch.el (multi-isearch-search-fun): Add condition
12033 `(not bound)' to ignore lazy-highlighting search.
12034 Add the search-failed message "end of multi" when the end of
12035 multi-sequence is reached. Uncapitalize the search-failed
12036 message "Repeat for next buffer".
12037
12038 * info.el (Info-search): Add the search-failed message
12039 "end of the manual" when the end of the manual is reached
12040 in Isearch mode.
12041
645ca9cf
JL
120422011-11-19 Juri Linkov <juri@jurta.org>
12043
12044 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12045 Use non-destructive `remove' instead of `delete' because
12046 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12047 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12048
df754f66
JL
120492011-11-19 Juri Linkov <juri@jurta.org>
12050
12051 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12052 to nil instead of binding `search-ring' and `regexp-search-ring'.
12053 (Bug#9185)
12054
0e23d96a
EZ
120552011-11-19 Eli Zaretskii <eliz@gnu.org>
12056
12057 * simple.el (line-move): Force movement by logical lines for any
12058 hscrolled window, not only when auto-hscroll-mode is on.
12059 (line-move-visual): Update doc string to that effect. (Bug#10076)
12060
8a6ccb66
AS
120612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12062
12063 * language/european.el (macintosh): Define as alias for mac-roman.
12064
49ae5b39
EZ
120652011-11-19 Eli Zaretskii <eliz@gnu.org>
12066
12067 * mail/rmailmm.el (rmail-mime-display-header)
12068 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12069 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12070 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12071 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12072 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12073 of a raw aref.
12074 (rmail-mime-entity-segment): To get past the tagline, move forward
12075 2 more lines, to account for the 2 empty lines that precede and
12076 follow the line with the buttons.
12077 (rmail-mime-update-tagline): Move one more line, to get past the
12078 empty line that follows the buttons in the tagline. (Bug#9520)
12079
c56cad4a
MR
120802011-11-19 Martin Rudalics <rudalics@gmx.at>
12081
12082 * window.el (window-max-delta-1, window-min-delta-1)
12083 (window-min-size-1, window-state-get-1, window-state-put-1)
12084 (window-state-put-2): Use "window--" prefix.
12085
cbe71af3
SM
120862011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12087
2ad52c60
SM
12088 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12089 (smie-warning-count): New var.
12090 (smie-set-prec2tab): Use it.
12091 (smie-bnf->prec2): Improve warnings. Add docstring.
12092 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12093 (smie-bnf--set-class): New function.
12094 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12095 corner case.
12096
6944dbc1
SM
12097 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12098 (compilation-error-properties, compilation-move-to-column):
12099 Handle compilation-first-column while in the target buffer.
12100
c400c4d7
SM
12101 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12102 Don't hardcode point-min==1.
12103
6dbe3e96
SM
12104 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12105 (eshell-rewrite-for-command): Remove workaround.
12106 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12107 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12108 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12109
cbe71af3
SM
12110 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12111
a8e1496d
GM
121122011-11-17 Glenn Morris <rgm@gnu.org>
12113
12114 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12115 Ignore buffer-local generated-autoload-file if it is the same
12116 as the global value. (Bug#10049)
12117
df85d315
JB
121182011-11-17 Juanma Barranquero <lekktu@gmail.com>
12119
12120 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12121 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12122 (reftex-toc-previous-heading, reftex-toc-max-level)
12123 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12124 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12125 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12126 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12127 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12128 (reftex-toc-rename-label, reftex-toc-visit-location)
12129 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12130 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12131 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12132 leaving "*toc*" only for references to the buffer.
12133
a0c2d0ae
MR
121342011-11-17 Martin Rudalics <rudalics@gmx.at>
12135
12136 * window.el (window-resize, delete-window, split-window):
12137 Replace window-splits by window-combination-resize.
1d00653d 12138 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12139
35c0bac8
GM
121402011-11-17 Glenn Morris <rgm@gnu.org>
12141
12142 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12143 Make bash entry derive from sh entry, not shell entry.
12144
d0c8fc8a
MA
121452011-11-16 Michael Albinus <michael.albinus@gmx.de>
12146
7262a87c
MA
12147 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12148 local file name.
12149
7877f373
JB
121502011-11-16 Juanma Barranquero <lekktu@gmail.com>
12151
12152 * menu-bar.el (menu-bar-file-menu):
12153 * printing.el (pr-ps-utility):
12154 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12155 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12156 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12157 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12158 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12159 (icalendar--convert-cyclic-to-ical)
12160 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12161 (icalendar--convert-ical-to-diary)
12162 (icalendar--convert-recurring-to-diary)
12163 (icalendar--convert-non-recurring-all-day-to-diary)
12164 (icalendar-import-format-sample):
12165 * progmodes/idlw-shell.el (idlwave-shell-mode):
12166 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12167 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12168 (vhdl-ps-print-init): Fix typos.
12169
10649b82
KM
121702011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12171
9d0cfcd6
GM
12172 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12173 FSF and collapse date sequence, obscure author/maintainer email address
12174 better, remove extra version line, track relocation of author's webpage.
10649b82 12175
9d0cfcd6
GM
12176 * progmodes/python.el (python-pdbtrack-input-prompt)
12177 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12178 regular python pdb prompts. Adjustments shamelessly taken exactly as
12179 suggested in EmacsWiki page (tiny change):
12180 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12181
58179cce
JB
121822011-11-16 Juanma Barranquero <lekktu@gmail.com>
12183
12184 * expand.el (expand-pos, expand-index, expand-point):
12185 Remove redundant info from docstring.
12186 (expand-add-abbrevs): Doc fix.
12187 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12188 (expand-sample-perl-mode-expand-list): Fix typos.
12189
12190 * net/dbus.el (dbus-event-member-name):
12191 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12192 * term/pc-win.el (msdos-create-frame-with-faces):
12193 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12194
b6f67890
MR
121952011-11-16 Martin Rudalics <rudalics@gmx.at>
12196
12197 * window.el (split-window, window-state-get-1)
12198 (window-state-put-1, window-state-put-2): Rename occurrences of
12199 window-nest to window-combination-limit.
1d00653d 12200 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12201
ce7ddba0
CY
122022011-11-16 Chong Yidong <cyd@gnu.org>
12203
12204 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12205 regexp (Bug#10033).
12206
3ae704f4
SM
122072011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12210 `completing-read' will remove *Completions* and will preserve
12211 current-buffer for us.
12212 (tmm-add-prompt): Users of *Completions* will always (re)set its
12213 major mode.
12214 (tmm-old-comp-map): Remove.
12215
6ad1cdde
GM
122162011-11-16 Glenn Morris <rgm@gnu.org>
12217
12218 * mail/rmailedit.el: Require rmailmm when compiling.
12219 (rmail-old-mime-state): New declaration.
12220 (rmail-edit-current-message): If editing a mime message,
12221 edit the "raw" message from the mbox buffer.
12222 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12223
d20faa20
GM
122242011-11-15 Glenn Morris <rgm@gnu.org>
12225
12226 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12227 which wasn't being used. Add optional arg to force given state.
12228 (rmail-mime): Add optional arg to force given state.
12229
c7015153
JB
122302011-11-15 Juanma Barranquero <lekktu@gmail.com>
12231
12232 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12233 * frame.el (display-mm-dimensions-alist):
12234 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12235 (outline-move-subtree-down):
12236 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12237 (newsticker--treeview-do-get-node):
12238 * net/quickurl.el (quickurl-list-buffer-name):
12239 * progmodes/dcl-mode.el (dcl-mode):
12240 * progmodes/gdb-mi.el (gdb-mapcar*):
12241 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12242
45261b50
GM
122432011-11-15 Glenn Morris <rgm@gnu.org>
12244
12245 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12246 in a boolean sense, so just make it a boolean, and fix the doc.
12247 (rmail-show-mime-function, rmail-mime-feature)
12248 (rmail-require-mime-maybe): Doc fixes.
12249 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12250
12251 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12252
0d26e0b6
JB
122532011-11-15 Juanma Barranquero <lekktu@gmail.com>
12254
12255 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12256 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12257 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12258 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12259
447f30f6
GM
122602011-11-15 Glenn Morris <rgm@gnu.org>
12261
672b871d
GM
12262 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12263 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12264 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12265 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12266 (rmail-mime, rmail-show-mime): Doc fixes.
12267
f6aa5bb1
GM
12268 * term/ns-win.el (mode-line-frame-identification):
12269 Leave it alone. (Bug#10051)
12270
947cd66b
GM
12271 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12272
447f30f6
GM
12273 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12274 Handle empty buffers. (Bug#9978)
12275
0b381c7e
JB
122762011-11-14 Juanma Barranquero <lekktu@gmail.com>
12277
12278 * international/mule.el (define-charset):
12279 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12280 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12281 * progmodes/verilog-mode.el (verilog-backward-token):
12282 * textmodes/ispell.el (lookup-words):
12283 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12284
71e027ac
GM
122852011-11-14 Glenn Morris <rgm@gnu.org>
12286
56632ce4
GM
12287 * progmodes/executable.el
12288 (executable-make-buffer-file-executable-if-script-p):
12289 Handle file-modes returning nil.
12290
40500957
GM
12291 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12292 message - not necessary, and causes problems. (Bug#9831)
12293
071c2340
GM
12294 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12295
d3cfca60
GM
12296 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12297
71e027ac
GM
12298 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12299 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12300 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12301
89d61221
MR
123022011-11-12 Martin Rudalics <rudalics@gmx.at>
12303
12304 * window.el (window-resize, delete-window): Use window-splits
12305 variable instead of function.
12306 (window-state-get-1, window-state-put-2, window-state-put):
12307 Don't deal with windows' splits status.
12308
98282f6f
GM
123092011-11-12 Glenn Morris <rgm@gnu.org>
12310
12311 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12312 (apropos-documentation): Doc fixes.
12313
40a8bdf6
JB
123142011-11-11 Juanma Barranquero <lekktu@gmail.com>
12315
12316 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12317 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12318
65bd19ff
SM
123192011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * electric.el (electric-indent-post-self-insert-function): Make it
12322 possible for a char to only indent in some circumstances.
12323 (electric-indent-mode): Simplify.
12324
54f9154c
MR
123252011-11-11 Martin Rudalics <rudalics@gmx.at>
12326
12327 * window.el (windows-with-parameter): Remove unused function.
12328 (windows-at-side): Rename to window-at-side-list.
12329 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12330 (window-side-check, window-size-ignore, window-size-fixed-1)
12331 (window-in-direction-2): Prefix with "window--".
12332 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12333
68cbc58b
GM
123342011-11-11 Glenn Morris <rgm@gnu.org>
12335
12336 * subr.el (eval-after-load): If FILE is already loaded,
12337 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12338
b2621720
GM
123392011-11-10 Glenn Morris <rgm@gnu.org>
12340
9a4de110
GM
12341 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12342 Call svn via vc-svn-command rather than vc-do-command.
12343 (vc-svn-command): Add --non-interactive. (Bug#9993)
12344 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12345
b2621720
GM
12346 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12347 Add toggle-read-only. (Bug#7292)
12348 * files.el (toggle-read-only): Mention that it should only
12349 be used interactively. (Bug#10006)
12350
1dce7193
SM
123512011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12352
d9ac1a1e
SM
12353 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12354 Adjust regexp for OCaml warnings.
12355
0c325082
SM
12356 * electric.el (electric-pair-post-self-insert-function): Let user
12357 turn it off buffer-locally (bug#9932).
12358
90132c14
SM
12359 * progmodes/python.el (python-beginning-of-statement):
12360 Rewrite (bug#2703).
12361
1dce7193
SM
12362 * progmodes/compile.el: Better handle TABs (bug#9749).
12363 (compilation-internal-error-properties)
12364 (compilation-next-error-function): Obey the target buffer's
12365 compilation-error-screen-columns.
12366
c4e7c63a
JB
123672011-11-09 Juanma Barranquero <lekktu@gmail.com>
12368
12369 * progmodes/meta-mode.el: Remove obsolete comments.
12370 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12371 Fix typos in docstrings.
12372
2cffd681
MR
123732011-11-09 Martin Rudalics <rudalics@gmx.at>
12374
12375 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12376 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12377 (window--resizable): New function. Make all callers of
12378 window-resizable call window--resizable instead.
12379 (window-resizable): Rewrite in terms of window--resizable.
12380
0edcba87
GM
123812011-11-08 Glenn Morris <rgm@gnu.org>
12382
12383 * progmodes/delphi.el (delphi-mode-syntax-table):
12384 Let define-derived-mode define a proper syntax table. (Bug#9994)
12385
4b0d61e3
SM
123862011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * window.el: Stay away from defsubst.
12389 (window-list-no-nils): Remove.
12390 (window-state-get-1, window-state-get): Use backquote instead.
12391
cd394be1 123922011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12393
4b0d61e3 12394 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12395 Fix incorrect use of default argument in `completing-read'.
12396
e1c2c6f2
MR
123972011-11-08 Martin Rudalics <rudalics@gmx.at>
12398
12399 * window.el (display-buffer-function, special-display-function):
12400 Mention display-buffer-record-window but do not mention
12401 help-setup parameter in doc-strings.
b3f4a882 12402 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12403
105216ed
CY
124042011-11-08 Chong Yidong <cyd@gnu.org>
12405
12406 * window.el (window-total-height, window-total-width): Doc fix.
12407 (window-body-size): Move from C.
12408 (window-body-height, window-body-width): Move to C.
12409
0a9f9ab5
SM
124102011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12411
12412 * window.el: Make special-display like display-buffer-alist (bug#9532).
12413 (display-buffer--special-action): New function, morphed
12414 from display-buffer--special.
12415 (display-buffer): Use it to handle special-display-buffers at higher
12416 priority (just after display-buffer-alist).
12417 (display-buffer-fallback-action, display-buffer--other-frame-action)
12418 (pop-to-buffer-same-window): Remove display-buffer--special.
12419
a769dd15
GM
124202011-11-07 Glenn Morris <rgm@gnu.org>
12421
12422 * calendar/cal-menu.el (cal-menu-set-date-title):
12423 Do nothing if not in a calendar. (Bug#9976)
12424
05a61ee3
SM
124252011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12426
12427 * files.el (find-file): Always use selected-window.
12428
be7f5545
MR
124292011-11-07 Martin Rudalics <rudalics@gmx.at>
12430
12431 * window.el (window-combinations): Make WINDOW argument
12432 mandatory. Rewrite doc-string.
12433 (walk-window-subtree, window-atom-check, window-min-delta)
12434 (window-max-delta, window--resize-this-window)
12435 (window--resize-root-window-vertically, window-tree)
12436 (balance-windows, window-state-put): Rewrite doc-strings as to
12437 not mention the term "subwindow".
12438 (window--resize-subwindows-skip-p): Rename to
12439 window--resize-child-windows-skip-p.
12440 (window--resize-subwindows-normal): Rename to
12441 window--resize-child-windows-normal.
12442 (window--resize-subwindows): Rename to
12443 window--resize-child-windows.
12444 (window-or-subwindow-p): Rename to window--in-subtree-p.
12445
3c6702ef
ML
124462011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12447
12448 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12449 Ensure that mbox format messages end in two newlines (Bug#9974).
12450
49745b39
CY
124512011-11-06 Chong Yidong <cyd@gnu.org>
12452
12453 * window.el (window-combination-p): Function deleted; its
12454 side-effect is not used in any existing code.
12455 (window-combinations, window-combined-p): Call window-*-child
12456 directly.
12457
24300f5f
CY
124582011-11-05 Chong Yidong <cyd@gnu.org>
12459
12460 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12461 (window-size-ignore, window-state-get): Callers changed.
12462 (window-normalize-window): Rename from window-normalize-any-window.
12463 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12464 (window-normalize-live-window): Delete.
447f16b8
CY
12465 (window-combination-p, window-combined-p, window-combinations)
12466 (walk-window-subtree, window-atom-root, window-min-size)
12467 (window-sizable, window-sizable-p, window-size-fixed-p)
12468 (window-min-delta, window-max-delta, window-resizable)
12469 (window-resizable-p, window-full-height-p, window-full-width-p)
12470 (window-current-scroll-bars, window-point-1, set-window-point-1)
12471 (window-at-side-p, window-in-direction, window-resize)
12472 (adjust-window-trailing-edge, maximize-window, minimize-window)
12473 (window-deletable-p, delete-window, delete-other-windows)
12474 (record-window-buffer, unrecord-window-buffer)
12475 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12476 (quit-window, split-window, window-state-put)
12477 (set-window-text-height, fit-window-to-buffer)
12478 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12479
89bd5ee1
EZ
124802011-11-04 Eli Zaretskii <eliz@gnu.org>
12481
53479029
EZ
12482 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12483 rfc2047-decode-string.
12484 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12485 warnings.
12486
89bd5ee1
EZ
12487 * window.el (window-body-height, window-body-width): Mention in
12488 the doc string that the return values are in frame's canonical
12489 units. (Bug#9949)
12490
bd17fdee
AM
124912011-11-03 Alan Mackenzie <acm@muc.de>
12492
12493 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12494 change in cc-engine.el.
12495
acc825c5
SM
124962011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12499
1885e5b8
MR
125002011-11-02 Martin Rudalics <rudalics@gmx.at>
12501
12502 * window.el (quit-window): Call unrecord-window-buffer after
12503 showing another buffer in the window. (Bug#9937)
acc825c5 12504 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12505
ebe06da9
JB
125062011-11-02 Juanma Barranquero <lekktu@gmail.com>
12507
12508 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12509 Accept status with more than 9 shelves. (Bug#9935)
12510 Reported by Colin D Bennett <colin@gibibit.com>.
12511
4ee88440
MR
125122011-11-01 Martin Rudalics <rudalics@gmx.at>
12513
12514 * help.el (with-help-window): Don't reference
12515 temp-buffer-show-specifiers in doc-string.
12516
08e1d82c
AS
125172011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12518
12519 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12520 menu-item.
12521
84bd6e9e
VJL
125222011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12523
12524 * whitespace.el: New version 13.2.2.
12525 (whitespace-newline-mode): Disable properly. Reported by Sarah
12526 <EmacsWiki>.
12527
dba0634a
UJ
125282011-10-30 Ulf Jasper <ulf.jasper@web.de>
12529
12530 * net/newst-treeview.el: Remove "Time-stamp".
12531 (newsticker--group-manage-orphan-feeds): Do not call
12532 newsticker--treeview-tree-update.
db22a3c2
JB
12533 (newsticker-treeview-update, newsticker-treeview):
12534 Call newsticker--treeview-tree-update if necessary.
dba0634a 12535
3d8daefe
MR
125362011-10-30 Martin Rudalics <rudalics@gmx.at>
12537
12538 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12539 (window-iso-combinations): Remove "iso-" infix.
12540 Suggested by Chong Yidong.
3d8daefe
MR
12541 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12542 (window-max-delta-1, window-resize, window--resize-siblings)
12543 (window--resize-this-window, adjust-window-trailing-edge)
12544 (split-window, balance-windows-1)
12545 (shrink-window-if-larger-than-buffer):
12546 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12547 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12548
1bc4c3ae
SM
125492011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12550
12551 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12552 in place (bug#9907).
12553 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12554 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12555 (eshell-structure-basic-command, eshell-rewrite-while-command)
12556 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12557 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12558 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12559 (eshell-do-pipelines-synchronously, eshell-eval-command):
12560 Use backquotes and prefer setq to set.
12561 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12562 (eshell-macrop): Use functionp.
c1e2f5fa 12563 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12564
30b65d9c
CY
125652011-10-30 Chong Yidong <cyd@gnu.org>
12566
12567 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12568 instead of set-mark (Bug#9810).
12569
2d197ffb
CY
125702011-10-30 Chong Yidong <cyd@gnu.org>
12571
12572 * window.el (split-window-below, split-window-right): Rename from
12573 split-window-above-each-other and split-window-side-by-side
12574 respectively. All callers changed.
12575 (split-window-sensibly, split-window-sensibly): Use them.
12576 (split-window-keep-point): Doc fix.
12577
12578 * isearch.el: Add isearch-scroll property to split-window-below
12579 and split-window-right.
12580
12581 * follow.el (follow-mode):
12582 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12583 * progmodes/ada-xref.el (ada-gdb-application):
12584 * emulation/vip.el (vip-buffer-in-two-windows):
12585 * image-dired.el (image-dired-dired-with-window-configuration):
12586 * dired-x.el (dired-do-find-marked-files):
12587 * dired.el (dired-pop-to-buffer):
12588 * bs.el (bs--show-with-configuration):
12589 * vc/emerge.el (emerge-setup-windows):
12590 * textmodes/two-column.el (2C-two-columns):
12591 * textmodes/reftex-toc.el (reftex-toc):
12592 * progmodes/gdb-mi.el (gdb-setup-windows):
12593 * progmodes/fortran.el (fortran-window-create):
12594 * net/newst-treeview.el (newsticker--treeview-window-init):
12595 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12596 * emulation/tpu-edt.el (tpu-gold-map):
12597 * emulation/crisp.el (crisp-mode-map):
12598 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12599
38bb2ca8
CY
126002011-10-29 Chong Yidong <cyd@gnu.org>
12601
aa4de341
CY
12602 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12603
e1eb5385
CY
12604 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12605
5d2ece3c
CY
12606 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12607 forged Ispell output (Bug#7904).
12608
38bb2ca8
CY
12609 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12610
d0af9f77
SM
126112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12612
12613 * doc-view.el: Avoid ugly errors about not finding nil.
12614 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12615 (doc-view-dvipdf-program, doc-view-unoconv-program)
12616 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12617 Avoid nil or absolute file name as default value.
12618 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12619
52bedd34
AM
126202011-10-28 Alan Mackenzie <acm@muc.de>
12621
db22a3c2 12622 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12623
7e43cfa5
AM
126242011-10-28 Alan Mackenzie <acm@muc.de>
12625
12626 Amend the handling of c-beginning/end-of-defun in nested declaration
12627 scopes.
12628
52bedd34
AM
12629 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12630 cc-langs.el. Change it to a defcustom.
7e43cfa5 12631
52bedd34
AM
12632 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12633 cc-vars.el.
7e43cfa5 12634
d0af9f77
SM
12635 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12636 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12637
52bedd34 12638 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12639 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12640 (c-widen-to-enclosing-decl-scope): New function.
12641 (c-while-widening-to-decl-block): New macro.
12642 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12643 outward for defun boundaries, and correspondingly change symbol
12644 `respect-enclosure' to `go-outward'.
12645 (c-declaration-limits): Change algorithm to report only the "innermost"
12646 defun's boundaries.
12647
1a2ce9ee
DD
126482011-10-28 Deniz Dogan <deniz@dogan.se>
12649
12650 * net/rcirc.el (rcirc-mode): Use hard newlines.
12651
bc97a826
AM
126522011-10-28 Alan Mackenzie <acm@muc.de>
12653
12654 Amend to indent and fontify macros "which include their own semicolon"
12655 correctly, using the "virtual semicolon" mechanism.
12656
52bedd34 12657 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12658
d0af9f77 12659 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12660 Recode to scan one line at a time rather than having \n and \r
58179cce 12661 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12662 (c-forward-label): Amend for virtual semicolons.
58179cce 12663 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12664
52bedd34
AM
12665 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12666 of the new C macros.
bc97a826 12667
52bedd34 12668 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12669 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12670 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12671 (c-opt-cpp-macro-define): Make into a full language variable.
12672 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12673 AWK Mode (including \n, \r) removed, no longer needed.
12674
d0af9f77
SM
12675 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12676 Invoke c-make-macro-with-semi-re.
bc97a826 12677
52bedd34
AM
12678 * progmodes/cc-vars.el (c-macro-with-semi-re):
12679 (c-macro-names-with-semicolon): New variables.
58179cce 12680 (c-make-macro-with-semi-re): New function.
bc97a826 12681
7a6c0941
SM
126822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12683
12684 * vc/log-edit.el: Fill empty field rather than adding new one.
12685 (log-edit-add-field): New function.
12686 (log-edit-insert-changelog): Use it.
12687
b0c4cdcf
ML
126882011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12689
12690 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12691
ee1f1da9
SM
126922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12695 (gdb--check-interpreter): New function.
12696 (gdb): Use it.
12697
51bc5f8b
GM
126982011-10-27 Glenn Morris <rgm@gnu.org>
12699
416a2c45
GM
12700 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12701 (least-positive-float, least-negative-float)
12702 (least-positive-normalized-float, least-negative-normalized-float)
12703 (float-epsilon, float-negative-epsilon):
12704 Remove unnecessary declarations.
12705
12706 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12707 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12708 (least-positive-float, least-negative-float)
12709 (least-positive-normalized-float, least-negative-normalized-float)
12710 (float-epsilon, float-negative-epsilon): Add doc-strings,
12711 based on those in cl.texi.
12712
51bc5f8b
GM
12713 * files.el (set-visited-file-name): If the major-mode changed,
12714 reload the local variables. (Bug#9796)
12715
15de15c6
CY
127162011-10-27 Chong Yidong <cyd@gnu.org>
12717
12718 * subr.el (change-major-mode-after-body-hook): New hook.
12719 (run-mode-hooks): Run it.
12720
ee1f1da9
SM
12721 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12722 Use change-major-mode-before-body-hook.
15de15c6
CY
12723
12724 * simple.el (fundamental-mode):
12725 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12726 change introducing fundamental-mode-hook.
12727
5430d399
JB
127282011-10-26 Juanma Barranquero <lekktu@gmail.com>
12729
acc825c5 12730 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12731
ad74a69e
MA
127322011-10-26 Michael Albinus <michael.albinus@gmx.de>
12733
12734 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12735 tramp.el explicitly. (Bug#7583)
ad74a69e 12736
71d4c2a5
SM
127372011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12738
12739 * progmodes/octave-mod.el:
12740 * progmodes/octave-inf.el: Update maintainer.
12741
b1f6fa26
CY
127422011-10-26 Chong Yidong <cyd@gnu.org>
12743
12744 * subr.el (with-wrapper-hook): Rewrite doc.
12745
3f04efd6
MA
127462011-10-25 Michael Albinus <michael.albinus@gmx.de>
12747
12748 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12749 filenames "/method:foo:". (Bug#9793)
3f04efd6 12750
410488d3
SM
127512011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12752
12753 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12754 (bug#9865).
12755
c1ebb47e
GM
127562011-10-24 Glenn Morris <rgm@gnu.org>
12757
12758 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12759
7f5c46c7
MA
127602011-10-24 Michael Albinus <michael.albinus@gmx.de>
12761
12762 * notifications.el: Add the requirement of a running D-Bus session
12763 bus to the Commentary.
12764
db2440b6
JL
127652011-10-24 Juri Linkov <juri@jurta.org>
12766
12767 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12768 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12769 (Bug#9364)
12770
feecf435
JL
127712011-10-24 Juri Linkov <juri@jurta.org>
12772
12773 * info.el (Info-following-node-name-re): Add newline to the list
12774 of allowed characters for leading space. (Bug#9824)
12775
a3839de2
SM
127762011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12777
acc825c5
SM
12778 * progmodes/octave-inf.el (inferior-octave-mode-map):
12779 Fix C-c C-h binding.
a3839de2
SM
12780 * progmodes/octave-mod.el (octave-help): Remove.
12781
09388e76
MA
127822011-10-23 Michael Albinus <michael.albinus@gmx.de>
12783
12784 Sync with Tramp 2.2.3.
12785
12786 * net/tramp-cache.el (top): Pacify byte-compiler using
12787 `init-file-user' and `site-run-file'.
12788
12789 * net/trampver.el: Update release number.
12790
86c60681
CY
127912011-10-23 Chong Yidong <cyd@gnu.org>
12792
12793 * files.el (toggle-read-only): Remove obsolete comment about
12794 version control.
12795
12796 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12797 for toggle-read-only. Note that this hasn't called vc-next-action
12798 since 2008-05-02, though it wasn't documented at the time.
12799
a3839de2
SM
12800 * vc/ediff-init.el (ediff-toggle-read-only-function):
12801 Use toggle-read-only.
86c60681 12802
cd5495ff
AM
128032011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12804
12805 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12806 of c-parse-state.
12807
00b77525 12808 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12809 correct faulty logical expression.
cd5495ff
AM
12810 (c-parse-state-state, c-record-parse-state-state):
12811 (c-replay-parse-state-state): New defvar/defuns.
12812 (c-debug-parse-state): Use new functions.
12813
42ee24ed
MR
128142011-10-22 Martin Rudalics <rudalics@gmx.at>
12815
12816 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12817 last fix. Use window-in-direction correctly.
42ee24ed 12818
a7dee7e7
CY
128192011-10-21 Chong Yidong <cyd@gnu.org>
12820
12821 * progmodes/idlwave.el (idlwave-mode):
12822 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12823 require-final-newline; that's done in prog-mode.
12824 Suggested by Stefan Monnier.
a7dee7e7 12825
e07b9a6d
MR
128262011-10-21 Martin Rudalics <rudalics@gmx.at>
12827
12828 * mouse.el (mouse-drag-window-above)
12829 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12830 (mouse-drag-mode-line-1, mouse-drag-header-line)
12831 (mouse-drag-vertical-line-rightward-window): Remove.
12832 (mouse-drag-line): New function.
12833 (mouse-drag-mode-line, mouse-drag-header-line)
12834 (mouse-drag-vertical-line): Call mouse-drag-line.
12835 * window.el (window-at-side-p, windows-at-side): New functions.
12836
7e1361d9
UM
128372011-10-21 Ulrich Mueller <ulm@gentoo.org>
12838
12839 * tar-mode.el (tar-grind-file-mode):
12840 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12841
30fcaf3a
CY
128422011-10-21 Chong Yidong <cyd@gnu.org>
12843
12844 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12845 * progmodes/vera-mode.el (vera-mode):
12846 Use mode-require-final-newline.
30fcaf3a 12847
516eddb0
GM
128482011-10-20 Glenn Morris <rgm@gnu.org>
12849
db22a3c2 12850 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12851
10d5f513
CS
128522011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12853
12854 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12855
ac6c8639
CY
128562011-10-20 Chong Yidong <cyd@gnu.org>
12857
12858 * emulation/cua-base.el (cua-mode):
12859 * mail/footnote.el (footnote-mode):
12860 * mail/mailabbrev.el (mail-abbrevs-mode):
12861 * net/xesam.el (xesam-minor-mode):
12862 * progmodes/bug-reference.el (bug-reference-mode):
12863 * progmodes/cap-words.el (capitalized-words-mode):
12864 * progmodes/compile.el (compilation-minor-mode)
12865 (compilation-shell-minor-mode):
12866 * progmodes/gud.el (gud-tooltip-mode):
12867 * progmodes/hideif.el (hide-ifdef-mode):
12868 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12869 * progmodes/subword.el (subword-mode):
12870 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12871 * progmodes/which-func.el (which-function-mode):
12872 * term/tvi970.el (tvi970-set-keypad-mode):
12873 * term/vt100.el (vt100-wide-mode):
12874 * textmodes/flyspell.el (flyspell-mode):
12875 * textmodes/ispell.el (ispell-minor-mode):
12876 * textmodes/nroff-mode.el (nroff-electric-mode):
12877 * textmodes/paragraphs.el (use-hard-newlines):
12878 * textmodes/refill.el (refill-mode):
12879 * textmodes/reftex.el (reftex-mode):
12880 * textmodes/rst.el (rst-minor-mode):
12881 * textmodes/sgml-mode.el (html-autoview-mode)
12882 (sgml-electric-tag-pair-mode):
12883 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12884 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12885 * emulation/crisp.el (crisp-mode):
12886 * emacs-lisp/eldoc.el (eldoc-mode):
12887 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12888 minor mode behavior.
12889
aa42ab43
JL
128902011-10-19 Juri Linkov <juri@jurta.org>
12891
12892 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12893 the list of hard-coded chars with escape-glyph face.
12894
89400f1d
SM
128952011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12898
305c07f6
MA
128992011-10-19 Michael Albinus <michael.albinus@gmx.de>
12900
12901 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12902 running process.
12903
13754b54
GM
129042011-10-19 Glenn Morris <rgm@gnu.org>
12905
12906 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12907 Ignore ignored files. (Bug#9726)
12908
06e21633
CY
129092011-10-19 Chong Yidong <cyd@gnu.org>
12910
12911 Doc fix for minor modes, stating that an omitted argument enables
12912 the mode unconditionally when called from Lisp.
12913
12914 * abbrev.el (abbrev-mode):
12915 * allout.el (allout-mode):
12916 * autoinsert.el (auto-insert-mode):
12917 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12918 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12919 (global-auto-revert-mode):
12920 * battery.el (display-battery-mode):
12921 * composite.el (global-auto-composition-mode)
12922 (auto-composition-mode):
12923 * delsel.el (delete-selection-mode):
12924 * desktop.el (desktop-save-mode):
12925 * dired-x.el (dired-omit-mode):
12926 * dirtrack.el (dirtrack-mode):
12927 * doc-view.el (doc-view-minor-mode):
12928 * double.el (double-mode):
12929 * electric.el (electric-indent-mode, electric-pair-mode):
12930 * emacs-lock.el (emacs-lock-mode):
12931 * epa-hook.el (auto-encryption-mode):
12932 * follow.el (follow-mode):
12933 * font-core.el (font-lock-mode):
12934 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12935 * help.el (temp-buffer-resize-mode):
12936 * hilit-chg.el (highlight-changes-mode)
12937 (highlight-changes-visible-mode):
12938 * hi-lock.el (hi-lock-mode):
12939 * hl-line.el (hl-line-mode, global-hl-line-mode):
12940 * icomplete.el (icomplete-mode):
12941 * ido.el (ido-everywhere):
12942 * image-file.el (auto-image-file-mode):
12943 * image-mode.el (image-minor-mode):
12944 * iswitchb.el (iswitchb-mode):
12945 * jka-cmpr-hook.el (auto-compression-mode):
12946 * linum.el (linum-mode):
12947 * longlines.el (longlines-mode):
12948 * master.el (master-mode):
12949 * mb-depth.el (minibuffer-depth-indicate-mode):
12950 * menu-bar.el (menu-bar-mode):
12951 * minibuf-eldef.el (minibuffer-electric-default-mode):
12952 * mouse-sel.el (mouse-sel-mode):
12953 * msb.el (msb-mode):
12954 * mwheel.el (mouse-wheel-mode):
12955 * outline.el (outline-minor-mode):
12956 * paren.el (show-paren-mode):
12957 * recentf.el (recentf-mode):
12958 * reveal.el (reveal-mode, global-reveal-mode):
12959 * rfn-eshadow.el (file-name-shadow-mode):
12960 * ruler-mode.el (ruler-mode):
12961 * savehist.el (savehist-mode):
12962 * scroll-all.el (scroll-all-mode):
12963 * scroll-bar.el (scroll-bar-mode):
12964 * server.el (server-mode):
12965 * shell.el (shell-dirtrack-mode):
12966 * simple.el (auto-fill-mode, transient-mark-mode)
12967 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12968 (line-number-mode, column-number-mode, size-indication-mode)
12969 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12970 * strokes.el (strokes-mode):
12971 * time.el (display-time-mode):
12972 * t-mouse.el (gpm-mouse-mode):
12973 * tool-bar.el (tool-bar-mode):
12974 * tooltip.el (tooltip-mode):
12975 * type-break.el (type-break-mode-line-message-mode)
12976 (type-break-query-mode):
12977 * view.el (view-mode):
12978 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12979 (global-whitespace-mode, global-whitespace-newline-mode):
12980 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12981
a3839de2
SM
12982 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12983 Fix autogenerated docstring.
06e21633 12984
5214e501
JL
129852011-10-19 Juri Linkov <juri@jurta.org>
12986
12987 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12988 by checking environment variables "DESKTOP_SESSION" and
12989 "XDG_CURRENT_DESKTOP". (Bug#9779)
12990
195f8db9
JL
129912011-10-19 Juri Linkov <juri@jurta.org>
12992
12993 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12994 (browse-url-chromium-program, browse-url-chromium-arguments):
12995 New defcustoms.
12996 (browse-url-default-browser): Check for `browse-url-chromium' and
12997 call `browse-url-chromium-program'.
12998 (browse-url-chromium): New command. (Bug#9779)
12999
343a34ff
JB
130002011-10-18 Juanma Barranquero <lekktu@gmail.com>
13001
13002 * facemenu.el (list-colors-duplicates): On Windows, detect more
13003 duplicates by assuming that only colors matching "^System" are
13004 special "system colors". (Bug#9722)
13005
6978a151
SM
130062011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13009 to distinguish the author from the committer.
13010
6a80b297
MA
130112011-10-18 Michael Albinus <michael.albinus@gmx.de>
13012
13013 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13014
b31a5677
JK
130152011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13016
13017 * international/mule.el (sgml-html-meta-auto-coding-function):
13018 Add support for detecting encoding in HTML5 specified only as
13019 <meta charset="UTF-8">. Implementation just makes http-equiv and
13020 content-type parts from HTML4 encoding string optional. (Bug#9716)
13021
80c6d77f
GM
130222011-10-18 Glenn Morris <rgm@gnu.org>
13023
13024 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13025
08b0fee8
CY
130262011-10-18 Chong Yidong <cyd@gnu.org>
13027
13028 * faces.el (cursor): Doc fix.
13029
67e729a5
CY
130302011-10-17 Chong Yidong <cyd@gnu.org>
13031
13032 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13033
343a34ff 130342011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13035
13036 * dirtrack.el (dirtrack): Support shell buffers with path
13037 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13038
0bc06380
TZ
130392011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13040
13041 * json.el: Bump version to 1.3 and note change in History.
13042 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13043
8b79f3e0
SM
130442011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13045
5a7c536b
SM
13046 * comint.el (comint-insert-input, comint-send-input)
13047 (comint-get-old-input-default, comint-backward-matching-input)
13048 (comint-next-prompt): Use nil instead of `input' for field property of
13049 past user input (bug#114).
13050
96a8a0df
SM
13051 * minibuffer.el (completion--replace): Inherit surrounding properties
13052 (bug#114).
13053 (minibuffer-complete-and-exit): Use it.
13054
8b79f3e0
SM
13055 * comint.el (comint--table-subvert): Quote the all-completions output
13056 (bug#9160).
13057
b8f7ff0d
MR
130582011-10-17 Martin Rudalics <rudalics@gmx.at>
13059
8b79f3e0 13060 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13061
b8f7ff0d 13062 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13063 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13064 entries and separate them from frame entries.
13065
c235b555
GM
130662011-10-15 Glenn Morris <rgm@gnu.org>
13067
13068 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13069 Doc fixes.
13070
6bbfa6e1
CY
130712011-10-15 Chong Yidong <cyd@stupidchicken.com>
13072
8b79f3e0
SM
13073 * net/network-stream.el (network-stream-open-starttls):
13074 Improve detection of failure due to lack of TLS support.
ec5c990d 13075
6bbfa6e1
CY
13076 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13077 putting the input text in front and in bold.
13078
98488977
SM
130792011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13080
3d1337be
SM
13081 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13082
ee0b45e4
SM
13083 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13084 empty buffer.
13085
98488977
SM
13086 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13087 unread-command-events rather than pushing yet-another event.
13088
186f4720
EZ
130892011-10-14 Eli Zaretskii <eliz@gnu.org>
13090
13091 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13092 the explanation of the possible choices. Make the options passed
13093 to completing-read shorter.
13094
8b7a997c
AM
130952011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13096
13097 * textmodes/flyspell.el (flyspell-large-region): Make sure
13098 extended character mode is used if defined (Bug#1339).
13099
12587bbb
EZ
131002011-10-13 Eli Zaretskii <eliz@gnu.org>
13101
13102 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13103 character info for LRE, LRO, RLE, and RLO characters by appending
13104 an invisible PDF.
12587bbb 13105
bad41229
SM
131062011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13107
13108 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13109 even in case of error; add debug spec; simplify data flow.
13110 (with-timeout-handler): Remove.
13111
28dbc92f
MA
131122011-10-12 Michael Albinus <michael.albinus@gmx.de>
13113
13114 Fix Bug#6019, Bug#9315.
13115
13116 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13117 complete `buffer-file-name', the local file name part could look
13118 remotely (for example on VMS).
13119
13120 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13121 `tramp-run-real-handler'.
13122 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13123 already quoted by '"'.
13124
13125 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13126 Let `file-name-handler-alist' be nil, the local file name part
13127 could look remotely (for example on VMS).
13128
e1b0b23a
SM
131292011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13132 from here...
13133 (flyspell-post-command-hook): ...to here.
13134
a120bde9
SM
131352011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13138 if not needed.
13139 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13140 using completion. Protect against "slow" callers.
13141 Remove the "message hack".
13142
7ce7717b
JL
131432011-10-11 Juri Linkov <juri@jurta.org>
13144
13145 * isearch.el (isearch-lazy-highlight-word): New variable.
13146 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13147 Use it. (Bug#9727)
13148
c02ee9d6
GM
131492011-10-11 Glenn Morris <rgm@gnu.org>
13150
13151 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13152 like f90-previous-statement does.
13153
93e616fd 131542011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13155
1f190e73 13156 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13157 only in interactive use, to avoid error.
13158
af7b6078
SM
131592011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13160
13161 * minibuffer.el (completion-file-name-table): Fix last change,
13162 i.e. ignore normal errors but not the other ones.
13163
0563dae9
MR
131642011-10-10 Martin Rudalics <rudalics@gmx.at>
13165
13166 * window.el (special-display-buffer-names)
13167 (special-display-regexps): Remove some remnants of earlier
13168 changes from doc-strings.
366ca7f3
MR
13169 (quit-windows-on): New function.
13170
13171 * vc/vc.el (vc-revert, vc-rollback):
13172 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13173 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13174 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13175
49677495
MR
131762011-10-09 Martin Rudalics <rudalics@gmx.at>
13177
13178 * window.el (frame-auto-hide-function): Add version tag.
13179 (Bug#9699)
13180
56f2d1e1
MA
131812011-10-09 Michael Albinus <michael.albinus@gmx.de>
13182
13183 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13184 condition.
13185
112a6592
LL
131862011-10-09 Leo Liu <sdl.web@gmail.com>
13187
13188 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13189 (Bug#9701)
13190
0812589b
GM
131912011-10-08 Glenn Morris <rgm@gnu.org>
13192
13193 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13194 before the first code statement zero indent. (Bug#9690)
13195
b2b0776e
CY
131962011-10-08 Chong Yidong <cyd@stupidchicken.com>
13197
13198 * simple.el (count-words-region): Always count in the region.
13199 Report the number of lines and characters too.
13200 (count-words): New command, which counts in the buffer if the
13201 region is inactive, as count-words-region used to.
13202 (count-words--message): New function. Handle plurals.
13203 (count-lines-region): Make it an alias for count-words-region.
13204
13205 * bindings.el (esc-map): Replace count-lines-region with
13206 count-words-region.
13207
c557cd6b
MR
132082011-10-08 Martin Rudalics <rudalics@gmx.at>
13209
13210 * window.el (window--delete): Delete dedicated frame
13211 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13212 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13213
61a57ef4 132142011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13215
3a7d293b 13216 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13217
c3833279
CY
132182011-10-07 Chong Yidong <cyd@stupidchicken.com>
13219
13220 * bindings.el ([M-left],[M-right]): Bind to left-word and
13221 right-word respectively.
13222
21ce8245
GM
132232011-10-07 Glenn Morris <rgm@gnu.org>
13224
13225 * cus-start.el (debug-on-quit): Fix custom type.
13226
6d823bb2
LMI
132272011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228
0181e193
LMI
13229 * subr.el (define-key-after): Clarify that the function is not
13230 useful for non-menu keymaps.
13231
6d823bb2
LMI
13232 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13233
8e3459ce 132342011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13235
21ce8245 13236 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13237 in current minibuffer (Fix bug with recursive minibuffers).
13238
a1c2d21e
CY
132392011-10-06 Chong Yidong <cyd@stupidchicken.com>
13240
13241 * progmodes/gdb-mi.el (gdb): Doc fix.
13242
5a4cf282
MR
132432011-10-05 Martin Rudalics <rudalics@gmx.at>
13244
13245 * window.el (frame-auto-hide-function): New option replacing
13246 frame-auto-delete. Suggested by Stefan Monnier.
13247 (window--delete): Call frame-auto-hide-function instead of
13248 investigating frame-auto-delete.
c96111ea
MR
13249 (window-point-1, set-window-point-1): New functions.
13250 (window-in-direction, record-window-buffer, window-state-get-1)
13251 (display-buffer-record-window): Use window-point-1 instead of
13252 window-point.
13253 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13254
9854542e
SM
132552011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13258
8943cfb0
GM
132592011-10-05 Glenn Morris <rgm@gnu.org>
13260
13261 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13262 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13263
647ab967
LL
132642011-10-05 Leo Liu <sdl.web@gmail.com>
13265
13266 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13267 works with buffer object.
13268
3ddfbced
SM
132692011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * mpc.el (mpc-tool-bar-map): Add labels.
13272
bdfa5dd2
GM
132732011-10-04 Glenn Morris <rgm@gnu.org>
13274
13275 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13276
0e2070b5
MR
132772011-10-04 Martin Rudalics <rudalics@gmx.at>
13278
13279 * window.el (window--delete): New function.
13280 (frame-auto-delete): Resuscitate option.
13281 (bury-buffer, replace-buffer-in-windows)
13282 (quit-window): Rewrite using window--delete.
13283 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13284 Pass display-buffer-mark-dedicated to window--display-buffer-2
13285 (Bug#9639).
13286
3dc61a09
SM
132872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13288
915a9b64
SM
13289 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13290 returns a list (bug#9554). Add remote file name completion.
13291 * comint.el (comint--table-subvert): Curry and get quote&unquote
13292 functions as arguments.
13293 (comint--complete-file-name-data): Adjust call accordingly.
13294 * pcomplete.el (pcomplete--table-subvert): Remove.
13295 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13296
3dc61a09
SM
13297 * minibuffer.el (completion-table-case-fold): Use currying.
13298 (completion--styles-type, completion--cycling-threshold-type):
13299 New constants.
13300 (completion-styles, completion-category-overrides)
13301 (completion-cycle-threshold): Use them.
13302 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13303 completion-table-case-fold.
13304
8ea0a993
SB
133052011-10-03 Stephen Berman <stephen.berman@gmx.net>
13306
13307 * minibuffer.el (completion-category-overrides): Fix type of styles
13308 and add more user friendly tags (bug#9660).
13309
8c24b7f6
SM
133102011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13313 (mule-input-method-string): New widget.
13314 (default-input-method, language-info-custom-alist): Use it.
13315
428fe61a
SM
133162011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13317
32c1fffd
SM
13318 * pcomplete.el: Require comint.
13319 (pcomplete--common-suffix): Remove.
13320 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13321 (pcomplete--table-subvert): Sync with comint--table-subvert.
13322 (pcomplete--entries): Use comint-completion-file-name-table.
13323 * comint.el (comint-unquote-filename): Simplify.
13324 (comint-completion-file-name-table): New function (bug#9616).
13325 (comint--complete-file-name-data): Use it.
13326
428fe61a
SM
13327 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13328 (pcmpl-gnu-tar-buffer): Remove.
13329 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13330 around. Make sure pcomplete-suffix-list is only changed temporarily.
13331 Don't look inside the tar's file if it's too large.
428fe61a 13332
04c52e2f
CY
133332011-10-01 Chong Yidong <cyd@stupidchicken.com>
13334
ce3cefcc
CY
13335 * cus-edit.el (custom-mode-map):
13336 * epa.el (epa-key-list-mode-map):
13337 * man.el (Man-mode-map):
13338 * startup.el (splash-screen-keymap):
13339 * simple.el (special-mode-map): Use scroll-up-command and
13340 scroll-down-command.
13341
13342 * progmodes/idlw-help.el (idlwave-help-mode-map):
13343 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13344 * net/newst-plainview.el (newsticker-mode-map):
13345 * emulation/ws-mode.el (wordstar-mode-map):
13346 * emulation/vi.el (vi-com-map):
13347 * calc/calc-graph.el (calc-graph-show-dumb):
13348 * term/sun.el (terminal-init-sun):
13349 * term/ns-win.el (global-map):
13350 * progmodes/grep.el (grep-mode-map):
13351 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13352 * mail/rmail.el (rmail-mode-map):
13353 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13354
04c52e2f
CY
13355 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13356 custom-safe-themes as special.
13357
79adf8c8
JD
133582011-10-01 Julien Danjou <julien@danjou.info>
13359
13360 * notifications.el (notifications-notify): Fix docstring.
13361
63bd50d3
PS
133622011-10-01 Per Starbäck <per@starback.se>
13363
13364 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13365
199e4c7e
MR
133662011-09-30 Martin Rudalics <rudalics@gmx.at>
13367
13368 * startup.el (command-line-1): Fix last fix by inserting
13369 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13370 (Bug#9605) and (Bug#9636)
199e4c7e 13371
fe5f08dd
EZ
133722011-09-29 Eli Zaretskii <eliz@gnu.org>
13373
13374 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13375 window is hscrolled, move by logical lines. (Bug#9607)
13376 (line-move-visual): Update the doc string to the above effect.
13377
b5516bbd
MR
133782011-09-29 Martin Rudalics <rudalics@gmx.at>
13379
ccee00c0
MR
13380 * window.el (display-buffer-record-window): When WINDOW is the
13381 selected window use `point' instead of `window-point'. (Bug#9626)
13382
b5516bbd
MR
13383 * startup.el (command-line-1): Use insert-before-markers when
13384 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13385
b5516bbd
MR
13386 * help.el (help-window): Remove variable.
13387
52aa0014
GM
133882011-09-29 Glenn Morris <rgm@gnu.org>
13389
13390 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13391
df9a7357
JB
133922011-09-29 Juanma Barranquero <lekktu@gmail.com>
13393
13394 * descr-text.el (describe-char-categories): Accept category
13395 descriptions more than one line long.
13396
a8406c20
SM
133972011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13398
88d9610c
SM
13399 * simple.el (delete-trailing-whitespace): Fix last change.
13400
a5daf810
SM
13401 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13402 Don't confuse "y => 3" as the beginning of a `y' operation.
13403
a8406c20
SM
13404 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13405 object has more than 4 slots (bug#9613).
13406
a239d4e9
JB
134072011-09-28 Juanma Barranquero <lekktu@gmail.com>
13408
13409 * subr.el (with-output-to-temp-buffer):
13410 * net/quickurl.el (quickurl, quickurl-browse-url):
13411 Fix typos in docstrings.
13412
693fbdb6
EZ
134132011-09-27 Eli Zaretskii <eliz@gnu.org>
13414
13415 * minibuffer.el (completion-styles)
13416 (completion-category-overrides): Cross reference each other in doc
13417 strings.
13418
8b457e28
GM
134192011-09-27 Glenn Morris <rgm@gnu.org>
13420
13421 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13422 to split-string. (Bug#9606)
13423
85a16208
LMI
134242011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13425
13426 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13427 (bug#9615).
13428
502f9ebd
CY
134292011-09-27 Chong Yidong <cyd@stupidchicken.com>
13430
13431 * emacs-lisp/package.el (list-packages): Fix echo area message.
13432
7690bdea
LL
134332011-09-27 Leo Liu <sdl.web@gmail.com>
13434
13435 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13436
e2ee6f30
MA
134372011-09-25 Michael Albinus <michael.albinus@gmx.de>
13438
13439 * net/dbus.el (dbus-unregister-object): Don't release services for
13440 registered signals. (Bug#9581)
13441
f3f98342
TZ
134422011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13443
13444 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13445 function that picks between cfengine 2 and 3 support
13446 automatically. Update docs accordingly.
13447
dd7aa8dd
KH
134482011-09-22 Kenichi Handa <handa@m17n.org>
13449
13450 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13451 ZERO.
13452 (indian-itrans-v5-table-for-tamil): New variable.
13453 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13454
3f2b07f8
KM
134552011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13456
13457 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13458 that's true if the current command involved collapsing of text.
13459 It's reset to false at the beginning of the next command.
13460 (allout-post-command-business): Move the cursor to the beginning
13461 of entry if the cursor is hidden and collapsing activity just
13462 happened.
13463
371d6a61
CY
134642011-09-24 Chong Yidong <cyd@stupidchicken.com>
13465
13466 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13467 tracking (Bug#9541).
13468
2ac2721a
UJ
134692011-09-24 Ulf Jasper <ulf.jasper@web.de>
13470
13471 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13472 (newsticker-show-news): Automatically load html rendering package
13473 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13474 because w3m-fill-column is let-bound" and the error "Symbol's value
13475 as variable is void: w3m-fill-column".
2ac2721a 13476
fac7ae53
MA
134772011-09-24 Michael Albinus <michael.albinus@gmx.de>
13478
13479 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13480 Release services only if they are defined. (Bug#9581)
13481
e08b633b
RS
134822011-09-23 Richard Stallman <rms@gnu.org>
13483
e488d29c
RS
13484 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13485 distinguish start of paragraph from start of its text.
13486
19c38752
RS
13487 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13488
e08b633b
RS
13489 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13490 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13491 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13492
0a39f27e
AS
134932011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13494
13495 * international/mule-diag.el (mule-diag): Insert a newline after
13496 each fontset description.
13497
db4e950d
SM
134982011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13499
13500 * simple.el (delete-trailing-whitespace):
13501 Document last change; simplify.
13502
eca3f3ea
PW
135032011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13504
d68e189a
PW
13505 * simple.el (delete-trailing-whitespace): Also delete
13506 extra newlines at the end of the buffer.
13507
eca3f3ea
PW
13508 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13509 (picture-newline): Use forward-line so as to ignore fields.
13510
01c157cc
SM
135112011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * subr.el (with-wrapper-hook): Fix edebug spec.
13514
022de23e
LMI
135152011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13516
13517 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13518 (bug#4538).
13519
91683089
MA
135202011-09-23 Michael Albinus <michael.albinus@gmx.de>
13521
eca3f3ea
PW
13522 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13523 Fix nasty bug using wrong cached values.
91683089 13524
5bdd6fa4
AM
135252011-09-23 Alan Mackenzie <acm@muc.de>
13526
13527 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13528
97adfb97
CY
135292011-09-23 Chong Yidong <cyd@stupidchicken.com>
13530
13531 * window.el (pop-to-buffer): Ensure right window is selected if we
13532 chose another frame.
13533
d4ef2b50
EZ
135342011-09-22 Eli Zaretskii <eliz@gnu.org>
13535
13536 * simple.el (what-cursor-position): Use get-char-property-change
13537 and next-single-char-property-change, to be able to show display
13538 properties that come from overlays as well as text properties.
13539
72258fe5
CY
135402011-09-22 Chong Yidong <cyd@stupidchicken.com>
13541
13542 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13543
13544 * cmuscheme.el (run-scheme, switch-to-scheme):
13545 * cus-edit.el (customize-group, custom-buffer-create)
13546 (customize-browse):
13547 * info.el (info):
13548 * shell.el (shell):
13549 * mail/sendmail.el (mail):
13550 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13551
8f098516
RS
135522011-09-22 Richard Stallman <rms@gnu.org>
13553
13554 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13555 move back only to line beg, don't move back over blank lines.
13556
e74f1bb6
MA
135572011-09-22 Michael Albinus <michael.albinus@gmx.de>
13558
13559 * files.el (copy-directory): Set directory attributes only in case
13560 they could be retrieved from the source directory. (Bug#9565)
13561
bfeef8b6
DK
135622011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13563
13564 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13565 (hs-find-block-beginning, hs-hide-level-recursive):
13566 Ignore strings as well as comments. (Bug#9502)
13567
7e423bb8
AS
135682011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13569
13570 * progmodes/sql.el (sql-comint-postgres):
13571 Convert port number to a string. (Bug#9566)
13572
b4d72fcf
MR
135732011-09-22 Martin Rudalics <rudalics@gmx.at>
13574
13575 * window.el (quit-window): Undedicate window when switching to
13576 previous buffer. Reported by Thierry Volpiatto
13577 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13578 (special-display-popup-frame): When popping up a new frame reset
13579 its previous buffers to nil. Simplify code.
b4d72fcf 13580
a7b88dc6
MA
135812011-09-21 Michael Albinus <michael.albinus@gmx.de>
13582
13583 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13584 and process filter, as done also in `shell-command'.
13585
cf4eacfd
MR
135862011-09-21 Martin Rudalics <rudalics@gmx.at>
13587
eca3f3ea 13588 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13589 Call set-window-start with NOFORCE argument t.
13590 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13591 (quit-window): Reword doc-string. Handle new format of
13592 quit-restore parameter. Don't delete window if it has a
13593 previous buffer we can show instead of the present one.
13594 (display-buffer-record-window): Rewrite using a new format for
13595 the quit-restore window parameter
13596 (special-display-popup-frame, display-buffer-same-window)
13597 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13598 (display-buffer-pop-up-window, display-buffer-use-some-window):
13599 Adapt symbol passed to display-buffer-record-window.
13600 * help.el (help-window-setup): Handle new format of quit-restore
13601 parameter.
13602
8d28cb95
SM
136032011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13604
94ab793f
SM
13605 * faces.el (face-list): Fix docstring (bug#9564).
13606
8d28cb95
SM
13607 * window.el (display-buffer--action-function-custom-type):
13608 Don't include internal functions in the Custom interface.
13609
3820edeb
JL
136102011-09-20 Juri Linkov <juri@jurta.org>
13611
13612 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13613 (Info-forward-node, Info-backward-node, Info-next-preorder)
13614 (Info-last-preorder): Use it. (Bug#9528)
13615
5147931d
JL
136162011-09-20 Juri Linkov <juri@jurta.org>
13617
13618 * info.el (Info-last-preorder): Visit last menu item only when
13619 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13620
cf499a1a
JD
136212011-09-20 Julien Danjou <julien@danjou.info>
13622
13623 * password-cache.el (password-cache-remove): Remove entries even if the
13624 value is nil, so that password with a nil value (negative caching) is
13625 possible to invalidate.
13626
f84e2fe2
LM
136272011-09-20 Lawrence Mitchell <wence@gmx.li>
13628
13629 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13630 all whitespace around breakpoint. (Bug#9553)
13631 (f90-find-breakpoint): Only break at whitespace inside a comment.
13632
78054a46
SM
136332011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * minibuffer.el (completion-file-name-table): Keep track of errors.
13636 (completion-table-with-predicate): Handle the case where pred1 is nil.
13637 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13638
345083b2
SM
136392011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13640
e24e27be
SM
13641 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13642 (debugger-return-value): Signal an error if the debugging context does
13643 not await any return value.
13644
345083b2
SM
13645 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13646 * image-mode.el (image-toggle-display-text)
13647 (image-toggle-display-image): Stay away from evil `intangible'.
13648
08d355e3
LL
136492011-09-19 Leo Liu <sdl.web@gmail.com>
13650
13651 * replace.el (occur-revert-arguments): Make it permanent-local.
13652 (occur-mode): Don't call font-lock-defontify.
13653
f01da43f
CY
136542011-09-19 Chong Yidong <cyd@stupidchicken.com>
13655
13656 * net/ldap.el (ldap-search-internal): Don't push empty search
13657 result (Bug#9508).
13658
b6072fa6
SM
136592011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13660
13661 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13662
443d6696
MA
136632011-09-19 Michael Albinus <michael.albinus@gmx.de>
13664
13665 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13666 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13667
7cc6e154
JL
136682011-09-18 Juri Linkov <juri@jurta.org>
13669
13670 * buff-menu.el (Buffer-menu-mode-map):
13671 * dired.el (dired-mode-map):
13672 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13673 (lisp-interaction-mode-map):
13674 * emacs-lisp/package.el (package-menu-mode-map):
13675 * epa.el (epa-key-list-mode-map):
13676 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13677 (menu-bar-options-menu):
13678 * outline.el (outline-mode-menu-bar-map):
13679 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13680 * vc/vc-dir.el (vc-dir-menu-map):
13681 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13682 Capitalize non-function content words in menu item strings.
13683
13684 * dired.el (dired-mode-map): Add menu item for
13685 `image-dired-dired-toggle-marked-thumbs'.
13686
80302a81
JL
136872011-09-18 Juri Linkov <juri@jurta.org>
13688
13689 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13690 to `isearch-case-fold-search' and restore its original value
13691 after the `isearch-mode' call.
13692
46c5cf66
JL
136932011-09-18 Juri Linkov <juri@jurta.org>
13694
13695 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13696 because `zgrep' returns 1 for successful matches (bug#9226).
13697
d18b513b
JL
136982011-09-18 Juri Linkov <juri@jurta.org>
13699
13700 * info.el (Info-extract-menu-node-name): Check the second match
13701 for empty string (second test-case of bug#9528).
13702 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13703 intermediate nodes to the history (first test-case of bug#9528).
13704
72753f87
JL
137052011-09-18 Juri Linkov <juri@jurta.org>
13706
13707 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13708 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13709
c9384295
JL
137102011-09-18 Juri Linkov <juri@jurta.org>
13711
1154d12e
JB
13712 * info.el (Info-file-supports-index-cookies):
13713 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13714 outputs one more line for long file names (bug#4142).
c9384295 13715
d473dce8
CY
137162011-09-18 Chong Yidong <cyd@stupidchicken.com>
13717
13718 * newcomment.el (comment-normalize-vars): If prompting for
13719 comment-start, set comment-start-skip too (Bug#8424).
13720
2176854d
JB
137212011-09-18 Johan Bockgård <bojohan@gnu.org>
13722
13723 * icomplete.el: Fix previous fix of Bug#5849.
13724 (icomplete-mode): Don't set completion-show-inline-help.
13725 (icomplete-minibuffer-setup): Set completion-show-inline-help
13726 locally during icompletion.
13727
3aace4e4
CY
137282011-09-18 Chong Yidong <cyd@stupidchicken.com>
13729
c940224f
CY
13730 * woman.el (woman2-process-escapes): Don't delete unrecognized
13731 escapes (Bug#7843).
13732
3aace4e4
CY
13733 * files.el (inhibit-first-line-modes-regexps): Add image files.
13734 (hack-local-variables-prop-line): Return nil for malformed
13735 prop-lines (Bug#9044).
13736
710dec63
MA
137372011-09-18 Michael Albinus <michael.albinus@gmx.de>
13738
13739 * net/tramp.el (top): Don't require 'shell.
13740 (tramp-methods): Fix docstring.
13741 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13742 Return complete remote file name. Handle "smb" case.
13743 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13744 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13745
13746 * net/tramp-compat.el (top): Require 'shell.
13747
13748 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13749 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13750 `tramp-current-host'.
13751 (tramp-get-remote-tmpdir): Remove.
13752
13753 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13754 `tramp-tmpdir' entries.
13755 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13756 (tramp-smb-handle-file-attributes): Ignore errors.
13757 (tramp-smb-wait-for-output): Check also for process end.
13758
5d5ac8ec
LMI
137592011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13760
13761 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13762 when sending QUIT (bug#9312).
13763
8c0f49f0
CY
137642011-09-17 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13767 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13768 occur-mode-display-occurrence.
13769 (occur-edit-mode): Add usage message.
13770 (occur-cease-edit): New command.
13771 (occur-after-change-function): Use text properties to find the
13772 position of the prefix text.
13773 (occur-engine): Set stickiness of prefix text properties.
13774
8f1383f7
GM
137752011-09-17 Glenn Morris <rgm@gnu.org>
13776
13777 * progmodes/etags.el (complete-tag):
13778 Fix call to completion-in-region. (Bug#9526)
13779
744ba0e3
JL
137802011-09-17 Juri Linkov <juri@jurta.org>
13781
13782 * textmodes/ispell.el (ispell-word): Add to the error message
13783 the word, ispell program name and current dictionary (bug#9121).
13784 (ispell-tex-arg-end): Capitalize "error" in the error message.
13785
d9bbf400
AS
137862011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13787
13788 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13789 check. (Bug#4251)
13790
8da11505
JL
137912011-09-17 Juri Linkov <juri@jurta.org>
13792
13793 * window.el (window-safe-min-height, window-safe-min-width):
13794 Fix typos (followup to bug#9522).
13795
a91adc7e
SJ
137962011-09-17 Sven Joachim <svenjoac@gmx.de>
13797
13798 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13799
064f328a
EZ
138002011-09-16 Eli Zaretskii <eliz@gnu.org>
13801
13802 * simple.el (line-move): If goal-column is set, move by logical
13803 lines, not by display lines. (Bug#971)
13804 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13805 to reflect the above change.
13806
e69df516
SM
138072011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * image.el (imagemagick-register-types): Use regexp-opt.
13810
cbb0f9ab
CY
138112011-09-15 Chong Yidong <cyd@stupidchicken.com>
13812
13813 * window.el (display-buffer-base-action): Rename from
13814 display-buffer-default-action. Make default value empty.
13815 (display-buffer-overriding-action): Convert to defvar.
13816 (display-buffer-fallback-action): New var.
13817
25322144
CY
138182011-09-15 Chong Yidong <cyd@stupidchicken.com>
13819
13820 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13821 declaration.
13822 (package--add-to-archive-contents): If there is a duplicate entry
13823 with an older version, remove it.
13824 (package-menu-mark-delete, package-menu-mark-install)
13825 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13826 (package-menu-mark-obsolete-for-deletion):
13827 Use package-menu-get-status instead of a regexp search.
25322144
CY
13828 (package-menu-get-status): Use tabulated-list-entry.
13829 (package-menu-mark-upgrades): New command.
d770725a 13830 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13831 (package-menu-execute): Do installation before deletion.
13832 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13833 instead of checking major-mode.
13834 (package-menu--find-upgrades): New function.
13835
7520339c
LMI
138362011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13837
13838 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13839 passwords in the log buffer.
65a046c4
LMI
13840 (smtpmail-process-filter): Update the process marker so that the
13841 "broken by peer" status message is inserted in the right place.
7520339c 13842
d3c30954
SM
138432011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13844
3fe48822
SM
13845 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13846 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13847 bibtex-completion-at-point-function.
13848 (bibtex-completion-at-point-function): Use them.
13849
1b8b3954
SM
13850 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13851
d3c30954
SM
13852 * mpc.el (mpc-constraints-tag-lookup): New function.
13853 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13854 also to browser "album|playlist".
13855
72779976
JL
138562011-09-14 Juri Linkov <juri@jurta.org>
13857
13858 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13859 (isearch-edit-string): Use length of `isearch-string' when
13860 `isearch-fail-pos' returns nil.
13861 (isearch-message): Remove duplicate code and call
13862 `isearch-fail-pos' with arg `t'.
13863
a0bf2bcd
CY
138642011-09-14 Chong Yidong <cyd@stupidchicken.com>
13865
17bb0a2d
CY
13866 * replace.el (occur-mode-goto-occurrence): Don't force using other
13867 window (Bug#9499).
13868
a0bf2bcd
CY
13869 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13870
f678e0b6
MR
138712011-09-14 Martin Rudalics <rudalics@gmx.at>
13872
13873 * window.el (display-buffer-window): Remove.
13874 (display-buffer-record-window): Use help-setup window parameter
13875 instead of variable display-buffer-window.
13876 (display-buffer-function, special-display-buffer-names)
13877 (special-display-function): Mention help-setup parameter instead
13878 of display-buffer-window in doc-string.
d3c30954
SM
13879 * help.el (help-window-setup): New argument help-window.
13880 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13881 Reword some messages.
13882 (with-help-window): Pass window used for displaying the buffer
13883 to help-window-setup. Don't set display-buffer-window.
13884
8e39b2e8
GM
138852011-09-13 Glenn Morris <rgm@gnu.org>
13886
13887 * emacs-lisp/debug.el (debugger-make-xrefs):
13888 Preserve point. (Bug#9462)
13889
85e9c04b
CY
138902011-09-13 Chong Yidong <cyd@stupidchicken.com>
13891
13892 * window.el (window-deletable-p): Use next-frame.
13893
1b36ed6a
MR
138942011-09-13 Martin Rudalics <rudalics@gmx.at>
13895
13896 * window.el (window-auto-delete): Remove.
13897 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13898 dedication and previous buffers.
1b36ed6a
MR
13899 (switch-to-prev-buffer): Don't delete window.
13900 (delete-windows-on): Delete a window's frame if and only if the
13901 window is dedicated.
13902 (replace-buffer-in-windows): Delete buffer's window or frame if
13903 and only if window is dedicated.
13904 (quit-window): Handle quit-restore as before last change.
4d61f28d 13905 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13906
ef8ef9fb
CY
139072011-09-13 Chong Yidong <cyd@stupidchicken.com>
13908
13909 * window.el (window-deletable-p): Never delete the last frame on a
13910 given terminal.
13911
b2cba41e
GM
139122011-09-13 Glenn Morris <rgm@gnu.org>
13913
13914 * help.el (describe-key-briefly): Copy previous standard-output change.
13915
51553db6 139162011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13917
13918 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13919
b7556719
GM
139202011-09-13 Glenn Morris <rgm@gnu.org>
13921
13922 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13923 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13924
64b51947
CY
139252011-09-12 Chong Yidong <cyd@stupidchicken.com>
13926
13927 * dired-aux.el (dired-mark-read-string): Don't return default
13928 value on empty input (Bug#9361).
13929 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13930 Omit initial minibuffer contents.
13931 (dired-do-chmod): Signal an error on empty input.
13932 (dired-mark-read-string): Don't return default on empty input.
13933
13934 * files.el (file-modes-symbolic-to-number): Doc fix.
13935
393a301e
SM
139362011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13937
13938 * international/mule-cmds.el (ucs-completions): Remove.
13939 (read-char-by-name): Use complete-with-action instead; add metadata.
13940
fa5660f9
CY
139412011-09-11 Chong Yidong <cyd@stupidchicken.com>
13942
13943 * window.el (display-buffer--action-function-custom-type)
13944 (display-buffer--action-custom-type): New vars.
13945 (display-buffer-alist, display-buffer-default-action)
13946 (display-buffer-overriding-action): Add defcustom types.
13947
4a592f66
CY
13948 * frame.el (delete-other-frames): Doc fix (Bug#276).
13949
73d56dbd
LMI
139502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13951
13952 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13953
37ac18a3
CY
139542011-09-11 Chong Yidong <cyd@stupidchicken.com>
13955
13956 Change modes that used same-window-* vars to use switch-to-buffer.
13957
13958 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13959 Use switch-to-buffer.
13960
13961 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13962 (customize-browse, custom-buffer-create-other-window):
13963 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13964
13965 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13966 (Info-prev, Info-up, Info-speedbar-goto-node)
13967 (info-display-manual): Use switch-to-buffer.
13968 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13969
13970 * mail/sendmail.el (mail): Use switch-to-buffer.
13971 (mail-recover): Use switch-to-buffer-other-window.
13972
13973 * cmuscheme.el (run-scheme, switch-to-scheme):
13974 * ielm.el (ielm):
13975 * shell.el (shell):
13976 * net/rlogin.el (rlogin):
13977 * net/telnet.el (telnet, rsh):
13978 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13979
10195bd6
AS
139802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13981
13982 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13983
b322f63a
LMI
139842011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13985
39d7fed6
LMI
13986 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13987 so don't mention it (bug#9301).
ba5a81f1 13988 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13989
ee0e9f11
LMI
13990 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13991 match `x', `w32' and `ns', like the manual says (bug#9029).
13992
0b1c89c1 13993 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13994 (process-kill-buffer-query-function): Mention the buffer name in
13995 the query.
0b1c89c1 13996
77549ea8
LMI
13997 * image-mode.el (image-next-line): The line parameter is mandatory
13998 (bug#9258).
13999
803ef892
LMI
14000 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14001 which can be useful (bug#9301).
14002
12980837
LMI
14003 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14004
91054f8f
LMI
14005 * subr.el (match-string): Mention that the current buffer should
14006 be the same as the search was done in (bug#9282).
14007
b322f63a
LMI
14008 * facemenu.el: Disable the remove-* commands if the mark isn't
14009 active (bug#9162).
14010
3199b96f
CY
140112011-09-10 Chong Yidong <cyd@stupidchicken.com>
14012
14013 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14014 of display-buffer.
14015 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14016
14017 * replace.el (occur-mode-goto-occurrence)
14018 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14019 and display-buffer.
14020
14021 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14022 display-buffer.
14023
14024 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14025 special-display and same-window variables.
14026 (mail-other-window): Use switch-to-buffer-other-window.
14027 (mail-other-frame): USe switch-to-buffer-other-frame.
14028
393a301e
SM
14029 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14030 Use display-buffer-other-frame.
3199b96f
CY
14031 (gdb-display-gdb-buffer): Use pop-to-buffer.
14032
14033 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14034
14035 * progmodes/python.el: Don't set same-window-buffer-names.
14036
14037 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14038
14039 * window.el (display-buffer-alist): Add *Python*.
14040
8319e0bf
CY
140412011-09-10 Chong Yidong <cyd@stupidchicken.com>
14042
14043 * window.el (display-buffer-alist): Add entry for buffers
14044 previously handled same-window-*.
14045 (display-buffer-alist, display-buffer-default-action)
14046 (display-buffer-overriding-action): Mark as risky.
14047 (display-buffer-alist): Document action function changes.
14048 (display-buffer--same-window-action)
14049 (display-buffer--other-frame-action): New variables.
14050 (switch-to-buffer, display-buffer-other-frame): Use them.
14051 (display-buffer): Rename reuse-frame entry to reusable-frames.
14052 (display-buffer-reuse-selected-window): Function deleted.
14053 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14054 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14055 (display-buffer-special): New function.
14056 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14057 display-buffer-reuse-or-pop-window. Split off special-display
14058 part into display-buffer-special.
14059 (display-buffer-use-some-window): Don't perform any special
14060 pop-up-frames handling.
14061 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14062 (display-buffer--maybe-same-window): Rename from
0d3ff375 14063 display-buffer-maybe-same-window.
8319e0bf 14064
919a69aa
CY
14065 * info.el: Don't set same-window-regexps.
14066 (info-setup): New function.
14067 (info-other-window, info): Call it.
14068
14069 * cus-edit.el: Don't set same-window-regexps.
14070 (customize-group): New argument.
14071 (customize-group-other-window): Use it.
14072 (customize-face, customize-face-other-window): Likewise.
14073 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14074
8319e0bf
CY
14075 * net/rlogin.el:
14076 * net/telnet.el:
14077 * progmodes/gud.el: Don't set same-window-regexps.
14078
14079 * cmuscheme.el:
14080 * ielm.el:
14081 * shell.el:
14082 * mail/sendmail.el:
14083 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14084
25173000
JL
140852011-09-10 Juri Linkov <juri@jurta.org>
14086
14087 * isearch.el (isearch-edit-string): Remove obsolete mention of
14088 `C-w' (`isearch-yank-word-or-char') from docstring.
14089 (isearch-query-replace): Fix typo in docstring (bug#9466).
14090
056e44ef
JL
140912011-09-10 Juri Linkov <juri@jurta.org>
14092
14093 * paren.el (show-paren-function): Don't show escaped parens.
14094 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14095
c3760c17
EZ
140962011-09-10 Eli Zaretskii <eliz@gnu.org>
14097
14098 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14099 (mm-default-file-encoding): Remove autoload forms, they are
14100 replaced with autoload cookies in mml.el and mm-encode.el.
14101 (mail-add-attachment): New command.
14102 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14103 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14104 the doc string.
14105 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14106
fece895e
RT
141072011-09-10 Reuben Thomas <rrt@sc3d.org>
14108
e69df516
SM
14109 * simple.el (count-words-region): Use buffer if there's no region
14110 (bug#9429).
fece895e 14111
5e68ce4a
JL
141122011-09-09 Juri Linkov <juri@jurta.org>
14113
14114 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14115 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14116 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14117
0a6b9622
AM
141182011-09-09 Alan Mackenzie <acm@muc.de>
14119
14120 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14121 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14122
14a29deb
EZ
141232011-09-09 Eli Zaretskii <eliz@gnu.org>
14124
14125 Fix for Savannah bug#9392.
14126 * simple.el (mail-encode-mml): New defvar.
14127
14128 * mail/rmail.el (mail-encode-mml): Add a defvar.
14129 (rmail-enable-mime-composing): Default to t.
14130 (rmail-forward): Use MIME method of forwarding only if both
14131 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14132 Set mail-encode-mml non-nil if the MIME method was used.
14133
14134 * mail/sendmail.el (mml-to-mime): Add autoload form.
14135 (mail-encode-mml): Add a defvar.
14136 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14137 to nil.
14138 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14139 message through mml-to-mime, and reset mail-encode-mml to nil.
14140
28c45130
GM
141412011-09-09 Glenn Morris <rgm@gnu.org>
14142
14143 * woman.el (woman-if-body): When processing an .el block,
14144 do not delete the next .el block as well. (Bug#9447)
69f4b618 14145 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14146
9b1c252e
MR
141472011-09-08 Martin Rudalics <rudalics@gmx.at>
14148
14149 * window.el (window-deletable-p): Make sure window is live before
14150 invoking window-prev-buffers.
14151
567457e3
LL
141522011-09-08 Leo Liu <sdl.web@gmail.com>
14153
14154 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14155
97f05794
JL
141562011-09-08 Juri Linkov <juri@jurta.org>
14157
14158 * progmodes/compile.el (compilation-environment): Make it
14159 a defcustom (bug#8340).
14160
8b0874b5
MR
141612011-09-08 Martin Rudalics <rudalics@gmx.at>
14162
14163 * window.el (frame-auto-delete): Rename to window-auto-delete.
14164 Make it control auto-deletion of windows and/or frames.
14165 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14166 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14167 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14168 Rewrite handling of case when window/frame can be deleted.
14169 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14170 argument t. (Bug#9456)
8b0874b5 14171
4feb6e73
CY
141722011-09-07 Chong Yidong <cyd@stupidchicken.com>
14173
14174 * help-mode.el (help-mode): Restore autoload.
14175
91ab9c13
JL
141762011-09-07 Juri Linkov <juri@jurta.org>
14177
14178 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14179 `compilation-environment'. Set buffer-local
14180 `compilation-environment' to `thisenv' later after (funcall mode).
14181 (Bug#8340)
14182
14183 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14184 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14185 instead of replacing its value. (Bug#8340)
14186
0527e251
JL
141872011-09-07 Juri Linkov <juri@jurta.org>
14188
14189 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14190 based on text properties put by `grep-filter' instead of matching
14191 escape sequences.
14192 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14193 to the value of `grep-error-screen-columns' (bug#9438).
14194
249f792c
JL
141952011-09-07 Juri Linkov <juri@jurta.org>
14196
14197 * simple.el (next-error-highlight, next-error-highlight-no-select):
14198 Doc fix (bug#9432).
14199
ff7271b9
OT
142002011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14201
14202 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14203 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14204
183fc730
LL
142052011-09-07 Leo Liu <sdl.web@gmail.com>
14206
14207 * net/rcirc.el (rcirc-mode): Conditionally initialize
14208 rcirc-input-ring.
14209
77694924
SM
142102011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 * emacs-lisp/find-func.el (find-function-C-source): Only set
14213 find-function-C-source-directory after checking that we found a source
14214 file there (bug#9440).
14215
d809b8eb
AM
142162011-09-06 Alan Mackenzie <acm@muc.de>
14217
14218 * isearch.el (isearch-other-meta-char): Wherever a key list is
14219 unread, "unread" the prefix arg, too. This fixes bug #8901.
14220
453de99f
OG
142212011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14222
14223 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14224
90439906
JL
142252011-09-05 Juri Linkov <juri@jurta.org>
14226
14227 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14228
f62bd846
JL
142292011-09-05 Juri Linkov <juri@jurta.org>
14230
14231 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14232 keeping point where processing of grep matches begins, and
14233 continue to delete remaining escape sequences from the same point.
14234 (grep-filter): Make leading zero optional in "0?1;31m" because
14235 git-grep emits "\033[1;31m" escape sequences unlike expected
14236 "\033[01;31m" as GNU Grep does (bug#9408).
14237 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14238
045820ec
JL
142392011-09-05 Juri Linkov <juri@jurta.org>
14240
14241 * subr.el (y-or-n-p): Capitalize "yes".
14242
f5e29b9b
MA
142432011-09-04 Michael Albinus <michael.albinus@gmx.de>
14244
14245 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14246 `tramp-cache-unload-hook' where appropriate.
14247 (tramp-methods): Rename `tramp-remote-sh' to
14248 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14249 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14250
14251 * net/tramp-sh.el (top): Don't require 'shell.
14252 (tramp-methods): Add `tramp-remote-shell' and
14253 `tramp-remote-shell-args' entries.
14254 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14255 (tramp-sh-handle-shell-command): Remove.
14256 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14257 Use `tramp-remote-shell'.
14258
2784c434
CY
142592011-09-03 Chong Yidong <cyd@stupidchicken.com>
14260
393a301e 14261 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14262 (sendmail-query-once): Save directly to send-mail-function.
14263 Update message-send-mail-function too.
14264
14265 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14266
464cdf56
CS
142672011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14268
14269 * progmodes/python.el (python-mode-map): Use correct function to
14270 start python interpreter from menu-bar (as reported by Geert
14271 Kloosterman).
14272 (inferior-python-mode-map): Fix typo.
393a301e 14273 (python-shell-map): Remove.
464cdf56 14274
d37e5c87
DD
142752011-09-03 Deniz Dogan <deniz@dogan.se>
14276
14277 * net/rcirc.el (rcirc-print): Simplify code for
14278 rcirc-scroll-show-maximum-output. There is no need to walk
14279 through all windows to find the right one.
14280
f3ada0ee
CS
142812011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14282
14283 * help.el (help-return-method): Doc fix.
14284
1f3c99ca
MR
142852011-09-03 Martin Rudalics <rudalics@gmx.at>
14286
14287 * window.el (window-deletable-p): Don't return a non-nil value
14288 when there's a buffer that was shown in the window before.
14289 (Bug#9419)
393a301e
SM
14290 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14291 Set window's previous buffers to nil.
1f3c99ca 14292
a3cf097f
EZ
142932011-09-03 Eli Zaretskii <eliz@gnu.org>
14294
14295 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14296 newline before and after the tag line, so it doesn't interfere
14297 with determining the paragraph direction of bidirectional text.
14298
3d03de90
LL
142992011-09-03 Leo Liu <sdl.web@gmail.com>
14300
14301 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14302
c3313451
CY
143032011-09-02 Chong Yidong <cyd@stupidchicken.com>
14304
393a301e 14305 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14306 (pop-to-buffer): Change interactive spec. Pass second argument
14307 directly to display-buffer.
14308 (display-buffer): Fix interactive spec. Use functionp to
14309 distinguish between a function and a list of functions.
14310
14311 * abbrev.el (edit-abbrevs):
14312 * arc-mode.el (archive-extract):
14313 * autoinsert.el (auto-insert):
14314 * bookmark.el (bookmark-bmenu-list):
14315 * files.el (find-file):
14316 * view.el (view-buffer):
14317 * progmodes/compile.el (compilation-goto-locus):
14318 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14319
89894cd8
CY
143202011-09-02 Chong Yidong <cyd@stupidchicken.com>
14321
14322 * window.el (display-buffer-alist): Doc fix.
14323 (display-buffer): Add docstring. Don't treat
14324 display-buffer-default specially.
14325 (display-buffer-reuse-selected-window)
14326 (display-buffer-same-window, display-buffer-maybe-same-window)
14327 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14328 (display-buffer-pop-up-window)
14329 (display-buffer-reuse-or-pop-window)
14330 (display-buffer-use-some-window): New functions.
14331 (display-buffer-default-action): Use them.
393a301e 14332 (display-buffer-default): Delete.
89894cd8
CY
14333 (pop-to-buffer-1): Fix choice of actions.
14334
ae0bc9fb
SM
143352011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14336
14337 * minibuffer.el (completion--insert-strings): Don't get confused by
14338 completion entries that end with an LF char.
14339
e9d90883
EZ
143402011-09-01 Eli Zaretskii <eliz@gnu.org>
14341
14342 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14343
437014c8
CY
143442011-09-01 Chong Yidong <cyd@stupidchicken.com>
14345
14346 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14347 (display-buffer-same-window, display-buffer-other-window):
14348 New functions.
437014c8
CY
14349 (pop-to-buffer-1): New function. Use the above.
14350 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14351 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14352
14353 * view.el (view-buffer-other-window, view-buffer-other-frame):
14354 Just use pop-to-buffer.
14355
a5e063d5
TV
143562011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14357
14358 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14359
793d32bb
WH
143602011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14361
14362 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14363
d65e4c15
RS
143642011-08-31 Richard Stallman <rms@gnu.org>
14365
14366 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14367 of the separation of rmail-view-buffer from rmail-buffer.
14368 If you say no to "replace original", the decrypt is in the
14369 view buffer. If you say yes, the decrypt goes into the
14370 rmail buffer also.
14371
f818cd2a
MR
143722011-08-31 Martin Rudalics <rudalics@gmx.at>
14373
14374 * window.el (display-buffer-window): Rewrite doc-string.
14375 (display-buffer-record-window): New function.
14376 (display-buffer-macro-specifiers)
14377 (display-buffer-even-window-sizes, display-buffer-set-height)
14378 (display-buffer-set-width, display-buffer-in-window)
14379 (display-buffer-reuse-window, display-buffer-split-specifiers)
14380 (display-buffer-side-specifiers, display-buffer-split-window-1)
14381 (display-buffer-split-window, display-buffer-split-atom-window)
14382 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14383 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14384 (display-buffer-other-window-means-other-frame)
14385 (display-buffer-normalize-special)
14386 (display-buffer-normalize-default)
14387 (display-buffer-normalize-argument)
14388 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14389 (display-buffer-normalize-specifiers, display-buffer-frame)
14390 (display-buffer-same-window, display-buffer-same-frame)
14391 (display-buffer-other-window)
14392 (display-buffer-same-frame-other-window)
14393 (display-buffer-other-frame, pop-to-buffer-same-window)
14394 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14395 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14396 (switch-to-buffer-same-frame)
14397 (switch-to-buffer-other-window-same-frame)
14398 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14399 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14400 (display-buffer-alist-set): Remove.
14401 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14402 (special-display-regexps, special-display-function):
14403 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14404 parameter.
14405 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14406 (special-display-frame-alist, special-display-popup-frame)
14407 (same-window-buffer-names, same-window-regexps, same-window-p)
14408 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14409 (split-window-preferred-function, split-height-threshold)
14410 (split-width-threshold, window-splittable-p)
14411 (split-window-sensibly, window--try-to-split-window)
14412 (window--frame-usable-p, even-window-heights)
14413 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14414 (window--display-buffer-2, display-buffer-other-frame):
14415 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14416 (display-buffer-default, display-buffer-assq-regexp): New functions.
14417 (display-buffer-alist): Rewrite doc-string.
14418 (display-buffer-default-action)
14419 (display-buffer-overriding-action): New variables.
14420 (display-buffer, switch-to-buffer): Rewrite.
14421 (pop-to-buffer): Restore Emacs 23 behavior but use
14422 window-normalize-buffer-to-display.
14423 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14424 Restore Emacs 23 behavior but use
14425 window-normalize-buffer-to-switch-to.
14426 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14427 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14428 Rewrite using Emacs 23 options.
f818cd2a 14429
5bc3b51d
MA
144302011-08-31 Michael Albinus <michael.albinus@gmx.de>
14431
14432 * net/tramp.el (tramp-root-regexp): Remove.
14433 (tramp-completion-file-name-regexp-unified)
14434 (tramp-completion-file-name-regexp-separate)
14435 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14436 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14437 (tramp-drop-volume-letter): Simplify definition.
14438 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14439
b1a4f8e1
SM
144402011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14441
14442 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14443 (bug#9356).
14444
5664fa7b
RT
144452011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14446
b1a4f8e1 14447 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14448
9a45d6c3
JL
144492011-08-29 Juri Linkov <juri@jurta.org>
14450
14451 * isearch.el (isearch-done): Don't display message "Mark saved"
14452 when arg `edit' is non-nil to prevent its flicker in the echo area.
14453
fb87e0fb
CY
144542011-08-28 Chong Yidong <cyd@stupidchicken.com>
14455
14456 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14457 obsolete packages for deletion.
14458
09ac1c2a
CS
144592011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14460
14461 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14462 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14463 view-mode from help-mode.
14464 (help-xref-override-view-map): Remove.
14465 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14466 view-mode is not used anymore.
14467
7a1ff57f
CY
144682011-08-28 Chong Yidong <cyd@stupidchicken.com>
14469
14470 * server.el (server-port): Doc fix.
14471
b9696605
CY
14472 * cus-theme.el (custom-theme-choose-mode): Inherit from
14473 special-mode (Bug#9124).
14474 (custom-theme-choose-mode-map): Add special-mode to parent.
14475
ef8cdf8c
AM
144762011-08-28 Alan Mackenzie <acm@muc.de>
14477
14478 * progmodes/cc-fonts.el
14479 (c-make-font-lock-BO-decl-search-function): New function.
14480 (c-basic-matchers-after - "Fontify the clauses after various
14481 keywords"): Extract the three keyword lists for the 3 erroneous
14482 constructs from the list of four, and use the new function above
14483 in place of an old one.
14484
27de4e20
DD
144852011-08-28 Deniz Dogan <deniz@dogan.se>
14486
14487 * net/rcirc.el (rcirc-insert-prev-input)
14488 (rcirc-insert-next-input): Remove unused argument.
14489
356a3681
SM
144902011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14491
14492 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14493
3fc9b218
AM
144942011-08-27 Alan Mackenzie <acm@muc.de>
14495
14496 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14497 handle function pointer parameters properly.
14498
538a061c
MR
144992011-08-27 Martin Rudalics <rudalics@gmx.at>
14500
14501 * window.el (display-buffer-reuse-window): Fix case where
14502 selected window was reused with non-nil OTHER-WINDOW argument.
14503 (Bug#9381)
14504
35b1c40c
DD
145052011-08-27 Deniz Dogan <deniz@dogan.se>
14506
14507 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14508 oftc's NickServ messages.
14509
2f6a3e79
GM
145102011-08-27 Glenn Morris <rgm@gnu.org>
14511
14512 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14513
7254299e
CY
145142011-08-26 Chong Yidong <cyd@stupidchicken.com>
14515
14516 * emacs-lisp/package.el (package-install): Call package-initialize
14517 if called interactively.
14518
f8ccf167
LL
145192011-08-26 Leo Liu <sdl.web@gmail.com>
14520
14521 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14522
3e8cd5ce
JL
145232011-08-25 Juri Linkov <juri@jurta.org>
14524
14525 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14526 `search-whitespace-regexp' (bug#9364).
14527
93eb7113
JL
145282011-08-25 Juri Linkov <juri@jurta.org>
14529
14530 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14531 `regexp-search-ring' to their global values to protect from
14532 updating by `read-from-minibuffer' (bug#9185).
14533
f65d1611
JL
145342011-08-25 Juri Linkov <juri@jurta.org>
14535
14536 * textmodes/ispell.el (ispell-command-loop): Add newline
14537 at the end of the "Use option `i'..." line.
14538
f1cf7a31
JL
145392011-08-25 Juri Linkov <juri@jurta.org>
14540
14541 * battery.el (display-battery-mode): If `battery-status-function'
14542 or `battery-mode-line-format' is nil, display the message and set
14543 `display-battery-mode' to nil (bug#9363).
14544
0c95fcf7
EZ
145452011-08-25 Eli Zaretskii <eliz@gnu.org>
14546
14547 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14548 bidi-string-mark-left-to-right; they are unnecessary now.
14549
a2ebe600
DD
145502011-08-25 Deniz Dogan <deniz@dogan.se>
14551
14552 * net/quickurl.el: Documentation typo fixes.
14553
e4ed06f1
CY
145542011-08-25 Chong Yidong <cyd@stupidchicken.com>
14555
14556 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14557
e5f1c99e
GM
145582011-08-25 Glenn Morris <rgm@gnu.org>
14559
b2948976
GM
14560 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14561
e5f1c99e
GM
14562 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14563 (smtpmail-via-smtp): Handle nil response from smtp.
14564
f22f4808
JL
145652011-08-24 Juri Linkov <juri@jurta.org>
14566
14567 * proced.el (proced-marked): Inherit from `error' instead of
14568 `font-lock-warning-face'.
14569
14570 * ibuffer.el (ibuffer-marked-face): Change default face from
14571 `font-lock-warning-face' to `warning'.
14572 (ibuffer-deletion-face): Change default face from
14573 `font-lock-type-face' to `error'.
14574
14575 * battery.el (battery-update): Use the face `error' instead of
14576 `font-lock-warning-face' (bug#6117).
14577
6a93965e
JL
145782011-08-24 Juri Linkov <juri@jurta.org>
14579
14580 * faces.el (success): Change face color from "Green3" to
14581 "ForestGreen" on light background (bug#9353).
14582
1ed43b09
CY
145832011-08-24 Chong Yidong <cyd@stupidchicken.com>
14584
5664fa7b
RT
14585 * window.el (quit-window): Rename from quit-restore-window.
14586 Use same arglist as old quit-window.
1ed43b09
CY
14587 (frame-auto-delete): Doc fix.
14588
14589 * view.el (view-mode-exit): Use quit-window.
14590
11dcdbb2
JL
145912011-08-24 Juri Linkov <juri@jurta.org>
14592
14593 * isearch.el (isearch-ring-adjust1): Start visiting previous
14594 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14595 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14596 for empty search string (when the last search string is reused
14597 automatically) to adjust the isearch ring to the last element and
14598 prepare the correct index for further M-p commands (bug#9185).
14599
de62b4df
KH
146002011-08-24 Kenichi Handa <handa@m17n.org>
14601
14602 * international/ucs-normalize.el: If decomposition property of
14603 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14604 nil.
14605 (nfd, nfkd): Likewise.
14606
963b492b
SM
146072011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14608
14609 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14610 from process filters aren't reliably transmitted to the surrounding
14611 accept-process-output.
14612 (mpc-proc-check): New function.
14613 (mpc-proc-sync): Use it (bug#8293)
14614
93b6b5e1
SM
146152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14616
14617 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14618 Add compatibility functions (bug#9313).
14619
bca633fb
EZ
146202011-08-23 Eli Zaretskii <eliz@gnu.org>
14621
b177498a
EZ
14622 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14623
6df6ae42 14624 * international/uni-bidi.el: Regenerate.
bca633fb 14625
0902a04e
KH
146262011-08-23 Kenichi Handa <handa@m17n.org>
14627
14628 * international/charprop.el:
14629 * international/uni-bidi.el:
14630 * international/uni-category.el:
14631 * international/uni-combining.el:
14632 * international/uni-comment.el:
14633 * international/uni-decimal.el:
14634 * international/uni-decomposition.el:
14635 * international/uni-digit.el:
14636 * international/uni-lowercase.el:
14637 * international/uni-mirrored.el:
14638 * international/uni-name.el:
14639 * international/uni-numeric.el:
14640 * international/uni-old-name.el:
14641 * international/uni-titlecase.el:
14642 * international/uni-uppercase.el: Regenerate.
14643
3bbf23bc
MR
146442011-08-23 Martin Rudalics <rudalics@gmx.at>
14645
14646 * help.el (help-window-setup): Fix message displayed when other
14647 window is reused. (Bug#9341)
14648
b3fd59bd
SM
146492011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14650
1802e444
SM
14651 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14652 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14653
b3fd59bd
SM
14654 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14655 Mark obsolete.
14656 * shell.el (shell-parse-pcomplete-arguments): New function.
14657 (shell-completion-vars): Use it instead (bug#9160).
14658
4eb61348
SM
146592011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14660
867cab74
SM
14661 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14662 strings and comments (bug#9333).
14663
4eb61348
SM
14664 * emacs-lisp/debug.el (debug-arglist): New function.
14665 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14666 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14667
262a1439
JL
146682011-08-22 Juri Linkov <juri@jurta.org>
14669
56ee679c
JL
14670 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14671 Revert regexp that highlights output switches to its old
14672 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14673
262a1439
JL
14674 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14675 to check for empty output (bug#9226).
14676
f13f86fb
CY
146772011-08-22 Chong Yidong <cyd@stupidchicken.com>
14678
14679 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14680 symbol-constituent as the default, as that stops font-lock from
14681 working properly (Bug#8843).
14682
c65c9622
LMI
146832011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14684
14685 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14686 `coding-system-for-*' around the process open call to avoid
14687 auth-source side effects.
e7f2c178 14688 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14689 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14690 probe hangs.
c65c9622 14691
23a8a5ab
CY
146922011-08-21 Chong Yidong <cyd@stupidchicken.com>
14693
ff98b2dd
CY
14694 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14695
23a8a5ab
CY
14696 * emacs-lisp/find-func.el (find-function-noselect): New arg
14697 lisp-only.
14698
14699 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14700 signal an error for built-in functions (Bug#6664).
14701
f5e3c598
LMI
147022011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14703
14704 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14705 (smtpmail-try-auth-methods): Use it.
14706
a3f2468a
CY
147072011-08-21 Chong Yidong <cyd@stupidchicken.com>
14708
2c34e8da
CY
14709 * font-lock.el (font-lock-fontify-region)
14710 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14711 (font-lock-default-unfontify-buffer)
14712 (font-lock-default-fontify-region)
14713 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14714
b3fd59bd
SM
14715 * progmodes/compile.el (compilation-error-properties):
14716 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14717 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14718 `ant' regexp.
ee31aabc 14719
a3f2468a
CY
14720 * net/browse-url.el (browse-url-firefox): Don't call
14721 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14722
8e999f70
GM
147232011-08-20 Glenn Morris <rgm@gnu.org>
14724
c21a496a
GM
14725 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14726
59ee0542
GM
14727 * tutorial.el (tutorial--default-keys): Update some default bindings.
14728
8e999f70
GM
14729 * files.el (hack-local-variables): Fully ignore case for "mode:".
14730
e3715033
AM
147312011-08-20 Alan Mackenzie <acm@muc.de>
14732
14733 Resolve invalid use of a regexp in regexp-opt.
14734
4d61f28d
JB
14735 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14736 detection for a java annotation.
e3715033 14737
4d61f28d 14738 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14739 detection for a java annotation.
14740
4d61f28d
JB
14741 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14742 handling for java.
e3715033
AM
14743 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14744
04ed2e9c
CY
147452011-08-20 Chong Yidong <cyd@stupidchicken.com>
14746
14747 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14748 (Bug#9274).
14749
826cee64
AM
147502011-08-20 Alan Mackenzie <acm@muc.de>
14751
58179cce 14752 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14753 such a construct. Mainly for when jit-lock etc. starts a chunk
14754 here.
14755
58179cce 14756 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14757 variable.
58179cce 14758 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14759 c-make-font-lock-search-function.
14760 (c-make-font-lock-search-function): Use the above function.
14761 (c-make-font-lock-context-search-function): New function.
14762 (c-cpp-matchers): Enhance the preprocessor expression case with
14763 the above function
14764 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14765 which takes an expression.
14766
14767 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14768
13009bd8
MR
147692011-08-20 Martin Rudalics <rudalics@gmx.at>
14770
14771 * window.el (display-buffer-reuse-window)
14772 (display-buffer-pop-up-window): Don't reuse or split a side
14773 window.
14774
9234ff7f
GM
147752011-08-19 Glenn Morris <rgm@gnu.org>
14776
14777 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14778 Downcase "Mode:". (Bug#9331)
9234ff7f 14779
f635daa1
CY
147802011-08-18 Chong Yidong <cyd@stupidchicken.com>
14781
14782 * international/characters.el: Add L and R categories.
14783
14784 * subr.el (bidi-string-mark-left-to-right): Rename from
14785 string-mark-left-to-right. Use category search.
14786
14787 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14788
bc987f8b
JL
147892011-08-18 Juri Linkov <juri@jurta.org>
14790
14791 * faces.el (error, warning, success): New faces with definitions
14792 copied from old default values of `font-lock-warning-face',
14793 `compilation-warning', `compilation-info' (bug#6117).
14794
14795 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14796
14797 * progmodes/compile.el (compilation-error): Inherit from `error'.
14798 (compilation-warning): Inherit from `warning'.
14799 (compilation-info): Inherit from `success'.
14800
14801 * dired.el (dired-marked): Inherit from `warning'.
14802 (dired-flagged): Inherit from `error'.
14803
57173b96
LMI
148042011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14805
3e79eb87
LMI
14806 * mail/smtpmail.el (auth-source): Require to avoid problems with
14807 binding variables (bug#9298). Also clean up some unused
14808 autoloads.
14809
b3fd59bd
SM
14810 * net/network-stream.el (network-stream-open-starttls):
14811 Support using starttls.el without using gnutls-cli.
57173b96 14812
02b404de
JL
148132011-08-17 Juri Linkov <juri@jurta.org>
14814
14815 * progmodes/grep.el (rgrep): Handle the case when
14816 `grep-find-command' is a cons cell (bug#9278).
14817
8c9177f2
MR
148182011-08-17 Martin Rudalics <rudalics@gmx.at>
14819
14820 * window.el (display-buffer-pop-up-frame): Run frame creation
14821 function with BUFFER current (as special-display-popup-frame
14822 does). Reported by Drew Adams.
14823
3644a0ab
DU
148242011-08-17 Daiki Ueno <ueno@unixuser.org>
14825
14826 * epa-mail.el: Simplify GnuPG group expansion using
14827 epg-expand-group.
14828 (epa-mail-group-alist, epa-mail-group-modtime)
14829 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14830 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14831 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14832 Remove.
14833
5e617bc2 148342011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14835
14836 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14837
9c4aeabf
AM
148382011-08-16 Alan Mackenzie <acm@muc.de>
14839
14840 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14841 Correct, to avoid the inside of macros.
14842
3a99bf64
RS
148432011-08-16 Richard Stallman <rms@gnu.org>
14844
04963aa8
RS
14845 * epa-mail.el: Handle GnuPG group definitions.
14846 (epa-mail-group-alist, epa-mail-group-modtime)
14847 (epa-mail-gnupg-conf-file): New variables.
14848 (epa-mail-parse-groups, epa-mail-sync-groups)
14849 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14850 (epa-mail-expand-recipients): New functions.
14851 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14852
177549d0
RS
14853 * mail/rmail.el (rmail-epa-decrypt): New command.
14854
fe38beef
RS
14855 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14856 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14857 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14858 (epa-decrypt-armor-in-region): Make error message clearer.
14859
934eacb9
SM
148602011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14863 and "a2b" to "ab" for `prefix'.
14864
d024fb4e
CY
148652011-08-14 Chong Yidong <cyd@stupidchicken.com>
14866
14867 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14868 filter groups.
de148fee
CY
14869 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14870 Fourquet (Bug#8804).
d024fb4e 14871
62f1ca49
JB
148722011-08-12 Juanma Barranquero <lekktu@gmail.com>
14873
14874 * startup.el (argi): Declare as global variable (bug#9275).
14875
9ccaaa4b
CY
148762011-08-12 Chong Yidong <cyd@stupidchicken.com>
14877
14878 * subr.el (string-mark-left-to-right): Search the entire string
14879 for RTL script, not just the terminating character. Doc fix.
14880
a3dae87a
SM
148812011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14882
6cd18349
SM
14883 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14884 New function.
14885 (js--regexp-literal, js-syntax-propertize-function): Remove.
14886 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14887 (js-mode-map): Don't rebind electric keys.
14888 (js-insert-and-indent): Remove.
14889 (js-mode): Setup electric-layout and electric-indent instead.
14890
a3dae87a
SM
14891 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14892
9d5cb631
DU
148932011-08-12 Daiki Ueno <ueno@unixuser.org>
14894
14895 * epa.el (epa-progress-callback-function): Fix the logic of
14896 displaying progress.
14897 * epa-file.el (epa-file-insert-file-contents): Make progress
14898 display more user-friendly.
14899 (epa-file-write-region): Ditto.
14900
3e26a4a2
CY
149012011-08-10 Chong Yidong <cyd@stupidchicken.com>
14902
14903 * subr.el (string-mark-left-to-right): New function.
14904
14905 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14906 Use string-mark-left-to-right.
14907 (list-buffers-noselect): Caller changed.
14908
a3dae87a
SM
14909 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14910 Use string-mark-left-to-right.
3e26a4a2
CY
14911 (tabulated-list-print): Recenter after moving point.
14912
ac8cf6e6
JL
149132011-08-10 Juri Linkov <juri@jurta.org>
14914
14915 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14916 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14917 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14918
8d96c9a4
CY
149192011-08-09 Chong Yidong <cyd@stupidchicken.com>
14920
14921 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14922 (Bug#7554).
14923
7be1c708 149242011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14925
14926 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14927 character. (Bug#6594)
14928
37e11a63
CY
149292011-08-08 Chong Yidong <cyd@stupidchicken.com>
14930
839dde57
CY
14931 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14932 (image-dired--with-db-file): New macro.
14933 (image-dired-write-tags, image-dired-remove-tag)
14934 (image-dired-create-gallery-lists, image-dired-write-comments)
14935 (image-dired-get-comment, image-dired-mark-tagged-files)
14936 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14937 (image-dired-gallery-generate): Use insert-file-contents.
14938
37e11a63
CY
14939 * time.el (display-time-world-list, display-time-world-display):
14940 * time-stamp.el (time-stamp-string):
14941 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14942 set-time-zone-rule (Bug#7337).
14943
0b4946c4
DU
149442011-08-08 Daiki Ueno <ueno@unixuser.org>
14945
14946 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14947 (epg-error-to-string, epg-errors-to-string): New function.
14948 (epg-wait-for-completion): Reverse errors list.
14949 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14950 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14951 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14952 (epg-sign-keys, epg-generate-key-from-file)
14953 (epg-generate-key-from-string): Format errors by using
14954 epg-errors-to-string (bug#9255).
14955 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14956
75bfc667
JL
149572011-08-07 Juri Linkov <juri@jurta.org>
14958
14959 * faces.el (list-faces-display): Remove extra angle bracket
14960 from `help-mode-map'.
14961
14962 * info.el (Info-history-toc-nodes): Doc fix.
14963
14964 * longlines.el (longlines-mode): Doc fix.
14965
673e08bb
SM
149662011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14967
4640dd88
SM
14968 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14969 of statements and in a few more cases (bug#9183).
14970
673e08bb
SM
14971 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14972 New functions.
14973 (cl-transform-lambda): Use them (bug#9239).
14974
89b3f019
MR
149752011-08-05 Martin Rudalics <rudalics@gmx.at>
14976
14977 * window.el (display-buffer-same-window)
14978 (display-buffer-same-frame, display-buffer-other-window)
14979 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14980 (pop-to-buffer-other-window)
14981 (pop-to-buffer-same-frame-other-window)
14982 (pop-to-buffer-other-frame): Make them defuns.
14983 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14984
640c8776
SM
149852011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14986
14987 * subr.el (make-composed-keymap): Move from C. Change calling
14988 convention, and improve docstring to bring attention to a subtle point.
14989 * minibuffer.el (completing-read-default): Adjust accordingly.
14990
63648a95
MA
149912011-08-03 Michael Albinus <michael.albinus@gmx.de>
14992
14993 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14994 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14995
14996 * net/trampver.el: Update release number.
14997
b796c9b7
SM
149982011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14999
15000 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15001 "in" (bug#9190).
15002
2239d7d5
LMI
150032011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15004
e07dd7c3
LMI
15005 * mail/sendmail.el (sendmail-query-once): Restore the current
15006 buffer after querying (bug#9074).
15007
0e6a2bd7
LMI
15008 * dired.el (dired-flagged): Use different faces for marked and
15009 flagged files (bug#6117).
15010
ce887515
LMI
15011 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15012 (bug#4433).
15013
92f2affc
LMI
15014 * ido.el (ido-mode): Switch off the message if called
15015 non-interactively.
15016
57d5aff0
LMI
15017 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15018 before 587, since it appears that that's more likely to work for
15019 more people.
15020
98cd6c18 15021 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15022 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15023 exist.
15024
b96dec83
LMI
15025 * info.el: Remove the `Info-beginning-of-buffer' function
15026 (bug#8325).
15027
b796c9b7
SM
15028 * net/network-stream.el (network-stream-open-starttls):
15029 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15030
d90e2ea0
MR
150312011-08-01 Martin Rudalics <rudalics@gmx.at>
15032
15033 * window.el (display-buffer-in-window): Don't set dedicated status
15034 of window here (Bug#9215).
15035 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15036 (display-buffer-pop-up-side-window)
b796c9b7 15037 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15038
cca09170
SM
150392011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15040
15041 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15042 before binding generated-autoload-file.
15043
027b979c
DD
150442011-08-01 Deniz Dogan <deniz@dogan.se>
15045
15046 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15047
3c7ee4f3
MA
150482011-07-30 Michael Albinus <michael.albinus@gmx.de>
15049
15050 Sync with Tramp 2.2.2.
15051
15052 * net/trampver.el: Update release number.
15053
2cc8e51a
JL
150542011-07-30 Juri Linkov <juri@jurta.org>
15055
15056 * dired-aux.el (dired-touch-initial): Remove function.
15057 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15058 current time, and `default' to the last modification time of the
15059 current marked file (bug#6887).
15060
a514d856
JM
150612011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15062
15063 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15064 numeric argument to read-number (bug#9163).
a514d856 15065
8a7eddd7
MA
150662011-07-27 Michael Albinus <michael.albinus@gmx.de>
15067
15068 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15069 connection process, it could be nil.
15070
1ddd96f5
LL
150712011-07-27 Leo Liu <sdl.web@gmail.com>
15072
15073 Simplify url handling in rcirc-mode.
15074
15075 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15076 (rcirc-browse-url-at-mouse): Remove.
15077 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15078
b248a85d
AM
150792011-07-26 Alan Mackenzie <acm@muc.de>
15080
15081 Fontify bitfield declarations properly.
15082
15083 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15084 (c-symbol-chars): Now exported as a lang variable.
15085 (c-not-primitive-type-keywords): New lang variable.
15086
15087 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15088 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15089 parsed as a bitfield declaration.
b248a85d 15090
b796c9b7
SM
15091 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15092 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15093 (c-punctuation-in): New function.
15094 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15095 declarations properly.
15096
68575ab0
UJ
150972011-07-26 Ulf Jasper <ulf.jasper@web.de>
15098
15099 * calendar/icalendar.el (icalendar--all-events): Take care of
15100 multiple vcalendars in a single file.
b796c9b7 15101 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15102
0f0a88b9
DD
151032011-07-25 Deniz Dogan <deniz@dogan.se>
15104
15105 * image.el (insert-image): Clarifying docstring.
15106
0b3f36df
MA
151072011-07-24 Michael Albinus <michael.albinus@gmx.de>
15108
15109 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15110 `tramp-send-command-and-check' if there is no error.
15111 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15112
a9901f61
AM
151132011-07-22 Alan Mackenzie <acm@muc.de>
15114
15115 Prevent cc-langs.elc being loaded at run time.
15116
15117 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15118 cc-langs.
15119
4d61f28d 15120 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15121 "(require 'cc-langs)". Quote a form so it will evaluate at
15122 (cc-mode's) compilation time.
15123
11d074b2
MA
151242011-07-22 Michael Albinus <michael.albinus@gmx.de>
15125
15126 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15127 loading. (Bug#9114)
15128
938b94c8
MR
151292011-07-21 Martin Rudalics <rudalics@gmx.at>
15130
15131 * window.el (display-buffer-pop-up-window)
15132 (display-buffer-pop-up-side-window)
15133 (display-buffer-in-side-window): Call display-buffer-set-height
15134 and display-buffer-set-width after setting the new window's
b796c9b7 15135 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15136
bfa4f190
SS
151372011-07-20 Sam Steingold <sds@gnu.org>
15138
15139 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15140 (etags-tags-included-tables): Call `convert-standard-filename' on
15141 the file names contained in TAGS so that windows Emacs can handle
15142 TAGS files created by cygwin ctags.
15143
8ca42262
LMI
151442011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15145
15146 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15147 which apparently didn't work.
15148
5db2afd2 151492011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15150
5db2afd2
RW
15151 * proced.el (proced-send-signal): For *Marked Processes* buffer
15152 put point at beginning of buffer.
15153
92e15d10
SB
151542011-07-19 Stephen Berman <stephen.berman@gmx.net>
15155
15156 * proced.el (proced-format): Make header lines align with the text
15157 (bug#1779).
15158
1bfd59e5
LMI
151592011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15160
15161 * view.el (view-buffer): Allow running in `special' modes if we're
15162 visiting a file (bug#8615).
15163
f5aae37c
MR
151642011-07-19 Martin Rudalics <rudalics@gmx.at>
15165
15166 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15167 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15168 New functions.
f5aae37c
MR
15169 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15170 more accurately.
15171
bf2c1571
AM
151722011-07-18 Alan Mackenzie <acm@muc.de>
15173
15174 Fontify declarators properly when, e.g., a jit-lock chunk begins
15175 inside a declaration.
15176
15177 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15178
b796c9b7
SM
15179 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15180 New function.
bf2c1571
AM
15181 (c-complex-decl-matchers): Insert reference to
15182 c-font-lock-enclosing-decls.
15183
15184 * progmodes/cc-engine.el (c-backward-single-comment):
15185 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15186 to nil around calls to (forward-comment -1).
15187
4e190b80
LMI
151882011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15189
12dc863d
LMI
15190 * image.el (put-image): Doc typo fix.
15191
a762e966
LMI
15192 * progmodes/etags.el (tags-search): Doc typo fix.
15193
4e190b80
LMI
15194 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15195 password if we get errors 550 to 554.
15196
f019fb21
LMI
151972011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15198
b796c9b7 15199 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15200
81746738
LMI
15201 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15202 indentation character (bug#6380).
15203
3ee3a1b5
LMI
15204 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15205
c82f64de
LMI
15206 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15207 to clarify what the problem is (bug#4291).
15208
f019fb21
LMI
15209 * simple.el (current-kill): Clarify what
15210 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15211 (auto-fill-mode): Document `auto-fill-function' in relation to
15212 `auto-fill-mode' (bug#2470).
f019fb21 15213
0794775d
LM
152142011-07-16 Lawrence Mitchell <wence@gmx.li>
15215
15216 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15217 method if slot is read-only (bug#9035).
15218
be39b8cc
MR
152192011-07-16 Martin Rudalics <rudalics@gmx.at>
15220
b796c9b7 15221 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15222 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15223 selected before, see discussion of (Bug#8615), (Bug#6954).
15224 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15225
6ccf7859
GM
152262011-07-15 Glenn Morris <rgm@gnu.org>
15227
15228 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15229 Respect help-form.
6ccf7859 15230
87e86684
LM
152312011-07-09 Lawrence Mitchell <wence@gmx.li>
15232
15233 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15234 (gnutls-negotiate): Use it.
15235
d6066239
LMI
152362011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15237
b796c9b7
SM
15238 * net/gnutls.el (gnutls-negotiate):
15239 Upcase `gnutls-algorithm-priority'.
d6066239 15240
bd23ebc0
GM
152412011-07-15 Glenn Morris <rgm@gnu.org>
15242
c65bca65
GM
15243 * jka-compr.el (jka-compr-verbose): Move from here...
15244 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15245 Add missing :version tag.
15246 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15247
478615cc
LMI
152482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15249
7b41decb
LMI
15250 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15251 (gnutls-negotiate): Use it.
15252
dbc44fcd
LMI
15253 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15254
06789f97
LMI
15255 * info.el (Info-beginning-of-buffer): New command.
15256 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15257 announcing `b' as the key (bug#8325).
ab896c37 15258 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15259
c39da690
LMI
15260 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15261
3aa5f34b
LMI
15262 * international/mule-cmds.el
15263 (describe-specified-language-support): Make the error message
15264 clearer (bug#8905).
15265
4bf0979f
LMI
15266 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15267
478615cc
LMI
15268 * isearch.el (isearch-barrier): Add a doc string, since it's
15269 mentioned in a function doc string (bug#8678).
15270
75c68aa1
MR
152712011-07-15 Martin Rudalics <rudalics@gmx.at>
15272
15273 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15274 buffer argument (Bug#9083) and self-identifying label argument.
15275
a7c33da2
GM
152762011-07-15 Glenn Morris <rgm@gnu.org>
15277
15278 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15279
2f5c6024
LMI
152802011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15281
15282 * man.el (Man-fontify-manpage): Fix message when formatting the
15283 man page (bug#7929).
15284
0bb23927 152852011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15286
15287 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15288 argument LRM; if non-nil, append an invisible LRM character to the
15289 buffer name.
15290 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15291 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15292 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15293 paragraph direction.
cce4b0a7 15294
621ef9ab
LMI
152952011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15296
d1583c48
LMI
15297 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15298 the man page name (bug#7929).
15299
6a57fb5f
LMI
15300 * image.el (put-image): Mention the `put-image' overlay property
15301 (bug#7834).
15302
d7956b14
LMI
15303 * scroll-bar.el (set-scroll-bar-mode): Mention that
15304 `scroll-bar-mode' lists the values (bug#7772).
15305
5b2d4a66
LMI
15306 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15307 command (bug#7729).
15308
7509a874
LMI
15309 * rect.el (apply-on-rectangle): Return the point after the last
15310 operation.
15311 (string-rectangle): Go to the point after the last operation
15312 (bug#7522).
15313
4fe74b19
LMI
15314 * printing.el (pr-toggle-region): Clarify the documentation
15315 slightly (bug#7493).
15316
b796c9b7
SM
15317 * time.el (display-time-update):
15318 Allow `display-time-mail-function' to return nil (bug#7158).
15319 Fix suggested by Detlev Zundel.
ab283561 15320
fc233c9d
LMI
15321 * vc/diff.el (diff): Clarify the order the file names are read
15322 (bug#7111).
15323
43f5740b
LMI
15324 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15325 the doc string (bug#7015).
15326
f2182a76
LMI
15327 * font-lock.el (font-lock-maximum-decoration): Mention what
15328 numeric levels mean (bug#6935).
15329
621ef9ab
LMI
15330 * startup.el (initial-buffer-choice): Don't mention the `none'
15331 selection, which is against policy.
15332
adc47434
MR
153332011-07-14 Martin Rudalics <rudalics@gmx.at>
15334
b796c9b7
SM
15335 * window.el (display-buffer-normalize-special):
15336 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15337
7e5bfb8f
EZ
153382011-07-14 Eli Zaretskii <eliz@gnu.org>
15339
15340 * subr.el (version<, version<=, version=): Mention "-CVS" and
15341 "-12345" alpha version numbers.
15342
27fa387a
CY
153432011-07-14 Chong Yidong <cyd@stupidchicken.com>
15344
15345 * bindings.el: Add advertised binding for set-mark-command
15346 (Bug#5772).
15347
8bdfa064
CY
153482011-07-14 Chong Yidong <cyd@stupidchicken.com>
15349
15350 * bindings.el (mode-line-other-buffer):
15351 * bookmark.el (bookmark-bmenu-2-window):
15352 * bs.el (bs-cycle-next, bs-cycle-previous):
15353 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15354 switch-to-buffer.
15355
15356 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15357 Delete.
8bdfa064 15358
5eba16a3
JB
153592011-07-14 Juanma Barranquero <lekktu@gmail.com>
15360
15361 * follow.el (follow-debug-message, follow-redisplay):
15362 * jka-cmpr-hook.el (with-auto-compression-mode):
15363 Fix typos in docstrings.
15364
15853710
LMI
153652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15366
a28e4607
LMI
15367 * subr.el (with-silent-modifications): Clarify somewhat what the
15368 macro inhibits (bug#6525).
15369
15853710
LMI
15370 * simple.el (eval-expression): Note what it does if called
15371 interactively (bug#6495).
15372
bee0fcef
CY
153732011-07-13 Chong Yidong <cyd@stupidchicken.com>
15374
b796c9b7
SM
15375 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15376 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15377
15378 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15379 Remove switch-to-buffer.
15380
58274504
LMI
153812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15382
bd2fcc8d
LMI
15383 * files.el (make-directory): Clarify that an error will be raised
15384 if there's an error (bug#6397).
15385
0f04b32c
LMI
15386 * startup.el (initial-buffer-choice): Add `none' as a choice
15387 (bug#6234).
15388
465c5fc8
LMI
15389 * subr.el (add-hook): Clarify section about buffer-local hooks
15390 (bug#6218).
15391
58274504
LMI
15392 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15393
bead9a43
JB
153942011-07-13 Juanma Barranquero <lekktu@gmail.com>
15395
15396 * tabify.el (untabify): Preserve the current column so that point
15397 doesn't move (bug#6032).
15398
3af98a7b
LMI
153992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15400
b796c9b7
SM
15401 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15402 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15403
6240145a
GM
154042011-07-13 Glenn Morris <rgm@gnu.org>
15405
15406 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15407 (dired-insert-directory): Give a message the first time
15408 if ls is found not to support --dired.
15409
1d8c2ccc
LMI
154102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15411
15412 * simple.el (toggle-truncate-lines): Clarify what is toggled
15413 (bug#5580). Text by Drew Adams.
15414
5fc4038e
CY
154152011-07-13 Chong Yidong <cyd@stupidchicken.com>
15416
15417 * simple.el (blink-matching-open): Make the error message from the
15418 last change less verbose.
15419
bf6012e5
DN
154202011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15421
15422 * font-lock.el (font-lock-comment-face): Use the high contrast
15423 "yellow" color for font-lock-comment-face on low color terminals
15424 using a dark background color (bug#4221).
15425
343c3b5a
LMI
154262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15427
7e9505c5
LMI
15428 * dired.el (dired-insert-set-properties): Make the doc string
15429 reflect what it does now (bug#5325).
15430
c26fdcf5
LMI
15431 * simple.el (blink-matching-open): Say that we were unable to find
15432 the match within the limit, if we're limited (bug#5122).
15433
bb388cc5
LMI
15434 * international/mule-cmds.el (prefer-coding-system): Add an
15435 example (bug#4869).
15436
343c3b5a
LMI
15437 * progmodes/etags.el (tags-search): Document `file-list-form'
15438 (bug#4731).
15439
2a517d45
LM
154402011-07-13 Lawrence Mitchell <wence@gmx.li>
15441
15442 * net/browse-url.el (browse-url-default-browser)
15443 (browse-url-browser-function): Make the default browser choice a
15444 bit more logical (bug#4300). Also clean up the doc string.
15445
b6c78ef2
JB
154462011-07-13 Juanma Barranquero <lekktu@gmail.com>
15447
15448 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15449 binary endings (bug#4440).
15450
1c4dd947
LMI
154512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15452
a2014063
LMI
15453 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15454 which can be pretty annoying (bug#8971).
15455
9c9c2d88
LMI
15456 * jka-compr.el (jka-compr-verbose): New variable, and use
15457 throughout (bug#8971).
15458
1c4dd947
LMI
15459 * info.el (Info-find-file): Fall back on the installation
15460 directory if we can't find the info node anywhere else.
15461
a1c9f41b
SO
154622011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15463
15464 * vc/vc.el (vc-revert-file):
15465 Don't set file time-stamp in the past. (Bug#5181)
15466
536f3d36
LMI
154672011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15468
7152b011
LMI
15469 * files.el (after-find-file): Give a better error message when
15470 trying to find a symlink that points to a file that doesn't exist
15471 (bug#4398).
15472
536f3d36
LMI
15473 * progmodes/cc-vars.el: Remove (probably) misleading comment
15474 (bug#4396).
15475
460c0fba
JB
154762011-07-12 Johan Bockgård <bojohan@gnu.org>
15477
15478 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15479
7a6bda45
CY
154802011-07-12 Chong Yidong <cyd@stupidchicken.com>
15481
15482 * mouse-sel.el: Hack restoring functionality, while keeping
15483 compatibility with 2010-07-03 changes to mouse selection.
15484 (mouse-sel-primary-overlay): New var.
15485 (mouse-sel-selection-alist): Use it.
15486 (mouse-sel-mode): Doc fix; remove points that are default features
15487 of mouse.el.
15488
c79598ef
JB
154892011-07-12 Johan Bockgård <bojohan@gnu.org>
15490
15491 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15492 Fix previous fix (bug#2490).
15493
ff8be6ef
RW
154942011-07-12 Roland Winkler <winkler@gnu.org>
15495
b796c9b7
SM
15496 * textmodes/bibtex.el (bibtex-initialize):
15497 Use pop-to-buffer-same-window.
ff8be6ef
RW
15498 (bibtex-search-entries): Fix interactive call.
15499
296ba3ee
LMI
155002011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15501
f5242a02 15502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15503 Fontise bytecomp Error lines more correctly (bug#2490).
15504 Fix suggested by Johan Bockgård.
f5242a02 15505
296ba3ee
LMI
15506 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15507
15508 * dired-x.el (dired-guess-default): Use `delete-dups'.
15509
f69fd0d2
CY
155102011-07-12 Chong Yidong <cyd@stupidchicken.com>
15511
15512 * dired.el (dired-mark-prompt):
15513 * dired-aux.el (dired-read-shell-command): Doc fix.
15514
eab5dc07
LMI
155152011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15516
b796c9b7
SM
15517 * mail/sendmail.el (sendmail-query-once):
15518 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15519 emacs -Q.
15520
15521 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15522
eab5dc07
LMI
15523 * cus-edit.el (custom-file): Take an optional no-error variable.
15524 (customize-save-variable): Set the variable, and give a warning if
15525 running under "emacs -q".
15526
a1e65d42
JB
155272011-07-11 Juanma Barranquero <lekktu@gmail.com>
15528
15529 * loadhist.el (unload-feature-special-hooks):
15530 Add `auto-coding-functions', `fill-nobreak-predicate' and
15531 `find-directory-functions' (bug#5327).
15532
1d52da10
LMI
155332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15534
be958f1d
LMI
15535 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15536
5bedb26c
LMI
15537 * cus-edit.el (custom-guess-name-alist): -alist variables should
15538 use the `alist' type (bug#3120). Suggested by Drew Adams.
15539
1d52da10
LMI
15540 * printing.el: Add documentation to all the `pr-toggle-' commands.
15541
cd394be1 155422011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15543
15544 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15545 backends where it makes sense (bug#2623).
15546
dcc88d8a
LMI
155472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15548
c3de9feb
LMI
15549 * dired-x.el (dired-guess-default): Remove duplicate shell command
15550 entries (bug#2028).
8a93078b 15551 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15552 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15553
dcc88d8a
LMI
15554 * subr.el (remove-duplicates): New conveniency function.
15555
505e3645
LMI
155562011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15557
15558 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15559 (bug#1526).
15560
155612011-07-10 Martin Rudalics <rudalics@gmx.at>
15562
15563 * window.el (display-buffer-normalize-default): Don't invert
15564 meaning of even-window-heights. Reported by Eli Zaretskii
15565 <eliz@gnu.org>.
15566
455e4fa1
BR
155672011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15568
15569 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15570
8e0bc3e9
CY
155712011-07-10 Chong Yidong <cyd@stupidchicken.com>
15572
15573 * window.el (display-buffer): Fix arguments to
15574 display-buffer-reuse-window in last change.
15575
fa7c3228
CY
15576 * faces.el (link): Use a less saturated blue on light backgrounds.
15577
15578 * startup.el (fancy-startup-text, fancy-about-text)
15579 (fancy-startup-tail): Use font-lock faces, for background safety.
15580
c0a7f300
BN
155812011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15582
b796c9b7
SM
15583 * emulation/viper-cmd.el (viper-change-state-to-vi):
15584 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15585
4dc2a129
MR
155862011-07-09 Martin Rudalics <rudalics@gmx.at>
15587
15588 * window.el (display-buffer-default-specifiers): Remove.
15589 (display-buffer-macro-specifiers): Remove default specifiers.
15590 (display-buffer-alist): Default to nil.
b796c9b7 15591 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15592 (display-buffer-pop-up-window): Allow splitting internal
15593 windows. Check whether a live window was created.
15594 (display-buffer-other-window-means-other-frame)
15595 (display-buffer-normalize-arguments): Rename to
15596 display-buffer-normalize-argument and rewrite. Set the
15597 other-window specifier.
15598 (display-buffer-normalize-special): New function.
15599 (display-buffer-normalize-options): Rename to
15600 display-buffer-normalize-default and rewrite.
15601 (display-buffer-normalize-options-inhibit): Remove.
15602 (display-buffer-normalize-specifiers): Rewrite.
15603 (display-buffer): Process other-window specifier and call
15604 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15605 more faithfully.
b796c9b7 15606 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15607 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15608 (display-buffer-in-window, display-buffer-alist-set):
15609 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15610 <tassilo@member.fsf.org>.
15611
2d43b8c9
LL
156122011-07-09 Leo Liu <sdl.web@gmail.com>
15613
15614 * register.el (insert-register): Restore accidental change on
15615 2011-06-26. (Bug#9028)
15616
7f9b7c53
GM
156172011-07-09 Glenn Morris <rgm@gnu.org>
15618
15619 * subr.el (remq): Handle the empty list. (Bug#9024)
15620
f042cfd8
AS
156212011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15622
15623 * mail/sendmail.el (send-mail-function): No longer delay custom
15624 initialization.
15625 * custom.el (custom-initialize-delay): Doc fix.
15626
856b2f11
SM
156272011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15628
15629 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15630
afae1d68
MA
156312011-07-08 Michael Albinus <michael.albinus@gmx.de>
15632
15633 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15634 human-friendly prompt.
15635
0757af94
SM
156362011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15637
15638 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15639 provided by a particular plugin.
15640
d760b731
LMI
156412011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15642
15643 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15644 save customizations (with "emacs -Q"), just set the variable
15645 instead of erroring out.
15646
15647 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15648
cd79ce90
JL
156492011-07-08 Juri Linkov <juri@jurta.org>
15650
15651 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15652 (archive-zip-update-case): Use 7z if found by `executable-find'.
15653 The order of searching the available programs is the same as in
15654 `archive-zip-extract' (bug#8968).
15655
14cc04aa
CY
156562011-07-07 Chong Yidong <cyd@stupidchicken.com>
15657
15658 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15659 (menu-bar-options-menu): Tweak descriptions.
15660
0a1848ec
LMI
156612011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15662
15663 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15664 menu items into verb phrases (bug#1421). Also refill to fit under
15665 80 columns.
15666
f5bd0689
CY
156672011-07-07 Chong Yidong <cyd@stupidchicken.com>
15668
538e85c6
CY
15669 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15670 (Info-read-node-name): Doc fix (Bug#1084).
15671
f5bd0689
CY
15672 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15673 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15674 (end-of-sexp, beginning-of-sexp)
15675 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15676 (forward-symbol, forward-same-syntax, word-at-point)
15677 (sentence-at-point): Doc fix (Bug#1144).
15678
56ec5115
LMI
156792011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15680
f3f8e37f
LMI
15681 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15682 should cover it (bug#1281).
15683
0757af94 15684 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15685
e9fce1ac 15686 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15687 negotiation fails, then possibly try again with a non-encrypted
15688 connection (bug#9017).
15689
56ec5115
LMI
15690 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15691 be used.
15692
c2f9aec8
RS
156932011-07-07 Richard Stallman <rms@gnu.org>
15694
15695 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15696 property, and handle its changed format.
15697 Look for the correct line number.
15698 Use file's line contents (but not past first =) to find
15699 correct line in message.
15700
ef7b981d 157012011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15702
15703 * international/characters.el (build-unicode-category-table):
15704 Delete it.
0757af94 15705 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15706
0757af94 15707 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15708 to src/chartab.c.
15709 (get-char-code-property): Call unicode-property-table-internal to
15710 load a file. Call get-unicode-property-internal where necessary.
15711 (put-char-code-property): Call unicode-property-table-internal to
15712 load a file. Call put-unicode-property-internal where necessary.
15713 put-unicode-property-internal where necessary.
0757af94
SM
15714 (char-code-property-description):
15715 Call unicode-property-table-internal to load a file.
c805dec0
KH
15716
15717 * international/charprop.el:
15718 * international/uni-bidi.el:
15719 * international/uni-category.el:
15720 * international/uni-combining.el:
15721 * international/uni-comment.el:
15722 * international/uni-decimal.el:
15723 * international/uni-decomposition.el:
15724 * international/uni-digit.el:
15725 * international/uni-lowercase.el:
15726 * international/uni-mirrored.el:
15727 * international/uni-name.el:
15728 * international/uni-numeric.el:
15729 * international/uni-old-name.el:
15730 * international/uni-titlecase.el:
15731 * international/uni-uppercase.el: Regenerate.
15732
15733 * loadup.el: Load international/charprop.el before
15734 international/characters.
15735
e14b388a
CY
157362011-07-07 Chong Yidong <cyd@stupidchicken.com>
15737
15738 * window.el (next-buffer, previous-buffer): Signal an error if
15739 called from a minibuffer window.
15740
15741 * bindings.el: Revert 2011-07-04 change.
15742
354cf0ba
RS
157432011-07-06 Richard Stallman <rms@gnu.org>
15744
15745 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15746 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15747 Treat markers like ints.
15748 (rmail-mime-entity): Doc fix.
15749
a48868a7
LMI
157502011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15751
4906cd3d
LMI
15752 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15753 defcustom again for backwards compatibility.
15754
e0457abe
LMI
15755 * simple.el (shell-command-on-region): Fill.
15756
d67f7e1f
LMI
15757 * dired-aux.el (dired-kill-line): Add a doc string.
15758
fe204702
LMI
15759 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15760 to "\\sw\\|\\s_" (bug#358).
15761
a48868a7
LMI
15762 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15763 (dired-unmark-backward): Ditto.
15764 (dired-flag-backup-files): Ditto.
15765
15766 * dired-x.el (dired-mark-sexp): Ditto.
15767
aa8a705c
RS
157682011-07-06 Richard Stallman <rms@gnu.org>
15769
15770 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15771 (rmail-mime-entity): New arg TRUNCATED.
15772 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15773 New functions.
15774 (rmail-mime-save): Warn if entity is truncated.
15775 (rmail-mime-toggle-hidden): Likewise, for showing.
15776 (rmail-mime-process-multipart): Record when an entity is truncated.
15777
a9a936b9
RS
15778 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15779 if ENTITY is a string.
15780
1f2b92cb
LMI
157812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15782
f4f73198 15783 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15784 of faces when `M-C-x'-ing their definitions (bug#8378).
15785 Also clean up the code slightly.
f4f73198 15786
12b16734 15787 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15788 because that makes the colors go away.
12b16734 15789
f0691d22
LMI
15790 * mail/sendmail.el (send-mail-function): Change the default to
15791 `sendmail-query-once'.
9e87df06 15792 (sendmail-query-once): Add an autoload cookie.
f0691d22 15793
1f2b92cb
LMI
15794 * net/network-stream.el (network-stream-open-starttls): Try using
15795 a plain connection even if the server offered STARTTLS, and we
15796 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15797 capability. This should make smtpmail.el work in slightly more
15798 configurations.
15799
1cdd2a1b
MA
158002011-07-06 Michael Albinus <michael.albinus@gmx.de>
15801
15802 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15803 New defun.
15804 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15805
fbcc67e2
MM
158062011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15807
15808 * progmodes/sql.el: Version 3.0
0757af94 15809 (sql-product-alist): Add product :completion-object,
fbcc67e2 15810 :completion-column, and :statement attributes.
0757af94 15811 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15812 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15813 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15814 ansi keywords.
15815 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15816 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15817 (sql-oracle-show-reserved-words): New function for development.
15818 (sql-product-font-lock): Simplify for source code buffers.
15819 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15820 New functions.
15821 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15822 (sql-mode-map): Add statement movement functions.
15823 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15824 New variable.
fbcc67e2
MM
15825 (sql-statement-regexp, sql-beginning-of-statement)
15826 (sql-end-of-statement, sql-signum): New functions.
0757af94 15827 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15828 (sql-show-sqli-buffer): Bug fix.
15829 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15830 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15831 with sql-interactive-mode.
15832 (sql-save-connection): Save buffer local settings.
0757af94 15833 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15834 (sql-product-interactive): Bug fix.
15835 (sql-preoutput-hold): New variable.
15836 (sql-interactive-remove-continuation-prompt): Bug fixes.
15837 (sql-debug-redirect): New variable.
15838 (sql-str-literal): New function.
15839 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15840 Redesign.
fbcc67e2
MM
15841 (sql-oracle-save-settings, sql-oracle-restore-settings)
15842 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15843 (sql-completion-object, sql-completion-column)
15844 (sql-completion-sqlbuf): New variables.
15845 (sql-build-completions-1, sql-build-completions)
15846 (sql-try-completion): New functions.
15847 (sql-read-table-name): Use them.
15848 (sql-contains-names): New buffer local variable.
15849 (sql-list-all, sql-list-table): Use it.
15850 (sql-oracle-completion-types): New variable.
15851 (sql-oracle-completion-object, sql-sqlite-completion-object)
15852 (sql-postgres-completion-object): New functions.
15853
d4eaeab1
GM
158542011-07-06 Glenn Morris <rgm@gnu.org>
15855
15856 * window.el (pop-to-buffer): Doc fix.
15857
322b7dab 158582011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15859
15860 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15861
322b7dab 158622011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15863
322b7dab 15864 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15865
322b7dab 15866 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15867
605dd5bf
CY
158682011-07-05 Chong Yidong <cyd@stupidchicken.com>
15869
15870 * button.el (button): Inherit from link face. Suggested by Dan
15871 Nicolaescu.
15872
7dbfa719
SM
158732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15874
3db614b0
SM
15875 * progmodes/gdb-mi.el: Fit in 80 columns.
15876 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15877 switch-to-buffer.
15878
7dbfa719
SM
15879 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15880 if imenu is simply not configured (bug#8941).
15881
919d884a
KM
158822011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15883
15884 * allout.el (allout-post-undo-hook): New allout outline-change
15885 event hook to signal undo activity.
15886 (allout-post-command-business): Run allout-post-undo-hook if an
15887 undo just occurred.
7dbfa719
SM
15888 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15889 * allout-widgets.el (allout-widgets-after-undo-function):
15890 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15891 in the vicinity of an undo.
15892 (allout-widgets-mode): Include allout-widgets-after-undo-function
15893 on the new allout-post-undo-hook.
15894
450a0f09
SM
158952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15896
15897 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15898 Let define-derived-mode define it.
15899 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15900 cycles of abbrev-table inheritance (bug#8998).
15901
2de69e00
RW
159022011-07-05 Roland Winkler <winkler@gnu.org>
15903
15904 * textmodes/bibtex.el: Add support for biblatex.
15905 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15906 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15907 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15908 (bibtex-entry-alist, bibtex-field-alist): New variables.
15909 (bibtex-entry-field-alist): Obsolete alias for
15910 bibtex-BibTeX-entry-alist.
15911 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15912 (bibtex-set-dialect): New command.
15913 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15914 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15915 Bind via bibtex-set-dialect.
2de69e00
RW
15916 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15917 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15918 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15919 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15920 Define via bibtex-set-dialect.
450a0f09
SM
15921 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15922 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15923 (bibtex-vec-push, bibtex-vec-incr): New functions.
15924 (bibtex-format-entry, bibtex-field-list)
15925 (bibtex-print-help-message, bibtex-validate)
15926 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15927
2dcdbdd9
SM
159282011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15929
15930 * progmodes/compile.el (compilation-goto-locus):
15931 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15932 * bs.el (bs-cycle-next, bs-cycle-previous):
15933 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15934 * bindings.el (mode-line-other-buffer):
15935 * autoinsert.el (auto-insert):
15936 * arc-mode.el (archive-extract):
15937 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15938
b27640fe
JB
159392011-07-05 Juanma Barranquero <lekktu@gmail.com>
15940
15941 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15942 Fix check of `emacs-lock-unlockable-modes'.
15943 Coerce true values of `emacs-lock--try-unlocking' to t.
15944
53bbe3ad
JB
159452011-07-05 Juanma Barranquero <lekktu@gmail.com>
15946
15947 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15948 * emacs-lock.el: New file.
15949
1d3cdbc7
JD
159502011-07-05 Julien Danjou <julien@danjou.info>
15951
15952 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15953 than `boundp' to check if face is set.
15954
9173deec
JB
159552011-07-05 Juanma Barranquero <lekktu@gmail.com>
15956
15957 * register.el (registerv-make):
15958 * window.el (window-min-height): Fix typos in docstrings.
15959
869795d6
JD
159602011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15961
9173deec 15962 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15963 Update doc string.
15964
b768cdcd
JB
159652011-07-04 Juanma Barranquero <lekktu@gmail.com>
15966
15967 * server.el (server-execute): Catch quit and call
15968 `server-return-error' to pass the error back to emacsclient and
15969 close the connection (bug#8942).
15970
13aa217b
KM
159712011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15972
15973 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15974 insecure exception for current topic. Also note that auto-saves
15975 are handled differently.
15976
5d3385a0 15977 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15978 State variables for tracking auto-save inhibition situation.
15979
15980 (allout-write-contents-hook-handler): Rename from
15981 'allout-write-file-hook-handler', and describe how it depends on
15982 write-contents-functions sensitivity to non-nil value to prevent
15983 file write.
15984
15985 (allout-auto-save-hook-handler): Remove. auto-save does not check
15986 this in individual buffers, only in the starting buffer, so this
15987 is not the right way for us to inhibit auto-save in a buffer
15988 according to its condition.
15989
15990 (allout-mode): Use new allout-write-contents-hook-handler, and
15991 only with write-contents-functions. Remove auto-save provisions -
15992 they're implemented elsewhere.
15993
15994 (allout-before-change-handler): If undo is in progress, note that
15995 for attention of allout-post-command-business.
15996
15997 (allout-post-command-business): If the command we're following was
15998 an undo, check for change in the status of encrypted items and
15999 adjust auto-save inhibitions accordingly.
16000
16001 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16002 according to whether there are or aren't any plain-text topics
16003 pending encryption.
16004
2dcdbdd9 16005 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16006 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16007 if there are plain-text topics pending encryption.
13aa217b
KM
16008
16009 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16010 buffer-saved-size and some allout state to not inhibit auto-saves
16011 if there are no longer any plain-text topics pending encryption.
16012
0757af94
SM
16013 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16014 No longer provide for exemption of the current topic.
13aa217b 16015
ac89b32c
JL
160162011-07-04 Juri Linkov <juri@jurta.org>
16017
16018 Add 7z operations to delete and save changed members (bug#8968).
16019 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16020 New defcustoms.
16021 (archive-7z-write-file-member): New function.
16022 (archive-7z-summarize): Fix the number of dashes in the
16023 listing output.
16024
8fa39615
SM
160252011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16028 (bug#8958).
16029
2f11b3f1
CY
160302011-07-04 Chong Yidong <cyd@stupidchicken.com>
16031
d66fef2b
CY
16032 * bindings.el: Ignore next-buffer and previous-buffer in
16033 minibuffer-local-map.
16034
2f11b3f1
CY
16035 * font-lock.el (font-lock-builtin-face): Change light background
16036 color to dark slate blue (Bug#6693).
16037
f932a347
WD
160382011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16039
16040 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16041
c8af70e1
SM
160422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16043
16044 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16045 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16046 Add switch-to-buffer.
16047
f158badc
LMI
160482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16049
16050 * isearch.el (isearch-search-fun-function): Clarify further the
16051 meaning of the function returned.
16052
6d95bd46
MA
160532011-07-04 Michael Albinus <michael.albinus@gmx.de>
16054
16055 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16056
16057 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16058 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16059 Use it.
16060 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16061 `tramp-default-remote-path' does not exist.
16062 (tramp-send-command-and-read): New optional argument NOERROR.
16063 (tramp-open-connection-setup-interactive-shell)
16064 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16065 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16066 (tramp-process-sentinel): Flush also process' connection property.
16067 (tramp-sh-handle-start-file-process): Do not set process
16068 sentinel. It is done now ...
16069 (tramp-maybe-open-connection): ... here. (Bug#8929)
16070
909e6b67
MK
160712011-07-04 MON KEY <monkey@sandpframing.com>
16072
16073 * play/animate.el (animate-string): Doc fixes and allow changing
16074 the buffer name (bug#5417).
16075
160762011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16077
c8af70e1 16078 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16079
f34755dc
PE
160802011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16081
396cec72
PE
16082 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16083 This is simpler and helps future-proof the code.
16084 (timer-until): Use time-subtract and float-time.
08235028 16085 (timer--time-less-p): Use time-less-p.
f34755dc 16086
56e6cc31
JB
160872011-07-04 Juanma Barranquero <lekktu@gmail.com>
16088
3abb79e5
JB
16089 * type-break.el (timep): Use the value of `float-time' to avoid a
16090 byte-compiler warning.
16091
56e6cc31
JB
16092 * server.el (server-eval-and-print): Return any result, even nil.
16093
7b9430b4
PE
160942011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16095
16096 * type-break.el: Accept time formats that the builtins accept.
16097 (timep, type-break-time-difference): Accept any format that
16098 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16099 This is simpler and helps future-proof the code.
16100 (type-break-time-difference): Round rather than ignoring
16101 subseconds components.
16102
3034e9e7
LMI
161032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16104
16105 * info.el (Info-apropos-matches): Make non-interactive, since it
16106 doesn't seem to do anything useful as a command (bug#8829).
16107
1485f4c0
CY
161082011-07-03 Chong Yidong <cyd@stupidchicken.com>
16109
16110 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16111 Move from faces.el.
1485f4c0
CY
16112 (frame-default-terminal-background): New function.
16113
16114 * custom.el (custom-push-theme): Don't record faces in `changed'
16115 theme; this doesn't work correctly for per-frame face settings.
16116 (disable-theme): Use face-set-after-frame-default to reset faces.
16117 (custom--frame-color-default): New function.
16118
9fa3dd45
LMI
161192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16120
c8af70e1 16121 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16122 (bug#8769).
16123
6cbbc20c
KR
161242011-03-29 Kevin Ryde <user42@zip.com.au>
16125
16126 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16127 `perl-Test2' extend to match possible "fail #N" rep count
16128 (bug#8377).
16129
c7f98048
LMI
161302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16131
65676592
LMI
16132 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16133 `smtpmail-via-smtp' now returns the error instead of nil.
16134
c7f98048
LMI
16135 * isearch.el (isearch-search-fun-function): Clarify the doc string
16136 (bug#8101).
16137
56e6cc31 161382011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16139
16140 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16141 unnecessary spaces (bug#8987).
16142
2b216704
LMI
161432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16144
16145 * net/network-stream.el (open-network-stream): Use the
16146 :end-of-capability command thoughout.
16147
161482011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16149
16150 * net/network-stream.el (open-network-stream): Add the
16151 :end-of-capability command parameter, used by pop3.el.
16152
36adf6ce
LMI
161532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16154
1ca0da0e
LMI
16155 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16156
fc00f69c
LMI
16157 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16158 for list)" (bug#6475).
16159
28fd8759 16160 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16161 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16162 an error (bug#6297).
16163
0dd8b6da
LMI
16164 * man.el (Man-reference-regexp): Allow matching possible
16165 word-wrapped references (bug#6289).
16166
ce1438d6
LMI
16167 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16168 for consistency with the other vc buffers (bug#6197).
16169 (vc-checkin): Ditto.
16170
16171 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16172
36adf6ce
LMI
16173 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16174
e83cc1f7
LMI
161752011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16176
8a20ca4c
LMI
16177 * custom.el (defcustom): Clarify that :set is only used in the
16178 Customize user interface (bug#6089).
16179
83319045
LMI
16180 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16181 associated with a file, refuse to run instead of erroring out
16182 (bug#6084).
16183
a8392169
LMI
16184 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16185 the doc string, since it appears that using `fill-column' always
16186 controls the width (bug#7845).
16187
e83cc1f7
LMI
16188 * simple.el (shell-command-on-region): Say where the error output
16189 went if `shell-command-default-error-buffer' is set (bug#6857).
16190
e47ca23b
KM
161912011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16192
16193 * allout.el (allout-yank-processing): Adjust cursor position for
16194 backwards-deleted space.
16195
16196 (allout-rebullet-heading): Register changes with
16197 allout-exposure-changed-hook, so the modified topic is properly
16198 decorated.
16199
5cf56143
LMI
162002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16201
08549772
LMI
16202 * minibuffer.el (completion-in-region): Document PREDICATE
16203 (bug#7136).
16204
48e96771
LMI
16205 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16206 of keyword/argument pairs (bug#6904).
16207
c8af70e1
SM
16208 * replace.el (multi-occur):
16209 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16210
e17d05e2
LMI
162112011-07-02 Drew Adams <drew.adams@oracle.com>
16212
16213 * dired.el (dired-mark-if): Make the message about whether it's
16214 marking or unmarking clearer (bug#8523).
16215
063b0e45
LMI
162162011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16217
16218 * disp-table.el (display-table-print-array): New function.
16219 (describe-display-table): Use it to print the vectors more pretty
16220 (Bug#8859).
16221
28545e04
MR
162222011-07-02 Martin Rudalics <rudalics@gmx.at>
16223
16224 * window.el (window-state-get-1): Don't assign clone numbers.
16225 Add clone-of item to list of window parameters.
16226 (window-state-put-2): Don't process clone numbers.
16227 (display-buffer-alist): Fix doc-string.
16228
3349e122
SM
162292011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16230
16231 * subr.el (remq): Don't allocate if it's not needed.
16232 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16233 (keymap--merge-bindings): New functions.
16234 (keymap-canonicalize): Use them to refine the canonicalization.
16235 * minibuffer.el (minibuffer-local-completion-map)
16236 (minibuffer-local-must-match-map): Move initialization from C.
16237 (minibuffer-local-filename-completion-map): Move initialization from C;
16238 don't inherit from anything here.
16239 (minibuffer-local-filename-must-match-map): Make obsolete.
16240 (completing-read-default): Use make-composed-keymap to combine
16241 minibuffer-local-filename-completion-map with either
16242 minibuffer-local-must-match-map or
16243 minibuffer-local-filename-completion-map.
16244
d224ac83
GM
162452011-07-01 Glenn Morris <rgm@gnu.org>
16246
3de63bf8
GM
16247 * type-break.el (type-break-time-sum): Use dolist.
16248
d224ac83
GM
16249 * textmodes/flyspell.el (flyspell-word-search-backward):
16250 Replace CL function.
16251
1a1e3f32
SM
162522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16253
fe3f64d5
SM
16254 * mouse.el (mouse--strip-first-event): New function.
16255 (function-key-map): Use it to map fringe clicks to normal clicks
16256 by default.
16257
eb604e34
SM
16258 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16259 (vc-bzr-revision-completion-table): Add support for annotate and date.
16260
1a1e3f32
SM
16261 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16262 inherit from parent.
16263
5bd35902
LMI
162642011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16265
ace6c69c 16266 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16267 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16268
191e2bed
LMI
16269 * dired.el (dired-mode): Fix up the doc string as suggested by
16270 Drew Adams (bug#8817).
16271
5bd35902
LMI
16272 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16273 cookie, since the manual says that it should be possible to add
16274 this function to `find-file-hook' (bug#8709).
16275
eee8207a
TZ
162762011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16277
16278 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16279 here. Noted Ted Zlatanov as the maintainer.
16280 (cfengine-common-settings, cfengine-common-syntax): New functions
16281 to set up common things between `cfengine-mode' and
16282 `cfengine3-mode'.
16283 (cfengine3-mode): New mode.
16284 (cfengine3-defuns cfengine3-defuns-regex
16285 (cfengine3-class-selector-regex cfengine3-category-regex)
16286 (cfengine3-vartypes cfengine3-font-lock-keywords)
16287 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16288 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16289
36b148cf
MA
162902011-07-01 Michael Albinus <michael.albinus@gmx.de>
16291
16292 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16293
16294 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16295
0bf4ba9a
MR
162962011-07-01 Martin Rudalics <rudalics@gmx.at>
16297
16298 * window.el (same-window-buffer-names, same-window-regexps)
16299 (same-window-p, special-display-frame-alist)
16300 (special-display-popup-frame, special-display-function)
16301 (special-display-buffer-names, special-display-regexps)
16302 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16303 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16304 (split-window-preferred-function, split-height-threshold)
16305 (split-width-threshold, even-window-heights)
16306 (display-buffer-mark-dedicated, window-splittable-p)
16307 (split-window-sensibly, window-safely-shrinkable-p):
16308 Un-obsolete.
16309 (display-buffer): Don't spread args with function specifier
16310 because special-display-popup-frame won't like it.
16311
35837f51
PE
163122011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16313
d0672f86
PE
16314 Time-stamp simplifications and fixes.
16315 These improve accuracy slightly, and future-proof the code
16316 against some potential changes to current-time format.
16317
b9444d97
PE
16318 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16319 by using time-since and float-time.
16320
0ef923dc
PE
16321 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16322 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16323 + NNN microseconds".
16324
2f81380d
PE
16325 * type-break.el (type-break-time-sum): Rewrite using time-add.
16326
845b5c3e
PE
16327 * play/hanoi.el (hanoi-current-time-float): Remove.
16328 All uses replaced by float-time.
16329
ee6f1be0
PE
16330 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16331 This yields a more-accurate answer.
16332 (rng-time-to-float): Remove; no longer needed.
16333
fe955043
PE
16334 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16335
5777162a
PE
16336 * calendar/timeclock.el (timeclock-seconds-to-time):
16337 Defalias to seconds-to-time, since they're the same thing.
16338
3103f8b6 16339 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16340 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16341 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16342
0e61a35f
SM
163432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16344
16345 * window.el (bury-buffer): Don't iconify the only frame.
16346 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16347 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16348
ddd63a1e
CY
163492011-07-01 Chong Yidong <cyd@stupidchicken.com>
16350
0e61a35f
SM
16351 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16352 Add mouse-yank-primary.
ddd63a1e 16353
055f4923
TZ
163542011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16355
16356 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16357
6a2fb145
SM
163582011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16359
16360 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16361 (find-library-name): Use it to find relative load names when provided
16362 absolute file name (bug#8803).
16363
fd4983f2
LMI
163642011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16365
887d14ad
LMI
16366 * textmodes/flyspell.el (flyspell-word): Consider words that
16367 differ only in case as potential doublons (bug#5687).
16368
c53dc7fc
LMI
16369 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16370 Remove two rather uninteresting debugging-like messages to make
16371 debbugs.el more silent.
16372
fd4983f2
LMI
16373 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16374 a password-like phrase.
16375
7a71b18d 163762011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16377
16378 * progmodes/cc-guess.el: New file.
16379
6a2fb145 16380 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16381
16382 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16383 derived from `c-basic-common-init'.
16384
16385 * progmodes/cc-mode.el (top-level): Require cc-guess.
16386 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16387
1fa280a3
LM
163882011-06-30 Lawrence Mitchell <wence@gmx.li>
16389
16390 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16391
e6597158
AM
163922011-06-30 Alan Mackenzie <acm@muc.de>
16393
1fa280a3
LM
16394 * progmodes/cc-engine.el (c-guess-continued-construct):
16395 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16396 lock is disabled. Name this case as "CASE G".
16397
68ba37fb
KM
163982011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16399
16400 * allout.el (allout-yank-processing): Fix injection of extra space
16401 between bullet and non-whitespace character in first topic when
16402 pasting, ensuring that the actual spacing in the pasted topic
16403 following the bullet char is preserved. This extra space was
16404 causing pasted encrypted topics to get a decrypted status even
16405 when the content was actually still encrypted. Now the decryption
16406 status from before the paste is preserved.
16407
16408 (allout-flag-region): Set all allout overlays so they evaporate
16409 when reduced to zero length (evanescent), to prevent overlay
16410 leakage.
16411
887a0b34
GM
164122011-06-30 Glenn Morris <rgm@gnu.org>
16413
94b9acce
GM
16414 * w32-fns.el (w32-charset-info-alist): Declare.
16415
1d9b46d4
GM
16416 * find-dired.el (find-grep-options): Simplify.
16417
cc232200
GM
16418 * term/ns-win.el (ns-set-resource): Declare.
16419
28e77c46
GM
16420 * ses.el (row, col): Declare dynamic variables honestly.
16421
887a0b34
GM
16422 * textmodes/reftex-parse.el (index-tags): Declare.
16423
658d8eb8
CY
164242011-06-30 Chong Yidong <cyd@stupidchicken.com>
16425
16426 * cus-edit.el (customize-push-and-save): New function.
16427
16428 * files.el (hack-local-variables-confirm): Use it.
16429
1fa280a3
LM
16430 * custom.el (load-theme): New arg NO-CONFIRM.
16431 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16432 (custom-enabled-themes): Doc fix.
16433
16434 * cus-theme.el (customize-create-theme)
16435 (custom-theme-merge-theme): Callers to load-theme changed.
16436
bb617717
LMI
164372011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
d61bdd5d
LMI
16439 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16440 short URLs have at least one dot in them (bug #7614).
16441
bb617717
LMI
16442 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16443 nil, because using a pty is apparently too slow (bug #895).
16444
2f31f37a
LMI
164452011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16446
16447 * mail/sendmail.el (sendmail-query-once): New function.
16448 (sendmail-query-once-function): New variable.
16449
3076b24e
GM
164502011-06-29 Glenn Morris <rgm@gnu.org>
16451
faf2a174
GM
16452 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16453
3076b24e
GM
16454 * ses.el (top-level): Require cl when compiling.
16455 (ses-set-localvars): Fix error statement.
16456 Call it at compile time to silence a storm of warnings.
16457
5386012d
MR
164582011-06-29 Martin Rudalics <rudalics@gmx.at>
16459
16460 * window.el (normalize-live-buffer): Rename to
16461 window-normalize-buffer.
16462 (normalize-live-frame): Rename to window-normalize-frame.
16463 (normalize-any-window): Rename to window-normalize-any-window.
16464 (normalize-live-window): Rename to window-normalize-live-window.
16465 (make-window-atom): Rename to window-make-atom.
16466 (window-resize-reset): Rename to window--resize-reset.
16467 (window-resize-reset-1): Rename to window--resize-reset-1.
16468 (resize-mini-window): Rename to window--resize-mini-window.
16469 (resize-subwindows-skip-p): Rename to
16470 window--resize-subwindows-skip-p.
16471 (resize-subwindows-normal): Rename to
16472 window--resize-subwindows-normal.
16473 (resize-subwindows): Rename to window--resize-subwindows.
16474 (resize-other-windows): Rename to window--resize-siblings.
16475 (resize-this-window): Rename to window--resize-this-window.
16476 (resize-root-window): Rename to window--resize-root-window.
16477 (resize-root-window-vertically): Rename to
16478 window--resize-root-window-vertically.
16479 (normalize-buffer-to-display): Rename to
16480 window-normalize-buffer-to-display.
16481 (normalize-buffer-to-switch-to): Rename to
16482 window-normalize-buffer-to-switch-to.
16483 Correspondingly update all callers of the functions listed
16484 above.
16485 (display-buffer-alist, display-buffer-normalize-arguments)
16486 (display-buffer-normalize-options, display-buffer)
16487 (display-buffer-alist-set): Use "function" instead of
16488 "fun-with-args".
16489
1176868d
CY
164902011-06-28 Chong Yidong <cyd@stupidchicken.com>
16491
16492 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16493 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16494 debbugs.gnu.org. Mention acknowledgment email.
16495
20a7a65f
LMI
164962011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16497
16498 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16499 buffer multibyteness, since it shouldn't matter.
16500
5f45cca5
MR
165012011-06-28 Martin Rudalics <rudalics@gmx.at>
16502
16503 * window.el (display-buffer-in-side-window): Handle dedicated
16504 windows as in display-buffer-reuse-window.
16505 (display-buffer-normalize-alist): Use value of override
16506 specifier.
16507 (display-buffer-normalize-specifiers): Use value of
16508 other-window-means-other-frame specifier.
16509 (display-buffer-alist): Rewrite some texts in widgets.
16510 (display-buffer): Spread arguments when calling function
16511 specified by fun-with-args.
16512
ad85fe1f
DD
165132011-06-28 Deniz Dogan <deniz@dogan.se>
16514
1fa280a3
LM
16515 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16516 Unnest `let'.
da68c4c8 16517
ad85fe1f
DD
16518 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16519 selectors (Bug#5732).
ec49bd31 16520 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16521
a08cc025
JA
165222011-06-27 Jari Aalto <jari.aalto@cante.net>
16523
16524 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16525 (eshell-ls-date-format): New defcustom.
16526 (eshell-ls-file): Use it.
16527
e2b551c5
SM
165282011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16529
16530 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16531
8982b231
KY
165322011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16533
16534 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16535 (ange-ftp-make-tmp-name): New arg.
16536 (ange-ftp-file-local-copy): Use it.
16537
36c9fa27
J
165382011-06-27 Jambunathan K <kjambunathan@gmail.com>
16539
16540 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16541 no-conversion (Bug#8870).
16542
d68443dc
MR
165432011-06-27 Martin Rudalics <rudalics@gmx.at>
16544
16545 * window.el (window-right, window-left, window-child)
16546 (window-child-count, window-last-child)
16547 (window-iso-combination-p, walk-window-tree-1)
16548 (window-atom-check-1, window-tree-1, delete-window)
16549 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16550 new naming conventions - window-vchild, window-hchild,
16551 window-next and window-prev are now called window-top-child,
16552 window-left-child, window-next-sibling and window-prev-sibling
16553 respectively.
d615d6d2
MR
16554 (resize-window-reset): Rename to window-resize-reset.
16555 (resize-window-reset-1): Rename to window-resize-reset-1.
16556 (resize-window): Rename to window-resize.
16557 (window-min-height, window-min-width)
16558 (resize-mini-window, resize-this-window, resize-root-window)
16559 (resize-root-window-vertically, adjust-window-trailing-edge)
16560 (enlarge-window, shrink-window, maximize-window)
16561 (minimize-window, delete-window, quit-restore-window)
16562 (split-window, balance-windows, balance-windows-area-adjust)
16563 (balance-windows-area, window-state-put-2)
16564 (display-buffer-even-window-sizes, display-buffer-set-height)
16565 (display-buffer-set-width, set-window-text-height)
16566 (fit-window-to-buffer): Rename all "resize-window" prefixed
16567 calls to use the "window-resize" prefix convention.
16568 (display-buffer-alist): Fix symbol for label specifier.
16569 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16570 corresponding specifier.
16571 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16572
b6458526
VB
165732011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16574
16575 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16576 convention.
16577 (ses-call-printer): Does not pass an empty string to formatter when the
16578 cell is empty to keep from barking printer Calc math-format-value.
16579
d31fd9ac
RS
165802011-06-27 Richard Stallman <rms@gnu.org>
16581
43d5bf84
RS
16582 * battery.el (battery-mode-line-limit): New variable.
16583 (battery-update): Handle it.
16584
d31fd9ac
RS
16585 * mail/rmailmm.el (rmail-mime-process-multipart):
16586 Handle truncated messages.
16587
819a6054
GM
165882011-06-27 Glenn Morris <rgm@gnu.org>
16589
16590 * progmodes/flymake.el (flymake-err-line-patterns):
16591 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16592
cedc73f2
VB
165932011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16594
819a6054 16595 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16596 (ses--clean-!, ses--clean-_): New functions.
16597 (ses-range): Add configurability of readout order, and conversion
16598 to Calc vector.
16599
5e5d49b6
VB
16600 * ses.el (ses-repair-cell-reference-all): New function.
16601 (ses-cell-symbol): Set macro as safe, so that it can be used in
16602 formulas.
16603
56e6cc31 16604 * ses.el: Update cycle detection algorithm.
90ca8b49 16605 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16606 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16607 (ses-set-localvars): New function.
16608 (ses-make-cell): Add property-list as a cell element.
16609 (ses-cell-property-get-fun, ses-cell-property-get)
16610 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16611 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16612 New functions.
90ca8b49
VB
16613 (ses-cell-property-set, ses-cell-property-pop)
16614 (ses-cell-property-get-handle): New macro.
16615 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16616 New aliases, used for code readability.
16617 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16618 cycle detection.
16619 (ses-self-reference-early-detection): New defcustom.
fac916bf 16620 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16621 (ses-mode): Use ses-set-localvars.
16622 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16623 before lauching the update processing.
16624 (ses-initialize-Dijkstra-attempt): New function.
16625 (ses-recalculate-cell): Update for cycle detection based on
16626 Dijkstra algorithm.
16627
2bb63e81
VB
16628 * ses.el: Fix commenting and indenting convention.
16629
c9d29fb8
SM
166302011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16631
16632 * bs.el (bs-cycle-next): Complete last change.
16633
d8e4b68b
JB
166342011-06-27 Drew Adams <drew.adams@oracle.com>
16635
16636 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16637
40098786
LMI
166382011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16639
c9d29fb8
SM
16640 * net/network-stream.el (network-stream-open-starttls):
16641 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16642 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16643
40098786
LMI
16644 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16645 to binary to possibly avoid line encoding issues on Windows (among
16646 other things).
16647
468d09d4
LMI
166482011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16649
16650 * net/network-stream.el (open-network-stream): Return an :error
16651 saying what the problem was, if possible.
16652
16653 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16654 server.
16655
16656 * net/network-stream.el (network-stream-open-starttls): If we
16657 wanted to use STARTTLS, and the server offered it, but we weren't
16658 able to because we had no STARTTLS support, then close the connection.
16659 (open-network-stream): Return an :error element, if present.
16660
16f07dd7
CY
166612011-06-26 Chong Yidong <cyd@stupidchicken.com>
16662
88821ca0
CY
16663 * hl-line.el (hl-line-sticky-flag): Doc fix.
16664 (global-hl-line-sticky-flag): New option (Bug#8323).
16665 (global-hl-line-highlight): Obey it.
16666
16f07dd7
CY
16667 * vc/vc.el (vc-revert-show-diff): Default to t.
16668
6b5ccddf
KM
166692011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16670
c9d29fb8
SM
16671 * allout-widgets.el (allout-widgets-post-command-business):
16672 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16673 undecorated when an isearch is continued past, and isearch
16674 automatically collapses them. This leads to "widget leaks", where
16675 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16676 hidden widgets can slow down cursor travel, substantially.
16677 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16678 so we're doing without this nicety.
16679
16680 (allout-widgets-tally-string): Don't try to do a hash-table-count
16681 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16682 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16683 *Messages* when allout-widgets-maintain-tally is t.
16684
355f2e07
MR
166852011-06-26 Martin Rudalics <rudalics@gmx.at>
16686
16687 * window.el (display-buffer-normalize-argument): Rename to
16688 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16689 LABEL argument. Respect special-display-function when popping up
16690 a new frame. Fix code searching for a window showing the buffer
16691 on another frame.
c9d29fb8
SM
16692 (display-buffer-normalize-specifiers):
16693 Call display-buffer-normalize-arguments.
355f2e07
MR
16694 (display-buffer-in-window): Don't undedicate the window if its
16695 buffer remains the same.
16696 Reported by Drew Adams <drew.adams@oracle.com>.
16697 (display-buffer-alist): Add choice for same-window macro
16698 specfier.
16699 (display-buffer): Mention special meaning of LABEL argument in
16700 doc-string. Fix quoting. Don't pop up a new frame even as
16701 fallback.
16702
7ca8fc42
JB
167032011-06-26 Juanma Barranquero <lekktu@gmail.com>
16704
16705 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16706 avoid deleting the current window in some cases (bug#8911).
16707
bc312254
AS
167082011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16709
16710 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16711 (Bug#8934)
16712
2db18f3f
LMI
167132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16714
c9d29fb8
SM
16715 * net/network-stream.el (network-stream-open-starttls):
16716 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16717 (network-stream-open-tls): Ditto.
16718
6302e0d3
LL
167192011-06-26 Leo Liu <sdl.web@gmail.com>
16720
16721 * register.el (registerv): New struct.
16722 (registerv-make): New function.
c9d29fb8
SM
16723 (jump-to-register, describe-register-1, insert-register):
16724 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16725 struct. (Bug#8415)
16726
5fdd4046
CY
167272011-06-26 Chong Yidong <cyd@stupidchicken.com>
16728
2afef60a
CY
16729 * vc/vc.el (vc-revert-show-diff): New defcustom.
16730 (vc-diff-internal): New arg specifying diff buffer.
16731 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16732 reuse an existing *vc-diff* buffer (Bug#8927).
16733
5fdd4046
CY
16734 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16735
e93db24a
GM
167362011-06-26 Glenn Morris <rgm@gnu.org>
16737
16738 * progmodes/f90.el (f90-critical-indent): New option.
16739 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16740 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16741 (f90-mode): Doc fix.
16742 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16743 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16744 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16745 (f90-match-end): Handle block, critical.
16746
eefff499
GM
167472011-06-25 Glenn Morris <rgm@gnu.org>
16748
f6ba4cc9
GM
16749 * calendar/diary-lib.el (diary-included-files): Doc fix.
16750 (diary-include-files): New function, extracted from
16751 diary-include-other-diary-files and diary-mark-included-diary-files.
16752 (diary-include-other-diary-files, diary-mark-included-diary-files):
16753 Just call diary-include-files.
16754 (diary-mark-entries): Reset diary-included-files on first call.
16755
16712304
GM
16756 * calendar/diary-lib.el (diary-mark-entries)
16757 (diary-mark-included-diary-files):
16758 Visit included diary-files in temp buffers.
16759
5d8e0d43
GM
16760 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16761 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16762 (f90-start-block-re, f90-imenu-generic-expression)
16763 (f90-looking-at-program-block-start, f90-no-block-limit):
16764 Add support for submodules.
16765
ccf7a5d5
GM
16766 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16767 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16768
11fdef7d 167692011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16770
16771 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16772 buffer-file-type before setting its value, to avoid disastrous
eefff499 16773 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16774
74f53697
JB
167752011-06-25 Juanma Barranquero <lekktu@gmail.com>
16776
16777 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16778
16779 * ses.el (ses-unload-function):
16780 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16781
16782 * proced.el (proced-unload-function):
16783 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16784
18a4ce5e
AR
167852011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16786
16787 * server.el (server-create-window-system-frame): Add parameters arg.
16788 (server-process-filter): Doc fix. Handle frame-parameters.
16789
519d22cc
JB
167902011-06-25 Juanma Barranquero <lekktu@gmail.com>
16791
16792 Fix bug#8730, bug#8781.
16793
16794 * loadhist.el (unload--set-major-mode): New function.
16795 (unload-feature): Use it.
16796
16797 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16798 (python-unload-function): New function.
16799
c206f5b0
SM
168002011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16801
16802 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16803
f9ad64f3
GS
168042011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16805
16806 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16807 the candidates list.
16808
7d0da90e
JB
168092011-06-24 Juanma Barranquero <lekktu@gmail.com>
16810
16811 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16812
14b4e83d
RS
168132011-06-23 Richard Stallman <rms@gnu.org>
16814
16815 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16816 (rmail-variables): Set next-error-move-function.
16817 (rmail-what-message): Take argument POS.
16818 (rmail-next-error-move): New function.
16819
273d2baf
SM
168202011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16821
16822 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16823 messages for adjacent non-terminals.
16824
56c2cc9a
RS
168252011-06-23 Richard Stallman <rms@gnu.org>
16826
16827 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16828 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16829 (rmail-start-mail): Don't specify use of rmail-mail-return;
16830 that's done by mail-bury now.
16831 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16832
d59eb518
MA
168332011-06-23 Michael Albinus <michael.albinus@gmx.de>
16834
16835 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16836 SIZE is a number.
16837
02cfc6d6
MR
168382011-06-23 Martin Rudalics <rudalics@gmx.at>
16839
16840 * window.el (get-lru-window, get-mru-window)
16841 (get-largest-window): Never return a minibuffer window.
16842 (display-buffer-pop-up-window): Fix a bug that could lead to
16843 reusing the minibuffer window.
16844 (display-buffer): Pass original specifier argument to
16845 display-buffer-function instead of the normalized one.
16846 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16847
4e323265
LL
168482011-06-22 Leo Liu <sdl.web@gmail.com>
16849
16850 * minibuffer.el (completing-read-function)
1f9f395d 16851 (completing-read-default): Move from minibuf.c.
4e323265 16852
7a70468f
RS
168532011-06-22 Richard Stallman <rms@gnu.org>
16854
50718fc2
RS
16855 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16856 to Rmail even if not started by a special Rmail command.
16857
7a70468f
RS
16858 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16859 Copy the buffer currently showing just one message.
16860
297dde5a
RW
168612011-06-22 Roland Winkler <winkler@gnu.org>
16862
16863 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16864 (bibtex-clean-entry): First delete the old key so that a
16865 customized algorithm for generating the new key does not get
16866 confused by the old key.
16867 (bibtex-url): Obey regexp of first step.
16868 (bibtex-search-entries): Do not use add-to-list with local
16869 list-var.
16870
97bb1093
LMI
168712011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16872
16873 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16874 stored a user name, then query for the password first, instead of
16875 waiting for SMTP to give an error message and the trying again.
16876
1c0f1a19
JD
168772011-06-22 Lawrence Mitchell <wence@gmx.li>
16878
16879 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16880 BUFFER in call-process.
16881
396f7c9d
LMI
168822011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16883
16884 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16885 QUIT twice.
ddb7ffee
LMI
16886 (smtpmail-try-auth-methods): Require user name and password from
16887 auth-source.
396f7c9d 16888
8998d1b3
MR
168892011-06-22 Martin Rudalics <rudalics@gmx.at>
16890
16891 * window.el (display-buffer-default-specifiers)
16892 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16893 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16894 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16895
16896 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16897 (special-display-frame-alist, special-display-popup-frame):
16898 Remove duplicate declarations. These are now in window.el.
16899
4ea31e07
LMI
169002011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16901
c9d29fb8
SM
16902 * mail/smtpmail.el (smtpmail-via-smtp):
16903 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16904 server supports it. SMTP servers that support STARTTLS commonly
16905 require it.
16906
16907 * net/network-stream.el (network-stream-open-starttls): Support
16908 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16909 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16910
95f41d9a
LMI
16911 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16912 upgrades with `open-network-stream', and rely solely on
16913 auth-source for all credentials. Big changes throughout the file,
16914 but in particular:
c9d29fb8
SM
16915 (smtpmail-auth-credentials): Remove.
16916 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16917 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16918 MAIL FROM, too.
95f41d9a 16919
c9d29fb8
SM
16920 * net/network-stream.el (network-stream-open-starttls):
16921 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16922 STARTTLS.
16923 (auth-source): Require.
16924 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16925 (network-stream-certificate): Change cert-cert to cert and
16926 cert-key to key.
4ea31e07 16927
065ec2c7
MA
169282011-06-21 Michael Albinus <michael.albinus@gmx.de>
16929
16930 * net/tramp-cache.el (top): Don't load the persistency file when
16931 "emacs -Q" has been called.
16932
cd93b359
DR
169332011-06-21 Tim Harper <timcharper@gmail.com>
16934
d8e4b68b
JB
16935 * term/ns-win.el (ns-initialize-window-system):
16936 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16937 resource to NO as it is not yet supported by the NS port.
16938
ae9c0411
JB
169392011-06-21 Juanma Barranquero <lekktu@gmail.com>
16940
16941 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16942 (list-dynamic-libraries): ...not here.
16943
7f3f739f
LL
169442011-06-21 Leo Liu <sdl.web@gmail.com>
16945
16946 * subr.el (sha1): Implement sha1 using secure-hash.
16947
327c8fb1
MR
169482011-06-21 Martin Rudalics <rudalics@gmx.at>
16949
16950 * window.el (display-buffer-alist): In default value do not
16951 enforce searching a window on any but the selected frame.
16952 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16953 (display-buffer-select-window): Remove function.
16954 (display-buffer-in-window): When a window on another frame gets
16955 reused, do not select it any more but just raise its frame if
16956 necessary (Bug#8851) and (Bug#8856).
16957 (display-buffer-normalize-options): Handle pop-up-frames related
16958 options more faithfully.
16959 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16960 window if it is on another frame.
c9d29fb8
SM
16961 (display-buffer-alist, display-buffer-default-specifiers):
16962 Don't make new frame unsplittable by default.
9e9de014
MR
16963 (display-buffer-normalize-argument): Fix doc-string typo and use
16964 'same-frame-other-window instead of 'other-window when associating
16965 with display-buffer-macro-specifiers.
327c8fb1 16966
7cf3f556
VB
169672011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16968
16969 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16970 New functions.
16971 (5x5-mode-map, 5x5-mode-menu): Bind them.
16972 (5x5-draw-grid): Tweak the solver's rendering.
16973
60a406cf
SM
169742011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16975
16976 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16977 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16978
d8e4b68b 169792011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16980
16981 * menu-bar.el: Use function variable instead of switch-to-buffer.
16982 (menu-bar-select-buffer-function): New variable.
60a406cf 16983 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16984
478d6f95
SM
169852011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16986
16987 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16988 variable's status.
16989
ca530739
JD
169902011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16991
16992 * x-dnd.el (x-dnd-version-from-flags)
16993 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16994 and long as number (Bug#8899).
16995 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16996
bcd70d97
SM
169972011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16998
60a406cf 16999 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17000 (completion-try-completion, completion-all-completions): Compute the
17001 metadata argument if it's missing; make it optional (bug#8795).
17002
60a406cf 17003 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17004 (widget-complete): Use new :completion-function property.
17005 (widget-completions-at-point): New function.
17006 (default): Use :completion-function instead of :complete.
60a406cf
SM
17007 (widget-default-completions): Rename from widget-default-complete;
17008 Rewrite.
bcd70d97
SM
17009 (widget-string-complete, widget-file-complete, widget-color-complete):
17010 Remove functions.
17011 (file, symbol, function, variable, coding-system, color):
17012 * international/mule-cmds.el (default-input-method, charset)
17013 (language-info-custom-alist):
17014 * cus-edit.el (face): Use new property :completions.
17015
17016 * progmodes/pascal.el (pascal-completions-at-point): New function.
17017 (pascal-mode): Use it.
17018 (pascal-mode-map): Use completion-at-point.
17019 (pascal-toggle-completions): Make obsolete.
17020 (pascal-complete-word, pascal-show-completions):
17021 * progmodes/octave-mod.el (octave-complete-symbol):
17022 Redefine as obsolete alias.
17023 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17024 Signal absence of completion info for old Octave,
17025 (inferior-octave-complete): Redefine as obsolete alias.
17026 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17027 (meta-completions-at-point): Rename from meta-complete-symbol and
17028 adapt it for use on completion-at-point-functions.
17029 (meta-common-mode): Use it.
17030 (meta-looking-at-backward, meta-match-buffer): Remove.
17031 (meta-complete-symbol): Redefine as obsolete alias.
17032 (meta-common-mode-map): Use completion-at-point.
17033 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17034 (makefile-mode-map): Use completion-at-point.
17035 (makefile-completions-at-point): Rename from makefile-complete and
17036 adapt it for use on completion-at-point-functions.
17037 (makefile-mode): Use it.
17038 (makefile-complete): Redefine as obsolete alias.
17039
aebf69c8
DD
170402011-06-20 Deniz Dogan <deniz@dogan.se>
17041
17042 * net/rcirc.el: Delete trailing whitespaces once and for all.
17043
bfbbb27d
DC
170442011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17045
17046 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17047
d264a46b
CY
170482011-06-19 Chong Yidong <cyd@stupidchicken.com>
17049
4ca009e5
CY
17050 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17051
d264a46b
CY
17052 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17053
fbf5b3ce
MR
170542011-06-19 Martin Rudalics <rudalics@gmx.at>
17055
17056 * window.el (display-buffer-other-window-means-other-frame):
17057 Call display-buffer-normalize-alist.
17058 (display-buffer-normalize-specifiers-1): Rename to
17059 display-buffer-normalize-argument. New argument other-frame.
17060 Rewrite.
17061 (display-buffer-normalize-specifiers-2): Rename to
17062 display-buffer-normalize-options.
17063 (display-buffer-normalize-alist-1): New function.
17064 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17065 display-buffer-normalize-alist.
17066 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17067 (display-buffer-normalize-options-inhibit): New variable.
17068 (display-buffer-normalize-specifiers): Rewrite calling
17069 display-buffer-normalize-alist,
17070 display-buffer-normalize-argument, and
17071 display-buffer-normalize-options. Don't call the latter if
17072 display-buffer-normalize-options-inhibit is non-nil.
17073 (frame-auto-delete): New option.
17074 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17075 (window-list-no-nils, window-state-ignored-parameters)
17076 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17077 (window-state-put-1, window-state-put-2, window-state-put):
17078 New functions.
9a028c23
MR
17079 (display-buffer-normalize-options): Move special-display-p group
17080 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17081
6d10d800
CY
170822011-06-18 Chong Yidong <cyd@stupidchicken.com>
17083
6420d28b
CY
17084 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17085 groups (Bug#8776).
17086 (rx-submatch-n): New function.
17087 (rx): Document it.
17088
ddb8b596
CY
17089 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17090 (Bug#8768).
17091
17092 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17093
77080289
CY
17094 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17095
61dfb316
CY
17096 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17097 anytime existing face settings are present (Bug#8889).
17098
6d10d800
CY
17099 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17100 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17101 Remove unused argument.
17102
be3fb2b8
MR
171032011-06-18 Martin Rudalics <rudalics@gmx.at>
17104
bcd70d97
SM
17105 * window.el (display-buffer-default-specifiers):
17106 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17107 pop-up-window-min-width, and another reuse-window specifier
17108 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17109 (display-buffer-normalize-specifiers-2):
17110 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17111 pop-up-windows is unset. Add a reuse-window specifier for the
17112 case popping up a new window fails.
17113 (special-display-popup-frame): Remove double quoting.
28dec25a 17114 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17115
1c6d8c76
SM
171162011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17117
17118 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17119 according to comint-completion-addsuffix.
17120
17121 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17122 (pcomplete-suffix-list): Mark as obsolete.
17123 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17124 pcomplete-seen in the closure.
17125 (pcomplete-comint-setup): Setup completion-at-point as well.
17126 (pcomplete--entries): New function.
17127 (pcomplete--env-regexp): New var.
17128 (pcomplete-entries): Rewrite to work with partial-completion and
17129 without relying on pcomplete-suffix-list.
17130 (pcomplete-pare-list): Remove, unused.
17131
25aef8b8
MR
171322011-06-17 Martin Rudalics <rudalics@gmx.at>
17133
17134 * window.el (display-buffer-alist): Set pop-up-window-min-height
17135 and pop-up-window-min-width in default value. Reported by
17136 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17137 other-window-means-other-frame.
17138 (display-buffer-macro-specifiers): Comment out entry for
17139 other-window specifier.
17140 (display-buffer-other-window-means-other-frame): New function.
17141 (display-buffer-normalize-specifiers-1): New arguments
17142 buffer-name and label. Treat other-window case specially.
17143 (display-buffer-normalize-specifiers-2): Treat other-window case
17144 specially.
17145 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17146 (display-buffer-normalize-specifiers):
17147 Call display-buffer-normalize-specifiers-3.
25aef8b8 17148
dbad4f69
MR
171492011-06-17 Martin Rudalics <rudalics@gmx.at>
17150
17151 * window.el (same-window-p): Fix two typos introduced when
17152 adding with-no-warnings.
d1067961
MR
17153 (display-buffer-normalize-specifiers-1): Don't check
17154 pop-up-frames for 'unset initialization.
17155 (display-buffer-normalize-specifiers-2): Major rewrite using
17156 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17157 (pop-up-frames, display-buffer-reuse-frames)
17158 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17159 Suggested by David Engster <deng@randomsample.de>.
17160 (even-window-heights): Initialize to 'unset.
17161 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17162 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17163 other window case.
dbad4f69 17164
9b9c9e3a
MR
171652011-06-16 Martin Rudalics <rudalics@gmx.at>
17166
bcd70d97
SM
17167 * window.el (display-buffer-normalize-specifiers-1):
17168 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17169 second argument of display-buffer (Bug#8865).
981d5c09
MR
17170 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17171 (switch-to-buffer-other-window-same-frame)
17172 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17173 Adams (Bug#8875).
9c2755e9
MR
17174 (display-buffer): Don't check noninteractive when calling
17175 display-buffer-pop-up-frame.
17176 (display-buffer-pop-up-frame): Never pop up a frame in
17177 noninteractive mode (Bug#8857).
67222e1d
MR
17178 (enlarge-window, shrink-window): Don't report an error when the
17179 window can't be resized as requested (Bug#8862).
9b9c9e3a 17180
2b75be67
SM
171812011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17182
9ffdd3ba
SM
17183 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17184
cb581a67
SM
17185 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17186
2b75be67
SM
17187 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17188
8c0e3589
AM
171892011-06-15 Alan Mackenzie <acm@muc.de>
17190
cb581a67
SM
17191 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17192 for declarators, disable knr checking to speed up for normal files.
17193 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17194
b96e6cde
LMI
171952011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17196
4bba86e6
LMI
17197 * net/network-stream.el (open-network-stream): Add the keyword
17198 :always-query-capabilities for the case where you want to force a
17199 `plain' network connection, but the protocol still requires the
17200 capabilitiy command (i.e., SMTP and EHLO).
17201
2b75be67 17202 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17203 consistency with other `-live-p' functions.
17204
efdcdbf8
SM
172052011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17206
17207 * window.el (same-window-buffer-names, same-window-regexps)
17208 (special-display-frame-alist, special-display-popup-frame)
17209 (special-display-function, special-display-buffer-names)
17210 (special-display-regexps, pop-up-frame-alist)
17211 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17212 (pop-up-windows, split-window-preferred-function)
17213 (split-height-threshold, split-width-threshold, even-window-heights)
17214 (display-buffer-mark-dedicated): Don't encourage the use of
17215 display-buffer-alist from Elisp code.
17216
c5cde042
DN
172172011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17218
17219 * progmodes/python.el (python-mode): Derive from prog-mode.
17220 * progmodes/ps-mode.el (ps-mode):
17221 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17222 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17223 * progmodes/ld-script.el (ld-script-mode): Likewise.
17224
baa1c9ab
MR
172252011-06-15 Martin Rudalics <rudalics@gmx.at>
17226
17227 * window.el (display-buffer-alist): Trim default value to avoid
17228 popping up a new frame (Bug#8857) or reusing an arbitrary window
17229 on another frame.
17230 (display-buffer): Do not fall back on popping up a new frame in
17231 batch mode (Bug#8857).
17232
c5dd5a51
CY
172332011-06-14 Chong Yidong <cyd@stupidchicken.com>
17234
17235 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17236 (custom-theme-summary): New function.
17237 (customize-themes): Use it.
17238
d647b7c4
GM
172392011-06-13 Glenn Morris <rgm@gnu.org>
17240
17241 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17242
9481c002
MR
172432011-06-13 Martin Rudalics <rudalics@gmx.at>
17244
357f93d2
MR
17245 * help.el (help-window): Remove variable.
17246 (help-window-point-marker, temp-buffer-max-height)
17247 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17248 (help-print-return-message): Don't set help-window.
17249 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17250 (help-window-setup-finish): Remove.
17251 (help-window-display-message, help-window-setup)
17252 (with-help-window): Major rewrite based on new
17253 display-buffer-window variable.
17254
17255 * help-mode.el (help-mode-finish): Remove help-window related
17256 code.
17257
17258 * view.el (view-exits-all-viewing-windows): Remove reference to
17259 view-return-to-alist in doc-string.
17260 (view-return-to-alist): Make obsolete.
17261 (view-buffer): Call pop-to-buffer-same-window and remove
17262 undo-window code.
17263 (view-buffer-other-window): Call pop-to-buffer-other-window and
17264 simplify code. Ignore second argument.
17265 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17266 simplify code. Ignore second argument.
17267 (view-return-to-alist-update): Make obsolete.
17268 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17269 Rewrite using quit-restore window parameters.
2b75be67
SM
17270 (view-mode-exit): Rename second argument to EXIT-ONLY.
17271 Rewrite using quit-restore-window.
357f93d2
MR
17272 (View-exit, View-exit-and-edit, View-leave, View-quit)
17273 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17274 appropriate arguments.
17275 (view-end-message): Use quit-restore window parameter.
17276
9481c002
MR
17277 * window.el (display-buffer-function): Rewrite doc-string.
17278 (display-buffer-window, display-buffer-alist): New variables.
17279 (display-buffer-split-specifiers)
17280 (display-buffer-side-specifiers)
17281 (display-buffer-macro-specifiers): New constants.
17282 (display-buffer-even-window-sizes, display-buffer-set-height)
17283 (display-buffer-set-width, display-buffer-select-window)
17284 (display-buffer-in-window, display-buffer-reuse-window)
17285 (display-buffer-split-window-1, display-buffer-split-window)
17286 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17287 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17288 (display-buffer-in-side-window, normalize-buffer-to-display)
17289 (display-buffer-normalize-specifiers-1)
17290 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17291 (display-buffer-normalize-specifiers, display-buffer-frame):
17292 New functions.
9481c002
MR
17293 (display-buffer): Major rewrite.
17294 (display-buffer-other-window, display-buffer-other-frame)
17295 (pop-to-buffer, switch-to-buffer-other-window)
17296 (switch-to-buffer-other-frame): Rewrite.
17297 (display-buffer-same-window, display-buffer-same-frame)
17298 (display-buffer-same-frame-other-window)
17299 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17300 (pop-to-buffer-other-window)
17301 (pop-to-buffer-same-frame-other-window)
17302 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17303 (switch-to-buffer-other-window-same-frame): New functions.
17304 (same-window-p, special-display-p): Rewrite disabling warnings.
17305 Make obsolete.
17306 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17307 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17308 Make obsolete
17309 (same-window-buffer-names, same-window-regexps)
17310 (special-display-frame-alist, special-display-popup-frame)
17311 (special-display-function, special-display-buffer-names)
17312 (special-display-regexps, pop-up-frame-alist)
17313 (pop-up-frame-function, split-window-preferred-function)
17314 (split-height-threshold, split-width-threshold)
17315 (even-window-heights): Make obsolete.
17316
9db51aca
GM
173172011-06-12 Glenn Morris <rgm@gnu.org>
17318
17319 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17320 Misc simplifications.
9db51aca 17321
39cffb44
MR
173222011-06-12 Martin Rudalics <rudalics@gmx.at>
17323
17324 * window.el (window-safely-shrinkable-p): Restore function which
17325 was inadvertently removed in change from 2011-06-11. Declare as
17326 obsolete.
17327
2b75be67
SM
17328 * calendar/calendar.el (calendar-generate-window):
17329 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17330 window-safely-shrinkable-p.
17331
a8955be7
GM
173322011-06-12 Glenn Morris <rgm@gnu.org>
17333
17334 * progmodes/fortran.el (fortran-mode-syntax-table):
17335 * progmodes/f90.el (f90-mode-syntax-table):
17336 Set % to punctuation. (Bug#8820)
17337 (f90-find-tag-default): Remove, no longer needed.
17338
f0d4059d
DC
173392011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17340
17341 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17342
1100a63c
CY
173432011-06-11 Chong Yidong <cyd@stupidchicken.com>
17344
17345 * image.el (image-animated-p): Return animation delay in seconds.
17346 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17347 (image-animate-timeout): Remove DELAY argument. Don't assume
17348 every subimage has the same delay; get it from image-animated-p.
17349 (image-animate): Caller changed.
17350
def722bf
MA
173512011-06-11 Michael Albinus <michael.albinus@gmx.de>
17352
17353 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17354 to ignored backtrace functions.
17355
0a2bb1a9
GM
173562011-06-11 Glenn Morris <rgm@gnu.org>
17357
17358 * calendar/appt.el (appt-disp-window-function): Doc fix.
17359 (appt-check): Handle overlapping appointments. (Bug#8337)
17360
6198ccd0
MR
173612011-06-11 Martin Rudalics <rudalics@gmx.at>
17362
17363 * window.el (window-tree-1, window-tree): New functions, moving
17364 the latter to window.el.
17365 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17366 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17367 (bw-refresh-edges): Remove.
17368 (balance-windows-1, balance-windows-2): New functions.
17369 (balance-windows): Rewrite in terms of window tree functions,
17370 balance-windows-1 and balance-windows-2.
17371 (bw-adjust-window): Remove.
17372 (balance-windows-area-adjust): New function with functionality of
17373 bw-adjust-window but using resize-window.
2b75be67
SM
17374 (set-window-text-height): Rewrite doc-string.
17375 Use normalize-live-window and resize-window.
17376 (enlarge-window-horizontally, shrink-window-horizontally):
17377 Rename argument to DELTA.
6198ccd0
MR
17378 (window-buffer-height): New function.
17379 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17380 Rewrite using new window resize routines.
2b75be67
SM
17381 (kill-buffer-and-window, mouse-autoselect-window-select):
17382 Use ignore-errors instead of condition-case.
6198ccd0
MR
17383 (quit-window): Call delete-frame instead of delete-windows-on
17384 for the only buffer on frame.
17385
9397e56f
MR
173862011-06-10 Martin Rudalics <rudalics@gmx.at>
17387
17388 * loadup.el (top-level): Load window before files for the sake
17389 of replace-buffer-in-windows.
17390
17391 * files.el (read-buffer-to-switch)
17392 (switch-to-buffer-other-window)
2b75be67
SM
17393 (switch-to-buffer-other-frame, display-buffer-other-frame):
17394 Move to window.el.
9397e56f
MR
17395
17396 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17397 (previous-buffer): Move to window.el.
17398
17399 * bindings.el (unbury-buffer): Move to window.el.
17400
17401 * window.el (delete-other-windows-vertically): Move after
17402 definition of delete-other-windows.
17403 (other-window, delete-windows-on, replace-buffer-in-windows):
17404 Move here from window.c.
17405 (record-window-buffer, unrecord-window-buffer)
17406 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17407 (switch-to-next-buffer): New functions.
17408 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17409 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17410 (previous-buffer): Move here from simple.el.
17411 Call switch-to-prev-buffer.
9397e56f
MR
17412 (bury-buffer): Move here from buffer.c. Switch to previous
17413 buffer when window cannot be deleted.
17414 (unbury-buffer): Move here from bindings.el.
17415 (ctl-x-map): Move binding for other-window from window.c to
17416 here.
17417 (read-buffer-to-switch, switch-to-buffer-other-window)
17418 (switch-to-buffer-other-frame): Move here from files.el.
17419 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17420 (switch-to-buffer): Move here from buffer.c.
17421 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17422
562dd5e9
MR
174232011-06-10 Martin Rudalics <rudalics@gmx.at>
17424
17425 * window.el (window-min-height, window-min-width): Move here
17426 from window.c. Add defcustoms and rewrite doc-strings.
17427 (resize-mini-window, resize-window): New functions.
17428 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17429 Move here from window.c.
17430 (maximize-window, minimize-window): New functions.
17431 (delete-window, delete-other-windows, split-window): Move here
17432 from window.c.
17433 (window-split-min-size): New function.
17434 (split-window-keep-point): Mention split-window-above-each-other
17435 instead of split-window-vertically.
2b75be67 17436 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17437 Rename split-window-vertically to split-window-above-each-other
17438 and provide defalias for old definition.
17439 (split-window-side-by-side, split-window-horizontally):
17440 Rename split-window-horizontally to split-window-side-by-side
17441 and provide defalias for the old definition.
562dd5e9
MR
17442 (ctl-x-map): Move bindings for delete-window,
17443 delete-other-windows and enlarge-window here from window.c.
17444 Replace bindings for split-window-vertically and
17445 split-window-horizontally by bindings for
17446 split-window-above-each-other and split-window-side-by-side.
17447
17448 * cus-start.el (all): Remove entries for window-min-height and
17449 window-min-width. Add entries for window-splits and
17450 window-nest.
17451
f0da764a
GM
174522011-06-09 Glenn Morris <rgm@gnu.org>
17453
80675c21
GM
17454 * calendar/appt.el (appt-mode-line): New function.
17455 (appt-check, appt-disp-window): Use it.
17456
f0da764a
GM
17457 * files.el (hack-one-local-variable-eval-safep):
17458 Allow minor-modes with explicit +/-1 arguments.
17459
59f623b7
TZ
174602011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17461
17462 * term/xterm.el (xterm): Add defgroup.
17463 (xterm-extra-capabilities): Add defcustom to supply known xterm
17464 capabilities, skip querying them, or query them (default).
17465 (terminal-init-xterm): Use it.
17466 (terminal-init-xterm-modify-other-keys): New function to set up
17467 modifyOtherKeys support to simplify `terminal-init-xterm'.
17468
9aab8e0d
MR
174692011-06-09 Martin Rudalics <rudalics@gmx.at>
17470
17471 * window.el (resize-window-reset, resize-window-reset-1)
17472 (resize-subwindows-skip-p, resize-subwindows-normal)
17473 (resize-subwindows, resize-other-windows, resize-this-window)
17474 (resize-root-window, resize-root-window-vertically)
17475 (window-deletable-p, window-or-subwindow-p)
17476 (frame-root-window-p): New functions.
17477
e8b08aee
GM
174782011-06-09 Glenn Morris <rgm@gnu.org>
17479
17480 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17481 (ange-ftp-get-files): Use it.
17482
254c37a5
AK
174832011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17484
17485 * mail/sendmail.el (mail-recover-1, mail-recover):
17486 * files.el (recover-file, recover-session):
17487 Handle dired-listing-switches not being just a single short option.
17488
35d7dbd3
GM
174892011-06-09 Glenn Morris <rgm@gnu.org>
17490
17491 * calendar/appt.el (appt-display-message, appt-disp-window):
17492 Handle lists of appointments.
17493
387522b2
MR
174942011-06-08 Martin Rudalics <rudalics@gmx.at>
17495
2b75be67
SM
17496 * window.el (one-window-p): Move down in code.
17497 Rewrite doc-string.
17498 (window-current-scroll-bars): Rewrite doc-string.
17499 Normalize live window argument.
387522b2
MR
17500 (walk-windows, get-window-with-predicate, count-windows):
17501 Rewrite doc-string. Use window-list-1.
17502 (window-in-direction-2, window-in-direction, get-mru-window):
17503 New functions.
17504
d8e4b68b 175052011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17506
17507 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17508 Doc fix (Bug#8713).
17509
175102011-06-08 Chong Yidong <cyd@stupidchicken.com>
17511
17512 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17513
175142011-06-08 Juanma Barranquero <lekktu@gmail.com>
17515
17516 * loadhist.el (unload-feature-special-hooks):
17517 Add `comint-output-filter-functions'.
17518
0de12c52
IK
175192011-06-08 Ivan Kanis <gnu@kanis.fr>
17520
17521 * calendar/appt.el (appt-check): Move some initializations into the let.
17522
f3d1777e
MR
175232011-06-08 Martin Rudalics <rudalics@gmx.at>
17524
17525 * window.el (window-height): Defalias to window-total-height.
17526 (window-width): Defalias to window-body-width.
17527
18af70d0
CY
175282011-06-07 Chong Yidong <cyd@stupidchicken.com>
17529
17530 * image-mode.el (image-toggle-animation): New command.
17531 (image-mode-map): Bind it to RET.
17532 (image-mode): Update message.
17533 (image-toggle-display-image): Avoid a spurious cache flush.
17534 (image-transform-rotation): Doc fix.
17535 (image-transform-properties): Return quickly in the normal case.
17536 (image-animate-loop): Rename from image-animate-max-time.
17537
2b75be67 17538 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17539 (create-animated-image): Remove unnecessary function.
17540 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17541 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17542 (image-animate-timer): Use car-safe.
17543 (image-animate-timeout): Rename argument.
17544
190b47e6
MR
175452011-06-07 Martin Rudalics <rudalics@gmx.at>
17546
17547 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17548 window.c. Rename first argument to ALL-FRAMES.
17549 Rephrase doc-strings.
17550 (get-buffer-window-list): Rewrite using window-list-1.
17551 Rephrase doc-string.
a1511caf
MR
17552 (window-safe-min-height, window-safe-min-width): New constants.
17553 (window-size-ignore, window-min-size, window-min-size-1)
17554 (window-sizable, window-sizable-p, window-size-fixed-1)
17555 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17556 (window-max-delta-1, window-max-delta, window-resizable)
17557 (window-resizable-p, window-total-height, window-total-width)
17558 (window-body-width): New functions.
17559 (window-full-height-p, window-full-width-p): Rewrite using
17560 window-total-size.
17561 (window-body-height): Rewrite using window-body-size.
190b47e6 17562
85cc1f11
MR
175632011-06-06 Martin Rudalics <rudalics@gmx.at>
17564
17565 * window.el (window-right, window-left, window-child)
17566 (window-child-count, window-last-child, window-any-p)
17567 (normalize-live-buffer, normalize-live-frame)
17568 (normalize-any-window, normalize-live-window)
17569 (window-iso-combination-p, window-iso-combined-p)
17570 (window-iso-combinations)
17571 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17572 (windows-with-parameter, window-with-parameter)
17573 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17574 (window-atom-check, window-side-check, window-check):
17575 New functions.
85cc1f11
MR
17576 (ignore-window-parameters, window-sides, window-sides-vertical)
17577 (window-sides-slots): New variables.
17578 (window-size-fixed): Move down in code. Minor doc-string fix.
17579
e7156492
AS
175802011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17581
17582 * comint.el (comint-dynamic-complete-as-filename)
17583 (comint-dynamic-complete-filename): Correctly call
17584 completion-in-region.
17585
7e821d0d
DD
175862011-06-05 Deniz Dogan <deniz@dogan.se>
17587
17588 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17589 in last change.
17590
ac09b8a1
DD
175912011-06-05 Deniz Dogan <deniz@dogan.se>
17592
17593 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17594 (rcirc): Use it to prompt for encryption.
17595
34699b85
RW
175962011-06-05 Roland Winkler <winkler@gnu.org>
17597
17598 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17599 (bibtex-search-entries): New command bound to C-c C-a.
17600 (bibtex-display-entries): New function.
17601
004dedd3
RW
176022011-06-05 Roland Winkler <winkler@gnu.org>
17603
17604 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17605 (bibtex-insert-kill): After yanking insert newline if necessary.
17606 (bibtex-initialize): Call bibtex-string-files-init only once.
17607 (bibtex-mode): Do not call easy-menu-add.
17608 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17609 (bibtex-yank): Set arg properly if nil.
17610
022fe7ce
RW
176112011-06-05 Roland Winkler <winkler@gnu.org>
17612
2b75be67
SM
17613 * textmodes/bibtex.el (bibtex-search-entry-globally):
17614 New variable.
022fe7ce
RW
17615 (bibtex-search-entry): Use it.
17616
b7c3692a
RW
176172011-06-05 Roland Winkler <winkler@gnu.org>
17618
17619 * textmodes/bibtex.el (bibtex-entry-format): New option
17620 sort-fields.
17621 (bibtex-format-entry, bibtex-reformat): Honor this option.
17622 (bibtex-parse-entry): Return fields in proper order.
17623
8eda563d
JB
176242011-06-05 Juanma Barranquero <lekktu@gmail.com>
17625
17626 * doc-view.el (doc-view-remove-if): Move computation of result out
17627 of `dolist' to silence misleading lexical-binding warning.
17628
7dbe3dbc
CY
176292011-06-04 Chong Yidong <cyd@stupidchicken.com>
17630
17631 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17632 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17633
0c33dd17
MA
176342011-06-04 Michael Albinus <michael.albinus@gmx.de>
17635
17636 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17637 "SunOS 5.10".
17638
f8f91c2b
MA
176392011-06-04 Michael Albinus <michael.albinus@gmx.de>
17640
17641 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17642 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17643 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17644 (tramp-parse-putty):
17645 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17646 (tramp-completion-function-alist-ssh)
17647 (tramp-completion-function-alist-telnet)
17648 (tramp-completion-function-alist-su)
17649 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17650 cookie.
17651
17652 * net/tramp-ftp.el:
17653 * net/tramp-sh.el:
17654 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17655 load "tramp.el" `tramp-set-completion-function'.
17656
e17d9003
SM
176572011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17658
17659 * shell.el: Require and use pcomplete.
17660 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17661 (shell-completion-vars): Set pcomplete-default-completion-function.
17662
6c4cab03
DD
176632011-06-04 Deniz Dogan <deniz@dogan.se>
17664
17665 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17666 `memq' (Bug#8799).
17667
ea9fafe0
SM
176682011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17669
17670 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17671
b3e945d3
JB
176722011-06-02 Juanma Barranquero <lekktu@gmail.com>
17673
17674 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17675 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17676 * vc/log-view.el (log-view-beginning-of-defun):
17677 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17678 (smerge-refine-forward, smerge-refine-chopup-region):
17679 Silence warning for unused `dotimes' counter variables.
17680
7d520089
SM
176812011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17682
17683 * net/tramp.el (tramp-with-progress-reporter): Rename from
17684 with-progress-reporter. Use `declare'.
17685 * net/tramp-smb.el:
17686 * net/tramp-sh.el:
17687 * net/tramp-gvfs.el: Update all uses.
17688
a1c2400f
JB
176892011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17690
17691 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17692 buffer isn't killed before making it current.
17693
2403c841
SM
176942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17695
17696 Silence various byte-compiler warnings.
17697 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17698 `access-type' and new obsolescence format.
17699 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17700 new format.
17701 (byte-compile-check-variable): New `access-type' argument.
17702 Only warn if the access-type is obsolete.
17703 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17704 (byte-compile-variable-set): Adjust callers.
17705 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17706 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17707 setting it as obsolete.
17708 * simple.el (minibuffer-completing-symbol):
17709 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17710 access as obsolete.
17711 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17712 obsolete yet.
17713 * international/quail.el (quail-mouse-choose-completion): Remove unused
17714 code referring to obsolete var.
17715 (quail-choose-completion-string): Remove.
17716 * server.el (server-clients-with, server-kill-buffer-query-function)
17717 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17718 * proced.el (proced-send-signal):
17719 * emacs-lisp/lisp.el (lisp-complete-symbol):
17720 Replace completion-annotate-function with completion-extra-properties.
17721
2462470b
SM
177222011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17723
fb5b2591
SM
17724 * simple.el (goto-line): Use read-number.
17725 (overriding-map-is-bound): Remove.
17726 (saved-overriding-map): Change default.
17727 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17728 Take the map as argument.
17729 (universal-argument, negative-argument, digit-argument): Use it.
17730 (restore-overriding-map): Adjust.
17731 (do-auto-fill): Use fill-forward-paragraph.
17732 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17733
fd6fa53f
SM
17734 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17735 (minibuffer-inactive-mode): New major mode.
17736 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17737 the *Messages* buffer" hack.
17738 (mouse-popup-menubar): Don't burp if the event is a normal key.
17739
2462470b
SM
17740 Miscellaneous tweaks.
17741 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17742 lexical scoping as in subr.el's dolist and dotimes.
17743 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17744 Silence compiler warning.
17745 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17746 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17747 * international/ccl.el (ccl-compile): Trivial simplification.
17748 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17749 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17750 `printflag' argument.
17751 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17752 Purecopy the whole obsolescence data.
17753
108bf785
LL
177542011-06-01 Leo Liu <sdl.web@gmail.com>
17755
17756 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17757 improve doc-string as suggested by Marco Pessotto
17758 <melmothx@gmail.com>.
17759 (rcirc-print): Fix last change.
17760
30a23501
SM
177612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17762
17763 * minibuffer.el (complete-with-action): Return nil for the metadata and
17764 boundaries of non-functional tables.
17765 (completion-table-dynamic): Return nil for the metadata.
17766 (completion-table-with-terminator): Add default case, using
17767 complete-with-action.
17768 (completion--metadata): New function.
17769 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17770 to try and avoid pathological performance problems.
17771 (completion--embedded-envvar-table): Return `category' metadata.
17772
bcd54f83
LMI
177732011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17774
17775 * subr.el (process-alive-p): New tiny convenience function.
17776
e227544d
SM
177772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17778
17779 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17780 content but also its previous major mode.
17781
e8296fdc
HE
177822011-05-31 Helmut Eller <eller.helmut@gmail.com>
17783
4d61f28d 17784 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17785 *Backtrace* buffer when we exit with C-M-c.
17786
620c53a6
SM
177872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17788
17789 * minibuffer.el: Add metadata method to completion tables.
17790 (completion-category-overrides): New defcustom.
17791 (completion-metadata, completion--field-metadata)
17792 (completion-metadata-get, completion--styles)
17793 (completion--cycle-threshold): New functions.
17794 (completion-try-completion, completion-all-completions):
17795 Add `metadata' argument to choose completion-styles.
17796 (completion--do-completion): Use metadata to choose cycling.
17797 (completion-all-sorted-completions): Use metadata for sorting.
17798 Remove :completion-cycle-penalty which is not needed any more.
17799 (completion--try-word-completion): Add `metadata' argument.
17800 (minibuffer-completion-help): Check metadata for annotation function
17801 and sorting.
17802 (completion-file-name-table): Return `category' metadata.
17803 (minibuffer-completing-file-name): Make obsolete.
17804 * simple.el (minibuffer-completing-symbol): Make obsolete.
17805 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17806 completion-try-completion.
17807
1257e755
SM
178082011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17809
17810 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17811
3767e706
LL
178122011-05-30 Leo Liu <sdl.web@gmail.com>
17813
17814 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17815 (rcirc-print): Decode all incoming messages (bug#8744).
17816 (rcirc-decode-coding-system): Allow value nil for automatic coding
17817 system detection.
3767e706 17818
d1a5d56a
GM
178192011-06-01 Glenn Morris <rgm@gnu.org>
17820
17821 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17822
e8cbec34
CY
178232011-05-29 Chong Yidong <cyd@stupidchicken.com>
17824
17825 * image.el (image-animate-max-time): Allow nil and t values.
17826 Default to nil.
17827 (create-animated-image): Doc fix.
17828 (image-animate-start): Remove second arg; just use
17829 image-animate-max-time.
17830 (image-animate-timeout): Doc fix. Args changed.
17831
17832 * image-mode.el (image-toggle-display-image): Ensure that the
17833 image spec passed to the animate timer is the same object as in
58179cce 17834 the buffer's display property (Bug#6981).
e8cbec34
CY
17835 (image-transform-properties): Doc fix.
17836
17837 * image.el (image-animate-max-time): Default to nil.
17838
159daf87
MR
178392011-05-29 Martin Rudalics <rudalics@gmx.at>
17840
17841 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17842 entire buffer list (Bug#8184).
17843
d66c4c7c
CY
178442011-05-29 Chong Yidong <cyd@stupidchicken.com>
17845
17846 * image.el (imagemagick-types-inhibit)
17847 (imagemagick-register-types): Doc fix.
17848
80aec780
DD
178492011-05-29 Deniz Dogan <deniz@dogan.se>
17850
17851 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17852 default.
17853
1dd3c2d9
CY
178542011-05-29 Chong Yidong <cyd@stupidchicken.com>
17855
17856 * select.el: Don't perform clipboard-manager saving in hooks;
17857 leave the hooks empty.
17858
60e56523
LL
178592011-05-28 Leo Liu <sdl.web@gmail.com>
17860
17861 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17862 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17863 (occur-edit-mode): New major mode (Bug#8463).
17864 (occur-after-change-function): New function.
17865 (occur-engine): Give Occur tags a read-only property.
17866
2b1e1a22
KR
178672011-05-28 Kevin Ryde <user42@zip.com.au>
17868
17869 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17870
5d344e88
CY
178712011-05-28 Chong Yidong <cyd@stupidchicken.com>
17872
8e6ca83d
CY
17873 * bindings.el (help-echo): Make the initial non-indicator dash
17874 empty on graphical terminals (Bug#7295).
17875
5d344e88
CY
17876 * files.el (auto-mode-alist): Move config rule after the
17877 in-stripping one (Bug#8547).
17878
bfbbace7
CY
17879 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17880
fbeba6e2
CY
17881 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17882 setting (Bug#8740).
17883
60ed8c72
AA
178842011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17885
4ac619f0
AA
17886 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17887 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17888 (Bug#8539).
60ed8c72 17889
23db196e
CY
178902011-05-28 Chong Yidong <cyd@stupidchicken.com>
17891
17892 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17893
5012f24c
DK
178942011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17895
17896 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17897 (hs-hide-block-at-point, hs-find-block-beginning)
17898 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17899 (Bug#8279).
17900
6a639b16
GM
179012011-05-28 Glenn Morris <rgm@gnu.org>
17902
17903 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17904
d43eaf2c
CY
179052011-05-28 Chong Yidong <cyd@stupidchicken.com>
17906
5199bde1
CY
17907 * help-fns.el (describe-function-1): If the function is a derived
17908 major mode, print the parent mode.
17909
d43eaf2c
CY
17910 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17911 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17912
423428a8
SM
179132011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17914
0ff8e1ba 17915 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17916 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17917 * progmodes/etags.el (tags-completion-at-point-function):
17918 * info-look.el (info-lookup-completions-at-point): Mark as
17919 non-exclusive.
17920 (info-complete): Adjust accordingly.
17921
423428a8
SM
17922 * info-look.el: Convert to lexical-binding and completion-at-point.
17923 (info-lookup-completions-at-point): New function.
17924 (info-complete): Use it and completion-in-region.
17925
b74aa22b
DA
179262011-05-28 Drew Adams <drew.adams@oracle.com>
17927
17928 * isearch.el: Let M-e start with point at the first mismatched char.
17929 (isearch-fail-pos): New function.
17930 (isearch-edit-string): Use it.
17931
66e2e71d
DK
179322011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17933
17934 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17935
b1890b0f 179362011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17937
17938 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17939 traversal functions for avl-trees.
17940 (avl-tree--stack): New struct.
17941 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17942 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17943 (avl-tree--do-enter): Add optional `updatefun' arg.
17944 Change return value.
eb95d01d 17945 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17946 (avl-tree--do-delete): Add `test' and `nilflag' args.
17947 Change return value.
eb95d01d
TC
17948 (avl-tree-member): Add optional `nilflag'
17949 (avl-tree-member-p): New function.
17950 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17951 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17952 (avl-tree-stack-empty-p): New functions.
17953
3769ddcf
TC
17954 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17955 avl-tree--del-balance1 and make it work both ways.
17956 (avl-tree--del-balance2): Remove.
17957 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17958 make it work both ways.
17959 (avl-tree--enter-balance2): Remove.
17960 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17961 New macros.
17962 (avl-tree--mapc, avl-tree-map): Add direction argument.
17963
eb95d01d 179642011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17965
17966 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17967
a9f737ee
CY
179682011-05-27 Chong Yidong <cyd@stupidchicken.com>
17969
17970 * select.el: Support clipboard managers with built-in function
17971 x-clipboard-manager-save, via delete-frame-functions and
17972 kill-emacs-hook.
17973 (xselect-convert-to-targets): Add MULTIPLE target to list.
17974 (xselect-convert-to-save-targets): New function.
17975
c92a1e54
KH
179762011-05-27 Kenichi Handa <handa@m17n.org>
17977
17978 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17979 let-binding rfc2047-encode-encoded-words to nil.
17980
e145f188
GM
179812011-05-27 Glenn Morris <rgm@gnu.org>
17982
5ec8a862
GM
17983 * mail/emacsbug.el: Don't require url-util.
17984
4b29d9fb
GM
17985 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17986
e145f188
GM
17987 * files.el (set-auto-mode):
17988 Also respect mode: entries at the end of the file. (Bug#8586)
17989
7d15102b
GM
179902011-05-26 Glenn Morris <rgm@gnu.org>
17991
98f593b8
GM
17992 * files.el (hack-local-variables-prop-line, hack-local-variables):
17993 Downcase mode names, as seems to be traditional.
27b48e63 17994 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17995
7d15102b
GM
17996 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17997 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17998
51d5b4ec
JD
179992011-05-25 Julien Danjou <julien@danjou.info>
18000
18001 * textmodes/rst.el (rst-define-level-faces): Do not define face
18002 symbol if it is already defined.
18003
91513f63
VB
180042011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18005
18006 * play/5x5.el (5x5-new-game, 5x5-randomize):
18007 Reset 5x5-solver-output to nil when a new grid is cast.
18008 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18009 these debugging traces, as defmacro breaks the compiled code.
18010
4d90d6d0
DK
180112011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18012
18013 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18014
e1b90ef6
LL
180152011-05-24 Leo Liu <sdl.web@gmail.com>
18016
18017 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18018 (vc-bzr-sha1): Adapt.
18019
d8e4b68b 18020 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18021
18022 * bindings.el: Provide sha1 feature.
18023
db0406bb 180242011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18025
18026 * mail/sendmail.el: Require `rfc2047'.
18027 (mail-insert-from-field): Do not perform RFC2047 encoding.
18028 (mail-encode-header): New function.
18029 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18030 buffer to the return value of select-message-coding-system.
18031 Call mail-encode-header.
b8d747b9
KH
18032
18033 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18034
db0406bb 180352011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18036
4d90d6d0
DK
18037 * mail/supercite.el (sc-default-cite-frame):
18038 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18039
eb8a5e9b
GM
180402011-05-24 Glenn Morris <rgm@gnu.org>
18041
f8630703
GM
18042 * progmodes/python.el (brm-menu): Declare.
18043
8831bbed
GM
18044 * emulation/viper.el (viper-set-hooks): Declare.
18045
eb8a5e9b
GM
18046 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18047 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18048 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18049 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18050 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18051 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18052
a2a25d24
SM
180532011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18054
18055 Add an :exit-function for completion-at-point.
18056
18057 * minibuffer.el (completion--done): New fun.
18058 (completion--do-completion): Use it. New arg `expect-exact'.
18059 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18060 since completion--do-completion does it for us now.
18061 (minibuffer-force-complete): Use completion--done and
18062 completion--replace. Handle sole-completion case with more care.
18063 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18064 (completion-extra-properties): New var.
18065 (completion-annotate-function): Make obsolete.
18066 (minibuffer-completion-help): Adjust accordingly.
18067 Use completion-list-insert-choice-function.
18068 (completion-at-point, completion-help-at-point):
18069 Bind completion-extra-properties.
18070 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18071 * simple.el (completion-list-insert-choice-function): New var.
18072 (completion-setup-function): Preserve it.
18073 (choose-completion): Pay attention to it, shuffle the code a bit.
18074 (choose-completion-string): New arg `insert-function'.
18075
18076 * textmodes/bibtex.el: Convert to lexical binding.
18077 (bibtex-mode-map): Use completion-at-point.
18078 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18079 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18080 (bibtex-complete): Define as obsolete alias.
18081 (bibtex-complete-internal): Remove.
18082 (bibtex-format-entry): Remove unused sub-group in regexp.
18083 * shell.el (shell--command-completion-data)
18084 (shell-environment-variable-completion):
18085 * pcomplete.el (pcomplete-completions-at-point):
18086 * comint.el (comint--complete-file-name-data): Use :exit-function
18087 instead of completion-table-with-terminator so it also works for
18088 choose-completion.
18089
e44e373d
SM
180902011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18091
4f91a816
SM
18092 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18093
782fc819
SM
18094 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18095 (bug#8710).
18096
e44e373d
SM
18097 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18098
381987c3
KM
180992011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18100
18101 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18102 customization variable and implement: If non-nil, auto-fill will
18103 be inhibited while on topic's header line.
18104
b776bc70
VB
181052011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18106
18107 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18108 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18109 always have a solution in grid size = 5 cases.
18110 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18111 (5x5-solver-output, 5x5-log-buffer): New vars.
18112 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18113 Make these variables buffer local to achieve 5x5 multi-session-ness.
18114 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18115 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18116 (5x5-solve-suggest): New funs.
18117 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18118 randomize a grid so that we ensure that there is always a solution.
18119 (5x5-make-random-grid): Allow other movement than flipping.
18120
7de88b6e
KR
181212011-05-23 Kevin Ryde <user42@zip.com.au>
18122
18123 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18124 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18125 advice and passes PREDICATE.
18126
b1ef1257
SM
181272011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18128
bbca48fe
SM
18129 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18130 byte-compile-lambda if it's actually a lambda.
18131
b1ef1257
SM
18132 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18133 Fix function quoting. Use backquote better.
18134
92a9cc65
YS
181352011-05-22 Yuanle Song <sylecn@gmail.com>
18136
18137 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18138 matching (Bug#8516).
18139
f0fb8059
JA
181402011-01-22 Jari Aalto <jari.aalto@cante.net>
18141
18142 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18143 different face (Bug#8178).
18144
d5b44c93
CY
181452011-05-22 Chong Yidong <cyd@stupidchicken.com>
18146
18147 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18148 defface (Bug#8144).
18149
79106a44
SM
181502011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18151
9c848d8a
SM
18152 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18153 funcall as well (bug#8712). Warn when performing those conversions.
18154 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18155
79106a44
SM
18156 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18157
88dfa756
GM
181582011-05-22 Glenn Morris <rgm@gnu.org>
18159
18160 * files.el (hack-local-variables-prop-line): Small simplifications.
18161 (hack-local-variables, hack-local-variables-prop-line):
18162 If MODE-ONLY, return the mode, rather than just `t'.
18163
b7cf2c79
SM
181642011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18165
18166 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18167
3f1a8558
GM
181682011-05-21 Glenn Morris <rgm@gnu.org>
18169
7e4ccca3
GM
18170 * files.el (hack-local-variables-prop-line, hack-local-variables):
18171 If only interested in the mode, don't bother doing the other stuff.
18172
637d46ca
GM
18173 * image-mode.el (image-after-revert-hook):
18174 Redraw all frames on which the image is visible. (Bug#8567)
18175
973d955b
GM
18176 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18177
3f1a8558
GM
18178 * wid-edit.el (widget-checklist-match-inline):
18179 Fix 2011-04-19 change. (Bug#8649)
18180
96479927
SM
181812011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18182
1dcf791f
SM
18183 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18184 Also allow singlespace after single-letter capitals followed by a dot.
18185
96479927
SM
18186 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18187 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18188
35fd0881
N
181892011-05-20 Nix <nix@esperi.org.uk>
18190
18191 * files.el (basic-save-buffer-2):
18192 Fix handling of break-hardlink-on-save with non-existent files.
18193
82745640
DD
181942011-05-19 Deniz Dogan <deniz@dogan.se>
18195
18196 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18197 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18198
4a720484
GM
181992011-05-19 Glenn Morris <rgm@gnu.org>
18200
d1f21341
GM
18201 * progmodes/f90.el (f90-type-def-re):
18202 Handle "type, bind(c)". (Bug#8691)
18203
4a720484
GM
18204 * emacs-lisp/autoload.el (batch-update-autoloads):
18205 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18206
2fb0a219
MA
182072011-05-18 Michael Albinus <michael.albinus@gmx.de>
18208
18209 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18210 property for the correct connection in case of multihops.
18211
e565dd37
GM
182122011-05-18 Glenn Morris <rgm@gnu.org>
18213
c2571358 18214 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18215 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18216
e565dd37
GM
18217 Rationalize calendar handling of day and month abbrev-arrays.
18218 * calendar/calendar.el (calendar-customized-p): New function.
18219 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18220 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18221 Add :set function.
18222 (calendar-abbrev-length, calendar-day-abbrev-array)
18223 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18224 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18225 Elements may no longer be nil.
18226 (calendar-day-name, calendar-month-name):
18227 Update for changed nature of abbrev arrays.
18228 * calendar/diary-lib.el (diary-name-pattern):
18229 Update for changed nature of abbrev arrays.
18230 (diary-mark-entries-1): Update calendar-make-alist calls.
18231 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18232 * calendar/cal-html.el (cal-html-day-abbrev-array):
18233 Simply inherit from calendar-day-abbrev-array.
18234
1d99a745
SM
182352011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18236
18237 * progmodes/grep.el (grep-mode): Disable default
18238 compilation-directory-matcher setting (bug#8684).
18239
7c1d9aa0
MA
182402011-05-17 Michael Albinus <michael.albinus@gmx.de>
18241
18242 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18243 instead of "head" and "tail". There were problems with SunOS 5.9,
18244 and it performs better.
18245
3952e9d8
GM
182462011-05-17 Glenn Morris <rgm@gnu.org>
18247
2dd12e7f
GM
18248 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18249
e4157b9c
GM
18250 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18251 Replace obsolete function.
18252
8e249bbd
GM
18253 * shell.el (pcomplete-parse-arguments-function): Declare.
18254
3952e9d8
GM
18255 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18256 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18257 (appt-check): Doc fixes.
18258 (appt-disp-window-function, appt-delete-window-function):
18259 Remove needless special case in custom :type.
18260 (appt-display-count): Default to 0, not nil.
18261 (appt-check): Reset appt-display-count to 0, not nil.
18262
c71a0d48 182632011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18264
c71a0d48
GM
18265 * progmodes/python.el (python-font-lock-keywords):
18266 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18267
31d55be9
SM
182682011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18271
3bfacb2f
KR
182722011-05-16 Kevin Ryde <user42@zip.com.au>
18273
18274 * info-look.el (makefile-automake-mode): New setups, looking in
18275 automake manual, then makefile-mode.
18276 (makefile-mode): Remove automake manual, have it just in
18277 makefile-automake-mode since there's various things different or
18278 not relevant to plain make.
18279 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18280 believe a hypothetical automake-mode would go to makefile-mode,
18281 not the other way around.
18282
c8e83751
CY
182832011-05-15 Chong Yidong <cyd@stupidchicken.com>
18284
5e9e35cd
CY
18285 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18286 hunk-end tags (Bug#8672).
18287
c8e83751
CY
18288 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18289 vc-annotate-show-diff-revision-at-line (Bug#8671).
18290
50b23e5a
GM
182912011-05-14 Glenn Morris <rgm@gnu.org>
18292
7210a739
GM
18293 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18294 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18295 (change-log-font-lock-keywords): Also handle multiple author lines
18296 with leading tabs. (Bug#8644)
7210a739 18297
4691905a
GM
18298 * calendar/appt.el (appt-check): Rename some local variables.
18299 Some simplification/reordering.
18300
50b23e5a
GM
18301 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18302 (feedmail-sendmail-f-doesnt-sell-me-out)
18303 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18304 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18305 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18306 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18307 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18308 (feedmail-binmail-gnulinuxish-template):
18309 Rename from feedmail-binmail-linuxish-template.
18310 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18311 Use insert-buffer-substring.
18312
215cda7c
BC
183132011-05-14 Bill Carpenter <bill@carpenter.org>
18314
18315 * mail/feedmail.el (feedmail-patch-level): Increase.
18316 (feedmail-debug): New custom group.
18317 (feedmail-confirm-outgoing-timeout)
18318 (feedmail-sendmail-f-doesnt-sell-me-out)
18319 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18320 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18321 (feedmail-sender-line, feedmail-from-line)
18322 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18323 (feedmail-spray-this-address)
215cda7c
BC
18324 (feedmail-spray-address-fiddle-plex-list)
18325 (feedmail-queue-use-send-time-for-date)
18326 (feedmail-queue-use-send-time-for-message-id)
18327 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18328 (feedmail-buffer-eating-function):
18329 Doc fixes.
18330 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18331 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18332 (feedmail-message-action-scroll-down): New functions.
18333 (feedmail-queue-directory, feedmail-queue-draft-directory):
18334 Use expand-file-name.
18335 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18336 Remove C-v help entry.
18337 (feedmail-queue-buffer-file-name): New variable.
18338 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18339 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18340 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18341 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18342 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18343 (feedmail-message-action-toggle-spray)
18344 (feedmail-run-the-queue-no-prompts)
18345 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18346 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18347 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18348 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18349 (feedmail-envelope-deducer, feedmail-fiddle-from)
18350 (feedmail-fiddle-sender, feedmail-default-date-generator)
18351 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18352 (feedmail-fiddle-spray-address)
18353 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18354 (feedmail-fiddle-list-of-fiddle-plexes)
18355 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18356 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18357 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18358 Change default. Doc fix.
18359 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18360 (feedmail-binmail-linuxish-template): New constant.
18361 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18362 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18363 (feedmail-send-it): Add debug call.
18364 Use feedmail-queue-buffer-file-name, and
18365 feedmail-send-it-immediately-wrapper.
18366 (feedmail-message-action-send): Add debug call.
18367 Use feedmail-send-it-immediately-wrapper.
18368 (feedmail-queue-express-to-queue): Add debug call.
18369 Run feedmail-queue-express-hook.
18370 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18371 (feedmail-message-action-help-blat):
18372 Rename from feedmail-queue-send-edit-prompt-help-first.
18373 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18374 Check line-endings. Handle errors better.
18375 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18376 Doc fix. Add debug call.
18377 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18378 Use feedmail-queue-send-edit-prompt-inner.
18379 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18380 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18381 from feedmail-queue-send-edit-prompt.
18382 (feedmail-queue-send-edit-prompt-help)
18383 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18384 (feedmail-tidy-up-slug): Add debug call.
18385 Respect feedmail-queue-slug-suspect-regexp.
18386 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18387 (feedmail-dump-message-to-queue): Add debug call.
18388 Expand queue-directory.
18389 (feedmail-dump-message-to-queue): Change message slightly.
18390 Use feedmail-say-chatter.
18391 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18392 (feedmail-send-it-immediately-wrapper): New function.
18393 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18394 Insert empty string rather than newline. Handle full-frame case.
18395 Use catch/throw. Use feedmail-say-chatter.
18396 (feedmail-fiddle-from): Try mail-host-address.
18397 (feedmail-default-message-id-generator): Doc fix.
18398 Bind system-time-locale. Handle missing end.
18399 (feedmail-fiddle-x-mailer): Add debug call.
18400 Handle feedmail-x-mailer-line being nil.
18401 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18402 Add debug call. Use buffer-substring-no-properties.
18403 (feedmail-say-debug, feedmail-say-chatter): New functions.
18404 (feedmail-find-eoh): Give an explicit error.
18405
42c7e61e
UJ
184062011-05-13 Ulf Jasper <ulf.jasper@web.de>
18407
c2571358 18408 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18409 family from helvetica to sans.
c2571358 18410 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18411 etc/images/newsticker.
18412
c2571358 18413 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18414 family from helvetica to sans.
18415
18416 * net/newst-plainview.el (newsticker-new-item-face)
18417 (newsticker-old-item-face, newsticker-immortal-item-face)
18418 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18419 (newsticker-statistics-face): Change default family from
42c7e61e 18420 helvetica to sans.
c2571358 18421 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18422 etc/images/newsticker.
18423
5d3385a0
JB
18424 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18425 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18426 auto-marking.
18427
8497a297
DV
184282011-05-13 Didier Verna <didier@xemacs.org>
18429
18430 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18431 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18432 TODO entries.
8497a297
DV
18433 (lisp-lambda-list-keyword-parameter-indentation)
18434 (lisp-lambda-list-keyword-parameter-alignment)
18435 (lisp-lambda-list-keyword-alignment): New customizable user options.
18436 (lisp-indent-defun-method): Improve docstring.
18437 (extended-loop-p): Fix comment.
18438 (lisp-indent-lambda-list-keywords-regexp): New variable.
18439 (lisp-indent-lambda-list): New function.
18440 (lisp-indent-259): Use it.
18441 (lisp-indent-defmethod): Support for more than one
18442 method qualifier and properly indent methods lambda-lists.
18443 (defgeneric): Provide a missing common-lisp-indent-function property.
18444
f278f87f
SM
184452011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18446
18447 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18448 bounds for the empty string (bug#8667).
18449
5233edd7
GM
184502011-05-13 Glenn Morris <rgm@gnu.org>
18451
5237a44f
GM
18452 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18453
8340026c 18454 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18455 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18456
5233edd7 18457 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18458 (appt-time-msg-list): Doc fix.
a5464014 18459 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18460
92d10796
AS
184612011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18462
18463 * progmodes/ld-script.el (ld-script-keywords)
18464 (ld-script-builtins): Update keywords list.
18465
914a0ae1
SM
184662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18467
c89be45f
SM
18468 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18469
914a0ae1
SM
18470 * shell.el (shell-completion-vars): New function.
18471 (shell-mode):
18472 * simple.el (read-shell-command): Use it.
18473 (blink-matching-open): No need for " [...]" in minibuffer-message.
18474
98dc3df3
GM
184752011-05-12 Glenn Morris <rgm@gnu.org>
18476
18477 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18478 (appt-check): Simplify.
18479
d2fc7e3d 184802011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18481
4d61f28d 18482 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18483 literal "/dev/null".
18484
d2fc7e3d 184852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18486
18487 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18488 Fix typo.
18489
d2fc7e3d 184902011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18491
3f254caa
SM
18492 * progmodes/which-func.el (which-function):
18493 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18494 which might not be defined (Bug#8260).
18495
d45885f7
GM
184962011-05-12 Glenn Morris <rgm@gnu.org>
18497
18498 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18499 Let byte-compile-initial-macro-environment always take precedence.
18500
488086f4
SM
185012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18502
18503 * net/rcirc.el: Add support for SSL/TLS connections.
18504 (rcirc-server-alist): New field `encryption'.
18505 (rcirc): Check `encryption' settings.
18506 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18507 Merge make-local-variable into `set'.
18508 (rcirc--connection-open-p): New function.
18509 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18510 the process is not a network process (e.g. running gnutls-cli).
18511 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18512 Make rcirc-(en|de)code-coding-system local here.
18513 (rcirc-mode): Merge make-local-variable into `set'.
18514 (rcirc-parent-buffer): Make permanent buffer-local.
18515 (rcirc-multiline-minor-mode): Don't do it here.
18516 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18517 there's no server buffer.
18518
7d3b9d44
GM
185192011-05-11 Glenn Morris <rgm@gnu.org>
18520
f64049c6
GM
18521 * newcomment.el (comment-kill): Prefix "unused" local.
18522
93c9df73
GM
18523 * term/w32console.el (get-screen-color): Declare.
18524
7d3b9d44
GM
18525 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18526 Handle symbol elements of byte-compile-initial-macro-environment.
18527
9e2dd53f
LL
185282011-05-10 Leo Liu <sdl.web@gmail.com>
18529
488086f4
SM
18530 * bookmark.el (bookmark-bmenu-mode-map):
18531 Bind bookmark-bmenu-search to `/'.
8b340240 18532
9e2dd53f 18533 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18534 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18535 (Footnote-unicode): New function.
18536 (footnote-style-alist): Add unicode style to the list.
18537 (footnote-style): Doc fix.
9e2dd53f 18538
79b70037
GM
185392011-05-10 Jim Meyering <meyering@redhat.com>
18540
18541 Fix doubled-word typos.
18542 * international/quail.el (quail-insert-kbd-layout): and and -> and
18543 * kermit.el: and and -> and
18544 * net/ldap.el (ldap-search-internal): to to -> to
18545 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18546 * progmodes/js.el (js-mode): and and -> and
18547 * textmodes/artist.el (artist-move-to-xy): at at -> at
18548 (artist-draw-region-trim-line-endings): if if -> if
18549 And Safetyc -> Safety.
18550 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18551
b8f82dc1 185522011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18553 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18554
18555 * files.el (hack-one-local-variable-eval-safep):
18556 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18557
4f99f44b
GM
185582011-05-10 Glenn Morris <rgm@gnu.org>
18559
18560 * calendar/diary-lib.el (diary-list-entries-hook)
18561 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18562 (diary-nongregorian-marking-hook, diary-list-entries)
18563 (diary-include-other-diary-files, diary-mark-entries)
18564 (diary-mark-included-diary-files): Doc fixes.
18565
84f29e6b
JB
185662011-05-09 Juanma Barranquero <lekktu@gmail.com>
18567
18568 * misc.el: Require tabulated-list.el during compilation.
18569
9bedd73a
CY
185702011-05-09 Chong Yidong <cyd@stupidchicken.com>
18571
488086f4
SM
18572 * progmodes/compile.el (compilation-start):
18573 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18574 (compilation-filter-hook): Doc fix.
18575
797c735c
DD
185762011-05-09 Deniz Dogan <deniz@dogan.se>
18577
18578 * wdired.el: Remove outdated installation comment. Fix usage
18579 comment.
18580
5f4b1dfe
JB
185812011-05-09 Juanma Barranquero <lekktu@gmail.com>
18582
18583 * misc.el: Implement new command `list-dynamic-libraries'.
18584 (list-dynamic-libraries--loaded-only-p): New variable.
18585 (list-dynamic-libraries--refresh): New function.
18586 (list-dynamic-libraries): New command.
18587
4c44026c
CY
185882011-05-09 Chong Yidong <cyd@stupidchicken.com>
18589
488086f4
SM
18590 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18591 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18592 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18593 higher priority to avoid clobbering by gnu.
18594
027f966d
CY
185952011-05-08 Chong Yidong <cyd@stupidchicken.com>
18596
18597 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18598 if the face has existing theme settings (Bug#8454).
18599
085f5d7d
CY
186002011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18601
488086f4
SM
18602 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18603 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18604
2a86a00c
RS
18605 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18606 special file names `.' and `..' (Bug#8259).
18607
d9c54a06
CY
186082011-05-08 Chong Yidong <cyd@stupidchicken.com>
18609
488086f4
SM
18610 * progmodes/grep.el (grep-mode-font-lock-keywords):
18611 Remove buffer-changing entries.
d9c54a06
CY
18612 (grep-filter): New function.
18613 (grep-mode): Add it to compilation-filter-hook.
18614
18615 * progmodes/compile.el (compilation-filter-hook)
18616 (compilation-filter-start): New defvars.
18617 (compilation-filter): Call compilation-filter-hook prior to
18618 updating the process mark.
18619
c4662635
SM
186202011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18621
18622 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18623
b0512a1d
EZ
186242011-05-07 Eli Zaretskii <eliz@gnu.org>
18625
605c9376
EZ
18626 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18627 mailclient-send-it even if window-system is nil. (Bug#8595)
18628
c4662635
SM
18629 * term/w32console.el (terminal-init-w32console):
18630 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18631 background-mode. (Bug#8597)
18632
d1dc2cc2
SM
186332011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18634
18635 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18636 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18637 New functions.
18638 (defgeneric, eieio--defmethod): Use them.
18639 (eieio-defgeneric): Remove.
18640 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18641
915d1300
GM
186422011-05-07 Glenn Morris <rgm@gnu.org>
18643
a3961c3e
GM
18644 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18645 Use let rather than let*.
18646 (timeclock-find-discrep): Remove unused local.
18647
314347b9
GM
18648 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18649
915d1300
GM
18650 * calendar/appt.el (appt-time-msg-list): Doc fix.
18651
275b59b0
NF
186522011-05-06 Noah Friedman <friedman@splode.com>
18653
18654 * apropos.el (apropos-print-doc): Only use
18655 emacs-lisp-docstring-fill-column when it is bound to an integer,
18656 per that variable's documentation.
18657
6c19f744
SM
186582011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18659
18660 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18661 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18662
60f884b2
GM
186632011-05-06 Glenn Morris <rgm@gnu.org>
18664
5006e634
GM
18665 * calendar/appt.el (appt-message-warning-time): Doc fix.
18666 (appt-warning-time-regexp): New option.
18667 (appt-make-list): Respect appt-message-warning-time.
18668
548d0a63
GM
18669 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18670 New options.
18671 (diary-add-to-list): Strip comments from the displayed string.
18672 (diary-mode): Set comment-start and comment-end.
18673
60f884b2
GM
18674 * vc/diff-mode.el (smerge-refine-subst): Declare.
18675 (diff-refine-hunk): Don't require smerge-mode when compiling.
18676
989681bb
JB
186772011-05-06 Juanma Barranquero <lekktu@gmail.com>
18678
18679 * simple.el (list-processes): Return nil as the docstring says.
18680
a6bc05e1
MA
186812011-05-05 Michael Albinus <michael.albinus@gmx.de>
18682
18683 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18684 to "".
18685 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18686 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18687 determining of binary transfer. (Bug#7383)
18688
23c22e9a
MA
186892011-05-05 Michael Albinus <michael.albinus@gmx.de>
18690
c4662635
SM
18691 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18692 Fix port computation bug. (Bug#8618)
23c22e9a 18693
0bff894f
GM
186942011-05-05 Glenn Morris <rgm@gnu.org>
18695
b8296902
GM
18696 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18697
1f522ce8
GM
18698 * simple.el (shell-dynamic-complete-functions)
18699 (comint-dynamic-complete-functions): Declare.
18700
cf5bee67
GM
18701 * net/network-stream.el (gnutls-negotiate):
18702 * simple.el (tabulated-list-print): Fix declarations.
18703
18704 * progmodes/gud.el (syntax-symbol, syntax-point):
18705 Remove unnecessary and incorrect declarations.
18706
0bff894f 18707 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18708 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18709
9869b3ae
SM
187102011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18711
18712 Fix earlier half-done eieio-defmethod change (bug#8338).
18713 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18714 Streamline and change calling convention.
18715 (defmethod): Adjust accordingly and simplify.
18716 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18717 new eieio--defmethod.
18718 (slot-boundp): Minor CSE simplification.
18719
9c1d5ac5
MZ
187202011-05-05 Milan Zamazal <pdm@zamazal.org>
18721
18722 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18723 (glasses-make-readable): Use glasses-separate-capital-groups.
18724
455c834e
JB
187252011-05-05 Juanma Barranquero <lekktu@gmail.com>
18726
18727 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18728 (warning-series): Doc fix.
18729 (display-warning): Don't try to create the buffer if we just found it.
18730
9ed7c8cb
CY
187312011-05-04 Chong Yidong <cyd@stupidchicken.com>
18732
18733 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18734 (autoload-find-generated-file): New function.
18735 (generate-file-autoloads): Bind generated-autoload-file to
18736 buffer-file-name.
9869b3ae
SM
18737 (update-file-autoloads, update-directory-autoloads):
18738 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18739 output file (Bug#7989).
18740 (batch-update-autoloads): Doc fix.
18741
0898ca10
JB
187422011-05-04 Juanma Barranquero <lekktu@gmail.com>
18743
18744 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18745
31dfb76c
GM
187462011-05-04 Glenn Morris <rgm@gnu.org>
18747
f330b642
GM
18748 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18749 function, so it follows changes in calendar-date-style.
18750 (diary-fancy-date-matcher): New function.
18751 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18752 (diary-fancy-font-lock-fontify-region-function):
18753 Use diary-fancy-date-pattern as a function.
18754
31dfb76c
GM
18755 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18756 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18757
48e79d6a
TZ
187582011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18759
18760 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18761 instead of positional arguments. Allow :keylist and :crlfiles
18762 arguments.
18763 (open-gnutls-stream): Call it.
18764
18765 * net/network-stream.el (network-stream-open-starttls): Adjust to
18766 call `gnutls-negotiate' with :process and :hostname arguments.
18767
dd5a5ee0
SM
187682011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18769
ef80fc09
SM
18770 * minibuffer.el (completion--message): New function.
18771 (completion--do-completion, minibuffer-complete)
18772 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18773 (completion--do-completion): Don't ignore completion-auto-help when in
18774 icomplete-mode.
18775
dd5a5ee0
SM
18776 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18777 internal encoding (e.g. tibetan zero is not whitespace).
18778 (global-whitespace-mode): Prefer save-current-buffer.
18779 (whitespace-trailing-regexp): Remove useless save-match-data.
18780 (whitespace-empty-at-bob-regexp): Minor simplification.
18781
b7d22a83
CY
187822011-05-03 Chong Yidong <cyd@stupidchicken.com>
18783
18784 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18785
5192af46
AM
187862011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18787
18788 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18789 Use `concat' to create string for insertion.
5192af46 18790
5767d190
SM
187912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18792
18793 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18794 Avoid open-line which runs post-self-insert-hook.
18795 (bibtex-fill-entry): Remove unused `end' var.
18796
bf242939
AM
187972011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18798
5767d190
SM
18799 * textmodes/ispell.el (ispell-add-per-file-word-list):
18800 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18801
25666126
LL
188022011-05-03 Leo Liu <sdl.web@gmail.com>
18803
18804 * isearch.el (isearch-yank-pop): New command.
5767d190 18805 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18806 (isearch-forward): Mention it.
18807
52d3c2d0
SM
188082011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18809
1bcace58
SM
18810 * simple.el (minibuffer-complete-shell-command): Remove.
18811 (minibuffer-local-shell-command-map): Use completion-at-point.
18812 (read-shell-command): Setup completion vars here instead.
18813 (read-expression-map): Bind TAB to symbol completion.
18814
52d3c2d0
SM
18815 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18816 error directly rather via storing it into `results'.
18817
35813471
LL
188182011-05-02 Leo Liu <sdl.web@gmail.com>
18819
18820 * vc/diff.el: Fix description.
18821
e793a940
LMI
188222011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18823
18824 * server.el (server-eval-at): New function.
18825
8de66e05
LMI
188262011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18827
18828 * net/network-stream.el (open-network-stream): Take a :nowait
18829 parameter and pass it on to `make-network-process'.
18830 (network-stream-open-plain): Ditto.
18831
dcb79f20
AS
188322011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18833
18834 * faces.el (face-spec-set-match-display): Don't match toolkit
18835 options on terminal frames.
18836
14a7fbd8
SM
188372011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18838
7eabc1be
SM
18839 * progmodes/pascal.el: Use lexical binding.
18840 (pascal-mode-map): Remove author preferences.
18841
14a7fbd8
SM
18842 * pcomplete.el (pcomplete-std-complete): Don't abuse
18843 completion-at-point.
18844
50f84510
JB
188452011-04-28 Juanma Barranquero <lekktu@gmail.com>
18846
6e087a44
JB
18847 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18848 removing code that has been dead since 1991 or so.
18849
50f84510
JB
18850 * startup.el (command-line): When warning about "_emacs", use a
18851 delayed warning to allow the user to filter it out.
18852
0ba690bd
DD
188532011-04-28 Deniz Dogan <deniz@dogan.se>
18854
18855 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18856 user has not joined.
18857
08abfaad
SM
188582011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18859
18860 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18861 aren't any completions at point.
18862
638f053a
JB
188632011-04-28 Juanma Barranquero <lekktu@gmail.com>
18864
18865 * subr.el (display-delayed-warnings): New function.
18866 (delayed-warnings-hook): New variable.
18867
8fff8daa
SM
188682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18869
08abfaad
SM
18870 * minibuffer.el (completion-at-point, completion-help-at-point):
18871 Don't presume that a given completion-at-point-function will always
18872 use the same calling convention.
18873
8fff8daa
SM
18874 * pcomplete.el (pcomplete-completions-at-point):
18875 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18876 pcomplete-seen is non-nil.
18877 (pcomplete-comint-setup): Also recognize the new comint/shell
18878 completion functions.
18879 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18880 pcomplete-seen is non-nil.
18881
841a1577 188822011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18883
841a1577 18884 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18885 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18886 the first character in the entry. This allows for code to add its
211ec907
UJ
18887 own uid to the entry.
18888 (icalendar--convert-float-to-ical): Add export of
18889 `diary-float'-entries save for those with the optional DAY
18890 argument.
18891
2a782793
DC
188922011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18893
18894 * subr.el (shell-quote-argument): Use alternate escaping strategy
18895 when we spot a variable reference in a string.
18896
0438ce91
DC
188972011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18898
18899 * cus-start.el (all): Define customization for debug-on-event.
18900
841a1577 189012011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18902
18903 * subr.el (shell-quote-argument): Escape correctly under Windows.
18904
d090ed6c
SM
189052011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18906
18907 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18908
bfd31217
MA
189092011-04-25 Michael Albinus <michael.albinus@gmx.de>
18910
d090ed6c
SM
18911 * net/tramp.el (tramp-process-actions): Add POS argument.
18912 Delete region between POS and (pos).
bfd31217 18913
d090ed6c
SM
18914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18915 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18916 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18917
18918 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18919 position in `tramp-process-actions' call.
18920
18921 * net/trampver.el: Update release number.
18922
e92f3bd3
SM
189232011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18924
850256b5
SM
18925 * custom.el (defcustom): Obey lexical-binding.
18926
e92f3bd3
SM
18927 Fix octave-inf completion problems reported by Alexander Klimov.
18928 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18929 Inherit from octave-mode-syntax-table.
18930 (inferior-octave-mode): Set info-lookup-mode.
18931 (inferior-octave-completion-at-point): New function.
18932 (inferior-octave-complete): Use it and completion-in-region.
18933 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18934 comint-filename-completion.
18935 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18936 symbol elements which shouldn't be word elements.
18937 (octave-font-lock-keywords, octave-beginning-of-defun)
18938 (octave-function-header-regexp): Adjust regexps accordingly.
18939 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18940
cd22b309
JB
189412011-04-25 Juanma Barranquero <lekktu@gmail.com>
18942
18943 * net/gnutls.el (gnutls-errorp): Declare before first use.
18944
8b492194
TZ
189452011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18946
18947 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18948 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18949 default trustfile exists before going to use it. Add missing
5a5fa834 18950 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18951 Reported by Claudio Bley <claudio.bley@gmail.com>.
18952 (open-gnutls-stream): Add usage example.
18953
18954 * net/network-stream.el (network-stream-open-starttls): Give host
18955 parameter to `gnutls-negotiate'.
18956 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18957 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18958
841a1577 189592011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18960
cd22b309
JB
18961 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18962 Use correct match group (bug#8438).
05842630 18963
3ba7869c
CY
189642011-04-24 Chong Yidong <cyd@stupidchicken.com>
18965
512e3ae1
CY
18966 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18967 (package-menu--generate): New arg specifying packages to show.
18968 (package-menu-refresh, package-menu-execute, list-packages):
18969 Callers changed.
18970 (package-show-package-list): New function, replacing deleted
18971 package--list-packages (renamed because it is non-internal).
18972
18973 * finder.el (finder-list-matches): Use package-show-package-list
18974 instead of deleted package--list-packages.
18975
e92f3bd3
SM
18976 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18977 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18978 (vc-annotate-mode-map): Bind it to RET.
18979
7031be6d
UR
189802011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18981
18982 * progmodes/etags.el (next-file): Don't use set-buffer to change
18983 buffers (Bug#8478).
18984
4ef177aa
CY
189852011-04-24 Chong Yidong <cyd@stupidchicken.com>
18986
c8d173eb
CY
18987 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18988
4ef177aa
CY
18989 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18990 (apropos-accumulator): Doc fix.
18991 (apropos-function, apropos-macro, apropos-command)
18992 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18993 (apropos-plist): Add face property.
18994 (apropos-symbols-internal): Fix indentation.
18995 (apropos-print): Simplify help, and recognize apropos-multi-type.
18996 (apropos-print-doc): Use button-type-get to extract the button's
18997 face property. Fill docstring (Bug#8352).
18998
4ffd0d6b 189992011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19000
19001 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19002
c6c32125 19003 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19004 (mpuz-mode-map): Use mapc.
c6c32125
JB
19005 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19006 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19007 Fix typos in docstrings.
19008
58d468b4
JB
19009 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19010 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19011
6470c3c6
JB
19012 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19013
4ffd0d6b 190142011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19015
19016 * minibuffer.el (completion--do-completion): Avoid the "Next char
19017 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19018
3ad8bad0
CY
19019 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19020 mouse-2 into unread-command-events, it is interpreted correctly.
19021
71d73c9c 19022 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19023 (image-toggle-display): Doc fix.
71d73c9c 19024
841a1577 190252011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19026
4ffd0d6b
GM
19027 * textmodes/page.el (what-page): Use line-number-at-pos to
19028 calculate line number (Bug#6825).
6e1dbaa9 19029
c2fb1b60
JB
190302011-04-22 Juanma Barranquero <lekktu@gmail.com>
19031
19032 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19033 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19034 Pass argument NO-DEFAULT to `find-tag-interactive'.
19035
e02f48d7
JB
190362011-04-22 Juanma Barranquero <lekktu@gmail.com>
19037
19038 Lexical-binding cleanup.
19039
19040 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19041 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19042 * progmodes/ada-prj.el (ada-prj-initialize-values)
19043 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19044 (ada-prj-show-value):
19045 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19046 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19047 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19048 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19049 * progmodes/bug-reference.el (bug-reference-push-button):
19050 * progmodes/fortran.el (fortran-line-length):
19051 * progmodes/glasses.el (glasses-change):
19052 * progmodes/octave-mod.el (octave-fill-paragraph):
19053 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19054 (python-pdbtrack-grub-for-buffer, python-sentinel):
19055 * progmodes/sql.el (sql-save-connection):
19056 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19057 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19058 Mark unused parameters.
19059
19060 * progmodes/compile.el (compilation--flush-directory-cache)
19061 (compilation--flush-parse, compile-internal): Mark unused parameters.
19062 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19063 (compilation-next-error-function): Remove unused variable `timestamp'.
19064
19065 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19066 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19067
19068 * progmodes/dcl-mode.el (dcl-end-of-command):
19069 Remove unused variable `start'.
19070 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19071 (dcl-option-value-basic, dcl-option-value-offset)
19072 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19073 Mark unused parameters.
19074 (dcl-save-local-variable): Remove unused variable `val'.
19075 (mode): Declare.
19076
19077 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19078 Mark unused parameters.
19079 (delphi-ignore-changes): Move before first use.
19080 (delphi-charset-token-at): Remove unused variable `start'.
19081 (delphi-else-start): Remove unused variable `if-count'.
19082 (delphi-comment-block-start, delphi-comment-block-end):
19083 Remove unused variable `kind'.
19084 (delphi-indent-line): Remove unused variable `new-point'.
19085
19086 * progmodes/ebrowse.el (ebrowse-files-list)
19087 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19088 Mark unused parameters. Don't quote `lambda'.
19089 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19090 Don't quote `lambda'.
19091 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19092 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19093 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19094 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19095 Use `ignore-errors'.
19096 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19097 (ebrowse-view/find-file-and-search-pattern)
19098 (ebrowse-view/find-member-declaration/definition):
19099 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19100 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19101 Rename parameter PREFIX-ARG to PREFIX.
19102 (ebrowse-tags-read-name): Remove unused variables `start' and
19103 `member-info'.
19104 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19105 to `tags-file'.
19106
19107 * progmodes/etags.el (local-find-tag-hook): Declare.
19108 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19109 Mark unused parameters.
19110
19111 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19112 (executable-interpret): Mark unused parameter.
19113
19114 * progmodes/flymake.el (flymake-process-sentinel)
19115 (flymake-after-change-function)
19116 (flymake-create-temp-with-folder-structure)
19117 (flymake-get-include-dirs-dot): Mark unused parameters.
19118 (flymake-safe-delete-directory): Remove unused variable `err'.
19119
19120 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19121 (speedbar-timer-fn, speedbar-line-text)
19122 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19123 (speedbar-center-buffer-smartly): Declare functions.
19124 (gdb-find-watch-expression): Remove unused variable `array'.
19125 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19126 (gdb-starting): Mark unused parameters.
19127 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19128 (gdb-table-string): Remove unused variable `res'.
19129 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19130 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19131 (gdb-display-buffer): Remove unused variable `cur-size'.
19132
19133 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19134 allow lexical-binding compilation.
19135 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19136 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19137 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19138 Mark unused parameters.
19139 (gud-gdb-marker-filter): Remove unused variable `match'.
19140 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19141 lambda expressions and funcall them, instead of using `fset'.
19142
19143 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19144 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19145
19146 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19147 variable `header-beg'; use `let'.
19148
19149 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19150 `restart', `last-sexp' and `at-do'.
19151
19152 * progmodes/js.el (js--debug): Mark unused parameter.
19153 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19154 (js--splice-into-items): Remove unused variable `item'.
19155 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19156
19157 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19158 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19159 (makefile-complete): Remove unused variable `try'.
19160 (makefile-fill-paragraph, makefile-match-function-end):
19161 Mark unused parameters.
19162
19163 * progmodes/octave-inf.el (inferior-octave-complete):
19164 Remove unused variable `proc'.
19165 (inferior-octave-output-digest): Mark unused parameter.
19166
19167 * progmodes/perl-mode.el (perl-calculate-indent):
19168 Remove unused variable `err'.
19169
19170 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19171 (prolog-indent-line): Mark unused parameters.
19172 (prolog-indent-line): Remove unused variable `beg'.
19173
19174 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19175 (reporter-dont-compact-list): Declare.
19176
19177 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19178 Remove unused variable `char'.
19179 (sh-debug): Mark unused parameter.
19180 (sh-get-indent-info): Remove unused variable `start'.
19181 (sh-calculate-indent): Remove unused variable `var'.
19182
19183 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19184 (simula-electric-keyword): Remove unused variable `null'.
19185 (simula-search-backward, simula-search-forward): Remove unused
19186 variables `begin' and `end'.
19187
19188 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19189 Remove unused variable `pos'.
19190 (vera-electric-tab, vera-comment-uncomment-region):
19191 Mark unused parameters.
19192 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19193
7ede3b65
CY
191942011-04-22 Chong Yidong <cyd@stupidchicken.com>
19195
19196 * emacs-lisp/package.el (package--builtins, package-alist)
19197 (package-load-descriptor, package-built-in-p, package-activate)
19198 (define-package, package-installed-p)
19199 (package-compute-transaction, package-buffer-info)
19200 (package--push): Doc fix. Distinguish more clearly between
19201 version strings and version lists.
19202
121656e9
JB
192032011-04-21 Juanma Barranquero <lekktu@gmail.com>
19204
19205 Lexical-binding cleanup.
19206
19207 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19208 (5x5-make-mutate-best):
19209 * play/fortune.el (fortune-in-buffer):
19210 * play/gomoku.el (gomoku-init-display):
19211 * play/solitaire.el (solitaire, solitaire-do-check):
19212 * play/tetris.el (tetris-default-update-speed-function):
19213 Mark unused parameters.
19214
19215 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19216 (bubbles--shift): Remove unused variable `char-org'.
19217 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19218 (bubbles--show-images): Remove unused variable `char'.
19219
19220 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19221 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19222 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19223 (decipher-analyze-buffer): Use ?\s.
19224 (decipher-make-checkpoint): Remove unused variable `mapping'.
19225
19226 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19227
19228 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19229 Remove unused variable `result'; use `let'.
19230
19231 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19232 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19233 (gametree-children-shown-p, gametree-compute-reduced-score):
19234 Use `ignore-errors'.
19235
19236 * play/handwrite.el (ps-lpr-switches): Declare.
19237 (handwrite): Remove unused variables `pmin' and `lastp'.
19238
19239 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19240
19241 * play/landmark.el (landmark-init-display)
19242 (landmark-update-naught-weights): Mark unused parameters.
19243 (landmark-y): Remove unused variable `noise'. Simplify.
19244 (landmark-human-plays): Remove unused variable `score'.
19245
19246 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19247 (mpuz-try-proposal): Remove unused variable `game'.
19248
19249 * play/zone.el (life-patterns): Declare.
19250
80f499c7
JB
192512011-04-20 Juanma Barranquero <lekktu@gmail.com>
19252
19253 * vc/vc.el (ediff-vc-internal): Declare function.
19254
024ff170
SM
192552011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19256
c0a193ea
SM
19257 * shell.el: Use lexical-binding and std completion UI.
19258 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19259 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19260 comint-preoutput-filter-functions rather than on
19261 comint-output-filter-functions.
19262 (shell-command-completion, shell--command-completion-data)
19263 (shell-filename-completion, shell-environment-variable-completion)
19264 (shell-c-a-p-replace-by-expanded-directory): New functions.
19265 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19266 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19267 (shell-dynamic-complete-environment-variable): Use them.
19268 (shell-dynamic-complete-as-environment-variable)
19269 (shell-dynamic-complete-as-command): Remove.
19270 (shell-match-partial-variable): Match past point.
19271 * comint.el: Clean up use of completion-at-point-functions.
19272 (comint-completion-at-point): New function.
19273 (comint-mode): Use it completion-at-point-functions.
19274 (comint-dynamic-complete): Make it obsolete.
19275 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19276 (comint-c-a-p-replace-by-expanded-history): New function.
19277 (comint-dynamic-complete-functions)
19278 (comint-replace-by-expanded-history): Use it.
19279 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19280 termination strings. Try harder to avoid second try-completion.
19281 (completion-in-region-mode-map): Disable bindings that don't work yet.
19282
2dbaa080
SM
19283 * comint.el: Use lexical-binding. Require CL.
19284 (comint-dynamic-complete-functions): Use comint-filename-completion.
19285 (comint-completion-addsuffix): Tweak custom type.
19286 (comint-filename-completion, comint--common-suffix)
19287 (comint--common-quoted-suffix, comint--table-subvert)
19288 (comint--complete-file-name-data): New functions.
19289 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19290 (comint-dynamic-list-filename-completions): Use them.
19291 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19292
2dbaa080
SM
19293 * minibuffer.el (completion-in-region-mode):
19294 Keep completion-in-region-mode--predicate global.
19295 (completion-in-region--postch):
19296 Assume completion-in-region-mode--predicate is not null.
19297
c79a6f38
SM
19298 * progmodes/flymake.el (flymake-start-syntax-check-process):
19299 Obey `dir'. Simplify.
19300
024ff170
SM
19301 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19302 we're in VC after all.
19303
1c6c854e
CS
193042011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19305
19306 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19307 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19308 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19309
bed7f140
SM
193102011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19311
332e62ab
SM
19312 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19313 add sanity check.
19314
bed7f140
SM
19315 * obsolete/erc-hecomplete.el: Make obsolete.
19316 * obsolete/: Standardize obsolescence info in the header.
19317
f195c582
GM
193182011-04-20 Glenn Morris <rgm@gnu.org>
19319
19320 * calendar/solar.el (solar-horizontal-coordinates):
19321 Use the longitude argument rather than `calendar-longitude'.
19322 (solar-date-next-longitude): Remove unused locals.
19323
cb79b8c0
VJL
193242011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19325
19326 * whitespace.el: New version 13.2.1.
19327
193282011-04-20 felix <EmacsWiki> (tiny change)
19329
d8e4b68b 19330 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19331 switching between major modes on a file.
19332
602ea69d
SM
193332011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19334
19335 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19336 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19337 multi-line comments as well.
19338
06b60517
JB
193392011-04-19 Juanma Barranquero <lekktu@gmail.com>
19340
19341 Lexical-binding cleanup.
19342
19343 * arc-mode.el (archive-mode-revert):
19344 * cmuscheme.el (scheme-interactively-start-process):
19345 * custom.el (custom-initialize-delay):
19346 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19347 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19348 * emacs-lock.el (emacs-lock-clear-sentinel):
19349 * ezimage.el (defezimage):
19350 * follow.el (follow-avoid-tail-recenter):
19351 * fringe.el (set-fringe-mode-1):
19352 * generic-x.el (bat-generic-mode-compile):
19353 * help-mode.el (help-info-variable, help-do-xref)
19354 (help-mode-revert-buffer):
19355 * help.el (view-emacs-todo):
19356 * iswitchb.el (iswitchb-completion-help):
19357 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19358 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19359 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19360 * locate.el (locate-update):
19361 * longlines.el (longlines-encode-region)
19362 (longlines-after-change-function):
19363 * outline.el (outline-isearch-open-invisible):
19364 * ps-def.el (declare-function, charset-dimension, char-width)
19365 (encode-char):
19366 * ps-mule.el (ps-mule-plot-string):
19367 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19368 (recentf-edit-list-select, recentf-edit-list-validate)
19369 (recentf-open-files-action):
19370 * rect.el (delete-whitespace-rectangle-line)
19371 (rectangle-number-line-callback):
19372 * register.el (window-configuration-to-register)
19373 (frame-configuration-to-register):
19374 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19375 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19376 (xselect-convert-to-targets, xselect-convert-to-delete)
19377 (xselect-convert-to-filename, xselect-convert-to-charpos)
19378 (xselect-convert-to-lineno, xselect-convert-to-colno)
19379 (xselect-convert-to-os, xselect-convert-to-host)
19380 (xselect-convert-to-user, xselect-convert-to-class)
19381 (xselect-convert-to-name, xselect-convert-to-integer)
19382 (xselect-convert-to-atom, xselect-convert-to-identity):
19383 * subr.el (declare, ignore, process-kill-without-query)
19384 (text-clone-maintain):
19385 * terminal.el (te-get-char, te-tic-sentinel):
19386 * tool-bar.el (tool-bar-make-keymap):
19387 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19388 * type-break.el (type-break-mode, type-break-noninteractive-query):
19389 * view.el (View-back-to-mark):
19390 * wid-browse.el (widget-browse-action, widget-browse-widget)
19391 (widget-browse-widgets, widget-browse-sexp):
19392 * widget.el (define-widget-keywords):
19393 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19394 Mark unused parameters.
19395
19396 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19397 (align-areas): Remove unused variable `look'.
19398 (align-region): Remove unused variables `real-end' and `pos-list'.
19399
19400 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19401
19402 * bindings.el (mode-line-modified, mode-line-remote):
19403 Mark unused parameters.
19404 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19405
19406 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19407 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19408
19409 * comint.el (comint-history-isearch-pop-state)
19410 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19411 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19412 (comint-substitute-in-file-name): Doc fix.
19413
19414 * completion.el (cmpl-statistics-block): Mark unused parameter.
19415 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19416 (save-completions-to-file, load-completions-from-file):
19417 Remove unused local variable `e'.
19418
19419 * composite.el (compose-chars): Remove unused variable `len'.
19420 (lgstring-insert-glyph): Remove unused variable `g'.
19421 (compose-glyph-string): Remove unused variables `ascent',
19422 `descent', `lbearing' and `rbearing'.
19423 (compose-glyph-string-relative): Remove unused variables
19424 `lbearing', `rbearing' and `wadjust'.
19425 (compose-gstring-for-graphic): Remove unused variables `header',
19426 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19427 (compose-gstring-for-terminal): Remove unused variables `header'
19428 and `nchars'. Use `let', not `let*'.
19429
19430 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19431 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19432 (Custom-buffer-done, custom-buffer-create-internal)
19433 (custom-browse-visibility-action, custom-browse-group-tag-action)
19434 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19435 (widget-magic-mouse-down-action, custom-toggle-parent)
19436 (custom-add-parent-links, custom-toggle-hide-variable)
19437 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19438 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19439 (custom-face-menu-create, custom-variable-menu-create, get)
19440 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19441 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19442 (customize-apropos): Remove unused variable `tests'.
19443 (custom-group-value-create): Remove unused variable `hidden-p'.
19444 (sort-fold-case): Declare.
19445
19446 * cus-theme.el (custom-reset-standard-faces-list)
19447 (custom-reset-standard-variables-list): Declare.
19448 (customize-create-theme, custom-theme-revert, custom-theme-write)
19449 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19450 Mark unused parameters.
19451
19452 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19453
19454 * delim-col.el (delimit-columns-max): Move defvar before first use.
19455
19456 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19457 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19458
19459 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19460 (auto-insert): Declare.
19461 (desktop-restore-file-buffer): Rename desktop-* parameters;
19462 mark unused ones.
19463 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19464 (desktop-buffer): Rename desktop-* parameters.
19465
19466 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19467 (dframe-reposition-frame-xemacs, dframe-help-echo)
19468 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19469 Mark unused parameters.
19470
19471 * dired-aux.el (backup-extract-version-start, overwrite-query)
19472 (overwrite-backup-query, rename-regexp-query)
19473 (rename-non-directory-query): Declare.
19474 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19475 (dired-add-entry): Remove unused variable `orig-file-name'.
19476 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19477 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19478 `dired-copy-preserve-time' directly.
19479 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19480 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19481
19482 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19483 (dired-virtual-revert, dired-make-relative-symlink):
19484 Mark unused parameters.
19485 (manual-program): Declare.
19486 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19487 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19488 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19489
19490 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19491
19492 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19493
19494 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19495 Declare.
19496
19497 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19498
19499 * electric.el (Electric-command-loop): Rename parameter
19500 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19501
19502 * expand.el (expand-in-literal): Remove unused variable `here'.
19503
19504 * facemenu.el (facemenu-add-new-color):
19505 Remove unused variable `docstring'.
19506
19507 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19508 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19509 (face-attr-construct): Mark unused parameter. Doc fix.
19510 (read-color): Remove unused variable `hex-string'.
19511
19512 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19513 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19514 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19515 (display-buffer-other-frame): Remove unused variable `old-window'.
19516 (kill-buffer-hook): Declare.
19517 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19518 Mark unused parameters.
19519 (after-find-file): Pass 1 to `auto-save-mode', not t.
19520
19521 * files-x.el (auto-insert): Declare.
19522 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19523
19524 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19525 variable `buf'. Mark unused parameter.
06b60517
JB
19526 (find-lisp-insert-directory): Mark unused parameter.
19527
19528 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19529 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19530 (format-common-tail): Remove, unused.
19531 (format-deannotate-region): Remove unused variable `loc'.
19532 (format-annotate-region): Remove unused variable `p'.
19533 (format-annotate-single-property-change): Remove unused variables
19534 `default' and `tail'.
19535
19536 * forms.el (read-file-filter): Declare.
19537 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19538
19539 * frame.el (frame-creation-function-alist): Mark unused parameter.
19540 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19541
19542 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19543 Remove unused parameters.
19544 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19545 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19546
19547 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19548 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19549 (hfy-prepare-tag-map): Mark unused parameters.
19550 (htmlfontify-buffer): Use `called-interactively-p'.
19551
19552 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19553 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19554 (ibuffer-do-occur): Mark unused parameters.
19555 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19556 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19557
19558 * ibuffer.el: Don't quote `lambda'.
19559 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19560 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19561 Mark unused parameters.
19562
19563 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19564 (ido-completing-read): Mark unused parameters.
19565 (ido-copy-current-word): Mark unused parameters;
19566 remove unused variable `name'.
19567 (ido-sort-merged-list): Remove unused parameter `dirs'.
19568
19569 * ielm.el (ielm-input-sender): Mark unused parameter.
19570 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19571 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19572 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19573 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19574 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19575
19576 * image-dired.el (image-dired-display-thumbs): Remove unused
19577 variables `curr-file' and `count'.
19578 (image-dired-remove-tag): Remove unused variable `start'.
19579 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19580 variable `curr-file'
19581 (image-dired-rotate-original): Remove unused variable `temp-file'.
19582 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19583 Remove unused variable `file'.
19584 (image-dired-gallery-generate): Remove unused variable `curr'.
19585 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19586
19587 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19588
19589 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19590
19591 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19592
19593 * isearch.el (minibuffer-history-symbol): Declare.
19594 (isearch-edit-string): Remove unused variable `err'.
19595 (isearch-message-prefix, isearch-message-suffix):
19596 Mark unused parameters.
19597
19598 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19599
19600 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19601
19602 * makesum.el (double-column): Remove unused variable `cnt'.
19603
19604 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19605 (ido-ignore-item-temp-list): Declare.
19606
19607 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19608 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19609 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19610 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19611 `mouse-col-delta'.
19612
19613 * mouse-sel.el (mouse-extend-internal):
19614 Remove unused variable `orig-window-frame'.
19615
19616 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19617 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19618 Move declarations before first use.
19619 (pcomplete-opt): Mark unused parameters; doc fix.
19620
19621 * proced.el (proced-revert): Mark unused parameter.
19622 (proced-send-signal): Remove unused variable `err'.
19623
19624 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19625 Rename parameter PREFIX-ARG to ARG.
19626 (ps-basic-plot-string, ps-basic-plot-whitespace):
19627 Mark unused parameters.
19628
19629 * replace.el (replace-count): Define.
19630 (occur-revert-function): Mark unused parameters.
19631 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19632 (isearch-case-fold-search, isearch-string): Declare.
19633 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19634 bind `case-fold-search'. Remove unused variables `beg' and `end',
19635 and simplify.
19636 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19637 COUNT and bind `replace-count'.
19638 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19639 to COUNT.
19640
19641 * savehist.el (print-readably, print-string-length): Declare.
19642
19643 * shadowfile.el (shadow-expand-cluster-in-file-name):
19644 Remove unused variable `cluster'.
19645 (shadow-copy-file): Remove unused variable `i'.
19646 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19647 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19648 (shadow-define-literal-group, shadow-define-regexp-group)
19649 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19650
19651 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19652 (shell): Use `called-interactively-p'.
19653 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19654
19655 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19656 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19657 (delete-backward-char): Remove unused variable `ocol'.
19658 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19659 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19660 (event-apply-hyper-modifier, event-apply-shift-modifier)
19661 (event-apply-control-modifier, event-apply-meta-modifier):
19662 Mark unused parameters.
19663 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19664 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19665
19666 * speedbar.el (speedbar-ignored-directory-expressions)
19667 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19668 (speedbar-find-file, speedbar-dir-follow)
19669 (speedbar-directory-buttons-follow, speedbar-tag-find)
19670 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19671 (speedbar-buffers-line-directory, speedbar-buffer-click):
19672 Mark unused parameters.
19673 (speedbar-tag-file): Remove unused variable `mode'.
19674 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19675
19676 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19677
19678 * talk.el (talk): Remove unused variable `display'.
19679
19680 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19681 (tar-write-region-annotate): Mark unused parameter.
19682
19683 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19684 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19685 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19686 warning by another.
19687
19688 * time-stamp.el (time-stamp-string-preprocess):
19689 Remove unused variable `require-padding'.
19690
19691 * tree-widget.el (widget-glyph-enable): Declare.
19692 (tree-widget-action): Mark unused parameter.
19693
19694 * w32-fns.el (x-get-selection): Mark unused parameter.
19695 (autoload-make-program, generated-autoload-file): Declare.
19696
19697 * wdired.el (wdired-revert): Mark unused parameters.
19698 (wdired-xcase-word): Remove unused variable `err'.
19699
19700 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19701 (whitespace-help-scroll): Remove unused variable `data-help'.
19702
19703 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19704 (widget-image-insert, widget-after-change, default)
19705 (widget-default-format-handler, widget-default-notify)
19706 (widget-default-prompt-value, widget-info-link-action)
19707 (widget-url-link-action, widget-function-link-action)
19708 (widget-variable-link-action, widget-file-link-action)
19709 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19710 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19711 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19712 (widget-insert-button-action, widget-delete-button-action, visibility)
19713 (widget-documentation-link-action, widget-documentation-string-action)
19714 (widget-const-prompt-value, widget-regexp-match, symbol)
19715 (widget-coding-system-prompt-value)
19716 (widget-key-sequence-value-to-external, sexp)
19717 (widget-sexp-value-to-internal, character, vector, cons)
19718 (widget-choice-prompt-value, widget-boolean-prompt-value)
19719 (widget-color--choose-action): Mark unused parameters.
19720 (widget-item-match-inline, widget-choice-match-inline)
19721 (widget-checklist-match, widget-checklist-match-inline)
19722 (widget-group-match): Rename parameter VALUES to VALS.
19723 (widget-field-value-set): Remove unused variable `size'.
19724 (widget-color-action): Remove unused variables `value' and `start'.
19725
19726 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19727 variable `dir'. Doc fix.
06b60517
JB
19728 (windmove-find-other-window): Don't pass it.
19729
19730 * window.el (count-windows): Mark unused parameter.
19731 (bw-adjust-window): Remove unused variable `err'.
19732
19733 * woman.el (woman-file-name): Remove unused variable `default'.
19734 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19735 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19736 (global-font-lock-mode): Declare.
19737 (woman-decode-region): Mark unused parameter.
19738 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19739
19740 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19741 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19742 (x-dnd-handle-moz-url): Remove unused variable `title'.
19743 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19744
19745 * xml.el (xml-parse-tag, xml-parse-attlist):
19746 Remove unused variable `pos'.
19747
bc4f7f3d
GM
197482011-04-19 Glenn Morris <rgm@gnu.org>
19749
19750 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19751 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19752 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19753 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19754 * calendar/cal-html.el (cal-html-insert-minical):
19755 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19756 (calendar-mark-date-pattern):
19757 Prefix "unused" locals.
19758
19759 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19760 optional argument `style'.
19761
19762 * calendar/appt.el (appt-make-list):
19763 * calendar/cal-china.el (calendar-chinese-date-string):
19764 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19765 (diary-hebrew-yahrzeit):
19766 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19767 * calendar/calendar.el (calendar-generate-window):
19768 * calendar/time-date.el (time-to-days):
19769 Remove unused local variables.
19770
16a43933
CY
197712011-04-18 Chong Yidong <cyd@stupidchicken.com>
19772
19773 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19774 glyphless-char-display table.
19775 (tabulated-list-glyphless-char-display): New var.
19776
7eed1860
SS
197772011-04-18 Sam Steingold <sds@gnu.org>
19778
19779 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19780 to acknowledgments.
19781
4d2d1ccd
GM
197822011-04-17 Glenn Morris <rgm@gnu.org>
19783
19784 * calendar/diary-lib.el (diary-sexp-entry):
19785 * calendar/holidays.el (holiday-sexp):
19786 Set debug-on-error rather than the removed stack-trace-on-error.
19787
239da61d
GM
197882011-04-16 Glenn Morris <rgm@gnu.org>
19789
19790 * progmodes/f90.el: Use lexical-binding.
19791 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19792
8b05752a
SM
197932011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19794
daca8ba5
SM
19795 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19796 (mail-mode): Setup mailalias completion here instead.
19797 * mail/mailalias.el: Use lexical-binding.
19798 (pattern, mailalias-done): Declare dynamic.
19799 (mail-completion-at-point-function): New function, from mail-complete.
19800 (mail-complete): Use it.
19801 (mail-completion-expand): New function.
19802 (mail-get-names): Use it.
19803 (mail-directory, mail-directory-process, mail-directory-stream):
19804 Don't use `pattern' for lexically bound arg.
19805
6f542485
SM
19806 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19807
037e7c3f
SM
19808 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19809 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19810 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19811
8b05752a
SM
19812 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19813 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19814 (byte-interactive-p): Define them again, for use when inlining
19815 old code.
19816
49093f60
JB
198172011-04-15 Juanma Barranquero <lekktu@gmail.com>
19818
19819 * loadup.el: Use `string-to-number', not `string-to-int'.
19820
b5b8e7de
SM
198212011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19824 gud-gdb-complete-command.
19825 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19826 (gud-gdb-completion-at-point): New function.
19827 (gud-gdb-completions): Remove.
19828
f42efeb5
MA
198292011-04-14 Michael Albinus <michael.albinus@gmx.de>
19830
49093f60
JB
19831 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19832 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19833 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19834 whether `executable-find' is bound.
f42efeb5
MA
19835
19836 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19837
e240cc21
SM
198382011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19839
19840 * minibuffer.el (completion-in-region-mode-predicate)
19841 (completion-in-region-mode--predicate): New vars.
19842 (completion-in-region, completion-in-region--postch)
19843 (completion-in-region-mode): Use them.
19844 (completion--capf-wrapper): Also return the hook function.
19845 (completion-at-point, completion-help-at-point):
19846 Adjust and provide a predicate.
c2bd2ab0
SM
19847
19848 Preserve arg names for advice of subr and lexical functions (bug#8457).
19849 * help-fns.el (help-function-arglist): Consolidate the subr and
19850 new-byte-code cases. Add argument `preserve-names' to extract names
19851 from the docstring when needed.
19852 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19853 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19854 (ad-arglist): Use help-function-arglist's new arg.
19855 (ad-definition-type): Use cond.
19856
c183f693
JB
198572011-04-13 Juanma Barranquero <lekktu@gmail.com>
19858
06641a47
JB
19859 * autorevert.el (auto-revert-handler):
19860 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19861 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19862 Don't quote lambda.
19863
c183f693
JB
19864 * image-mode.el (image-transform-set-scale):
19865 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19866
1e3b6001
G
198672011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19868
19869 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19870 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19871 Upgrades via gnutls-cli are too slow to be done opportunistically.
19872
2d6af8dd
JB
198732011-04-12 Juanma Barranquero <lekktu@gmail.com>
19874
19875 * dframe.el (dframe-current-frame): Remove spurious quote.
19876
c0749a51
GM
198772011-04-12 Glenn Morris <rgm@gnu.org>
19878
088d0d61
GM
19879 * calendar/cal-tex.el (cal-tex-end-document):
19880 Try to automatically use latin1 input if needed.
19881
c0749a51
GM
19882 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19883 Don't try to cons a mark onto an empty element.
19884
5c90fde0
LL
198852011-04-11 Leo Liu <sdl.web@gmail.com>
19886
19887 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19888 buffers.
19889 (ido-kill-buffer-at-head): Support killing virtual buffers.
19890
369e974d
CY
198912011-04-10 Chong Yidong <cyd@stupidchicken.com>
19892
19893 * minibuffer.el (completion-show-inline-help): New var.
19894 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19895 (minibuffer-force-complete, minibuffer-complete-word):
19896 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19897
19898 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19899 to avoid interference from inline help (Bug#5849).
19900
37f1c930
LL
199012011-04-10 Leo Liu <sdl.web@gmail.com>
19902
099c39a4
JB
19903 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19904 Fix typo.
37f1c930 19905
a32d4040
CY
199062011-04-09 Chong Yidong <cyd@stupidchicken.com>
19907
19908 * image-mode.el (image-toggle-display-image): Signal an error if
19909 not in Image mode.
19910 (image-transform-mode, image-transform-resize)
19911 (image-transform-set-rotation): Doc fix.
daca8ba5 19912 (image-transform-set-resize): Delete.
a32d4040
CY
19913 (image-transform-set-scale, image-transform-fit-to-height)
19914 (image-transform-fit-to-width): Handle image-toggle-display-image
19915 and image-transform-resize directly.
19916
099c39a4 199172011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19918
19919 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19920 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19921 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19922 (doc-view-mode-map): Add bindings for the new functions.
19923
099c39a4 199242011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19925
4d61f28d 19926 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19927 Fix typo in docstring.
19928
3726838a
EZ
199292011-04-08 Eli Zaretskii <eliz@gnu.org>
19930
04f33f1e
EZ
19931 * files.el (file-size-human-readable): Produce one digit after
19932 decimal, like "ls -lh" does.
19933
19934 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19935 the file size representation.
19936
3726838a
EZ
19937 * simple.el (list-processes): If async subprocesses are not
19938 available, error out with a clear error message.
19939
cbb59342
CY
199402011-04-08 Chong Yidong <cyd@stupidchicken.com>
19941
19942 * help.el (help-form-show): New function, to be called from C.
19943 Put help-form output in a buffer named differently than *Help*.
19944
e3971c44
EZ
199452011-04-08 Eli Zaretskii <eliz@gnu.org>
19946
19947 * files.el (file-size-human-readable): New function.
19948
19949 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19950 computing the representation inline. Don't require `cl'.
19951
12544bbe
GM
199522011-04-08 Glenn Morris <rgm@gnu.org>
19953
a1de6c6a
GM
19954 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19955
3c4671f4
GM
19956 * net/browse-url.el (browse-url-firefox):
19957 Test system-type, not system-configuration.
19958
b605679c
GM
19959 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19960 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19961 Use log-edit-empty-buffer-p. (Bug#7598)
19962
56442f0c
GM
19963 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19964 (rlogin-mode-map): Initialize in the defvar.
19965 (rlogin): Use ignore-errors.
19966
12544bbe
GM
19967 * replace.el (occur-mode-map): Some fixes for menu items.
19968
eb237b0f
AH
199692011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19970
19971 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19972
7d668f2c
CY
199732011-04-06 Chong Yidong <cyd@stupidchicken.com>
19974
e67a13ab
CY
19975 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19976 issuing unused warnings.
19977
19978 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19979 macro directly.
19980
7d668f2c
CY
19981 * simple.el: Lisp reimplement of list-processes. Based on an
19982 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19983 (process-menu-mode): New major mode.
19984 (list-processes--refresh, list-processes):
19985 (process-menu-visit-buffer): New functions.
19986
19987 * files.el (save-buffers-kill-emacs): Don't assume any return
19988 value of list-processes, which is undocumented anyway.
19989
a83ec3c9
CY
199902011-04-06 Chong Yidong <cyd@stupidchicken.com>
19991
19992 * emacs-lisp/tabulated-list.el: New file.
19993
e91a96fe
CY
19994 * emacs-lisp/package.el: Use Tabulated List mode.
19995 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19996 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19997 table format using Tabulated List mode variables.
19998 (package--push): New macro, replacing package-list-maybe-add.
19999 (package-menu--generate): Use package--push. Renamed from
20000 package--generate-package-list.
20001 (package-menu-refresh, list-packages): Use it.
daca8ba5 20002 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20003 Return insertion data instead of inserting it directly.
099c39a4
JB
20004 (package-menu-describe-package, package-menu-execute):
20005 Use tabulated-list-get-id.
e91a96fe
CY
20006 (package-menu-mark-delete, package-menu-mark-install)
20007 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20008 (package-menu-mark-obsolete-for-deletion):
20009 Use tabulated-list-put-tag.
e91a96fe
CY
20010 (package--list-packages, package-menu-revert)
20011 (package-menu-get-package, package-menu-get-version)
20012 (package-menu-sort-by-column): Functions deleted.
20013 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20014 (package-menu--status-predicate, package-menu--version-predicate)
20015 (package-menu--name-predicate)
20016 (package-menu--description-predicate): Handle arguments in the
20017 Tabulated List format.
20018 (package-list-packages-no-fetch): Call list-packages.
20019
3e214b50
JB
200202011-04-06 Juanma Barranquero <lekktu@gmail.com>
20021
20022 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20023 (after-find-file): Don't bind it.
3e214b50
JB
20024 (revert-buffer-in-progress-p): New variable.
20025 (revert-buffer): Bind it.
20026 Pass nil for `after-find-file-from-revert-buffer'.
20027
20028 * saveplace.el (save-place-find-file-hook): Use new variable
20029 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20030
3f0f1700
GM
200312011-04-06 Glenn Morris <rgm@gnu.org>
20032
c0274801
GM
20033 * Makefile.in (AUTOGEN_VCS): New variable.
20034 (autoloads): Use $AUTOGEN_VCS.
20035
3f0f1700
GM
20036 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20037 * calendar/calendar.el (calendar-mode-map):
20038 Check for toolkit scroll bars. (Bug#8305)
20039
41ea9e48
CY
200402011-04-05 Chong Yidong <cyd@stupidchicken.com>
20041
20042 * minibuffer.el (completion-in-region--postch)
20043 (completion-in-region-mode): Remove unnecessary messages.
20044
6194c800
JB
200452011-04-05 Juanma Barranquero <lekktu@gmail.com>
20046
33256f14
JB
20047 * font-lock.el (font-lock-refresh-defaults):
20048 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20049 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20050
6194c800
JB
20051 * info.el (Info-directory-list, Info-read-node-name-2)
20052 (Info-split-parameter-string): Doc fixes.
20053 (Info-virtual-nodes): Reflow docstring.
20054 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20055 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20056 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20057 Fix typos in docstrings.
20058 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20059 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20060 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20061 (Info-restore-desktop-buffer): Mark unused parameters.
20062 (Info-directory-find-file, Info-directory-find-node)
20063 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20064 (Info-virtual-index-find-node, Info-apropos-find-file)
20065 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20066 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20067 (Info-virtual-index): Remove unused local variable `nodename'.
20068
b87a8200 200692011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20070
b87a8200
DD
20071 * net/rcirc.el: Update my e-mail address.
20072 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20073
3b2ff876
CY
200742011-04-05 Chong Yidong <cyd@stupidchicken.com>
20075
20076 * startup.el (command-line): Save the cursor's theme-face
20077 directly, instead of using face-override-spec.
20078
20079 * custom.el (load-theme): Minor optimization in assigning faces.
20080
8d17e7ca
JB
200812011-04-04 Juanma Barranquero <lekktu@gmail.com>
20082
20083 * help-fns.el (describe-variable): Complete all variables having
20084 documentation, including keywords.
20085 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20086
2fbc1934
JB
200872011-04-04 Juanma Barranquero <lekktu@gmail.com>
20088
20089 Convert to lexical-binding.
20090
20091 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20092 (bs--get-marked-string, bs--get-modified-string)
20093 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20094 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20095 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20096
20097 * ehelp.el (electric-help-execute-extended)
20098 (electric-help-ctrl-x-prefix):
20099 * hexl.el (hexl-revert-buffer-function):
20100 * linum.el (linum-after-change, linum-after-scroll):
20101 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20102
20103 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20104
74f50695
DU
201052011-04-04 Daiki Ueno <ueno@unixuser.org>
20106
20107 * epa-dired.el:
20108 * epa-mail.el:
20109 * epa-hook.el:
20110 * epa-file.el:
20111 * epa.el:
20112 * epg.el: Use lexical binding.
20113
c11325f7
CY
201142011-04-03 Chong Yidong <cyd@stupidchicken.com>
20115
0d9e9a12
CY
20116 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20117
c11325f7 20118 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20119 dictionary case for flyspell-mark-duplications-exceptions.
20120 Use regexp matching for languages.
c11325f7
CY
20121 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20122 default dictionary (Bug#7926).
20123
da91b5f2
CY
201242011-04-02 Chong Yidong <cyd@stupidchicken.com>
20125
099c39a4
JB
20126 * emacs-lisp/package.el (package--with-work-buffer):
20127 Recognize https URLs.
da91b5f2 20128
099c39a4
JB
20129 * net/network-stream.el: Move from gnus/proto-stream.el.
20130 Change prefix to network-stream throughout.
da91b5f2
CY
20131 (open-protocol-stream): Merge into open-network-stream, leaving
20132 open-protocol-stream as an alias. Handle nil BUFFER args.
20133
20134 * subr.el (open-network-stream): Move to net/network-stream.el.
20135
afa8e9f6
GM
201362011-04-02 Glenn Morris <rgm@gnu.org>
20137
1d2e369d
GM
20138 * find-dired.el (find-exec-terminator): New option.
20139 (find-ls-option): Test for -ls support.
20140 (find-ls-subdir-switches): Test for -b in find-ls-option.
20141 (find-dired, find-grep-dired): Doc fixes.
20142 (find-dired): Use find-exec-terminator.
20143
8abb7da8 20144 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20145 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20146 (find-name-arg): Remove purecopy.
8abb7da8 20147
f3ca7378
GM
20148 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20149 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20150 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20151 accordingly. Don't add the null-device if not needed.
20152
afa8e9f6
GM
20153 * files.el (save-some-buffers): Doc fix.
20154
35eae264
EZ
201552011-04-02 Eli Zaretskii <eliz@gnu.org>
20156
20157 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20158
26b51db5
JB
201592011-04-01 Juanma Barranquero <lekktu@gmail.com>
20160
20161 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20162 Use `dolist' rather than `mapcar'.
20163
7200d79c
SM
201642011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20165
03408648 20166 Add lexical binding.
7200d79c 20167
03408648
SM
20168 * subr.el (apply-partially): Use new closures rather than CL.
20169 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20170 (dolist, dotimes): Use slightly different expansion for lexical code.
20171 (functionp): Move to C.
20172 (letrec): New macro.
20173 (with-wrapper-hook): Use it and apply-partially instead of CL.
20174 (eval-after-load): Preserve lexical-binding.
20175 (save-window-excursion, with-output-to-temp-buffer): Turn them
20176 into macros.
7200d79c 20177
03408648
SM
20178 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20179
20180 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20181 than the arglist.
20182 (help-add-fundoc-usage): Don't add `Not documented'.
20183 (help-function-arglist): Handle closures, subroutines, and new
20184 byte-code-functions.
20185 (help-make-usage): Remove leading underscores.
20186 (describe-function-1): Handle closures.
20187 (describe-variable): Use special-variable-p for completion.
20188
20189 * files.el (lexical-binding): Declare safe.
f488fb65 20190
03408648
SM
20191 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20192 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20193 (pcase): Add `let' pattern.
20194 Change memoization so it actually works.
20195 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20196 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20197 <let>: New case.
f488fb65 20198
03408648
SM
20199 * emacs-lisp/macroexp.el: Use lexical binding.
20200 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20201 Don't convert ' to #' without checking that it's indeed quoting
20202 a lambda.
20203
20204 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20205 Use eval-sexp-add-defvars.
03408648
SM
20206 (eval-sexp-add-defvars): New fun.
20207
20208 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20209
20210 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20211 Don't autoload.
20212 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20213 than the internal `byte-compile-lambda'.
20214 (defmethod): Don't hide code under quotes.
20215 (eieio-defmethod): New `code' argument.
20216
20217 * emacs-lisp/eieio-comp.el: Remove.
20218
20219 * emacs-lisp/edebug.el (edebug-eval-defun)
20220 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20221 (edebug-toggle): Avoid `eval'.
20222
20223 * emacs-lisp/disass.el (disassemble-internal): Handle new
20224 `closure' objects.
20225 (disassemble-1): Handle new byte codes.
20226
20227 * emacs-lisp/cl.el (pushnew): Silence warning.
20228
20229 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20230 (cl-byte-compile-throw): Remove.
20231 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20232
20233 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20234 closures.
20235
20236 * emacs-lisp/cconv.el: New file.
20237
20238 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20239 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20240 (byte-compile-initial-macro-environment):
20241 Handle declare-function here.
20242 (byte-compile--lexical-environment): New var.
20243 (byte-stack-ref, byte-stack-set, byte-discardN)
20244 (byte-discardN-preserve-tos): New lap codes.
20245 (byte-interactive-p): Don't use any more.
20246 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20247 New macros.
20248 (byte-compile-lapcode): Use them and handle new lap codes.
20249 (byte-compile-obsolete): Remove.
20250 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20251 (byte-compile-arglist-warn): Check late def of inlinable funs.
20252 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20253 since they should have been expanded by now.
20254 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20255 (byte-compile-from-buffer): Remove unused second arg.
20256 (byte-compile-preprocess): New function.
20257 (byte-compile-toplevel-file-form): New function to distinguish
20258 file-form calls from outside from file-form calls from hunk-handlers.
20259 (byte-compile-file-form): Simplify.
20260 (byte-compile-file-form-defsubst): Remove.
20261 (byte-compile-file-form-defmumble): Simplify now that
20262 byte-compile-lambda always returns a byte-code-function.
20263 (byte-compile): Preprocess.
20264 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20265 Remove, not used any more.
20266 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20267 (byte-compile-make-args-desc): New funs.
20268 (byte-compile-lambda): Handle lexical functions. Always return
20269 a byte-code-function.
20270 (byte-compile-reserved-constants): New var, to make up room for
20271 closed-over variables.
20272 (byte-compile-constants-vector): Obey it.
20273 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20274 (byte-compile-macroexpand-declare-function): New function.
20275 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20276 byte-code-functions.
20277 (byte-compile-form): Check obsolescence here.
20278 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20279 (byte-compile-variable-ref): Remove.
20280 (byte-compile-dynamic-variable-op): New fun.
20281 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20282 (byte-compile-variable-set): New funs.
20283 (byte-compile-discard): Add 2 args.
20284 (byte-compile-stack-ref, byte-compile-stack-set)
20285 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20286 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20287 macroexpand-all instead.
20288 (byte-compile-quote-form): Remove.
20289 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20290 (byte-compile-bind, byte-compile-unbind): New funs.
20291 (byte-compile-let): Handle let* and lexical binding.
20292 (byte-compile-let*): Remove.
20293 (byte-compile-catch, byte-compile-unwind-protect)
20294 (byte-compile-track-mouse, byte-compile-condition-case):
20295 Handle a new :fun-body form, used for lexical scoping.
20296 (byte-compile-save-window-excursion)
20297 (byte-compile-with-output-to-temp-buffer): Remove.
20298 (byte-compile-defun): Simplify.
20299 (byte-compile-stack-adjustment): New fun.
20300 (byte-compile-out): Use it.
20301 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20302
20303 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20304 handler any more.
20305
20306 * emacs-lisp/byte-opt.el: Use lexical binding.
20307 (byte-inline-lapcode): Remove (to bytecomp).
20308 (byte-compile-inline-expand): Pay attention to inlining to/from
20309 lexically bound code.
20310 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20311 any more.
20312 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20313 any more and don't call compiler-macros.
20314 (byte-compile-splice-in-already-compiled-code): Remove.
20315 (byte-code): Don't inline any more.
20316 (disassemble-offset): Receive `bytes' as argument rather than via
20317 dynamic scoping.
20318 (byte-compile-tag-number): Declare before first use.
20319 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20320 `return' even if make-spliceable.
20321 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20322 obsolete interactive-p.
20323 (byte-optimize-lapcode): Optimize new lap-codes.
20324 Don't trip up on new form of `byte-constant' lap code.
20325
20326 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20327
20328 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20329
20330 * custom.el (custom-initialize-default, custom-declare-variable):
20331 Use `defvar'.
20332
20333 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20334 New variables.
20335 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20336 (COMPILE_FIRST): Add macroexp and cconv.
20337 * makefile.w32-in: Mirror changes in Makefile.in.
20338
20339 * vc/cvs-status.el:
20340 * vc/diff-mode.el:
20341 * vc/log-edit.el:
20342 * vc/log-view.el:
20343 * vc/smerge-mode.el:
20344 * textmodes/bibtex-style.el:
090bd7cb 20345 * textmodes/css-mode.el:
03408648
SM
20346 * startup.el:
20347 * uniquify.el:
da91b5f2
CY
20348 * minibuffer.el:
20349 * newcomment.el:
20350 * reveal.el:
20351 * server.el:
20352 * mpc.el:
20353 * emacs-lisp/smie.el:
20354 * doc-view.el:
20355 * dired.el:
03408648
SM
20356 * abbrev.el: Use lexical binding.
20357
0f0c1f27
EZ
203582011-04-01 Eli Zaretskii <eliz@gnu.org>
20359
20360 * info.el (info-display-manual): New function.
20361
c82b2579
SM
203622011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20363
20364 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20365
221ddf68
TH
203662011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20367
20368 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20369 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20370
cba6e77e
GM
203712011-03-31 Glenn Morris <rgm@gnu.org>
20372
e040639f
GM
20373 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20374
cba6e77e
GM
20375 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20376
6d0f1c9e
CS
203772011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20378
20379 * progmodes/python.el (python-default-interpreter)
20380 (python-python-command-args, python-jython-command-args)
20381 (python-which-shell, python-which-args, python-which-bufname)
20382 (python-file-queue, python-comint-output-filter-function)
20383 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20384 variables and functions.
20385
3e2d70fd
SM
203862011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20387
20388 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20389 (completion-in-region-mode): New minor mode.
20390 (completion-in-region): Use it.
20391 (completion-in-region--data, completion-in-region-mode-map): New vars.
20392 (completion-in-region--postch): New function.
20393 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20394 New vars.
20395 (completion--capf-wrapper): New function.
20396 (completion-at-point): Use it to track well-behavedness of
20397 hook functions.
20398 (completion-help-at-point): New command.
20399
f3e4086c
JM
204002011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20401
20402 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20403 syntax class to search for whitespace on a single line
20404 (Message-ID: <4D938140.4030905@redhat.com>).
20405
eb7ffc14
LL
204062011-03-30 Leo Liu <sdl.web@gmail.com>
20407
20408 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20409 New commands.
20410 (edit-abbrevs-map): Bind them here.
20411 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20412
d806ab68
KM
204132011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20414
20415 * allout.el (allout-hide-by-annotation, allout-flag-region):
20416 Reduce possibility of overlay leakage by making them volatile.
20417
20418 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20419 hash is not shared between buffers. Mode initialization is
20420 responsible for giving it a useful starting value.
20421 (allout-item-span): Reduce possibility of overlay leakage by
20422 making them volatile.
20423 (allout-widgets-count-buttons-in-region): Add diagnostic function
20424 for tracking down button overlay leaks.
20425
ea622834
LL
204262011-03-29 Leo Liu <sdl.web@gmail.com>
20427
20428 * ido.el (ido-read-internal): Use the default history var
20429 minibuffer-history if no HISTORY is specified.
20430
b62f8267
G
204312011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20432
03408648
SM
20433 * net/imap.el (imap-shell-open, imap-process-connection-type):
20434 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20435 Kerberos, SSL, other subprocesses.
20436
947b6566
LL
204372011-03-28 Leo Liu <sdl.web@gmail.com>
20438
20439 * abbrev.el (abbrev-table-empty-p): New function.
20440 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20441 nonempty ones. (Bug#5937)
20442
5ffb62aa
JD
204432011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20444
20445 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20446
7a097943
LL
204472011-03-27 Leo Liu <sdl.web@gmail.com>
20448
20449 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20450 for foreground and background colors.
20451 (ansi-color-make-color-map): Adapt.
20452
c5b40130
LL
204532011-03-25 Leo Liu <sdl.web@gmail.com>
20454
1f48f7d2
LL
20455 * midnight.el (midnight-time-float): Remove. Note it calculates
20456 the microsecond component incorrectly and seconds-to-time does the
20457 same job.
625897ec 20458 Remove redundant (require 'timer).
1f48f7d2 20459
c5b40130
LL
20460 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20461 (ido-completions): Remove unused arguments. (Bug#8329)
20462
d86d2721
SM
204632011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20464
20465 * minibuffer.el (completion--flush-all-sorted-completions):
20466 Remove itself from hook.
20467 (completion-at-point): Let the functions perform the completion
20468 immediately and return nil or t.
20469 * comint.el (comint-dynamic-complete-functions): Now identical to
20470 completion-at-point-functions.
20471 (comint-dynamic-list-input-ring): Remove unused var `index'.
20472 (comint--match-partial-filename, comint--unquote&expand-filename):
20473 New funs, split from comint-match-partial-filename.
20474 (comint-dynamic-complete): Use completion-at-point.
20475 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20476
e8974c48
DA
204772011-03-24 Drew Adams <drew.adams@oracle.com>
20478
20479 * thingatpt.el: Support `defun'.
20480
def71b5e
LL
204812011-03-23 Leo Liu <sdl.web@gmail.com>
20482
cb5af48e
LL
20483 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20484
def71b5e
LL
20485 * help-mode.el (help-mode-finish): Tweak regexp.
20486
927c53e7
GM
204872011-03-23 Glenn Morris <rgm@gnu.org>
20488
18d05bed
GM
20489 * eshell/esh-opt.el (eshell-eval-using-options):
20490 Do not bind unused local variable `eshell-option-stub'.
20491
927c53e7
GM
20492 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20493
9d0da923
JB
204942011-03-22 Juanma Barranquero <lekktu@gmail.com>
20495
20496 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20497 keymap variable in `with-no-warnings' to avoid a warning when the
20498 keymap has been already `defconst'ed.
20499
4b978a67
LL
205002011-03-22 Leo Liu <sdl.web@gmail.com>
20501
20502 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20503 encode all chars in abbrevs; otherwise use emacs-mule or
20504 utf-8-emacs. (Bug#8308)
20505
5fd62452
JB
205062011-03-22 Juanma Barranquero <lekktu@gmail.com>
20507
0b1596c6
JB
20508 * simple.el (backward-delete-char-untabify):
20509 Avoid warning about using `delete-backward-char'.
20510
5fd62452
JB
20511 * image.el (image-type-file-name-regexps): Make it variable.
20512 `imagemagick-register-types' modifies it, and the user may want
20513 to add new extensions for known image types.
20514 (imagemagick-register-types): Throw error if not using ImageMagick.
20515
0b4e93f1
LL
205162011-03-22 Leo Liu <sdl.web@gmail.com>
20517
20518 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20519 located before rcirc-prompt-end-marker.
20520 (rcirc-complete): Error if point is not after rcirc prompt.
20521 Handle the case when table is nil.
9882e214 20522 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20523
fccee4ab
CY
205242011-03-22 Chong Yidong <cyd@stupidchicken.com>
20525
20526 * custom.el (custom--inhibit-theme-enable): Make it affect only
20527 custom-theme-set-variables and custom-theme-set-faces.
20528 (provide-theme): Ignore custom--inhibit-theme-enable.
20529 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20530 (custom-enabling-themes): Delete variable.
d86d2721
SM
20531 (enable-theme): Accept only loaded themes as arguments.
20532 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20533 (custom-enabled-themes): Forbid themes from setting this.
20534 Eliminate use of custom-enabling-themes.
20535 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20536
af896da6
LL
205372011-03-21 Leo Liu <sdl.web@gmail.com>
20538
20539 * ido.el (ido-read-internal): Add ido-selected to history instead
20540 of user input.
20541
78f64af0
SM
205422011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20543
20544 * subr.el (deferred-action-list, deferred-action-function):
20545 Mark obsolete.
20546
b16ac1ec
LL
205472011-03-21 Leo Liu <sdl.web@gmail.com>
20548
810f7698
LL
20549 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20550 change on 2011-02-13 (bug#8309).
20551
b16ac1ec
LL
20552 * minibuffer.el (read-file-name-function): Change default value.
20553 (read-file-name--defaults): Rename from read-file-name-defaults.
20554 (read-file-name-default): Rename from read-file-name.
20555 (read-file-name): Call read-file-name-function.
20556
4e05e67e
GM
205572011-03-21 Glenn Morris <rgm@gnu.org>
20558
20559 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20560 Doc fixes.
20561
4359915b
CY
205622011-03-21 Chong Yidong <cyd@stupidchicken.com>
20563
20564 * cus-theme.el: Add missing provide statement.
20565 (customize-create-theme): Extract theme value correctly.
20566 (custom-theme-visit-theme): Autoload.
20567 (customize-create-theme): Prompt before inserting default faces.
20568
1fe275ee
JB
205692011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20570
20571 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20572 units and musical notes.
20573
cd394be1 205742011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20575
20576 * ido.el (ido-read-internal): Use completing-read-default.
20577 (ido-completing-read): Fix compatibility with completing-read.
20578
7d476bde
CO
205792011-03-20 Christian Ohler <ohler@gnu.org>
20580
20581 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20582 (ert-delete-all-tests): Use `called-interactively-p' rather than
20583 `interactive-p'.
20584 (ert--make-xrefs-region): Respect END.
20585
fe0fb33e
CY
205862011-03-19 Chong Yidong <cyd@stupidchicken.com>
20587
ff854b0b
CY
20588 * dired-aux.el (dired-create-directory): Signal an error if the
20589 directory already exists (Bug#8246).
20590
fe0fb33e
CY
20591 * facemenu.el (list-colors-display): Call list-faces-display
20592 inside with-help-window.
20593 (list-colors-print): Use display property to align the final
20594 column, instead of checking window-width.
20595
576bce32
EZ
205962011-03-19 Eli Zaretskii <eliz@gnu.org>
20597
4d61f28d 20598 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20599 windows-nt systems.
20600 (emerge-protect-metachars): Quote correctly for ms-dos and
20601 windows-nt systems.
20602
89c41d68 206032011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20604
20605 * info.el (info-initialize): Replace all uses of `:' with
20606 path-separator for compatibility with non-Unix systems.
20607 Cache quoting of path-separator. (Bug#8258)
20608
b14e3e21 206092011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20610
20611 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20612 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20613 (mouse-avoidance-mode): Fix typos in docstrings.
20614
4525ce3e
CY
206152011-03-19 Chong Yidong <cyd@stupidchicken.com>
20616
20617 * startup.el (package-subdirectory-regexp): Move from package.el.
20618 Omit \\` and \\', and let callers add them.
20619
20620 * emacs-lisp/package.el (package-strip-version)
20621 (package-load-all-descriptors): Add \\` and \\' to
20622 package-subdirectory-regexp before using it.
20623 (package-untar-buffer): New arg DIR; ensure that file untars only
20624 into this expected directory. Remove superfluous delete-region.
20625 (package-unpack): Caller changed.
20626 (package-tar-file-info): Use package-subdirectory-regexp.
20627
a904a09a 206282011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20629
a904a09a
SM
20630 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20631 diff-mode-shared-map (bug#8284).
20632 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20633
206342011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20635
20636 * calendar/time-date.el (format-seconds): Use assoc instead of
20637 assoc-string, since assoc-string doesn't exist in XEmacs.
20638
171fc304
JB
206392011-03-17 Juanma Barranquero <lekktu@gmail.com>
20640
20641 * custom.el (custom-known-themes): Reflow docstring.
20642 (custom-theme-load-path): Fix typo in docstring.
20643 (load-theme): Fix typo in error message.
20644 (custom-available-themes, custom-variable-theme-value):
20645 Use `let', not `let*'.
20646
d71990a1
JB
206472011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20648
20649 * calc/README: Mention inclusion of musical notes.
20650
20651 * calc/calc-units.el (calc-lu-quant): Rename from
20652 `calc-logunits-quantity'.
20653 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20654 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20655 (calc-db): Rename from `calc-dblevel'.
20656 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20657 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20658 (calc-np): Rename from `calc-nplevel'.
20659 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20660 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20661 (calc-lu-plus): Rename from `calc-logunits-add'.
20662 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20663 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20664 (calc-lu-minus): Rename from `calc-logunits-sub'.
20665 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20666 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20667 (calc-lu-times): Rename from `calc-logunits-mul'.
20668 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20669 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20670 (calc-lu-divide): Rename from `calc-logunits-div'.
20671 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20672 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20673
20674 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20675 functions being autoloaded.
20676
20677 * calc/calc.el (calc-lu-power-reference): Rename from
20678 `calc-logunits-power-reference'.
20679 (calc-lu-field-reference): Rename from
20680 `calc-logunits-field-reference'.
20681
7a71b18d
GM
20682 * calc/calc-help.el (calc-l-prefix-help):
20683 Mention musical note functions.
d71990a1 20684
40c2934b
SM
206852011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20686
20687 * minibuffer.el (completion-all-sorted-completions):
20688 Use :completion-cycle-penalty text property if present.
20689
b0911414
KM
206902011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20691
20692 * allout.el (allout-yank-processing): Adjust for new rebulleting
20693 regime so bullet being yanked is used without prompting the user
20694 for a choice.
20695
8a05b668
JB
206962011-03-16 Juanma Barranquero <lekktu@gmail.com>
20697
20698 * startup.el (command-line): Warn the user that _emacs is deprecated.
20699
5ba5fb81
JB
207002011-03-16 Juanma Barranquero <lekktu@gmail.com>
20701
20702 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20703 (delphi-verbose, delphi-comment-face, delphi-string-face)
20704 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20705 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20706 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20707 (delphi-new-comment-line, delphi-font-lock-defaults)
20708 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20709 Fix typos in docstrings.
20710
2dab465b
KM
207112011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20712
5ba5fb81 20713 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20714 Invert the roles of character and string values for INSTEAD, so a
20715 string is used for the more common case of a defaulting prompt.
20716
0adf5618
SM
207172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20718
20719 * progmodes/ruby-mode.el (ruby-backward-sexp):
20720 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20721 * play/gamegrid.el (gamegrid-make-face):
20722 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20723 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20724 * notifications.el (notifications-notify):
20725 * net/xesam.el (xesam-search-engines):
20726 * net/quickurl.el (quickurl-list-insert):
20727 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20728
d72700e5
CY
207292011-03-15 Chong Yidong <cyd@stupidchicken.com>
20730
20731 * startup.el (command-line): Update package subdirectory regexp.
20732
49c5410a
SM
207332011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20734
c6eee9aa
SM
20735 * allout.el (allout-abbreviate-flattened-numbering)
20736 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20737
49c5410a
SM
20738 * subr.el (read-char-choice): Only show the cursor after the prompt,
20739 not after the answer.
20740
047b2bb9
KR
207412011-03-15 Kevin Ryde <user42@zip.com.au>
20742
20743 * help-fns.el (variable-at-point): Skip leading quotes, if any
20744 (bug#8253).
20745
0a57d256
SM
207462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20747
20748 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20749 warning message.
20750
77c992bc
MA
207512011-03-14 Michael Albinus <michael.albinus@gmx.de>
20752
20753 * shell.el (shell): When called interactively, offer to change the
20754 shell file name on remote hosts.
20755
eebc475d
TZ
207562011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20757
20758 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20759 integration for LDAP parameters. The host, base, user or binddn,
20760 and secret tokens can be specified in a netrc file, for instance.
20761 This is optional because an `auth-source' parameter must be
20762 specified in the search attributes.
20763
9d05d1ba
JB
207642011-03-13 Juanma Barranquero <lekktu@gmail.com>
20765
20766 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20767
09d9db2c
GM
207682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20769
20770 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20771 into declaration. Remove redundant and harmful binding.
20772
207732011-03-12 Eli Zaretskii <eliz@gnu.org>
20774
20775 * files.el (file-ownership-preserved-p): Pass `integer' as an
20776 explicit 2nd argument to `file-attributes'. If the file's owner
20777 is the Administrators group on Windows, and the current user is
20778 Administrator, consider that a match.
20779
20780 * server.el (server-ensure-safe-dir): Consider server directory
20781 safe on MS-Windows if its owner is the Administrators group while
20782 the current Emacs user is Administrator. Use `=' to compare
20783 numerical UIDs, since they could be integers or floats.
20784
219bd536
JB
207852011-03-12 Juanma Barranquero <lekktu@gmail.com>
20786
20787 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20788
f3afd36b
MA
207892011-03-12 Michael Albinus <michael.albinus@gmx.de>
20790
20791 Sync with Tramp 2.2.1.
20792
20793 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20794
20795 * net/trampver.el: Update release number.
20796
3aaaa6f1
SM
207972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20798
94642599
SM
20799 * progmodes/compile.el (compilation--previous-directory): Fix up
20800 various nil/dead-marker mismatches (bug#8014).
20801 (compilation-directory-properties, compilation-error-properties):
20802 Don't call it at a position past the one we're about to change.
20803
3aaaa6f1
SM
20804 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20805 Disable obsolescence warnings in the file that declares it.
20806
14239447
KM
208072011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20808
099c39a4
JB
20809 * allout-widgets.el (allout-widgets-tally):
20810 Initialize allout-widgets-tally as a hash table rather than nil to
20811 prevent mode-line redisplay warnings. Also, clarify the module
20812 description and fix a comment typo.
14239447 20813
135e287c
JB
208142011-03-11 Juanma Barranquero <lekktu@gmail.com>
20815
20816 * help-fns.el (describe-variable): Don't complete keywords.
20817 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20818
ffbf300e
CY
208192011-03-10 Chong Yidong <cyd@stupidchicken.com>
20820
ba08b241
CY
20821 * emacs-lisp/package.el (package-version-join): Impose a standard
20822 string representation for pre/alpha/beta version lists.
20823 (package-unpack-single): Standardize the directory name by passing
20824 it through package-version-join.
20825 (package-strip-rcs-id): Accept any version string that does not
20826 signal an error in version-to-list.
ffbf300e 20827
f346fd6b
MA
208282011-03-10 Michael Albinus <michael.albinus@gmx.de>
20829
20830 * simple.el (delete-trailing-whitespace): Return nil for the
20831 benefit of `write-file-functions'.
20832
ccb55d27
GM
208332011-03-10 Glenn Morris <rgm@gnu.org>
20834
5ceaac0c
GM
20835 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20836
02da65ff
GM
20837 * vc/vc-git.el (vc-git-program): New option.
20838 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20839 (vc-git--call): Use it.
20840
b2f603cc
GM
20841 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20842
5772caab
GM
20843 * cus-edit.el (Custom-newline): If no button at point, look
20844 for a subgroup button at start-of-line. (Bug#2298)
20845
ccb55d27
GM
20846 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20847
ec6ecaed
JD
208482011-03-10 Julien Danjou <julien@danjou.info>
20849
20850 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20851 `cursor-type' is nil.
20852
9d5aa01d
JB
208532011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20854
20855 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20856
b6a5875b
KM
208572011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20858
7a71b18d 20859 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20860 preserves the existing header prefix, rebulleting it if necessary,
20861 rather than replacing it. This is necessary for proper operation
20862 of cooperative addons like allout-widgets.
1154d12e
JB
20863 (allout-make-topic-prefix, allout-rebullet-heading):
20864 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20865 value as alternate bullet to be used, instead of prompting the user
20866 for a bullet character.
b6a5875b 20867
ee545c35
MA
208682011-03-09 Michael Albinus <michael.albinus@gmx.de>
20869
d86d2721
SM
20870 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20871 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20872 `tramp-default-port'.
20873
c47971d7
DD
208742011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20875
20876 * net/rcirc.el (rcirc-handler-001): Remove useless
20877 with-rcirc-process-buffer.
20878 (rcirc-check-auth-status): Swap arguments to string-match.
20879
13522cb4
GM
208802011-03-09 Glenn Morris <rgm@gnu.org>
20881
0be6f4f1
GM
20882 * shell.el (shell-mode):
20883 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20884
13522cb4
GM
20885 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20886 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20887
515de2e3
CY
208882011-03-08 Chong Yidong <cyd@stupidchicken.com>
20889
20890 * emacs-lisp/package.el (package-refresh-contents)
20891 (package-menu-execute): Use condition-case-no-debug.
20892
b511b994
MA
208932011-03-08 Michael Albinus <michael.albinus@gmx.de>
20894
20895 * simple.el (shell-command-to-string): Use `process-file'.
20896
20897 * emacs-lisp/package.el (package-tar-file-info): Handle also
20898 remote files.
20899
d86d2721
SM
20900 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20901 Use `equal' for upload base check.
b511b994 20902
25bbfb31
AM
209032011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20904
20905 * textmodes/texinfo.el (texinfo-environments):
20906 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20907
be996521
GM
209082011-03-08 Glenn Morris <rgm@gnu.org>
20909
e9c8529f
GM
20910 * cus-start.el (cursor-in-non-selected-windows):
20911 Fix :set quoting oddness. (Bug#8192)
20912
be996521
GM
20913 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20914 in some setf expressions. (Bug#2159)
20915
2bb5649e
CY
209162011-03-08 Chong Yidong <cyd@stupidchicken.com>
20917
20918 * custom.el (custom-available-themes): Return themes in
20919 alphabetical order.
20920
33383987 20921See ChangeLog.15 for earlier changes.
e3d51b27
MR
20922
20923;; Local Variables:
20924;; coding: utf-8
e3d51b27
MR
20925;; End:
20926
acaf905b 20927 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20928
20929 This file is part of GNU Emacs.
20930
20931 GNU Emacs is free software: you can redistribute it and/or modify
20932 it under the terms of the GNU General Public License as published by
20933 the Free Software Foundation, either version 3 of the License, or
20934 (at your option) any later version.
20935
20936 GNU Emacs is distributed in the hope that it will be useful,
20937 but WITHOUT ANY WARRANTY; without even the implied warranty of
20938 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20939 GNU General Public License for more details.
20940
20941 You should have received a copy of the GNU General Public License
20942 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.