Provide new `defalias-fset-function' symbol property.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
32e5c58c
SM
12012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4 (ad--defalias-fset): New function.
5 (ad-safe-fset): Remove.
6 (ad-make-freeze-definition): Use cl-letf*.
7
f5925cd9
SM
82012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9
da03ef8a
SM
10 * subr.el (dolist): Don't bind VAR in RESULT.
11
6858633a
SM
12 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
13 (fset, documentation): Don't save real def since we don't advise.
14 (ad-do-advised-functions): Remove problematic `result-form'.
15 (ad-safe-fset): `ad-real-fset' => `fset'.
16 (ad-read-advised-function): Don't assume that ad-do-advised-functions
17 uses CL's dolist internally.
18 (ad-arglist): Remove unused arg `name'.
19 (ad-docstring, ad-make-advised-docstring):
20 `ad-real-documentation' => `documentation'.
21 (warning-suppress-types): Declare.
22 (ad-set-arguments): Simple CSE.
23 (ad-recover-normality): Sanity check.
24
f5925cd9
SM
25 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
26 (funcall '(lambda ..) ..) into ((lambda ..) ..).
27
93a66b3a
VB
282012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
29
30 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
31 `ses-cell'. This means that the same mapping is done for all SES
32 sheets. That is good enough for cells with standard A1 names, but
33 not for named cell. So a hash map is added for the latter.
34 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
35 (ses-sym-rowcol): Use hashmap for named cell.
36 (ses-is-cell-sym-p): New defun.
37 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
38 (ses-create-cell-variable): Add cell to hashmap when name is not
39 A1-like.
93a66b3a
VB
40 (ses-rename-cell): Check that cell new name is not already in
41 spreadsheet with the use of ses-is-cell-sym-p
42 (ses-rename-cell): Use hash map for named cells, but accept also
43 renaming back to A1-like.
44
67dd8ad1
SM
452012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
46
57618ecf
SM
47 * emacs-lisp/advice.el: Use new dynamic docstrings.
48 (ad-make-advised-definition-docstring, ad-advised-definition-p):
49 Use dynamic-docstring-function instead of ad-advice-info.
50 (ad--make-advised-docstring): New function extracted from
51 ad-make-advised-docstring.
52 (ad-make-advised-docstring): Use it.
53 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
54 from sql-help.
55 (sql-help): Use it with dynamic-docstring-function.
56
67dd8ad1
SM
57 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
58
be883b34
SM
592012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
60
d41706aa
SM
61 * files.el (hack-one-local-variable--obsolete): New function.
62 (hack-one-local-variable): Use it for obsolete settings.
63
85e55412
SM
64 * subr.el (locate-user-emacs-file): If both old and new name exist, use
65 the new name.
66
be883b34
SM
67 * progmodes/js.el (js--filling-paragraph): New var.
68 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
69 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
70 less sneaky.
71
cabc040a
JD
722012-11-08 Julien Danjou <julien@danjou.info>
73
74 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
75 `auto-mode-alist' (Bug#12835).
76
d14bb752
SM
772012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
78
79b3e376
SM
79 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
80 (perl--prettify-symbols-alist): New const.
81 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
82 New functions.
83 (perl-font-lock-keywords-2): Use them.
84 (perl-electric-noindent-p): New function.
85 (perl-mode): Use it to set up electric-indent-mode.
86 (perl-electric-terminator, perl-indent-command): Mark obsolete.
87 (perl-mode-map): Remove bindings for them.
88 (perl-imenu-generic-expression, perl-outline-level):
89 Match functions&packages in column>0.
90
3b11e6ac
SM
91 * env.el (env--substitute-vars-regexp): New const.
92 (substitute-env-vars): Use it. Add `only-defined' arg.
93 * net/tramp.el (tramp-replace-environment-variables): Use it.
94
784c1a7b
SM
95 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
96 Byte-compile *before* eval in eval-and-compile.
97 (byte-compile-log-warning): Remove redundant inhibit-read-only.
98 (byte-compile-file-form-autoload): Don't hide actual definition.
99 (byte-compile-maybe-guarded): Accept `functionp' as well.
100
d14bb752
SM
101 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
102
499a0f7a
MA
1032012-11-07 Michael Albinus <michael.albinus@gmx.de>
104
105 * notifications.el (notifications-get-server-information-method):
106 New defconst.
107 (notifications-get-capabilities): Fix docstring.
108 (notifications-get-server-information): New defun.
109
f0704a9a
AM
1102012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
111
112 * textmodes/ispell.el (ispell-region): Standard re-indent for better
113 readability.
114
b159a1fd
AM
115 * textmodes/ispell.el: Experimental support for support debugging.
116 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
117 buffer for ispell.
118 (ispell-print-if-debug): New function to print stuff to
119 `ispell-debug-buffer' if debugging is enabled.
120 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
121 show some debugging info.
122 (ispell-buffer-with-debug): New function that creates a debugging
123 buffer and calls `ispell-buffer' with debugging enabled.
124
056cb3a1
AM
125 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
126 comment in autoconf mode. (Bug#12768)
127
8e6a67b7
DA
1282012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
129
130 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
131 frame-first-window, frame-root-window, frame-selected-window,
132 minibuffer-selected-window, minibuffer-window,
133 window-absolute-pixel-edges, window-at, window-body-height,
134 window-body-width, window-display-table, window-combination-limit,
135 window-frame, window-fringes, window-inside-absolute-pixel-edges,
136 window-inside-edges, window-inside-pixel-edges, window-left-child,
137 window-left-column, window-margins, window-next-buffers,
138 window-next-sibling, window-new-normal, window-new-total,
139 window-normal-size, window-parameter, window-parameters, window-parent,
140 window-pixel-edges, window-point, window-prev-buffers,
141 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
142 window-start, window-text-height, window-top-child, window-top-line,
143 window-total-height, window-total-width and window-use-time to the list
144 of functions without side-effects.
145 (toplevel): Add window-valid-p to the list of error-free functions
146 without side-effects.
147
53fc914f
AM
1482012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
149
f5925cd9
SM
150 * textmodes/ispell.el (ispell-program-name):
151 Update spellchecker parameters when customized.
53fc914f 152
9749e2b0
GM
1532012-11-04 Glenn Morris <rgm@gnu.org>
154
155 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
156
2cbafa56
CY
1572012-11-04 Chong Yidong <cyd@gnu.org>
158
159 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
160 same-window-* variables.
161
85178ca1
JL
1622012-11-04 Juri Linkov <juri@jurta.org>
163
164 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
165 (isearch-describe-key, isearch-describe-mode): Use a display
166 action instead of binding same-window-* variables (Bug#10040).
167
5c677d44
GM
1682012-11-03 Glenn Morris <rgm@gnu.org>
169
49138400
GM
170 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
171 Rename handler properties back from cl-- to cl-. (Bug#12788)
172
5c677d44
GM
173 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
174
1d4341f9
EZ
1752012-11-03 Eli Zaretskii <eliz@gnu.org>
176
177 * term/pc-win.el: Don't load term/internal from here.
178
179 * loadup.el: Load term/internal from here.
180
12fd5ee1
FEG
1812012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
182
183 * progmodes/python.el (inferior-python-mode): Fix hang in
184 jit-lock (Bug#12645).
185
43bcfda6
MR
1862012-11-03 Martin Rudalics <rudalics@gmx.at>
187
188 * window.el (switch-to-visible-buffer)
189 (switch-to-buffer-preserve-window-point): Fix doc-strings.
190
376a8e83
GM
1912012-11-03 Glenn Morris <rgm@gnu.org>
192
193 * emacs-lisp/cl-lib.el (cl--random-time):
194 Rename from cl-random-time. (Bug#12773)
195 (cl--gensym-counter, cl--random-state): Update callers.
196 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
197
0f7b074f
CY
1982012-11-03 Chong Yidong <cyd@gnu.org>
199
200 * cus-start.el: Make cursor-type customizable (Bug#11633).
201
3a6851d9
GM
2022012-11-02 Glenn Morris <rgm@gnu.org>
203
00a3b041
GM
204 * filecache.el: No need to load find-lisp when compiling.
205 (find-lisp-find-files): Autoload it.
206 (file-cache-add-directory-recursively): Don't require find-lisp.
207
11fef14a
GM
208 * image.el (image-type-from-file-name): Trivial simplification.
209
3a6851d9
GM
210 * emacs-lisp/bytecomp.el (byte-compile-eval):
211 Decouple "noruntime" and "cl-functions" warnings.
212
b4b096e4
SB
2132012-11-01 Stephen Berman <stephen.berman@gmx.net>
214
215 * play/gomoku.el (gomoku-display-statistics): Update mode line
216 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
217
218e997a
MR
2182012-10-31 Martin Rudalics <rudalics@gmx.at>
219
220 * window.el (quit-restore-window): If the window has been
221 created on an existing frame and ended up as the sole window on
222 that frame, do not delete it (Bug#12764).
223
b08b6da7
SM
2242012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
225
3618df45
SM
226 * progmodes/sh-script.el (sh--inside-noncommand-expression):
227 Rename from sh--inside-arithmetic-expression, handle more cases
228 (bug#11263).
229
b08b6da7
SM
230 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
231 (sh-font-lock-open-heredoc): Use it (bug#12770).
232
4ddedf94
GM
2332012-10-30 Glenn Morris <rgm@gnu.org>
234
f43a5263
GM
235 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
236
4ddedf94
GM
237 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
238
748b0d84
CY
2392012-10-29 Chong Yidong <cyd@gnu.org>
240
b5dd9a77
CY
241 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
242 function key is stored in a keyboard macro (Bug#4894).
243
748b0d84
CY
244 * thingatpt.el (number-at-point): Apply a thing-at-point property.
245
e07fcbdc
SM
2462012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
247
d7f9cc85
SM
248 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
249 header comments".
250 (diff-unified->context, diff-context->unified)
251 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
252
c606253c
SM
253 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
254
e07fcbdc
SM
255 * files.el (find-alternate-file): Only ask one question (bug#12487).
256
894b9dd9
CY
2572012-10-29 Chong Yidong <cyd@gnu.org>
258
1dc2755a
CY
259 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
260 Suggested by Dan Nicolaescu (Bug#6326).
261
329c48d8
CY
262 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
263
2230fa5b 264 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 265
e84cad57
CY
266 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
267
1913c5f5
CY
268 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
269
894b9dd9
CY
270 * face-remap.el (face-remap-add-relative): Handle the case where a
271 face-remapping-alist entry is a cons cell (Bug#12762).
272
329c48d8
CY
2732012-10-29 Kevin Ryde <user42@zip.com.au>
274
275 * woman.el (woman-parse-numeric-value): Handle picas correctly
276 (Bug#12639).
277
a0ccbcbd
GM
2782012-10-29 Glenn Morris <rgm@gnu.org>
279
280 * emacs-lisp/cl.el (defsetf): Doc fix.
281
b3871e59
SM
2822012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
285 syntax to the matching opener, if any (bug#12547).
286 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
287 matching open as a "case-(".
288 (sh-smie-rc-grammar): Add a corresponding rule for it.
289
cd44022c
DH
2902012-10-28 Daniel Hackney <dan@haxney.org>
291
292 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
293 "PKGNAME-autoloads.el" in case we created it.
294
70edffb1
SM
2952012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
296
86957a0c
SM
297 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
298 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 299 (completion--twq-all): Disable too-strict assertions.
86957a0c 300
70edffb1
SM
301 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
302
d069271c
EZ
3032012-10-27 Eli Zaretskii <eliz@gnu.org>
304
305 * profiler.el (profiler-report-make-entry-part): Fix help-echo
306 text to match the real keybindings.
307
e2f022a3
JL
3082012-10-27 Juri Linkov <juri@jurta.org>
309
310 * wdired.el (wdired-keep-marker-rename): New defcustom.
311 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
312 (Bug#11795)
313
314 * dired.el (dired-keep-marker-rename): Add reference to
315 `wdired-keep-marker-rename' in the docstring.
316 Add default character value ?R to display initially in
317 Customization UI instead of ?@.
318
df171c23
MR
3192012-10-27 Martin Rudalics <rudalics@gmx.at>
320
321 * window.el (display-buffer): In doc-string describe
322 window-height and window-width alist entries.
323
324 * time.el (display-time-world): Restore fit-window-to-buffer
325 behavior.
326
05b621a6
CY
3272012-10-27 Chong Yidong <cyd@gnu.org>
328
329 * subr.el (insert-buffer-substring-as-yank): Doc fix.
330
55f197b2
J
3312012-10-26 Jambunathan K <kjambunathan@gmail.com>
332
333 * minibuffer.el (completion-category-overrides): New completion
334 category `bookmark' (bug#11131).
335
372212df
SM
3362012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
337
150f809c
SM
338 * emacs-lisp/advice.el (ad-assemble-advised-definition):
339 Silence bogus compiler warnings for ad-do-it.
340
372212df
SM
341 * bookmark.el (bookmark-completing-read): Set the completion category
342 to `bookmark' (bug#11131).
343
c5772569
B
3442012-10-26 Bastien <bzg@altern.org>
345 Stefan Monnier <monnier@iro.umontreal.ca>
346
347 * face-remap.el: Use lexical-binding.
348 (text-scale-adjust): Improve docstring. Use itself for the temporary
349 overlay-map bindings, so as to repeat the "Use..." message each time.
350
a2be0357
SM
3512012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
352
63314e57
SM
353 * emacs-lisp/macroexp.el (macroexp--expand-all):
354 Obey byte-compile-warning-enabled-p (bug#12486).
355
a2be0357
SM
356 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
357 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
358
8c7727c3
MR
3592012-10-26 Martin Rudalics <rudalics@gmx.at>
360
361 * mouse.el (mouse-drag-line): Move last form into preceding when
362 clause (Bug#12731).
363
364 * help.el (resize-temp-buffer-window): Fix doc-string.
365
3f2a848d
DE
3662012-10-25 David Engster <deng@randomsample.de>
367
368 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 369 Remove. This feature is already integrated in imenu.
3f2a848d
DE
370
371 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
372 always loaded. Require `speedbar' unconditionally.
373
a7723be6
SM
3742012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
375
aaabfc8b
SM
376 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
377
414a8595
SM
378 * minibuffer.el (minibuffer-force-complete): Fix thinko.
379
fb5b9475
SM
380 * net/ldap.el (ldap-search-internal): The official ldif format starts
381 with a "version: 1" header (bug#12724).
382
a7723be6
SM
383 * emacs-lisp/package.el (package-installed-p): Warn if not ready
384 (bug#12721).
385
a05cb6e3
GM
3862012-10-25 Glenn Morris <rgm@gnu.org>
387
388 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
389
3c92de70
SM
3902012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * minibuffer.el (minibuffer-force-complete): Use one more marker
393 for the temporary-overlay-map command (bug#12619).
394
a4b6d7c6
CY
3952012-10-24 Chong Yidong <cyd@gnu.org>
396
397 * time.el (display-time-world-mode): Derive from special-mode.
398 (display-time-world): Use display-buffer (Bug#12708).
399 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
400 (display-time-world-display): Wrap the final delete-char inside
401 inhibit-read-only.
a4b6d7c6 402
75e8f9d2
CY
4032012-10-24 Chong Yidong <cyd@gnu.org>
404
cd996018
CY
405 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
406 Doc fix.
407
75e8f9d2
CY
408 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
409
d92df117
SM
4102012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * minibuffer.el (completion--all-sorted-completions-location): New var.
413 (completion--cache-all-sorted-completions)
414 (completion--flush-all-sorted-completions): Use it.
415 (completion-in-region, completion-in-region--postch)
416 (completion-at-point, completion-help-at-point): Use markers in
417 completion-in-region--data (bug#12619).
418
9c3e39f3
SM
4192012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
420
c79825bd
SM
421 * progmodes/compile.el (compilation-start): Try to handle common
422 quoting of `cd' argument (bug#12640).
423
9c3e39f3
SM
424 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
425 (bug#12671).
426
a6709bc7
GM
4272012-10-23 Glenn Morris <rgm@gnu.org>
428
429 * progmodes/gud.el (gud-menu-map):
430 Check gdb-active-process is bound. (Bug#12358)
431
d1069532
SM
4322012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
433
d20d69c0
SM
434 * repeat.el (repeat): Set real-this-command (bug#12232).
435
d1069532
SM
436 * htmlfontify.el (hfy-post-html-hook):
437 * filesets.el (filesets-cache-fill-content-hook):
438 * arc-mode.el (archive-extract-hook):
439 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
440 * net/rcirc.el (rcirc-sentinel-functions)
441 (rcirc-receive-message-functions, rcirc-activity-functions)
442 (rcirc-print-functions):
443 * net/dbus.el (dbus-event-error-functions):
444 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
445 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
446 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
447 * term/sun.el (sun-raw-prefix-hooks):
448 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
449
f7eac6d8
MA
4502012-10-23 Michael Albinus <michael.albinus@gmx.de>
451
d1069532
SM
452 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
453 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
454 (tramp-smb-wait-for-output): Add timeout to
455 `tramp-accept-process-output' calls.
456
608d9d7c
CY
4572012-10-23 Chong Yidong <cyd@gnu.org>
458
49238e7f
CY
459 * faces.el (font-list-limit): Define as an obsolete variable.
460
461 * startup.el (command-line):
462 * cus-start.el: Don't refer to font-list-limit.
463
608d9d7c
CY
464 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
465
4ff5b1b2
SM
4662012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * subr.el (internal-temp-output-buffer-show): Rename from
469 temp-output-buffer-show, since previously compiled files expect this name.
470
ea1d4aac
GM
4712012-10-23 Glenn Morris <rgm@gnu.org>
472
473 * image.el (image-type-from-file-name): If multiple types match,
474 return the first one that is supported. (Bug#9045)
475
eda82a31
GM
4762012-10-22 Glenn Morris <rgm@gnu.org>
477
478 * image.el (imagemagick-enabled-types): Doc fix.
479
4f020bec
TA
4802012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
481
482 * progmodes/which-func.el (which-func-current): The hash-table may have
483 an explicit nil (bug#12338).
484
c77d37e2
SM
4852012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * electric.el (electric-pair-delete-selection-self-insert-function):
488 Rename to electric-pair-will-use-region, return a boolean.
489 (electric-pair-mode): Adjust accordingly. Don't require delsel.
490
491 * delsel.el (delete-selection-helper): Use a function instead of a hook.
492 (delete-selection-pre-hook): Use use-region-p.
493 (delete-selection-self-insert-function): Remove.
494 (self-insert-command): Obey self-insert-uses-region-functions.
495 (self-insert-iso): Revert to previous setting, since we don't actually
496 know what that command does.
497 (delete-selection-self-insert-hooks): Remove.
498
b1d39ccc
SL
4992012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
500
501 * delsel.el (delete-selection-helper): New function, extracted from
502 delete-selection-pre-hook.
503 (delete-selection-pre-hook): Use it.
504 (delete-selection-self-insert-function): New function.
505 (delete-selection-self-insert-hooks): New hook.
506 (self-insert-command, self-insert-iso): Use it.
507 * electric.el (electric-pair-syntax): New function, extracted from
508 electric-pair-post-self-insert-function.
509 (electric-pair-post-self-insert-function): Use it.
510 (electric-pair-delete-selection-self-insert-function): New function.
511 (electric-pair-mode): Require delsel and setup
512 delete-selection-self-insert-hooks (bug#11520).
513
045ef729
CY
5142012-10-20 Chong Yidong <cyd@gnu.org>
515
4c5d08a8
CY
516 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
517 no changes to show (Bug#12586).
518
045ef729
CY
519 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
520 list explicitly (Bug#12571).
521
3503c798 5222012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 523
b1d39ccc
SL
524 * progmodes/flymake.el (flymake-create-temp-inplace):
525 Use file-truename.
79e1997a 526
2068905b
EZ
5272012-10-20 Eli Zaretskii <eliz@gnu.org>
528
529 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
530
4c9e9550
JB
5312012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
532
533 * calc/calc-units.el (math-extract-units): Properly extract powers
534 of units.
535
1a6e7e38
DC
5362012-10-20 Daniel Colascione <dancol@dancol.org>
537
538 * frame.el (make-frame): Set x-display-name as we used to in order
539 to unbreak creating an X11 frame from an Emacs daemon started
540 without a display.
541
8e808318
SM
5422012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 545 the same completion-field (bug#12221).
8e808318 546
fb0104da
MR
5472012-10-19 Martin Rudalics <rudalics@gmx.at>
548
549 * emacs-lisp/debug.el (debug): Record height of debugger window
550 also when debugger will be back (Bug#8789).
551
8c27235e
CY
5522012-10-18 Chong Yidong <cyd@gnu.org>
553
554 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
555 Convert to defcustom.
556 (gdb-get-source-file): Don't bind pop-up-windows.
557
558 * progmodes/gud.el (gud-display-line): Don't specially re-use
559 other frames for the gdb-mi case (Bug#12648).
560
90eacf99
SM
5612012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
562
aaf0c300
SM
563 * emacs-lisp/advice.el: Clean up commentary a bit.
564 (ad-do-advised-functions, ad-with-originals): Use `declare'.
565 (byte-code-function-p): Never redefine.
566
90eacf99
SM
567 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
568
281c9d2b
GM
5692012-10-18 Glenn Morris <rgm@gnu.org>
570
40714e3d
GM
571 * dired.el (dired-sort-toggle): Some ls implementations only allow
572 a single option string. (Bug#12666)
573
281c9d2b
GM
574 * minibuffer.el (completion-cycle-threshold): Doc fix.
575
b278604e
KH
5762012-10-17 Kenichi Handa <handa@gnu.org>
577
90eacf99
SM
578 * international/mule.el (set-keyboard-coding-system):
579 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
580 Supply TERMINAL arg to set-input-meta-mode.
581
df171c23 5822012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
583
584 * wdired.el (wdired-old-marks): New variable.
585 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
586 (wdired-do-renames): Move point with renamed file and don't lose
587 mark status (Bug#11795).
588
e5a94ec4
JL
5892012-10-16 Juri Linkov <juri@jurta.org>
590
591 * replace.el (query-replace-help): Mention multi-buffer replacement
592 keys in the Help message. (Bug#12655)
593
d18a0d24
CY
5942012-10-15 Chong Yidong <cyd@gnu.org>
595
596 * emacs-lisp/byte-run.el (defsubst): Doc fix.
597
8111f5e6
EZ
5982012-10-14 Eli Zaretskii <eliz@gnu.org>
599
7b9abf24
EZ
600 * window.el (display-buffer): Doc fix.
601
8111f5e6
EZ
602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
603 Adjust the msft regexp to the output of Studio 2010, and move msft
604 before edg-1. See the discussion on emacs-devel,
605 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
606 for the details.
607
5046ef67
SM
6082012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
609
9760c73c
SM
610 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
611 (oset): Move uses of object-class-fast macro after its definition.
612
5046ef67
SM
613 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
614
0d11ff1c
CY
6152012-10-13 Chong Yidong <cyd@gnu.org>
616
617 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
618 enabled, re-enable it (Bug#11963).
619
88ded8ac
MR
6202012-10-13 Martin Rudalics <rudalics@gmx.at>
621
622 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
623 non-nil, restore window configuration (Bug#12623).
624
bd0ffffd
SM
6252012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
626
06485aa8
SM
627 * help-fns.el (describe-variable, describe-function-1):
628 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
629
bd0ffffd
SM
630 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
631
3a989246
GM
6322012-10-12 Glenn Morris <rgm@gnu.org>
633
634 * mail/rmailsum.el (rmail-header-summary):
635 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
636
55cd00c8
FEG
6372012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
638
bd0ffffd
SM
639 * progmodes/python.el (python-mode-map):
640 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
641 (python-nav--up-list): Fix behavior for blocks on the same level.
642
ac9fc2c7
SM
6432012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
644
d8cc4c00 645 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 646
5253a5fd
SM
647 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
648 changes to the format of load-history.
649
ac9fc2c7
SM
650 * international/mule-cmds.el (read-char-by-name): Move let-binding of
651 completion-ignore-case in case that var is buffer-local (bug#12615).
652
cde44a77
KH
6532012-10-11 Kenichi Handa <handa@gnu.org>
654
655 * international/eucjp-ms.el: Re-generated.
656
4ef4a10d
KH
6572012-10-10 Kenichi Handa <handa@gnu.org>
658
659 * select.el (xselect--encode-string): If a coding is specified for
660 selection, and that is compatible with COMPOUND_TEXT, use it.
661
9d7f027b
MR
6622012-10-10 Martin Rudalics <rudalics@gmx.at>
663
664 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
665 (switch-to-buffer):
666 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 667
238f3a58
SM
6682012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
671 Don't document nil as a useful value (bug#12583).
672
1d51f99c
MA
6732012-10-09 Michael Albinus <michael.albinus@gmx.de>
674
238f3a58
SM
675 * net/tramp.el (tramp-debug-message):
676 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
677 (with-tramp-progress-reporter): Rename from
678 `tramp-with-progress-reporter'.
238f3a58
SM
679 (with-tramp-file-property, with-tramp-connection-property):
680 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
681 `with-connection-property', respectively.
682
683 * net/tramp-cache.el: Remove `with-file-property' and
684 `with-connection-property'.
685
686 * net/tramp.el:
687 * net/tramp-gvfs.el:
688 * net/tramp-sh.el:
689 * net/tramp-smb.el: Adapt callees.
690
691 * net/trampver.el: Update release number.
692
26b77251
GM
6932012-10-09 Glenn Morris <rgm@gnu.org>
694
9a5f296f
GM
695 * w32-fns.el (set-message-beep):
696 * term/w32-win.el (set-message-beep): Update declarations.
697
94c66ce5
SM
6982012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
699
10766e9e
SM
700 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
701 (mode-line-widen, mode-line-input-method-map)
702 (mode-line-coding-system-map, mode-line-remote)
703 (mode-line-unbury-buffer, mode-line-bury-buffer)
704 (mode-line-next-buffer, mode-line-previous-buffer):
705 Replace save-selected-window+select-window => with-selected-window.
706
f754db08
SM
707 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
708 * progmodes/cc-vars.el (bq-process): Remove, unused.
709
94c66ce5
SM
710 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
711
a4ff7fe1
FEG
7122012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
713
714 Implemented `backward-up-list'-like navigation.
715 * progmodes/python.el (python-nav-up-list)
716 (python-nav-backward-up-list): New functions.
717 (python-mode-map): Define substitute key for backward-up-list to
718 python-nav-backward-up-list.
719
24517d82
FEG
7202012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
721
722 * progmodes/python.el (python-fill-paragraph): Rename from
723 python-fill-paragraph-function. Fixed fill-paragraph for
724 decorators (Bug#12605).
725
51867ae2
FEG
7262012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
727
728 * progmodes/python.el (python-shell-output-filter): Handle extra
729 carriage return in OSX (Bug#12409).
730
a5b773c4
FEG
7312012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
732
733 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 734 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
735 (python-syntax-propertize-function): Use it.
736 (python-shell-output-syntax-table): New var.
737 (inferior-python-mode): Prevent unbalanced parens/quotes from
738 previous output mess with current input context.
739
13373538
JB
7402012-10-08 Juanma Barranquero <lekktu@gmail.com>
741
742 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
743 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
744
775a132d
MA
7452012-10-08 Michael Albinus <michael.albinus@gmx.de>
746
747 * ffap.el (ffap-replace-file-component): Support Tramp file name
748 syntax, not only ange-ftp's one.
749
3ab44929
GM
7502012-10-08 Glenn Morris <rgm@gnu.org>
751
57f1dee4
GM
752 * cus-start.el (message-log-max): Set :version.
753
3ab44929
GM
754 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
755
6a088630
MR
7562012-10-08 Martin Rudalics <rudalics@gmx.at>
757
758 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
759 the minibuffer window (Bug#10851).
760
8dbce54c
FEG
7612012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
762
763 Enhancements on forward-sexp movement.
764 * progmodes/python.el (python-nav-beginning-of-statement)
765 (python-nav-end-of-statement): Return point-marker.
766 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
767 (python-info-current-symbol)
768 (python-info-statement-starts-block-p): Rename from
769 python-info-beginning-of-block-p.
770 (python-info-statement-ends-block-p): Rename from
771 python-info-end-of-block-p.
772 (python-info-beginning-of-statement-p)
773 (python-info-end-of-statement-p)
774 (python-info-beginning-of-block-p, python-info-end-of-block-p):
775 New functions.
776
5acd2b3e
SM
7772012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
780 frame-selected-windows.
781
e08348a0
DC
7822012-10-08 Daniel Colascione <dancol@dancol.org>
783
784 * battery.el (battery-status-function): Check for
785 w32-battery-status itself, not system-time windows-nt.
786
787 * frame.el: Require cl-lib.
788 (display-format-alist): New variable mapping frame types to
789 functions that initialize them.
790 (window-system-for-display): New function: interprets
791 display-format-alist.
792 (make-frame-on-display): Remove existing display-selection logic
793 and just forward to make-frame, which will now DTRT.
794 (make-frame): Restructure to use window-system-for-display to
795 figure out how to create a frame on a given display.
796 (display-mouse-p): Look for frame-type w32, not a particular
797 system-type.
798
799 * loadup.el: Load w32 lisp code when we have the w32 feature.
800
801 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
802 system-type windows-nt.
803
804 * server.el (server-create-window-system-frame): Look for window
805 type.
806 (server-proces-filter): Only force a window system when windows-nt
807 _and_ w32. Explain why.
808
809 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
810 of window systems we configure for the mode.
811
812 * startup.el (command-line): Mark window system is initialized
813 after we've done it.
814
815 * common-win.el (x-select-text): Look for w32, not windows-nt.
816
817 * ns-win.el: Require cl-lib. Add ourselves to
818 display-format-alist.
819 (ns-initialize-window-system): Assert we're not initialized twice.
820
821 * w32-win.el: Enable lexical binding; require cl-lib; add
822 ourselves to display-format-alist.
823 (w32-handle-dropped-file): Convert incoming dropped files from
824 Windows paths to Cygwin ones before passing them on to the rest of
825 Emacs.
826 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
827 (w32-initialize-window-system): Assert we're not initialized twice.
828
829 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
830 (x-initialize-window-system): Assert we're not initialized twice.
831
832 * w32-common-fns.el: New File.
833 (w32-version, w32-using-nt, w32-get-clipboard-data)
834 (w32-set-clipboard-data, x-set-selection, x-get-selection)
835 (w32-charset-info-alist, x-last-selected, text)
836 (x-get-selection-value, x-selection-value): Move here.
837
838 * w32-fns.el: Require w32-common-fns.
839 (w32-version, w32-using-nt, w32-get-clipboard-data)
840 (w32-set-clipboard-data, x-set-selection, x-get-selection)
841 (w32-charset-info-alist, x-last-selected, text)
842 (x-get-selection-value, x-selection-value): Move to
843 w32-common-fns.
844
845 * w32-vars.el:
846 (w32-allow-system-shell, w32-system-shells): Define only in
847 non-cygwin case.
848
795b1482
SM
8492012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
852 (read-passwd): Remove a few more potential sources of leaks.
853
f27c99dc
FEG
8542012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
855
856 * progmodes/python.el (inferior-python-mode)
795b1482 857 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
858 variables copied from parent buffer.
859
fcacb558
JD
8602012-10-07 Jan Djärv <jan.h.d@swipnet.se>
861
862 * term/ns-win.el (ns-read-file-name): Update declaration to match
863 nsfns.m.
864 (ns-respond-to-change-font): Change fontsize separatly so we are sure
865 it is set when font is acted upon.
866
be0d5bae
FEG
8672012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
868
869 Enhancements to indentation.
870 * progmodes/python.el (python-indent-context): Give priority to
871 inside-string context. Make comments indentation markers.
872 (python-indent-region): Do not mess with strings, unless it's the
873 enclosing set of quotes.
874
13af0d10
SM
8752012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
876
662a9d0e
SM
877 * window.el (internal--before-save-selected-window)
878 (internal--after-save-selected-window): New functions extracted from
879 save-selected-window. Make sure we return the `alist' we construct.
880 (save-selected-window): Use them.
881
882 * textmodes/tex-mode.el (tex-recenter-output-buffer):
883 Use with-selected-window.
884
13af0d10
SM
885 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
886 forms that define macros (bug#12593).
887
6aa75fb6
KH
8882012-10-07 Kenichi Handa <handa@gnu.org>
889
13af0d10
SM
890 * international/mule-conf.el (compound-text-with-extensions):
891 Add :mime-charset property as x-ctext.
6aa75fb6 892
78d876b9
SM
8932012-10-07 Stefan Merten <smerten@oekonux.de>
894
895 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
896 (rst-indent-literal-normal, rst-indent-literal-minimized)
897 (rst-indent-comment): Correct :version tag.
557337e9 898 (rst-official-cvs-rev): Correct version string.
78d876b9 899
99a1e701
GM
9002012-10-07 Glenn Morris <rgm@gnu.org>
901
902 * mail/rmailmm.el (rmail-mime-process-multipart):
903 Do not confuse a multipart message with an epilogue
904 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
905
08f18c3d
FEG
9062012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
907
908 Fix shell output retrieval and comint-prompt-regexp init.
909 * progmodes/python.el (inferior-python-mode):
910 (python-shell-make-comint): Fix initialization of
911 comint-prompt-regexp from copied file local variables.
912 (python-shell-fetched-lines): Remove var.
913 (python-shell-output-filter-in-progress): Rename from
914 python-shell-fetch-lines-in-progress.
915 (python-shell-output-filter-buffer): Rename from
916 python-shell-fetch-lines-string.
917 (python-shell-fetch-lines-filter): Delete function.
918 (python-shell-output-filter): New function.
919 (python-shell-send-string-no-output): Use them.
920
82ed3ab4
GM
9212012-10-07 Glenn Morris <rgm@gnu.org>
922
1595ecfa
GM
923 * hi-lock.el (hi-lock-process-phrase):
924 Try to make it less fragile. (Bug#7161)
925
82ed3ab4
GM
926 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
927
f1f4dba0
GM
9282012-10-06 Glenn Morris <rgm@gnu.org>
929
addc11ed 930 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
931 non-existent mode `help'.
932 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 933
460042b8
GM
934 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
935 (reftex-create-bibtex-footer): Fix custom types.
936
67667c70
GM
937 * progmodes/sh-script.el (sh-indent-after-continuation):
938 Add explicit :group.
939
18dec750
GM
940 * textmodes/rst.el (rst-preferred-decorations)
941 (rst-shift-basic-offset): Clarify obsolescence versions.
942
d1a1c7e6
GM
943 * profiler.el (profiler): Add missing group :version tag.
944 * avoid.el (mouse-avoidance-banish-position):
945 * proced.el (proced-renice-command):
946 * calc/calc.el (calc-ensure-consistent-units):
947 * calendar/icalendar.el (icalendar-import-format-uid):
948 * net/tramp.el (tramp-save-ad-hoc-proxies):
949 * progmodes/bug-reference.el (bug-reference-bug-regexp):
950 * progmodes/flymake.el (flymake-error-bitmap)
951 (flymake-warning-bitmap, flymake-fringe-indicator-position):
952 * progmodes/sh-script.el (sh-indent-after-continuation):
953 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
954 (verilog-before-save-font-hook, verilog-after-save-font-hook):
955 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
956 (vhdl-array-index-record-field-in-sensitivity-list)
957 (vhdl-indent-comment-like-next-code-line):
958 * textmodes/reftex-vars.el (reftex-ref-style-alist)
959 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
960 (reftex-cite-key-separator, reftex-create-bibtex-header)
961 (reftex-create-bibtex-footer):
962 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
963 (rst-indent-literal-normal, rst-indent-literal-minimized)
964 (rst-indent-comment): Add missing custom :version tags.
965
ef35abb4
GM
966 * calendar/timeclock.el (timeclock-modeline-display):
967 Add missing obsolete alias for renamed user option.
968
d1aae614
GM
969 * strokes.el (strokes-modeline-string):
970 * emulation/crisp.el (crisp-mode-modeline-string):
971 * eshell/esh-mode.el (eshell-status-in-modeline):
972 Aliases to defcustoms must come before the defcustom.
973
f1f4dba0
GM
974 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
975 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
976 (cal-tex-cursor-week-monday): Doc fixes.
977 (cal-tex-cursor-week2-summary): Doc fix.
978 Rename from cal-tex-cursor-week-at-a-glance.
979
980 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
981 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
982
983 * calendar/calendar.el (calendar-mode-map):
984 Add cal-tex-cursor-week2-summary.
985
d39109c3
SM
9862012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
987
685f87b0
SM
988 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
989
d39109c3
SM
990 * subr.el (read-passwd-map): New var.
991 (read-passwd): Use `read-string' again.
992 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
993
5694896d
J
9942012-10-06 Jambunathan K <kjambunathan@gmail.com>
995
996 * register.el (append-to-register, prepend-to-register):
997 Deactivate mark, as does `copy-to-register' (bug#12389).
998
9414dd8d
CY
9992012-10-06 Chong Yidong <cyd@gnu.org>
1000
1001 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1002
2b89bca4
KH
10032012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1004
1005 * international/characters.el: Fix simple mistake ((car chars) ->
1006 elt), delete duplicated code.
1007
d5acb99a
GM
10082012-10-06 Glenn Morris <rgm@gnu.org>
1009
1010 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1011
123ec157
JS
10122012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1013
1014 * color.el (color-hsl-to-rgb): Fix incorrect results for
1015 small and large hue values. (Bug#12559)
1016
7fa36ccb
FEG
10172012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1018
1019 Enhancements to docstring formatting when filling paragraphs.
1020 * progmodes/python.el (python-fill-docstring-style): Rename from
1021 python-fill-string-style. Added new style.
1022 (python-fill-string): Use new style. Better checks for
1023 docstrings.
1024
d8788e1e
GM
10252012-10-05 Glenn Morris <rgm@gnu.org>
1026
204f3953
GM
1027 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1028
d8788e1e
GM
1029 * color.el (color-name-to-rgb, color-rgb-to-hex)
1030 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1031 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1032 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1033 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1034
8d956cef
GM
1035 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1036
e8757f09 10372012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1038
1039 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1040 to get the correct size across symlinks.
1041
e8757f09
GM
1042 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1043
0e2ae83d
JL
10442012-10-04 Juri Linkov <juri@jurta.org>
1045
1046 * replace.el (query-replace-interactive): Declare obsolete.
1047 (query-replace-read-from): Add the last incremental search string
1048 to the list of default values accessible via M-n.
1049 (map-query-replace-regexp): Use `read-regexp'.
1050 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1051 (map-query-replace-regexp, replace-string, replace-regexp):
1052 Fix docstrings to replace mentions of `query-replace-interactive'
1053 with alternatives. (Bug#12526)
1054
93cacb6d
JL
10552012-10-04 Juri Linkov <juri@jurta.org>
1056
1057 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1058 (dired-pop-to-buffer): Declare obsolete.
1059 (dired-mark-pop-up): Doc fix.
1060
fc345011
FEG
10612012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1062
1063 Allow user to set docstring style for fill-paragraph.
1064 * progmodes/python.el
1065 (python-fill-comment-function, python-fill-string-function)
1066 (python-fill-decorator-function, python-fill-paren-function):
1067 Remove :safe for defcustoms.
1068 (python-fill-string-style): New defcustom
5694896d 1069 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1070 (python-fill-string): Honor python-fill-string-style settings.
1071
6bab5d8b
MR
10722012-10-04 Martin Rudalics <rudalics@gmx.at>
1073
1074 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1075 after setting its buffer (Bug#10805).
1076
a1a9f411
FEG
10772012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1078
1079 Fix cornercase for string syntax.
1080 * progmodes/python.el (python-syntax-propertize-function):
1081 Simplify and enhance the regexp for unescaped quotes. Now it also
1082 matches quotes in weird situations like the single quote in
1083 "something\"'".
1084 (python-syntax-stringify): Simplify num-quotes detecting code.
1085
05e153a6
GM
10862012-10-03 Glenn Morris <rgm@gnu.org>
1087
1088 * help-macro.el (three-step-help):
1089 Revert 2012-09-29 change. (Bug#12567)
1090
2e566ecb
MR
10912012-10-03 Martin Rudalics <rudalics@gmx.at>
1092
96ef9ccd
MR
1093 * menu-bar.el (kill-this-buffer): Don't do anything when
1094 `menu-frame' is not alive or visible (Bug#8184).
1095
2e566ecb
MR
1096 * emacs-lisp/debug.el (debug): When quitting the debugger window
1097 restore current buffer (Bug#12502).
1098
a96e1cb7
CY
10992012-10-02 Chong Yidong <cyd@gnu.org>
1100
5694896d
J
1101 * progmodes/hideif.el (hif-lookup, hif-defined):
1102 Handle semantic-c-takeover-hideif.
a96e1cb7 1103
b3ecad33
PE
11042012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1105
1106 Change sampling interval units from ms to ns.
1107 * profiler.el (profiler-sampling-interval): Change units
1108 from ms to ns, multiplying the default by 1000000 so that
1109 it remains 1 ms.
1110 (profiler-report-cpu-line-format): Give enough room for
1111 the maximum counters on 64-bit hosts.
1112 (profiler-report-render-calltree-1): Call them "CPU samples",
1113 not "Time (ms)", since they are not milliseconds now (and
1114 never really were).
1115
8cb51b66 11162012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1117
5694896d
J
1118 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1119 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1120
fd795bf4
CY
11212012-10-02 Chong Yidong <cyd@gnu.org>
1122
1123 * emacs-lisp/eieio.el: Restore Version header.
1124
fe0a74f9
SM
11252012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1126
6be9197e
SM
1127 * vc/diff-mode.el (diff--auto-refine-data): New var.
1128 (diff-hunk): Use it to delay refinement.
1129 (diff-mode): Remove overlays when we turn off font-lock.
1130
18486139
SM
1131 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1132 (table-initialize-table-fixed-width-mode)
1133 (table-set-table-fixed-width-mode): Remove functions.
1134 (table-command-list): Move initialization into declaration.
1135 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1136 (table-with-cache-buffer): Use `declare'.
1137 (table-span-cell): Simplify via CSE.
1138 (table-fixed-width-mode): Use define-minor-mode.
1139 (table-call-interactively, table-funcall, table-apply): Remove.
1140 (table-function): New function, to replace them.
1141
d83ef976
SM
1142 * bookmark.el (bookmark-search-pattern): Remove var.
1143 (bookmark-read-search-input): Remove function.
1144 (bookmark-bmenu-search): Reimplement using a minibuffer.
1145
cd386662
SM
1146 * faces.el (modeline): Remove obsolete face name.
1147
fe0a74f9
SM
1148 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1149 and give a non-nil default value.
1150 (add-change-log-entry): Simplify accordingly.
1151
9f7b98f8
DG
11522012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1153
1154 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1155 (vc-git-log-edit-toggle-amend): New function.
1156 (vc-git-log-edit-toggle-signoff): New function.
1157 (vc-git-log-edit-mode): New major mode.
1158 (vc-git-log-edit-mode-map): Keymap for it.
1159 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1160
1161 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1162 header names.
1163 (log-edit-toggle-header): New function.
1164 (log-edit-extract-headers): Accept function values in HEADERS alist.
1165
62a81506
CY
11662012-10-01 David Engster <deng@randomsample.de>
1167
1168 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1169 from symbol property and change message to be more consistent with
1170 Emacs proper.
1171 (eieio-describe-generic): Add filename for each implementation.
1172 Fix indices for generic and normal methods.
1173 (eieio-method-def, eieio-class-def): New buttons.
1174 (eieio-help-find-method-definition)
1175 (eieio-help-find-class-definition): New functions.
1176 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1177 class, constructor and method definitions.
1178
1179 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1180 information in symbol property.
1181 (scoped-class): Remove.
1182 (eieio-slot-name-index, call-next-method): Check if it is bound.
1183
11842012-10-01 Leo P. White <lpw25@cam.ac.uk>
1185
1186 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1187 (eieio-custom-mode): New major mode.
1188 (eieio-customize-object): Use it.
1189
11902012-10-01 Eric Ludlam <zappo@gnu.org>
1191
1192 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1193 specifying the expected class, and whether subclassing is allowed.
1194 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1195 (eieio-persistent-validate/fix-slot-value)
1196 (eieio-persistent-slot-type-is-class-p): New functions.
1197 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1198
1199 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1200 Stop using unused publd variable.
1201
1202 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1203 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1204 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1205 (eieio-speedbar-handle-click): Do not specify a class for the
1206 method. Fixes method invocation order problems with EDE.
1207
375e49d4
SM
12082012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1211 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1212
16ce6ccd
KF
12132012-10-01 Karl Fogel <kfogel@red-bean.com>
1214
1215 * bookmark.el (bookmark-version-control): Give tags in the
1216 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1217 (bookmark-write-file): Bind `print-circle' to `t' to allow
1218 circular custom bookmark types. (Bug#12503)
16ce6ccd 1219
19e54a4d
PE
12202012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1221
86ec63ba
PE
1222 Revert the FOLLOW-SYMLINKS change for file-attributes.
1223 * files.el (remote-file-name-inhibit-cache, after-find-file):
1224 * time.el (display-time-file-nonempty-p): Undo last change.
1225
19e54a4d
PE
1226 * profiler.el (profiler-sampling-interval): Change default back to 1.
1227 See Stefan Monnier in
1228 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1229
0478776b
FEG
12302012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1231
1232 Shell output catching a la gud-gdb.
1233 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1234 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1235 New Vars.
0478776b
FEG
1236 (python-shell-fetch-lines-filter): New function.
1237 (python-shell-send-string-no-output): Use them.
1238
c22bac2c
TM
12392012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1240
1241 * profiler.el (profiler-sampling-interval): Rename from
1242 profiler-sample-interval.
1243 (profiler-sampling-interval): Default to 10.
1244 (profiler-find-profile): New command (was profiler-find-log).
1245 (profiler-find-profile-other-window): New command.
1246 (profiler-find-profile-other-frame): New command.
1247 (profiler-profile): Introduce API-level data structure.
1248
e7a2937b
PE
12492012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1250
1251 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1252 * files.el (remote-file-name-inhibit-cache):
1253 * time.el (display-time-file-nonempty-p): Use it.
1254 * files.el (after-find-file): Don't chase links before calling
1255 file-exists-p, as file-exists-p already does the right thing.
1256
4f595e15
RA
12572012-09-30 Ralf Angeli <angeli@caeruleus.net>
1258
1259 Merge from standalone RefTeX repository.
1260
1261 The following ChangeLog entries are shortened versions of the
1262 original ones with file paths adapted. A not so strongly edited
1263 version of the original ChangeLog can be found in the commit log.
1264
1265 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1266 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1267 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1268
1269 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1270 that entries with whitespace at various places are found.
1271 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1272 Include @String definitions in the resulting bib file. Add header
1273 and footer defined in `reftex-create-bibtex-header' and
1274 `reftex-create-bibtex-footer'.
1275 (reftex-do-citation): Make it possible again to insert
1276 non-existent entries. Save match data when asking for optional
1277 arguments. Return all keys, not just the first one.
1278 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1279 all citations in the same line.
1280 (reftex-parse-bibtex-entry): Accept additional optional argument
1281 `raw' and keep quotes or braces if it is non-nil. Match fields
1282 containing hyphens besides word constituents.
1283 (reftex-get-string-refs): New function.
1284 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1285 and ask if it should be reread in case it did.
1286 (reftex-pop-to-bibtex-entry)
1287 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1288 entries with spaces or tabs in front of arguments.
1289 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1290 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1291 Match entries containing numbers and symbol constituents.
1292 (reftex-do-citation, reftex-figure-out-cite-format):
1293 Use `reftex-cite-key-separator'.
4f595e15
RA
1294
1295 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1296 (reftex-mouse-view-crossref): Explain why point is set.
1297
1298 * textmodes/reftex-global.el: Whitespace changes.
1299
1300 * textmodes/reftex-index.el: Move provide statement to end of
1301 file.
1302 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1303 (reftex-index-visit-phrases-buffer): Set marker when visiting
1304 buffer. This allows for returning from the phrases file to the
1305 file one was just editing instead of the file where the last
1306 phrases was added from.
1307 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1308 punctuation syntax as it usually is not used as string quote in
1309 TeX-related modes and may occur unmatched. The change also
1310 prevents fontification of quoted content.
1311 (reftex-index-phrases-mode): Use it.
1312
375e49d4
SM
1313 * textmodes/reftex-parse.el (reftex-parse-from-file):
1314 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1315 (reftex-parse-from-file): Use beginning of match instead of end as
1316 bound.
1317
1318 * textmodes/reftex-ref.el: Adapt creation of
1319 `reftex-<package>-<macro>' functions to new structure of
1320 `reftex-ref-style-alist'.
375e49d4
SM
1321 (reftex-reference): Use `reftex-ref-style-list' function.
1322 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1323 reference macro if `reftex-ref-macro-prompt' is non-nil.
1324 (reftex-reference): Pass refstyle to `reftex-format-special'.
1325 Determine reference macro by looking at
375e49d4
SM
1326 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1327 Use only one special format function.
4f595e15
RA
1328 (reftex-varioref-vref, reftex-fancyref-fref)
1329 (reftex-fancyref-Fref): Remove definitions. The functions are now
1330 generated from `reftex-ref-style-alist'.
1331 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1332 Remove.
1333 (reftex-format-special): New function.
1334
1335 * textmodes/reftex-sel.el
1336 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1337 of `reftex-ref-style-alist'. Remove code for testing macro type.
1338 (reftex-select-toggle-varioref)
1339 (reftex-select-toggle-fancyref): Remove.
1340 (reftex-select-cycle-ref-style-internal)
1341 (reftex-select-cycle-ref-style-forward)
1342 (reftex-select-cycle-ref-style-backward): New functions.
1343 (reftex-select-label-map): Use `v' and `V' for general cycling
1344 through reference styles. Add `p' for switching between number
1345 and page reference types.
1346
375e49d4
SM
1347 * textmodes/reftex-toc.el (reftex-re-enlarge):
1348 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1349 the horizontal version throws an error even if the parameter is 0.
1350
1351 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1352 (reftex-plug-into-AUCTeX): Doc fix.
1353 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1354 string. Adapt to new name.
1355 (reftex-ref-style-alist): Change structure so that it is not
1356 possible to use multiple different package names within a style.
375e49d4
SM
1357 Remove the symbols for symbols for macro type distinction.
1358 Add characters for macro selection.
4f595e15
RA
1359 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1360 (reftex-create-bibtex-footer): New variables.
1361 (reftex-format-ref-function): Mention third argument of special
1362 format function.
375e49d4
SM
1363 (reftex-ref-style-alist, reftex-ref-style-default-list):
1364 New variables.
4f595e15
RA
1365 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1366 to new implementation. Mark as obsolete. Add compatibility code
1367 for honoring the variable values in case they are set.
375e49d4
SM
1368 (reftex-cite-format-builtin, reftex-bibliography-commands):
1369 Add support for ConTeXt.
1370 (reftex-format-ref-function, reftex-format-cite-function):
1371 Fix custom type.
4f595e15
RA
1372 (reftex-cite-key-separator): New variable.
1373
1374 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1375 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1376 `reftex-syntax-table' because parens have to retain their paren
1377 syntax in order for parsing of BibTeX entries like @book(...) to
1378 work.
1379 (reftex-in-comment): Do not error out if `comment-start-skip' is
1380 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1381 (reftex-tie-multifile-symbols): Add doc string.
1382 Initialize `reftex-ref-style-list'.
4f595e15
RA
1383 (reftex-untie-multifile-symbols): Add doc string.
1384 (reftex-add-index-macros): Doc fix.
1385 (reftex-ref-style-activate, reftex-ref-style-toggle)
1386 (reftex-ref-style-list): New functions.
1387 (reftex-mode-menu): Use them. Adapt to new structure of
1388 `reftex-ref-style-alist'.
1389 (reftex-select-with-char): Kill the RefTeX Select buffer when
1390 done.
1391 (reftex-remove-if): New function.
1392 (reftex-erase-all-selection-and-index-buffers)
1393 (reftex-mode-menu): Reference styles are now computed from
1394 `reftex-ref-style-alist'. Fix typo.
1395 (reftex-report-bug): New function.
1396 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1397 algorithms with O(n log n). Introduce optional argument SORT (not
1398 yet used).
1399
440ba395
FEG
14002012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1401
1402 Enhancements for triple-quote string syntax.
375e49d4
SM
1403 * progmodes/python.el (python-syntax-propertize-function):
1404 Match both quote cases in one regexp.
440ba395
FEG
1405 (python-syntax-stringify): Handle matches properly.
1406
4c478e6b
JL
14072012-09-30 Juri Linkov <juri@jurta.org>
1408
1409 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1410 to nil around the call to `insert' to prevent
4c478e6b
JL
1411 directory time modification by lock_file. (Bug#2295)
1412 * tar-mode.el (tar-summarize-buffer): Idem.
1413
d80d54b2
JL
14142012-09-30 Juri Linkov <juri@jurta.org>
1415
1416 * facemenu.el (list-colors-sort): Add option "Luminance".
1417 (list-colors-sort-key): Implement it.
1418
1419 * vc/diff-mode.el (diff-refine-removed):
1420 * vc/ediff-init.el (ediff-fine-diff-A):
1421 * vc/smerge-mode.el (smerge-refined-removed):
1422 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1423
d7e642cc
JD
14242012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1425
1426 * term/ns-win.el (x-file-dialog): New function.
1427
ee41332b
JB
14282012-09-30 Juanma Barranquero <lekktu@gmail.com>
1429
1430 * ido.el (ido-max-directory-size): Default to nil; the current
1431 default is small for POSIX systems, and impractical on Windows 7
1432 now that lstat returns directory sizes for NTFS.
1433
5938d519
MR
14342012-09-30 Martin Rudalics <rudalics@gmx.at>
1435
1436 In buffer display functions handle window-height/window-width
1437 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1438 * window.el (window--display-buffer): New argument ALIST.
1439 Obey window-height and window-width alist entries.
1440 (window--try-to-split-window): New argument ALIST.
1441 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1442 changed and window-combination-limit equals `window-size'.
1443 (display-buffer-in-atom-window)
1444 (display-buffer-in-major-side-window)
1445 (display-buffer-in-side-window, display-buffer-same-window)
1446 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1447 (display-buffer-pop-up-window, display-buffer-below-selected)
1448 (display-buffer-at-bottom, display-buffer-in-previous-window)
1449 (display-buffer-use-some-window): Adjust all callers of
1450 window--display-buffer and window--try-to-split-window.
1451 (fit-frame-to-buffer): New option.
1452 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1453 is non-nil.
1454 (display-buffer-in-major-side-window): Evaluate window-height /
1455 window-width alist entries.
1456
1457 * help.el (temp-buffer-resize-frames)
1458 (temp-buffer-resize-regexps): Remove options.
1459 (temp-buffer-resize-mode): Adjust doc-string.
1460 (resize-temp-buffer-window): Don't consult
1461 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1462 temp-buffer-resize-frames.
1463
375e49d4
SM
1464 * dired.el (dired-mark-pop-up):
1465 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1466 entry.
1467
c4c0c2df
CY
14682012-09-30 Chong Yidong <cyd@gnu.org>
1469
48de8b12
CY
1470 * server.el (server-host): Document the security implications.
1471 (server-auth-key): Doc fix.
1472
1473 * startup.el (initial-buffer-choice): Doc fix.
1474
1475 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1476
a97dc380
CY
1477 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1478 restriction change.
1479
d39d3c8e
CY
1480 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1481
c4c0c2df
CY
1482 * help-fns.el (help-fns--obsolete): Fix last change.
1483
98a5e33b
SM
14842012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1485
34cf6f39
SM
1486 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1487 (minor-mode-map-alist): Remove redundant code.
1488
e01c13fe
SM
1489 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1490 visited in a buffer.
1491 (cvs-insert-visited-file): New function.
1492 (find-file-hook): Use it.
1493
1494 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1495
02661b3a
SM
1496 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1497 chose face.
1498 (log-edit-empty-buffer-p): Don't require a space after a header.
1499
43711d4b
SM
1500 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1501
38a30d64
SM
1502 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1503
4ffb41a9
SM
1504 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1505 a proper minor-mode.
1506
98a5e33b
SM
1507 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1508
de82e29b
GM
15092012-09-29 Glenn Morris <rgm@gnu.org>
1510
5cc2e639
GM
1511 * winner.el (winner-mode): Remove variable (let define-minor-mode
1512 handle it).
1513 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1514 Doc fixes.
1515 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1516 (winner-mode): Use define-minor-mode.
1517
7bd302eb
GM
1518 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1519 the full definition in loaddefs, rather than duplicating it.
1520
2923922f 1521 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1522
0e3e4156
GM
1523 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1524 (inferior-lisp-program, inferior-lisp-load-command)
1525 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1526 No need to autoload defcustoms.
0e3e4156 1527
de82e29b
GM
1528 * hippie-exp.el (hippie-expand-try-functions-list)
1529 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1530 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1531 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1532 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1533 * progmodes/vhdl-mode.el (vhdl-line-expand):
1534 Explicitly load hippie-exp, so it does not get autoloaded
1535 while hippie-expand-try-functions-list is let-bound.
1536
e60b51ab
GM
15372012-09-28 Glenn Morris <rgm@gnu.org>
1538
277f0cfa
GM
1539 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1540
e60b51ab
GM
1541 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1542 Only "cl.el" counts as cl these days.
1543
53baf48a
JL
15442012-09-28 Juri Linkov <juri@jurta.org>
1545
1546 Display archive errors in the echo area instead of inserting
1547 to the file buffer.
1548
1549 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1550 to STDERR-TEST that can be a regexp matching a successful output.
1551 Create a temporary file and redirect stderr to it. Search for
1552 STDERR-TEST in the stderr output and display it in the echo area
1553 if no match is found.
1554 (archive-extract-by-file): New function like
1555 `archive-extract-by-stdout' but extracting archives to files
1556 and looking for successful matches in stdout. Function body is
1557 mostly copied from `archive-rar-extract'.
1558 (archive-rar-extract): Use `archive-extract-by-file'.
1559 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1560
9c1228c3
LL
15612012-09-28 Leo Liu <sdl.web@gmail.com>
1562
375e49d4
SM
1563 * pcomplete.el (pcomplete-show-completions):
1564 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1565
9c1228c3
LL
1566 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1567
7f457c06
SM
15682012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1569
3df749b0
SM
1570 * type-break.el: Use lexical-binding.
1571 (type-break-mode): Use define-minor-mode.
1572
7f457c06
SM
1573 * emacs-lisp/pcase.el (pcase--mark-used): New.
1574 (pcase--u1): Use it (bug#12512).
1575
1576 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1577 in load-history with the right file name.
1578
c00ebc98
TH
15792012-09-28 Tassilo Horn <tsdh@gnu.org>
1580
1581 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1582 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1583 (doc-view-get-bounding-box): Make bounding box slicing work for
1584 ODF and DVI documents.
1585
96fb7170
GM
15862012-09-28 Glenn Morris <rgm@gnu.org>
1587
1588 * type-break.el (type-break-mode, type-break-interval)
1589 (type-break-good-rest-interval, type-break-keystroke-threshold):
1590 No need to autoload.
1591 (type-break-good-rest-interval, type-break-keystroke-threshold):
1592 Add :set-after.
1593
5bc93c67
CY
15942012-09-28 Chong Yidong <cyd@gnu.org>
1595
1596 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1597 Add :version tag.
1598
9cad61d6
SM
15992012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1600
e28e67b3 1601 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1602
daee954c
GM
16032012-09-27 Glenn Morris <rgm@gnu.org>
1604
a88324d4
GM
1605 * faces.el (x-display-name): Declare (for without-x builds).
1606
8e5064e5
GM
1607 * linum.el (linum-format): Don't autoload it. Improve :type.
1608
cc1783c2
GM
1609 * progmodes/tcl.el: Don't require outline when compiling.
1610 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1611 * textmodes/sgml-mode.el: Don't require outline when compiling.
1612 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1613
48c339f2
GM
1614 * term.el (term-ansi-reset):
1615 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1616
daee954c
GM
1617 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1618 files for RCS and SCCS. (Bug#9781)
1619
b7f42161
CY
16202012-09-27 Chong Yidong <cyd@gnu.org>
1621
1622 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1623 change; value should be t.
1624
a2e770db
SM
16252012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1626
83600dc8
SM
1627 * image-mode.el: Use lexical-binding.
1628 (image-mode-winprops): Use t to stand for the window of
1629 a buffer that's not displayed.
1630 * doc-view.el (doc-view-new-window-function): Handle the new
1631 t in winprops.
1632 (doc-view-enlarge): Make it a real nop if the size is not changed.
1633 (doc-view-display): Handle the case where the buffer is not (yet?)
1634 displayed in any window.
1635 (doc-view-saved-settings): New var.
1636 (doc-view-mode): Use it.
1637 (doc-view-fallback-mode): Set it.
1638
a2e770db
SM
1639 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1640 Set lexical-binding.
1641 (minibuffer-eldef-shorten-default): New var.
1642 (minibuffer-default-in-prompt-regexps): Use it for new default.
1643 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1644
e3b60857
JB
16452012-09-26 Juanma Barranquero <lekktu@gmail.com>
1646
1647 * international/uni-bidi.el:
1648 * international/uni-category.el:
1649 * international/uni-name.el:
1650 * international/uni-numeric.el: Regenerate.
1651
3a880af4
SM
16522012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1653 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * profiler.el: New file.
1656
07b1a5fb
SM
16572012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1660 (testcover-reinstrument): Simplify with CSE.
1661
42019c2e
JB
16622012-09-26 Juanma Barranquero <lekktu@gmail.com>
1663
1664 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1665
179f044b
WS
16662012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1667
1668 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1669 (verilog-auto-input, verilog-auto-insert-lisp)
1670 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1671 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1672 (verilog-auto-unused, verilog-auto-wire)
1673 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1674 newline. Reported by Andrew Jones.
1675 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1676 Reported by Brad Dobbie.
07b1a5fb
SM
1677 (verilog-batch-delete-trailing-whitespace):
1678 Create verilog-batch-delete-trailing-whitespace.
1679 Reported by Brad Dobbie.
179f044b
WS
1680 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1681 parameters from another module. Reported by Dan Katz.
1682 (verilog-auto, verilog-auto-assign-modport)
1683 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1684 AUTOINOUTMODPORT for UVM interface module shell generation.
1685 Reported by Brad Dobbie.
1686 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1687 standard behavior.
1688 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1689 Reported by Matt Martin.
1690
9c52dd5a
MR
16912012-09-25 Martin Rudalics <rudalics@gmx.at>
1692
1693 * window.el (window--resize-child-windows): When resizing child
1694 windows proportionally, process them in reverse order to
1695 preserve the "when splitting a window the new one gets the odd
1696 line" behavior.
1697 (window--resize-root-window-vertically): When resizing the
1698 minibuffer window try to affect only windows at the bottom of the
1699 frame. (Bug#12419)
1700
863666eb
CY
17012012-09-25 Chong Yidong <cyd@gnu.org>
1702
1703 * subr.el (declare): Doc fix.
1704
1705 * help-fns.el (help-fns--obsolete): Handle macros properly.
1706
59f7af81
CY
17072012-09-25 Chong Yidong <cyd@gnu.org>
1708
1709 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1710 this function obsolete.
1711
1712 * calendar/cal-x.el (calendar-two-frame-setup)
1713 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1714 * calendar/calendar.el (american-calendar, european-calendar)
1715 (calendar-for-loop):
1716 * comint.el (comint-dynamic-simple-complete)
1717 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1718 * desktop.el (desktop-load-default):
1719 * dired-x.el (dired-omit-here-always)
1720 (dired-hack-local-variables, dired-default-directory):
1721 * emacs-lisp/derived.el (derived-mode-class):
1722 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1723 * emacs-lock.el (toggle-emacs-lock):
1724 * epa.el (epa-display-verify-result):
1725 * epg.el (epg-sign-keys, epg-start-sign-keys)
1726 (epg-passphrase-callback-function):
1727 * eshell/esh-util.el (eshell-for):
1728 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1729 (eshell-add-to-window-buffer-names):
1730 * files.el (locate-file-completion):
1731 * imenu.el (imenu-example--create-c-index)
1732 (imenu-example--create-lisp-index)
1733 (imenu-example--lisp-extract-index-name)
1734 (imenu-example--name-and-position):
1735 * international/mule-cmds.el (princ-list):
1736 * international/mule-diag.el (decode-codepage-char):
1737 * international/mule-util.el (detect-coding-with-priority):
1738 * iswitchb.el (iswitchb-read-buffer):
1739 * mail/mailalias.el (mail-complete):
1740 * mail/sendmail.el (mail-sent-via):
1741 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1742 (mouse-major-mode-menu):
1743 * password-cache.el (password-read-and-add):
1744 * pcomplete.el (pcomplete-parse-comint-arguments):
1745 * progmodes/sh-script.el (sh-maybe-here-document):
1746 * replace.el (query-replace-regexp-eval):
1747 * savehist.el (savehist-load):
1748 * simple.el (choose-completion-delete-max-match):
1749 * term.el (term-dynamic-simple-complete):
1750 * vc/ediff-init.el (ediff-check-version):
1751 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1752 * vc/vc.el (vc-diff-switches-list):
1753 * view.el (view-return-to-alist-update): Likewise.
1754
1755 * subr.el (eval-next-after-load, makehash, insert-string)
1756 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1757 mark obsolete.
1758 (mode-line-inverse-video): Variable deleted.
1759
1760 * international/mule-util.el (string-to-sequence): Remove.
1761
1762 * calendar/calendar.el (calendar-version):
1763 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1764 (icalendar-convert-diary-to-ical):
1765 * cus-edit.el (custom-mode):
1766 * ansi-color.el (ansi-color-unfontify-region):
1767 * international/latin1-disp.el (latin1-char-displayable-p):
1768 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1769 * progmodes/which-func.el (which-func-update-1):
1770 Use define-obsolete-function-alias.
59f7af81
CY
1771
1772 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1773 * net/newst-treeview.el (newsticker-groups-filename):
1774 Fix incorrect obsolescence declaration.
59f7af81
CY
1775
1776 * allout.el (allout-passphrase-hint-string): Likewise.
1777 (allout-init): Use a declare form to mark obsolete.
1778
1779 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1780 this applies to functions.
1781
1782 * iswitchb.el (iswitchb-read-buffer): Move code of
1783 iswitchb-define-mode-map here, and delete that obsolete function.
1784
1785 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1786 font-lock-reference-face.
1787
cca96c97
GM
17882012-09-25 Glenn Morris <rgm@gnu.org>
1789
b06eeda8
GM
1790 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1791 Doc fixes.
1792
cca96c97
GM
1793 * eshell/em-term.el (eshell-term-name):
1794 Default to term-term-name. (Bug#12485)
1795
dc4f818b
FEG
17962012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1797
cca96c97
GM
1798 * progmodes/python.el (python-shell-send-buffer): Better handling
1799 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1800
289c24bd
GM
18012012-09-24 Glenn Morris <rgm@gnu.org>
1802
1803 * eshell/esh-cmd.el (eshell-find-alias-function):
1804 Tighten up file-name regexp. (Bug#12499)
1805
8fb8b88f
FEG
18062012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1807
1808 Enhancements for triple-quote string syntax.
1809 * progmodes/python.el (python-quote-syntax): Remove.
1810 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1811 (python-syntax-count-quotes, python-syntax-stringify):
1812 New functions.
8fb8b88f 1813
6c27f0f8
CY
18142012-09-24 Chong Yidong <cyd@gnu.org>
1815
a5f2b6ec
CY
1816 * mail/supercite.el (sc-version): Remove obsolete function.
1817 (sc-describe): Don't mark as obsolete, since it is bound.
1818 (sc-submit-bug-report): Remove.
1819
1820 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1821 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1822 (log-edit-require-final-newline)
1823 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1824
1825 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1826 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1827 * vc/vc.el (vc-checkout-carefully): Likewise.
1828
1829 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1830 (emerge-version): Remove.
1831
1832 * progmodes/compile.el (compile-internal): Remove.
1833 (compilation-parse-errors-function): Fix typo.
1834
1835 * international/mule.el (set-char-table-default): Remove.
1836 (set-coding-priority, make-coding-system, generic-char-p)
1837 (charset-list, charset-bytes, charset-id): Use declare to mark
1838 functions as obsolete.
1839
1840 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1841 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1842 * vc/vc-hooks.el (vc-default-registered): Don't use
1843 vc-master-templates.
1844
07b1a5fb
SM
1845 * font-lock.el (font-lock-reference-face):
1846 Use define-obsolete-variable-alias.
6c27f0f8
CY
1847
1848 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1849 * calendar/calendar.el (calendar-font-lock-keywords):
1850 * calendar/diary-lib.el (diary-font-lock-keywords)
1851 (diary-fancy-font-lock-keywords):
1852 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1853 * textmodes/reftex-index.el (reftex-insert-index):
1854 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1855 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1856 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1857 * progmodes/prolog.el (prolog-font-lock-keywords):
1858 * progmodes/idlwave.el (idlwave-idl-keywords):
1859 * progmodes/ada-mode.el (ada-font-lock-keywords):
1860 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1861
bcc0adbf
GM
18622012-09-24 Glenn Morris <rgm@gnu.org>
1863
1864 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1865
095bb823
FEG
18662012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1867
1868 * progmodes/python.el (python-indent-line): More consistent cursor
1869 movement behavior.
1870
70efc5c9
SM
18712012-09-23 Stefan Merten <smerten@oekonux.de>
1872
1873 * textmodes/rst.el: Fix compiler warning.
1874
2f438239
RW
18752012-09-23 Roland Winkler <winkler@gnu.org>
1876
07b1a5fb
SM
1877 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1878 Transcribe also LaTeX hyphenation.
2f438239
RW
1879 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1880 bibtex-reformat-previous-options.
1881
936ad041
RW
18822012-09-23 Roland Winkler <winkler@gnu.org>
1883
1884 * proced.el (proced-renice-command): New variable.
1885 (proced-marked-processes): New function.
1886 (proced-with-processes-buffer): New macro.
1887 (proced-send-signal): Use them.
1888 (proced-renice): New command bound to r.
1889
6fab0274
RW
18902012-09-23 Roland Winkler <winkler@gnu.org>
1891
1892 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1893 ibuffer-saved-filter-groups has one element, shortcut the call of
1894 completing-read. (Bug#12331)
1895
9a930676
CY
18962012-09-23 Chong Yidong <cyd@gnu.org>
1897
1898 * bindings.el (mode-line-toggle-read-only):
1899 * bs.el (bs-toggle-readonly):
1900 * buff-menu.el (Buffer-menu-toggle-read-only):
1901 * dired.el (dired-toggle-read-only):
1902 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1903
d07ff9db
CY
19042012-09-23 Chong Yidong <cyd@gnu.org>
1905
1906 * image.el (image-type-available-p): Adapt to init-image-library
1907 argument changes.
1908
51c4474e
JL
19092012-09-22 Juri Linkov <juri@jurta.org>
1910
1911 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1912 `dired-toggle-read-only'. (Bug#12462)
1913
43bf5e8e
MR
19142012-09-22 Martin Rudalics <rudalics@gmx.at>
1915
1916 * subr.el (temp-output-buffer-show): New function.
1917 (with-output-to-temp-buffer): Call temp-output-buffer-show
1918 instead of internal-temp-output-buffer-show.
1919
c88b867f
CY
19202012-09-22 Chong Yidong <cyd@gnu.org>
1921
3df47cd5
CY
1922 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1923 (Bug#12462).
1924
c88b867f
CY
1925 * repeat.el (repeat): Doc fix (Bug#12348).
1926
1927 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1928 (Bug#10909).
1929
1930 * simple.el (shell-command-on-region): Doc fix.
3171e303 1931 (read-only-mode): Doc fix.
c88b867f 1932
df9685f3
EZ
19332012-09-22 Eli Zaretskii <eliz@gnu.org>
1934
1935 * emacs-lisp/timer.el (run-with-idle-timer)
1936 (timer-activate-when-idle): Warn against reinvoking an idle timer
1937 from within its own timer action. (Bug#12447)
1938
8e17c9ba
MR
19392012-09-22 Martin Rudalics <rudalics@gmx.at>
1940
1941 * cus-start.el (window-combination-limit): Add new optional
1942 values.
1943 * window.el (temp-buffer-window-show)
1944 (window--try-to-split-window): Handle new values of
1945 window-combination-limit (Bug#1806).
1946 (split-window): Test window-combination-limit for t instead of
1947 non-nil.
1948 (display-buffer-at-bottom): New buffer display action function.
1949 * help.el (temp-buffer-resize-regexps): New option.
1950 (temp-buffer-resize-mode): Rewrite doc-string.
1951 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1952 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1953
48a24920
SM
19542012-09-22 Stefan Merten <smerten@oekonux.de>
1955
70efc5c9 1956 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1957 (rst-official-version)
1958 (rst-package-emacs-version-alist): Sync with official version
1959 V1.4.0.
1960 (rst-faces-defaults, rst-set-level-default)
1961 (rst-level-face-max, rst-level-face-base-color)
1962 (rst-level-face-base-light, rst-level-face-format-light)
1963 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1964 (rst-adornment-faces-alist): Match new setup.
1965 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1966 (rst-level-5, rst-level-6): New faces.
1967
82f8cd94
CY
19682012-09-22 Chong Yidong <cyd@gnu.org>
1969
1970 * simple.el (undo): Handle indirect buffers (Bug#8207).
1971
acfa068f 19722012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1973
1974 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1975 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1976 (ido-set-matches-1): Use it. (Bug#2042)
1977
acfa068f 19782012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1979
1980 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1981 Fix 2011-05-17 change. (Bug#12418)
1982
acfa068f 19832012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1984
1985 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1986
acfa068f 19872012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1988
1989 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1990 Be more robust about locating simple.el.
1991
acfa068f 19922012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1993
1994 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1995
acfa068f
CY
19962012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1997
1998 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1999
41a97e6f
JL
20002012-09-20 Juri Linkov <juri@jurta.org>
2001
eb2deaff
JL
2002 * replace.el (query-replace-read-from): Use `read-regexp' instead
2003 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2004 (occur-read-primary-args): Use `read-regexp' instead of
2005 `read-string'.
2006 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2007 `read-from-minibuffer'.
2008 * isearch.el (isearch-occur): Use `read-regexp' instead of
2009 `read-string'.
2010 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2011 `read-from-minibuffer'.
2012 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2013 of `read-string'. (Bug#7567)
2014
5825610b
JL
2015 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2016 and allow accepting a list of strings prepended to a list of
2017 standard default values. Doc fix. (Bug#12321)
2018
eebbf404
JL
2019 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2020
41a97e6f
JL
2021 * replace.el (read-regexp): Don't add ": " when PROMPT already
2022 ends with a colon and space. (Bug#12321)
2023
c9e452d3
TH
20242012-09-20 Tassilo Horn <tsdh@gnu.org>
2025
2026 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2027 error.
2028
ee97deee
SM
20292012-09-20 Stefan Merten <smerten@oekonux.de>
2030
70efc5c9 2031 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2032 Fixes feature request bug#11711.
2033 (rst-mode): Create `imenu-create-index-function'.
2034 (rst-get-stripped-line): Delete after refactoring.
2035 (rst-section-tree, rst-section-tree-rec)
2036 (rst-section-tree-point): Refactor and document properly.
2037 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2038 (rst-imenu-convert-cell, rst-imenu-create-index):
2039 New function.
ee97deee 2040
f490dab9
SM
20412012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2042
95b9712e
SM
2043 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2044 (macroexp--expand-all): Use it.
2045 (macroexp--funcall-and-return): Remove by folding it into its sole
2046 caller (macroexp--warn-and-return).
2047 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2048 Use macroexp--obsolete-warning.
2049
f490dab9
SM
2050 * calc/calc.el: Fix last change by removing the whole chunk, since it
2051 was only needed back when Calc was not bundled.
2052
96e8d411
MR
20532012-09-20 Martin Rudalics <rudalics@gmx.at>
2054
2055 * emacs-lisp/debug.el (debug): Restore assignment to
2056 debugger-old-buffer removed on 2012-09-08.
2057
0876a82d
JL
20582012-09-20 Juri Linkov <juri@jurta.org>
2059
2060 * dired-aux.el (dired-diff): Remove (require 'diff) since
2061 `diff-latest-backup-file' is now autoloaded.
2062
9f7c28f0
CY
20632012-09-20 Chong Yidong <cyd@gnu.org>
2064
2065 * vc/diff.el (diff-latest-backup-file): Autoload.
2066
7a04bee9
SM
20672012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2068
e6f0a80d
SM
2069 * calc/calc.el: Remove redundant autoload shape check.
2070 (sel-mode): Don't defvar.
2071 (calc-get-stack-element): Add `sel-mode' arg instead.
2072 (calc-top, calc-top-list): Pass it this additional argument.
2073 * calc/calc-store.el (calc-store-map):
2074 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2075 (calc-map-equation, calc-outer-product, calc-inner-product):
2076 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2077
7a04bee9
SM
2078 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2079
12734222
JL
20802012-09-19 Juri Linkov <juri@jurta.org>
2081
2082 * dired-aux.el (dired-diff): Add (require 'diff) because
2083 `diff-latest-backup-file' is not autoloaded.
2084 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2085 of `dired-get-filename' to t to not report error when there is
2086 no default file on the current line.
2087
46624b4f
SM
20882012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2089
ce97595b
SM
2090 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2091 macroexp--eval-if-compile.
2092 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2093 (macroexp--expand-all): Use them (bug#12371).
2094
46624b4f
SM
2095 * doc-view.el (doc-view-guess-paper-size)
2096 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2097
db8a5a18
TH
20982012-09-19 Tassilo Horn <tsdh@gnu.org>
2099
2100 New feature: set optimal slice from BoundingBox information.
2101 * doc-view.el (doc-view-mode-map): Add keybinding.
2102 (doc-view-menu): Add menu entry.
2103 (doc-view-set-slice): Adapt docstring.
2104 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2105 (doc-view-scale-bounding-box)
2106 (doc-view-set-slice-from-bounding-box): New functions.
2107 (doc-view-paper-sizes): New defvar.
2108
69f6644c
GM
21092012-09-19 Glenn Morris <rgm@gnu.org>
2110
35f5b19d
GM
2111 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2112 (byte-compile-log-warning): Autoload. (Bug#12371)
2113
69f6644c
GM
2114 * calendar/calendar.el (calendar-american-month-header)
2115 (calendar-european-month-header, calendar-iso-month-header)
2116 (calendar-month-header): New options.
2117 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2118 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2119
e543ae91
JD
21202012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2121
2122 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2123
2fd5e67d
JL
21242012-09-18 Juri Linkov <juri@jurta.org>
2125
2126 * dired-aux.el (dired-diff): Restore original functionality of
2127 getting the default value, but keep new feature of using the
2128 latest existing backup file (`diff-latest-backup-file').
2129
42917e79
JL
21302012-09-18 Juri Linkov <juri@jurta.org>
2131
2132 * dired.el (dired-mark): If the region is active in Transient Mark
2133 mode, mark all files in the active region. Doc fix.
2134 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2135 Doc fix. (Bug#10624)
2136
20f70ede
JL
21372012-09-18 Juri Linkov <juri@jurta.org>
2138
2139 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2140 attributes for M-n are pulled from the file at point.
2141 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2142 Suggested by Drew Adams. (Bug#10624)
2143
32fb8162
DG
21442012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2145
2146 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2147 whitespace after "end".
2148 (ruby-do-end-to-brace): Collapse block to one line if it fits
2149 within fill-column.
2150
37ab5092
MR
21512012-09-18 Martin Rudalics <rudalics@gmx.at>
2152
2153 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2154 value.
2155 (debug): Don't remove debugger window when debugger is expected
2156 to be back.
2157
ed1f0bd3
CY
21582012-09-18 Chong Yidong <cyd@gnu.org>
2159
2160 * custom.el (defface): Doc fix.
2161
2162 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2163
a11035b8
MB
21642012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2165
2166 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2167 to initialize query-on-exit; then test that instead (bug#12288).
2168
64f6a736
SM
21692012-09-17 Stefan Merten <smerten@oekonux.de>
2170
70efc5c9 2171 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2172 (rst-defcustom-testcover, rst-testcover-add-compose)
2173 (rst-testcover-add-1value): New functions.
2174 (rst-portable-mark-active-p): Replace by `use-region-p'.
2175 (rst-update-section, rst-classify-adornment)
2176 (rst-find-title-line): Mark `1value' forms.
2177 (rst-classify-adornment): Remove superfluous form.
2178 (rst-update-section, rst-get-adornments-around)
2179 (rst-adornment-complete-p, rst-get-next-adornment)
2180 (rst-adjust, rst-promote-region)
2181 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2182 (rst-find-pfx-in-region, rst-section-tree-rec)
2183 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2184 (rst-toc-node, rst-toc, rst-forward-section)
2185 (rst-iterate-leftmost-paragraphs)
2186 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2187 (rst-bullet-list-region)
2188 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2189 (rst-compile-find-conf, rst-compile)
2190 (rst-repeat-last-character): Fix style.
2191
580bd868
CY
21922012-09-17 Chong Yidong <cyd@gnu.org>
2193
2194 * comint.el (comint--complete-file-name-data): Don't add a space
2195 if the status is `sole'; that adds a gratuitous space in the
2196 completion-cycling case (Bug#12092).
2197
2198 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2199
69de3ec6
RS
22002012-09-17 Richard Stallman <rms@gnu.org>
2201
0dee970c
RS
2202 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2203 only in the mime-shown mode, not in raw mode.
2204 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2205 mime processing. (Bug#12305)
0dee970c 2206
6b250df6
GM
2207 * mail/rmail.el (rmail-retry-failure):
2208 Turn off mime processing first. (Bug#12037)
acb1c47b 2209
69de3ec6
RS
2210 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2211
d079ee5f
CY
22122012-09-17 Chong Yidong <cyd@gnu.org>
2213
2214 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2215 (shell-dynamic-complete-functions): Convert to defcustom.
2216 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2217
865fe16f
CY
2218 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2219 * comint.el (comint-prompt-read-only):
2220 * custom.el (defcustom):
2221 * hi-lock.el (hi-lock-mode):
2222 * ibuffer.el (ibuffer-formats):
2223 * ielm.el (ielm-prompt-read-only):
2224 * novice.el (disable-command):
2225 * saveplace.el (toggle-save-place):
2226 * speedbar.el (speedbar-supported-extension-expressions):
2227 * startup.el (auto-save-list-file-prefix, init-file-user)
2228 (after-init-hook, inhibit-startup-echo-area-message):
2229 * strokes.el (strokes-help):
2230 * time-stamp.el (time-stamp):
2231 * calendar/calendar.el (calendar, diary-file):
2232 * calendar/diary-lib.el (diary-mail-entries, diary)
2233 (diary-list-entries-hook):
2234 * calendar/holidays.el (holidays, calendar-holidays):
2235 * calendar/lunar.el (lunar-phases):
2236 * calendar/solar.el (sunrise-sunset):
2237 * emulation/edt.el (edt-load-keys):
2238 * emulation/viper.el (viper-mode):
2239 * eshell/em-alias.el (eshell-command-aliases-list):
2240 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2241 * international/ogonek.el (ogonek-information):
2242 * net/tramp-cmds.el (tramp-bug):
2243 * net/quickurl.el (quickurl-reread-hook-postfix):
2244 * play/decipher.el (decipher-font-lock-keywords):
2245 * progmodes/cc-styles.el (c-set-style):
2246 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2247 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2248 * progmodes/octave-mod.el (octave-mode):
2249 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2250 * progmodes/verilog-mode.el (verilog-read-defines):
2251 * textmodes/two-column.el (2C-mode): Likewise.
2252
48093eb9
KY
22532012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2254
2255 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2256 that holds many addresses.
2257
c584eaf9
CY
22582012-09-16 Chong Yidong <cyd@gnu.org>
2259
40d70ecb
CY
2260 * align.el (align-areas): Call the indication function with
2261 positions instead of markers for arguments (Bug#12343).
2262
1667e065
CY
2263 * files.el (parse-colon-path): Use split-string (Bug#12351).
2264
fdc2806d 2265 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2266 (display-buffer-function): Mark as obsolete.
fdc2806d 2267
f1be615c 2268 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2269 values similar to font-lock-keywords (Bug#12136).
2270 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2271 (compilation-error-regexp-alist): Doc fix.
2272
f40a9709
GM
22732012-09-15 Glenn Morris <rgm@gnu.org>
2274
72aa16e1
GM
2275 * version.el (emacs-bzr-version-bzr): New function.
2276 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2277
82375160
GM
2278 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2279 checkouts, check the parent dirstate matches the branch.
2280 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2281 empty string.
2282
f40a9709
GM
2283 * version.el (emacs-bzr-version): Doc fix.
2284 (emacs-bzr-version-dirstate): New function.
2285 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2286 is local try and check that it matches the branch. If not, just
2287 use dirstate information. (Bug#12441)
2288
cb26b7f5
JL
22892012-09-14 Juri Linkov <juri@jurta.org>
2290
2291 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2292 (Bug#12399)
2293
2de39f08
SM
22942012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2295
0fb3cb7c
SM
2296 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2297
2de39f08
SM
2298 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2299 Remove obsolete byte-compiler hack that tried to silence some warnings.
2300 (edebug-submit-bug-report): Remove.
2301 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2302 Remove aliases, use the un-prefixed name instead.
2303 (edebug-pop-to-buffer): Consider other frames.
2304 (edebug-original-read):: Make it more obvious that it's always defined.
2305 (edebug--make-form-data-entry, edebug--form-data-name)
2306 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2307 single-dashed name, and implement with cl-defstruct.
2308 (edebug-set-form-data-entry): Use the standard accessors.
2309 (edebug-make-top-form-data-entry): Use push.
2310 (edebug-no-match): Drop useless `funcall'.
2311 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2312 to functions.
2313 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2314 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2315 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2316 (easy-menu-define, with-custom-print): Remove redundant specs.
2317 (edebug-outside-overriding-local-map)
2318 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2319 (edebug--display): Bind unread-command-events directly to nil rather
2320 than binding it to unread-command-events and later setting it to nil.
2321 (edebug--display): Kill edebug-eval-buffer here...
2322 (edebug--recursive-edit): ...rather than here.
2323 Bind standard-output and standard-input.
2324 (edebug-eval): Check cl-macroexpand-all is fboundp.
2325 (edebug-temp-display-freq-count): Fix last change.
2326
2327 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2328 * subr.el (noreturn, 1value): Add `debug' spec.
2329 * emacs-lisp/advice.el: Require cl-lib.
2330 (ad-copy-tree): Remove, use copy-tree instead.
2331 (ad-dolist): Remove use dolist or cl-dolist instead.
2332 (ad-do-return): Remove, use cl-return instead.
2333 (defadvice): Add `debug' spec.
2334
5b68b333
JL
23352012-09-13 Juri Linkov <juri@jurta.org>
2336
2337 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2338 (Bug#12399)
2339
b9800ec4
GM
23402012-09-13 Glenn Morris <rgm@gnu.org>
2341
6a2e6868
GM
2342 * calc/calc.el (math-compose-expr):
2343 * calc/calc-ext.el (math-compose-expr):
2344 * progmodes/cc-defs.el (cl-macroexpand-all):
2345 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2346 (cl-macroexpand-all): Update declarations.
2347
b9800ec4
GM
2348 * vc/vc.el: No need to require ediff.
2349 (ediff-load-version-control): Declare.
2350 (ediff-vc-internal): Fix declaration.
2351 (vc-version-ediff): Require ediff.
2352
c18e885b
PE
23532012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2354
2355 Use a more backwards-compatible timer format (Bug#12430).
2356 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2357 being right after USECS, as that better supports old code that
2358 inadvisedly looked directly at the timer vector.
2359
d607d303
KH
23602012-09-13 Kenichi Handa <handa@gnu.org>
2361
2362 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2363 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2364 `coding-priority' property of these language environment.
2365
72eac303
PE
23662012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2367
2368 Fix glitches caused by addition of psec to timers (Bug#12430).
2369 * image.el (image-animate-timer):
2370 * time.el (display-time-world-timer):
2371 Use timer--function and timer--args rather than raw access to
2372 timer vector.
2373
2168fe4f
GM
23742012-09-13 Glenn Morris <rgm@gnu.org>
2375
2376 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2377 If not compiling a file, try using load-file-name.
2378
bd8d6108
SM
23792012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2380
c0c54fbd
SM
2381 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2382 Fix last change.
2383 (edebug-update-eval-list): Use `push'.
2384
bd8d6108
SM
2385 * emacs-lisp/edebug.el: Use lexical-binding.
2386 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2387 Mark unused args with underscore.
2388 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2389 (edebug-form-data): Use defvar-local.
2390 (edebug-make-before-and-after-form, edebug-make-after-form):
2391 Use backquote.
2392 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2393 Not dynamically scoped any more.
2394 (edebug--enter-trace): Add arguments `function' and `args'.
2395 Rename from edebug-enter-trace.
2396 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2397 (edebug--update-coverage): Add `after-index' and `value' args.
2398 Rename from edebug-update-coverage.
2399 (edebug-slow-after): Call it accordingly.
2400 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2401 edebug-recursive-edit.
2402 (edebug--display): Call it accordingly. Add args `value',
2403 `offset-index', and `arg-mode'. Rename from edebug-display.
2404 (edebug-debugger, edebug): Call it accordingly.
2405 (edebug-eval-display-list): Use dolist.
2406
a9f9d9de
JL
24072012-09-12 Juri Linkov <juri@jurta.org>
2408
2409 * info.el (Info-search): Don't check for isearch-mode and
2410 isearch-regexp before let-binding search-spaces-regexp to
2411 Info-search-whitespace-regexp.
2412 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2413 search-whitespace-regexp if isearch-lax-whitespace or
2414 isearch-regexp-lax-whitespace is non-nil.
2415 (Info-mode): Don't set local variable search-whitespace-regexp.
2416 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2417
bfeae2cf
SM
24182012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2421 (debugger-env-macro): Remove support for unread-command-char.
2422
2423 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2424 the temporary map re-appearing on emulation-mode-map-alists.
2425
2426 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2427 since 22.1.
2428
2429 * ehelp.el (with-electric-help): Accept functions in
2430 electric-help-form-to-execute.
2431 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2432 And replace unread-command-char -> unread-command-events.
2433
fbbcaf1b
MA
24342012-09-12 Michael Albinus <michael.albinus@gmx.de>
2435
2436 Sync with Tramp 2.2.6.
2437
2438 * net/tramp.el (tramp-accept-process-output): Don't use
2439 JUST-THIS-ONE in the XEmacs case.
2440
2441 * net/trampver.el: Update release number.
2442
4dece104
MR
24432012-09-12 Martin Rudalics <rudalics@gmx.at>
2444
bfeae2cf
SM
2445 * emacs-lisp/debug.el (debugger-previous-window-height):
2446 New variable.
4dece104
MR
2447 (debug): When debugger-jumping-flag is non-nil try to restore
2448 height of debugger window. (Bug#8789)
2449
45b82ad0
SM
24502012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2451
60c49c0f
SM
2452 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2453 overriding-local-map and pre/post-command-hook here.
2454 (edebug-recursive-edit): Do it here instead (bug#12345).
2455 (edebug-outside-unread-command-char): Remove all uses of
2456 unread-command-char.
2457
45b82ad0
SM
2458 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2459 inhibit-debugger is bound instead.
2460
baa26ea0
BG
24612012-09-11 Bastien Guerry <bzg@gnu.org>
2462
2463 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2464 (Bug#12346)
baa26ea0 2465
04e8abfa
BG
24662012-09-11 Bastien Guerry <bzg@gnu.org>
2467
96d03571 2468 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2469 (Bug#12347)
96d03571
BG
2470
24712012-09-11 Bastien Guerry <bzg@gnu.org>
2472
fc0c31f8 2473 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2474
04e082b0
MM
24752012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2476
2477 * progmodes/sql.el: Version 3.1
2478 (sql-db2-escape-newlines): New variable.
2479 (sql-escape-newlines-filter): Use it.
2480
399a361b
JB
24812012-09-10 Juanma Barranquero <lekktu@gmail.com>
2482
2483 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2484
0780c517
DN
24852012-09-10 Dan Nicolaescu <dann@gnu.org>
2486
45b82ad0
SM
2487 * vc/diff-mode.el (diff-mode-menu):
2488 Bind diff-remove-trailing-whitespace.
0780c517 2489
9b851e25
SM
24902012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2493 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2494 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2495 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2496 (eval-defun-2): Remove bogus interactive spec.
2497 (lisp-indent-line): Remove redundant whole-exp code, now done in
2498 indent-according-to-mode.
2499 (save-match-data): Remove redundant indent data.
2500
2501 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2502 Use `declare'.
2503
3231d532
JL
25042012-09-09 Juri Linkov <juri@jurta.org>
2505
2506 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2507 (replace-lax-whitespace, query-replace-regexp)
2508 (query-replace-regexp-eval, replace-regexp): Doc fix.
2509 (perform-replace, replace-highlight): Let-bind
2510 isearch-lax-whitespace to replace-lax-whitespace and
2511 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2512
2513 * isearch.el (isearch-query-replace): Let-bind
2514 replace-lax-whitespace to isearch-lax-whitespace and
2515 replace-regexp-lax-whitespace to
2516 isearch-regexp-lax-whitespace. (Bug#10885)
2517
70fe8236
SM
25182012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2521
8ed43f15
AM
25222012-09-09 Alan Mackenzie <acm@muc.de>
2523
70fe8236
SM
2524 * progmodes/cc-engine.el (c-state-cache-init):
2525 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2526 (c-record-parse-state-state):
2527 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2528
bfabf70a
AS
25292012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2530
2531 * register.el (register-separator): Rename from
2532 separator-register. All uses changed. Doc fix.
2533 (register): Fix version.
2534
011474aa
CY
25352012-09-09 Chong Yidong <cyd@gnu.org>
2536
2537 * replace.el (query-replace-map): Bind four new symbols for
2538 requesting window scrolling.
2539
2540 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2541 query-replace-map (Bug#8948).
2542
2543 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2544
2545 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2546 since they are now in query-replace-map.
2547
2548 * window.el (scroll-other-window-down): Make the arg optional.
2549
a8b7cd8d
CY
25502012-09-09 Chong Yidong <cyd@gnu.org>
2551
2552 * files.el (hack-local-variables-confirm): Use quit-window to kill
2553 the *Local Variables* buffer.
2554
c3268831
DG
25552012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2556
2557 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2558 not just expect to be at its beginning. Adjust callees.
2559 Succeed when do-end block has no space before the pipe character.
2560 (ruby-brace-to-do-end): When the original block is one-liner,
2561 convert to multiline. Reindent the result.
2562
0979429b
J
25632012-09-08 Jambunathan K <kjambunathan@gmail.com>
2564
2565 * register.el (register): New group.
27359e99 2566 (separator-register): New user option.
0979429b
J
2567 (increment-register): Route it to `append-to-register', if
2568 register contains text. Implication is that `C-x r +' can now be
2569 used for appending to a text register (bug#12217).
2570 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2571 `separator-register'.
0979429b 2572
ace2989a
AM
25732012-09-08 Alan Mackenzie <acm@muc.de>
2574
2575 AWK Mode: make auto-newline work when there's "==" in the pattern.
2576 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2577 correctly.
0979429b
J
2578 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2579 Test more rigorously for "=" token.
ace2989a 2580
616c6c36
DG
25812012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2582
0979429b
J
2583 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2584 Only fail when reached LIMIT.
616c6c36 2585
35d98877
CY
25862012-09-08 Chong Yidong <cyd@gnu.org>
2587
2588 * dired.el (dired-mode-map): Don't bind M-=.
2589
2590 * dired-aux.el (dired-diff): Use backup file as default.
2591
1715f2db
DA
25922012-09-08 Drew Adams <drew.adams@oracle.com>
2593
2594 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2595
6dcef6ec
CY
25962012-09-08 Chong Yidong <cyd@gnu.org>
2597
2598 * subr.el (syntax-after, syntax-class): Doc fix.
2599
fa2bcf43
MR
26002012-09-08 Martin Rudalics <rudalics@gmx.at>
2601
2602 * window.el (display-buffer-in-previous-window): New buffer
2603 display action function.
2604
2605 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2606 (debugger-previous-window): New variable.
2607 (debug): Rewrite using display-buffer-in-previous-window,
2608 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2609
daac280a
SM
26102012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2613
9dd40b00
MM
26142012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2615
daac280a
SM
2616 * progmodes/python.el (python-shell-send-string):
2617 When default-directory is remote, create temp file on remote
9dd40b00
MM
2618 filesystem.
2619 (python-shell-send-file): When file is remote, pass local view of
2620 file paths to remote Python interpreter. (Bug#12340)
2621
145823ec
CY
26222012-09-07 Chong Yidong <cyd@gnu.org>
2623
cee2e90d
CY
2624 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2625
0d7eb2ea
CY
2626 * files.el (after-find-file): Don't fail on a read-only buffer if
2627 require-final-newline is `visit' or `visit-save' (Bug#11156).
2628
145823ec
CY
2629 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2630
daac280a
SM
2631 * userlock.el (ask-user-about-supersession-threat):
2632 Use read-char-choice (Bug#12093).
145823ec 2633
74c582e6
CY
26342012-09-07 Chong Yidong <cyd@gnu.org>
2635
e5c2edf7
CY
2636 * subr.el (buffer-narrowed-p): New function.
2637
2638 * ses.el (ses-widen):
2639 * simple.el (count-words--buffer-message):
1f9f395d 2640 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2641
2642 * simple.el (count-words-region): Don't signal an error if there
2643 is a non-nil prefix arg and the mark is not set.
c640e87d 2644
74c582e6
CY
2645 * help.el (describe-key-briefly): Allow the message to be seen
2646 when invoked from the minibuffer (Bug#7014).
2647
d81ceaaf
DG
26482012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2649
2650 * progmodes/ruby-mode.el (ruby-end-of-defun)
2651 (ruby-beginning-of-defun): Simplify, allow indentation before
2652 block beginning and end keywords.
8f06acce
DG
2653 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2654 (ruby-end-of-defun): Expect that the point is at the beginning of
2655 the defun.
d81ceaaf 2656
d458ef98
SM
26572012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2660 (bug#12367).
2661 (cl--make-usage-args): Strip _ from argument names.
2662
20367d28
RS
26632012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2664
2665 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2666 obsolete alias speedbar-key-map.
2667 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2668 (vhdl-index-menu-init): Don't use obsolete variable
2669 font-lock-maximum-size.
2670
3424a4f6
CY
26712012-09-06 Chong Yidong <cyd@gnu.org>
2672
2673 * frame.el (window-system-version): Mark as obsolete.
2674
fcbfbdea
CY
2675 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2676 of obsolete variable speedbar-key-map.
2677
826b3235
JL
26782012-09-06 Juri Linkov <juri@jurta.org>
2679
2680 * replace.el (replace-lax-whitespace): New defcustom.
2681 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2682 (replace-string, replace-regexp): Mention it in docstrings.
2683 (perform-replace, replace-highlight): Let-bind
2684 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2685 to the values of replace-lax-whitespace and regexp-flag.
2686 Don't let-bind search-whitespace-regexp. (Bug#10885)
2687
2688 * isearch.el (isearch-query-replace): Let-bind
2689 replace-lax-whitespace instead of let-binding
2690 replace-search-function and replace-re-search-function.
2691 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2692 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2693 (isearch-toggle-symbol): Set isearch-regexp to nil
2694 in isearch-word mode (like in isearch-toggle-word).
2695
1ec5e41d
JL
26962012-09-06 Juri Linkov <juri@jurta.org>
2697
2698 * replace.el (replace-search-function)
2699 (replace-re-search-function): Set default values to nil.
2700 (perform-replace): Let-bind isearch-related variables based on
2701 replace-related values, call `isearch-search-fun' and let-bind
2702 the result to `search-function'. Remove code that sets
2703 `search-function' and `search-string' separately for
2704 `delimited-flag'.
2705 (replace-highlight): Add new argument `delimited-flag' and
2706 rename other arguments to the names used in `perform-replace'.
2707 Let-bind `isearch-word' to the argument `delimited-flag'.
2708 (Bug#10885, bug#10887)
2709
0ba2d4b6
DG
27102012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2711
2712 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2713 ruby-beginning-of-indent, simplify, allow all keywords to have
2714 indentation before them.
2715 (ruby-beginning-of-indent): Adjust for above. Search until the
2716 found point is not inside a string or comment.
2717 (ruby-font-lock-keywords): Allow symbols to start with "@"
2718 character, give them higher priority than variables.
2719 (ruby-syntax-propertize-function)
2720 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2721 matchers. Expression expansions are not comments when inside a
2722 string, and there comment syntax status is irrelevant.
2723 (ruby-match-expression-expansion): New function. Check that
2724 expression expansion is inside a string, and it's not escaped.
2725 (ruby-font-lock-keywords): Use it.
2726
ef654460
MR
27272012-09-05 Martin Rudalics <rudalics@gmx.at>
2728
2729 * help.el (temp-buffer-max-height): New default value.
2730 (temp-buffer-resize-frames): New option.
2731 (resize-temp-buffer-window): Optionally resize frame.
2732
2733 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2734 (fit-frame-to-buffer): New function.
2735
7e570fbf 27362012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2737
2738 * emulation/cua-rect.el (cua--init-rectangles):
2739 * textmodes/picture.el (picture-mode-map):
2740 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2741 like forward-char and backward-char. (Bug#12317)
2742
7e570fbf 27432012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2744
2745 * progmodes/flymake.el (flymake-warning-re): New variable.
2746 (flymake-parse-line): Use it.
2747
7e570fbf 27482012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2749
2750 * calendar/holidays.el (holiday-christian-holidays):
2751 Rename an entry. (Bug#12289)
2752
7e570fbf 27532012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2754
2755 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2756 (bug#12222).
2757
972debf2
SM
27582012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2759
2760 * loadup.el: Load macroexp. Remove hack.
2761 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2762 (macroexp--expand-all): Use it to get better warnings.
2763 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2764 (internal-macroexpand-for-load): New functions.
2765 (macroexp--pending-eager-loads): New var.
2766 (emacs-startup-hook): New hack to replace one in loadup.el.
2767 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2768 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2769 (cl-psetf): Simplify.
2770 (cl-defstruct): Add indent rule.
2771
8ce192e3
LI
27722012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2773
2774 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2775 over `user-mail-address' for the SMTP MAIL FROM envelope.
2776 (smtpmail-via-smtp): Ditto.
2777
6578b4d8
DG
27782012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2779
2780 * progmodes/ruby-mode.el: Clean up keybindings.
2781 (ruby-mode-map): Don't bind ruby-electric-brace,
2782 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2783 backward-kill-word, reindent-then-newline-and-indent.
2784 (ruby-mark-defun): Remove.
2785 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2786 (ruby-mode): Set local beginning-of-defun-function and
2787 end-of-defun-function values.
2788
c5e28e39
MR
27892012-09-03 Martin Rudalics <rudalics@gmx.at>
2790
2791 * window.el (temp-buffer-window-setup-hook)
2792 (temp-buffer-window-show-hook): New hooks.
2793 (temp-buffer-window-setup, temp-buffer-window-show)
2794 (with-temp-buffer-window): New functions.
972debf2
SM
2795 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2796 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2797
2798 * help.el (temp-buffer-resize-mode): Fix doc-string.
2799 (resize-temp-buffer-window): New optional argument WINDOW.
2800
2801 * files.el (recover-file, save-buffers-kill-emacs):
2802 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2803
73406194
MA
28042012-09-02 Michael Albinus <michael.albinus@gmx.de>
2805
2806 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2807 remote definition of `default-directory', ensure we can connect.
2808
63dd1c6f
JL
28092012-09-02 Juri Linkov <juri@jurta.org>
2810
2811 Toggle whitespace matching mode with M-s SPC.
2812 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2813
2814 * isearch.el (search-whitespace-regexp): Doc fix.
2815 Remove cons cell customization.
2816 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2817 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2818 New variables.
2819 (isearch-forward, isearch-forward-regexp): Doc fix.
2820 (isearch-toggle-lax-whitespace): New command.
2821 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2822 (re-search-forward-lax-whitespace)
2823 (re-search-backward-lax-whitespace): New functions.
2824 (isearch-whitespace-regexp): Remove function.
2825 (isearch-query-replace): Let-bind replace-search-function and
2826 replace-re-search-function.
2827 (isearch-occur): Let-bind search-spaces-regexp according to the
2828 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2829 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2830 condition for C-q SPC.
2831 (isearch-search-fun-default): Use new functions mentioned above.
2832 (isearch-search-forward, isearch-search-backward): Remove functions.
2833 (isearch-search): Don't let-bind search-spaces-regexp.
2834 (isearch-lazy-highlight-space-regexp): Remove variable.
2835 (isearch-lazy-highlight-lax-whitespace)
2836 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2837 (isearch-lazy-highlight-new-loop): Use them.
2838 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2839
af7dda05
CY
28402012-09-02 Chong Yidong <cyd@gnu.org>
2841
2842 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2843
d67d3afd
GM
28442012-09-02 Glenn Morris <rgm@gnu.org>
2845
2846 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2847
69678719
GM
28482012-09-01 Glenn Morris <rgm@gnu.org>
2849
2850 * term.el: Tidy up menu definitions.
2851 (term-mode-map): Use easymenu for In/Out, Complete menus.
2852 (term-pager-break-map): Initialize in the defvar.
2853 (term-terminal-menu, term-signals-menu): Define with easymenu.
2854 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2855 (term-pager-menu): New, extracted from term-process-pager.
2856 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2857 (term-update-mode-line): Propertize line/char and page items.
2858 (term-process-pager): Move keymap initialization elsewhere.
2859
78dd6ab1
MR
28602012-09-01 Martin Rudalics <rudalics@gmx.at>
2861
2862 * window.el (switch-to-prev-buffer): Handle additional values of
2863 BURY-OR-KILL argument. Don't switch in minibuffer window.
2864 (switch-to-next-buffer): Don't switch in minibuffer window.
2865 (quit-restore-window): New function based on quit-window.
2866 Handle additional values of former KILL argument.
2867 (quit-window): Call quit-restore-window with appropriate
2868 interpretation of KILL argument.
2869 (display-buffer-below-selected): New buffer display action
2870 function.
2871
3d10e134
SM
28722012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * minibuffer.el (completion-at-point-functions): Complete docstring
2875 (bug#12254).
2876
0e23ef9d
PE
28772012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2878
2879 Better seed support for (random).
2880 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2881 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2882 * play/mpuz.el, play/tetris.el, play/zone.el:
2883 * calc/calc-comb.el (math-init-random-base):
2884 * play/blackbox.el (bb-init-board):
2885 * play/life.el (life):
2886 * server.el (server-use-tcp):
2887 * type-break.el (type-break):
2888 Remove unnecessary call to (random t).
2889 * net/sasl.el (sasl-unique-id-function):
2890 Change (random t) to (random), now that the latter is more random.
2891 * play/life.el (life-initialized): Remove no-longer-needed var.
2892
862382df
MR
28932012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2894
2895 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2896 Consider frame's buffer predicate when choosing the buffer.
2897 (Bug#12081)
2898
262a66e1
RS
28992012-08-30 Richard Stallman <rms@gnu.org>
2900
2901 * simple.el (special-mode-map): Delete binding for `z'.
2902
f17e1d00
AS
29032012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2904
2905 * progmodes/compile.el (compilation-always-kill): Doc fix.
2906
24777832
CY
29072012-08-30 Chong Yidong <cyd@gnu.org>
2908
2909 * window.el (display-buffer-reuse-frames): Make the obsolescence
2910 message more informative.
2911
69ba1f04
GM
29122012-08-30 Glenn Morris <rgm@gnu.org>
2913
2914 * paren.el (show-paren-delay):
2915 Add a :set function. Doc fix. (Bug#12297)
2916
f0019ede
MB
29172012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2918
2919 * progmodes/compile.el (compilation-always-kill): New var.
2920 (compilation-start): Use it.
2921
35e62fc9
SM
29222012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2923
af070a1c
SM
2924 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2925 * files.el (read-only-mode): Move to simple.el.
2926
35e62fc9
SM
2927 * files.el (read-only-mode): New minor mode.
2928 (toggle-read-only): Use it and mark obsolete.
2929 (find-file--read-only):
2930 * vc/vc.el (vc-next-action, vc-checkout):
2931 * vc/vc-cvs.el (vc-cvs-checkout):
2932 * obsolete/vc-mcvs.el (vc-mcvs-update):
2933 * ffap.el (ffap--toggle-read-only): Update callers.
2934
c2c43c23
MA
29352012-08-29 Michael Albinus <michael.albinus@gmx.de>
2936
2937 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2938 remote shell scripts.
2939 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2940
2941 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2942 "/usr/local/sbin".
2943
9fba804b
SM
29442012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2947
eada0861 29482012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2949
806f0cc7
LL
2950 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2951 completion-at-point. (Bug#12220)
2952
3bb213b9
LL
2953 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2954
22ab32ef
LL
2955 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2956
eada0861 29572012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2958
19c17fc1
CY
2959 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2960 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2961
eada0861 29622012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2963
2964 * progmodes/hideif.el (hif-compress-define-list):
2965 Fix typo. (Bug#11951)
2966
eada0861 29672012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2968
2969 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2970 buffer local setting.
2971
27d6c5a8
LL
2972 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2973 rcirc-encode-coding-system.
2974
eada0861 29752012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2976
2977 * net/rcirc.el (rcirc-split-message): New function.
2978 (rcirc-send-message): Use it. (Bug#12051)
2979
d44688e4
JL
29802012-08-28 Juri Linkov <juri@jurta.org>
2981
2982 * info.el (Info-fontify-node): Hide empty lines at the end of
2983 the node. (Bug#12272)
2984
34f10d41
MR
29852012-08-27 Drew Adams <drew.adams@oracle.com>
2986
2987 * dired.el (dired-pop-to-buffer): Make window start at beginning
2988 of buffer (Bug#12281).
2989
77f1f99c
CY
29902012-08-26 Chong Yidong <cyd@gnu.org>
2991
2992 * window.el (special-display-regexps, special-display-frame-alist)
2993 (special-display-buffer-names, special-display-function)
2994 (display-buffer-reuse-frames): Mark as obsolete.
2995
2996 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2997
2998 * help.el (help-print-return-message): Don't treat
2999 display-buffer-reuse-frames specially.
3000
d97af5a0
CY
30012012-08-26 Chong Yidong <cyd@gnu.org>
3002
9fba804b
SM
3003 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3004 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3005 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3006 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3007 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3008 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3009 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3010 the functions directly with gdb-display-buffer-other-frame-action.
3011 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3012 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3013 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3014 (gdb-display-registers-buffer): Define directly.
3015 (def-gdb-display-buffer): Macro deleted.
3016 (gdb-display-buffer): Remove second and third args, callers don't
3017 use them. Defer to the default display-buffer behavior, apart
3018 from making windows dedicated.
3019 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3020
3021 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3022
3023 * window.el (display-buffer-pop-up-frame): Handle a
3024 pop-up-frame-parameters alist entry.
3025 (display-buffer): Document it.
3026
dd7ffad6
CY
30272012-08-26 Chong Yidong <cyd@gnu.org>
3028
3029 * isearch.el (search-whitespace-regexp): Make string and nil
3030 values apply to both ordinary and regexp search. Allow a cons
3031 cell value to distinguish between the two.
3032 (isearch-whitespace-regexp, isearch-search-forward)
3033 (isearch-search-backward): New functions.
3034 (isearch-occur, isearch-search-fun-default, isearch-search)
3035 (isearch-lazy-highlight-new-loop): Use them.
3036 (isearch-forward, isearch-forward-regexp): Doc fix.
3037
4c47bd1e
CY
30382012-08-26 Chong Yidong <cyd@gnu.org>
3039
3040 * faces.el (help-argument-name): Always inherit from italic
3041 (Bug#12213).
3042
9aba119d
MR
30432012-08-25 Martin Rudalics <rudalics@gmx.at>
3044
3045 * window.el (window--even-window-heights): Even heights when
3046 WINDOW and the selected window form a vertical combination.
3047 (display-buffer-use-some-window): Provide that window used gets
3048 sized back by quit-window. (Bug#11880) and (Bug#12091)
3049
ca5256ad
PE
30502012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3051
3052 Fix file time stamp problem with bzr and CVS (Bug#12001).
3053 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3054 in the file's time stamp, since the version control system loses
3055 that information.
3056
d1c0d176
JL
30572012-08-22 Juri Linkov <juri@jurta.org>
3058
3059 * info.el (Info-fontify-node): Hide the suffix of the
3060 Info file name in the header line. (Bug#12187)
3061
141562ff
GM
30622012-08-22 Glenn Morris <rgm@gnu.org>
3063
3064 * calendar/cal-tex.el (cal-tex-weekly-common):
3065 Restore leading blank page.
3066
61a48e19 30672012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3068
3069 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3070 the region under `shift-select-mode'. (Bug#12231)
3071
30722012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3073
3074 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3075 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3076 gives details on why the space is never needed.
3077
ea95074e
MR
30782012-08-22 Martin Rudalics <rudalics@gmx.at>
3079
9fba804b
SM
3080 * window.el (walk-window-tree, window-with-parameter):
3081 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3082 should run on the minibuffer window.
3083 (window-at-side-list): Don't operate on minibuffer window.
3084 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3085 (window--size-ignore): Rename to window--size-ignore-p.
3086 Update callers.
caceae25
MR
3087 (display-buffer-in-atom-window, window--major-non-side-window)
3088 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3089 (delete-side-window, display-buffer-in-side-window):
3090 New functions.
caceae25
MR
3091 (window--side-check, window-deletable-p, delete-window)
3092 (delete-other-windows, split-window): Handle side windows and
3093 atomic windows appropriately.
3094 (window--display-buffer): Call display-buffer-record-window also
3095 when the window buffer did not change.
ea95074e 3096
80a51fa0
CS
30972012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3098
3099 * help-fns.el (help-fns--key-bindings):
3100 Abbreviate non-symbol remap targets. (Bug#12174)
3101
fbb6300b
MR
31022012-08-22 Martin Rudalics <rudalics@gmx.at>
3103
3104 * dired.el (dired-mark-remembered): Don't clobber point.
3105 (Bug#11795)
3106
2b2c0794
GM
31072012-08-22 Glenn Morris <rgm@gnu.org>
3108
3109 * progmodes/bug-reference.el (bug-reference): New custom group.
3110 (bug-reference-bug-regexp): Make it a defcustom.
3111
37219830
DU
31122012-08-22 Daiki Ueno <ueno@unixuser.org>
3113
3114 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3115 (js-paren-indent-offset, js-square-indent-offset)
3116 (js-curly-indent-offset): Add :safe (Bug#12257).
3117
94e0e559
EC
31182012-08-22 Edward O'Connor <hober0@gmail.com>
3119
3120 * json.el (json-key-format): Add error properties.
3121 (json-encode-key): New function.
3122 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3123 Use json-encode-key.
3124
da485f5e
GM
31252012-08-22 Glenn Morris <rgm@gnu.org>
3126
3127 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3128 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3129 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3130 Update for above change.
3131
c6cc78b8
AS
31322012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3133
3134 * cus-face.el (custom-face-attributes): Fix customize type for the
3135 :underline attribute. (Bug#11805)
3136
5481664a
MR
31372012-08-21 Martin Rudalics <rudalics@gmx.at>
3138
3139 * window.el (window-point-1, set-window-point-1): Remove.
3140 (window-in-direction, record-window-buffer)
3141 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3142 (window--state-get-1, display-buffer-record-window):
3143 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3144 window-point and set-window-point respectively.
3145
6d74698e
GM
31462012-08-21 Glenn Morris <rgm@gnu.org>
3147
b7fa2691
GM
3148 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3149 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3150 Use it.
3151
52f56d5a
GM
3152 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3153 (cal-tex-shortday): New function.
3154 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3155 (cal-tex-cursor-filofax-daily): Use the above.
3156
9f1ee09e
GM
3157 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3158 New functions.
3159 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3160 (cal-tex-cursor-filofax-week): Use them.
3161
79858159
GM
3162 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3163 New constants.
3164 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3165 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3166
d346b2b4
GM
3167 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3168 (cal-tex-end-document): Don't rely on buffer name.
3169
b2403709
GM
3170 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3171 Use cal-tex-vspace.
3172 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3173 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3174 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3175 Use cal-tex-arg.
b2403709 3176
1cebb5c0
GM
3177 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3178 (cal-tex-cursor-week, cal-tex-cursor-week2)
3179 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3180 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3181 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3182 (cal-tex-insert-preamble, cal-tex-b-document)
3183 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3184 Improve cal-tex-cmd usage.
3185
c68cd5d4
GM
3186 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3187 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3188 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3189 (cal-tex-weekly-paper): New function.
3190 (cal-tex-cursor-week, cal-tex-cursor-week2)
3191 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3192 (cal-tex-cursor-day): Use it.
3193
9dca4801
GM
3194 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3195 (cal-tex-cursor-filofax-week): Remove leading blank page.
3196
1941e134
GM
3197 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3198 Add autoload cookie. For now at least, don't use color, since
3199 no other cal-tex function does.
3200
6d74698e
GM
3201 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3202 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3203 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3204
64cde199
JL
32052012-08-21 Juri Linkov <juri@jurta.org>
3206
3207 * info.el (Info-file-attributes): New variable.
3208 (info-insert-file-contents): Add file attributes to
3209 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3210 `Info-toc-nodes' when previous modtime of the Info file is less
3211 than new modtime.
3212 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3213 of info.el. (Bug#12230)
3214
32757648
GM
32152012-08-20 Glenn Morris <rgm@gnu.org>
3216
3217 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3218 * calendar/holidays.el (calendar-holiday-list):
3219 Report errors with display-warning rather than beep'n'sleep.
3220
a32fbbcf
MA
32212012-08-20 Michael Albinus <michael.albinus@gmx.de>
3222
3223 * net/tramp.el (tramp-accept-process-output): Accept only output
3224 from PROC. Otherwise, process filters and sentinels might be
3225 confused. (Bug#12145)
3226
a05731a0
CY
32272012-08-20 Chong Yidong <cyd@gnu.org>
3228
3229 * descr-text.el (describe-text-properties-1): Use overlays-in to
3230 report on empty overlays (Bug#3322).
3231
36e8d1eb
GM
32322012-08-20 Glenn Morris <rgm@gnu.org>
3233
3d300447
GM
3234 * mail/rmailout.el (rmail-output-read-file-name):
3235 Trap and report errors in rmail-output-file-alist elements.
3236
36e8d1eb
GM
3237 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3238 since most non-font-lock faces are not also variables).
3239
b96e5814
ER
32402012-08-20 Edward Reingold <reingold@iit.edu>
3241
3242 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3243 New function. (Bug12160)
3244
7cef3569
GM
32452012-08-19 Glenn Morris <rgm@gnu.org>
3246
3247 * mail/rmailout.el (rmail-output-read-file-name):
3248 Fix previous change (when the alist is nil or does not match).
3249
17975d7f
CY
32502012-08-19 Chong Yidong <cyd@gnu.org>
3251
3252 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3253 (Bug#12228).
3254
2170b1bd
CY
32552012-08-18 Chong Yidong <cyd@gnu.org>
3256
3257 * simple.el (yank-handled-properties): New defcustom.
3258 (yank-excluded-properties): Add font-lock-face and category.
3259 (yank): Doc fix.
3260
9fba804b
SM
3261 * subr.el (remove-yank-excluded-properties):
3262 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3263 and category is now done this way, instead of being hard-coded.
3264 (insert-for-yank-1): Remove font-lock-face handling.
3265 (yank-handle-font-lock-face-property)
3266 (yank-handle-category-property): New function.
3267
ee218151
GM
32682012-08-17 Glenn Morris <rgm@gnu.org>
3269
3270 * mail/rmailout.el (rmail-output-read-file-name):
3271 Check rmail-output-file-alist against the full message body
3272 in the correct rmail buffer. (Bug#12214)
3273
4a6bc3fd
MA
32742012-08-17 Michael Albinus <michael.albinus@gmx.de>
3275
9fba804b
SM
3276 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3277 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3278
383dcbf9
CY
32792012-08-17 Chong Yidong <cyd@gnu.org>
3280
3281 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3282 font spec, set the font directly (Bug#3228).
3283
998c4a6a
MR
32842012-08-17 Martin Rudalics <rudalics@gmx.at>
3285
3286 * window.el (delete-window): Fix last fix.
3287
52162052
MR
32882012-08-16 Martin Rudalics <rudalics@gmx.at>
3289
3290 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3291 (window-child, window-child-count, window-last-child)
3292 (window-normalize-window, window-combined-p)
3293 (window-combinations, window-atom-root, window-min-size)
3294 (window-sizable, window-sizable-p, window-size-fixed-p)
3295 (window-min-delta, window-max-delta, window--resizable)
3296 (window--resizable-p, window-resizable, window-total-size)
3297 (window-full-height-p, window-full-width-p, window-body-size)
3298 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3299 (minimize-window, window-deletable-p, delete-window)
3300 (delete-other-windows, set-window-buffer-start-and-point)
3301 (next-buffer, previous-buffer, split-window, balance-windows-2)
3302 (set-window-text-height, window-buffer-height)
3303 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3304 (truncated-partial-width-window-p): Minor code adjustments.
3305 In doc-strings state whether the argument window has to denote a
85c2386b 3306 live, valid or any window.
52162052 3307
1c308380
PS
33082012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3309
3310 * progmodes/subword.el (subword-forward-function)
3311 (subword-backward-function, subword-forward-regexp)
3312 (subword-backward-regexp): New variables.
3313 (subword-forward, subword-forward-internal, subword-backward-internal):
3314 Use new variables, eg so that different "word" definitions
3315 can be easily used. (Bug#11411)
3316
94c9ece1
SM
33172012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3320 for composite selectors.
3321 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3322 operation just because we can't find a previous revision.
3323
f2045622
CY
33242012-08-15 Chong Yidong <cyd@gnu.org>
3325
3326 * frame.el (set-frame-font): Accept font objects.
3327
582db660
SM
33282012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3331
2f29c200
WJ
33322012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3333
456e62c2
WJ
3334 * man.el (Man-overstrike-face, Man-underline-face)
3335 (Man-reverse-face): Remove variables.
3336 (Man-overstrike, Man-underline, Man-reverse): New faces.
3337 (Man-fontify-manpage): Use them instead of the variables.
3338 (Man-cleanup-manpage): Comment change.
3339 (Man-ansi-color-map): New variable.
3340 (Man-fontify-manpage): Use it.
3341 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3342
2f29c200
WJ
3343 Implement ANSI SGR parameters 22-27 (bug#12146).
3344 * ansi-color.el (ansi-colors): Doc fix.
3345 (ansi-color-context, ansi-color-context-region): Doc fix.
3346 (ansi-color--find-face): New function.
3347 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3348 Rename the local variable `face' to `codes' since it is now a list of
3349 ansi codes. Doc fix.
3350 (ansi-color-get-face): Remove.
3351 (ansi-color-parse-sequence): New function, derived from
3352 ansi-color-get-face.
3353 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3354 codes 22-27.
3355
b4f5e9df
SM
33562012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * subr.el (read-passwd): Allow use from a minibuffer.
3359
ba025fbd
EZ
33602012-08-14 Eli Zaretskii <eliz@gnu.org>
3361
3362 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3363 inside comments and strings as identifiers.
3364
3365 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3366 expression to evaluate. This allows to evaluate expressions with
3367 embedded whitespace.
3368 (gud-tooltip-tips): Add a blank before the newline in the
3369 message-box text, for the benefit of message-box emulation on
3370 MS-Windows.
3371
3372 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3373 messages from GDB, pop them up in a tooltip to give feedback to
3374 user.
b4f5e9df
SM
3375 (gdb-tooltip-print-1): Quote the expression to evaluate.
3376 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3377 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3378 if the TTY name is nil or empty (which happens when communicating
3379 with the inferior via pipes, e.g. on MS-Windows).
3380 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3381 don't send that to the GUD buffer.
3382
c548f821
GM
33832012-08-14 Glenn Morris <rgm@gnu.org>
3384
3385 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3386 Optimize away setq-default with no args, as for setq. (Bug#12195)
3387
55802e4a
CY
33882012-08-14 Chong Yidong <cyd@gnu.org>
3389
4abcdac8
CY
3390 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3391
55802e4a
CY
3392 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3393 (Bug#12085).
3394
3c3cda1a
GM
33952012-08-14 Glenn Morris <rgm@gnu.org>
3396
3397 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3398
e1873bd0
MA
33992012-08-14 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3402 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3403 Use cached shell name.
3404
925411b4
FEG
34052012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3406
3407 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3408 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3409
e636fafe
DG
34102012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3411
3412 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3413 (ruby-percent-literal-beg-re): New constant.
3414 (ruby-syntax-general-delimiters-goto-beg): Rename to
3415 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3416 (ruby-syntax-propertize-general-delimiters): Rename to
3417 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3418 popular term. Adjust comments everywhere.
3419 (ruby-syntax-propertize-percent-literal): Only propertize when not
3420 inside a simple string or comment. When the literal is unclosed,
3421 leave the text after it unpropertized.
f063063a
DG
3422 (ruby-syntax-methods-before-regexp): New constant.
3423 (ruby-syntax-propertize-function): Use it to recognize regexps.
3424 Don't look at the text after regexp, just use the whitelist.
e636fafe 3425
e5b19827
AS
34262012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3427
3428 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3429 non-nil always load the compiled file if it exists. (Bug#12197)
3430
a9f6f311
CY
34312012-08-14 Chong Yidong <cyd@gnu.org>
3432
3433 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3434 (hi-lock-set-pattern): When deciding whether to use font lock or
3435 overlays, look at font-lock-mode instead of font-lock-fontified
3436 (Bug#12168).
3437 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3438 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3439
7d806b1e
DU
34402012-08-14 Daiki Ueno <ueno@unixuser.org>
3441
3442 * subr.el (internal--after-with-selected-window): Fix typo
3443 (Bug#12193).
3444
5beed586
FEG
34452012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3446
3447 Use `completion-table-dynamic' for completion functions.
3448 * progmodes/python.el
3449 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3450 (python-shell-completion--get-completions):
3451 Remove functions.
5beed586
FEG
3452 (python-shell-completion-complete-at-point): New function.
3453 (python-completion-complete-at-point): Use it.
3454
92cb3b04
J
34552012-08-13 Jambunathan K <kjambunathan@gmail.com>
3456
3457 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3458 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3459
89660017
SM
34602012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3c98c962
SM
3462 * subr.el (function-get): Refine `autoload' arg so it can also
3463 autoload functions for gv.el (bug#12191).
3464 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3465 autoloads macros.
3466
aa7c6dbe
SM
3467 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3468 Prefer pcase-let over destructuring-bind.
3469 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3470 Also, remove whitespace as we go, rather than after accumulating the
3471 various places.
3472
89660017
SM
3473 * subr.el (internal--before-with-selected-window)
3474 (internal--after-with-selected-window): Fix typo seleted->selected.
3475 (with-selected-window): Adjust callers.
3476 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3477
31cd32c9
BG
34782012-08-13 Bastien Guerry <bzg@gnu.org>
3479
0fcd3d9f 3480 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3481 enhancement. (Bug#12172)
3482
1b15d8ad
AS
34832012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3484
31e54db0
AS
3485 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3486 type 1-6.
3487 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3488 extended headers.
3489
1b15d8ad
AS
3490 * files.el (hack-local-variables-filter): Remove useless eval.
3491
35cb9c06
MR
34922012-08-13 Martin Rudalics <rudalics@gmx.at>
3493
3494 * subr.el (with-selected-window): Fix last change.
3495
1439443b
SM
34962012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * subr.el (internal--before-with-seleted-window)
3499 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3500 (with-selected-window): Use them, to replace dependency on
3501 tty-top-frame.
1439443b 3502
0d9e2599
NN
35032012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3504
3505 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3506 binding for `newline'.
3507 (ruby-move-to-block): When moving backward, stop at block opening,
3508 not indentation.
3509 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3510 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3511 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3512 `ruby-toggle-block'.
3513
ba10c48c
SM
35142012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * ibuffer.el (ibuffer-do-toggle-read-only):
3517 * dired.el (dired-toggle-read-only):
3518 * buff-menu.el (Buffer-menu-toggle-read-only):
3519 * bindings.el (mode-line-toggle-read-only):
3520 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3521
9229c658
AS
35222012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3523
3524 * descr-text.el (describe-char): Put the overlays over the
3525 "displayed as" character.
3526
0fd09128
JB
35272012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3528
3529 * calc/calc-units.el (math-default-units-table): Give an
3530 initial value.
3531 (math-put-default-units): Add options to put composite units and
3532 unit systems in the default units table.
3533 (calc-convert-units): Send composite units to
3534 `math-put-default-units' when appropriate.
3535
9ff9402d 35362012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3537
fbb5e336
GM
3538 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3539
7aacaf15
GM
3540 * tutorial.el (help-with-tutorial):
3541 * emacs-lisp/copyright.el (copyright-update-directory):
3542 * emacs-lisp/autoload.el (autoload-find-generated-file)
3543 (autoload-find-file): Disable local eval: (for insurance).
3544
f40b9f10
GM
3545 * files.el (hack-local-variables-filter): If an eval: form is not
3546 known to be safe, and enable-local-variables is :safe, then ignore
3547 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3548 This is CVE-2012-3479.
f40b9f10 3549
daa9f1a6
SM
35502012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3553 (rx-form): Simplify.
3554
9cd80478
DG
35552012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3556
0d9e2599
NN
3557 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3558 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3559 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3560 (ruby-syntax-propertize-function): Adjust for changes in
3561 `ruby-syntax-propertize-heredoc'.
3562
35632012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3564
9cd80478
DG
3565 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3566 binding (use `M-;' instead).
9cd80478 3567 (ruby-singleton-class-p): New function.
0d9e2599 3568 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3569
d301b413
SM
35702012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3571
3572 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3573
1530c98e
CY
35742012-08-10 Chong Yidong <cyd@gnu.org>
3575
3576 * progmodes/python.el (python-shell-get-process-name): Don't mess
3577 with same-window-buffer-names.
3578
3579 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3580 (eshell-remove-from-window-buffer-names): Make obsolete.
3581 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3582 (eshell): Just use pop-to-buffer-same-window instead.
3583
e1293765
CY
35842012-08-10 Chong Yidong <cyd@gnu.org>
3585
3586 * bindings.el: Bind M-= back to count-words-region.
3587
3588 * simple.el (count-words-region): Accept a prefix arg for acting
3589 on the entire buffer.
3590 (count-words--buffer-message): New helper function.
3591
e1894109
SM
35922012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3595 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3596 (event-start, event-end): Use posn-at-point to return a more
3597 informative posn.
3598 (posnp): New function.
3599 * mouse.el (popup-menu-normalize-position): Use it.
3600
c69f56a2
MY
36012012-08-10 Masatake YAMATO <yamato@redhat.com>
3602
3603 * mouse.el (popup-menu-normalize-position): New function.
3604 (popup-menu): Use `popup-menu-normalize-position' to normalize
3605 the form for POSITION argument.
3606
3607 * term/x-win.el (x-menu-bar-open):
3608 Use the value returend from (posn-at-point) as position
3609 passed to `popup-menu'.
3610
31673780
JB
36112012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3612
3613 * calc/calccomp.el (math-compose-expr): Add extra argument
3614 indicating that parentheses should be put around products in
3615 denominators. Give multiplication precedence over division during
3616 composition.
3617
dab7711b
CY
36182012-08-09 Chong Yidong <cyd@gnu.org>
3619
dee4ef93
CY
3620 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3621 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3622 (Man-untabify-command, manual-program): Convert to defcustom
3623 (Bug#10429).
3624
73e2bbc5
CY
3625 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3626
3e861c8a
CY
3627 * descr-text.el (describe-char): Don't insert extra newlines
3628 (Bug#10127).
3629
a9f5a649
CY
3630 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3631 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3632
dab7711b
CY
3633 * align.el (align-region): Delete temporary markers (Bug#10047).
3634 Plus some code cleanups.
3635
e0cc4efa
FEG
36362012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3637
3638 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3639 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3640 (python-shell-internal-last-output): Use make-local-variable
3641 instead of make-variable-buffer-local.
3642
489af14f
FEG
36432012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3644
3645 * progmodes/python.el: Enhancements to forward-sexp.
3646 (python-nav-forward-sexp): Rename from
3647 python-nav-forward-sexp-function.
c69f56a2
MY
3648 (python-nav--forward-sexp, python-nav--backward-sexp):
3649 New functions.
489af14f 3650
0fc50303
JB
36512012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3652
3653 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3654 modes and simplification modes.
3655
5d65606a
SM
36562012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * delsel.el (delete-selection-pre-hook): Don't propagate the
3659 file-supersession signals (bug#12161).
3660
4250fdf5
SM
36612012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3664 (cl-map-extents): Add compatibility aliases (bug#12135).
3665
d9f9b465
MA
36662012-08-08 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3669 tests by `ignore-error'.
3670 (tramp-find-shell): Open also a new shell, when cache is already
3671 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3672
ce0fcefa
JL
36732012-08-08 Juri Linkov <juri@jurta.org>
3674
3675 * bookmark.el: Add `defaults' property to the bookmark record.
3676 (bookmark-current-buffer): Doc fix.
3677 (bookmark-make-record): Add `defaults' property with default values
3678 to the bookmark record.
3679 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3680 with `bookmark-insert-current-bookmark'.
3681 (bookmark-set): Get `defaults' property from the bookmark record
3682 and use it in `read-from-minibuffer'.
3683 (bookmark-insert-current-bookmark): Remove function.
3684
3685 * info.el (Info-bookmark-make-record): Add `defaults' property
3686 with values of canonical Info node name, the current Info file
3687 name and the current Info node name. (Bug#12107)
3688
53fa8652
JL
36892012-08-08 Juri Linkov <juri@jurta.org>
3690
3691 * files.el (basic-save-buffer): Use `buffer-name' as the default
3692 of `read-file-name' when buffer is not visiting a file (bug#12128).
3693
242c0a95
JL
36942012-08-08 Juri Linkov <juri@jurta.org>
3695
3696 * info.el (Info-isearch-search): Doc fix.
3697 (Info-search): Change search-failed message from "initial node" to
3698 "end of node" (bug#12078).
3699 (Info-isearch-search): Change `isearch-string-state' to
3700 `isearch--state-string'.
3701
32ac3a6b
GM
37022012-08-08 Glenn Morris <rgm@gnu.org>
3703
3704 * language/persian.el: Remove file.
f8c1afd5 3705 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3706 * loadup.el: Remove language/persian.
3707
2c2d9c9c
OF
37082012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3709
3710 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3711
2d79ec42
FEG
37122012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3713
3714 * progmodes/python.el Fixed defsubst warning.
3715 (python-syntax-context) Rename from python-info-ppss-context.
3716 (python-syntax-context-type): Rename from
3717 python-info-ppss-context-type.
3718 (python-syntax-comment-or-string-p): Rename from
3719 python-info-ppss-comment-or-string-p.
3720
2bd255dd
JB
37212012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3722
3723 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3724
c395097f
AS
37252012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3726
6125983e
AS
3727 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3728 a defcustom that is quoted with backquote.
3729
4250fdf5
SM
3730 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3731 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3732 (math-do-arg-check, math-define-function-body): Use backquote forms.
3733 * calc/calc-ext.el (math-defcache): Likewise.
3734 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3735 * allout.el (allout-new-exposure): Likewise.
3736 * calc/calcalg2.el (math-tracing-integral): Likewise.
3737 * info.el (Info-last-menu-item): Likewise.
3738 * emulation/vip.el (vip-loop): Likewise.
3739 * textmodes/artist.el (artist-funcall): Likewise.
3740 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3741 Construct menu-item directly.
3742
4250fdf5
SM
3743 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3744 Don't declare.
c395097f 3745
5fb50dd3
CY
37462012-08-07 Chong Yidong <cyd@gnu.org>
3747
3748 * simple.el (deactivate-mark): Preserve text properties when
3749 saving the primary selection (Bug#8384).
3750
54eea618
KR
37512012-08-07 Kevin Ryde <user42@zip.com.au>
3752
3753 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3754 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3755 and continue processing (Bug#12110).
3756
638eaeb9
SM
37572012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3760 syntax-propertize-function (bug#10095).
3761
ea376861
SM
37622012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3763
f91b35be
SM
3764 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3765 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3766 describe-function-1.
3767 (describe-function-1): Use them. Move compiler macro after sig.
3768 (help-fns--compiler-macro): Use function-get. Assume we're already in
3769 standard-output. Adjust layout to new call order.
3770
ea376861
SM
3771 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3772 re-binding a symbol that has a symbol-macro (bug#12119).
3773
d5be7bd0
MB
37742012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3775
3776 * language/persian.el: New file. (Bug#11812)
3777 * loadup.el: Add language/persian.el.
3778
90749b53
CY
37792012-08-06 Chong Yidong <cyd@gnu.org>
3780
3781 * window.el (window--maybe-raise-frame): New function.
3782 (window--display-buffer): Split off from here.
3783 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3784 (display-buffer-pop-up-window, display-buffer-use-some-window):
3785 Obey an inhibit-switch-frame action alist entry.
3786 (display-buffer): Update doc.
3787
3788 * replace.el (occur-after-change-function): Avoid losing focus by
3789 using the inhibit-switch-frame display parameter (Bug#12139).
3790
ba7b0154
FEG
37912012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3792
3793 Make internal shell process buffer names start with space.
3794 * progmodes/python.el (python-shell-make-comint): Add optional
3795 argument INTERNAL.
3796 (run-python-internal): Use it.
3797 (python-shell-internal-get-or-create-process): Check for new
3798 internal buffer names.
3799
5eaeacb5
GM
38002012-08-06 Glenn Morris <rgm@gnu.org>
3801
e296d94b 3802 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3803 Do less getting and setting of environment variables.
3804
b7ccbdc2
CY
38052012-08-05 Chong Yidong <cyd@gnu.org>
3806
777fe95e
CY
3807 * proced.el (proced): Add substitution string to docstring to
3808 trigger autoloading of the proced library on C-h f (Bug#1768).
3809
4250fdf5
SM
3810 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3811 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3812
3813 * imenu.el (imenu-generic-expression): Move documentation here
3814 from imenu--generic-function.
3815 (imenu--generic-function): Refer to imenu-generic-expression.
3816
9e3b7800 38172012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3818
3819 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3820 indentation declaration.
3821 (viper-loop): Add indentation declaration (Bug#7025).
3822
e5d9c0d1
CY
38232012-08-05 Chong Yidong <cyd@gnu.org>
3824
f0422feb
CY
3825 * help-fns.el (describe-variable): Add hyperlink for
3826 directory-local variables files. Improve buffer-local and
3827 permanent-local reporting; suggested by MON KEY (Bug#6644).
3828
3829 * help-mode.el (help-dir-local-var-def): New button type.
3830
e5d9c0d1
CY
3831 * files.el (kill-buffer-hook): Provide a defvar.
3832
a4f2deaa
GM
38332012-08-05 Glenn Morris <rgm@gnu.org>
3834
3835 * eshell/esh-ext.el (eshell/addpath):
3836 Also update eshell-path-env. (Bug#12013)
3837
a9dd5754
CY
38382012-08-05 Chong Yidong <cyd@gnu.org>
3839
a4f2deaa 3840 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3841
d014c740
CY
3842 * fringe.el (fringe-styles): Add docstring.
3843 (fringe--check-mode): New function.
3844 (set-fringe-mode, set-fringe-style): Use it.
3845 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3846
a9dd5754
CY
3847 * files.el (set-auto-mode): Fix invalid setq call.
3848
7c2dc8bd
SM
38492012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * isearch.el: Misc simplification; use defstruct.
3852 (isearch-mode-map): Dense maps now work like sparse ones.
3853 (isearch--state): New defstruct.
3854 (isearch-string-state, isearch-message-state, isearch-point-state)
3855 (isearch-success-state, isearch-forward-state)
3856 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3857 (isearch-wrapped-state, isearch-barrier-state)
3858 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3859 replaced by defstruct's accessors.
3860 (isearch--set-state): Rename from isearch-top-state and change
3861 calling convention.
3862 (isearch-push-state): Use new isearch--get-state.
3863 (isearch-toggle-word): Disable regexp when enabling word.
3864 (isearch-message-prefix): Remove unused arg _c-q-hack.
3865 (isearch-message-suffix): Remove unused arg _ellipsis.
3866
7fcc0070
AS
38672012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3868
3869 * simple.el (list-processes--refresh): For a server use :host or
3870 :local as the address.
97ad0769 3871 (list-processes): Doc fix.
7fcc0070 3872
a11035b8 38732012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3874
3875 * lisp/mpc.el: Support password in host argument.
3876 (mpc--proc-connect): Parse and use new password element.
3877 Set mpc-proc variable instead of returning process.
3878 (mpc-proc): Adjust accordingly.
3879
6dad7178
EZ
38802012-08-03 Eli Zaretskii <eliz@gnu.org>
3881
18949c2f
EZ
3882 * whitespace.el (whitespace-display-mappings): Use Unicode
3883 codepoints, instead of emacs-mule codepoints. See
3884 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3885 for the details.
3886
6dad7178
EZ
3887 * files.el (file-truename): Don't skip symlink-chasing part on
3888 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3889 Windows into the loop that recursively chases symlinks.
3890 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3891 MS-DOS.
3892
385b0198
CY
38932012-08-03 Chong Yidong <cyd@gnu.org>
3894
6200f3c4
CY
3895 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3896
385b0198
CY
3897 * sort.el (sort-regexp-fields): Doc fix.
3898
b9e74744
TH
38992012-08-03 Tassilo Horn <tsdh@gnu.org>
3900
3901 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3902 labels regex position point at the expected place.
3903
41013cb4
MK
39042012-08-03 MON KEY <monkey@sandpframing.com>
3905
3906 * net/imap.el (imap-interactive-login, imap-authenticate)
3907 (imap-mailbox-lsub, imap-mailbox-list)
3908 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3909 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3910 (imap-parse-response): Doc fix.
3911
0ffee616
JT
39122012-08-03 João Távora <joaotavora@gmail.com>
3913
3914 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3915 if sexp scanning does not move point (Bug#5734).
3916
cfcc9cc8
TH
39172012-08-02 Tassilo Horn <tsdh@gnu.org>
3918
3919 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3920 Add listings, minted, and ctable packages.
3921 (reftex-label-alist-builtin): Move listings, minted, and ctable
3922 entries before LaTeX.
a01bbb84 3923 (reftex-label-alist): Docfix.
cfcc9cc8 3924
66ec2442
BG
39252012-08-02 Bastien Guerry <bzg@gnu.org>
3926
3927 * replace.el (occur): Fix docstring (bug#12122).
3928
837b365b
GM
39292012-08-02 Glenn Morris <rgm@gnu.org>
3930
3931 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3932
e098de97
PE
39332012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3934
3935 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3936 * international/mule-cmds.el: Create
3937 inactivate-current-input-method-function as an obsolete alias for
3938 deactivate-current-input-method-function. See Katsumi Yamaoka in
3939 <http://bugs.gnu.org/10150#46>.
3940
a0f95636
JB
39412012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3942
3943 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3944 of nested `if's.
3945
0d26d7c4
GM
39462012-08-01 Glenn Morris <rgm@gnu.org>
3947
3948 * progmodes/autoconf.el (autoconf-definition-regexp):
3949 Add AH_TEMPLATE, adjust submatch numbering.
3950 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3951 (autoconf-current-defun-function): Update for above change.
3952 (autoconf-current-defun-function): First skip to end of current word.
3953
b686ba06
RS
39542012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3955
3956 * calendar/cal-html.el (cal-html-insert-agenda-days):
3957 Fix typo. (Bug#12018)
3958
0d49da68
FEG
39592012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3960
3961 Shell processes: enhancements to startup and CEDET compatibility.
3962 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3963 (python-shell-make-comint): accept-process-output at startup.
3964 (run-python-internal): Set inferior-python-mode-hook to nil.
3965 (python-shell-internal-get-or-create-process): call sit-for.
3966 (python-preoutput-result): Add obsolete alias.
3967 (python-shell-internal-send-string): Use it.
3968 (python-shell-send-setup-code): Remove call to
3969 accept-process-output.
3970
f1a71c6e
AS
39712012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3972
3973 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3974 (Bug#12108)
3975
d2605269
JB
39762012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3977
3978 * calc-mode.el (calc-basic-simplification-mode): Rename from
3979 `calc-limited-simplification-mode'.
3980 (calc-alg-simplification-mode): New function.
fc0c31f8 3981 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3982
d2605269
JB
3983 * calc.el (calc-set-mode-line): Adjust mode line display for
3984 basic simplification mode.
3985
3986 * calc-help.el (calc-m-prefix-help): Update help message.
3987
3988 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3989 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3990
a3827a43
BG
39912012-07-31 Bastien Guerry <bzg@gnu.org>
3992
3993 * man.el (man): Fix comment. (bug#12101)
3994
502e3f89
MR
39952012-07-31 Martin Rudalics <rudalics@gmx.at>
3996
3997 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3998 Don't return a non-nil value when no suitable buffer was found.
3999
d7714961
FEG
40002012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4001
4002 * progmodes/python.el (run-python-internal): Disable font lock for
4003 internal shells.
4004
1f45e27e
SM
40052012-07-30 Stefan Merten <smerten@oekonux.de>
4006
70efc5c9 4007 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4008 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4009 (rst-official-version, rst-official-cvs-rev)
4010 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4011 (rst-mode-map): New key binding.
4012
0aee6912
PE
40132012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4014
4015 Update .PHONY listings in makefiles.
4016 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4017 autoloads, update-subdirs, updates, bzr-update, update-authors,
4018 compile-onefile, compile-calc, backup-compiled-files,
4019 compile-after-backup, compile-one-process, mh-autoloads,
4020 bootstrap-clean, distclean, maintainer-clean.
4021
9052f9f0
JB
40222012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4023
1823ac5a
JB
4024 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4025 (calc-set-mode-line): Don't display "AlgSimp ".
4026
4027 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4028 (calc-lim-simplify-mode): New function.
4029 (calc-set-simplify-mode): Default to 'alg.
4030 (calc-default-simplify-mode): Make algebraic simplifications
4031 the default.
4032
4033 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4034 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4035
8d7c7eed 4036 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4037 indicate new simplification modes.
4038
1823ac5a
JB
4039 * calc/README: Mention new default simplification mode.
4040
9052f9f0
JB
4041 * calc/calc.el (math-normalize-error): New variable.
4042 (math-normalize): Set `math-normalize-error' to t
4043 when there's an error.
4044
4045 * calc/calc-alg.el (math-simplify): Don't simplify when
4046 `math-normalize' returns an error.
4047
20ba0cb4
EZ
40482012-07-29 Eli Zaretskii <eliz@gnu.org>
4049
4050 * international/mule-cmds.el (set-locale-environment): Revert last
4051 change, since display-graphic-p returns nil when this function is
4052 called during startup. Instead...
4053
4054 * term/w32console.el (terminal-init-w32console): ...setup the
4055 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4056
a5dcc929
JL
40572012-07-29 Juri Linkov <juri@jurta.org>
4058
4059 * simple.el (goto-line): Don't display default line number in the
4060 prompt because it should be displayed by `read-number' (bug#9952).
4061 Add the current line number to the defaults of `goto-line' to
4062 allow its easier modification by users with `M-n' (bug#9201).
4063
4064 * subr.el (read-number): Support multiple default values like in
4065 other minibuffer reading functions. Replace `read' with
4066 `string-to-number' for consistency with `number-to-string'.
4067
72b255c7
PE
40682012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4069
4070 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4071 * emulation/viper-init.el (viper-deactivate-input-method-action):
4072 Rename from viper-inactivate-input-method-action.
4073 (viper-deactivate-input-method):
4074 Rename from viper-inactivate-input-method.
4075 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4076 * international/mule-cmds.el (deactivate-input-method):
4077 Rename from inactivate-input-method.
4078 Also run input-method-deactivate-hook.
4079 (deactivate-current-input-method-function):
4080 Rename from inactivate-current-input-method-function.
4081 (input-method-deactivate-hook): New hook.
4082 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4083 (inactivate-input-method): Mark obsolete.
4084
72b255c7
PE
4085 * international/quail.el (quail-activate):
4086 Also run quail-deactivate-hook.
4087 (quail-deactivate): Rename from quail-inactivate.
4088 * international/robin.el (robin-activate):
4089 Also run robin-deactivate-hook.
4090 (robin-deactivate): Rename from robin-inactivate.
4091
2549c068
CY
40922012-07-29 Chong Yidong <cyd@gnu.org>
4093
4094 * simple.el (indicate-copied-region): New function.
4095 (kill-ring-save): Split off from here.
4096
4097 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4098 (kill-rectangle): Set deactivate-mark to t on read-only error.
4099
4100 * register.el (copy-to-register, copy-rectangle-to-register):
4101 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4102 (append-to-register, prepend-to-register): Call indicate-copied-region.
4103
41042012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4105
4106 * simple.el (async-shell-command-buffer): New defcustom.
4107 (shell-command): Use it. (Bug#4719)
4108
01bd1b0d
EZ
41092012-07-28 Eli Zaretskii <eliz@gnu.org>
4110
4111 * international/mule-cmds.el (set-locale-environment): In a
4112 console session on MS-Windows, set up keyboard and terminal
4113 encoding from the OEM codepage, not the ANSI codepage.
4114 (Bug#12055)
4115
a55739d3
CY
41162012-07-28 Chong Yidong <cyd@gnu.org>
4117
4118 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4119 gdb-get-location.
4120
0e1a094f 41212012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4122
4123 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4124 the alist (bug#12029).
4125
20329d73
EZ
41262012-07-28 Eli Zaretskii <eliz@gnu.org>
4127
4128 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4129 (compile-always, compile-first)
4130 ($(lisp)/calendar/cal-loaddefs.el)
4131 ($(lisp)/calendar/diary-loaddefs.el)
4132 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4133 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4134 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4135 instead of on update-subdirs.
4136 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4137
345a2258
CY
41382012-07-28 Chong Yidong <cyd@gnu.org>
4139
1eee6341
CY
4140 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4141 directory if vc-deduce-backend returns nil (Bug#7350).
4142
345a2258
CY
4143 * simple.el (delete-trailing-lines): New option.
4144 (delete-trailing-whitespace): Obey it (Bug#11879).
4145
049a0936
DE
41462012-07-28 David Engster <deng@randomsample.de>
4147
4148 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4149 Explanation of new 'symbol-qnames feature in doc-strings.
4150 (xml-maybe-do-ns): Return expanded names as plain symbols if
4151 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4152 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4153
aa81af71
FEG
41542012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4155
4156 Consistent completion in inferior python with emacs -nw.
4157 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4158 binding in inferior-python-mode-map with "\t".
4159 (python-shell-completion-complete-at-point)
4160 (python-completion-complete-at-point): Remove interactive spec.
4161
e827b1eb
JB
41622012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4163
4164 * calc/calccomp.el (math-compose-expr): Undo previous change.
4165
a90dfb95
FEG
41662012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4167
4250fdf5 4168 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4169 run-python.
4170 (python-shell-make-comint): Fix pop-to-buffer call.
4171 (run-python): Autoload. New arg SHOW.
4172 (python-shell-get-or-create-process): Do not pop python process
4173 buffer.
4174
32770973 41752012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4176
4177 * notifications.el (notifications-on-action-signal)
4178 (notifications-on-closed-signal): Use also the bus address for the map.
4179 (notifications-notify, notifications-close-notification)
fc0c31f8 4180 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4181
86332df2
TH
41822012-07-27 Tassilo Horn <tsdh@gnu.org>
4183
4250fdf5
SM
4184 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4185 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4186 ctable macro.
4187 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4188 labels written in keyvals syntax.
4189
ca1302a4
JB
41902012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4191
4192 * calc/calccomp.el (math-compose-expr): Use parentheses when
4193 there is a product in the denominator of a fraction.
4194
f8b91036
EZ
41952012-07-26 Eli Zaretskii <eliz@gnu.org>
4196
4197 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4198 ($(lisp)/calendar/diary-loaddefs.el)
4199 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4200 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4201 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4202 rewritten while the autoload files are built at the same time,
4203 which needs to load subdirs.el.
4204
c8e5a42c
MR
42052012-07-26 Martin Rudalics <rudalics@gmx.at>
4206
4207 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4208 (mouse-drag-line): Don't exit tracking when a switch-frame or
4209 switch-window event occurs (Bug#12006).
4210
670d85ea
SM
42112012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * mouse.el (popup-menu): Fix last change.
4214
7abaf5cc
SM
42152012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 Autoload from Lisp with more care. Follow aliases when looking for
4218 function properties.
4219 * subr.el (autoloadp): New function.
4220 (symbol-file): Use it.
4221 (function-get): New function.
4222 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4223 autoload-do-load.
4224 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4225 (lisp-indent-function):
4226 * emacs-lisp/gv.el (gv-get):
4227 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4228 * emacs-lisp/byte-opt.el (byte-optimize-form):
4229 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4230 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4231 Use function-get.
4232 * emacs-lisp/cl.el: Don't propagate function properties any more.
4233
4234 * speedbar.el (speedbar-add-localized-speedbar-support):
4235 * emacs-lisp/disass.el (disassemble-internal):
4236 * desktop.el (desktop-load-file):
4237 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4238 (describe-function-1):
4239 * emacs-lisp/find-func.el (find-function-noselect):
4240 * emacs-lisp/elp.el (elp-instrument-function):
4241 * emacs-lisp/advice.el (ad-has-proper-definition):
4242 * apropos.el (apropos-safe-documentation, apropos-macrop):
4243 * emacs-lisp/debug.el (debug-on-entry):
4244 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4245 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4246 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4247
b1364986
AA
42482012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4249
4250 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4251 function, not an obsolete variable (Bug#12046).
4252
67ada220
AS
42532012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4254
4255 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4256
f08088e3
CS
42572012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4258
4259 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4260 window only if it is still live (Bug#12034).
4261
8137e7b3
MR
42622012-07-25 Martin Rudalics <rudalics@gmx.at>
4263
4264 * subr.el (redirect-frame-focus): Add advertised calling
4265 convention (Bug#12030).
4266
09ae5da1
PE
42672012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4268
4269 Prefer typical American spelling for "acknowledgment".
4270 * vc/add-log.el (change-log-acknowledgment): Rename from
4271 change-log-acknowledgement, with an alias for the old name.
4272
3cc5a3a8
JB
42732012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4274
4275 * calc-alg.el (math-simplify-divide): Don't cross multiply
4276 in an equation when the lhs is a variable.
4277
b7af7f62
JD
42782012-07-24 Julien Danjou <julien@danjou.info>
4279
4280 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4281 Remove, unused.
4282
ec1b09b1
EZ
42832012-07-23 Eli Zaretskii <eliz@gnu.org>
4284
4285 * startup.el (command-line): Don't display an empty user name in
4286 the error message about non-existent home directory, when
4287 init-file-user was set to an empty string. See
4288 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4289 for the details and context.
4290
b525fd8a
VB
42912012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4292
4293 * ses.el (ses-cell-formula-aset): New macro.
4294 (ses-cell-references-aset): New macro.
4295 (ses-cell-p): New function.
4296 (ses-rename-cell): Do no longer rely on complex operations like
4297 ses-cell-set-formula or ses-set-cell to change the cell and handle
4298 the undo at the same time, but rather use lower level new macros
4299 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4300 the undo directly. Refresh the mode line.
b525fd8a 4301
2c73e345
LL
43022012-07-21 Leo Liu <sdl.web@gmail.com>
4303
670d85ea
SM
4304 * progmodes/cc-cmds.el (c-defun-name):
4305 Use match-string-no-properties instead for consistency.
2c73e345 4306
542dfbde
LL
43072012-07-20 Leo Liu <sdl.web@gmail.com>
4308
3646bcd6
LL
4309 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4310 (Bug#7879)
4311
542dfbde
LL
4312 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4313
25721031
CY
43142012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4317 * progmodes/bug-reference.el, misearch.el: Provide themselves
4318 (bug#11915).
4319
4320 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4321 of narrowed buffer (bug#11966).
4322
316e68a7
VB
43232012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4324
4325 * ses.el (ses-rename-cell): Set new name also in reference list of
4326 cells of which the renamed cell depends.
4327
bbf0e7d9
MY
43282012-07-20 Masatake YAMATO <yamato@redhat.com>
4329
4330 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4331 to check whether menu-bar is shown or not. If not shown,
4332 show the menu-bar as a popup menu instead of using tmm.
4333 * mouse.el (popup-menu): Accept `point' as `position' argument.
4334
c28662a8
DG
43352012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4336
4337 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4338 up inside string symbol literal (bug#11923).
4339
87ab808f
EZ
43402012-07-20 Eli Zaretskii <eliz@gnu.org>
4341
4342 * startup.el (fancy-startup-text): Read the whole tutorial, not
4343 just its first 256 bytes. Prevents gibberish in display of the
4344 tutorial title.
4345
89dea803
DA
43462012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4347
4348 Drop idle buffer compaction due to an absence of the
4349 proved efficiency.
4350 * compact.el: Remove.
4351
8a4e6db8
SS
43522012-07-19 Sam Steingold <sds@gnu.org>
4353
4354 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4355 vc-bzr-pull & vc-bzr-merge-branch.
4356 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4357 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4358 for consistency with compilation-error-regexp-alist.
4359 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4360 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4361 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4362 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4363
5db81e33
SM
43642012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * emacs-lisp/chart.el: Use lexical-binding.
4367 (chart-emacs-storage): Don't hardcode the list of entries.
4368
5b835e1d
DA
43692012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4370
4371 Next round of tweaks caused by Fgarbage_collect changes.
4372 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4373
9cd47b72
DA
43742012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4375
4376 Compact buffers when idle.
4377 * compact.el: New file.
4378
1d6fc0df
SM
43792012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * subr.el (eventp): Presume that if it looks vaguely like an event,
4382 it's an event (bug#10190).
4383
1d29cc7d
FEG
43842012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4385
4386 Enhancements to ppss related code (thanks Stefan).
4387 * progmodes/python.el (python-indent-context)
4388 (python-indent-calculate-indentation, python-indent-dedent-line)
4389 (python-indent-electric-colon, python-nav-forward-block)
4390 (python-mode-abbrev-table)
1d6fc0df 4391 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4392 for ppss context.
4393 (python-info-continuation-line-p): Cleanup.
4394 (python-info-ppss-context): Do not catch 'quote.
4395 (python-info-ppss-context-type)
4396 (python-info-ppss-comment-or-string-p): Simplify.
4397
d583cbe6
FEG
43982012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4399
4400 * progmodes/python.el: Enhancements to eldoc support.
4401 (python-info-current-symbol): New function.
4402 (python-eldoc-at-point): Use python-info-current-symbol.
4403 (python-info-current-defun): Fix cornercase on first defun scan.
4404 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4405 and signal error when no inferior python process is available.
4406
eceb6feb
DG
44072012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4408
4409 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4410 assume it's always t.
4411 (vc-git-registered): Remove caching, the function is only called
4412 once.
4413 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4414
4c8ff0fe
CY
44152012-07-18 Chong Yidong <cyd@gnu.org>
4416
19fb7186
CY
4417 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4418
9587c688
CY
4419 * simple.el (count-words): Report on narrowing (Bug#9959).
4420
0fe776a1
CY
4421 * bindings.el: Bind M-= to count-words.
4422
4c8ff0fe
CY
4423 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4424
7f5331cc
MY
44252012-07-18 Masatake YAMATO <yamato@redhat.com>
4426
4427 * progmodes/sh-script.el (sh-imenu-generic-expression):
4428 Capture a function with `function' keyword and without parentheses
4429 like "function FOO" (bug#11856).
4430
2dc2a609
TH
44312012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4432
4433 * window.el (split-window-sensibly): Make WINDOW argument
4434 optional.
4435
439f7677
CY
44362012-07-18 Chong Yidong <cyd@gnu.org>
4437
9aeb25a6
CY
4438 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4439
439f7677
CY
4440 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4441 and make C-x 8 RET exit isearch (Bug#11439).
4442
4443 * international/iso-transl.el: Move isearch-mode-map key
4444 definitions to isearch.el.
4445
12999ea8
SM
44462012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4449 (eieio-defclass): Use gv-define-setter when possible.
4450
3ab6e069
DA
44512012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4452
4453 Reflect recent changes in Fgarbage_collect.
4454 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4455 reflect new format of data returned by Fgarbage_collect.
4456
0a60bc10
FEG
44572012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4458
4459 New utility functions + python-info-ppss-context fix (Bug#11910).
4460 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4461 (python-info-ppss-comment-or-string-p): New functions.
4462 (python-info-ppss-context): Small fix for string check.
4463
6dafa0d5
JL
44642012-07-17 Juri Linkov <juri@jurta.org>
4465
4466 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4467 (dired-do-async-shell-command): Don't add `*' at the end of the
4468 command (Bug#11815).
4469 (dired-do-shell-command): Doc fix.
4470 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4471 Join the individual commands using either "&" or ";" as the
4472 separator depending on the values of these trailing characters.
4473 At the end re-add the trailing "&". (Bug#10598)
4474
4475 * simple.el (async-shell-command): Sync the interactive spec with
4476 `shell-command'. Doc fix.
4477 (shell-command): Doc fix.
4478
b19dd9d1
JL
44792012-07-17 Juri Linkov <juri@jurta.org>
4480
4481 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4482
bcdc27d7 44832012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4484
bcdc27d7 4485 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4486 * progmodes/python.el (python-nav-beginning-of-statement):
4487 Rename from python-nav-statement-start.
bcdc27d7
FEG
4488 (python-nav-end-of-statement): Rename from
4489 python-nav-statement-end.
4490 (python-nav-beginning-of-block): Rename from
4491 python-nav-block-start.
4492 (python-nav-end-of-block): Rename from python-nav-block-end.
4493
191da00e
FEG
44942012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4495
7f5331cc
MY
4496 * progmodes/python.el (python-shell-send-string-no-output):
4497 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4498 future interactions (Bug#11868).
4499
4dc7c8d5 45002012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4501
88ecaf8f
SM
4502 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4503
ef501ef0
SM
4504 * emacs-lisp/elint.el (elint-find-args-in-code):
4505 Use help-function-arglist, so as to handle lexical byte-code.
4506
aa7aaf8f
SM
4507 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4508 change (bug#11826).
4509
45fd731c
SM
45102012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4511
2143fa32
SM
4512 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4513 Avoid spuriously marking the buffer as modified because of c-is-sws.
4514
efc26dbe
SM
4515 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4516 as not-a-comment (bug#11946).
4517
f5695c9a
SM
4518 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4519 for uninterned vars.
4520
4521 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4522 Use read-event since we don't really want to read chars but bytes.
4523
45fd731c
SM
4524 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4525 $$..$$ but also $..$ using regexps (bug#11953).
4526 Use tex-verbatim for \url and \path.
4527 (tex-font-lock-keywords): Define as defconst like the others.
4528 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4529
ddfc8813
RK
45302012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4531
4532 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4533 alias for insert-char.
4534
758e556a
FEG
45352012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4536
4537 * progmodes/python.el: Simplified imenu implementation.
4538 (python-nav-jump-to-defun): Remove command.
4539 (python-mode-map): Use `imenu' instead.
4540 (python-nav-list-defun-positions-cache)
4541 (python-imenu-include-defun-type, python-imenu-make-tree)
4542 (python-imenu-subtree-root-label, python-imenu-index-alist):
4543 Remove vars.
4544 (python-nav-list-defun-positions, python-nav-read-defun)
4545 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4546 (python-imenu-make-tree, python-imenu-create-index):
4547 Remove functions.
758e556a
FEG
4548 (python-mode): Update to interact with imenu by setting
4549 `imenu-extract-index-name-function' only.
4550
032d23ab
FEG
45512012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4552
4553 * progmodes/python.el: Enhancements to navigation commands.
4554 (python-nav-backward-sentence)
4555 (python-nav-forward-sentence): Remove.
4556 (python-nav-backward-statement, python-nav-forward-statement)
4557 (python-nav-statement-start, python-nav-statement-end)
4558 (python-nav-backward-block, python-nav-forward-block)
4559 (python-nav-block-start, python-nav-block-end)
4560 (python-nav-forward-sexp-function)
4561 (python-info-current-line-comment-p)
4562 (python-info-current-line-empty-p): New functions.
4563 (python-indent-context): Use `python-nav-statement-start'.
4564
01795a1b
MA
45652012-07-16 Michael Albinus <michael.albinus@gmx.de>
4566
9328d9aa
MA
4567 * eshell/em-ls.el (eshell/ls): Use `apply'.
4568
4569 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4570 multi-hops, instead of Tramp internals.
4571
01795a1b
MA
4572 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4573
4574 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4575 when F1 and F2 are located on different hosts.
4576
63408057
CY
45772012-07-14 Chong Yidong <cyd@gnu.org>
4578
4579 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4580 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4581 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4582 (xterm-mouse--read-event-sequence-1000)
4583 (xterm-mouse--read-event-sequence-1006): New functions. For old
4584 mouse protocol, handle M-mouse-X events correctly.
4585 (xterm-mouse-event): New arg specifying mouse protocol.
4586 (turn-on-xterm-mouse-tracking-on-terminal)
4587 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4588 sequence to toggle extended coordinates on newer XTerms.
4589 This appears to be harmless on terminals which do not support this.
63408057 4590
cd276f6e
LL
45912012-07-14 Leo Liu <sdl.web@gmail.com>
4592
28ca98ac
LL
4593 Add fringe bitmap indicators for flymake. (Bug#11253)
4594 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4595 (flymake-make-overlay): New arg BITMAP.
4596 (flymake-error-bitmap, flymake-warning-bitmap)
4597 (flymake-fringe-indicator-position): New user variables.
4598
cd276f6e
LL
4599 * fringe.el: New bitmap exclamation-mark.
4600
04408072
JD
46012012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4602
4603 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4604 also (Bug#7879).
4605
b5cf7fc4
CY
46062012-07-14 Chong Yidong <cyd@gnu.org>
4607
4608 * electric.el (electric-pair-post-self-insert-function): Fix pair
4609 insertion in empty-region case (Bug#11520).
4610
be755c79
RT
46112012-07-14 Chong Yidong <cyd@gnu.org>
4612
45fd731c
SM
4613 * bindings.el: Consolidate ctl-x-r-map bindings.
4614 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4615
4616 * rect.el, register.el: Move bindings to bindings.el.
4617
46182012-07-14 Reuben Thomas <rrt@sc3d.org>
4619
4620 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4621
7f5b3198
AS
46222012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4623
4624 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4625
97662200
JB
46262012-07-13 Juanma Barranquero <lekktu@gmail.com>
4627
80185fed
JB
4628 * bindings.el (top): Use `mapc' instead of `mapcar'.
4629
97662200
JB
4630 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4631
2bb1ae55
MA
46322012-07-13 Michael Albinus <michael.albinus@gmx.de>
4633
4634 * progmodes/sql.el (sql-comint): Suppress the check for program on
4635 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4636 (Bug#11908)
4637
dea31bd3
CY
46382012-07-13 Chong Yidong <cyd@gnu.org>
4639
4640 * bindings.el: Assign a non-nil permanent-local property to
4641 per-buffer variables which lack a default value (Bug#11930).
4642
4643 * help-fns.el (describe-variable): In the "automatically becomes
4644 local" notice, take note of permanent-local variables.
4645
b68b3337
CY
46462012-07-13 Chong Yidong <cyd@gnu.org>
4647
4648 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4649 to allow printing the message when called from Lisp.
4650
4651 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4652 Remove toggle-read-only.
4653
4654 * bs.el (bs-toggle-readonly):
45fd731c
SM
4655 * buff-menu.el (Buffer-menu-toggle-read-only):
4656 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4657
4658 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4659 Remove with-no-warnings around toggle-read-only.
4660 (ffap-read-only, ffap-read-only-other-window)
4661 (ffap-read-only-other-frame): Callers changed.
4662
4663 * help-mode.el: Don't require view package.
4664 (help-mode-finish): Set buffer-read-only instead of calling
4665 toggle-read-only.
4666
4667 * bindings.el (mode-line-toggle-read-only):
4668 * dired.el (dired-toggle-read-only):
4669 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4670 with non-nil second arg.
4671
4672 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4673 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4674 directly.
4675
56bc1586
EZ
46762012-07-12 Eli Zaretskii <eliz@gnu.org>
4677
4678 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4679 not incf.
4680
a464a6c7
SM
46812012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4682
4683 More CL cleanups and reduction of use of cl.el.
4684 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4685 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4686 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4687 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4688 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4689 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4690 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4691 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4692 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4693 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4694 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4695 * eshell/em-cmpl.el, eshell/em-banner.el:
4696 * calendar/parse-time.el: Use cl-lib.
4697 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4698 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4699 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4700 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4701 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4702 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4703 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4704 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4705 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4706 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4707 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4708 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4709 `lambda' rather than with `quote'.
4710 (eshell-do-opt): Adjust accordingly.
4711 (eshell-process-option): Simplify.
4712 * eshell/esh-var.el:
4713 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4714 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4715 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4716 to `pcase--dontcare'.
4717 * emacs-lisp/cl.el (labels): Mark obsolete.
4718 (cl--letf, letf): Move to cl-lib.
4719 (cl--letf*, letf*): Remove.
4720 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4721 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4722 (cl-progv): Rewrite.
4723 (cl--letf, cl-letf): Move from cl.el.
4724 (cl-letf*): New macro.
4725 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4726
7ad4afe1
MA
47272012-07-11 Michael Albinus <michael.albinus@gmx.de>
4728
4729 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4730
9af57756
CY
47312012-07-11 Chong Yidong <cyd@gnu.org>
4732
4733 * vc/log-edit.el (log-edit-vc-backend): New variable.
4734 (log-edit): Doc fix.
4735
4736 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4737 argument of log-edit to set up all local variables.
4738 (vc-start-logentry): New optional arg specifying VC backend.
4739
4740 * vc/vc.el (vc-checkin): Use it.
4741 (vc-deduce-fileset): Handle Log Edit buffers.
4742 (vc-diff): Make first argument optional too.
4743
4744 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4745
8477cc7a
MA
47462012-07-10 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4749 command, just in case. The function is not needed anymore.
4750 (eshell-external-command): Do not call `eshell-remote-command'.
4751
19faa8e8
SM
47522012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4753
f58e0fd5
SM
4754 Reduce use of (require 'cl).
4755 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4756 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4757 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4758 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4759 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4760 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4761 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4762 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4763 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4764 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4765 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4766 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4767 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4768 (byte-compile-unfold-bcf, byte-compile-check-variable):
4769 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4770 (byte-compile-nilconstp):
4771 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4772 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4773
2519d43a
SM
4774 * emacs-lisp/gv.el (cond): Make it a valid place.
4775 (if): Simplify slightly.
4776
19faa8e8
SM
4777 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4778 (pcase--self-quoting-p): New function.
4779 (pcase--u1): Use it.
4780
c4907a5e
GM
47812012-07-10 Glenn Morris <rgm@gnu.org>
4782
4783 * emacs-lisp/authors.el (authors-fixed-entries):
4784 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4785
c4444d16
PE
47862012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4787
4788 Rename configure.in to configure.ac (Bug#11603).
4789 * emacs-lisp/authors.el (authors-canonical-file-name):
4790 * progmodes/autoconf.el (autoconf-mode):
4791 Prefer configure.ac to configure.in.
4792
d75be97d
CY
47932012-07-08 Chong Yidong <cyd@gnu.org>
4794
01ac65bd
CY
4795 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4796 Implement the mouse-1-click-follows-link handling properly.
4797
4798 * info.el (Info-link-keymap): Use follow-link mechanism for
4799 header-line links (Bug#374).
4800
d75be97d
CY
4801 * simple.el (deactivate-mark): Do not set the primary selection
4802 if another program has acquired it (Bug#11772).
4803
87a92845 48042012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4805
4806 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4807 (woman-decode-region): Replace escaped-escapes without destroying
4808 bold or underline (Bug#11552).
87a92845 4809 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4810
621b9d6c
CY
48112012-07-07 Chong Yidong <cyd@gnu.org>
4812
4813 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4814 (interprogram-cut-function, interprogram-paste-function):
4815 Mention that we typically mean the clipboard.
621b9d6c 4816
133a11fc
GM
48172012-07-06 Glenn Morris <rgm@gnu.org>
4818
0d27a45e
GM
4819 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4820
133a11fc
GM
4821 * files.el (toggle-read-only): Restrict message to interactive use.
4822
07b151f1
MA
48232012-07-06 Michael Albinus <michael.albinus@gmx.de>
4824
4825 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4826
4827 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4828
211b896b
GM
48292012-07-06 Glenn Morris <rgm@gnu.org>
4830
50394322
GM
4831 * Makefile.in (compile-one-process): Rename from "recompile".
4832
211b896b
GM
4833 * Makefile.in (bzr-update): "compile" is the same as "recompile
4834 autoloads", but parallelizable, so use that instead.
4835
4737eec9
DG
48362012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4837
4838 * window.el (quit-window): Always restore window height when
8137e7b3 4839 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4840
226c3633 48412012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4842
4843 * simple.el (kill-whole-line): Doc tweak.
4844
226c3633 48452012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4846
4847 * files.el (file-relative-name): Compare file names
4848 case-insensitively if on MS-Windows or MS-DOS, or if
4849 read-file-name-completion-ignore-case is non-nil. Don't use
4850 case-fold-search for this purpose. (Bug#11827)
4851
4dc7c8d5
SM
48522012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4853
4854 * calendar/cal-dst.el (calendar-current-time-zone):
4855 Return calendar-current-time-zone-cache if non-nil.
4856
48572012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 48582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4859
19faa8e8
SM
4860 * calendar/cal-dst.el (calendar-current-time-zone):
4861 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4862
60198fc9
GM
48632012-07-06 Glenn Morris <rgm@gnu.org>
4864
4865 * Makefile.in (cvs-update): Remove old alias.
4866
957b3189
MA
48672012-07-05 Michael Albinus <michael.albinus@gmx.de>
4868
4869 Sync with Tramp 2.2.6-pre.
4870
4871 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4872 compatible declaration.
4873
19faa8e8
SM
4874 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4875 Protect `list-load-path-shadows' call.
957b3189
MA
4876
4877 * net/tramp-compat.el (top): Require packages, which aren't
4878 autoloaded anymore for XEmacs. Protect call of
4879 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4880 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4881 it hurts at least for SXEmacs.
4882 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4883 standard-value for `temporary-file-directory'.
4884
4885 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4886 Redirect stderr to /dev/null.
4887 (tramp-sh-handle-write-region): uid and gid can be floats.
4888 Reported by Russell Sim <russell.sim@gmail.com>.
4889 (tramp-sh-handle-vc-registered): Hide errors.
4890 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4891 and `start-file-process'.
4892 (tramp-maybe-open-connection): Check also whether `non-essential'
4893 is bound.
4894
566df3fc
CY
48952012-07-04 Chong Yidong <cyd@gnu.org>
4896
4897 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4898 (xml-parse-tag): Likewise, and avoid changing entity tables.
4899 (xml-syntax-table): Define from scratch, making sure not to give
4900 x2000 and other Unicode spaces whitespace syntax, since those are
4901 not spaces in XML.
4902 (xml-parse-fragment): Delete unused function.
4903 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4904 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4905 (xml-entity-ref, xml-pe-reference-re)
4906 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4907 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4908 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4909 (xml-entity-value-re): Use syntax references in regexps where
4910 possible; no need to define inside a let-binding.
4911 (xml-parse-dtd): Use xml-pe-reference-re.
4912 (xml-entity-or-char-ref-re): New defconst.
4913 (xml-parse-string, xml-substitute-special): Use it.
4914
30eabd7a
SM
49152012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4916
0781098a
SM
4917 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4918 (find-file--read-only): New function.
4919 (find-file-read-only, find-file-read-only-other-window)
4920 (find-file-read-only-other-frame): Use it.
4921 (insert-file-contents-literally): Don't `fset'.
4922 (get-free-disk-space): Use locate-dominating-file.
4923
b5771c0d
SM
4924 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4925 function is already compiled.
4926
30eabd7a
SM
4927 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4928
b4886f6e
MA
49292012-07-03 Michael Albinus <michael.albinus@gmx.de>
4930
4931 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4932 files on the same host.
4933
b9d82339
AS
49342012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4935
4936 * help-fns.el (describe-function-1): Only call
4937 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4938
a76e6535
CY
49392012-07-03 Chong Yidong <cyd@gnu.org>
4940
4941 * xml.el: Protect parser against XML bombs.
4942 (xml-entity-expansion-limit): New variable.
4943 (xml-parse-string, xml-substitute-special): Use it.
4944 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4945
b544fef2
GM
49462012-07-03 Glenn Morris <rgm@gnu.org>
4947
4948 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4949 Allow linking to specific messages in debbugs reports (eg 123#5).
4950
a7aef6f5
CY
49512012-07-02 Chong Yidong <cyd@gnu.org>
4952
4953 * xml.el: Fix entity and character reference expansion, allowing
4954 them to expand into markup as per XML spec.
4955 (xml-default-ns): New variable.
4956 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4957 (xml-parse-region): Make first two arguments optional.
4958 Discard text properties.
4959 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4960 All callers changed.
a7aef6f5
CY
4961 (xml-parse-tag): Call xml-parse-tag-1. For backward
4962 compatibility, this function should not modify buffer contents.
4963 (xml-parse-tag-1): Fix opening-tag regexp.
4964 (xml-parse-string): Rewrite, handling entity and character
4965 references properly.
4966 (xml--entity-replacement-text): Signal an error if a parameter
4967 entity is undefined.
4968
3df31c9f
SM
49692012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4970
2b5208f1
SM
4971 * comint.el (comint-output-filter): Filter out repeated prompts.
4972
3df31c9f
SM
4973 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4974 and file-name-absolute-p.
4975 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4976 internal calls.
4977
e3ac1281
PE
49782012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4979
4980 Spelling fixes.
4981 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4982 Rename from byte-compile--refiy-function. All uses changed.
4983
fbf2e7ad
CY
49842012-07-01 Chong Yidong <cyd@gnu.org>
4985
4986 * xml.el (xml--parse-buffer): New function. Move most of
4987 xml-parse-region here.
4988 (xml-parse-region): Copy region into a temporary buffer, since
4989 parameter entity substitution requires changing buffer contents.
4990 Use xml--parse-buffer.
4991 (xml-parse-file): Use xml--parse-buffer.
4992 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4993 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4994
9bf0aa15
GM
49952012-06-30 Glenn Morris <rgm@gnu.org>
4996
bbce2853
GM
4997 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4998
9bf0aa15
GM
4999 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5000 Remove outdated and unnecessary dbus declarations.
5001
0d23c240
EZ
50022012-06-30 Eli Zaretskii <eliz@gnu.org>
5003
5004 * emacs-lisp/timer.el (timer-until): Subtract results of
5005 float-time, instead of taking float-time of the result of
5006 time-subtract, since float-time signals an error for negative time
5007 arguments.
5008
b3218de1
CY
50092012-06-30 Chong Yidong <cyd@gnu.org>
5010
5011 * xml.el (xml-*-re): Convert defvars into defconsts, and
5012 eval-and-compile them so eval-and-compile works on derivatives.
5013 (xml--entity-replacement-text): Use eval-and-comple.
5014
a40c87a0
MA
50152012-06-30 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * vc/vc-git.el (vc-git-registered): Use cache property
5018 `git-registered'.
5019 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5020 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5021 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5022
ac87de97
DG
50232012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5024
5025 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5026 removed (likely outside Emacs). (Bug#11757)
ac87de97 5027
ac10fe06
SM
50282012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5029
3df31c9f 5030 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5031
7f3fbd5d
CY
50322012-06-30 Chong Yidong <cyd@gnu.org>
5033
5034 * xml.el: Implement XML parameter entities.
5035 (xml-parameter-entity-alist): New variable.
5036 (xml-parse-region, xml-parse-fragment): Preserve previous values
5037 of xml-entity-alist and xml-parameter-entity-alist, so that
5038 repeated calls on different documents do not change them.
5039 (xml-parse-tag): Fix doctype regexp.
5040 (xml--entity-replacement-text): New function.
5041 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5042 properly requires url retrieval which is unimplemented.
5043 (xml-escape-string): Doc fix.
5044
3cfbebba
SM
50452012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5048
2af3565e
DA
50492012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5050
5051 * fringe.el (fringe-mode): Doc fix.
5052
929df0e7
MA
50532012-06-29 Michael Albinus <michael.albinus@gmx.de>
5054
5055 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5056 is non-nil.
5057 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5058 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5059
c8d3a25c 50602012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5061
c8d3a25c
GM
5062 * calendar/cal-dst.el (calendar-current-time-zone):
5063 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5064
c8d3a25c 50652012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5066
5067 * progmodes/which-func.el (which-func-format):
5068 Add mouse-face. (Bug#11698)
5069
c8d3a25c
GM
50702012-06-29 Leo Liu <sdl.web@gmail.com>
5071
5072 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5073
50742012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * minibuffer.el (minibuffer-confirm-exit-commands):
5077 Add completion-at-point (bug#11725).
5078
50792012-06-29 Glenn Morris <rgm@gnu.org>
5080
5081 * progmodes/f90.el (f90-font-lock-keywords-2):
5082 Add some preprocessor elements. (Bug#10499)
5083
50842012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5087 Use syntax-propertize (bug#11739).
5088
2badeec4
JB
50892012-06-28 Juanma Barranquero <lekktu@gmail.com>
5090
5091 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5092
ae4969c2
JD
50932012-06-28 Julien Danjou <julien@danjou.info>
5094
5095 * term.el (term-handle-colors-array): Use a set of new faces to
5096 color the terminal. Also uses :inverse-video property.
5097 (term-default-fg-color): Set to nil by default, deprecate in favor
5098 of `term-face'.
5099 (term-default-bg-color): Set to nil by default, deprecate in favor
5100 of `term-face'.
5101 (term-current-face): Use `term-face' by default.
5102 (term-bold-attribute): Variable deleted.
5103
1c9bd870
GM
51042012-06-28 Glenn Morris <rgm@gnu.org>
5105
5106 * simple.el (completion-list-mode-finish):
5107 Don't use toggle-read-only. (Since completion-list-mode has
5108 a special mode-class, it wasn't doing anything extra anyway.)
5109
c207708c
SM
51102012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 Make inlining of other-mode interpreted functions work (bug#11799).
5113 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5114 (byte-compile): Use it to fix compilation of lexical-binding closures.
5115 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5116 function, if needed.
5117
3fd56834
SM
51182012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5119
04901786
SM
5120 * help-mode.el (help-make-xrefs): Don't just withstand
5121 cyclic-variable-indirection but any error in documentation-property.
5122
1ec4b7b2
SM
5123 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5124 memory use.
5125 * bindings.el (bindings--define-key): New function.
5126 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5127 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5128 * bindings.el: Use it to purecopy define-key bindings.
5129
e309e2a5
SM
5130 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5131
d5c6faf9
SM
5132 * emacs-lisp/cl.el (flet): Mark obsolete.
5133 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5134 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5135 * progmodes/js.el (js-c-fill-paragraph):
5136 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5137 (ebrowse-switch-member-buffer-to-derived-class):
5138 * play/5x5.el (5x5-solver): Use cl-flet.
5139
6e9590e2
SM
5140 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5141 (cl--symbol-function): New macro.
5142 (cl--letf, cl--letf*): Use it.
5143
3fd56834
SM
5144 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5145 Strip "toggle-" if any.
5146
35ff222c
GM
51472012-06-27 Glenn Morris <rgm@gnu.org>
5148
1ba6038a
GM
5149 * info.el (Info-default-directory-list): Move here from paths.el.
5150 * paths.el: Remove file, which is now empty.
5151 * loadup.el: No longer load "paths".
5152
0ea0e51b
GM
5153 * custom.el (custom-initialize-delay): Doc fix.
5154
35ff222c
GM
5155 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5156 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5157 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5158 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5159 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5160 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5161 * eshell/eshell.el (eshell-defgroup): Remove alias.
5162
c89926a5
CY
51632012-06-27 Chong Yidong <cyd@gnu.org>
5164
5165 * help.el (help-enable-auto-load): New variable.
5166
5167 * help-fns.el (help-fns--autoloaded-p): New function.
5168 (describe-function-1): Refer to a function as "autoloaded" if it
5169 was autoloaded at any time in the past. Perform autoloading if
5170 help-enable-auto-load is non-nil.
5171
cc06e7e7
EZ
51722012-06-26 Eli Zaretskii <eliz@gnu.org>
5173
5174 * makefile.w32-in (compile, compile-always): Depend on
5175 update-subdirs, not on subdirs.el. Otherwise, several different
5176 sub-targets of 'bootstrap' running in parallel could
5177 simultaneously write to subdirs.el, producing a garbled file.
5178
d2c32364
SS
51792012-06-26 Sam Steingold <sds@gnu.org>
5180
5181 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5182 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5183 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5184 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5185 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5186 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5187 * textmodes/tex-mode.el: Use it.
5188 Did not touch cedet and org because they are maintained elsewhere.
5189
5cf983b2
MR
51902012-06-26 Martin Rudalics <rudalics@gmx.at>
5191
5192 * calendar/calendar.el (calendar-exit): Don't try to delete or
5193 iconify last frame. See:
5194 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5195
8c4f2952
JD
51962012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5197
5198 * server.el (server-process-filter): Remember dir in the
5199 process's `server-client-directory' properties.
5200
772b2e2c
CY
52012012-06-24 Chong Yidong <cyd@gnu.org>
5202
5203 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5204 non-tag text.
5205
711b11e1
JB
52062012-06-23 Juanma Barranquero <lekktu@gmail.com>
5207
5208 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5209
dc5d230c
SM
52102012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * help-fns.el (describe-variable): Don't croak when doc is not found.
5213 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5214 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5215 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5216 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5217 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5218 ((lambda ..) ..).
5219 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5220
136e1c1d
CY
52212012-06-23 Chong Yidong <cyd@gnu.org>
5222
e8c1cabf
CY
5223 * info.el (Info-mouse-follow-link): Accept symbol values of
5224 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5225 (Info-fontify-node): Use Info-link-keymap for all navigation
5226 buttons, with link-args property to perform the desired action.
5227 (Info-link-keymap): Doc fix.
5228 (Info-next-link-keymap, Info-prev-link-keymap)
5229 (Info-up-link-keymap): Delete now-unused keymaps.
5230
0e9e6c6a
CY
52312012-06-23 Chong Yidong <cyd@gnu.org>
5232
05e89fea
CY
5233 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5234
0e9e6c6a
CY
5235 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5236 system abbrevs.
5237
5238 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5239
e33c6771
SM
52402012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5241
b68581e2
SM
5242 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5243 (bug#11719).
5244
e33c6771
SM
5245 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5246 the requote function doesn't work properly (bug#11714).
5247
7117e105
GM
52482012-06-23 Glenn Morris <rgm@gnu.org>
5249
5250 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5251
36cec983
SM
52522012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 Further GV/CL cleanups.
5255 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5256 gv-expander.
5257 (gv--defun-declaration): New function.
5258 (defun-declarations-alist): Use it.
5259 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5260 (gv-place): Autoload.
5261 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5262 original definition of dotimes and dolist.
5263 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5264 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5265 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5266 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5267 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5268 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5269 to the function's definition.
5270 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5271 * window.el:
5272 * files.el:
5273 * faces.el:
5274 * env.el: Don't use CL.
5275
d35af63c
PE
52762012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5277
5278 Support higher-resolution time stamps (Bug#9000).
5279
5280 * calendar/time-date.el (with-decoded-time-value): New arg
5281 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5282 (encode-time-value): New optional arg PICO. New type 3.
5283 (time-to-seconds) [!float-time]: Support the new picoseconds
5284 component if it's used.
5285 (seconds-to-time, time-subtract, time-add):
5286 Support ps-resolution time stamps as well.
5287
5288 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5289 (timerp): Timer vectors now have length 9, not 8.
5290 (timer--time): Support new-style (4-part) time stamps.
5291 (timer-next-integral-multiple-of-time): Time stamps now have
5292 picosecond resolution, so take a bit more care about rounding.
5293 (timer-relative-time, timer-inc-time): New optional arg psecs.
5294 (timer-set-time-with-usecs): Set psecs to 0.
5295 (timer--activate): Check psecs component, too.
5296
5297 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5298
ac77b21a
SM
52992012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5300
f143bfe3
SM
5301 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5302 Move the non-essential binding to the post/pre-command-hook where it is
5303 more obviously correct.
5304
ac77b21a
SM
5305 * subr.el (read-passwd): Don't use a history at all.
5306 * savehist.el (savehist-save): Remove password saved accidentally
5307 because of the above bug.
5308
76386c5a
BG
53092012-06-22 Bastien Guerry <bzg@gnu.org>
5310
5311 * files.el (toggle-read-only): Display a message telling whether
5312 the buffer is read-only or not (bug#11726).
5313
2ee3d7f0
SM
53142012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5315
5316 * emacs-lisp/gv.el: New file.
5317 * subr.el (push, pop): Extend to generalized variables.
5318 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5319 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5320 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5321 gv-define-simple-setter, and gv-define-expander.
5322 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5323 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5324 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5325 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5326 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5327 gv-letplace.
5328 (cl-defstruct): Don't define setf-method any more.
5329 * emacs-lisp/cl.el (flet): Don't autoload.
5330 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5331 (define-setf-expander, defsetf, define-modify-macro)
5332 (cl-struct-setf-expander): Move from cl-lib.el.
5333 * emacs-lisp/syntax.el:
5334 * emacs-lisp/ewoc.el:
5335 * emacs-lisp/smie.el:
5336 * emacs-lisp/cconv.el:
5337 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5338 (timer--time): Use gv-define-simple-setter.
5339 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5340 to avoid coding-system problems in subr.el. Adjust all users.
5341 (macroexp--maxsize, macroexp-small-p): New functions.
5342 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5343 * scroll-bar.el (scroll-bar-mode):
5344 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5345 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5346 * winner.el (winner-configuration, winner-make-point-alist)
5347 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5348 * files.el (locate-file-completion-table): Avoid list*.
5349
c5695d1d
CY
53502012-06-22 Chong Yidong <cyd@gnu.org>
5351
5352 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5353 (dired-create-files): Doc fix (Bug#11329).
5354 (dired-do-copy): Doc fix (Bug#11334).
5355 (dired-mark-read-string): Doc fix (Bug#11553).
5356
2ee3d7f0
SM
5357 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5358 Doc fix (Bug#11326).
c5695d1d
CY
5359 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5360 (dired-dwim-target): Doc fix.
5361
5362 * wdired.el (wdired-mode): Doc fix.
5363
89b5595a
GM
53642012-06-22 Glenn Morris <rgm@gnu.org>
5365
575db3f1
GM
5366 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5367 (pcmpl-rpm-cache-stamp-file): New constant.
5368 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5369 (pcmpl-rpm-packages): Optionally cache list of packages.
5370
a4c8dd51
GM
5371 * pcmpl-rpm.el (pcmpl-rpm): New group.
5372 (pcmpl-rpm-query-options): New option.
5373 (pcmpl-rpm-packages): No need to inline it.
5374 Use pcmpl-rpm-query-options.
5375
89b5595a
GM
5376 * calendar/calendar.el (calendar-in-read-only-buffer):
5377 Avoid some needless mode changes.
5378
e76f0800
CY
53792012-06-21 Chong Yidong <cyd@gnu.org>
5380
5381 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5382 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5383 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5384
297a8f1d
CY
53852012-06-20 Chong Yidong <cyd@gnu.org>
5386
5387 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5388
d34c18b1
DR
53892012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5390
5391 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5392 (bug#11201).
5393
32f7f28e
CY
53942012-06-20 Chong Yidong <cyd@gnu.org>
5395
5396 * term.el (term-window-width): Handle the case of a missing right
5397 fringe (Bug#8837).
5398 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5399 (term-mode): Use define-derived-mode. Minor cleanups.
5400 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5401 (term-move-columns, term-insert-char, term-emulate-terminal)
5402 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5403
493c6688
MA
54042012-06-20 Michael Albinus <michael.albinus@gmx.de>
5405
d34c18b1
DR
5406 * net/ange-ftp.el (ange-ftp-get-passwd):
5407 Bind `enable-recursive-minibuffers'.
493c6688
MA
5408 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5409
3f06ecf4
DR
54102012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5411
5412 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5413
68f12411
GM
54142012-06-19 Glenn Morris <rgm@gnu.org>
5415
5416 * progmodes/python.el (python-mode): Derive from prog-mode.
5417
b3820318
KG
54182012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5419
5420 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5421 (edt-user-menu-bar-update-buffers): New functions.
5422 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5423
c6bf3022
CY
54242012-06-19 Chong Yidong <cyd@gnu.org>
5425
5426 * subr.el (with-selected-window): Preserve the selected window's
5427 terminal's top-frame (Bug#4702).
5428
5429 * window.el (save-selected-window): Likewise.
5430
25f09295
SM
54312012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * progmodes/python.el (python-rx-constituents): Move backquote.
5434 (python-skeleton-define, python-define-auxiliary-skeleton):
5435 Use `declare'.
5436
6b11952a
MA
54372012-06-18 Michael Albinus <michael.albinus@gmx.de>
5438
5439 * minibuffer.el (read-file-name-default): Revert the patch from
5440 2012-06-17.
5441
ee4b1330
SM
54422012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5445 (pcase--u1, pcase--q1): Don't use apply-partially.
5446
35647f79
GM
54472012-06-18 Glenn Morris <rgm@gnu.org>
5448
5449 * progmodes/python.el (python-proc, python-buffer)
5450 (python-send-receive, python-send-string): Fix obsolete versions.
5451
24b0cff0
MR
54522012-06-18 Martin Rudalics <rudalics@gmx.at>
5453
5454 * window.el (special-display-p): Completely remove stringp
5455 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5456
29855149
MA
54572012-06-17 Michael Albinus <michael.albinus@gmx.de>
5458
5459 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5460
5461 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5462
5463 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5464 * net/tramp-sh.el (tramp-maybe-open-connection):
5465 Throw if `non-essential' is non-nil.
5466
07463363
MR
54672012-06-17 Martin Rudalics <rudalics@gmx.at>
5468
5469 * window.el (special-display-p): Signal an error if BUFFER-NAME
5470 is not a string (Bug#11713).
5471
48d1354e
PE
54722012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5473
5474 * progmodes/python.el (python-info-beginning-of-backslash):
5475 Rename from python-info-beginning-of-backlash, as a spelling fix.
5476
eb4a8a9a
CY
54772012-06-17 Chong Yidong <cyd@gnu.org>
5478
5479 * term.el (term-emulate-terminal): If term-check-size is called,
5480 move point to the process mark without resetting point (Bug#4635).
5481
ddfbf826 54822012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5483
5484 * international/mule-cmds.el (mule-menu-keymap)
5485 (set-language-environment, set-locale-environment): Doc tweaks.
5486
9b0e3eba
AA
54872012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5488
5489 * cus-face.el (custom-face-attributes): Add wave-style underline
5490 attribute.
5491 * faces.el (set-face-attribute): Update docstring to describe
5492 wave-style underline attribute.
5493
771e3eae
CY
54942012-06-16 Chong Yidong <cyd@gnu.org>
5495
5496 * term/xterm.el (terminal-init-xterm): Discard input before
5497 querying background mode (Bug#10959).
5498
7ae2ea10
SM
54992012-06-16 Stefan Merten <smerten@oekonux.de>
5500
5501 * textmodes/rst.el: Added and corrected some comments.
5502 (rst-re-alist-def): Improve symbol syntax.
5503 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5504 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5505 (rst-official-version, rst-official-cvs-rev): Update version
5506 information.
7ae2ea10 5507
b6974efa
JB
55082012-06-15 Juanma Barranquero <lekktu@gmail.com>
5509
5510 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5511 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5512
8826d473
GM
55132012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5514
5515 * progmodes/python.el: New python.el merge.
5516 (python-guess-indent): Obsolete var.
5517 (python-indent-guess-indent-offset): New defcustom.
5518 (python-indent): Obsolete var.
5519 (python-indent-offset): New defcustom.
5520 (python-python-command, python-jython-command): Delete var.
5521 (python-shell-interpreter): New defcustom.
5522 (python-pdbtrack-do-tracking-p): Delete var.
5523 (python-pdbtrack-activate): New defcustom.
5524 (python-use-skeletons): Obsolete var.
5525 (python-skeleton-autoinsert): New defcustom.
5526 (inferior-python-filter-regexp, python-continuation-offset)
5527 (python-honour-comment-indentation, python-indent-string-contents)
5528 (python-jython-packages, python-mode-hook)
5529 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5530 (python-shell-prompt-alist)
5531 (python-source-modes): Delete defcustoms.
5532 (python-check-buffer-name, python-eldoc-setup-code)
5533 (python-eldoc-string-code, python-ffap-setup-code)
5534 (python-ffap-string-code, python-fill-comment-function)
5535 (python-fill-decorator-function, python-fill-paren-function)
5536 (python-fill-string-function, python-imenu-include-defun-type)
5537 (python-imenu-make-tree, python-imenu-subtree-root-label)
5538 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5539 (python-shell-compilation-regexp-alist)
5540 (python-shell-completion-module-string-code)
5541 (python-shell-completion-pdb-string-code)
5542 (python-shell-completion-setup-code)
5543 (python-shell-completion-string-code)
5544 (python-shell-enable-font-lock, python-shell-exec-path)
5545 (python-shell-extra-pythonpaths)
5546 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5547 (python-shell-process-environment)
5548 (python-shell-prompt-block-regexp)
5549 (python-shell-prompt-output-regexp)
5550 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5551 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5552 (python-shell-virtualenv-path): New defcustoms.
5553 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5554 (inferior-python-mode-syntax-table, python--prompt-regexp)
5555 (python-buffer, python-command python-python-command)
5556 (python-default-template, python-imports, python-indent-index)
5557 (python-indent-list, python-indent-list-length)
5558 (python-mode-running, python-pdbtrack-is-tracking-p)
5559 (python-preoutput-continuation, python-preoutput-leftover)
5560 (python-preoutput-result, python-preoutput-skip-next-prompt)
5561 (python-prev-dir/file, python-recursing)
5562 (python-saved-check-command, python-version-checked)
5563 (python-which-func-length-limit)
5564 (view-return-to-alist): Delete vars.
5565 (python-check-custom-command, python-dotty-syntax-table)
5566 (python-imenu-index-alist, python-indent-current-level)
5567 (python-indent-dedenters, python-indent-levels)
5568 (python-nav-beginning-of-defun-regexp)
5569 (python-nav-list-defun-positions-cache)
5570 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5571 (python-shell-internal-buffer)
5572 (python-skeleton-available): New vars.
5573 (def-python-skeleton): Delete macro.
5574 (python-skeleton-define): New macro.
5575 (python-define-auxiliary-skeleton, python-rx): New macros.
5576 (python-insert-class): Delete command.
5577 (python-skeleton-class): New command.
5578 (python-insert-def): Delete command.
5579 (python-skeleton-def): New command.
5580 (python-insert-for): Delete command.
5581 (python-skeleton-for): New command.
5582 (python-insert-if): Delete command.
5583 (python-skeleton-if): New command.
5584 (python-insert-try/except, python-insert-try/finally): Delete commands.
5585 (python-skeleton-try): New command.
5586 (python-insert-while): Delete command.
5587 (python-skeleton-while): New command.
5588 (python-backspace): Delete command.
5589 (python-indent-dedent-line-backspace): New command.
5590 (python-electric-colon): Delete command.
5591 (python-indent-electric-colon): New command.
5592 (python-guess-indent): Delete command.
5593 (python-indent-guess-indent-offset): New command.
5594 (python-shift-left): Delete command.
5595 (python-indent-shift-left): New command.
5596 (python-shift-right): Delete command.
5597 (python-indent-shift-right): New command.
5598 (python-find-function): Delete command.
5599 (python-nav-jump-to-defun): New command.
5600 (python-next-statement): Delete command.
5601 (python-nav-forward-sentence): New command.
5602 (python-previous-statement): Delete command.
5603 (python-nav-backward-sentence): New command.
5604 (python-fill-paragraph): Delete command.
5605 (python-fill-paragraph-function): New command.
5606 (python-send-buffer): Delete command.
5607 (python-shell-send-buffer): New command.
5608 (python-send-defun): Delete command.
5609 (python-shell-send-defun): New command.
5610 (python-send-region, python-send-region-and-go): Delete commands.
5611 (python-shell-send-region)
5612 (python-shell-switch-to-shell): New commands.
5613 (python-send-string): Delete command.
5614 (python-shell-send-string): New command.
5615 (python-switch-to-python): Delete command.
5616 (python-shell-switch-to-shell): New command.
5617 (python-describe-symbol): Delete command.
5618 (python-eldoc-at-point): New command.
5619 (python--set-prompt-regexp, python-args-to-list)
5620 (python-after-info-look, python-check-version)
5621 (python-check-comint-prompt, python-find-imports)
5622 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5623 (python-unload-function, python-expand-template)
5624 (python-maybe-jython, python-preoutput-filter)
5625 (python-pdbtrack-get-source-buffer)
5626 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5627 (python-pdbtrack-toggle-stack-tracking)
5628 (python-pdbtrack-track-stack-file, python-initial-text)
5629 (python-first-word, python-comment-line-p, python-send-command)
5630 (python-setup-brm, python-sentinel, python-set-proc)
5631 (python-skip-out, python-input-filter, python-outdent-p)
5632 (python-outline-level, python-backslash-continuation-line-p)
5633 (python-end-of-block, python-end-of-statement, python-mark-block)
5634 (python-beginning-of-block, python-beginning-of-statement)
5635 (python-blank-line-p, python-beginning-of-string)
5636 (python-open-block-statement-p): Delete functions.
5637 (python-indent-line, python-indent-line-1): Delete functions.
5638 (python-indent-line): New function.
5639 (python-indentation-levels): Delete function.
5640 (python-indent-calculate-levels): New function.
5641 (python-proc): Delete function.
5642 (python-shell-get-process): New function.
5643 (python-send-receive): Delete function.
5644 (python-shell-send-string-no-output): New function.
5645 (python-module-path): Delete function.
5646 (python-ffap-module-path): New function.
5647 (python-completion-at-point)
5648 (python-symbol-completions): Delete functions.
5649 (python-completion-complete-at-point): New function.
5650 (python-load-file): Delete function.
5651 (python-shell-send-file): New function.
5652 (python-calculate-indentation): Delete function.
5653 (python-indent-calculate-indentation): New function.
5654 (python-skip-comments/blanks): Delete function.
5655 (python-util-forward-comment): New function.
5656 (python-continuation-line-p): Delete function.
5657 (python-info-continuation-line-p): New function.
5658 (python-which-func, python-current-defun): Delete function.
5659 (python-info-current-defun): New function.
5660 (python-beginning-of-defun): Delete function.
5661 (python-nav-beginning-of-defun): New function.
5662 (python-close-block-statement-p)
5663 (python-block-end-p): Delete function.
5664 (python-info-closing-block): New function.
5665 (python-comint-output-filter-function)
5666 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5667 (python-fill-comment, python-fill-decorator, python-fill-paren)
5668 (python-fill-string, python-imenu-make-element-tree)
5669 (python-imenu-make-tree, python-imenu-tree-assoc)
5670 (python-indent-context, python-indent-dedent-line)
5671 (python-indent-line-function)
5672 (python-indent-post-self-insert-function)
5673 (python-indent-toggle-levels)
5674 (python-info-assignment-continuation-line-p)
5675 (python-info-beginning-of-backlash)
5676 (python-info-block-continuation-line-p)
5677 (python-info-closing-block-message)
5678 (python-info-line-ends-backslash-p)
5679 (python-info-looking-at-beginning-of-defun)
5680 (python-info-ppss-context, python-info-ppss-context-type)
5681 (python-nav-list-defun-positions, python-nav-read-defun)
5682 (python-nav-sentence-end, python-nav-sentence-start)
5683 (python-pdbtrack-comint-output-filter-function)
5684 (python-pdbtrack-set-tracked-buffer)
5685 (python-shell-calculate-exec-path)
5686 (python-shell-calculate-process-environment)
5687 (python-shell-completion--do-completion-at-point)
5688 (python-shell-completion--get-completions)
5689 (python-shell-completion-complete-at-point)
5690 (python-shell-completion-complete-or-indent)
5691 (python-shell-get-or-create-process)
5692 (python-shell-get-process-name)
5693 (python-shell-internal-get-or-create-process)
5694 (python-shell-internal-get-process-name)
5695 (python-shell-internal-send-string, python-shell-make-comint)
5696 (python-shell-parse-command, python-shell-send-setup-code)
5697 (python-skeleton-add-menu-items)
5698 (python-util-clone-local-variables, python-util-position)
5699 (run-python-internal, python-indentation-levels)
5700 (python-nav-beginning-of-defun)
5701 (python-completion-complete-at-point): New functions.
5702 (run-python): Change arguments. New API requirements.
5703
4302f5ba
SM
57042012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5705
f38ea36d
SM
5706 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5707 (bug#11649).
5708
5709 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5710 (macroexp--expand-all): Use it.
5711
4302f5ba
SM
5712 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5713 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5714 Use `cl-function' instead.
5715
33377562
JB
57162012-06-14 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5719 Suggested by Stefan Monnier while discussing bug#11657.
5720
54c5ba1a
SS
57212012-06-14 Sam Steingold <sds@gnu.org>
5722
5723 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5724
f9f1b1fe
AS
57252012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5726
5727 * play/doctor.el (doctor-doc): Remove parameter and use
5728 doctor-sent instead of sent.
5729 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5730
a81068ba
SM
57312012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5a315f9c
SM
5733 * files.el: Require cl-lib.
5734 (file-name-non-special): Replace case -> cl-case.
5735
5736 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5737
a81068ba
SM
5738 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5739 mapping from #' to function*.
5740
8cca9703
CY
57412012-06-13 Chong Yidong <cyd@gnu.org>
5742
5743 * mouse.el (mouse-drag-track): Do not set the mark if the user
5744 releases the mouse without selecting anything (Bug#11588).
5745
a12ac9d7
SM
57462012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5747
ccf1dc18
SM
5748 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5749 as well (bug#11646).
5750
ef62b23d
SM
5751 * loadup.el: Count byte-code functions as well.
5752
c4c8444a
SM
5753 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5754 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5755
a12ac9d7
SM
5756 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5757 (bug#11649). Add cl-defun and cl-defmacro.
5758
87e6e64f
DA
57592012-06-13 Drew Adams <drew.adams@oracle.com>
5760
5761 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5762 Fix last change.
5763
682cefaf
MA
57642012-06-13 Michael Albinus <michael.albinus@gmx.de>
5765
5766 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5767 Otherwise, it blocks in batch mode.
5768
773e1f08
JB
57692012-06-13 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * help-mode.el (bookmark-make-record-default): Declare.
5772
60057926
CY
57732012-06-13 Chong Yidong <cyd@gnu.org>
5774
5775 * emacs-lisp/package.el (list-packages): Compute a list of
5776 packages that are newly-available since the last list-packages
5777 invocation.
5778 (package-menu--new-package-list): New var.
5779 (package-menu--generate, package-menu--print-info)
5780 (package-menu--status-predicate, package-menu-mark-install):
5781 Handle new status label "new".
5782
ad4d226c
SM
57832012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5786 conversion to backquotes.
5787
f1a4e679
CY
57882012-06-12 Chong Yidong <cyd@gnu.org>
5789
5790 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5791 Rename from gud-inhibit-global-bindings.
5792
5793 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5794
5795 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5796 hook from nxml-glyph-set-hook.
5797
5798 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5799 declaration.
5800
5801 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5802
5803 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5804 Convert to defcustom.
5805
0c9e42b5
DA
58062012-06-12 Drew Adams <drew.adams@oracle.com>
5807
5808 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5809 New functions.
5810 (help-mode): Use them.
5811
09e06855
GM
58122012-06-11 Glenn Morris <rgm@gnu.org>
5813
5814 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5815 Use preprocessor face for directives.
5816 (fortran-directive-re): Doc fix.
5817
71adb94b
SM
58182012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5819
2eb87922
SM
5820 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5821 conversion to backquotes (bug#11652).
5822
71adb94b
SM
5823 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5824 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5825 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5826 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5827 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5828 (cl-ninth, cl-tenth): Mark them as inlinable.
5829 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5830 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5831 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5832 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5833 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5834 (cl-list*, cl-adjoin): Don't put an autoload manually.
5835 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5836 (cl--compiler-macro-list*): Add autoload cookie.
5837 (cl--compiler-macro-cXXr): New function.
2eb87922 5838
71adb94b
SM
5839 * help-fns.el (help-fns--compiler-macro): New function extracted from
5840 describe-function-1; follow aliases and use `compiler-macro' property.
5841 (describe-function-1): Use it.
5842
a6674402
CY
58432012-06-11 Chong Yidong <cyd@gnu.org>
5844
5845 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5846 is uninstalled, if imagemagick is installed.
5847
bb3faf5b
SM
58482012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * emacs-lisp/cl-lib.el: Use lexical-binding.
5851 (cl-map-extents, cl-maclisp-member): Remove.
5852 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5853 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5854 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5855 * emacs-lisp/cl-extra.el: Use lexical-binding.
5856 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5857 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5858 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5859 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5860 * emacs-lisp/cl-seq.el: Use lexical-binding.
5861 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5862 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5863 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5864 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5865 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5866 CL's internals.
5867
2fe4b125
MA
58682012-06-11 Michael Albinus <michael.albinus@gmx.de>
5869
5870 Sync with Tramp 2.2.6-pre.
5871
5872 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5873 `print-length' and `print-level' to nil, in order to avoid
5874 truncation. Reported by Christopher Schmidt
5875 <christopher@ristopher.com>.
5876
5877 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5878
5879 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5880 New defmacro.
5881 (tramp-compat-copy-directory): Add optional argument
5882 COPY-CONTENTS. It is not handled yet.
5883
5884 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5885 (tramp-ftp-file-name-p): Simplify.
5886
5887 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5888 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5889 connection vector.
5890
5891 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5892 (tramp-methods): Do not use `tramp-password-end-of-line'.
5893 (tramp-completion-function-alist-putty): Handle UNIX case.
5894 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5895 (tramp-do-file-attributes-with-stat)
5896 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5897 gid as real numbers. They could run out of integer range on cygwin.
5898 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5899 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5900 (tramp-open-connection-setup-interactive-shell):
5901 Use `tramp-cleanup'. Move check for busyboxes ...
5902 (tramp-find-shell): ... here. Simplify implementation.
5903 Set "remote-shell" property also for alternative shells.
5904 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5905 If failing, a regular file would be written otherwise.
5906 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5907 (tramp-find-inline-encoding): Cache the coding commands in the
5908 process cache. Apply test command on the remote side, if defined.
5909 (tramp-find-inline-compress): Cache the compress commands in the
5910 process cache.
5911 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5912 when requested. Handle hops.
5913 (tramp-current-connection): New defvar.
87e6e64f
DA
5914 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5915 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5916 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5917 (tramp-get-inline-compress, tramp-get-inline-coding):
5918 Read connection properties from the process cache.
2fe4b125
MA
5919
5920 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5921 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5922 New defconsts.
2fe4b125
MA
5923 (tramp-smb-prompt): Extend for powershell prompt.
5924 (tramp-smb-file-name-handler-alist): Add handlers for
5925 `process-file', `shell-command' and `start-file-process'.
5926 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5927 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5928 (tramp-smb-file-name-p): Simplify.
5929 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5930 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5931 (tramp-smb-shell-quote-argument): New defuns.
5932 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5933 Implement using "tar". By this, time-stamps are preserved.
5934 (tramp-smb-handle-copy-file): Handle also the case of directories.
5935 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5936 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5937 Use `tramp-get-connection-buffer').
2fe4b125
MA
5938 (tramp-smb-handle-rename-file): Use "rename", when source and
5939 target are on the same share.
87e6e64f
DA
5940 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5941 Use `tramp-smb-server-version'.
2fe4b125
MA
5942 (tramp-smb-wait-for-output): Remove prompt.
5943
5944 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5945 (tramp-methods, tramp-rsh-end-of-line):
5946 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5947 (tramp-save-ad-hoc-proxies): New defcustom.
5948 (tramp-completion-function-alist): Adapt docstring.
5949 (tramp-default-password-end-of-line): Remove defcustom.
5950 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5951 (tramp-user-regexp, tramp-file-name-regexp-unified)
5952 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5953 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5954 (tramp-remote-file-name-spec-regexp): New defconst.
5955 (tramp-file-name-structure): Extend structure for hops.
5956 (tramp-get-method-parameter): Move up.
5957 (tramp-file-name-p, tramp-dissect-file-name)
5958 (with-parsed-tramp-file-name): Handle hops.
5959 (tramp-file-name-hop): New defun.
5960 (tramp-make-tramp-file-name): New optional arg HOP.
5961 (tramp-message-show-progress-reporter-message): New defvar.
5962 (tramp-with-progress-reporter): Use it. We cannot use
5963 `tramp-message-show-message' here, because this suppresses also
5964 error buffers.
5965 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5966 `tramp-message-show-message' is nil.
5967 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5968 (tramp-cleanup): New defun.
5969 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5970 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5971 an error unchanged.
5972 (tramp-completion-handle-file-name-all-completions): Handle hops.
5973 Fix an error when called from ido.
5974 (tramp-completion-dissect-file-name): Use better local variable
5975 name. Add hop to the vector.
5976 (tramp-handle-insert-file-contents): Use progress-reporter for the
5977 whole scenario.
5978 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5979 to `t'.
5980 (tramp-check-for-regexp): Simplify search.
5981 (tramp-enter-password): Remove it. Move implementation ...
5982 (tramp-action-password): ... here.
5983 (tramp-mode-string-to-int, tramp-local-host-p)
5984 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5985 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5986 Set tramp-autoload cookie.
2fe4b125
MA
5987
5988 * net/trampver.el: Update release number.
5989
59902012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5991 Michael Albinus <michael.albinus@gmx.de>
5992
5993 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5994 (tramp-parse-group, tramp-parse-file)
5995 (tramp-parse-shostkeys-sknownhosts): New defuns.
5996 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5997 (tramp-parse-shosts-group, tramp-parse-sconfig)
5998 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5999 (tramp-parse-sknownhosts, tramp-parse-hosts)
6000 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6001 Use them.
6002 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6003 (tramp-parse-putty-group): Don't narrow.
6004 (tramp-parse-putty): Make a loop.
6005 (tramp-file-name-handler): Catch the `suppress' signal.
6006
72834e10
CY
60072012-06-11 Chong Yidong <cyd@gnu.org>
6008
6009 * image.el (imagemagick-register-types): Put the ImageMagick entry
6010 at the end of image-type-file-name-regexps.
6011
a4712e11
JB
60122012-06-11 Johan Bockgård <bojohan@gnu.org>
6013
6014 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6015 (pcase, pcase-let*, pcase-dolist): Use them.
6016
82ad98e3
SM
60172012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * emacs-lisp/pcase.el (pcase--let*): New function.
6020 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6021 (pcase--expand): Use macroexp-let².
6022
f80efb86
SM
60232012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6026 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6027 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6028 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6029 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6030 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6031
31ca4639 60322012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6033
31ca4639
CY
6034 * mail/rmail.el (rmail-yank-current-message): Leave point at
6035 correct position. (Bug#11660)
94f0aa34 6036
31ca4639 60372012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6038
31ca4639 6039 * allout-widgets.el: Fix code header.
9e1b8ec4 6040
31ca4639 60412012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6042
f80efb86
SM
6043 * cus-edit.el (customize-changed-options-previous-release):
6044 Bump to 24.1.
31ca4639 6045
642b6d30
AS
60462012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6047
6048 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6049
4f5d2ba1
CY
60502012-06-09 Chong Yidong <cyd@gnu.org>
6051
6052 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6053
e75852fd
MR
60542012-06-09 Martin Rudalics <rudalics@gmx.at>
6055
6056 * window.el (special-display-popup-frame): Don't use
6057 window--display-buffer (Bug#11651).
6058
1e48e282
EZ
60592012-06-09 Eli Zaretskii <eliz@gnu.org>
6060
8a26b487
EZ
6061 Fix parallel builds: make sure loaddefs.el is not being written
6062 while Lisp files are compiled.
6063 (compile): Don't depend on 'mh-autoloads'.
6064 (compile-CMD, compile-SH): Depend on 'autoloads'.
6065 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6066
1e48e282
EZ
6067 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6068
6175e34b
CY
60692012-06-09 Chong Yidong <cyd@gnu.org>
6070
6071 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6072 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6073 Doc fixes (Bug#11225).
6074
d9857e53
SM
60752012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6076
6077 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6078 a function if there's a clear indication that it has a compiler-macro.
6079 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6080 (macro-declarations-alist): Add arglist to declaration functions.
6081 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6082 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6083 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6084 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6085 Also add autoload to find the compiler macro.
6086 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6087 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6088 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6089 (cl--compiler-macro-get): New functions, replacing calls to
6090 cl-define-compiler-macro.
6091 (cl-typep) [compiler-macro]: Use macroexp-let².
6092
f81298f8 60932012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6094
6095 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6096 string properly, fixes Bug#11473.
6097
4b56d0fe
CY
60982012-06-08 Chong Yidong <cyd@gnu.org>
6099
6100 * faces.el (set-face-attribute): Doc fix.
6101 (modify-face): Don't use :bold and :italic.
6102 (error, warning, success): Tweak definitions.
6103
6104 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6105 (custom-modified, custom-set, custom-changed, custom-themed)
6106 (custom-saved, custom-button, custom-button-mouse)
6107 (custom-button-pressed, custom-state, custom-comment-tag)
6108 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6109 (custom-group-subtitle): Use new-style face specs.
6110 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6111 (custom-set-face, custom-changed-face, custom-saved-face)
6112 (custom-button-face, custom-button-pressed-face)
6113 (custom-documentation-face, custom-state-face)
6114 (custom-comment-face, custom-comment-tag-face)
6115 (custom-variable-tag-face, custom-variable-button-face)
6116 (custom-face-tag-face, custom-group-tag-face-1)
6117 (custom-group-tag-face): Remove obsolete face alias.
6118
6119 * epa.el (epa-validity-high, epa-validity-medium)
6120 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6121 (epa-field-name, epa-field-body):
6122 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6123 (font-lock-keyword-face, font-lock-builtin-face)
6124 (font-lock-function-name-face, font-lock-variable-name-face)
6125 (font-lock-type-face, font-lock-constant-face):
6126 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6127 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6128 * speedbar.el (speedbar-button-face, speedbar-file-face)
6129 (speedbar-directory-face, speedbar-tag-face)
6130 (speedbar-selected-face, speedbar-highlight-face)
6131 (speedbar-separator-face):
6132 * whitespace.el (whitespace-newline, whitespace-space)
6133 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6134 (whitespace-line, whitespace-space-before-tab)
6135 (whitespace-space-after-tab, whitespace-indentation)
6136 (whitespace-empty):
6137 * emulation/cua-base.el (cua-global-mark):
6138 * eshell/em-prompt.el (eshell-prompt):
6139 * net/newst-plainview.el (newsticker-new-item-face)
6140 (newsticker-old-item-face, newsticker-immortal-item-face)
6141 (newsticker-obsolete-item-face, newsticker-date-face)
6142 (newsticker-statistics-face, newsticker-default-face):
6143 * net/newst-reader.el (newsticker-feed-face)
6144 (newsticker-extra-face, newsticker-enclosure-face):
6145 * net/newst-treeview.el (newsticker-treeview-face)
6146 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6147 (newsticker-treeview-immortal-face)
6148 (newsticker-treeview-obsolete-face)
6149 (newsticker-treeview-selection-face):
6150 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6151 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6152 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6153 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6154 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6155 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6156 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6157 (mpuz-text):
6158 * progmodes/vera-mode.el (vera-font-lock-number)
6159 (vera-font-lock-function, vera-font-lock-interface):
6160 * textmodes/table.el (table-cell): Use new-style face specs, and
6161 don't use the old :bold and :italic attributes.
6162
6163 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6164 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6165 (ebrowse-member-class, ebrowse-progress): Likewise.
6166 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6167 (ebrowse-file-name-face, ebrowse-default-face)
6168 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6169 (ebrowse-progress-face): Remove obsolete faces.
6170
6171 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6172 Inherit from error and warning faces respectively.
6173
6174 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6175 Likewise.
f80efb86
SM
6176 (flyspell-incorrect-face, flyspell-duplicate-face):
6177 Remove obsolete aliases.
4b56d0fe 6178
03310646
MA
61792012-06-08 Michael Albinus <michael.albinus@gmx.de>
6180
6181 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6182 Avoid infloop.
6183
513749ee
SM
61842012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * startup.el (argv, argi): Make lexically scoped.
6187 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6188 * emacs-lisp/cl-macs.el: Use lexical-binding.
6189 Rename cl-bind-* to cl--bind-*.
6190 * files.el: Don't require `cl' since it doesn't use it.
6191 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6192
595ef4ad
JB
61932012-06-08 Juanma Barranquero <lekktu@gmail.com>
6194
6195 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6196 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6197 instead of calling external sort utility.
6198 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6199
e9f66fcb
EZ
62002012-06-08 Eli Zaretskii <eliz@gnu.org>
6201
6202 * descr-text.el (describe-char): Mention how to insert the
6203 character, if the current input method doesn't support it.
6204 See the discussion in this thread for the details:
6205 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6206
3d10db47
SS
62072012-06-08 Sam Steingold <sds@gnu.org>
6208
6209 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6210 XF86Back to previous-buffer.
6211 (minibuffer-local-map): Bind them to next-history-element and
6212 previous-history-element respectively.
6213 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6214 help-go-back respectively.
6215 * info.el (Info-mode-map): Bind them to Info-history-forward and
6216 Info-history-back respectively.
6217 These are the keys next to Up on the ThinkPad keyboard.
6218
de7e2b36
SM
62192012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6222 * emacs-lisp/cl-macs.el: Provide itself.
6223 (cl--labels-convert-cache): New var.
6224 (cl--labels-convert): New function.
6225 (cl-flet, cl-labels): New implementation with new semantics, relying on
6226 lexical-binding.
6227 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6228 (cl-closure-vars, cl--function-convert-cache)
6229 (cl--function-convert): Move from cl-macs.el.
6230 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6231 rename by removing the "cl-" prefix.
6232 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6233
6fa6c4ae
SM
62342012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6237 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6238 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6239 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6240 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6241 (cl-hash-table-count): Add old compatibility aliases.
6242
6243 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6244 Use macroexpand-all-environment instead.
6245 (cl--old-macroexpand): New var.
6246 (cl--sm-macroexpand): New function.
6247 (cl-symbol-macrolet): Use it during macro expansion.
6248 (cl--function-convert-cache): New var.
6249 (cl--function-convert): New function, extracted from
6250 cl-macroexpand-all.
6251 (cl-lexical-let): Use it.
6252
6253 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6254 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6255 (cl-member): Remove old alias.
6256
6257 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6258 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6259 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6260 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6261 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6262 (cl-macroexpand-cmacs): Remove var.
6263 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6264 Use macroexpand-all instead.
6265
4dd1c416
SM
62662012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6269 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6270 (macroexp-copyable-p): New functions and macros.
6271 * emacs-lisp/edebug.el (edebug-unwrap):
6272 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6273 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6274 (pcase--let*): Remove.
6275 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6276 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6277 macroexp-const-p instead.
6278 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6279
6280 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6281 instead of "cl-" for internal definitions. Use macroexp-const-p.
6282 (cl-old-bc-file-form): Remove var.
6283 (cl-const-exprs-p): Remove fun.
6284 (cl-labels, cl-macrolet): Use backquote.
6285 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6286 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6287 (cl-define-setf-expander): Rename from cl-define-setf-method.
6288 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6289
6290 * international/mule-cmds.el: Don't require CL.
6291 (view-hello-file): Don't use `letf'.
6292
ed8bd4d7
SM
62932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6294
7287f2f3
SM
6295 * tmm.el (tmm-prompt): Use string-prefix-p.
6296 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6297 (tmm-add-prompt): Use minibuffer-completion-help.
6298 (tmm-delete-map): Remove.
6299
ed8bd4d7
SM
6300 * subr.el (kbd): Make it its own function.
6301
7b4cdbf4
SM
63022012-06-07 Stefan Merten <smerten@oekonux.de>
6303
6304 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6305 Silence compiler warnings. Fix versions.
ed8bd4d7 6306 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6307 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6308 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6309 (rst-package-emacs-version-alist): Correct Emacs version to
6310 represent major merge with upstream.
ed8bd4d7 6311 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6312
2b48d721
GM
63132012-06-06 Glenn Morris <rgm@gnu.org>
6314
6315 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6316 Only print environment variables if set.
6317
fa779ab0
SM
63182012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6321 (macroexp--cons): Rename from maybe-cons.
6322 (macroexp--accumulate): Rename from macroexp-accumulate.
6323 (macroexp--all-forms): Rename from macroexpand-all-forms.
6324 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6325 (macroexp--expand-all): Rename from macroexpand-all-1.
6326
628299e0
SS
63272012-06-06 Sam Steingold <sds@gnu.org>
6328
6329 * calendar/calendar.el (calendar-in-read-only-buffer):
6330 Call `special-mode' to enable the standard read-only keybindings.
6331
b7bb5838
SM
63322012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6333
6334 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6335 with "loading" messages (bug#11635).
6336
dfb308ba
MA
63372012-06-06 Michael Albinus <michael.albinus@gmx.de>
6338
6339 * files.el (enable-remote-dir-locals): New option.
6340 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6341
0372ee92
MA
6342 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6343 Ensure, that the temp directory is local.
6344
6345 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6346 `temporary-file-directory'.
6347
eed0bb91
MA
6348 * progmodes/python.el (python-send-region): Ensure, that the
6349 temporary file is created also in the remote case.
6350
7a58f64d
GM
63512012-06-06 Glenn Morris <rgm@gnu.org>
6352
f7dd4e98
GM
6353 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6354 (vc-rcs-update-changelog): Use it.
6355
090bd7cb 6356 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6357
7a58f64d
GM
6358 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6359 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6360 (vc-sccs-diff): Replace use of the external vcdiff script.
6361
daed4003
GM
63622012-06-05 Glenn Morris <rgm@gnu.org>
6363
6364 * ledit.el: Move to obsolete/.
6365
48c455c7
SS
63662012-06-05 Sam Steingold <sds@gnu.org>
6367
ed9265fc 6368 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6369 patch (Bug#11140).
6370
57a7d507
SM
63712012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6372
090bd7cb 6373 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6374
53aacf21
SM
6375 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6376 compiler-macro expansion.
6377
57a7d507
SM
6378 Add native compiler-macro support.
6379 * emacs-lisp/macroexp.el (macroexpand-all-1):
6380 Support compiler-macros directly. Properly follow aliases and apply
6381 the compiler macros more thoroughly.
6382 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6383 macroexpand now properly follows aliases.
6384 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6385 (cl-compiler-macroexpand): Use new prop.
6386 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6387
6388 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6389
51a5f9d8
MR
63902012-06-05 Martin Rudalics <rudalics@gmx.at>
6391
6392 * window.el (get-lru-window, get-mru-window, get-largest-window):
6393 New argument NOT-SELECTED to avoid picking the selected window.
6394 (window--display-buffer-1, window--display-buffer-2): Replace by
6395 new function window--display-buffer
6396 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6397 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6398 Use window--display-buffer.
51a5f9d8
MR
6399 (display-buffer-use-some-window): Remove temporary dedication
6400 hack by calling get-lru-window and get-largest-window with
6401 NOT-SELECTED argument non-nil. Call window--display-buffer.
6402
08f9f738
GM
64032012-06-05 Glenn Morris <rgm@gnu.org>
6404
6405 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6406 Replace external vcdiff script.
6407
e364a2b7
SM
64082012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6411
041df390
CY
64122012-06-04 Chong Yidong <cyd@gnu.org>
6413
e364a2b7
SM
6414 * image.el (imagemagick-types-inhibit): Revert last change.
6415 Add INFO and M.
47b36b94 6416 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6417
7c1898a7
SM
64182012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * emacs-lisp/cl-lib.el: Rename from cl.el.
6421 * emacs-lisp/cl.el: New compatibility file.
6422 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6423 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6424 to obey the "cl-" prefix.
6425 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6426
0c3461de
GM
64272012-06-03 Glenn Morris <rgm@gnu.org>
6428
1e266c88
GM
6429 * emacs-lisp/authors.el (authors-aliases): Addition.
6430
0c3461de
GM
6431 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6432 Fix :version.
6433
d8a52e15
SM
64342012-06-03 Stefan Merten <smerten@oekonux.de>
6435
6436 * textmodes/rst.el: Add comments.
6437 (rst-transition, rst-adornment): New faces.
6438 (rst-adornment-faces-alist): Make default safe to reevaluate.
6439 Fixes
6440 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6441 Improve customization tags.
6442 (rst-define-level-faces): Clarify meaning.
6443
5205d6f6
CY
64442012-06-03 Chong Yidong <cyd@gnu.org>
6445
6446 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6447 (compilation-mode-line-run, compilation-mode-line-exit):
6448 New faces.
5205d6f6
CY
6449 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6450
757ee657
JD
64512012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6452
7c1898a7
SM
6453 * progmodes/which-func.el (which-func-update-ediff-windows):
6454 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6455
5f2c76c6
CY
64562012-06-03 Chong Yidong <cyd@gnu.org>
6457
6458 * bindings.el: Remove explicit help text from format-mode-line.
6459 It is now supplied by mode-line-default-help-echo.
6460 (mode-line-front-space, mode-line-end-spaces)
6461 (mode-line-misc-info): New variables.
6462 (mode-line-modes, mode-line-position): Move the default value to
6463 the variable definition.
6464 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6465 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6466 (mode-line-modified-help-echo): New functions.
6467 (mode-line-mule-info, mode-line-modified): Use them.
6468 (mode-line-eol-desc, propertized-buffer-identification):
6469 Consistency fixes for help text.
cbe46e5f
CY
6470 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6471 set-buffer-file-coding-system (Bug#289).
6472 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6473
f2d6a3df
SM
64742012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * simple.el (execute-extended-command): Set real-this-command
6477 (bug#11506).
6478
37269466
CY
64792012-06-02 Chong Yidong <cyd@gnu.org>
6480
6481 Remove incorrect uses of "modeline" in comments, docstrings, and
6482 function/variable names (Bug#10329).
6483
6484 * cus-edit.el (mode-line):
6485 * dframe.el (dframe-mouse-hscroll):
6486 * emacs-lisp/re-builder.el:
6487 * emacs-lisp/easy-mmode.el (define-minor-mode):
6488 * frame.el (set-frame-name):
6489 * help.el (lookup-minor-mode-from-indicator):
6490 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6491 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6492 (c-toggle-hungry-state):
6493 * progmodes/antlr-mode.el (antlr-language-alist):
6494 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6495 * progmodes/vhdl-mode.el (vhdl-mode):
6496 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6497 * term/ns-win.el (ns-face-at-pos):
6498 * term/sup-mouse.el (sup-mouse-report):
6499 * textmodes/flyspell.el (flyspell-mode-line-string):
6500 * textmodes/ispell.el (ispell-highlight-face):
6501 * textmodes/reftex-global.el:
6502 * vc/vc-arch.el (vc-arch-mode-line-string):
6503 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6504 * vc/vc-git.el (vc-git-mode-line-string):
6505 * vc/vc-hooks.el (vc-display-status)
6506 (vc-default-mode-line-string):
6507 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6508
6509 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6510
6511 * dired.el (dired-sort-set-mode-line): Rename from
6512 dired-sort-set-modeline. All callers changed.
6513
6514 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6515 eshell-status-in-modeline.
6516
6517 * foldout.el (foldout-mode-line-string): Rename from
6518 foldout-modeline-string. All callers changed.
6519 (foldout-update-mode-line): Rename from foldout-update-modeline.
6520
6521 * subr.el (redraw-modeline): Make into obsolete alias.
6522
6523 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6524 timeclock-modeline-display. Make old name an alias.
6525 (timeclock-update-mode-line): Likewise. All callers changed.
6526 (timeclock-mode-line-display): No need to check before using
6527 add-hook.
6528 (timeclock-relative, timeclock-day-over-hook)
6529 (timeclock-use-elapsed, timeclock-mode-string)
6530 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6531
6532 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6533 crisp-mode-modeline-string.
6534
6535 * play/solitaire.el (solitaire-build-mode-line): Rename from
6536 solitaire-build-modeline. All callers changed.
6537
6538 * play/zone.el (zone-hiding-mode-line): Rename from
6539 zone-hiding-modeline. All callers changed.
6540 (zone): Remove unusued `modeline-hidden-level' property.
6541
6542 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6543 xscheme-modeline-initialize. All callers changed.
6544
6545 * strokes.el (strokes-lighter): Rename from
6546 strokes-modeline-string.
6547
6548 * textmodes/sgml-mode.el (html-face-tag-alist)
6549 (html-tag-face-alist): Use mode-line face instead of obsolete
6550 alias modeline.
6551
42152ee4
SM
65522012-06-02 Stefan Merten <smerten@oekonux.de>
6553
6554 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6555 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6556
95f520b5
CY
65572012-06-02 Chong Yidong <cyd@gnu.org>
6558
6559 * image.el (imagemagick-enabled-types): Rename from
6560 imagemagick-types-enable. Add many more types.
6561 (imagemagick-types-inhibit): Change default to nil.
6562 (imagemagick-filter-types): Caller changed.
6563
4a5f187a
SM
65642012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6565
03fef3e6
SM
6566 * emacs-lisp/cl-macs.el: Use backquotes.
6567 (cl-transform-function-property): Use eval-and-compile rather than
6568 abusing `require'.
6569 (defstruct): Use declare-function instead of with-no-warnings.
6570
4a5f187a
SM
6571 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6572 (byte-compile-output-docform): Re-add the print-circle bindings.
6573 (byte-compile-fix-header): Use #$ just because it's shorter.
6574 (byte-compile-output-file-form): Remove defun/defmacro.
6575
bd56924f
MR
65762012-06-01 Martin Rudalics <rudalics@gmx.at>
6577
6578 * simple.el (choose-completion): Remove now obsolete binding for
6579 owindow.
6580
046e38ce
MA
65812012-06-01 Michael Albinus <michael.albinus@gmx.de>
6582
6583 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6584 in order to avoid "Stack overflow in regexp matcher".
6585
32d72c2f
GM
65862012-05-31 Glenn Morris <rgm@gnu.org>
6587
6588 * image.el: For clarity, call imagemagick-register-types at
6589 top-level, rather than relying on a custom :initialize.
6590 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6591 (imagemagick-filter-types): New function. (Bug#7406)
6592 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6593 If disabling support, remove elements altogether rather
6594 than using an impossible regexp.
6595 (imagemagick-types-inhibit): Give it the default init function.
6596
dd41169b
SM
65972012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6598
4a5f187a
SM
6599 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6600 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6601
efc00ab1 66022012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6603
6604 * desktop.el (desktop-read): Clear previous and next buffers for
6605 all windows and bury *Messages* buffer (bug#11556).
6606
500fcedc
SM
66072012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 Add `declare' for `defun'. Align `defmacro's with it.
6610 * emacs-lisp/easy-mmode.el (define-minor-mode)
6611 (define-globalized-minor-mode): Don't autoload the var definitions.
6612 * emacs-lisp/byte-run.el: Use lexical-binding.
6613 (defun-declarations-alist, macro-declarations-alist): New vars.
6614 (defmacro, defun): Use them.
6615 (make-obsolete, define-obsolete-function-alias)
6616 (make-obsolete-variable, define-obsolete-variable-alias):
6617 Use `declare'.
6618 (macro-declaration-function): Mark obsolete.
6619 * emacs-lisp/autoload.el: Use lexical-binding.
6620 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6621
6e8a1786
AM
66222012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6623
6624 * textmodes/ispell.el (ispell-with-no-warnings):
6625 Define as a macro.
500fcedc
SM
6626 (ispell-kill-ispell, ispell-change-dictionary):
6627 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6628 `interactive-p'.
6629
61b108cc
SM
66302012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6633 (macro-declaration-function): Move var from C code.
6634 (macro-declaration-function): Define function with defalias.
6635 * emacs-lisp/macroexp.el (macroexpand-all-1):
6636 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6637 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6638 defun/defmacro any more.
6639 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6640 Provide fallback for unknown arglist.
6641 (byte-compile-arglist-warn): Change calling convention.
6642 (byte-compile-output-file-form): Move print-vars binding.
6643 (byte-compile-output-docform): Simplify accordingly.
6644 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6645 (byte-compile-defmacro-declaration): Remove.
6646 (byte-compile-file-form-defmumble): Generalize to defalias.
6647 (byte-compile-output-as-comment): Return byte-positions.
6648 Simplify callers accordingly.
6649 (byte-compile-lambda): Use `assert'.
6650 (byte-compile-defun, byte-compile-defmacro): Remove.
6651 (byte-compile-file-form-defalias):
6652 Use byte-compile-file-form-defmumble.
6653 (byte-compile-defalias-warn): Remove.
6654
6d3f7c2f
SM
66552012-05-29 Stefan Merten <smerten@oekonux.de>
6656
6657 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6658 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6659
6660 (rst-mode-abbrev-table): Merge definition.
6661 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6662 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6663
6dbaa1c7
UJ
66642012-05-29 Ulf Jasper <ulf.jasper@web.de>
6665
6666 * calendar/icalendar.el
6667 (icalendar-export-region): Export UID properly.
6668
d209e2fb 66692012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6670 * calendar/icalendar.el (icalendar-import-format):
6671 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6672 (icalendar-import-format-uid): New.
6673 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6674 Export UID.
6675
6876a58d
SM
66762012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6679 different alternative patterns.
6680 (pcase-codegen): Be more careful to preserve identity.
6681 (pcase--u1): Don't forget to mark vars as used.
6682
6683 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6684 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6685 (byte-compile-from-buffer): ...rather than here.
6686
6687 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6688 functions from byte-compile-function-environment.
6689
46b7967e
TN
66902012-05-29 Troels Nielsen <bn.troels@gmail.com>
6691
6692 * window.el (window-deletable-p): Avoid deleting the root window
6693 of a frame with an active minibuffer.
6694
69d565e2
MR
66952012-05-29 Martin Rudalics <rudalics@gmx.at>
6696
6697 * simple.el (choose-completion): Use quit-window (Bug#11567).
6698
a149fa51
CY
66992012-05-29 Chong Yidong <cyd@gnu.org>
6700
6701 * whitespace.el (whitespace-cleanup): Fix usage of
6702 whitespace-empty-at-bob-regexp (Bug#11492).
6703
2b311310
AH
67042012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6705
6706 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6707 revert (Bug#11488).
6708
b9cb2387
JL
67092012-05-29 Juri Linkov <juri@jurta.org>
6710
6711 * isearch.el (isearch-mode-map): Bind `M-s _' to
6712 `isearch-toggle-symbol'. Bind `M-s c' to
6713 `isearch-toggle-case-fold'.
6714 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6715 (isearch-forward): Add `M-s _' to the docstring.
6716 (isearch-forward-symbol, isearch-toggle-case-fold)
6717 (isearch-symbol-regexp): New functions. (Bug#11381)
6718
d5e61c1c
JL
67192012-05-29 Juri Linkov <juri@jurta.org>
6720
6721 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6722 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6723 a function, call it to get the regexp.
6724 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6725 property `isearch-message-prefix' instead of the string "word ".
6726 (isearch-search-fun-default): For the case of `isearch-word',
6727 return a lambda that calls re-search-forward/re-search-backward
6728 with a regexp returned by `word-search-regexp' or by the function
6729 in `isearch-word'.
6730
8cbd80f7
JL
67312012-05-29 Juri Linkov <juri@jurta.org>
6732
6733 * isearch.el (isearch-search-fun-default): New function.
6734 (isearch-search-fun): Move default part to the new function
6735 `isearch-search-fun-default'.
6736 (isearch-search-fun-function): Set the default value to
6737 `isearch-search-fun-default'. (Bug#11381)
6738
6739 * comint.el (comint-history-isearch-end):
6740 Use `isearch-search-fun-default'.
6741 (comint-history-isearch-search): Use `isearch-search-fun-default'
6742 and remove spacial case for `isearch-word'.
6743 (comint-history-isearch-wrap): Remove spacial case for
6744 `isearch-word'.
6745
6746 * hexl.el (hexl-isearch-search-function):
6747 Use `isearch-search-fun-default'.
6748
6749 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6750 Use `word-search-regexp' for `isearch-word'.
6751
6752 * misearch.el (multi-isearch-search-fun):
6753 Use `isearch-search-fun-default'.
6754
6755 * simple.el (minibuffer-history-isearch-search):
6756 Use `isearch-search-fun-default' and remove spacial case for
6757 `isearch-word'.
6758 (minibuffer-history-isearch-wrap): Remove spacial case for
6759 `isearch-word'.
6760
6761 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6762 Remove spacial case for `isearch-word'.
6763 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6764
85c8c5b6
AM
67652012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6766
6767 Decrease XEmacs incompatibilities.
6768 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6769 Use `string-match'.
6770 (flyspell-delete-region-overlays): Use alternative definition for
6771 XEmacs.
6772 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6773 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6774 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6775 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6776 `define-obsolete-face-alias' under XEmacs, but old method.
6777
6778 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6779 `with-no-warnings' definition or Emacs alias.
6780 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6781 (ispell-word): Do not use `region-p' if XEmacs.
6782
8cab9efc
AM
67832012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6784
6785 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6786 Check for `ispell-dictionary-base-alist' instead of full
6787 `ispell-dictionary-alist'.
6788 (ispell-init-process): Show spellchecker when starting new Ispell
6789 process.
6790
fda91268
RZ
67912012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6794 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6795
694ea8e3
JB
67962012-05-27 Juanma Barranquero <lekktu@gmail.com>
6797
6798 * version.el (motif-version-string, gtk-version-string)
6799 (ns-version-string): Declare.
6800
e4d4f539
JL
68012012-05-27 Juri Linkov <juri@jurta.org>
6802
6803 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6804 after the `eval-defun-1' specialcaseing
6805 like in `edebug-eval-defun' (bug#10181).
6806
6807 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6808 like in `eval-defun-1'.
6809
33017faf 68102012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6811
fda91268
RZ
6812 * mail/sendmail.el (mail-yank-region):
6813 Recognize rmail-yank-current-message in addition to insert-buffer.
6814 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6815 a *mail* buffer created through rmail-start-mail with sendmail as
6816 mail-user-agent.
6817
33017faf
GM
68182012-05-27 Chong Yidong <cyd@gnu.org>
6819
6820 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6821 Default to 256 (Bug#11267).
6822
6823 * help.el (describe-mode): Doc fix.
6824
04188bb9
GM
68252012-05-26 Glenn Morris <rgm@gnu.org>
6826
38264cc9
GM
6827 * w32-fns.el (w32-init-info): Remove.
6828 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6829
eb7afdad
GM
6830 * info.el (info-initialize): For self-contained NS builds, put the
6831 included info/ directory at the front. (Bug#2791)
6832
04188bb9
GM
6833 * paths.el (Info-default-directory-list): Make it a defcustom,
6834 mainly so that we can use custom-initialize-delay.
6835
a179e3f7
SM
68362012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6837
43416392
SM
6838 * subr.el (buffer-has-markers-at): Mark obsolete.
6839
a179e3f7 6840 * subr.el (lambda): Use declare.
43416392 6841
a179e3f7
SM
6842 * emacs-lisp/lisp-mode.el (lambda):
6843 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6844
34a008d9
AH
68452012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6846
6847 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6848
0a3b289f
GM
68492012-05-26 Glenn Morris <rgm@gnu.org>
6850
6851 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6852
758c81e8
GM
68532012-05-25 Glenn Morris <rgm@gnu.org>
6854
f9f334f0
GM
6855 * paths.el: Remove no-byte-compile.
6856 * loadup.el: No need to load paths.el uncompiled.
6857
87eb79c2
GM
6858 * image.el (imagemagick-types-inhibit): Doc fix.
6859
758c81e8
GM
6860 * version.el: Remove no-byte-compile and associated formatting.
6861 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6862 is ancient code from when there was an "inc-vers.el".
6863
e7e85dc0
SM
68642012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * progmodes/gdb-mi.el: Minor style changes.
6867 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6868 Turn into minor modes.
6869 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6870 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6871 (gdb-shell): Remove unneeded let-binding.
6872 (gdb-get-many-fields): Eliminate O(n²) behavior.
6873
f31237a4
EZ
68742012-05-25 Eli Zaretskii <eliz@gnu.org>
6875
6876 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6877 platforms that don't link in fontset.c.
6878
bc1b21bb
JL
68792012-05-25 Juri Linkov <juri@jurta.org>
6880
6881 Use the same diff color scheme as in modern VCSes (bug#10181).
6882
6883 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6884 to avoid confusion with `diff-added' that now uses green colors.
6885 (diff-removed): Use shades of red.
6886 (diff-added): Use shades of green.
6887 (diff-changed): Leave just the yellow color.
6888 (diff-use-changed-face): New variable.
6889 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6890 how to highlight context diff changes.
6891 (diff-refine-change): Use shades of yellow.
6892 (diff-refine-removed): New face that uses shades of red.
6893 (diff-refine-added): New face that uses shades of green.
6894 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6895 `diff-refine-removed' in the call to `smerge-refine-subst'
6896 depending on the value of `diff-use-changed-face'.
6897
6898 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6899 (smerge-other): Use shades of green.
6900 (smerge-base): Use shades of yellow.
6901 (smerge-refined-change): Empty face.
6902 (smerge-refined-removed): New face that uses shades of red.
6903 (smerge-refined-added): New face that uses shades of green.
6904 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6905 args `props-r' and `props-a', and use them. Doc fix.
6906 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6907 on its value use different faces `smerge-refined-change',
6908 `smerge-refined-removed', `smerge-refined-added' in the call to
6909 `smerge-refine-subst'.
6910
6911 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6912 Add face condition `min-colors 88' with shades of red.
6913 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6914 `min-colors 88' with shades of green.
6915 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6916 `min-colors 88' with shades of yellow.
6917
6df9112c
GM
69182012-05-24 Glenn Morris <rgm@gnu.org>
6919
ead5edc0
GM
6920 * paths.el (prune-directory-list, remote-shell-program): Move to...
6921 * files.el (prune-directory-list, remote-shell-program): ...here.
6922 For the latter, delay initialization, prefer ssh, just search PATH.
6923
f18b81e6
GM
6924 * paths.el (term-file-prefix): Move to faces.el (the only user).
6925 * faces.el (term-file-prefix): Move here, make it a defcustom.
6926
ee2f89a6
GM
6927 * paths.el (news-directory, news-path, news-inews-program):
6928 Move to gnus/nnspool.el.
61a583ca 6929
f8815e4c
GM
6930 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6931
c8f3b42c
GM
6932 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6933 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6934 Make the latter a defcustom, with a delayed initialization.
6935
6df9112c
GM
6936 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6937 These were deleted from Gnus itself late 2010.
6938
5dadff36
JB
69392012-05-22 Juanma Barranquero <lekktu@gmail.com>
6940
9e1701c6
JB
6941 * progmodes/which-func.el (which-func-ff-hook):
6942 Check against user-error, not error.
6943
bd7239f5 6944 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6945 cl-specs.el, which no longer exists.
6946
3290526d
GM
69472012-05-22 Glenn Morris <rgm@gnu.org>
6948
6949 * info.el (info-emacs-bug): New command.
6950 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6951 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6952
ff0c3cfb
GM
69532012-05-21 Glenn Morris <rgm@gnu.org>
6954
6955 * makefile.w32-in (update-subdirs-SH):
6956 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6957
5814f126
SM
69582012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6959
a52c0aa0
SM
6960 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6961
5814f126
SM
6962 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6963 Simplify Maven regexp, and make sure the file can't start with a space
6964 (bug#11517).
6965
b847032c
GM
69662012-05-21 Glenn Morris <rgm@gnu.org>
6967
6968 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6969 Scrap superfluous subshells.
6970
3858bfe7
SM
69712012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6974 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6975
d14b0029
JB
69762012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6977
6978 * calc/calc.el (calc-ensure-consistent-units): New variable.
6979
a52c0aa0
SM
6980 * calc/calc-units.el (math-consistent-units-p)
6981 (math-check-unit-consistency): New functions.
6982 (calc-quick-units, calc-convert-units):
6983 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6984 is non-nil.
d14b0029
JB
6985 (calc-extract-units): Fix typo.
6986
60c4db3a
SM
69872012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6988
77f3b62e
SM
6989 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6990
60c4db3a
SM
6991 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6992 (flyspell-default-deplacement-commands): Don't spell check after
6993 repeated window/frame switches (e.g. triggered by mouse-movement).
6994 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6995 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6996 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6997 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6998 Remove unused vars.
6999 (flyspell-get-casechars, flyspell-get-not-casechars):
7000 Simplify; Don't bother removing a ] just to add it back.
7001 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7002
d209e2fb 70032012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7004
7005 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7006 New functions.
bd7239f5 7007 (math-function-table): Add support for more C functions.
b1a10716 7008
3f1b25b5
AM
70092012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7010
090bd7cb
JB
7011 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7012 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7013 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7014
b581bb5c
SM
70152012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7018 their respective macro declarations.
7019 * skeleton.el (define-skeleton):
7020 * progmodes/compile.el (define-compilation-mode):
7021 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7022 (define-ibuffer-filter):
7023 * emacs-lisp/generic.el (define-generic-mode):
7024 * emacs-lisp/easy-mmode.el (define-minor-mode)
7025 (define-globalized-minor-mode):
7026 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7027 * emacs-lisp/byte-run.el (defsubst):
7028 * custom.el (deftheme): Add doc-string metadata.
7029
70b8ef8f
SM
70302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7033
b1198e17
SM
70342012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7035
9abdc45d
SM
7036 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7037
b1198e17
SM
7038 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7039 * emacs-lisp/cl-macs.el: Idem.
7040 * emacs-lisp/cl-specs.el: Remove.
7041
4735906a
SM
70422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 Minor renaming of internal CL functions and variables.
7045 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7046 (cl--position): Rename from cl-position.
7047 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7048 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7049 (cl--random-state): Rename from *random-state*.
7050
ac348012
SM
70512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7054 parens around the arg list (bug#11499).
7055
a0a79cde
JL
70562012-05-17 Juri Linkov <juri@jurta.org>
7057
7058 * isearch.el (word-search-regexp, word-search-backward)
7059 (word-search-forward, word-search-backward-lax)
7060 (word-search-forward-lax): Move functions from search.c
7061 (bug#10145, bug#11381).
7062
65034a51
AM
70632012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7064
090bd7cb
JB
7065 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7066 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7067 Delay for otherchars as for normal word components.
65034a51 7068
1a72a195
SM
70692012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * minibuffer.el (completion--sifn-requote): Fix last change.
7072 (minibuffer-local-must-match-filename-map):
7073 Move define-obsolete-variable-alias before its var.
7074
fdb058c2
SM
70752012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7076
c41045e6
SM
7077 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7078
036dfb8b
SM
7079 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7080 behavior.
7081 (completion--string-equal-p): New function.
7082 (completion--twq-all): Use it to get better assertion failure data.
7083
2473256d
SM
7084 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7085 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7086 (shell--requote-argument): New functions.
7087 (shell-completion-vars): Use them.
7088 (shell--parse-pcomplete-arguments): Rename from
7089 shell-parse-pcomplete-arguments.
7090 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7091 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7092 Obey comint-file-name-quote-list.
7093
fdb058c2
SM
7094 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7095 (smie-indent-keyword): Use it.
7096
51fa99f1
SM
70972012-05-14 Stefan Merten <smerten@oekonux.de>
7098
7099 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7100
e18afed7 71012012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7102
7103 * net/rlogin.el (rlogin-mode-map): Fix last change.
7104
e18afed7 71052012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7106
7107 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7108 the following \r\n using a single `process-send-string', since the
7109 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7110 with two `process-send-string's (Bug#11444).
8633b1f4 7111
e18afed7 71122012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7113
fdb058c2
SM
7114 * shell.el (shell-parse-pcomplete-arguments):
7115 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7116
2d21d7f6
WJ
71172012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7118
e18afed7 7119 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7120 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7121 (image-transform-width, image-transform-fit-width): New functions.
7122 (image-transform-properties): Use them.
7123 (image-transform-check-size): New function.
7124 (image-toggle-display-image): Use it (for testing).
7125 (image-transform-set-rotation): Reduce angle mod 360.
7126 Delete obsolete comment.
7127
7102e6d0
WJ
71282012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7129
7130 * image-mode.el: Fix scaling (bug#11399).
7131 (image-transform-resize): Doc fix.
7132 (image-transform-properties): Default scale is 1 and height should
7133 be an integer.
7134
06bc5e6e
SM
71352012-05-13 Johan Bockgård <bojohan@gnu.org>
7136
7137 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7138 than hard-coding `car', to fix misbehavior when moving forward.
7139
0ae03b6a
CY
71402012-05-13 Chong Yidong <cyd@gnu.org>
7141
7142 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7143 (tabulated-list-entries, tabulated-list-padding)
7144 (tabulated-list-sort-key): Make permanent-local.
7145
7146 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7147 (electric-buffer-list): Put electric buffer menu
7148 command descriptions in this docstring, instead of the docstring
7149 of electric-buffer-menu-mode. Code cleanups.
7150 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7151 Electric-buffer-menu-mode.
7152 (electric-buffer-update-highlight): Minor code cleanup.
7153
205a7391
MA
71542012-05-13 Michael Albinus <michael.albinus@gmx.de>
7155
7156 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7157 (Bug#11447)
7158
e5bd0a28
SM
71592012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 Move define-obsolete-variable-alias before the var's definition.
7162 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7163 * tooltip.el (tooltip-hook):
7164 * textmodes/reftex-toc.el (reftex-toc-map):
7165 * textmodes/reftex-sel.el (reftex-select-label-map)
7166 (reftex-select-bib-map):
7167 * textmodes/reftex-index.el (reftex-index-map)
7168 (reftex-index-phrases-map):
7169 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7170 * progmodes/meta-mode.el (meta-mode-map):
7171 * novice.el (disabled-command-hook):
7172 * loadhist.el (unload-hook-features-list):
7173 * frame.el (blink-cursor):
7174 * files.el (find-file-not-found-hooks, write-file-hooks)
7175 (write-contents-hooks):
7176 * emulation/tpu-edt.el (GOLD-map):
7177 * emacs-lock.el (emacs-lock-from-exiting):
7178 * emacs-lisp/generic.el (generic-font-lock-defaults):
7179 * emacs-lisp/chart.el (chart-map):
7180 * dos-fns.el (register-name-alist):
7181 * dired-x.el (dired-omit-files-p):
7182 * desktop.el (desktop-enable):
7183 * cus-edit.el (custom-mode-hook):
7184 * buff-menu.el (buffer-menu-mode-hook):
7185 * bookmark.el (bookmark-read-annotation-text-func)
7186 (bookmark-exit-hooks):
7187 * allout.el (allout-mode-deactivate-hook)
7188 (allout-exposure-change-hook, allout-structure-added-hook)
7189 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7190 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7191 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7192 comes before the corresponding variable's definition.
7193
ac59c2f6
CY
71942012-05-12 Chong Yidong <cyd@gnu.org>
7195
7196 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7197 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7198 (Buffer-menu-mode-map): Bind it.
7199 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7200
dee6c9a3
SM
72012012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7202
2171cea5
SM
7203 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7204 (prolog-upper-case-string, prolog-lower-case-string)
7205 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7206 (prolog-use-smie, prolog-smie-grammar): New vars.
7207 (prolog-smie-forward-token, prolog-smie-backward-token)
7208 (prolog-smie-rules): New funs.
7209 (prolog-comment-indent): Remove.
7210 (prolog-mode-variables): Use default comment indentation instead.
7211 Setup SMIE.
7212 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7213 (prolog-mode): Don't call them any more.
7214 (prolog-electric-colon, prolog-electric-dash)
7215 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7216
aa0382bd
SM
7217 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7218
dbacb4bd
SM
7219 * minibuffer.el (completion--twq-all): Again, allow case differences.
7220
13bdd94c
SM
7221 * term.el: Move keymap initialization code to be more idiomatic.
7222 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7223 (term-terminal-menu): Move initialization into declaration.
7224 (term-escape-char): Let the user set it in her .emacs.
7225
ff46c759
SM
7226 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7227 Provide SMIE-based indentation (not enabled by default yet).
7228 (sh-mode-map): Don't bind electric keys.
7229 Use electric-pair-mode instead of skeleton-pair.
7230 (sh-assignment-regexp): Fit within 80 columns.
7231 (sh-indent-supported): Specify actual shell name instead of boolean.
7232 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7233 (sh-maybe-here-document): Use it. Make obsolete.
7234 (sh-electric-here-document-mode) New minor mode.
7235 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7236 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7237 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7238 (sh-smie-rc-grammar, sh-use-smie): New vars.
7239 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7240 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7241 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7242 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7243 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7244 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7245 (sh-set-shell): Use smie-setup if requested.
7246
dee6c9a3
SM
7247 * term.el (term-set-escape-char): Properly set term-escape-char.
7248 See http://stackoverflow.com/questions/10524656.
7249
9f9aa044
CY
72502012-05-10 Chong Yidong <cyd@gnu.org>
7251
7252 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7253 Use url-generic-parse-url, and handle host names and Windows
7254 filenames properly.
7255 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7256 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7257 URL schemes to work on.
7258 (ffap--toggle-read-only): New function.
7259 (ffap-read-only, ffap-read-only-other-window)
7260 (ffap-read-only-other-frame): Use it.
7261 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7262 necessary for ffap-url-unwrap-remote.
7263
836d29b3
DA
72642012-05-10 Dave Abrahams <dave@boostpro.com>
7265
7266 * cus-start.el (create-lockfiles): Add it.
7267
00fd78ed
CY
72682012-05-09 Chong Yidong <cyd@gnu.org>
7269
7270 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7271 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7272
666b903b 72732012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7274
7275 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7276
666b903b 72772012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7278
7279 * ansi-color.el (ansi-color-process-output): Check for validity of
7280 comint-last-output-start before using it. This avoids a bad
7281 interaction with gdb-mi's input/output buffer.
7282
666b903b 72832012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7284
7285 * files.el (dir-locals-read-from-file):
7286 Mention dir-locals in any error message.
7287
666b903b 72882012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7289
7290 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7291 package (Bug#11410).
7292
f677562b
CY
7293 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7294 variables into description.
7295
666b903b 72962012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7297
7298 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7299 shell-delimiter-argument-list (bug#11348).
7300 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7301
b499d8d0
JB
73022012-05-09 Juanma Barranquero <lekktu@gmail.com>
7303
8f6b6da8
JB
7304 * textmodes/rst.el: Silence byte-compiler warnings.
7305 (rst-re-alist, rst-reset-section-caches): Move around.
7306 (rst-re): Use `characterp', not `char-valid-p'.
7307 (font-lock-beg, font-lock-end): Declare.
7308
4824146a
JB
7309 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7310 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7311
b499d8d0
JB
7312 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7313
ad89bb83
GM
73142012-05-08 Glenn Morris <rgm@gnu.org>
7315
7316 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7317
8bba5a75
SM
73182012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7319
49ed9c8e
SM
7320 * vc/log-edit.el: Add GNU coding standards highlighting.
7321 (log-edit-font-lock-gnu-style)
7322 (log-edit-font-lock-gnu-keywords): New vars.
7323 (log-edit-font-lock-keywords): New fun.
7324 (log-edit-mode): Don't fold case in font-lock.
7325 (log-edit-font-lock-keywords): Do not assume case-folding.
7326
07d00b56
SM
7327 * imenu.el: Misc cleanup. Make docstrings out of comments.
7328 Use lexical-binding.
7329 (imenu--index-alist, imenu--last-menubar-index-alist)
7330 (imenu-menubar-modified-tick): Use defvar-local.
7331 (imenu--split-menu): Remove unused var.
7332 (imenu--cleanup-seen): Declare as global.
7333 (imenu--cleanup): Use dolist.
7334
8bba5a75
SM
7335 * subr.el (defvar-local): Add debug spec and doc-string position.
7336
5075bdb5
GM
73372012-05-08 Glenn Morris <rgm@gnu.org>
7338
090bd7cb 7339 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7340 * language/english.el, language/georgian.el, language/greek.el:
7341 * language/japanese.el, language/khmer.el, language/korean.el:
7342 * language/lao.el, language/misc-lang.el, language/romanian.el:
7343 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7344 * language/thai.el, language/utf-8-lang.el:
7345 Remove no-byte-compile setting.
7346
5075bdb5
GM
7347 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7348
06f679a7
AH
73492012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7350
7351 * progmodes/make-mode.el (makefile-browse):
7352 Remove unnecessary interactive. (Bug#11324)
7353
03794570
GM
73542012-05-07 Glenn Morris <rgm@gnu.org>
7355
af8630f4
GM
7356 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7357
03794570
GM
7358 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7359
f0809a9d
SM
73602012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7361
28be5ce7
SM
7362 * loadup.el: Preload newcomment.el.
7363 * newcomment.el: Move autoload-only code to toplevel.
7364
f0809a9d
SM
7365 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7366 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7367 Handle new :right-align column property.
7368 (tabulated-list-print-col): Idem, plus use `display' text-property to
7369 try and preserve alignment for variable pitch fonts.
7370
1241b724
CY
73712012-05-07 Chong Yidong <cyd@gnu.org>
7372
7373 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7374 (tabulated-list-use-header-line): New var.
7375 (tabulated-list-init-header): Use it.
7376 (tabulated-list-print-fake-header): New function.
7377 (tabulated-list-print): Use it.
7378 (tabulated-list-sort-button-map): Add non-header-line commands.
7379 (tabulated-list-init-header): Add column name property to basic
7380 labels as well.
7381 (tabulated-list-col-sort): Handle non-header-line button case.
7382 (tabulated-list--sort-by-column-name): Fix a corner case.
7383
f0809a9d
SM
7384 * buff-menu.el (list-buffers--refresh):
7385 Handle Buffer-menu-use-header-line.
1241b724 7386
e5f9458f
CY
73872012-05-06 Chong Yidong <cyd@gnu.org>
7388
7389 * buff-menu.el: Convert to Tabulated List mode.
7390 (Buffer-menu-buffer+size-width): Make obsolete.
7391 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7392 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7393 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7394 documentation into docstring of buffer-menu.
7395 (Buffer-menu-toggle-files-only): Add an informative message.
7396 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7397 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7398 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7399 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7400 (Buffer-menu-execute, Buffer-menu-select)
7401 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7402 (Buffer-menu-bury): Use Tabulated List machinery.
7403 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7404 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7405 Delete.
e5f9458f
CY
7406 (list-buffers--refresh): New function.
7407 (list-buffers-noselect): Use it.
7408 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7409 (Buffer-menu--pretty-file-name): New helper functions.
7410
7411 * loadup.el: Preload tabulated-list.
7412
7413 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7414 tabulated-list-sort-column.
7415 (tabulated-list-init-header): Add the initial aligning space even
7416 if tabulated-list-padding is zero.
7417
e129292c
CS
74182012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7419
7420 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7421 whose cdr is not a cons cell correctly (bug#11038).
7422
6632d361
CY
74232012-05-06 Chong Yidong <cyd@gnu.org>
7424
e129292c
CS
7425 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7426 Accept additional plist in column descriptors.
6632d361
CY
7427 (tabulated-list-init-header): Obey it.
7428 (tabulated-list-get-entry): New function.
7429 (tabulated-list-put-tag): Use it. Use string-width instead of
7430 length.
7431 (tabulated-list--column-number): New function.
7432 (tabulated-list-print): Use it.
e129292c
CS
7433 (tabulated-list-print-col): New function.
7434 Set `tabulated-list-column-name' property on each column's text.
6632d361 7435 (tabulated-list-print-entry): Use it.
e129292c
CS
7436 (tabulated-list-delete-entry, tabulated-list-set-col):
7437 New functions.
6632d361
CY
7438 (tabulated-list-sort-column): New command (Bug#11337).
7439
3cc99f68
CY
7440 * buff-menu.el (list-buffers): Move C-x C-b binding from
7441 buff-menu.el to bindings.el.
7442
7443 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7444 :advertised-binding feature.
7445
52b61776
TN
74462012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7447
7448 * progmodes/compile.el (compilation-internal-error-properties):
7449 Calculate start position correctly when end-col is set but
7450 end-line is not (Bug#11382).
7451
ebfe2597
WJ
74522012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7453
7454 * man.el (Man-unindent): Use text-property-default-nonsticky to
7455 prevent untabify from inheriting face properties (Bug#11408).
7456
6d3f7c2f
SM
74572012-05-05 Stefan Merten <smerten@oekonux.de>
7458
7459 * textmodes/rst.el: Major merge with upstream development up to
7460 Docutils SVN r7399 / rst.el V1.2.1.
7461
7462 Clarify maintainership and authors.
7463
7464 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7465 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7466 (rst-official-version, rst-official-cvs-rev, rst-version)
7467 (rst-package-emacs-version-alist): New functions and variables
7468 for version information.
7469
7470 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7471 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7472 (rst-mode-syntax-table, rst-mode): New and corrected functions
7473 and variables representing reStructuredText features.
7474
7475 (rst-re): New function for reStructuredText regexes. Use in
7476 many places.
7477
7478 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7479 (rst-mode-map): Rebind keys.
7480
7481 (rst-mode-lazy, rst-font-lock-keywords)
7482 (rst-font-lock-extend-region)
7483 (rst-font-lock-extend-region-internal)
7484 (rst-font-lock-extend-region-extend)
7485 (rst-font-lock-find-unindented-line-limit)
7486 (rst-font-lock-find-unindented-line-match)
7487 (rst-adornment-level, rst-font-lock-adornment-level)
7488 (rst-font-lock-adornment-match)
7489 (rst-font-lock-handle-adornment-pre-match-form)
7490 (rst-font-lock-handle-adornment-matcher): Major revision of
7491 font-locking. Integrate with other code. Use `jit-lock-mode'.
7492
7493 (rst-preferred-adornments, rst-adjust-hook)
7494 (rst-new-adornment-down, rst-preferred-bullets)
7495 (rst-preferred-bullets, rst-indent, rst-indent-width)
7496 (rst-indent-field, rst-indent-literal-normal)
7497 (rst-indent-literal-minimized, rst-indent-comment): Change,
7498 extend and improve customization.
7499
7500 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7501 (rst-normalize-cursor-position, rst-get-decoration)
7502 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7503 (rst-rstrip, rst-toc-insert-find-delete-contents)
7504 (rst-shift-fill-region, rst-compute-bullet-tabs)
7505 (rst-debug-print-tabs, rst-debug-mark-found)
7506 (rst-shift-region-guts, rst-shift-region-right)
7507 (rst-shift-region-left, rst-use-char-classes)
7508 (rst-font-lock-keywords-function)
7509 (rst-font-lock-indentation-point)
7510 (rst-font-lock-find-unindented-line-begin)
7511 (rst-font-lock-find-unindented-line-end)
7512 (rst-font-lock-find-unindented-line)
7513 (rst-font-lock-adornment-point, rst-font-lock-level)
7514 (rst-adornment-level-alist): Remove functions and variables.
7515
7516 (rst-compare-adornments, rst-get-adornment-match)
7517 (rst-suggest-new-adornment, rst-get-adornments-around)
7518 (rst-adornment-complete-p, rst-get-next-adornment)
7519 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7520 (rst-straighten-adornments): Standardize function names to
7521 use "adornment" instead of "decoration". Correct callers.
7522 Similar standardizing in many places.
7523
7524 (rst-update-section, rst-adjust, rst-promote-region)
7525 (rst-enumerate-region, rst-bullet-list-region)
7526 (rst-repeat-last-character): Correct use of `interactive'.
7527
7528 (rst-classify-adornment, rst-find-all-adornments)
7529 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7530 (rst-find-leftmost-column, rst-repeat-last-character):
7531 Refactor functions.
7532
7533 (rst-find-title-line, rst-reset-section-caches)
7534 (rst-get-adornments-around, rst-adjust-adornment-work)
7535 (rst-arabic-to-roman, rst-roman-to-arabic)
7536 (rst-insert-list-pos, rst-insert-list-new-item)
7537 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7538 New functions.
7539
7540 (rst-all-sections, rst-section-hierarchy)
7541 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7542 New variables.
7543
7544 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7545 configuration instead of only buffer. Change where necessary.
7546
7547 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7548 (rst-shift-region, rst-adaptive-fill): New functions for
7549 indentation and filling.
7550
7551 (rst-comment-line-break, rst-comment-indent)
7552 (rst-comment-insert-comment, rst-comment-region)
7553 (rst-uncomment-region): New functions for handling comments.
7554
7555 (rst-compile): Quote shell arguments.
7556
7557 (rst-compile-pdf-preview, rst-compile-slides-preview):
7558 Delete temporary files after use.
7559
a43f98b3
GM
75602012-05-05 Glenn Morris <rgm@gnu.org>
7561
48176e8b
GM
7562 * calendar/cal-html.el: Optionally include holidays in the output.
7563 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7564 (cal-html-holidays): New option.
7565 (cal-html-css-default): Add holiday entry.
7566 (holiday-in-range): Autoload it.
7567 (cal-html-htmlify-entry): Add optional class argument.
7568 (cal-html-htmlify-list): Add optional holidays argument.
7569 (cal-html-insert-agenda-days): Include holidays in the output.
7570 (cal-html-one-month): Maybe include holidays.
7571
a43f98b3
GM
7572 * calendar/holidays.el (holiday-in-range):
7573 Move here from cal-tex-list-holidays.
7574 * calendar/cal-tex.el (cal-tex-list-holidays):
7575 Make it an obsolete alias for holiday-in-range. Update all callers.
7576
fef9d149 75772012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7578
7579 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7580 Nextstep.
7581
248da2f4
RW
75822012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7583
7584 * files.el (file-auto-mode-skip): New var.
7585 (set-auto-mode-1): Use it.
7586
f95e9344
SM
75872012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7588
df96ab1e
SM
7589 * repeat.el: Use lexical-binding.
7590 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7591 (repeat-undo-count): Remove.
7592 (repeat):
7593 * progmodes/octave-mod.el (octave-abbrev-start):
7594 * progmodes/f90.el (f90-abbrev-start):
7595 * face-remap.el (text-scale-adjust):
7596 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7597
5342bb06
SM
7598 * emacs-lisp/pcase.el (pcase--let*): New function.
7599 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7600 a bit more.
7601 (pcase--split-pred): Be more clever about ruling out overlap between
7602 a predicate and some constant pattern.
7603 (pcase--q1): Use `null' instead of (eq foo nil).
7604
f95e9344
SM
7605 * subr.el (setq-local, defvar-local): New macros.
7606 (kbd): Redefine as an alias.
7607 (with-selected-window): Leave unrelated frames alone.
7608 (set-temporary-overlay-map): New function.
7609
71873e2b
SM
76102012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * subr.el (user-error): New function.
7613 * window.el (switch-to-buffer):
7614 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7615 (smerge-match-conflict):
7616 * simple.el (previous-matching-history-element)
7617 (next-matching-history-element, goto-history-element, undo-more)
7618 (undo-start):
7619 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7620 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7621 (next-file, tags-loop-scan, list-tags, complete-tag):
7622 * progmodes/compile.el (compilation-loop):
7623 * mouse.el (mouse-minibuffer-check):
7624 * man.el (Man-bgproc-sentinel, Man-goto-page):
7625 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7626 (Info-history-forward, Info-follow-reference, Info-menu)
7627 (Info-extract-menu-item, Info-extract-menu-counting)
7628 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7629 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7630 (Info-next-reference, Info-prev-reference, Info-index)
7631 (Info-index-next, Info-follow-nearest-node)
7632 (Info-copy-current-node-name):
7633 * imenu.el (imenu--make-index-alist)
7634 (imenu-default-create-index-function, imenu-add-to-menubar):
7635 * files.el (basic-save-buffer, recover-file):
7636 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7637 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7638 (checkdoc-message-text, checkdoc-defun):
7639 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7640 * cus-edit.el (customize-changed-options, customize-rogue)
7641 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7642 (custom-variable-mark-to-reset-standard)
7643 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7644 (custom-file):
7645 * completion.el (check-completion-length):
7646 * comint.el (comint-search-arg)
7647 (comint-previous-matching-input-string-position)
7648 (comint-previous-matching-input)
7649 (comint-replace-by-expanded-history-before-point, comint-send-input)
7650 (comint-copy-old-input, comint-backward-matching-input)
7651 (comint-goto-process-mark, comint-set-process-mark):
7652 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7653 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7654
8a61ee22
SM
76552012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7656
66408d1e
SM
7657 * dabbrev.el (dabbrev--ignore-case-p): New function.
7658 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7659 Use it.
7660
8a61ee22
SM
7661 * files.el (automount-dir-prefix): Mark as obsolete.
7662
3c74813a
GM
76632012-05-04 Glenn Morris <rgm@gnu.org>
7664
7665 * patcomp.el, play/bruce.el: Move to obsolete/.
7666
0bfcf5c5
PE
76672012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7668
7669 Fix minor Y10k bugs.
7670 * arc-mode.el (archive-unixdate):
7671 * autoinsert.el (auto-insert-alist):
7672 * calc/calc-forms.el (math-this-year):
7673 * emacs-lisp/copyright.el (copyright-current-year)
7674 (copyright-update-year, copyright):
7675 * tar-mode.el (tar-clip-time-string):
7676 * time.el (display-time-update):
7677 Don't assume years have 4 digits.
7678
78f3273a
CY
76792012-05-04 Chong Yidong <cyd@gnu.org>
7680
7681 * dos-w32.el (file-name-buffer-file-type-alist)
7682 (direct-print-region-use-command-dot-com):
7683 * ffap.el (ffap-menu-regexp):
7684 * find-file.el (ff-special-constructs):
7685 * follow.el (follow-debug):
7686 * forms.el (forms--debug):
7687 * iswitchb.el (iswitchb-all-frames):
7688 * ido.el (ido-all-frames):
7689 * emacs-lisp/timer.el (timer-max-repeats):
7690 * mail/feedmail.el (feedmail-mail-send-hook)
7691 (feedmail-mail-send-hook-queued):
7692 * mail/footnote.el (footnote-signature-separator):
7693 * mail/mailabbrev.el (mail-alias-separator-string)
7694 (mail-abbrev-mode-regexp):
7695 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7696 * progmodes/idlwave.el (idlwave-libinfo-file)
7697 (idlwave-default-completion-case-is-down)
7698 (idlwave-library-routines): Convert defvars to defcustoms.
7699
7700 * mail/rmail.el (rmail-decode-mime-charset):
7701 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7702 (idlwave-shell-fix-inserted-breaks)
7703 (idlwave-shell-activate-alt-keybindings)
7704 (idlwave-shell-use-breakpoint-glyph):
7705 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7706
f7ae6719
SM
77072012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7710
47086495
WS
77112012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7712
7713 * progmodes/verilog-mode.el (font-lock-keywords):
7714 Fix mis-highligting auto. Reported by Craig Barner.
7715 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7716 defines from global name space. Reported by Dan Dever.
47086495
WS
7717 (verilog-auto-reset, verilog-auto-reset-widths)
7718 (verilog-auto-tieoff): Support using unbased numbers for
7719 AUTORESET and AUTOTIEOFF.
7720 (verilog-submit-bug-report): Update variable list.
7721 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7722 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7723 (verilog-auto-template-lint): Fix hash error when linting modules
7724 with no used templates.
7725 (verilog-warn, verilog-warn-error)
7726 (verilog-warn-fatal): When non-interactive report multiple
7727 warnings before exiting. Suggested by Brad Dobbie.
7728 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7729 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7730 to report unused template errors. Reported by Brad Dobbie.
7731 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7732 nets, bug438. Reported by Vns Blore.
47086495
WS
7733 (verilog-auto-inout-module, verilog-auto-reg)
7734 (verilog-read-decls, verilog-read-sub-decls-sig)
7735 (verilog-signals-edit-wire-reg, verilog-signals-with):
7736 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7737 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7738 "reg" for backwards compatibility presuming Verilog 2001.
7739 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7740 (verilog-preprocess): Fix replication of preprocess output.
7741 Reported by Brad Dobbie.
7742 (verilog-auto-inst-interfaced-ports):
7743 Create verilog-auto-inst-interfaced-ports, bug429.
7744 Reported by Julian Gorfajn.
7745 (verilog-after-save-font-hook)
7746 (verilog-before-save-font-hook): New variable.
7747 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7748 (verilog-save-font-mods): Wrap disabling fontification, reported
7749 by David Rogoff.
7750 (verilog-do-indent, verilog-pretty-declarations-auto)
7751 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7752 Reported by Pierre-David Pfister.
7753 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7754 of class declarations, bug292. Reported by Kevin Heilman.
7755 (verilog-read-decls): Fix 'parameter type' not appearing in
7756 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7757 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7758 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7759 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7760 Reported by David Kravitz.
7761
77622012-05-03 Michael McNamara <mac@mail.brushroad.com>
7763
7764 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7765 assignment with tests in ifs and for loops.
7766 (verilog-extended-complete-re, verilog-complete-reg): Change so
7767 that DPI inport functions don't look like fuction declarations.
7768 (verilog-pretty-expr): Don't line up assignment
7769 operations to the test and increment in if and for loops
7770 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7771 that DPI inport functions don't look like fuction declarations.
47086495 7772
2e51d4b5
KH
77732012-05-03 Kenichi Handa <handa@m17n.org>
7774
7775 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7776 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7777 (Bug#11282).
7778
2bd785a2
SM
77792012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * emacs-lisp/bytecomp.el
7782 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7783 since cconv.el might have introduced :fun-body, internal-make-closure,
7784 and friends for bytecomp to handle (bug#11391).
7785 * custom.el (defcustom): Avoid ((λ ..) ..).
7786
99d27583
SM
77872012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7790
55a71479
JB
77912012-05-02 Juanma Barranquero <lekktu@gmail.com>
7792
7793 * notifications.el (dbus-debug):
7794 * term/linux.el (gpm-mouse-enable):
7795 * term/screen.el (xterm-register-default-colors): Declare.
7796
7b97c764
CY
77972012-05-02 Chong Yidong <cyd@gnu.org>
7798
2bc356d7
CY
7799 * cus-start.el (gc-cons-percentage, exec-suffixes)
7800 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7801 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7802 (make-cursor-line-fully-visible, void-text-area-pointer)
7803 (font-list-limit): Add customization data.
7804
7b97c764
CY
7805 * allout.el (allout-exposure-change-functions)
7806 (allout-structure-added-functions)
7807 (allout-structure-deleted-functions)
7808 (allout-structure-shifted-functions): Rename abnormal hooks from
7809 *-hook, and convert to defcustoms.
5d3385a0
JB
7810 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7811 Convert to defcustoms.
7b97c764
CY
7812 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7813
7814 * allout-widgets.el: Hook callers changed.
7815
90207a15 78162012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7817
7818 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7819 the yanked message in preference to the default value of
7820 buffer-file-coding-system.
7821
90207a15 78222012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7823
5d3385a0
JB
7824 * window.el (display-buffer--action-function-custom-type):
7825 Fix entry.
d9558cad 7826
90207a15 78272012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7828
7829 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7830
d80ac57b
GM
78312012-05-01 Glenn Morris <rgm@gnu.org>
7832
976f7668
GM
7833 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7834
beb83b5a
GM
7835 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7836
d80ac57b
GM
7837 * cus-edit.el (custom-variable-documentation): Simplify with format.
7838
b593d6a9 78392012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7840 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7841
7842 * simple.el (suggest-key-bindings, execute-extended-command):
7843 Move from keyboard.c.
7844
782fbf2a
CY
78452012-05-01 Chong Yidong <cyd@gnu.org>
7846
7847 * follow.el: Eliminate advice.
7848 (set-process-filter, process-filter, sit-for): Advice deleted.
7849 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7850 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7851 Vars deleted.
782fbf2a
CY
7852 (follow-auto): Use a :set function.
7853 (follow-mode): Rewritten. Don't advise process filters.
7854 (follow-switch-to-current-buffer-all, follow-scroll-up)
7855 (follow-scroll-down): Assume follow-mode is bound.
7856 (follow-comint-scroll-to-bottom)
7857 (follow-align-compilation-windows): New functions.
7858 (follow--window-sorter): New function.
7859 (follow-all-followers): Use it to explicitly sort windows by their
7860 positions; don't make assumptions about next-window order.
7861 (follow-windows-start-end, follow-delete-other-windows-and-split)
7862 (follow-calc-win-start): Doc fix.
7863 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7864 vertical-motion unnecessarily.
7865 (follow-adjust-window): New function.
7866 (follow-post-command-hook): Use it.
7867 (follow-call-set-process-filter, follow-call-process-filter)
7868 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7869 (follow-stop-intercept-process-output, follow-generic-filter):
7870 Functions deleted.
7871 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7872 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7873 New functions, replacing advice on scroll-bar-* commands.
87233a14 7874 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7875
7876 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7877 (comint-postoutput-scroll-to-bottom): Use it.
7878 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7879
290af740
GM
78802012-05-01 Glenn Morris <rgm@gnu.org>
7881
7882 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7883 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7884 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7885 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7886 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7887 Remove no-byte-compile setting.
7888
6eac8dc9
SM
78892012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7892 all-completions code to not return a number in the last cdr.
7893
9cc7819c
LL
78942012-04-30 Leo Liu <sdl.web@gmail.com>
7895
7896 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7897 read-only error.
7898
c93b886f
CY
78992012-04-29 Chong Yidong <cyd@gnu.org>
7900
7901 * follow.el (follow-calc-win-end): Rewrite to handle partial
7902 screen lines correctly (Bug#8390).
7903 (follow-avoid-tail-recenter): Minor cleanup.
7904
8b6c19f4
SM
79052012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7906
7907 Avoid the obsolete `assoc' package.
7908 * speedbar.el (speedbar-refresh): Avoid adelete.
7909 (speedbar-file-lists): Simplify and avoid aput.
7910 * man.el (Man--sections, Man--refpages): New vars, replacing
7911 Man-sections-alist and Man-refpages-alist.
7912 (Man-build-section-alist, Man-build-references-alist):
7913 Use them; avoid aput.
7914 (Man--last-section, Man--last-refpage): New vars.
7915 (Man-follow-manual-reference): Use them.
7916 Use the `default' arg of completing-read.
7917 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7918
c5bb7569
CY
79192012-04-27 Chong Yidong <cyd@gnu.org>
7920
d1d2e2e8
CY
7921 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7922
15cd8efd
CY
7923 * startup.el (x-apply-session-resources): New function.
7924
7925 * term/ns-win.el (ns-initialize-window-system):
7926 * term/w32-win.el (w32-initialize-window-system):
7927 * term/x-win.el (x-initialize-window-system): Use it to properly
7928 set menu-bar-mode and other vars from X resources, even if the
7929 initial frame is not a window-system frame (Bug#2299).
7930
c5bb7569
CY
7931 * subr.el (read-key): Avoid running filter function when setting
7932 up temporary tool bar entries (Bug#9922).
7933
a8e7d6d7 79342012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7935
7936 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7937 (Bug#11344)
7938
a8e7d6d7 79392012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7940
7941 * select.el (xselect--encode-string): New function, split from
7942 xselect-convert-to-string.
7943 (xselect-convert-to-string): Use it.
7944 (xselect-convert-to-filename, xselect-convert-to-os)
7945 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7946 returned strings are properly encoded (Bug#11315).
7947
a8e7d6d7 79482012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7949
7950 * simple.el (delete-active-region): Move to killing custom group.
7951
a8e7d6d7 79522012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7953
7954 * progmodes/which-func.el (which-func-current): Quote %
7955 characters for mode-line processing.
7956
578c1d4b 79572012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7958
7959 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7960 reaching eob (Bug#11286).
7961
a8e7d6d7 79622012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7963
7964 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7965 (gdb): Make it buffer-local and init to zero.
7966 (gdb-control-commands-regexp): New variable.
7967 (gdb-send): Don't wrap in "-interpreter-exec console" if
7968 gdb-control-level is positive. Increment gdb-control-level
7969 whenever the command matches gdb-control-commands-regexp, and
7970 decrement it each time the command is "end". (Bug#11279)
7971
a8e7d6d7 79722012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7973
7974 * window.el (adjust-window-trailing-edge, enlarge-window)
7975 (shrink-window, window-resize):
7976 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7977 windows (Bug#11276).
7978
b3608390
CY
79792012-04-27 Chong Yidong <cyd@gnu.org>
7980
7981 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7982 fix "missing prefix" warning. All callers changed.
b3608390 7983
797e6e88
SM
79842012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * emacs-lisp/assoc.el: Move to obsolete/.
7987
e95a67dc
SM
79882012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7989
657c21e4 7990 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7991
7992 * term/ns-win.el (ns-define-service):
7993 * progmodes/pascal.el (pascal-goto-defun):
7994 * progmodes/js.el (js--read-tab):
7995 * progmodes/etags.el (tags-lazy-completion-table):
7996 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7997 * emacs-lisp/ewoc.el (ewoc--wrap):
7998 * emacs-lisp/assoc.el (aput, adelete, amake):
7999 * doc-view.el (doc-view-convert-current-doc):
8000 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8001
cb3e7ae0
CY
80022012-04-26 Chong Yidong <cyd@gnu.org>
8003
dce04f7f
CY
8004 * image.el (image-type-from-buffer): Only return supported image
8005 type (Bug#9045).
8006
cb3e7ae0
CY
8007 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8008 value, for symmetry with diff-end-of-hunk.
8009 (diff-split-hunk, diff-find-source-location)
8010 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8011 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8012 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8013 compute the relevant hunk or file properly (Bug#6005).
8014 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8015
0d42eb3e
SM
80162012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * vc/vc-mtn.el:
8019 * vc/vc-hg.el:
8020 * vc/vc-git.el:
8021 * vc/vc-dir.el:
8022 * vc/vc-cvs.el:
8023 * vc/vc-bzr.el:
8024 * vc/vc-arch.el:
8025 * vc/vc.el: Replace lexical-let by lexical-binding.
8026 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8027 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8028 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8029
f08ae1c9
CY
80302012-04-26 Chong Yidong <cyd@gnu.org>
8031
8b71081d
CY
8032 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8033 (diff-mode-shared-map): Bind it to / and [remap undo].
8034
f08ae1c9
CY
8035 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8036 (ediff-window-setup-function): Use it as the default, to set up
8037 windows based on whether the current frame is graphical (Bug#2138).
8038 (ediff-choose-window-setup-function-automatically): Make obsolete.
8039
8040 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8041
ef24141c
SM
80422012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8043
cc356a5d
SM
8044 * ffap.el: Remove old code for obsolete package.
8045 (ffap-complete-as-file-p): Remove.
8046
b4ff4f1f
SM
8047 Use completion-table-with-quoting for comint and pcomplete.
8048 * comint.el (comint--unquote&requote-argument)
8049 (comint--unquote-argument, comint--requote-argument): New functions.
8050 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8051 (comint-quote-filename): Use regexp-opt-charset.
8052 (comint--common-suffix, comint--common-quoted-suffix)
8053 (comint--table-subvert): Remove.
8054 (comint-unquote-function, comint-requote-function): New vars.
8055 (comint--complete-file-name-data): Use them with
8056 completion-table-with-quoting.
8057 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8058 * pcomplete.el (pcomplete-arg-quote-list)
8059 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8060 (pcomplete-unquote-argument-function): Default to non-nil.
8061 (pcomplete-unquote-argument): Simplify.
8062 (pcomplete--common-quoted-suffix): Remove.
8063 (pcomplete-requote-argument-function): New var.
8064 (pcomplete--common-suffix): New function.
8065 (pcomplete-completions-at-point): Use completion-table-with-quoting
8066 and completion-table-subvert.
8067
79c4eeb4
SM
8068 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8069 (minibuffer--double-dollars): Preserve properties.
8070 (completion--sifn-requote): New function.
8071 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8072
ef24141c
SM
8073 * minibuffer.el: Add support for completion of quoted/escaped data.
8074 (completion-table-with-quoting, completion-table-subvert): New funs.
8075 (completion--twq-try, completion--twq-all): New functions.
8076 (completion--nth-completion): New function.
8077 (completion-try-completion, completion-all-completions): Use it.
8078
784e7d6e
LL
80792012-04-25 Leo Liu <sdl.web@gmail.com>
8080
dd2ac746
SM
8081 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8082 Use compilation-message if available to find real filename.
784e7d6e 8083
07875ee7
CY
80842012-04-25 Chong Yidong <cyd@gnu.org>
8085
8086 * vc/diff-mode.el (diff-setup-whitespace): New function.
8087 (diff-mode): Use it.
8088
8089 * vc/diff.el (diff-sentinel):
8090 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8091 Whitespace mode variables based on diff style (Bug#8612).
8092
5055880d
LL
80932012-04-25 Leo Liu <sdl.web@gmail.com>
8094
daf75653
LL
8095 * progmodes/python.el (python-send-region): Add suffix .py to the
8096 temp file.
8097
5055880d
LL
8098 * files.el (auto-mode-alist): Use javascript-mode instead.
8099
db9b177b
AH
81002012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8101
ef24141c 8102 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8103
090bd7cb 8104 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8105 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8106 references, see Bug#9.
ef24141c 8107 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8108 when receiving a fault reply.
ef24141c 8109 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8110
090bd7cb 8111 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8112 (soap-inspect-simple-type): New function.
db9b177b 8113
090bd7cb 8114 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8115 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8116 (soap-decode-basic-type, soap-encode-basic-type):
8117 support unsignedInt and double basic types.
db9b177b 8118 (soap-resolve-references-for-simple-type)
ef24141c
SM
8119 (soap-parse-simple-type, soap-encode-simple-type): New function.
8120 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8121
090bd7cb 8122 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8123 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8124 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8125 the local name of "soapenc:Array".
8126 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8127 decoding integer, byte and anyURI xsd types.
8128
1fc6097b
CY
81292012-04-25 Chong Yidong <cyd@gnu.org>
8130
8131 * cus-edit.el (custom-buffer-create-internal): Update header text.
8132
afc6df87
EZ
81332012-04-25 Eli Zaretskii <eliz@gnu.org>
8134
8135 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8136 settings on 'system-type', not on 'window-system'. On MS-Windows,
8137 set interactive-mode on in GDB.
8138
dfbd787f
SM
81392012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8142 (ruby-syntax-propertize-regexp): Remove.
8143 (ruby-syntax-propertize-function): Split regexp into chunks.
8144 Match following code directly.
8145
85222d44
DG
81462012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8147
51a8ea2a
DG
8148 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8149 (ruby-syntax-propertize-regexp): New function.
8150 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8151 by a special keyword.
8152
85222d44
DG
8153 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8154 (ruby-syntax-general-delimiters-goto-beg)
8155 (ruby-syntax-propertize-general-delimiters): New functions.
8156 (ruby-syntax-propertize-function): Use them to handle GDL.
8157 (ruby-font-lock-keywords): Move old handling of GDL...
8158 (ruby-font-lock-syntactic-keywords): .. to here.
8159 (ruby-calculate-indent): Adjust indentation for GDL.
8160
b613912b
MA
81612012-04-24 Michael Albinus <michael.albinus@gmx.de>
8162
b5380639
MA
8163 * notifications.el (top): Remove unneeded declarations.
8164 (notifications-specification-version): Change to "1.2".
e43042fe 8165 (notifications-interface, notifications-notify-method)
b613912b
MA
8166 (notifications-close-notification-method): Fix docstring.
8167 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8168 (notifications-notify): Add :action-items, :resident and
8169 :transient hints. Change "image_data" to "image-data" and
8170 "image_path" to "image-path".
b613912b
MA
8171 (notifications-get-capabilities): New defun.
8172
257440aa
LL
81732012-04-24 Leo Liu <sdl.web@gmail.com>
8174
8175 * progmodes/python.el: Move hideshow setup to the end.
8176
b1bac16e
MR
81772012-04-24 Martin Rudalics <rudalics@gmx.at>
8178
8179 * window.el (handle-select-window): Clear echo area since this is
8180 no more done by read_char (Bug#11304).
8181
d81bd059
SM
81822012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8185 and `/ M' to filter-derived-mode.
8186 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8187 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8188 (ibuffer-mark-by-mode): Use default rather than initial-input.
8189 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8190
c4cf6d91
IA
81912012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8192
8193 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8194 (ibuffer-filter-by-derived-mode): New filter.
8195 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8196
7511ded8
CY
81972012-04-23 Andreas Politz <politza@fh-trier.de>
8198
8199 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8200
775c916b
CY
82012012-04-23 Chong Yidong <cyd@gnu.org>
8202
8203 * cus-edit.el (customize-apropos, customize-apropos-options):
8204 Disable matching of non-option variables (Bug#11176).
8205 (customize-option, customize-option-other-window)
8206 (customize-changed-options): Doc fix.
8207 (customize-apropos-options, customize-apropos-faces)
8208 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8209
8210 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8211 Fix word list splitting (Bug#11132).
46c71e23
CY
8212 (apropos-symbol, apropos-keybinding, apropos-label)
8213 (apropos-property, apropos-function-button)
8214 (apropos-variable-button, apropos-misc-button): New faces.
8215 (apropos-symbol-face, apropos-keybinding-face)
8216 (apropos-label-face, apropos-property-face, apropos-match-face):
8217 Variables removed (Bug#8396).
8218 (apropos-library-button, apropos-format-plist, apropos-print)
8219 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8220
2df41f9c
MA
82212012-04-23 Michael Albinus <michael.albinus@gmx.de>
8222
8223 * net/xesam.el (xesam-mode-map): Use let-bound map in
8224 initialization. (Bug#11292)
8225
da00640a
AM
82262012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8227
8228 Preserve ispell session localwords when switching back to
8229 original buffer.
8230
090bd7cb
JB
8231 * textmodes/ispell.el (ispell-buffer-session-localwords):
8232 New buffer-local variable to hold buffer session localwords.
ed9265fc 8233 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8234 localwords.
8235 (ispell-command-loop, ispell-change-dictionary)
8236 (ispell-buffer-local-words): Preserve session localwords when
8237 needed.
8238
090bd7cb
JB
8239 * textmodes/flyspell.el (flyspell-process-localwords)
8240 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8241
f621ccf5
AM
82422012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8243
090bd7cb
JB
8244 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8245 using obsolete `translation-table-for-input'.
ef24141c
SM
8246 (ispell-word, ispell-process-line, ispell-complete-word):
8247 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8248
c2d1019e
CY
82492012-04-22 Chong Yidong <cyd@gnu.org>
8250
8251 * cus-edit.el (custom-variable-menu)
8252 (custom-variable-reset-saved, custom-face-menu)
8253 (custom-face-reset-saved): If there is no saved value, make the
8254 "reset-saved" operation bring back the default (Bug#9509).
8255 (custom-face-state): Properly detect themed faces.
8256
eeddc531
CY
8257 * faces.el (face-spec-set): Stop supporting deprecated form of
8258 third arg.
8259
dcbf5805
MA
82602012-04-22 Michael Albinus <michael.albinus@gmx.de>
8261
8262 Move functions from C to Lisp. Make non-blocking method calls
8263 the default. Implement further D-Bus standard interfaces.
8264
ef24141c
SM
8265 * net/dbus.el (dbus-message-internal): Declare function.
8266 Remove unneeded function declarations.
dcbf5805
MA
8267 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8268 (dbus-message-type-method-return, dbus-message-type-error)
8269 (dbus-message-type-signal): Declare variables. Remove local
8270 definitions.
8271 (dbus-interface-dbus, dbus-interface-peer)
8272 (dbus-interface-introspectable, dbus-interface-properties)
8273 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8274 Adapt docstring.
8275 (dbus-interface-objectmanager): New defconst.
8276 (dbus-call-method, dbus-call-method-asynchronously)
8277 (dbus-send-signal, dbus-method-return-internal)
8278 (dbus-method-error-internal, dbus-register-service)
8279 (dbus-register-signal, dbus-register-method): New defuns, moved
8280 from dbusbind.c
8281 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8282 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8283 New defuns.
dcbf5805
MA
8284 (dbus-call-method-non-blocking): Make it an obsolete function.
8285 (dbus-unregister-object, dbus-unregister-service)
8286 (dbus-handle-event, dbus-register-property)
8287 (dbus-property-handler): Obey the new structure of
8288 `bus-registered-objects'.
8289 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8290 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8291 Use `dbus-call-method'.
8292
cf20dee0
CY
82932012-04-22 Chong Yidong <cyd@gnu.org>
8294
8295 * cus-edit.el (custom-commands, custom-reset-menu)
8296 (Custom-reset-standard): Tweak labels.
8297 (custom-reset-button-menu): Change default to t.
8298 (custom-buffer-create-internal): For the custom-reset-button-menu
8299 case, put the revert button first.
8300 (custom-group-subtitle): New face.
8301 (custom-group-value-create): Align docstring to a specific column.
8302
8303 * wid-edit.el (widget-documentation-link-add): Don't handle
8304 indentation in this function.
8305 (widget-documentation-string-indent-to): New function.
8306 (widget-documentation-string-value-create): Use it.
8307
8308 * autorevert.el (auto-revert):
8309 * epg-config.el (epg):
8310 * ibuffer.el (ibuffer):
8311 * mpc.el (mpc):
8312 * ses.el (ses):
8313 * eshell/eshell.el (eshell):
8314 * net/ange-ftp.el (ange-ftp):
8315 * progmodes/ebnf2ps.el (postscript):
8316 * progmodes/flymake.el (flymake):
8317 * progmodes/prolog.el (prolog):
8318 * progmodes/verilog-mode.el (verilog-mode):
8319 * progmodes/which-func.el (which-func):
8320 * term/xterm.el (xterm):
8321 * textmodes/picture.el (picture):
8322 * textmodes/tildify.el (tildify):
8323 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8324 customization buffers.
8325
583e23bd
AM
83262012-04-22 Alan Mackenzie <acm@muc.de>
8327
8328 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8329 Adding a ) can hide the resulting (..) from searches. Fix it.
8330 Bound the backward search to the position of the existing (.
8331
7dd51bf1
JB
83322012-04-21 Juanma Barranquero <lekktu@gmail.com>
8333
8334 * progmodes/verilog-mode.el (verilog-mode): Check whether
8335 which-func-modes is t before adding verilog-mode.
8336 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8337
d64a438f
LL
83382012-04-21 Leo Liu <sdl.web@gmail.com>
8339
7dd51bf1 8340 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8341
081e8d65
MV
83422012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8343
8344 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8345 filling of the last column of a table (Bug#5635).
8346 (woman-find-next-control-line): New arg, specifying an additional
8347 regexp component for the control line.
8348 (woman2-roff-buffer): Use it.
8349 (woman-break-table): New function.
8350 (woman2-TS): Use it.
8351
83522012-04-21 Chong Yidong <cyd@gnu.org>
8353
8354 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8355 (woman-horizontal-escapes, woman-negative-vertical-space)
8356 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8357 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8358
ed571ccb
SM
83592012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * minibuffer.el (completion-file-name-table): Complete user names.
8362
39773899
LL
83632012-04-20 Leo Liu <sdl.web@gmail.com>
8364
8365 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8366 and pcase-let*.
8367
de6ff46d
CY
83682012-04-20 Chong Yidong <cyd@gnu.org>
8369
8370 * server.el (server-execute): Respect initial-buffer-choice if it
8371 is a string and there are no files to open (Bug#2825).
8372 (server-create-window-system-frame, server-create-tty-frame):
8373 Don't switch buffers here.
2d0e8e61
CY
8374 (server-process-filter): Only try to open a window system frame if
8375 compiled with graphical support (Bug#8314).
de6ff46d 8376
54071013
DN
83772012-04-20 Dan Nicolaescu <dann@gnu.org>
8378
8379 * battery.el (battery-echo-area-format): Display remaining time
8380 for sysfs backend too (Bug#11269).
8381 (battery-linux-sysfs): Fix conditional for the charge.
8382
f30d612a
CY
83832012-04-20 Chong Yidong <cyd@gnu.org>
8384
c07a4c0b 8385 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8386 (gdb-inferior-io--init-proc): New function.
8387 (gdb-init-1): Use it.
8388 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8389 responsible for allocating a new pty and hooking it to gdb when
8390 the old pty gets an EIO due to process exit.
8391 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8392 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8393 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8394
2116e93c
EZ
83952012-04-20 Eli Zaretskii <eliz@gnu.org>
8396
8397 * window.el (window-min-size, window-sizable, window-min-delta)
8398 (window-max-delta, window--resizable, window-resizable)
8399 (window-total-size, window-full-height-p, window-full-width-p)
8400 (window-in-direction, window--resize-mini-window, window-resize)
8401 (window--resize-child-windows-normal)
8402 (window--resize-child-windows, window--resize-siblings)
8403 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8404 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8405
c07a4c0b 84062012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8407
ef24141c
SM
8408 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8409 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8410 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8411 pty process (Bug#11273).
8412 (gdb-update): New arg to suppress talking to the gdb process.
8413 (gdb-done-or-error): Use it.
8414 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8415 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8416 sentinel not being called.
8417
8418 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8419
d02766ab
CY
8420 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8421
c07a4c0b 84222012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8423
8424 * net/network-stream.el (open-network-stream): Doc fix.
8425
c07a4c0b 84262012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8427
8428 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8429
c07a4c0b 84302012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8431
8432 Ensure searching for keywords is case sensitive.
8433
8434 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8435 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8436 (c-defun-name, c-mark-function, c-cpp-define-name)
8437 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8438 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8439
ef24141c
SM
8440 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8441 Bind case-fold-search to nil.
f0f6bc35 8442
c07a4c0b 84432012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8444
8445 * mail/sendmail.el (mail-bury): Call return action with the right
8446 Rmail buffer (Bug#11242).
8447
9a864fa2
CY
8448 * server.el (server-process-filter): Handle corner case where both
8449 tty and nowait options are present (Bug#11102).
8450
539aa513
EZ
84512012-04-20 Eli Zaretskii <eliz@gnu.org>
8452
8453 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8454 (top level): Put into the executable the ident-style '$Id:' tag on
8455 windows-nt as well.
539aa513 8456
cfc7d5da
SM
84572012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * electric.el (electric-indent-post-self-insert-function): Check that
8460 electric-indent-mode is enabled in current buffer.
8461
5b01685c
JB
84622012-04-19 Juanma Barranquero <lekktu@gmail.com>
8463
8464 * imenu.el (imenu-progress-message): Restore; it is "used" in
8465 erc/erc-imenu.el and net/snmp-mode.el.
8466
4d6769e1
JB
84672012-04-19 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8470 (mouse-avoidance-nudge-mouse): Remove unused binding.
8471
8472 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8473
8474 * descr-text.el (describe-char):
8475 * progmodes/python.el (python-describe-symbol):
8476 Don't call `toggle-read-only', set `buffer-read-only'.
8477
8478 * imenu.el (imenu-default-goto-function): Mark unused args.
8479 (imenu-progress-message): Remove obsolete macro; all callers changed.
8480
8481 * subr.el (keymap-canonicalize): Remove unused binding.
8482 (read-passwd): Mark unused arg.
8483
8484 * tutorial.el (tutorial--display-changes): Remove unused binding.
8485 (tutorial--save-tutorial-to): Remove unused variable.
8486
8487 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8488 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8489 (package-generate-autoloads, package-menu--generate)
8490 (package-menu--find-upgrades): Remove unused bindings.
8491
8492 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8493 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8494 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8495 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8496 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8497 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8498 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8499 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8500 (cua-delete-char-rectangle): Mark unused args.
8501 (cua-align-rectangle): Remove unused binding.
8502
8503 * mail/rmail.el (compilation--message->loc)
8504 (epa--find-coding-system-for-mime-charset): Declare.
8505
8506 * net/dbus.el (dbus-register-service): Declare.
8507 (dbus-name-owner-changed-handler): Remove unused binding.
8508
8509 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8510 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8511 (nxml-scan-backward-within): Mark unused arg.
8512 (nxml-dynamic-markup-word): Remove unused binding.
8513
8514 * mouse.el (mouse-menu-major-mode-map):
8515 * emacs-lisp/authors.el (authors-scan-change-log)
8516 (authors-add-to-author-list):
8517 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8518 * emacs-lisp/smie.el (smie-auto-fill):
8519 * mail/sendmail.el (mail-bury):
8520 * mail/unrmail.el (unrmail):
8521 * net/tls.el (open-tls-stream):
8522 * textmodes/picture.el (picture-mouse-set-point):
8523 Remove unused bindings.
8524
8c8fc5df
MA
85252012-04-19 Michael Albinus <michael.albinus@gmx.de>
8526
8527 * net/tramp.el (tramp-action-password): Let-bind
8528 `enable-recursive-minibuffers' to t.
8529
a77b0ac9
SS
85302012-04-18 Sam Steingold <sds@gnu.org>
8531
8532 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8533 instead of 'string to accommodate values like [f11].
8534 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8535 * progmodes/gdb-mi.el: Likewise.
8536
12a106a9
LL
85372012-04-18 Leo Liu <sdl.web@gmail.com>
8538
8539 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8540 current buffer.
8541 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8542 LOCAL is nil.
8543
bc6494ef
CY
85442012-04-18 Chong Yidong <cyd@gnu.org>
8545
8546 * simple.el (line-move): Use forward-line if in batch mode
8547 (Bug#11053).
8548
c09c46b2
CS
85492012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8550
8551 * files.el (after-find-file): Do not try to add a final newline if
8552 the buffer is read-only (Bug#11156).
8553
5f6530ea
RS
85542012-04-17 Richard Stallman <rms@gnu.org>
8555
8556 * mail/rmail.el (rmail-start-mail):
8557 Pass (rmail-mail-return...) for the return-action.
8558 Pass (rmail-yank-current-message...) for the yank-action.
8559 (rmail-yank-current-message): New function.
8560 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8561 (rmail-reply): Likewise.
8562 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8563
8564 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8565 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8566 buffer, not newbuf.
8567
197b6f3c
JB
85682012-04-17 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * server.el (server-ensure-safe-dir): Simplify.
8571
2311d8e5 85722012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8573
2311d8e5
GM
8574 * emacs-lisp/smie.el: Provide smarter auto-filling.
8575 (smie-auto-fill): New function.
8576 (smie-setup): Use it.
98fb480e 8577
2311d8e5
GM
8578 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8579
85802012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8581
8582 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8583 (comment-indent): Use it.
8584
2311d8e5 85852012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8586
8587 * ses.el: The overall change is to add cell renaming, that is
8588 setting fancy names for cell symbols other than name matching
8589 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8590 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8591 (ses-create-cell-variable): New defun.
2311d8e5 8592 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8593 (ses-relocate-formula): Relocate formulas only for cells the
8594 symbols of which are not renamed, i.e. symbols whose names do not
8595 match regexp "\\`[A-Z]+[0-9]+\\'".
8596 (ses-relocate-all): Relocate values only for cells the symbols of
8597 which are not renamed.
8598 (ses-load): Create cells variables as the (ses-cell ...) are read,
8599 in order to check row col consistency with cell symbol name only
8600 for cells that are not renamed.
8601 (ses-replace-name-in-formula): New defun.
8602 (ses-rename-cell): New defun.
4bdf2ad2 8603
fc72b15c
PO
86042012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8605
8606 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8607 New option (bug#11118).
8608 (perl-calculate-indent): Respect it.
8609
12e10e61
GM
86102012-04-17 Glenn Morris <rgm@gnu.org>
8611
8612 * dired-aux.el (dired-mark-read-string): Doc fix.
8613
30009afd
DA
86142012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8615
8616 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8617 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8618
41f03f4d
GM
86192012-04-17 Glenn Morris <rgm@gnu.org>
8620
8621 * mouse.el (mouse-drag-track):
8622 * speedbar.el (speedbar-frame-mode):
8623 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8624
f45f90f3
LL
86252012-04-16 Leo Liu <sdl.web@gmail.com>
8626
8627 * progmodes/python.el: Trivial cleanup.
8628
94ee8db5
GM
86292012-04-16 Glenn Morris <rgm@gnu.org>
8630
121b8917
GM
8631 * vc/vc.el (vc-string-prefix-p):
8632 * vc/pcvs-util.el (cvs-string-prefix-p):
8633 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8634 * mpc.el (mpc-string-prefix-p):
8635 Make all of these into obsolete aliases for string-prefix-p.
8636 Update callers.
8637 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8638
1197ecfa
GM
8639 * textmodes/two-column.el: Move custom options to the start.
8640 (frame-width): Remove compat definition.
8641 (2C-associate-buffer, 2C-dissociate):
8642 Use with-current-buffer rather than save-excursion.
8643 (2C-dissociate): Force a mode-line update.
8644 (2C-autoscroll): Use ignore-errors.
8645
099e7202
GM
8646 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8647 Autoload trivia.
8648
bf350d6a
GM
8649 * emacs-lisp/cl-extra.el (*random-state*):
8650 Remove unnecessary declaration.
8651
0e829eab
GM
8652 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8653
e3ad7552
GM
8654 * play/cookie1.el (cookie-snarf):
8655 Give an explicit error if input file cannot be read.
8656
68892d27
GM
8657 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8658
20f0c46d
GM
8659 * progmodes/perl-mode.el (c-macro-expand):
8660 Remove unnecessary autoload (it is in loaddefs.el).
8661
5a0978ce
GM
8662 * textmodes/picture.el (picture-desired-column)
8663 (picture-update-desired-column): Convert comments to doc-strings.
8664 (picture-substitute): Remove function.
8665 (picture-mode-map): Initialize in the defvar.
8666
6b955486
GM
8667 * woman.el: Remove eval-after-load for tar-mode.
8668 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8669 (woman-tar-extract-file): Autoload it.
8670
94ee8db5
GM
8671 * frame.el (automatic-hscrolling): Make this alias obsolete.
8672
177eca34
AM
86732012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8674
090bd7cb 8675 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8676 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8677 (ispell-dictionary-base-alist): Revert to original XEmacs
8678 friendly version for default. [:alpha:] will be added in
090bd7cb 8679 `ispell-set-spellchecker-params' if needed.
177eca34 8680
c505aaeb
CY
86812012-04-16 Chong Yidong <cyd@gnu.org>
8682
b19dd9d1 8683 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8684 (imagemagick-register-types): Use it.
8685 (imagemagick-types-inhibit): Add :set function. Allow new value
8686 of t to inhibit all types.
8687
8688 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8689 so we can preload it.
8690
8691 * loadup.el (fboundp): Preload regexp-opt, needed by
8692 imagemagick-register-types.
8693
60efac0f
CY
86942012-04-15 Chong Yidong <cyd@gnu.org>
8695
8696 * frame.el (scrolling): Remove nearly unused customization group.
8697
8698 * scroll-all.el (scroll-all-mode): Move to windows group.
8699
5dd1713e
CY
87002012-04-15 Chong Yidong <cyd@gnu.org>
8701
8702 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8703
e6fd457e
CY
87042012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8707 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8708
e153c136
GM
87092012-04-15 Glenn Morris <rgm@gnu.org>
8710
8711 * simple.el (process-file-side-effects): Doc fix.
8712
e6fd457e 87132012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8714
8715 * international/mule-cmds.el (set-language-environment): Doc fix.
8716
3603c3b1
JB
87172012-04-14 Juanma Barranquero <lekktu@gmail.com>
8718
8719 * server.el (server-auth-key, server-generate-key): Doc fixes.
8720 (server-get-auth-key): Doc fix. Use `string-match-p'.
8721 (server-start): Reflow docstring.
8722
e6de100c
LI
87232012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8724
8725 * server.el (server-generate-key): `called-interactively-p'
8726 requires a parameter.
8727
29734c21
MN
87282012-04-14 Michal Nazarewicz <mina86@mina86.com>
8729
8730 * server.el (server-auth-key): New variable.
75f1671a 8731 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8732 (server-start): Use the new variable and functions to allow
8733 setting a permanent server key (bug#9423).
8734
d65c9521
LL
87352012-04-14 Leo Liu <sdl.web@gmail.com>
8736
8737 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8738
5ae255c7
PE
87392012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8740
8741 Spelling fixes.
8742 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8743 Emacs uses American spelling.
8744
d5e6342e
JB
87452012-04-14 Juanma Barranquero <lekktu@gmail.com>
8746
8747 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8748 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8749 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8750 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8751
ab036cd7
SM
87522012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * progmodes/which-func.el (which-func-modes): Change default.
8755
35dc09a1 87562012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8757
8758 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8759 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8760
35dc09a1 87612012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8762
8763 * custom.el (custom-theme-set-variables): Doc fix.
8764
35dc09a1 87652012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8766
8767 * international/mule.el (set-auto-coding-for-load): Doc fix.
8768
35dc09a1 87692012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8770
35dc09a1
GM
8771 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8772 imenu work again for Objective C Mode. Correct the *-index values,
8773 these having been disturbed by a previous change in 2011-08.
57f845ee 8774
0de3da9f
AM
8775 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8776 Correct two search limits.
8777
35dc09a1 87782012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8779
8780 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8781
35dc09a1 87822012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8783
8784 * international/characters.el: Fix sorting.
8785
35dc09a1 87862012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8787
8788 * international/characters.el: Add more missing Latin case pairs.
8789
35dc09a1 87902012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8791
8792 * files.el (dir-locals-set-class-variables): Doc fix.
8793
35dc09a1 87942012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8795
3f1b5bf8
EZ
8796 * international/characters.el: Add set-case-syntax-pair call for
8797 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8798 counterpart. (Bug#11209)
8799
9f847f41
EZ
8800 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8801
35dc09a1 88022012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8803
8804 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8805
35dc09a1 88062012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8807
35dc09a1
GM
8808 * textmodes/ispell.el (ispell-dictionary-base-alist):
8809 Add data for Hebrew.
e2627d21 8810
35dc09a1 88112012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8812
35dc09a1
GM
8813 * net/rcirc.el (rcirc-cmd-quit):
8814 Revert 2012-03-18 change (Bug#11192).
5c14e333 8815
35dc09a1 88162012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8817
8818 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8819
35dc09a1 88202012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8821
4517fe3a
SM
8822 * minibuffer.el (completion-in-region-mode-map):
8823 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8824
b472a594
VD
88252012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8826
8827 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8828
09b95ce3
MY
88292012-04-13 Masatake YAMATO <yamato@redhat.com>
8830
8831 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8832 to allow `C-M-f' and `C-M-b' to move to the nearest path
8833 separator (bug#9511).
8834
4b63a9ca
LI
88352012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8836
8837 * avoid.el: Require cl when compiling. And also move the
8838 `provide' to the end.
8839
7b55b8bf
TV
88402012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8841
8842 * avoid.el (mouse-avoidance-banish-position): New variable.
8843 (mouse-avoidance-banish-destination): Use it (bug#10165).
8844
adedaa1f
LL
88452012-04-13 Leo Liu <sdl.web@gmail.com>
8846
8847 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8848
70e74021
KB
88492012-04-13 Ken Brown <kbrown@cornell.edu>
8850
8851 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8852 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8853 (browse-url-filename-alist): For the same reason, don't modify
8854 file:// URLs on Cygwin.
8855
e75e89ba
SM
88562012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8859 the region on shift if the binding is already shifted (bug#11221).
8860
82f289a4
GM
88612012-04-12 Glenn Morris <rgm@gnu.org>
8862
8863 * mail/mailpost.el: Move to obsolete/.
8864
d333dc4c
DA
88652012-04-12 Drew Adams <drew.adams@oracle.com>
8866
8867 * imenu.el (imenu--generic-function): Ignore invisible definitions
8868 (bug#10123).
8869
0d15b5ba
VD
88702012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8871
8872 * hexl.el (hexl-bits): New variable.
8873 (hexl-options): Mention the variable in the doc string.
75f1671a 8874 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8875 (hexl-mode): Mention the new variable.
75f1671a
JB
8876 (hexl-mode, hexl-current-address, hexl-current-address):
8877 Use the displen.
0d15b5ba
VD
8878 (hexl-ascii-start-column): New function.
8879 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8880 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8881
64a440db
AM
88822012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8883
8884 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8885 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8886 the encoding, as expected by hunspell.
8887
6decb6c2
SM
88882012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * battery.el (battery--linux-sysfs-regexp): New const.
8891 (battery-status-function): Use it. Remove yeeloong special case.
8892 (battery-yeeloong-sysfs): Remove.
8893 (battery-echo-area-format): Remove yeeloong special case.
8894
088be6fb
SM
88952012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8896
6622e416
SM
8897 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8898 Reported by Noah Friedman.
8899
088be6fb
SM
8900 * subr.el (read-passwd): Use read-string.
8901
b49f886e
LMI
89022012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8903
8904 * vcursor.el (vcursor-move): Increase the priority of the overlay
8905 (bug#9663).
8906
a63067fc
DD
89072012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8908
8909 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8910 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8911
ac3cf14a
WS
89122012-04-11 William Stevenson <yhvh2000@gmail.com>
8913
8914 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8915 define-minor-mode (bug#10760).
8916
c4fc691b 89172012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8918
4d6769e1 8919 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8920 that directories matching `grep-find-ignored-files' won't be
8921 pruned (bug#10351).
8922
af23e2e5
CY
89232012-04-11 Chong Yidong <cyd@gnu.org>
8924
8925 * startup.el (command-line): Remove support for long-obsolete
8926 variable font-lock-face-attributes.
8927
ab7ce8c1
GM
89282012-04-11 Glenn Morris <rgm@gnu.org>
8929
8930 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8931
de8c03dc
SM
89322012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * window.el (window--state-get-1): Obey window-point-insertion-type.
8935
050cc68b
LB
89362012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8937
8938 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8939 to previous function when point is on the first character of a
75f1671a 8940 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8941
a38c310c
GM
89422012-04-11 Glenn Morris <rgm@gnu.org>
8943
effed0c2
GM
8944 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8945 not just file-errors.
8946
a38c310c
GM
8947 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8948 (vc-bzr-sha1): Use internal sha1.
8949
0221e323
SM
89502012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8951
8952 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8953
43956923
SG
89542012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8955
8956 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8957 that start in the middle of the line (bug#10496).
8958
6a8c9eaf
DN
89592012-04-10 Dan Nicolaescu <dann@gnu.org>
8960
8961 * battery.el (battery-linux-proc-acpi): Only one battery is
8962 discharged at a time, but that seems to confuse battery.el when
8963 computing `rate-type' for the battery not being discharged
8964 (bug#10332).
8965
1930bf5d
SM
89662012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8967
2a718f6f
SM
8968 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8969
599430d0
SM
8970 * international/quail.el: Use dolist and simplify.
8971 (quail-define-package, quail-update-keyboard-layout)
8972 (quail-define-rules): Use dolist.
8973 (quail-insert-kbd-layout, quail-get-translation): CSE.
8974
a2754b6c
SM
8975 * tmm.el: Use dolist, remove left over hook.
8976 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8977 Use dolist.
8978 (calendar-load-hook): Don't mess with it.
8979
1930bf5d
SM
8980 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8981 Use derived-mode-p. Run the diff asynchronously.
8982
9f67961c
LMI
89832012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8984
8985 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8986
2a8ce227
JB
89872012-04-10 Juanma Barranquero <lekktu@gmail.com>
8988
8989 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8990 (list-dynamic-libraries--loaded): New function.
8991 (list-dynamic-libraries--refresh): Use it.
8992
8f33b5f8
NW
89932012-04-10 Nathan Weizenbaum <nweiz@google.com>
8994
1930bf5d
SM
8995 * progmodes/python.el (python-fill-paragraph):
8996 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8997 disabled (bug#7018).
8998
b12f0439
L
89992012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9000
1930bf5d 9001 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9002 DOS/MS Windows for the Baltic languages. There are still plenty
9003 of texts written in this encoding/codepage (bug#6519).
b12f0439 9004
57c3bd01
GM
90052012-04-10 Glenn Morris <rgm@gnu.org>
9006
9007 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9008 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9009
6c3eab30
FA
90102012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9011
1930bf5d 9012 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9013 next-line "n" and previous-line "p" in order to make recentf more
9014 consistent with ibuffer, dired or org-mode (bug#9387).
9015
24d78a88
LMI
90162012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9017
bc72b5d9
LMI
9018 * image.el (put-image): Return the overlay created instead of the
9019 optional input string (bug#7834). Note that this may break code
9020 that is (for some reason or other) depending on `put-image'
9021 returning the string.
9022
bd2dba5a
LMI
9023 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9024
74beb59f
LMI
9025 * simple.el (zap-to-char): Allow zapping using input methods
9026 (bug#1580).
9027
24d78a88
LMI
9028 * textmodes/fill.el (fill-region): Leave point and mark where they
9029 were before filling (bug#5399).
9030
263f20cd
GM
90312012-04-09 Glenn Morris <rgm@gnu.org>
9032
9033 * version.el (emacs-bzr-get-version):
9034 Handle lightweight checkouts of local branches.
9035
58d1f797
AS
90362012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9037
263f20cd 9038 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9039
b4d3bc10
CY
90402012-04-09 Chong Yidong <cyd@gnu.org>
9041
9042 * custom.el (custom-variable-p): Return nil for non-symbol
9043 arguments instead of signaling an error.
9044 (user-variable-p): Obsolete alias for custom-variable-p.
9045
9046 * apropos.el (apropos-variable):
9047 * files-x.el (read-file-local-variable):
9048 * simple.el (set-variable):
9049 * woman.el (woman-mini-help):
9050 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9051
fd06db5d
GM
90522012-04-09 Glenn Morris <rgm@gnu.org>
9053
e5fcdb5e
GM
9054 * startup.el (normal-top-level): Don't look for leim-list.el
9055 in places where it will not be found. (Bug#910)
9056
fd06db5d
GM
9057 * international/mule-cmds.el (set-default-coding-systems):
9058 * files.el (normal-mode):
9059 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9060 This function was removed with ucs-tables.el in 2008.
9061
b39bb7e1
EZ
90622012-04-08 Eli Zaretskii <eliz@gnu.org>
9063
9064 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9065 ispell-encoding8-command to "-i", without a trailing space.
9066 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9067 separate command-line arguments, to specify the encoding, since
9068 that's how hunspell expects it.
9069
5c5b8e23
GM
90702012-04-08 Glenn Morris <rgm@gnu.org>
9071
9072 * loadup.el: Load bindings before cus-start.
9073 This reduces somewhat the number of "rogue" settings in emacs -Q.
9074
a1ed8b05
GM
90752012-04-07 Glenn Morris <rgm@gnu.org>
9076
9077 * version.el (emacs-bzr-get-version): New function.
dfae128a 9078 (emacs-bzr-version): New variable.
a1ed8b05
GM
9079 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9080 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9081
b142f158
EZ
90822012-04-07 Eli Zaretskii <eliz@gnu.org>
9083
dfae128a
GM
9084 * international/uni-bidi.el, international/uni-category.el:
9085 * international/uni-combining.el, international/uni-decimal.el:
9086 * international/uni-decomposition.el, international/uni-digit.el:
9087 * international/uni-lowercase.el, international/uni-mirrored.el:
9088 * international/uni-name.el, international/uni-numeric.el:
9089 * international/uni-titlecase.el, international/uni-uppercase.el:
9090 Update for Unicode 6.1.
b142f158 9091
9078ead6
EZ
90922012-04-07 Eli Zaretskii <eliz@gnu.org>
9093
9094 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9095
f23d2c7d
LMI
90962012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9097
9098 * window.el (shrink-window): Mention the `window-min-height'
9099 variable in the doc string.
9100
0a0a3573
BG
91012012-04-05 Bastien Guerry <bzg@altern.org>
9102
9103 * color.el (color-lighten-name): Fix typo.
9104
e5248ac9
SM
91052012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9106
9107 * server.el (server--on-display-p): New function.
9108 (server--on-display-p): Use it.
9109
b4243e22
GV
91102012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9111
9112 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9113 (bug#11145).
9114
305d9f44
SM
91152012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * comint.el (comint--common-quoted-suffix): Check string boundary
9118 before comparing (bug#11158).
9119 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9120
3d439cd1
CY
91212012-04-04 Chong Yidong <cyd@gnu.org>
9122
321cc491
CY
9123 * minibuffer.el (completion-extra-properties): Doc fix.
9124
3d439cd1
CY
9125 * subr.el (delayed-warnings-hook): Doc fix.
9126
2d562c0f
DU
91272012-04-04 Daiki Ueno <ueno@unixuser.org>
9128
9129 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9130 selection (Bug#11159).
9131 (epa-insert-keys): Inform that the default public key will be
9132 exported if no key is selected.
9133
4443f204
RS
91342012-04-04 Richard Stallman <rms@gnu.org>
9135
9136 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9137
529c06b6
CY
91382012-04-03 Chong Yidong <cyd@gnu.org>
9139
9140 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9141 mail-insert-file, not its obsolete alias mail-attach-file.
9142
66b907dc
MA
91432012-04-03 Michael Albinus <michael.albinus@gmx.de>
9144
9145 * notifications.el (notifications-notify): Fix docstring.
9146
c0ea195d
GM
91472012-04-02 Glenn Morris <rgm@gnu.org>
9148
9149 * emacs-lisp/authors.el (authors-aliases): Another addition.
9150
5ca64e00
MA
91512012-04-02 Michael Albinus <michael.albinus@gmx.de>
9152
9153 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9154 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9155 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9156
42ee526b
CY
91572012-04-01 Chong Yidong <cyd@gnu.org>
9158
9159 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9160 Handle root directory properly.
9161 (copy-directory): Caller changed.
9162
9163 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9164 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9165
0b021094
GM
91662012-03-31 Glenn Morris <rgm@gnu.org>
9167
40f86458
GM
9168 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9169
7019c177
GM
9170 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9171
a1daddd6
GM
9172 * calendar/calendar.el (calendar-window-list)
9173 (calendar-hide-window): Restore. (Bug#11140)
9174 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9175
0b021094
GM
9176 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9177
40311efc
TV
91782012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9179
9180 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9181 Check if file is a symlink (Bug#10489).
9182
9183 * files.el (copy-directory): Likewise.
9184
5319014e
CY
91852012-03-30 Chong Yidong <cyd@gnu.org>
9186
9187 * image.el (imagemagick-types-inhibit)
9188 (imagemagick-register-types): Doc fix.
9189
935d1290
AM
91902012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9191
090bd7cb 9192 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9193 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9194 and treats ~word as ordinary words in pipe mode.
935d1290 9195
61c6e8fd
GM
91962012-03-30 Glenn Morris <rgm@gnu.org>
9197
9198 * tutorial.el (help-with-tutorial): Ensure local variables don't
9199 happen to make the buffer read-only. (Bug#11127)
9200
81fdff00
SM
92012012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9204 (perl-calculate-indent): Return `noindent' in strings.
9205
6e7a6ec0
SS
92062012-03-28 Sam Steingold <sds@gnu.org>
9207
9208 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9209 instead of the broken adhockery which does not prevent calendar
9210 buffers from being displayed at random after exit.
9211 (calendar-window-list, calendar-hide-window): Remove the broken
9212 adhockery.
9213
fee88ca0
GM
92142012-03-28 Glenn Morris <rgm@gnu.org>
9215
9216 * replace.el (query-replace-map): Doc fix.
9217
38de3354
AS
92182012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9219
9220 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9221 contents. (Bug#11109)
9222
b973155e
SM
92232012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9224
9225 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9226 (bug#11077).
9227 (avl-tree--check, avl-tree--check-node): New funs.
9228
dcb6e7b3
MR
92292012-03-27 Martin Rudalics <rudalics@gmx.at>
9230
9231 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9232 (switch-to-prev-buffer, switch-to-next-buffer):
9233 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9234 showing a buffer already is done on the same frame.
9235
b4fa35fa
GM
92362012-03-27 Glenn Morris <rgm@gnu.org>
9237
9238 * startup.el (mail-host-address): Doc fix.
9239
f9210e18
SM
92402012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9243 than 197 variables.
9244
c0bf7753
AF
92452012-03-26 Ami Fischman <ami@fischman.org>
9246
9247 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9248
33da7b16
GM
92492012-03-26 Glenn Morris <rgm@gnu.org>
9250
02243d9d
GM
9251 * files.el (save-buffers-kill-emacs): Doc fix.
9252
33da7b16
GM
9253 * startup.el (normal-top-level, command-line, command-line-1):
9254 Give them doc strings.
9255
e5a69fd0
EZ
92562012-03-25 Eli Zaretskii <eliz@gnu.org>
9257
9258 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9259 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9260
9a69676a
CY
92612012-03-25 Chong Yidong <cyd@gnu.org>
9262
4125cb8b
CY
9263 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9264 theme if it was previously enabled before (Bug#11031).
9265
dd470960
CY
9266 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9267 spec with custom-face-get-current-spec if its :shown-value is not
9268 determined yet (Bug#9337).
4125cb8b 9269 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9270
9a69676a
CY
9271 * button.el (button-at): Minor addition to docstring.
9272
6e7e90fa
SL
92732012-03-24 Simon Leinen <simon.leinen@gmail.com>
9274
9275 * vc/vc.el (vc-merge): Fix a prompt.
9276
f06e2758
CY
92772012-03-24 Chong Yidong <cyd@gnu.org>
9278
9279 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9280 point (Bug#9623).
9281
6e7e90fa
SL
9282 * button.el (button-at): Minor addition to docstring.
9283
b9d0879b
SM
92842012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * newcomment.el (comment-choose-indent): No space after BOL.
9287
e71cebb3
SS
92882012-03-22 Sam Steingold <sds@gnu.org>
9289
9290 * window.el (switch-to-prev-buffer): Revert last patch because the
9291 bug turned out to be an advertised feature (Elisp manual 28.14).
9292
335aff35
GM
92932012-03-22 Glenn Morris <rgm@gnu.org>
9294
9295 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9296 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9297
c676576a
LMI
92982012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9299
9300 * net/network-stream.el (network-stream-open-starttls): Make error
9301 message under Windows be less misleading.
9302
126f3d39
LW
93032012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9304
9305 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9306 understands (bug#9942).
9307
64fee311
CY
93082012-03-22 Chong Yidong <cyd@gnu.org>
9309
9310 * simple.el (end-of-visible-line): Handle return value of
9311 next-single-property-change properly (Bug#9371).
9312
a640d29a
KH
93132012-03-22 Kenichi Handa <handa@m17n.org>
9314
9315 * international/quail.el (quail-insert-kbd-layout): Fix previous
9316 change. To avoid unwanted bidi reordering, use
9317 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9318
39675016
DG
93192012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9320
9321 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9322 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9323 (ruby-beginning-of-indent): Be more careful with the difference
9324 between word-boundary and symbol boundary.
9325 (ruby-mode-syntax-table): Make : a symbol constituent.
9326
0a6934fc 93272012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9328
3d008e4f
SM
9329 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9330
0a6934fc
SM
93312012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9332
af67c9d7
SM
9333 * progmodes/etags.el (tags-completion-at-point-function):
9334 Improve last fix.
9335
1acad97c
SM
9336 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9337
e298b5da
SS
93382012-03-21 Sam Steingold <sds@gnu.org>
9339
9340 * progmodes/etags.el (tags-completion-at-point-function):
9341 Avoid the error when point is inside the pattern.
9342
91d82a70
JY
93432012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9344
9345 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9346 line (Bug#10855).
9347
69188b79
CY
93482012-03-21 Drew Adams <drew.adams@oracle.com>
9349
9350 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9351
99fc91fe
AK
93522012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9353
9354 * ido.el (ido-set-current-directory, ido-read-internal)
9355 (ido-choose-completion-string, ido-completion-help): Handle nil
9356 value of ido-completion-buffer (Bug#11008).
9357
087bbb4c
SS
93582012-03-21 Sam Steingold <sds@gnu.org>
9359
9360 * window.el (switch-to-prev-buffer): Do not switch to a visible
9361 window previous buffer, just like with the frame previous buffers.
9362
fb5b8aca
CY
93632012-03-21 Chong Yidong <cyd@gnu.org>
9364
9365 * faces.el (make-face, make-empty-face, copy-face):
9366 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9367 Doc fixes.
9368
dc9924b8
SM
93692012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9370
9371 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9372 (widget-complete): Remove broken use of it.
9373
f0bcceb9
CY
93742012-03-20 Chong Yidong <cyd@gnu.org>
9375
dc9924b8
SM
9376 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9377 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9378 characters.
9379
ee52ebf3
TH
93802012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9381
9382 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9383 to draw rectangles, not squares. (Regression introduced by revno
9384 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9385
4c5779ab
CY
93862012-03-18 Chong Yidong <cyd@gnu.org>
9387
9388 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9389 it is not yet defined (for temacs).
9390
15360934
LL
93912012-03-18 Leo Liu <sdl.web@gmail.com>
9392
735135f9
PE
9393 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9394 prefix.
15360934 9395
d9a8eb66
EZ
93962012-03-17 Eli Zaretskii <eliz@gnu.org>
9397
9398 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9399 (ispell-choices-win-default-height, ispell-silently-savep)
9400 (ispell-dictionary-alist, ispell-encoding8-command)
9401 (ispell-check-version, ispell-aspell-find-dictionary)
9402 (ispell-valid-dictionary-list, ispell-words-keyword)
9403 (ispell-get-word, ispell-internal-change-dictionary)
9404 (ispell-region, ispell-skip-region-list)
9405 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9406 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9407 (ispell-message-text-end, ispell-message)
9408 (ispell-buffer-local-parsing): Doc fix.
9409
f02ff80d
J
94102012-03-13 Jambunathan K <kjambunathan@gmail.com>
9411
9412 * htmlfontify.el: Add support for code block fontification for ODT
9413 export (Bug #9914).
9414 (hfy-optimisations): Define new option
9415 `body-text-only'
9416 (hfy-fontify-buffer): Honor above setting.
9417 (hfy-begin-span, hfy-end-span): New routines factored out form
9418 `hfy-fontify-buffer'.
9419 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9420 that permit insertion of custom tags.
9421 (hfy-fontify-buffer): Use above handlers.
9422 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9423 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9424 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9425 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9426 bind a special variable `hfy-user-sheet-assoc'.
9427 (htmlfontify-string): New defun.
9428 (hfy-compile-face-map): Make sure that the last char in the
9429 buffer is correctly fontified.
9430 (hfy-face-resolve-face): Whitespace only change.
9431
9ac7a13f
EZ
94322012-03-17 Eli Zaretskii <eliz@gnu.org>
9433
9434 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9435 message more clear.
9436
e2b5bdd7
LL
94372012-03-16 Leo Liu <sdl.web@gmail.com>
9438
9439 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9440
2e492df3
AM
94412012-03-16 Alan Mackenzie <acm@muc.de>
9442
9443 Further optimise the handling of large macros.
9444
9445 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9446 limit to a call of `c-literal-limits'.
9447 (c-determine-+ve-limit): New function.
dc9924b8
SM
9448 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9449 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9450 In CASE 5B, restrict a search limit to 500.
9451 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9452
9453 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9454 Restrict macro bounds to +-500 from after-change's BEG END.
9455
50e94f0c
LL
94562012-03-16 Leo Liu <sdl.web@gmail.com>
9457
9458 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9459
6f09f6ed
AH
94602012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9461
9462 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9463 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9464
c7e73d51
GM
94652012-03-16 Glenn Morris <rgm@gnu.org>
9466
da986230
GM
9467 * view.el (view-buffer, view-buffer-other-window)
9468 (view-buffer-other-frame): Doc fixes re special mode-class.
9469
0835f01e
GM
9470 * subr.el (eval-after-load): If named feature is provided not from
9471 a file, run after-load forms. (Bug#10946)
9472
c7e73d51
GM
9473 * calendar/calendar.el (calendar-insert-at-column):
9474 Handle non-unit-width characters a bit better. (Bug#10978)
9475
3f2eafd1
CY
94762012-03-15 Chong Yidong <cyd@gnu.org>
9477
9478 * emacs-lisp/ring.el (ring-extend): New function.
9479 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9480
9481 * comint.el (comint-read-input-ring)
9482 (comint-add-to-input-history): Grow comint-input-ring lazily.
9483
103af3fe
SM
94842012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9485
663b1677
SM
9486 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9487 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9488
103af3fe
SM
9489 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9490 (imenu-add-to-menubar): Don't add a redundant index.
9491 (imenu-update-menubar): Handle a dynamically composed keymap.
9492
899cb7cb
KY
94932012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9494
9495 * mail/sendmail.el (mail-encode-header):
9496 Bind rfc2047-encode-encoded-words to nil.
9497
3809f91d
GM
94982012-03-13 Glenn Morris <rgm@gnu.org>
9499
9500 * calendar/calendar.el (calendar-string-spread):
9501 Handle non-unit-width characters a bit better. (Bug#10978)
9502
9e345a01
LL
95032012-03-13 Leo Liu <sdl.web@gmail.com>
9504
9505 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9506 directory and file as argument (Bug#10822).
9507
4a07df36
KS
95082012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9509
9510 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9511 For dynamically generated code, follow $PC.
9512 (gdb-disassembly-handler-custom): Handle no function name case.
9513
4aaa9356
TL
95142012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9515
9516 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9517 * emulation/ws-mode.el (ws-query-replace):
9518 * sort.el (sort-regexp-fields):
9519 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9520
225979da
SM
95212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * dabbrev.el: Fix cycle completion order (bug#10963).
9524 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9525 (dabbrev-completion): Don't use an obarray; provide
9526 a cycle-sort-function.
9527
e2f1fdab
LL
95282012-03-12 Leo Liu <sdl.web@gmail.com>
9529
dc9924b8 9530 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9531 (kill-do-not-save-duplicates): Doc fix.
9532
b19490ed
SM
95332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9534
9535 * dabbrev.el: Fix cycle completion (bug#10963).
9536 Use lexical binding and wrap to 80 columns.
9537 (dabbrev-completion): Delay computing the list of completions.
9538
4b05d722
KH
95392012-03-12 Kenichi Handa <handa@m17n.org>
9540
9541 * international/quail.el (quail-insert-kbd-layout): Surround each
9542 row by LRO and PDF instead of inserting many LRMs. Pad the left
9543 and right of each non-spacing marks. Insert invisible space
9544 between lower and upper characters to prevent composition.
9545
dbbc2e69
SM
95462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * minibuffer.el (minibuffer-complete): Don't get confused when the
9549 function is run twice via different commands (bug#10958).
9550 (complete-with-action): Fix docstring.
9551
292112ed
CY
95522012-03-12 Chong Yidong <cyd@gnu.org>
9553
5d1ac394
CY
9554 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9555 (nxml-completion-at-point-function): New function.
9556 (nxml-mode): Use it.
9557 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9558
292112ed
CY
9559 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9560 Load generated autoloads file before byte compiling (Bug#10970).
9561 (package--make-autoloads-and-compile): New helper fun.
9562
4098f8f7
CS
95632012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9564
9565 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9566
8f754691
MA
95672012-03-11 Michael Albinus <michael.albinus@gmx.de>
9568
9569 * autorevert.el (auto-revert-handler): Ensure, that
9570 file-readable-p is applied only for local files or in
9571 auto-revert-tail-mode.
9572
e29ab36b
AS
95732012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9574
dbbc2e69
SM
9575 * server.el (server-eval-at): Handle non-tcp connections.
9576 Decode result string.
ad0bf5b6 9577
e29ab36b
AS
9578 * server.el (server-msg-size): New constant.
9579 (server-reply-print): New function.
9580 (server-eval-and-print): Use it.
9581 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9582 Handle -print-nonl.
9583
de5939ba
CS
95842012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9585
9586 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9587 (Bug#10987).
9588
0c93eabf
CY
95892012-03-11 Chong Yidong <cyd@gnu.org>
9590
397a688f
CY
9591 * simple.el (goto-line): Doc fix (Bug#9938).
9592
2cc775f9
CY
9593 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9594
0c93eabf
CY
9595 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9596 when finished (Bug#10963).
9597
c491fa41
MR
95982012-03-11 Martin Rudalics <rudalics@gmx.at>
9599
9600 * window.el (split-window-below): Fix bug in case where
9601 split-window-keep-point is nil (Bug#10971).
9602
300e8fa5
JL
96032012-03-11 Juri Linkov <juri@jurta.org>
9604
9605 * replace.el (replace-highlight): Set isearch-word to nil
9606 unconditionally. (Bug#10887)
9607
dbf6c5a1
EZ
96082012-03-10 Eli Zaretskii <eliz@gnu.org>
9609
9610 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9611 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9612 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9613 (mairix-widget-create-query): Add usage information about mairix
9614 search forms: negating words, searching for substrings, etc.
9615
b9e501de
JP
96162012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9617
9618 * international/fontset.el (font-encoding-alist): Add an entry for
9619 ksx1001 (Bug#5667).
9620
92795c91
RS
96212012-03-10 Richard Stallman <rms@gnu.org>
9622
1694e6c1
RS
9623 * mail/sendmail.el (mail-encode-header):
9624 Set rfc2047-encode-encoded-words.
9625
607e8555
RS
9626 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9627
de3bc99a
RS
9628 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9629 view buffer means not swapped.
9630 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9631 (rmail-write-region-annotate): Error if real text has disappeared.
9632
92795c91
RS
9633 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9634
699bd04e
CY
96352012-03-10 Chong Yidong <cyd@gnu.org>
9636
9637 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9638 * emulation/cua-base.el (cua--init-keymaps):
9639 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9640
570a1714
MR
96412012-03-10 Martin Rudalics <rudalics@gmx.at>
9642
dbbc2e69
SM
9643 * speedbar.el (speedbar-unhighlight-one-tag-line):
9644 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9645
82dcf4e4
CY
96462012-03-10 Chong Yidong <cyd@gnu.org>
9647
7a2c7ca7
CY
9648 * minibuffer.el (completion-in-region, completion-help-at-point):
9649 Give the completion field overlay a high priority (Bug#6830).
9650
82dcf4e4
CY
9651 * dired.el (dired-goto-file): Recognize absolute file name
9652 listings (Bug#7126).
9653 (dired-goto-file-1): New helper function.
9654 (dired-toggle-read-only): Inhibit warnings.
9655
052e28ac
MA
96562012-03-09 Michael Albinus <michael.albinus@gmx.de>
9657
75f1671a 9658 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9659 there are no properties.
9660
95d5e396
LL
96612012-03-09 Leo Liu <sdl.web@gmail.com>
9662
9663 * savehist.el (savehist-printable): Stricter check for string
9664 value (Bug#10937).
9665
3f018d6d
EZ
96662012-03-09 Eli Zaretskii <eliz@gnu.org>
9667
dbbc2e69
SM
9668 * mail/smtpmail.el (smtpmail-send-it):
9669 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9670 valid mbox format.
9671
f7fd3d79
GM
96722012-03-09 Glenn Morris <rgm@gnu.org>
9673
9674 * files.el (dir-locals-find-file):
9675 Don't check result is regular, readable.
9676 (dir-locals-read-from-file): Demote errors.
9677
6ff6e72f
EZ
96782012-03-08 Eli Zaretskii <eliz@gnu.org>
9679
dbbc2e69
SM
9680 * international/quail.el (quail-insert-kbd-layout):
9681 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9682 layout cell, to prevent their reordering by bidi display engine.
9683 For details, see the discussion in
9684 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9685
9cec7834
AM
96862012-03-08 Alan Mackenzie <acm@muc.de>
9687
9688 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9689 the starting position; make it extend the marked region when
9690 invoked repeatedly - all under appropriate circumstances.
9691 Fixes bugs #5525, #10906.
9692
9a40b8d4
GM
96932012-03-08 Glenn Morris <rgm@gnu.org>
9694
9695 * files.el (locate-dominating-file, dir-locals-find-file):
9696 Undo 2012-03-06 change.
9697
7a08ed35
EZ
96982012-03-07 Eli Zaretskii <eliz@gnu.org>
9699
dbbc2e69
SM
9700 * international/quail.el (quail-help):
9701 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9702 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9703 for the reason.
9704
5aca4f71 97052012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9706
9707 Avoid superfluous registering of signals. (Bug#10807)
9708
9709 * notifications.el (notifications-on-action-object)
9710 (notifications-on-close-object): New defvars.
9711 (notifications-on-action-signal, notifications-on-closed-signal):
9712 Unregister the signal if not needed any longer.
9713 (notifications-notify): Register `notifications-action-signal' or
9714 `notifications-closed-signal', if :on-action or :on-close has been
9715 passed as argument.
9716
78e8b10a
CY
97172012-03-07 Chong Yidong <cyd@gnu.org>
9718
9719 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9720 non-X platforms.
9721
69481eb8
GM
97222012-03-06 Glenn Morris <rgm@gnu.org>
9723
9724 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9725 (x-disown-selection-internal, x-get-selection-internal):
9726 Doc fix (add arglist signatures). (Bug#10783)
9727
133b8e11
KS
97282012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9729
9730 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9731 Handle breakpoints with no "type".
9732
99a83064
GM
97332012-03-06 Glenn Morris <rgm@gnu.org>
9734
9735 * files.el (locate-dominating-file): Add optional predicate argument.
9736 (dir-locals-find-file): Make use of above change.
9737
17798e78
TTN
97382012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9739
9740 * info.el (Info-insert-dir): Also try "dir.gz".
9741
eb182446
GM
97422012-03-06 Glenn Morris <rgm@gnu.org>
9743
8f2114ee
GM
9744 * files.el (dir-locals-find-file):
9745 Ignore non-readable or non-regular files. (Bug#10928)
9746
eb182446
GM
9747 * files.el (locate-dominating-file): Doc fix.
9748
24679323
AS
97492012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9750
9751 * calendar/calendar.el (calendar-set-mode-line):
9752 `getenv' returns a string. (Bug#10951)
9753
01d972a9
LL
97542012-03-05 Leo Liu <sdl.web@gmail.com>
9755
109aa8a9
LL
9756 * simple.el (backward-delete-char-untabify): Constrain point to
9757 field (Bug#10939).
9758
01d972a9
LL
9759 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9760
10607bea
CY
97612012-03-05 Chong Yidong <cyd@gnu.org>
9762
9763 * simple.el (count-words): If called from Lisp, return the word
9764 count, for symmetry with `count-lines'. Arglist changed.
9765 (count-words--message): Args changed. Consolidate counting code
9766 from count-words and count-words-region.
9767 (count-words-region): Caller changed.
9768 (count-lines-region): Make it an obsolete alias.
9769
5dd11cfe
TH
97702012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9771
9772 * saveplace.el (save-place-to-alist)
9773 (save-place-ignore-files-regexp): Allow value nil to disable this
9774 feature.
9775
c349f4e6
CY
97762012-03-04 Chong Yidong <cyd@gnu.org>
9777
9778 * faces.el (face-spec-reset-face): For the default face, reset the
9779 attributes to default values (Bug#10748).
9780
e627be4c
LMI
97812012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9782
9783 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9784 previous patch: Check `message-send-mail-function', and not the
9785 default function (bug#10897).
9786
ebeabff4
MA
97872012-03-04 Michael Albinus <michael.albinus@gmx.de>
9788
a41a6cf4
MA
9789 * notifications.el (notifications-on-action-signal)
9790 (notifications-on-closed-signal): Check for unique service name of
9791 incoming event. Fix error in removing entry.
ebeabff4 9792 (top): Register for signals with wildcard service name.
a41a6cf4 9793 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9794
c1ca42b4
CY
97952012-03-04 Chong Yidong <cyd@gnu.org>
9796
dc9924b8 9797 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9798
ea16568d
GM
97992012-03-04 Glenn Morris <rgm@gnu.org>
9800
9801 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9802 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9803 (expand-abbrev, define-abbrev-table): Doc fixes.
9804
fbae4637
LMI
98052012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9806
9807 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9808 `message-default-send-mail-function' and not `send-mail-function'
9809 when doing the prompting for `sendmail-query-once' before sending
9810 in Message buffers (bug#10897).
9811
a1e7225c
LMI
9812 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9813 This is inconsistent with all the other stream functions, which leave
9814 the setting up to the higher levels (if so wanted) (bug#10931).
9815
56d093a9
AM
98162012-03-02 Alan Mackenzie <acm@muc.de>
9817
9818 Depessimize the handling of very large macros.
9819
9820 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9821 (c-macro-cache-syntactic): New variables to implement a one
9822 element macro cache.
9823 (c-invalidate-macro-cache): New function.
9824 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9825 Adapt to use the new cache.
9826 (c-state-safe-place): Use better the cache of safe positions.
9827 (c-state-semi-nonlit-pos-cache)
9828 (c-state-semi-nonlit-pos-cache-limit):
9829 New variables for...
9830 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9831 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9832 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9833 Use c-state-semi-safe-place.
56d093a9 9834
dbbc2e69
SM
9835 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9836 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9837
817e5c3d
MA
98382012-03-02 Michael Albinus <michael.albinus@gmx.de>
9839
dbbc2e69
SM
9840 * jka-compr.el (jka-compr-call-process):
9841 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9842 not remote.
9843
a032a702
MA
98442012-03-01 Michael Albinus <michael.albinus@gmx.de>
9845
9846 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9847 access of FILE2, if FILE1 does not exist.
9848
99a54f21
MA
9849 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9850 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9851
9852 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9853 Add "PAGER=" to `process-environment'.
9854
f6561e1f
MM
98552012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9856
9857 * progmodes/sql.el: Bug fix
9858 (sql-get-login-ext): Save login values in globals.
9859 (sql-get-login): Use new version of `sql-get-login-ext'.
9860 (sql-interactive-mode): Set global `sql-connection' to nil.
9861 (sql-connect): Set global values for connection.
9862 (sql-product-interactive): Save global values as buffer local.
9863
2d44d9cc
LL
98642012-02-29 Leo Liu <sdl.web@gmail.com>
9865
9866 * abbrev.el (define-abbrevs): Reset sys to nil.
9867
96b49301 98682012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9869
bf7f9bc5
JB
9870 * files.el (file-equal-p): Rename from `files-equal-p'.
9871 Return nil when one or both files don't exist.
96b49301 9872 (file-subdir-of-p): Now only top directory must exists,
9873 return nil if it doesn't.
bf7f9bc5
JB
9874 (copy-directory): No need to test with `file-subdir-of-p' after
9875 creating dir.
9876 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9877 to `file-equal-p'.
96b49301 9878
44e97401
GM
98792012-02-28 Glenn Morris <rgm@gnu.org>
9880
9881 * shell.el (shell-mode):
9882 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9883 * play/landmark.el (landmark-font-lock-face-O):
9884 * play/handwrite.el (handwrite):
9885 * play/gomoku.el (gomoku-O):
9886 * net/browse-url.el (browse-url-browser-display):
9887 * international/mule.el (define-charset):
9888 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9889 * filesets.el (filesets-find-file-delay):
9890 * eshell/em-xtra.el (eshell-xtra):
9891 * eshell/em-unix.el (eshell-grep):
9892 * emulation/viper.el (viper-mode):
9893 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9894 * emacs-lisp/easymenu.el (easy-menu-define):
9895 * calendar/timeclock.el (timeclock-use-display-time):
9896 * bs.el (bs-mode):
9897 * bookmark.el (bookmark-save-flag):
9898 Doc fix (standardize possessive apostrophe usage).
9899
c98c6276
CY
99002012-02-27 Chong Yidong <cyd@gnu.org>
9901
bf7f9bc5
JB
9902 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9903 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9904
c98c6276
CY
9905 * font-lock.el (font-lock-specified-p): Rename from
9906 font-lock-spec-present. Callers changed.
9907
9c62cd04 99082012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9909
bf7f9bc5
JB
9910 * emacs-lisp/package.el (package-compute-transaction):
9911 Handle holding a package version to t in package-load-list.
8ac9e529 9912
530739c9
MA
99132012-02-26 Michael Albinus <michael.albinus@gmx.de>
9914
9915 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9916 (tramp-get-inode, tramp-get-device): Use cached values.
9917
487915d7
AM
99182012-02-26 Alan Mackenzie <acm@muc.de>
9919
9920 Check there is a font-lock specification before doing initial
9921 fontification.
9922
9923 * font-core.el (font-lock-mode): Move the conditional from
9924 :after-hook to font-lock-initial-fontify.
9925 (font-lock-default-function): Move the check for a specification
9926 to font-lock-spec-present.
9927
dc9924b8 9928 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9929 (font-lock-spec-present): New function.
9930
4fd96557
JB
99312012-02-26 Jim Blandy <jimb@red-bean.com>
9932
9933 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9934 (gdb-send): Apply it to the operand of the '-interpreter-exec
9935 console' command, so that we can pass arguments with (say) quotes
9936 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9937
9a4888c0
CY
99382012-02-26 Chong Yidong <cyd@gnu.org>
9939
07498861
CY
9940 * help-fns.el (describe-function-1): Clarify description of
9941 remapping (Bug#10844).
9942
9a4888c0
CY
9943 * files.el (files-equal-p): Doc fix.
9944 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9945 and quit the loop once a mismatch is found.
9946
ea8fb88d
JB
99472012-02-25 Juanma Barranquero <lekktu@gmail.com>
9948
9949 * bs.el (bs--show-with-configuration): Don't throw an error
9950 if the window cannot be split; otherwise, subsequent calls to
9951 bs-show fail, restoring a stale window config. (Bug#10882)
9952
525795c1
JD
99532012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9954
9955 * term/ns-win.el (global-map): Bind ns-drag-file to
9956 ns-find-file (Bug#5855, Bug#10050).
9957
f008086f
AS
99582012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9959
9960 * calendar/parse-time.el (parse-time-string): Allow extractor to
9961 return nil.
9962
a3fcfa99
MA
99632012-02-25 Michael Albinus <michael.albinus@gmx.de>
9964
91027d08
JB
9965 * net/tramp.el (tramp-file-name-for-operation):
9966 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9967
9968 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9969 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9970 Add COPY-CONTENTS argument.
a3fcfa99 9971
67b0de11
CY
99722012-02-25 Chong Yidong <cyd@gnu.org>
9973
9974 Add custom groups for VC backends, for consistency with vc-bzr.
9975
9976 * vc/vc-arch.el (vc-arch):
9977 * vc/vc-cvs.el (vc-cvs):
9978 * vc/vc-git.el (vc-git):
9979 * vc/vc-hg.el (vc-hg):
9980 * vc/vc-mtn.el (vc-mtn):
9981 * vc/vc-rcs.el (vc-rcs):
9982 * vc/vc-sccs.el (vc-sccs):
9983 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9984 All relevant defcustoms reassigned.
9985
3c9dfce6
CY
99862012-02-25 Chong Yidong <cyd@gnu.org>
9987
1339bf43
CY
9988 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9989
3c9dfce6
CY
9990 * term/x-win.el (x-initialize-window-system): Reduce default for
9991 x-selection-timeout to 5 seconds (Bug#8869).
9992
25b2e303 99932012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9994
ec70a47d
GM
9995 * files.el (files-equal-p, file-subdir-of-p): New functions.
9996 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9997 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9998 * dired-aux.el (dired-copy-file-recursive): Same.
9999 (dired-create-files): Modify destination when source is equal to
10000 dest when copying files.
53a46cd0 10001 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10002
914260cd
MA
100032012-02-24 Michael Albinus <michael.albinus@gmx.de>
10004
10005 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10006 (Bug#10874)
10007
2cb228f7
AM
100082012-02-23 Alan Mackenzie <acm@muc.de>
10009
10010 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10011 parameter "after-hook:" to allow the expansion to run code after
10012 the execution of the mode hooks.
10013
10014 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10015 from font-lock-mode-internal.
2cb228f7 10016
91027d08 10017 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10018 :after-hook.
10019
8f0fde21
SM
100202012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10021
3e88618b
SM
10022 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10023 (completion--cache-all-sorted-completions): New function.
10024 (completion-all-sorted-completions): Use it.
10025 (completion--do-completion, minibuffer-force-complete):
10026 Use it to re-instate the flush hook.
10027
8f0fde21
SM
10028 * icomplete.el (icomplete-completions): Replace last fix with a better
10029 one (bug#10850).
10030
8e911f6f
DG
100312012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10032
10033 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10034 when it might call us back infinitely (bug#10797).
10035
49fe4321
GM
100362012-02-23 Glenn Morris <rgm@gnu.org>
10037
10038 * minibuffer.el (completion-category-overrides): Doc fix.
10039
b291b572
SM
100402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10043 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10044
31a9ef2e
GM
100452012-02-23 Glenn Morris <rgm@gnu.org>
10046
5e6e6794 10047 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10048 (authors-obsolete-files-regexps, authors-ignored-files)
10049 (authors-ambiguous-files, authors-renamed-files-alist):
10050 Add more entries.
10051
0bd1e074
JL
100522012-02-23 Juri Linkov <juri@jurta.org>
10053
10054 * isearch.el (isearch-occur): Sync interactive spec with occur's
10055 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10056
b617673c
JL
10057 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10058
19e9789e
JL
100592012-02-22 Juri Linkov <juri@jurta.org>
10060
10061 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10062 (ucs-insert): Doc fix. Check for hex digits in the string.
10063 Don't display `nil' in the error message. (Bug#10857)
10064
f41ce09d
AM
100652012-02-22 Alan Mackenzie <acm@muc.de>
10066
7a71b18d 10067 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10068
ac2eceee
GM
100692012-02-22 Glenn Morris <rgm@gnu.org>
10070
10071 * ffap.el (ffap-c-path):
10072 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10073
abd1f678
CY
100742012-02-22 Chong Yidong <cyd@gnu.org>
10075
10076 * custom.el (load-theme): Doc fix.
10077
f25aef2e
GM
100782012-02-22 Glenn Morris <rgm@gnu.org>
10079
10080 * dired-x.el (dired-guess-shell-alist-default):
10081 Remove escape sequences from nroff output. (Bug#172)
10082
5f8dc2ca
GM
100832012-02-21 Glenn Morris <rgm@gnu.org>
10084
6ff86ec4
GM
10085 * vc/emerge.el (emerge-defvar-local):
10086 Set `permanent-local' property rather than unused `preserved'.
10087
be3223a3 10088 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10089 (picture-mode-map): Use it. (Bug#10860)
10090 (picture-mode): Doc fix.
10091
3fe58f4f
JB
100922012-02-21 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * newcomment.el (uncomment-region-default): Remove unused binding.
10095
f9a998c3
GM
100962012-02-21 Glenn Morris <rgm@gnu.org>
10097
10098 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10099 (picture-self-insert, picture-tab-chars): Doc fix.
10100 (picture-mode-map): Fix C-a, C-e.
10101
c6029348
GM
101022012-02-20 Glenn Morris <rgm@gnu.org>
10103
10104 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10105
ab1ce9d7
LL
101062012-02-20 Leo Liu <sdl.web@gmail.com>
10107
10108 * icomplete.el (icomplete-completions): Check FROM arg before
10109 passing to substring (Bug#10850).
10110
0fd40f89
CY
101112012-02-19 Chong Yidong <cyd@gnu.org>
10112
10113 * comint.el: Require ansi-color.
10114 (comint-output-filter-functions): Add ansi-color-process-output.
10115
10116 * ansi-color.el: Don't set comint-output-filter-functions; it is
10117 now in the initial value defined in comint.el.
10118 (ansi-color-apply-face-function): New variable.
10119 (ansi-color-apply-on-region): Use it.
10120 (ansi-color-apply-overlay-face): New function.
10121
10122 * shell.el (shell): No need to require ansi-color.
10123 (shell-mode): Use ansi-color-apply-face-function to highlight
10124 color escapes using font-lock-face property (Bug#10835).
10125
20af2394
CY
101262012-02-19 Chong Yidong <cyd@gnu.org>
10127
10128 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10129 mode-line formats (Bug#10839).
10130
e23a3fbe
GM
101312012-02-18 Glenn Morris <rgm@gnu.org>
10132
b474519e
GM
10133 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10134
10135 * mail/undigest.el (unforward-rmail-message): Doc fix.
10136
e23a3fbe
GM
10137 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10138
57939ff4
EZ
101392012-02-18 Eli Zaretskii <eliz@gnu.org>
10140
10141 * international/characters.el (script-list): Sync with the latest
10142 Unicode Character Database.
10143
0c23686e
AS
101442012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10145
10146 * international/titdic-cnv.el: Remove duplicate coding tag.
10147 * language/cham.el: Likewise.
10148 * language/tai-viet.el: Likewise.
10149
6818b449
GM
101502012-02-18 Glenn Morris <rgm@gnu.org>
10151
10152 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10153 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10154 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10155 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10156 * calendar/holidays.el (holiday-bahai-holidays)
10157 (calendar-holidays, list-holidays):
10158 Use utf-8 Bahá'í in doc-strings, menus, etc.
10159
0311a3fc
TH
101602012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10161
10162 * saveplace.el (save-place-ignore-files-regexp): New variable
10163 allowing for excluding files from saving their location of point.
10164 The default value matches the temporary commit message editing
10165 files from Git, SVN, Bazaar, and Mercurial.
10166 (save-place-to-alist): Use it.
10167
d209e2fb 101682012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10169 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10170
10171 * newcomment.el (uncomment-region-default): Don't leave extra space
10172 when an arg is provided (bug#8150).
10173
ee0ce425
TZ
101742012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10175
eb864a71 10176 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10177
95ddf442
GM
101782012-02-17 Glenn Morris <rgm@gnu.org>
10179
10180 * net/socks.el: Require network-stream. (Bug#10599)
10181
48dd1e39 101822012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10183
10184 * international/charprop.el:
10185 * international/uni-name.el:
10186 * international/uni-old-name.el:
10187 * international/uni-comment.el: Regenerate.
10188
d68cd087
GM
101892012-02-16 Glenn Morris <rgm@gnu.org>
10190
10191 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10192 Interactively in calendar buffer, give an error if not on a date.
10193
13932042
GM
101942012-02-15 Glenn Morris <rgm@gnu.org>
10195
10196 * shell.el (shell-delimiter-argument-list):
10197 Revert 2011-02-17 change. (Bug#8027)
10198
c3a70e2b
CY
101992012-02-15 Chong Yidong <cyd@gnu.org>
10200
60236b0d
CY
10201 * minibuffer.el (completion-at-point-functions): Doc fix.
10202
c3a70e2b
CY
10203 * custom.el (defcustom): Doc fix; note use of defvar.
10204
9f26dc24
GM
102052012-02-15 Glenn Morris <rgm@gnu.org>
10206
10207 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10208 Doc fixes.
10209
6546b134
GM
102102012-02-14 Glenn Morris <rgm@gnu.org>
10211
10212 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10213
d29b2b4c
LI
102142012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10215
10216 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10217 way the ports list is computed.
835bdcba
LI
10218 (smtpmail-query-smtp-server): Prompt the user for a port number if
10219 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10220
08dcdbc9
TZ
102212012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10222
10223 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10224
2605051a
GM
102252012-02-13 Glenn Morris <rgm@gnu.org>
10226
10227 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10228
7ee99f32
TZ
102292012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10230
10231 * net/gnutls.el (gnutls-trustfiles): New variable.
10232 (gnutls-negotiate): Use it.
10233
5f0af64f
LI
102342012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10235
10236 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10237 does its stuff if Gnus is running.
10238
c14fcc95
AM
102392012-02-13 Alan Mackenzie <acm@muc.de>
10240
10241 Fix a loop in c-set-fl-decl-start.
10242
7a71b18d 10243 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10244 c-backward-syntactic-ws actually moves backwards.
10245
142b4d90
LL
102462012-02-13 Leo Liu <sdl.web@gmail.com>
10247
10248 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10249 beginning so that all \C-o chars are removed.
10250
fa9958a6
TZ
102512012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10252
dc9924b8 10253 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10254
0bc5886a
AM
102552012-02-12 Alan Mackenzie <acm@muc.de>
10256
10257 Fix infinite loop with long macros.
4d6769e1 10258 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10259
d4bd55e7
CY
102602012-02-12 Chong Yidong <cyd@gnu.org>
10261
10262 * window.el (display-buffer): Doc fix (Bug#10785).
10263
66f3fe22
GM
102642012-02-12 Glenn Morris <rgm@gnu.org>
10265
bd7da63e
GM
10266 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10267 (x-disown-selection-internal, x-get-selection-internal):
10268 Sync docs with the xselect.c versions.
10269
66f3fe22
GM
10270 * allout-widgets.el: Add missing license notice.
10271
3e0d2fa7
GM
102722012-02-11 Glenn Morris <rgm@gnu.org>
10273
cfecdf09
GM
10274 * select.el (x-get-selection-internal, x-own-selection-internal)
10275 (x-disown-selection-internal):
10276 * x-dnd.el (x-get-selection-internal): Update declarations.
10277
6d216d7f
GM
10278 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10279
2bed3f04
GM
10280 * window.el (window-sides-slots):
10281 * tool-bar.el (tool-bar-position):
10282 * term/xterm.el (xterm-extra-capabilities):
10283 * ses.el (ses-self-reference-early-detection):
10284 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10285 (verilog-auto-wire-type)
10286 (verilog-auto-delete-trailing-whitespace)
10287 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10288 (verilog-auto-tieoff-declaration):
10289 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10290 (sql-oracle-statement-starters, sql-oracle-scan-on):
10291 * progmodes/prolog.el (prolog-align-comments-flag)
10292 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10293 (prolog-left-indent-regexp, prolog-paren-indent-p)
10294 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10295 (prolog-types, prolog-mode-specificators)
10296 (prolog-determinism-specificators, prolog-directives)
10297 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10298 (prolog-electric-dot-flag)
10299 (prolog-electric-dot-full-predicate-template)
10300 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10301 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10302 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10303 (prolog-program-switches, prolog-prompt-regexp)
10304 (prolog-debug-on-string, prolog-debug-off-string)
10305 (prolog-trace-on-string, prolog-trace-off-string)
10306 (prolog-zip-on-string, prolog-zip-off-string)
10307 (prolog-use-standard-consult-compile-method-flag)
10308 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10309 (prolog-imenu-max-lines, prolog-info-predicate-index)
10310 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10311 (prolog-char-quote-workaround):
10312 * progmodes/cc-vars.el (c-defun-tactic):
10313 * net/tramp.el (tramp-encoding-command-interactive)
10314 (tramp-local-end-of-line):
10315 * net/soap-client.el (soap-client):
10316 * net/netrc.el (netrc-file):
10317 * net/gnutls.el (gnutls):
10318 * minibuffer.el (completion-category-overrides)
10319 (completion-cycle-threshold)
10320 (completion-pcm-complete-word-inserts-delimiters):
10321 * man.el (Man-name-local-regexp):
10322 * mail/feedmail.el (feedmail-display-full-frame):
10323 * international/characters.el (glyphless-char-display-control):
10324 * eshell/em-ls.el (eshell-ls-date-format):
10325 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10326 (lisp-lambda-list-keyword-parameter-indentation)
10327 (lisp-lambda-list-keyword-parameter-alignment):
10328 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10329 * dired-x.el (dired-omit-verbose):
10330 * cus-theme.el (custom-theme-allow-multiple-selections):
10331 * calc/calc.el (calc-highlight-selections-with-faces)
10332 (calc-lu-field-reference, calc-lu-power-reference)
10333 (calc-note-threshold):
10334 * battery.el (battery-mode-line-limit):
10335 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10336 (archive-7z-update):
10337 * allout.el (allout-prefixed-keybindings)
10338 (allout-unprefixed-keybindings)
10339 (allout-inhibit-auto-fill-on-headline)
10340 (allout-flattened-numbering-abbreviation):
10341 * allout-widgets.el (allout-widgets-auto-activation)
10342 (allout-widgets-icons-dark-subdir)
10343 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10344 (allout-widgets-theme-dark-background)
10345 (allout-widgets-theme-light-background)
10346 (allout-widgets-item-image-properties-emacs)
10347 (allout-widgets-item-image-properties-xemacs)
10348 (allout-widgets-run-unit-tests-on-load)
10349 (allout-widgets-time-decoration-activity)
10350 (allout-widgets-hook-error-post-time)
10351 (allout-widgets-track-decoration):
10352 Add missing :version tags to new defcustoms and defgroups.
10353
5fec1b8e
GM
10354 * progmodes/sql.el (sql-ansi-statement-starters)
10355 (sql-oracle-statement-starters): Add custom type.
10356
3e0d2fa7
GM
10357 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10358 (prolog-system-version): Give it a type.
10359
90b671e2
EZ
103602012-02-11 Eli Zaretskii <eliz@gnu.org>
10361
10362 * term/pc-win.el (x-select-text, x-selection-owner-p)
10363 (x-own-selection-internal, x-disown-selection-internal)
10364 (x-get-selection-internal): Sync doc strings and argument lists
10365 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10366
5eac0c02
LL
103672012-02-11 Leo Liu <sdl.web@gmail.com>
10368
10369 * progmodes/python.el (python-end-of-statement): Fix infinite
10370 loop. (Bug#10788)
10371
f82cb659
GM
103722012-02-10 Glenn Morris <rgm@gnu.org>
10373
10374 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10375 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10376
cc26d239
LI
103772012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10378
10379 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10380 about SMTP before checking the From header.
10381
91027d08 10382 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10383 into own function for reuse by emacsbug.el.
10384
1be3ca5a
LL
103852012-02-10 Leo Liu <sdl.web@gmail.com>
10386
10387 * subr.el (condition-case-unless-debug): Rename from
10388 condition-case-no-debug. All callers changed.
10389 (with-demoted-errors): Fix caller.
10390
10391 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10392 * nxml/rng-valid.el (rng-do-some-validation):
10393 * emacs-lisp/package.el (package-refresh-contents)
10394 (package-menu-execute):
10395 * desktop.el (desktop-create-buffer):
91027d08 10396 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10397
b011fbfe
GM
103982012-02-10 Glenn Morris <rgm@gnu.org>
10399
b2096d72
GM
10400 * textmodes/bibtex.el:
10401 Add missing :version tags for new/changed defcustoms.
10402
b011fbfe
GM
10403 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10404
4c7e65bf
LI
104052012-02-09 Lars Ingebrigtsen <larsi@rusty>
10406
10407 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10408 (smtpmail-via-smtp): Use it, or fall back on the From address.
10409 (smtpmail-send-it): Ditto.
10410
f3934f6f
SM
104112012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10412
10413 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10414 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10415 (byte-compile-tmp-var): New const.
10416 (byte-compile-defvar): Use it to minimize .elc size.
10417 Just use `defvar' rather than simulate it (bug#10761).
10418
a075a2c5
GM
104192012-02-09 Glenn Morris <rgm@gnu.org>
10420
cf3aa21b
GM
10421 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10422
354998cd
GM
10423 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10424 Add :version tags.
10425
dc9924b8
SM
10426 * progmodes/compile.el (compilation-error-screen-columns)
10427 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10428
dab3703d
GM
10429 * vc/log-view.el (log-view-toggle-entry-display):
10430 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10431
3f88cd72
GM
10432 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10433 (report-emacs-bug-can-use-xdg-email):
10434 (report-emacs-bug-insert-to-mailer): Doc fixes.
10435 (report-emacs-bug): Message fix.
10436
d95b247d
GM
10437 * net/browse-url.el (browse-url-can-use-xdg-open)
10438 (browse-url-xdg-open): Doc fixes.
10439
a075a2c5
GM
10440 * electric.el (electric-indent-mode, electric-pair-mode)
10441 (electric-layout-rules, electric-layout-mode): Doc fixes.
10442 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10443
ffb6157e
MR
104442012-02-08 Martin Rudalics <rudalics@gmx.at>
10445
10446 * server.el (server-unselect-display): Don't inadvertently kill
10447 the current buffer. (Bug#10729)
10448
e1ac4066
GM
104492012-02-08 Glenn Morris <rgm@gnu.org>
10450
34e8a2da
GM
10451 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10452 (sql-list-table): Doc fixes.
10453
b4ac6e8c
GM
10454 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10455 Comment out (does nothing).
10456
e1ac4066
GM
10457 * completion.el (dynamic-completion-mode):
10458 * dirtrack.el (dirtrack-debug-mode):
10459 * electric.el (electric-layout-mode):
10460 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10461 * face-remap.el (text-scale-mode, buffer-face-mode):
10462 * iimage.el (iimage-mode):
10463 * image-mode.el (image-transform-mode):
10464 * minibuffer.el (completion-in-region-mode):
10465 * scroll-lock.el (scroll-lock-mode):
10466 * simple.el (next-error-follow-minor-mode):
10467 * tar-mode.el (tar-subfile-mode):
10468 * tooltip.el (tooltip-mode):
10469 * vcursor.el (vcursor-use-vcursor-map):
10470 * wid-browse.el (widget-minor-mode):
10471 * emulation/tpu-edt.el (tpu-edt-mode):
10472 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10473 * international/iso-ascii.el (iso-ascii-mode):
10474 * language/thai-util.el (thai-word-mode):
10475 * mail/supercite.el (sc-minor-mode):
10476 * net/goto-addr.el (goto-address-mode):
10477 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10478 * progmodes/cwarn.el (cwarn-mode):
10479 * progmodes/flymake.el (flymake-mode):
10480 * progmodes/glasses.el (glasses-mode):
10481 * progmodes/hideshow.el (hs-minor-mode):
10482 * progmodes/pascal.el (pascal-outline-mode):
10483 * textmodes/enriched.el (enriched-mode):
10484 * vc/smerge-mode.el (smerge-mode):
10485 Doc fixes (minor mode argument).
10486
5e0d957f
EZ
104872012-02-07 Eli Zaretskii <eliz@gnu.org>
10488
10489 * ls-lisp.el (ls-lisp-sanitize): New function.
10490 (ls-lisp-insert-directory): Use it to fix or remove any elements
10491 in file-alist with missing attributes. (Bug#4673)
10492
98d7371e
AM
104932012-02-07 Alan Mackenzie <acm@muc.de>
10494
10495 Fix spurious recognition of c-in-knr-argdecl.
10496
10497 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10498 putative K&R region.
10499
667ced3a
AM
105002012-02-07 Alan Mackenzie <acm@muc.de>
10501
eb864a71
LM
10502 * progmodes/cc-engine.el (c-forward-objc-directive):
10503 Prevent looping in "#pragma mark @implementation".
667ced3a 10504
5b77774d
MA
105052012-02-07 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * notifications.el (notifications-on-closed-signal): Make `reason'
10508 optional. (Bug#10744)
10509
af008560
GM
105102012-02-07 Glenn Morris <rgm@gnu.org>
10511
60d47423
GM
10512 * emacs-lisp/easy-mmode.el (define-minor-mode):
10513 Doc fixes for the macro and the mode it defines.
10514
dd605cc4
GM
10515 * image.el (imagemagick-types-inhibit): Doc fix.
10516
af008560
GM
10517 * cus-start.el (imagemagick-render-type): Add it.
10518
5cc59a37
LI
105192012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10520
4d6769e1
JB
10521 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10522 Set the default at load time, too, so that `font-lock-fontify-buffer'
10523 can be called without setting up the entire mode first. This fixes
10524 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10525
9a6dd747
CY
105262012-02-06 Chong Yidong <cyd@gnu.org>
10527
2d16b285
CY
10528 * simple.el (list-processes--refresh): Delete exited processes
10529 (Bug#8094).
10530
171e9b6e
CY
10531 * comint.el (comint-next-prompt): next-single-char-property-change
10532 and prev-single-char-property-change never return nil (Bug#8657).
10533
9a6dd747
CY
10534 * custom.el (defcustom): Doc fix (Bug#9711).
10535
aa4589a7
CY
105362012-02-05 Chong Yidong <cyd@gnu.org>
10537
5c2a252f
CY
10538 * cus-edit.el (custom-variable-reset-backup): Quote the value
10539 before storing it in the customized-value property (Bug#6712).
4aab9006 10540 (custom-display): Add a customization type tag.
983b9602 10541 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10542
aa4589a7
CY
10543 * wid-edit.el (widget-field-value-get): New optional arg to
10544 suppress trailing whitespace truncation.
10545 (character): Use it (Bug#2689).
10546
1ff980ae
AS
105472012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10548
10549 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10550 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10551
03988c98
CY
105522012-02-05 Chong Yidong <cyd@gnu.org>
10553
eeb6cc88
CY
10554 * cus-edit.el (custom-variable-value-create): For mismatched
10555 types, show the current value (Bug#7600).
10556
03988c98
CY
10557 * custom.el (defcustom): Doc fix.
10558
f8cdeef0
GM
105592012-02-05 Glenn Morris <rgm@gnu.org>
10560
10561 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10562
0696d255
JB
105632012-02-05 Juanma Barranquero <lekktu@gmail.com>
10564
10565 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10566 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10567 (pp-last-sexp): Use `looking-at-p'.
10568
34c99998
GM
105692012-02-04 Glenn Morris <rgm@gnu.org>
10570
8f05da42
GM
10571 * files.el (revert-buffer):
10572 Doc fix (mention revert-buffer-in-progress-p).
10573
f160676e
GM
10574 * emacs-lisp/ert-x.el (ert-simulate-command):
10575 Check deferred-action-list (which is obsolete) is bound.
10576
c7291ad9
GM
10577 * subr.el (with-wrapper-hook): Doc fixes.
10578
34c99998
GM
10579 * simple.el (filter-buffer-substring-functions)
10580 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10581
6283a7d3
LL
105822012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10583
10584 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10585 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10586
e96e3013
LL
105872012-02-04 Leo Liu <sdl.web@gmail.com>
10588
10589 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10590
8ded50f2
GM
105912012-02-04 Glenn Morris <rgm@gnu.org>
10592
82ff1d13
GM
10593 * image.el (image-extension-data): Add obsolete alias.
10594
987a0a16
GM
10595 * isearch.el (isearch-update): Doc fix.
10596
ea32ef46
GM
10597 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10598
8ded50f2
GM
10599 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10600
eea14f31
GM
106012012-02-03 Glenn Morris <rgm@gnu.org>
10602
10603 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10604 (image-animate-timeout): Doc fix.
10605
10606 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10607
12f381b7
GM
106082012-02-02 Glenn Morris <rgm@gnu.org>
10609
953cebf5
GM
10610 * server.el (server-auth-dir): Doc fix.
10611 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10612
12f381b7
GM
10613 * subr.el (run-mode-hooks): Doc fix.
10614
953a8c3b
JL
106152012-02-02 Juri Linkov <juri@jurta.org>
10616
10617 * image-mode.el (image-toggle-display-image): Remove tautological
10618 `major-mode' from the `derived-mode-p' test.
10619
c5d3843c
KH
106202012-02-02 Kenichi Handa <handa@m17n.org>
10621
9f6e692e 10622 * composite.el (compose-region): Cancel previous change.
c5d3843c 10623
159462d4 106242012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10625
10626 * composite.el (compose-region, compose-string): Signal error for
10627 a null string component (Bug#6988).
10628
9f562668
CY
106292012-02-01 Chong Yidong <cyd@gnu.org>
10630
e2cef717
CY
10631 * view.el (view-buffer-other-window, view-buffer-other-frame):
10632 Handle special modes like view-buffer (Bug#10650).
10633 (view-buffer): Simplify.
10634
9f562668
CY
10635 * frame.el (set-frame-font): Tweak meaning of third argument.
10636
9f6e692e
JB
10637 * dynamic-setting.el (font-setting-change-default-font):
10638 Use set-frame-font (Bug#9982).
9f562668 10639
781acb9f
GM
106402012-02-01 Glenn Morris <rgm@gnu.org>
10641
6035be52
GM
10642 * progmodes/compile.el (compilation-internal-error-properties):
10643 Respect compilation-first-column in the "*compilation*" buffer.
10644
781acb9f
GM
10645 * emacs-lisp/easy-mmode.el (define-minor-mode):
10646 Relax :variable's test for a named function.
10647
abbceb00
AM
106482012-01-31 Alan Mackenzie <acm@muc.de>
10649
10650 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10651 off by one error.
10652
fce3fdeb
CY
106532012-01-31 Chong Yidong <cyd@gnu.org>
10654
10655 * frame.el (set-frame-font): New arg ALL-FRAMES.
10656
10657 * menu-bar.el (menu-set-font): Use set-frame-font.
10658
10659 * faces.el (face-spec-reset-face): Don't apply unspecified
10660 attribute values to the default face.
10661
47893581
JB
106622012-01-31 Juanma Barranquero <lekktu@gmail.com>
10663
10664 * progmodes/cwarn.el (cwarn): Remove dead link.
10665 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10666 Remove * from defcustom docstrings.
10667 (turn-on-cwarn-mode): Make obsolete.
10668 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10669 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10670
e58e988a
GM
106712012-01-31 Glenn Morris <rgm@gnu.org>
10672
60dc2671 10673 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10674 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10675 Allow named functions to be used as the cdr of :variable.
e58e988a 10676
7a3f511d
GM
106772012-01-30 Glenn Morris <rgm@gnu.org>
10678
10679 * emacs-lisp/authors.el (authors-fixed-entries):
10680 Remove reference to deleted file rnewspost.el.
10681
cb882333
JB
106822012-01-29 Juanma Barranquero <lekktu@gmail.com>
10683
10684 * window.el (window-with-parameter): Remove unused variable `windows'.
10685 (window--side-check): Remove unused variable `code'.
10686 (window--resize-siblings): Remove unused variable `first'.
10687 (adjust-window-trailing-edge): Remove unused variable `failed'.
10688 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10689 Use `let', not `let*'.
10690 (balance-windows-2): Remove unused variable `found'.
10691 (window--state-put-2): Remove unused variable `splits'.
10692 (window-state-put): Remove unused variable `selected'.
10693 (same-window-p): Use `string-match-p'.
10694 (display-buffer-assq-regexp): Remove unused variable `value'.
10695 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10696 Mark argument ALIST as ignored.
10697 (pop-to-buffer): Remove unused variable `old-window'.
10698
907201af
EZ
106992012-01-29 Eli Zaretskii <eliz@gnu.org>
10700
10701 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10702 and .lzma compressed files.
10703
ea162670
CY
107042012-01-29 Chong Yidong <cyd@gnu.org>
10705
5b95ee8a
CY
10706 * frame.el (window-system-default-frame-alist): Doc fix.
10707
ea162670
CY
10708 * dynamic-setting.el (font-setting-change-default-font): Don't
10709 change the default face if SET-FONT argument is non-nil (Bug#9982).
10710
d6e6f4b1
SB
107112012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10712
10713 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10714
0f29fa41 107152012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10716
10717 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10718 breakpoints in files outside current directory (Bug#6098).
10719
db174434
CY
107202012-01-29 Chong Yidong <cyd@gnu.org>
10721
6b25e4e2
SE
10722 * progmodes/python.el: Require ansi-color at top-level.
10723
6df6ae42
JB
10724 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10725 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10726 (lisp-mode-abbrev-table): Add doc.
10727 (lisp-mode-variables): Don't set local-abbrev-table.
10728 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10729
e70ee681
RW
107302012-01-28 Roland Winkler <winkler@gnu.org>
10731
10732 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10733
ace88aa2
RW
107342012-01-28 Roland Winkler <winkler@gnu.org>
10735
10736 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10737 (bibtex-set-dialect): Use it. Either set global values of
10738 dialect-dependent variables or bind these variables buffer-locally
10739 (Bug#10254).
10740 (bibtex-mode): Call bibtex-set-dialect via
10741 hack-local-variables-hook.
eb864a71
LM
10742 (bibtex-dialect): Update docstring.
10743 Add safe-local-variable predicate.
ace88aa2
RW
10744 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10745 bibtex-set-dialect.
10746 (bibtex-mode-map): Define menu for each dialect.
10747 (bibtex-entry): Fix docstring.
10748
93376c5b
CY
107492012-01-28 Chong Yidong <cyd@gnu.org>
10750
10751 * eshell/esh-arg.el (eshell-quote-argument): New function.
10752
10753 * eshell/esh-ext.el (eshell-invoke-batch-file):
10754 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10755 first arg to eshell-parse-command (Bug#10523).
10756
4372494f
DA
107572012-01-28 Drew Adams <drew.adams@oracle.com>
10758
10759 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10760 `default-directory' is non-nil.
10761
4d4ec1f8
EZ
107622012-01-28 Eli Zaretskii <eliz@gnu.org>
10763
10764 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10765 line that displays system-configuration-options. (Bug#9924)
10766
7c188927
DA
107672012-01-28 Drew Adams <drew.adams@oracle.com>
10768
10769 * descr-text.el (describe-char): Show information about POS, in
10770 addition to information about the character at POS. Improve and
10771 update the doc string. Change "code point" to "code point in
10772 charset", to avoid confusion with the character's Unicode code
10773 point shown above that. (Bug#10129)
10774
e0da685a
EZ
107752012-01-28 Eli Zaretskii <eliz@gnu.org>
10776
10777 * descr-text.el (describe-char): Show the raw character, not only
10778 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10779 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10780 for the reasons.
10781
70550acf
PH
107822012-01-28 Phil Hagelberg <phil@hagelb.org>
10783
eb864a71
LM
10784 * emacs-lisp/package.el (package-install):
10785 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10786
0ce8e868
CY
107872012-01-28 Chong Yidong <cyd@gnu.org>
10788
cb882333
JB
10789 * emacs-lisp/package.el (package-maybe-load-descriptor):
10790 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10791 (package-maybe-load-descriptor): Use it.
10792 (package-download-transaction): Fully load required packages
10793 inside the loop, so that `require' calls work (Bug#10593).
10794 (package-install): No need to call package-initialize now.
10795
2e7f3bea
CY
107962012-01-28 Chong Yidong <cyd@gnu.org>
10797
6e9bad14
CY
10798 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10799
f823b8ca
CY
10800 * tooltip.el (tooltip-mode): Doc fix.
10801 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10802
2680c309
CY
10803 * frame.el (set-cursor-color): Doc fix (Bug#352).
10804
d7a9e63b
CY
10805 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10806 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10807
2e7f3bea
CY
10808 * cus-edit.el (custom-buffer-create-internal): Fix search button
10809 action (Bug#10542).
2ae01800 10810 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10811
fc4f7a23
EW
108122012-01-27 Eduard Wiebe <usenet@pusto.de>
10813
10814 * dired.el (dired-mark-files-regexp):
10815 Include any subdirectory components. (Bug#10445)
10816
7dd37071
ML
108172012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10818
10819 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10820 Handle [host]:port syntax. (Bug#10533)
10821
a268160b
AH
108222012-01-27 Alex Harsanyi <harsanyi@mac.com>
10823
10824 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10825
e43273ef
GM
108262012-01-26 Glenn Morris <rgm@gnu.org>
10827
10828 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10829 * term.el (term-raw-escape-map): Use Control-X-prefix.
10830 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10831
1edf595d
MR
108322012-01-25 Martin Rudalics <rudalics@gmx.at>
10833
10834 * window.el (window-state-get, window--state-get-1): Don't deal
10835 with fixed-sizeness of windows. Simplify code.
10836
fa8eafef
JC
108372012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10838
6df6ae42
JB
10839 * window.el (window--state-get-1, window--state-put-2):
10840 Don't save and restore the mark.
fa8eafef 10841
0b21c100
CY
108422012-01-25 Chong Yidong <cyd@gnu.org>
10843
10844 * custom.el (custom-variable-p): Doc fix.
10845
5ae1a6c8
GM
108462012-01-25 Glenn Morris <rgm@gnu.org>
10847
40047858
GM
10848 * dired.el (dired-goto-file): Handle some of the more common
10849 characters that `ls -b' escapes. (Bug#10596)
10850
5ddce96c
GM
10851 * progmodes/compile.el (compilation-next-error-function):
10852 Respect compilation-first-column in the "*compilation*" buffer.
10853 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10854
5ae1a6c8
GM
10855 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10856
b559f1a9
GM
108572012-01-24 Glenn Morris <rgm@gnu.org>
10858
10859 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10860
6725d21a
JD
108612012-01-24 Julien Danjou <julien@danjou.info>
10862
10863 * color.el (color-rgb-to-hsl): Fix value computing.
10864 (color-hue-to-rgb): New function.
10865 (color-hsl-to-rgb): New function.
10866 (color-clamp, color-saturate-hsl, color-saturate-name)
10867 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10868 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10869
70df4bbe
GM
108702012-01-24 Glenn Morris <rgm@gnu.org>
10871
10872 * vc/vc-rcs.el (vc-rcs-create-tag):
10873 * vc/vc-sccs.el (vc-sccs-create-tag):
10874 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10875
802a2ae2
ML
108762012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10877
10878 * eshell/esh-util.el (eshell-read-hosts-file):
10879 Skip comment lines. (Bug#10549)
10880
d7128bb1
ML
10881 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10882
d1a5c3b4
JB
108832012-01-23 Juanma Barranquero <lekktu@gmail.com>
10884
2724d9c7
JB
10885 * subr.el (display-delayed-warnings): Doc fix.
10886 (collapse-delayed-warnings): New function to collapse identical
10887 adjacent warnings.
10888 (delayed-warnings-hook): Add it.
d1a5c3b4 10889
a5509865
MA
108902012-01-22 Michael Albinus <michael.albinus@gmx.de>
10891
10892 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10893
a5509865
MA
10894 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10895 (tramp-default-user-alist): Don't add "pscp".
10896 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10897 property "login-as", if set. (Bug#10530)
10898
cc6d5805
MA
108992012-01-21 Michael Albinus <michael.albinus@gmx.de>
10900
10901 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10902 "plink1" and "psftp". (Bug#10530)
10903
109042012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10905
10906 * international/mule-cmds.el (prefer-coding-system): Show a
10907 warning message if the default value of file-name-coding-system
10908 was not changed.
10909
f0960428
JC
109102012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10911
cb882333
JB
10912 * windmove.el (windmove-reference-loc):
10913 Fix windmove-reference-loc miscalculation.
f0960428 10914
dd6f2a63
JB
109152012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10916
10917 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10918 default unit.
10919
7b447e9b
GM
109202012-01-21 Glenn Morris <rgm@gnu.org>
10921
117a9ea1
GM
10922 * international/mule.el (auto-coding-alist): Add .tbz.
10923
7b447e9b
GM
10924 * files.el (local-enable-local-variables): Doc fix.
10925 (inhibit-local-variables-regexps): Rename from
10926 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10927 Doc fix. Add some extensions from auto-coding-alist.
10928 (inhibit-local-variables-suffixes):
10929 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10930 (inhibit-local-variables-p):
10931 New function, extracted from set-auto-mode-1.
10932 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10933 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10934 (hack-local-variables): Doc fix. Make the mode-only case
10935 respect enable-local-variables and friends.
10936 Respect inhibit-local-variables-regexps for file-locals, but
10937 not for directory-locals.
10938 (set-visited-file-name):
10939 Take account of inhibit-local-variables-regexps.
10940 Whether it applies may change as the file name is changed.
10941 * jka-cmpr-hook.el (jka-compr-install):
10942 * jka-compr.el (jka-compr-uninstall):
10943 Update for inhibit-first-line-modes-suffixes name change.
10944
dd6e3cdd
MR
109452012-01-20 Martin Rudalics <rudalics@gmx.at>
10946
10947 * help-macro.el (make-help-screen): Temporarily restore original
10948 binding for minor-mode-map-alist (Bug#10454).
10949
0d0deb38
JD
109502012-01-19 Julien Danjou <julien@danjou.info>
10951
10952 * color.el (color-name-to-rgb): Use the white color to find the max
10953 color component value and return correctly computed values.
10954 (color-name-to-rgb): Add missing float conversion for max value.
10955
34a02f46
MR
109562012-01-19 Martin Rudalics <rudalics@gmx.at>
10957
10958 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10959 special state value for window-persistent-parameters.
10960 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10961 (window--state-put-2): Reset all window parameters to nil before
10962 assigning values of persistent parameters.
10963
606c44c4
AM
109642012-01-18 Alan Mackenzie <acm@muc.de>
10965
10966 Eliminate sluggishness and hangs in fontification of "semicolon
10967 deserts".
10968
cb882333
JB
10969 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10970 Change value 10000 -> 3000.
606c44c4
AM
10971 (c-state-safe-place): Reformulate so it doesn't stack up an
10972 infinite number of wrong entries in c-state-nonlit-pos-cache.
10973 (c-determine-limit-get-base, c-determine-limit): New functions to
10974 determine backward search limits disregarding literals.
10975 (c-find-decl-spots): Amend commenting.
10976 (c-cheap-inside-bracelist-p): New function which detects "={".
10977
10978 * progmodes/cc-fonts.el
10979 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10980 backward search.
10981 (c-font-lock-declarations): Fix an occurrence of point being
10982 undefined. Check additionally for point being in a bracelist or
10983 near a macro invocation without a semicolon so as to avoid a
10984 fruitless time consuming search for a declarator. Give a more
10985 precise search limit for declarators using the new
10986 c-determine-limit.
10987
f3860cea
GM
109882012-01-18 Glenn Morris <rgm@gnu.org>
10989
10990 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10991 (set-auto-mode): Doc fixes.
10992
1db03b16
GM
109932012-01-17 Glenn Morris <rgm@gnu.org>
10994
0e6038be
GM
10995 * isearch.el (search-nonincremental-instead): Fix doc typo.
10996
1db03b16
GM
10997 * dired.el (dired-insert-directory): Handle newlines in directory name.
10998 (dired-build-subdir-alist): Unescape newlines in directory name.
10999
4cb0aa75
MA
110002012-01-17 Michael Albinus <michael.albinus@gmx.de>
11001
11002 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11003 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11004 (tramp-action-terminal): Use it. (Bug#10530)
11005
1d00653d
SM
110062012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11009
6a6ee00d
MR
110102012-01-16 Martin Rudalics <rudalics@gmx.at>
11011
11012 * window.el (window-state-ignored-parameters): Remove variable.
11013 (window--state-get-1): Rename argument MARKERS to IGNORE.
11014 Handle persistent window parameters. Make copy of clone-of
11015 parameter only if requested. (Bug#10348)
11016 (window--state-put-2): Install a window parameter only if it has
11017 a non-nil value or an existing parameter shall be overwritten.
11018
97912def
MA
110192012-01-15 Michael Albinus <michael.albinus@gmx.de>
11020
11021 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11022
688070a5
EZ
110232012-01-14 Eli Zaretskii <eliz@gnu.org>
11024
11025 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11026 don't pass the (nil) value of `upnode' to string-match.
11027
301afadc
CY
110282012-01-14 Chong Yidong <cyd@gnu.org>
11029
11030 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11031 Fix values recognized by the cursorBlink resource.
301afadc 11032
9e5788aa
PE
110332012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11034
11035 * epg.el (epg--make-temp-file): Avoid permission race condition
11036 when running on old Emacs versions (bug#10403).
11037
3cdb7f5a
GM
110382012-01-14 Glenn Morris <rgm@gnu.org>
11039
11040 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11041
8c82b1b4
AM
110422012-01-13 Alan Mackenzie <acm@muc.de>
11043
11044 Fix filling for when filladapt mode is enabled.
11045
11046 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11047 c-mask-paragraph, pass in `fill-paragraph' rather than
11048 `fill-region-as-paragraph'. (This is a reversion of a previous
11049 change.)
eb864a71
LM
11050 * progmodes/cc-mode.el (c-basic-common-init):
11051 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11052
e517eda4
GM
110532012-01-13 Glenn Morris <rgm@gnu.org>
11054
1498536e
GM
11055 * dired.el (dired-switches-escape-p): New function.
11056 (dired-insert-directory): Use dired-switches-escape-p.
11057 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11058
e517eda4
GM
11059 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11060
328f984d
GM
110612012-01-12 Glenn Morris <rgm@gnu.org>
11062
11063 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11064 changes in adaptive-fill-regexp. (Bug#10276)
11065
2cc769a8
AM
110662012-01-11 Alan Mackenzie <acm@muc.de>
11067
11068 Fix Emacs bug #10463 - put `widen's around the critical spots.
11069
1d00653d 11070 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11071 widen around each invocation of c-state-pp-to-literal. Remove an
11072 unused let variable.
11073
e52c37fa
GM
110742012-01-11 Glenn Morris <rgm@gnu.org>
11075
11076 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11077 Doc fix.
e52c37fa 11078
96f8741e
CY
110792012-01-10 Chong Yidong <cyd@gnu.org>
11080
1d00653d
SM
11081 * net/network-stream.el (network-stream-open-starttls):
11082 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11083 response to the capability command.
11084
b09a806e
GM
110852012-01-10 Glenn Morris <rgm@gnu.org>
11086
11087 * mail/unrmail.el (unrmail): Tweak previous change.
11088
7655cb66
CY
110892012-01-09 Chong Yidong <cyd@gnu.org>
11090
11091 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11092
9d5a8f0b
AM
110932012-01-08 Alan Mackenzie <acm@muc.de>
11094
11095 Optimise font locking in long enum definitions.
11096
11097 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11098 arm to a cond form to handle enums.
11099 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11100 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11101
9a0115ab 111022012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11103
11104 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11105 (Bug#10401)
6bb72cbd 11106
f186bb95
LMI
111072012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11108
29232a68
LMI
11109 * faces.el (set-face-attribute): Clarify the meaning of the nil
11110 frame (bug#10294).
11111
4e5d086d
LMI
11112 * subr.el (with-selected-frame): Mention that the selected frame
11113 is restored (bug#9980).
11114
8e66aebe
LMI
11115 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11116 (bug#9759).
11117
cd394be1 11118 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11119 (password-read): Don't autoload unused function.
11120
adf4e762
JB
111212012-01-07 Juanma Barranquero <lekktu@gmail.com>
11122
11123 * progmodes/which-func.el (which-func-mode): Turn into a
11124 non-interactive function and mark as obsolete (bug#10428).
11125
89bd9ccd
CY
111262012-01-06 Chong Yidong <cyd@gnu.org>
11127
11128 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11129 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11130 functions, along with 1 and -1.
11131
4afee9d5
EZ
111322012-01-06 Eli Zaretskii <eliz@gnu.org>
11133
11134 * time.el (display-time-load-average)
11135 (display-time-default-load-average): Doc fixes. See the thread
11136 starting at
11137 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11138 for the details.
11139
536aea70
GM
111402012-01-06 Glenn Morris <rgm@gnu.org>
11141
665ae865
GM
11142 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11143 has no messages. (Bug#10377)
11144
c869783d
GM
11145 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11146 than Info-edit. (Bug#10385)
11147
2bb4227e
GM
11148 * time.el (display-time-load-average, display-time-next-load-average):
11149 Doc fixes.
11150
7d5944b9
GM
11151 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11152 local setting of buffer-read-only to the input buffer. (Bug#10419)
11153
536aea70
GM
11154 * calendar/calendar.el (calendar-mode):
11155 Locally set scroll-margin to 0. (Bug#10379)
11156
7dccca16
UM
111572012-01-06 Ulrich Mueller <ulm@gentoo.org>
11158
11159 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11160
afbb7930
GM
111612012-01-05 Glenn Morris <rgm@gnu.org>
11162
11163 * eshell/em-unix.el (diff-no-select): Autoload it.
11164 (eshell/diff): Use diff-no-select. (Bug#10420)
11165
04482335
CY
111662012-01-05 Chong Yidong <cyd@gnu.org>
11167
7baca3bc
CY
11168 * shell.el (shell-dynamic-complete-functions): Revert last change.
11169 (shell-command-completion-function): New function.
11170 (shell-completion-vars): Use it to implement
11171 shell-completion-execonly (Bug#10417).
11172
04482335
CY
11173 * custom.el (enable-theme): Don't set custom-safe-themes.
11174
1d00653d
SM
11175 * cus-theme.el (custom-theme-merge-theme):
11176 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11177
bb5aa5d6
MM
111782012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11179
11180 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11181 first prompt in `sql-interacive-mode'.
11182 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11183 keywords.
6df6ae42 11184 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11185 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11186 context of original buffer. Invoke `sql-login-hook'.
11187
a7183d7c
EZ
111882012-01-04 Eli Zaretskii <eliz@gnu.org>
11189
11190 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11191 letters in cite-prefix.
11192
a1eacd1e
LMI
111932012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11194
11195 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11196
787cdb34
CY
111972012-01-03 Chong Yidong <cyd@gnu.org>
11198
1d00653d
SM
11199 * shell.el (shell-dynamic-complete-functions):
11200 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11201 comint-filename-completion first (Bug#10417).
11202
30710442
RS
112032012-01-02 Richard Stallman <rms@gnu.org>
11204
11205 * battery.el (battery-status-function):
11206 Detect when to use battery-yeeloong-sysfs.
11207 (battery-echo-area-format): Add string for Yeeloong.
11208 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11209 (battery-yeeloong-sysfs): New function.
11210
f75bfc33
CY
112112012-01-02 Chong Yidong <cyd@gnu.org>
11212
11213 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11214 (dirtrack): Merge code for handling relative filenames in prompt
11215 from shell-dir-cookie-watcher.
11216 (dirtrack-debug-message): New arg to avoid excess format calls.
11217
11218 * shell.el (shell-dir-cookie-re): Variable deleted.
11219 (shell-dir-cookie-watcher): Function deleted.
11220 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11221 with dirtrack-mode.
11222
651e947e
EZ
112232012-01-01 Eli Zaretskii <eliz@gnu.org>
11224
1d00653d
SM
11225 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11226 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11227 libgnutls-26.dll.
11228
94d4c7dc
AS
112292011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11230
11231 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11232
8d43f3cd
EZ
112332011-12-31 Eli Zaretskii <eliz@gnu.org>
11234
11235 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11236 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11237
98c8795a
MA
112382011-12-29 Michael Albinus <michael.albinus@gmx.de>
11239
11240 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11241 also for alternative shells.
11242 (tramp-open-connection-setup-interactive-shell): Check, whether
11243 the shell is a busybox.
11244 (tramp-send-command): Don't suppress multiple prompts for
11245 busyboxes, it hurts.
11246
51281b32
CY
112472011-12-28 Chong Yidong <cyd@gnu.org>
11248
11249 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11250 (gdb-get-source-file): Move mode line update to
11251 gdb-get-source-file (Bug#10087).
11252
2170cb53
CY
112532011-12-25 Chong Yidong <cyd@gnu.org>
11254
11255 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11256 gud-gdb-marker-filter without taking it as an argument.
11257 (gud-gdb-run-command-fetch-lines): Caller changed.
11258 (gud-gdb-completion-function): New variable.
11259 (gud-gdb-completion-at-point): Use it.
11260 (gud-gdb-completions-1): Split from gud-gdb-completions.
11261
11262 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11263 function as separate arguments.
11264 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11265 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11266 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11267 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11268 (gdb-stopped, def-gdb-auto-update-trigger)
11269 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11270 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11271 Callers changed.
2170cb53
CY
11272 (gud-gdbmi-completions): New function.
11273 (gdb): Use it for generating the completion table.
11274
be8b11bb
AM
112752011-12-24 Alan Mackenzie <acm@muc.de>
11276
11277 Introduce a mechanism to widen the region used in context font
1d00653d 11278 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11279
1d00653d
SM
11280 * progmodes/cc-langs.el (c-before-font-lock-functions):
11281 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11282 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11283 functions to be run just before context (etc.) font locking.
11284
11285 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11286 New, functionality extracted from
be8b11bb 11287 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11288 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11289 (c-after-change): Set c-in-after-change-fontification.
11290 (c-set-fl-decl-start): Rejig its interface, so it can be called
11291 from both after-change and context fontifying.
b81d40f0
JB
11292 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11293 New functions.
11294 (c-standard-font-lock-fontify-region-function): New variable.
11295 (c-font-lock-fontify-region): New function.
be8b11bb 11296
341cf6ac
JL
112972011-12-24 Juri Linkov <juri@jurta.org>
11298
11299 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11300 (Bug#10348)
11301
bffcee0a
MA
113022011-12-23 Michael Albinus <michael.albinus@gmx.de>
11303
11304 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11305 existence of source file. (Bug#10325)
11306
cb5e207c
AM
113072011-12-23 Alan Mackenzie <acm@muc.de>
11308
11309 Fix unstable fontification inside templates.
11310
b81d40f0
JB
11311 * progmodes/cc-langs.el (c-before-font-lock-functions):
11312 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11313 additionally has c-set-fl-decl-start. The other languages (apart
11314 from AWK) have that as a single entry.
11315
b81d40f0
JB
11316 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11317 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11318 c-set-fl-decl-start.
11319
b81d40f0
JB
11320 * progmodes/cc-mode.el (c-common-init, c-after-change):
11321 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11322 (c-set-fl-decl-start): New function, extracted from
11323 c-font-lock-enclosing-decls and enhanced.
11324
60ff536c
JB
113252011-12-23 Juanma Barranquero <lekktu@gmail.com>
11326
11327 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11328
1c4757d6
JL
113292011-12-22 Juri Linkov <juri@jurta.org>
11330
11331 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11332
d031f2c7
CY
113332011-12-22 Chong Yidong <cyd@gnu.org>
11334
11335 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11336
bace743a
DA
113372011-12-21 Drew Adams <drew.adams@oracle.com>
11338
11339 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11340
728a1f2b
JC
113412011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11342
11343 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11344
0d373f73
TZ
113452011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11346
fec0aaa4
TZ
11347 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11348 highlighting and support. Fix up comments for capitalization.
11349 (cfengine-mode-debug): New var.
11350 (cfengine3-mode): Change the modeline indicator to "CFE3".
11351 (cfengine3-font-lock-keywords): Improve defun highlighting.
11352 (cfengine2-actions): Rename from `cfengine-actions'.
11353 (cfengine2-font-lock-keywords): Rename from
11354 `cfengine-font-lock-keywords'.
11355 (cfengine2-imenu-expression): Rename from
11356 `cfengine-imenu-expression'.
11357 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11358 (cfengine2-beginning-of-defun): Rename from
11359 `cfengine-beginning-of-defun'.
11360 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11361 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11362 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11363 modeline indicator to "CFE2".
11364 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11365 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11366
bc86f573
CY
113672011-12-21 Chong Yidong <cyd@gnu.org>
11368
11369 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11370 filename argument.
11371
d45ba96b
MR
113722011-12-20 Martin Rudalics <rudalics@gmx.at>
11373
11374 * window.el (window-normalize-buffer-to-display): Remove.
11375 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11376
a6198c90
CY
113772011-12-19 Chong Yidong <cyd@gnu.org>
11378
11379 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11380 Don't signal an error in a predicate function; return non-nil.
11381 (vc-dir-mark-file): Move the error here.
11382 (vc-dir-mark-unmark): If acting on the region, keep going if one
11383 of the entries cannot be marked/unmarked.
11384 (vc-dir-mark-all-files): If current entry is a directory, mark
11385 only child files, as documented.
11386
34c5fb55
VB
113872011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11388
11389 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11390 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11391 addition.
11392
c803b2b7
JD
113932011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11394
11395 * term/ns-win.el (ns-get-selection-internal)
11396 (ns-store-selection-internal): Declare.
1154d12e
JB
11397 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11398 Declare as obsolete.
11399 (ns-get-pasteboard, ns-paste-secondary):
11400 Use ns-get-selection-internal.
41e9b956 11401 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11402 Use ns-store-selection-internal.
c803b2b7 11403
9cff91f8 114042011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11405
11406 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11407 (vc-deduce-fileset): Doc fix.
99a289d9 11408
f16c898a
AS
114092011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11410
11411 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11412
763237c4
SS
114132011-12-13 Sam Steingold <sds@gnu.org>
11414
11415 * man.el (Man-getpage-in-background): When running under a
11416 window-system, ignore $MANWIDTH and $COLUMNS.
11417
5fc1c122
KH
114182011-12-15 Kenichi Handa <handa@m17n.org>
11419
11420 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11421 (setup-ethiopic-environment-internal): Comment out key-binding for
11422 ethio-toggle-punctuation.
11423
13d49cbb
AM
114242011-12-13 Alan Mackenzie <acm@muc.de>
11425
898169a2
AM
11426 Add the switch statement to AWK Mode.
11427
7a71b18d 11428 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11429 "default" to the keywords regexp.
11430
7a71b18d 11431 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11432 expression as the rest.
1d00653d
SM
11433 (c-nonlabel-token-key): Allow string literals for AWK.
11434 Refactor for the other modes.
898169a2 11435
13d49cbb 11436 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11437 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11438 routines. Limit backward searching in c-font-lock-enclosing.decl.
11439
11440 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11441 pp-state and literal type in addition to the limits.
1d00653d 11442 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11443 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11444 (c-slow-in-literal, c-fast-in-literal): Remove.
11445 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11446
11447 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11448 being in a literal. Add a limit for backward searching.
11449
11450 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11451 c-slow-in-literal.
11452
15e0efc7
SM
114532011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11456
454592a6
MR
114572011-12-13 Martin Rudalics <rudalics@gmx.at>
11458
11459 * window.el (delete-other-windows): Use correct frame in call to
11460 window-with-parameter.
11461
87393f26
DP
114622011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11463
11464 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11465 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11466 (makefile-gmake-statements, makefile-makepp-statements):
11467 Use it and add new makepp keywords.
11468 (makefile-makepp-font-lock-keywords): Add new patterns.
11469 (makefile-match-function-end): Match new [...] and [[...]].
11470
11636b22
JB
114712011-12-11 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * ses.el (ses-call-printer-return, ses-cell-property-get)
11474 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11475 (ses-create-cell-variable, ses-reset-header-string)
11476 (ses-cell-set-formula, ses-repair-cell-reference-all)
11477 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11478 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11479 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11480 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11481 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11482 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11483 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11484 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11485 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11486 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11487 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11488 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11489
cf018193
VB
114902011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11491
11492 * ses.el: The overall change is to add cell renaming, that is
11493 setting fancy names for cell symbols other than name matching
11494 "\\`[A-Z]+[0-9]+\\'" regexp .
11495 (ses-create-cell-variable): New defun.
11496 (ses-relocate-formula): Relocate formulas only for cells the
11497 symbols of which are not renamed, i.e. symbols whose names do not
11498 match regexp "\\`[A-Z]+[0-9]+\\'".
11499 (ses-relocate-all): Relocate values only for cells the symbols of
11500 which are not renamed.
11501 (ses-load): Create cells variables as the (ses-cell ...) are read,
11502 in order to check row col consistency with cell symbol name only
11503 for cells that are not renamed.
11504 (ses-replace-name-in-formula): New defun.
11505 (ses-rename-cell): New defun.
11506
ee957461
CY
115072011-12-11 Chong Yidong <cyd@gnu.org>
11508
11509 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11510 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11511
9a9e9ef0
MR
115122011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11513
11514 * window.el (other-window): Fix docstring.
11515
92a8eba5
EZ
115162011-12-10 Eli Zaretskii <eliz@gnu.org>
11517
11518 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11519 `from' or `to' address before taking its substring.
11520 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11521 encoded name is chopped in the middle of the encoded string, and
11522 thus displayed encoded.
11523
e152e577
JB
115242011-12-10 Juanma Barranquero <lekktu@gmail.com>
11525
11526 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11527
e5d84bfe
EZ
115282011-12-10 Eli Zaretskii <eliz@gnu.org>
11529
11530 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11531 to use texinfo-update-node and commands that call it if the
11532 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11533 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11534 (texinfo-all-menus-update, texinfo-master-menu)
11535 (texinfo-update-node, texinfo-every-node-update)
11536 (texinfo-multiple-files-update): Doc fix. Warn against updating
11537 all the @node lines.
11538 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11539 argument is numeric. Explain better in the doc string what the
11540 function really does.
11541 (texinfo-insert-master-menu-list): Improve the error message
11542 displayed if there's no menu in the Top node.
11543 (Bug#2975) See also this thread:
e5d84bfe
EZ
11544 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11545
1d84e9bb
MG
115462011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11547
11548 * speedbar.el (speedbar-supported-extension-expressions):
11549 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11550
382c953b
JB
115512011-12-09 Juanma Barranquero <lekktu@gmail.com>
11552
11553 * printing.el (pr-mode-alist):
11554 * simple.el (filter-buffer-substring-functions)
11555 (completion-list-insert-choice-function):
11556 * window.el (window-with-parameter, window-atom-root)
11557 (window-sides-slots, window-size-fixed, window-min-delta)
11558 (window-max-delta, window--resize-mini-window)
11559 (window--resize-child-windows-normal, window-tree)
11560 (delete-other-windows, quit-window, split-window)
11561 (display-buffer-record-window, special-display-buffer-names)
11562 (special-display-regexps, special-display-popup-frame)
11563 (same-window-p, split-window-sensibly)
11564 (display-buffer-overriding-action, display-buffer-alist)
11565 (display-buffer-base-action, display-buffer, switch-to-buffer)
11566 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11567 (fit-window-to-buffer, recenter-positions)
11568 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11569 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11570 and remove unneeded backslashes in docstrings.
11571
39c9faef
SM
115722011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11573
98449af8
SM
11574 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11575
39c9faef
SM
11576 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11577 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11578 end in ".mk".
11579 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11580 when reading the makefile (bug#10116).
11581
86ed9fdc
SM
115822011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11583
11584 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11585 (bug#10116).
11586
5580f89d
GM
115872011-12-06 Glenn Morris <rgm@gnu.org>
11588
11589 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11590
28d3917c
CY
115912011-12-06 Chong Yidong <cyd@gnu.org>
11592
11593 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11594
a98edce9
JB
115952011-12-06 Juanma Barranquero <lekktu@gmail.com>
11596
11597 * textmodes/table.el (table-shorten-cell): Fix typo.
11598
e65adfac
CG
115992011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11600
11601 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11602
71cc0b74
EZ
116032011-12-05 Eli Zaretskii <eliz@gnu.org>
11604
11605 * descr-text.el (describe-char): Fix display of strong
11606 right-to-left characters and directional embeddings and overrides.
11607
11608 * simple.el (what-cursor-position): Fix display of codepoints of
11609 strong right-to-left characters.
11610
315bc30d
CY
116112011-12-05 Chong Yidong <cyd@gnu.org>
11612
11613 * faces.el (read-color): Doc fix.
11614
58a70b94
GM
116152011-12-05 Glenn Morris <rgm@gnu.org>
11616
11617 * align.el (align--set-marker): Add doc-string.
11618 Don't try to move something that is not a marker. (Bug#10216)
11619
5158face
GM
116202011-12-04 Glenn Morris <rgm@gnu.org>
11621
11622 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11623 overly zealous deletion of trailing whitespace.
11624
520fca41
JB
116252011-12-04 Juanma Barranquero <lekktu@gmail.com>
11626
11627 * server.el (server-delete-client): On Windows, do not try to delete
11628 the only terminal.
11629 (server-process-filter): On Windows, treat requests for a tty frame as
11630 if they were for a GUI frame if the running server is in GUI mode.
11631
5e605a2e
GM
116322011-12-03 Glenn Morris <rgm@gnu.org>
11633
11634 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11635
5c3fe83f
SM
116362011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11637
6f5e57e7
SM
11638 * electric.el: Streamline electric-indent's hook.
11639 (electric-indent-chars): Revert to simple list.
11640 (electric-indent-functions): New var.
11641 (electric-indent-post-self-insert-function): Use it.
11642
5c3fe83f
SM
11643 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11644 there's no inferior buffer (bug#10196).
11645 (prolog-consult-compile): Don't use toggle-read-only.
11646
6bdac736
MA
116472011-12-02 Michael Albinus <michael.albinus@gmx.de>
11648
11649 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11650 interrupt. (Bug#10187)
11651
6131ba7f
SM
116522011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11653
99c79fee
SM
11654 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11655 (bug#9160).
11656
6131ba7f
SM
11657 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11658 (bug#10191).
11659
cb0a02ea
JL
116602011-12-02 Juri Linkov <juri@jurta.org>
11661
11662 * info.el (Info-search): Display "end of manual" when Isearch
11663 reaches the end of single-file Info manual. (Bug#9918)
11664
66e0570c
EZ
116652011-12-02 Eli Zaretskii <eliz@gnu.org>
11666
11667 * isearch.el (isearch-message-prefix): Run the input method part
11668 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11669
02b16839
JL
116702011-12-02 Juri Linkov <juri@jurta.org>
11671
11672 * isearch.el (isearch-occur): Use `word-search-regexp' for
11673 `isearch-word'.
11674 (isearch-search-and-update): Add condition for `isearch-word' and
11675 call `word-search-regexp'. (Bug#10145)
11676
0b950688
GM
116772011-12-01 Glenn Morris <rgm@gnu.org>
11678
11679 * eshell/em-hist.el (eshell-hist-initialize):
11680 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11681 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11682
9505c3c7
SM
116832011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11686
1bbe96b2 116872011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11688
a1beca85
SM
11689 * progmodes/verilog-mode.el (verilog-pretty-expr):
11690 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11691 verilog, such as += *= and the like.
11692 (verilog-assignment-operator-re): Regular expression to find the
11693 assigment operator in a verilog assignment.
11694 (verilog-assignment-operation-re): Regular expression to find an
11695 assignment statement for pretty-expr.
11696 (verilog-in-attribute-p): Query returns true if point is in an
11697 attribute context; used to skip these for expression line up from
11698 pretty-expr.
11699 (verilog-in-parameter-p): Query returns true if point is in an
11700 parameter definition context; used to skip these for expression
11701 line up from pretty-expr.
11702 (verilog-in-parenthesis-p): Query returns true if point is in a
11703 parenthetical expression, specifically ( ) but not [ ] or { };
11704 used by pretty-expr.
11705 (verilog-just-one-space): If there is no space, don't add one.
11706 (verilog-get-lineup-indent-2): Specifically skip just attribute
11707 contexts for expression lineup, rather than skipping all
11708 parenthetical expressions.
11709 (verilog-calculate-indent): Fix comment, and fix indent.
11710 (verilog-do-indent): Indent declarations in lists (suggested by
11711 Joachim Lechner).
11712 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11713 skeleton items.
11714 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11715 by Alain Mellan).
11716
1bbe96b2 117172011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11718
11719 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11720 parameters with embedded comments. Reported by Ray Stevens.
11721 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11722 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11723 Reported by Tim Holt.
11724 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11725 instantiated by upper module causing wrong expansion until AUTOed a
11726 second time. Reported by K C Buckenmaier.
11727 (verilog-diff-auto): Fix showing .* as a difference when
11728 `verilog-auto-star-save' off. Reported by Dan Dever.
11729 (verilog-auto-reset, verilog-read-always-signals)
11730 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11731 temporary signals in reset list if
11732 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11733 style to each signal's assignment type, bug381.
11734 Reported by Thomas Esposito.
6288f0ca
WS
11735 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11736 (verilog-uvm-statement-re): Support UVM indentation and
11737 highlighting, with old OVM keywords only.
a1beca85 11738 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11739 Support AUTOTIEOFF creating non-wire data types.
11740 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11741 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11742 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11743 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11744 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11745 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11746 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11747 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11748 non-numeric vector width. Reported by Alex Reed.
11749 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11750 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11751 (verilog-auto-delete-trailing-whitespace):
11752 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11753 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11754 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11755 Fix verilog-scan-cache corruption when running user AUTO expansion
11756 hooks that call indentation routines.
11757 (verilog-simplify-range-expression): Fix typo ignoring lower case
11758 identifiers.
11759 (verilog-delete-auto): Fix delete-autos to also remove user created
11760 automatics, as long as they start with AUTO.
11761 (verilog-batch-diff-auto, verilog-diff-auto)
11762 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11763 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11764 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11765 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11766 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11767 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11768 is disabled and its cache will get corrupt, causing AUTOS not to
11769 expand. Instead use only -quick functions.
11770 (verilog-scan-region): Fix scanning over escaped quotes.
11771 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11772 (verilog-re-search-backward-quick)
11773 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11774 related functions now ignore strings, to fix misparsing of strings
11775 with magic comments embedded in them.
a1beca85
SM
11776 (verilog-read-auto-template):
11777 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11778 Reported by Brad Dobbie.
11779 (verilog-read-auto-template):
11780 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11781 Reported by Brad Dobbie.
6288f0ca
WS
11782 (verilog-auto-inst, verilog-auto-inst-param)
11783 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11784 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11785 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11786 debugging templates without merge conflicts, bug357.
11787 Reported by Brad Dobbie.
11788 (verilog-read-auto-template):
11789 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11790 Reported by Brad Dobbie.
11791 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11792 abbrevs so user won't be asked to save.
11793 (verilog-read-auto-lisp-present): Fix to start at beginning of
11794 buffer in case called outside of verilog-auto.
11795 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11796 to "X-2". Reported by Matthew Myers.
11797 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11798 all inputs from module templates. Reported by Leith Johnson.
11799 (verilog-module-inside-filename-p): Fix locating programs as with
11800 modules.
11801 (verilog-auto-inst-port): Fix vl-width expressions when using
11802 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11803 (verilog-decls-get-regs, verilog-decls-get-signals,
11804 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11805 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11806 verilog-read-decls): Combine reg and wire structures into one var
11807 structure to represent SystemVerilog concepts.
11808 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11809 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11810 (verilog-auto-wire-type, verilog-insert-definition):
11811 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11812 SystemVerilog "logic" keyword instead of "wire"/"reg".
11813 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11814 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11815 ifdef or generate if so there's not a driver conflict).
11816 Reported by Matthew Myers.
11817 (verilog-auto-declare-nettype, verilog-insert-definition):
11818 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11819 `default_nettype none. Reported by Julian Gorfajn.
11820 (verilog-read-always-signals-recurse, verilog-read-decls)
11821 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11822 malformed end statement, bug325. Reported by Joshua Wise and
11823 Andrew Drake.
11824 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11825 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11826 when expanding .* in interfaces, bug320.
11827 Reported by Pierre-David Pfister.
6288f0ca 11828 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11829 name and open parenthesis, bug317.
11830 Reported by Pierre-David Pfister.
6288f0ca
WS
11831 (verilog-simplify-range-expression): Fix simplification of
11832 multiplications inside AUTOWIRE connections, bug303.
11833 (verilog-auto-inst-port): Support parameter expansion in
11834 multidimensional arrays.
11835 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11836 after "assert property". Reported by Julian Gorfajn.
11837 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11838 with multiplication, bug303.
11839 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11840 Reported by Jan Frode Lonnum.
11841
1bbe96b2
GM
118422011-11-30 Juanma Barranquero <lekktu@gmail.com>
11843
11844 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11845 (hfy-shell-file-name, hfy-shell):
11846 * international/fontset.el (x-decompose-font-name): Fix typos.
11847
118482011-11-29 Ken Brown <kbrown@cornell.edu>
11849
11850 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11851 (gdb-version): Remove defvar.
11852 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11853 (gdb-gud-context-command, gdb-non-stop-handler)
11854 (gdb-current-context-command, gdb-stopped): Use it.
11855 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11856 (gdb-non-stop-handler): Don't enable pretty-printing here.
11857 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11858 non-stop mode. Use the following.
11859 (gdb-check-target-async): New defun.
11860 (gud-watch, gdb-stopped): Fix whitespace.
11861 (gdb-get-source-file): Don't try to display the source file if
11862 `gdb-main-file' is nil.
11863
118642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * align.el: Try to generate fewer markers (bug#10047).
11867 (align--set-marker): New macro.
11868 (align-region): Use it.
11869
c935221f
SM
118702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11873
e70b5064
CY
118742011-11-29 Chong Yidong <cyd@gnu.org>
11875
11876 * indent.el (indent-for-tab-command, indent-according-to-mode):
11877 Doc fix.
11878 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11879
f3af92b7
MA
118802011-11-29 Michael Albinus <michael.albinus@gmx.de>
11881
11882 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11883 aware of remote file names. (Bug#10124)
11884
ed472be9
CY
118852011-11-29 Chong Yidong <cyd@gnu.org>
11886
11887 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11888
24510c22
SM
118892011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11890
11891 * files.el (find-file): Don't use force-same-window (bug#10144).
11892 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11893 use pop-to-buffer if the selected window can't be used.
11894 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11895
c60c3703
EZ
118962011-11-28 Eli Zaretskii <eliz@gnu.org>
11897
11898 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11899 special-mode-map.
11900
e95def75
CY
119012011-11-28 Chong Yidong <cyd@gnu.org>
11902
11903 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11904
c3f1c606
NR
119052011-11-27 Nick Roberts <nickrob@snap.net.nz>
11906
11907 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11908 gdb-get-source-file-list on gdb-create-source-file-list.
11909
00db469c
EZ
119102011-11-26 Eli Zaretskii <eliz@gnu.org>
11911
11912 * whitespace.el (whitespace-newline): Use a different foreground
11913 color for 16-color light-background displays.
11914
4ad3bc2a
CY
119152011-11-24 Chong Yidong <cyd@gnu.org>
11916
11917 * window.el (display-buffer--special-action): Doc fix.
11918
e9fce1ac
JB
119192011-11-25 Juanma Barranquero <lekktu@gmail.com>
11920
11921 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11922 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11923 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11924 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11925 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11926 (avl-tree-stack-first):
11927 * emacs-lisp/cconv.el (cconv--analyse-use):
11928 * net/gnutls.el (gnutls-negotiate): Fix typos.
11929
cb825e5d
GM
119302011-11-24 Glenn Morris <rgm@gnu.org>
11931
3adbe224
GM
11932 * lpr.el (lpr-windows-system, lpr-lp-system):
11933 * mail/binhex.el (binhex-begin-line):
11934 * progmodes/grep.el (grep-history, grep-find-history):
11935 * textmodes/flyspell.el:
11936 * vc/pcvs-defs.el (cvs-global-menu):
11937 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11938 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11939 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11940
321decc8
GM
11941 * net/tls.el: Fix case of "GnuTLS".
11942
420b63ad
GM
11943 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11944
cb825e5d
GM
11945 * version.el (emacs-build-system): Give it a doc-string.
11946
a0649f08
JL
119472011-11-24 Juri Linkov <juri@jurta.org>
11948
11949 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11950
c0bc0fd4
GM
119512011-11-24 Glenn Morris <rgm@gnu.org>
11952
11953 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11954 if called on a non-mime message just toggle the headers. (Bug#8006)
11955
20db1522
JB
119562011-11-24 Juanma Barranquero <lekktu@gmail.com>
11957
11958 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11959 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11960 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11961 (allout-rebullet-heading, allout-open-sibtopic)
11962 (allout-toggle-current-subtree-encryption)
11963 (allout-toggle-subtree-encryption, allout-encrypt-string)
11964 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11965 (allout-distinctive-bullets-string, allout-auto-activation):
11966 * window.el (window-normalize-buffer-to-display):
11967 * progmodes/verilog-mode.el (verilog-batch-indent):
11968 * textmodes/bibtex.el (bibtex-field-braces-opt)
11969 (bibtex-field-strings-opt):
11970 * vc/cvs-status.el (cvs-tree-merge):
11971 Fix typos.
11972
7262a87c
MA
119732011-11-23 Michael Albinus <michael.albinus@gmx.de>
11974
11975 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11976 `non-essential' to t, in order to avoid remote connections.
11977
283430a1
EZ
119782011-11-23 Eli Zaretskii <eliz@gnu.org>
11979
a1beca85
SM
11980 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11981 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11982 case-insensitively.
11983
d2992a38
ML
119842011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11985
11986 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11987
50419064
GM
119882011-11-23 Glenn Morris <rgm@gnu.org>
11989
da94eca1
GM
11990 * paths.el (rmail-file-name): Reformat the doc-string so that it
11991 is picked up.
11992
9aac4de2
GM
11993 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11994 (rmail-auto-file): Ignore case in the "special" field names,
11995 as mail-fetch-field does for all others.
11996
8038d2d2
GM
11997 * mail/rmail.el (rmail-forward):
11998 * mail/rmailkwd.el (rmail-set-label):
11999 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12000 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12001
f3fe222a
GM
12002 * mail/rmail.el (rmail-current-message): Doc fix.
12003
50419064
GM
12004 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12005
28109f49
SM
120062011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12009
394c65f1
GM
120102011-11-22 Glenn Morris <rgm@gnu.org>
12011
12012 * mail/rmailmm.el (test-rmail-mime-handler)
12013 (test-rmail-mime-bulk-handler)
12014 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12015
f2a0aa3a
JL
120162011-11-21 Juri Linkov <juri@jurta.org>
12017
1154d12e
JB
12018 * calc/calc.el (calc-read-key-sequence):
12019 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12020
9c34a344
LMI
120212011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12022
12023 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12024 Tell the caller that the next line needs recomputation, even
12025 though it doesn't start a sexp (bug#10094).
12026
f04a3be9
SM
120272011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12030
7978747f
SM
120312011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12032
f04a3be9
SM
12033 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12034 Use force-same-window.
7978747f 12035
fe7a3057
JB
120362011-11-20 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * descr-text.el (describe-char-unicode-data):
12039 * json.el (json-string-escape):
12040 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12041 (Footnote-unicode, Footnote-style-p):
12042 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12043
24901d61
CY
120442011-11-20 Chong Yidong <cyd@gnu.org>
12045
12046 * window.el (replace-buffer-in-windows): Restore interactive spec.
12047
bac7ff22
SM
120482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12049
24f3d7b9
SM
12050 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12051
bac7ff22
SM
12052 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12053 (byte-compile-global-not-obsolete-vars): New var.
12054 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12055 Use it.
12056 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12057
cd1181db
JB
120582011-11-20 Juanma Barranquero <lekktu@gmail.com>
12059
12060 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12061 * progmodes/pascal.el (electric-pascal-equal):
12062 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12063 * xml.el (xml-substitute-special): Fix typos.
12064
7fb18e9e
GM
120652011-11-20 Glenn Morris <rgm@gnu.org>
12066
12067 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12068 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12069 Doc fixes.
12070 (rmail-decode-mime-charset): Mark as obsolete.
12071
12072 * mail/rmailsum.el (rmail-message-regexp-p-1):
12073 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12074 Before using mime functions, check they are set. (Bug#10077)
12075
d5a6b3ba
JL
120762011-11-19 Juri Linkov <juri@jurta.org>
12077
12078 * info.el (Info-finder-find-node): Use `package--builtins' instead
12079 of `package-alist'. Use node names formed by the pattern "Keyword "
12080 and the keyword name.
12081
e981b61f
AS
120822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12083
1d00653d 12084 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12085
3ffbc301
JL
120862011-11-19 Juri Linkov <juri@jurta.org>
12087
12088 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12089 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12090 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12091 `old-history', `old-history-forward'. Add let-binding
12092 `window-selected'. Remove calls to `kill-buffer',
12093 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12094 before calling `Info-find-node', so `Info-find-node-2' will reread
12095 the Info file. Restore window positions only when `window-selected'
12096 is non-nil.
12097
30c62133
JL
120982011-11-19 Juri Linkov <juri@jurta.org>
12099
12100 * isearch.el (isearch-lazy-highlight-new-loop):
12101 Remove condition `(not isearch-error)'. (Bug#9918)
12102
12103 * misearch.el (multi-isearch-search-fun): Add condition
12104 `(not bound)' to ignore lazy-highlighting search.
12105 Add the search-failed message "end of multi" when the end of
12106 multi-sequence is reached. Uncapitalize the search-failed
12107 message "Repeat for next buffer".
12108
12109 * info.el (Info-search): Add the search-failed message
12110 "end of the manual" when the end of the manual is reached
12111 in Isearch mode.
12112
645ca9cf
JL
121132011-11-19 Juri Linkov <juri@jurta.org>
12114
12115 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12116 Use non-destructive `remove' instead of `delete' because
12117 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12118 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12119
df754f66
JL
121202011-11-19 Juri Linkov <juri@jurta.org>
12121
12122 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12123 to nil instead of binding `search-ring' and `regexp-search-ring'.
12124 (Bug#9185)
12125
0e23d96a
EZ
121262011-11-19 Eli Zaretskii <eliz@gnu.org>
12127
12128 * simple.el (line-move): Force movement by logical lines for any
12129 hscrolled window, not only when auto-hscroll-mode is on.
12130 (line-move-visual): Update doc string to that effect. (Bug#10076)
12131
8a6ccb66
AS
121322011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12133
12134 * language/european.el (macintosh): Define as alias for mac-roman.
12135
49ae5b39
EZ
121362011-11-19 Eli Zaretskii <eliz@gnu.org>
12137
12138 * mail/rmailmm.el (rmail-mime-display-header)
12139 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12140 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12141 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12142 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12143 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12144 of a raw aref.
12145 (rmail-mime-entity-segment): To get past the tagline, move forward
12146 2 more lines, to account for the 2 empty lines that precede and
12147 follow the line with the buttons.
12148 (rmail-mime-update-tagline): Move one more line, to get past the
12149 empty line that follows the buttons in the tagline. (Bug#9520)
12150
c56cad4a
MR
121512011-11-19 Martin Rudalics <rudalics@gmx.at>
12152
12153 * window.el (window-max-delta-1, window-min-delta-1)
12154 (window-min-size-1, window-state-get-1, window-state-put-1)
12155 (window-state-put-2): Use "window--" prefix.
12156
cbe71af3
SM
121572011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12158
2ad52c60
SM
12159 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12160 (smie-warning-count): New var.
12161 (smie-set-prec2tab): Use it.
12162 (smie-bnf->prec2): Improve warnings. Add docstring.
12163 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12164 (smie-bnf--set-class): New function.
12165 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12166 corner case.
12167
6944dbc1
SM
12168 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12169 (compilation-error-properties, compilation-move-to-column):
12170 Handle compilation-first-column while in the target buffer.
12171
c400c4d7
SM
12172 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12173 Don't hardcode point-min==1.
12174
6dbe3e96
SM
12175 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12176 (eshell-rewrite-for-command): Remove workaround.
12177 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12178 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12179 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12180
cbe71af3
SM
12181 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12182
a8e1496d
GM
121832011-11-17 Glenn Morris <rgm@gnu.org>
12184
12185 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12186 Ignore buffer-local generated-autoload-file if it is the same
12187 as the global value. (Bug#10049)
12188
df85d315
JB
121892011-11-17 Juanma Barranquero <lekktu@gmail.com>
12190
12191 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12192 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12193 (reftex-toc-previous-heading, reftex-toc-max-level)
12194 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12195 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12196 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12197 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12198 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12199 (reftex-toc-rename-label, reftex-toc-visit-location)
12200 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12201 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12202 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12203 leaving "*toc*" only for references to the buffer.
12204
a0c2d0ae
MR
122052011-11-17 Martin Rudalics <rudalics@gmx.at>
12206
12207 * window.el (window-resize, delete-window, split-window):
12208 Replace window-splits by window-combination-resize.
1d00653d 12209 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12210
35c0bac8
GM
122112011-11-17 Glenn Morris <rgm@gnu.org>
12212
12213 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12214 Make bash entry derive from sh entry, not shell entry.
12215
d0c8fc8a
MA
122162011-11-16 Michael Albinus <michael.albinus@gmx.de>
12217
7262a87c
MA
12218 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12219 local file name.
12220
7877f373
JB
122212011-11-16 Juanma Barranquero <lekktu@gmail.com>
12222
12223 * menu-bar.el (menu-bar-file-menu):
12224 * printing.el (pr-ps-utility):
12225 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12226 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12227 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12228 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12229 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12230 (icalendar--convert-cyclic-to-ical)
12231 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12232 (icalendar--convert-ical-to-diary)
12233 (icalendar--convert-recurring-to-diary)
12234 (icalendar--convert-non-recurring-all-day-to-diary)
12235 (icalendar-import-format-sample):
12236 * progmodes/idlw-shell.el (idlwave-shell-mode):
12237 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12238 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12239 (vhdl-ps-print-init): Fix typos.
12240
10649b82
KM
122412011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12242
9d0cfcd6
GM
12243 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12244 FSF and collapse date sequence, obscure author/maintainer email address
12245 better, remove extra version line, track relocation of author's webpage.
10649b82 12246
9d0cfcd6
GM
12247 * progmodes/python.el (python-pdbtrack-input-prompt)
12248 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12249 regular python pdb prompts. Adjustments shamelessly taken exactly as
12250 suggested in EmacsWiki page (tiny change):
12251 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12252
58179cce
JB
122532011-11-16 Juanma Barranquero <lekktu@gmail.com>
12254
12255 * expand.el (expand-pos, expand-index, expand-point):
12256 Remove redundant info from docstring.
12257 (expand-add-abbrevs): Doc fix.
12258 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12259 (expand-sample-perl-mode-expand-list): Fix typos.
12260
12261 * net/dbus.el (dbus-event-member-name):
12262 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12263 * term/pc-win.el (msdos-create-frame-with-faces):
12264 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12265
b6f67890
MR
122662011-11-16 Martin Rudalics <rudalics@gmx.at>
12267
12268 * window.el (split-window, window-state-get-1)
12269 (window-state-put-1, window-state-put-2): Rename occurrences of
12270 window-nest to window-combination-limit.
1d00653d 12271 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12272
ce7ddba0
CY
122732011-11-16 Chong Yidong <cyd@gnu.org>
12274
12275 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12276 regexp (Bug#10033).
12277
3ae704f4
SM
122782011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12281 `completing-read' will remove *Completions* and will preserve
12282 current-buffer for us.
12283 (tmm-add-prompt): Users of *Completions* will always (re)set its
12284 major mode.
12285 (tmm-old-comp-map): Remove.
12286
6ad1cdde
GM
122872011-11-16 Glenn Morris <rgm@gnu.org>
12288
12289 * mail/rmailedit.el: Require rmailmm when compiling.
12290 (rmail-old-mime-state): New declaration.
12291 (rmail-edit-current-message): If editing a mime message,
12292 edit the "raw" message from the mbox buffer.
12293 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12294
d20faa20
GM
122952011-11-15 Glenn Morris <rgm@gnu.org>
12296
12297 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12298 which wasn't being used. Add optional arg to force given state.
12299 (rmail-mime): Add optional arg to force given state.
12300
c7015153
JB
123012011-11-15 Juanma Barranquero <lekktu@gmail.com>
12302
12303 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12304 * frame.el (display-mm-dimensions-alist):
12305 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12306 (outline-move-subtree-down):
12307 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12308 (newsticker--treeview-do-get-node):
12309 * net/quickurl.el (quickurl-list-buffer-name):
12310 * progmodes/dcl-mode.el (dcl-mode):
12311 * progmodes/gdb-mi.el (gdb-mapcar*):
12312 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12313
45261b50
GM
123142011-11-15 Glenn Morris <rgm@gnu.org>
12315
12316 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12317 in a boolean sense, so just make it a boolean, and fix the doc.
12318 (rmail-show-mime-function, rmail-mime-feature)
12319 (rmail-require-mime-maybe): Doc fixes.
12320 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12321
12322 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12323
0d26e0b6
JB
123242011-11-15 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12327 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12328 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12329 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12330
447f30f6
GM
123312011-11-15 Glenn Morris <rgm@gnu.org>
12332
672b871d
GM
12333 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12334 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12335 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12336 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12337 (rmail-mime, rmail-show-mime): Doc fixes.
12338
f6aa5bb1
GM
12339 * term/ns-win.el (mode-line-frame-identification):
12340 Leave it alone. (Bug#10051)
12341
947cd66b
GM
12342 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12343
447f30f6
GM
12344 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12345 Handle empty buffers. (Bug#9978)
12346
0b381c7e
JB
123472011-11-14 Juanma Barranquero <lekktu@gmail.com>
12348
12349 * international/mule.el (define-charset):
12350 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12351 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12352 * progmodes/verilog-mode.el (verilog-backward-token):
12353 * textmodes/ispell.el (lookup-words):
12354 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12355
71e027ac
GM
123562011-11-14 Glenn Morris <rgm@gnu.org>
12357
56632ce4
GM
12358 * progmodes/executable.el
12359 (executable-make-buffer-file-executable-if-script-p):
12360 Handle file-modes returning nil.
12361
40500957
GM
12362 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12363 message - not necessary, and causes problems. (Bug#9831)
12364
071c2340
GM
12365 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12366
d3cfca60
GM
12367 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12368
71e027ac
GM
12369 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12370 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12371 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12372
89d61221
MR
123732011-11-12 Martin Rudalics <rudalics@gmx.at>
12374
12375 * window.el (window-resize, delete-window): Use window-splits
12376 variable instead of function.
12377 (window-state-get-1, window-state-put-2, window-state-put):
12378 Don't deal with windows' splits status.
12379
98282f6f
GM
123802011-11-12 Glenn Morris <rgm@gnu.org>
12381
12382 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12383 (apropos-documentation): Doc fixes.
12384
40a8bdf6
JB
123852011-11-11 Juanma Barranquero <lekktu@gmail.com>
12386
12387 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12388 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12389
65bd19ff
SM
123902011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * electric.el (electric-indent-post-self-insert-function): Make it
12393 possible for a char to only indent in some circumstances.
12394 (electric-indent-mode): Simplify.
12395
54f9154c
MR
123962011-11-11 Martin Rudalics <rudalics@gmx.at>
12397
12398 * window.el (windows-with-parameter): Remove unused function.
12399 (windows-at-side): Rename to window-at-side-list.
12400 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12401 (window-side-check, window-size-ignore, window-size-fixed-1)
12402 (window-in-direction-2): Prefix with "window--".
12403 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12404
68cbc58b
GM
124052011-11-11 Glenn Morris <rgm@gnu.org>
12406
12407 * subr.el (eval-after-load): If FILE is already loaded,
12408 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12409
b2621720
GM
124102011-11-10 Glenn Morris <rgm@gnu.org>
12411
9a4de110
GM
12412 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12413 Call svn via vc-svn-command rather than vc-do-command.
12414 (vc-svn-command): Add --non-interactive. (Bug#9993)
12415 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12416
b2621720
GM
12417 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12418 Add toggle-read-only. (Bug#7292)
12419 * files.el (toggle-read-only): Mention that it should only
12420 be used interactively. (Bug#10006)
12421
1dce7193
SM
124222011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12423
d9ac1a1e
SM
12424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12425 Adjust regexp for OCaml warnings.
12426
0c325082
SM
12427 * electric.el (electric-pair-post-self-insert-function): Let user
12428 turn it off buffer-locally (bug#9932).
12429
90132c14
SM
12430 * progmodes/python.el (python-beginning-of-statement):
12431 Rewrite (bug#2703).
12432
1dce7193
SM
12433 * progmodes/compile.el: Better handle TABs (bug#9749).
12434 (compilation-internal-error-properties)
12435 (compilation-next-error-function): Obey the target buffer's
12436 compilation-error-screen-columns.
12437
c4e7c63a
JB
124382011-11-09 Juanma Barranquero <lekktu@gmail.com>
12439
12440 * progmodes/meta-mode.el: Remove obsolete comments.
12441 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12442 Fix typos in docstrings.
12443
2cffd681
MR
124442011-11-09 Martin Rudalics <rudalics@gmx.at>
12445
12446 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12447 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12448 (window--resizable): New function. Make all callers of
12449 window-resizable call window--resizable instead.
12450 (window-resizable): Rewrite in terms of window--resizable.
12451
0edcba87
GM
124522011-11-08 Glenn Morris <rgm@gnu.org>
12453
12454 * progmodes/delphi.el (delphi-mode-syntax-table):
12455 Let define-derived-mode define a proper syntax table. (Bug#9994)
12456
4b0d61e3
SM
124572011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * window.el: Stay away from defsubst.
12460 (window-list-no-nils): Remove.
12461 (window-state-get-1, window-state-get): Use backquote instead.
12462
cd394be1 124632011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12464
4b0d61e3 12465 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12466 Fix incorrect use of default argument in `completing-read'.
12467
e1c2c6f2
MR
124682011-11-08 Martin Rudalics <rudalics@gmx.at>
12469
12470 * window.el (display-buffer-function, special-display-function):
12471 Mention display-buffer-record-window but do not mention
12472 help-setup parameter in doc-strings.
b3f4a882 12473 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12474
105216ed
CY
124752011-11-08 Chong Yidong <cyd@gnu.org>
12476
12477 * window.el (window-total-height, window-total-width): Doc fix.
12478 (window-body-size): Move from C.
12479 (window-body-height, window-body-width): Move to C.
12480
0a9f9ab5
SM
124812011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12482
12483 * window.el: Make special-display like display-buffer-alist (bug#9532).
12484 (display-buffer--special-action): New function, morphed
12485 from display-buffer--special.
12486 (display-buffer): Use it to handle special-display-buffers at higher
12487 priority (just after display-buffer-alist).
12488 (display-buffer-fallback-action, display-buffer--other-frame-action)
12489 (pop-to-buffer-same-window): Remove display-buffer--special.
12490
a769dd15
GM
124912011-11-07 Glenn Morris <rgm@gnu.org>
12492
12493 * calendar/cal-menu.el (cal-menu-set-date-title):
12494 Do nothing if not in a calendar. (Bug#9976)
12495
05a61ee3
SM
124962011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * files.el (find-file): Always use selected-window.
12499
be7f5545
MR
125002011-11-07 Martin Rudalics <rudalics@gmx.at>
12501
12502 * window.el (window-combinations): Make WINDOW argument
12503 mandatory. Rewrite doc-string.
12504 (walk-window-subtree, window-atom-check, window-min-delta)
12505 (window-max-delta, window--resize-this-window)
12506 (window--resize-root-window-vertically, window-tree)
12507 (balance-windows, window-state-put): Rewrite doc-strings as to
12508 not mention the term "subwindow".
12509 (window--resize-subwindows-skip-p): Rename to
12510 window--resize-child-windows-skip-p.
12511 (window--resize-subwindows-normal): Rename to
12512 window--resize-child-windows-normal.
12513 (window--resize-subwindows): Rename to
12514 window--resize-child-windows.
12515 (window-or-subwindow-p): Rename to window--in-subtree-p.
12516
3c6702ef
ML
125172011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12518
12519 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12520 Ensure that mbox format messages end in two newlines (Bug#9974).
12521
49745b39
CY
125222011-11-06 Chong Yidong <cyd@gnu.org>
12523
12524 * window.el (window-combination-p): Function deleted; its
12525 side-effect is not used in any existing code.
12526 (window-combinations, window-combined-p): Call window-*-child
12527 directly.
12528
24300f5f
CY
125292011-11-05 Chong Yidong <cyd@gnu.org>
12530
12531 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12532 (window-size-ignore, window-state-get): Callers changed.
12533 (window-normalize-window): Rename from window-normalize-any-window.
12534 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12535 (window-normalize-live-window): Delete.
447f16b8
CY
12536 (window-combination-p, window-combined-p, window-combinations)
12537 (walk-window-subtree, window-atom-root, window-min-size)
12538 (window-sizable, window-sizable-p, window-size-fixed-p)
12539 (window-min-delta, window-max-delta, window-resizable)
12540 (window-resizable-p, window-full-height-p, window-full-width-p)
12541 (window-current-scroll-bars, window-point-1, set-window-point-1)
12542 (window-at-side-p, window-in-direction, window-resize)
12543 (adjust-window-trailing-edge, maximize-window, minimize-window)
12544 (window-deletable-p, delete-window, delete-other-windows)
12545 (record-window-buffer, unrecord-window-buffer)
12546 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12547 (quit-window, split-window, window-state-put)
12548 (set-window-text-height, fit-window-to-buffer)
12549 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12550
89bd5ee1
EZ
125512011-11-04 Eli Zaretskii <eliz@gnu.org>
12552
53479029
EZ
12553 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12554 rfc2047-decode-string.
12555 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12556 warnings.
12557
89bd5ee1
EZ
12558 * window.el (window-body-height, window-body-width): Mention in
12559 the doc string that the return values are in frame's canonical
12560 units. (Bug#9949)
12561
bd17fdee
AM
125622011-11-03 Alan Mackenzie <acm@muc.de>
12563
12564 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12565 change in cc-engine.el.
12566
acc825c5
SM
125672011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12568
12569 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12570
1885e5b8
MR
125712011-11-02 Martin Rudalics <rudalics@gmx.at>
12572
12573 * window.el (quit-window): Call unrecord-window-buffer after
12574 showing another buffer in the window. (Bug#9937)
acc825c5 12575 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12576
ebe06da9
JB
125772011-11-02 Juanma Barranquero <lekktu@gmail.com>
12578
12579 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12580 Accept status with more than 9 shelves. (Bug#9935)
12581 Reported by Colin D Bennett <colin@gibibit.com>.
12582
4ee88440
MR
125832011-11-01 Martin Rudalics <rudalics@gmx.at>
12584
12585 * help.el (with-help-window): Don't reference
12586 temp-buffer-show-specifiers in doc-string.
12587
08e1d82c
AS
125882011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12589
12590 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12591 menu-item.
12592
84bd6e9e
VJL
125932011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12594
12595 * whitespace.el: New version 13.2.2.
12596 (whitespace-newline-mode): Disable properly. Reported by Sarah
12597 <EmacsWiki>.
12598
dba0634a
UJ
125992011-10-30 Ulf Jasper <ulf.jasper@web.de>
12600
12601 * net/newst-treeview.el: Remove "Time-stamp".
12602 (newsticker--group-manage-orphan-feeds): Do not call
12603 newsticker--treeview-tree-update.
db22a3c2
JB
12604 (newsticker-treeview-update, newsticker-treeview):
12605 Call newsticker--treeview-tree-update if necessary.
dba0634a 12606
3d8daefe
MR
126072011-10-30 Martin Rudalics <rudalics@gmx.at>
12608
12609 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12610 (window-iso-combinations): Remove "iso-" infix.
12611 Suggested by Chong Yidong.
3d8daefe
MR
12612 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12613 (window-max-delta-1, window-resize, window--resize-siblings)
12614 (window--resize-this-window, adjust-window-trailing-edge)
12615 (split-window, balance-windows-1)
12616 (shrink-window-if-larger-than-buffer):
12617 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12618 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12619
1bc4c3ae
SM
126202011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12623 in place (bug#9907).
12624 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12625 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12626 (eshell-structure-basic-command, eshell-rewrite-while-command)
12627 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12628 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12629 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12630 (eshell-do-pipelines-synchronously, eshell-eval-command):
12631 Use backquotes and prefer setq to set.
12632 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12633 (eshell-macrop): Use functionp.
c1e2f5fa 12634 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12635
30b65d9c
CY
126362011-10-30 Chong Yidong <cyd@gnu.org>
12637
12638 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12639 instead of set-mark (Bug#9810).
12640
2d197ffb
CY
126412011-10-30 Chong Yidong <cyd@gnu.org>
12642
12643 * window.el (split-window-below, split-window-right): Rename from
12644 split-window-above-each-other and split-window-side-by-side
12645 respectively. All callers changed.
12646 (split-window-sensibly, split-window-sensibly): Use them.
12647 (split-window-keep-point): Doc fix.
12648
12649 * isearch.el: Add isearch-scroll property to split-window-below
12650 and split-window-right.
12651
12652 * follow.el (follow-mode):
12653 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12654 * progmodes/ada-xref.el (ada-gdb-application):
12655 * emulation/vip.el (vip-buffer-in-two-windows):
12656 * image-dired.el (image-dired-dired-with-window-configuration):
12657 * dired-x.el (dired-do-find-marked-files):
12658 * dired.el (dired-pop-to-buffer):
12659 * bs.el (bs--show-with-configuration):
12660 * vc/emerge.el (emerge-setup-windows):
12661 * textmodes/two-column.el (2C-two-columns):
12662 * textmodes/reftex-toc.el (reftex-toc):
12663 * progmodes/gdb-mi.el (gdb-setup-windows):
12664 * progmodes/fortran.el (fortran-window-create):
12665 * net/newst-treeview.el (newsticker--treeview-window-init):
12666 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12667 * emulation/tpu-edt.el (tpu-gold-map):
12668 * emulation/crisp.el (crisp-mode-map):
12669 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12670
38bb2ca8
CY
126712011-10-29 Chong Yidong <cyd@gnu.org>
12672
aa4de341
CY
12673 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12674
e1eb5385
CY
12675 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12676
5d2ece3c
CY
12677 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12678 forged Ispell output (Bug#7904).
12679
38bb2ca8
CY
12680 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12681
d0af9f77
SM
126822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12683
12684 * doc-view.el: Avoid ugly errors about not finding nil.
12685 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12686 (doc-view-dvipdf-program, doc-view-unoconv-program)
12687 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12688 Avoid nil or absolute file name as default value.
12689 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12690
52bedd34
AM
126912011-10-28 Alan Mackenzie <acm@muc.de>
12692
db22a3c2 12693 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12694
7e43cfa5
AM
126952011-10-28 Alan Mackenzie <acm@muc.de>
12696
12697 Amend the handling of c-beginning/end-of-defun in nested declaration
12698 scopes.
12699
52bedd34
AM
12700 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12701 cc-langs.el. Change it to a defcustom.
7e43cfa5 12702
52bedd34
AM
12703 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12704 cc-vars.el.
7e43cfa5 12705
d0af9f77
SM
12706 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12707 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12708
52bedd34 12709 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12710 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12711 (c-widen-to-enclosing-decl-scope): New function.
12712 (c-while-widening-to-decl-block): New macro.
12713 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12714 outward for defun boundaries, and correspondingly change symbol
12715 `respect-enclosure' to `go-outward'.
12716 (c-declaration-limits): Change algorithm to report only the "innermost"
12717 defun's boundaries.
12718
1a2ce9ee
DD
127192011-10-28 Deniz Dogan <deniz@dogan.se>
12720
12721 * net/rcirc.el (rcirc-mode): Use hard newlines.
12722
bc97a826
AM
127232011-10-28 Alan Mackenzie <acm@muc.de>
12724
12725 Amend to indent and fontify macros "which include their own semicolon"
12726 correctly, using the "virtual semicolon" mechanism.
12727
52bedd34 12728 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12729
d0af9f77 12730 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12731 Recode to scan one line at a time rather than having \n and \r
58179cce 12732 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12733 (c-forward-label): Amend for virtual semicolons.
58179cce 12734 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12735
52bedd34
AM
12736 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12737 of the new C macros.
bc97a826 12738
52bedd34 12739 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12740 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12741 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12742 (c-opt-cpp-macro-define): Make into a full language variable.
12743 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12744 AWK Mode (including \n, \r) removed, no longer needed.
12745
d0af9f77
SM
12746 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12747 Invoke c-make-macro-with-semi-re.
bc97a826 12748
52bedd34
AM
12749 * progmodes/cc-vars.el (c-macro-with-semi-re):
12750 (c-macro-names-with-semicolon): New variables.
58179cce 12751 (c-make-macro-with-semi-re): New function.
bc97a826 12752
7a6c0941
SM
127532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * vc/log-edit.el: Fill empty field rather than adding new one.
12756 (log-edit-add-field): New function.
12757 (log-edit-insert-changelog): Use it.
12758
b0c4cdcf
ML
127592011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12760
12761 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12762
ee1f1da9
SM
127632011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12766 (gdb--check-interpreter): New function.
12767 (gdb): Use it.
12768
51bc5f8b
GM
127692011-10-27 Glenn Morris <rgm@gnu.org>
12770
416a2c45
GM
12771 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12772 (least-positive-float, least-negative-float)
12773 (least-positive-normalized-float, least-negative-normalized-float)
12774 (float-epsilon, float-negative-epsilon):
12775 Remove unnecessary declarations.
12776
12777 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12778 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12779 (least-positive-float, least-negative-float)
12780 (least-positive-normalized-float, least-negative-normalized-float)
12781 (float-epsilon, float-negative-epsilon): Add doc-strings,
12782 based on those in cl.texi.
12783
51bc5f8b
GM
12784 * files.el (set-visited-file-name): If the major-mode changed,
12785 reload the local variables. (Bug#9796)
12786
15de15c6
CY
127872011-10-27 Chong Yidong <cyd@gnu.org>
12788
12789 * subr.el (change-major-mode-after-body-hook): New hook.
12790 (run-mode-hooks): Run it.
12791
ee1f1da9
SM
12792 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12793 Use change-major-mode-before-body-hook.
15de15c6
CY
12794
12795 * simple.el (fundamental-mode):
12796 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12797 change introducing fundamental-mode-hook.
12798
5430d399
JB
127992011-10-26 Juanma Barranquero <lekktu@gmail.com>
12800
acc825c5 12801 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12802
ad74a69e
MA
128032011-10-26 Michael Albinus <michael.albinus@gmx.de>
12804
12805 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12806 tramp.el explicitly. (Bug#7583)
ad74a69e 12807
71d4c2a5
SM
128082011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * progmodes/octave-mod.el:
12811 * progmodes/octave-inf.el: Update maintainer.
12812
b1f6fa26
CY
128132011-10-26 Chong Yidong <cyd@gnu.org>
12814
12815 * subr.el (with-wrapper-hook): Rewrite doc.
12816
3f04efd6
MA
128172011-10-25 Michael Albinus <michael.albinus@gmx.de>
12818
12819 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12820 filenames "/method:foo:". (Bug#9793)
3f04efd6 12821
410488d3
SM
128222011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12825 (bug#9865).
12826
c1ebb47e
GM
128272011-10-24 Glenn Morris <rgm@gnu.org>
12828
12829 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12830
7f5c46c7
MA
128312011-10-24 Michael Albinus <michael.albinus@gmx.de>
12832
12833 * notifications.el: Add the requirement of a running D-Bus session
12834 bus to the Commentary.
12835
db2440b6
JL
128362011-10-24 Juri Linkov <juri@jurta.org>
12837
12838 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12839 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12840 (Bug#9364)
12841
feecf435
JL
128422011-10-24 Juri Linkov <juri@jurta.org>
12843
12844 * info.el (Info-following-node-name-re): Add newline to the list
12845 of allowed characters for leading space. (Bug#9824)
12846
a3839de2
SM
128472011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12848
acc825c5
SM
12849 * progmodes/octave-inf.el (inferior-octave-mode-map):
12850 Fix C-c C-h binding.
a3839de2
SM
12851 * progmodes/octave-mod.el (octave-help): Remove.
12852
09388e76
MA
128532011-10-23 Michael Albinus <michael.albinus@gmx.de>
12854
12855 Sync with Tramp 2.2.3.
12856
12857 * net/tramp-cache.el (top): Pacify byte-compiler using
12858 `init-file-user' and `site-run-file'.
12859
12860 * net/trampver.el: Update release number.
12861
86c60681
CY
128622011-10-23 Chong Yidong <cyd@gnu.org>
12863
12864 * files.el (toggle-read-only): Remove obsolete comment about
12865 version control.
12866
12867 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12868 for toggle-read-only. Note that this hasn't called vc-next-action
12869 since 2008-05-02, though it wasn't documented at the time.
12870
a3839de2
SM
12871 * vc/ediff-init.el (ediff-toggle-read-only-function):
12872 Use toggle-read-only.
86c60681 12873
cd5495ff
AM
128742011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12875
12876 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12877 of c-parse-state.
12878
00b77525 12879 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12880 correct faulty logical expression.
cd5495ff
AM
12881 (c-parse-state-state, c-record-parse-state-state):
12882 (c-replay-parse-state-state): New defvar/defuns.
12883 (c-debug-parse-state): Use new functions.
12884
42ee24ed
MR
128852011-10-22 Martin Rudalics <rudalics@gmx.at>
12886
12887 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12888 last fix. Use window-in-direction correctly.
42ee24ed 12889
a7dee7e7
CY
128902011-10-21 Chong Yidong <cyd@gnu.org>
12891
12892 * progmodes/idlwave.el (idlwave-mode):
12893 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12894 require-final-newline; that's done in prog-mode.
12895 Suggested by Stefan Monnier.
a7dee7e7 12896
e07b9a6d
MR
128972011-10-21 Martin Rudalics <rudalics@gmx.at>
12898
12899 * mouse.el (mouse-drag-window-above)
12900 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12901 (mouse-drag-mode-line-1, mouse-drag-header-line)
12902 (mouse-drag-vertical-line-rightward-window): Remove.
12903 (mouse-drag-line): New function.
12904 (mouse-drag-mode-line, mouse-drag-header-line)
12905 (mouse-drag-vertical-line): Call mouse-drag-line.
12906 * window.el (window-at-side-p, windows-at-side): New functions.
12907
7e1361d9
UM
129082011-10-21 Ulrich Mueller <ulm@gentoo.org>
12909
12910 * tar-mode.el (tar-grind-file-mode):
12911 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12912
30fcaf3a
CY
129132011-10-21 Chong Yidong <cyd@gnu.org>
12914
12915 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12916 * progmodes/vera-mode.el (vera-mode):
12917 Use mode-require-final-newline.
30fcaf3a 12918
516eddb0
GM
129192011-10-20 Glenn Morris <rgm@gnu.org>
12920
db22a3c2 12921 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12922
10d5f513
CS
129232011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12924
12925 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12926
ac6c8639
CY
129272011-10-20 Chong Yidong <cyd@gnu.org>
12928
12929 * emulation/cua-base.el (cua-mode):
12930 * mail/footnote.el (footnote-mode):
12931 * mail/mailabbrev.el (mail-abbrevs-mode):
12932 * net/xesam.el (xesam-minor-mode):
12933 * progmodes/bug-reference.el (bug-reference-mode):
12934 * progmodes/cap-words.el (capitalized-words-mode):
12935 * progmodes/compile.el (compilation-minor-mode)
12936 (compilation-shell-minor-mode):
12937 * progmodes/gud.el (gud-tooltip-mode):
12938 * progmodes/hideif.el (hide-ifdef-mode):
12939 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12940 * progmodes/subword.el (subword-mode):
12941 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12942 * progmodes/which-func.el (which-function-mode):
12943 * term/tvi970.el (tvi970-set-keypad-mode):
12944 * term/vt100.el (vt100-wide-mode):
12945 * textmodes/flyspell.el (flyspell-mode):
12946 * textmodes/ispell.el (ispell-minor-mode):
12947 * textmodes/nroff-mode.el (nroff-electric-mode):
12948 * textmodes/paragraphs.el (use-hard-newlines):
12949 * textmodes/refill.el (refill-mode):
12950 * textmodes/reftex.el (reftex-mode):
12951 * textmodes/rst.el (rst-minor-mode):
12952 * textmodes/sgml-mode.el (html-autoview-mode)
12953 (sgml-electric-tag-pair-mode):
12954 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12955 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12956 * emulation/crisp.el (crisp-mode):
12957 * emacs-lisp/eldoc.el (eldoc-mode):
12958 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12959 minor mode behavior.
12960
aa42ab43
JL
129612011-10-19 Juri Linkov <juri@jurta.org>
12962
12963 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12964 the list of hard-coded chars with escape-glyph face.
12965
89400f1d
SM
129662011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12969
305c07f6
MA
129702011-10-19 Michael Albinus <michael.albinus@gmx.de>
12971
12972 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12973 running process.
12974
13754b54
GM
129752011-10-19 Glenn Morris <rgm@gnu.org>
12976
12977 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12978 Ignore ignored files. (Bug#9726)
12979
06e21633
CY
129802011-10-19 Chong Yidong <cyd@gnu.org>
12981
12982 Doc fix for minor modes, stating that an omitted argument enables
12983 the mode unconditionally when called from Lisp.
12984
12985 * abbrev.el (abbrev-mode):
12986 * allout.el (allout-mode):
12987 * autoinsert.el (auto-insert-mode):
12988 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12989 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12990 (global-auto-revert-mode):
12991 * battery.el (display-battery-mode):
12992 * composite.el (global-auto-composition-mode)
12993 (auto-composition-mode):
12994 * delsel.el (delete-selection-mode):
12995 * desktop.el (desktop-save-mode):
12996 * dired-x.el (dired-omit-mode):
12997 * dirtrack.el (dirtrack-mode):
12998 * doc-view.el (doc-view-minor-mode):
12999 * double.el (double-mode):
13000 * electric.el (electric-indent-mode, electric-pair-mode):
13001 * emacs-lock.el (emacs-lock-mode):
13002 * epa-hook.el (auto-encryption-mode):
13003 * follow.el (follow-mode):
13004 * font-core.el (font-lock-mode):
13005 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13006 * help.el (temp-buffer-resize-mode):
13007 * hilit-chg.el (highlight-changes-mode)
13008 (highlight-changes-visible-mode):
13009 * hi-lock.el (hi-lock-mode):
13010 * hl-line.el (hl-line-mode, global-hl-line-mode):
13011 * icomplete.el (icomplete-mode):
13012 * ido.el (ido-everywhere):
13013 * image-file.el (auto-image-file-mode):
13014 * image-mode.el (image-minor-mode):
13015 * iswitchb.el (iswitchb-mode):
13016 * jka-cmpr-hook.el (auto-compression-mode):
13017 * linum.el (linum-mode):
13018 * longlines.el (longlines-mode):
13019 * master.el (master-mode):
13020 * mb-depth.el (minibuffer-depth-indicate-mode):
13021 * menu-bar.el (menu-bar-mode):
13022 * minibuf-eldef.el (minibuffer-electric-default-mode):
13023 * mouse-sel.el (mouse-sel-mode):
13024 * msb.el (msb-mode):
13025 * mwheel.el (mouse-wheel-mode):
13026 * outline.el (outline-minor-mode):
13027 * paren.el (show-paren-mode):
13028 * recentf.el (recentf-mode):
13029 * reveal.el (reveal-mode, global-reveal-mode):
13030 * rfn-eshadow.el (file-name-shadow-mode):
13031 * ruler-mode.el (ruler-mode):
13032 * savehist.el (savehist-mode):
13033 * scroll-all.el (scroll-all-mode):
13034 * scroll-bar.el (scroll-bar-mode):
13035 * server.el (server-mode):
13036 * shell.el (shell-dirtrack-mode):
13037 * simple.el (auto-fill-mode, transient-mark-mode)
13038 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13039 (line-number-mode, column-number-mode, size-indication-mode)
13040 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13041 * strokes.el (strokes-mode):
13042 * time.el (display-time-mode):
13043 * t-mouse.el (gpm-mouse-mode):
13044 * tool-bar.el (tool-bar-mode):
13045 * tooltip.el (tooltip-mode):
13046 * type-break.el (type-break-mode-line-message-mode)
13047 (type-break-query-mode):
13048 * view.el (view-mode):
13049 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13050 (global-whitespace-mode, global-whitespace-newline-mode):
13051 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13052
a3839de2
SM
13053 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13054 Fix autogenerated docstring.
06e21633 13055
5214e501
JL
130562011-10-19 Juri Linkov <juri@jurta.org>
13057
13058 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13059 by checking environment variables "DESKTOP_SESSION" and
13060 "XDG_CURRENT_DESKTOP". (Bug#9779)
13061
195f8db9
JL
130622011-10-19 Juri Linkov <juri@jurta.org>
13063
13064 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13065 (browse-url-chromium-program, browse-url-chromium-arguments):
13066 New defcustoms.
13067 (browse-url-default-browser): Check for `browse-url-chromium' and
13068 call `browse-url-chromium-program'.
13069 (browse-url-chromium): New command. (Bug#9779)
13070
343a34ff
JB
130712011-10-18 Juanma Barranquero <lekktu@gmail.com>
13072
13073 * facemenu.el (list-colors-duplicates): On Windows, detect more
13074 duplicates by assuming that only colors matching "^System" are
13075 special "system colors". (Bug#9722)
13076
6978a151
SM
130772011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13080 to distinguish the author from the committer.
13081
6a80b297
MA
130822011-10-18 Michael Albinus <michael.albinus@gmx.de>
13083
13084 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13085
b31a5677
JK
130862011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13087
13088 * international/mule.el (sgml-html-meta-auto-coding-function):
13089 Add support for detecting encoding in HTML5 specified only as
13090 <meta charset="UTF-8">. Implementation just makes http-equiv and
13091 content-type parts from HTML4 encoding string optional. (Bug#9716)
13092
80c6d77f
GM
130932011-10-18 Glenn Morris <rgm@gnu.org>
13094
13095 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13096
08b0fee8
CY
130972011-10-18 Chong Yidong <cyd@gnu.org>
13098
13099 * faces.el (cursor): Doc fix.
13100
67e729a5
CY
131012011-10-17 Chong Yidong <cyd@gnu.org>
13102
13103 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13104
343a34ff 131052011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13106
13107 * dirtrack.el (dirtrack): Support shell buffers with path
13108 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13109
0bc06380
TZ
131102011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13111
13112 * json.el: Bump version to 1.3 and note change in History.
13113 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13114
8b79f3e0
SM
131152011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13116
5a7c536b
SM
13117 * comint.el (comint-insert-input, comint-send-input)
13118 (comint-get-old-input-default, comint-backward-matching-input)
13119 (comint-next-prompt): Use nil instead of `input' for field property of
13120 past user input (bug#114).
13121
96a8a0df
SM
13122 * minibuffer.el (completion--replace): Inherit surrounding properties
13123 (bug#114).
13124 (minibuffer-complete-and-exit): Use it.
13125
8b79f3e0
SM
13126 * comint.el (comint--table-subvert): Quote the all-completions output
13127 (bug#9160).
13128
b8f7ff0d
MR
131292011-10-17 Martin Rudalics <rudalics@gmx.at>
13130
8b79f3e0 13131 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13132
b8f7ff0d 13133 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13134 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13135 entries and separate them from frame entries.
13136
c235b555
GM
131372011-10-15 Glenn Morris <rgm@gnu.org>
13138
13139 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13140 Doc fixes.
13141
6bbfa6e1
CY
131422011-10-15 Chong Yidong <cyd@stupidchicken.com>
13143
8b79f3e0
SM
13144 * net/network-stream.el (network-stream-open-starttls):
13145 Improve detection of failure due to lack of TLS support.
ec5c990d 13146
6bbfa6e1
CY
13147 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13148 putting the input text in front and in bold.
13149
98488977
SM
131502011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13151
3d1337be
SM
13152 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13153
ee0b45e4
SM
13154 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13155 empty buffer.
13156
98488977
SM
13157 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13158 unread-command-events rather than pushing yet-another event.
13159
186f4720
EZ
131602011-10-14 Eli Zaretskii <eliz@gnu.org>
13161
13162 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13163 the explanation of the possible choices. Make the options passed
13164 to completing-read shorter.
13165
8b7a997c
AM
131662011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13167
13168 * textmodes/flyspell.el (flyspell-large-region): Make sure
13169 extended character mode is used if defined (Bug#1339).
13170
12587bbb
EZ
131712011-10-13 Eli Zaretskii <eliz@gnu.org>
13172
13173 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13174 character info for LRE, LRO, RLE, and RLO characters by appending
13175 an invisible PDF.
12587bbb 13176
bad41229
SM
131772011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13180 even in case of error; add debug spec; simplify data flow.
13181 (with-timeout-handler): Remove.
13182
28dbc92f
MA
131832011-10-12 Michael Albinus <michael.albinus@gmx.de>
13184
13185 Fix Bug#6019, Bug#9315.
13186
13187 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13188 complete `buffer-file-name', the local file name part could look
13189 remotely (for example on VMS).
13190
13191 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13192 `tramp-run-real-handler'.
13193 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13194 already quoted by '"'.
13195
13196 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13197 Let `file-name-handler-alist' be nil, the local file name part
13198 could look remotely (for example on VMS).
13199
e1b0b23a
SM
132002011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13201
13202 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13203 from here...
13204 (flyspell-post-command-hook): ...to here.
13205
a120bde9
SM
132062011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13209 if not needed.
13210 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13211 using completion. Protect against "slow" callers.
13212 Remove the "message hack".
13213
7ce7717b
JL
132142011-10-11 Juri Linkov <juri@jurta.org>
13215
13216 * isearch.el (isearch-lazy-highlight-word): New variable.
13217 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13218 Use it. (Bug#9727)
13219
c02ee9d6
GM
132202011-10-11 Glenn Morris <rgm@gnu.org>
13221
13222 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13223 like f90-previous-statement does.
13224
93e616fd 132252011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13226
1f190e73 13227 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13228 only in interactive use, to avoid error.
13229
af7b6078
SM
132302011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13231
13232 * minibuffer.el (completion-file-name-table): Fix last change,
13233 i.e. ignore normal errors but not the other ones.
13234
0563dae9
MR
132352011-10-10 Martin Rudalics <rudalics@gmx.at>
13236
13237 * window.el (special-display-buffer-names)
13238 (special-display-regexps): Remove some remnants of earlier
13239 changes from doc-strings.
366ca7f3
MR
13240 (quit-windows-on): New function.
13241
13242 * vc/vc.el (vc-revert, vc-rollback):
13243 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13244 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13245 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13246
49677495
MR
132472011-10-09 Martin Rudalics <rudalics@gmx.at>
13248
13249 * window.el (frame-auto-hide-function): Add version tag.
13250 (Bug#9699)
13251
56f2d1e1
MA
132522011-10-09 Michael Albinus <michael.albinus@gmx.de>
13253
13254 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13255 condition.
13256
112a6592
LL
132572011-10-09 Leo Liu <sdl.web@gmail.com>
13258
13259 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13260 (Bug#9701)
13261
0812589b
GM
132622011-10-08 Glenn Morris <rgm@gnu.org>
13263
13264 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13265 before the first code statement zero indent. (Bug#9690)
13266
b2b0776e
CY
132672011-10-08 Chong Yidong <cyd@stupidchicken.com>
13268
13269 * simple.el (count-words-region): Always count in the region.
13270 Report the number of lines and characters too.
13271 (count-words): New command, which counts in the buffer if the
13272 region is inactive, as count-words-region used to.
13273 (count-words--message): New function. Handle plurals.
13274 (count-lines-region): Make it an alias for count-words-region.
13275
13276 * bindings.el (esc-map): Replace count-lines-region with
13277 count-words-region.
13278
c557cd6b
MR
132792011-10-08 Martin Rudalics <rudalics@gmx.at>
13280
13281 * window.el (window--delete): Delete dedicated frame
13282 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13283 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13284
61a57ef4 132852011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13286
3a7d293b 13287 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13288
c3833279
CY
132892011-10-07 Chong Yidong <cyd@stupidchicken.com>
13290
13291 * bindings.el ([M-left],[M-right]): Bind to left-word and
13292 right-word respectively.
13293
21ce8245
GM
132942011-10-07 Glenn Morris <rgm@gnu.org>
13295
13296 * cus-start.el (debug-on-quit): Fix custom type.
13297
6d823bb2
LMI
132982011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13299
0181e193
LMI
13300 * subr.el (define-key-after): Clarify that the function is not
13301 useful for non-menu keymaps.
13302
6d823bb2
LMI
13303 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13304
8e3459ce 133052011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13306
21ce8245 13307 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13308 in current minibuffer (Fix bug with recursive minibuffers).
13309
a1c2d21e
CY
133102011-10-06 Chong Yidong <cyd@stupidchicken.com>
13311
13312 * progmodes/gdb-mi.el (gdb): Doc fix.
13313
5a4cf282
MR
133142011-10-05 Martin Rudalics <rudalics@gmx.at>
13315
13316 * window.el (frame-auto-hide-function): New option replacing
13317 frame-auto-delete. Suggested by Stefan Monnier.
13318 (window--delete): Call frame-auto-hide-function instead of
13319 investigating frame-auto-delete.
c96111ea
MR
13320 (window-point-1, set-window-point-1): New functions.
13321 (window-in-direction, record-window-buffer, window-state-get-1)
13322 (display-buffer-record-window): Use window-point-1 instead of
13323 window-point.
13324 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13325
9854542e
SM
133262011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13327
13328 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13329
8943cfb0
GM
133302011-10-05 Glenn Morris <rgm@gnu.org>
13331
13332 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13333 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13334
647ab967
LL
133352011-10-05 Leo Liu <sdl.web@gmail.com>
13336
13337 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13338 works with buffer object.
13339
3ddfbced
SM
133402011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13341
13342 * mpc.el (mpc-tool-bar-map): Add labels.
13343
bdfa5dd2
GM
133442011-10-04 Glenn Morris <rgm@gnu.org>
13345
13346 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13347
0e2070b5
MR
133482011-10-04 Martin Rudalics <rudalics@gmx.at>
13349
13350 * window.el (window--delete): New function.
13351 (frame-auto-delete): Resuscitate option.
13352 (bury-buffer, replace-buffer-in-windows)
13353 (quit-window): Rewrite using window--delete.
13354 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13355 Pass display-buffer-mark-dedicated to window--display-buffer-2
13356 (Bug#9639).
13357
3dc61a09
SM
133582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13359
915a9b64
SM
13360 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13361 returns a list (bug#9554). Add remote file name completion.
13362 * comint.el (comint--table-subvert): Curry and get quote&unquote
13363 functions as arguments.
13364 (comint--complete-file-name-data): Adjust call accordingly.
13365 * pcomplete.el (pcomplete--table-subvert): Remove.
13366 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13367
3dc61a09
SM
13368 * minibuffer.el (completion-table-case-fold): Use currying.
13369 (completion--styles-type, completion--cycling-threshold-type):
13370 New constants.
13371 (completion-styles, completion-category-overrides)
13372 (completion-cycle-threshold): Use them.
13373 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13374 completion-table-case-fold.
13375
8ea0a993
SB
133762011-10-03 Stephen Berman <stephen.berman@gmx.net>
13377
13378 * minibuffer.el (completion-category-overrides): Fix type of styles
13379 and add more user friendly tags (bug#9660).
13380
8c24b7f6
SM
133812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13384 (mule-input-method-string): New widget.
13385 (default-input-method, language-info-custom-alist): Use it.
13386
428fe61a
SM
133872011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13388
32c1fffd
SM
13389 * pcomplete.el: Require comint.
13390 (pcomplete--common-suffix): Remove.
13391 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13392 (pcomplete--table-subvert): Sync with comint--table-subvert.
13393 (pcomplete--entries): Use comint-completion-file-name-table.
13394 * comint.el (comint-unquote-filename): Simplify.
13395 (comint-completion-file-name-table): New function (bug#9616).
13396 (comint--complete-file-name-data): Use it.
13397
428fe61a
SM
13398 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13399 (pcmpl-gnu-tar-buffer): Remove.
13400 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13401 around. Make sure pcomplete-suffix-list is only changed temporarily.
13402 Don't look inside the tar's file if it's too large.
428fe61a 13403
04c52e2f
CY
134042011-10-01 Chong Yidong <cyd@stupidchicken.com>
13405
ce3cefcc
CY
13406 * cus-edit.el (custom-mode-map):
13407 * epa.el (epa-key-list-mode-map):
13408 * man.el (Man-mode-map):
13409 * startup.el (splash-screen-keymap):
13410 * simple.el (special-mode-map): Use scroll-up-command and
13411 scroll-down-command.
13412
13413 * progmodes/idlw-help.el (idlwave-help-mode-map):
13414 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13415 * net/newst-plainview.el (newsticker-mode-map):
13416 * emulation/ws-mode.el (wordstar-mode-map):
13417 * emulation/vi.el (vi-com-map):
13418 * calc/calc-graph.el (calc-graph-show-dumb):
13419 * term/sun.el (terminal-init-sun):
13420 * term/ns-win.el (global-map):
13421 * progmodes/grep.el (grep-mode-map):
13422 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13423 * mail/rmail.el (rmail-mode-map):
13424 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13425
04c52e2f
CY
13426 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13427 custom-safe-themes as special.
13428
79adf8c8
JD
134292011-10-01 Julien Danjou <julien@danjou.info>
13430
13431 * notifications.el (notifications-notify): Fix docstring.
13432
63bd50d3
PS
134332011-10-01 Per Starbäck <per@starback.se>
13434
13435 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13436
199e4c7e
MR
134372011-09-30 Martin Rudalics <rudalics@gmx.at>
13438
13439 * startup.el (command-line-1): Fix last fix by inserting
13440 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13441 (Bug#9605) and (Bug#9636)
199e4c7e 13442
fe5f08dd
EZ
134432011-09-29 Eli Zaretskii <eliz@gnu.org>
13444
13445 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13446 window is hscrolled, move by logical lines. (Bug#9607)
13447 (line-move-visual): Update the doc string to the above effect.
13448
b5516bbd
MR
134492011-09-29 Martin Rudalics <rudalics@gmx.at>
13450
ccee00c0
MR
13451 * window.el (display-buffer-record-window): When WINDOW is the
13452 selected window use `point' instead of `window-point'. (Bug#9626)
13453
b5516bbd
MR
13454 * startup.el (command-line-1): Use insert-before-markers when
13455 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13456
b5516bbd
MR
13457 * help.el (help-window): Remove variable.
13458
52aa0014
GM
134592011-09-29 Glenn Morris <rgm@gnu.org>
13460
13461 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13462
df9a7357
JB
134632011-09-29 Juanma Barranquero <lekktu@gmail.com>
13464
13465 * descr-text.el (describe-char-categories): Accept category
13466 descriptions more than one line long.
13467
a8406c20
SM
134682011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13469
88d9610c
SM
13470 * simple.el (delete-trailing-whitespace): Fix last change.
13471
a5daf810
SM
13472 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13473 Don't confuse "y => 3" as the beginning of a `y' operation.
13474
a8406c20
SM
13475 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13476 object has more than 4 slots (bug#9613).
13477
a239d4e9
JB
134782011-09-28 Juanma Barranquero <lekktu@gmail.com>
13479
13480 * subr.el (with-output-to-temp-buffer):
13481 * net/quickurl.el (quickurl, quickurl-browse-url):
13482 Fix typos in docstrings.
13483
693fbdb6
EZ
134842011-09-27 Eli Zaretskii <eliz@gnu.org>
13485
13486 * minibuffer.el (completion-styles)
13487 (completion-category-overrides): Cross reference each other in doc
13488 strings.
13489
8b457e28
GM
134902011-09-27 Glenn Morris <rgm@gnu.org>
13491
13492 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13493 to split-string. (Bug#9606)
13494
85a16208
LMI
134952011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13496
13497 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13498 (bug#9615).
13499
502f9ebd
CY
135002011-09-27 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * emacs-lisp/package.el (list-packages): Fix echo area message.
13503
7690bdea
LL
135042011-09-27 Leo Liu <sdl.web@gmail.com>
13505
13506 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13507
e2ee6f30
MA
135082011-09-25 Michael Albinus <michael.albinus@gmx.de>
13509
13510 * net/dbus.el (dbus-unregister-object): Don't release services for
13511 registered signals. (Bug#9581)
13512
f3f98342
TZ
135132011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13514
13515 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13516 function that picks between cfengine 2 and 3 support
13517 automatically. Update docs accordingly.
13518
dd7aa8dd
KH
135192011-09-22 Kenichi Handa <handa@m17n.org>
13520
13521 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13522 ZERO.
13523 (indian-itrans-v5-table-for-tamil): New variable.
13524 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13525
3f2b07f8
KM
135262011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13527
13528 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13529 that's true if the current command involved collapsing of text.
13530 It's reset to false at the beginning of the next command.
13531 (allout-post-command-business): Move the cursor to the beginning
13532 of entry if the cursor is hidden and collapsing activity just
13533 happened.
13534
371d6a61
CY
135352011-09-24 Chong Yidong <cyd@stupidchicken.com>
13536
13537 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13538 tracking (Bug#9541).
13539
2ac2721a
UJ
135402011-09-24 Ulf Jasper <ulf.jasper@web.de>
13541
13542 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13543 (newsticker-show-news): Automatically load html rendering package
13544 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13545 because w3m-fill-column is let-bound" and the error "Symbol's value
13546 as variable is void: w3m-fill-column".
2ac2721a 13547
fac7ae53
MA
135482011-09-24 Michael Albinus <michael.albinus@gmx.de>
13549
13550 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13551 Release services only if they are defined. (Bug#9581)
13552
e08b633b
RS
135532011-09-23 Richard Stallman <rms@gnu.org>
13554
e488d29c
RS
13555 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13556 distinguish start of paragraph from start of its text.
13557
19c38752
RS
13558 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13559
e08b633b
RS
13560 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13561 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13562 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13563
0a39f27e
AS
135642011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13565
13566 * international/mule-diag.el (mule-diag): Insert a newline after
13567 each fontset description.
13568
db4e950d
SM
135692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * simple.el (delete-trailing-whitespace):
13572 Document last change; simplify.
13573
eca3f3ea
PW
135742011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13575
d68e189a
PW
13576 * simple.el (delete-trailing-whitespace): Also delete
13577 extra newlines at the end of the buffer.
13578
eca3f3ea
PW
13579 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13580 (picture-newline): Use forward-line so as to ignore fields.
13581
01c157cc
SM
135822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13583
13584 * subr.el (with-wrapper-hook): Fix edebug spec.
13585
022de23e
LMI
135862011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13587
13588 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13589 (bug#4538).
13590
91683089
MA
135912011-09-23 Michael Albinus <michael.albinus@gmx.de>
13592
eca3f3ea
PW
13593 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13594 Fix nasty bug using wrong cached values.
91683089 13595
5bdd6fa4
AM
135962011-09-23 Alan Mackenzie <acm@muc.de>
13597
13598 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13599
97adfb97
CY
136002011-09-23 Chong Yidong <cyd@stupidchicken.com>
13601
13602 * window.el (pop-to-buffer): Ensure right window is selected if we
13603 chose another frame.
13604
d4ef2b50
EZ
136052011-09-22 Eli Zaretskii <eliz@gnu.org>
13606
13607 * simple.el (what-cursor-position): Use get-char-property-change
13608 and next-single-char-property-change, to be able to show display
13609 properties that come from overlays as well as text properties.
13610
72258fe5
CY
136112011-09-22 Chong Yidong <cyd@stupidchicken.com>
13612
13613 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13614
13615 * cmuscheme.el (run-scheme, switch-to-scheme):
13616 * cus-edit.el (customize-group, custom-buffer-create)
13617 (customize-browse):
13618 * info.el (info):
13619 * shell.el (shell):
13620 * mail/sendmail.el (mail):
13621 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13622
8f098516
RS
136232011-09-22 Richard Stallman <rms@gnu.org>
13624
13625 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13626 move back only to line beg, don't move back over blank lines.
13627
e74f1bb6
MA
136282011-09-22 Michael Albinus <michael.albinus@gmx.de>
13629
13630 * files.el (copy-directory): Set directory attributes only in case
13631 they could be retrieved from the source directory. (Bug#9565)
13632
bfeef8b6
DK
136332011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13634
13635 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13636 (hs-find-block-beginning, hs-hide-level-recursive):
13637 Ignore strings as well as comments. (Bug#9502)
13638
7e423bb8
AS
136392011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13640
13641 * progmodes/sql.el (sql-comint-postgres):
13642 Convert port number to a string. (Bug#9566)
13643
b4d72fcf
MR
136442011-09-22 Martin Rudalics <rudalics@gmx.at>
13645
13646 * window.el (quit-window): Undedicate window when switching to
13647 previous buffer. Reported by Thierry Volpiatto
13648 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13649 (special-display-popup-frame): When popping up a new frame reset
13650 its previous buffers to nil. Simplify code.
b4d72fcf 13651
a7b88dc6
MA
136522011-09-21 Michael Albinus <michael.albinus@gmx.de>
13653
13654 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13655 and process filter, as done also in `shell-command'.
13656
cf4eacfd
MR
136572011-09-21 Martin Rudalics <rudalics@gmx.at>
13658
eca3f3ea 13659 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13660 Call set-window-start with NOFORCE argument t.
13661 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13662 (quit-window): Reword doc-string. Handle new format of
13663 quit-restore parameter. Don't delete window if it has a
13664 previous buffer we can show instead of the present one.
13665 (display-buffer-record-window): Rewrite using a new format for
13666 the quit-restore window parameter
13667 (special-display-popup-frame, display-buffer-same-window)
13668 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13669 (display-buffer-pop-up-window, display-buffer-use-some-window):
13670 Adapt symbol passed to display-buffer-record-window.
13671 * help.el (help-window-setup): Handle new format of quit-restore
13672 parameter.
13673
8d28cb95
SM
136742011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13675
94ab793f
SM
13676 * faces.el (face-list): Fix docstring (bug#9564).
13677
8d28cb95
SM
13678 * window.el (display-buffer--action-function-custom-type):
13679 Don't include internal functions in the Custom interface.
13680
3820edeb
JL
136812011-09-20 Juri Linkov <juri@jurta.org>
13682
13683 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13684 (Info-forward-node, Info-backward-node, Info-next-preorder)
13685 (Info-last-preorder): Use it. (Bug#9528)
13686
5147931d
JL
136872011-09-20 Juri Linkov <juri@jurta.org>
13688
13689 * info.el (Info-last-preorder): Visit last menu item only when
13690 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13691
cf499a1a
JD
136922011-09-20 Julien Danjou <julien@danjou.info>
13693
13694 * password-cache.el (password-cache-remove): Remove entries even if the
13695 value is nil, so that password with a nil value (negative caching) is
13696 possible to invalidate.
13697
f84e2fe2
LM
136982011-09-20 Lawrence Mitchell <wence@gmx.li>
13699
13700 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13701 all whitespace around breakpoint. (Bug#9553)
13702 (f90-find-breakpoint): Only break at whitespace inside a comment.
13703
78054a46
SM
137042011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * minibuffer.el (completion-file-name-table): Keep track of errors.
13707 (completion-table-with-predicate): Handle the case where pred1 is nil.
13708 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13709
345083b2
SM
137102011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13711
e24e27be
SM
13712 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13713 (debugger-return-value): Signal an error if the debugging context does
13714 not await any return value.
13715
345083b2
SM
13716 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13717 * image-mode.el (image-toggle-display-text)
13718 (image-toggle-display-image): Stay away from evil `intangible'.
13719
08d355e3
LL
137202011-09-19 Leo Liu <sdl.web@gmail.com>
13721
13722 * replace.el (occur-revert-arguments): Make it permanent-local.
13723 (occur-mode): Don't call font-lock-defontify.
13724
f01da43f
CY
137252011-09-19 Chong Yidong <cyd@stupidchicken.com>
13726
13727 * net/ldap.el (ldap-search-internal): Don't push empty search
13728 result (Bug#9508).
13729
b6072fa6
SM
137302011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13733
443d6696
MA
137342011-09-19 Michael Albinus <michael.albinus@gmx.de>
13735
13736 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13737 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13738
7cc6e154
JL
137392011-09-18 Juri Linkov <juri@jurta.org>
13740
13741 * buff-menu.el (Buffer-menu-mode-map):
13742 * dired.el (dired-mode-map):
13743 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13744 (lisp-interaction-mode-map):
13745 * emacs-lisp/package.el (package-menu-mode-map):
13746 * epa.el (epa-key-list-mode-map):
13747 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13748 (menu-bar-options-menu):
13749 * outline.el (outline-mode-menu-bar-map):
13750 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13751 * vc/vc-dir.el (vc-dir-menu-map):
13752 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13753 Capitalize non-function content words in menu item strings.
13754
13755 * dired.el (dired-mode-map): Add menu item for
13756 `image-dired-dired-toggle-marked-thumbs'.
13757
80302a81
JL
137582011-09-18 Juri Linkov <juri@jurta.org>
13759
13760 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13761 to `isearch-case-fold-search' and restore its original value
13762 after the `isearch-mode' call.
13763
46c5cf66
JL
137642011-09-18 Juri Linkov <juri@jurta.org>
13765
13766 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13767 because `zgrep' returns 1 for successful matches (bug#9226).
13768
d18b513b
JL
137692011-09-18 Juri Linkov <juri@jurta.org>
13770
13771 * info.el (Info-extract-menu-node-name): Check the second match
13772 for empty string (second test-case of bug#9528).
13773 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13774 intermediate nodes to the history (first test-case of bug#9528).
13775
72753f87
JL
137762011-09-18 Juri Linkov <juri@jurta.org>
13777
13778 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13779 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13780
c9384295
JL
137812011-09-18 Juri Linkov <juri@jurta.org>
13782
1154d12e
JB
13783 * info.el (Info-file-supports-index-cookies):
13784 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13785 outputs one more line for long file names (bug#4142).
c9384295 13786
d473dce8
CY
137872011-09-18 Chong Yidong <cyd@stupidchicken.com>
13788
13789 * newcomment.el (comment-normalize-vars): If prompting for
13790 comment-start, set comment-start-skip too (Bug#8424).
13791
2176854d
JB
137922011-09-18 Johan Bockgård <bojohan@gnu.org>
13793
13794 * icomplete.el: Fix previous fix of Bug#5849.
13795 (icomplete-mode): Don't set completion-show-inline-help.
13796 (icomplete-minibuffer-setup): Set completion-show-inline-help
13797 locally during icompletion.
13798
3aace4e4
CY
137992011-09-18 Chong Yidong <cyd@stupidchicken.com>
13800
c940224f
CY
13801 * woman.el (woman2-process-escapes): Don't delete unrecognized
13802 escapes (Bug#7843).
13803
3aace4e4
CY
13804 * files.el (inhibit-first-line-modes-regexps): Add image files.
13805 (hack-local-variables-prop-line): Return nil for malformed
13806 prop-lines (Bug#9044).
13807
710dec63
MA
138082011-09-18 Michael Albinus <michael.albinus@gmx.de>
13809
13810 * net/tramp.el (top): Don't require 'shell.
13811 (tramp-methods): Fix docstring.
13812 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13813 Return complete remote file name. Handle "smb" case.
13814 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13815 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13816
13817 * net/tramp-compat.el (top): Require 'shell.
13818
13819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13820 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13821 `tramp-current-host'.
13822 (tramp-get-remote-tmpdir): Remove.
13823
13824 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13825 `tramp-tmpdir' entries.
13826 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13827 (tramp-smb-handle-file-attributes): Ignore errors.
13828 (tramp-smb-wait-for-output): Check also for process end.
13829
5d5ac8ec
LMI
138302011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13831
13832 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13833 when sending QUIT (bug#9312).
13834
8c0f49f0
CY
138352011-09-17 Chong Yidong <cyd@stupidchicken.com>
13836
13837 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13838 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13839 occur-mode-display-occurrence.
13840 (occur-edit-mode): Add usage message.
13841 (occur-cease-edit): New command.
13842 (occur-after-change-function): Use text properties to find the
13843 position of the prefix text.
13844 (occur-engine): Set stickiness of prefix text properties.
13845
8f1383f7
GM
138462011-09-17 Glenn Morris <rgm@gnu.org>
13847
13848 * progmodes/etags.el (complete-tag):
13849 Fix call to completion-in-region. (Bug#9526)
13850
744ba0e3
JL
138512011-09-17 Juri Linkov <juri@jurta.org>
13852
13853 * textmodes/ispell.el (ispell-word): Add to the error message
13854 the word, ispell program name and current dictionary (bug#9121).
13855 (ispell-tex-arg-end): Capitalize "error" in the error message.
13856
d9bbf400
AS
138572011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13858
13859 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13860 check. (Bug#4251)
13861
8da11505
JL
138622011-09-17 Juri Linkov <juri@jurta.org>
13863
13864 * window.el (window-safe-min-height, window-safe-min-width):
13865 Fix typos (followup to bug#9522).
13866
a91adc7e
SJ
138672011-09-17 Sven Joachim <svenjoac@gmx.de>
13868
13869 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13870
064f328a
EZ
138712011-09-16 Eli Zaretskii <eliz@gnu.org>
13872
13873 * simple.el (line-move): If goal-column is set, move by logical
13874 lines, not by display lines. (Bug#971)
13875 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13876 to reflect the above change.
13877
e69df516
SM
138782011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * image.el (imagemagick-register-types): Use regexp-opt.
13881
cbb0f9ab
CY
138822011-09-15 Chong Yidong <cyd@stupidchicken.com>
13883
13884 * window.el (display-buffer-base-action): Rename from
13885 display-buffer-default-action. Make default value empty.
13886 (display-buffer-overriding-action): Convert to defvar.
13887 (display-buffer-fallback-action): New var.
13888
25322144
CY
138892011-09-15 Chong Yidong <cyd@stupidchicken.com>
13890
13891 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13892 declaration.
13893 (package--add-to-archive-contents): If there is a duplicate entry
13894 with an older version, remove it.
13895 (package-menu-mark-delete, package-menu-mark-install)
13896 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13897 (package-menu-mark-obsolete-for-deletion):
13898 Use package-menu-get-status instead of a regexp search.
25322144
CY
13899 (package-menu-get-status): Use tabulated-list-entry.
13900 (package-menu-mark-upgrades): New command.
d770725a 13901 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13902 (package-menu-execute): Do installation before deletion.
13903 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13904 instead of checking major-mode.
13905 (package-menu--find-upgrades): New function.
13906
7520339c
LMI
139072011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13908
13909 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13910 passwords in the log buffer.
65a046c4
LMI
13911 (smtpmail-process-filter): Update the process marker so that the
13912 "broken by peer" status message is inserted in the right place.
7520339c 13913
d3c30954
SM
139142011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13915
3fe48822
SM
13916 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13917 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13918 bibtex-completion-at-point-function.
13919 (bibtex-completion-at-point-function): Use them.
13920
1b8b3954
SM
13921 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13922
d3c30954
SM
13923 * mpc.el (mpc-constraints-tag-lookup): New function.
13924 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13925 also to browser "album|playlist".
13926
72779976
JL
139272011-09-14 Juri Linkov <juri@jurta.org>
13928
13929 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13930 (isearch-edit-string): Use length of `isearch-string' when
13931 `isearch-fail-pos' returns nil.
13932 (isearch-message): Remove duplicate code and call
13933 `isearch-fail-pos' with arg `t'.
13934
a0bf2bcd
CY
139352011-09-14 Chong Yidong <cyd@stupidchicken.com>
13936
17bb0a2d
CY
13937 * replace.el (occur-mode-goto-occurrence): Don't force using other
13938 window (Bug#9499).
13939
a0bf2bcd
CY
13940 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13941
f678e0b6
MR
139422011-09-14 Martin Rudalics <rudalics@gmx.at>
13943
13944 * window.el (display-buffer-window): Remove.
13945 (display-buffer-record-window): Use help-setup window parameter
13946 instead of variable display-buffer-window.
13947 (display-buffer-function, special-display-buffer-names)
13948 (special-display-function): Mention help-setup parameter instead
13949 of display-buffer-window in doc-string.
d3c30954
SM
13950 * help.el (help-window-setup): New argument help-window.
13951 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13952 Reword some messages.
13953 (with-help-window): Pass window used for displaying the buffer
13954 to help-window-setup. Don't set display-buffer-window.
13955
8e39b2e8
GM
139562011-09-13 Glenn Morris <rgm@gnu.org>
13957
13958 * emacs-lisp/debug.el (debugger-make-xrefs):
13959 Preserve point. (Bug#9462)
13960
85e9c04b
CY
139612011-09-13 Chong Yidong <cyd@stupidchicken.com>
13962
13963 * window.el (window-deletable-p): Use next-frame.
13964
1b36ed6a
MR
139652011-09-13 Martin Rudalics <rudalics@gmx.at>
13966
13967 * window.el (window-auto-delete): Remove.
13968 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13969 dedication and previous buffers.
1b36ed6a
MR
13970 (switch-to-prev-buffer): Don't delete window.
13971 (delete-windows-on): Delete a window's frame if and only if the
13972 window is dedicated.
13973 (replace-buffer-in-windows): Delete buffer's window or frame if
13974 and only if window is dedicated.
13975 (quit-window): Handle quit-restore as before last change.
4d61f28d 13976 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13977
ef8ef9fb
CY
139782011-09-13 Chong Yidong <cyd@stupidchicken.com>
13979
13980 * window.el (window-deletable-p): Never delete the last frame on a
13981 given terminal.
13982
b2cba41e
GM
139832011-09-13 Glenn Morris <rgm@gnu.org>
13984
13985 * help.el (describe-key-briefly): Copy previous standard-output change.
13986
51553db6 139872011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13988
13989 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13990
b7556719
GM
139912011-09-13 Glenn Morris <rgm@gnu.org>
13992
13993 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13994 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13995
64b51947
CY
139962011-09-12 Chong Yidong <cyd@stupidchicken.com>
13997
13998 * dired-aux.el (dired-mark-read-string): Don't return default
13999 value on empty input (Bug#9361).
14000 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14001 Omit initial minibuffer contents.
14002 (dired-do-chmod): Signal an error on empty input.
14003 (dired-mark-read-string): Don't return default on empty input.
14004
14005 * files.el (file-modes-symbolic-to-number): Doc fix.
14006
393a301e
SM
140072011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14008
14009 * international/mule-cmds.el (ucs-completions): Remove.
14010 (read-char-by-name): Use complete-with-action instead; add metadata.
14011
fa5660f9
CY
140122011-09-11 Chong Yidong <cyd@stupidchicken.com>
14013
14014 * window.el (display-buffer--action-function-custom-type)
14015 (display-buffer--action-custom-type): New vars.
14016 (display-buffer-alist, display-buffer-default-action)
14017 (display-buffer-overriding-action): Add defcustom types.
14018
4a592f66
CY
14019 * frame.el (delete-other-frames): Doc fix (Bug#276).
14020
73d56dbd
LMI
140212011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14022
14023 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14024
37ac18a3
CY
140252011-09-11 Chong Yidong <cyd@stupidchicken.com>
14026
14027 Change modes that used same-window-* vars to use switch-to-buffer.
14028
14029 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14030 Use switch-to-buffer.
14031
14032 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14033 (customize-browse, custom-buffer-create-other-window):
14034 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14035
14036 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14037 (Info-prev, Info-up, Info-speedbar-goto-node)
14038 (info-display-manual): Use switch-to-buffer.
14039 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14040
14041 * mail/sendmail.el (mail): Use switch-to-buffer.
14042 (mail-recover): Use switch-to-buffer-other-window.
14043
14044 * cmuscheme.el (run-scheme, switch-to-scheme):
14045 * ielm.el (ielm):
14046 * shell.el (shell):
14047 * net/rlogin.el (rlogin):
14048 * net/telnet.el (telnet, rsh):
14049 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14050
10195bd6
AS
140512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14052
14053 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14054
b322f63a
LMI
140552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14056
39d7fed6
LMI
14057 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14058 so don't mention it (bug#9301).
ba5a81f1 14059 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14060
ee0e9f11
LMI
14061 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14062 match `x', `w32' and `ns', like the manual says (bug#9029).
14063
0b1c89c1 14064 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14065 (process-kill-buffer-query-function): Mention the buffer name in
14066 the query.
0b1c89c1 14067
77549ea8
LMI
14068 * image-mode.el (image-next-line): The line parameter is mandatory
14069 (bug#9258).
14070
803ef892
LMI
14071 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14072 which can be useful (bug#9301).
14073
12980837
LMI
14074 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14075
91054f8f
LMI
14076 * subr.el (match-string): Mention that the current buffer should
14077 be the same as the search was done in (bug#9282).
14078
b322f63a
LMI
14079 * facemenu.el: Disable the remove-* commands if the mark isn't
14080 active (bug#9162).
14081
3199b96f
CY
140822011-09-10 Chong Yidong <cyd@stupidchicken.com>
14083
14084 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14085 of display-buffer.
14086 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14087
14088 * replace.el (occur-mode-goto-occurrence)
14089 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14090 and display-buffer.
14091
14092 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14093 display-buffer.
14094
14095 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14096 special-display and same-window variables.
14097 (mail-other-window): Use switch-to-buffer-other-window.
14098 (mail-other-frame): USe switch-to-buffer-other-frame.
14099
393a301e
SM
14100 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14101 Use display-buffer-other-frame.
3199b96f
CY
14102 (gdb-display-gdb-buffer): Use pop-to-buffer.
14103
14104 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14105
14106 * progmodes/python.el: Don't set same-window-buffer-names.
14107
14108 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14109
14110 * window.el (display-buffer-alist): Add *Python*.
14111
8319e0bf
CY
141122011-09-10 Chong Yidong <cyd@stupidchicken.com>
14113
14114 * window.el (display-buffer-alist): Add entry for buffers
14115 previously handled same-window-*.
14116 (display-buffer-alist, display-buffer-default-action)
14117 (display-buffer-overriding-action): Mark as risky.
14118 (display-buffer-alist): Document action function changes.
14119 (display-buffer--same-window-action)
14120 (display-buffer--other-frame-action): New variables.
14121 (switch-to-buffer, display-buffer-other-frame): Use them.
14122 (display-buffer): Rename reuse-frame entry to reusable-frames.
14123 (display-buffer-reuse-selected-window): Function deleted.
14124 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14125 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14126 (display-buffer-special): New function.
14127 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14128 display-buffer-reuse-or-pop-window. Split off special-display
14129 part into display-buffer-special.
14130 (display-buffer-use-some-window): Don't perform any special
14131 pop-up-frames handling.
14132 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14133 (display-buffer--maybe-same-window): Rename from
0d3ff375 14134 display-buffer-maybe-same-window.
8319e0bf 14135
919a69aa
CY
14136 * info.el: Don't set same-window-regexps.
14137 (info-setup): New function.
14138 (info-other-window, info): Call it.
14139
14140 * cus-edit.el: Don't set same-window-regexps.
14141 (customize-group): New argument.
14142 (customize-group-other-window): Use it.
14143 (customize-face, customize-face-other-window): Likewise.
14144 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14145
8319e0bf
CY
14146 * net/rlogin.el:
14147 * net/telnet.el:
14148 * progmodes/gud.el: Don't set same-window-regexps.
14149
14150 * cmuscheme.el:
14151 * ielm.el:
14152 * shell.el:
14153 * mail/sendmail.el:
14154 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14155
25173000
JL
141562011-09-10 Juri Linkov <juri@jurta.org>
14157
14158 * isearch.el (isearch-edit-string): Remove obsolete mention of
14159 `C-w' (`isearch-yank-word-or-char') from docstring.
14160 (isearch-query-replace): Fix typo in docstring (bug#9466).
14161
056e44ef
JL
141622011-09-10 Juri Linkov <juri@jurta.org>
14163
14164 * paren.el (show-paren-function): Don't show escaped parens.
14165 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14166
c3760c17
EZ
141672011-09-10 Eli Zaretskii <eliz@gnu.org>
14168
14169 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14170 (mm-default-file-encoding): Remove autoload forms, they are
14171 replaced with autoload cookies in mml.el and mm-encode.el.
14172 (mail-add-attachment): New command.
14173 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14174 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14175 the doc string.
14176 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14177
fece895e
RT
141782011-09-10 Reuben Thomas <rrt@sc3d.org>
14179
e69df516
SM
14180 * simple.el (count-words-region): Use buffer if there's no region
14181 (bug#9429).
fece895e 14182
5e68ce4a
JL
141832011-09-09 Juri Linkov <juri@jurta.org>
14184
14185 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14186 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14187 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14188
0a6b9622
AM
141892011-09-09 Alan Mackenzie <acm@muc.de>
14190
14191 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14192 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14193
14a29deb
EZ
141942011-09-09 Eli Zaretskii <eliz@gnu.org>
14195
14196 Fix for Savannah bug#9392.
14197 * simple.el (mail-encode-mml): New defvar.
14198
14199 * mail/rmail.el (mail-encode-mml): Add a defvar.
14200 (rmail-enable-mime-composing): Default to t.
14201 (rmail-forward): Use MIME method of forwarding only if both
14202 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14203 Set mail-encode-mml non-nil if the MIME method was used.
14204
14205 * mail/sendmail.el (mml-to-mime): Add autoload form.
14206 (mail-encode-mml): Add a defvar.
14207 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14208 to nil.
14209 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14210 message through mml-to-mime, and reset mail-encode-mml to nil.
14211
28c45130
GM
142122011-09-09 Glenn Morris <rgm@gnu.org>
14213
14214 * woman.el (woman-if-body): When processing an .el block,
14215 do not delete the next .el block as well. (Bug#9447)
69f4b618 14216 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14217
9b1c252e
MR
142182011-09-08 Martin Rudalics <rudalics@gmx.at>
14219
14220 * window.el (window-deletable-p): Make sure window is live before
14221 invoking window-prev-buffers.
14222
567457e3
LL
142232011-09-08 Leo Liu <sdl.web@gmail.com>
14224
14225 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14226
97f05794
JL
142272011-09-08 Juri Linkov <juri@jurta.org>
14228
14229 * progmodes/compile.el (compilation-environment): Make it
14230 a defcustom (bug#8340).
14231
8b0874b5
MR
142322011-09-08 Martin Rudalics <rudalics@gmx.at>
14233
14234 * window.el (frame-auto-delete): Rename to window-auto-delete.
14235 Make it control auto-deletion of windows and/or frames.
14236 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14237 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14238 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14239 Rewrite handling of case when window/frame can be deleted.
14240 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14241 argument t. (Bug#9456)
8b0874b5 14242
4feb6e73
CY
142432011-09-07 Chong Yidong <cyd@stupidchicken.com>
14244
14245 * help-mode.el (help-mode): Restore autoload.
14246
91ab9c13
JL
142472011-09-07 Juri Linkov <juri@jurta.org>
14248
14249 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14250 `compilation-environment'. Set buffer-local
14251 `compilation-environment' to `thisenv' later after (funcall mode).
14252 (Bug#8340)
14253
14254 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14255 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14256 instead of replacing its value. (Bug#8340)
14257
0527e251
JL
142582011-09-07 Juri Linkov <juri@jurta.org>
14259
14260 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14261 based on text properties put by `grep-filter' instead of matching
14262 escape sequences.
14263 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14264 to the value of `grep-error-screen-columns' (bug#9438).
14265
249f792c
JL
142662011-09-07 Juri Linkov <juri@jurta.org>
14267
14268 * simple.el (next-error-highlight, next-error-highlight-no-select):
14269 Doc fix (bug#9432).
14270
ff7271b9
OT
142712011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14272
14273 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14274 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14275
183fc730
LL
142762011-09-07 Leo Liu <sdl.web@gmail.com>
14277
14278 * net/rcirc.el (rcirc-mode): Conditionally initialize
14279 rcirc-input-ring.
14280
77694924
SM
142812011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14282
14283 * emacs-lisp/find-func.el (find-function-C-source): Only set
14284 find-function-C-source-directory after checking that we found a source
14285 file there (bug#9440).
14286
d809b8eb
AM
142872011-09-06 Alan Mackenzie <acm@muc.de>
14288
14289 * isearch.el (isearch-other-meta-char): Wherever a key list is
14290 unread, "unread" the prefix arg, too. This fixes bug #8901.
14291
453de99f
OG
142922011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14293
14294 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14295
90439906
JL
142962011-09-05 Juri Linkov <juri@jurta.org>
14297
14298 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14299
f62bd846
JL
143002011-09-05 Juri Linkov <juri@jurta.org>
14301
14302 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14303 keeping point where processing of grep matches begins, and
14304 continue to delete remaining escape sequences from the same point.
14305 (grep-filter): Make leading zero optional in "0?1;31m" because
14306 git-grep emits "\033[1;31m" escape sequences unlike expected
14307 "\033[01;31m" as GNU Grep does (bug#9408).
14308 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14309
045820ec
JL
143102011-09-05 Juri Linkov <juri@jurta.org>
14311
14312 * subr.el (y-or-n-p): Capitalize "yes".
14313
f5e29b9b
MA
143142011-09-04 Michael Albinus <michael.albinus@gmx.de>
14315
14316 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14317 `tramp-cache-unload-hook' where appropriate.
14318 (tramp-methods): Rename `tramp-remote-sh' to
14319 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14320 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14321
14322 * net/tramp-sh.el (top): Don't require 'shell.
14323 (tramp-methods): Add `tramp-remote-shell' and
14324 `tramp-remote-shell-args' entries.
14325 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14326 (tramp-sh-handle-shell-command): Remove.
14327 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14328 Use `tramp-remote-shell'.
14329
2784c434
CY
143302011-09-03 Chong Yidong <cyd@stupidchicken.com>
14331
393a301e 14332 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14333 (sendmail-query-once): Save directly to send-mail-function.
14334 Update message-send-mail-function too.
14335
14336 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14337
464cdf56
CS
143382011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14339
14340 * progmodes/python.el (python-mode-map): Use correct function to
14341 start python interpreter from menu-bar (as reported by Geert
14342 Kloosterman).
14343 (inferior-python-mode-map): Fix typo.
393a301e 14344 (python-shell-map): Remove.
464cdf56 14345
d37e5c87
DD
143462011-09-03 Deniz Dogan <deniz@dogan.se>
14347
14348 * net/rcirc.el (rcirc-print): Simplify code for
14349 rcirc-scroll-show-maximum-output. There is no need to walk
14350 through all windows to find the right one.
14351
f3ada0ee
CS
143522011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14353
14354 * help.el (help-return-method): Doc fix.
14355
1f3c99ca
MR
143562011-09-03 Martin Rudalics <rudalics@gmx.at>
14357
14358 * window.el (window-deletable-p): Don't return a non-nil value
14359 when there's a buffer that was shown in the window before.
14360 (Bug#9419)
393a301e
SM
14361 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14362 Set window's previous buffers to nil.
1f3c99ca 14363
a3cf097f
EZ
143642011-09-03 Eli Zaretskii <eliz@gnu.org>
14365
14366 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14367 newline before and after the tag line, so it doesn't interfere
14368 with determining the paragraph direction of bidirectional text.
14369
3d03de90
LL
143702011-09-03 Leo Liu <sdl.web@gmail.com>
14371
14372 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14373
c3313451
CY
143742011-09-02 Chong Yidong <cyd@stupidchicken.com>
14375
393a301e 14376 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14377 (pop-to-buffer): Change interactive spec. Pass second argument
14378 directly to display-buffer.
14379 (display-buffer): Fix interactive spec. Use functionp to
14380 distinguish between a function and a list of functions.
14381
14382 * abbrev.el (edit-abbrevs):
14383 * arc-mode.el (archive-extract):
14384 * autoinsert.el (auto-insert):
14385 * bookmark.el (bookmark-bmenu-list):
14386 * files.el (find-file):
14387 * view.el (view-buffer):
14388 * progmodes/compile.el (compilation-goto-locus):
14389 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14390
89894cd8
CY
143912011-09-02 Chong Yidong <cyd@stupidchicken.com>
14392
14393 * window.el (display-buffer-alist): Doc fix.
14394 (display-buffer): Add docstring. Don't treat
14395 display-buffer-default specially.
14396 (display-buffer-reuse-selected-window)
14397 (display-buffer-same-window, display-buffer-maybe-same-window)
14398 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14399 (display-buffer-pop-up-window)
14400 (display-buffer-reuse-or-pop-window)
14401 (display-buffer-use-some-window): New functions.
14402 (display-buffer-default-action): Use them.
393a301e 14403 (display-buffer-default): Delete.
89894cd8
CY
14404 (pop-to-buffer-1): Fix choice of actions.
14405
ae0bc9fb
SM
144062011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14407
14408 * minibuffer.el (completion--insert-strings): Don't get confused by
14409 completion entries that end with an LF char.
14410
e9d90883
EZ
144112011-09-01 Eli Zaretskii <eliz@gnu.org>
14412
14413 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14414
437014c8
CY
144152011-09-01 Chong Yidong <cyd@stupidchicken.com>
14416
14417 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14418 (display-buffer-same-window, display-buffer-other-window):
14419 New functions.
437014c8
CY
14420 (pop-to-buffer-1): New function. Use the above.
14421 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14422 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14423
14424 * view.el (view-buffer-other-window, view-buffer-other-frame):
14425 Just use pop-to-buffer.
14426
a5e063d5
TV
144272011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14428
14429 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14430
793d32bb
WH
144312011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14432
14433 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14434
d65e4c15
RS
144352011-08-31 Richard Stallman <rms@gnu.org>
14436
14437 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14438 of the separation of rmail-view-buffer from rmail-buffer.
14439 If you say no to "replace original", the decrypt is in the
14440 view buffer. If you say yes, the decrypt goes into the
14441 rmail buffer also.
14442
f818cd2a
MR
144432011-08-31 Martin Rudalics <rudalics@gmx.at>
14444
14445 * window.el (display-buffer-window): Rewrite doc-string.
14446 (display-buffer-record-window): New function.
14447 (display-buffer-macro-specifiers)
14448 (display-buffer-even-window-sizes, display-buffer-set-height)
14449 (display-buffer-set-width, display-buffer-in-window)
14450 (display-buffer-reuse-window, display-buffer-split-specifiers)
14451 (display-buffer-side-specifiers, display-buffer-split-window-1)
14452 (display-buffer-split-window, display-buffer-split-atom-window)
14453 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14454 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14455 (display-buffer-other-window-means-other-frame)
14456 (display-buffer-normalize-special)
14457 (display-buffer-normalize-default)
14458 (display-buffer-normalize-argument)
14459 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14460 (display-buffer-normalize-specifiers, display-buffer-frame)
14461 (display-buffer-same-window, display-buffer-same-frame)
14462 (display-buffer-other-window)
14463 (display-buffer-same-frame-other-window)
14464 (display-buffer-other-frame, pop-to-buffer-same-window)
14465 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14466 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14467 (switch-to-buffer-same-frame)
14468 (switch-to-buffer-other-window-same-frame)
14469 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14470 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14471 (display-buffer-alist-set): Remove.
14472 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14473 (special-display-regexps, special-display-function):
14474 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14475 parameter.
14476 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14477 (special-display-frame-alist, special-display-popup-frame)
14478 (same-window-buffer-names, same-window-regexps, same-window-p)
14479 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14480 (split-window-preferred-function, split-height-threshold)
14481 (split-width-threshold, window-splittable-p)
14482 (split-window-sensibly, window--try-to-split-window)
14483 (window--frame-usable-p, even-window-heights)
14484 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14485 (window--display-buffer-2, display-buffer-other-frame):
14486 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14487 (display-buffer-default, display-buffer-assq-regexp): New functions.
14488 (display-buffer-alist): Rewrite doc-string.
14489 (display-buffer-default-action)
14490 (display-buffer-overriding-action): New variables.
14491 (display-buffer, switch-to-buffer): Rewrite.
14492 (pop-to-buffer): Restore Emacs 23 behavior but use
14493 window-normalize-buffer-to-display.
14494 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14495 Restore Emacs 23 behavior but use
14496 window-normalize-buffer-to-switch-to.
14497 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14498 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14499 Rewrite using Emacs 23 options.
f818cd2a 14500
5bc3b51d
MA
145012011-08-31 Michael Albinus <michael.albinus@gmx.de>
14502
14503 * net/tramp.el (tramp-root-regexp): Remove.
14504 (tramp-completion-file-name-regexp-unified)
14505 (tramp-completion-file-name-regexp-separate)
14506 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14507 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14508 (tramp-drop-volume-letter): Simplify definition.
14509 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14510
b1a4f8e1
SM
145112011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14512
14513 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14514 (bug#9356).
14515
5664fa7b
RT
145162011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14517
b1a4f8e1 14518 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14519
9a45d6c3
JL
145202011-08-29 Juri Linkov <juri@jurta.org>
14521
14522 * isearch.el (isearch-done): Don't display message "Mark saved"
14523 when arg `edit' is non-nil to prevent its flicker in the echo area.
14524
fb87e0fb
CY
145252011-08-28 Chong Yidong <cyd@stupidchicken.com>
14526
14527 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14528 obsolete packages for deletion.
14529
09ac1c2a
CS
145302011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14531
14532 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14533 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14534 view-mode from help-mode.
14535 (help-xref-override-view-map): Remove.
14536 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14537 view-mode is not used anymore.
14538
7a1ff57f
CY
145392011-08-28 Chong Yidong <cyd@stupidchicken.com>
14540
14541 * server.el (server-port): Doc fix.
14542
b9696605
CY
14543 * cus-theme.el (custom-theme-choose-mode): Inherit from
14544 special-mode (Bug#9124).
14545 (custom-theme-choose-mode-map): Add special-mode to parent.
14546
ef8cdf8c
AM
145472011-08-28 Alan Mackenzie <acm@muc.de>
14548
14549 * progmodes/cc-fonts.el
14550 (c-make-font-lock-BO-decl-search-function): New function.
14551 (c-basic-matchers-after - "Fontify the clauses after various
14552 keywords"): Extract the three keyword lists for the 3 erroneous
14553 constructs from the list of four, and use the new function above
14554 in place of an old one.
14555
27de4e20
DD
145562011-08-28 Deniz Dogan <deniz@dogan.se>
14557
14558 * net/rcirc.el (rcirc-insert-prev-input)
14559 (rcirc-insert-next-input): Remove unused argument.
14560
356a3681
SM
145612011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14562
14563 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14564
3fc9b218
AM
145652011-08-27 Alan Mackenzie <acm@muc.de>
14566
14567 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14568 handle function pointer parameters properly.
14569
538a061c
MR
145702011-08-27 Martin Rudalics <rudalics@gmx.at>
14571
14572 * window.el (display-buffer-reuse-window): Fix case where
14573 selected window was reused with non-nil OTHER-WINDOW argument.
14574 (Bug#9381)
14575
35b1c40c
DD
145762011-08-27 Deniz Dogan <deniz@dogan.se>
14577
14578 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14579 oftc's NickServ messages.
14580
2f6a3e79
GM
145812011-08-27 Glenn Morris <rgm@gnu.org>
14582
14583 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14584
7254299e
CY
145852011-08-26 Chong Yidong <cyd@stupidchicken.com>
14586
14587 * emacs-lisp/package.el (package-install): Call package-initialize
14588 if called interactively.
14589
f8ccf167
LL
145902011-08-26 Leo Liu <sdl.web@gmail.com>
14591
14592 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14593
3e8cd5ce
JL
145942011-08-25 Juri Linkov <juri@jurta.org>
14595
14596 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14597 `search-whitespace-regexp' (bug#9364).
14598
93eb7113
JL
145992011-08-25 Juri Linkov <juri@jurta.org>
14600
14601 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14602 `regexp-search-ring' to their global values to protect from
14603 updating by `read-from-minibuffer' (bug#9185).
14604
f65d1611
JL
146052011-08-25 Juri Linkov <juri@jurta.org>
14606
14607 * textmodes/ispell.el (ispell-command-loop): Add newline
14608 at the end of the "Use option `i'..." line.
14609
f1cf7a31
JL
146102011-08-25 Juri Linkov <juri@jurta.org>
14611
14612 * battery.el (display-battery-mode): If `battery-status-function'
14613 or `battery-mode-line-format' is nil, display the message and set
14614 `display-battery-mode' to nil (bug#9363).
14615
0c95fcf7
EZ
146162011-08-25 Eli Zaretskii <eliz@gnu.org>
14617
14618 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14619 bidi-string-mark-left-to-right; they are unnecessary now.
14620
a2ebe600
DD
146212011-08-25 Deniz Dogan <deniz@dogan.se>
14622
14623 * net/quickurl.el: Documentation typo fixes.
14624
e4ed06f1
CY
146252011-08-25 Chong Yidong <cyd@stupidchicken.com>
14626
14627 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14628
e5f1c99e
GM
146292011-08-25 Glenn Morris <rgm@gnu.org>
14630
b2948976
GM
14631 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14632
e5f1c99e
GM
14633 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14634 (smtpmail-via-smtp): Handle nil response from smtp.
14635
f22f4808
JL
146362011-08-24 Juri Linkov <juri@jurta.org>
14637
14638 * proced.el (proced-marked): Inherit from `error' instead of
14639 `font-lock-warning-face'.
14640
14641 * ibuffer.el (ibuffer-marked-face): Change default face from
14642 `font-lock-warning-face' to `warning'.
14643 (ibuffer-deletion-face): Change default face from
14644 `font-lock-type-face' to `error'.
14645
14646 * battery.el (battery-update): Use the face `error' instead of
14647 `font-lock-warning-face' (bug#6117).
14648
6a93965e
JL
146492011-08-24 Juri Linkov <juri@jurta.org>
14650
14651 * faces.el (success): Change face color from "Green3" to
14652 "ForestGreen" on light background (bug#9353).
14653
1ed43b09
CY
146542011-08-24 Chong Yidong <cyd@stupidchicken.com>
14655
5664fa7b
RT
14656 * window.el (quit-window): Rename from quit-restore-window.
14657 Use same arglist as old quit-window.
1ed43b09
CY
14658 (frame-auto-delete): Doc fix.
14659
14660 * view.el (view-mode-exit): Use quit-window.
14661
11dcdbb2
JL
146622011-08-24 Juri Linkov <juri@jurta.org>
14663
14664 * isearch.el (isearch-ring-adjust1): Start visiting previous
14665 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14666 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14667 for empty search string (when the last search string is reused
14668 automatically) to adjust the isearch ring to the last element and
14669 prepare the correct index for further M-p commands (bug#9185).
14670
de62b4df
KH
146712011-08-24 Kenichi Handa <handa@m17n.org>
14672
14673 * international/ucs-normalize.el: If decomposition property of
14674 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14675 nil.
14676 (nfd, nfkd): Likewise.
14677
963b492b
SM
146782011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14679
14680 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14681 from process filters aren't reliably transmitted to the surrounding
14682 accept-process-output.
14683 (mpc-proc-check): New function.
14684 (mpc-proc-sync): Use it (bug#8293)
14685
93b6b5e1
SM
146862011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14687
14688 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14689 Add compatibility functions (bug#9313).
14690
bca633fb
EZ
146912011-08-23 Eli Zaretskii <eliz@gnu.org>
14692
b177498a
EZ
14693 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14694
6df6ae42 14695 * international/uni-bidi.el: Regenerate.
bca633fb 14696
0902a04e
KH
146972011-08-23 Kenichi Handa <handa@m17n.org>
14698
14699 * international/charprop.el:
14700 * international/uni-bidi.el:
14701 * international/uni-category.el:
14702 * international/uni-combining.el:
14703 * international/uni-comment.el:
14704 * international/uni-decimal.el:
14705 * international/uni-decomposition.el:
14706 * international/uni-digit.el:
14707 * international/uni-lowercase.el:
14708 * international/uni-mirrored.el:
14709 * international/uni-name.el:
14710 * international/uni-numeric.el:
14711 * international/uni-old-name.el:
14712 * international/uni-titlecase.el:
14713 * international/uni-uppercase.el: Regenerate.
14714
3bbf23bc
MR
147152011-08-23 Martin Rudalics <rudalics@gmx.at>
14716
14717 * help.el (help-window-setup): Fix message displayed when other
14718 window is reused. (Bug#9341)
14719
b3fd59bd
SM
147202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14721
1802e444
SM
14722 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14723 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14724
b3fd59bd
SM
14725 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14726 Mark obsolete.
14727 * shell.el (shell-parse-pcomplete-arguments): New function.
14728 (shell-completion-vars): Use it instead (bug#9160).
14729
4eb61348
SM
147302011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14731
867cab74
SM
14732 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14733 strings and comments (bug#9333).
14734
4eb61348
SM
14735 * emacs-lisp/debug.el (debug-arglist): New function.
14736 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14737 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14738
262a1439
JL
147392011-08-22 Juri Linkov <juri@jurta.org>
14740
56ee679c
JL
14741 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14742 Revert regexp that highlights output switches to its old
14743 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14744
262a1439
JL
14745 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14746 to check for empty output (bug#9226).
14747
f13f86fb
CY
147482011-08-22 Chong Yidong <cyd@stupidchicken.com>
14749
14750 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14751 symbol-constituent as the default, as that stops font-lock from
14752 working properly (Bug#8843).
14753
c65c9622
LMI
147542011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14755
14756 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14757 `coding-system-for-*' around the process open call to avoid
14758 auth-source side effects.
e7f2c178 14759 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14760 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14761 probe hangs.
c65c9622 14762
23a8a5ab
CY
147632011-08-21 Chong Yidong <cyd@stupidchicken.com>
14764
ff98b2dd
CY
14765 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14766
23a8a5ab
CY
14767 * emacs-lisp/find-func.el (find-function-noselect): New arg
14768 lisp-only.
14769
14770 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14771 signal an error for built-in functions (Bug#6664).
14772
f5e3c598
LMI
147732011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14774
14775 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14776 (smtpmail-try-auth-methods): Use it.
14777
a3f2468a
CY
147782011-08-21 Chong Yidong <cyd@stupidchicken.com>
14779
2c34e8da
CY
14780 * font-lock.el (font-lock-fontify-region)
14781 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14782 (font-lock-default-unfontify-buffer)
14783 (font-lock-default-fontify-region)
14784 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14785
b3fd59bd
SM
14786 * progmodes/compile.el (compilation-error-properties):
14787 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14788 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14789 `ant' regexp.
ee31aabc 14790
a3f2468a
CY
14791 * net/browse-url.el (browse-url-firefox): Don't call
14792 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14793
8e999f70
GM
147942011-08-20 Glenn Morris <rgm@gnu.org>
14795
c21a496a
GM
14796 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14797
59ee0542
GM
14798 * tutorial.el (tutorial--default-keys): Update some default bindings.
14799
8e999f70
GM
14800 * files.el (hack-local-variables): Fully ignore case for "mode:".
14801
e3715033
AM
148022011-08-20 Alan Mackenzie <acm@muc.de>
14803
14804 Resolve invalid use of a regexp in regexp-opt.
14805
4d61f28d
JB
14806 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14807 detection for a java annotation.
e3715033 14808
4d61f28d 14809 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14810 detection for a java annotation.
14811
4d61f28d
JB
14812 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14813 handling for java.
e3715033
AM
14814 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14815
04ed2e9c
CY
148162011-08-20 Chong Yidong <cyd@stupidchicken.com>
14817
14818 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14819 (Bug#9274).
14820
826cee64
AM
148212011-08-20 Alan Mackenzie <acm@muc.de>
14822
58179cce 14823 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14824 such a construct. Mainly for when jit-lock etc. starts a chunk
14825 here.
14826
58179cce 14827 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14828 variable.
58179cce 14829 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14830 c-make-font-lock-search-function.
14831 (c-make-font-lock-search-function): Use the above function.
14832 (c-make-font-lock-context-search-function): New function.
14833 (c-cpp-matchers): Enhance the preprocessor expression case with
14834 the above function
14835 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14836 which takes an expression.
14837
14838 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14839
13009bd8
MR
148402011-08-20 Martin Rudalics <rudalics@gmx.at>
14841
14842 * window.el (display-buffer-reuse-window)
14843 (display-buffer-pop-up-window): Don't reuse or split a side
14844 window.
14845
9234ff7f
GM
148462011-08-19 Glenn Morris <rgm@gnu.org>
14847
14848 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14849 Downcase "Mode:". (Bug#9331)
9234ff7f 14850
f635daa1
CY
148512011-08-18 Chong Yidong <cyd@stupidchicken.com>
14852
14853 * international/characters.el: Add L and R categories.
14854
14855 * subr.el (bidi-string-mark-left-to-right): Rename from
14856 string-mark-left-to-right. Use category search.
14857
14858 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14859
bc987f8b
JL
148602011-08-18 Juri Linkov <juri@jurta.org>
14861
14862 * faces.el (error, warning, success): New faces with definitions
14863 copied from old default values of `font-lock-warning-face',
14864 `compilation-warning', `compilation-info' (bug#6117).
14865
14866 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14867
14868 * progmodes/compile.el (compilation-error): Inherit from `error'.
14869 (compilation-warning): Inherit from `warning'.
14870 (compilation-info): Inherit from `success'.
14871
14872 * dired.el (dired-marked): Inherit from `warning'.
14873 (dired-flagged): Inherit from `error'.
14874
57173b96
LMI
148752011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14876
3e79eb87
LMI
14877 * mail/smtpmail.el (auth-source): Require to avoid problems with
14878 binding variables (bug#9298). Also clean up some unused
14879 autoloads.
14880
b3fd59bd
SM
14881 * net/network-stream.el (network-stream-open-starttls):
14882 Support using starttls.el without using gnutls-cli.
57173b96 14883
02b404de
JL
148842011-08-17 Juri Linkov <juri@jurta.org>
14885
14886 * progmodes/grep.el (rgrep): Handle the case when
14887 `grep-find-command' is a cons cell (bug#9278).
14888
8c9177f2
MR
148892011-08-17 Martin Rudalics <rudalics@gmx.at>
14890
14891 * window.el (display-buffer-pop-up-frame): Run frame creation
14892 function with BUFFER current (as special-display-popup-frame
14893 does). Reported by Drew Adams.
14894
3644a0ab
DU
148952011-08-17 Daiki Ueno <ueno@unixuser.org>
14896
14897 * epa-mail.el: Simplify GnuPG group expansion using
14898 epg-expand-group.
14899 (epa-mail-group-alist, epa-mail-group-modtime)
14900 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14901 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14902 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14903 Remove.
14904
5e617bc2 149052011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14906
14907 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14908
9c4aeabf
AM
149092011-08-16 Alan Mackenzie <acm@muc.de>
14910
14911 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14912 Correct, to avoid the inside of macros.
14913
3a99bf64
RS
149142011-08-16 Richard Stallman <rms@gnu.org>
14915
04963aa8
RS
14916 * epa-mail.el: Handle GnuPG group definitions.
14917 (epa-mail-group-alist, epa-mail-group-modtime)
14918 (epa-mail-gnupg-conf-file): New variables.
14919 (epa-mail-parse-groups, epa-mail-sync-groups)
14920 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14921 (epa-mail-expand-recipients): New functions.
14922 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14923
177549d0
RS
14924 * mail/rmail.el (rmail-epa-decrypt): New command.
14925
fe38beef
RS
14926 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14927 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14928 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14929 (epa-decrypt-armor-in-region): Make error message clearer.
14930
934eacb9
SM
149312011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14932
14933 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14934 and "a2b" to "ab" for `prefix'.
14935
d024fb4e
CY
149362011-08-14 Chong Yidong <cyd@stupidchicken.com>
14937
14938 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14939 filter groups.
de148fee
CY
14940 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14941 Fourquet (Bug#8804).
d024fb4e 14942
62f1ca49
JB
149432011-08-12 Juanma Barranquero <lekktu@gmail.com>
14944
14945 * startup.el (argi): Declare as global variable (bug#9275).
14946
9ccaaa4b
CY
149472011-08-12 Chong Yidong <cyd@stupidchicken.com>
14948
14949 * subr.el (string-mark-left-to-right): Search the entire string
14950 for RTL script, not just the terminating character. Doc fix.
14951
a3dae87a
SM
149522011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14953
6cd18349
SM
14954 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14955 New function.
14956 (js--regexp-literal, js-syntax-propertize-function): Remove.
14957 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14958 (js-mode-map): Don't rebind electric keys.
14959 (js-insert-and-indent): Remove.
14960 (js-mode): Setup electric-layout and electric-indent instead.
14961
a3dae87a
SM
14962 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14963
9d5cb631
DU
149642011-08-12 Daiki Ueno <ueno@unixuser.org>
14965
14966 * epa.el (epa-progress-callback-function): Fix the logic of
14967 displaying progress.
14968 * epa-file.el (epa-file-insert-file-contents): Make progress
14969 display more user-friendly.
14970 (epa-file-write-region): Ditto.
14971
3e26a4a2
CY
149722011-08-10 Chong Yidong <cyd@stupidchicken.com>
14973
14974 * subr.el (string-mark-left-to-right): New function.
14975
14976 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14977 Use string-mark-left-to-right.
14978 (list-buffers-noselect): Caller changed.
14979
a3dae87a
SM
14980 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14981 Use string-mark-left-to-right.
3e26a4a2
CY
14982 (tabulated-list-print): Recenter after moving point.
14983
ac8cf6e6
JL
149842011-08-10 Juri Linkov <juri@jurta.org>
14985
14986 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14987 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14988 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14989
8d96c9a4
CY
149902011-08-09 Chong Yidong <cyd@stupidchicken.com>
14991
14992 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14993 (Bug#7554).
14994
7be1c708 149952011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14996
14997 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14998 character. (Bug#6594)
14999
37e11a63
CY
150002011-08-08 Chong Yidong <cyd@stupidchicken.com>
15001
839dde57
CY
15002 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15003 (image-dired--with-db-file): New macro.
15004 (image-dired-write-tags, image-dired-remove-tag)
15005 (image-dired-create-gallery-lists, image-dired-write-comments)
15006 (image-dired-get-comment, image-dired-mark-tagged-files)
15007 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15008 (image-dired-gallery-generate): Use insert-file-contents.
15009
37e11a63
CY
15010 * time.el (display-time-world-list, display-time-world-display):
15011 * time-stamp.el (time-stamp-string):
15012 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15013 set-time-zone-rule (Bug#7337).
15014
0b4946c4
DU
150152011-08-08 Daiki Ueno <ueno@unixuser.org>
15016
15017 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15018 (epg-error-to-string, epg-errors-to-string): New function.
15019 (epg-wait-for-completion): Reverse errors list.
15020 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15021 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15022 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15023 (epg-sign-keys, epg-generate-key-from-file)
15024 (epg-generate-key-from-string): Format errors by using
15025 epg-errors-to-string (bug#9255).
15026 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15027
75bfc667
JL
150282011-08-07 Juri Linkov <juri@jurta.org>
15029
15030 * faces.el (list-faces-display): Remove extra angle bracket
15031 from `help-mode-map'.
15032
15033 * info.el (Info-history-toc-nodes): Doc fix.
15034
15035 * longlines.el (longlines-mode): Doc fix.
15036
673e08bb
SM
150372011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15038
4640dd88
SM
15039 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15040 of statements and in a few more cases (bug#9183).
15041
673e08bb
SM
15042 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15043 New functions.
15044 (cl-transform-lambda): Use them (bug#9239).
15045
89b3f019
MR
150462011-08-05 Martin Rudalics <rudalics@gmx.at>
15047
15048 * window.el (display-buffer-same-window)
15049 (display-buffer-same-frame, display-buffer-other-window)
15050 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15051 (pop-to-buffer-other-window)
15052 (pop-to-buffer-same-frame-other-window)
15053 (pop-to-buffer-other-frame): Make them defuns.
15054 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15055
640c8776
SM
150562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 * subr.el (make-composed-keymap): Move from C. Change calling
15059 convention, and improve docstring to bring attention to a subtle point.
15060 * minibuffer.el (completing-read-default): Adjust accordingly.
15061
63648a95
MA
150622011-08-03 Michael Albinus <michael.albinus@gmx.de>
15063
15064 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15065 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15066
15067 * net/trampver.el: Update release number.
15068
b796c9b7
SM
150692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15070
15071 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15072 "in" (bug#9190).
15073
2239d7d5
LMI
150742011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15075
e07dd7c3
LMI
15076 * mail/sendmail.el (sendmail-query-once): Restore the current
15077 buffer after querying (bug#9074).
15078
0e6a2bd7
LMI
15079 * dired.el (dired-flagged): Use different faces for marked and
15080 flagged files (bug#6117).
15081
ce887515
LMI
15082 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15083 (bug#4433).
15084
92f2affc
LMI
15085 * ido.el (ido-mode): Switch off the message if called
15086 non-interactively.
15087
57d5aff0
LMI
15088 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15089 before 587, since it appears that that's more likely to work for
15090 more people.
15091
98cd6c18 15092 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15093 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15094 exist.
15095
b96dec83
LMI
15096 * info.el: Remove the `Info-beginning-of-buffer' function
15097 (bug#8325).
15098
b796c9b7
SM
15099 * net/network-stream.el (network-stream-open-starttls):
15100 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15101
d90e2ea0
MR
151022011-08-01 Martin Rudalics <rudalics@gmx.at>
15103
15104 * window.el (display-buffer-in-window): Don't set dedicated status
15105 of window here (Bug#9215).
15106 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15107 (display-buffer-pop-up-side-window)
b796c9b7 15108 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15109
cca09170
SM
151102011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15111
15112 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15113 before binding generated-autoload-file.
15114
027b979c
DD
151152011-08-01 Deniz Dogan <deniz@dogan.se>
15116
15117 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15118
3c7ee4f3
MA
151192011-07-30 Michael Albinus <michael.albinus@gmx.de>
15120
15121 Sync with Tramp 2.2.2.
15122
15123 * net/trampver.el: Update release number.
15124
2cc8e51a
JL
151252011-07-30 Juri Linkov <juri@jurta.org>
15126
15127 * dired-aux.el (dired-touch-initial): Remove function.
15128 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15129 current time, and `default' to the last modification time of the
15130 current marked file (bug#6887).
15131
a514d856
JM
151322011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15133
15134 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15135 numeric argument to read-number (bug#9163).
a514d856 15136
8a7eddd7
MA
151372011-07-27 Michael Albinus <michael.albinus@gmx.de>
15138
15139 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15140 connection process, it could be nil.
15141
1ddd96f5
LL
151422011-07-27 Leo Liu <sdl.web@gmail.com>
15143
15144 Simplify url handling in rcirc-mode.
15145
15146 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15147 (rcirc-browse-url-at-mouse): Remove.
15148 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15149
b248a85d
AM
151502011-07-26 Alan Mackenzie <acm@muc.de>
15151
15152 Fontify bitfield declarations properly.
15153
15154 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15155 (c-symbol-chars): Now exported as a lang variable.
15156 (c-not-primitive-type-keywords): New lang variable.
15157
15158 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15159 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15160 parsed as a bitfield declaration.
b248a85d 15161
b796c9b7
SM
15162 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15163 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15164 (c-punctuation-in): New function.
15165 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15166 declarations properly.
15167
68575ab0
UJ
151682011-07-26 Ulf Jasper <ulf.jasper@web.de>
15169
15170 * calendar/icalendar.el (icalendar--all-events): Take care of
15171 multiple vcalendars in a single file.
b796c9b7 15172 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15173
0f0a88b9
DD
151742011-07-25 Deniz Dogan <deniz@dogan.se>
15175
15176 * image.el (insert-image): Clarifying docstring.
15177
0b3f36df
MA
151782011-07-24 Michael Albinus <michael.albinus@gmx.de>
15179
15180 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15181 `tramp-send-command-and-check' if there is no error.
15182 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15183
a9901f61
AM
151842011-07-22 Alan Mackenzie <acm@muc.de>
15185
15186 Prevent cc-langs.elc being loaded at run time.
15187
15188 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15189 cc-langs.
15190
4d61f28d 15191 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15192 "(require 'cc-langs)". Quote a form so it will evaluate at
15193 (cc-mode's) compilation time.
15194
11d074b2
MA
151952011-07-22 Michael Albinus <michael.albinus@gmx.de>
15196
15197 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15198 loading. (Bug#9114)
15199
938b94c8
MR
152002011-07-21 Martin Rudalics <rudalics@gmx.at>
15201
15202 * window.el (display-buffer-pop-up-window)
15203 (display-buffer-pop-up-side-window)
15204 (display-buffer-in-side-window): Call display-buffer-set-height
15205 and display-buffer-set-width after setting the new window's
b796c9b7 15206 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15207
bfa4f190
SS
152082011-07-20 Sam Steingold <sds@gnu.org>
15209
15210 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15211 (etags-tags-included-tables): Call `convert-standard-filename' on
15212 the file names contained in TAGS so that windows Emacs can handle
15213 TAGS files created by cygwin ctags.
15214
8ca42262
LMI
152152011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15216
15217 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15218 which apparently didn't work.
15219
5db2afd2 152202011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15221
5db2afd2
RW
15222 * proced.el (proced-send-signal): For *Marked Processes* buffer
15223 put point at beginning of buffer.
15224
92e15d10
SB
152252011-07-19 Stephen Berman <stephen.berman@gmx.net>
15226
15227 * proced.el (proced-format): Make header lines align with the text
15228 (bug#1779).
15229
1bfd59e5
LMI
152302011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15231
15232 * view.el (view-buffer): Allow running in `special' modes if we're
15233 visiting a file (bug#8615).
15234
f5aae37c
MR
152352011-07-19 Martin Rudalics <rudalics@gmx.at>
15236
15237 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15238 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15239 New functions.
f5aae37c
MR
15240 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15241 more accurately.
15242
bf2c1571
AM
152432011-07-18 Alan Mackenzie <acm@muc.de>
15244
15245 Fontify declarators properly when, e.g., a jit-lock chunk begins
15246 inside a declaration.
15247
15248 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15249
b796c9b7
SM
15250 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15251 New function.
bf2c1571
AM
15252 (c-complex-decl-matchers): Insert reference to
15253 c-font-lock-enclosing-decls.
15254
15255 * progmodes/cc-engine.el (c-backward-single-comment):
15256 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15257 to nil around calls to (forward-comment -1).
15258
4e190b80
LMI
152592011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15260
12dc863d
LMI
15261 * image.el (put-image): Doc typo fix.
15262
a762e966
LMI
15263 * progmodes/etags.el (tags-search): Doc typo fix.
15264
4e190b80
LMI
15265 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15266 password if we get errors 550 to 554.
15267
f019fb21
LMI
152682011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15269
b796c9b7 15270 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15271
81746738
LMI
15272 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15273 indentation character (bug#6380).
15274
3ee3a1b5
LMI
15275 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15276
c82f64de
LMI
15277 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15278 to clarify what the problem is (bug#4291).
15279
f019fb21
LMI
15280 * simple.el (current-kill): Clarify what
15281 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15282 (auto-fill-mode): Document `auto-fill-function' in relation to
15283 `auto-fill-mode' (bug#2470).
f019fb21 15284
0794775d
LM
152852011-07-16 Lawrence Mitchell <wence@gmx.li>
15286
15287 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15288 method if slot is read-only (bug#9035).
15289
be39b8cc
MR
152902011-07-16 Martin Rudalics <rudalics@gmx.at>
15291
b796c9b7 15292 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15293 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15294 selected before, see discussion of (Bug#8615), (Bug#6954).
15295 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15296
6ccf7859
GM
152972011-07-15 Glenn Morris <rgm@gnu.org>
15298
15299 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15300 Respect help-form.
6ccf7859 15301
87e86684
LM
153022011-07-09 Lawrence Mitchell <wence@gmx.li>
15303
15304 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15305 (gnutls-negotiate): Use it.
15306
d6066239
LMI
153072011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15308
b796c9b7
SM
15309 * net/gnutls.el (gnutls-negotiate):
15310 Upcase `gnutls-algorithm-priority'.
d6066239 15311
bd23ebc0
GM
153122011-07-15 Glenn Morris <rgm@gnu.org>
15313
c65bca65
GM
15314 * jka-compr.el (jka-compr-verbose): Move from here...
15315 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15316 Add missing :version tag.
15317 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15318
478615cc
LMI
153192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15320
7b41decb
LMI
15321 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15322 (gnutls-negotiate): Use it.
15323
dbc44fcd
LMI
15324 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15325
06789f97
LMI
15326 * info.el (Info-beginning-of-buffer): New command.
15327 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15328 announcing `b' as the key (bug#8325).
ab896c37 15329 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15330
c39da690
LMI
15331 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15332
3aa5f34b
LMI
15333 * international/mule-cmds.el
15334 (describe-specified-language-support): Make the error message
15335 clearer (bug#8905).
15336
4bf0979f
LMI
15337 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15338
478615cc
LMI
15339 * isearch.el (isearch-barrier): Add a doc string, since it's
15340 mentioned in a function doc string (bug#8678).
15341
75c68aa1
MR
153422011-07-15 Martin Rudalics <rudalics@gmx.at>
15343
15344 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15345 buffer argument (Bug#9083) and self-identifying label argument.
15346
a7c33da2
GM
153472011-07-15 Glenn Morris <rgm@gnu.org>
15348
15349 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15350
2f5c6024
LMI
153512011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15352
15353 * man.el (Man-fontify-manpage): Fix message when formatting the
15354 man page (bug#7929).
15355
0bb23927 153562011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15357
15358 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15359 argument LRM; if non-nil, append an invisible LRM character to the
15360 buffer name.
15361 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15362 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15363 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15364 paragraph direction.
cce4b0a7 15365
621ef9ab
LMI
153662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15367
d1583c48
LMI
15368 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15369 the man page name (bug#7929).
15370
6a57fb5f
LMI
15371 * image.el (put-image): Mention the `put-image' overlay property
15372 (bug#7834).
15373
d7956b14
LMI
15374 * scroll-bar.el (set-scroll-bar-mode): Mention that
15375 `scroll-bar-mode' lists the values (bug#7772).
15376
5b2d4a66
LMI
15377 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15378 command (bug#7729).
15379
7509a874
LMI
15380 * rect.el (apply-on-rectangle): Return the point after the last
15381 operation.
15382 (string-rectangle): Go to the point after the last operation
15383 (bug#7522).
15384
4fe74b19
LMI
15385 * printing.el (pr-toggle-region): Clarify the documentation
15386 slightly (bug#7493).
15387
b796c9b7
SM
15388 * time.el (display-time-update):
15389 Allow `display-time-mail-function' to return nil (bug#7158).
15390 Fix suggested by Detlev Zundel.
ab283561 15391
fc233c9d
LMI
15392 * vc/diff.el (diff): Clarify the order the file names are read
15393 (bug#7111).
15394
43f5740b
LMI
15395 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15396 the doc string (bug#7015).
15397
f2182a76
LMI
15398 * font-lock.el (font-lock-maximum-decoration): Mention what
15399 numeric levels mean (bug#6935).
15400
621ef9ab
LMI
15401 * startup.el (initial-buffer-choice): Don't mention the `none'
15402 selection, which is against policy.
15403
adc47434
MR
154042011-07-14 Martin Rudalics <rudalics@gmx.at>
15405
b796c9b7
SM
15406 * window.el (display-buffer-normalize-special):
15407 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15408
7e5bfb8f
EZ
154092011-07-14 Eli Zaretskii <eliz@gnu.org>
15410
15411 * subr.el (version<, version<=, version=): Mention "-CVS" and
15412 "-12345" alpha version numbers.
15413
27fa387a
CY
154142011-07-14 Chong Yidong <cyd@stupidchicken.com>
15415
15416 * bindings.el: Add advertised binding for set-mark-command
15417 (Bug#5772).
15418
8bdfa064
CY
154192011-07-14 Chong Yidong <cyd@stupidchicken.com>
15420
15421 * bindings.el (mode-line-other-buffer):
15422 * bookmark.el (bookmark-bmenu-2-window):
15423 * bs.el (bs-cycle-next, bs-cycle-previous):
15424 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15425 switch-to-buffer.
15426
15427 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15428 Delete.
8bdfa064 15429
5eba16a3
JB
154302011-07-14 Juanma Barranquero <lekktu@gmail.com>
15431
15432 * follow.el (follow-debug-message, follow-redisplay):
15433 * jka-cmpr-hook.el (with-auto-compression-mode):
15434 Fix typos in docstrings.
15435
15853710
LMI
154362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15437
a28e4607
LMI
15438 * subr.el (with-silent-modifications): Clarify somewhat what the
15439 macro inhibits (bug#6525).
15440
15853710
LMI
15441 * simple.el (eval-expression): Note what it does if called
15442 interactively (bug#6495).
15443
bee0fcef
CY
154442011-07-13 Chong Yidong <cyd@stupidchicken.com>
15445
b796c9b7
SM
15446 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15447 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15448
15449 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15450 Remove switch-to-buffer.
15451
58274504
LMI
154522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15453
bd2fcc8d
LMI
15454 * files.el (make-directory): Clarify that an error will be raised
15455 if there's an error (bug#6397).
15456
0f04b32c
LMI
15457 * startup.el (initial-buffer-choice): Add `none' as a choice
15458 (bug#6234).
15459
465c5fc8
LMI
15460 * subr.el (add-hook): Clarify section about buffer-local hooks
15461 (bug#6218).
15462
58274504
LMI
15463 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15464
bead9a43
JB
154652011-07-13 Juanma Barranquero <lekktu@gmail.com>
15466
15467 * tabify.el (untabify): Preserve the current column so that point
15468 doesn't move (bug#6032).
15469
3af98a7b
LMI
154702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15471
b796c9b7
SM
15472 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15473 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15474
6240145a
GM
154752011-07-13 Glenn Morris <rgm@gnu.org>
15476
15477 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15478 (dired-insert-directory): Give a message the first time
15479 if ls is found not to support --dired.
15480
1d8c2ccc
LMI
154812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15482
15483 * simple.el (toggle-truncate-lines): Clarify what is toggled
15484 (bug#5580). Text by Drew Adams.
15485
5fc4038e
CY
154862011-07-13 Chong Yidong <cyd@stupidchicken.com>
15487
15488 * simple.el (blink-matching-open): Make the error message from the
15489 last change less verbose.
15490
bf6012e5
DN
154912011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15492
15493 * font-lock.el (font-lock-comment-face): Use the high contrast
15494 "yellow" color for font-lock-comment-face on low color terminals
15495 using a dark background color (bug#4221).
15496
343c3b5a
LMI
154972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15498
7e9505c5
LMI
15499 * dired.el (dired-insert-set-properties): Make the doc string
15500 reflect what it does now (bug#5325).
15501
c26fdcf5
LMI
15502 * simple.el (blink-matching-open): Say that we were unable to find
15503 the match within the limit, if we're limited (bug#5122).
15504
bb388cc5
LMI
15505 * international/mule-cmds.el (prefer-coding-system): Add an
15506 example (bug#4869).
15507
343c3b5a
LMI
15508 * progmodes/etags.el (tags-search): Document `file-list-form'
15509 (bug#4731).
15510
2a517d45
LM
155112011-07-13 Lawrence Mitchell <wence@gmx.li>
15512
15513 * net/browse-url.el (browse-url-default-browser)
15514 (browse-url-browser-function): Make the default browser choice a
15515 bit more logical (bug#4300). Also clean up the doc string.
15516
b6c78ef2
JB
155172011-07-13 Juanma Barranquero <lekktu@gmail.com>
15518
15519 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15520 binary endings (bug#4440).
15521
1c4dd947
LMI
155222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15523
a2014063
LMI
15524 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15525 which can be pretty annoying (bug#8971).
15526
9c9c2d88
LMI
15527 * jka-compr.el (jka-compr-verbose): New variable, and use
15528 throughout (bug#8971).
15529
1c4dd947
LMI
15530 * info.el (Info-find-file): Fall back on the installation
15531 directory if we can't find the info node anywhere else.
15532
a1c9f41b
SO
155332011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15534
15535 * vc/vc.el (vc-revert-file):
15536 Don't set file time-stamp in the past. (Bug#5181)
15537
536f3d36
LMI
155382011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15539
7152b011
LMI
15540 * files.el (after-find-file): Give a better error message when
15541 trying to find a symlink that points to a file that doesn't exist
15542 (bug#4398).
15543
536f3d36
LMI
15544 * progmodes/cc-vars.el: Remove (probably) misleading comment
15545 (bug#4396).
15546
460c0fba
JB
155472011-07-12 Johan Bockgård <bojohan@gnu.org>
15548
15549 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15550
7a6bda45
CY
155512011-07-12 Chong Yidong <cyd@stupidchicken.com>
15552
15553 * mouse-sel.el: Hack restoring functionality, while keeping
15554 compatibility with 2010-07-03 changes to mouse selection.
15555 (mouse-sel-primary-overlay): New var.
15556 (mouse-sel-selection-alist): Use it.
15557 (mouse-sel-mode): Doc fix; remove points that are default features
15558 of mouse.el.
15559
c79598ef
JB
155602011-07-12 Johan Bockgård <bojohan@gnu.org>
15561
15562 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15563 Fix previous fix (bug#2490).
15564
ff8be6ef
RW
155652011-07-12 Roland Winkler <winkler@gnu.org>
15566
b796c9b7
SM
15567 * textmodes/bibtex.el (bibtex-initialize):
15568 Use pop-to-buffer-same-window.
ff8be6ef
RW
15569 (bibtex-search-entries): Fix interactive call.
15570
296ba3ee
LMI
155712011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15572
f5242a02 15573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15574 Fontise bytecomp Error lines more correctly (bug#2490).
15575 Fix suggested by Johan Bockgård.
f5242a02 15576
296ba3ee
LMI
15577 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15578
15579 * dired-x.el (dired-guess-default): Use `delete-dups'.
15580
f69fd0d2
CY
155812011-07-12 Chong Yidong <cyd@stupidchicken.com>
15582
15583 * dired.el (dired-mark-prompt):
15584 * dired-aux.el (dired-read-shell-command): Doc fix.
15585
eab5dc07
LMI
155862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15587
b796c9b7
SM
15588 * mail/sendmail.el (sendmail-query-once):
15589 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15590 emacs -Q.
15591
15592 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15593
eab5dc07
LMI
15594 * cus-edit.el (custom-file): Take an optional no-error variable.
15595 (customize-save-variable): Set the variable, and give a warning if
15596 running under "emacs -q".
15597
a1e65d42
JB
155982011-07-11 Juanma Barranquero <lekktu@gmail.com>
15599
15600 * loadhist.el (unload-feature-special-hooks):
15601 Add `auto-coding-functions', `fill-nobreak-predicate' and
15602 `find-directory-functions' (bug#5327).
15603
1d52da10
LMI
156042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15605
be958f1d
LMI
15606 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15607
5bedb26c
LMI
15608 * cus-edit.el (custom-guess-name-alist): -alist variables should
15609 use the `alist' type (bug#3120). Suggested by Drew Adams.
15610
1d52da10
LMI
15611 * printing.el: Add documentation to all the `pr-toggle-' commands.
15612
cd394be1 156132011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15614
15615 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15616 backends where it makes sense (bug#2623).
15617
dcc88d8a
LMI
156182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15619
c3de9feb
LMI
15620 * dired-x.el (dired-guess-default): Remove duplicate shell command
15621 entries (bug#2028).
8a93078b 15622 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15623 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15624
dcc88d8a
LMI
15625 * subr.el (remove-duplicates): New conveniency function.
15626
505e3645
LMI
156272011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15628
15629 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15630 (bug#1526).
15631
156322011-07-10 Martin Rudalics <rudalics@gmx.at>
15633
15634 * window.el (display-buffer-normalize-default): Don't invert
15635 meaning of even-window-heights. Reported by Eli Zaretskii
15636 <eliz@gnu.org>.
15637
455e4fa1
BR
156382011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15639
15640 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15641
8e0bc3e9
CY
156422011-07-10 Chong Yidong <cyd@stupidchicken.com>
15643
15644 * window.el (display-buffer): Fix arguments to
15645 display-buffer-reuse-window in last change.
15646
fa7c3228
CY
15647 * faces.el (link): Use a less saturated blue on light backgrounds.
15648
15649 * startup.el (fancy-startup-text, fancy-about-text)
15650 (fancy-startup-tail): Use font-lock faces, for background safety.
15651
c0a7f300
BN
156522011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15653
b796c9b7
SM
15654 * emulation/viper-cmd.el (viper-change-state-to-vi):
15655 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15656
4dc2a129
MR
156572011-07-09 Martin Rudalics <rudalics@gmx.at>
15658
15659 * window.el (display-buffer-default-specifiers): Remove.
15660 (display-buffer-macro-specifiers): Remove default specifiers.
15661 (display-buffer-alist): Default to nil.
b796c9b7 15662 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15663 (display-buffer-pop-up-window): Allow splitting internal
15664 windows. Check whether a live window was created.
15665 (display-buffer-other-window-means-other-frame)
15666 (display-buffer-normalize-arguments): Rename to
15667 display-buffer-normalize-argument and rewrite. Set the
15668 other-window specifier.
15669 (display-buffer-normalize-special): New function.
15670 (display-buffer-normalize-options): Rename to
15671 display-buffer-normalize-default and rewrite.
15672 (display-buffer-normalize-options-inhibit): Remove.
15673 (display-buffer-normalize-specifiers): Rewrite.
15674 (display-buffer): Process other-window specifier and call
15675 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15676 more faithfully.
b796c9b7 15677 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15678 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15679 (display-buffer-in-window, display-buffer-alist-set):
15680 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15681 <tassilo@member.fsf.org>.
15682
2d43b8c9
LL
156832011-07-09 Leo Liu <sdl.web@gmail.com>
15684
15685 * register.el (insert-register): Restore accidental change on
15686 2011-06-26. (Bug#9028)
15687
7f9b7c53
GM
156882011-07-09 Glenn Morris <rgm@gnu.org>
15689
15690 * subr.el (remq): Handle the empty list. (Bug#9024)
15691
f042cfd8
AS
156922011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15693
15694 * mail/sendmail.el (send-mail-function): No longer delay custom
15695 initialization.
15696 * custom.el (custom-initialize-delay): Doc fix.
15697
856b2f11
SM
156982011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15699
15700 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15701
afae1d68
MA
157022011-07-08 Michael Albinus <michael.albinus@gmx.de>
15703
15704 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15705 human-friendly prompt.
15706
0757af94
SM
157072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15710 provided by a particular plugin.
15711
d760b731
LMI
157122011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15713
15714 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15715 save customizations (with "emacs -Q"), just set the variable
15716 instead of erroring out.
15717
15718 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15719
cd79ce90
JL
157202011-07-08 Juri Linkov <juri@jurta.org>
15721
15722 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15723 (archive-zip-update-case): Use 7z if found by `executable-find'.
15724 The order of searching the available programs is the same as in
15725 `archive-zip-extract' (bug#8968).
15726
14cc04aa
CY
157272011-07-07 Chong Yidong <cyd@stupidchicken.com>
15728
15729 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15730 (menu-bar-options-menu): Tweak descriptions.
15731
0a1848ec
LMI
157322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15733
15734 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15735 menu items into verb phrases (bug#1421). Also refill to fit under
15736 80 columns.
15737
f5bd0689
CY
157382011-07-07 Chong Yidong <cyd@stupidchicken.com>
15739
538e85c6
CY
15740 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15741 (Info-read-node-name): Doc fix (Bug#1084).
15742
f5bd0689
CY
15743 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15744 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15745 (end-of-sexp, beginning-of-sexp)
15746 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15747 (forward-symbol, forward-same-syntax, word-at-point)
15748 (sentence-at-point): Doc fix (Bug#1144).
15749
56ec5115
LMI
157502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15751
f3f8e37f
LMI
15752 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15753 should cover it (bug#1281).
15754
0757af94 15755 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15756
e9fce1ac 15757 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15758 negotiation fails, then possibly try again with a non-encrypted
15759 connection (bug#9017).
15760
56ec5115
LMI
15761 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15762 be used.
15763
c2f9aec8
RS
157642011-07-07 Richard Stallman <rms@gnu.org>
15765
15766 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15767 property, and handle its changed format.
15768 Look for the correct line number.
15769 Use file's line contents (but not past first =) to find
15770 correct line in message.
15771
ef7b981d 157722011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15773
15774 * international/characters.el (build-unicode-category-table):
15775 Delete it.
0757af94 15776 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15777
0757af94 15778 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15779 to src/chartab.c.
15780 (get-char-code-property): Call unicode-property-table-internal to
15781 load a file. Call get-unicode-property-internal where necessary.
15782 (put-char-code-property): Call unicode-property-table-internal to
15783 load a file. Call put-unicode-property-internal where necessary.
15784 put-unicode-property-internal where necessary.
0757af94
SM
15785 (char-code-property-description):
15786 Call unicode-property-table-internal to load a file.
c805dec0
KH
15787
15788 * international/charprop.el:
15789 * international/uni-bidi.el:
15790 * international/uni-category.el:
15791 * international/uni-combining.el:
15792 * international/uni-comment.el:
15793 * international/uni-decimal.el:
15794 * international/uni-decomposition.el:
15795 * international/uni-digit.el:
15796 * international/uni-lowercase.el:
15797 * international/uni-mirrored.el:
15798 * international/uni-name.el:
15799 * international/uni-numeric.el:
15800 * international/uni-old-name.el:
15801 * international/uni-titlecase.el:
15802 * international/uni-uppercase.el: Regenerate.
15803
15804 * loadup.el: Load international/charprop.el before
15805 international/characters.
15806
e14b388a
CY
158072011-07-07 Chong Yidong <cyd@stupidchicken.com>
15808
15809 * window.el (next-buffer, previous-buffer): Signal an error if
15810 called from a minibuffer window.
15811
15812 * bindings.el: Revert 2011-07-04 change.
15813
354cf0ba
RS
158142011-07-06 Richard Stallman <rms@gnu.org>
15815
15816 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15817 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15818 Treat markers like ints.
15819 (rmail-mime-entity): Doc fix.
15820
a48868a7
LMI
158212011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15822
4906cd3d
LMI
15823 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15824 defcustom again for backwards compatibility.
15825
e0457abe
LMI
15826 * simple.el (shell-command-on-region): Fill.
15827
d67f7e1f
LMI
15828 * dired-aux.el (dired-kill-line): Add a doc string.
15829
fe204702
LMI
15830 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15831 to "\\sw\\|\\s_" (bug#358).
15832
a48868a7
LMI
15833 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15834 (dired-unmark-backward): Ditto.
15835 (dired-flag-backup-files): Ditto.
15836
15837 * dired-x.el (dired-mark-sexp): Ditto.
15838
aa8a705c
RS
158392011-07-06 Richard Stallman <rms@gnu.org>
15840
15841 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15842 (rmail-mime-entity): New arg TRUNCATED.
15843 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15844 New functions.
15845 (rmail-mime-save): Warn if entity is truncated.
15846 (rmail-mime-toggle-hidden): Likewise, for showing.
15847 (rmail-mime-process-multipart): Record when an entity is truncated.
15848
a9a936b9
RS
15849 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15850 if ENTITY is a string.
15851
1f2b92cb
LMI
158522011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15853
f4f73198 15854 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15855 of faces when `M-C-x'-ing their definitions (bug#8378).
15856 Also clean up the code slightly.
f4f73198 15857
12b16734 15858 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15859 because that makes the colors go away.
12b16734 15860
f0691d22
LMI
15861 * mail/sendmail.el (send-mail-function): Change the default to
15862 `sendmail-query-once'.
9e87df06 15863 (sendmail-query-once): Add an autoload cookie.
f0691d22 15864
1f2b92cb
LMI
15865 * net/network-stream.el (network-stream-open-starttls): Try using
15866 a plain connection even if the server offered STARTTLS, and we
15867 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15868 capability. This should make smtpmail.el work in slightly more
15869 configurations.
15870
1cdd2a1b
MA
158712011-07-06 Michael Albinus <michael.albinus@gmx.de>
15872
15873 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15874 New defun.
15875 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15876
fbcc67e2
MM
158772011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15878
15879 * progmodes/sql.el: Version 3.0
0757af94 15880 (sql-product-alist): Add product :completion-object,
fbcc67e2 15881 :completion-column, and :statement attributes.
0757af94 15882 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15883 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15884 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15885 ansi keywords.
15886 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15887 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15888 (sql-oracle-show-reserved-words): New function for development.
15889 (sql-product-font-lock): Simplify for source code buffers.
15890 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15891 New functions.
15892 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15893 (sql-mode-map): Add statement movement functions.
15894 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15895 New variable.
fbcc67e2
MM
15896 (sql-statement-regexp, sql-beginning-of-statement)
15897 (sql-end-of-statement, sql-signum): New functions.
0757af94 15898 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15899 (sql-show-sqli-buffer): Bug fix.
15900 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15901 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15902 with sql-interactive-mode.
15903 (sql-save-connection): Save buffer local settings.
0757af94 15904 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15905 (sql-product-interactive): Bug fix.
15906 (sql-preoutput-hold): New variable.
15907 (sql-interactive-remove-continuation-prompt): Bug fixes.
15908 (sql-debug-redirect): New variable.
15909 (sql-str-literal): New function.
15910 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15911 Redesign.
fbcc67e2
MM
15912 (sql-oracle-save-settings, sql-oracle-restore-settings)
15913 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15914 (sql-completion-object, sql-completion-column)
15915 (sql-completion-sqlbuf): New variables.
15916 (sql-build-completions-1, sql-build-completions)
15917 (sql-try-completion): New functions.
15918 (sql-read-table-name): Use them.
15919 (sql-contains-names): New buffer local variable.
15920 (sql-list-all, sql-list-table): Use it.
15921 (sql-oracle-completion-types): New variable.
15922 (sql-oracle-completion-object, sql-sqlite-completion-object)
15923 (sql-postgres-completion-object): New functions.
15924
d4eaeab1
GM
159252011-07-06 Glenn Morris <rgm@gnu.org>
15926
15927 * window.el (pop-to-buffer): Doc fix.
15928
322b7dab 159292011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15930
15931 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15932
322b7dab 159332011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15934
322b7dab 15935 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15936
322b7dab 15937 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15938
605dd5bf
CY
159392011-07-05 Chong Yidong <cyd@stupidchicken.com>
15940
15941 * button.el (button): Inherit from link face. Suggested by Dan
15942 Nicolaescu.
15943
7dbfa719
SM
159442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15945
3db614b0
SM
15946 * progmodes/gdb-mi.el: Fit in 80 columns.
15947 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15948 switch-to-buffer.
15949
7dbfa719
SM
15950 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15951 if imenu is simply not configured (bug#8941).
15952
919d884a
KM
159532011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15954
15955 * allout.el (allout-post-undo-hook): New allout outline-change
15956 event hook to signal undo activity.
15957 (allout-post-command-business): Run allout-post-undo-hook if an
15958 undo just occurred.
7dbfa719
SM
15959 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15960 * allout-widgets.el (allout-widgets-after-undo-function):
15961 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15962 in the vicinity of an undo.
15963 (allout-widgets-mode): Include allout-widgets-after-undo-function
15964 on the new allout-post-undo-hook.
15965
450a0f09
SM
159662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15967
15968 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15969 Let define-derived-mode define it.
15970 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15971 cycles of abbrev-table inheritance (bug#8998).
15972
2de69e00
RW
159732011-07-05 Roland Winkler <winkler@gnu.org>
15974
15975 * textmodes/bibtex.el: Add support for biblatex.
15976 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15977 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15978 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15979 (bibtex-entry-alist, bibtex-field-alist): New variables.
15980 (bibtex-entry-field-alist): Obsolete alias for
15981 bibtex-BibTeX-entry-alist.
15982 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15983 (bibtex-set-dialect): New command.
15984 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15985 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15986 Bind via bibtex-set-dialect.
2de69e00
RW
15987 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15988 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15989 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15990 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15991 Define via bibtex-set-dialect.
450a0f09
SM
15992 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15993 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15994 (bibtex-vec-push, bibtex-vec-incr): New functions.
15995 (bibtex-format-entry, bibtex-field-list)
15996 (bibtex-print-help-message, bibtex-validate)
15997 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15998
2dcdbdd9
SM
159992011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16000
16001 * progmodes/compile.el (compilation-goto-locus):
16002 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16003 * bs.el (bs-cycle-next, bs-cycle-previous):
16004 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16005 * bindings.el (mode-line-other-buffer):
16006 * autoinsert.el (auto-insert):
16007 * arc-mode.el (archive-extract):
16008 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16009
b27640fe
JB
160102011-07-05 Juanma Barranquero <lekktu@gmail.com>
16011
16012 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16013 Fix check of `emacs-lock-unlockable-modes'.
16014 Coerce true values of `emacs-lock--try-unlocking' to t.
16015
53bbe3ad
JB
160162011-07-05 Juanma Barranquero <lekktu@gmail.com>
16017
16018 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16019 * emacs-lock.el: New file.
16020
1d3cdbc7
JD
160212011-07-05 Julien Danjou <julien@danjou.info>
16022
16023 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16024 than `boundp' to check if face is set.
16025
9173deec
JB
160262011-07-05 Juanma Barranquero <lekktu@gmail.com>
16027
16028 * register.el (registerv-make):
16029 * window.el (window-min-height): Fix typos in docstrings.
16030
869795d6
JD
160312011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16032
9173deec 16033 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16034 Update doc string.
16035
b768cdcd
JB
160362011-07-04 Juanma Barranquero <lekktu@gmail.com>
16037
16038 * server.el (server-execute): Catch quit and call
16039 `server-return-error' to pass the error back to emacsclient and
16040 close the connection (bug#8942).
16041
13aa217b
KM
160422011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16043
16044 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16045 insecure exception for current topic. Also note that auto-saves
16046 are handled differently.
16047
5d3385a0 16048 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16049 State variables for tracking auto-save inhibition situation.
16050
16051 (allout-write-contents-hook-handler): Rename from
16052 'allout-write-file-hook-handler', and describe how it depends on
16053 write-contents-functions sensitivity to non-nil value to prevent
16054 file write.
16055
16056 (allout-auto-save-hook-handler): Remove. auto-save does not check
16057 this in individual buffers, only in the starting buffer, so this
16058 is not the right way for us to inhibit auto-save in a buffer
16059 according to its condition.
16060
16061 (allout-mode): Use new allout-write-contents-hook-handler, and
16062 only with write-contents-functions. Remove auto-save provisions -
16063 they're implemented elsewhere.
16064
16065 (allout-before-change-handler): If undo is in progress, note that
16066 for attention of allout-post-command-business.
16067
16068 (allout-post-command-business): If the command we're following was
16069 an undo, check for change in the status of encrypted items and
16070 adjust auto-save inhibitions accordingly.
16071
16072 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16073 according to whether there are or aren't any plain-text topics
16074 pending encryption.
16075
2dcdbdd9 16076 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16077 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16078 if there are plain-text topics pending encryption.
13aa217b
KM
16079
16080 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16081 buffer-saved-size and some allout state to not inhibit auto-saves
16082 if there are no longer any plain-text topics pending encryption.
16083
0757af94
SM
16084 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16085 No longer provide for exemption of the current topic.
13aa217b 16086
ac89b32c
JL
160872011-07-04 Juri Linkov <juri@jurta.org>
16088
16089 Add 7z operations to delete and save changed members (bug#8968).
16090 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16091 New defcustoms.
16092 (archive-7z-write-file-member): New function.
16093 (archive-7z-summarize): Fix the number of dashes in the
16094 listing output.
16095
8fa39615
SM
160962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16097
16098 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16099 (bug#8958).
16100
2f11b3f1
CY
161012011-07-04 Chong Yidong <cyd@stupidchicken.com>
16102
d66fef2b
CY
16103 * bindings.el: Ignore next-buffer and previous-buffer in
16104 minibuffer-local-map.
16105
2f11b3f1
CY
16106 * font-lock.el (font-lock-builtin-face): Change light background
16107 color to dark slate blue (Bug#6693).
16108
f932a347
WD
161092011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16110
16111 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16112
c8af70e1
SM
161132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16114
16115 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16116 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16117 Add switch-to-buffer.
16118
f158badc
LMI
161192011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16120
16121 * isearch.el (isearch-search-fun-function): Clarify further the
16122 meaning of the function returned.
16123
6d95bd46
MA
161242011-07-04 Michael Albinus <michael.albinus@gmx.de>
16125
16126 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16127
16128 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16129 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16130 Use it.
16131 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16132 `tramp-default-remote-path' does not exist.
16133 (tramp-send-command-and-read): New optional argument NOERROR.
16134 (tramp-open-connection-setup-interactive-shell)
16135 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16136 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16137 (tramp-process-sentinel): Flush also process' connection property.
16138 (tramp-sh-handle-start-file-process): Do not set process
16139 sentinel. It is done now ...
16140 (tramp-maybe-open-connection): ... here. (Bug#8929)
16141
909e6b67
MK
161422011-07-04 MON KEY <monkey@sandpframing.com>
16143
16144 * play/animate.el (animate-string): Doc fixes and allow changing
16145 the buffer name (bug#5417).
16146
161472011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16148
c8af70e1 16149 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16150
f34755dc
PE
161512011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16152
396cec72
PE
16153 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16154 This is simpler and helps future-proof the code.
16155 (timer-until): Use time-subtract and float-time.
08235028 16156 (timer--time-less-p): Use time-less-p.
f34755dc 16157
56e6cc31
JB
161582011-07-04 Juanma Barranquero <lekktu@gmail.com>
16159
3abb79e5
JB
16160 * type-break.el (timep): Use the value of `float-time' to avoid a
16161 byte-compiler warning.
16162
56e6cc31
JB
16163 * server.el (server-eval-and-print): Return any result, even nil.
16164
7b9430b4
PE
161652011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16166
16167 * type-break.el: Accept time formats that the builtins accept.
16168 (timep, type-break-time-difference): Accept any format that
16169 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16170 This is simpler and helps future-proof the code.
16171 (type-break-time-difference): Round rather than ignoring
16172 subseconds components.
16173
3034e9e7
LMI
161742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16175
16176 * info.el (Info-apropos-matches): Make non-interactive, since it
16177 doesn't seem to do anything useful as a command (bug#8829).
16178
1485f4c0
CY
161792011-07-03 Chong Yidong <cyd@stupidchicken.com>
16180
16181 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16182 Move from faces.el.
1485f4c0
CY
16183 (frame-default-terminal-background): New function.
16184
16185 * custom.el (custom-push-theme): Don't record faces in `changed'
16186 theme; this doesn't work correctly for per-frame face settings.
16187 (disable-theme): Use face-set-after-frame-default to reset faces.
16188 (custom--frame-color-default): New function.
16189
9fa3dd45
LMI
161902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16191
c8af70e1 16192 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16193 (bug#8769).
16194
6cbbc20c
KR
161952011-03-29 Kevin Ryde <user42@zip.com.au>
16196
16197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16198 `perl-Test2' extend to match possible "fail #N" rep count
16199 (bug#8377).
16200
c7f98048
LMI
162012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16202
65676592
LMI
16203 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16204 `smtpmail-via-smtp' now returns the error instead of nil.
16205
c7f98048
LMI
16206 * isearch.el (isearch-search-fun-function): Clarify the doc string
16207 (bug#8101).
16208
56e6cc31 162092011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16210
16211 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16212 unnecessary spaces (bug#8987).
16213
2b216704
LMI
162142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16215
16216 * net/network-stream.el (open-network-stream): Use the
16217 :end-of-capability command thoughout.
16218
162192011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16220
16221 * net/network-stream.el (open-network-stream): Add the
16222 :end-of-capability command parameter, used by pop3.el.
16223
36adf6ce
LMI
162242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16225
1ca0da0e
LMI
16226 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16227
fc00f69c
LMI
16228 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16229 for list)" (bug#6475).
16230
28fd8759 16231 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16232 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16233 an error (bug#6297).
16234
0dd8b6da
LMI
16235 * man.el (Man-reference-regexp): Allow matching possible
16236 word-wrapped references (bug#6289).
16237
ce1438d6
LMI
16238 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16239 for consistency with the other vc buffers (bug#6197).
16240 (vc-checkin): Ditto.
16241
16242 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16243
36adf6ce
LMI
16244 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16245
e83cc1f7
LMI
162462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16247
8a20ca4c
LMI
16248 * custom.el (defcustom): Clarify that :set is only used in the
16249 Customize user interface (bug#6089).
16250
83319045
LMI
16251 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16252 associated with a file, refuse to run instead of erroring out
16253 (bug#6084).
16254
a8392169
LMI
16255 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16256 the doc string, since it appears that using `fill-column' always
16257 controls the width (bug#7845).
16258
e83cc1f7
LMI
16259 * simple.el (shell-command-on-region): Say where the error output
16260 went if `shell-command-default-error-buffer' is set (bug#6857).
16261
e47ca23b
KM
162622011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16263
16264 * allout.el (allout-yank-processing): Adjust cursor position for
16265 backwards-deleted space.
16266
16267 (allout-rebullet-heading): Register changes with
16268 allout-exposure-changed-hook, so the modified topic is properly
16269 decorated.
16270
5cf56143
LMI
162712011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16272
08549772
LMI
16273 * minibuffer.el (completion-in-region): Document PREDICATE
16274 (bug#7136).
16275
48e96771
LMI
16276 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16277 of keyword/argument pairs (bug#6904).
16278
c8af70e1
SM
16279 * replace.el (multi-occur):
16280 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16281
e17d05e2
LMI
162822011-07-02 Drew Adams <drew.adams@oracle.com>
16283
16284 * dired.el (dired-mark-if): Make the message about whether it's
16285 marking or unmarking clearer (bug#8523).
16286
063b0e45
LMI
162872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16288
16289 * disp-table.el (display-table-print-array): New function.
16290 (describe-display-table): Use it to print the vectors more pretty
16291 (Bug#8859).
16292
28545e04
MR
162932011-07-02 Martin Rudalics <rudalics@gmx.at>
16294
16295 * window.el (window-state-get-1): Don't assign clone numbers.
16296 Add clone-of item to list of window parameters.
16297 (window-state-put-2): Don't process clone numbers.
16298 (display-buffer-alist): Fix doc-string.
16299
3349e122
SM
163002011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16301
16302 * subr.el (remq): Don't allocate if it's not needed.
16303 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16304 (keymap--merge-bindings): New functions.
16305 (keymap-canonicalize): Use them to refine the canonicalization.
16306 * minibuffer.el (minibuffer-local-completion-map)
16307 (minibuffer-local-must-match-map): Move initialization from C.
16308 (minibuffer-local-filename-completion-map): Move initialization from C;
16309 don't inherit from anything here.
16310 (minibuffer-local-filename-must-match-map): Make obsolete.
16311 (completing-read-default): Use make-composed-keymap to combine
16312 minibuffer-local-filename-completion-map with either
16313 minibuffer-local-must-match-map or
16314 minibuffer-local-filename-completion-map.
16315
d224ac83
GM
163162011-07-01 Glenn Morris <rgm@gnu.org>
16317
3de63bf8
GM
16318 * type-break.el (type-break-time-sum): Use dolist.
16319
d224ac83
GM
16320 * textmodes/flyspell.el (flyspell-word-search-backward):
16321 Replace CL function.
16322
1a1e3f32
SM
163232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16324
fe3f64d5
SM
16325 * mouse.el (mouse--strip-first-event): New function.
16326 (function-key-map): Use it to map fringe clicks to normal clicks
16327 by default.
16328
eb604e34
SM
16329 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16330 (vc-bzr-revision-completion-table): Add support for annotate and date.
16331
1a1e3f32
SM
16332 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16333 inherit from parent.
16334
5bd35902
LMI
163352011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16336
ace6c69c 16337 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16338 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16339
191e2bed
LMI
16340 * dired.el (dired-mode): Fix up the doc string as suggested by
16341 Drew Adams (bug#8817).
16342
5bd35902
LMI
16343 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16344 cookie, since the manual says that it should be possible to add
16345 this function to `find-file-hook' (bug#8709).
16346
eee8207a
TZ
163472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16348
16349 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16350 here. Noted Ted Zlatanov as the maintainer.
16351 (cfengine-common-settings, cfengine-common-syntax): New functions
16352 to set up common things between `cfengine-mode' and
16353 `cfengine3-mode'.
16354 (cfengine3-mode): New mode.
16355 (cfengine3-defuns cfengine3-defuns-regex
16356 (cfengine3-class-selector-regex cfengine3-category-regex)
16357 (cfengine3-vartypes cfengine3-font-lock-keywords)
16358 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16359 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16360
36b148cf
MA
163612011-07-01 Michael Albinus <michael.albinus@gmx.de>
16362
16363 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16364
16365 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16366
0bf4ba9a
MR
163672011-07-01 Martin Rudalics <rudalics@gmx.at>
16368
16369 * window.el (same-window-buffer-names, same-window-regexps)
16370 (same-window-p, special-display-frame-alist)
16371 (special-display-popup-frame, special-display-function)
16372 (special-display-buffer-names, special-display-regexps)
16373 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16374 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16375 (split-window-preferred-function, split-height-threshold)
16376 (split-width-threshold, even-window-heights)
16377 (display-buffer-mark-dedicated, window-splittable-p)
16378 (split-window-sensibly, window-safely-shrinkable-p):
16379 Un-obsolete.
16380 (display-buffer): Don't spread args with function specifier
16381 because special-display-popup-frame won't like it.
16382
35837f51
PE
163832011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16384
d0672f86
PE
16385 Time-stamp simplifications and fixes.
16386 These improve accuracy slightly, and future-proof the code
16387 against some potential changes to current-time format.
16388
b9444d97
PE
16389 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16390 by using time-since and float-time.
16391
0ef923dc
PE
16392 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16393 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16394 + NNN microseconds".
16395
2f81380d
PE
16396 * type-break.el (type-break-time-sum): Rewrite using time-add.
16397
845b5c3e
PE
16398 * play/hanoi.el (hanoi-current-time-float): Remove.
16399 All uses replaced by float-time.
16400
ee6f1be0
PE
16401 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16402 This yields a more-accurate answer.
16403 (rng-time-to-float): Remove; no longer needed.
16404
fe955043
PE
16405 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16406
5777162a
PE
16407 * calendar/timeclock.el (timeclock-seconds-to-time):
16408 Defalias to seconds-to-time, since they're the same thing.
16409
3103f8b6 16410 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16411 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16412 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16413
0e61a35f
SM
164142011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16415
16416 * window.el (bury-buffer): Don't iconify the only frame.
16417 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16418 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16419
ddd63a1e
CY
164202011-07-01 Chong Yidong <cyd@stupidchicken.com>
16421
0e61a35f
SM
16422 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16423 Add mouse-yank-primary.
ddd63a1e 16424
055f4923
TZ
164252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16426
16427 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16428
6a2fb145
SM
164292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16430
16431 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16432 (find-library-name): Use it to find relative load names when provided
16433 absolute file name (bug#8803).
16434
fd4983f2
LMI
164352011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16436
887d14ad
LMI
16437 * textmodes/flyspell.el (flyspell-word): Consider words that
16438 differ only in case as potential doublons (bug#5687).
16439
c53dc7fc
LMI
16440 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16441 Remove two rather uninteresting debugging-like messages to make
16442 debbugs.el more silent.
16443
fd4983f2
LMI
16444 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16445 a password-like phrase.
16446
7a71b18d 164472011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16448
16449 * progmodes/cc-guess.el: New file.
16450
6a2fb145 16451 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16452
16453 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16454 derived from `c-basic-common-init'.
16455
16456 * progmodes/cc-mode.el (top-level): Require cc-guess.
16457 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16458
1fa280a3
LM
164592011-06-30 Lawrence Mitchell <wence@gmx.li>
16460
16461 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16462
e6597158
AM
164632011-06-30 Alan Mackenzie <acm@muc.de>
16464
1fa280a3
LM
16465 * progmodes/cc-engine.el (c-guess-continued-construct):
16466 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16467 lock is disabled. Name this case as "CASE G".
16468
68ba37fb
KM
164692011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16470
16471 * allout.el (allout-yank-processing): Fix injection of extra space
16472 between bullet and non-whitespace character in first topic when
16473 pasting, ensuring that the actual spacing in the pasted topic
16474 following the bullet char is preserved. This extra space was
16475 causing pasted encrypted topics to get a decrypted status even
16476 when the content was actually still encrypted. Now the decryption
16477 status from before the paste is preserved.
16478
16479 (allout-flag-region): Set all allout overlays so they evaporate
16480 when reduced to zero length (evanescent), to prevent overlay
16481 leakage.
16482
887a0b34
GM
164832011-06-30 Glenn Morris <rgm@gnu.org>
16484
94b9acce
GM
16485 * w32-fns.el (w32-charset-info-alist): Declare.
16486
1d9b46d4
GM
16487 * find-dired.el (find-grep-options): Simplify.
16488
cc232200
GM
16489 * term/ns-win.el (ns-set-resource): Declare.
16490
28e77c46
GM
16491 * ses.el (row, col): Declare dynamic variables honestly.
16492
887a0b34
GM
16493 * textmodes/reftex-parse.el (index-tags): Declare.
16494
658d8eb8
CY
164952011-06-30 Chong Yidong <cyd@stupidchicken.com>
16496
16497 * cus-edit.el (customize-push-and-save): New function.
16498
16499 * files.el (hack-local-variables-confirm): Use it.
16500
1fa280a3
LM
16501 * custom.el (load-theme): New arg NO-CONFIRM.
16502 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16503 (custom-enabled-themes): Doc fix.
16504
16505 * cus-theme.el (customize-create-theme)
16506 (custom-theme-merge-theme): Callers to load-theme changed.
16507
bb617717
LMI
165082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16509
d61bdd5d
LMI
16510 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16511 short URLs have at least one dot in them (bug #7614).
16512
bb617717
LMI
16513 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16514 nil, because using a pty is apparently too slow (bug #895).
16515
2f31f37a
LMI
165162011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16517
16518 * mail/sendmail.el (sendmail-query-once): New function.
16519 (sendmail-query-once-function): New variable.
16520
3076b24e
GM
165212011-06-29 Glenn Morris <rgm@gnu.org>
16522
faf2a174
GM
16523 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16524
3076b24e
GM
16525 * ses.el (top-level): Require cl when compiling.
16526 (ses-set-localvars): Fix error statement.
16527 Call it at compile time to silence a storm of warnings.
16528
5386012d
MR
165292011-06-29 Martin Rudalics <rudalics@gmx.at>
16530
16531 * window.el (normalize-live-buffer): Rename to
16532 window-normalize-buffer.
16533 (normalize-live-frame): Rename to window-normalize-frame.
16534 (normalize-any-window): Rename to window-normalize-any-window.
16535 (normalize-live-window): Rename to window-normalize-live-window.
16536 (make-window-atom): Rename to window-make-atom.
16537 (window-resize-reset): Rename to window--resize-reset.
16538 (window-resize-reset-1): Rename to window--resize-reset-1.
16539 (resize-mini-window): Rename to window--resize-mini-window.
16540 (resize-subwindows-skip-p): Rename to
16541 window--resize-subwindows-skip-p.
16542 (resize-subwindows-normal): Rename to
16543 window--resize-subwindows-normal.
16544 (resize-subwindows): Rename to window--resize-subwindows.
16545 (resize-other-windows): Rename to window--resize-siblings.
16546 (resize-this-window): Rename to window--resize-this-window.
16547 (resize-root-window): Rename to window--resize-root-window.
16548 (resize-root-window-vertically): Rename to
16549 window--resize-root-window-vertically.
16550 (normalize-buffer-to-display): Rename to
16551 window-normalize-buffer-to-display.
16552 (normalize-buffer-to-switch-to): Rename to
16553 window-normalize-buffer-to-switch-to.
16554 Correspondingly update all callers of the functions listed
16555 above.
16556 (display-buffer-alist, display-buffer-normalize-arguments)
16557 (display-buffer-normalize-options, display-buffer)
16558 (display-buffer-alist-set): Use "function" instead of
16559 "fun-with-args".
16560
1176868d
CY
165612011-06-28 Chong Yidong <cyd@stupidchicken.com>
16562
16563 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16564 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16565 debbugs.gnu.org. Mention acknowledgment email.
16566
20a7a65f
LMI
165672011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16568
16569 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16570 buffer multibyteness, since it shouldn't matter.
16571
5f45cca5
MR
165722011-06-28 Martin Rudalics <rudalics@gmx.at>
16573
16574 * window.el (display-buffer-in-side-window): Handle dedicated
16575 windows as in display-buffer-reuse-window.
16576 (display-buffer-normalize-alist): Use value of override
16577 specifier.
16578 (display-buffer-normalize-specifiers): Use value of
16579 other-window-means-other-frame specifier.
16580 (display-buffer-alist): Rewrite some texts in widgets.
16581 (display-buffer): Spread arguments when calling function
16582 specified by fun-with-args.
16583
ad85fe1f
DD
165842011-06-28 Deniz Dogan <deniz@dogan.se>
16585
1fa280a3
LM
16586 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16587 Unnest `let'.
da68c4c8 16588
ad85fe1f
DD
16589 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16590 selectors (Bug#5732).
ec49bd31 16591 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16592
a08cc025
JA
165932011-06-27 Jari Aalto <jari.aalto@cante.net>
16594
16595 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16596 (eshell-ls-date-format): New defcustom.
16597 (eshell-ls-file): Use it.
16598
e2b551c5
SM
165992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16602
8982b231
KY
166032011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16604
16605 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16606 (ange-ftp-make-tmp-name): New arg.
16607 (ange-ftp-file-local-copy): Use it.
16608
36c9fa27
J
166092011-06-27 Jambunathan K <kjambunathan@gmail.com>
16610
16611 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16612 no-conversion (Bug#8870).
16613
d68443dc
MR
166142011-06-27 Martin Rudalics <rudalics@gmx.at>
16615
16616 * window.el (window-right, window-left, window-child)
16617 (window-child-count, window-last-child)
16618 (window-iso-combination-p, walk-window-tree-1)
16619 (window-atom-check-1, window-tree-1, delete-window)
16620 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16621 new naming conventions - window-vchild, window-hchild,
16622 window-next and window-prev are now called window-top-child,
16623 window-left-child, window-next-sibling and window-prev-sibling
16624 respectively.
d615d6d2
MR
16625 (resize-window-reset): Rename to window-resize-reset.
16626 (resize-window-reset-1): Rename to window-resize-reset-1.
16627 (resize-window): Rename to window-resize.
16628 (window-min-height, window-min-width)
16629 (resize-mini-window, resize-this-window, resize-root-window)
16630 (resize-root-window-vertically, adjust-window-trailing-edge)
16631 (enlarge-window, shrink-window, maximize-window)
16632 (minimize-window, delete-window, quit-restore-window)
16633 (split-window, balance-windows, balance-windows-area-adjust)
16634 (balance-windows-area, window-state-put-2)
16635 (display-buffer-even-window-sizes, display-buffer-set-height)
16636 (display-buffer-set-width, set-window-text-height)
16637 (fit-window-to-buffer): Rename all "resize-window" prefixed
16638 calls to use the "window-resize" prefix convention.
16639 (display-buffer-alist): Fix symbol for label specifier.
16640 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16641 corresponding specifier.
16642 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16643
b6458526
VB
166442011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16645
16646 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16647 convention.
16648 (ses-call-printer): Does not pass an empty string to formatter when the
16649 cell is empty to keep from barking printer Calc math-format-value.
16650
d31fd9ac
RS
166512011-06-27 Richard Stallman <rms@gnu.org>
16652
43d5bf84
RS
16653 * battery.el (battery-mode-line-limit): New variable.
16654 (battery-update): Handle it.
16655
d31fd9ac
RS
16656 * mail/rmailmm.el (rmail-mime-process-multipart):
16657 Handle truncated messages.
16658
819a6054
GM
166592011-06-27 Glenn Morris <rgm@gnu.org>
16660
16661 * progmodes/flymake.el (flymake-err-line-patterns):
16662 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16663
cedc73f2
VB
166642011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16665
819a6054 16666 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16667 (ses--clean-!, ses--clean-_): New functions.
16668 (ses-range): Add configurability of readout order, and conversion
16669 to Calc vector.
16670
5e5d49b6
VB
16671 * ses.el (ses-repair-cell-reference-all): New function.
16672 (ses-cell-symbol): Set macro as safe, so that it can be used in
16673 formulas.
16674
56e6cc31 16675 * ses.el: Update cycle detection algorithm.
90ca8b49 16676 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16677 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16678 (ses-set-localvars): New function.
16679 (ses-make-cell): Add property-list as a cell element.
16680 (ses-cell-property-get-fun, ses-cell-property-get)
16681 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16682 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16683 New functions.
90ca8b49
VB
16684 (ses-cell-property-set, ses-cell-property-pop)
16685 (ses-cell-property-get-handle): New macro.
16686 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16687 New aliases, used for code readability.
16688 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16689 cycle detection.
16690 (ses-self-reference-early-detection): New defcustom.
fac916bf 16691 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16692 (ses-mode): Use ses-set-localvars.
16693 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16694 before lauching the update processing.
16695 (ses-initialize-Dijkstra-attempt): New function.
16696 (ses-recalculate-cell): Update for cycle detection based on
16697 Dijkstra algorithm.
16698
2bb63e81
VB
16699 * ses.el: Fix commenting and indenting convention.
16700
c9d29fb8
SM
167012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * bs.el (bs-cycle-next): Complete last change.
16704
d8e4b68b
JB
167052011-06-27 Drew Adams <drew.adams@oracle.com>
16706
16707 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16708
40098786
LMI
167092011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16710
c9d29fb8
SM
16711 * net/network-stream.el (network-stream-open-starttls):
16712 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16713 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16714
40098786
LMI
16715 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16716 to binary to possibly avoid line encoding issues on Windows (among
16717 other things).
16718
468d09d4
LMI
167192011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16720
16721 * net/network-stream.el (open-network-stream): Return an :error
16722 saying what the problem was, if possible.
16723
16724 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16725 server.
16726
16727 * net/network-stream.el (network-stream-open-starttls): If we
16728 wanted to use STARTTLS, and the server offered it, but we weren't
16729 able to because we had no STARTTLS support, then close the connection.
16730 (open-network-stream): Return an :error element, if present.
16731
16f07dd7
CY
167322011-06-26 Chong Yidong <cyd@stupidchicken.com>
16733
88821ca0
CY
16734 * hl-line.el (hl-line-sticky-flag): Doc fix.
16735 (global-hl-line-sticky-flag): New option (Bug#8323).
16736 (global-hl-line-highlight): Obey it.
16737
16f07dd7
CY
16738 * vc/vc.el (vc-revert-show-diff): Default to t.
16739
6b5ccddf
KM
167402011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16741
c9d29fb8
SM
16742 * allout-widgets.el (allout-widgets-post-command-business):
16743 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16744 undecorated when an isearch is continued past, and isearch
16745 automatically collapses them. This leads to "widget leaks", where
16746 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16747 hidden widgets can slow down cursor travel, substantially.
16748 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16749 so we're doing without this nicety.
16750
16751 (allout-widgets-tally-string): Don't try to do a hash-table-count
16752 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16753 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16754 *Messages* when allout-widgets-maintain-tally is t.
16755
355f2e07
MR
167562011-06-26 Martin Rudalics <rudalics@gmx.at>
16757
16758 * window.el (display-buffer-normalize-argument): Rename to
16759 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16760 LABEL argument. Respect special-display-function when popping up
16761 a new frame. Fix code searching for a window showing the buffer
16762 on another frame.
c9d29fb8
SM
16763 (display-buffer-normalize-specifiers):
16764 Call display-buffer-normalize-arguments.
355f2e07
MR
16765 (display-buffer-in-window): Don't undedicate the window if its
16766 buffer remains the same.
16767 Reported by Drew Adams <drew.adams@oracle.com>.
16768 (display-buffer-alist): Add choice for same-window macro
16769 specfier.
16770 (display-buffer): Mention special meaning of LABEL argument in
16771 doc-string. Fix quoting. Don't pop up a new frame even as
16772 fallback.
16773
7ca8fc42
JB
167742011-06-26 Juanma Barranquero <lekktu@gmail.com>
16775
16776 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16777 avoid deleting the current window in some cases (bug#8911).
16778
bc312254
AS
167792011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16780
16781 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16782 (Bug#8934)
16783
2db18f3f
LMI
167842011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16785
c9d29fb8
SM
16786 * net/network-stream.el (network-stream-open-starttls):
16787 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16788 (network-stream-open-tls): Ditto.
16789
6302e0d3
LL
167902011-06-26 Leo Liu <sdl.web@gmail.com>
16791
16792 * register.el (registerv): New struct.
16793 (registerv-make): New function.
c9d29fb8
SM
16794 (jump-to-register, describe-register-1, insert-register):
16795 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16796 struct. (Bug#8415)
16797
5fdd4046
CY
167982011-06-26 Chong Yidong <cyd@stupidchicken.com>
16799
2afef60a
CY
16800 * vc/vc.el (vc-revert-show-diff): New defcustom.
16801 (vc-diff-internal): New arg specifying diff buffer.
16802 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16803 reuse an existing *vc-diff* buffer (Bug#8927).
16804
5fdd4046
CY
16805 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16806
e93db24a
GM
168072011-06-26 Glenn Morris <rgm@gnu.org>
16808
16809 * progmodes/f90.el (f90-critical-indent): New option.
16810 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16811 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16812 (f90-mode): Doc fix.
16813 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16814 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16815 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16816 (f90-match-end): Handle block, critical.
16817
eefff499
GM
168182011-06-25 Glenn Morris <rgm@gnu.org>
16819
f6ba4cc9
GM
16820 * calendar/diary-lib.el (diary-included-files): Doc fix.
16821 (diary-include-files): New function, extracted from
16822 diary-include-other-diary-files and diary-mark-included-diary-files.
16823 (diary-include-other-diary-files, diary-mark-included-diary-files):
16824 Just call diary-include-files.
16825 (diary-mark-entries): Reset diary-included-files on first call.
16826
16712304
GM
16827 * calendar/diary-lib.el (diary-mark-entries)
16828 (diary-mark-included-diary-files):
16829 Visit included diary-files in temp buffers.
16830
5d8e0d43
GM
16831 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16832 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16833 (f90-start-block-re, f90-imenu-generic-expression)
16834 (f90-looking-at-program-block-start, f90-no-block-limit):
16835 Add support for submodules.
16836
ccf7a5d5
GM
16837 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16838 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16839
11fdef7d 168402011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16841
16842 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16843 buffer-file-type before setting its value, to avoid disastrous
eefff499 16844 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16845
74f53697
JB
168462011-06-25 Juanma Barranquero <lekktu@gmail.com>
16847
16848 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16849
16850 * ses.el (ses-unload-function):
16851 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16852
16853 * proced.el (proced-unload-function):
16854 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16855
18a4ce5e
AR
168562011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16857
16858 * server.el (server-create-window-system-frame): Add parameters arg.
16859 (server-process-filter): Doc fix. Handle frame-parameters.
16860
519d22cc
JB
168612011-06-25 Juanma Barranquero <lekktu@gmail.com>
16862
16863 Fix bug#8730, bug#8781.
16864
16865 * loadhist.el (unload--set-major-mode): New function.
16866 (unload-feature): Use it.
16867
16868 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16869 (python-unload-function): New function.
16870
c206f5b0
SM
168712011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16872
16873 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16874
f9ad64f3
GS
168752011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16876
16877 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16878 the candidates list.
16879
7d0da90e
JB
168802011-06-24 Juanma Barranquero <lekktu@gmail.com>
16881
16882 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16883
14b4e83d
RS
168842011-06-23 Richard Stallman <rms@gnu.org>
16885
16886 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16887 (rmail-variables): Set next-error-move-function.
16888 (rmail-what-message): Take argument POS.
16889 (rmail-next-error-move): New function.
16890
273d2baf
SM
168912011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16892
16893 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16894 messages for adjacent non-terminals.
16895
56c2cc9a
RS
168962011-06-23 Richard Stallman <rms@gnu.org>
16897
16898 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16899 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16900 (rmail-start-mail): Don't specify use of rmail-mail-return;
16901 that's done by mail-bury now.
16902 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16903
d59eb518
MA
169042011-06-23 Michael Albinus <michael.albinus@gmx.de>
16905
16906 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16907 SIZE is a number.
16908
02cfc6d6
MR
169092011-06-23 Martin Rudalics <rudalics@gmx.at>
16910
16911 * window.el (get-lru-window, get-mru-window)
16912 (get-largest-window): Never return a minibuffer window.
16913 (display-buffer-pop-up-window): Fix a bug that could lead to
16914 reusing the minibuffer window.
16915 (display-buffer): Pass original specifier argument to
16916 display-buffer-function instead of the normalized one.
16917 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16918
4e323265
LL
169192011-06-22 Leo Liu <sdl.web@gmail.com>
16920
16921 * minibuffer.el (completing-read-function)
1f9f395d 16922 (completing-read-default): Move from minibuf.c.
4e323265 16923
7a70468f
RS
169242011-06-22 Richard Stallman <rms@gnu.org>
16925
50718fc2
RS
16926 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16927 to Rmail even if not started by a special Rmail command.
16928
7a70468f
RS
16929 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16930 Copy the buffer currently showing just one message.
16931
297dde5a
RW
169322011-06-22 Roland Winkler <winkler@gnu.org>
16933
16934 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16935 (bibtex-clean-entry): First delete the old key so that a
16936 customized algorithm for generating the new key does not get
16937 confused by the old key.
16938 (bibtex-url): Obey regexp of first step.
16939 (bibtex-search-entries): Do not use add-to-list with local
16940 list-var.
16941
97bb1093
LMI
169422011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16943
16944 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16945 stored a user name, then query for the password first, instead of
16946 waiting for SMTP to give an error message and the trying again.
16947
1c0f1a19
JD
169482011-06-22 Lawrence Mitchell <wence@gmx.li>
16949
16950 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16951 BUFFER in call-process.
16952
396f7c9d
LMI
169532011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16954
16955 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16956 QUIT twice.
ddb7ffee
LMI
16957 (smtpmail-try-auth-methods): Require user name and password from
16958 auth-source.
396f7c9d 16959
8998d1b3
MR
169602011-06-22 Martin Rudalics <rudalics@gmx.at>
16961
16962 * window.el (display-buffer-default-specifiers)
16963 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16964 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16965 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16966
16967 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16968 (special-display-frame-alist, special-display-popup-frame):
16969 Remove duplicate declarations. These are now in window.el.
16970
4ea31e07
LMI
169712011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16972
c9d29fb8
SM
16973 * mail/smtpmail.el (smtpmail-via-smtp):
16974 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16975 server supports it. SMTP servers that support STARTTLS commonly
16976 require it.
16977
16978 * net/network-stream.el (network-stream-open-starttls): Support
16979 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16980 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16981
95f41d9a
LMI
16982 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16983 upgrades with `open-network-stream', and rely solely on
16984 auth-source for all credentials. Big changes throughout the file,
16985 but in particular:
c9d29fb8
SM
16986 (smtpmail-auth-credentials): Remove.
16987 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16988 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16989 MAIL FROM, too.
95f41d9a 16990
c9d29fb8
SM
16991 * net/network-stream.el (network-stream-open-starttls):
16992 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16993 STARTTLS.
16994 (auth-source): Require.
16995 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16996 (network-stream-certificate): Change cert-cert to cert and
16997 cert-key to key.
4ea31e07 16998
065ec2c7
MA
169992011-06-21 Michael Albinus <michael.albinus@gmx.de>
17000
17001 * net/tramp-cache.el (top): Don't load the persistency file when
17002 "emacs -Q" has been called.
17003
cd93b359
DR
170042011-06-21 Tim Harper <timcharper@gmail.com>
17005
d8e4b68b
JB
17006 * term/ns-win.el (ns-initialize-window-system):
17007 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17008 resource to NO as it is not yet supported by the NS port.
17009
ae9c0411
JB
170102011-06-21 Juanma Barranquero <lekktu@gmail.com>
17011
17012 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17013 (list-dynamic-libraries): ...not here.
17014
7f3f739f
LL
170152011-06-21 Leo Liu <sdl.web@gmail.com>
17016
17017 * subr.el (sha1): Implement sha1 using secure-hash.
17018
327c8fb1
MR
170192011-06-21 Martin Rudalics <rudalics@gmx.at>
17020
17021 * window.el (display-buffer-alist): In default value do not
17022 enforce searching a window on any but the selected frame.
17023 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17024 (display-buffer-select-window): Remove function.
17025 (display-buffer-in-window): When a window on another frame gets
17026 reused, do not select it any more but just raise its frame if
17027 necessary (Bug#8851) and (Bug#8856).
17028 (display-buffer-normalize-options): Handle pop-up-frames related
17029 options more faithfully.
17030 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17031 window if it is on another frame.
c9d29fb8
SM
17032 (display-buffer-alist, display-buffer-default-specifiers):
17033 Don't make new frame unsplittable by default.
9e9de014
MR
17034 (display-buffer-normalize-argument): Fix doc-string typo and use
17035 'same-frame-other-window instead of 'other-window when associating
17036 with display-buffer-macro-specifiers.
327c8fb1 17037
7cf3f556
VB
170382011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17039
17040 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17041 New functions.
17042 (5x5-mode-map, 5x5-mode-menu): Bind them.
17043 (5x5-draw-grid): Tweak the solver's rendering.
17044
60a406cf
SM
170452011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17046
17047 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17048 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17049
d8e4b68b 170502011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17051
17052 * menu-bar.el: Use function variable instead of switch-to-buffer.
17053 (menu-bar-select-buffer-function): New variable.
60a406cf 17054 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17055
478d6f95
SM
170562011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17057
17058 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17059 variable's status.
17060
ca530739
JD
170612011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17062
17063 * x-dnd.el (x-dnd-version-from-flags)
17064 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17065 and long as number (Bug#8899).
17066 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17067
bcd70d97
SM
170682011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17069
60a406cf 17070 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17071 (completion-try-completion, completion-all-completions): Compute the
17072 metadata argument if it's missing; make it optional (bug#8795).
17073
60a406cf 17074 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17075 (widget-complete): Use new :completion-function property.
17076 (widget-completions-at-point): New function.
17077 (default): Use :completion-function instead of :complete.
60a406cf
SM
17078 (widget-default-completions): Rename from widget-default-complete;
17079 Rewrite.
bcd70d97
SM
17080 (widget-string-complete, widget-file-complete, widget-color-complete):
17081 Remove functions.
17082 (file, symbol, function, variable, coding-system, color):
17083 * international/mule-cmds.el (default-input-method, charset)
17084 (language-info-custom-alist):
17085 * cus-edit.el (face): Use new property :completions.
17086
17087 * progmodes/pascal.el (pascal-completions-at-point): New function.
17088 (pascal-mode): Use it.
17089 (pascal-mode-map): Use completion-at-point.
17090 (pascal-toggle-completions): Make obsolete.
17091 (pascal-complete-word, pascal-show-completions):
17092 * progmodes/octave-mod.el (octave-complete-symbol):
17093 Redefine as obsolete alias.
17094 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17095 Signal absence of completion info for old Octave,
17096 (inferior-octave-complete): Redefine as obsolete alias.
17097 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17098 (meta-completions-at-point): Rename from meta-complete-symbol and
17099 adapt it for use on completion-at-point-functions.
17100 (meta-common-mode): Use it.
17101 (meta-looking-at-backward, meta-match-buffer): Remove.
17102 (meta-complete-symbol): Redefine as obsolete alias.
17103 (meta-common-mode-map): Use completion-at-point.
17104 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17105 (makefile-mode-map): Use completion-at-point.
17106 (makefile-completions-at-point): Rename from makefile-complete and
17107 adapt it for use on completion-at-point-functions.
17108 (makefile-mode): Use it.
17109 (makefile-complete): Redefine as obsolete alias.
17110
aebf69c8
DD
171112011-06-20 Deniz Dogan <deniz@dogan.se>
17112
17113 * net/rcirc.el: Delete trailing whitespaces once and for all.
17114
bfbbb27d
DC
171152011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17116
17117 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17118
d264a46b
CY
171192011-06-19 Chong Yidong <cyd@stupidchicken.com>
17120
4ca009e5
CY
17121 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17122
d264a46b
CY
17123 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17124
fbf5b3ce
MR
171252011-06-19 Martin Rudalics <rudalics@gmx.at>
17126
17127 * window.el (display-buffer-other-window-means-other-frame):
17128 Call display-buffer-normalize-alist.
17129 (display-buffer-normalize-specifiers-1): Rename to
17130 display-buffer-normalize-argument. New argument other-frame.
17131 Rewrite.
17132 (display-buffer-normalize-specifiers-2): Rename to
17133 display-buffer-normalize-options.
17134 (display-buffer-normalize-alist-1): New function.
17135 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17136 display-buffer-normalize-alist.
17137 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17138 (display-buffer-normalize-options-inhibit): New variable.
17139 (display-buffer-normalize-specifiers): Rewrite calling
17140 display-buffer-normalize-alist,
17141 display-buffer-normalize-argument, and
17142 display-buffer-normalize-options. Don't call the latter if
17143 display-buffer-normalize-options-inhibit is non-nil.
17144 (frame-auto-delete): New option.
17145 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17146 (window-list-no-nils, window-state-ignored-parameters)
17147 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17148 (window-state-put-1, window-state-put-2, window-state-put):
17149 New functions.
9a028c23
MR
17150 (display-buffer-normalize-options): Move special-display-p group
17151 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17152
6d10d800
CY
171532011-06-18 Chong Yidong <cyd@stupidchicken.com>
17154
6420d28b
CY
17155 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17156 groups (Bug#8776).
17157 (rx-submatch-n): New function.
17158 (rx): Document it.
17159
ddb8b596
CY
17160 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17161 (Bug#8768).
17162
17163 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17164
77080289
CY
17165 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17166
61dfb316
CY
17167 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17168 anytime existing face settings are present (Bug#8889).
17169
6d10d800
CY
17170 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17171 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17172 Remove unused argument.
17173
be3fb2b8
MR
171742011-06-18 Martin Rudalics <rudalics@gmx.at>
17175
bcd70d97
SM
17176 * window.el (display-buffer-default-specifiers):
17177 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17178 pop-up-window-min-width, and another reuse-window specifier
17179 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17180 (display-buffer-normalize-specifiers-2):
17181 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17182 pop-up-windows is unset. Add a reuse-window specifier for the
17183 case popping up a new window fails.
17184 (special-display-popup-frame): Remove double quoting.
28dec25a 17185 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17186
1c6d8c76
SM
171872011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17188
17189 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17190 according to comint-completion-addsuffix.
17191
17192 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17193 (pcomplete-suffix-list): Mark as obsolete.
17194 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17195 pcomplete-seen in the closure.
17196 (pcomplete-comint-setup): Setup completion-at-point as well.
17197 (pcomplete--entries): New function.
17198 (pcomplete--env-regexp): New var.
17199 (pcomplete-entries): Rewrite to work with partial-completion and
17200 without relying on pcomplete-suffix-list.
17201 (pcomplete-pare-list): Remove, unused.
17202
25aef8b8
MR
172032011-06-17 Martin Rudalics <rudalics@gmx.at>
17204
17205 * window.el (display-buffer-alist): Set pop-up-window-min-height
17206 and pop-up-window-min-width in default value. Reported by
17207 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17208 other-window-means-other-frame.
17209 (display-buffer-macro-specifiers): Comment out entry for
17210 other-window specifier.
17211 (display-buffer-other-window-means-other-frame): New function.
17212 (display-buffer-normalize-specifiers-1): New arguments
17213 buffer-name and label. Treat other-window case specially.
17214 (display-buffer-normalize-specifiers-2): Treat other-window case
17215 specially.
17216 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17217 (display-buffer-normalize-specifiers):
17218 Call display-buffer-normalize-specifiers-3.
25aef8b8 17219
dbad4f69
MR
172202011-06-17 Martin Rudalics <rudalics@gmx.at>
17221
17222 * window.el (same-window-p): Fix two typos introduced when
17223 adding with-no-warnings.
d1067961
MR
17224 (display-buffer-normalize-specifiers-1): Don't check
17225 pop-up-frames for 'unset initialization.
17226 (display-buffer-normalize-specifiers-2): Major rewrite using
17227 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17228 (pop-up-frames, display-buffer-reuse-frames)
17229 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17230 Suggested by David Engster <deng@randomsample.de>.
17231 (even-window-heights): Initialize to 'unset.
17232 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17233 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17234 other window case.
dbad4f69 17235
9b9c9e3a
MR
172362011-06-16 Martin Rudalics <rudalics@gmx.at>
17237
bcd70d97
SM
17238 * window.el (display-buffer-normalize-specifiers-1):
17239 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17240 second argument of display-buffer (Bug#8865).
981d5c09
MR
17241 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17242 (switch-to-buffer-other-window-same-frame)
17243 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17244 Adams (Bug#8875).
9c2755e9
MR
17245 (display-buffer): Don't check noninteractive when calling
17246 display-buffer-pop-up-frame.
17247 (display-buffer-pop-up-frame): Never pop up a frame in
17248 noninteractive mode (Bug#8857).
67222e1d
MR
17249 (enlarge-window, shrink-window): Don't report an error when the
17250 window can't be resized as requested (Bug#8862).
9b9c9e3a 17251
2b75be67
SM
172522011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17253
9ffdd3ba
SM
17254 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17255
cb581a67
SM
17256 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17257
2b75be67
SM
17258 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17259
8c0e3589
AM
172602011-06-15 Alan Mackenzie <acm@muc.de>
17261
cb581a67
SM
17262 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17263 for declarators, disable knr checking to speed up for normal files.
17264 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17265
b96e6cde
LMI
172662011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17267
4bba86e6
LMI
17268 * net/network-stream.el (open-network-stream): Add the keyword
17269 :always-query-capabilities for the case where you want to force a
17270 `plain' network connection, but the protocol still requires the
17271 capabilitiy command (i.e., SMTP and EHLO).
17272
2b75be67 17273 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17274 consistency with other `-live-p' functions.
17275
efdcdbf8
SM
172762011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17277
17278 * window.el (same-window-buffer-names, same-window-regexps)
17279 (special-display-frame-alist, special-display-popup-frame)
17280 (special-display-function, special-display-buffer-names)
17281 (special-display-regexps, pop-up-frame-alist)
17282 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17283 (pop-up-windows, split-window-preferred-function)
17284 (split-height-threshold, split-width-threshold, even-window-heights)
17285 (display-buffer-mark-dedicated): Don't encourage the use of
17286 display-buffer-alist from Elisp code.
17287
c5cde042
DN
172882011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17289
17290 * progmodes/python.el (python-mode): Derive from prog-mode.
17291 * progmodes/ps-mode.el (ps-mode):
17292 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17293 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17294 * progmodes/ld-script.el (ld-script-mode): Likewise.
17295
baa1c9ab
MR
172962011-06-15 Martin Rudalics <rudalics@gmx.at>
17297
17298 * window.el (display-buffer-alist): Trim default value to avoid
17299 popping up a new frame (Bug#8857) or reusing an arbitrary window
17300 on another frame.
17301 (display-buffer): Do not fall back on popping up a new frame in
17302 batch mode (Bug#8857).
17303
c5dd5a51
CY
173042011-06-14 Chong Yidong <cyd@stupidchicken.com>
17305
17306 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17307 (custom-theme-summary): New function.
17308 (customize-themes): Use it.
17309
d647b7c4
GM
173102011-06-13 Glenn Morris <rgm@gnu.org>
17311
17312 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17313
9481c002
MR
173142011-06-13 Martin Rudalics <rudalics@gmx.at>
17315
357f93d2
MR
17316 * help.el (help-window): Remove variable.
17317 (help-window-point-marker, temp-buffer-max-height)
17318 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17319 (help-print-return-message): Don't set help-window.
17320 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17321 (help-window-setup-finish): Remove.
17322 (help-window-display-message, help-window-setup)
17323 (with-help-window): Major rewrite based on new
17324 display-buffer-window variable.
17325
17326 * help-mode.el (help-mode-finish): Remove help-window related
17327 code.
17328
17329 * view.el (view-exits-all-viewing-windows): Remove reference to
17330 view-return-to-alist in doc-string.
17331 (view-return-to-alist): Make obsolete.
17332 (view-buffer): Call pop-to-buffer-same-window and remove
17333 undo-window code.
17334 (view-buffer-other-window): Call pop-to-buffer-other-window and
17335 simplify code. Ignore second argument.
17336 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17337 simplify code. Ignore second argument.
17338 (view-return-to-alist-update): Make obsolete.
17339 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17340 Rewrite using quit-restore window parameters.
2b75be67
SM
17341 (view-mode-exit): Rename second argument to EXIT-ONLY.
17342 Rewrite using quit-restore-window.
357f93d2
MR
17343 (View-exit, View-exit-and-edit, View-leave, View-quit)
17344 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17345 appropriate arguments.
17346 (view-end-message): Use quit-restore window parameter.
17347
9481c002
MR
17348 * window.el (display-buffer-function): Rewrite doc-string.
17349 (display-buffer-window, display-buffer-alist): New variables.
17350 (display-buffer-split-specifiers)
17351 (display-buffer-side-specifiers)
17352 (display-buffer-macro-specifiers): New constants.
17353 (display-buffer-even-window-sizes, display-buffer-set-height)
17354 (display-buffer-set-width, display-buffer-select-window)
17355 (display-buffer-in-window, display-buffer-reuse-window)
17356 (display-buffer-split-window-1, display-buffer-split-window)
17357 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17358 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17359 (display-buffer-in-side-window, normalize-buffer-to-display)
17360 (display-buffer-normalize-specifiers-1)
17361 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17362 (display-buffer-normalize-specifiers, display-buffer-frame):
17363 New functions.
9481c002
MR
17364 (display-buffer): Major rewrite.
17365 (display-buffer-other-window, display-buffer-other-frame)
17366 (pop-to-buffer, switch-to-buffer-other-window)
17367 (switch-to-buffer-other-frame): Rewrite.
17368 (display-buffer-same-window, display-buffer-same-frame)
17369 (display-buffer-same-frame-other-window)
17370 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17371 (pop-to-buffer-other-window)
17372 (pop-to-buffer-same-frame-other-window)
17373 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17374 (switch-to-buffer-other-window-same-frame): New functions.
17375 (same-window-p, special-display-p): Rewrite disabling warnings.
17376 Make obsolete.
17377 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17378 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17379 Make obsolete
17380 (same-window-buffer-names, same-window-regexps)
17381 (special-display-frame-alist, special-display-popup-frame)
17382 (special-display-function, special-display-buffer-names)
17383 (special-display-regexps, pop-up-frame-alist)
17384 (pop-up-frame-function, split-window-preferred-function)
17385 (split-height-threshold, split-width-threshold)
17386 (even-window-heights): Make obsolete.
17387
9db51aca
GM
173882011-06-12 Glenn Morris <rgm@gnu.org>
17389
17390 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17391 Misc simplifications.
9db51aca 17392
39cffb44
MR
173932011-06-12 Martin Rudalics <rudalics@gmx.at>
17394
17395 * window.el (window-safely-shrinkable-p): Restore function which
17396 was inadvertently removed in change from 2011-06-11. Declare as
17397 obsolete.
17398
2b75be67
SM
17399 * calendar/calendar.el (calendar-generate-window):
17400 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17401 window-safely-shrinkable-p.
17402
a8955be7
GM
174032011-06-12 Glenn Morris <rgm@gnu.org>
17404
17405 * progmodes/fortran.el (fortran-mode-syntax-table):
17406 * progmodes/f90.el (f90-mode-syntax-table):
17407 Set % to punctuation. (Bug#8820)
17408 (f90-find-tag-default): Remove, no longer needed.
17409
f0d4059d
DC
174102011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17411
17412 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17413
1100a63c
CY
174142011-06-11 Chong Yidong <cyd@stupidchicken.com>
17415
17416 * image.el (image-animated-p): Return animation delay in seconds.
17417 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17418 (image-animate-timeout): Remove DELAY argument. Don't assume
17419 every subimage has the same delay; get it from image-animated-p.
17420 (image-animate): Caller changed.
17421
def722bf
MA
174222011-06-11 Michael Albinus <michael.albinus@gmx.de>
17423
17424 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17425 to ignored backtrace functions.
17426
0a2bb1a9
GM
174272011-06-11 Glenn Morris <rgm@gnu.org>
17428
17429 * calendar/appt.el (appt-disp-window-function): Doc fix.
17430 (appt-check): Handle overlapping appointments. (Bug#8337)
17431
6198ccd0
MR
174322011-06-11 Martin Rudalics <rudalics@gmx.at>
17433
17434 * window.el (window-tree-1, window-tree): New functions, moving
17435 the latter to window.el.
17436 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17437 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17438 (bw-refresh-edges): Remove.
17439 (balance-windows-1, balance-windows-2): New functions.
17440 (balance-windows): Rewrite in terms of window tree functions,
17441 balance-windows-1 and balance-windows-2.
17442 (bw-adjust-window): Remove.
17443 (balance-windows-area-adjust): New function with functionality of
17444 bw-adjust-window but using resize-window.
2b75be67
SM
17445 (set-window-text-height): Rewrite doc-string.
17446 Use normalize-live-window and resize-window.
17447 (enlarge-window-horizontally, shrink-window-horizontally):
17448 Rename argument to DELTA.
6198ccd0
MR
17449 (window-buffer-height): New function.
17450 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17451 Rewrite using new window resize routines.
2b75be67
SM
17452 (kill-buffer-and-window, mouse-autoselect-window-select):
17453 Use ignore-errors instead of condition-case.
6198ccd0
MR
17454 (quit-window): Call delete-frame instead of delete-windows-on
17455 for the only buffer on frame.
17456
9397e56f
MR
174572011-06-10 Martin Rudalics <rudalics@gmx.at>
17458
17459 * loadup.el (top-level): Load window before files for the sake
17460 of replace-buffer-in-windows.
17461
17462 * files.el (read-buffer-to-switch)
17463 (switch-to-buffer-other-window)
2b75be67
SM
17464 (switch-to-buffer-other-frame, display-buffer-other-frame):
17465 Move to window.el.
9397e56f
MR
17466
17467 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17468 (previous-buffer): Move to window.el.
17469
17470 * bindings.el (unbury-buffer): Move to window.el.
17471
17472 * window.el (delete-other-windows-vertically): Move after
17473 definition of delete-other-windows.
17474 (other-window, delete-windows-on, replace-buffer-in-windows):
17475 Move here from window.c.
17476 (record-window-buffer, unrecord-window-buffer)
17477 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17478 (switch-to-next-buffer): New functions.
17479 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17480 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17481 (previous-buffer): Move here from simple.el.
17482 Call switch-to-prev-buffer.
9397e56f
MR
17483 (bury-buffer): Move here from buffer.c. Switch to previous
17484 buffer when window cannot be deleted.
17485 (unbury-buffer): Move here from bindings.el.
17486 (ctl-x-map): Move binding for other-window from window.c to
17487 here.
17488 (read-buffer-to-switch, switch-to-buffer-other-window)
17489 (switch-to-buffer-other-frame): Move here from files.el.
17490 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17491 (switch-to-buffer): Move here from buffer.c.
17492 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17493
562dd5e9
MR
174942011-06-10 Martin Rudalics <rudalics@gmx.at>
17495
17496 * window.el (window-min-height, window-min-width): Move here
17497 from window.c. Add defcustoms and rewrite doc-strings.
17498 (resize-mini-window, resize-window): New functions.
17499 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17500 Move here from window.c.
17501 (maximize-window, minimize-window): New functions.
17502 (delete-window, delete-other-windows, split-window): Move here
17503 from window.c.
17504 (window-split-min-size): New function.
17505 (split-window-keep-point): Mention split-window-above-each-other
17506 instead of split-window-vertically.
2b75be67 17507 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17508 Rename split-window-vertically to split-window-above-each-other
17509 and provide defalias for old definition.
17510 (split-window-side-by-side, split-window-horizontally):
17511 Rename split-window-horizontally to split-window-side-by-side
17512 and provide defalias for the old definition.
562dd5e9
MR
17513 (ctl-x-map): Move bindings for delete-window,
17514 delete-other-windows and enlarge-window here from window.c.
17515 Replace bindings for split-window-vertically and
17516 split-window-horizontally by bindings for
17517 split-window-above-each-other and split-window-side-by-side.
17518
17519 * cus-start.el (all): Remove entries for window-min-height and
17520 window-min-width. Add entries for window-splits and
17521 window-nest.
17522
f0da764a
GM
175232011-06-09 Glenn Morris <rgm@gnu.org>
17524
80675c21
GM
17525 * calendar/appt.el (appt-mode-line): New function.
17526 (appt-check, appt-disp-window): Use it.
17527
f0da764a
GM
17528 * files.el (hack-one-local-variable-eval-safep):
17529 Allow minor-modes with explicit +/-1 arguments.
17530
59f623b7
TZ
175312011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17532
17533 * term/xterm.el (xterm): Add defgroup.
17534 (xterm-extra-capabilities): Add defcustom to supply known xterm
17535 capabilities, skip querying them, or query them (default).
17536 (terminal-init-xterm): Use it.
17537 (terminal-init-xterm-modify-other-keys): New function to set up
17538 modifyOtherKeys support to simplify `terminal-init-xterm'.
17539
9aab8e0d
MR
175402011-06-09 Martin Rudalics <rudalics@gmx.at>
17541
17542 * window.el (resize-window-reset, resize-window-reset-1)
17543 (resize-subwindows-skip-p, resize-subwindows-normal)
17544 (resize-subwindows, resize-other-windows, resize-this-window)
17545 (resize-root-window, resize-root-window-vertically)
17546 (window-deletable-p, window-or-subwindow-p)
17547 (frame-root-window-p): New functions.
17548
e8b08aee
GM
175492011-06-09 Glenn Morris <rgm@gnu.org>
17550
17551 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17552 (ange-ftp-get-files): Use it.
17553
254c37a5
AK
175542011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17555
17556 * mail/sendmail.el (mail-recover-1, mail-recover):
17557 * files.el (recover-file, recover-session):
17558 Handle dired-listing-switches not being just a single short option.
17559
35d7dbd3
GM
175602011-06-09 Glenn Morris <rgm@gnu.org>
17561
17562 * calendar/appt.el (appt-display-message, appt-disp-window):
17563 Handle lists of appointments.
17564
387522b2
MR
175652011-06-08 Martin Rudalics <rudalics@gmx.at>
17566
2b75be67
SM
17567 * window.el (one-window-p): Move down in code.
17568 Rewrite doc-string.
17569 (window-current-scroll-bars): Rewrite doc-string.
17570 Normalize live window argument.
387522b2
MR
17571 (walk-windows, get-window-with-predicate, count-windows):
17572 Rewrite doc-string. Use window-list-1.
17573 (window-in-direction-2, window-in-direction, get-mru-window):
17574 New functions.
17575
d8e4b68b 175762011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17577
17578 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17579 Doc fix (Bug#8713).
17580
175812011-06-08 Chong Yidong <cyd@stupidchicken.com>
17582
17583 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17584
175852011-06-08 Juanma Barranquero <lekktu@gmail.com>
17586
17587 * loadhist.el (unload-feature-special-hooks):
17588 Add `comint-output-filter-functions'.
17589
0de12c52
IK
175902011-06-08 Ivan Kanis <gnu@kanis.fr>
17591
17592 * calendar/appt.el (appt-check): Move some initializations into the let.
17593
f3d1777e
MR
175942011-06-08 Martin Rudalics <rudalics@gmx.at>
17595
17596 * window.el (window-height): Defalias to window-total-height.
17597 (window-width): Defalias to window-body-width.
17598
18af70d0
CY
175992011-06-07 Chong Yidong <cyd@stupidchicken.com>
17600
17601 * image-mode.el (image-toggle-animation): New command.
17602 (image-mode-map): Bind it to RET.
17603 (image-mode): Update message.
17604 (image-toggle-display-image): Avoid a spurious cache flush.
17605 (image-transform-rotation): Doc fix.
17606 (image-transform-properties): Return quickly in the normal case.
17607 (image-animate-loop): Rename from image-animate-max-time.
17608
2b75be67 17609 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17610 (create-animated-image): Remove unnecessary function.
17611 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17612 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17613 (image-animate-timer): Use car-safe.
17614 (image-animate-timeout): Rename argument.
17615
190b47e6
MR
176162011-06-07 Martin Rudalics <rudalics@gmx.at>
17617
17618 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17619 window.c. Rename first argument to ALL-FRAMES.
17620 Rephrase doc-strings.
17621 (get-buffer-window-list): Rewrite using window-list-1.
17622 Rephrase doc-string.
a1511caf
MR
17623 (window-safe-min-height, window-safe-min-width): New constants.
17624 (window-size-ignore, window-min-size, window-min-size-1)
17625 (window-sizable, window-sizable-p, window-size-fixed-1)
17626 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17627 (window-max-delta-1, window-max-delta, window-resizable)
17628 (window-resizable-p, window-total-height, window-total-width)
17629 (window-body-width): New functions.
17630 (window-full-height-p, window-full-width-p): Rewrite using
17631 window-total-size.
17632 (window-body-height): Rewrite using window-body-size.
190b47e6 17633
85cc1f11
MR
176342011-06-06 Martin Rudalics <rudalics@gmx.at>
17635
17636 * window.el (window-right, window-left, window-child)
17637 (window-child-count, window-last-child, window-any-p)
17638 (normalize-live-buffer, normalize-live-frame)
17639 (normalize-any-window, normalize-live-window)
17640 (window-iso-combination-p, window-iso-combined-p)
17641 (window-iso-combinations)
17642 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17643 (windows-with-parameter, window-with-parameter)
17644 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17645 (window-atom-check, window-side-check, window-check):
17646 New functions.
85cc1f11
MR
17647 (ignore-window-parameters, window-sides, window-sides-vertical)
17648 (window-sides-slots): New variables.
17649 (window-size-fixed): Move down in code. Minor doc-string fix.
17650
e7156492
AS
176512011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17652
17653 * comint.el (comint-dynamic-complete-as-filename)
17654 (comint-dynamic-complete-filename): Correctly call
17655 completion-in-region.
17656
7e821d0d
DD
176572011-06-05 Deniz Dogan <deniz@dogan.se>
17658
17659 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17660 in last change.
17661
ac09b8a1
DD
176622011-06-05 Deniz Dogan <deniz@dogan.se>
17663
17664 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17665 (rcirc): Use it to prompt for encryption.
17666
34699b85
RW
176672011-06-05 Roland Winkler <winkler@gnu.org>
17668
17669 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17670 (bibtex-search-entries): New command bound to C-c C-a.
17671 (bibtex-display-entries): New function.
17672
004dedd3
RW
176732011-06-05 Roland Winkler <winkler@gnu.org>
17674
17675 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17676 (bibtex-insert-kill): After yanking insert newline if necessary.
17677 (bibtex-initialize): Call bibtex-string-files-init only once.
17678 (bibtex-mode): Do not call easy-menu-add.
17679 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17680 (bibtex-yank): Set arg properly if nil.
17681
022fe7ce
RW
176822011-06-05 Roland Winkler <winkler@gnu.org>
17683
2b75be67
SM
17684 * textmodes/bibtex.el (bibtex-search-entry-globally):
17685 New variable.
022fe7ce
RW
17686 (bibtex-search-entry): Use it.
17687
b7c3692a
RW
176882011-06-05 Roland Winkler <winkler@gnu.org>
17689
17690 * textmodes/bibtex.el (bibtex-entry-format): New option
17691 sort-fields.
17692 (bibtex-format-entry, bibtex-reformat): Honor this option.
17693 (bibtex-parse-entry): Return fields in proper order.
17694
8eda563d
JB
176952011-06-05 Juanma Barranquero <lekktu@gmail.com>
17696
17697 * doc-view.el (doc-view-remove-if): Move computation of result out
17698 of `dolist' to silence misleading lexical-binding warning.
17699
7dbe3dbc
CY
177002011-06-04 Chong Yidong <cyd@stupidchicken.com>
17701
17702 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17703 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17704
0c33dd17
MA
177052011-06-04 Michael Albinus <michael.albinus@gmx.de>
17706
17707 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17708 "SunOS 5.10".
17709
f8f91c2b
MA
177102011-06-04 Michael Albinus <michael.albinus@gmx.de>
17711
17712 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17713 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17714 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17715 (tramp-parse-putty):
17716 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17717 (tramp-completion-function-alist-ssh)
17718 (tramp-completion-function-alist-telnet)
17719 (tramp-completion-function-alist-su)
17720 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17721 cookie.
17722
17723 * net/tramp-ftp.el:
17724 * net/tramp-sh.el:
17725 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17726 load "tramp.el" `tramp-set-completion-function'.
17727
e17d9003
SM
177282011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17729
17730 * shell.el: Require and use pcomplete.
17731 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17732 (shell-completion-vars): Set pcomplete-default-completion-function.
17733
6c4cab03
DD
177342011-06-04 Deniz Dogan <deniz@dogan.se>
17735
17736 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17737 `memq' (Bug#8799).
17738
ea9fafe0
SM
177392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17740
17741 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17742
b3e945d3
JB
177432011-06-02 Juanma Barranquero <lekktu@gmail.com>
17744
17745 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17746 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17747 * vc/log-view.el (log-view-beginning-of-defun):
17748 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17749 (smerge-refine-forward, smerge-refine-chopup-region):
17750 Silence warning for unused `dotimes' counter variables.
17751
7d520089
SM
177522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17753
17754 * net/tramp.el (tramp-with-progress-reporter): Rename from
17755 with-progress-reporter. Use `declare'.
17756 * net/tramp-smb.el:
17757 * net/tramp-sh.el:
17758 * net/tramp-gvfs.el: Update all uses.
17759
a1c2400f
JB
177602011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17761
17762 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17763 buffer isn't killed before making it current.
17764
2403c841
SM
177652011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17766
17767 Silence various byte-compiler warnings.
17768 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17769 `access-type' and new obsolescence format.
17770 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17771 new format.
17772 (byte-compile-check-variable): New `access-type' argument.
17773 Only warn if the access-type is obsolete.
17774 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17775 (byte-compile-variable-set): Adjust callers.
17776 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17777 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17778 setting it as obsolete.
17779 * simple.el (minibuffer-completing-symbol):
17780 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17781 access as obsolete.
17782 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17783 obsolete yet.
17784 * international/quail.el (quail-mouse-choose-completion): Remove unused
17785 code referring to obsolete var.
17786 (quail-choose-completion-string): Remove.
17787 * server.el (server-clients-with, server-kill-buffer-query-function)
17788 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17789 * proced.el (proced-send-signal):
17790 * emacs-lisp/lisp.el (lisp-complete-symbol):
17791 Replace completion-annotate-function with completion-extra-properties.
17792
2462470b
SM
177932011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17794
fb5b2591
SM
17795 * simple.el (goto-line): Use read-number.
17796 (overriding-map-is-bound): Remove.
17797 (saved-overriding-map): Change default.
17798 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17799 Take the map as argument.
17800 (universal-argument, negative-argument, digit-argument): Use it.
17801 (restore-overriding-map): Adjust.
17802 (do-auto-fill): Use fill-forward-paragraph.
17803 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17804
fd6fa53f
SM
17805 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17806 (minibuffer-inactive-mode): New major mode.
17807 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17808 the *Messages* buffer" hack.
17809 (mouse-popup-menubar): Don't burp if the event is a normal key.
17810
2462470b
SM
17811 Miscellaneous tweaks.
17812 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17813 lexical scoping as in subr.el's dolist and dotimes.
17814 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17815 Silence compiler warning.
17816 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17817 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17818 * international/ccl.el (ccl-compile): Trivial simplification.
17819 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17820 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17821 `printflag' argument.
17822 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17823 Purecopy the whole obsolescence data.
17824
108bf785
LL
178252011-06-01 Leo Liu <sdl.web@gmail.com>
17826
17827 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17828 improve doc-string as suggested by Marco Pessotto
17829 <melmothx@gmail.com>.
17830 (rcirc-print): Fix last change.
17831
30a23501
SM
178322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17833
17834 * minibuffer.el (complete-with-action): Return nil for the metadata and
17835 boundaries of non-functional tables.
17836 (completion-table-dynamic): Return nil for the metadata.
17837 (completion-table-with-terminator): Add default case, using
17838 complete-with-action.
17839 (completion--metadata): New function.
17840 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17841 to try and avoid pathological performance problems.
17842 (completion--embedded-envvar-table): Return `category' metadata.
17843
bcd54f83
LMI
178442011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17845
17846 * subr.el (process-alive-p): New tiny convenience function.
17847
e227544d
SM
178482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17849
17850 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17851 content but also its previous major mode.
17852
e8296fdc
HE
178532011-05-31 Helmut Eller <eller.helmut@gmail.com>
17854
4d61f28d 17855 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17856 *Backtrace* buffer when we exit with C-M-c.
17857
620c53a6
SM
178582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17859
17860 * minibuffer.el: Add metadata method to completion tables.
17861 (completion-category-overrides): New defcustom.
17862 (completion-metadata, completion--field-metadata)
17863 (completion-metadata-get, completion--styles)
17864 (completion--cycle-threshold): New functions.
17865 (completion-try-completion, completion-all-completions):
17866 Add `metadata' argument to choose completion-styles.
17867 (completion--do-completion): Use metadata to choose cycling.
17868 (completion-all-sorted-completions): Use metadata for sorting.
17869 Remove :completion-cycle-penalty which is not needed any more.
17870 (completion--try-word-completion): Add `metadata' argument.
17871 (minibuffer-completion-help): Check metadata for annotation function
17872 and sorting.
17873 (completion-file-name-table): Return `category' metadata.
17874 (minibuffer-completing-file-name): Make obsolete.
17875 * simple.el (minibuffer-completing-symbol): Make obsolete.
17876 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17877 completion-try-completion.
17878
1257e755
SM
178792011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17880
17881 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17882
3767e706
LL
178832011-05-30 Leo Liu <sdl.web@gmail.com>
17884
17885 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17886 (rcirc-print): Decode all incoming messages (bug#8744).
17887 (rcirc-decode-coding-system): Allow value nil for automatic coding
17888 system detection.
3767e706 17889
d1a5d56a
GM
178902011-06-01 Glenn Morris <rgm@gnu.org>
17891
17892 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17893
e8cbec34
CY
178942011-05-29 Chong Yidong <cyd@stupidchicken.com>
17895
17896 * image.el (image-animate-max-time): Allow nil and t values.
17897 Default to nil.
17898 (create-animated-image): Doc fix.
17899 (image-animate-start): Remove second arg; just use
17900 image-animate-max-time.
17901 (image-animate-timeout): Doc fix. Args changed.
17902
17903 * image-mode.el (image-toggle-display-image): Ensure that the
17904 image spec passed to the animate timer is the same object as in
58179cce 17905 the buffer's display property (Bug#6981).
e8cbec34
CY
17906 (image-transform-properties): Doc fix.
17907
17908 * image.el (image-animate-max-time): Default to nil.
17909
159daf87
MR
179102011-05-29 Martin Rudalics <rudalics@gmx.at>
17911
17912 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17913 entire buffer list (Bug#8184).
17914
d66c4c7c
CY
179152011-05-29 Chong Yidong <cyd@stupidchicken.com>
17916
17917 * image.el (imagemagick-types-inhibit)
17918 (imagemagick-register-types): Doc fix.
17919
80aec780
DD
179202011-05-29 Deniz Dogan <deniz@dogan.se>
17921
17922 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17923 default.
17924
1dd3c2d9
CY
179252011-05-29 Chong Yidong <cyd@stupidchicken.com>
17926
17927 * select.el: Don't perform clipboard-manager saving in hooks;
17928 leave the hooks empty.
17929
60e56523
LL
179302011-05-28 Leo Liu <sdl.web@gmail.com>
17931
17932 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17933 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17934 (occur-edit-mode): New major mode (Bug#8463).
17935 (occur-after-change-function): New function.
17936 (occur-engine): Give Occur tags a read-only property.
17937
2b1e1a22
KR
179382011-05-28 Kevin Ryde <user42@zip.com.au>
17939
17940 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17941
5d344e88
CY
179422011-05-28 Chong Yidong <cyd@stupidchicken.com>
17943
8e6ca83d
CY
17944 * bindings.el (help-echo): Make the initial non-indicator dash
17945 empty on graphical terminals (Bug#7295).
17946
5d344e88
CY
17947 * files.el (auto-mode-alist): Move config rule after the
17948 in-stripping one (Bug#8547).
17949
bfbbace7
CY
17950 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17951
fbeba6e2
CY
17952 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17953 setting (Bug#8740).
17954
60ed8c72
AA
179552011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17956
4ac619f0
AA
17957 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17958 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17959 (Bug#8539).
60ed8c72 17960
23db196e
CY
179612011-05-28 Chong Yidong <cyd@stupidchicken.com>
17962
17963 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17964
5012f24c
DK
179652011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17966
17967 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17968 (hs-hide-block-at-point, hs-find-block-beginning)
17969 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17970 (Bug#8279).
17971
6a639b16
GM
179722011-05-28 Glenn Morris <rgm@gnu.org>
17973
17974 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17975
d43eaf2c
CY
179762011-05-28 Chong Yidong <cyd@stupidchicken.com>
17977
5199bde1
CY
17978 * help-fns.el (describe-function-1): If the function is a derived
17979 major mode, print the parent mode.
17980
d43eaf2c
CY
17981 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17982 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17983
423428a8
SM
179842011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17985
0ff8e1ba 17986 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17987 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17988 * progmodes/etags.el (tags-completion-at-point-function):
17989 * info-look.el (info-lookup-completions-at-point): Mark as
17990 non-exclusive.
17991 (info-complete): Adjust accordingly.
17992
423428a8
SM
17993 * info-look.el: Convert to lexical-binding and completion-at-point.
17994 (info-lookup-completions-at-point): New function.
17995 (info-complete): Use it and completion-in-region.
17996
b74aa22b
DA
179972011-05-28 Drew Adams <drew.adams@oracle.com>
17998
17999 * isearch.el: Let M-e start with point at the first mismatched char.
18000 (isearch-fail-pos): New function.
18001 (isearch-edit-string): Use it.
18002
66e2e71d
DK
180032011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18004
18005 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18006
b1890b0f 180072011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18008
18009 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18010 traversal functions for avl-trees.
18011 (avl-tree--stack): New struct.
18012 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18013 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18014 (avl-tree--do-enter): Add optional `updatefun' arg.
18015 Change return value.
eb95d01d 18016 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18017 (avl-tree--do-delete): Add `test' and `nilflag' args.
18018 Change return value.
eb95d01d
TC
18019 (avl-tree-member): Add optional `nilflag'
18020 (avl-tree-member-p): New function.
18021 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18022 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18023 (avl-tree-stack-empty-p): New functions.
18024
3769ddcf
TC
18025 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18026 avl-tree--del-balance1 and make it work both ways.
18027 (avl-tree--del-balance2): Remove.
18028 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18029 make it work both ways.
18030 (avl-tree--enter-balance2): Remove.
18031 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18032 New macros.
18033 (avl-tree--mapc, avl-tree-map): Add direction argument.
18034
eb95d01d 180352011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18036
18037 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18038
a9f737ee
CY
180392011-05-27 Chong Yidong <cyd@stupidchicken.com>
18040
18041 * select.el: Support clipboard managers with built-in function
18042 x-clipboard-manager-save, via delete-frame-functions and
18043 kill-emacs-hook.
18044 (xselect-convert-to-targets): Add MULTIPLE target to list.
18045 (xselect-convert-to-save-targets): New function.
18046
c92a1e54
KH
180472011-05-27 Kenichi Handa <handa@m17n.org>
18048
18049 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18050 let-binding rfc2047-encode-encoded-words to nil.
18051
e145f188
GM
180522011-05-27 Glenn Morris <rgm@gnu.org>
18053
5ec8a862
GM
18054 * mail/emacsbug.el: Don't require url-util.
18055
4b29d9fb
GM
18056 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18057
e145f188
GM
18058 * files.el (set-auto-mode):
18059 Also respect mode: entries at the end of the file. (Bug#8586)
18060
7d15102b
GM
180612011-05-26 Glenn Morris <rgm@gnu.org>
18062
98f593b8
GM
18063 * files.el (hack-local-variables-prop-line, hack-local-variables):
18064 Downcase mode names, as seems to be traditional.
27b48e63 18065 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18066
7d15102b
GM
18067 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18068 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18069
51d5b4ec
JD
180702011-05-25 Julien Danjou <julien@danjou.info>
18071
18072 * textmodes/rst.el (rst-define-level-faces): Do not define face
18073 symbol if it is already defined.
18074
91513f63
VB
180752011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18076
18077 * play/5x5.el (5x5-new-game, 5x5-randomize):
18078 Reset 5x5-solver-output to nil when a new grid is cast.
18079 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18080 these debugging traces, as defmacro breaks the compiled code.
18081
4d90d6d0
DK
180822011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18083
18084 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18085
e1b90ef6
LL
180862011-05-24 Leo Liu <sdl.web@gmail.com>
18087
18088 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18089 (vc-bzr-sha1): Adapt.
18090
d8e4b68b 18091 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18092
18093 * bindings.el: Provide sha1 feature.
18094
db0406bb 180952011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18096
18097 * mail/sendmail.el: Require `rfc2047'.
18098 (mail-insert-from-field): Do not perform RFC2047 encoding.
18099 (mail-encode-header): New function.
18100 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18101 buffer to the return value of select-message-coding-system.
18102 Call mail-encode-header.
b8d747b9
KH
18103
18104 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18105
db0406bb 181062011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18107
4d90d6d0
DK
18108 * mail/supercite.el (sc-default-cite-frame):
18109 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18110
eb8a5e9b
GM
181112011-05-24 Glenn Morris <rgm@gnu.org>
18112
f8630703
GM
18113 * progmodes/python.el (brm-menu): Declare.
18114
8831bbed
GM
18115 * emulation/viper.el (viper-set-hooks): Declare.
18116
eb8a5e9b
GM
18117 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18118 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18119 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18120 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18121 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18122 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18123
a2a25d24
SM
181242011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18125
18126 Add an :exit-function for completion-at-point.
18127
18128 * minibuffer.el (completion--done): New fun.
18129 (completion--do-completion): Use it. New arg `expect-exact'.
18130 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18131 since completion--do-completion does it for us now.
18132 (minibuffer-force-complete): Use completion--done and
18133 completion--replace. Handle sole-completion case with more care.
18134 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18135 (completion-extra-properties): New var.
18136 (completion-annotate-function): Make obsolete.
18137 (minibuffer-completion-help): Adjust accordingly.
18138 Use completion-list-insert-choice-function.
18139 (completion-at-point, completion-help-at-point):
18140 Bind completion-extra-properties.
18141 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18142 * simple.el (completion-list-insert-choice-function): New var.
18143 (completion-setup-function): Preserve it.
18144 (choose-completion): Pay attention to it, shuffle the code a bit.
18145 (choose-completion-string): New arg `insert-function'.
18146
18147 * textmodes/bibtex.el: Convert to lexical binding.
18148 (bibtex-mode-map): Use completion-at-point.
18149 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18150 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18151 (bibtex-complete): Define as obsolete alias.
18152 (bibtex-complete-internal): Remove.
18153 (bibtex-format-entry): Remove unused sub-group in regexp.
18154 * shell.el (shell--command-completion-data)
18155 (shell-environment-variable-completion):
18156 * pcomplete.el (pcomplete-completions-at-point):
18157 * comint.el (comint--complete-file-name-data): Use :exit-function
18158 instead of completion-table-with-terminator so it also works for
18159 choose-completion.
18160
e44e373d
SM
181612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18162
4f91a816
SM
18163 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18164
782fc819
SM
18165 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18166 (bug#8710).
18167
e44e373d
SM
18168 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18169
381987c3
KM
181702011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18171
18172 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18173 customization variable and implement: If non-nil, auto-fill will
18174 be inhibited while on topic's header line.
18175
b776bc70
VB
181762011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18177
18178 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18179 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18180 always have a solution in grid size = 5 cases.
18181 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18182 (5x5-solver-output, 5x5-log-buffer): New vars.
18183 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18184 Make these variables buffer local to achieve 5x5 multi-session-ness.
18185 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18186 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18187 (5x5-solve-suggest): New funs.
18188 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18189 randomize a grid so that we ensure that there is always a solution.
18190 (5x5-make-random-grid): Allow other movement than flipping.
18191
7de88b6e
KR
181922011-05-23 Kevin Ryde <user42@zip.com.au>
18193
18194 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18195 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18196 advice and passes PREDICATE.
18197
b1ef1257
SM
181982011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18199
bbca48fe
SM
18200 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18201 byte-compile-lambda if it's actually a lambda.
18202
b1ef1257
SM
18203 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18204 Fix function quoting. Use backquote better.
18205
92a9cc65
YS
182062011-05-22 Yuanle Song <sylecn@gmail.com>
18207
18208 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18209 matching (Bug#8516).
18210
f0fb8059
JA
182112011-01-22 Jari Aalto <jari.aalto@cante.net>
18212
18213 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18214 different face (Bug#8178).
18215
d5b44c93
CY
182162011-05-22 Chong Yidong <cyd@stupidchicken.com>
18217
18218 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18219 defface (Bug#8144).
18220
79106a44
SM
182212011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18222
9c848d8a
SM
18223 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18224 funcall as well (bug#8712). Warn when performing those conversions.
18225 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18226
79106a44
SM
18227 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18228
88dfa756
GM
182292011-05-22 Glenn Morris <rgm@gnu.org>
18230
18231 * files.el (hack-local-variables-prop-line): Small simplifications.
18232 (hack-local-variables, hack-local-variables-prop-line):
18233 If MODE-ONLY, return the mode, rather than just `t'.
18234
b7cf2c79
SM
182352011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18236
18237 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18238
3f1a8558
GM
182392011-05-21 Glenn Morris <rgm@gnu.org>
18240
7e4ccca3
GM
18241 * files.el (hack-local-variables-prop-line, hack-local-variables):
18242 If only interested in the mode, don't bother doing the other stuff.
18243
637d46ca
GM
18244 * image-mode.el (image-after-revert-hook):
18245 Redraw all frames on which the image is visible. (Bug#8567)
18246
973d955b
GM
18247 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18248
3f1a8558
GM
18249 * wid-edit.el (widget-checklist-match-inline):
18250 Fix 2011-04-19 change. (Bug#8649)
18251
96479927
SM
182522011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18253
1dcf791f
SM
18254 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18255 Also allow singlespace after single-letter capitals followed by a dot.
18256
96479927
SM
18257 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18258 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18259
35fd0881
N
182602011-05-20 Nix <nix@esperi.org.uk>
18261
18262 * files.el (basic-save-buffer-2):
18263 Fix handling of break-hardlink-on-save with non-existent files.
18264
82745640
DD
182652011-05-19 Deniz Dogan <deniz@dogan.se>
18266
18267 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18268 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18269
4a720484
GM
182702011-05-19 Glenn Morris <rgm@gnu.org>
18271
d1f21341
GM
18272 * progmodes/f90.el (f90-type-def-re):
18273 Handle "type, bind(c)". (Bug#8691)
18274
4a720484
GM
18275 * emacs-lisp/autoload.el (batch-update-autoloads):
18276 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18277
2fb0a219
MA
182782011-05-18 Michael Albinus <michael.albinus@gmx.de>
18279
18280 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18281 property for the correct connection in case of multihops.
18282
e565dd37
GM
182832011-05-18 Glenn Morris <rgm@gnu.org>
18284
c2571358 18285 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18286 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18287
e565dd37
GM
18288 Rationalize calendar handling of day and month abbrev-arrays.
18289 * calendar/calendar.el (calendar-customized-p): New function.
18290 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18291 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18292 Add :set function.
18293 (calendar-abbrev-length, calendar-day-abbrev-array)
18294 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18295 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18296 Elements may no longer be nil.
18297 (calendar-day-name, calendar-month-name):
18298 Update for changed nature of abbrev arrays.
18299 * calendar/diary-lib.el (diary-name-pattern):
18300 Update for changed nature of abbrev arrays.
18301 (diary-mark-entries-1): Update calendar-make-alist calls.
18302 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18303 * calendar/cal-html.el (cal-html-day-abbrev-array):
18304 Simply inherit from calendar-day-abbrev-array.
18305
1d99a745
SM
183062011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18307
18308 * progmodes/grep.el (grep-mode): Disable default
18309 compilation-directory-matcher setting (bug#8684).
18310
7c1d9aa0
MA
183112011-05-17 Michael Albinus <michael.albinus@gmx.de>
18312
18313 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18314 instead of "head" and "tail". There were problems with SunOS 5.9,
18315 and it performs better.
18316
3952e9d8
GM
183172011-05-17 Glenn Morris <rgm@gnu.org>
18318
2dd12e7f
GM
18319 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18320
e4157b9c
GM
18321 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18322 Replace obsolete function.
18323
8e249bbd
GM
18324 * shell.el (pcomplete-parse-arguments-function): Declare.
18325
3952e9d8
GM
18326 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18327 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18328 (appt-check): Doc fixes.
18329 (appt-disp-window-function, appt-delete-window-function):
18330 Remove needless special case in custom :type.
18331 (appt-display-count): Default to 0, not nil.
18332 (appt-check): Reset appt-display-count to 0, not nil.
18333
c71a0d48 183342011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18335
c71a0d48
GM
18336 * progmodes/python.el (python-font-lock-keywords):
18337 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18338
31d55be9
SM
183392011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18340
18341 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18342
3bfacb2f
KR
183432011-05-16 Kevin Ryde <user42@zip.com.au>
18344
18345 * info-look.el (makefile-automake-mode): New setups, looking in
18346 automake manual, then makefile-mode.
18347 (makefile-mode): Remove automake manual, have it just in
18348 makefile-automake-mode since there's various things different or
18349 not relevant to plain make.
18350 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18351 believe a hypothetical automake-mode would go to makefile-mode,
18352 not the other way around.
18353
c8e83751
CY
183542011-05-15 Chong Yidong <cyd@stupidchicken.com>
18355
5e9e35cd
CY
18356 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18357 hunk-end tags (Bug#8672).
18358
c8e83751
CY
18359 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18360 vc-annotate-show-diff-revision-at-line (Bug#8671).
18361
50b23e5a
GM
183622011-05-14 Glenn Morris <rgm@gnu.org>
18363
7210a739
GM
18364 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18365 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18366 (change-log-font-lock-keywords): Also handle multiple author lines
18367 with leading tabs. (Bug#8644)
7210a739 18368
4691905a
GM
18369 * calendar/appt.el (appt-check): Rename some local variables.
18370 Some simplification/reordering.
18371
50b23e5a
GM
18372 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18373 (feedmail-sendmail-f-doesnt-sell-me-out)
18374 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18375 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18376 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18377 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18378 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18379 (feedmail-binmail-gnulinuxish-template):
18380 Rename from feedmail-binmail-linuxish-template.
18381 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18382 Use insert-buffer-substring.
18383
215cda7c
BC
183842011-05-14 Bill Carpenter <bill@carpenter.org>
18385
18386 * mail/feedmail.el (feedmail-patch-level): Increase.
18387 (feedmail-debug): New custom group.
18388 (feedmail-confirm-outgoing-timeout)
18389 (feedmail-sendmail-f-doesnt-sell-me-out)
18390 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18391 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18392 (feedmail-sender-line, feedmail-from-line)
18393 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18394 (feedmail-spray-this-address)
215cda7c
BC
18395 (feedmail-spray-address-fiddle-plex-list)
18396 (feedmail-queue-use-send-time-for-date)
18397 (feedmail-queue-use-send-time-for-message-id)
18398 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18399 (feedmail-buffer-eating-function):
18400 Doc fixes.
18401 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18402 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18403 (feedmail-message-action-scroll-down): New functions.
18404 (feedmail-queue-directory, feedmail-queue-draft-directory):
18405 Use expand-file-name.
18406 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18407 Remove C-v help entry.
18408 (feedmail-queue-buffer-file-name): New variable.
18409 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18410 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18411 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18412 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18413 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18414 (feedmail-message-action-toggle-spray)
18415 (feedmail-run-the-queue-no-prompts)
18416 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18417 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18418 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18419 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18420 (feedmail-envelope-deducer, feedmail-fiddle-from)
18421 (feedmail-fiddle-sender, feedmail-default-date-generator)
18422 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18423 (feedmail-fiddle-spray-address)
18424 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18425 (feedmail-fiddle-list-of-fiddle-plexes)
18426 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18427 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18428 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18429 Change default. Doc fix.
18430 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18431 (feedmail-binmail-linuxish-template): New constant.
18432 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18433 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18434 (feedmail-send-it): Add debug call.
18435 Use feedmail-queue-buffer-file-name, and
18436 feedmail-send-it-immediately-wrapper.
18437 (feedmail-message-action-send): Add debug call.
18438 Use feedmail-send-it-immediately-wrapper.
18439 (feedmail-queue-express-to-queue): Add debug call.
18440 Run feedmail-queue-express-hook.
18441 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18442 (feedmail-message-action-help-blat):
18443 Rename from feedmail-queue-send-edit-prompt-help-first.
18444 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18445 Check line-endings. Handle errors better.
18446 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18447 Doc fix. Add debug call.
18448 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18449 Use feedmail-queue-send-edit-prompt-inner.
18450 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18451 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18452 from feedmail-queue-send-edit-prompt.
18453 (feedmail-queue-send-edit-prompt-help)
18454 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18455 (feedmail-tidy-up-slug): Add debug call.
18456 Respect feedmail-queue-slug-suspect-regexp.
18457 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18458 (feedmail-dump-message-to-queue): Add debug call.
18459 Expand queue-directory.
18460 (feedmail-dump-message-to-queue): Change message slightly.
18461 Use feedmail-say-chatter.
18462 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18463 (feedmail-send-it-immediately-wrapper): New function.
18464 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18465 Insert empty string rather than newline. Handle full-frame case.
18466 Use catch/throw. Use feedmail-say-chatter.
18467 (feedmail-fiddle-from): Try mail-host-address.
18468 (feedmail-default-message-id-generator): Doc fix.
18469 Bind system-time-locale. Handle missing end.
18470 (feedmail-fiddle-x-mailer): Add debug call.
18471 Handle feedmail-x-mailer-line being nil.
18472 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18473 Add debug call. Use buffer-substring-no-properties.
18474 (feedmail-say-debug, feedmail-say-chatter): New functions.
18475 (feedmail-find-eoh): Give an explicit error.
18476
42c7e61e
UJ
184772011-05-13 Ulf Jasper <ulf.jasper@web.de>
18478
c2571358 18479 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18480 family from helvetica to sans.
c2571358 18481 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18482 etc/images/newsticker.
18483
c2571358 18484 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18485 family from helvetica to sans.
18486
18487 * net/newst-plainview.el (newsticker-new-item-face)
18488 (newsticker-old-item-face, newsticker-immortal-item-face)
18489 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18490 (newsticker-statistics-face): Change default family from
42c7e61e 18491 helvetica to sans.
c2571358 18492 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18493 etc/images/newsticker.
18494
5d3385a0
JB
18495 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18496 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18497 auto-marking.
18498
8497a297
DV
184992011-05-13 Didier Verna <didier@xemacs.org>
18500
18501 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18502 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18503 TODO entries.
8497a297
DV
18504 (lisp-lambda-list-keyword-parameter-indentation)
18505 (lisp-lambda-list-keyword-parameter-alignment)
18506 (lisp-lambda-list-keyword-alignment): New customizable user options.
18507 (lisp-indent-defun-method): Improve docstring.
18508 (extended-loop-p): Fix comment.
18509 (lisp-indent-lambda-list-keywords-regexp): New variable.
18510 (lisp-indent-lambda-list): New function.
18511 (lisp-indent-259): Use it.
18512 (lisp-indent-defmethod): Support for more than one
18513 method qualifier and properly indent methods lambda-lists.
18514 (defgeneric): Provide a missing common-lisp-indent-function property.
18515
f278f87f
SM
185162011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18517
18518 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18519 bounds for the empty string (bug#8667).
18520
5233edd7
GM
185212011-05-13 Glenn Morris <rgm@gnu.org>
18522
5237a44f
GM
18523 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18524
8340026c 18525 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18526 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18527
5233edd7 18528 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18529 (appt-time-msg-list): Doc fix.
a5464014 18530 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18531
92d10796
AS
185322011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18533
18534 * progmodes/ld-script.el (ld-script-keywords)
18535 (ld-script-builtins): Update keywords list.
18536
914a0ae1
SM
185372011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18538
c89be45f
SM
18539 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18540
914a0ae1
SM
18541 * shell.el (shell-completion-vars): New function.
18542 (shell-mode):
18543 * simple.el (read-shell-command): Use it.
18544 (blink-matching-open): No need for " [...]" in minibuffer-message.
18545
98dc3df3
GM
185462011-05-12 Glenn Morris <rgm@gnu.org>
18547
18548 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18549 (appt-check): Simplify.
18550
d2fc7e3d 185512011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18552
4d61f28d 18553 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18554 literal "/dev/null".
18555
d2fc7e3d 185562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18557
18558 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18559 Fix typo.
18560
d2fc7e3d 185612011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18562
3f254caa
SM
18563 * progmodes/which-func.el (which-function):
18564 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18565 which might not be defined (Bug#8260).
18566
d45885f7
GM
185672011-05-12 Glenn Morris <rgm@gnu.org>
18568
18569 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18570 Let byte-compile-initial-macro-environment always take precedence.
18571
488086f4
SM
185722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18573
18574 * net/rcirc.el: Add support for SSL/TLS connections.
18575 (rcirc-server-alist): New field `encryption'.
18576 (rcirc): Check `encryption' settings.
18577 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18578 Merge make-local-variable into `set'.
18579 (rcirc--connection-open-p): New function.
18580 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18581 the process is not a network process (e.g. running gnutls-cli).
18582 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18583 Make rcirc-(en|de)code-coding-system local here.
18584 (rcirc-mode): Merge make-local-variable into `set'.
18585 (rcirc-parent-buffer): Make permanent buffer-local.
18586 (rcirc-multiline-minor-mode): Don't do it here.
18587 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18588 there's no server buffer.
18589
7d3b9d44
GM
185902011-05-11 Glenn Morris <rgm@gnu.org>
18591
f64049c6
GM
18592 * newcomment.el (comment-kill): Prefix "unused" local.
18593
93c9df73
GM
18594 * term/w32console.el (get-screen-color): Declare.
18595
7d3b9d44
GM
18596 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18597 Handle symbol elements of byte-compile-initial-macro-environment.
18598
9e2dd53f
LL
185992011-05-10 Leo Liu <sdl.web@gmail.com>
18600
488086f4
SM
18601 * bookmark.el (bookmark-bmenu-mode-map):
18602 Bind bookmark-bmenu-search to `/'.
8b340240 18603
9e2dd53f 18604 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18605 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18606 (Footnote-unicode): New function.
18607 (footnote-style-alist): Add unicode style to the list.
18608 (footnote-style): Doc fix.
9e2dd53f 18609
79b70037
GM
186102011-05-10 Jim Meyering <meyering@redhat.com>
18611
18612 Fix doubled-word typos.
18613 * international/quail.el (quail-insert-kbd-layout): and and -> and
18614 * kermit.el: and and -> and
18615 * net/ldap.el (ldap-search-internal): to to -> to
18616 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18617 * progmodes/js.el (js-mode): and and -> and
18618 * textmodes/artist.el (artist-move-to-xy): at at -> at
18619 (artist-draw-region-trim-line-endings): if if -> if
18620 And Safetyc -> Safety.
18621 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18622
b8f82dc1 186232011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18624 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18625
18626 * files.el (hack-one-local-variable-eval-safep):
18627 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18628
4f99f44b
GM
186292011-05-10 Glenn Morris <rgm@gnu.org>
18630
18631 * calendar/diary-lib.el (diary-list-entries-hook)
18632 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18633 (diary-nongregorian-marking-hook, diary-list-entries)
18634 (diary-include-other-diary-files, diary-mark-entries)
18635 (diary-mark-included-diary-files): Doc fixes.
18636
84f29e6b
JB
186372011-05-09 Juanma Barranquero <lekktu@gmail.com>
18638
18639 * misc.el: Require tabulated-list.el during compilation.
18640
9bedd73a
CY
186412011-05-09 Chong Yidong <cyd@stupidchicken.com>
18642
488086f4
SM
18643 * progmodes/compile.el (compilation-start):
18644 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18645 (compilation-filter-hook): Doc fix.
18646
797c735c
DD
186472011-05-09 Deniz Dogan <deniz@dogan.se>
18648
18649 * wdired.el: Remove outdated installation comment. Fix usage
18650 comment.
18651
5f4b1dfe
JB
186522011-05-09 Juanma Barranquero <lekktu@gmail.com>
18653
18654 * misc.el: Implement new command `list-dynamic-libraries'.
18655 (list-dynamic-libraries--loaded-only-p): New variable.
18656 (list-dynamic-libraries--refresh): New function.
18657 (list-dynamic-libraries): New command.
18658
4c44026c
CY
186592011-05-09 Chong Yidong <cyd@stupidchicken.com>
18660
488086f4
SM
18661 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18662 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18663 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18664 higher priority to avoid clobbering by gnu.
18665
027f966d
CY
186662011-05-08 Chong Yidong <cyd@stupidchicken.com>
18667
18668 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18669 if the face has existing theme settings (Bug#8454).
18670
085f5d7d
CY
186712011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18672
488086f4
SM
18673 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18674 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18675
2a86a00c
RS
18676 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18677 special file names `.' and `..' (Bug#8259).
18678
d9c54a06
CY
186792011-05-08 Chong Yidong <cyd@stupidchicken.com>
18680
488086f4
SM
18681 * progmodes/grep.el (grep-mode-font-lock-keywords):
18682 Remove buffer-changing entries.
d9c54a06
CY
18683 (grep-filter): New function.
18684 (grep-mode): Add it to compilation-filter-hook.
18685
18686 * progmodes/compile.el (compilation-filter-hook)
18687 (compilation-filter-start): New defvars.
18688 (compilation-filter): Call compilation-filter-hook prior to
18689 updating the process mark.
18690
c4662635
SM
186912011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18692
18693 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18694
b0512a1d
EZ
186952011-05-07 Eli Zaretskii <eliz@gnu.org>
18696
605c9376
EZ
18697 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18698 mailclient-send-it even if window-system is nil. (Bug#8595)
18699
c4662635
SM
18700 * term/w32console.el (terminal-init-w32console):
18701 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18702 background-mode. (Bug#8597)
18703
d1dc2cc2
SM
187042011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18705
18706 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18707 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18708 New functions.
18709 (defgeneric, eieio--defmethod): Use them.
18710 (eieio-defgeneric): Remove.
18711 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18712
915d1300
GM
187132011-05-07 Glenn Morris <rgm@gnu.org>
18714
a3961c3e
GM
18715 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18716 Use let rather than let*.
18717 (timeclock-find-discrep): Remove unused local.
18718
314347b9
GM
18719 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18720
915d1300
GM
18721 * calendar/appt.el (appt-time-msg-list): Doc fix.
18722
275b59b0
NF
187232011-05-06 Noah Friedman <friedman@splode.com>
18724
18725 * apropos.el (apropos-print-doc): Only use
18726 emacs-lisp-docstring-fill-column when it is bound to an integer,
18727 per that variable's documentation.
18728
6c19f744
SM
187292011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18730
18731 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18732 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18733
60f884b2
GM
187342011-05-06 Glenn Morris <rgm@gnu.org>
18735
5006e634
GM
18736 * calendar/appt.el (appt-message-warning-time): Doc fix.
18737 (appt-warning-time-regexp): New option.
18738 (appt-make-list): Respect appt-message-warning-time.
18739
548d0a63
GM
18740 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18741 New options.
18742 (diary-add-to-list): Strip comments from the displayed string.
18743 (diary-mode): Set comment-start and comment-end.
18744
60f884b2
GM
18745 * vc/diff-mode.el (smerge-refine-subst): Declare.
18746 (diff-refine-hunk): Don't require smerge-mode when compiling.
18747
989681bb
JB
187482011-05-06 Juanma Barranquero <lekktu@gmail.com>
18749
18750 * simple.el (list-processes): Return nil as the docstring says.
18751
a6bc05e1
MA
187522011-05-05 Michael Albinus <michael.albinus@gmx.de>
18753
18754 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18755 to "".
18756 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18757 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18758 determining of binary transfer. (Bug#7383)
18759
23c22e9a
MA
187602011-05-05 Michael Albinus <michael.albinus@gmx.de>
18761
c4662635
SM
18762 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18763 Fix port computation bug. (Bug#8618)
23c22e9a 18764
0bff894f
GM
187652011-05-05 Glenn Morris <rgm@gnu.org>
18766
b8296902
GM
18767 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18768
1f522ce8
GM
18769 * simple.el (shell-dynamic-complete-functions)
18770 (comint-dynamic-complete-functions): Declare.
18771
cf5bee67
GM
18772 * net/network-stream.el (gnutls-negotiate):
18773 * simple.el (tabulated-list-print): Fix declarations.
18774
18775 * progmodes/gud.el (syntax-symbol, syntax-point):
18776 Remove unnecessary and incorrect declarations.
18777
0bff894f 18778 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18779 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18780
9869b3ae
SM
187812011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18782
18783 Fix earlier half-done eieio-defmethod change (bug#8338).
18784 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18785 Streamline and change calling convention.
18786 (defmethod): Adjust accordingly and simplify.
18787 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18788 new eieio--defmethod.
18789 (slot-boundp): Minor CSE simplification.
18790
9c1d5ac5
MZ
187912011-05-05 Milan Zamazal <pdm@zamazal.org>
18792
18793 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18794 (glasses-make-readable): Use glasses-separate-capital-groups.
18795
455c834e
JB
187962011-05-05 Juanma Barranquero <lekktu@gmail.com>
18797
18798 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18799 (warning-series): Doc fix.
18800 (display-warning): Don't try to create the buffer if we just found it.
18801
9ed7c8cb
CY
188022011-05-04 Chong Yidong <cyd@stupidchicken.com>
18803
18804 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18805 (autoload-find-generated-file): New function.
18806 (generate-file-autoloads): Bind generated-autoload-file to
18807 buffer-file-name.
9869b3ae
SM
18808 (update-file-autoloads, update-directory-autoloads):
18809 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18810 output file (Bug#7989).
18811 (batch-update-autoloads): Doc fix.
18812
0898ca10
JB
188132011-05-04 Juanma Barranquero <lekktu@gmail.com>
18814
18815 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18816
31dfb76c
GM
188172011-05-04 Glenn Morris <rgm@gnu.org>
18818
f330b642
GM
18819 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18820 function, so it follows changes in calendar-date-style.
18821 (diary-fancy-date-matcher): New function.
18822 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18823 (diary-fancy-font-lock-fontify-region-function):
18824 Use diary-fancy-date-pattern as a function.
18825
31dfb76c
GM
18826 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18827 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18828
48e79d6a
TZ
188292011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18830
18831 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18832 instead of positional arguments. Allow :keylist and :crlfiles
18833 arguments.
18834 (open-gnutls-stream): Call it.
18835
18836 * net/network-stream.el (network-stream-open-starttls): Adjust to
18837 call `gnutls-negotiate' with :process and :hostname arguments.
18838
dd5a5ee0
SM
188392011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18840
ef80fc09
SM
18841 * minibuffer.el (completion--message): New function.
18842 (completion--do-completion, minibuffer-complete)
18843 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18844 (completion--do-completion): Don't ignore completion-auto-help when in
18845 icomplete-mode.
18846
dd5a5ee0
SM
18847 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18848 internal encoding (e.g. tibetan zero is not whitespace).
18849 (global-whitespace-mode): Prefer save-current-buffer.
18850 (whitespace-trailing-regexp): Remove useless save-match-data.
18851 (whitespace-empty-at-bob-regexp): Minor simplification.
18852
b7d22a83
CY
188532011-05-03 Chong Yidong <cyd@stupidchicken.com>
18854
18855 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18856
5192af46
AM
188572011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18858
18859 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18860 Use `concat' to create string for insertion.
5192af46 18861
5767d190
SM
188622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18863
18864 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18865 Avoid open-line which runs post-self-insert-hook.
18866 (bibtex-fill-entry): Remove unused `end' var.
18867
bf242939
AM
188682011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18869
5767d190
SM
18870 * textmodes/ispell.el (ispell-add-per-file-word-list):
18871 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18872
25666126
LL
188732011-05-03 Leo Liu <sdl.web@gmail.com>
18874
18875 * isearch.el (isearch-yank-pop): New command.
5767d190 18876 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18877 (isearch-forward): Mention it.
18878
52d3c2d0
SM
188792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18880
1bcace58
SM
18881 * simple.el (minibuffer-complete-shell-command): Remove.
18882 (minibuffer-local-shell-command-map): Use completion-at-point.
18883 (read-shell-command): Setup completion vars here instead.
18884 (read-expression-map): Bind TAB to symbol completion.
18885
52d3c2d0
SM
18886 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18887 error directly rather via storing it into `results'.
18888
35813471
LL
188892011-05-02 Leo Liu <sdl.web@gmail.com>
18890
18891 * vc/diff.el: Fix description.
18892
e793a940
LMI
188932011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18894
18895 * server.el (server-eval-at): New function.
18896
8de66e05
LMI
188972011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18898
18899 * net/network-stream.el (open-network-stream): Take a :nowait
18900 parameter and pass it on to `make-network-process'.
18901 (network-stream-open-plain): Ditto.
18902
dcb79f20
AS
189032011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18904
18905 * faces.el (face-spec-set-match-display): Don't match toolkit
18906 options on terminal frames.
18907
14a7fbd8
SM
189082011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18909
7eabc1be
SM
18910 * progmodes/pascal.el: Use lexical binding.
18911 (pascal-mode-map): Remove author preferences.
18912
14a7fbd8
SM
18913 * pcomplete.el (pcomplete-std-complete): Don't abuse
18914 completion-at-point.
18915
50f84510
JB
189162011-04-28 Juanma Barranquero <lekktu@gmail.com>
18917
6e087a44
JB
18918 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18919 removing code that has been dead since 1991 or so.
18920
50f84510
JB
18921 * startup.el (command-line): When warning about "_emacs", use a
18922 delayed warning to allow the user to filter it out.
18923
0ba690bd
DD
189242011-04-28 Deniz Dogan <deniz@dogan.se>
18925
18926 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18927 user has not joined.
18928
08abfaad
SM
189292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18930
18931 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18932 aren't any completions at point.
18933
638f053a
JB
189342011-04-28 Juanma Barranquero <lekktu@gmail.com>
18935
18936 * subr.el (display-delayed-warnings): New function.
18937 (delayed-warnings-hook): New variable.
18938
8fff8daa
SM
189392011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18940
08abfaad
SM
18941 * minibuffer.el (completion-at-point, completion-help-at-point):
18942 Don't presume that a given completion-at-point-function will always
18943 use the same calling convention.
18944
8fff8daa
SM
18945 * pcomplete.el (pcomplete-completions-at-point):
18946 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18947 pcomplete-seen is non-nil.
18948 (pcomplete-comint-setup): Also recognize the new comint/shell
18949 completion functions.
18950 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18951 pcomplete-seen is non-nil.
18952
841a1577 189532011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18954
841a1577 18955 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18956 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18957 the first character in the entry. This allows for code to add its
211ec907
UJ
18958 own uid to the entry.
18959 (icalendar--convert-float-to-ical): Add export of
18960 `diary-float'-entries save for those with the optional DAY
18961 argument.
18962
2a782793
DC
189632011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18964
18965 * subr.el (shell-quote-argument): Use alternate escaping strategy
18966 when we spot a variable reference in a string.
18967
0438ce91
DC
189682011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18969
18970 * cus-start.el (all): Define customization for debug-on-event.
18971
841a1577 189722011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18973
18974 * subr.el (shell-quote-argument): Escape correctly under Windows.
18975
d090ed6c
SM
189762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18977
18978 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18979
bfd31217
MA
189802011-04-25 Michael Albinus <michael.albinus@gmx.de>
18981
d090ed6c
SM
18982 * net/tramp.el (tramp-process-actions): Add POS argument.
18983 Delete region between POS and (pos).
bfd31217 18984
d090ed6c
SM
18985 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18986 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18987 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18988
18989 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18990 position in `tramp-process-actions' call.
18991
18992 * net/trampver.el: Update release number.
18993
e92f3bd3
SM
189942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18995
850256b5
SM
18996 * custom.el (defcustom): Obey lexical-binding.
18997
e92f3bd3
SM
18998 Fix octave-inf completion problems reported by Alexander Klimov.
18999 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19000 Inherit from octave-mode-syntax-table.
19001 (inferior-octave-mode): Set info-lookup-mode.
19002 (inferior-octave-completion-at-point): New function.
19003 (inferior-octave-complete): Use it and completion-in-region.
19004 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19005 comint-filename-completion.
19006 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19007 symbol elements which shouldn't be word elements.
19008 (octave-font-lock-keywords, octave-beginning-of-defun)
19009 (octave-function-header-regexp): Adjust regexps accordingly.
19010 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19011
cd22b309
JB
190122011-04-25 Juanma Barranquero <lekktu@gmail.com>
19013
19014 * net/gnutls.el (gnutls-errorp): Declare before first use.
19015
8b492194
TZ
190162011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19017
19018 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19019 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19020 default trustfile exists before going to use it. Add missing
5a5fa834 19021 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19022 Reported by Claudio Bley <claudio.bley@gmail.com>.
19023 (open-gnutls-stream): Add usage example.
19024
19025 * net/network-stream.el (network-stream-open-starttls): Give host
19026 parameter to `gnutls-negotiate'.
19027 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19028 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19029
841a1577 190302011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19031
cd22b309
JB
19032 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19033 Use correct match group (bug#8438).
05842630 19034
3ba7869c
CY
190352011-04-24 Chong Yidong <cyd@stupidchicken.com>
19036
512e3ae1
CY
19037 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19038 (package-menu--generate): New arg specifying packages to show.
19039 (package-menu-refresh, package-menu-execute, list-packages):
19040 Callers changed.
19041 (package-show-package-list): New function, replacing deleted
19042 package--list-packages (renamed because it is non-internal).
19043
19044 * finder.el (finder-list-matches): Use package-show-package-list
19045 instead of deleted package--list-packages.
19046
e92f3bd3
SM
19047 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19048 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19049 (vc-annotate-mode-map): Bind it to RET.
19050
7031be6d
UR
190512011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19052
19053 * progmodes/etags.el (next-file): Don't use set-buffer to change
19054 buffers (Bug#8478).
19055
4ef177aa
CY
190562011-04-24 Chong Yidong <cyd@stupidchicken.com>
19057
c8d173eb
CY
19058 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19059
4ef177aa
CY
19060 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19061 (apropos-accumulator): Doc fix.
19062 (apropos-function, apropos-macro, apropos-command)
19063 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19064 (apropos-plist): Add face property.
19065 (apropos-symbols-internal): Fix indentation.
19066 (apropos-print): Simplify help, and recognize apropos-multi-type.
19067 (apropos-print-doc): Use button-type-get to extract the button's
19068 face property. Fill docstring (Bug#8352).
19069
4ffd0d6b 190702011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19071
19072 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19073
c6c32125 19074 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19075 (mpuz-mode-map): Use mapc.
c6c32125
JB
19076 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19077 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19078 Fix typos in docstrings.
19079
58d468b4
JB
19080 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19081 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19082
6470c3c6
JB
19083 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19084
4ffd0d6b 190852011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19086
19087 * minibuffer.el (completion--do-completion): Avoid the "Next char
19088 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19089
3ad8bad0
CY
19090 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19091 mouse-2 into unread-command-events, it is interpreted correctly.
19092
71d73c9c 19093 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19094 (image-toggle-display): Doc fix.
71d73c9c 19095
841a1577 190962011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19097
4ffd0d6b
GM
19098 * textmodes/page.el (what-page): Use line-number-at-pos to
19099 calculate line number (Bug#6825).
6e1dbaa9 19100
c2fb1b60
JB
191012011-04-22 Juanma Barranquero <lekktu@gmail.com>
19102
19103 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19104 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19105 Pass argument NO-DEFAULT to `find-tag-interactive'.
19106
e02f48d7
JB
191072011-04-22 Juanma Barranquero <lekktu@gmail.com>
19108
19109 Lexical-binding cleanup.
19110
19111 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19112 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19113 * progmodes/ada-prj.el (ada-prj-initialize-values)
19114 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19115 (ada-prj-show-value):
19116 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19117 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19118 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19119 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19120 * progmodes/bug-reference.el (bug-reference-push-button):
19121 * progmodes/fortran.el (fortran-line-length):
19122 * progmodes/glasses.el (glasses-change):
19123 * progmodes/octave-mod.el (octave-fill-paragraph):
19124 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19125 (python-pdbtrack-grub-for-buffer, python-sentinel):
19126 * progmodes/sql.el (sql-save-connection):
19127 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19128 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19129 Mark unused parameters.
19130
19131 * progmodes/compile.el (compilation--flush-directory-cache)
19132 (compilation--flush-parse, compile-internal): Mark unused parameters.
19133 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19134 (compilation-next-error-function): Remove unused variable `timestamp'.
19135
19136 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19137 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19138
19139 * progmodes/dcl-mode.el (dcl-end-of-command):
19140 Remove unused variable `start'.
19141 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19142 (dcl-option-value-basic, dcl-option-value-offset)
19143 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19144 Mark unused parameters.
19145 (dcl-save-local-variable): Remove unused variable `val'.
19146 (mode): Declare.
19147
19148 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19149 Mark unused parameters.
19150 (delphi-ignore-changes): Move before first use.
19151 (delphi-charset-token-at): Remove unused variable `start'.
19152 (delphi-else-start): Remove unused variable `if-count'.
19153 (delphi-comment-block-start, delphi-comment-block-end):
19154 Remove unused variable `kind'.
19155 (delphi-indent-line): Remove unused variable `new-point'.
19156
19157 * progmodes/ebrowse.el (ebrowse-files-list)
19158 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19159 Mark unused parameters. Don't quote `lambda'.
19160 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19161 Don't quote `lambda'.
19162 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19163 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19164 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19165 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19166 Use `ignore-errors'.
19167 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19168 (ebrowse-view/find-file-and-search-pattern)
19169 (ebrowse-view/find-member-declaration/definition):
19170 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19171 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19172 Rename parameter PREFIX-ARG to PREFIX.
19173 (ebrowse-tags-read-name): Remove unused variables `start' and
19174 `member-info'.
19175 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19176 to `tags-file'.
19177
19178 * progmodes/etags.el (local-find-tag-hook): Declare.
19179 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19180 Mark unused parameters.
19181
19182 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19183 (executable-interpret): Mark unused parameter.
19184
19185 * progmodes/flymake.el (flymake-process-sentinel)
19186 (flymake-after-change-function)
19187 (flymake-create-temp-with-folder-structure)
19188 (flymake-get-include-dirs-dot): Mark unused parameters.
19189 (flymake-safe-delete-directory): Remove unused variable `err'.
19190
19191 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19192 (speedbar-timer-fn, speedbar-line-text)
19193 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19194 (speedbar-center-buffer-smartly): Declare functions.
19195 (gdb-find-watch-expression): Remove unused variable `array'.
19196 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19197 (gdb-starting): Mark unused parameters.
19198 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19199 (gdb-table-string): Remove unused variable `res'.
19200 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19201 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19202 (gdb-display-buffer): Remove unused variable `cur-size'.
19203
19204 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19205 allow lexical-binding compilation.
19206 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19207 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19208 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19209 Mark unused parameters.
19210 (gud-gdb-marker-filter): Remove unused variable `match'.
19211 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19212 lambda expressions and funcall them, instead of using `fset'.
19213
19214 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19215 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19216
19217 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19218 variable `header-beg'; use `let'.
19219
19220 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19221 `restart', `last-sexp' and `at-do'.
19222
19223 * progmodes/js.el (js--debug): Mark unused parameter.
19224 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19225 (js--splice-into-items): Remove unused variable `item'.
19226 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19227
19228 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19229 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19230 (makefile-complete): Remove unused variable `try'.
19231 (makefile-fill-paragraph, makefile-match-function-end):
19232 Mark unused parameters.
19233
19234 * progmodes/octave-inf.el (inferior-octave-complete):
19235 Remove unused variable `proc'.
19236 (inferior-octave-output-digest): Mark unused parameter.
19237
19238 * progmodes/perl-mode.el (perl-calculate-indent):
19239 Remove unused variable `err'.
19240
19241 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19242 (prolog-indent-line): Mark unused parameters.
19243 (prolog-indent-line): Remove unused variable `beg'.
19244
19245 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19246 (reporter-dont-compact-list): Declare.
19247
19248 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19249 Remove unused variable `char'.
19250 (sh-debug): Mark unused parameter.
19251 (sh-get-indent-info): Remove unused variable `start'.
19252 (sh-calculate-indent): Remove unused variable `var'.
19253
19254 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19255 (simula-electric-keyword): Remove unused variable `null'.
19256 (simula-search-backward, simula-search-forward): Remove unused
19257 variables `begin' and `end'.
19258
19259 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19260 Remove unused variable `pos'.
19261 (vera-electric-tab, vera-comment-uncomment-region):
19262 Mark unused parameters.
19263 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19264
7ede3b65
CY
192652011-04-22 Chong Yidong <cyd@stupidchicken.com>
19266
19267 * emacs-lisp/package.el (package--builtins, package-alist)
19268 (package-load-descriptor, package-built-in-p, package-activate)
19269 (define-package, package-installed-p)
19270 (package-compute-transaction, package-buffer-info)
19271 (package--push): Doc fix. Distinguish more clearly between
19272 version strings and version lists.
19273
121656e9
JB
192742011-04-21 Juanma Barranquero <lekktu@gmail.com>
19275
19276 Lexical-binding cleanup.
19277
19278 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19279 (5x5-make-mutate-best):
19280 * play/fortune.el (fortune-in-buffer):
19281 * play/gomoku.el (gomoku-init-display):
19282 * play/solitaire.el (solitaire, solitaire-do-check):
19283 * play/tetris.el (tetris-default-update-speed-function):
19284 Mark unused parameters.
19285
19286 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19287 (bubbles--shift): Remove unused variable `char-org'.
19288 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19289 (bubbles--show-images): Remove unused variable `char'.
19290
19291 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19292 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19293 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19294 (decipher-analyze-buffer): Use ?\s.
19295 (decipher-make-checkpoint): Remove unused variable `mapping'.
19296
19297 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19298
19299 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19300 Remove unused variable `result'; use `let'.
19301
19302 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19303 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19304 (gametree-children-shown-p, gametree-compute-reduced-score):
19305 Use `ignore-errors'.
19306
19307 * play/handwrite.el (ps-lpr-switches): Declare.
19308 (handwrite): Remove unused variables `pmin' and `lastp'.
19309
19310 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19311
19312 * play/landmark.el (landmark-init-display)
19313 (landmark-update-naught-weights): Mark unused parameters.
19314 (landmark-y): Remove unused variable `noise'. Simplify.
19315 (landmark-human-plays): Remove unused variable `score'.
19316
19317 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19318 (mpuz-try-proposal): Remove unused variable `game'.
19319
19320 * play/zone.el (life-patterns): Declare.
19321
80f499c7
JB
193222011-04-20 Juanma Barranquero <lekktu@gmail.com>
19323
19324 * vc/vc.el (ediff-vc-internal): Declare function.
19325
024ff170
SM
193262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19327
c0a193ea
SM
19328 * shell.el: Use lexical-binding and std completion UI.
19329 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19330 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19331 comint-preoutput-filter-functions rather than on
19332 comint-output-filter-functions.
19333 (shell-command-completion, shell--command-completion-data)
19334 (shell-filename-completion, shell-environment-variable-completion)
19335 (shell-c-a-p-replace-by-expanded-directory): New functions.
19336 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19337 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19338 (shell-dynamic-complete-environment-variable): Use them.
19339 (shell-dynamic-complete-as-environment-variable)
19340 (shell-dynamic-complete-as-command): Remove.
19341 (shell-match-partial-variable): Match past point.
19342 * comint.el: Clean up use of completion-at-point-functions.
19343 (comint-completion-at-point): New function.
19344 (comint-mode): Use it completion-at-point-functions.
19345 (comint-dynamic-complete): Make it obsolete.
19346 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19347 (comint-c-a-p-replace-by-expanded-history): New function.
19348 (comint-dynamic-complete-functions)
19349 (comint-replace-by-expanded-history): Use it.
19350 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19351 termination strings. Try harder to avoid second try-completion.
19352 (completion-in-region-mode-map): Disable bindings that don't work yet.
19353
2dbaa080
SM
19354 * comint.el: Use lexical-binding. Require CL.
19355 (comint-dynamic-complete-functions): Use comint-filename-completion.
19356 (comint-completion-addsuffix): Tweak custom type.
19357 (comint-filename-completion, comint--common-suffix)
19358 (comint--common-quoted-suffix, comint--table-subvert)
19359 (comint--complete-file-name-data): New functions.
19360 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19361 (comint-dynamic-list-filename-completions): Use them.
19362 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19363
2dbaa080
SM
19364 * minibuffer.el (completion-in-region-mode):
19365 Keep completion-in-region-mode--predicate global.
19366 (completion-in-region--postch):
19367 Assume completion-in-region-mode--predicate is not null.
19368
c79a6f38
SM
19369 * progmodes/flymake.el (flymake-start-syntax-check-process):
19370 Obey `dir'. Simplify.
19371
024ff170
SM
19372 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19373 we're in VC after all.
19374
1c6c854e
CS
193752011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19376
19377 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19378 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19379 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19380
bed7f140
SM
193812011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19382
332e62ab
SM
19383 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19384 add sanity check.
19385
bed7f140
SM
19386 * obsolete/erc-hecomplete.el: Make obsolete.
19387 * obsolete/: Standardize obsolescence info in the header.
19388
f195c582
GM
193892011-04-20 Glenn Morris <rgm@gnu.org>
19390
19391 * calendar/solar.el (solar-horizontal-coordinates):
19392 Use the longitude argument rather than `calendar-longitude'.
19393 (solar-date-next-longitude): Remove unused locals.
19394
cb79b8c0
VJL
193952011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19396
19397 * whitespace.el: New version 13.2.1.
19398
193992011-04-20 felix <EmacsWiki> (tiny change)
19400
d8e4b68b 19401 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19402 switching between major modes on a file.
19403
602ea69d
SM
194042011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19405
19406 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19407 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19408 multi-line comments as well.
19409
06b60517
JB
194102011-04-19 Juanma Barranquero <lekktu@gmail.com>
19411
19412 Lexical-binding cleanup.
19413
19414 * arc-mode.el (archive-mode-revert):
19415 * cmuscheme.el (scheme-interactively-start-process):
19416 * custom.el (custom-initialize-delay):
19417 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19418 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19419 * emacs-lock.el (emacs-lock-clear-sentinel):
19420 * ezimage.el (defezimage):
19421 * follow.el (follow-avoid-tail-recenter):
19422 * fringe.el (set-fringe-mode-1):
19423 * generic-x.el (bat-generic-mode-compile):
19424 * help-mode.el (help-info-variable, help-do-xref)
19425 (help-mode-revert-buffer):
19426 * help.el (view-emacs-todo):
19427 * iswitchb.el (iswitchb-completion-help):
19428 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19429 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19430 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19431 * locate.el (locate-update):
19432 * longlines.el (longlines-encode-region)
19433 (longlines-after-change-function):
19434 * outline.el (outline-isearch-open-invisible):
19435 * ps-def.el (declare-function, charset-dimension, char-width)
19436 (encode-char):
19437 * ps-mule.el (ps-mule-plot-string):
19438 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19439 (recentf-edit-list-select, recentf-edit-list-validate)
19440 (recentf-open-files-action):
19441 * rect.el (delete-whitespace-rectangle-line)
19442 (rectangle-number-line-callback):
19443 * register.el (window-configuration-to-register)
19444 (frame-configuration-to-register):
19445 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19446 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19447 (xselect-convert-to-targets, xselect-convert-to-delete)
19448 (xselect-convert-to-filename, xselect-convert-to-charpos)
19449 (xselect-convert-to-lineno, xselect-convert-to-colno)
19450 (xselect-convert-to-os, xselect-convert-to-host)
19451 (xselect-convert-to-user, xselect-convert-to-class)
19452 (xselect-convert-to-name, xselect-convert-to-integer)
19453 (xselect-convert-to-atom, xselect-convert-to-identity):
19454 * subr.el (declare, ignore, process-kill-without-query)
19455 (text-clone-maintain):
19456 * terminal.el (te-get-char, te-tic-sentinel):
19457 * tool-bar.el (tool-bar-make-keymap):
19458 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19459 * type-break.el (type-break-mode, type-break-noninteractive-query):
19460 * view.el (View-back-to-mark):
19461 * wid-browse.el (widget-browse-action, widget-browse-widget)
19462 (widget-browse-widgets, widget-browse-sexp):
19463 * widget.el (define-widget-keywords):
19464 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19465 Mark unused parameters.
19466
19467 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19468 (align-areas): Remove unused variable `look'.
19469 (align-region): Remove unused variables `real-end' and `pos-list'.
19470
19471 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19472
19473 * bindings.el (mode-line-modified, mode-line-remote):
19474 Mark unused parameters.
19475 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19476
19477 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19478 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19479
19480 * comint.el (comint-history-isearch-pop-state)
19481 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19482 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19483 (comint-substitute-in-file-name): Doc fix.
19484
19485 * completion.el (cmpl-statistics-block): Mark unused parameter.
19486 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19487 (save-completions-to-file, load-completions-from-file):
19488 Remove unused local variable `e'.
19489
19490 * composite.el (compose-chars): Remove unused variable `len'.
19491 (lgstring-insert-glyph): Remove unused variable `g'.
19492 (compose-glyph-string): Remove unused variables `ascent',
19493 `descent', `lbearing' and `rbearing'.
19494 (compose-glyph-string-relative): Remove unused variables
19495 `lbearing', `rbearing' and `wadjust'.
19496 (compose-gstring-for-graphic): Remove unused variables `header',
19497 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19498 (compose-gstring-for-terminal): Remove unused variables `header'
19499 and `nchars'. Use `let', not `let*'.
19500
19501 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19502 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19503 (Custom-buffer-done, custom-buffer-create-internal)
19504 (custom-browse-visibility-action, custom-browse-group-tag-action)
19505 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19506 (widget-magic-mouse-down-action, custom-toggle-parent)
19507 (custom-add-parent-links, custom-toggle-hide-variable)
19508 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19509 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19510 (custom-face-menu-create, custom-variable-menu-create, get)
19511 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19512 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19513 (customize-apropos): Remove unused variable `tests'.
19514 (custom-group-value-create): Remove unused variable `hidden-p'.
19515 (sort-fold-case): Declare.
19516
19517 * cus-theme.el (custom-reset-standard-faces-list)
19518 (custom-reset-standard-variables-list): Declare.
19519 (customize-create-theme, custom-theme-revert, custom-theme-write)
19520 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19521 Mark unused parameters.
19522
19523 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19524
19525 * delim-col.el (delimit-columns-max): Move defvar before first use.
19526
19527 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19528 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19529
19530 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19531 (auto-insert): Declare.
19532 (desktop-restore-file-buffer): Rename desktop-* parameters;
19533 mark unused ones.
19534 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19535 (desktop-buffer): Rename desktop-* parameters.
19536
19537 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19538 (dframe-reposition-frame-xemacs, dframe-help-echo)
19539 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19540 Mark unused parameters.
19541
19542 * dired-aux.el (backup-extract-version-start, overwrite-query)
19543 (overwrite-backup-query, rename-regexp-query)
19544 (rename-non-directory-query): Declare.
19545 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19546 (dired-add-entry): Remove unused variable `orig-file-name'.
19547 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19548 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19549 `dired-copy-preserve-time' directly.
19550 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19551 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19552
19553 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19554 (dired-virtual-revert, dired-make-relative-symlink):
19555 Mark unused parameters.
19556 (manual-program): Declare.
19557 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19558 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19559 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19560
19561 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19562
19563 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19564
19565 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19566 Declare.
19567
19568 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19569
19570 * electric.el (Electric-command-loop): Rename parameter
19571 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19572
19573 * expand.el (expand-in-literal): Remove unused variable `here'.
19574
19575 * facemenu.el (facemenu-add-new-color):
19576 Remove unused variable `docstring'.
19577
19578 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19579 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19580 (face-attr-construct): Mark unused parameter. Doc fix.
19581 (read-color): Remove unused variable `hex-string'.
19582
19583 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19584 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19585 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19586 (display-buffer-other-frame): Remove unused variable `old-window'.
19587 (kill-buffer-hook): Declare.
19588 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19589 Mark unused parameters.
19590 (after-find-file): Pass 1 to `auto-save-mode', not t.
19591
19592 * files-x.el (auto-insert): Declare.
19593 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19594
19595 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19596 variable `buf'. Mark unused parameter.
06b60517
JB
19597 (find-lisp-insert-directory): Mark unused parameter.
19598
19599 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19600 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19601 (format-common-tail): Remove, unused.
19602 (format-deannotate-region): Remove unused variable `loc'.
19603 (format-annotate-region): Remove unused variable `p'.
19604 (format-annotate-single-property-change): Remove unused variables
19605 `default' and `tail'.
19606
19607 * forms.el (read-file-filter): Declare.
19608 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19609
19610 * frame.el (frame-creation-function-alist): Mark unused parameter.
19611 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19612
19613 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19614 Remove unused parameters.
19615 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19616 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19617
19618 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19619 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19620 (hfy-prepare-tag-map): Mark unused parameters.
19621 (htmlfontify-buffer): Use `called-interactively-p'.
19622
19623 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19624 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19625 (ibuffer-do-occur): Mark unused parameters.
19626 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19627 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19628
19629 * ibuffer.el: Don't quote `lambda'.
19630 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19631 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19632 Mark unused parameters.
19633
19634 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19635 (ido-completing-read): Mark unused parameters.
19636 (ido-copy-current-word): Mark unused parameters;
19637 remove unused variable `name'.
19638 (ido-sort-merged-list): Remove unused parameter `dirs'.
19639
19640 * ielm.el (ielm-input-sender): Mark unused parameter.
19641 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19642 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19643 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19644 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19645 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19646
19647 * image-dired.el (image-dired-display-thumbs): Remove unused
19648 variables `curr-file' and `count'.
19649 (image-dired-remove-tag): Remove unused variable `start'.
19650 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19651 variable `curr-file'
19652 (image-dired-rotate-original): Remove unused variable `temp-file'.
19653 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19654 Remove unused variable `file'.
19655 (image-dired-gallery-generate): Remove unused variable `curr'.
19656 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19657
19658 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19659
19660 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19661
19662 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19663
19664 * isearch.el (minibuffer-history-symbol): Declare.
19665 (isearch-edit-string): Remove unused variable `err'.
19666 (isearch-message-prefix, isearch-message-suffix):
19667 Mark unused parameters.
19668
19669 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19670
19671 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19672
19673 * makesum.el (double-column): Remove unused variable `cnt'.
19674
19675 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19676 (ido-ignore-item-temp-list): Declare.
19677
19678 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19679 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19680 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19681 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19682 `mouse-col-delta'.
19683
19684 * mouse-sel.el (mouse-extend-internal):
19685 Remove unused variable `orig-window-frame'.
19686
19687 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19688 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19689 Move declarations before first use.
19690 (pcomplete-opt): Mark unused parameters; doc fix.
19691
19692 * proced.el (proced-revert): Mark unused parameter.
19693 (proced-send-signal): Remove unused variable `err'.
19694
19695 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19696 Rename parameter PREFIX-ARG to ARG.
19697 (ps-basic-plot-string, ps-basic-plot-whitespace):
19698 Mark unused parameters.
19699
19700 * replace.el (replace-count): Define.
19701 (occur-revert-function): Mark unused parameters.
19702 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19703 (isearch-case-fold-search, isearch-string): Declare.
19704 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19705 bind `case-fold-search'. Remove unused variables `beg' and `end',
19706 and simplify.
19707 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19708 COUNT and bind `replace-count'.
19709 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19710 to COUNT.
19711
19712 * savehist.el (print-readably, print-string-length): Declare.
19713
19714 * shadowfile.el (shadow-expand-cluster-in-file-name):
19715 Remove unused variable `cluster'.
19716 (shadow-copy-file): Remove unused variable `i'.
19717 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19718 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19719 (shadow-define-literal-group, shadow-define-regexp-group)
19720 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19721
19722 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19723 (shell): Use `called-interactively-p'.
19724 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19725
19726 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19727 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19728 (delete-backward-char): Remove unused variable `ocol'.
19729 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19730 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19731 (event-apply-hyper-modifier, event-apply-shift-modifier)
19732 (event-apply-control-modifier, event-apply-meta-modifier):
19733 Mark unused parameters.
19734 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19735 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19736
19737 * speedbar.el (speedbar-ignored-directory-expressions)
19738 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19739 (speedbar-find-file, speedbar-dir-follow)
19740 (speedbar-directory-buttons-follow, speedbar-tag-find)
19741 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19742 (speedbar-buffers-line-directory, speedbar-buffer-click):
19743 Mark unused parameters.
19744 (speedbar-tag-file): Remove unused variable `mode'.
19745 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19746
19747 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19748
19749 * talk.el (talk): Remove unused variable `display'.
19750
19751 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19752 (tar-write-region-annotate): Mark unused parameter.
19753
19754 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19755 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19756 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19757 warning by another.
19758
19759 * time-stamp.el (time-stamp-string-preprocess):
19760 Remove unused variable `require-padding'.
19761
19762 * tree-widget.el (widget-glyph-enable): Declare.
19763 (tree-widget-action): Mark unused parameter.
19764
19765 * w32-fns.el (x-get-selection): Mark unused parameter.
19766 (autoload-make-program, generated-autoload-file): Declare.
19767
19768 * wdired.el (wdired-revert): Mark unused parameters.
19769 (wdired-xcase-word): Remove unused variable `err'.
19770
19771 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19772 (whitespace-help-scroll): Remove unused variable `data-help'.
19773
19774 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19775 (widget-image-insert, widget-after-change, default)
19776 (widget-default-format-handler, widget-default-notify)
19777 (widget-default-prompt-value, widget-info-link-action)
19778 (widget-url-link-action, widget-function-link-action)
19779 (widget-variable-link-action, widget-file-link-action)
19780 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19781 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19782 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19783 (widget-insert-button-action, widget-delete-button-action, visibility)
19784 (widget-documentation-link-action, widget-documentation-string-action)
19785 (widget-const-prompt-value, widget-regexp-match, symbol)
19786 (widget-coding-system-prompt-value)
19787 (widget-key-sequence-value-to-external, sexp)
19788 (widget-sexp-value-to-internal, character, vector, cons)
19789 (widget-choice-prompt-value, widget-boolean-prompt-value)
19790 (widget-color--choose-action): Mark unused parameters.
19791 (widget-item-match-inline, widget-choice-match-inline)
19792 (widget-checklist-match, widget-checklist-match-inline)
19793 (widget-group-match): Rename parameter VALUES to VALS.
19794 (widget-field-value-set): Remove unused variable `size'.
19795 (widget-color-action): Remove unused variables `value' and `start'.
19796
19797 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19798 variable `dir'. Doc fix.
06b60517
JB
19799 (windmove-find-other-window): Don't pass it.
19800
19801 * window.el (count-windows): Mark unused parameter.
19802 (bw-adjust-window): Remove unused variable `err'.
19803
19804 * woman.el (woman-file-name): Remove unused variable `default'.
19805 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19806 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19807 (global-font-lock-mode): Declare.
19808 (woman-decode-region): Mark unused parameter.
19809 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19810
19811 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19812 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19813 (x-dnd-handle-moz-url): Remove unused variable `title'.
19814 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19815
19816 * xml.el (xml-parse-tag, xml-parse-attlist):
19817 Remove unused variable `pos'.
19818
bc4f7f3d
GM
198192011-04-19 Glenn Morris <rgm@gnu.org>
19820
19821 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19822 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19823 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19824 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19825 * calendar/cal-html.el (cal-html-insert-minical):
19826 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19827 (calendar-mark-date-pattern):
19828 Prefix "unused" locals.
19829
19830 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19831 optional argument `style'.
19832
19833 * calendar/appt.el (appt-make-list):
19834 * calendar/cal-china.el (calendar-chinese-date-string):
19835 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19836 (diary-hebrew-yahrzeit):
19837 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19838 * calendar/calendar.el (calendar-generate-window):
19839 * calendar/time-date.el (time-to-days):
19840 Remove unused local variables.
19841
16a43933
CY
198422011-04-18 Chong Yidong <cyd@stupidchicken.com>
19843
19844 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19845 glyphless-char-display table.
19846 (tabulated-list-glyphless-char-display): New var.
19847
7eed1860
SS
198482011-04-18 Sam Steingold <sds@gnu.org>
19849
19850 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19851 to acknowledgments.
19852
4d2d1ccd
GM
198532011-04-17 Glenn Morris <rgm@gnu.org>
19854
19855 * calendar/diary-lib.el (diary-sexp-entry):
19856 * calendar/holidays.el (holiday-sexp):
19857 Set debug-on-error rather than the removed stack-trace-on-error.
19858
239da61d
GM
198592011-04-16 Glenn Morris <rgm@gnu.org>
19860
19861 * progmodes/f90.el: Use lexical-binding.
19862 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19863
8b05752a
SM
198642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19865
daca8ba5
SM
19866 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19867 (mail-mode): Setup mailalias completion here instead.
19868 * mail/mailalias.el: Use lexical-binding.
19869 (pattern, mailalias-done): Declare dynamic.
19870 (mail-completion-at-point-function): New function, from mail-complete.
19871 (mail-complete): Use it.
19872 (mail-completion-expand): New function.
19873 (mail-get-names): Use it.
19874 (mail-directory, mail-directory-process, mail-directory-stream):
19875 Don't use `pattern' for lexically bound arg.
19876
6f542485
SM
19877 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19878
037e7c3f
SM
19879 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19880 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19881 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19882
8b05752a
SM
19883 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19884 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19885 (byte-interactive-p): Define them again, for use when inlining
19886 old code.
19887
49093f60
JB
198882011-04-15 Juanma Barranquero <lekktu@gmail.com>
19889
19890 * loadup.el: Use `string-to-number', not `string-to-int'.
19891
b5b8e7de
SM
198922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19893
19894 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19895 gud-gdb-complete-command.
19896 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19897 (gud-gdb-completion-at-point): New function.
19898 (gud-gdb-completions): Remove.
19899
f42efeb5
MA
199002011-04-14 Michael Albinus <michael.albinus@gmx.de>
19901
49093f60
JB
19902 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19903 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19904 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19905 whether `executable-find' is bound.
f42efeb5
MA
19906
19907 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19908
e240cc21
SM
199092011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19910
19911 * minibuffer.el (completion-in-region-mode-predicate)
19912 (completion-in-region-mode--predicate): New vars.
19913 (completion-in-region, completion-in-region--postch)
19914 (completion-in-region-mode): Use them.
19915 (completion--capf-wrapper): Also return the hook function.
19916 (completion-at-point, completion-help-at-point):
19917 Adjust and provide a predicate.
c2bd2ab0
SM
19918
19919 Preserve arg names for advice of subr and lexical functions (bug#8457).
19920 * help-fns.el (help-function-arglist): Consolidate the subr and
19921 new-byte-code cases. Add argument `preserve-names' to extract names
19922 from the docstring when needed.
19923 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19924 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19925 (ad-arglist): Use help-function-arglist's new arg.
19926 (ad-definition-type): Use cond.
19927
c183f693
JB
199282011-04-13 Juanma Barranquero <lekktu@gmail.com>
19929
06641a47
JB
19930 * autorevert.el (auto-revert-handler):
19931 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19932 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19933 Don't quote lambda.
19934
c183f693
JB
19935 * image-mode.el (image-transform-set-scale):
19936 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19937
1e3b6001
G
199382011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19939
19940 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19941 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19942 Upgrades via gnutls-cli are too slow to be done opportunistically.
19943
2d6af8dd
JB
199442011-04-12 Juanma Barranquero <lekktu@gmail.com>
19945
19946 * dframe.el (dframe-current-frame): Remove spurious quote.
19947
c0749a51
GM
199482011-04-12 Glenn Morris <rgm@gnu.org>
19949
088d0d61
GM
19950 * calendar/cal-tex.el (cal-tex-end-document):
19951 Try to automatically use latin1 input if needed.
19952
c0749a51
GM
19953 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19954 Don't try to cons a mark onto an empty element.
19955
5c90fde0
LL
199562011-04-11 Leo Liu <sdl.web@gmail.com>
19957
19958 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19959 buffers.
19960 (ido-kill-buffer-at-head): Support killing virtual buffers.
19961
369e974d
CY
199622011-04-10 Chong Yidong <cyd@stupidchicken.com>
19963
19964 * minibuffer.el (completion-show-inline-help): New var.
19965 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19966 (minibuffer-force-complete, minibuffer-complete-word):
19967 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19968
19969 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19970 to avoid interference from inline help (Bug#5849).
19971
37f1c930
LL
199722011-04-10 Leo Liu <sdl.web@gmail.com>
19973
099c39a4
JB
19974 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19975 Fix typo.
37f1c930 19976
a32d4040
CY
199772011-04-09 Chong Yidong <cyd@stupidchicken.com>
19978
19979 * image-mode.el (image-toggle-display-image): Signal an error if
19980 not in Image mode.
19981 (image-transform-mode, image-transform-resize)
19982 (image-transform-set-rotation): Doc fix.
daca8ba5 19983 (image-transform-set-resize): Delete.
a32d4040
CY
19984 (image-transform-set-scale, image-transform-fit-to-height)
19985 (image-transform-fit-to-width): Handle image-toggle-display-image
19986 and image-transform-resize directly.
19987
099c39a4 199882011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19989
19990 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19991 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19992 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19993 (doc-view-mode-map): Add bindings for the new functions.
19994
099c39a4 199952011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19996
4d61f28d 19997 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19998 Fix typo in docstring.
19999
3726838a
EZ
200002011-04-08 Eli Zaretskii <eliz@gnu.org>
20001
04f33f1e
EZ
20002 * files.el (file-size-human-readable): Produce one digit after
20003 decimal, like "ls -lh" does.
20004
20005 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20006 the file size representation.
20007
3726838a
EZ
20008 * simple.el (list-processes): If async subprocesses are not
20009 available, error out with a clear error message.
20010
cbb59342
CY
200112011-04-08 Chong Yidong <cyd@stupidchicken.com>
20012
20013 * help.el (help-form-show): New function, to be called from C.
20014 Put help-form output in a buffer named differently than *Help*.
20015
e3971c44
EZ
200162011-04-08 Eli Zaretskii <eliz@gnu.org>
20017
20018 * files.el (file-size-human-readable): New function.
20019
20020 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20021 computing the representation inline. Don't require `cl'.
20022
12544bbe
GM
200232011-04-08 Glenn Morris <rgm@gnu.org>
20024
a1de6c6a
GM
20025 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20026
3c4671f4
GM
20027 * net/browse-url.el (browse-url-firefox):
20028 Test system-type, not system-configuration.
20029
b605679c
GM
20030 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20031 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20032 Use log-edit-empty-buffer-p. (Bug#7598)
20033
56442f0c
GM
20034 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20035 (rlogin-mode-map): Initialize in the defvar.
20036 (rlogin): Use ignore-errors.
20037
12544bbe
GM
20038 * replace.el (occur-mode-map): Some fixes for menu items.
20039
eb237b0f
AH
200402011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20041
20042 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20043
7d668f2c
CY
200442011-04-06 Chong Yidong <cyd@stupidchicken.com>
20045
e67a13ab
CY
20046 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20047 issuing unused warnings.
20048
20049 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20050 macro directly.
20051
7d668f2c
CY
20052 * simple.el: Lisp reimplement of list-processes. Based on an
20053 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20054 (process-menu-mode): New major mode.
20055 (list-processes--refresh, list-processes):
20056 (process-menu-visit-buffer): New functions.
20057
20058 * files.el (save-buffers-kill-emacs): Don't assume any return
20059 value of list-processes, which is undocumented anyway.
20060
a83ec3c9
CY
200612011-04-06 Chong Yidong <cyd@stupidchicken.com>
20062
20063 * emacs-lisp/tabulated-list.el: New file.
20064
e91a96fe
CY
20065 * emacs-lisp/package.el: Use Tabulated List mode.
20066 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20067 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20068 table format using Tabulated List mode variables.
20069 (package--push): New macro, replacing package-list-maybe-add.
20070 (package-menu--generate): Use package--push. Renamed from
20071 package--generate-package-list.
20072 (package-menu-refresh, list-packages): Use it.
daca8ba5 20073 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20074 Return insertion data instead of inserting it directly.
099c39a4
JB
20075 (package-menu-describe-package, package-menu-execute):
20076 Use tabulated-list-get-id.
e91a96fe
CY
20077 (package-menu-mark-delete, package-menu-mark-install)
20078 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20079 (package-menu-mark-obsolete-for-deletion):
20080 Use tabulated-list-put-tag.
e91a96fe
CY
20081 (package--list-packages, package-menu-revert)
20082 (package-menu-get-package, package-menu-get-version)
20083 (package-menu-sort-by-column): Functions deleted.
20084 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20085 (package-menu--status-predicate, package-menu--version-predicate)
20086 (package-menu--name-predicate)
20087 (package-menu--description-predicate): Handle arguments in the
20088 Tabulated List format.
20089 (package-list-packages-no-fetch): Call list-packages.
20090
3e214b50
JB
200912011-04-06 Juanma Barranquero <lekktu@gmail.com>
20092
20093 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20094 (after-find-file): Don't bind it.
3e214b50
JB
20095 (revert-buffer-in-progress-p): New variable.
20096 (revert-buffer): Bind it.
20097 Pass nil for `after-find-file-from-revert-buffer'.
20098
20099 * saveplace.el (save-place-find-file-hook): Use new variable
20100 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20101
3f0f1700
GM
201022011-04-06 Glenn Morris <rgm@gnu.org>
20103
c0274801
GM
20104 * Makefile.in (AUTOGEN_VCS): New variable.
20105 (autoloads): Use $AUTOGEN_VCS.
20106
3f0f1700
GM
20107 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20108 * calendar/calendar.el (calendar-mode-map):
20109 Check for toolkit scroll bars. (Bug#8305)
20110
41ea9e48
CY
201112011-04-05 Chong Yidong <cyd@stupidchicken.com>
20112
20113 * minibuffer.el (completion-in-region--postch)
20114 (completion-in-region-mode): Remove unnecessary messages.
20115
6194c800
JB
201162011-04-05 Juanma Barranquero <lekktu@gmail.com>
20117
33256f14
JB
20118 * font-lock.el (font-lock-refresh-defaults):
20119 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20120 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20121
6194c800
JB
20122 * info.el (Info-directory-list, Info-read-node-name-2)
20123 (Info-split-parameter-string): Doc fixes.
20124 (Info-virtual-nodes): Reflow docstring.
20125 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20126 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20127 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20128 Fix typos in docstrings.
20129 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20130 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20131 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20132 (Info-restore-desktop-buffer): Mark unused parameters.
20133 (Info-directory-find-file, Info-directory-find-node)
20134 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20135 (Info-virtual-index-find-node, Info-apropos-find-file)
20136 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20137 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20138 (Info-virtual-index): Remove unused local variable `nodename'.
20139
b87a8200 201402011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20141
b87a8200
DD
20142 * net/rcirc.el: Update my e-mail address.
20143 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20144
3b2ff876
CY
201452011-04-05 Chong Yidong <cyd@stupidchicken.com>
20146
20147 * startup.el (command-line): Save the cursor's theme-face
20148 directly, instead of using face-override-spec.
20149
20150 * custom.el (load-theme): Minor optimization in assigning faces.
20151
8d17e7ca
JB
201522011-04-04 Juanma Barranquero <lekktu@gmail.com>
20153
20154 * help-fns.el (describe-variable): Complete all variables having
20155 documentation, including keywords.
20156 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20157
2fbc1934
JB
201582011-04-04 Juanma Barranquero <lekktu@gmail.com>
20159
20160 Convert to lexical-binding.
20161
20162 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20163 (bs--get-marked-string, bs--get-modified-string)
20164 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20165 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20166 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20167
20168 * ehelp.el (electric-help-execute-extended)
20169 (electric-help-ctrl-x-prefix):
20170 * hexl.el (hexl-revert-buffer-function):
20171 * linum.el (linum-after-change, linum-after-scroll):
20172 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20173
20174 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20175
74f50695
DU
201762011-04-04 Daiki Ueno <ueno@unixuser.org>
20177
20178 * epa-dired.el:
20179 * epa-mail.el:
20180 * epa-hook.el:
20181 * epa-file.el:
20182 * epa.el:
20183 * epg.el: Use lexical binding.
20184
c11325f7
CY
201852011-04-03 Chong Yidong <cyd@stupidchicken.com>
20186
0d9e9a12
CY
20187 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20188
c11325f7 20189 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20190 dictionary case for flyspell-mark-duplications-exceptions.
20191 Use regexp matching for languages.
c11325f7
CY
20192 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20193 default dictionary (Bug#7926).
20194
da91b5f2
CY
201952011-04-02 Chong Yidong <cyd@stupidchicken.com>
20196
099c39a4
JB
20197 * emacs-lisp/package.el (package--with-work-buffer):
20198 Recognize https URLs.
da91b5f2 20199
099c39a4
JB
20200 * net/network-stream.el: Move from gnus/proto-stream.el.
20201 Change prefix to network-stream throughout.
da91b5f2
CY
20202 (open-protocol-stream): Merge into open-network-stream, leaving
20203 open-protocol-stream as an alias. Handle nil BUFFER args.
20204
20205 * subr.el (open-network-stream): Move to net/network-stream.el.
20206
afa8e9f6
GM
202072011-04-02 Glenn Morris <rgm@gnu.org>
20208
1d2e369d
GM
20209 * find-dired.el (find-exec-terminator): New option.
20210 (find-ls-option): Test for -ls support.
20211 (find-ls-subdir-switches): Test for -b in find-ls-option.
20212 (find-dired, find-grep-dired): Doc fixes.
20213 (find-dired): Use find-exec-terminator.
20214
8abb7da8 20215 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20216 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20217 (find-name-arg): Remove purecopy.
8abb7da8 20218
f3ca7378
GM
20219 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20220 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20221 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20222 accordingly. Don't add the null-device if not needed.
20223
afa8e9f6
GM
20224 * files.el (save-some-buffers): Doc fix.
20225
35eae264
EZ
202262011-04-02 Eli Zaretskii <eliz@gnu.org>
20227
20228 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20229
26b51db5
JB
202302011-04-01 Juanma Barranquero <lekktu@gmail.com>
20231
20232 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20233 Use `dolist' rather than `mapcar'.
20234
7200d79c
SM
202352011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20236
03408648 20237 Add lexical binding.
7200d79c 20238
03408648
SM
20239 * subr.el (apply-partially): Use new closures rather than CL.
20240 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20241 (dolist, dotimes): Use slightly different expansion for lexical code.
20242 (functionp): Move to C.
20243 (letrec): New macro.
20244 (with-wrapper-hook): Use it and apply-partially instead of CL.
20245 (eval-after-load): Preserve lexical-binding.
20246 (save-window-excursion, with-output-to-temp-buffer): Turn them
20247 into macros.
7200d79c 20248
03408648
SM
20249 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20250
20251 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20252 than the arglist.
20253 (help-add-fundoc-usage): Don't add `Not documented'.
20254 (help-function-arglist): Handle closures, subroutines, and new
20255 byte-code-functions.
20256 (help-make-usage): Remove leading underscores.
20257 (describe-function-1): Handle closures.
20258 (describe-variable): Use special-variable-p for completion.
20259
20260 * files.el (lexical-binding): Declare safe.
f488fb65 20261
03408648
SM
20262 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20263 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20264 (pcase): Add `let' pattern.
20265 Change memoization so it actually works.
20266 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20267 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20268 <let>: New case.
f488fb65 20269
03408648
SM
20270 * emacs-lisp/macroexp.el: Use lexical binding.
20271 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20272 Don't convert ' to #' without checking that it's indeed quoting
20273 a lambda.
20274
20275 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20276 Use eval-sexp-add-defvars.
03408648
SM
20277 (eval-sexp-add-defvars): New fun.
20278
20279 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20280
20281 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20282 Don't autoload.
20283 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20284 than the internal `byte-compile-lambda'.
20285 (defmethod): Don't hide code under quotes.
20286 (eieio-defmethod): New `code' argument.
20287
20288 * emacs-lisp/eieio-comp.el: Remove.
20289
20290 * emacs-lisp/edebug.el (edebug-eval-defun)
20291 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20292 (edebug-toggle): Avoid `eval'.
20293
20294 * emacs-lisp/disass.el (disassemble-internal): Handle new
20295 `closure' objects.
20296 (disassemble-1): Handle new byte codes.
20297
20298 * emacs-lisp/cl.el (pushnew): Silence warning.
20299
20300 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20301 (cl-byte-compile-throw): Remove.
20302 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20303
20304 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20305 closures.
20306
20307 * emacs-lisp/cconv.el: New file.
20308
20309 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20310 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20311 (byte-compile-initial-macro-environment):
20312 Handle declare-function here.
20313 (byte-compile--lexical-environment): New var.
20314 (byte-stack-ref, byte-stack-set, byte-discardN)
20315 (byte-discardN-preserve-tos): New lap codes.
20316 (byte-interactive-p): Don't use any more.
20317 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20318 New macros.
20319 (byte-compile-lapcode): Use them and handle new lap codes.
20320 (byte-compile-obsolete): Remove.
20321 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20322 (byte-compile-arglist-warn): Check late def of inlinable funs.
20323 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20324 since they should have been expanded by now.
20325 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20326 (byte-compile-from-buffer): Remove unused second arg.
20327 (byte-compile-preprocess): New function.
20328 (byte-compile-toplevel-file-form): New function to distinguish
20329 file-form calls from outside from file-form calls from hunk-handlers.
20330 (byte-compile-file-form): Simplify.
20331 (byte-compile-file-form-defsubst): Remove.
20332 (byte-compile-file-form-defmumble): Simplify now that
20333 byte-compile-lambda always returns a byte-code-function.
20334 (byte-compile): Preprocess.
20335 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20336 Remove, not used any more.
20337 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20338 (byte-compile-make-args-desc): New funs.
20339 (byte-compile-lambda): Handle lexical functions. Always return
20340 a byte-code-function.
20341 (byte-compile-reserved-constants): New var, to make up room for
20342 closed-over variables.
20343 (byte-compile-constants-vector): Obey it.
20344 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20345 (byte-compile-macroexpand-declare-function): New function.
20346 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20347 byte-code-functions.
20348 (byte-compile-form): Check obsolescence here.
20349 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20350 (byte-compile-variable-ref): Remove.
20351 (byte-compile-dynamic-variable-op): New fun.
20352 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20353 (byte-compile-variable-set): New funs.
20354 (byte-compile-discard): Add 2 args.
20355 (byte-compile-stack-ref, byte-compile-stack-set)
20356 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20357 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20358 macroexpand-all instead.
20359 (byte-compile-quote-form): Remove.
20360 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20361 (byte-compile-bind, byte-compile-unbind): New funs.
20362 (byte-compile-let): Handle let* and lexical binding.
20363 (byte-compile-let*): Remove.
20364 (byte-compile-catch, byte-compile-unwind-protect)
20365 (byte-compile-track-mouse, byte-compile-condition-case):
20366 Handle a new :fun-body form, used for lexical scoping.
20367 (byte-compile-save-window-excursion)
20368 (byte-compile-with-output-to-temp-buffer): Remove.
20369 (byte-compile-defun): Simplify.
20370 (byte-compile-stack-adjustment): New fun.
20371 (byte-compile-out): Use it.
20372 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20373
20374 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20375 handler any more.
20376
20377 * emacs-lisp/byte-opt.el: Use lexical binding.
20378 (byte-inline-lapcode): Remove (to bytecomp).
20379 (byte-compile-inline-expand): Pay attention to inlining to/from
20380 lexically bound code.
20381 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20382 any more.
20383 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20384 any more and don't call compiler-macros.
20385 (byte-compile-splice-in-already-compiled-code): Remove.
20386 (byte-code): Don't inline any more.
20387 (disassemble-offset): Receive `bytes' as argument rather than via
20388 dynamic scoping.
20389 (byte-compile-tag-number): Declare before first use.
20390 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20391 `return' even if make-spliceable.
20392 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20393 obsolete interactive-p.
20394 (byte-optimize-lapcode): Optimize new lap-codes.
20395 Don't trip up on new form of `byte-constant' lap code.
20396
20397 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20398
20399 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20400
20401 * custom.el (custom-initialize-default, custom-declare-variable):
20402 Use `defvar'.
20403
20404 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20405 New variables.
20406 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20407 (COMPILE_FIRST): Add macroexp and cconv.
20408 * makefile.w32-in: Mirror changes in Makefile.in.
20409
20410 * vc/cvs-status.el:
20411 * vc/diff-mode.el:
20412 * vc/log-edit.el:
20413 * vc/log-view.el:
20414 * vc/smerge-mode.el:
20415 * textmodes/bibtex-style.el:
090bd7cb 20416 * textmodes/css-mode.el:
03408648
SM
20417 * startup.el:
20418 * uniquify.el:
da91b5f2
CY
20419 * minibuffer.el:
20420 * newcomment.el:
20421 * reveal.el:
20422 * server.el:
20423 * mpc.el:
20424 * emacs-lisp/smie.el:
20425 * doc-view.el:
20426 * dired.el:
03408648
SM
20427 * abbrev.el: Use lexical binding.
20428
0f0c1f27
EZ
204292011-04-01 Eli Zaretskii <eliz@gnu.org>
20430
20431 * info.el (info-display-manual): New function.
20432
c82b2579
SM
204332011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20434
20435 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20436
221ddf68
TH
204372011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20438
20439 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20440 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20441
cba6e77e
GM
204422011-03-31 Glenn Morris <rgm@gnu.org>
20443
e040639f
GM
20444 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20445
cba6e77e
GM
20446 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20447
6d0f1c9e
CS
204482011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20449
20450 * progmodes/python.el (python-default-interpreter)
20451 (python-python-command-args, python-jython-command-args)
20452 (python-which-shell, python-which-args, python-which-bufname)
20453 (python-file-queue, python-comint-output-filter-function)
20454 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20455 variables and functions.
20456
3e2d70fd
SM
204572011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20458
20459 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20460 (completion-in-region-mode): New minor mode.
20461 (completion-in-region): Use it.
20462 (completion-in-region--data, completion-in-region-mode-map): New vars.
20463 (completion-in-region--postch): New function.
20464 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20465 New vars.
20466 (completion--capf-wrapper): New function.
20467 (completion-at-point): Use it to track well-behavedness of
20468 hook functions.
20469 (completion-help-at-point): New command.
20470
f3e4086c
JM
204712011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20472
20473 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20474 syntax class to search for whitespace on a single line
20475 (Message-ID: <4D938140.4030905@redhat.com>).
20476
eb7ffc14
LL
204772011-03-30 Leo Liu <sdl.web@gmail.com>
20478
20479 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20480 New commands.
20481 (edit-abbrevs-map): Bind them here.
20482 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20483
d806ab68
KM
204842011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20485
20486 * allout.el (allout-hide-by-annotation, allout-flag-region):
20487 Reduce possibility of overlay leakage by making them volatile.
20488
20489 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20490 hash is not shared between buffers. Mode initialization is
20491 responsible for giving it a useful starting value.
20492 (allout-item-span): Reduce possibility of overlay leakage by
20493 making them volatile.
20494 (allout-widgets-count-buttons-in-region): Add diagnostic function
20495 for tracking down button overlay leaks.
20496
ea622834
LL
204972011-03-29 Leo Liu <sdl.web@gmail.com>
20498
20499 * ido.el (ido-read-internal): Use the default history var
20500 minibuffer-history if no HISTORY is specified.
20501
b62f8267
G
205022011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20503
03408648
SM
20504 * net/imap.el (imap-shell-open, imap-process-connection-type):
20505 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20506 Kerberos, SSL, other subprocesses.
20507
947b6566
LL
205082011-03-28 Leo Liu <sdl.web@gmail.com>
20509
20510 * abbrev.el (abbrev-table-empty-p): New function.
20511 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20512 nonempty ones. (Bug#5937)
20513
5ffb62aa
JD
205142011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20515
20516 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20517
7a097943
LL
205182011-03-27 Leo Liu <sdl.web@gmail.com>
20519
20520 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20521 for foreground and background colors.
20522 (ansi-color-make-color-map): Adapt.
20523
c5b40130
LL
205242011-03-25 Leo Liu <sdl.web@gmail.com>
20525
1f48f7d2
LL
20526 * midnight.el (midnight-time-float): Remove. Note it calculates
20527 the microsecond component incorrectly and seconds-to-time does the
20528 same job.
625897ec 20529 Remove redundant (require 'timer).
1f48f7d2 20530
c5b40130
LL
20531 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20532 (ido-completions): Remove unused arguments. (Bug#8329)
20533
d86d2721
SM
205342011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20535
20536 * minibuffer.el (completion--flush-all-sorted-completions):
20537 Remove itself from hook.
20538 (completion-at-point): Let the functions perform the completion
20539 immediately and return nil or t.
20540 * comint.el (comint-dynamic-complete-functions): Now identical to
20541 completion-at-point-functions.
20542 (comint-dynamic-list-input-ring): Remove unused var `index'.
20543 (comint--match-partial-filename, comint--unquote&expand-filename):
20544 New funs, split from comint-match-partial-filename.
20545 (comint-dynamic-complete): Use completion-at-point.
20546 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20547
e8974c48
DA
205482011-03-24 Drew Adams <drew.adams@oracle.com>
20549
20550 * thingatpt.el: Support `defun'.
20551
def71b5e
LL
205522011-03-23 Leo Liu <sdl.web@gmail.com>
20553
cb5af48e
LL
20554 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20555
def71b5e
LL
20556 * help-mode.el (help-mode-finish): Tweak regexp.
20557
927c53e7
GM
205582011-03-23 Glenn Morris <rgm@gnu.org>
20559
18d05bed
GM
20560 * eshell/esh-opt.el (eshell-eval-using-options):
20561 Do not bind unused local variable `eshell-option-stub'.
20562
927c53e7
GM
20563 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20564
9d0da923
JB
205652011-03-22 Juanma Barranquero <lekktu@gmail.com>
20566
20567 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20568 keymap variable in `with-no-warnings' to avoid a warning when the
20569 keymap has been already `defconst'ed.
20570
4b978a67
LL
205712011-03-22 Leo Liu <sdl.web@gmail.com>
20572
20573 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20574 encode all chars in abbrevs; otherwise use emacs-mule or
20575 utf-8-emacs. (Bug#8308)
20576
5fd62452
JB
205772011-03-22 Juanma Barranquero <lekktu@gmail.com>
20578
0b1596c6
JB
20579 * simple.el (backward-delete-char-untabify):
20580 Avoid warning about using `delete-backward-char'.
20581
5fd62452
JB
20582 * image.el (image-type-file-name-regexps): Make it variable.
20583 `imagemagick-register-types' modifies it, and the user may want
20584 to add new extensions for known image types.
20585 (imagemagick-register-types): Throw error if not using ImageMagick.
20586
0b4e93f1
LL
205872011-03-22 Leo Liu <sdl.web@gmail.com>
20588
20589 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20590 located before rcirc-prompt-end-marker.
20591 (rcirc-complete): Error if point is not after rcirc prompt.
20592 Handle the case when table is nil.
9882e214 20593 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20594
fccee4ab
CY
205952011-03-22 Chong Yidong <cyd@stupidchicken.com>
20596
20597 * custom.el (custom--inhibit-theme-enable): Make it affect only
20598 custom-theme-set-variables and custom-theme-set-faces.
20599 (provide-theme): Ignore custom--inhibit-theme-enable.
20600 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20601 (custom-enabling-themes): Delete variable.
d86d2721
SM
20602 (enable-theme): Accept only loaded themes as arguments.
20603 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20604 (custom-enabled-themes): Forbid themes from setting this.
20605 Eliminate use of custom-enabling-themes.
20606 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20607
af896da6
LL
206082011-03-21 Leo Liu <sdl.web@gmail.com>
20609
20610 * ido.el (ido-read-internal): Add ido-selected to history instead
20611 of user input.
20612
78f64af0
SM
206132011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20614
20615 * subr.el (deferred-action-list, deferred-action-function):
20616 Mark obsolete.
20617
b16ac1ec
LL
206182011-03-21 Leo Liu <sdl.web@gmail.com>
20619
810f7698
LL
20620 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20621 change on 2011-02-13 (bug#8309).
20622
b16ac1ec
LL
20623 * minibuffer.el (read-file-name-function): Change default value.
20624 (read-file-name--defaults): Rename from read-file-name-defaults.
20625 (read-file-name-default): Rename from read-file-name.
20626 (read-file-name): Call read-file-name-function.
20627
4e05e67e
GM
206282011-03-21 Glenn Morris <rgm@gnu.org>
20629
20630 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20631 Doc fixes.
20632
4359915b
CY
206332011-03-21 Chong Yidong <cyd@stupidchicken.com>
20634
20635 * cus-theme.el: Add missing provide statement.
20636 (customize-create-theme): Extract theme value correctly.
20637 (custom-theme-visit-theme): Autoload.
20638 (customize-create-theme): Prompt before inserting default faces.
20639
1fe275ee
JB
206402011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20641
20642 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20643 units and musical notes.
20644
cd394be1 206452011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20646
20647 * ido.el (ido-read-internal): Use completing-read-default.
20648 (ido-completing-read): Fix compatibility with completing-read.
20649
7d476bde
CO
206502011-03-20 Christian Ohler <ohler@gnu.org>
20651
20652 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20653 (ert-delete-all-tests): Use `called-interactively-p' rather than
20654 `interactive-p'.
20655 (ert--make-xrefs-region): Respect END.
20656
fe0fb33e
CY
206572011-03-19 Chong Yidong <cyd@stupidchicken.com>
20658
ff854b0b
CY
20659 * dired-aux.el (dired-create-directory): Signal an error if the
20660 directory already exists (Bug#8246).
20661
fe0fb33e
CY
20662 * facemenu.el (list-colors-display): Call list-faces-display
20663 inside with-help-window.
20664 (list-colors-print): Use display property to align the final
20665 column, instead of checking window-width.
20666
576bce32
EZ
206672011-03-19 Eli Zaretskii <eliz@gnu.org>
20668
4d61f28d 20669 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20670 windows-nt systems.
20671 (emerge-protect-metachars): Quote correctly for ms-dos and
20672 windows-nt systems.
20673
89c41d68 206742011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20675
20676 * info.el (info-initialize): Replace all uses of `:' with
20677 path-separator for compatibility with non-Unix systems.
20678 Cache quoting of path-separator. (Bug#8258)
20679
b14e3e21 206802011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20681
20682 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20683 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20684 (mouse-avoidance-mode): Fix typos in docstrings.
20685
4525ce3e
CY
206862011-03-19 Chong Yidong <cyd@stupidchicken.com>
20687
20688 * startup.el (package-subdirectory-regexp): Move from package.el.
20689 Omit \\` and \\', and let callers add them.
20690
20691 * emacs-lisp/package.el (package-strip-version)
20692 (package-load-all-descriptors): Add \\` and \\' to
20693 package-subdirectory-regexp before using it.
20694 (package-untar-buffer): New arg DIR; ensure that file untars only
20695 into this expected directory. Remove superfluous delete-region.
20696 (package-unpack): Caller changed.
20697 (package-tar-file-info): Use package-subdirectory-regexp.
20698
a904a09a 206992011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20700
a904a09a
SM
20701 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20702 diff-mode-shared-map (bug#8284).
20703 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20704
207052011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20706
20707 * calendar/time-date.el (format-seconds): Use assoc instead of
20708 assoc-string, since assoc-string doesn't exist in XEmacs.
20709
171fc304
JB
207102011-03-17 Juanma Barranquero <lekktu@gmail.com>
20711
20712 * custom.el (custom-known-themes): Reflow docstring.
20713 (custom-theme-load-path): Fix typo in docstring.
20714 (load-theme): Fix typo in error message.
20715 (custom-available-themes, custom-variable-theme-value):
20716 Use `let', not `let*'.
20717
d71990a1
JB
207182011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20719
20720 * calc/README: Mention inclusion of musical notes.
20721
20722 * calc/calc-units.el (calc-lu-quant): Rename from
20723 `calc-logunits-quantity'.
20724 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20725 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20726 (calc-db): Rename from `calc-dblevel'.
20727 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20728 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20729 (calc-np): Rename from `calc-nplevel'.
20730 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20731 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20732 (calc-lu-plus): Rename from `calc-logunits-add'.
20733 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20734 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20735 (calc-lu-minus): Rename from `calc-logunits-sub'.
20736 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20737 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20738 (calc-lu-times): Rename from `calc-logunits-mul'.
20739 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20740 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20741 (calc-lu-divide): Rename from `calc-logunits-div'.
20742 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20743 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20744
20745 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20746 functions being autoloaded.
20747
20748 * calc/calc.el (calc-lu-power-reference): Rename from
20749 `calc-logunits-power-reference'.
20750 (calc-lu-field-reference): Rename from
20751 `calc-logunits-field-reference'.
20752
7a71b18d
GM
20753 * calc/calc-help.el (calc-l-prefix-help):
20754 Mention musical note functions.
d71990a1 20755
40c2934b
SM
207562011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20757
20758 * minibuffer.el (completion-all-sorted-completions):
20759 Use :completion-cycle-penalty text property if present.
20760
b0911414
KM
207612011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20762
20763 * allout.el (allout-yank-processing): Adjust for new rebulleting
20764 regime so bullet being yanked is used without prompting the user
20765 for a choice.
20766
8a05b668
JB
207672011-03-16 Juanma Barranquero <lekktu@gmail.com>
20768
20769 * startup.el (command-line): Warn the user that _emacs is deprecated.
20770
5ba5fb81
JB
207712011-03-16 Juanma Barranquero <lekktu@gmail.com>
20772
20773 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20774 (delphi-verbose, delphi-comment-face, delphi-string-face)
20775 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20776 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20777 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20778 (delphi-new-comment-line, delphi-font-lock-defaults)
20779 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20780 Fix typos in docstrings.
20781
2dab465b
KM
207822011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20783
5ba5fb81 20784 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20785 Invert the roles of character and string values for INSTEAD, so a
20786 string is used for the more common case of a defaulting prompt.
20787
0adf5618
SM
207882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20789
20790 * progmodes/ruby-mode.el (ruby-backward-sexp):
20791 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20792 * play/gamegrid.el (gamegrid-make-face):
20793 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20794 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20795 * notifications.el (notifications-notify):
20796 * net/xesam.el (xesam-search-engines):
20797 * net/quickurl.el (quickurl-list-insert):
20798 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20799
d72700e5
CY
208002011-03-15 Chong Yidong <cyd@stupidchicken.com>
20801
20802 * startup.el (command-line): Update package subdirectory regexp.
20803
49c5410a
SM
208042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20805
c6eee9aa
SM
20806 * allout.el (allout-abbreviate-flattened-numbering)
20807 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20808
49c5410a
SM
20809 * subr.el (read-char-choice): Only show the cursor after the prompt,
20810 not after the answer.
20811
047b2bb9
KR
208122011-03-15 Kevin Ryde <user42@zip.com.au>
20813
20814 * help-fns.el (variable-at-point): Skip leading quotes, if any
20815 (bug#8253).
20816
0a57d256
SM
208172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20818
20819 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20820 warning message.
20821
77c992bc
MA
208222011-03-14 Michael Albinus <michael.albinus@gmx.de>
20823
20824 * shell.el (shell): When called interactively, offer to change the
20825 shell file name on remote hosts.
20826
eebc475d
TZ
208272011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20828
20829 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20830 integration for LDAP parameters. The host, base, user or binddn,
20831 and secret tokens can be specified in a netrc file, for instance.
20832 This is optional because an `auth-source' parameter must be
20833 specified in the search attributes.
20834
9d05d1ba
JB
208352011-03-13 Juanma Barranquero <lekktu@gmail.com>
20836
20837 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20838
09d9db2c
GM
208392011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20840
20841 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20842 into declaration. Remove redundant and harmful binding.
20843
208442011-03-12 Eli Zaretskii <eliz@gnu.org>
20845
20846 * files.el (file-ownership-preserved-p): Pass `integer' as an
20847 explicit 2nd argument to `file-attributes'. If the file's owner
20848 is the Administrators group on Windows, and the current user is
20849 Administrator, consider that a match.
20850
20851 * server.el (server-ensure-safe-dir): Consider server directory
20852 safe on MS-Windows if its owner is the Administrators group while
20853 the current Emacs user is Administrator. Use `=' to compare
20854 numerical UIDs, since they could be integers or floats.
20855
219bd536
JB
208562011-03-12 Juanma Barranquero <lekktu@gmail.com>
20857
20858 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20859
f3afd36b
MA
208602011-03-12 Michael Albinus <michael.albinus@gmx.de>
20861
20862 Sync with Tramp 2.2.1.
20863
20864 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20865
20866 * net/trampver.el: Update release number.
20867
3aaaa6f1
SM
208682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20869
94642599
SM
20870 * progmodes/compile.el (compilation--previous-directory): Fix up
20871 various nil/dead-marker mismatches (bug#8014).
20872 (compilation-directory-properties, compilation-error-properties):
20873 Don't call it at a position past the one we're about to change.
20874
3aaaa6f1
SM
20875 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20876 Disable obsolescence warnings in the file that declares it.
20877
14239447
KM
208782011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20879
099c39a4
JB
20880 * allout-widgets.el (allout-widgets-tally):
20881 Initialize allout-widgets-tally as a hash table rather than nil to
20882 prevent mode-line redisplay warnings. Also, clarify the module
20883 description and fix a comment typo.
14239447 20884
135e287c
JB
208852011-03-11 Juanma Barranquero <lekktu@gmail.com>
20886
20887 * help-fns.el (describe-variable): Don't complete keywords.
20888 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20889
ffbf300e
CY
208902011-03-10 Chong Yidong <cyd@stupidchicken.com>
20891
ba08b241
CY
20892 * emacs-lisp/package.el (package-version-join): Impose a standard
20893 string representation for pre/alpha/beta version lists.
20894 (package-unpack-single): Standardize the directory name by passing
20895 it through package-version-join.
20896 (package-strip-rcs-id): Accept any version string that does not
20897 signal an error in version-to-list.
ffbf300e 20898
f346fd6b
MA
208992011-03-10 Michael Albinus <michael.albinus@gmx.de>
20900
20901 * simple.el (delete-trailing-whitespace): Return nil for the
20902 benefit of `write-file-functions'.
20903
ccb55d27
GM
209042011-03-10 Glenn Morris <rgm@gnu.org>
20905
5ceaac0c
GM
20906 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20907
02da65ff
GM
20908 * vc/vc-git.el (vc-git-program): New option.
20909 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20910 (vc-git--call): Use it.
20911
b2f603cc
GM
20912 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20913
5772caab
GM
20914 * cus-edit.el (Custom-newline): If no button at point, look
20915 for a subgroup button at start-of-line. (Bug#2298)
20916
ccb55d27
GM
20917 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20918
ec6ecaed
JD
209192011-03-10 Julien Danjou <julien@danjou.info>
20920
20921 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20922 `cursor-type' is nil.
20923
9d5aa01d
JB
209242011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20925
20926 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20927
b6a5875b
KM
209282011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20929
7a71b18d 20930 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20931 preserves the existing header prefix, rebulleting it if necessary,
20932 rather than replacing it. This is necessary for proper operation
20933 of cooperative addons like allout-widgets.
1154d12e
JB
20934 (allout-make-topic-prefix, allout-rebullet-heading):
20935 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20936 value as alternate bullet to be used, instead of prompting the user
20937 for a bullet character.
b6a5875b 20938
ee545c35
MA
209392011-03-09 Michael Albinus <michael.albinus@gmx.de>
20940
d86d2721
SM
20941 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20942 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20943 `tramp-default-port'.
20944
c47971d7
DD
209452011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20946
20947 * net/rcirc.el (rcirc-handler-001): Remove useless
20948 with-rcirc-process-buffer.
20949 (rcirc-check-auth-status): Swap arguments to string-match.
20950
13522cb4
GM
209512011-03-09 Glenn Morris <rgm@gnu.org>
20952
0be6f4f1
GM
20953 * shell.el (shell-mode):
20954 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20955
13522cb4
GM
20956 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20957 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20958
515de2e3
CY
209592011-03-08 Chong Yidong <cyd@stupidchicken.com>
20960
20961 * emacs-lisp/package.el (package-refresh-contents)
20962 (package-menu-execute): Use condition-case-no-debug.
20963
b511b994
MA
209642011-03-08 Michael Albinus <michael.albinus@gmx.de>
20965
20966 * simple.el (shell-command-to-string): Use `process-file'.
20967
20968 * emacs-lisp/package.el (package-tar-file-info): Handle also
20969 remote files.
20970
d86d2721
SM
20971 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20972 Use `equal' for upload base check.
b511b994 20973
25bbfb31
AM
209742011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20975
20976 * textmodes/texinfo.el (texinfo-environments):
20977 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20978
be996521
GM
209792011-03-08 Glenn Morris <rgm@gnu.org>
20980
e9c8529f
GM
20981 * cus-start.el (cursor-in-non-selected-windows):
20982 Fix :set quoting oddness. (Bug#8192)
20983
be996521
GM
20984 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20985 in some setf expressions. (Bug#2159)
20986
2bb5649e
CY
209872011-03-08 Chong Yidong <cyd@stupidchicken.com>
20988
20989 * custom.el (custom-available-themes): Return themes in
20990 alphabetical order.
20991
33383987 20992See ChangeLog.15 for earlier changes.
e3d51b27
MR
20993
20994;; Local Variables:
20995;; coding: utf-8
e3d51b27
MR
20996;; End:
20997
acaf905b 20998 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20999
21000 This file is part of GNU Emacs.
21001
21002 GNU Emacs is free software: you can redistribute it and/or modify
21003 it under the terms of the GNU General Public License as published by
21004 the Free Software Foundation, either version 3 of the License, or
21005 (at your option) any later version.
21006
21007 GNU Emacs is distributed in the hope that it will be useful,
21008 but WITHOUT ANY WARRANTY; without even the implied warranty of
21009 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21010 GNU General Public License for more details.
21011
21012 You should have received a copy of the GNU General Public License
21013 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.