* PROBLEMS (68000 C compiler problems): Remove obsolete section.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e364a2b7
SM
12012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4
041df390
CY
52012-06-04 Chong Yidong <cyd@gnu.org>
6
e364a2b7
SM
7 * image.el (imagemagick-types-inhibit): Revert last change.
8 Add INFO and M.
47b36b94 9 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 10
7c1898a7
SM
112012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * emacs-lisp/cl-lib.el: Rename from cl.el.
14 * emacs-lisp/cl.el: New compatibility file.
15 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
16 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
17 to obey the "cl-" prefix.
18 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
19
0c3461de
GM
202012-06-03 Glenn Morris <rgm@gnu.org>
21
1e266c88
GM
22 * emacs-lisp/authors.el (authors-aliases): Addition.
23
0c3461de
GM
24 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
25 Fix :version.
26
d8a52e15
SM
272012-06-03 Stefan Merten <smerten@oekonux.de>
28
29 * textmodes/rst.el: Add comments.
30 (rst-transition, rst-adornment): New faces.
31 (rst-adornment-faces-alist): Make default safe to reevaluate.
32 Fixes
33 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
34 Improve customization tags.
35 (rst-define-level-faces): Clarify meaning.
36
5205d6f6
CY
372012-06-03 Chong Yidong <cyd@gnu.org>
38
39 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
40 (compilation-mode-line-run, compilation-mode-line-exit):
41 New faces.
5205d6f6
CY
42 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
43
757ee657
JD
442012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
45
7c1898a7
SM
46 * progmodes/which-func.el (which-func-update-ediff-windows):
47 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 48
5f2c76c6
CY
492012-06-03 Chong Yidong <cyd@gnu.org>
50
51 * bindings.el: Remove explicit help text from format-mode-line.
52 It is now supplied by mode-line-default-help-echo.
53 (mode-line-front-space, mode-line-end-spaces)
54 (mode-line-misc-info): New variables.
55 (mode-line-modes, mode-line-position): Move the default value to
56 the variable definition.
57 (mode-line-default-help-echo): New defcustom.
383f7350
CY
58 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
59 (mode-line-modified-help-echo): New functions.
60 (mode-line-mule-info, mode-line-modified): Use them.
61 (mode-line-eol-desc, propertized-buffer-identification):
62 Consistency fixes for help text.
cbe46e5f
CY
63 (mode-line-coding-system-map): Allow using mouse-3 to invoke
64 set-buffer-file-coding-system (Bug#289).
65 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 66
f2d6a3df
SM
672012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * simple.el (execute-extended-command): Set real-this-command
70 (bug#11506).
71
37269466
CY
722012-06-02 Chong Yidong <cyd@gnu.org>
73
74 Remove incorrect uses of "modeline" in comments, docstrings, and
75 function/variable names (Bug#10329).
76
77 * cus-edit.el (mode-line):
78 * dframe.el (dframe-mouse-hscroll):
79 * emacs-lisp/re-builder.el:
80 * emacs-lisp/easy-mmode.el (define-minor-mode):
81 * frame.el (set-frame-name):
82 * help.el (lookup-minor-mode-from-indicator):
83 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
84 * progmodes/cc-cmds.el (c-toggle-auto-newline)
85 (c-toggle-hungry-state):
86 * progmodes/antlr-mode.el (antlr-language-alist):
87 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
88 * progmodes/vhdl-mode.el (vhdl-mode):
89 * progmodes/which-func.el (which-func, which-func-cleanup-function):
90 * term/ns-win.el (ns-face-at-pos):
91 * term/sup-mouse.el (sup-mouse-report):
92 * textmodes/flyspell.el (flyspell-mode-line-string):
93 * textmodes/ispell.el (ispell-highlight-face):
94 * textmodes/reftex-global.el:
95 * vc/vc-arch.el (vc-arch-mode-line-string):
96 * vc/vc-cvs.el (vc-cvs-mode-line-string):
97 * vc/vc-git.el (vc-git-mode-line-string):
98 * vc/vc-hooks.el (vc-display-status)
99 (vc-default-mode-line-string):
100 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
101
102 * ansi-color.el (ansi-color-faces-vector): Change default faces.
103
104 * dired.el (dired-sort-set-mode-line): Rename from
105 dired-sort-set-modeline. All callers changed.
106
107 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
108 eshell-status-in-modeline.
109
110 * foldout.el (foldout-mode-line-string): Rename from
111 foldout-modeline-string. All callers changed.
112 (foldout-update-mode-line): Rename from foldout-update-modeline.
113
114 * subr.el (redraw-modeline): Make into obsolete alias.
115
116 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
117 timeclock-modeline-display. Make old name an alias.
118 (timeclock-update-mode-line): Likewise. All callers changed.
119 (timeclock-mode-line-display): No need to check before using
120 add-hook.
121 (timeclock-relative, timeclock-day-over-hook)
122 (timeclock-use-elapsed, timeclock-mode-string)
123 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
124
125 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
126 crisp-mode-modeline-string.
127
128 * play/solitaire.el (solitaire-build-mode-line): Rename from
129 solitaire-build-modeline. All callers changed.
130
131 * play/zone.el (zone-hiding-mode-line): Rename from
132 zone-hiding-modeline. All callers changed.
133 (zone): Remove unusued `modeline-hidden-level' property.
134
135 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
136 xscheme-modeline-initialize. All callers changed.
137
138 * strokes.el (strokes-lighter): Rename from
139 strokes-modeline-string.
140
141 * textmodes/sgml-mode.el (html-face-tag-alist)
142 (html-tag-face-alist): Use mode-line face instead of obsolete
143 alias modeline.
144
42152ee4
SM
1452012-06-02 Stefan Merten <smerten@oekonux.de>
146
147 * textmodes/rst.el: Always require `cl'.
4cf9b38d 148 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 149
95f520b5
CY
1502012-06-02 Chong Yidong <cyd@gnu.org>
151
152 * image.el (imagemagick-enabled-types): Rename from
153 imagemagick-types-enable. Add many more types.
154 (imagemagick-types-inhibit): Change default to nil.
155 (imagemagick-filter-types): Caller changed.
156
4a5f187a
SM
1572012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
158
03fef3e6
SM
159 * emacs-lisp/cl-macs.el: Use backquotes.
160 (cl-transform-function-property): Use eval-and-compile rather than
161 abusing `require'.
162 (defstruct): Use declare-function instead of with-no-warnings.
163
4a5f187a
SM
164 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
165 (byte-compile-output-docform): Re-add the print-circle bindings.
166 (byte-compile-fix-header): Use #$ just because it's shorter.
167 (byte-compile-output-file-form): Remove defun/defmacro.
168
bd56924f
MR
1692012-06-01 Martin Rudalics <rudalics@gmx.at>
170
171 * simple.el (choose-completion): Remove now obsolete binding for
172 owindow.
173
046e38ce
MA
1742012-06-01 Michael Albinus <michael.albinus@gmx.de>
175
176 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
177 in order to avoid "Stack overflow in regexp matcher".
178
32d72c2f
GM
1792012-05-31 Glenn Morris <rgm@gnu.org>
180
181 * image.el: For clarity, call imagemagick-register-types at
182 top-level, rather than relying on a custom :initialize.
183 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
184 (imagemagick-filter-types): New function. (Bug#7406)
185 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
186 If disabling support, remove elements altogether rather
187 than using an impossible regexp.
188 (imagemagick-types-inhibit): Give it the default init function.
189
dd41169b
SM
1902012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
191
4a5f187a
SM
192 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
193 Handle arbitrary file name lengths (Bug#11585).
dd41169b 194
efc00ab1 1952012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
196
197 * desktop.el (desktop-read): Clear previous and next buffers for
198 all windows and bury *Messages* buffer (bug#11556).
199
500fcedc
SM
2002012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 Add `declare' for `defun'. Align `defmacro's with it.
203 * emacs-lisp/easy-mmode.el (define-minor-mode)
204 (define-globalized-minor-mode): Don't autoload the var definitions.
205 * emacs-lisp/byte-run.el: Use lexical-binding.
206 (defun-declarations-alist, macro-declarations-alist): New vars.
207 (defmacro, defun): Use them.
208 (make-obsolete, define-obsolete-function-alias)
209 (make-obsolete-variable, define-obsolete-variable-alias):
210 Use `declare'.
211 (macro-declaration-function): Mark obsolete.
212 * emacs-lisp/autoload.el: Use lexical-binding.
213 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
214
6e8a1786
AM
2152012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
216
217 * textmodes/ispell.el (ispell-with-no-warnings):
218 Define as a macro.
500fcedc
SM
219 (ispell-kill-ispell, ispell-change-dictionary):
220 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
221 `interactive-p'.
222
61b108cc
SM
2232012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
226 (macro-declaration-function): Move var from C code.
227 (macro-declaration-function): Define function with defalias.
228 * emacs-lisp/macroexp.el (macroexpand-all-1):
229 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
230 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
231 defun/defmacro any more.
232 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
233 Provide fallback for unknown arglist.
234 (byte-compile-arglist-warn): Change calling convention.
235 (byte-compile-output-file-form): Move print-vars binding.
236 (byte-compile-output-docform): Simplify accordingly.
237 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
238 (byte-compile-defmacro-declaration): Remove.
239 (byte-compile-file-form-defmumble): Generalize to defalias.
240 (byte-compile-output-as-comment): Return byte-positions.
241 Simplify callers accordingly.
242 (byte-compile-lambda): Use `assert'.
243 (byte-compile-defun, byte-compile-defmacro): Remove.
244 (byte-compile-file-form-defalias):
245 Use byte-compile-file-form-defmumble.
246 (byte-compile-defalias-warn): Remove.
247
6d3f7c2f
SM
2482012-05-29 Stefan Merten <smerten@oekonux.de>
249
250 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 251 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
252
253 (rst-mode-abbrev-table): Merge definition.
254 (rst-mode): Make sure `font-lock-defaults' is buffer local.
255 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
256
6dbaa1c7
UJ
2572012-05-29 Ulf Jasper <ulf.jasper@web.de>
258
259 * calendar/icalendar.el
260 (icalendar-export-region): Export UID properly.
261
2622012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
263 * calendar/icalendar.el (icalendar-import-format):
264 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
265 (icalendar-import-format-uid): New.
266 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
267 Export UID.
268
6876a58d
SM
2692012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
272 different alternative patterns.
273 (pcase-codegen): Be more careful to preserve identity.
274 (pcase--u1): Don't forget to mark vars as used.
275
276 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
277 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
278 (byte-compile-from-buffer): ...rather than here.
279
280 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
281 functions from byte-compile-function-environment.
282
46b7967e
TN
2832012-05-29 Troels Nielsen <bn.troels@gmail.com>
284
285 * window.el (window-deletable-p): Avoid deleting the root window
286 of a frame with an active minibuffer.
287
69d565e2
MR
2882012-05-29 Martin Rudalics <rudalics@gmx.at>
289
290 * simple.el (choose-completion): Use quit-window (Bug#11567).
291
a149fa51
CY
2922012-05-29 Chong Yidong <cyd@gnu.org>
293
294 * whitespace.el (whitespace-cleanup): Fix usage of
295 whitespace-empty-at-bob-regexp (Bug#11492).
296
2b311310
AH
2972012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
298
299 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
300 revert (Bug#11488).
301
b9cb2387
JL
3022012-05-29 Juri Linkov <juri@jurta.org>
303
304 * isearch.el (isearch-mode-map): Bind `M-s _' to
305 `isearch-toggle-symbol'. Bind `M-s c' to
306 `isearch-toggle-case-fold'.
307 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
308 (isearch-forward): Add `M-s _' to the docstring.
309 (isearch-forward-symbol, isearch-toggle-case-fold)
310 (isearch-symbol-regexp): New functions. (Bug#11381)
311
d5e61c1c
JL
3122012-05-29 Juri Linkov <juri@jurta.org>
313
314 * isearch.el (isearch-word): Add docstring. (Bug#11381)
315 (isearch-occur, isearch-search-and-update): If `isearch-word' is
316 a function, call it to get the regexp.
317 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
318 property `isearch-message-prefix' instead of the string "word ".
319 (isearch-search-fun-default): For the case of `isearch-word',
320 return a lambda that calls re-search-forward/re-search-backward
321 with a regexp returned by `word-search-regexp' or by the function
322 in `isearch-word'.
323
8cbd80f7
JL
3242012-05-29 Juri Linkov <juri@jurta.org>
325
326 * isearch.el (isearch-search-fun-default): New function.
327 (isearch-search-fun): Move default part to the new function
328 `isearch-search-fun-default'.
329 (isearch-search-fun-function): Set the default value to
330 `isearch-search-fun-default'. (Bug#11381)
331
332 * comint.el (comint-history-isearch-end):
333 Use `isearch-search-fun-default'.
334 (comint-history-isearch-search): Use `isearch-search-fun-default'
335 and remove spacial case for `isearch-word'.
336 (comint-history-isearch-wrap): Remove spacial case for
337 `isearch-word'.
338
339 * hexl.el (hexl-isearch-search-function):
340 Use `isearch-search-fun-default'.
341
342 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
343 Use `word-search-regexp' for `isearch-word'.
344
345 * misearch.el (multi-isearch-search-fun):
346 Use `isearch-search-fun-default'.
347
348 * simple.el (minibuffer-history-isearch-search):
349 Use `isearch-search-fun-default' and remove spacial case for
350 `isearch-word'.
351 (minibuffer-history-isearch-wrap): Remove spacial case for
352 `isearch-word'.
353
354 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
355 Remove spacial case for `isearch-word'.
356 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
357
85c8c5b6
AM
3582012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
359
360 Decrease XEmacs incompatibilities.
361 * textmodes/flyspell.el (flyspell-check-pre-word-p):
362 Use `string-match'.
363 (flyspell-delete-region-overlays): Use alternative definition for
364 XEmacs.
365 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
366 (flyspell-word): Use `process-kill-without-query' if XEmacs.
367 (flyspell-mode-on): Use `interactive-p' if XEmacs.
368 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
369 `define-obsolete-face-alias' under XEmacs, but old method.
370
371 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
372 `with-no-warnings' definition or Emacs alias.
373 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
374 (ispell-word): Do not use `region-p' if XEmacs.
375
8cab9efc
AM
3762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
377
378 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
379 Check for `ispell-dictionary-base-alist' instead of full
380 `ispell-dictionary-alist'.
381 (ispell-init-process): Show spellchecker when starting new Ispell
382 process.
383
fda91268
RZ
3842012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
387 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
388
694ea8e3
JB
3892012-05-27 Juanma Barranquero <lekktu@gmail.com>
390
391 * version.el (motif-version-string, gtk-version-string)
392 (ns-version-string): Declare.
393
e4d4f539
JL
3942012-05-27 Juri Linkov <juri@jurta.org>
395
396 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
397 after the `eval-defun-1' specialcaseing
398 like in `edebug-eval-defun' (bug#10181).
399
400 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
401 like in `eval-defun-1'.
402
33017faf 4032012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 404
fda91268
RZ
405 * mail/sendmail.el (mail-yank-region):
406 Recognize rmail-yank-current-message in addition to insert-buffer.
407 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
408 a *mail* buffer created through rmail-start-mail with sendmail as
409 mail-user-agent.
410
33017faf
GM
4112012-05-27 Chong Yidong <cyd@gnu.org>
412
413 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
414 Default to 256 (Bug#11267).
415
416 * help.el (describe-mode): Doc fix.
417
04188bb9
GM
4182012-05-26 Glenn Morris <rgm@gnu.org>
419
38264cc9
GM
420 * w32-fns.el (w32-init-info): Remove.
421 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
422
eb7afdad
GM
423 * info.el (info-initialize): For self-contained NS builds, put the
424 included info/ directory at the front. (Bug#2791)
425
04188bb9
GM
426 * paths.el (Info-default-directory-list): Make it a defcustom,
427 mainly so that we can use custom-initialize-delay.
428
a179e3f7
SM
4292012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
430
43416392
SM
431 * subr.el (buffer-has-markers-at): Mark obsolete.
432
a179e3f7 433 * subr.el (lambda): Use declare.
43416392 434
a179e3f7
SM
435 * emacs-lisp/lisp-mode.el (lambda):
436 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
437
34a008d9
AH
4382012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
439
440 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
441
0a3b289f
GM
4422012-05-26 Glenn Morris <rgm@gnu.org>
443
444 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
445
758c81e8
GM
4462012-05-25 Glenn Morris <rgm@gnu.org>
447
f9f334f0
GM
448 * paths.el: Remove no-byte-compile.
449 * loadup.el: No need to load paths.el uncompiled.
450
87eb79c2
GM
451 * image.el (imagemagick-types-inhibit): Doc fix.
452
758c81e8
GM
453 * version.el: Remove no-byte-compile and associated formatting.
454 * loadup.el: No need to load version.el uncompiled. AFAICS, this
455 is ancient code from when there was an "inc-vers.el".
456
e7e85dc0
SM
4572012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * progmodes/gdb-mi.el: Minor style changes.
460 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
461 Turn into minor modes.
462 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
463 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
464 (gdb-shell): Remove unneeded let-binding.
465 (gdb-get-many-fields): Eliminate O(n²) behavior.
466
f31237a4
EZ
4672012-05-25 Eli Zaretskii <eliz@gnu.org>
468
469 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
470 platforms that don't link in fontset.c.
471
bc1b21bb
JL
4722012-05-25 Juri Linkov <juri@jurta.org>
473
474 Use the same diff color scheme as in modern VCSes (bug#10181).
475
476 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
477 to avoid confusion with `diff-added' that now uses green colors.
478 (diff-removed): Use shades of red.
479 (diff-added): Use shades of green.
480 (diff-changed): Leave just the yellow color.
481 (diff-use-changed-face): New variable.
482 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
483 how to highlight context diff changes.
484 (diff-refine-change): Use shades of yellow.
485 (diff-refine-removed): New face that uses shades of red.
486 (diff-refine-added): New face that uses shades of green.
487 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
488 `diff-refine-removed' in the call to `smerge-refine-subst'
489 depending on the value of `diff-use-changed-face'.
490
491 * vc/smerge-mode.el (smerge-mine): Use shades of red.
492 (smerge-other): Use shades of green.
493 (smerge-base): Use shades of yellow.
494 (smerge-refined-change): Empty face.
495 (smerge-refined-removed): New face that uses shades of red.
496 (smerge-refined-added): New face that uses shades of green.
497 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
498 args `props-r' and `props-a', and use them. Doc fix.
499 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
500 on its value use different faces `smerge-refined-change',
501 `smerge-refined-removed', `smerge-refined-added' in the call to
502 `smerge-refine-subst'.
503
504 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
505 Add face condition `min-colors 88' with shades of red.
506 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
507 `min-colors 88' with shades of green.
508 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
509 `min-colors 88' with shades of yellow.
510
6df9112c
GM
5112012-05-24 Glenn Morris <rgm@gnu.org>
512
ead5edc0
GM
513 * paths.el (prune-directory-list, remote-shell-program): Move to...
514 * files.el (prune-directory-list, remote-shell-program): ...here.
515 For the latter, delay initialization, prefer ssh, just search PATH.
516
f18b81e6
GM
517 * paths.el (term-file-prefix): Move to faces.el (the only user).
518 * faces.el (term-file-prefix): Move here, make it a defcustom.
519
ee2f89a6
GM
520 * paths.el (news-directory, news-path, news-inews-program):
521 Move to gnus/nnspool.el.
61a583ca 522
f8815e4c
GM
523 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
524
c8f3b42c
GM
525 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
526 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
527 Make the latter a defcustom, with a delayed initialization.
528
6df9112c
GM
529 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
530 These were deleted from Gnus itself late 2010.
531
5dadff36
JB
5322012-05-22 Juanma Barranquero <lekktu@gmail.com>
533
9e1701c6
JB
534 * progmodes/which-func.el (which-func-ff-hook):
535 Check against user-error, not error.
536
bd7239f5 537 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
538 cl-specs.el, which no longer exists.
539
3290526d
GM
5402012-05-22 Glenn Morris <rgm@gnu.org>
541
542 * info.el (info-emacs-bug): New command.
543 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
544 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
545
ff0c3cfb
GM
5462012-05-21 Glenn Morris <rgm@gnu.org>
547
548 * makefile.w32-in (update-subdirs-SH):
549 * Makefile.in (update-subdirs): Update for moved update-subdirs.
550
5814f126
SM
5512012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
552
a52c0aa0
SM
553 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
554
5814f126
SM
555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
556 Simplify Maven regexp, and make sure the file can't start with a space
557 (bug#11517).
558
b847032c
GM
5592012-05-21 Glenn Morris <rgm@gnu.org>
560
561 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
562 Scrap superfluous subshells.
563
3858bfe7
SM
5642012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
567 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
568
d14b0029
JB
5692012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
570
571 * calc/calc.el (calc-ensure-consistent-units): New variable.
572
a52c0aa0
SM
573 * calc/calc-units.el (math-consistent-units-p)
574 (math-check-unit-consistency): New functions.
575 (calc-quick-units, calc-convert-units):
576 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
577 is non-nil.
d14b0029
JB
578 (calc-extract-units): Fix typo.
579
60c4db3a
SM
5802012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
581
77f3b62e
SM
582 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
583
60c4db3a
SM
584 * textmodes/flyspell.el: Commenting style, plus code simplifications.
585 (flyspell-default-deplacement-commands): Don't spell check after
586 repeated window/frame switches (e.g. triggered by mouse-movement).
587 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
588 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
589 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
590 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
591 Remove unused vars.
592 (flyspell-get-casechars, flyspell-get-not-casechars):
593 Simplify; Don't bother removing a ] just to add it back.
594 * textmodes/ispell.el (ispell-program-name): Use executable-find.
595
b1a10716
RS
5962012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
597
598 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
599 New functions.
bd7239f5 600 (math-function-table): Add support for more C functions.
b1a10716 601
3f1b25b5
AM
6022012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
603
604 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
605 (flyspell-debug-signal-word-checked): Protect delay handling for
606 otherchars against empty otherchars.
607
b581bb5c
SM
6082012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
611 their respective macro declarations.
612 * skeleton.el (define-skeleton):
613 * progmodes/compile.el (define-compilation-mode):
614 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
615 (define-ibuffer-filter):
616 * emacs-lisp/generic.el (define-generic-mode):
617 * emacs-lisp/easy-mmode.el (define-minor-mode)
618 (define-globalized-minor-mode):
619 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
620 * emacs-lisp/byte-run.el (defsubst):
621 * custom.el (deftheme): Add doc-string metadata.
622
70b8ef8f
SM
6232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
626
b1198e17
SM
6272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
628
9abdc45d
SM
629 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
630
b1198e17
SM
631 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
632 * emacs-lisp/cl-macs.el: Idem.
633 * emacs-lisp/cl-specs.el: Remove.
634
4735906a
SM
6352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 Minor renaming of internal CL functions and variables.
638 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
639 (cl--position): Rename from cl-position.
640 (cl--delete-duplicates): Rename from cl-delete-duplicates.
641 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
642 (cl--random-state): Rename from *random-state*.
643
ac348012
SM
6442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
647 parens around the arg list (bug#11499).
648
a0a79cde
JL
6492012-05-17 Juri Linkov <juri@jurta.org>
650
651 * isearch.el (word-search-regexp, word-search-backward)
652 (word-search-forward, word-search-backward-lax)
653 (word-search-forward-lax): Move functions from search.c
654 (bug#10145, bug#11381).
655
65034a51
AM
6562012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
657
658 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
659 (flyspell-debug-signal-word-checked): Delay for otherchars as for
660 normal word components.
661
1a72a195
SM
6622012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * minibuffer.el (completion--sifn-requote): Fix last change.
665 (minibuffer-local-must-match-filename-map):
666 Move define-obsolete-variable-alias before its var.
667
fdb058c2
SM
6682012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
669
c41045e6
SM
670 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
671
036dfb8b
SM
672 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
673 behavior.
674 (completion--string-equal-p): New function.
675 (completion--twq-all): Use it to get better assertion failure data.
676
2473256d
SM
677 Only handle ".." and '..' quoting in shell-mode (bug#11466).
678 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
679 (shell--requote-argument): New functions.
680 (shell-completion-vars): Use them.
681 (shell--parse-pcomplete-arguments): Rename from
682 shell-parse-pcomplete-arguments.
683 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
684 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
685 Obey comint-file-name-quote-list.
686
fdb058c2
SM
687 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
688 (smie-indent-keyword): Use it.
689
51fa99f1
SM
6902012-05-14 Stefan Merten <smerten@oekonux.de>
691
692 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
693
e18afed7 6942012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
695
696 * net/rlogin.el (rlogin-mode-map): Fix last change.
697
e18afed7 6982012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
699
700 * mail/smtpmail.el (smtpmail-send-command): Send the command and
701 the following \r\n using a single `process-send-string', since the
702 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 703 with two `process-send-string's (Bug#11444).
8633b1f4 704
e18afed7 7052012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 706
fdb058c2
SM
707 * shell.el (shell-parse-pcomplete-arguments):
708 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 709
2d21d7f6
WJ
7102012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
711
e18afed7 712 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
713 (image-transform-scale, image-transform-right-angle-fudge): New vars.
714 (image-transform-width, image-transform-fit-width): New functions.
715 (image-transform-properties): Use them.
716 (image-transform-check-size): New function.
717 (image-toggle-display-image): Use it (for testing).
718 (image-transform-set-rotation): Reduce angle mod 360.
719 Delete obsolete comment.
720
7102e6d0
WJ
7212012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
722
723 * image-mode.el: Fix scaling (bug#11399).
724 (image-transform-resize): Doc fix.
725 (image-transform-properties): Default scale is 1 and height should
726 be an integer.
727
06bc5e6e
SM
7282012-05-13 Johan Bockgård <bojohan@gnu.org>
729
730 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
731 than hard-coding `car', to fix misbehavior when moving forward.
732
0ae03b6a
CY
7332012-05-13 Chong Yidong <cyd@gnu.org>
734
735 * emacs-lisp/tabulated-list.el (tabulated-list-format)
736 (tabulated-list-entries, tabulated-list-padding)
737 (tabulated-list-sort-key): Make permanent-local.
738
739 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
740 (electric-buffer-list): Put electric buffer menu
741 command descriptions in this docstring, instead of the docstring
742 of electric-buffer-menu-mode. Code cleanups.
743 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
744 Electric-buffer-menu-mode.
745 (electric-buffer-update-highlight): Minor code cleanup.
746
205a7391
MA
7472012-05-13 Michael Albinus <michael.albinus@gmx.de>
748
749 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
750 (Bug#11447)
751
e5bd0a28
SM
7522012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 Move define-obsolete-variable-alias before the var's definition.
755 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
756 * tooltip.el (tooltip-hook):
757 * textmodes/reftex-toc.el (reftex-toc-map):
758 * textmodes/reftex-sel.el (reftex-select-label-map)
759 (reftex-select-bib-map):
760 * textmodes/reftex-index.el (reftex-index-map)
761 (reftex-index-phrases-map):
762 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
763 * progmodes/meta-mode.el (meta-mode-map):
764 * novice.el (disabled-command-hook):
765 * loadhist.el (unload-hook-features-list):
766 * frame.el (blink-cursor):
767 * files.el (find-file-not-found-hooks, write-file-hooks)
768 (write-contents-hooks):
769 * emulation/tpu-edt.el (GOLD-map):
770 * emacs-lock.el (emacs-lock-from-exiting):
771 * emacs-lisp/generic.el (generic-font-lock-defaults):
772 * emacs-lisp/chart.el (chart-map):
773 * dos-fns.el (register-name-alist):
774 * dired-x.el (dired-omit-files-p):
775 * desktop.el (desktop-enable):
776 * cus-edit.el (custom-mode-hook):
777 * buff-menu.el (buffer-menu-mode-hook):
778 * bookmark.el (bookmark-read-annotation-text-func)
779 (bookmark-exit-hooks):
780 * allout.el (allout-mode-deactivate-hook)
781 (allout-exposure-change-hook, allout-structure-added-hook)
782 (allout-structure-deleted-hook, allout-structure-shifted-hook):
783 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
784 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
785 comes before the corresponding variable's definition.
786
ac59c2f6
CY
7872012-05-12 Chong Yidong <cyd@gnu.org>
788
789 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
790 (Buffer-menu-mouse-select): Restore function (Bug#11459).
791 (Buffer-menu-mode-map): Bind it.
792 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 793
dee6c9a3
SM
7942012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
795
2171cea5
SM
796 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
797 (prolog-upper-case-string, prolog-lower-case-string)
798 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
799 (prolog-use-smie, prolog-smie-grammar): New vars.
800 (prolog-smie-forward-token, prolog-smie-backward-token)
801 (prolog-smie-rules): New funs.
802 (prolog-comment-indent): Remove.
803 (prolog-mode-variables): Use default comment indentation instead.
804 Setup SMIE.
805 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
806 (prolog-mode): Don't call them any more.
807 (prolog-electric-colon, prolog-electric-dash)
808 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
809
aa0382bd
SM
810 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
811
dbacb4bd
SM
812 * minibuffer.el (completion--twq-all): Again, allow case differences.
813
13bdd94c
SM
814 * term.el: Move keymap initialization code to be more idiomatic.
815 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
816 (term-terminal-menu): Move initialization into declaration.
817 (term-escape-char): Let the user set it in her .emacs.
818
ff46c759
SM
819 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
820 Provide SMIE-based indentation (not enabled by default yet).
821 (sh-mode-map): Don't bind electric keys.
822 Use electric-pair-mode instead of skeleton-pair.
823 (sh-assignment-regexp): Fit within 80 columns.
824 (sh-indent-supported): Specify actual shell name instead of boolean.
825 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
826 (sh-maybe-here-document): Use it. Make obsolete.
827 (sh-electric-here-document-mode) New minor mode.
828 (sh-mode): Use it. Don't set sh-indent-supported-here here.
829 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
830 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
831 (sh-smie-rc-grammar, sh-use-smie): New vars.
832 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
833 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
834 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
835 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
836 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
837 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
838 (sh-set-shell): Use smie-setup if requested.
839
dee6c9a3
SM
840 * term.el (term-set-escape-char): Properly set term-escape-char.
841 See http://stackoverflow.com/questions/10524656.
842
9f9aa044
CY
8432012-05-10 Chong Yidong <cyd@gnu.org>
844
845 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
846 Use url-generic-parse-url, and handle host names and Windows
847 filenames properly.
848 (ffap-url-unwrap-remote): Use url-generic-parse-url.
849 (ffap-url-unwrap-remote): Accept list values, specifying a list of
850 URL schemes to work on.
851 (ffap--toggle-read-only): New function.
852 (ffap-read-only, ffap-read-only-other-window)
853 (ffap-read-only-other-frame): Use it.
854 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
855 necessary for ffap-url-unwrap-remote.
856
836d29b3
DA
8572012-05-10 Dave Abrahams <dave@boostpro.com>
858
859 * cus-start.el (create-lockfiles): Add it.
860
00fd78ed
CY
8612012-05-09 Chong Yidong <cyd@gnu.org>
862
863 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
864 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
865
666b903b 8662012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
867
868 * shell.el (shell-completion-vars): Fix last change (bug#11348).
869
666b903b 8702012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
871
872 * ansi-color.el (ansi-color-process-output): Check for validity of
873 comint-last-output-start before using it. This avoids a bad
874 interaction with gdb-mi's input/output buffer.
875
666b903b 8762012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
877
878 * files.el (dir-locals-read-from-file):
879 Mention dir-locals in any error message.
880
666b903b 8812012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
882
883 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
884 package (Bug#11410).
885
f677562b
CY
886 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
887 variables into description.
888
666b903b 8892012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
890
891 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
892 shell-delimiter-argument-list (bug#11348).
893 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
894
b499d8d0
JB
8952012-05-09 Juanma Barranquero <lekktu@gmail.com>
896
8f6b6da8
JB
897 * textmodes/rst.el: Silence byte-compiler warnings.
898 (rst-re-alist, rst-reset-section-caches): Move around.
899 (rst-re): Use `characterp', not `char-valid-p'.
900 (font-lock-beg, font-lock-end): Declare.
901
4824146a
JB
902 * progmodes/idlw-shell.el (specs): Remove reference to deleted
903 variable `idlwave-shell-activate-alt-keybindings' and simplify.
904
b499d8d0
JB
905 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
906
ad89bb83
GM
9072012-05-08 Glenn Morris <rgm@gnu.org>
908
909 * files.el (auto-mode-alist): Treat ".make" like ".mk".
910
8bba5a75
SM
9112012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
912
49ed9c8e
SM
913 * vc/log-edit.el: Add GNU coding standards highlighting.
914 (log-edit-font-lock-gnu-style)
915 (log-edit-font-lock-gnu-keywords): New vars.
916 (log-edit-font-lock-keywords): New fun.
917 (log-edit-mode): Don't fold case in font-lock.
918 (log-edit-font-lock-keywords): Do not assume case-folding.
919
07d00b56
SM
920 * imenu.el: Misc cleanup. Make docstrings out of comments.
921 Use lexical-binding.
922 (imenu--index-alist, imenu--last-menubar-index-alist)
923 (imenu-menubar-modified-tick): Use defvar-local.
924 (imenu--split-menu): Remove unused var.
925 (imenu--cleanup-seen): Declare as global.
926 (imenu--cleanup): Use dolist.
927
8bba5a75
SM
928 * subr.el (defvar-local): Add debug spec and doc-string position.
929
5075bdb5
GM
9302012-05-08 Glenn Morris <rgm@gnu.org>
931
c052c904
GM
932 * lisp/language/burmese.el, language/cham.el, language/czech.el:
933 * language/english.el, language/georgian.el, language/greek.el:
934 * language/japanese.el, language/khmer.el, language/korean.el:
935 * language/lao.el, language/misc-lang.el, language/romanian.el:
936 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
937 * language/thai.el, language/utf-8-lang.el:
938 Remove no-byte-compile setting.
939
5075bdb5
GM
940 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
941
06f679a7
AH
9422012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
943
944 * progmodes/make-mode.el (makefile-browse):
945 Remove unnecessary interactive. (Bug#11324)
946
03794570
GM
9472012-05-07 Glenn Morris <rgm@gnu.org>
948
af8630f4
GM
949 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
950
03794570
GM
951 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
952
f0809a9d
SM
9532012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
954
28be5ce7
SM
955 * loadup.el: Preload newcomment.el.
956 * newcomment.el: Move autoload-only code to toplevel.
957
f0809a9d
SM
958 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
959 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
960 Handle new :right-align column property.
961 (tabulated-list-print-col): Idem, plus use `display' text-property to
962 try and preserve alignment for variable pitch fonts.
963
1241b724
CY
9642012-05-07 Chong Yidong <cyd@gnu.org>
965
966 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
967 (tabulated-list-use-header-line): New var.
968 (tabulated-list-init-header): Use it.
969 (tabulated-list-print-fake-header): New function.
970 (tabulated-list-print): Use it.
971 (tabulated-list-sort-button-map): Add non-header-line commands.
972 (tabulated-list-init-header): Add column name property to basic
973 labels as well.
974 (tabulated-list-col-sort): Handle non-header-line button case.
975 (tabulated-list--sort-by-column-name): Fix a corner case.
976
f0809a9d
SM
977 * buff-menu.el (list-buffers--refresh):
978 Handle Buffer-menu-use-header-line.
1241b724 979
e5f9458f
CY
9802012-05-06 Chong Yidong <cyd@gnu.org>
981
982 * buff-menu.el: Convert to Tabulated List mode.
983 (Buffer-menu-buffer+size-width): Make obsolete.
984 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
985 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
986 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
987 documentation into docstring of buffer-menu.
988 (Buffer-menu-toggle-files-only): Add an informative message.
989 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
990 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
991 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
992 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
993 (Buffer-menu-execute, Buffer-menu-select)
994 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
995 (Buffer-menu-bury): Use Tabulated List machinery.
996 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
997 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 998 Delete.
e5f9458f
CY
999 (list-buffers--refresh): New function.
1000 (list-buffers-noselect): Use it.
1001 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1002 (Buffer-menu--pretty-file-name): New helper functions.
1003
1004 * loadup.el: Preload tabulated-list.
1005
1006 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1007 tabulated-list-sort-column.
1008 (tabulated-list-init-header): Add the initial aligning space even
1009 if tabulated-list-padding is zero.
1010
e129292c
CS
10112012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1012
1013 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1014 whose cdr is not a cons cell correctly (bug#11038).
1015
6632d361
CY
10162012-05-06 Chong Yidong <cyd@gnu.org>
1017
e129292c
CS
1018 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1019 Accept additional plist in column descriptors.
6632d361
CY
1020 (tabulated-list-init-header): Obey it.
1021 (tabulated-list-get-entry): New function.
1022 (tabulated-list-put-tag): Use it. Use string-width instead of
1023 length.
1024 (tabulated-list--column-number): New function.
1025 (tabulated-list-print): Use it.
e129292c
CS
1026 (tabulated-list-print-col): New function.
1027 Set `tabulated-list-column-name' property on each column's text.
6632d361 1028 (tabulated-list-print-entry): Use it.
e129292c
CS
1029 (tabulated-list-delete-entry, tabulated-list-set-col):
1030 New functions.
6632d361
CY
1031 (tabulated-list-sort-column): New command (Bug#11337).
1032
3cc99f68
CY
1033 * buff-menu.el (list-buffers): Move C-x C-b binding from
1034 buff-menu.el to bindings.el.
1035
1036 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1037 :advertised-binding feature.
1038
52b61776
TN
10392012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1040
1041 * progmodes/compile.el (compilation-internal-error-properties):
1042 Calculate start position correctly when end-col is set but
1043 end-line is not (Bug#11382).
1044
ebfe2597
WJ
10452012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1046
1047 * man.el (Man-unindent): Use text-property-default-nonsticky to
1048 prevent untabify from inheriting face properties (Bug#11408).
1049
6d3f7c2f
SM
10502012-05-05 Stefan Merten <smerten@oekonux.de>
1051
1052 * textmodes/rst.el: Major merge with upstream development up to
1053 Docutils SVN r7399 / rst.el V1.2.1.
1054
1055 Clarify maintainership and authors.
1056
1057 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1058 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1059 (rst-official-version, rst-official-cvs-rev, rst-version)
1060 (rst-package-emacs-version-alist): New functions and variables
1061 for version information.
1062
1063 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1064 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1065 (rst-mode-syntax-table, rst-mode): New and corrected functions
1066 and variables representing reStructuredText features.
1067
1068 (rst-re): New function for reStructuredText regexes. Use in
1069 many places.
1070
1071 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1072 (rst-mode-map): Rebind keys.
1073
1074 (rst-mode-lazy, rst-font-lock-keywords)
1075 (rst-font-lock-extend-region)
1076 (rst-font-lock-extend-region-internal)
1077 (rst-font-lock-extend-region-extend)
1078 (rst-font-lock-find-unindented-line-limit)
1079 (rst-font-lock-find-unindented-line-match)
1080 (rst-adornment-level, rst-font-lock-adornment-level)
1081 (rst-font-lock-adornment-match)
1082 (rst-font-lock-handle-adornment-pre-match-form)
1083 (rst-font-lock-handle-adornment-matcher): Major revision of
1084 font-locking. Integrate with other code. Use `jit-lock-mode'.
1085
1086 (rst-preferred-adornments, rst-adjust-hook)
1087 (rst-new-adornment-down, rst-preferred-bullets)
1088 (rst-preferred-bullets, rst-indent, rst-indent-width)
1089 (rst-indent-field, rst-indent-literal-normal)
1090 (rst-indent-literal-minimized, rst-indent-comment): Change,
1091 extend and improve customization.
1092
1093 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1094 (rst-normalize-cursor-position, rst-get-decoration)
1095 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1096 (rst-rstrip, rst-toc-insert-find-delete-contents)
1097 (rst-shift-fill-region, rst-compute-bullet-tabs)
1098 (rst-debug-print-tabs, rst-debug-mark-found)
1099 (rst-shift-region-guts, rst-shift-region-right)
1100 (rst-shift-region-left, rst-use-char-classes)
1101 (rst-font-lock-keywords-function)
1102 (rst-font-lock-indentation-point)
1103 (rst-font-lock-find-unindented-line-begin)
1104 (rst-font-lock-find-unindented-line-end)
1105 (rst-font-lock-find-unindented-line)
1106 (rst-font-lock-adornment-point, rst-font-lock-level)
1107 (rst-adornment-level-alist): Remove functions and variables.
1108
1109 (rst-compare-adornments, rst-get-adornment-match)
1110 (rst-suggest-new-adornment, rst-get-adornments-around)
1111 (rst-adornment-complete-p, rst-get-next-adornment)
1112 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1113 (rst-straighten-adornments): Standardize function names to
1114 use "adornment" instead of "decoration". Correct callers.
1115 Similar standardizing in many places.
1116
1117 (rst-update-section, rst-adjust, rst-promote-region)
1118 (rst-enumerate-region, rst-bullet-list-region)
1119 (rst-repeat-last-character): Correct use of `interactive'.
1120
1121 (rst-classify-adornment, rst-find-all-adornments)
1122 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1123 (rst-find-leftmost-column, rst-repeat-last-character):
1124 Refactor functions.
1125
1126 (rst-find-title-line, rst-reset-section-caches)
1127 (rst-get-adornments-around, rst-adjust-adornment-work)
1128 (rst-arabic-to-roman, rst-roman-to-arabic)
1129 (rst-insert-list-pos, rst-insert-list-new-item)
1130 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1131 New functions.
1132
1133 (rst-all-sections, rst-section-hierarchy)
1134 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1135 New variables.
1136
1137 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1138 configuration instead of only buffer. Change where necessary.
1139
1140 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1141 (rst-shift-region, rst-adaptive-fill): New functions for
1142 indentation and filling.
1143
1144 (rst-comment-line-break, rst-comment-indent)
1145 (rst-comment-insert-comment, rst-comment-region)
1146 (rst-uncomment-region): New functions for handling comments.
1147
1148 (rst-compile): Quote shell arguments.
1149
1150 (rst-compile-pdf-preview, rst-compile-slides-preview):
1151 Delete temporary files after use.
1152
a43f98b3
GM
11532012-05-05 Glenn Morris <rgm@gnu.org>
1154
48176e8b
GM
1155 * calendar/cal-html.el: Optionally include holidays in the output.
1156 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1157 (cal-html-holidays): New option.
1158 (cal-html-css-default): Add holiday entry.
1159 (holiday-in-range): Autoload it.
1160 (cal-html-htmlify-entry): Add optional class argument.
1161 (cal-html-htmlify-list): Add optional holidays argument.
1162 (cal-html-insert-agenda-days): Include holidays in the output.
1163 (cal-html-one-month): Maybe include holidays.
1164
a43f98b3
GM
1165 * calendar/holidays.el (holiday-in-range):
1166 Move here from cal-tex-list-holidays.
1167 * calendar/cal-tex.el (cal-tex-list-holidays):
1168 Make it an obsolete alias for holiday-in-range. Update all callers.
1169
fef9d149 11702012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1171
1172 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1173 Nextstep.
1174
248da2f4
RW
11752012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1176
1177 * files.el (file-auto-mode-skip): New var.
1178 (set-auto-mode-1): Use it.
1179
f95e9344
SM
11802012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1181
df96ab1e
SM
1182 * repeat.el: Use lexical-binding.
1183 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1184 (repeat-undo-count): Remove.
1185 (repeat):
1186 * progmodes/octave-mod.el (octave-abbrev-start):
1187 * progmodes/f90.el (f90-abbrev-start):
1188 * face-remap.el (text-scale-adjust):
1189 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1190
5342bb06
SM
1191 * emacs-lisp/pcase.el (pcase--let*): New function.
1192 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1193 a bit more.
1194 (pcase--split-pred): Be more clever about ruling out overlap between
1195 a predicate and some constant pattern.
1196 (pcase--q1): Use `null' instead of (eq foo nil).
1197
f95e9344
SM
1198 * subr.el (setq-local, defvar-local): New macros.
1199 (kbd): Redefine as an alias.
1200 (with-selected-window): Leave unrelated frames alone.
1201 (set-temporary-overlay-map): New function.
1202
71873e2b
SM
12032012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * subr.el (user-error): New function.
1206 * window.el (switch-to-buffer):
1207 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1208 (smerge-match-conflict):
1209 * simple.el (previous-matching-history-element)
1210 (next-matching-history-element, goto-history-element, undo-more)
1211 (undo-start):
1212 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1213 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1214 (next-file, tags-loop-scan, list-tags, complete-tag):
1215 * progmodes/compile.el (compilation-loop):
1216 * mouse.el (mouse-minibuffer-check):
1217 * man.el (Man-bgproc-sentinel, Man-goto-page):
1218 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1219 (Info-history-forward, Info-follow-reference, Info-menu)
1220 (Info-extract-menu-item, Info-extract-menu-counting)
1221 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1222 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1223 (Info-next-reference, Info-prev-reference, Info-index)
1224 (Info-index-next, Info-follow-nearest-node)
1225 (Info-copy-current-node-name):
1226 * imenu.el (imenu--make-index-alist)
1227 (imenu-default-create-index-function, imenu-add-to-menubar):
1228 * files.el (basic-save-buffer, recover-file):
1229 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1230 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1231 (checkdoc-message-text, checkdoc-defun):
1232 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1233 * cus-edit.el (customize-changed-options, customize-rogue)
1234 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1235 (custom-variable-mark-to-reset-standard)
1236 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1237 (custom-file):
1238 * completion.el (check-completion-length):
1239 * comint.el (comint-search-arg)
1240 (comint-previous-matching-input-string-position)
1241 (comint-previous-matching-input)
1242 (comint-replace-by-expanded-history-before-point, comint-send-input)
1243 (comint-copy-old-input, comint-backward-matching-input)
1244 (comint-goto-process-mark, comint-set-process-mark):
1245 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1246 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1247
8a61ee22
SM
12482012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1249
66408d1e
SM
1250 * dabbrev.el (dabbrev--ignore-case-p): New function.
1251 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1252 Use it.
1253
8a61ee22
SM
1254 * files.el (automount-dir-prefix): Mark as obsolete.
1255
3c74813a
GM
12562012-05-04 Glenn Morris <rgm@gnu.org>
1257
1258 * patcomp.el, play/bruce.el: Move to obsolete/.
1259
0bfcf5c5
PE
12602012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1261
1262 Fix minor Y10k bugs.
1263 * arc-mode.el (archive-unixdate):
1264 * autoinsert.el (auto-insert-alist):
1265 * calc/calc-forms.el (math-this-year):
1266 * emacs-lisp/copyright.el (copyright-current-year)
1267 (copyright-update-year, copyright):
1268 * tar-mode.el (tar-clip-time-string):
1269 * time.el (display-time-update):
1270 Don't assume years have 4 digits.
1271
78f3273a
CY
12722012-05-04 Chong Yidong <cyd@gnu.org>
1273
1274 * dos-w32.el (file-name-buffer-file-type-alist)
1275 (direct-print-region-use-command-dot-com):
1276 * ffap.el (ffap-menu-regexp):
1277 * find-file.el (ff-special-constructs):
1278 * follow.el (follow-debug):
1279 * forms.el (forms--debug):
1280 * iswitchb.el (iswitchb-all-frames):
1281 * ido.el (ido-all-frames):
1282 * emacs-lisp/timer.el (timer-max-repeats):
1283 * mail/feedmail.el (feedmail-mail-send-hook)
1284 (feedmail-mail-send-hook-queued):
1285 * mail/footnote.el (footnote-signature-separator):
1286 * mail/mailabbrev.el (mail-alias-separator-string)
1287 (mail-abbrev-mode-regexp):
1288 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1289 * progmodes/idlwave.el (idlwave-libinfo-file)
1290 (idlwave-default-completion-case-is-down)
1291 (idlwave-library-routines): Convert defvars to defcustoms.
1292
1293 * mail/rmail.el (rmail-decode-mime-charset):
1294 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1295 (idlwave-shell-fix-inserted-breaks)
1296 (idlwave-shell-activate-alt-keybindings)
1297 (idlwave-shell-use-breakpoint-glyph):
1298 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1299
f7ae6719
SM
13002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1303
47086495
WS
13042012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1305
1306 * progmodes/verilog-mode.el (font-lock-keywords):
1307 Fix mis-highligting auto. Reported by Craig Barner.
1308 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1309 defines from global name space. Reported by Dan Dever.
1310 (verilog-auto-reset, verilog-auto-reset-widths)
1311 (verilog-auto-tieoff): Support using unbased numbers for
1312 AUTORESET and AUTOTIEOFF.
1313 (verilog-submit-bug-report): Update variable list.
1314 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1315 parenthesis from not matching. Reported by Michael Rytting.
1316 (verilog-auto-template-lint): Fix hash error when linting modules
1317 with no used templates.
1318 (verilog-warn, verilog-warn-error)
1319 (verilog-warn-fatal): When non-interactive report multiple
1320 warnings before exiting. Suggested by Brad Dobbie.
1321 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1322 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1323 to report unused template errors. Reported by Brad Dobbie.
1324 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1325 nets, bug438. Reported by Vns Blore.
1326 (verilog-auto-inout-module, verilog-auto-reg)
1327 (verilog-read-decls, verilog-read-sub-decls-sig)
1328 (verilog-signals-edit-wire-reg, verilog-signals-with):
1329 Fix passing of Verilog data types in ANSI input/output ports
1330 such as "output logic" into the AUTOs. Special case "wire" and
1331 "reg" for backwards compatibility presuming Verilog 2001.
1332 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1333 (verilog-preprocess): Fix replication of preprocess output.
1334 Reported by Brad Dobbie.
1335 (verilog-auto-inst-interfaced-ports):
1336 Create verilog-auto-inst-interfaced-ports, bug429.
1337 Reported by Julian Gorfajn.
1338 (verilog-after-save-font-hook)
1339 (verilog-before-save-font-hook): New variable.
1340 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1341 (verilog-save-font-mods): Wrap disabling fontification, reported
1342 by David Rogoff.
1343 (verilog-do-indent, verilog-pretty-declarations-auto)
1344 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1345 Reported by Pierre-David Pfister.
1346 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1347 of class declarations, bug292. Reported by Kevin Heilman.
1348 (verilog-read-decls): Fix 'parameter type' not appearing in
1349 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1350 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1351 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1352 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1353 Reported by David Kravitz.
1354
13552012-05-03 Michael McNamara <mac@mail.brushroad.com>
1356
1357 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1358 assignment with tests in ifs and for loops.
1359 (verilog-extended-complete-re, verilog-complete-reg): Change so
1360 that DPI inport functions don't look like fuction declarations.
1361 (verilog-pretty-expr): Don't line up assignment
1362 operations to the test and increment in if and for loops
1363 (verilog-extended-complete-re, verilog-complete-reg): Change so
1364 that DPI inport functions don't look like fuction declarations
1365
2e51d4b5
KH
13662012-05-03 Kenichi Handa <handa@m17n.org>
1367
1368 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1369 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1370 (Bug#11282).
1371
2bd785a2
SM
13722012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * emacs-lisp/bytecomp.el
1375 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1376 since cconv.el might have introduced :fun-body, internal-make-closure,
1377 and friends for bytecomp to handle (bug#11391).
1378 * custom.el (defcustom): Avoid ((λ ..) ..).
1379
99d27583
SM
13802012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1383
55a71479
JB
13842012-05-02 Juanma Barranquero <lekktu@gmail.com>
1385
1386 * notifications.el (dbus-debug):
1387 * term/linux.el (gpm-mouse-enable):
1388 * term/screen.el (xterm-register-default-colors): Declare.
1389
7b97c764
CY
13902012-05-02 Chong Yidong <cyd@gnu.org>
1391
2bc356d7
CY
1392 * cus-start.el (gc-cons-percentage, exec-suffixes)
1393 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1394 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1395 (make-cursor-line-fully-visible, void-text-area-pointer)
1396 (font-list-limit): Add customization data.
1397
7b97c764
CY
1398 * allout.el (allout-exposure-change-functions)
1399 (allout-structure-added-functions)
1400 (allout-structure-deleted-functions)
1401 (allout-structure-shifted-functions): Rename abnormal hooks from
1402 *-hook, and convert to defcustoms.
5d3385a0
JB
1403 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1404 Convert to defcustoms.
7b97c764
CY
1405 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1406
1407 * allout-widgets.el: Hook callers changed.
1408
90207a15 14092012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1410
1411 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1412 the yanked message in preference to the default value of
1413 buffer-file-coding-system.
1414
90207a15 14152012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1416
5d3385a0
JB
1417 * window.el (display-buffer--action-function-custom-type):
1418 Fix entry.
d9558cad 1419
90207a15 14202012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1421
1422 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1423
d80ac57b
GM
14242012-05-01 Glenn Morris <rgm@gnu.org>
1425
976f7668
GM
1426 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1427
beb83b5a
GM
1428 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1429
d80ac57b
GM
1430 * cus-edit.el (custom-variable-documentation): Simplify with format.
1431
b593d6a9
AH
14322012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1433 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * simple.el (suggest-key-bindings, execute-extended-command):
1436 Move from keyboard.c.
1437
782fbf2a
CY
14382012-05-01 Chong Yidong <cyd@gnu.org>
1439
1440 * follow.el: Eliminate advice.
1441 (set-process-filter, process-filter, sit-for): Advice deleted.
1442 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1443 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1444 Vars deleted.
782fbf2a
CY
1445 (follow-auto): Use a :set function.
1446 (follow-mode): Rewritten. Don't advise process filters.
1447 (follow-switch-to-current-buffer-all, follow-scroll-up)
1448 (follow-scroll-down): Assume follow-mode is bound.
1449 (follow-comint-scroll-to-bottom)
1450 (follow-align-compilation-windows): New functions.
1451 (follow--window-sorter): New function.
1452 (follow-all-followers): Use it to explicitly sort windows by their
1453 positions; don't make assumptions about next-window order.
1454 (follow-windows-start-end, follow-delete-other-windows-and-split)
1455 (follow-calc-win-start): Doc fix.
1456 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1457 vertical-motion unnecessarily.
1458 (follow-adjust-window): New function.
1459 (follow-post-command-hook): Use it.
1460 (follow-call-set-process-filter, follow-call-process-filter)
1461 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1462 (follow-stop-intercept-process-output, follow-generic-filter):
1463 Functions deleted.
1464 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1465 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1466 New functions, replacing advice on scroll-bar-* commands.
87233a14 1467 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1468
1469 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1470 (comint-postoutput-scroll-to-bottom): Use it.
1471 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1472
290af740
GM
14732012-05-01 Glenn Morris <rgm@gnu.org>
1474
1475 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1476 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1477 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1478 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1479 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1480 Remove no-byte-compile setting.
1481
6eac8dc9
SM
14822012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1485 all-completions code to not return a number in the last cdr.
1486
9cc7819c
LL
14872012-04-30 Leo Liu <sdl.web@gmail.com>
1488
1489 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1490 read-only error.
1491
c93b886f
CY
14922012-04-29 Chong Yidong <cyd@gnu.org>
1493
1494 * follow.el (follow-calc-win-end): Rewrite to handle partial
1495 screen lines correctly (Bug#8390).
1496 (follow-avoid-tail-recenter): Minor cleanup.
1497
8b6c19f4
SM
14982012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 Avoid the obsolete `assoc' package.
1501 * speedbar.el (speedbar-refresh): Avoid adelete.
1502 (speedbar-file-lists): Simplify and avoid aput.
1503 * man.el (Man--sections, Man--refpages): New vars, replacing
1504 Man-sections-alist and Man-refpages-alist.
1505 (Man-build-section-alist, Man-build-references-alist):
1506 Use them; avoid aput.
1507 (Man--last-section, Man--last-refpage): New vars.
1508 (Man-follow-manual-reference): Use them.
1509 Use the `default' arg of completing-read.
1510 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1511
c5bb7569
CY
15122012-04-27 Chong Yidong <cyd@gnu.org>
1513
d1d2e2e8
CY
1514 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1515
15cd8efd
CY
1516 * startup.el (x-apply-session-resources): New function.
1517
1518 * term/ns-win.el (ns-initialize-window-system):
1519 * term/w32-win.el (w32-initialize-window-system):
1520 * term/x-win.el (x-initialize-window-system): Use it to properly
1521 set menu-bar-mode and other vars from X resources, even if the
1522 initial frame is not a window-system frame (Bug#2299).
1523
c5bb7569
CY
1524 * subr.el (read-key): Avoid running filter function when setting
1525 up temporary tool bar entries (Bug#9922).
1526
a8e7d6d7 15272012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1528
1529 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1530 (Bug#11344)
1531
a8e7d6d7 15322012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1533
1534 * select.el (xselect--encode-string): New function, split from
1535 xselect-convert-to-string.
1536 (xselect-convert-to-string): Use it.
1537 (xselect-convert-to-filename, xselect-convert-to-os)
1538 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1539 returned strings are properly encoded (Bug#11315).
1540
a8e7d6d7 15412012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1542
1543 * simple.el (delete-active-region): Move to killing custom group.
1544
a8e7d6d7 15452012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1546
1547 * progmodes/which-func.el (which-func-current): Quote %
1548 characters for mode-line processing.
1549
578c1d4b 15502012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1551
1552 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1553 reaching eob (Bug#11286).
1554
a8e7d6d7 15552012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1556
1557 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1558 (gdb): Make it buffer-local and init to zero.
1559 (gdb-control-commands-regexp): New variable.
1560 (gdb-send): Don't wrap in "-interpreter-exec console" if
1561 gdb-control-level is positive. Increment gdb-control-level
1562 whenever the command matches gdb-control-commands-regexp, and
1563 decrement it each time the command is "end". (Bug#11279)
1564
a8e7d6d7 15652012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1566
1567 * window.el (adjust-window-trailing-edge, enlarge-window)
1568 (shrink-window, window-resize):
1569 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1570 windows (Bug#11276).
1571
b3608390
CY
15722012-04-27 Chong Yidong <cyd@gnu.org>
1573
1574 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1575 fix "missing prefix" warning. All callers changed.
b3608390 1576
797e6e88
SM
15772012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * emacs-lisp/assoc.el: Move to obsolete/.
1580
e95a67dc
SM
15812012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1582
657c21e4 1583 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1584
1585 * term/ns-win.el (ns-define-service):
1586 * progmodes/pascal.el (pascal-goto-defun):
1587 * progmodes/js.el (js--read-tab):
1588 * progmodes/etags.el (tags-lazy-completion-table):
1589 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1590 * emacs-lisp/ewoc.el (ewoc--wrap):
1591 * emacs-lisp/assoc.el (aput, adelete, amake):
1592 * doc-view.el (doc-view-convert-current-doc):
1593 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1594
cb3e7ae0
CY
15952012-04-26 Chong Yidong <cyd@gnu.org>
1596
dce04f7f
CY
1597 * image.el (image-type-from-buffer): Only return supported image
1598 type (Bug#9045).
1599
cb3e7ae0
CY
1600 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1601 value, for symmetry with diff-end-of-hunk.
1602 (diff-split-hunk, diff-find-source-location)
1603 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1604 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1605 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1606 compute the relevant hunk or file properly (Bug#6005).
1607 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1608
0d42eb3e
SM
16092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * vc/vc-mtn.el:
1612 * vc/vc-hg.el:
1613 * vc/vc-git.el:
1614 * vc/vc-dir.el:
1615 * vc/vc-cvs.el:
1616 * vc/vc-bzr.el:
1617 * vc/vc-arch.el:
1618 * vc/vc.el: Replace lexical-let by lexical-binding.
1619 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1620 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1621 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1622
f08ae1c9
CY
16232012-04-26 Chong Yidong <cyd@gnu.org>
1624
8b71081d
CY
1625 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1626 (diff-mode-shared-map): Bind it to / and [remap undo].
1627
f08ae1c9
CY
1628 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1629 (ediff-window-setup-function): Use it as the default, to set up
1630 windows based on whether the current frame is graphical (Bug#2138).
1631 (ediff-choose-window-setup-function-automatically): Make obsolete.
1632
1633 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1634
ef24141c
SM
16352012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1636
cc356a5d
SM
1637 * ffap.el: Remove old code for obsolete package.
1638 (ffap-complete-as-file-p): Remove.
1639
b4ff4f1f
SM
1640 Use completion-table-with-quoting for comint and pcomplete.
1641 * comint.el (comint--unquote&requote-argument)
1642 (comint--unquote-argument, comint--requote-argument): New functions.
1643 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1644 (comint-quote-filename): Use regexp-opt-charset.
1645 (comint--common-suffix, comint--common-quoted-suffix)
1646 (comint--table-subvert): Remove.
1647 (comint-unquote-function, comint-requote-function): New vars.
1648 (comint--complete-file-name-data): Use them with
1649 completion-table-with-quoting.
1650 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1651 * pcomplete.el (pcomplete-arg-quote-list)
1652 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1653 (pcomplete-unquote-argument-function): Default to non-nil.
1654 (pcomplete-unquote-argument): Simplify.
1655 (pcomplete--common-quoted-suffix): Remove.
1656 (pcomplete-requote-argument-function): New var.
1657 (pcomplete--common-suffix): New function.
1658 (pcomplete-completions-at-point): Use completion-table-with-quoting
1659 and completion-table-subvert.
1660
79c4eeb4
SM
1661 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1662 (minibuffer--double-dollars): Preserve properties.
1663 (completion--sifn-requote): New function.
1664 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1665
ef24141c
SM
1666 * minibuffer.el: Add support for completion of quoted/escaped data.
1667 (completion-table-with-quoting, completion-table-subvert): New funs.
1668 (completion--twq-try, completion--twq-all): New functions.
1669 (completion--nth-completion): New function.
1670 (completion-try-completion, completion-all-completions): Use it.
1671
784e7d6e
LL
16722012-04-25 Leo Liu <sdl.web@gmail.com>
1673
dd2ac746
SM
1674 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1675 Use compilation-message if available to find real filename.
784e7d6e 1676
07875ee7
CY
16772012-04-25 Chong Yidong <cyd@gnu.org>
1678
1679 * vc/diff-mode.el (diff-setup-whitespace): New function.
1680 (diff-mode): Use it.
1681
1682 * vc/diff.el (diff-sentinel):
1683 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1684 Whitespace mode variables based on diff style (Bug#8612).
1685
5055880d
LL
16862012-04-25 Leo Liu <sdl.web@gmail.com>
1687
daf75653
LL
1688 * progmodes/python.el (python-send-region): Add suffix .py to the
1689 temp file.
1690
5055880d
LL
1691 * files.el (auto-mode-alist): Use javascript-mode instead.
1692
db9b177b
AH
16932012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1694
ef24141c 1695 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1696
1697 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1698 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1699 references, see Bug#9.
ef24141c 1700 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1701 when receiving a fault reply.
ef24141c 1702 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1703
1704 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1705 (soap-inspect-simple-type): New function.
db9b177b 1706
ef24141c 1707 * soap-client.el (soap-simple-type): New struct.
db9b177b 1708 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1709 (soap-decode-basic-type, soap-encode-basic-type):
1710 support unsignedInt and double basic types.
db9b177b 1711 (soap-resolve-references-for-simple-type)
ef24141c
SM
1712 (soap-parse-simple-type, soap-encode-simple-type): New function.
1713 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1714
1715 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1716 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1717 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1718 the local name of "soapenc:Array".
1719 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1720 decoding integer, byte and anyURI xsd types.
1721
1fc6097b
CY
17222012-04-25 Chong Yidong <cyd@gnu.org>
1723
1724 * cus-edit.el (custom-buffer-create-internal): Update header text.
1725
afc6df87
EZ
17262012-04-25 Eli Zaretskii <eliz@gnu.org>
1727
1728 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1729 settings on 'system-type', not on 'window-system'. On MS-Windows,
1730 set interactive-mode on in GDB.
1731
dfbd787f
SM
17322012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1735 (ruby-syntax-propertize-regexp): Remove.
1736 (ruby-syntax-propertize-function): Split regexp into chunks.
1737 Match following code directly.
1738
85222d44
DG
17392012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1740
51a8ea2a
DG
1741 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1742 (ruby-syntax-propertize-regexp): New function.
1743 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1744 by a special keyword.
1745
85222d44
DG
1746 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1747 (ruby-syntax-general-delimiters-goto-beg)
1748 (ruby-syntax-propertize-general-delimiters): New functions.
1749 (ruby-syntax-propertize-function): Use them to handle GDL.
1750 (ruby-font-lock-keywords): Move old handling of GDL...
1751 (ruby-font-lock-syntactic-keywords): .. to here.
1752 (ruby-calculate-indent): Adjust indentation for GDL.
1753
b613912b
MA
17542012-04-24 Michael Albinus <michael.albinus@gmx.de>
1755
b5380639
MA
1756 * notifications.el (top): Remove unneeded declarations.
1757 (notifications-specification-version): Change to "1.2".
e43042fe 1758 (notifications-interface, notifications-notify-method)
b613912b
MA
1759 (notifications-close-notification-method): Fix docstring.
1760 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1761 (notifications-notify): Add :action-items, :resident and
1762 :transient hints. Change "image_data" to "image-data" and
1763 "image_path" to "image-path".
b613912b
MA
1764 (notifications-get-capabilities): New defun.
1765
257440aa
LL
17662012-04-24 Leo Liu <sdl.web@gmail.com>
1767
1768 * progmodes/python.el: Move hideshow setup to the end.
1769
b1bac16e
MR
17702012-04-24 Martin Rudalics <rudalics@gmx.at>
1771
1772 * window.el (handle-select-window): Clear echo area since this is
1773 no more done by read_char (Bug#11304).
1774
d81bd059
SM
17752012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1778 and `/ M' to filter-derived-mode.
1779 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1780 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1781 (ibuffer-mark-by-mode): Use default rather than initial-input.
1782 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1783
c4cf6d91
IA
17842012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1785
1786 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1787 (ibuffer-filter-by-derived-mode): New filter.
1788 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1789
7511ded8
CY
17902012-04-23 Andreas Politz <politza@fh-trier.de>
1791
1792 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1793
775c916b
CY
17942012-04-23 Chong Yidong <cyd@gnu.org>
1795
1796 * cus-edit.el (customize-apropos, customize-apropos-options):
1797 Disable matching of non-option variables (Bug#11176).
1798 (customize-option, customize-option-other-window)
1799 (customize-changed-options): Doc fix.
1800 (customize-apropos-options, customize-apropos-faces)
1801 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1802
1803 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1804 Fix word list splitting (Bug#11132).
46c71e23
CY
1805 (apropos-symbol, apropos-keybinding, apropos-label)
1806 (apropos-property, apropos-function-button)
1807 (apropos-variable-button, apropos-misc-button): New faces.
1808 (apropos-symbol-face, apropos-keybinding-face)
1809 (apropos-label-face, apropos-property-face, apropos-match-face):
1810 Variables removed (Bug#8396).
1811 (apropos-library-button, apropos-format-plist, apropos-print)
1812 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1813
2df41f9c
MA
18142012-04-23 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/xesam.el (xesam-mode-map): Use let-bound map in
1817 initialization. (Bug#11292)
1818
da00640a
AM
18192012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1820
1821 Preserve ispell session localwords when switching back to
1822 original buffer.
1823
1824 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1825 variable to hold buffer session localwords.
1826 (ispell-kill-ispell): add option 'clear to delete session
1827 localwords.
1828 (ispell-command-loop, ispell-change-dictionary)
1829 (ispell-buffer-local-words): Preserve session localwords when
1830 needed.
1831
1832 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1833 Preserve session localwords when needed.
1834
f621ccf5
AM
18352012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1836
1837 * ispell.el (ispell-insert-word) Remove unneeded function using
1838 obsolete `translation-table-for-input'.
ef24141c
SM
1839 (ispell-word, ispell-process-line, ispell-complete-word):
1840 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1841
c2d1019e
CY
18422012-04-22 Chong Yidong <cyd@gnu.org>
1843
1844 * cus-edit.el (custom-variable-menu)
1845 (custom-variable-reset-saved, custom-face-menu)
1846 (custom-face-reset-saved): If there is no saved value, make the
1847 "reset-saved" operation bring back the default (Bug#9509).
1848 (custom-face-state): Properly detect themed faces.
1849
eeddc531
CY
1850 * faces.el (face-spec-set): Stop supporting deprecated form of
1851 third arg.
1852
dcbf5805
MA
18532012-04-22 Michael Albinus <michael.albinus@gmx.de>
1854
1855 Move functions from C to Lisp. Make non-blocking method calls
1856 the default. Implement further D-Bus standard interfaces.
1857
ef24141c
SM
1858 * net/dbus.el (dbus-message-internal): Declare function.
1859 Remove unneeded function declarations.
dcbf5805
MA
1860 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1861 (dbus-message-type-method-return, dbus-message-type-error)
1862 (dbus-message-type-signal): Declare variables. Remove local
1863 definitions.
1864 (dbus-interface-dbus, dbus-interface-peer)
1865 (dbus-interface-introspectable, dbus-interface-properties)
1866 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1867 Adapt docstring.
1868 (dbus-interface-objectmanager): New defconst.
1869 (dbus-call-method, dbus-call-method-asynchronously)
1870 (dbus-send-signal, dbus-method-return-internal)
1871 (dbus-method-error-internal, dbus-register-service)
1872 (dbus-register-signal, dbus-register-method): New defuns, moved
1873 from dbusbind.c
1874 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1875 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1876 New defuns.
dcbf5805
MA
1877 (dbus-call-method-non-blocking): Make it an obsolete function.
1878 (dbus-unregister-object, dbus-unregister-service)
1879 (dbus-handle-event, dbus-register-property)
1880 (dbus-property-handler): Obey the new structure of
1881 `bus-registered-objects'.
1882 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1883 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1884 Use `dbus-call-method'.
1885
cf20dee0
CY
18862012-04-22 Chong Yidong <cyd@gnu.org>
1887
1888 * cus-edit.el (custom-commands, custom-reset-menu)
1889 (Custom-reset-standard): Tweak labels.
1890 (custom-reset-button-menu): Change default to t.
1891 (custom-buffer-create-internal): For the custom-reset-button-menu
1892 case, put the revert button first.
1893 (custom-group-subtitle): New face.
1894 (custom-group-value-create): Align docstring to a specific column.
1895
1896 * wid-edit.el (widget-documentation-link-add): Don't handle
1897 indentation in this function.
1898 (widget-documentation-string-indent-to): New function.
1899 (widget-documentation-string-value-create): Use it.
1900
1901 * autorevert.el (auto-revert):
1902 * epg-config.el (epg):
1903 * ibuffer.el (ibuffer):
1904 * mpc.el (mpc):
1905 * ses.el (ses):
1906 * eshell/eshell.el (eshell):
1907 * net/ange-ftp.el (ange-ftp):
1908 * progmodes/ebnf2ps.el (postscript):
1909 * progmodes/flymake.el (flymake):
1910 * progmodes/prolog.el (prolog):
1911 * progmodes/verilog-mode.el (verilog-mode):
1912 * progmodes/which-func.el (which-func):
1913 * term/xterm.el (xterm):
1914 * textmodes/picture.el (picture):
1915 * textmodes/tildify.el (tildify):
1916 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1917 customization buffers.
1918
583e23bd
AM
19192012-04-22 Alan Mackenzie <acm@muc.de>
1920
1921 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1922 Adding a ) can hide the resulting (..) from searches. Fix it.
1923 Bound the backward search to the position of the existing (.
1924
7dd51bf1
JB
19252012-04-21 Juanma Barranquero <lekktu@gmail.com>
1926
1927 * progmodes/verilog-mode.el (verilog-mode): Check whether
1928 which-func-modes is t before adding verilog-mode.
1929 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1930
d64a438f
LL
19312012-04-21 Leo Liu <sdl.web@gmail.com>
1932
7dd51bf1 1933 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1934
081e8d65
MV
19352012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1936
1937 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1938 filling of the last column of a table (Bug#5635).
1939 (woman-find-next-control-line): New arg, specifying an additional
1940 regexp component for the control line.
1941 (woman2-roff-buffer): Use it.
1942 (woman-break-table): New function.
1943 (woman2-TS): Use it.
1944
19452012-04-21 Chong Yidong <cyd@gnu.org>
1946
1947 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1948 (woman-horizontal-escapes, woman-negative-vertical-space)
1949 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1950 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1951
ed571ccb
SM
19522012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * minibuffer.el (completion-file-name-table): Complete user names.
1955
39773899
LL
19562012-04-20 Leo Liu <sdl.web@gmail.com>
1957
1958 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1959 and pcase-let*.
1960
de6ff46d
CY
19612012-04-20 Chong Yidong <cyd@gnu.org>
1962
1963 * server.el (server-execute): Respect initial-buffer-choice if it
1964 is a string and there are no files to open (Bug#2825).
1965 (server-create-window-system-frame, server-create-tty-frame):
1966 Don't switch buffers here.
2d0e8e61
CY
1967 (server-process-filter): Only try to open a window system frame if
1968 compiled with graphical support (Bug#8314).
de6ff46d 1969
54071013
DN
19702012-04-20 Dan Nicolaescu <dann@gnu.org>
1971
1972 * battery.el (battery-echo-area-format): Display remaining time
1973 for sysfs backend too (Bug#11269).
1974 (battery-linux-sysfs): Fix conditional for the charge.
1975
f30d612a
CY
19762012-04-20 Chong Yidong <cyd@gnu.org>
1977
c07a4c0b 1978 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1979 (gdb-inferior-io--init-proc): New function.
1980 (gdb-init-1): Use it.
1981 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1982 responsible for allocating a new pty and hooking it to gdb when
1983 the old pty gets an EIO due to process exit.
1984 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1985 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1986 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1987
2116e93c
EZ
19882012-04-20 Eli Zaretskii <eliz@gnu.org>
1989
1990 * window.el (window-min-size, window-sizable, window-min-delta)
1991 (window-max-delta, window--resizable, window-resizable)
1992 (window-total-size, window-full-height-p, window-full-width-p)
1993 (window-in-direction, window--resize-mini-window, window-resize)
1994 (window--resize-child-windows-normal)
1995 (window--resize-child-windows, window--resize-siblings)
1996 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1997 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1998
c07a4c0b 19992012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2000
ef24141c
SM
2001 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2002 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2003 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2004 pty process (Bug#11273).
2005 (gdb-update): New arg to suppress talking to the gdb process.
2006 (gdb-done-or-error): Use it.
2007 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2008 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2009 sentinel not being called.
2010
2011 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2012
d02766ab
CY
2013 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2014
c07a4c0b 20152012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2016
2017 * net/network-stream.el (open-network-stream): Doc fix.
2018
c07a4c0b 20192012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2020
2021 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2022
c07a4c0b 20232012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2024
2025 Ensure searching for keywords is case sensitive.
2026
2027 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2028 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2029 (c-defun-name, c-mark-function, c-cpp-define-name)
2030 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2031 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2032
ef24141c
SM
2033 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2034 Bind case-fold-search to nil.
f0f6bc35 2035
c07a4c0b 20362012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2037
2038 * mail/sendmail.el (mail-bury): Call return action with the right
2039 Rmail buffer (Bug#11242).
2040
9a864fa2
CY
2041 * server.el (server-process-filter): Handle corner case where both
2042 tty and nowait options are present (Bug#11102).
2043
539aa513
EZ
20442012-04-20 Eli Zaretskii <eliz@gnu.org>
2045
2046 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2047 (top level): Put into the executable the ident-style '$Id:' tag on
2048 windows-nt as well.
539aa513 2049
cfc7d5da
SM
20502012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * electric.el (electric-indent-post-self-insert-function): Check that
2053 electric-indent-mode is enabled in current buffer.
2054
5b01685c
JB
20552012-04-19 Juanma Barranquero <lekktu@gmail.com>
2056
2057 * imenu.el (imenu-progress-message): Restore; it is "used" in
2058 erc/erc-imenu.el and net/snmp-mode.el.
2059
4d6769e1
JB
20602012-04-19 Juanma Barranquero <lekktu@gmail.com>
2061
2062 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2063 (mouse-avoidance-nudge-mouse): Remove unused binding.
2064
2065 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2066
2067 * descr-text.el (describe-char):
2068 * progmodes/python.el (python-describe-symbol):
2069 Don't call `toggle-read-only', set `buffer-read-only'.
2070
2071 * imenu.el (imenu-default-goto-function): Mark unused args.
2072 (imenu-progress-message): Remove obsolete macro; all callers changed.
2073
2074 * subr.el (keymap-canonicalize): Remove unused binding.
2075 (read-passwd): Mark unused arg.
2076
2077 * tutorial.el (tutorial--display-changes): Remove unused binding.
2078 (tutorial--save-tutorial-to): Remove unused variable.
2079
2080 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2081 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2082 (package-generate-autoloads, package-menu--generate)
2083 (package-menu--find-upgrades): Remove unused bindings.
2084
2085 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2086 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2087 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2088 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2089 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2090 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2091 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2092 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2093 (cua-delete-char-rectangle): Mark unused args.
2094 (cua-align-rectangle): Remove unused binding.
2095
2096 * mail/rmail.el (compilation--message->loc)
2097 (epa--find-coding-system-for-mime-charset): Declare.
2098
2099 * net/dbus.el (dbus-register-service): Declare.
2100 (dbus-name-owner-changed-handler): Remove unused binding.
2101
2102 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2103 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2104 (nxml-scan-backward-within): Mark unused arg.
2105 (nxml-dynamic-markup-word): Remove unused binding.
2106
2107 * mouse.el (mouse-menu-major-mode-map):
2108 * emacs-lisp/authors.el (authors-scan-change-log)
2109 (authors-add-to-author-list):
2110 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2111 * emacs-lisp/smie.el (smie-auto-fill):
2112 * mail/sendmail.el (mail-bury):
2113 * mail/unrmail.el (unrmail):
2114 * net/tls.el (open-tls-stream):
2115 * textmodes/picture.el (picture-mouse-set-point):
2116 Remove unused bindings.
2117
8c8fc5df
MA
21182012-04-19 Michael Albinus <michael.albinus@gmx.de>
2119
2120 * net/tramp.el (tramp-action-password): Let-bind
2121 `enable-recursive-minibuffers' to t.
2122
a77b0ac9
SS
21232012-04-18 Sam Steingold <sds@gnu.org>
2124
2125 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2126 instead of 'string to accommodate values like [f11].
2127 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2128 * progmodes/gdb-mi.el: Likewise.
2129
12a106a9
LL
21302012-04-18 Leo Liu <sdl.web@gmail.com>
2131
2132 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2133 current buffer.
2134 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2135 LOCAL is nil.
2136
bc6494ef
CY
21372012-04-18 Chong Yidong <cyd@gnu.org>
2138
2139 * simple.el (line-move): Use forward-line if in batch mode
2140 (Bug#11053).
2141
c09c46b2
CS
21422012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2143
2144 * files.el (after-find-file): Do not try to add a final newline if
2145 the buffer is read-only (Bug#11156).
2146
5f6530ea
RS
21472012-04-17 Richard Stallman <rms@gnu.org>
2148
2149 * mail/rmail.el (rmail-start-mail):
2150 Pass (rmail-mail-return...) for the return-action.
2151 Pass (rmail-yank-current-message...) for the yank-action.
2152 (rmail-yank-current-message): New function.
2153 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2154 (rmail-reply): Likewise.
2155 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2156
2157 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2158 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2159 buffer, not newbuf.
2160
197b6f3c
JB
21612012-04-17 Juanma Barranquero <lekktu@gmail.com>
2162
2163 * server.el (server-ensure-safe-dir): Simplify.
2164
2311d8e5 21652012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2166
2311d8e5
GM
2167 * emacs-lisp/smie.el: Provide smarter auto-filling.
2168 (smie-auto-fill): New function.
2169 (smie-setup): Use it.
98fb480e 2170
2311d8e5
GM
2171 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2172
21732012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2174
2175 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2176 (comment-indent): Use it.
2177
2311d8e5 21782012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2179
2180 * ses.el: The overall change is to add cell renaming, that is
2181 setting fancy names for cell symbols other than name matching
2182 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2183 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2184 (ses-create-cell-variable): New defun.
2311d8e5 2185 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2186 (ses-relocate-formula): Relocate formulas only for cells the
2187 symbols of which are not renamed, i.e. symbols whose names do not
2188 match regexp "\\`[A-Z]+[0-9]+\\'".
2189 (ses-relocate-all): Relocate values only for cells the symbols of
2190 which are not renamed.
2191 (ses-load): Create cells variables as the (ses-cell ...) are read,
2192 in order to check row col consistency with cell symbol name only
2193 for cells that are not renamed.
2194 (ses-replace-name-in-formula): New defun.
2195 (ses-rename-cell): New defun.
4bdf2ad2 2196
fc72b15c
PO
21972012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2198
2199 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2200 New option (bug#11118).
2201 (perl-calculate-indent): Respect it.
2202
12e10e61
GM
22032012-04-17 Glenn Morris <rgm@gnu.org>
2204
2205 * dired-aux.el (dired-mark-read-string): Doc fix.
2206
30009afd
DA
22072012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2208
2209 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2210 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2211
41f03f4d
GM
22122012-04-17 Glenn Morris <rgm@gnu.org>
2213
2214 * mouse.el (mouse-drag-track):
2215 * speedbar.el (speedbar-frame-mode):
2216 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2217
f45f90f3
LL
22182012-04-16 Leo Liu <sdl.web@gmail.com>
2219
2220 * progmodes/python.el: Trivial cleanup.
2221
94ee8db5
GM
22222012-04-16 Glenn Morris <rgm@gnu.org>
2223
121b8917
GM
2224 * vc/vc.el (vc-string-prefix-p):
2225 * vc/pcvs-util.el (cvs-string-prefix-p):
2226 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2227 * mpc.el (mpc-string-prefix-p):
2228 Make all of these into obsolete aliases for string-prefix-p.
2229 Update callers.
2230 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2231
1197ecfa
GM
2232 * textmodes/two-column.el: Move custom options to the start.
2233 (frame-width): Remove compat definition.
2234 (2C-associate-buffer, 2C-dissociate):
2235 Use with-current-buffer rather than save-excursion.
2236 (2C-dissociate): Force a mode-line update.
2237 (2C-autoscroll): Use ignore-errors.
2238
099e7202
GM
2239 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2240 Autoload trivia.
2241
bf350d6a
GM
2242 * emacs-lisp/cl-extra.el (*random-state*):
2243 Remove unnecessary declaration.
2244
0e829eab
GM
2245 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2246
e3ad7552
GM
2247 * play/cookie1.el (cookie-snarf):
2248 Give an explicit error if input file cannot be read.
2249
68892d27
GM
2250 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2251
20f0c46d
GM
2252 * progmodes/perl-mode.el (c-macro-expand):
2253 Remove unnecessary autoload (it is in loaddefs.el).
2254
5a0978ce
GM
2255 * textmodes/picture.el (picture-desired-column)
2256 (picture-update-desired-column): Convert comments to doc-strings.
2257 (picture-substitute): Remove function.
2258 (picture-mode-map): Initialize in the defvar.
2259
6b955486
GM
2260 * woman.el: Remove eval-after-load for tar-mode.
2261 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2262 (woman-tar-extract-file): Autoload it.
2263
94ee8db5
GM
2264 * frame.el (automatic-hscrolling): Make this alias obsolete.
2265
177eca34
AM
22662012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2267
2268 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2269 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2270 (ispell-dictionary-base-alist): Revert to original XEmacs
2271 friendly version for default. [:alpha:] will be added in
2272 `ispell-set-spellchecker-params' if needed
177eca34 2273
c505aaeb
CY
22742012-04-16 Chong Yidong <cyd@gnu.org>
2275
2276 * image.el (imagemagick--extension-regexp): New variable.
2277 (imagemagick-register-types): Use it.
2278 (imagemagick-types-inhibit): Add :set function. Allow new value
2279 of t to inhibit all types.
2280
2281 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2282 so we can preload it.
2283
2284 * loadup.el (fboundp): Preload regexp-opt, needed by
2285 imagemagick-register-types.
2286
60efac0f
CY
22872012-04-15 Chong Yidong <cyd@gnu.org>
2288
2289 * frame.el (scrolling): Remove nearly unused customization group.
2290
2291 * scroll-all.el (scroll-all-mode): Move to windows group.
2292
5dd1713e
CY
22932012-04-15 Chong Yidong <cyd@gnu.org>
2294
2295 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2296
e6fd457e
CY
22972012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2300 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2301
e153c136
GM
23022012-04-15 Glenn Morris <rgm@gnu.org>
2303
2304 * simple.el (process-file-side-effects): Doc fix.
2305
e6fd457e 23062012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2307
2308 * international/mule-cmds.el (set-language-environment): Doc fix.
2309
3603c3b1
JB
23102012-04-14 Juanma Barranquero <lekktu@gmail.com>
2311
2312 * server.el (server-auth-key, server-generate-key): Doc fixes.
2313 (server-get-auth-key): Doc fix. Use `string-match-p'.
2314 (server-start): Reflow docstring.
2315
e6de100c
LI
23162012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2317
2318 * server.el (server-generate-key): `called-interactively-p'
2319 requires a parameter.
2320
29734c21
MN
23212012-04-14 Michal Nazarewicz <mina86@mina86.com>
2322
2323 * server.el (server-auth-key): New variable.
75f1671a 2324 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2325 (server-start): Use the new variable and functions to allow
2326 setting a permanent server key (bug#9423).
2327
d65c9521
LL
23282012-04-14 Leo Liu <sdl.web@gmail.com>
2329
2330 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2331
5ae255c7
PE
23322012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2333
2334 Spelling fixes.
2335 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2336 Emacs uses American spelling.
2337
d5e6342e
JB
23382012-04-14 Juanma Barranquero <lekktu@gmail.com>
2339
2340 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2341 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2342 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2343 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2344
ab036cd7
SM
23452012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * progmodes/which-func.el (which-func-modes): Change default.
2348
35dc09a1 23492012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2350
2351 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2352 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2353
35dc09a1 23542012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2355
2356 * custom.el (custom-theme-set-variables): Doc fix.
2357
35dc09a1 23582012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2359
2360 * international/mule.el (set-auto-coding-for-load): Doc fix.
2361
35dc09a1 23622012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2363
35dc09a1
GM
2364 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2365 imenu work again for Objective C Mode. Correct the *-index values,
2366 these having been disturbed by a previous change in 2011-08.
57f845ee 2367
0de3da9f
AM
2368 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2369 Correct two search limits.
2370
35dc09a1 23712012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2372
2373 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2374
35dc09a1 23752012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2376
2377 * international/characters.el: Fix sorting.
2378
35dc09a1 23792012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2380
2381 * international/characters.el: Add more missing Latin case pairs.
2382
35dc09a1 23832012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2384
2385 * files.el (dir-locals-set-class-variables): Doc fix.
2386
35dc09a1 23872012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2388
3f1b5bf8
EZ
2389 * international/characters.el: Add set-case-syntax-pair call for
2390 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2391 counterpart. (Bug#11209)
2392
9f847f41
EZ
2393 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2394
35dc09a1 23952012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2396
2397 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2398
35dc09a1 23992012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2400
35dc09a1
GM
2401 * textmodes/ispell.el (ispell-dictionary-base-alist):
2402 Add data for Hebrew.
e2627d21 2403
35dc09a1 24042012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2405
35dc09a1
GM
2406 * net/rcirc.el (rcirc-cmd-quit):
2407 Revert 2012-03-18 change (Bug#11192).
5c14e333 2408
35dc09a1 24092012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2410
2411 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2412
35dc09a1 24132012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2414
4517fe3a
SM
2415 * minibuffer.el (completion-in-region-mode-map):
2416 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2417
b472a594
VD
24182012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2419
2420 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2421
09b95ce3
MY
24222012-04-13 Masatake YAMATO <yamato@redhat.com>
2423
2424 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2425 to allow `C-M-f' and `C-M-b' to move to the nearest path
2426 separator (bug#9511).
2427
4b63a9ca
LI
24282012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2429
2430 * avoid.el: Require cl when compiling. And also move the
2431 `provide' to the end.
2432
7b55b8bf
TV
24332012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2434
2435 * avoid.el (mouse-avoidance-banish-position): New variable.
2436 (mouse-avoidance-banish-destination): Use it (bug#10165).
2437
adedaa1f
LL
24382012-04-13 Leo Liu <sdl.web@gmail.com>
2439
2440 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2441
70e74021
KB
24422012-04-13 Ken Brown <kbrown@cornell.edu>
2443
2444 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2445 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2446 (browse-url-filename-alist): For the same reason, don't modify
2447 file:// URLs on Cygwin.
2448
e75e89ba
SM
24492012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2452 the region on shift if the binding is already shifted (bug#11221).
2453
82f289a4
GM
24542012-04-12 Glenn Morris <rgm@gnu.org>
2455
2456 * mail/mailpost.el: Move to obsolete/.
2457
d333dc4c
DA
24582012-04-12 Drew Adams <drew.adams@oracle.com>
2459
2460 * imenu.el (imenu--generic-function): Ignore invisible definitions
2461 (bug#10123).
2462
0d15b5ba
VD
24632012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2464
2465 * hexl.el (hexl-bits): New variable.
2466 (hexl-options): Mention the variable in the doc string.
75f1671a 2467 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2468 (hexl-mode): Mention the new variable.
75f1671a
JB
2469 (hexl-mode, hexl-current-address, hexl-current-address):
2470 Use the displen.
0d15b5ba
VD
2471 (hexl-ascii-start-column): New function.
2472 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2473 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2474
64a440db
AM
24752012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2476
2477 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2478 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2479 the encoding, as expected by hunspell.
2480
6decb6c2
SM
24812012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2482
2483 * battery.el (battery--linux-sysfs-regexp): New const.
2484 (battery-status-function): Use it. Remove yeeloong special case.
2485 (battery-yeeloong-sysfs): Remove.
2486 (battery-echo-area-format): Remove yeeloong special case.
2487
088be6fb
SM
24882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2489
6622e416
SM
2490 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2491 Reported by Noah Friedman.
2492
088be6fb
SM
2493 * subr.el (read-passwd): Use read-string.
2494
b49f886e
LMI
24952012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2496
2497 * vcursor.el (vcursor-move): Increase the priority of the overlay
2498 (bug#9663).
2499
a63067fc
DD
25002012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2501
2502 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2503 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2504
ac3cf14a
WS
25052012-04-11 William Stevenson <yhvh2000@gmail.com>
2506
2507 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2508 define-minor-mode (bug#10760).
2509
c4fc691b 25102012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2511
4d6769e1 2512 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2513 that directories matching `grep-find-ignored-files' won't be
2514 pruned (bug#10351).
2515
af23e2e5
CY
25162012-04-11 Chong Yidong <cyd@gnu.org>
2517
2518 * startup.el (command-line): Remove support for long-obsolete
2519 variable font-lock-face-attributes.
2520
ab7ce8c1
GM
25212012-04-11 Glenn Morris <rgm@gnu.org>
2522
2523 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2524
de8c03dc
SM
25252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * window.el (window--state-get-1): Obey window-point-insertion-type.
2528
050cc68b
LB
25292012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2530
2531 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2532 to previous function when point is on the first character of a
75f1671a 2533 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2534
a38c310c
GM
25352012-04-11 Glenn Morris <rgm@gnu.org>
2536
effed0c2
GM
2537 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2538 not just file-errors.
2539
a38c310c
GM
2540 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2541 (vc-bzr-sha1): Use internal sha1.
2542
0221e323
SM
25432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2546
43956923
SG
25472012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2548
2549 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2550 that start in the middle of the line (bug#10496).
2551
6a8c9eaf
DN
25522012-04-10 Dan Nicolaescu <dann@gnu.org>
2553
2554 * battery.el (battery-linux-proc-acpi): Only one battery is
2555 discharged at a time, but that seems to confuse battery.el when
2556 computing `rate-type' for the battery not being discharged
2557 (bug#10332).
2558
1930bf5d
SM
25592012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2a718f6f
SM
2561 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2562
599430d0
SM
2563 * international/quail.el: Use dolist and simplify.
2564 (quail-define-package, quail-update-keyboard-layout)
2565 (quail-define-rules): Use dolist.
2566 (quail-insert-kbd-layout, quail-get-translation): CSE.
2567
a2754b6c
SM
2568 * tmm.el: Use dolist, remove left over hook.
2569 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2570 Use dolist.
2571 (calendar-load-hook): Don't mess with it.
2572
1930bf5d
SM
2573 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2574 Use derived-mode-p. Run the diff asynchronously.
2575
9f67961c
LMI
25762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2577
2578 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2579
2a8ce227
JB
25802012-04-10 Juanma Barranquero <lekktu@gmail.com>
2581
2582 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2583 (list-dynamic-libraries--loaded): New function.
2584 (list-dynamic-libraries--refresh): Use it.
2585
8f33b5f8
NW
25862012-04-10 Nathan Weizenbaum <nweiz@google.com>
2587
1930bf5d
SM
2588 * progmodes/python.el (python-fill-paragraph):
2589 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2590 disabled (bug#7018).
2591
b12f0439
L
25922012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2593
1930bf5d 2594 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2595 DOS/MS Windows for the Baltic languages. There are still plenty
2596 of texts written in this encoding/codepage (bug#6519).
b12f0439 2597
57c3bd01
GM
25982012-04-10 Glenn Morris <rgm@gnu.org>
2599
2600 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2601 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2602
6c3eab30
FA
26032012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2604
1930bf5d 2605 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2606 next-line "n" and previous-line "p" in order to make recentf more
2607 consistent with ibuffer, dired or org-mode (bug#9387).
2608
24d78a88
LMI
26092012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2610
bc72b5d9
LMI
2611 * image.el (put-image): Return the overlay created instead of the
2612 optional input string (bug#7834). Note that this may break code
2613 that is (for some reason or other) depending on `put-image'
2614 returning the string.
2615
bd2dba5a
LMI
2616 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2617
74beb59f
LMI
2618 * simple.el (zap-to-char): Allow zapping using input methods
2619 (bug#1580).
2620
24d78a88
LMI
2621 * textmodes/fill.el (fill-region): Leave point and mark where they
2622 were before filling (bug#5399).
2623
263f20cd
GM
26242012-04-09 Glenn Morris <rgm@gnu.org>
2625
2626 * version.el (emacs-bzr-get-version):
2627 Handle lightweight checkouts of local branches.
2628
58d1f797
AS
26292012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2630
263f20cd 2631 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2632
b4d3bc10
CY
26332012-04-09 Chong Yidong <cyd@gnu.org>
2634
2635 * custom.el (custom-variable-p): Return nil for non-symbol
2636 arguments instead of signaling an error.
2637 (user-variable-p): Obsolete alias for custom-variable-p.
2638
2639 * apropos.el (apropos-variable):
2640 * files-x.el (read-file-local-variable):
2641 * simple.el (set-variable):
2642 * woman.el (woman-mini-help):
2643 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2644
fd06db5d
GM
26452012-04-09 Glenn Morris <rgm@gnu.org>
2646
e5fcdb5e
GM
2647 * startup.el (normal-top-level): Don't look for leim-list.el
2648 in places where it will not be found. (Bug#910)
2649
fd06db5d
GM
2650 * international/mule-cmds.el (set-default-coding-systems):
2651 * files.el (normal-mode):
2652 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2653 This function was removed with ucs-tables.el in 2008.
2654
b39bb7e1
EZ
26552012-04-08 Eli Zaretskii <eliz@gnu.org>
2656
2657 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2658 ispell-encoding8-command to "-i", without a trailing space.
2659 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2660 separate command-line arguments, to specify the encoding, since
2661 that's how hunspell expects it.
2662
5c5b8e23
GM
26632012-04-08 Glenn Morris <rgm@gnu.org>
2664
2665 * loadup.el: Load bindings before cus-start.
2666 This reduces somewhat the number of "rogue" settings in emacs -Q.
2667
a1ed8b05
GM
26682012-04-07 Glenn Morris <rgm@gnu.org>
2669
2670 * version.el (emacs-bzr-get-version): New function.
dfae128a 2671 (emacs-bzr-version): New variable.
a1ed8b05
GM
2672 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2673 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2674
b142f158
EZ
26752012-04-07 Eli Zaretskii <eliz@gnu.org>
2676
dfae128a
GM
2677 * international/uni-bidi.el, international/uni-category.el:
2678 * international/uni-combining.el, international/uni-decimal.el:
2679 * international/uni-decomposition.el, international/uni-digit.el:
2680 * international/uni-lowercase.el, international/uni-mirrored.el:
2681 * international/uni-name.el, international/uni-numeric.el:
2682 * international/uni-titlecase.el, international/uni-uppercase.el:
2683 Update for Unicode 6.1.
b142f158 2684
9078ead6
EZ
26852012-04-07 Eli Zaretskii <eliz@gnu.org>
2686
2687 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2688
f23d2c7d
LMI
26892012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2690
2691 * window.el (shrink-window): Mention the `window-min-height'
2692 variable in the doc string.
2693
0a0a3573
BG
26942012-04-05 Bastien Guerry <bzg@altern.org>
2695
2696 * color.el (color-lighten-name): Fix typo.
2697
e5248ac9
SM
26982012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * server.el (server--on-display-p): New function.
2701 (server--on-display-p): Use it.
2702
b4243e22
GV
27032012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2704
2705 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2706 (bug#11145).
2707
305d9f44
SM
27082012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * comint.el (comint--common-quoted-suffix): Check string boundary
2711 before comparing (bug#11158).
2712 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2713
3d439cd1
CY
27142012-04-04 Chong Yidong <cyd@gnu.org>
2715
321cc491
CY
2716 * minibuffer.el (completion-extra-properties): Doc fix.
2717
3d439cd1
CY
2718 * subr.el (delayed-warnings-hook): Doc fix.
2719
2d562c0f
DU
27202012-04-04 Daiki Ueno <ueno@unixuser.org>
2721
2722 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2723 selection (Bug#11159).
2724 (epa-insert-keys): Inform that the default public key will be
2725 exported if no key is selected.
2726
4443f204
RS
27272012-04-04 Richard Stallman <rms@gnu.org>
2728
2729 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2730
529c06b6
CY
27312012-04-03 Chong Yidong <cyd@gnu.org>
2732
2733 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2734 mail-insert-file, not its obsolete alias mail-attach-file.
2735
66b907dc
MA
27362012-04-03 Michael Albinus <michael.albinus@gmx.de>
2737
2738 * notifications.el (notifications-notify): Fix docstring.
2739
c0ea195d
GM
27402012-04-02 Glenn Morris <rgm@gnu.org>
2741
2742 * emacs-lisp/authors.el (authors-aliases): Another addition.
2743
5ca64e00
MA
27442012-04-02 Michael Albinus <michael.albinus@gmx.de>
2745
2746 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2747 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2748 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2749
42ee526b
CY
27502012-04-01 Chong Yidong <cyd@gnu.org>
2751
2752 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2753 Handle root directory properly.
2754 (copy-directory): Caller changed.
2755
2756 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2757 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2758
0b021094
GM
27592012-03-31 Glenn Morris <rgm@gnu.org>
2760
40f86458
GM
2761 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2762
7019c177
GM
2763 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2764
a1daddd6
GM
2765 * calendar/calendar.el (calendar-window-list)
2766 (calendar-hide-window): Restore. (Bug#11140)
2767 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2768
0b021094
GM
2769 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2770
40311efc
TV
27712012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2772
2773 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2774 Check if file is a symlink (Bug#10489).
2775
2776 * files.el (copy-directory): Likewise.
2777
5319014e
CY
27782012-03-30 Chong Yidong <cyd@gnu.org>
2779
2780 * image.el (imagemagick-types-inhibit)
2781 (imagemagick-register-types): Doc fix.
2782
935d1290
AM
27832012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2784
ef24141c
SM
2785 * ispell.el (ispell-get-extended-character-mode):
2786 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2787 and treats ~word as ordinary words in pipe mode.
935d1290 2788
61c6e8fd
GM
27892012-03-30 Glenn Morris <rgm@gnu.org>
2790
2791 * tutorial.el (help-with-tutorial): Ensure local variables don't
2792 happen to make the buffer read-only. (Bug#11127)
2793
81fdff00
SM
27942012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2797 (perl-calculate-indent): Return `noindent' in strings.
2798
6e7a6ec0
SS
27992012-03-28 Sam Steingold <sds@gnu.org>
2800
2801 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2802 instead of the broken adhockery which does not prevent calendar
2803 buffers from being displayed at random after exit.
2804 (calendar-window-list, calendar-hide-window): Remove the broken
2805 adhockery.
2806
fee88ca0
GM
28072012-03-28 Glenn Morris <rgm@gnu.org>
2808
2809 * replace.el (query-replace-map): Doc fix.
2810
38de3354
AS
28112012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2812
2813 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2814 contents. (Bug#11109)
2815
b973155e
SM
28162012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2819 (bug#11077).
2820 (avl-tree--check, avl-tree--check-node): New funs.
2821
dcb6e7b3
MR
28222012-03-27 Martin Rudalics <rudalics@gmx.at>
2823
2824 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2825 (switch-to-prev-buffer, switch-to-next-buffer):
2826 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2827 showing a buffer already is done on the same frame.
2828
b4fa35fa
GM
28292012-03-27 Glenn Morris <rgm@gnu.org>
2830
2831 * startup.el (mail-host-address): Doc fix.
2832
f9210e18
SM
28332012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2834
2835 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2836 than 197 variables.
2837
c0bf7753
AF
28382012-03-26 Ami Fischman <ami@fischman.org>
2839
2840 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2841
33da7b16
GM
28422012-03-26 Glenn Morris <rgm@gnu.org>
2843
02243d9d
GM
2844 * files.el (save-buffers-kill-emacs): Doc fix.
2845
33da7b16
GM
2846 * startup.el (normal-top-level, command-line, command-line-1):
2847 Give them doc strings.
2848
e5a69fd0
EZ
28492012-03-25 Eli Zaretskii <eliz@gnu.org>
2850
2851 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2852 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2853
9a69676a
CY
28542012-03-25 Chong Yidong <cyd@gnu.org>
2855
4125cb8b
CY
2856 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2857 theme if it was previously enabled before (Bug#11031).
2858
dd470960
CY
2859 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2860 spec with custom-face-get-current-spec if its :shown-value is not
2861 determined yet (Bug#9337).
4125cb8b 2862 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2863
9a69676a
CY
2864 * button.el (button-at): Minor addition to docstring.
2865
6e7e90fa
SL
28662012-03-24 Simon Leinen <simon.leinen@gmail.com>
2867
2868 * vc/vc.el (vc-merge): Fix a prompt.
2869
f06e2758
CY
28702012-03-24 Chong Yidong <cyd@gnu.org>
2871
2872 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2873 point (Bug#9623).
2874
6e7e90fa
SL
2875 * button.el (button-at): Minor addition to docstring.
2876
b9d0879b
SM
28772012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * newcomment.el (comment-choose-indent): No space after BOL.
2880
e71cebb3
SS
28812012-03-22 Sam Steingold <sds@gnu.org>
2882
2883 * window.el (switch-to-prev-buffer): Revert last patch because the
2884 bug turned out to be an advertised feature (Elisp manual 28.14).
2885
335aff35
GM
28862012-03-22 Glenn Morris <rgm@gnu.org>
2887
2888 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2889 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2890
c676576a
LMI
28912012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2892
2893 * net/network-stream.el (network-stream-open-starttls): Make error
2894 message under Windows be less misleading.
2895
126f3d39
LW
28962012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2897
2898 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2899 understands (bug#9942).
2900
64fee311
CY
29012012-03-22 Chong Yidong <cyd@gnu.org>
2902
2903 * simple.el (end-of-visible-line): Handle return value of
2904 next-single-property-change properly (Bug#9371).
2905
a640d29a
KH
29062012-03-22 Kenichi Handa <handa@m17n.org>
2907
2908 * international/quail.el (quail-insert-kbd-layout): Fix previous
2909 change. To avoid unwanted bidi reordering, use
2910 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2911
39675016
DG
29122012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2913
2914 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2915 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2916 (ruby-beginning-of-indent): Be more careful with the difference
2917 between word-boundary and symbol boundary.
2918 (ruby-mode-syntax-table): Make : a symbol constituent.
2919
0a6934fc 29202012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2921
3d008e4f
SM
2922 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2923
0a6934fc
SM
29242012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2925
af67c9d7
SM
2926 * progmodes/etags.el (tags-completion-at-point-function):
2927 Improve last fix.
2928
1acad97c
SM
2929 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2930
e298b5da
SS
29312012-03-21 Sam Steingold <sds@gnu.org>
2932
2933 * progmodes/etags.el (tags-completion-at-point-function):
2934 Avoid the error when point is inside the pattern.
2935
91d82a70
JY
29362012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2937
2938 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2939 line (Bug#10855).
2940
69188b79
CY
29412012-03-21 Drew Adams <drew.adams@oracle.com>
2942
2943 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2944
99fc91fe
AK
29452012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2946
2947 * ido.el (ido-set-current-directory, ido-read-internal)
2948 (ido-choose-completion-string, ido-completion-help): Handle nil
2949 value of ido-completion-buffer (Bug#11008).
2950
087bbb4c
SS
29512012-03-21 Sam Steingold <sds@gnu.org>
2952
2953 * window.el (switch-to-prev-buffer): Do not switch to a visible
2954 window previous buffer, just like with the frame previous buffers.
2955
fb5b8aca
CY
29562012-03-21 Chong Yidong <cyd@gnu.org>
2957
2958 * faces.el (make-face, make-empty-face, copy-face):
2959 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2960 Doc fixes.
2961
dc9924b8
SM
29622012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2965 (widget-complete): Remove broken use of it.
2966
f0bcceb9
CY
29672012-03-20 Chong Yidong <cyd@gnu.org>
2968
dc9924b8
SM
2969 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2970 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2971 characters.
2972
ee52ebf3
TH
29732012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2974
2975 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2976 to draw rectangles, not squares. (Regression introduced by revno
2977 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2978
4c5779ab
CY
29792012-03-18 Chong Yidong <cyd@gnu.org>
2980
2981 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2982 it is not yet defined (for temacs).
2983
15360934
LL
29842012-03-18 Leo Liu <sdl.web@gmail.com>
2985
dc9924b8 2986 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2987
d9a8eb66
EZ
29882012-03-17 Eli Zaretskii <eliz@gnu.org>
2989
2990 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2991 (ispell-choices-win-default-height, ispell-silently-savep)
2992 (ispell-dictionary-alist, ispell-encoding8-command)
2993 (ispell-check-version, ispell-aspell-find-dictionary)
2994 (ispell-valid-dictionary-list, ispell-words-keyword)
2995 (ispell-get-word, ispell-internal-change-dictionary)
2996 (ispell-region, ispell-skip-region-list)
2997 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2998 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2999 (ispell-message-text-end, ispell-message)
3000 (ispell-buffer-local-parsing): Doc fix.
3001
f02ff80d
J
30022012-03-13 Jambunathan K <kjambunathan@gmail.com>
3003
3004 * htmlfontify.el: Add support for code block fontification for ODT
3005 export (Bug #9914).
3006 (hfy-optimisations): Define new option
3007 `body-text-only'
3008 (hfy-fontify-buffer): Honor above setting.
3009 (hfy-begin-span, hfy-end-span): New routines factored out form
3010 `hfy-fontify-buffer'.
3011 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3012 that permit insertion of custom tags.
3013 (hfy-fontify-buffer): Use above handlers.
3014 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3015 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3016 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3017 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3018 bind a special variable `hfy-user-sheet-assoc'.
3019 (htmlfontify-string): New defun.
3020 (hfy-compile-face-map): Make sure that the last char in the
3021 buffer is correctly fontified.
3022 (hfy-face-resolve-face): Whitespace only change.
3023
9ac7a13f
EZ
30242012-03-17 Eli Zaretskii <eliz@gnu.org>
3025
3026 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3027 message more clear.
3028
e2b5bdd7
LL
30292012-03-16 Leo Liu <sdl.web@gmail.com>
3030
3031 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3032
2e492df3
AM
30332012-03-16 Alan Mackenzie <acm@muc.de>
3034
3035 Further optimise the handling of large macros.
3036
3037 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3038 limit to a call of `c-literal-limits'.
3039 (c-determine-+ve-limit): New function.
dc9924b8
SM
3040 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3041 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3042 In CASE 5B, restrict a search limit to 500.
3043 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3044
3045 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3046 Restrict macro bounds to +-500 from after-change's BEG END.
3047
50e94f0c
LL
30482012-03-16 Leo Liu <sdl.web@gmail.com>
3049
3050 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3051
6f09f6ed
AH
30522012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3053
3054 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3055 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3056
c7e73d51
GM
30572012-03-16 Glenn Morris <rgm@gnu.org>
3058
da986230
GM
3059 * view.el (view-buffer, view-buffer-other-window)
3060 (view-buffer-other-frame): Doc fixes re special mode-class.
3061
0835f01e
GM
3062 * subr.el (eval-after-load): If named feature is provided not from
3063 a file, run after-load forms. (Bug#10946)
3064
c7e73d51
GM
3065 * calendar/calendar.el (calendar-insert-at-column):
3066 Handle non-unit-width characters a bit better. (Bug#10978)
3067
3f2eafd1
CY
30682012-03-15 Chong Yidong <cyd@gnu.org>
3069
3070 * emacs-lisp/ring.el (ring-extend): New function.
3071 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3072
3073 * comint.el (comint-read-input-ring)
3074 (comint-add-to-input-history): Grow comint-input-ring lazily.
3075
103af3fe
SM
30762012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3077
663b1677
SM
3078 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3079 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3080
103af3fe
SM
3081 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3082 (imenu-add-to-menubar): Don't add a redundant index.
3083 (imenu-update-menubar): Handle a dynamically composed keymap.
3084
899cb7cb
KY
30852012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3086
3087 * mail/sendmail.el (mail-encode-header):
3088 Bind rfc2047-encode-encoded-words to nil.
3089
3809f91d
GM
30902012-03-13 Glenn Morris <rgm@gnu.org>
3091
3092 * calendar/calendar.el (calendar-string-spread):
3093 Handle non-unit-width characters a bit better. (Bug#10978)
3094
9e345a01
LL
30952012-03-13 Leo Liu <sdl.web@gmail.com>
3096
3097 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3098 directory and file as argument (Bug#10822).
3099
4a07df36
KS
31002012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3101
3102 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3103 For dynamically generated code, follow $PC.
3104 (gdb-disassembly-handler-custom): Handle no function name case.
3105
4aaa9356
TL
31062012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3107
3108 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3109 * emulation/ws-mode.el (ws-query-replace):
3110 * sort.el (sort-regexp-fields):
3111 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3112
225979da
SM
31132012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * dabbrev.el: Fix cycle completion order (bug#10963).
3116 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3117 (dabbrev-completion): Don't use an obarray; provide
3118 a cycle-sort-function.
3119
e2f1fdab
LL
31202012-03-12 Leo Liu <sdl.web@gmail.com>
3121
dc9924b8 3122 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3123 (kill-do-not-save-duplicates): Doc fix.
3124
b19490ed
SM
31252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * dabbrev.el: Fix cycle completion (bug#10963).
3128 Use lexical binding and wrap to 80 columns.
3129 (dabbrev-completion): Delay computing the list of completions.
3130
4b05d722
KH
31312012-03-12 Kenichi Handa <handa@m17n.org>
3132
3133 * international/quail.el (quail-insert-kbd-layout): Surround each
3134 row by LRO and PDF instead of inserting many LRMs. Pad the left
3135 and right of each non-spacing marks. Insert invisible space
3136 between lower and upper characters to prevent composition.
3137
dbbc2e69
SM
31382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * minibuffer.el (minibuffer-complete): Don't get confused when the
3141 function is run twice via different commands (bug#10958).
3142 (complete-with-action): Fix docstring.
3143
292112ed
CY
31442012-03-12 Chong Yidong <cyd@gnu.org>
3145
5d1ac394
CY
3146 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3147 (nxml-completion-at-point-function): New function.
3148 (nxml-mode): Use it.
3149 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3150
292112ed
CY
3151 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3152 Load generated autoloads file before byte compiling (Bug#10970).
3153 (package--make-autoloads-and-compile): New helper fun.
3154
4098f8f7
CS
31552012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3156
3157 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3158
8f754691
MA
31592012-03-11 Michael Albinus <michael.albinus@gmx.de>
3160
3161 * autorevert.el (auto-revert-handler): Ensure, that
3162 file-readable-p is applied only for local files or in
3163 auto-revert-tail-mode.
3164
e29ab36b
AS
31652012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3166
dbbc2e69
SM
3167 * server.el (server-eval-at): Handle non-tcp connections.
3168 Decode result string.
ad0bf5b6 3169
e29ab36b
AS
3170 * server.el (server-msg-size): New constant.
3171 (server-reply-print): New function.
3172 (server-eval-and-print): Use it.
3173 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3174 Handle -print-nonl.
3175
de5939ba
CS
31762012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3177
3178 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3179 (Bug#10987).
3180
0c93eabf
CY
31812012-03-11 Chong Yidong <cyd@gnu.org>
3182
397a688f
CY
3183 * simple.el (goto-line): Doc fix (Bug#9938).
3184
2cc775f9
CY
3185 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3186
0c93eabf
CY
3187 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3188 when finished (Bug#10963).
3189
c491fa41
MR
31902012-03-11 Martin Rudalics <rudalics@gmx.at>
3191
3192 * window.el (split-window-below): Fix bug in case where
3193 split-window-keep-point is nil (Bug#10971).
3194
300e8fa5
JL
31952012-03-11 Juri Linkov <juri@jurta.org>
3196
3197 * replace.el (replace-highlight): Set isearch-word to nil
3198 unconditionally. (Bug#10887)
3199
dbf6c5a1
EZ
32002012-03-10 Eli Zaretskii <eliz@gnu.org>
3201
3202 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3203 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3204 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3205 (mairix-widget-create-query): Add usage information about mairix
3206 search forms: negating words, searching for substrings, etc.
3207
b9e501de
JP
32082012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3209
3210 * international/fontset.el (font-encoding-alist): Add an entry for
3211 ksx1001 (Bug#5667).
3212
92795c91
RS
32132012-03-10 Richard Stallman <rms@gnu.org>
3214
1694e6c1
RS
3215 * mail/sendmail.el (mail-encode-header):
3216 Set rfc2047-encode-encoded-words.
3217
607e8555
RS
3218 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3219
de3bc99a
RS
3220 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3221 view buffer means not swapped.
3222 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3223 (rmail-write-region-annotate): Error if real text has disappeared.
3224
92795c91
RS
3225 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3226
699bd04e
CY
32272012-03-10 Chong Yidong <cyd@gnu.org>
3228
3229 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3230 * emulation/cua-base.el (cua--init-keymaps):
3231 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3232
570a1714
MR
32332012-03-10 Martin Rudalics <rudalics@gmx.at>
3234
dbbc2e69
SM
3235 * speedbar.el (speedbar-unhighlight-one-tag-line):
3236 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3237
82dcf4e4
CY
32382012-03-10 Chong Yidong <cyd@gnu.org>
3239
7a2c7ca7
CY
3240 * minibuffer.el (completion-in-region, completion-help-at-point):
3241 Give the completion field overlay a high priority (Bug#6830).
3242
82dcf4e4
CY
3243 * dired.el (dired-goto-file): Recognize absolute file name
3244 listings (Bug#7126).
3245 (dired-goto-file-1): New helper function.
3246 (dired-toggle-read-only): Inhibit warnings.
3247
052e28ac
MA
32482012-03-09 Michael Albinus <michael.albinus@gmx.de>
3249
75f1671a 3250 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3251 there are no properties.
3252
95d5e396
LL
32532012-03-09 Leo Liu <sdl.web@gmail.com>
3254
3255 * savehist.el (savehist-printable): Stricter check for string
3256 value (Bug#10937).
3257
3f018d6d
EZ
32582012-03-09 Eli Zaretskii <eliz@gnu.org>
3259
dbbc2e69
SM
3260 * mail/smtpmail.el (smtpmail-send-it):
3261 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3262 valid mbox format.
3263
f7fd3d79
GM
32642012-03-09 Glenn Morris <rgm@gnu.org>
3265
3266 * files.el (dir-locals-find-file):
3267 Don't check result is regular, readable.
3268 (dir-locals-read-from-file): Demote errors.
3269
6ff6e72f
EZ
32702012-03-08 Eli Zaretskii <eliz@gnu.org>
3271
dbbc2e69
SM
3272 * international/quail.el (quail-insert-kbd-layout):
3273 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3274 layout cell, to prevent their reordering by bidi display engine.
3275 For details, see the discussion in
3276 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3277
9cec7834
AM
32782012-03-08 Alan Mackenzie <acm@muc.de>
3279
3280 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3281 the starting position; make it extend the marked region when
3282 invoked repeatedly - all under appropriate circumstances.
3283 Fixes bugs #5525, #10906.
3284
9a40b8d4
GM
32852012-03-08 Glenn Morris <rgm@gnu.org>
3286
3287 * files.el (locate-dominating-file, dir-locals-find-file):
3288 Undo 2012-03-06 change.
3289
7a08ed35
EZ
32902012-03-07 Eli Zaretskii <eliz@gnu.org>
3291
dbbc2e69
SM
3292 * international/quail.el (quail-help):
3293 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3294 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3295 for the reason.
3296
5aca4f71 32972012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3298
3299 Avoid superfluous registering of signals. (Bug#10807)
3300
3301 * notifications.el (notifications-on-action-object)
3302 (notifications-on-close-object): New defvars.
3303 (notifications-on-action-signal, notifications-on-closed-signal):
3304 Unregister the signal if not needed any longer.
3305 (notifications-notify): Register `notifications-action-signal' or
3306 `notifications-closed-signal', if :on-action or :on-close has been
3307 passed as argument.
3308
78e8b10a
CY
33092012-03-07 Chong Yidong <cyd@gnu.org>
3310
3311 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3312 non-X platforms.
3313
69481eb8
GM
33142012-03-06 Glenn Morris <rgm@gnu.org>
3315
3316 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3317 (x-disown-selection-internal, x-get-selection-internal):
3318 Doc fix (add arglist signatures). (Bug#10783)
3319
133b8e11
KS
33202012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3321
3322 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3323 Handle breakpoints with no "type".
3324
99a83064
GM
33252012-03-06 Glenn Morris <rgm@gnu.org>
3326
3327 * files.el (locate-dominating-file): Add optional predicate argument.
3328 (dir-locals-find-file): Make use of above change.
3329
17798e78
TTN
33302012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3331
3332 * info.el (Info-insert-dir): Also try "dir.gz".
3333
eb182446
GM
33342012-03-06 Glenn Morris <rgm@gnu.org>
3335
8f2114ee
GM
3336 * files.el (dir-locals-find-file):
3337 Ignore non-readable or non-regular files. (Bug#10928)
3338
eb182446
GM
3339 * files.el (locate-dominating-file): Doc fix.
3340
24679323
AS
33412012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3342
3343 * calendar/calendar.el (calendar-set-mode-line):
3344 `getenv' returns a string. (Bug#10951)
3345
01d972a9
LL
33462012-03-05 Leo Liu <sdl.web@gmail.com>
3347
109aa8a9
LL
3348 * simple.el (backward-delete-char-untabify): Constrain point to
3349 field (Bug#10939).
3350
01d972a9
LL
3351 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3352
10607bea
CY
33532012-03-05 Chong Yidong <cyd@gnu.org>
3354
3355 * simple.el (count-words): If called from Lisp, return the word
3356 count, for symmetry with `count-lines'. Arglist changed.
3357 (count-words--message): Args changed. Consolidate counting code
3358 from count-words and count-words-region.
3359 (count-words-region): Caller changed.
3360 (count-lines-region): Make it an obsolete alias.
3361
5dd11cfe
TH
33622012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3363
3364 * saveplace.el (save-place-to-alist)
3365 (save-place-ignore-files-regexp): Allow value nil to disable this
3366 feature.
3367
c349f4e6
CY
33682012-03-04 Chong Yidong <cyd@gnu.org>
3369
3370 * faces.el (face-spec-reset-face): For the default face, reset the
3371 attributes to default values (Bug#10748).
3372
e627be4c
LMI
33732012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3374
3375 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3376 previous patch: Check `message-send-mail-function', and not the
3377 default function (bug#10897).
3378
ebeabff4
MA
33792012-03-04 Michael Albinus <michael.albinus@gmx.de>
3380
a41a6cf4
MA
3381 * notifications.el (notifications-on-action-signal)
3382 (notifications-on-closed-signal): Check for unique service name of
3383 incoming event. Fix error in removing entry.
ebeabff4 3384 (top): Register for signals with wildcard service name.
a41a6cf4 3385 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3386
c1ca42b4
CY
33872012-03-04 Chong Yidong <cyd@gnu.org>
3388
dc9924b8 3389 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3390
ea16568d
GM
33912012-03-04 Glenn Morris <rgm@gnu.org>
3392
3393 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3394 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3395 (expand-abbrev, define-abbrev-table): Doc fixes.
3396
fbae4637
LMI
33972012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3398
3399 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3400 `message-default-send-mail-function' and not `send-mail-function'
3401 when doing the prompting for `sendmail-query-once' before sending
3402 in Message buffers (bug#10897).
3403
a1e7225c
LMI
3404 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3405 This is inconsistent with all the other stream functions, which leave
3406 the setting up to the higher levels (if so wanted) (bug#10931).
3407
56d093a9
AM
34082012-03-02 Alan Mackenzie <acm@muc.de>
3409
3410 Depessimize the handling of very large macros.
3411
3412 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3413 (c-macro-cache-syntactic): New variables to implement a one
3414 element macro cache.
3415 (c-invalidate-macro-cache): New function.
3416 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3417 Adapt to use the new cache.
3418 (c-state-safe-place): Use better the cache of safe positions.
3419 (c-state-semi-nonlit-pos-cache)
3420 (c-state-semi-nonlit-pos-cache-limit):
3421 New variables for...
3422 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3423 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3424 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3425 Use c-state-semi-safe-place.
56d093a9 3426
dbbc2e69
SM
3427 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3428 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3429
817e5c3d
MA
34302012-03-02 Michael Albinus <michael.albinus@gmx.de>
3431
dbbc2e69
SM
3432 * jka-compr.el (jka-compr-call-process):
3433 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3434 not remote.
3435
a032a702
MA
34362012-03-01 Michael Albinus <michael.albinus@gmx.de>
3437
3438 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3439 access of FILE2, if FILE1 does not exist.
3440
99a54f21
MA
3441 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3442 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3443
3444 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3445 Add "PAGER=" to `process-environment'.
3446
f6561e1f
MM
34472012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3448
3449 * progmodes/sql.el: Bug fix
3450 (sql-get-login-ext): Save login values in globals.
3451 (sql-get-login): Use new version of `sql-get-login-ext'.
3452 (sql-interactive-mode): Set global `sql-connection' to nil.
3453 (sql-connect): Set global values for connection.
3454 (sql-product-interactive): Save global values as buffer local.
3455
2d44d9cc
LL
34562012-02-29 Leo Liu <sdl.web@gmail.com>
3457
3458 * abbrev.el (define-abbrevs): Reset sys to nil.
3459
96b49301 34602012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3461
bf7f9bc5
JB
3462 * files.el (file-equal-p): Rename from `files-equal-p'.
3463 Return nil when one or both files don't exist.
96b49301 3464 (file-subdir-of-p): Now only top directory must exists,
3465 return nil if it doesn't.
bf7f9bc5
JB
3466 (copy-directory): No need to test with `file-subdir-of-p' after
3467 creating dir.
3468 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3469 to `file-equal-p'.
96b49301 3470
44e97401
GM
34712012-02-28 Glenn Morris <rgm@gnu.org>
3472
3473 * shell.el (shell-mode):
3474 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3475 * play/landmark.el (landmark-font-lock-face-O):
3476 * play/handwrite.el (handwrite):
3477 * play/gomoku.el (gomoku-O):
3478 * net/browse-url.el (browse-url-browser-display):
3479 * international/mule.el (define-charset):
3480 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3481 * filesets.el (filesets-find-file-delay):
3482 * eshell/em-xtra.el (eshell-xtra):
3483 * eshell/em-unix.el (eshell-grep):
3484 * emulation/viper.el (viper-mode):
3485 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3486 * emacs-lisp/easymenu.el (easy-menu-define):
3487 * calendar/timeclock.el (timeclock-use-display-time):
3488 * bs.el (bs-mode):
3489 * bookmark.el (bookmark-save-flag):
3490 Doc fix (standardize possessive apostrophe usage).
3491
c98c6276
CY
34922012-02-27 Chong Yidong <cyd@gnu.org>
3493
bf7f9bc5
JB
3494 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3495 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3496
c98c6276
CY
3497 * font-lock.el (font-lock-specified-p): Rename from
3498 font-lock-spec-present. Callers changed.
3499
9c62cd04 35002012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3501
bf7f9bc5
JB
3502 * emacs-lisp/package.el (package-compute-transaction):
3503 Handle holding a package version to t in package-load-list.
8ac9e529 3504
530739c9
MA
35052012-02-26 Michael Albinus <michael.albinus@gmx.de>
3506
3507 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3508 (tramp-get-inode, tramp-get-device): Use cached values.
3509
487915d7
AM
35102012-02-26 Alan Mackenzie <acm@muc.de>
3511
3512 Check there is a font-lock specification before doing initial
3513 fontification.
3514
3515 * font-core.el (font-lock-mode): Move the conditional from
3516 :after-hook to font-lock-initial-fontify.
3517 (font-lock-default-function): Move the check for a specification
3518 to font-lock-spec-present.
3519
dc9924b8 3520 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3521 (font-lock-spec-present): New function.
3522
4fd96557
JB
35232012-02-26 Jim Blandy <jimb@red-bean.com>
3524
3525 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3526 (gdb-send): Apply it to the operand of the '-interpreter-exec
3527 console' command, so that we can pass arguments with (say) quotes
3528 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3529
9a4888c0
CY
35302012-02-26 Chong Yidong <cyd@gnu.org>
3531
07498861
CY
3532 * help-fns.el (describe-function-1): Clarify description of
3533 remapping (Bug#10844).
3534
9a4888c0
CY
3535 * files.el (files-equal-p): Doc fix.
3536 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3537 and quit the loop once a mismatch is found.
3538
ea8fb88d
JB
35392012-02-25 Juanma Barranquero <lekktu@gmail.com>
3540
3541 * bs.el (bs--show-with-configuration): Don't throw an error
3542 if the window cannot be split; otherwise, subsequent calls to
3543 bs-show fail, restoring a stale window config. (Bug#10882)
3544
525795c1
JD
35452012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3546
3547 * term/ns-win.el (global-map): Bind ns-drag-file to
3548 ns-find-file (Bug#5855, Bug#10050).
3549
f008086f
AS
35502012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3551
3552 * calendar/parse-time.el (parse-time-string): Allow extractor to
3553 return nil.
3554
a3fcfa99
MA
35552012-02-25 Michael Albinus <michael.albinus@gmx.de>
3556
91027d08
JB
3557 * net/tramp.el (tramp-file-name-for-operation):
3558 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3559
3560 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3561 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3562 Add COPY-CONTENTS argument.
a3fcfa99 3563
67b0de11
CY
35642012-02-25 Chong Yidong <cyd@gnu.org>
3565
3566 Add custom groups for VC backends, for consistency with vc-bzr.
3567
3568 * vc/vc-arch.el (vc-arch):
3569 * vc/vc-cvs.el (vc-cvs):
3570 * vc/vc-git.el (vc-git):
3571 * vc/vc-hg.el (vc-hg):
3572 * vc/vc-mtn.el (vc-mtn):
3573 * vc/vc-rcs.el (vc-rcs):
3574 * vc/vc-sccs.el (vc-sccs):
3575 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3576 All relevant defcustoms reassigned.
3577
3c9dfce6
CY
35782012-02-25 Chong Yidong <cyd@gnu.org>
3579
1339bf43
CY
3580 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3581
3c9dfce6
CY
3582 * term/x-win.el (x-initialize-window-system): Reduce default for
3583 x-selection-timeout to 5 seconds (Bug#8869).
3584
25b2e303 35852012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3586
ec70a47d
GM
3587 * files.el (files-equal-p, file-subdir-of-p): New functions.
3588 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3589 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3590 * dired-aux.el (dired-copy-file-recursive): Same.
3591 (dired-create-files): Modify destination when source is equal to
3592 dest when copying files.
53a46cd0 3593 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3594
914260cd
MA
35952012-02-24 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3598 (Bug#10874)
3599
2cb228f7
AM
36002012-02-23 Alan Mackenzie <acm@muc.de>
3601
3602 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3603 parameter "after-hook:" to allow the expansion to run code after
3604 the execution of the mode hooks.
3605
3606 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3607 from font-lock-mode-internal.
2cb228f7 3608
91027d08 3609 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3610 :after-hook.
3611
8f0fde21
SM
36122012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3e88618b
SM
3614 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3615 (completion--cache-all-sorted-completions): New function.
3616 (completion-all-sorted-completions): Use it.
3617 (completion--do-completion, minibuffer-force-complete):
3618 Use it to re-instate the flush hook.
3619
8f0fde21
SM
3620 * icomplete.el (icomplete-completions): Replace last fix with a better
3621 one (bug#10850).
3622
8e911f6f
DG
36232012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3624
3625 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3626 when it might call us back infinitely (bug#10797).
3627
49fe4321
GM
36282012-02-23 Glenn Morris <rgm@gnu.org>
3629
3630 * minibuffer.el (completion-category-overrides): Doc fix.
3631
b291b572
SM
36322012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3635 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3636
31a9ef2e
GM
36372012-02-23 Glenn Morris <rgm@gnu.org>
3638
5e6e6794 3639 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3640 (authors-obsolete-files-regexps, authors-ignored-files)
3641 (authors-ambiguous-files, authors-renamed-files-alist):
3642 Add more entries.
3643
0bd1e074
JL
36442012-02-23 Juri Linkov <juri@jurta.org>
3645
3646 * isearch.el (isearch-occur): Sync interactive spec with occur's
3647 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3648
b617673c
JL
3649 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3650
19e9789e
JL
36512012-02-22 Juri Linkov <juri@jurta.org>
3652
3653 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3654 (ucs-insert): Doc fix. Check for hex digits in the string.
3655 Don't display `nil' in the error message. (Bug#10857)
3656
f41ce09d
AM
36572012-02-22 Alan Mackenzie <acm@muc.de>
3658
7a71b18d 3659 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3660
ac2eceee
GM
36612012-02-22 Glenn Morris <rgm@gnu.org>
3662
3663 * ffap.el (ffap-c-path):
3664 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3665
abd1f678
CY
36662012-02-22 Chong Yidong <cyd@gnu.org>
3667
3668 * custom.el (load-theme): Doc fix.
3669
f25aef2e
GM
36702012-02-22 Glenn Morris <rgm@gnu.org>
3671
3672 * dired-x.el (dired-guess-shell-alist-default):
3673 Remove escape sequences from nroff output. (Bug#172)
3674
5f8dc2ca
GM
36752012-02-21 Glenn Morris <rgm@gnu.org>
3676
6ff86ec4
GM
3677 * vc/emerge.el (emerge-defvar-local):
3678 Set `permanent-local' property rather than unused `preserved'.
3679
be3223a3 3680 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3681 (picture-mode-map): Use it. (Bug#10860)
3682 (picture-mode): Doc fix.
3683
3fe58f4f
JB
36842012-02-21 Juanma Barranquero <lekktu@gmail.com>
3685
3686 * newcomment.el (uncomment-region-default): Remove unused binding.
3687
f9a998c3
GM
36882012-02-21 Glenn Morris <rgm@gnu.org>
3689
3690 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3691 (picture-self-insert, picture-tab-chars): Doc fix.
3692 (picture-mode-map): Fix C-a, C-e.
3693
c6029348
GM
36942012-02-20 Glenn Morris <rgm@gnu.org>
3695
3696 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3697
ab1ce9d7
LL
36982012-02-20 Leo Liu <sdl.web@gmail.com>
3699
3700 * icomplete.el (icomplete-completions): Check FROM arg before
3701 passing to substring (Bug#10850).
3702
0fd40f89
CY
37032012-02-19 Chong Yidong <cyd@gnu.org>
3704
3705 * comint.el: Require ansi-color.
3706 (comint-output-filter-functions): Add ansi-color-process-output.
3707
3708 * ansi-color.el: Don't set comint-output-filter-functions; it is
3709 now in the initial value defined in comint.el.
3710 (ansi-color-apply-face-function): New variable.
3711 (ansi-color-apply-on-region): Use it.
3712 (ansi-color-apply-overlay-face): New function.
3713
3714 * shell.el (shell): No need to require ansi-color.
3715 (shell-mode): Use ansi-color-apply-face-function to highlight
3716 color escapes using font-lock-face property (Bug#10835).
3717
20af2394
CY
37182012-02-19 Chong Yidong <cyd@gnu.org>
3719
3720 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3721 mode-line formats (Bug#10839).
3722
e23a3fbe
GM
37232012-02-18 Glenn Morris <rgm@gnu.org>
3724
b474519e
GM
3725 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3726
3727 * mail/undigest.el (unforward-rmail-message): Doc fix.
3728
e23a3fbe
GM
3729 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3730
57939ff4
EZ
37312012-02-18 Eli Zaretskii <eliz@gnu.org>
3732
3733 * international/characters.el (script-list): Sync with the latest
3734 Unicode Character Database.
3735
0c23686e
AS
37362012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3737
3738 * international/titdic-cnv.el: Remove duplicate coding tag.
3739 * language/cham.el: Likewise.
3740 * language/tai-viet.el: Likewise.
3741
6818b449
GM
37422012-02-18 Glenn Morris <rgm@gnu.org>
3743
3744 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3745 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3746 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3747 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3748 * calendar/holidays.el (holiday-bahai-holidays)
3749 (calendar-holidays, list-holidays):
3750 Use utf-8 Bahá'í in doc-strings, menus, etc.
3751
0311a3fc
TH
37522012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3753
3754 * saveplace.el (save-place-ignore-files-regexp): New variable
3755 allowing for excluding files from saving their location of point.
3756 The default value matches the temporary commit message editing
3757 files from Git, SVN, Bazaar, and Mercurial.
3758 (save-place-to-alist): Use it.
3759
eb864a71
LM
37602012-02-17 Lawrence Mitchell <wence@gmx.li>
3761 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * newcomment.el (uncomment-region-default): Don't leave extra space
3764 when an arg is provided (bug#8150).
3765
ee0ce425
TZ
37662012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3767
eb864a71 3768 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3769
95ddf442
GM
37702012-02-17 Glenn Morris <rgm@gnu.org>
3771
3772 * net/socks.el: Require network-stream. (Bug#10599)
3773
48dd1e39 37742012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3775
3776 * international/charprop.el:
3777 * international/uni-name.el:
3778 * international/uni-old-name.el:
3779 * international/uni-comment.el: Regenerate.
3780
d68cd087
GM
37812012-02-16 Glenn Morris <rgm@gnu.org>
3782
3783 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3784 Interactively in calendar buffer, give an error if not on a date.
3785
13932042
GM
37862012-02-15 Glenn Morris <rgm@gnu.org>
3787
3788 * shell.el (shell-delimiter-argument-list):
3789 Revert 2011-02-17 change. (Bug#8027)
3790
c3a70e2b
CY
37912012-02-15 Chong Yidong <cyd@gnu.org>
3792
60236b0d
CY
3793 * minibuffer.el (completion-at-point-functions): Doc fix.
3794
c3a70e2b
CY
3795 * custom.el (defcustom): Doc fix; note use of defvar.
3796
9f26dc24
GM
37972012-02-15 Glenn Morris <rgm@gnu.org>
3798
3799 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3800 Doc fixes.
3801
6546b134
GM
38022012-02-14 Glenn Morris <rgm@gnu.org>
3803
3804 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3805
d29b2b4c
LI
38062012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3807
3808 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3809 way the ports list is computed.
835bdcba
LI
3810 (smtpmail-query-smtp-server): Prompt the user for a port number if
3811 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3812
08dcdbc9
TZ
38132012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3814
3815 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3816
2605051a
GM
38172012-02-13 Glenn Morris <rgm@gnu.org>
3818
3819 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3820
7ee99f32
TZ
38212012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3822
3823 * net/gnutls.el (gnutls-trustfiles): New variable.
3824 (gnutls-negotiate): Use it.
3825
5f0af64f
LI
38262012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3827
3828 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3829 does its stuff if Gnus is running.
3830
c14fcc95
AM
38312012-02-13 Alan Mackenzie <acm@muc.de>
3832
3833 Fix a loop in c-set-fl-decl-start.
3834
7a71b18d 3835 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3836 c-backward-syntactic-ws actually moves backwards.
3837
142b4d90
LL
38382012-02-13 Leo Liu <sdl.web@gmail.com>
3839
3840 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3841 beginning so that all \C-o chars are removed.
3842
fa9958a6
TZ
38432012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3844
dc9924b8 3845 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3846
0bc5886a
AM
38472012-02-12 Alan Mackenzie <acm@muc.de>
3848
3849 Fix infinite loop with long macros.
4d6769e1 3850 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3851
d4bd55e7
CY
38522012-02-12 Chong Yidong <cyd@gnu.org>
3853
3854 * window.el (display-buffer): Doc fix (Bug#10785).
3855
66f3fe22
GM
38562012-02-12 Glenn Morris <rgm@gnu.org>
3857
bd7da63e
GM
3858 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3859 (x-disown-selection-internal, x-get-selection-internal):
3860 Sync docs with the xselect.c versions.
3861
66f3fe22
GM
3862 * allout-widgets.el: Add missing license notice.
3863
3e0d2fa7
GM
38642012-02-11 Glenn Morris <rgm@gnu.org>
3865
cfecdf09
GM
3866 * select.el (x-get-selection-internal, x-own-selection-internal)
3867 (x-disown-selection-internal):
3868 * x-dnd.el (x-get-selection-internal): Update declarations.
3869
6d216d7f
GM
3870 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3871
2bed3f04
GM
3872 * window.el (window-sides-slots):
3873 * tool-bar.el (tool-bar-position):
3874 * term/xterm.el (xterm-extra-capabilities):
3875 * ses.el (ses-self-reference-early-detection):
3876 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3877 (verilog-auto-wire-type)
3878 (verilog-auto-delete-trailing-whitespace)
3879 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3880 (verilog-auto-tieoff-declaration):
3881 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3882 (sql-oracle-statement-starters, sql-oracle-scan-on):
3883 * progmodes/prolog.el (prolog-align-comments-flag)
3884 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3885 (prolog-left-indent-regexp, prolog-paren-indent-p)
3886 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3887 (prolog-types, prolog-mode-specificators)
3888 (prolog-determinism-specificators, prolog-directives)
3889 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3890 (prolog-electric-dot-flag)
3891 (prolog-electric-dot-full-predicate-template)
3892 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3893 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3894 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3895 (prolog-program-switches, prolog-prompt-regexp)
3896 (prolog-debug-on-string, prolog-debug-off-string)
3897 (prolog-trace-on-string, prolog-trace-off-string)
3898 (prolog-zip-on-string, prolog-zip-off-string)
3899 (prolog-use-standard-consult-compile-method-flag)
3900 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3901 (prolog-imenu-max-lines, prolog-info-predicate-index)
3902 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3903 (prolog-char-quote-workaround):
3904 * progmodes/cc-vars.el (c-defun-tactic):
3905 * net/tramp.el (tramp-encoding-command-interactive)
3906 (tramp-local-end-of-line):
3907 * net/soap-client.el (soap-client):
3908 * net/netrc.el (netrc-file):
3909 * net/gnutls.el (gnutls):
3910 * minibuffer.el (completion-category-overrides)
3911 (completion-cycle-threshold)
3912 (completion-pcm-complete-word-inserts-delimiters):
3913 * man.el (Man-name-local-regexp):
3914 * mail/feedmail.el (feedmail-display-full-frame):
3915 * international/characters.el (glyphless-char-display-control):
3916 * eshell/em-ls.el (eshell-ls-date-format):
3917 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3918 (lisp-lambda-list-keyword-parameter-indentation)
3919 (lisp-lambda-list-keyword-parameter-alignment):
3920 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3921 * dired-x.el (dired-omit-verbose):
3922 * cus-theme.el (custom-theme-allow-multiple-selections):
3923 * calc/calc.el (calc-highlight-selections-with-faces)
3924 (calc-lu-field-reference, calc-lu-power-reference)
3925 (calc-note-threshold):
3926 * battery.el (battery-mode-line-limit):
3927 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3928 (archive-7z-update):
3929 * allout.el (allout-prefixed-keybindings)
3930 (allout-unprefixed-keybindings)
3931 (allout-inhibit-auto-fill-on-headline)
3932 (allout-flattened-numbering-abbreviation):
3933 * allout-widgets.el (allout-widgets-auto-activation)
3934 (allout-widgets-icons-dark-subdir)
3935 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3936 (allout-widgets-theme-dark-background)
3937 (allout-widgets-theme-light-background)
3938 (allout-widgets-item-image-properties-emacs)
3939 (allout-widgets-item-image-properties-xemacs)
3940 (allout-widgets-run-unit-tests-on-load)
3941 (allout-widgets-time-decoration-activity)
3942 (allout-widgets-hook-error-post-time)
3943 (allout-widgets-track-decoration):
3944 Add missing :version tags to new defcustoms and defgroups.
3945
5fec1b8e
GM
3946 * progmodes/sql.el (sql-ansi-statement-starters)
3947 (sql-oracle-statement-starters): Add custom type.
3948
3e0d2fa7
GM
3949 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3950 (prolog-system-version): Give it a type.
3951
90b671e2
EZ
39522012-02-11 Eli Zaretskii <eliz@gnu.org>
3953
3954 * term/pc-win.el (x-select-text, x-selection-owner-p)
3955 (x-own-selection-internal, x-disown-selection-internal)
3956 (x-get-selection-internal): Sync doc strings and argument lists
3957 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3958
5eac0c02
LL
39592012-02-11 Leo Liu <sdl.web@gmail.com>
3960
3961 * progmodes/python.el (python-end-of-statement): Fix infinite
3962 loop. (Bug#10788)
3963
f82cb659
GM
39642012-02-10 Glenn Morris <rgm@gnu.org>
3965
3966 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3967 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3968
cc26d239
LI
39692012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3970
3971 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3972 about SMTP before checking the From header.
3973
91027d08 3974 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3975 into own function for reuse by emacsbug.el.
3976
1be3ca5a
LL
39772012-02-10 Leo Liu <sdl.web@gmail.com>
3978
3979 * subr.el (condition-case-unless-debug): Rename from
3980 condition-case-no-debug. All callers changed.
3981 (with-demoted-errors): Fix caller.
3982
3983 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3984 * nxml/rng-valid.el (rng-do-some-validation):
3985 * emacs-lisp/package.el (package-refresh-contents)
3986 (package-menu-execute):
3987 * desktop.el (desktop-create-buffer):
91027d08 3988 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3989
b011fbfe
GM
39902012-02-10 Glenn Morris <rgm@gnu.org>
3991
b2096d72
GM
3992 * textmodes/bibtex.el:
3993 Add missing :version tags for new/changed defcustoms.
3994
b011fbfe
GM
3995 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3996
4c7e65bf
LI
39972012-02-09 Lars Ingebrigtsen <larsi@rusty>
3998
3999 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4000 (smtpmail-via-smtp): Use it, or fall back on the From address.
4001 (smtpmail-send-it): Ditto.
4002
f3934f6f
SM
40032012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4006 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4007 (byte-compile-tmp-var): New const.
4008 (byte-compile-defvar): Use it to minimize .elc size.
4009 Just use `defvar' rather than simulate it (bug#10761).
4010
a075a2c5
GM
40112012-02-09 Glenn Morris <rgm@gnu.org>
4012
cf3aa21b
GM
4013 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4014
354998cd
GM
4015 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4016 Add :version tags.
4017
dc9924b8
SM
4018 * progmodes/compile.el (compilation-error-screen-columns)
4019 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4020
dab3703d
GM
4021 * vc/log-view.el (log-view-toggle-entry-display):
4022 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4023
3f88cd72
GM
4024 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4025 (report-emacs-bug-can-use-xdg-email):
4026 (report-emacs-bug-insert-to-mailer): Doc fixes.
4027 (report-emacs-bug): Message fix.
4028
d95b247d
GM
4029 * net/browse-url.el (browse-url-can-use-xdg-open)
4030 (browse-url-xdg-open): Doc fixes.
4031
a075a2c5
GM
4032 * electric.el (electric-indent-mode, electric-pair-mode)
4033 (electric-layout-rules, electric-layout-mode): Doc fixes.
4034 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4035
ffb6157e
MR
40362012-02-08 Martin Rudalics <rudalics@gmx.at>
4037
4038 * server.el (server-unselect-display): Don't inadvertently kill
4039 the current buffer. (Bug#10729)
4040
e1ac4066
GM
40412012-02-08 Glenn Morris <rgm@gnu.org>
4042
34e8a2da
GM
4043 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4044 (sql-list-table): Doc fixes.
4045
b4ac6e8c
GM
4046 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4047 Comment out (does nothing).
4048
e1ac4066
GM
4049 * completion.el (dynamic-completion-mode):
4050 * dirtrack.el (dirtrack-debug-mode):
4051 * electric.el (electric-layout-mode):
4052 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4053 * face-remap.el (text-scale-mode, buffer-face-mode):
4054 * iimage.el (iimage-mode):
4055 * image-mode.el (image-transform-mode):
4056 * minibuffer.el (completion-in-region-mode):
4057 * scroll-lock.el (scroll-lock-mode):
4058 * simple.el (next-error-follow-minor-mode):
4059 * tar-mode.el (tar-subfile-mode):
4060 * tooltip.el (tooltip-mode):
4061 * vcursor.el (vcursor-use-vcursor-map):
4062 * wid-browse.el (widget-minor-mode):
4063 * emulation/tpu-edt.el (tpu-edt-mode):
4064 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4065 * international/iso-ascii.el (iso-ascii-mode):
4066 * language/thai-util.el (thai-word-mode):
4067 * mail/supercite.el (sc-minor-mode):
4068 * net/goto-addr.el (goto-address-mode):
4069 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4070 * progmodes/cwarn.el (cwarn-mode):
4071 * progmodes/flymake.el (flymake-mode):
4072 * progmodes/glasses.el (glasses-mode):
4073 * progmodes/hideshow.el (hs-minor-mode):
4074 * progmodes/pascal.el (pascal-outline-mode):
4075 * textmodes/enriched.el (enriched-mode):
4076 * vc/smerge-mode.el (smerge-mode):
4077 Doc fixes (minor mode argument).
4078
5e0d957f
EZ
40792012-02-07 Eli Zaretskii <eliz@gnu.org>
4080
4081 * ls-lisp.el (ls-lisp-sanitize): New function.
4082 (ls-lisp-insert-directory): Use it to fix or remove any elements
4083 in file-alist with missing attributes. (Bug#4673)
4084
98d7371e
AM
40852012-02-07 Alan Mackenzie <acm@muc.de>
4086
4087 Fix spurious recognition of c-in-knr-argdecl.
4088
4089 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4090 putative K&R region.
4091
667ced3a
AM
40922012-02-07 Alan Mackenzie <acm@muc.de>
4093
eb864a71
LM
4094 * progmodes/cc-engine.el (c-forward-objc-directive):
4095 Prevent looping in "#pragma mark @implementation".
667ced3a 4096
5b77774d
MA
40972012-02-07 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * notifications.el (notifications-on-closed-signal): Make `reason'
4100 optional. (Bug#10744)
4101
af008560
GM
41022012-02-07 Glenn Morris <rgm@gnu.org>
4103
60d47423
GM
4104 * emacs-lisp/easy-mmode.el (define-minor-mode):
4105 Doc fixes for the macro and the mode it defines.
4106
dd605cc4
GM
4107 * image.el (imagemagick-types-inhibit): Doc fix.
4108
af008560
GM
4109 * cus-start.el (imagemagick-render-type): Add it.
4110
5cc59a37
LI
41112012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4112
4d6769e1
JB
4113 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4114 Set the default at load time, too, so that `font-lock-fontify-buffer'
4115 can be called without setting up the entire mode first. This fixes
4116 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4117
9a6dd747
CY
41182012-02-06 Chong Yidong <cyd@gnu.org>
4119
2d16b285
CY
4120 * simple.el (list-processes--refresh): Delete exited processes
4121 (Bug#8094).
4122
171e9b6e
CY
4123 * comint.el (comint-next-prompt): next-single-char-property-change
4124 and prev-single-char-property-change never return nil (Bug#8657).
4125
9a6dd747
CY
4126 * custom.el (defcustom): Doc fix (Bug#9711).
4127
aa4589a7
CY
41282012-02-05 Chong Yidong <cyd@gnu.org>
4129
5c2a252f
CY
4130 * cus-edit.el (custom-variable-reset-backup): Quote the value
4131 before storing it in the customized-value property (Bug#6712).
4aab9006 4132 (custom-display): Add a customization type tag.
983b9602 4133 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4134
aa4589a7
CY
4135 * wid-edit.el (widget-field-value-get): New optional arg to
4136 suppress trailing whitespace truncation.
4137 (character): Use it (Bug#2689).
4138
1ff980ae
AS
41392012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4140
4141 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4142 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4143
03988c98
CY
41442012-02-05 Chong Yidong <cyd@gnu.org>
4145
eeb6cc88
CY
4146 * cus-edit.el (custom-variable-value-create): For mismatched
4147 types, show the current value (Bug#7600).
4148
03988c98
CY
4149 * custom.el (defcustom): Doc fix.
4150
f8cdeef0
GM
41512012-02-05 Glenn Morris <rgm@gnu.org>
4152
4153 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4154
0696d255
JB
41552012-02-05 Juanma Barranquero <lekktu@gmail.com>
4156
4157 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4158 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4159 (pp-last-sexp): Use `looking-at-p'.
4160
34c99998
GM
41612012-02-04 Glenn Morris <rgm@gnu.org>
4162
8f05da42
GM
4163 * files.el (revert-buffer):
4164 Doc fix (mention revert-buffer-in-progress-p).
4165
f160676e
GM
4166 * emacs-lisp/ert-x.el (ert-simulate-command):
4167 Check deferred-action-list (which is obsolete) is bound.
4168
c7291ad9
GM
4169 * subr.el (with-wrapper-hook): Doc fixes.
4170
34c99998
GM
4171 * simple.el (filter-buffer-substring-functions)
4172 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4173
6283a7d3
LL
41742012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4175
4176 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4177 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4178
e96e3013
LL
41792012-02-04 Leo Liu <sdl.web@gmail.com>
4180
4181 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4182
8ded50f2
GM
41832012-02-04 Glenn Morris <rgm@gnu.org>
4184
82ff1d13
GM
4185 * image.el (image-extension-data): Add obsolete alias.
4186
987a0a16
GM
4187 * isearch.el (isearch-update): Doc fix.
4188
ea32ef46
GM
4189 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4190
8ded50f2
GM
4191 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4192
eea14f31
GM
41932012-02-03 Glenn Morris <rgm@gnu.org>
4194
4195 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4196 (image-animate-timeout): Doc fix.
4197
4198 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4199
12f381b7
GM
42002012-02-02 Glenn Morris <rgm@gnu.org>
4201
953cebf5
GM
4202 * server.el (server-auth-dir): Doc fix.
4203 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4204
12f381b7
GM
4205 * subr.el (run-mode-hooks): Doc fix.
4206
953a8c3b
JL
42072012-02-02 Juri Linkov <juri@jurta.org>
4208
4209 * image-mode.el (image-toggle-display-image): Remove tautological
4210 `major-mode' from the `derived-mode-p' test.
4211
c5d3843c
KH
42122012-02-02 Kenichi Handa <handa@m17n.org>
4213
9f6e692e 4214 * composite.el (compose-region): Cancel previous change.
c5d3843c 4215
159462d4 42162012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4217
4218 * composite.el (compose-region, compose-string): Signal error for
4219 a null string component (Bug#6988).
4220
9f562668
CY
42212012-02-01 Chong Yidong <cyd@gnu.org>
4222
e2cef717
CY
4223 * view.el (view-buffer-other-window, view-buffer-other-frame):
4224 Handle special modes like view-buffer (Bug#10650).
4225 (view-buffer): Simplify.
4226
9f562668
CY
4227 * frame.el (set-frame-font): Tweak meaning of third argument.
4228
9f6e692e
JB
4229 * dynamic-setting.el (font-setting-change-default-font):
4230 Use set-frame-font (Bug#9982).
9f562668 4231
781acb9f
GM
42322012-02-01 Glenn Morris <rgm@gnu.org>
4233
6035be52
GM
4234 * progmodes/compile.el (compilation-internal-error-properties):
4235 Respect compilation-first-column in the "*compilation*" buffer.
4236
781acb9f
GM
4237 * emacs-lisp/easy-mmode.el (define-minor-mode):
4238 Relax :variable's test for a named function.
4239
abbceb00
AM
42402012-01-31 Alan Mackenzie <acm@muc.de>
4241
4242 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4243 off by one error.
4244
fce3fdeb
CY
42452012-01-31 Chong Yidong <cyd@gnu.org>
4246
4247 * frame.el (set-frame-font): New arg ALL-FRAMES.
4248
4249 * menu-bar.el (menu-set-font): Use set-frame-font.
4250
4251 * faces.el (face-spec-reset-face): Don't apply unspecified
4252 attribute values to the default face.
4253
47893581
JB
42542012-01-31 Juanma Barranquero <lekktu@gmail.com>
4255
4256 * progmodes/cwarn.el (cwarn): Remove dead link.
4257 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4258 Remove * from defcustom docstrings.
4259 (turn-on-cwarn-mode): Make obsolete.
4260 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4261 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4262
e58e988a
GM
42632012-01-31 Glenn Morris <rgm@gnu.org>
4264
60dc2671 4265 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4266 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4267 Allow named functions to be used as the cdr of :variable.
e58e988a 4268
7a3f511d
GM
42692012-01-30 Glenn Morris <rgm@gnu.org>
4270
4271 * emacs-lisp/authors.el (authors-fixed-entries):
4272 Remove reference to deleted file rnewspost.el.
4273
cb882333
JB
42742012-01-29 Juanma Barranquero <lekktu@gmail.com>
4275
4276 * window.el (window-with-parameter): Remove unused variable `windows'.
4277 (window--side-check): Remove unused variable `code'.
4278 (window--resize-siblings): Remove unused variable `first'.
4279 (adjust-window-trailing-edge): Remove unused variable `failed'.
4280 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4281 Use `let', not `let*'.
4282 (balance-windows-2): Remove unused variable `found'.
4283 (window--state-put-2): Remove unused variable `splits'.
4284 (window-state-put): Remove unused variable `selected'.
4285 (same-window-p): Use `string-match-p'.
4286 (display-buffer-assq-regexp): Remove unused variable `value'.
4287 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4288 Mark argument ALIST as ignored.
4289 (pop-to-buffer): Remove unused variable `old-window'.
4290
907201af
EZ
42912012-01-29 Eli Zaretskii <eliz@gnu.org>
4292
4293 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4294 and .lzma compressed files.
4295
ea162670
CY
42962012-01-29 Chong Yidong <cyd@gnu.org>
4297
5b95ee8a
CY
4298 * frame.el (window-system-default-frame-alist): Doc fix.
4299
ea162670
CY
4300 * dynamic-setting.el (font-setting-change-default-font): Don't
4301 change the default face if SET-FONT argument is non-nil (Bug#9982).
4302
d6e6f4b1
SB
43032012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4304
4305 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4306
0f29fa41 43072012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4308
4309 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4310 breakpoints in files outside current directory (Bug#6098).
4311
db174434
CY
43122012-01-29 Chong Yidong <cyd@gnu.org>
4313
6b25e4e2
SE
4314 * progmodes/python.el: Require ansi-color at top-level.
4315
6df6ae42
JB
4316 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4317 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4318 (lisp-mode-abbrev-table): Add doc.
4319 (lisp-mode-variables): Don't set local-abbrev-table.
4320 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4321
e70ee681
RW
43222012-01-28 Roland Winkler <winkler@gnu.org>
4323
4324 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4325
ace88aa2
RW
43262012-01-28 Roland Winkler <winkler@gnu.org>
4327
4328 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4329 (bibtex-set-dialect): Use it. Either set global values of
4330 dialect-dependent variables or bind these variables buffer-locally
4331 (Bug#10254).
4332 (bibtex-mode): Call bibtex-set-dialect via
4333 hack-local-variables-hook.
eb864a71
LM
4334 (bibtex-dialect): Update docstring.
4335 Add safe-local-variable predicate.
ace88aa2
RW
4336 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4337 bibtex-set-dialect.
4338 (bibtex-mode-map): Define menu for each dialect.
4339 (bibtex-entry): Fix docstring.
4340
93376c5b
CY
43412012-01-28 Chong Yidong <cyd@gnu.org>
4342
4343 * eshell/esh-arg.el (eshell-quote-argument): New function.
4344
4345 * eshell/esh-ext.el (eshell-invoke-batch-file):
4346 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4347 first arg to eshell-parse-command (Bug#10523).
4348
4372494f
DA
43492012-01-28 Drew Adams <drew.adams@oracle.com>
4350
4351 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4352 `default-directory' is non-nil.
4353
4d4ec1f8
EZ
43542012-01-28 Eli Zaretskii <eliz@gnu.org>
4355
4356 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4357 line that displays system-configuration-options. (Bug#9924)
4358
7c188927
DA
43592012-01-28 Drew Adams <drew.adams@oracle.com>
4360
4361 * descr-text.el (describe-char): Show information about POS, in
4362 addition to information about the character at POS. Improve and
4363 update the doc string. Change "code point" to "code point in
4364 charset", to avoid confusion with the character's Unicode code
4365 point shown above that. (Bug#10129)
4366
e0da685a
EZ
43672012-01-28 Eli Zaretskii <eliz@gnu.org>
4368
4369 * descr-text.el (describe-char): Show the raw character, not only
4370 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4371 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4372 for the reasons.
4373
70550acf
PH
43742012-01-28 Phil Hagelberg <phil@hagelb.org>
4375
eb864a71
LM
4376 * emacs-lisp/package.el (package-install):
4377 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4378
0ce8e868
CY
43792012-01-28 Chong Yidong <cyd@gnu.org>
4380
cb882333
JB
4381 * emacs-lisp/package.el (package-maybe-load-descriptor):
4382 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4383 (package-maybe-load-descriptor): Use it.
4384 (package-download-transaction): Fully load required packages
4385 inside the loop, so that `require' calls work (Bug#10593).
4386 (package-install): No need to call package-initialize now.
4387
2e7f3bea
CY
43882012-01-28 Chong Yidong <cyd@gnu.org>
4389
6e9bad14
CY
4390 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4391
f823b8ca
CY
4392 * tooltip.el (tooltip-mode): Doc fix.
4393 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4394
2680c309
CY
4395 * frame.el (set-cursor-color): Doc fix (Bug#352).
4396
d7a9e63b
CY
4397 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4398 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4399
2e7f3bea
CY
4400 * cus-edit.el (custom-buffer-create-internal): Fix search button
4401 action (Bug#10542).
2ae01800 4402 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4403
fc4f7a23
EW
44042012-01-27 Eduard Wiebe <usenet@pusto.de>
4405
4406 * dired.el (dired-mark-files-regexp):
4407 Include any subdirectory components. (Bug#10445)
4408
7dd37071
ML
44092012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4410
4411 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4412 Handle [host]:port syntax. (Bug#10533)
4413
a268160b
AH
44142012-01-27 Alex Harsanyi <harsanyi@mac.com>
4415
4416 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4417
e43273ef
GM
44182012-01-26 Glenn Morris <rgm@gnu.org>
4419
4420 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4421 * term.el (term-raw-escape-map): Use Control-X-prefix.
4422 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4423
1edf595d
MR
44242012-01-25 Martin Rudalics <rudalics@gmx.at>
4425
4426 * window.el (window-state-get, window--state-get-1): Don't deal
4427 with fixed-sizeness of windows. Simplify code.
4428
fa8eafef
JC
44292012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4430
6df6ae42
JB
4431 * window.el (window--state-get-1, window--state-put-2):
4432 Don't save and restore the mark.
fa8eafef 4433
0b21c100
CY
44342012-01-25 Chong Yidong <cyd@gnu.org>
4435
4436 * custom.el (custom-variable-p): Doc fix.
4437
5ae1a6c8
GM
44382012-01-25 Glenn Morris <rgm@gnu.org>
4439
40047858
GM
4440 * dired.el (dired-goto-file): Handle some of the more common
4441 characters that `ls -b' escapes. (Bug#10596)
4442
5ddce96c
GM
4443 * progmodes/compile.el (compilation-next-error-function):
4444 Respect compilation-first-column in the "*compilation*" buffer.
4445 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4446
5ae1a6c8
GM
4447 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4448
b559f1a9
GM
44492012-01-24 Glenn Morris <rgm@gnu.org>
4450
4451 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4452
6725d21a
JD
44532012-01-24 Julien Danjou <julien@danjou.info>
4454
4455 * color.el (color-rgb-to-hsl): Fix value computing.
4456 (color-hue-to-rgb): New function.
4457 (color-hsl-to-rgb): New function.
4458 (color-clamp, color-saturate-hsl, color-saturate-name)
4459 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4460 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4461
70df4bbe
GM
44622012-01-24 Glenn Morris <rgm@gnu.org>
4463
4464 * vc/vc-rcs.el (vc-rcs-create-tag):
4465 * vc/vc-sccs.el (vc-sccs-create-tag):
4466 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4467
802a2ae2
ML
44682012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4469
4470 * eshell/esh-util.el (eshell-read-hosts-file):
4471 Skip comment lines. (Bug#10549)
4472
d7128bb1
ML
4473 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4474
d1a5c3b4
JB
44752012-01-23 Juanma Barranquero <lekktu@gmail.com>
4476
2724d9c7
JB
4477 * subr.el (display-delayed-warnings): Doc fix.
4478 (collapse-delayed-warnings): New function to collapse identical
4479 adjacent warnings.
4480 (delayed-warnings-hook): Add it.
d1a5c3b4 4481
a5509865
MA
44822012-01-22 Michael Albinus <michael.albinus@gmx.de>
4483
4484 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4485
4486 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4487 properties, when "login-as" is set.
4488
4489 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4490 (tramp-default-user-alist): Don't add "pscp".
4491 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4492 property "login-as", if set. (Bug#10530)
4493
cc6d5805
MA
44942012-01-21 Michael Albinus <michael.albinus@gmx.de>
4495
4496 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4497 "plink1" and "psftp". (Bug#10530)
4498
44992012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4500
4501 * international/mule-cmds.el (prefer-coding-system): Show a
4502 warning message if the default value of file-name-coding-system
4503 was not changed.
4504
f0960428
JC
45052012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4506
cb882333
JB
4507 * windmove.el (windmove-reference-loc):
4508 Fix windmove-reference-loc miscalculation.
f0960428 4509
dd6f2a63
JB
45102012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4511
4512 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4513 default unit.
4514
7b447e9b
GM
45152012-01-21 Glenn Morris <rgm@gnu.org>
4516
117a9ea1
GM
4517 * international/mule.el (auto-coding-alist): Add .tbz.
4518
7b447e9b
GM
4519 * files.el (local-enable-local-variables): Doc fix.
4520 (inhibit-local-variables-regexps): Rename from
4521 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4522 Doc fix. Add some extensions from auto-coding-alist.
4523 (inhibit-local-variables-suffixes):
4524 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4525 (inhibit-local-variables-p):
4526 New function, extracted from set-auto-mode-1.
4527 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4528 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4529 (hack-local-variables): Doc fix. Make the mode-only case
4530 respect enable-local-variables and friends.
4531 Respect inhibit-local-variables-regexps for file-locals, but
4532 not for directory-locals.
4533 (set-visited-file-name):
4534 Take account of inhibit-local-variables-regexps.
4535 Whether it applies may change as the file name is changed.
4536 * jka-cmpr-hook.el (jka-compr-install):
4537 * jka-compr.el (jka-compr-uninstall):
4538 Update for inhibit-first-line-modes-suffixes name change.
4539
dd6e3cdd
MR
45402012-01-20 Martin Rudalics <rudalics@gmx.at>
4541
4542 * help-macro.el (make-help-screen): Temporarily restore original
4543 binding for minor-mode-map-alist (Bug#10454).
4544
0d0deb38
JD
45452012-01-19 Julien Danjou <julien@danjou.info>
4546
4547 * color.el (color-name-to-rgb): Use the white color to find the max
4548 color component value and return correctly computed values.
4549 (color-name-to-rgb): Add missing float conversion for max value.
4550
34a02f46
MR
45512012-01-19 Martin Rudalics <rudalics@gmx.at>
4552
4553 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4554 special state value for window-persistent-parameters.
4555 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4556 (window--state-put-2): Reset all window parameters to nil before
4557 assigning values of persistent parameters.
4558
606c44c4
AM
45592012-01-18 Alan Mackenzie <acm@muc.de>
4560
4561 Eliminate sluggishness and hangs in fontification of "semicolon
4562 deserts".
4563
cb882333
JB
4564 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4565 Change value 10000 -> 3000.
606c44c4
AM
4566 (c-state-safe-place): Reformulate so it doesn't stack up an
4567 infinite number of wrong entries in c-state-nonlit-pos-cache.
4568 (c-determine-limit-get-base, c-determine-limit): New functions to
4569 determine backward search limits disregarding literals.
4570 (c-find-decl-spots): Amend commenting.
4571 (c-cheap-inside-bracelist-p): New function which detects "={".
4572
4573 * progmodes/cc-fonts.el
4574 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4575 backward search.
4576 (c-font-lock-declarations): Fix an occurrence of point being
4577 undefined. Check additionally for point being in a bracelist or
4578 near a macro invocation without a semicolon so as to avoid a
4579 fruitless time consuming search for a declarator. Give a more
4580 precise search limit for declarators using the new
4581 c-determine-limit.
4582
f3860cea
GM
45832012-01-18 Glenn Morris <rgm@gnu.org>
4584
4585 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4586 (set-auto-mode): Doc fixes.
4587
1db03b16
GM
45882012-01-17 Glenn Morris <rgm@gnu.org>
4589
0e6038be
GM
4590 * isearch.el (search-nonincremental-instead): Fix doc typo.
4591
1db03b16
GM
4592 * dired.el (dired-insert-directory): Handle newlines in directory name.
4593 (dired-build-subdir-alist): Unescape newlines in directory name.
4594
4cb0aa75
MA
45952012-01-17 Michael Albinus <michael.albinus@gmx.de>
4596
4597 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4598 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4599 (tramp-action-terminal): Use it. (Bug#10530)
4600
1d00653d
SM
46012012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4604
6a6ee00d
MR
46052012-01-16 Martin Rudalics <rudalics@gmx.at>
4606
4607 * window.el (window-state-ignored-parameters): Remove variable.
4608 (window--state-get-1): Rename argument MARKERS to IGNORE.
4609 Handle persistent window parameters. Make copy of clone-of
4610 parameter only if requested. (Bug#10348)
4611 (window--state-put-2): Install a window parameter only if it has
4612 a non-nil value or an existing parameter shall be overwritten.
4613
97912def
MA
46142012-01-15 Michael Albinus <michael.albinus@gmx.de>
4615
4616 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4617
688070a5
EZ
46182012-01-14 Eli Zaretskii <eliz@gnu.org>
4619
4620 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4621 don't pass the (nil) value of `upnode' to string-match.
4622
301afadc
CY
46232012-01-14 Chong Yidong <cyd@gnu.org>
4624
4625 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4626 Fix values recognized by the cursorBlink resource.
301afadc 4627
9e5788aa
PE
46282012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4629
4630 * epg.el (epg--make-temp-file): Avoid permission race condition
4631 when running on old Emacs versions (bug#10403).
4632
3cdb7f5a
GM
46332012-01-14 Glenn Morris <rgm@gnu.org>
4634
4635 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4636
8c82b1b4
AM
46372012-01-13 Alan Mackenzie <acm@muc.de>
4638
4639 Fix filling for when filladapt mode is enabled.
4640
4641 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4642 c-mask-paragraph, pass in `fill-paragraph' rather than
4643 `fill-region-as-paragraph'. (This is a reversion of a previous
4644 change.)
eb864a71
LM
4645 * progmodes/cc-mode.el (c-basic-common-init):
4646 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4647
e517eda4
GM
46482012-01-13 Glenn Morris <rgm@gnu.org>
4649
1498536e
GM
4650 * dired.el (dired-switches-escape-p): New function.
4651 (dired-insert-directory): Use dired-switches-escape-p.
4652 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4653
e517eda4
GM
4654 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4655
328f984d
GM
46562012-01-12 Glenn Morris <rgm@gnu.org>
4657
4658 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4659 changes in adaptive-fill-regexp. (Bug#10276)
4660
2cc769a8
AM
46612012-01-11 Alan Mackenzie <acm@muc.de>
4662
4663 Fix Emacs bug #10463 - put `widen's around the critical spots.
4664
1d00653d 4665 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4666 widen around each invocation of c-state-pp-to-literal. Remove an
4667 unused let variable.
4668
e52c37fa
GM
46692012-01-11 Glenn Morris <rgm@gnu.org>
4670
4671 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4672 Doc fix.
e52c37fa 4673
96f8741e
CY
46742012-01-10 Chong Yidong <cyd@gnu.org>
4675
1d00653d
SM
4676 * net/network-stream.el (network-stream-open-starttls):
4677 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4678 response to the capability command.
4679
b09a806e
GM
46802012-01-10 Glenn Morris <rgm@gnu.org>
4681
4682 * mail/unrmail.el (unrmail): Tweak previous change.
4683
7655cb66
CY
46842012-01-09 Chong Yidong <cyd@gnu.org>
4685
4686 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4687
9d5a8f0b
AM
46882012-01-08 Alan Mackenzie <acm@muc.de>
4689
4690 Optimise font locking in long enum definitions.
4691
4692 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4693 arm to a cond form to handle enums.
4694 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4695 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4696
9a0115ab 46972012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4698
4699 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4700 (Bug#10401)
6bb72cbd 4701
f186bb95
LMI
47022012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4703
29232a68
LMI
4704 * faces.el (set-face-attribute): Clarify the meaning of the nil
4705 frame (bug#10294).
4706
4e5d086d
LMI
4707 * subr.el (with-selected-frame): Mention that the selected frame
4708 is restored (bug#9980).
4709
8e66aebe
LMI
4710 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4711 (bug#9759).
4712
cd394be1 4713 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4714 (password-read): Don't autoload unused function.
4715
adf4e762
JB
47162012-01-07 Juanma Barranquero <lekktu@gmail.com>
4717
4718 * progmodes/which-func.el (which-func-mode): Turn into a
4719 non-interactive function and mark as obsolete (bug#10428).
4720
89bd9ccd
CY
47212012-01-06 Chong Yidong <cyd@gnu.org>
4722
4723 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4724 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4725 functions, along with 1 and -1.
4726
4afee9d5
EZ
47272012-01-06 Eli Zaretskii <eliz@gnu.org>
4728
4729 * time.el (display-time-load-average)
4730 (display-time-default-load-average): Doc fixes. See the thread
4731 starting at
4732 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4733 for the details.
4734
536aea70
GM
47352012-01-06 Glenn Morris <rgm@gnu.org>
4736
665ae865
GM
4737 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4738 has no messages. (Bug#10377)
4739
c869783d
GM
4740 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4741 than Info-edit. (Bug#10385)
4742
2bb4227e
GM
4743 * time.el (display-time-load-average, display-time-next-load-average):
4744 Doc fixes.
4745
7d5944b9
GM
4746 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4747 local setting of buffer-read-only to the input buffer. (Bug#10419)
4748
536aea70
GM
4749 * calendar/calendar.el (calendar-mode):
4750 Locally set scroll-margin to 0. (Bug#10379)
4751
7dccca16
UM
47522012-01-06 Ulrich Mueller <ulm@gentoo.org>
4753
4754 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4755
afbb7930
GM
47562012-01-05 Glenn Morris <rgm@gnu.org>
4757
4758 * eshell/em-unix.el (diff-no-select): Autoload it.
4759 (eshell/diff): Use diff-no-select. (Bug#10420)
4760
04482335
CY
47612012-01-05 Chong Yidong <cyd@gnu.org>
4762
7baca3bc
CY
4763 * shell.el (shell-dynamic-complete-functions): Revert last change.
4764 (shell-command-completion-function): New function.
4765 (shell-completion-vars): Use it to implement
4766 shell-completion-execonly (Bug#10417).
4767
04482335
CY
4768 * custom.el (enable-theme): Don't set custom-safe-themes.
4769
1d00653d
SM
4770 * cus-theme.el (custom-theme-merge-theme):
4771 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4772
bb5aa5d6
MM
47732012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4774
4775 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4776 first prompt in `sql-interacive-mode'.
4777 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4778 keywords.
6df6ae42 4779 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4780 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4781 context of original buffer. Invoke `sql-login-hook'.
4782
a7183d7c
EZ
47832012-01-04 Eli Zaretskii <eliz@gnu.org>
4784
4785 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4786 letters in cite-prefix.
4787
a1eacd1e
LMI
47882012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4789
4790 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4791
787cdb34
CY
47922012-01-03 Chong Yidong <cyd@gnu.org>
4793
1d00653d
SM
4794 * shell.el (shell-dynamic-complete-functions):
4795 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4796 comint-filename-completion first (Bug#10417).
4797
30710442
RS
47982012-01-02 Richard Stallman <rms@gnu.org>
4799
4800 * battery.el (battery-status-function):
4801 Detect when to use battery-yeeloong-sysfs.
4802 (battery-echo-area-format): Add string for Yeeloong.
4803 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4804 (battery-yeeloong-sysfs): New function.
4805
f75bfc33
CY
48062012-01-02 Chong Yidong <cyd@gnu.org>
4807
4808 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4809 (dirtrack): Merge code for handling relative filenames in prompt
4810 from shell-dir-cookie-watcher.
4811 (dirtrack-debug-message): New arg to avoid excess format calls.
4812
4813 * shell.el (shell-dir-cookie-re): Variable deleted.
4814 (shell-dir-cookie-watcher): Function deleted.
4815 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4816 with dirtrack-mode.
4817
651e947e
EZ
48182012-01-01 Eli Zaretskii <eliz@gnu.org>
4819
1d00653d
SM
4820 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4821 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4822 libgnutls-26.dll.
4823
94d4c7dc
AS
48242011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4825
4826 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4827
8d43f3cd
EZ
48282011-12-31 Eli Zaretskii <eliz@gnu.org>
4829
4830 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4831 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4832
98c8795a
MA
48332011-12-29 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4836 also for alternative shells.
4837 (tramp-open-connection-setup-interactive-shell): Check, whether
4838 the shell is a busybox.
4839 (tramp-send-command): Don't suppress multiple prompts for
4840 busyboxes, it hurts.
4841
51281b32
CY
48422011-12-28 Chong Yidong <cyd@gnu.org>
4843
4844 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4845 (gdb-get-source-file): Move mode line update to
4846 gdb-get-source-file (Bug#10087).
4847
2170cb53
CY
48482011-12-25 Chong Yidong <cyd@gnu.org>
4849
4850 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4851 gud-gdb-marker-filter without taking it as an argument.
4852 (gud-gdb-run-command-fetch-lines): Caller changed.
4853 (gud-gdb-completion-function): New variable.
4854 (gud-gdb-completion-at-point): Use it.
4855 (gud-gdb-completions-1): Split from gud-gdb-completions.
4856
4857 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4858 function as separate arguments.
4859 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4860 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4861 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4862 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4863 (gdb-stopped, def-gdb-auto-update-trigger)
4864 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4865 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4866 Callers changed.
2170cb53
CY
4867 (gud-gdbmi-completions): New function.
4868 (gdb): Use it for generating the completion table.
4869
be8b11bb
AM
48702011-12-24 Alan Mackenzie <acm@muc.de>
4871
4872 Introduce a mechanism to widen the region used in context font
1d00653d 4873 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4874
1d00653d
SM
4875 * progmodes/cc-langs.el (c-before-font-lock-functions):
4876 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4877 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4878 functions to be run just before context (etc.) font locking.
4879
4880 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4881 New, functionality extracted from
be8b11bb 4882 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4883 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4884 (c-after-change): Set c-in-after-change-fontification.
4885 (c-set-fl-decl-start): Rejig its interface, so it can be called
4886 from both after-change and context fontifying.
b81d40f0
JB
4887 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4888 New functions.
4889 (c-standard-font-lock-fontify-region-function): New variable.
4890 (c-font-lock-fontify-region): New function.
be8b11bb 4891
341cf6ac
JL
48922011-12-24 Juri Linkov <juri@jurta.org>
4893
4894 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4895 (Bug#10348)
4896
bffcee0a
MA
48972011-12-23 Michael Albinus <michael.albinus@gmx.de>
4898
4899 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4900 existence of source file. (Bug#10325)
4901
cb5e207c
AM
49022011-12-23 Alan Mackenzie <acm@muc.de>
4903
4904 Fix unstable fontification inside templates.
4905
b81d40f0
JB
4906 * progmodes/cc-langs.el (c-before-font-lock-functions):
4907 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4908 additionally has c-set-fl-decl-start. The other languages (apart
4909 from AWK) have that as a single entry.
4910
b81d40f0
JB
4911 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4912 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4913 c-set-fl-decl-start.
4914
b81d40f0
JB
4915 * progmodes/cc-mode.el (c-common-init, c-after-change):
4916 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4917 (c-set-fl-decl-start): New function, extracted from
4918 c-font-lock-enclosing-decls and enhanced.
4919
60ff536c
JB
49202011-12-23 Juanma Barranquero <lekktu@gmail.com>
4921
4922 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4923
1c4757d6
JL
49242011-12-22 Juri Linkov <juri@jurta.org>
4925
4926 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4927
d031f2c7
CY
49282011-12-22 Chong Yidong <cyd@gnu.org>
4929
4930 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4931
bace743a
DA
49322011-12-21 Drew Adams <drew.adams@oracle.com>
4933
4934 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4935
728a1f2b
JC
49362011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4937
4938 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4939
0d373f73
TZ
49402011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4941
fec0aaa4
TZ
4942 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4943 highlighting and support. Fix up comments for capitalization.
4944 (cfengine-mode-debug): New var.
4945 (cfengine3-mode): Change the modeline indicator to "CFE3".
4946 (cfengine3-font-lock-keywords): Improve defun highlighting.
4947 (cfengine2-actions): Rename from `cfengine-actions'.
4948 (cfengine2-font-lock-keywords): Rename from
4949 `cfengine-font-lock-keywords'.
4950 (cfengine2-imenu-expression): Rename from
4951 `cfengine-imenu-expression'.
4952 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4953 (cfengine2-beginning-of-defun): Rename from
4954 `cfengine-beginning-of-defun'.
4955 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4956 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4957 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4958 modeline indicator to "CFE2".
4959 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4960 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4961
bc86f573
CY
49622011-12-21 Chong Yidong <cyd@gnu.org>
4963
4964 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4965 filename argument.
4966
d45ba96b
MR
49672011-12-20 Martin Rudalics <rudalics@gmx.at>
4968
4969 * window.el (window-normalize-buffer-to-display): Remove.
4970 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4971
a6198c90
CY
49722011-12-19 Chong Yidong <cyd@gnu.org>
4973
4974 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4975 Don't signal an error in a predicate function; return non-nil.
4976 (vc-dir-mark-file): Move the error here.
4977 (vc-dir-mark-unmark): If acting on the region, keep going if one
4978 of the entries cannot be marked/unmarked.
4979 (vc-dir-mark-all-files): If current entry is a directory, mark
4980 only child files, as documented.
4981
34c5fb55
VB
49822011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4983
4984 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4985 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4986 addition.
4987
c803b2b7
JD
49882011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4989
4990 * term/ns-win.el (ns-get-selection-internal)
4991 (ns-store-selection-internal): Declare.
1154d12e
JB
4992 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4993 Declare as obsolete.
4994 (ns-get-pasteboard, ns-paste-secondary):
4995 Use ns-get-selection-internal.
4996 (ns-set-pasteboard, ns-copy-including-secondary):
4997 Use ns-store-selection-internal.
c803b2b7 4998
9cff91f8 49992011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5000
5001 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5002 (vc-deduce-fileset): Doc fix.
99a289d9 5003
f16c898a
AS
50042011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5005
5006 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5007
763237c4
SS
50082011-12-13 Sam Steingold <sds@gnu.org>
5009
5010 * man.el (Man-getpage-in-background): When running under a
5011 window-system, ignore $MANWIDTH and $COLUMNS.
5012
5fc1c122
KH
50132011-12-15 Kenichi Handa <handa@m17n.org>
5014
5015 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5016 (setup-ethiopic-environment-internal): Comment out key-binding for
5017 ethio-toggle-punctuation.
5018
13d49cbb
AM
50192011-12-13 Alan Mackenzie <acm@muc.de>
5020
898169a2
AM
5021 Add the switch statement to AWK Mode.
5022
7a71b18d 5023 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5024 "default" to the keywords regexp.
5025
7a71b18d 5026 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5027 expression as the rest.
1d00653d
SM
5028 (c-nonlabel-token-key): Allow string literals for AWK.
5029 Refactor for the other modes.
898169a2 5030
13d49cbb 5031 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5032 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5033 routines. Limit backward searching in c-font-lock-enclosing.decl.
5034
5035 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5036 pp-state and literal type in addition to the limits.
1d00653d 5037 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5038 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5039 (c-slow-in-literal, c-fast-in-literal): Remove.
5040 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5041
5042 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5043 being in a literal. Add a limit for backward searching.
5044
5045 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5046 c-slow-in-literal.
5047
15e0efc7
SM
50482011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5051
454592a6
MR
50522011-12-13 Martin Rudalics <rudalics@gmx.at>
5053
5054 * window.el (delete-other-windows): Use correct frame in call to
5055 window-with-parameter.
5056
87393f26
DP
50572011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5058
5059 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5060 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5061 (makefile-gmake-statements, makefile-makepp-statements):
5062 Use it and add new makepp keywords.
5063 (makefile-makepp-font-lock-keywords): Add new patterns.
5064 (makefile-match-function-end): Match new [...] and [[...]].
5065
11636b22
JB
50662011-12-11 Juanma Barranquero <lekktu@gmail.com>
5067
5068 * ses.el (ses-call-printer-return, ses-cell-property-get)
5069 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5070 (ses-create-cell-variable, ses-reset-header-string)
5071 (ses-cell-set-formula, ses-repair-cell-reference-all)
5072 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5073 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5074 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5075 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5076 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5077 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5078 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5079 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5080 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5081 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5082 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5083 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5084
cf018193
VB
50852011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5086
5087 * ses.el: The overall change is to add cell renaming, that is
5088 setting fancy names for cell symbols other than name matching
5089 "\\`[A-Z]+[0-9]+\\'" regexp .
5090 (ses-create-cell-variable): New defun.
5091 (ses-relocate-formula): Relocate formulas only for cells the
5092 symbols of which are not renamed, i.e. symbols whose names do not
5093 match regexp "\\`[A-Z]+[0-9]+\\'".
5094 (ses-relocate-all): Relocate values only for cells the symbols of
5095 which are not renamed.
5096 (ses-load): Create cells variables as the (ses-cell ...) are read,
5097 in order to check row col consistency with cell symbol name only
5098 for cells that are not renamed.
5099 (ses-replace-name-in-formula): New defun.
5100 (ses-rename-cell): New defun.
5101
ee957461
CY
51022011-12-11 Chong Yidong <cyd@gnu.org>
5103
5104 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5105 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5106
9a9e9ef0
MR
51072011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5108
5109 * window.el (other-window): Fix docstring.
5110
92a8eba5
EZ
51112011-12-10 Eli Zaretskii <eliz@gnu.org>
5112
5113 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5114 `from' or `to' address before taking its substring.
5115 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5116 encoded name is chopped in the middle of the encoded string, and
5117 thus displayed encoded.
5118
e152e577
JB
51192011-12-10 Juanma Barranquero <lekktu@gmail.com>
5120
5121 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5122
e5d84bfe
EZ
51232011-12-10 Eli Zaretskii <eliz@gnu.org>
5124
5125 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5126 to use texinfo-update-node and commands that call it if the
5127 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5128 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5129 (texinfo-all-menus-update, texinfo-master-menu)
5130 (texinfo-update-node, texinfo-every-node-update)
5131 (texinfo-multiple-files-update): Doc fix. Warn against updating
5132 all the @node lines.
5133 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5134 argument is numeric. Explain better in the doc string what the
5135 function really does.
5136 (texinfo-insert-master-menu-list): Improve the error message
5137 displayed if there's no menu in the Top node.
5138 (Bug#2975) See also this thread:
e5d84bfe
EZ
5139 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5140
1d84e9bb
MG
51412011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5142
5143 * speedbar.el (speedbar-supported-extension-expressions):
5144 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5145
382c953b
JB
51462011-12-09 Juanma Barranquero <lekktu@gmail.com>
5147
5148 * printing.el (pr-mode-alist):
5149 * simple.el (filter-buffer-substring-functions)
5150 (completion-list-insert-choice-function):
5151 * window.el (window-with-parameter, window-atom-root)
5152 (window-sides-slots, window-size-fixed, window-min-delta)
5153 (window-max-delta, window--resize-mini-window)
5154 (window--resize-child-windows-normal, window-tree)
5155 (delete-other-windows, quit-window, split-window)
5156 (display-buffer-record-window, special-display-buffer-names)
5157 (special-display-regexps, special-display-popup-frame)
5158 (same-window-p, split-window-sensibly)
5159 (display-buffer-overriding-action, display-buffer-alist)
5160 (display-buffer-base-action, display-buffer, switch-to-buffer)
5161 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5162 (fit-window-to-buffer, recenter-positions)
5163 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5164 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5165 and remove unneeded backslashes in docstrings.
5166
39c9faef
SM
51672011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5168
98449af8
SM
5169 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5170
39c9faef
SM
5171 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5172 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5173 end in ".mk".
5174 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5175 when reading the makefile (bug#10116).
5176
86ed9fdc
SM
51772011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5180 (bug#10116).
5181
5580f89d
GM
51822011-12-06 Glenn Morris <rgm@gnu.org>
5183
5184 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5185
28d3917c
CY
51862011-12-06 Chong Yidong <cyd@gnu.org>
5187
5188 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5189
a98edce9
JB
51902011-12-06 Juanma Barranquero <lekktu@gmail.com>
5191
5192 * textmodes/table.el (table-shorten-cell): Fix typo.
5193
e65adfac
CG
51942011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5195
5196 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5197
71cc0b74
EZ
51982011-12-05 Eli Zaretskii <eliz@gnu.org>
5199
5200 * descr-text.el (describe-char): Fix display of strong
5201 right-to-left characters and directional embeddings and overrides.
5202
5203 * simple.el (what-cursor-position): Fix display of codepoints of
5204 strong right-to-left characters.
5205
315bc30d
CY
52062011-12-05 Chong Yidong <cyd@gnu.org>
5207
5208 * faces.el (read-color): Doc fix.
5209
58a70b94
GM
52102011-12-05 Glenn Morris <rgm@gnu.org>
5211
5212 * align.el (align--set-marker): Add doc-string.
5213 Don't try to move something that is not a marker. (Bug#10216)
5214
5158face
GM
52152011-12-04 Glenn Morris <rgm@gnu.org>
5216
5217 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5218 overly zealous deletion of trailing whitespace.
5219
520fca41
JB
52202011-12-04 Juanma Barranquero <lekktu@gmail.com>
5221
5222 * server.el (server-delete-client): On Windows, do not try to delete
5223 the only terminal.
5224 (server-process-filter): On Windows, treat requests for a tty frame as
5225 if they were for a GUI frame if the running server is in GUI mode.
5226
5e605a2e
GM
52272011-12-03 Glenn Morris <rgm@gnu.org>
5228
5229 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5230
5c3fe83f
SM
52312011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5232
6f5e57e7
SM
5233 * electric.el: Streamline electric-indent's hook.
5234 (electric-indent-chars): Revert to simple list.
5235 (electric-indent-functions): New var.
5236 (electric-indent-post-self-insert-function): Use it.
5237
5c3fe83f
SM
5238 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5239 there's no inferior buffer (bug#10196).
5240 (prolog-consult-compile): Don't use toggle-read-only.
5241
6bdac736
MA
52422011-12-02 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5245 interrupt. (Bug#10187)
5246
6131ba7f
SM
52472011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5248
99c79fee
SM
5249 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5250 (bug#9160).
5251
6131ba7f
SM
5252 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5253 (bug#10191).
5254
cb0a02ea
JL
52552011-12-02 Juri Linkov <juri@jurta.org>
5256
5257 * info.el (Info-search): Display "end of manual" when Isearch
5258 reaches the end of single-file Info manual. (Bug#9918)
5259
66e0570c
EZ
52602011-12-02 Eli Zaretskii <eliz@gnu.org>
5261
5262 * isearch.el (isearch-message-prefix): Run the input method part
5263 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5264
02b16839
JL
52652011-12-02 Juri Linkov <juri@jurta.org>
5266
5267 * isearch.el (isearch-occur): Use `word-search-regexp' for
5268 `isearch-word'.
5269 (isearch-search-and-update): Add condition for `isearch-word' and
5270 call `word-search-regexp'. (Bug#10145)
5271
0b950688
GM
52722011-12-01 Glenn Morris <rgm@gnu.org>
5273
5274 * eshell/em-hist.el (eshell-hist-initialize):
5275 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5276 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5277
9505c3c7
SM
52782011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5281
1bbe96b2 52822011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5283
a1beca85
SM
5284 * progmodes/verilog-mode.el (verilog-pretty-expr):
5285 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5286 verilog, such as += *= and the like.
5287 (verilog-assignment-operator-re): Regular expression to find the
5288 assigment operator in a verilog assignment.
5289 (verilog-assignment-operation-re): Regular expression to find an
5290 assignment statement for pretty-expr.
5291 (verilog-in-attribute-p): Query returns true if point is in an
5292 attribute context; used to skip these for expression line up from
5293 pretty-expr.
5294 (verilog-in-parameter-p): Query returns true if point is in an
5295 parameter definition context; used to skip these for expression
5296 line up from pretty-expr.
5297 (verilog-in-parenthesis-p): Query returns true if point is in a
5298 parenthetical expression, specifically ( ) but not [ ] or { };
5299 used by pretty-expr.
5300 (verilog-just-one-space): If there is no space, don't add one.
5301 (verilog-get-lineup-indent-2): Specifically skip just attribute
5302 contexts for expression lineup, rather than skipping all
5303 parenthetical expressions.
5304 (verilog-calculate-indent): Fix comment, and fix indent.
5305 (verilog-do-indent): Indent declarations in lists (suggested by
5306 Joachim Lechner).
5307 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5308 skeleton items.
5309 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5310 by Alain Mellan).
5311
1bbe96b2 53122011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5313
5314 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5315 parameters with embedded comments. Reported by Ray Stevens.
5316 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5317 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5318 Reported by Tim Holt.
5319 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5320 instantiated by upper module causing wrong expansion until AUTOed a
5321 second time. Reported by K C Buckenmaier.
5322 (verilog-diff-auto): Fix showing .* as a difference when
5323 `verilog-auto-star-save' off. Reported by Dan Dever.
5324 (verilog-auto-reset, verilog-read-always-signals)
5325 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5326 temporary signals in reset list if
5327 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5328 style to each signal's assignment type, bug381.
5329 Reported by Thomas Esposito.
6288f0ca
WS
5330 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5331 (verilog-uvm-statement-re): Support UVM indentation and
5332 highlighting, with old OVM keywords only.
a1beca85 5333 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5334 Support AUTOTIEOFF creating non-wire data types.
5335 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5336 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5337 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5338 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5339 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5340 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5341 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5342 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5343 non-numeric vector width. Reported by Alex Reed.
5344 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5345 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5346 (verilog-auto-delete-trailing-whitespace):
5347 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5348 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5349 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5350 Fix verilog-scan-cache corruption when running user AUTO expansion
5351 hooks that call indentation routines.
5352 (verilog-simplify-range-expression): Fix typo ignoring lower case
5353 identifiers.
5354 (verilog-delete-auto): Fix delete-autos to also remove user created
5355 automatics, as long as they start with AUTO.
5356 (verilog-batch-diff-auto, verilog-diff-auto)
5357 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5358 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5359 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5360 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5361 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5362 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5363 is disabled and its cache will get corrupt, causing AUTOS not to
5364 expand. Instead use only -quick functions.
5365 (verilog-scan-region): Fix scanning over escaped quotes.
5366 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5367 (verilog-re-search-backward-quick)
5368 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5369 related functions now ignore strings, to fix misparsing of strings
5370 with magic comments embedded in them.
a1beca85
SM
5371 (verilog-read-auto-template):
5372 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5373 Reported by Brad Dobbie.
5374 (verilog-read-auto-template):
5375 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5376 Reported by Brad Dobbie.
6288f0ca
WS
5377 (verilog-auto-inst, verilog-auto-inst-param)
5378 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5379 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5380 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5381 debugging templates without merge conflicts, bug357.
5382 Reported by Brad Dobbie.
5383 (verilog-read-auto-template):
5384 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5385 Reported by Brad Dobbie.
5386 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5387 abbrevs so user won't be asked to save.
5388 (verilog-read-auto-lisp-present): Fix to start at beginning of
5389 buffer in case called outside of verilog-auto.
5390 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5391 to "X-2". Reported by Matthew Myers.
5392 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5393 all inputs from module templates. Reported by Leith Johnson.
5394 (verilog-module-inside-filename-p): Fix locating programs as with
5395 modules.
5396 (verilog-auto-inst-port): Fix vl-width expressions when using
5397 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5398 (verilog-decls-get-regs, verilog-decls-get-signals,
5399 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5400 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5401 verilog-read-decls): Combine reg and wire structures into one var
5402 structure to represent SystemVerilog concepts.
5403 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5404 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5405 (verilog-auto-wire-type, verilog-insert-definition):
5406 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5407 SystemVerilog "logic" keyword instead of "wire"/"reg".
5408 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5409 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5410 ifdef or generate if so there's not a driver conflict).
5411 Reported by Matthew Myers.
5412 (verilog-auto-declare-nettype, verilog-insert-definition):
5413 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5414 `default_nettype none. Reported by Julian Gorfajn.
5415 (verilog-read-always-signals-recurse, verilog-read-decls)
5416 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5417 malformed end statement, bug325. Reported by Joshua Wise and
5418 Andrew Drake.
5419 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5420 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5421 when expanding .* in interfaces, bug320.
5422 Reported by Pierre-David Pfister.
6288f0ca 5423 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5424 name and open parenthesis, bug317.
5425 Reported by Pierre-David Pfister.
6288f0ca
WS
5426 (verilog-simplify-range-expression): Fix simplification of
5427 multiplications inside AUTOWIRE connections, bug303.
5428 (verilog-auto-inst-port): Support parameter expansion in
5429 multidimensional arrays.
5430 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5431 after "assert property". Reported by Julian Gorfajn.
5432 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5433 with multiplication, bug303.
5434 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5435 Reported by Jan Frode Lonnum.
5436
1bbe96b2
GM
54372011-11-30 Juanma Barranquero <lekktu@gmail.com>
5438
5439 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5440 (hfy-shell-file-name, hfy-shell):
5441 * international/fontset.el (x-decompose-font-name): Fix typos.
5442
54432011-11-29 Ken Brown <kbrown@cornell.edu>
5444
5445 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5446 (gdb-version): Remove defvar.
5447 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5448 (gdb-gud-context-command, gdb-non-stop-handler)
5449 (gdb-current-context-command, gdb-stopped): Use it.
5450 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5451 (gdb-non-stop-handler): Don't enable pretty-printing here.
5452 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5453 non-stop mode. Use the following.
5454 (gdb-check-target-async): New defun.
5455 (gud-watch, gdb-stopped): Fix whitespace.
5456 (gdb-get-source-file): Don't try to display the source file if
5457 `gdb-main-file' is nil.
5458
54592011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * align.el: Try to generate fewer markers (bug#10047).
5462 (align--set-marker): New macro.
5463 (align-region): Use it.
5464
c935221f
SM
54652011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5468
e70b5064
CY
54692011-11-29 Chong Yidong <cyd@gnu.org>
5470
5471 * indent.el (indent-for-tab-command, indent-according-to-mode):
5472 Doc fix.
5473 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5474
f3af92b7
MA
54752011-11-29 Michael Albinus <michael.albinus@gmx.de>
5476
5477 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5478 aware of remote file names. (Bug#10124)
5479
ed472be9
CY
54802011-11-29 Chong Yidong <cyd@gnu.org>
5481
5482 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5483
24510c22
SM
54842011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * files.el (find-file): Don't use force-same-window (bug#10144).
5487 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5488 use pop-to-buffer if the selected window can't be used.
5489 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5490
c60c3703
EZ
54912011-11-28 Eli Zaretskii <eliz@gnu.org>
5492
5493 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5494 special-mode-map.
5495
e95def75
CY
54962011-11-28 Chong Yidong <cyd@gnu.org>
5497
5498 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5499
c3f1c606
NR
55002011-11-27 Nick Roberts <nickrob@snap.net.nz>
5501
5502 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5503 gdb-get-source-file-list on gdb-create-source-file-list.
5504
00db469c
EZ
55052011-11-26 Eli Zaretskii <eliz@gnu.org>
5506
5507 * whitespace.el (whitespace-newline): Use a different foreground
5508 color for 16-color light-background displays.
5509
4ad3bc2a
CY
55102011-11-24 Chong Yidong <cyd@gnu.org>
5511
5512 * window.el (display-buffer--special-action): Doc fix.
5513
e9fce1ac
JB
55142011-11-25 Juanma Barranquero <lekktu@gmail.com>
5515
5516 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5517 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5518 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5519 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5520 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5521 (avl-tree-stack-first):
5522 * emacs-lisp/cconv.el (cconv--analyse-use):
5523 * net/gnutls.el (gnutls-negotiate): Fix typos.
5524
cb825e5d
GM
55252011-11-24 Glenn Morris <rgm@gnu.org>
5526
3adbe224
GM
5527 * lpr.el (lpr-windows-system, lpr-lp-system):
5528 * mail/binhex.el (binhex-begin-line):
5529 * progmodes/grep.el (grep-history, grep-find-history):
5530 * textmodes/flyspell.el:
5531 * vc/pcvs-defs.el (cvs-global-menu):
5532 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5533 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5534 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5535
321decc8
GM
5536 * net/tls.el: Fix case of "GnuTLS".
5537
420b63ad
GM
5538 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5539
cb825e5d
GM
5540 * version.el (emacs-build-system): Give it a doc-string.
5541
a0649f08
JL
55422011-11-24 Juri Linkov <juri@jurta.org>
5543
5544 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5545
c0bc0fd4
GM
55462011-11-24 Glenn Morris <rgm@gnu.org>
5547
5548 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5549 if called on a non-mime message just toggle the headers. (Bug#8006)
5550
20db1522
JB
55512011-11-24 Juanma Barranquero <lekktu@gmail.com>
5552
5553 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5554 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5555 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5556 (allout-rebullet-heading, allout-open-sibtopic)
5557 (allout-toggle-current-subtree-encryption)
5558 (allout-toggle-subtree-encryption, allout-encrypt-string)
5559 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5560 (allout-distinctive-bullets-string, allout-auto-activation):
5561 * window.el (window-normalize-buffer-to-display):
5562 * progmodes/verilog-mode.el (verilog-batch-indent):
5563 * textmodes/bibtex.el (bibtex-field-braces-opt)
5564 (bibtex-field-strings-opt):
5565 * vc/cvs-status.el (cvs-tree-merge):
5566 Fix typos.
5567
7262a87c
MA
55682011-11-23 Michael Albinus <michael.albinus@gmx.de>
5569
5570 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5571 `non-essential' to t, in order to avoid remote connections.
5572
283430a1
EZ
55732011-11-23 Eli Zaretskii <eliz@gnu.org>
5574
a1beca85
SM
5575 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5576 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5577 case-insensitively.
5578
d2992a38
ML
55792011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5580
5581 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5582
50419064
GM
55832011-11-23 Glenn Morris <rgm@gnu.org>
5584
da94eca1
GM
5585 * paths.el (rmail-file-name): Reformat the doc-string so that it
5586 is picked up.
5587
9aac4de2
GM
5588 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5589 (rmail-auto-file): Ignore case in the "special" field names,
5590 as mail-fetch-field does for all others.
5591
8038d2d2
GM
5592 * mail/rmail.el (rmail-forward):
5593 * mail/rmailkwd.el (rmail-set-label):
5594 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5595 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5596
f3fe222a
GM
5597 * mail/rmail.el (rmail-current-message): Doc fix.
5598
50419064
GM
5599 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5600
28109f49
SM
56012011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5604
394c65f1
GM
56052011-11-22 Glenn Morris <rgm@gnu.org>
5606
5607 * mail/rmailmm.el (test-rmail-mime-handler)
5608 (test-rmail-mime-bulk-handler)
5609 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5610
f2a0aa3a
JL
56112011-11-21 Juri Linkov <juri@jurta.org>
5612
1154d12e
JB
5613 * calc/calc.el (calc-read-key-sequence):
5614 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5615
9c34a344
LMI
56162011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5617
5618 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5619 Tell the caller that the next line needs recomputation, even
5620 though it doesn't start a sexp (bug#10094).
5621
f04a3be9
SM
56222011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5625
7978747f
SM
56262011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5627
f04a3be9
SM
5628 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5629 Use force-same-window.
7978747f 5630
fe7a3057
JB
56312011-11-20 Juanma Barranquero <lekktu@gmail.com>
5632
5633 * descr-text.el (describe-char-unicode-data):
5634 * json.el (json-string-escape):
5635 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5636 (Footnote-unicode, Footnote-style-p):
5637 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5638
24901d61
CY
56392011-11-20 Chong Yidong <cyd@gnu.org>
5640
5641 * window.el (replace-buffer-in-windows): Restore interactive spec.
5642
bac7ff22
SM
56432011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5644
24f3d7b9
SM
5645 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5646
bac7ff22
SM
5647 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5648 (byte-compile-global-not-obsolete-vars): New var.
5649 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5650 Use it.
5651 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5652
cd1181db
JB
56532011-11-20 Juanma Barranquero <lekktu@gmail.com>
5654
5655 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5656 * progmodes/pascal.el (electric-pascal-equal):
5657 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5658 * xml.el (xml-substitute-special): Fix typos.
5659
7fb18e9e
GM
56602011-11-20 Glenn Morris <rgm@gnu.org>
5661
5662 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5663 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5664 Doc fixes.
5665 (rmail-decode-mime-charset): Mark as obsolete.
5666
5667 * mail/rmailsum.el (rmail-message-regexp-p-1):
5668 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5669 Before using mime functions, check they are set. (Bug#10077)
5670
d5a6b3ba
JL
56712011-11-19 Juri Linkov <juri@jurta.org>
5672
5673 * info.el (Info-finder-find-node): Use `package--builtins' instead
5674 of `package-alist'. Use node names formed by the pattern "Keyword "
5675 and the keyword name.
5676
e981b61f
AS
56772011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5678
1d00653d 5679 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5680
3ffbc301
JL
56812011-11-19 Juri Linkov <juri@jurta.org>
5682
5683 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5684 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5685 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5686 `old-history', `old-history-forward'. Add let-binding
5687 `window-selected'. Remove calls to `kill-buffer',
5688 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5689 before calling `Info-find-node', so `Info-find-node-2' will reread
5690 the Info file. Restore window positions only when `window-selected'
5691 is non-nil.
5692
30c62133
JL
56932011-11-19 Juri Linkov <juri@jurta.org>
5694
5695 * isearch.el (isearch-lazy-highlight-new-loop):
5696 Remove condition `(not isearch-error)'. (Bug#9918)
5697
5698 * misearch.el (multi-isearch-search-fun): Add condition
5699 `(not bound)' to ignore lazy-highlighting search.
5700 Add the search-failed message "end of multi" when the end of
5701 multi-sequence is reached. Uncapitalize the search-failed
5702 message "Repeat for next buffer".
5703
5704 * info.el (Info-search): Add the search-failed message
5705 "end of the manual" when the end of the manual is reached
5706 in Isearch mode.
5707
645ca9cf
JL
57082011-11-19 Juri Linkov <juri@jurta.org>
5709
5710 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5711 Use non-destructive `remove' instead of `delete' because
5712 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5713 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5714
df754f66
JL
57152011-11-19 Juri Linkov <juri@jurta.org>
5716
5717 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5718 to nil instead of binding `search-ring' and `regexp-search-ring'.
5719 (Bug#9185)
5720
0e23d96a
EZ
57212011-11-19 Eli Zaretskii <eliz@gnu.org>
5722
5723 * simple.el (line-move): Force movement by logical lines for any
5724 hscrolled window, not only when auto-hscroll-mode is on.
5725 (line-move-visual): Update doc string to that effect. (Bug#10076)
5726
8a6ccb66
AS
57272011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5728
5729 * language/european.el (macintosh): Define as alias for mac-roman.
5730
49ae5b39
EZ
57312011-11-19 Eli Zaretskii <eliz@gnu.org>
5732
5733 * mail/rmailmm.el (rmail-mime-display-header)
5734 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5735 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5736 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5737 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5738 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5739 of a raw aref.
5740 (rmail-mime-entity-segment): To get past the tagline, move forward
5741 2 more lines, to account for the 2 empty lines that precede and
5742 follow the line with the buttons.
5743 (rmail-mime-update-tagline): Move one more line, to get past the
5744 empty line that follows the buttons in the tagline. (Bug#9520)
5745
c56cad4a
MR
57462011-11-19 Martin Rudalics <rudalics@gmx.at>
5747
5748 * window.el (window-max-delta-1, window-min-delta-1)
5749 (window-min-size-1, window-state-get-1, window-state-put-1)
5750 (window-state-put-2): Use "window--" prefix.
5751
cbe71af3
SM
57522011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5753
2ad52c60
SM
5754 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5755 (smie-warning-count): New var.
5756 (smie-set-prec2tab): Use it.
5757 (smie-bnf->prec2): Improve warnings. Add docstring.
5758 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5759 (smie-bnf--set-class): New function.
5760 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5761 corner case.
5762
6944dbc1
SM
5763 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5764 (compilation-error-properties, compilation-move-to-column):
5765 Handle compilation-first-column while in the target buffer.
5766
c400c4d7
SM
5767 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5768 Don't hardcode point-min==1.
5769
6dbe3e96
SM
5770 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5771 (eshell-rewrite-for-command): Remove workaround.
5772 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5773 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5774 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5775
cbe71af3
SM
5776 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5777
a8e1496d
GM
57782011-11-17 Glenn Morris <rgm@gnu.org>
5779
5780 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5781 Ignore buffer-local generated-autoload-file if it is the same
5782 as the global value. (Bug#10049)
5783
df85d315
JB
57842011-11-17 Juanma Barranquero <lekktu@gmail.com>
5785
5786 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5787 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5788 (reftex-toc-previous-heading, reftex-toc-max-level)
5789 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5790 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5791 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5792 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5793 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5794 (reftex-toc-rename-label, reftex-toc-visit-location)
5795 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5796 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5797 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5798 leaving "*toc*" only for references to the buffer.
5799
a0c2d0ae
MR
58002011-11-17 Martin Rudalics <rudalics@gmx.at>
5801
5802 * window.el (window-resize, delete-window, split-window):
5803 Replace window-splits by window-combination-resize.
1d00653d 5804 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5805
35c0bac8
GM
58062011-11-17 Glenn Morris <rgm@gnu.org>
5807
5808 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5809 Make bash entry derive from sh entry, not shell entry.
5810
d0c8fc8a
MA
58112011-11-16 Michael Albinus <michael.albinus@gmx.de>
5812
d0c8fc8a
MA
5813 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5814 properties of linked files. (Bug#9879)
5815
7262a87c
MA
5816 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5817 local file name.
5818
7877f373
JB
58192011-11-16 Juanma Barranquero <lekktu@gmail.com>
5820
5821 * menu-bar.el (menu-bar-file-menu):
5822 * printing.el (pr-ps-utility):
5823 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5824 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5825 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5826 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5827 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5828 (icalendar--convert-cyclic-to-ical)
5829 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5830 (icalendar--convert-ical-to-diary)
5831 (icalendar--convert-recurring-to-diary)
5832 (icalendar--convert-non-recurring-all-day-to-diary)
5833 (icalendar-import-format-sample):
5834 * progmodes/idlw-shell.el (idlwave-shell-mode):
5835 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5836 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5837 (vhdl-ps-print-init): Fix typos.
5838
10649b82
KM
58392011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5840
9d0cfcd6
GM
5841 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5842 FSF and collapse date sequence, obscure author/maintainer email address
5843 better, remove extra version line, track relocation of author's webpage.
10649b82 5844
9d0cfcd6
GM
5845 * progmodes/python.el (python-pdbtrack-input-prompt)
5846 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5847 regular python pdb prompts. Adjustments shamelessly taken exactly as
5848 suggested in EmacsWiki page (tiny change):
5849 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5850
58179cce
JB
58512011-11-16 Juanma Barranquero <lekktu@gmail.com>
5852
5853 * expand.el (expand-pos, expand-index, expand-point):
5854 Remove redundant info from docstring.
5855 (expand-add-abbrevs): Doc fix.
5856 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5857 (expand-sample-perl-mode-expand-list): Fix typos.
5858
5859 * net/dbus.el (dbus-event-member-name):
5860 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5861 * term/pc-win.el (msdos-create-frame-with-faces):
5862 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5863
b6f67890
MR
58642011-11-16 Martin Rudalics <rudalics@gmx.at>
5865
5866 * window.el (split-window, window-state-get-1)
5867 (window-state-put-1, window-state-put-2): Rename occurrences of
5868 window-nest to window-combination-limit.
1d00653d 5869 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5870
ce7ddba0
CY
58712011-11-16 Chong Yidong <cyd@gnu.org>
5872
5873 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5874 regexp (Bug#10033).
5875
3ae704f4
SM
58762011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5879 `completing-read' will remove *Completions* and will preserve
5880 current-buffer for us.
5881 (tmm-add-prompt): Users of *Completions* will always (re)set its
5882 major mode.
5883 (tmm-old-comp-map): Remove.
5884
6ad1cdde
GM
58852011-11-16 Glenn Morris <rgm@gnu.org>
5886
5887 * mail/rmailedit.el: Require rmailmm when compiling.
5888 (rmail-old-mime-state): New declaration.
5889 (rmail-edit-current-message): If editing a mime message,
5890 edit the "raw" message from the mbox buffer.
5891 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5892
d20faa20
GM
58932011-11-15 Glenn Morris <rgm@gnu.org>
5894
5895 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5896 which wasn't being used. Add optional arg to force given state.
5897 (rmail-mime): Add optional arg to force given state.
5898
c7015153
JB
58992011-11-15 Juanma Barranquero <lekktu@gmail.com>
5900
5901 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5902 * frame.el (display-mm-dimensions-alist):
5903 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5904 (outline-move-subtree-down):
5905 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5906 (newsticker--treeview-do-get-node):
5907 * net/quickurl.el (quickurl-list-buffer-name):
5908 * progmodes/dcl-mode.el (dcl-mode):
5909 * progmodes/gdb-mi.el (gdb-mapcar*):
5910 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5911
45261b50
GM
59122011-11-15 Glenn Morris <rgm@gnu.org>
5913
5914 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5915 in a boolean sense, so just make it a boolean, and fix the doc.
5916 (rmail-show-mime-function, rmail-mime-feature)
5917 (rmail-require-mime-maybe): Doc fixes.
5918 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5919
5920 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5921
0d26e0b6
JB
59222011-11-15 Juanma Barranquero <lekktu@gmail.com>
5923
5924 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5925 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5926 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5927 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5928
447f30f6
GM
59292011-11-15 Glenn Morris <rgm@gnu.org>
5930
672b871d
GM
5931 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5932 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5933 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5934 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5935 (rmail-mime, rmail-show-mime): Doc fixes.
5936
f6aa5bb1
GM
5937 * term/ns-win.el (mode-line-frame-identification):
5938 Leave it alone. (Bug#10051)
5939
947cd66b
GM
5940 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5941
447f30f6
GM
5942 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5943 Handle empty buffers. (Bug#9978)
5944
0b381c7e
JB
59452011-11-14 Juanma Barranquero <lekktu@gmail.com>
5946
5947 * international/mule.el (define-charset):
5948 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5949 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5950 * progmodes/verilog-mode.el (verilog-backward-token):
5951 * textmodes/ispell.el (lookup-words):
5952 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5953
71e027ac
GM
59542011-11-14 Glenn Morris <rgm@gnu.org>
5955
56632ce4
GM
5956 * progmodes/executable.el
5957 (executable-make-buffer-file-executable-if-script-p):
5958 Handle file-modes returning nil.
5959
40500957
GM
5960 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5961 message - not necessary, and causes problems. (Bug#9831)
5962
071c2340
GM
5963 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5964
d3cfca60
GM
5965 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5966
71e027ac
GM
5967 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5968 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5969 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5970
89d61221
MR
59712011-11-12 Martin Rudalics <rudalics@gmx.at>
5972
5973 * window.el (window-resize, delete-window): Use window-splits
5974 variable instead of function.
5975 (window-state-get-1, window-state-put-2, window-state-put):
5976 Don't deal with windows' splits status.
5977
98282f6f
GM
59782011-11-12 Glenn Morris <rgm@gnu.org>
5979
5980 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5981 (apropos-documentation): Doc fixes.
5982
40a8bdf6
JB
59832011-11-11 Juanma Barranquero <lekktu@gmail.com>
5984
5985 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5986 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5987
65bd19ff
SM
59882011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * electric.el (electric-indent-post-self-insert-function): Make it
5991 possible for a char to only indent in some circumstances.
5992 (electric-indent-mode): Simplify.
5993
54f9154c
MR
59942011-11-11 Martin Rudalics <rudalics@gmx.at>
5995
5996 * window.el (windows-with-parameter): Remove unused function.
5997 (windows-at-side): Rename to window-at-side-list.
5998 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5999 (window-side-check, window-size-ignore, window-size-fixed-1)
6000 (window-in-direction-2): Prefix with "window--".
6001 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6002
68cbc58b
GM
60032011-11-11 Glenn Morris <rgm@gnu.org>
6004
6005 * subr.el (eval-after-load): If FILE is already loaded,
6006 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6007
b2621720
GM
60082011-11-10 Glenn Morris <rgm@gnu.org>
6009
9a4de110
GM
6010 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6011 Call svn via vc-svn-command rather than vc-do-command.
6012 (vc-svn-command): Add --non-interactive. (Bug#9993)
6013 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6014
b2621720
GM
6015 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6016 Add toggle-read-only. (Bug#7292)
6017 * files.el (toggle-read-only): Mention that it should only
6018 be used interactively. (Bug#10006)
6019
1dce7193
SM
60202011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6021
d9ac1a1e
SM
6022 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6023 Adjust regexp for OCaml warnings.
6024
0c325082
SM
6025 * electric.el (electric-pair-post-self-insert-function): Let user
6026 turn it off buffer-locally (bug#9932).
6027
90132c14
SM
6028 * progmodes/python.el (python-beginning-of-statement):
6029 Rewrite (bug#2703).
6030
1dce7193
SM
6031 * progmodes/compile.el: Better handle TABs (bug#9749).
6032 (compilation-internal-error-properties)
6033 (compilation-next-error-function): Obey the target buffer's
6034 compilation-error-screen-columns.
6035
c4e7c63a
JB
60362011-11-09 Juanma Barranquero <lekktu@gmail.com>
6037
6038 * progmodes/meta-mode.el: Remove obsolete comments.
6039 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6040 Fix typos in docstrings.
6041
2cffd681
MR
60422011-11-09 Martin Rudalics <rudalics@gmx.at>
6043
6044 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6045 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6046 (window--resizable): New function. Make all callers of
6047 window-resizable call window--resizable instead.
6048 (window-resizable): Rewrite in terms of window--resizable.
6049
0edcba87
GM
60502011-11-08 Glenn Morris <rgm@gnu.org>
6051
6052 * progmodes/delphi.el (delphi-mode-syntax-table):
6053 Let define-derived-mode define a proper syntax table. (Bug#9994)
6054
4b0d61e3
SM
60552011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * window.el: Stay away from defsubst.
6058 (window-list-no-nils): Remove.
6059 (window-state-get-1, window-state-get): Use backquote instead.
6060
cd394be1 60612011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6062
4b0d61e3 6063 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6064 Fix incorrect use of default argument in `completing-read'.
6065
e1c2c6f2
MR
60662011-11-08 Martin Rudalics <rudalics@gmx.at>
6067
6068 * window.el (display-buffer-function, special-display-function):
6069 Mention display-buffer-record-window but do not mention
6070 help-setup parameter in doc-strings.
b3f4a882 6071 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6072
105216ed
CY
60732011-11-08 Chong Yidong <cyd@gnu.org>
6074
6075 * window.el (window-total-height, window-total-width): Doc fix.
6076 (window-body-size): Move from C.
6077 (window-body-height, window-body-width): Move to C.
6078
0a9f9ab5
SM
60792011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6080
6081 * window.el: Make special-display like display-buffer-alist (bug#9532).
6082 (display-buffer--special-action): New function, morphed
6083 from display-buffer--special.
6084 (display-buffer): Use it to handle special-display-buffers at higher
6085 priority (just after display-buffer-alist).
6086 (display-buffer-fallback-action, display-buffer--other-frame-action)
6087 (pop-to-buffer-same-window): Remove display-buffer--special.
6088
a769dd15
GM
60892011-11-07 Glenn Morris <rgm@gnu.org>
6090
6091 * calendar/cal-menu.el (cal-menu-set-date-title):
6092 Do nothing if not in a calendar. (Bug#9976)
6093
05a61ee3
SM
60942011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * files.el (find-file): Always use selected-window.
6097
be7f5545
MR
60982011-11-07 Martin Rudalics <rudalics@gmx.at>
6099
6100 * window.el (window-combinations): Make WINDOW argument
6101 mandatory. Rewrite doc-string.
6102 (walk-window-subtree, window-atom-check, window-min-delta)
6103 (window-max-delta, window--resize-this-window)
6104 (window--resize-root-window-vertically, window-tree)
6105 (balance-windows, window-state-put): Rewrite doc-strings as to
6106 not mention the term "subwindow".
6107 (window--resize-subwindows-skip-p): Rename to
6108 window--resize-child-windows-skip-p.
6109 (window--resize-subwindows-normal): Rename to
6110 window--resize-child-windows-normal.
6111 (window--resize-subwindows): Rename to
6112 window--resize-child-windows.
6113 (window-or-subwindow-p): Rename to window--in-subtree-p.
6114
3c6702ef
ML
61152011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6116
6117 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6118 Ensure that mbox format messages end in two newlines (Bug#9974).
6119
49745b39
CY
61202011-11-06 Chong Yidong <cyd@gnu.org>
6121
6122 * window.el (window-combination-p): Function deleted; its
6123 side-effect is not used in any existing code.
6124 (window-combinations, window-combined-p): Call window-*-child
6125 directly.
6126
24300f5f
CY
61272011-11-05 Chong Yidong <cyd@gnu.org>
6128
6129 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6130 (window-size-ignore, window-state-get): Callers changed.
6131 (window-normalize-window): Rename from window-normalize-any-window.
6132 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6133 (window-normalize-live-window): Delete.
447f16b8
CY
6134 (window-combination-p, window-combined-p, window-combinations)
6135 (walk-window-subtree, window-atom-root, window-min-size)
6136 (window-sizable, window-sizable-p, window-size-fixed-p)
6137 (window-min-delta, window-max-delta, window-resizable)
6138 (window-resizable-p, window-full-height-p, window-full-width-p)
6139 (window-current-scroll-bars, window-point-1, set-window-point-1)
6140 (window-at-side-p, window-in-direction, window-resize)
6141 (adjust-window-trailing-edge, maximize-window, minimize-window)
6142 (window-deletable-p, delete-window, delete-other-windows)
6143 (record-window-buffer, unrecord-window-buffer)
6144 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6145 (quit-window, split-window, window-state-put)
6146 (set-window-text-height, fit-window-to-buffer)
6147 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6148
89bd5ee1
EZ
61492011-11-04 Eli Zaretskii <eliz@gnu.org>
6150
53479029
EZ
6151 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6152 rfc2047-decode-string.
6153 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6154 warnings.
6155
89bd5ee1
EZ
6156 * window.el (window-body-height, window-body-width): Mention in
6157 the doc string that the return values are in frame's canonical
6158 units. (Bug#9949)
6159
bd17fdee
AM
61602011-11-03 Alan Mackenzie <acm@muc.de>
6161
6162 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6163 change in cc-engine.el.
6164
acc825c5
SM
61652011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6168
1885e5b8
MR
61692011-11-02 Martin Rudalics <rudalics@gmx.at>
6170
6171 * window.el (quit-window): Call unrecord-window-buffer after
6172 showing another buffer in the window. (Bug#9937)
acc825c5 6173 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6174
ebe06da9
JB
61752011-11-02 Juanma Barranquero <lekktu@gmail.com>
6176
6177 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6178 Accept status with more than 9 shelves. (Bug#9935)
6179 Reported by Colin D Bennett <colin@gibibit.com>.
6180
4ee88440
MR
61812011-11-01 Martin Rudalics <rudalics@gmx.at>
6182
6183 * help.el (with-help-window): Don't reference
6184 temp-buffer-show-specifiers in doc-string.
6185
08e1d82c
AS
61862011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6187
6188 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6189 menu-item.
6190
84bd6e9e
VJL
61912011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6192
6193 * whitespace.el: New version 13.2.2.
6194 (whitespace-newline-mode): Disable properly. Reported by Sarah
6195 <EmacsWiki>.
6196
dba0634a
UJ
61972011-10-30 Ulf Jasper <ulf.jasper@web.de>
6198
6199 * net/newst-treeview.el: Remove "Time-stamp".
6200 (newsticker--group-manage-orphan-feeds): Do not call
6201 newsticker--treeview-tree-update.
db22a3c2
JB
6202 (newsticker-treeview-update, newsticker-treeview):
6203 Call newsticker--treeview-tree-update if necessary.
dba0634a 6204
3d8daefe
MR
62052011-10-30 Martin Rudalics <rudalics@gmx.at>
6206
6207 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6208 (window-iso-combinations): Remove "iso-" infix.
6209 Suggested by Chong Yidong.
3d8daefe
MR
6210 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6211 (window-max-delta-1, window-resize, window--resize-siblings)
6212 (window--resize-this-window, adjust-window-trailing-edge)
6213 (split-window, balance-windows-1)
6214 (shrink-window-if-larger-than-buffer):
6215 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6216 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6217
1bc4c3ae
SM
62182011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6221 in place (bug#9907).
6222 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6223 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6224 (eshell-structure-basic-command, eshell-rewrite-while-command)
6225 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6226 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6227 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6228 (eshell-do-pipelines-synchronously, eshell-eval-command):
6229 Use backquotes and prefer setq to set.
6230 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6231 (eshell-macrop): Use functionp.
c1e2f5fa 6232 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6233
30b65d9c
CY
62342011-10-30 Chong Yidong <cyd@gnu.org>
6235
6236 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6237 instead of set-mark (Bug#9810).
6238
2d197ffb
CY
62392011-10-30 Chong Yidong <cyd@gnu.org>
6240
6241 * window.el (split-window-below, split-window-right): Rename from
6242 split-window-above-each-other and split-window-side-by-side
6243 respectively. All callers changed.
6244 (split-window-sensibly, split-window-sensibly): Use them.
6245 (split-window-keep-point): Doc fix.
6246
6247 * isearch.el: Add isearch-scroll property to split-window-below
6248 and split-window-right.
6249
6250 * follow.el (follow-mode):
6251 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6252 * progmodes/ada-xref.el (ada-gdb-application):
6253 * emulation/vip.el (vip-buffer-in-two-windows):
6254 * image-dired.el (image-dired-dired-with-window-configuration):
6255 * dired-x.el (dired-do-find-marked-files):
6256 * dired.el (dired-pop-to-buffer):
6257 * bs.el (bs--show-with-configuration):
6258 * vc/emerge.el (emerge-setup-windows):
6259 * textmodes/two-column.el (2C-two-columns):
6260 * textmodes/reftex-toc.el (reftex-toc):
6261 * progmodes/gdb-mi.el (gdb-setup-windows):
6262 * progmodes/fortran.el (fortran-window-create):
6263 * net/newst-treeview.el (newsticker--treeview-window-init):
6264 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6265 * emulation/tpu-edt.el (tpu-gold-map):
6266 * emulation/crisp.el (crisp-mode-map):
6267 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6268
38bb2ca8
CY
62692011-10-29 Chong Yidong <cyd@gnu.org>
6270
aa4de341
CY
6271 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6272
e1eb5385
CY
6273 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6274
5d2ece3c
CY
6275 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6276 forged Ispell output (Bug#7904).
6277
38bb2ca8
CY
6278 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6279
d0af9f77
SM
62802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * doc-view.el: Avoid ugly errors about not finding nil.
6283 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6284 (doc-view-dvipdf-program, doc-view-unoconv-program)
6285 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6286 Avoid nil or absolute file name as default value.
6287 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6288
52bedd34
AM
62892011-10-28 Alan Mackenzie <acm@muc.de>
6290
db22a3c2 6291 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6292
7e43cfa5
AM
62932011-10-28 Alan Mackenzie <acm@muc.de>
6294
6295 Amend the handling of c-beginning/end-of-defun in nested declaration
6296 scopes.
6297
52bedd34
AM
6298 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6299 cc-langs.el. Change it to a defcustom.
7e43cfa5 6300
52bedd34
AM
6301 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6302 cc-vars.el.
7e43cfa5 6303
d0af9f77
SM
6304 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6305 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6306
52bedd34 6307 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6308 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6309 (c-widen-to-enclosing-decl-scope): New function.
6310 (c-while-widening-to-decl-block): New macro.
6311 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6312 outward for defun boundaries, and correspondingly change symbol
6313 `respect-enclosure' to `go-outward'.
6314 (c-declaration-limits): Change algorithm to report only the "innermost"
6315 defun's boundaries.
6316
1a2ce9ee
DD
63172011-10-28 Deniz Dogan <deniz@dogan.se>
6318
6319 * net/rcirc.el (rcirc-mode): Use hard newlines.
6320
bc97a826
AM
63212011-10-28 Alan Mackenzie <acm@muc.de>
6322
6323 Amend to indent and fontify macros "which include their own semicolon"
6324 correctly, using the "virtual semicolon" mechanism.
6325
52bedd34 6326 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6327
d0af9f77 6328 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6329 Recode to scan one line at a time rather than having \n and \r
58179cce 6330 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6331 (c-forward-label): Amend for virtual semicolons.
58179cce 6332 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6333
52bedd34
AM
6334 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6335 of the new C macros.
bc97a826 6336
52bedd34 6337 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6338 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6339 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6340 (c-opt-cpp-macro-define): Make into a full language variable.
6341 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6342 AWK Mode (including \n, \r) removed, no longer needed.
6343
d0af9f77
SM
6344 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6345 Invoke c-make-macro-with-semi-re.
bc97a826 6346
52bedd34
AM
6347 * progmodes/cc-vars.el (c-macro-with-semi-re):
6348 (c-macro-names-with-semicolon): New variables.
58179cce 6349 (c-make-macro-with-semi-re): New function.
bc97a826 6350
7a6c0941
SM
63512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * vc/log-edit.el: Fill empty field rather than adding new one.
6354 (log-edit-add-field): New function.
6355 (log-edit-insert-changelog): Use it.
6356
b0c4cdcf
ML
63572011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6358
6359 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6360
ee1f1da9
SM
63612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6364 (gdb--check-interpreter): New function.
6365 (gdb): Use it.
6366
51bc5f8b
GM
63672011-10-27 Glenn Morris <rgm@gnu.org>
6368
416a2c45
GM
6369 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6370 (least-positive-float, least-negative-float)
6371 (least-positive-normalized-float, least-negative-normalized-float)
6372 (float-epsilon, float-negative-epsilon):
6373 Remove unnecessary declarations.
6374
6375 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6376 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6377 (least-positive-float, least-negative-float)
6378 (least-positive-normalized-float, least-negative-normalized-float)
6379 (float-epsilon, float-negative-epsilon): Add doc-strings,
6380 based on those in cl.texi.
6381
51bc5f8b
GM
6382 * files.el (set-visited-file-name): If the major-mode changed,
6383 reload the local variables. (Bug#9796)
6384
15de15c6
CY
63852011-10-27 Chong Yidong <cyd@gnu.org>
6386
6387 * subr.el (change-major-mode-after-body-hook): New hook.
6388 (run-mode-hooks): Run it.
6389
ee1f1da9
SM
6390 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6391 Use change-major-mode-before-body-hook.
15de15c6
CY
6392
6393 * simple.el (fundamental-mode):
6394 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6395 change introducing fundamental-mode-hook.
6396
5430d399
JB
63972011-10-26 Juanma Barranquero <lekktu@gmail.com>
6398
acc825c5 6399 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6400
ad74a69e
MA
64012011-10-26 Michael Albinus <michael.albinus@gmx.de>
6402
6403 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6404 tramp.el explicitly. (Bug#7583)
ad74a69e 6405
71d4c2a5
SM
64062011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * progmodes/octave-mod.el:
6409 * progmodes/octave-inf.el: Update maintainer.
6410
b1f6fa26
CY
64112011-10-26 Chong Yidong <cyd@gnu.org>
6412
6413 * subr.el (with-wrapper-hook): Rewrite doc.
6414
3f04efd6
MA
64152011-10-25 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6418 filenames "/method:foo:". (Bug#9793)
3f04efd6 6419
410488d3
SM
64202011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6423 (bug#9865).
6424
c1ebb47e
GM
64252011-10-24 Glenn Morris <rgm@gnu.org>
6426
6427 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6428
7f5c46c7
MA
64292011-10-24 Michael Albinus <michael.albinus@gmx.de>
6430
6431 * notifications.el: Add the requirement of a running D-Bus session
6432 bus to the Commentary.
6433
db2440b6
JL
64342011-10-24 Juri Linkov <juri@jurta.org>
6435
6436 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6437 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6438 (Bug#9364)
6439
feecf435
JL
64402011-10-24 Juri Linkov <juri@jurta.org>
6441
6442 * info.el (Info-following-node-name-re): Add newline to the list
6443 of allowed characters for leading space. (Bug#9824)
6444
a3839de2
SM
64452011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6446
acc825c5
SM
6447 * progmodes/octave-inf.el (inferior-octave-mode-map):
6448 Fix C-c C-h binding.
a3839de2
SM
6449 * progmodes/octave-mod.el (octave-help): Remove.
6450
09388e76
MA
64512011-10-23 Michael Albinus <michael.albinus@gmx.de>
6452
6453 Sync with Tramp 2.2.3.
6454
6455 * net/tramp-cache.el (top): Pacify byte-compiler using
6456 `init-file-user' and `site-run-file'.
6457
6458 * net/trampver.el: Update release number.
6459
86c60681
CY
64602011-10-23 Chong Yidong <cyd@gnu.org>
6461
6462 * files.el (toggle-read-only): Remove obsolete comment about
6463 version control.
6464
6465 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6466 for toggle-read-only. Note that this hasn't called vc-next-action
6467 since 2008-05-02, though it wasn't documented at the time.
6468
a3839de2
SM
6469 * vc/ediff-init.el (ediff-toggle-read-only-function):
6470 Use toggle-read-only.
86c60681 6471
cd5495ff
AM
64722011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6473
6474 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6475 of c-parse-state.
6476
00b77525 6477 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6478 correct faulty logical expression.
cd5495ff
AM
6479 (c-parse-state-state, c-record-parse-state-state):
6480 (c-replay-parse-state-state): New defvar/defuns.
6481 (c-debug-parse-state): Use new functions.
6482
42ee24ed
MR
64832011-10-22 Martin Rudalics <rudalics@gmx.at>
6484
6485 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6486 last fix. Use window-in-direction correctly.
42ee24ed 6487
a7dee7e7
CY
64882011-10-21 Chong Yidong <cyd@gnu.org>
6489
6490 * progmodes/idlwave.el (idlwave-mode):
6491 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6492 require-final-newline; that's done in prog-mode.
6493 Suggested by Stefan Monnier.
a7dee7e7 6494
e07b9a6d
MR
64952011-10-21 Martin Rudalics <rudalics@gmx.at>
6496
6497 * mouse.el (mouse-drag-window-above)
6498 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6499 (mouse-drag-mode-line-1, mouse-drag-header-line)
6500 (mouse-drag-vertical-line-rightward-window): Remove.
6501 (mouse-drag-line): New function.
6502 (mouse-drag-mode-line, mouse-drag-header-line)
6503 (mouse-drag-vertical-line): Call mouse-drag-line.
6504 * window.el (window-at-side-p, windows-at-side): New functions.
6505
7e1361d9
UM
65062011-10-21 Ulrich Mueller <ulm@gentoo.org>
6507
6508 * tar-mode.el (tar-grind-file-mode):
6509 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6510
30fcaf3a
CY
65112011-10-21 Chong Yidong <cyd@gnu.org>
6512
6513 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6514 * progmodes/vera-mode.el (vera-mode):
6515 Use mode-require-final-newline.
30fcaf3a 6516
516eddb0
GM
65172011-10-20 Glenn Morris <rgm@gnu.org>
6518
db22a3c2 6519 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6520
10d5f513
CS
65212011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6522
6523 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6524
ac6c8639
CY
65252011-10-20 Chong Yidong <cyd@gnu.org>
6526
6527 * emulation/cua-base.el (cua-mode):
6528 * mail/footnote.el (footnote-mode):
6529 * mail/mailabbrev.el (mail-abbrevs-mode):
6530 * net/xesam.el (xesam-minor-mode):
6531 * progmodes/bug-reference.el (bug-reference-mode):
6532 * progmodes/cap-words.el (capitalized-words-mode):
6533 * progmodes/compile.el (compilation-minor-mode)
6534 (compilation-shell-minor-mode):
6535 * progmodes/gud.el (gud-tooltip-mode):
6536 * progmodes/hideif.el (hide-ifdef-mode):
6537 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6538 * progmodes/subword.el (subword-mode):
6539 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6540 * progmodes/which-func.el (which-function-mode):
6541 * term/tvi970.el (tvi970-set-keypad-mode):
6542 * term/vt100.el (vt100-wide-mode):
6543 * textmodes/flyspell.el (flyspell-mode):
6544 * textmodes/ispell.el (ispell-minor-mode):
6545 * textmodes/nroff-mode.el (nroff-electric-mode):
6546 * textmodes/paragraphs.el (use-hard-newlines):
6547 * textmodes/refill.el (refill-mode):
6548 * textmodes/reftex.el (reftex-mode):
6549 * textmodes/rst.el (rst-minor-mode):
6550 * textmodes/sgml-mode.el (html-autoview-mode)
6551 (sgml-electric-tag-pair-mode):
6552 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6553 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6554 * emulation/crisp.el (crisp-mode):
6555 * emacs-lisp/eldoc.el (eldoc-mode):
6556 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6557 minor mode behavior.
6558
aa42ab43
JL
65592011-10-19 Juri Linkov <juri@jurta.org>
6560
6561 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6562 the list of hard-coded chars with escape-glyph face.
6563
89400f1d
SM
65642011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6567
305c07f6
MA
65682011-10-19 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6571 running process.
6572
13754b54
GM
65732011-10-19 Glenn Morris <rgm@gnu.org>
6574
6575 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6576 Ignore ignored files. (Bug#9726)
6577
06e21633
CY
65782011-10-19 Chong Yidong <cyd@gnu.org>
6579
6580 Doc fix for minor modes, stating that an omitted argument enables
6581 the mode unconditionally when called from Lisp.
6582
6583 * abbrev.el (abbrev-mode):
6584 * allout.el (allout-mode):
6585 * autoinsert.el (auto-insert-mode):
6586 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6587 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6588 (global-auto-revert-mode):
6589 * battery.el (display-battery-mode):
6590 * composite.el (global-auto-composition-mode)
6591 (auto-composition-mode):
6592 * delsel.el (delete-selection-mode):
6593 * desktop.el (desktop-save-mode):
6594 * dired-x.el (dired-omit-mode):
6595 * dirtrack.el (dirtrack-mode):
6596 * doc-view.el (doc-view-minor-mode):
6597 * double.el (double-mode):
6598 * electric.el (electric-indent-mode, electric-pair-mode):
6599 * emacs-lock.el (emacs-lock-mode):
6600 * epa-hook.el (auto-encryption-mode):
6601 * follow.el (follow-mode):
6602 * font-core.el (font-lock-mode):
6603 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6604 * help.el (temp-buffer-resize-mode):
6605 * hilit-chg.el (highlight-changes-mode)
6606 (highlight-changes-visible-mode):
6607 * hi-lock.el (hi-lock-mode):
6608 * hl-line.el (hl-line-mode, global-hl-line-mode):
6609 * icomplete.el (icomplete-mode):
6610 * ido.el (ido-everywhere):
6611 * image-file.el (auto-image-file-mode):
6612 * image-mode.el (image-minor-mode):
6613 * iswitchb.el (iswitchb-mode):
6614 * jka-cmpr-hook.el (auto-compression-mode):
6615 * linum.el (linum-mode):
6616 * longlines.el (longlines-mode):
6617 * master.el (master-mode):
6618 * mb-depth.el (minibuffer-depth-indicate-mode):
6619 * menu-bar.el (menu-bar-mode):
6620 * minibuf-eldef.el (minibuffer-electric-default-mode):
6621 * mouse-sel.el (mouse-sel-mode):
6622 * msb.el (msb-mode):
6623 * mwheel.el (mouse-wheel-mode):
6624 * outline.el (outline-minor-mode):
6625 * paren.el (show-paren-mode):
6626 * recentf.el (recentf-mode):
6627 * reveal.el (reveal-mode, global-reveal-mode):
6628 * rfn-eshadow.el (file-name-shadow-mode):
6629 * ruler-mode.el (ruler-mode):
6630 * savehist.el (savehist-mode):
6631 * scroll-all.el (scroll-all-mode):
6632 * scroll-bar.el (scroll-bar-mode):
6633 * server.el (server-mode):
6634 * shell.el (shell-dirtrack-mode):
6635 * simple.el (auto-fill-mode, transient-mark-mode)
6636 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6637 (line-number-mode, column-number-mode, size-indication-mode)
6638 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6639 * strokes.el (strokes-mode):
6640 * time.el (display-time-mode):
6641 * t-mouse.el (gpm-mouse-mode):
6642 * tool-bar.el (tool-bar-mode):
6643 * tooltip.el (tooltip-mode):
6644 * type-break.el (type-break-mode-line-message-mode)
6645 (type-break-query-mode):
6646 * view.el (view-mode):
6647 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6648 (global-whitespace-mode, global-whitespace-newline-mode):
6649 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6650
a3839de2
SM
6651 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6652 Fix autogenerated docstring.
06e21633 6653
5214e501
JL
66542011-10-19 Juri Linkov <juri@jurta.org>
6655
6656 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6657 by checking environment variables "DESKTOP_SESSION" and
6658 "XDG_CURRENT_DESKTOP". (Bug#9779)
6659
195f8db9
JL
66602011-10-19 Juri Linkov <juri@jurta.org>
6661
6662 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6663 (browse-url-chromium-program, browse-url-chromium-arguments):
6664 New defcustoms.
6665 (browse-url-default-browser): Check for `browse-url-chromium' and
6666 call `browse-url-chromium-program'.
6667 (browse-url-chromium): New command. (Bug#9779)
6668
343a34ff
JB
66692011-10-18 Juanma Barranquero <lekktu@gmail.com>
6670
6671 * facemenu.el (list-colors-duplicates): On Windows, detect more
6672 duplicates by assuming that only colors matching "^System" are
6673 special "system colors". (Bug#9722)
6674
6978a151
SM
66752011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6678 to distinguish the author from the committer.
6679
6a80b297
MA
66802011-10-18 Michael Albinus <michael.albinus@gmx.de>
6681
6682 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6683
b31a5677
JK
66842011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6685
6686 * international/mule.el (sgml-html-meta-auto-coding-function):
6687 Add support for detecting encoding in HTML5 specified only as
6688 <meta charset="UTF-8">. Implementation just makes http-equiv and
6689 content-type parts from HTML4 encoding string optional. (Bug#9716)
6690
80c6d77f
GM
66912011-10-18 Glenn Morris <rgm@gnu.org>
6692
6693 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6694
08b0fee8
CY
66952011-10-18 Chong Yidong <cyd@gnu.org>
6696
6697 * faces.el (cursor): Doc fix.
6698
67e729a5
CY
66992011-10-17 Chong Yidong <cyd@gnu.org>
6700
6701 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6702
343a34ff 67032011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6704
6705 * dirtrack.el (dirtrack): Support shell buffers with path
6706 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6707
0bc06380
TZ
67082011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6709
6710 * json.el: Bump version to 1.3 and note change in History.
6711 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6712
8b79f3e0
SM
67132011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6714
5a7c536b
SM
6715 * comint.el (comint-insert-input, comint-send-input)
6716 (comint-get-old-input-default, comint-backward-matching-input)
6717 (comint-next-prompt): Use nil instead of `input' for field property of
6718 past user input (bug#114).
6719
96a8a0df
SM
6720 * minibuffer.el (completion--replace): Inherit surrounding properties
6721 (bug#114).
6722 (minibuffer-complete-and-exit): Use it.
6723
8b79f3e0
SM
6724 * comint.el (comint--table-subvert): Quote the all-completions output
6725 (bug#9160).
6726
b8f7ff0d
MR
67272011-10-17 Martin Rudalics <rudalics@gmx.at>
6728
8b79f3e0 6729 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6730
b8f7ff0d 6731 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6732 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6733 entries and separate them from frame entries.
6734
c235b555
GM
67352011-10-15 Glenn Morris <rgm@gnu.org>
6736
6737 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6738 Doc fixes.
6739
6bbfa6e1
CY
67402011-10-15 Chong Yidong <cyd@stupidchicken.com>
6741
8b79f3e0
SM
6742 * net/network-stream.el (network-stream-open-starttls):
6743 Improve detection of failure due to lack of TLS support.
ec5c990d 6744
6bbfa6e1
CY
6745 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6746 putting the input text in front and in bold.
6747
98488977
SM
67482011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6749
3d1337be
SM
6750 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6751
ee0b45e4
SM
6752 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6753 empty buffer.
6754
98488977
SM
6755 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6756 unread-command-events rather than pushing yet-another event.
6757
186f4720
EZ
67582011-10-14 Eli Zaretskii <eliz@gnu.org>
6759
6760 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6761 the explanation of the possible choices. Make the options passed
6762 to completing-read shorter.
6763
8b7a997c
AM
67642011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6765
6766 * textmodes/flyspell.el (flyspell-large-region): Make sure
6767 extended character mode is used if defined (Bug#1339).
6768
12587bbb
EZ
67692011-10-13 Eli Zaretskii <eliz@gnu.org>
6770
6771 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6772 character info for LRE, LRO, RLE, and RLO characters by appending
6773 an invisible PDF.
12587bbb 6774
bad41229
SM
67752011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6778 even in case of error; add debug spec; simplify data flow.
6779 (with-timeout-handler): Remove.
6780
28dbc92f
MA
67812011-10-12 Michael Albinus <michael.albinus@gmx.de>
6782
6783 Fix Bug#6019, Bug#9315.
6784
6785 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6786 complete `buffer-file-name', the local file name part could look
6787 remotely (for example on VMS).
6788
6789 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6790 `tramp-run-real-handler'.
6791 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6792 already quoted by '"'.
6793
6794 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6795 Let `file-name-handler-alist' be nil, the local file name part
6796 could look remotely (for example on VMS).
6797
e1b0b23a
SM
67982011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6801 from here...
6802 (flyspell-post-command-hook): ...to here.
6803
a120bde9
SM
68042011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6807 if not needed.
6808 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6809 using completion. Protect against "slow" callers.
6810 Remove the "message hack".
6811
7ce7717b
JL
68122011-10-11 Juri Linkov <juri@jurta.org>
6813
6814 * isearch.el (isearch-lazy-highlight-word): New variable.
6815 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6816 Use it. (Bug#9727)
6817
c02ee9d6
GM
68182011-10-11 Glenn Morris <rgm@gnu.org>
6819
6820 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6821 like f90-previous-statement does.
6822
93e616fd 68232011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6824
1f190e73 6825 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6826 only in interactive use, to avoid error.
6827
af7b6078
SM
68282011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * minibuffer.el (completion-file-name-table): Fix last change,
6831 i.e. ignore normal errors but not the other ones.
6832
0563dae9
MR
68332011-10-10 Martin Rudalics <rudalics@gmx.at>
6834
6835 * window.el (special-display-buffer-names)
6836 (special-display-regexps): Remove some remnants of earlier
6837 changes from doc-strings.
366ca7f3
MR
6838 (quit-windows-on): New function.
6839
6840 * vc/vc.el (vc-revert, vc-rollback):
6841 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6842 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6843 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6844
49677495
MR
68452011-10-09 Martin Rudalics <rudalics@gmx.at>
6846
6847 * window.el (frame-auto-hide-function): Add version tag.
6848 (Bug#9699)
6849
56f2d1e1
MA
68502011-10-09 Michael Albinus <michael.albinus@gmx.de>
6851
6852 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6853 condition.
6854
112a6592
LL
68552011-10-09 Leo Liu <sdl.web@gmail.com>
6856
6857 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6858 (Bug#9701)
6859
0812589b
GM
68602011-10-08 Glenn Morris <rgm@gnu.org>
6861
6862 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6863 before the first code statement zero indent. (Bug#9690)
6864
b2b0776e
CY
68652011-10-08 Chong Yidong <cyd@stupidchicken.com>
6866
6867 * simple.el (count-words-region): Always count in the region.
6868 Report the number of lines and characters too.
6869 (count-words): New command, which counts in the buffer if the
6870 region is inactive, as count-words-region used to.
6871 (count-words--message): New function. Handle plurals.
6872 (count-lines-region): Make it an alias for count-words-region.
6873
6874 * bindings.el (esc-map): Replace count-lines-region with
6875 count-words-region.
6876
c557cd6b
MR
68772011-10-08 Martin Rudalics <rudalics@gmx.at>
6878
6879 * window.el (window--delete): Delete dedicated frame
6880 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6881 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6882
61a57ef4 68832011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6884
3a7d293b 6885 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6886
c3833279
CY
68872011-10-07 Chong Yidong <cyd@stupidchicken.com>
6888
6889 * bindings.el ([M-left],[M-right]): Bind to left-word and
6890 right-word respectively.
6891
21ce8245
GM
68922011-10-07 Glenn Morris <rgm@gnu.org>
6893
6894 * cus-start.el (debug-on-quit): Fix custom type.
6895
6d823bb2
LMI
68962011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6897
0181e193
LMI
6898 * subr.el (define-key-after): Clarify that the function is not
6899 useful for non-menu keymaps.
6900
6d823bb2
LMI
6901 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6902
8e3459ce 69032011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6904
21ce8245 6905 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6906 in current minibuffer (Fix bug with recursive minibuffers).
6907
a1c2d21e
CY
69082011-10-06 Chong Yidong <cyd@stupidchicken.com>
6909
6910 * progmodes/gdb-mi.el (gdb): Doc fix.
6911
5a4cf282
MR
69122011-10-05 Martin Rudalics <rudalics@gmx.at>
6913
6914 * window.el (frame-auto-hide-function): New option replacing
6915 frame-auto-delete. Suggested by Stefan Monnier.
6916 (window--delete): Call frame-auto-hide-function instead of
6917 investigating frame-auto-delete.
c96111ea
MR
6918 (window-point-1, set-window-point-1): New functions.
6919 (window-in-direction, record-window-buffer, window-state-get-1)
6920 (display-buffer-record-window): Use window-point-1 instead of
6921 window-point.
6922 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6923
9854542e
SM
69242011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6927
8943cfb0
GM
69282011-10-05 Glenn Morris <rgm@gnu.org>
6929
6930 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6931 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6932
647ab967
LL
69332011-10-05 Leo Liu <sdl.web@gmail.com>
6934
6935 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6936 works with buffer object.
6937
3ddfbced
SM
69382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * mpc.el (mpc-tool-bar-map): Add labels.
6941
bdfa5dd2
GM
69422011-10-04 Glenn Morris <rgm@gnu.org>
6943
6944 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6945
0e2070b5
MR
69462011-10-04 Martin Rudalics <rudalics@gmx.at>
6947
6948 * window.el (window--delete): New function.
6949 (frame-auto-delete): Resuscitate option.
6950 (bury-buffer, replace-buffer-in-windows)
6951 (quit-window): Rewrite using window--delete.
6952 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6953 Pass display-buffer-mark-dedicated to window--display-buffer-2
6954 (Bug#9639).
6955
3dc61a09
SM
69562011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6957
915a9b64
SM
6958 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6959 returns a list (bug#9554). Add remote file name completion.
6960 * comint.el (comint--table-subvert): Curry and get quote&unquote
6961 functions as arguments.
6962 (comint--complete-file-name-data): Adjust call accordingly.
6963 * pcomplete.el (pcomplete--table-subvert): Remove.
6964 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6965
3dc61a09
SM
6966 * minibuffer.el (completion-table-case-fold): Use currying.
6967 (completion--styles-type, completion--cycling-threshold-type):
6968 New constants.
6969 (completion-styles, completion-category-overrides)
6970 (completion-cycle-threshold): Use them.
6971 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6972 completion-table-case-fold.
6973
8ea0a993
SB
69742011-10-03 Stephen Berman <stephen.berman@gmx.net>
6975
6976 * minibuffer.el (completion-category-overrides): Fix type of styles
6977 and add more user friendly tags (bug#9660).
6978
8c24b7f6
SM
69792011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6982 (mule-input-method-string): New widget.
6983 (default-input-method, language-info-custom-alist): Use it.
6984
428fe61a
SM
69852011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6986
32c1fffd
SM
6987 * pcomplete.el: Require comint.
6988 (pcomplete--common-suffix): Remove.
6989 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6990 (pcomplete--table-subvert): Sync with comint--table-subvert.
6991 (pcomplete--entries): Use comint-completion-file-name-table.
6992 * comint.el (comint-unquote-filename): Simplify.
6993 (comint-completion-file-name-table): New function (bug#9616).
6994 (comint--complete-file-name-data): Use it.
6995
428fe61a
SM
6996 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6997 (pcmpl-gnu-tar-buffer): Remove.
6998 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6999 around. Make sure pcomplete-suffix-list is only changed temporarily.
7000 Don't look inside the tar's file if it's too large.
428fe61a 7001
04c52e2f
CY
70022011-10-01 Chong Yidong <cyd@stupidchicken.com>
7003
ce3cefcc
CY
7004 * cus-edit.el (custom-mode-map):
7005 * epa.el (epa-key-list-mode-map):
7006 * man.el (Man-mode-map):
7007 * startup.el (splash-screen-keymap):
7008 * simple.el (special-mode-map): Use scroll-up-command and
7009 scroll-down-command.
7010
7011 * progmodes/idlw-help.el (idlwave-help-mode-map):
7012 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7013 * net/newst-plainview.el (newsticker-mode-map):
7014 * emulation/ws-mode.el (wordstar-mode-map):
7015 * emulation/vi.el (vi-com-map):
7016 * calc/calc-graph.el (calc-graph-show-dumb):
7017 * term/sun.el (terminal-init-sun):
7018 * term/ns-win.el (global-map):
7019 * progmodes/grep.el (grep-mode-map):
7020 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7021 * mail/rmail.el (rmail-mode-map):
7022 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7023
04c52e2f
CY
7024 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7025 custom-safe-themes as special.
7026
79adf8c8
JD
70272011-10-01 Julien Danjou <julien@danjou.info>
7028
7029 * notifications.el (notifications-notify): Fix docstring.
7030
63bd50d3
PS
70312011-10-01 Per Starbäck <per@starback.se>
7032
7033 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7034
199e4c7e
MR
70352011-09-30 Martin Rudalics <rudalics@gmx.at>
7036
7037 * startup.el (command-line-1): Fix last fix by inserting
7038 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7039 (Bug#9605) and (Bug#9636)
199e4c7e 7040
fe5f08dd
EZ
70412011-09-29 Eli Zaretskii <eliz@gnu.org>
7042
7043 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7044 window is hscrolled, move by logical lines. (Bug#9607)
7045 (line-move-visual): Update the doc string to the above effect.
7046
b5516bbd
MR
70472011-09-29 Martin Rudalics <rudalics@gmx.at>
7048
ccee00c0
MR
7049 * window.el (display-buffer-record-window): When WINDOW is the
7050 selected window use `point' instead of `window-point'. (Bug#9626)
7051
b5516bbd
MR
7052 * startup.el (command-line-1): Use insert-before-markers when
7053 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7054
b5516bbd
MR
7055 * help.el (help-window): Remove variable.
7056
52aa0014
GM
70572011-09-29 Glenn Morris <rgm@gnu.org>
7058
7059 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7060
df9a7357
JB
70612011-09-29 Juanma Barranquero <lekktu@gmail.com>
7062
7063 * descr-text.el (describe-char-categories): Accept category
7064 descriptions more than one line long.
7065
a8406c20
SM
70662011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7067
88d9610c
SM
7068 * simple.el (delete-trailing-whitespace): Fix last change.
7069
a5daf810
SM
7070 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7071 Don't confuse "y => 3" as the beginning of a `y' operation.
7072
a8406c20
SM
7073 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7074 object has more than 4 slots (bug#9613).
7075
a239d4e9
JB
70762011-09-28 Juanma Barranquero <lekktu@gmail.com>
7077
7078 * subr.el (with-output-to-temp-buffer):
7079 * net/quickurl.el (quickurl, quickurl-browse-url):
7080 Fix typos in docstrings.
7081
693fbdb6
EZ
70822011-09-27 Eli Zaretskii <eliz@gnu.org>
7083
7084 * minibuffer.el (completion-styles)
7085 (completion-category-overrides): Cross reference each other in doc
7086 strings.
7087
8b457e28
GM
70882011-09-27 Glenn Morris <rgm@gnu.org>
7089
7090 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7091 to split-string. (Bug#9606)
7092
85a16208
LMI
70932011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094
7095 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7096 (bug#9615).
7097
502f9ebd
CY
70982011-09-27 Chong Yidong <cyd@stupidchicken.com>
7099
7100 * emacs-lisp/package.el (list-packages): Fix echo area message.
7101
7690bdea
LL
71022011-09-27 Leo Liu <sdl.web@gmail.com>
7103
7104 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7105
e2ee6f30
MA
71062011-09-25 Michael Albinus <michael.albinus@gmx.de>
7107
7108 * net/dbus.el (dbus-unregister-object): Don't release services for
7109 registered signals. (Bug#9581)
7110
f3f98342
TZ
71112011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7112
7113 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7114 function that picks between cfengine 2 and 3 support
7115 automatically. Update docs accordingly.
7116
dd7aa8dd
KH
71172011-09-22 Kenichi Handa <handa@m17n.org>
7118
7119 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7120 ZERO.
7121 (indian-itrans-v5-table-for-tamil): New variable.
7122 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7123
3f2b07f8
KM
71242011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7125
7126 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7127 that's true if the current command involved collapsing of text.
7128 It's reset to false at the beginning of the next command.
7129 (allout-post-command-business): Move the cursor to the beginning
7130 of entry if the cursor is hidden and collapsing activity just
7131 happened.
7132
371d6a61
CY
71332011-09-24 Chong Yidong <cyd@stupidchicken.com>
7134
7135 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7136 tracking (Bug#9541).
7137
2ac2721a
UJ
71382011-09-24 Ulf Jasper <ulf.jasper@web.de>
7139
7140 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7141 (newsticker-show-news): Automatically load html rendering package
7142 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7143 because w3m-fill-column is let-bound" and the error "Symbol's value
7144 as variable is void: w3m-fill-column".
2ac2721a 7145
fac7ae53
MA
71462011-09-24 Michael Albinus <michael.albinus@gmx.de>
7147
7148 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7149 Release services only if they are defined. (Bug#9581)
7150
e08b633b
RS
71512011-09-23 Richard Stallman <rms@gnu.org>
7152
e488d29c
RS
7153 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7154 distinguish start of paragraph from start of its text.
7155
19c38752
RS
7156 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7157
e08b633b
RS
7158 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7159 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7160 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7161
0a39f27e
AS
71622011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7163
7164 * international/mule-diag.el (mule-diag): Insert a newline after
7165 each fontset description.
7166
db4e950d
SM
71672011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * simple.el (delete-trailing-whitespace):
7170 Document last change; simplify.
7171
eca3f3ea
PW
71722011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7173
d68e189a
PW
7174 * simple.el (delete-trailing-whitespace): Also delete
7175 extra newlines at the end of the buffer.
7176
eca3f3ea
PW
7177 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7178 (picture-newline): Use forward-line so as to ignore fields.
7179
01c157cc
SM
71802011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 * subr.el (with-wrapper-hook): Fix edebug spec.
7183
022de23e
LMI
71842011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7185
7186 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7187 (bug#4538).
7188
91683089
MA
71892011-09-23 Michael Albinus <michael.albinus@gmx.de>
7190
eca3f3ea
PW
7191 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7192 Fix nasty bug using wrong cached values.
91683089 7193
5bdd6fa4
AM
71942011-09-23 Alan Mackenzie <acm@muc.de>
7195
7196 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7197
97adfb97
CY
71982011-09-23 Chong Yidong <cyd@stupidchicken.com>
7199
7200 * window.el (pop-to-buffer): Ensure right window is selected if we
7201 chose another frame.
7202
d4ef2b50
EZ
72032011-09-22 Eli Zaretskii <eliz@gnu.org>
7204
7205 * simple.el (what-cursor-position): Use get-char-property-change
7206 and next-single-char-property-change, to be able to show display
7207 properties that come from overlays as well as text properties.
7208
72258fe5
CY
72092011-09-22 Chong Yidong <cyd@stupidchicken.com>
7210
7211 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7212
7213 * cmuscheme.el (run-scheme, switch-to-scheme):
7214 * cus-edit.el (customize-group, custom-buffer-create)
7215 (customize-browse):
7216 * info.el (info):
7217 * shell.el (shell):
7218 * mail/sendmail.el (mail):
7219 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7220
8f098516
RS
72212011-09-22 Richard Stallman <rms@gnu.org>
7222
7223 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7224 move back only to line beg, don't move back over blank lines.
7225
e74f1bb6
MA
72262011-09-22 Michael Albinus <michael.albinus@gmx.de>
7227
7228 * files.el (copy-directory): Set directory attributes only in case
7229 they could be retrieved from the source directory. (Bug#9565)
7230
bfeef8b6
DK
72312011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7232
7233 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7234 (hs-find-block-beginning, hs-hide-level-recursive):
7235 Ignore strings as well as comments. (Bug#9502)
7236
7e423bb8
AS
72372011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7238
7239 * progmodes/sql.el (sql-comint-postgres):
7240 Convert port number to a string. (Bug#9566)
7241
b4d72fcf
MR
72422011-09-22 Martin Rudalics <rudalics@gmx.at>
7243
7244 * window.el (quit-window): Undedicate window when switching to
7245 previous buffer. Reported by Thierry Volpiatto
7246 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7247 (special-display-popup-frame): When popping up a new frame reset
7248 its previous buffers to nil. Simplify code.
b4d72fcf 7249
a7b88dc6
MA
72502011-09-21 Michael Albinus <michael.albinus@gmx.de>
7251
7252 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7253 and process filter, as done also in `shell-command'.
7254
cf4eacfd
MR
72552011-09-21 Martin Rudalics <rudalics@gmx.at>
7256
eca3f3ea 7257 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7258 Call set-window-start with NOFORCE argument t.
7259 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7260 (quit-window): Reword doc-string. Handle new format of
7261 quit-restore parameter. Don't delete window if it has a
7262 previous buffer we can show instead of the present one.
7263 (display-buffer-record-window): Rewrite using a new format for
7264 the quit-restore window parameter
7265 (special-display-popup-frame, display-buffer-same-window)
7266 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7267 (display-buffer-pop-up-window, display-buffer-use-some-window):
7268 Adapt symbol passed to display-buffer-record-window.
7269 * help.el (help-window-setup): Handle new format of quit-restore
7270 parameter.
7271
8d28cb95
SM
72722011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7273
94ab793f
SM
7274 * faces.el (face-list): Fix docstring (bug#9564).
7275
8d28cb95
SM
7276 * window.el (display-buffer--action-function-custom-type):
7277 Don't include internal functions in the Custom interface.
7278
3820edeb
JL
72792011-09-20 Juri Linkov <juri@jurta.org>
7280
7281 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7282 (Info-forward-node, Info-backward-node, Info-next-preorder)
7283 (Info-last-preorder): Use it. (Bug#9528)
7284
5147931d
JL
72852011-09-20 Juri Linkov <juri@jurta.org>
7286
7287 * info.el (Info-last-preorder): Visit last menu item only when
7288 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7289
cf499a1a
JD
72902011-09-20 Julien Danjou <julien@danjou.info>
7291
7292 * password-cache.el (password-cache-remove): Remove entries even if the
7293 value is nil, so that password with a nil value (negative caching) is
7294 possible to invalidate.
7295
f84e2fe2
LM
72962011-09-20 Lawrence Mitchell <wence@gmx.li>
7297
7298 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7299 all whitespace around breakpoint. (Bug#9553)
7300 (f90-find-breakpoint): Only break at whitespace inside a comment.
7301
78054a46
SM
73022011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * minibuffer.el (completion-file-name-table): Keep track of errors.
7305 (completion-table-with-predicate): Handle the case where pred1 is nil.
7306 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7307
345083b2
SM
73082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7309
e24e27be
SM
7310 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7311 (debugger-return-value): Signal an error if the debugging context does
7312 not await any return value.
7313
345083b2
SM
7314 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7315 * image-mode.el (image-toggle-display-text)
7316 (image-toggle-display-image): Stay away from evil `intangible'.
7317
08d355e3
LL
73182011-09-19 Leo Liu <sdl.web@gmail.com>
7319
7320 * replace.el (occur-revert-arguments): Make it permanent-local.
7321 (occur-mode): Don't call font-lock-defontify.
7322
f01da43f
CY
73232011-09-19 Chong Yidong <cyd@stupidchicken.com>
7324
7325 * net/ldap.el (ldap-search-internal): Don't push empty search
7326 result (Bug#9508).
7327
b6072fa6
SM
73282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7331
443d6696
MA
73322011-09-19 Michael Albinus <michael.albinus@gmx.de>
7333
7334 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7335 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7336
7cc6e154
JL
73372011-09-18 Juri Linkov <juri@jurta.org>
7338
7339 * buff-menu.el (Buffer-menu-mode-map):
7340 * dired.el (dired-mode-map):
7341 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7342 (lisp-interaction-mode-map):
7343 * emacs-lisp/package.el (package-menu-mode-map):
7344 * epa.el (epa-key-list-mode-map):
7345 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7346 (menu-bar-options-menu):
7347 * outline.el (outline-mode-menu-bar-map):
7348 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7349 * vc/vc-dir.el (vc-dir-menu-map):
7350 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7351 Capitalize non-function content words in menu item strings.
7352
7353 * dired.el (dired-mode-map): Add menu item for
7354 `image-dired-dired-toggle-marked-thumbs'.
7355
80302a81
JL
73562011-09-18 Juri Linkov <juri@jurta.org>
7357
7358 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7359 to `isearch-case-fold-search' and restore its original value
7360 after the `isearch-mode' call.
7361
46c5cf66
JL
73622011-09-18 Juri Linkov <juri@jurta.org>
7363
7364 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7365 because `zgrep' returns 1 for successful matches (bug#9226).
7366
d18b513b
JL
73672011-09-18 Juri Linkov <juri@jurta.org>
7368
7369 * info.el (Info-extract-menu-node-name): Check the second match
7370 for empty string (second test-case of bug#9528).
7371 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7372 intermediate nodes to the history (first test-case of bug#9528).
7373
72753f87
JL
73742011-09-18 Juri Linkov <juri@jurta.org>
7375
7376 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7377 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7378
c9384295
JL
73792011-09-18 Juri Linkov <juri@jurta.org>
7380
1154d12e
JB
7381 * info.el (Info-file-supports-index-cookies):
7382 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7383 outputs one more line for long file names (bug#4142).
c9384295 7384
d473dce8
CY
73852011-09-18 Chong Yidong <cyd@stupidchicken.com>
7386
7387 * newcomment.el (comment-normalize-vars): If prompting for
7388 comment-start, set comment-start-skip too (Bug#8424).
7389
2176854d
JB
73902011-09-18 Johan Bockgård <bojohan@gnu.org>
7391
7392 * icomplete.el: Fix previous fix of Bug#5849.
7393 (icomplete-mode): Don't set completion-show-inline-help.
7394 (icomplete-minibuffer-setup): Set completion-show-inline-help
7395 locally during icompletion.
7396
3aace4e4
CY
73972011-09-18 Chong Yidong <cyd@stupidchicken.com>
7398
c940224f
CY
7399 * woman.el (woman2-process-escapes): Don't delete unrecognized
7400 escapes (Bug#7843).
7401
3aace4e4
CY
7402 * files.el (inhibit-first-line-modes-regexps): Add image files.
7403 (hack-local-variables-prop-line): Return nil for malformed
7404 prop-lines (Bug#9044).
7405
710dec63
MA
74062011-09-18 Michael Albinus <michael.albinus@gmx.de>
7407
7408 * net/tramp.el (top): Don't require 'shell.
7409 (tramp-methods): Fix docstring.
7410 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7411 Return complete remote file name. Handle "smb" case.
7412 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7413 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7414
7415 * net/tramp-compat.el (top): Require 'shell.
7416
7417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7418 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7419 `tramp-current-host'.
7420 (tramp-get-remote-tmpdir): Remove.
7421
7422 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7423 `tramp-tmpdir' entries.
7424 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7425 (tramp-smb-handle-file-attributes): Ignore errors.
7426 (tramp-smb-wait-for-output): Check also for process end.
7427
5d5ac8ec
LMI
74282011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7429
7430 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7431 when sending QUIT (bug#9312).
7432
8c0f49f0
CY
74332011-09-17 Chong Yidong <cyd@stupidchicken.com>
7434
7435 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7436 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7437 occur-mode-display-occurrence.
7438 (occur-edit-mode): Add usage message.
7439 (occur-cease-edit): New command.
7440 (occur-after-change-function): Use text properties to find the
7441 position of the prefix text.
7442 (occur-engine): Set stickiness of prefix text properties.
7443
8f1383f7
GM
74442011-09-17 Glenn Morris <rgm@gnu.org>
7445
7446 * progmodes/etags.el (complete-tag):
7447 Fix call to completion-in-region. (Bug#9526)
7448
744ba0e3
JL
74492011-09-17 Juri Linkov <juri@jurta.org>
7450
7451 * textmodes/ispell.el (ispell-word): Add to the error message
7452 the word, ispell program name and current dictionary (bug#9121).
7453 (ispell-tex-arg-end): Capitalize "error" in the error message.
7454
d9bbf400
AS
74552011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7456
7457 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7458 check. (Bug#4251)
7459
8da11505
JL
74602011-09-17 Juri Linkov <juri@jurta.org>
7461
7462 * window.el (window-safe-min-height, window-safe-min-width):
7463 Fix typos (followup to bug#9522).
7464
a91adc7e
SJ
74652011-09-17 Sven Joachim <svenjoac@gmx.de>
7466
7467 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7468
064f328a
EZ
74692011-09-16 Eli Zaretskii <eliz@gnu.org>
7470
7471 * simple.el (line-move): If goal-column is set, move by logical
7472 lines, not by display lines. (Bug#971)
7473 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7474 to reflect the above change.
7475
e69df516
SM
74762011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * image.el (imagemagick-register-types): Use regexp-opt.
7479
cbb0f9ab
CY
74802011-09-15 Chong Yidong <cyd@stupidchicken.com>
7481
7482 * window.el (display-buffer-base-action): Rename from
7483 display-buffer-default-action. Make default value empty.
7484 (display-buffer-overriding-action): Convert to defvar.
7485 (display-buffer-fallback-action): New var.
7486
25322144
CY
74872011-09-15 Chong Yidong <cyd@stupidchicken.com>
7488
7489 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7490 declaration.
7491 (package--add-to-archive-contents): If there is a duplicate entry
7492 with an older version, remove it.
7493 (package-menu-mark-delete, package-menu-mark-install)
7494 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7495 (package-menu-mark-obsolete-for-deletion):
7496 Use package-menu-get-status instead of a regexp search.
25322144
CY
7497 (package-menu-get-status): Use tabulated-list-entry.
7498 (package-menu-mark-upgrades): New command.
d770725a 7499 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7500 (package-menu-execute): Do installation before deletion.
7501 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7502 instead of checking major-mode.
7503 (package-menu--find-upgrades): New function.
7504
7520339c
LMI
75052011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7506
7507 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7508 passwords in the log buffer.
65a046c4
LMI
7509 (smtpmail-process-filter): Update the process marker so that the
7510 "broken by peer" status message is inserted in the right place.
7520339c 7511
d3c30954
SM
75122011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7513
3fe48822
SM
7514 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7515 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7516 bibtex-completion-at-point-function.
7517 (bibtex-completion-at-point-function): Use them.
7518
1b8b3954
SM
7519 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7520
d3c30954
SM
7521 * mpc.el (mpc-constraints-tag-lookup): New function.
7522 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7523 also to browser "album|playlist".
7524
72779976
JL
75252011-09-14 Juri Linkov <juri@jurta.org>
7526
7527 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7528 (isearch-edit-string): Use length of `isearch-string' when
7529 `isearch-fail-pos' returns nil.
7530 (isearch-message): Remove duplicate code and call
7531 `isearch-fail-pos' with arg `t'.
7532
a0bf2bcd
CY
75332011-09-14 Chong Yidong <cyd@stupidchicken.com>
7534
17bb0a2d
CY
7535 * replace.el (occur-mode-goto-occurrence): Don't force using other
7536 window (Bug#9499).
7537
a0bf2bcd
CY
7538 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7539
f678e0b6
MR
75402011-09-14 Martin Rudalics <rudalics@gmx.at>
7541
7542 * window.el (display-buffer-window): Remove.
7543 (display-buffer-record-window): Use help-setup window parameter
7544 instead of variable display-buffer-window.
7545 (display-buffer-function, special-display-buffer-names)
7546 (special-display-function): Mention help-setup parameter instead
7547 of display-buffer-window in doc-string.
d3c30954
SM
7548 * help.el (help-window-setup): New argument help-window.
7549 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7550 Reword some messages.
7551 (with-help-window): Pass window used for displaying the buffer
7552 to help-window-setup. Don't set display-buffer-window.
7553
8e39b2e8
GM
75542011-09-13 Glenn Morris <rgm@gnu.org>
7555
7556 * emacs-lisp/debug.el (debugger-make-xrefs):
7557 Preserve point. (Bug#9462)
7558
85e9c04b
CY
75592011-09-13 Chong Yidong <cyd@stupidchicken.com>
7560
7561 * window.el (window-deletable-p): Use next-frame.
7562
1b36ed6a
MR
75632011-09-13 Martin Rudalics <rudalics@gmx.at>
7564
7565 * window.el (window-auto-delete): Remove.
7566 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7567 dedication and previous buffers.
1b36ed6a
MR
7568 (switch-to-prev-buffer): Don't delete window.
7569 (delete-windows-on): Delete a window's frame if and only if the
7570 window is dedicated.
7571 (replace-buffer-in-windows): Delete buffer's window or frame if
7572 and only if window is dedicated.
7573 (quit-window): Handle quit-restore as before last change.
4d61f28d 7574 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7575
ef8ef9fb
CY
75762011-09-13 Chong Yidong <cyd@stupidchicken.com>
7577
7578 * window.el (window-deletable-p): Never delete the last frame on a
7579 given terminal.
7580
b2cba41e
GM
75812011-09-13 Glenn Morris <rgm@gnu.org>
7582
7583 * help.el (describe-key-briefly): Copy previous standard-output change.
7584
51553db6 75852011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7586
7587 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7588
b7556719
GM
75892011-09-13 Glenn Morris <rgm@gnu.org>
7590
7591 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7592 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7593
64b51947
CY
75942011-09-12 Chong Yidong <cyd@stupidchicken.com>
7595
7596 * dired-aux.el (dired-mark-read-string): Don't return default
7597 value on empty input (Bug#9361).
7598 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7599 Omit initial minibuffer contents.
7600 (dired-do-chmod): Signal an error on empty input.
7601 (dired-mark-read-string): Don't return default on empty input.
7602
7603 * files.el (file-modes-symbolic-to-number): Doc fix.
7604
393a301e
SM
76052011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * international/mule-cmds.el (ucs-completions): Remove.
7608 (read-char-by-name): Use complete-with-action instead; add metadata.
7609
fa5660f9
CY
76102011-09-11 Chong Yidong <cyd@stupidchicken.com>
7611
7612 * window.el (display-buffer--action-function-custom-type)
7613 (display-buffer--action-custom-type): New vars.
7614 (display-buffer-alist, display-buffer-default-action)
7615 (display-buffer-overriding-action): Add defcustom types.
7616
4a592f66
CY
7617 * frame.el (delete-other-frames): Doc fix (Bug#276).
7618
73d56dbd
LMI
76192011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7620
7621 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7622
37ac18a3
CY
76232011-09-11 Chong Yidong <cyd@stupidchicken.com>
7624
7625 Change modes that used same-window-* vars to use switch-to-buffer.
7626
7627 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7628 Use switch-to-buffer.
7629
7630 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7631 (customize-browse, custom-buffer-create-other-window):
7632 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7633
7634 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7635 (Info-prev, Info-up, Info-speedbar-goto-node)
7636 (info-display-manual): Use switch-to-buffer.
7637 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7638
7639 * mail/sendmail.el (mail): Use switch-to-buffer.
7640 (mail-recover): Use switch-to-buffer-other-window.
7641
7642 * cmuscheme.el (run-scheme, switch-to-scheme):
7643 * ielm.el (ielm):
7644 * shell.el (shell):
7645 * net/rlogin.el (rlogin):
7646 * net/telnet.el (telnet, rsh):
7647 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7648
10195bd6
AS
76492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7650
7651 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7652
b322f63a
LMI
76532011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7654
39d7fed6
LMI
7655 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7656 so don't mention it (bug#9301).
ba5a81f1 7657 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7658
ee0e9f11
LMI
7659 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7660 match `x', `w32' and `ns', like the manual says (bug#9029).
7661
0b1c89c1 7662 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7663 (process-kill-buffer-query-function): Mention the buffer name in
7664 the query.
0b1c89c1 7665
77549ea8
LMI
7666 * image-mode.el (image-next-line): The line parameter is mandatory
7667 (bug#9258).
7668
803ef892
LMI
7669 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7670 which can be useful (bug#9301).
7671
12980837
LMI
7672 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7673
91054f8f
LMI
7674 * subr.el (match-string): Mention that the current buffer should
7675 be the same as the search was done in (bug#9282).
7676
b322f63a
LMI
7677 * facemenu.el: Disable the remove-* commands if the mark isn't
7678 active (bug#9162).
7679
3199b96f
CY
76802011-09-10 Chong Yidong <cyd@stupidchicken.com>
7681
7682 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7683 of display-buffer.
7684 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7685
7686 * replace.el (occur-mode-goto-occurrence)
7687 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7688 and display-buffer.
7689
7690 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7691 display-buffer.
7692
7693 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7694 special-display and same-window variables.
7695 (mail-other-window): Use switch-to-buffer-other-window.
7696 (mail-other-frame): USe switch-to-buffer-other-frame.
7697
393a301e
SM
7698 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7699 Use display-buffer-other-frame.
3199b96f
CY
7700 (gdb-display-gdb-buffer): Use pop-to-buffer.
7701
7702 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7703
7704 * progmodes/python.el: Don't set same-window-buffer-names.
7705
7706 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7707
7708 * window.el (display-buffer-alist): Add *Python*.
7709
8319e0bf
CY
77102011-09-10 Chong Yidong <cyd@stupidchicken.com>
7711
7712 * window.el (display-buffer-alist): Add entry for buffers
7713 previously handled same-window-*.
7714 (display-buffer-alist, display-buffer-default-action)
7715 (display-buffer-overriding-action): Mark as risky.
7716 (display-buffer-alist): Document action function changes.
7717 (display-buffer--same-window-action)
7718 (display-buffer--other-frame-action): New variables.
7719 (switch-to-buffer, display-buffer-other-frame): Use them.
7720 (display-buffer): Rename reuse-frame entry to reusable-frames.
7721 (display-buffer-reuse-selected-window): Function deleted.
7722 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7723 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7724 (display-buffer-special): New function.
7725 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7726 display-buffer-reuse-or-pop-window. Split off special-display
7727 part into display-buffer-special.
7728 (display-buffer-use-some-window): Don't perform any special
7729 pop-up-frames handling.
7730 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7731 (display-buffer--maybe-same-window): Rename from
0d3ff375 7732 display-buffer-maybe-same-window.
8319e0bf 7733
919a69aa
CY
7734 * info.el: Don't set same-window-regexps.
7735 (info-setup): New function.
7736 (info-other-window, info): Call it.
7737
7738 * cus-edit.el: Don't set same-window-regexps.
7739 (customize-group): New argument.
7740 (customize-group-other-window): Use it.
7741 (customize-face, customize-face-other-window): Likewise.
7742 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7743
8319e0bf
CY
7744 * net/rlogin.el:
7745 * net/telnet.el:
7746 * progmodes/gud.el: Don't set same-window-regexps.
7747
7748 * cmuscheme.el:
7749 * ielm.el:
7750 * shell.el:
7751 * mail/sendmail.el:
7752 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7753
25173000
JL
77542011-09-10 Juri Linkov <juri@jurta.org>
7755
7756 * isearch.el (isearch-edit-string): Remove obsolete mention of
7757 `C-w' (`isearch-yank-word-or-char') from docstring.
7758 (isearch-query-replace): Fix typo in docstring (bug#9466).
7759
056e44ef
JL
77602011-09-10 Juri Linkov <juri@jurta.org>
7761
7762 * paren.el (show-paren-function): Don't show escaped parens.
7763 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7764
c3760c17
EZ
77652011-09-10 Eli Zaretskii <eliz@gnu.org>
7766
7767 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7768 (mm-default-file-encoding): Remove autoload forms, they are
7769 replaced with autoload cookies in mml.el and mm-encode.el.
7770 (mail-add-attachment): New command.
7771 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7772 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7773 the doc string.
7774 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7775
fece895e
RT
77762011-09-10 Reuben Thomas <rrt@sc3d.org>
7777
e69df516
SM
7778 * simple.el (count-words-region): Use buffer if there's no region
7779 (bug#9429).
fece895e 7780
5e68ce4a
JL
77812011-09-09 Juri Linkov <juri@jurta.org>
7782
7783 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7784 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7785 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7786
0a6b9622
AM
77872011-09-09 Alan Mackenzie <acm@muc.de>
7788
7789 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7790 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7791
14a29deb
EZ
77922011-09-09 Eli Zaretskii <eliz@gnu.org>
7793
7794 Fix for Savannah bug#9392.
7795 * simple.el (mail-encode-mml): New defvar.
7796
7797 * mail/rmail.el (mail-encode-mml): Add a defvar.
7798 (rmail-enable-mime-composing): Default to t.
7799 (rmail-forward): Use MIME method of forwarding only if both
7800 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7801 Set mail-encode-mml non-nil if the MIME method was used.
7802
7803 * mail/sendmail.el (mml-to-mime): Add autoload form.
7804 (mail-encode-mml): Add a defvar.
7805 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7806 to nil.
7807 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7808 message through mml-to-mime, and reset mail-encode-mml to nil.
7809
28c45130
GM
78102011-09-09 Glenn Morris <rgm@gnu.org>
7811
7812 * woman.el (woman-if-body): When processing an .el block,
7813 do not delete the next .el block as well. (Bug#9447)
69f4b618 7814 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7815
9b1c252e
MR
78162011-09-08 Martin Rudalics <rudalics@gmx.at>
7817
7818 * window.el (window-deletable-p): Make sure window is live before
7819 invoking window-prev-buffers.
7820
567457e3
LL
78212011-09-08 Leo Liu <sdl.web@gmail.com>
7822
7823 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7824
97f05794
JL
78252011-09-08 Juri Linkov <juri@jurta.org>
7826
7827 * progmodes/compile.el (compilation-environment): Make it
7828 a defcustom (bug#8340).
7829
8b0874b5
MR
78302011-09-08 Martin Rudalics <rudalics@gmx.at>
7831
7832 * window.el (frame-auto-delete): Rename to window-auto-delete.
7833 Make it control auto-deletion of windows and/or frames.
7834 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7835 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7836 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7837 Rewrite handling of case when window/frame can be deleted.
7838 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7839 argument t. (Bug#9456)
8b0874b5 7840
4feb6e73
CY
78412011-09-07 Chong Yidong <cyd@stupidchicken.com>
7842
7843 * help-mode.el (help-mode): Restore autoload.
7844
91ab9c13
JL
78452011-09-07 Juri Linkov <juri@jurta.org>
7846
7847 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7848 `compilation-environment'. Set buffer-local
7849 `compilation-environment' to `thisenv' later after (funcall mode).
7850 (Bug#8340)
7851
7852 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7853 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7854 instead of replacing its value. (Bug#8340)
7855
0527e251
JL
78562011-09-07 Juri Linkov <juri@jurta.org>
7857
7858 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7859 based on text properties put by `grep-filter' instead of matching
7860 escape sequences.
7861 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7862 to the value of `grep-error-screen-columns' (bug#9438).
7863
249f792c
JL
78642011-09-07 Juri Linkov <juri@jurta.org>
7865
7866 * simple.el (next-error-highlight, next-error-highlight-no-select):
7867 Doc fix (bug#9432).
7868
ff7271b9
OT
78692011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7870
7871 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7872 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7873
183fc730
LL
78742011-09-07 Leo Liu <sdl.web@gmail.com>
7875
7876 * net/rcirc.el (rcirc-mode): Conditionally initialize
7877 rcirc-input-ring.
7878
77694924
SM
78792011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * emacs-lisp/find-func.el (find-function-C-source): Only set
7882 find-function-C-source-directory after checking that we found a source
7883 file there (bug#9440).
7884
d809b8eb
AM
78852011-09-06 Alan Mackenzie <acm@muc.de>
7886
7887 * isearch.el (isearch-other-meta-char): Wherever a key list is
7888 unread, "unread" the prefix arg, too. This fixes bug #8901.
7889
453de99f
OG
78902011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7891
7892 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7893
90439906
JL
78942011-09-05 Juri Linkov <juri@jurta.org>
7895
7896 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7897
f62bd846
JL
78982011-09-05 Juri Linkov <juri@jurta.org>
7899
7900 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7901 keeping point where processing of grep matches begins, and
7902 continue to delete remaining escape sequences from the same point.
7903 (grep-filter): Make leading zero optional in "0?1;31m" because
7904 git-grep emits "\033[1;31m" escape sequences unlike expected
7905 "\033[01;31m" as GNU Grep does (bug#9408).
7906 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7907
045820ec
JL
79082011-09-05 Juri Linkov <juri@jurta.org>
7909
7910 * subr.el (y-or-n-p): Capitalize "yes".
7911
f5e29b9b
MA
79122011-09-04 Michael Albinus <michael.albinus@gmx.de>
7913
7914 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7915 `tramp-cache-unload-hook' where appropriate.
7916 (tramp-methods): Rename `tramp-remote-sh' to
7917 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7918 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7919
7920 * net/tramp-sh.el (top): Don't require 'shell.
7921 (tramp-methods): Add `tramp-remote-shell' and
7922 `tramp-remote-shell-args' entries.
7923 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7924 (tramp-sh-handle-shell-command): Remove.
7925 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7926 Use `tramp-remote-shell'.
7927
2784c434
CY
79282011-09-03 Chong Yidong <cyd@stupidchicken.com>
7929
393a301e 7930 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7931 (sendmail-query-once): Save directly to send-mail-function.
7932 Update message-send-mail-function too.
7933
7934 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7935
464cdf56
CS
79362011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7937
7938 * progmodes/python.el (python-mode-map): Use correct function to
7939 start python interpreter from menu-bar (as reported by Geert
7940 Kloosterman).
7941 (inferior-python-mode-map): Fix typo.
393a301e 7942 (python-shell-map): Remove.
464cdf56 7943
d37e5c87
DD
79442011-09-03 Deniz Dogan <deniz@dogan.se>
7945
7946 * net/rcirc.el (rcirc-print): Simplify code for
7947 rcirc-scroll-show-maximum-output. There is no need to walk
7948 through all windows to find the right one.
7949
f3ada0ee
CS
79502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7951
7952 * help.el (help-return-method): Doc fix.
7953
1f3c99ca
MR
79542011-09-03 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (window-deletable-p): Don't return a non-nil value
7957 when there's a buffer that was shown in the window before.
7958 (Bug#9419)
393a301e
SM
7959 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7960 Set window's previous buffers to nil.
1f3c99ca 7961
a3cf097f
EZ
79622011-09-03 Eli Zaretskii <eliz@gnu.org>
7963
7964 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7965 newline before and after the tag line, so it doesn't interfere
7966 with determining the paragraph direction of bidirectional text.
7967
3d03de90
LL
79682011-09-03 Leo Liu <sdl.web@gmail.com>
7969
7970 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7971
c3313451
CY
79722011-09-02 Chong Yidong <cyd@stupidchicken.com>
7973
393a301e 7974 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7975 (pop-to-buffer): Change interactive spec. Pass second argument
7976 directly to display-buffer.
7977 (display-buffer): Fix interactive spec. Use functionp to
7978 distinguish between a function and a list of functions.
7979
7980 * abbrev.el (edit-abbrevs):
7981 * arc-mode.el (archive-extract):
7982 * autoinsert.el (auto-insert):
7983 * bookmark.el (bookmark-bmenu-list):
7984 * files.el (find-file):
7985 * view.el (view-buffer):
7986 * progmodes/compile.el (compilation-goto-locus):
7987 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7988
89894cd8
CY
79892011-09-02 Chong Yidong <cyd@stupidchicken.com>
7990
7991 * window.el (display-buffer-alist): Doc fix.
7992 (display-buffer): Add docstring. Don't treat
7993 display-buffer-default specially.
7994 (display-buffer-reuse-selected-window)
7995 (display-buffer-same-window, display-buffer-maybe-same-window)
7996 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7997 (display-buffer-pop-up-window)
7998 (display-buffer-reuse-or-pop-window)
7999 (display-buffer-use-some-window): New functions.
8000 (display-buffer-default-action): Use them.
393a301e 8001 (display-buffer-default): Delete.
89894cd8
CY
8002 (pop-to-buffer-1): Fix choice of actions.
8003
ae0bc9fb
SM
80042011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * minibuffer.el (completion--insert-strings): Don't get confused by
8007 completion entries that end with an LF char.
8008
e9d90883
EZ
80092011-09-01 Eli Zaretskii <eliz@gnu.org>
8010
8011 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8012
437014c8
CY
80132011-09-01 Chong Yidong <cyd@stupidchicken.com>
8014
8015 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8016 (display-buffer-same-window, display-buffer-other-window):
8017 New functions.
437014c8
CY
8018 (pop-to-buffer-1): New function. Use the above.
8019 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8020 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8021
8022 * view.el (view-buffer-other-window, view-buffer-other-frame):
8023 Just use pop-to-buffer.
8024
a5e063d5
TV
80252011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8026
8027 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8028
793d32bb
WH
80292011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8030
8031 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8032
d65e4c15
RS
80332011-08-31 Richard Stallman <rms@gnu.org>
8034
8035 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8036 of the separation of rmail-view-buffer from rmail-buffer.
8037 If you say no to "replace original", the decrypt is in the
8038 view buffer. If you say yes, the decrypt goes into the
8039 rmail buffer also.
8040
f818cd2a
MR
80412011-08-31 Martin Rudalics <rudalics@gmx.at>
8042
8043 * window.el (display-buffer-window): Rewrite doc-string.
8044 (display-buffer-record-window): New function.
8045 (display-buffer-macro-specifiers)
8046 (display-buffer-even-window-sizes, display-buffer-set-height)
8047 (display-buffer-set-width, display-buffer-in-window)
8048 (display-buffer-reuse-window, display-buffer-split-specifiers)
8049 (display-buffer-side-specifiers, display-buffer-split-window-1)
8050 (display-buffer-split-window, display-buffer-split-atom-window)
8051 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8052 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8053 (display-buffer-other-window-means-other-frame)
8054 (display-buffer-normalize-special)
8055 (display-buffer-normalize-default)
8056 (display-buffer-normalize-argument)
8057 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8058 (display-buffer-normalize-specifiers, display-buffer-frame)
8059 (display-buffer-same-window, display-buffer-same-frame)
8060 (display-buffer-other-window)
8061 (display-buffer-same-frame-other-window)
8062 (display-buffer-other-frame, pop-to-buffer-same-window)
8063 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8064 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8065 (switch-to-buffer-same-frame)
8066 (switch-to-buffer-other-window-same-frame)
8067 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8068 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8069 (display-buffer-alist-set): Remove.
8070 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8071 (special-display-regexps, special-display-function):
8072 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8073 parameter.
8074 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8075 (special-display-frame-alist, special-display-popup-frame)
8076 (same-window-buffer-names, same-window-regexps, same-window-p)
8077 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8078 (split-window-preferred-function, split-height-threshold)
8079 (split-width-threshold, window-splittable-p)
8080 (split-window-sensibly, window--try-to-split-window)
8081 (window--frame-usable-p, even-window-heights)
8082 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8083 (window--display-buffer-2, display-buffer-other-frame):
8084 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8085 (display-buffer-default, display-buffer-assq-regexp): New functions.
8086 (display-buffer-alist): Rewrite doc-string.
8087 (display-buffer-default-action)
8088 (display-buffer-overriding-action): New variables.
8089 (display-buffer, switch-to-buffer): Rewrite.
8090 (pop-to-buffer): Restore Emacs 23 behavior but use
8091 window-normalize-buffer-to-display.
8092 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8093 Restore Emacs 23 behavior but use
8094 window-normalize-buffer-to-switch-to.
8095 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8096 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8097 Rewrite using Emacs 23 options.
f818cd2a 8098
5bc3b51d
MA
80992011-08-31 Michael Albinus <michael.albinus@gmx.de>
8100
8101 * net/tramp.el (tramp-root-regexp): Remove.
8102 (tramp-completion-file-name-regexp-unified)
8103 (tramp-completion-file-name-regexp-separate)
8104 (tramp-completion-file-name-regexp-url): Don't use leading volume
8105 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8106 (tramp-drop-volume-letter): Simplify definition.
8107 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8108
b1a4f8e1
SM
81092011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8110
8111 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8112 (bug#9356).
8113
5664fa7b
RT
81142011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8115
b1a4f8e1 8116 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8117
9a45d6c3
JL
81182011-08-29 Juri Linkov <juri@jurta.org>
8119
8120 * isearch.el (isearch-done): Don't display message "Mark saved"
8121 when arg `edit' is non-nil to prevent its flicker in the echo area.
8122
fb87e0fb
CY
81232011-08-28 Chong Yidong <cyd@stupidchicken.com>
8124
8125 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8126 obsolete packages for deletion.
8127
09ac1c2a
CS
81282011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8129
8130 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8131 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8132 view-mode from help-mode.
8133 (help-xref-override-view-map): Remove.
8134 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8135 view-mode is not used anymore.
8136
7a1ff57f
CY
81372011-08-28 Chong Yidong <cyd@stupidchicken.com>
8138
8139 * server.el (server-port): Doc fix.
8140
b9696605
CY
8141 * cus-theme.el (custom-theme-choose-mode): Inherit from
8142 special-mode (Bug#9124).
8143 (custom-theme-choose-mode-map): Add special-mode to parent.
8144
ef8cdf8c
AM
81452011-08-28 Alan Mackenzie <acm@muc.de>
8146
8147 * progmodes/cc-fonts.el
8148 (c-make-font-lock-BO-decl-search-function): New function.
8149 (c-basic-matchers-after - "Fontify the clauses after various
8150 keywords"): Extract the three keyword lists for the 3 erroneous
8151 constructs from the list of four, and use the new function above
8152 in place of an old one.
8153
27de4e20
DD
81542011-08-28 Deniz Dogan <deniz@dogan.se>
8155
8156 * net/rcirc.el (rcirc-insert-prev-input)
8157 (rcirc-insert-next-input): Remove unused argument.
8158
356a3681
SM
81592011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8162
3fc9b218
AM
81632011-08-27 Alan Mackenzie <acm@muc.de>
8164
8165 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8166 handle function pointer parameters properly.
8167
538a061c
MR
81682011-08-27 Martin Rudalics <rudalics@gmx.at>
8169
8170 * window.el (display-buffer-reuse-window): Fix case where
8171 selected window was reused with non-nil OTHER-WINDOW argument.
8172 (Bug#9381)
8173
35b1c40c
DD
81742011-08-27 Deniz Dogan <deniz@dogan.se>
8175
8176 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8177 oftc's NickServ messages.
8178
2f6a3e79
GM
81792011-08-27 Glenn Morris <rgm@gnu.org>
8180
8181 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8182
7254299e
CY
81832011-08-26 Chong Yidong <cyd@stupidchicken.com>
8184
8185 * emacs-lisp/package.el (package-install): Call package-initialize
8186 if called interactively.
8187
f8ccf167
LL
81882011-08-26 Leo Liu <sdl.web@gmail.com>
8189
8190 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8191
3e8cd5ce
JL
81922011-08-25 Juri Linkov <juri@jurta.org>
8193
8194 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8195 `search-whitespace-regexp' (bug#9364).
8196
93eb7113
JL
81972011-08-25 Juri Linkov <juri@jurta.org>
8198
8199 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8200 `regexp-search-ring' to their global values to protect from
8201 updating by `read-from-minibuffer' (bug#9185).
8202
f65d1611
JL
82032011-08-25 Juri Linkov <juri@jurta.org>
8204
8205 * textmodes/ispell.el (ispell-command-loop): Add newline
8206 at the end of the "Use option `i'..." line.
8207
f1cf7a31
JL
82082011-08-25 Juri Linkov <juri@jurta.org>
8209
8210 * battery.el (display-battery-mode): If `battery-status-function'
8211 or `battery-mode-line-format' is nil, display the message and set
8212 `display-battery-mode' to nil (bug#9363).
8213
0c95fcf7
EZ
82142011-08-25 Eli Zaretskii <eliz@gnu.org>
8215
8216 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8217 bidi-string-mark-left-to-right; they are unnecessary now.
8218
a2ebe600
DD
82192011-08-25 Deniz Dogan <deniz@dogan.se>
8220
8221 * net/quickurl.el: Documentation typo fixes.
8222
e4ed06f1
CY
82232011-08-25 Chong Yidong <cyd@stupidchicken.com>
8224
8225 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8226
e5f1c99e
GM
82272011-08-25 Glenn Morris <rgm@gnu.org>
8228
b2948976
GM
8229 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8230
e5f1c99e
GM
8231 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8232 (smtpmail-via-smtp): Handle nil response from smtp.
8233
f22f4808
JL
82342011-08-24 Juri Linkov <juri@jurta.org>
8235
8236 * proced.el (proced-marked): Inherit from `error' instead of
8237 `font-lock-warning-face'.
8238
8239 * ibuffer.el (ibuffer-marked-face): Change default face from
8240 `font-lock-warning-face' to `warning'.
8241 (ibuffer-deletion-face): Change default face from
8242 `font-lock-type-face' to `error'.
8243
8244 * battery.el (battery-update): Use the face `error' instead of
8245 `font-lock-warning-face' (bug#6117).
8246
6a93965e
JL
82472011-08-24 Juri Linkov <juri@jurta.org>
8248
8249 * faces.el (success): Change face color from "Green3" to
8250 "ForestGreen" on light background (bug#9353).
8251
1ed43b09
CY
82522011-08-24 Chong Yidong <cyd@stupidchicken.com>
8253
5664fa7b
RT
8254 * window.el (quit-window): Rename from quit-restore-window.
8255 Use same arglist as old quit-window.
1ed43b09
CY
8256 (frame-auto-delete): Doc fix.
8257
8258 * view.el (view-mode-exit): Use quit-window.
8259
11dcdbb2
JL
82602011-08-24 Juri Linkov <juri@jurta.org>
8261
8262 * isearch.el (isearch-ring-adjust1): Start visiting previous
8263 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8264 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8265 for empty search string (when the last search string is reused
8266 automatically) to adjust the isearch ring to the last element and
8267 prepare the correct index for further M-p commands (bug#9185).
8268
de62b4df
KH
82692011-08-24 Kenichi Handa <handa@m17n.org>
8270
8271 * international/ucs-normalize.el: If decomposition property of
8272 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8273 nil.
8274 (nfd, nfkd): Likewise.
8275
963b492b
SM
82762011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8279 from process filters aren't reliably transmitted to the surrounding
8280 accept-process-output.
8281 (mpc-proc-check): New function.
8282 (mpc-proc-sync): Use it (bug#8293)
8283
93b6b5e1
SM
82842011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8287 Add compatibility functions (bug#9313).
8288
bca633fb
EZ
82892011-08-23 Eli Zaretskii <eliz@gnu.org>
8290
b177498a
EZ
8291 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8292
6df6ae42 8293 * international/uni-bidi.el: Regenerate.
bca633fb 8294
0902a04e
KH
82952011-08-23 Kenichi Handa <handa@m17n.org>
8296
8297 * international/charprop.el:
8298 * international/uni-bidi.el:
8299 * international/uni-category.el:
8300 * international/uni-combining.el:
8301 * international/uni-comment.el:
8302 * international/uni-decimal.el:
8303 * international/uni-decomposition.el:
8304 * international/uni-digit.el:
8305 * international/uni-lowercase.el:
8306 * international/uni-mirrored.el:
8307 * international/uni-name.el:
8308 * international/uni-numeric.el:
8309 * international/uni-old-name.el:
8310 * international/uni-titlecase.el:
8311 * international/uni-uppercase.el: Regenerate.
8312
3bbf23bc
MR
83132011-08-23 Martin Rudalics <rudalics@gmx.at>
8314
8315 * help.el (help-window-setup): Fix message displayed when other
8316 window is reused. (Bug#9341)
8317
b3fd59bd
SM
83182011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8319
1802e444
SM
8320 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8321 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8322
b3fd59bd
SM
8323 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8324 Mark obsolete.
8325 * shell.el (shell-parse-pcomplete-arguments): New function.
8326 (shell-completion-vars): Use it instead (bug#9160).
8327
4eb61348
SM
83282011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8329
867cab74
SM
8330 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8331 strings and comments (bug#9333).
8332
4eb61348
SM
8333 * emacs-lisp/debug.el (debug-arglist): New function.
8334 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8335 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8336
262a1439
JL
83372011-08-22 Juri Linkov <juri@jurta.org>
8338
56ee679c
JL
8339 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8340 Revert regexp that highlights output switches to its old
8341 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8342
262a1439
JL
8343 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8344 to check for empty output (bug#9226).
8345
f13f86fb
CY
83462011-08-22 Chong Yidong <cyd@stupidchicken.com>
8347
8348 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8349 symbol-constituent as the default, as that stops font-lock from
8350 working properly (Bug#8843).
8351
c65c9622
LMI
83522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8353
8354 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8355 `coding-system-for-*' around the process open call to avoid
8356 auth-source side effects.
e7f2c178 8357 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8358 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8359 probe hangs.
c65c9622 8360
23a8a5ab
CY
83612011-08-21 Chong Yidong <cyd@stupidchicken.com>
8362
ff98b2dd
CY
8363 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8364
23a8a5ab
CY
8365 * emacs-lisp/find-func.el (find-function-noselect): New arg
8366 lisp-only.
8367
8368 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8369 signal an error for built-in functions (Bug#6664).
8370
f5e3c598
LMI
83712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8372
8373 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8374 (smtpmail-try-auth-methods): Use it.
8375
a3f2468a
CY
83762011-08-21 Chong Yidong <cyd@stupidchicken.com>
8377
2c34e8da
CY
8378 * font-lock.el (font-lock-fontify-region)
8379 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8380 (font-lock-default-unfontify-buffer)
8381 (font-lock-default-fontify-region)
8382 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8383
b3fd59bd
SM
8384 * progmodes/compile.el (compilation-error-properties):
8385 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8386 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8387 `ant' regexp.
ee31aabc 8388
a3f2468a
CY
8389 * net/browse-url.el (browse-url-firefox): Don't call
8390 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8391
8e999f70
GM
83922011-08-20 Glenn Morris <rgm@gnu.org>
8393
c21a496a
GM
8394 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8395
59ee0542
GM
8396 * tutorial.el (tutorial--default-keys): Update some default bindings.
8397
8e999f70
GM
8398 * files.el (hack-local-variables): Fully ignore case for "mode:".
8399
e3715033
AM
84002011-08-20 Alan Mackenzie <acm@muc.de>
8401
8402 Resolve invalid use of a regexp in regexp-opt.
8403
4d61f28d
JB
8404 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8405 detection for a java annotation.
e3715033 8406
4d61f28d 8407 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8408 detection for a java annotation.
8409
4d61f28d
JB
8410 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8411 handling for java.
e3715033
AM
8412 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8413
04ed2e9c
CY
84142011-08-20 Chong Yidong <cyd@stupidchicken.com>
8415
8416 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8417 (Bug#9274).
8418
826cee64
AM
84192011-08-20 Alan Mackenzie <acm@muc.de>
8420
58179cce 8421 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8422 such a construct. Mainly for when jit-lock etc. starts a chunk
8423 here.
8424
58179cce 8425 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8426 variable.
58179cce 8427 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8428 c-make-font-lock-search-function.
8429 (c-make-font-lock-search-function): Use the above function.
8430 (c-make-font-lock-context-search-function): New function.
8431 (c-cpp-matchers): Enhance the preprocessor expression case with
8432 the above function
8433 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8434 which takes an expression.
8435
8436 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8437
13009bd8
MR
84382011-08-20 Martin Rudalics <rudalics@gmx.at>
8439
8440 * window.el (display-buffer-reuse-window)
8441 (display-buffer-pop-up-window): Don't reuse or split a side
8442 window.
8443
9234ff7f
GM
84442011-08-19 Glenn Morris <rgm@gnu.org>
8445
8446 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8447 Downcase "Mode:". (Bug#9331)
9234ff7f 8448
f635daa1
CY
84492011-08-18 Chong Yidong <cyd@stupidchicken.com>
8450
8451 * international/characters.el: Add L and R categories.
8452
8453 * subr.el (bidi-string-mark-left-to-right): Rename from
8454 string-mark-left-to-right. Use category search.
8455
8456 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8457
bc987f8b
JL
84582011-08-18 Juri Linkov <juri@jurta.org>
8459
8460 * faces.el (error, warning, success): New faces with definitions
8461 copied from old default values of `font-lock-warning-face',
8462 `compilation-warning', `compilation-info' (bug#6117).
8463
8464 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8465
8466 * progmodes/compile.el (compilation-error): Inherit from `error'.
8467 (compilation-warning): Inherit from `warning'.
8468 (compilation-info): Inherit from `success'.
8469
8470 * dired.el (dired-marked): Inherit from `warning'.
8471 (dired-flagged): Inherit from `error'.
8472
57173b96
LMI
84732011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8474
3e79eb87
LMI
8475 * mail/smtpmail.el (auth-source): Require to avoid problems with
8476 binding variables (bug#9298). Also clean up some unused
8477 autoloads.
8478
b3fd59bd
SM
8479 * net/network-stream.el (network-stream-open-starttls):
8480 Support using starttls.el without using gnutls-cli.
57173b96 8481
02b404de
JL
84822011-08-17 Juri Linkov <juri@jurta.org>
8483
8484 * progmodes/grep.el (rgrep): Handle the case when
8485 `grep-find-command' is a cons cell (bug#9278).
8486
8c9177f2
MR
84872011-08-17 Martin Rudalics <rudalics@gmx.at>
8488
8489 * window.el (display-buffer-pop-up-frame): Run frame creation
8490 function with BUFFER current (as special-display-popup-frame
8491 does). Reported by Drew Adams.
8492
3644a0ab
DU
84932011-08-17 Daiki Ueno <ueno@unixuser.org>
8494
8495 * epa-mail.el: Simplify GnuPG group expansion using
8496 epg-expand-group.
8497 (epa-mail-group-alist, epa-mail-group-modtime)
8498 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8499 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8500 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8501 Remove.
8502
5e617bc2 85032011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8504
8505 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8506
9c4aeabf
AM
85072011-08-16 Alan Mackenzie <acm@muc.de>
8508
8509 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8510 Correct, to avoid the inside of macros.
8511
3a99bf64
RS
85122011-08-16 Richard Stallman <rms@gnu.org>
8513
04963aa8
RS
8514 * epa-mail.el: Handle GnuPG group definitions.
8515 (epa-mail-group-alist, epa-mail-group-modtime)
8516 (epa-mail-gnupg-conf-file): New variables.
8517 (epa-mail-parse-groups, epa-mail-sync-groups)
8518 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8519 (epa-mail-expand-recipients): New functions.
8520 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8521
177549d0
RS
8522 * mail/rmail.el (rmail-epa-decrypt): New command.
8523
fe38beef
RS
8524 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8525 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8526 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8527 (epa-decrypt-armor-in-region): Make error message clearer.
8528
934eacb9
SM
85292011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8532 and "a2b" to "ab" for `prefix'.
8533
d024fb4e
CY
85342011-08-14 Chong Yidong <cyd@stupidchicken.com>
8535
8536 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8537 filter groups.
de148fee
CY
8538 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8539 Fourquet (Bug#8804).
d024fb4e 8540
62f1ca49
JB
85412011-08-12 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * startup.el (argi): Declare as global variable (bug#9275).
8544
9ccaaa4b
CY
85452011-08-12 Chong Yidong <cyd@stupidchicken.com>
8546
8547 * subr.el (string-mark-left-to-right): Search the entire string
8548 for RTL script, not just the terminating character. Doc fix.
8549
a3dae87a
SM
85502011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8551
6cd18349
SM
8552 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8553 New function.
8554 (js--regexp-literal, js-syntax-propertize-function): Remove.
8555 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8556 (js-mode-map): Don't rebind electric keys.
8557 (js-insert-and-indent): Remove.
8558 (js-mode): Setup electric-layout and electric-indent instead.
8559
a3dae87a
SM
8560 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8561
9d5cb631
DU
85622011-08-12 Daiki Ueno <ueno@unixuser.org>
8563
8564 * epa.el (epa-progress-callback-function): Fix the logic of
8565 displaying progress.
8566 * epa-file.el (epa-file-insert-file-contents): Make progress
8567 display more user-friendly.
8568 (epa-file-write-region): Ditto.
8569
3e26a4a2
CY
85702011-08-10 Chong Yidong <cyd@stupidchicken.com>
8571
8572 * subr.el (string-mark-left-to-right): New function.
8573
8574 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8575 Use string-mark-left-to-right.
8576 (list-buffers-noselect): Caller changed.
8577
a3dae87a
SM
8578 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8579 Use string-mark-left-to-right.
3e26a4a2
CY
8580 (tabulated-list-print): Recenter after moving point.
8581
ac8cf6e6
JL
85822011-08-10 Juri Linkov <juri@jurta.org>
8583
8584 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8585 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8586 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8587
8d96c9a4
CY
85882011-08-09 Chong Yidong <cyd@stupidchicken.com>
8589
8590 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8591 (Bug#7554).
8592
7be1c708 85932011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8594
8595 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8596 character. (Bug#6594)
8597
37e11a63
CY
85982011-08-08 Chong Yidong <cyd@stupidchicken.com>
8599
839dde57
CY
8600 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8601 (image-dired--with-db-file): New macro.
8602 (image-dired-write-tags, image-dired-remove-tag)
8603 (image-dired-create-gallery-lists, image-dired-write-comments)
8604 (image-dired-get-comment, image-dired-mark-tagged-files)
8605 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8606 (image-dired-gallery-generate): Use insert-file-contents.
8607
37e11a63
CY
8608 * time.el (display-time-world-list, display-time-world-display):
8609 * time-stamp.el (time-stamp-string):
8610 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8611 set-time-zone-rule (Bug#7337).
8612
0b4946c4
DU
86132011-08-08 Daiki Ueno <ueno@unixuser.org>
8614
8615 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8616 (epg-error-to-string, epg-errors-to-string): New function.
8617 (epg-wait-for-completion): Reverse errors list.
8618 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8619 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8620 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8621 (epg-sign-keys, epg-generate-key-from-file)
8622 (epg-generate-key-from-string): Format errors by using
8623 epg-errors-to-string (bug#9255).
8624 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8625
75bfc667
JL
86262011-08-07 Juri Linkov <juri@jurta.org>
8627
8628 * faces.el (list-faces-display): Remove extra angle bracket
8629 from `help-mode-map'.
8630
8631 * info.el (Info-history-toc-nodes): Doc fix.
8632
8633 * longlines.el (longlines-mode): Doc fix.
8634
673e08bb
SM
86352011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8636
4640dd88
SM
8637 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8638 of statements and in a few more cases (bug#9183).
8639
673e08bb
SM
8640 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8641 New functions.
8642 (cl-transform-lambda): Use them (bug#9239).
8643
89b3f019
MR
86442011-08-05 Martin Rudalics <rudalics@gmx.at>
8645
8646 * window.el (display-buffer-same-window)
8647 (display-buffer-same-frame, display-buffer-other-window)
8648 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8649 (pop-to-buffer-other-window)
8650 (pop-to-buffer-same-frame-other-window)
8651 (pop-to-buffer-other-frame): Make them defuns.
8652 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8653
640c8776
SM
86542011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * subr.el (make-composed-keymap): Move from C. Change calling
8657 convention, and improve docstring to bring attention to a subtle point.
8658 * minibuffer.el (completing-read-default): Adjust accordingly.
8659
63648a95
MA
86602011-08-03 Michael Albinus <michael.albinus@gmx.de>
8661
8662 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8663 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8664
8665 * net/trampver.el: Update release number.
8666
b796c9b7
SM
86672011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8670 "in" (bug#9190).
8671
2239d7d5
LMI
86722011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8673
e07dd7c3
LMI
8674 * mail/sendmail.el (sendmail-query-once): Restore the current
8675 buffer after querying (bug#9074).
8676
0e6a2bd7
LMI
8677 * dired.el (dired-flagged): Use different faces for marked and
8678 flagged files (bug#6117).
8679
ce887515
LMI
8680 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8681 (bug#4433).
8682
92f2affc
LMI
8683 * ido.el (ido-mode): Switch off the message if called
8684 non-interactively.
8685
57d5aff0
LMI
8686 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8687 before 587, since it appears that that's more likely to work for
8688 more people.
8689
98cd6c18 8690 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8691 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8692 exist.
8693
b96dec83
LMI
8694 * info.el: Remove the `Info-beginning-of-buffer' function
8695 (bug#8325).
8696
b796c9b7
SM
8697 * net/network-stream.el (network-stream-open-starttls):
8698 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8699
d90e2ea0
MR
87002011-08-01 Martin Rudalics <rudalics@gmx.at>
8701
8702 * window.el (display-buffer-in-window): Don't set dedicated status
8703 of window here (Bug#9215).
8704 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8705 (display-buffer-pop-up-side-window)
b796c9b7 8706 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8707
cca09170
SM
87082011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8709
8710 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8711 before binding generated-autoload-file.
8712
027b979c
DD
87132011-08-01 Deniz Dogan <deniz@dogan.se>
8714
8715 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8716
3c7ee4f3
MA
87172011-07-30 Michael Albinus <michael.albinus@gmx.de>
8718
8719 Sync with Tramp 2.2.2.
8720
8721 * net/trampver.el: Update release number.
8722
2cc8e51a
JL
87232011-07-30 Juri Linkov <juri@jurta.org>
8724
8725 * dired-aux.el (dired-touch-initial): Remove function.
8726 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8727 current time, and `default' to the last modification time of the
8728 current marked file (bug#6887).
8729
a514d856
JM
87302011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8731
8732 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8733 numeric argument to read-number (bug#9163).
a514d856 8734
8a7eddd7
MA
87352011-07-27 Michael Albinus <michael.albinus@gmx.de>
8736
8737 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8738 connection process, it could be nil.
8739
1ddd96f5
LL
87402011-07-27 Leo Liu <sdl.web@gmail.com>
8741
8742 Simplify url handling in rcirc-mode.
8743
8744 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8745 (rcirc-browse-url-at-mouse): Remove.
8746 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8747
b248a85d
AM
87482011-07-26 Alan Mackenzie <acm@muc.de>
8749
8750 Fontify bitfield declarations properly.
8751
8752 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8753 (c-symbol-chars): Now exported as a lang variable.
8754 (c-not-primitive-type-keywords): New lang variable.
8755
8756 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8757 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8758 parsed as a bitfield declaration.
b248a85d 8759
b796c9b7
SM
8760 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8761 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8762 (c-punctuation-in): New function.
8763 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8764 declarations properly.
8765
68575ab0
UJ
87662011-07-26 Ulf Jasper <ulf.jasper@web.de>
8767
8768 * calendar/icalendar.el (icalendar--all-events): Take care of
8769 multiple vcalendars in a single file.
b796c9b7 8770 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8771
0f0a88b9
DD
87722011-07-25 Deniz Dogan <deniz@dogan.se>
8773
8774 * image.el (insert-image): Clarifying docstring.
8775
0b3f36df
MA
87762011-07-24 Michael Albinus <michael.albinus@gmx.de>
8777
8778 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8779 `tramp-send-command-and-check' if there is no error.
8780 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8781
a9901f61
AM
87822011-07-22 Alan Mackenzie <acm@muc.de>
8783
8784 Prevent cc-langs.elc being loaded at run time.
8785
8786 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8787 cc-langs.
8788
4d61f28d 8789 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8790 "(require 'cc-langs)". Quote a form so it will evaluate at
8791 (cc-mode's) compilation time.
8792
11d074b2
MA
87932011-07-22 Michael Albinus <michael.albinus@gmx.de>
8794
8795 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8796 loading. (Bug#9114)
8797
938b94c8
MR
87982011-07-21 Martin Rudalics <rudalics@gmx.at>
8799
8800 * window.el (display-buffer-pop-up-window)
8801 (display-buffer-pop-up-side-window)
8802 (display-buffer-in-side-window): Call display-buffer-set-height
8803 and display-buffer-set-width after setting the new window's
b796c9b7 8804 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8805
bfa4f190
SS
88062011-07-20 Sam Steingold <sds@gnu.org>
8807
8808 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8809 (etags-tags-included-tables): Call `convert-standard-filename' on
8810 the file names contained in TAGS so that windows Emacs can handle
8811 TAGS files created by cygwin ctags.
8812
8ca42262
LMI
88132011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8814
8815 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8816 which apparently didn't work.
8817
5db2afd2 88182011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8819
5db2afd2
RW
8820 * proced.el (proced-send-signal): For *Marked Processes* buffer
8821 put point at beginning of buffer.
8822
92e15d10
SB
88232011-07-19 Stephen Berman <stephen.berman@gmx.net>
8824
8825 * proced.el (proced-format): Make header lines align with the text
8826 (bug#1779).
8827
1bfd59e5
LMI
88282011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8829
8830 * view.el (view-buffer): Allow running in `special' modes if we're
8831 visiting a file (bug#8615).
8832
f5aae37c
MR
88332011-07-19 Martin Rudalics <rudalics@gmx.at>
8834
8835 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8836 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8837 New functions.
f5aae37c
MR
8838 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8839 more accurately.
8840
bf2c1571
AM
88412011-07-18 Alan Mackenzie <acm@muc.de>
8842
8843 Fontify declarators properly when, e.g., a jit-lock chunk begins
8844 inside a declaration.
8845
8846 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8847
b796c9b7
SM
8848 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8849 New function.
bf2c1571
AM
8850 (c-complex-decl-matchers): Insert reference to
8851 c-font-lock-enclosing-decls.
8852
8853 * progmodes/cc-engine.el (c-backward-single-comment):
8854 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8855 to nil around calls to (forward-comment -1).
8856
4e190b80
LMI
88572011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8858
12dc863d
LMI
8859 * image.el (put-image): Doc typo fix.
8860
a762e966
LMI
8861 * progmodes/etags.el (tags-search): Doc typo fix.
8862
4e190b80
LMI
8863 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8864 password if we get errors 550 to 554.
8865
f019fb21
LMI
88662011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8867
b796c9b7 8868 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8869
81746738
LMI
8870 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8871 indentation character (bug#6380).
8872
3ee3a1b5
LMI
8873 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8874
c82f64de
LMI
8875 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8876 to clarify what the problem is (bug#4291).
8877
f019fb21
LMI
8878 * simple.el (current-kill): Clarify what
8879 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8880 (auto-fill-mode): Document `auto-fill-function' in relation to
8881 `auto-fill-mode' (bug#2470).
f019fb21 8882
0794775d
LM
88832011-07-16 Lawrence Mitchell <wence@gmx.li>
8884
8885 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8886 method if slot is read-only (bug#9035).
8887
be39b8cc
MR
88882011-07-16 Martin Rudalics <rudalics@gmx.at>
8889
b796c9b7 8890 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8891 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8892 selected before, see discussion of (Bug#8615), (Bug#6954).
8893 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8894
6ccf7859
GM
88952011-07-15 Glenn Morris <rgm@gnu.org>
8896
8897 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8898 Respect help-form.
6ccf7859 8899
87e86684
LM
89002011-07-09 Lawrence Mitchell <wence@gmx.li>
8901
8902 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8903 (gnutls-negotiate): Use it.
8904
d6066239
LMI
89052011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8906
b796c9b7
SM
8907 * net/gnutls.el (gnutls-negotiate):
8908 Upcase `gnutls-algorithm-priority'.
d6066239 8909
bd23ebc0
GM
89102011-07-15 Glenn Morris <rgm@gnu.org>
8911
c65bca65
GM
8912 * jka-compr.el (jka-compr-verbose): Move from here...
8913 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8914 Add missing :version tag.
8915 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8916
478615cc
LMI
89172011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8918
7b41decb
LMI
8919 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8920 (gnutls-negotiate): Use it.
8921
dbc44fcd
LMI
8922 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8923
06789f97
LMI
8924 * info.el (Info-beginning-of-buffer): New command.
8925 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8926 announcing `b' as the key (bug#8325).
ab896c37 8927 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8928
c39da690
LMI
8929 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8930
3aa5f34b
LMI
8931 * international/mule-cmds.el
8932 (describe-specified-language-support): Make the error message
8933 clearer (bug#8905).
8934
4bf0979f
LMI
8935 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8936
478615cc
LMI
8937 * isearch.el (isearch-barrier): Add a doc string, since it's
8938 mentioned in a function doc string (bug#8678).
8939
75c68aa1
MR
89402011-07-15 Martin Rudalics <rudalics@gmx.at>
8941
8942 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8943 buffer argument (Bug#9083) and self-identifying label argument.
8944
a7c33da2
GM
89452011-07-15 Glenn Morris <rgm@gnu.org>
8946
8947 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8948
2f5c6024
LMI
89492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8950
8951 * man.el (Man-fontify-manpage): Fix message when formatting the
8952 man page (bug#7929).
8953
0bb23927 89542011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8955
8956 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8957 argument LRM; if non-nil, append an invisible LRM character to the
8958 buffer name.
8959 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8960 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8961 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8962 paragraph direction.
cce4b0a7 8963
621ef9ab
LMI
89642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8965
d1583c48
LMI
8966 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8967 the man page name (bug#7929).
8968
6a57fb5f
LMI
8969 * image.el (put-image): Mention the `put-image' overlay property
8970 (bug#7834).
8971
d7956b14
LMI
8972 * scroll-bar.el (set-scroll-bar-mode): Mention that
8973 `scroll-bar-mode' lists the values (bug#7772).
8974
5b2d4a66
LMI
8975 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8976 command (bug#7729).
8977
7509a874
LMI
8978 * rect.el (apply-on-rectangle): Return the point after the last
8979 operation.
8980 (string-rectangle): Go to the point after the last operation
8981 (bug#7522).
8982
4fe74b19
LMI
8983 * printing.el (pr-toggle-region): Clarify the documentation
8984 slightly (bug#7493).
8985
b796c9b7
SM
8986 * time.el (display-time-update):
8987 Allow `display-time-mail-function' to return nil (bug#7158).
8988 Fix suggested by Detlev Zundel.
ab283561 8989
fc233c9d
LMI
8990 * vc/diff.el (diff): Clarify the order the file names are read
8991 (bug#7111).
8992
43f5740b
LMI
8993 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8994 the doc string (bug#7015).
8995
f2182a76
LMI
8996 * font-lock.el (font-lock-maximum-decoration): Mention what
8997 numeric levels mean (bug#6935).
8998
621ef9ab
LMI
8999 * startup.el (initial-buffer-choice): Don't mention the `none'
9000 selection, which is against policy.
9001
adc47434
MR
90022011-07-14 Martin Rudalics <rudalics@gmx.at>
9003
b796c9b7
SM
9004 * window.el (display-buffer-normalize-special):
9005 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9006
7e5bfb8f
EZ
90072011-07-14 Eli Zaretskii <eliz@gnu.org>
9008
9009 * subr.el (version<, version<=, version=): Mention "-CVS" and
9010 "-12345" alpha version numbers.
9011
27fa387a
CY
90122011-07-14 Chong Yidong <cyd@stupidchicken.com>
9013
9014 * bindings.el: Add advertised binding for set-mark-command
9015 (Bug#5772).
9016
8bdfa064
CY
90172011-07-14 Chong Yidong <cyd@stupidchicken.com>
9018
9019 * bindings.el (mode-line-other-buffer):
9020 * bookmark.el (bookmark-bmenu-2-window):
9021 * bs.el (bs-cycle-next, bs-cycle-previous):
9022 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9023 switch-to-buffer.
9024
9025 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9026 Delete.
8bdfa064 9027
5eba16a3
JB
90282011-07-14 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * follow.el (follow-debug-message, follow-redisplay):
9031 * jka-cmpr-hook.el (with-auto-compression-mode):
9032 Fix typos in docstrings.
9033
15853710
LMI
90342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
a28e4607
LMI
9036 * subr.el (with-silent-modifications): Clarify somewhat what the
9037 macro inhibits (bug#6525).
9038
15853710
LMI
9039 * simple.el (eval-expression): Note what it does if called
9040 interactively (bug#6495).
9041
bee0fcef
CY
90422011-07-13 Chong Yidong <cyd@stupidchicken.com>
9043
b796c9b7
SM
9044 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9045 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9046
9047 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9048 Remove switch-to-buffer.
9049
58274504
LMI
90502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9051
bd2fcc8d
LMI
9052 * files.el (make-directory): Clarify that an error will be raised
9053 if there's an error (bug#6397).
9054
0f04b32c
LMI
9055 * startup.el (initial-buffer-choice): Add `none' as a choice
9056 (bug#6234).
9057
465c5fc8
LMI
9058 * subr.el (add-hook): Clarify section about buffer-local hooks
9059 (bug#6218).
9060
58274504
LMI
9061 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9062
bead9a43
JB
90632011-07-13 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * tabify.el (untabify): Preserve the current column so that point
9066 doesn't move (bug#6032).
9067
3af98a7b
LMI
90682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9069
b796c9b7
SM
9070 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9071 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9072
6240145a
GM
90732011-07-13 Glenn Morris <rgm@gnu.org>
9074
9075 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9076 (dired-insert-directory): Give a message the first time
9077 if ls is found not to support --dired.
9078
1d8c2ccc
LMI
90792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9080
9081 * simple.el (toggle-truncate-lines): Clarify what is toggled
9082 (bug#5580). Text by Drew Adams.
9083
5fc4038e
CY
90842011-07-13 Chong Yidong <cyd@stupidchicken.com>
9085
9086 * simple.el (blink-matching-open): Make the error message from the
9087 last change less verbose.
9088
bf6012e5
DN
90892011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9090
9091 * font-lock.el (font-lock-comment-face): Use the high contrast
9092 "yellow" color for font-lock-comment-face on low color terminals
9093 using a dark background color (bug#4221).
9094
343c3b5a
LMI
90952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9096
7e9505c5
LMI
9097 * dired.el (dired-insert-set-properties): Make the doc string
9098 reflect what it does now (bug#5325).
9099
c26fdcf5
LMI
9100 * simple.el (blink-matching-open): Say that we were unable to find
9101 the match within the limit, if we're limited (bug#5122).
9102
bb388cc5
LMI
9103 * international/mule-cmds.el (prefer-coding-system): Add an
9104 example (bug#4869).
9105
343c3b5a
LMI
9106 * progmodes/etags.el (tags-search): Document `file-list-form'
9107 (bug#4731).
9108
2a517d45
LM
91092011-07-13 Lawrence Mitchell <wence@gmx.li>
9110
9111 * net/browse-url.el (browse-url-default-browser)
9112 (browse-url-browser-function): Make the default browser choice a
9113 bit more logical (bug#4300). Also clean up the doc string.
9114
b6c78ef2
JB
91152011-07-13 Juanma Barranquero <lekktu@gmail.com>
9116
9117 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9118 binary endings (bug#4440).
9119
1c4dd947
LMI
91202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9121
a2014063
LMI
9122 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9123 which can be pretty annoying (bug#8971).
9124
9c9c2d88
LMI
9125 * jka-compr.el (jka-compr-verbose): New variable, and use
9126 throughout (bug#8971).
9127
1c4dd947
LMI
9128 * info.el (Info-find-file): Fall back on the installation
9129 directory if we can't find the info node anywhere else.
9130
a1c9f41b
SO
91312011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9132
9133 * vc/vc.el (vc-revert-file):
9134 Don't set file time-stamp in the past. (Bug#5181)
9135
536f3d36
LMI
91362011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9137
7152b011
LMI
9138 * files.el (after-find-file): Give a better error message when
9139 trying to find a symlink that points to a file that doesn't exist
9140 (bug#4398).
9141
536f3d36
LMI
9142 * progmodes/cc-vars.el: Remove (probably) misleading comment
9143 (bug#4396).
9144
460c0fba
JB
91452011-07-12 Johan Bockgård <bojohan@gnu.org>
9146
9147 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9148
7a6bda45
CY
91492011-07-12 Chong Yidong <cyd@stupidchicken.com>
9150
9151 * mouse-sel.el: Hack restoring functionality, while keeping
9152 compatibility with 2010-07-03 changes to mouse selection.
9153 (mouse-sel-primary-overlay): New var.
9154 (mouse-sel-selection-alist): Use it.
9155 (mouse-sel-mode): Doc fix; remove points that are default features
9156 of mouse.el.
9157
c79598ef
JB
91582011-07-12 Johan Bockgård <bojohan@gnu.org>
9159
9160 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9161 Fix previous fix (bug#2490).
9162
ff8be6ef
RW
91632011-07-12 Roland Winkler <winkler@gnu.org>
9164
b796c9b7
SM
9165 * textmodes/bibtex.el (bibtex-initialize):
9166 Use pop-to-buffer-same-window.
ff8be6ef
RW
9167 (bibtex-search-entries): Fix interactive call.
9168
296ba3ee
LMI
91692011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9170
f5242a02 9171 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9172 Fontise bytecomp Error lines more correctly (bug#2490).
9173 Fix suggested by Johan Bockgård.
f5242a02 9174
296ba3ee
LMI
9175 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9176
9177 * dired-x.el (dired-guess-default): Use `delete-dups'.
9178
f69fd0d2
CY
91792011-07-12 Chong Yidong <cyd@stupidchicken.com>
9180
9181 * dired.el (dired-mark-prompt):
9182 * dired-aux.el (dired-read-shell-command): Doc fix.
9183
eab5dc07
LMI
91842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9185
b796c9b7
SM
9186 * mail/sendmail.el (sendmail-query-once):
9187 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9188 emacs -Q.
9189
9190 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9191
eab5dc07
LMI
9192 * cus-edit.el (custom-file): Take an optional no-error variable.
9193 (customize-save-variable): Set the variable, and give a warning if
9194 running under "emacs -q".
9195
a1e65d42
JB
91962011-07-11 Juanma Barranquero <lekktu@gmail.com>
9197
9198 * loadhist.el (unload-feature-special-hooks):
9199 Add `auto-coding-functions', `fill-nobreak-predicate' and
9200 `find-directory-functions' (bug#5327).
9201
1d52da10
LMI
92022011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9203
be958f1d
LMI
9204 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9205
5bedb26c
LMI
9206 * cus-edit.el (custom-guess-name-alist): -alist variables should
9207 use the `alist' type (bug#3120). Suggested by Drew Adams.
9208
1d52da10
LMI
9209 * printing.el: Add documentation to all the `pr-toggle-' commands.
9210
cd394be1 92112011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9212
9213 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9214 backends where it makes sense (bug#2623).
9215
dcc88d8a
LMI
92162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9217
c3de9feb
LMI
9218 * dired-x.el (dired-guess-default): Remove duplicate shell command
9219 entries (bug#2028).
8a93078b 9220 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9221 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9222
dcc88d8a
LMI
9223 * subr.el (remove-duplicates): New conveniency function.
9224
505e3645
LMI
92252011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9226
9227 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9228 (bug#1526).
9229
92302011-07-10 Martin Rudalics <rudalics@gmx.at>
9231
9232 * window.el (display-buffer-normalize-default): Don't invert
9233 meaning of even-window-heights. Reported by Eli Zaretskii
9234 <eliz@gnu.org>.
9235
455e4fa1
BR
92362011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9237
9238 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9239
8e0bc3e9
CY
92402011-07-10 Chong Yidong <cyd@stupidchicken.com>
9241
9242 * window.el (display-buffer): Fix arguments to
9243 display-buffer-reuse-window in last change.
9244
fa7c3228
CY
9245 * faces.el (link): Use a less saturated blue on light backgrounds.
9246
9247 * startup.el (fancy-startup-text, fancy-about-text)
9248 (fancy-startup-tail): Use font-lock faces, for background safety.
9249
c0a7f300
BN
92502011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9251
b796c9b7
SM
9252 * emulation/viper-cmd.el (viper-change-state-to-vi):
9253 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9254
4dc2a129
MR
92552011-07-09 Martin Rudalics <rudalics@gmx.at>
9256
9257 * window.el (display-buffer-default-specifiers): Remove.
9258 (display-buffer-macro-specifiers): Remove default specifiers.
9259 (display-buffer-alist): Default to nil.
b796c9b7 9260 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9261 (display-buffer-pop-up-window): Allow splitting internal
9262 windows. Check whether a live window was created.
9263 (display-buffer-other-window-means-other-frame)
9264 (display-buffer-normalize-arguments): Rename to
9265 display-buffer-normalize-argument and rewrite. Set the
9266 other-window specifier.
9267 (display-buffer-normalize-special): New function.
9268 (display-buffer-normalize-options): Rename to
9269 display-buffer-normalize-default and rewrite.
9270 (display-buffer-normalize-options-inhibit): Remove.
9271 (display-buffer-normalize-specifiers): Rewrite.
9272 (display-buffer): Process other-window specifier and call
9273 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9274 more faithfully.
b796c9b7 9275 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9276 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9277 (display-buffer-in-window, display-buffer-alist-set):
9278 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9279 <tassilo@member.fsf.org>.
9280
2d43b8c9
LL
92812011-07-09 Leo Liu <sdl.web@gmail.com>
9282
9283 * register.el (insert-register): Restore accidental change on
9284 2011-06-26. (Bug#9028)
9285
7f9b7c53
GM
92862011-07-09 Glenn Morris <rgm@gnu.org>
9287
9288 * subr.el (remq): Handle the empty list. (Bug#9024)
9289
f042cfd8
AS
92902011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9291
9292 * mail/sendmail.el (send-mail-function): No longer delay custom
9293 initialization.
9294 * custom.el (custom-initialize-delay): Doc fix.
9295
856b2f11
SM
92962011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9299
afae1d68
MA
93002011-07-08 Michael Albinus <michael.albinus@gmx.de>
9301
9302 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9303 human-friendly prompt.
9304
0757af94
SM
93052011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9306
9307 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9308 provided by a particular plugin.
9309
d760b731
LMI
93102011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311
9312 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9313 save customizations (with "emacs -Q"), just set the variable
9314 instead of erroring out.
9315
9316 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9317
cd79ce90
JL
93182011-07-08 Juri Linkov <juri@jurta.org>
9319
9320 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9321 (archive-zip-update-case): Use 7z if found by `executable-find'.
9322 The order of searching the available programs is the same as in
9323 `archive-zip-extract' (bug#8968).
9324
14cc04aa
CY
93252011-07-07 Chong Yidong <cyd@stupidchicken.com>
9326
9327 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9328 (menu-bar-options-menu): Tweak descriptions.
9329
0a1848ec
LMI
93302011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9331
9332 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9333 menu items into verb phrases (bug#1421). Also refill to fit under
9334 80 columns.
9335
f5bd0689
CY
93362011-07-07 Chong Yidong <cyd@stupidchicken.com>
9337
538e85c6
CY
9338 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9339 (Info-read-node-name): Doc fix (Bug#1084).
9340
f5bd0689
CY
9341 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9342 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9343 (end-of-sexp, beginning-of-sexp)
9344 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9345 (forward-symbol, forward-same-syntax, word-at-point)
9346 (sentence-at-point): Doc fix (Bug#1144).
9347
56ec5115
LMI
93482011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9349
f3f8e37f
LMI
9350 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9351 should cover it (bug#1281).
9352
0757af94 9353 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9354
e9fce1ac 9355 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9356 negotiation fails, then possibly try again with a non-encrypted
9357 connection (bug#9017).
9358
56ec5115
LMI
9359 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9360 be used.
9361
c2f9aec8
RS
93622011-07-07 Richard Stallman <rms@gnu.org>
9363
9364 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9365 property, and handle its changed format.
9366 Look for the correct line number.
9367 Use file's line contents (but not past first =) to find
9368 correct line in message.
9369
ef7b981d 93702011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9371
9372 * international/characters.el (build-unicode-category-table):
9373 Delete it.
0757af94 9374 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9375
0757af94 9376 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9377 to src/chartab.c.
9378 (get-char-code-property): Call unicode-property-table-internal to
9379 load a file. Call get-unicode-property-internal where necessary.
9380 (put-char-code-property): Call unicode-property-table-internal to
9381 load a file. Call put-unicode-property-internal where necessary.
9382 put-unicode-property-internal where necessary.
0757af94
SM
9383 (char-code-property-description):
9384 Call unicode-property-table-internal to load a file.
c805dec0
KH
9385
9386 * international/charprop.el:
9387 * international/uni-bidi.el:
9388 * international/uni-category.el:
9389 * international/uni-combining.el:
9390 * international/uni-comment.el:
9391 * international/uni-decimal.el:
9392 * international/uni-decomposition.el:
9393 * international/uni-digit.el:
9394 * international/uni-lowercase.el:
9395 * international/uni-mirrored.el:
9396 * international/uni-name.el:
9397 * international/uni-numeric.el:
9398 * international/uni-old-name.el:
9399 * international/uni-titlecase.el:
9400 * international/uni-uppercase.el: Regenerate.
9401
9402 * loadup.el: Load international/charprop.el before
9403 international/characters.
9404
e14b388a
CY
94052011-07-07 Chong Yidong <cyd@stupidchicken.com>
9406
9407 * window.el (next-buffer, previous-buffer): Signal an error if
9408 called from a minibuffer window.
9409
9410 * bindings.el: Revert 2011-07-04 change.
9411
354cf0ba
RS
94122011-07-06 Richard Stallman <rms@gnu.org>
9413
9414 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9415 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9416 Treat markers like ints.
9417 (rmail-mime-entity): Doc fix.
9418
a48868a7
LMI
94192011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9420
4906cd3d
LMI
9421 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9422 defcustom again for backwards compatibility.
9423
e0457abe
LMI
9424 * simple.el (shell-command-on-region): Fill.
9425
d67f7e1f
LMI
9426 * dired-aux.el (dired-kill-line): Add a doc string.
9427
fe204702
LMI
9428 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9429 to "\\sw\\|\\s_" (bug#358).
9430
a48868a7
LMI
9431 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9432 (dired-unmark-backward): Ditto.
9433 (dired-flag-backup-files): Ditto.
9434
9435 * dired-x.el (dired-mark-sexp): Ditto.
9436
aa8a705c
RS
94372011-07-06 Richard Stallman <rms@gnu.org>
9438
9439 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9440 (rmail-mime-entity): New arg TRUNCATED.
9441 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9442 New functions.
9443 (rmail-mime-save): Warn if entity is truncated.
9444 (rmail-mime-toggle-hidden): Likewise, for showing.
9445 (rmail-mime-process-multipart): Record when an entity is truncated.
9446
a9a936b9
RS
9447 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9448 if ENTITY is a string.
9449
1f2b92cb
LMI
94502011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9451
f4f73198 9452 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9453 of faces when `M-C-x'-ing their definitions (bug#8378).
9454 Also clean up the code slightly.
f4f73198 9455
12b16734 9456 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9457 because that makes the colors go away.
12b16734 9458
f0691d22
LMI
9459 * mail/sendmail.el (send-mail-function): Change the default to
9460 `sendmail-query-once'.
9e87df06 9461 (sendmail-query-once): Add an autoload cookie.
f0691d22 9462
1f2b92cb
LMI
9463 * net/network-stream.el (network-stream-open-starttls): Try using
9464 a plain connection even if the server offered STARTTLS, and we
9465 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9466 capability. This should make smtpmail.el work in slightly more
9467 configurations.
9468
1cdd2a1b
MA
94692011-07-06 Michael Albinus <michael.albinus@gmx.de>
9470
9471 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9472 New defun.
9473 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9474
fbcc67e2
MM
94752011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9476
9477 * progmodes/sql.el: Version 3.0
0757af94 9478 (sql-product-alist): Add product :completion-object,
fbcc67e2 9479 :completion-column, and :statement attributes.
0757af94 9480 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9481 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9482 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9483 ansi keywords.
9484 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9485 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9486 (sql-oracle-show-reserved-words): New function for development.
9487 (sql-product-font-lock): Simplify for source code buffers.
9488 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9489 New functions.
9490 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9491 (sql-mode-map): Add statement movement functions.
9492 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9493 New variable.
fbcc67e2
MM
9494 (sql-statement-regexp, sql-beginning-of-statement)
9495 (sql-end-of-statement, sql-signum): New functions.
0757af94 9496 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9497 (sql-show-sqli-buffer): Bug fix.
9498 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9499 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9500 with sql-interactive-mode.
9501 (sql-save-connection): Save buffer local settings.
0757af94 9502 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9503 (sql-product-interactive): Bug fix.
9504 (sql-preoutput-hold): New variable.
9505 (sql-interactive-remove-continuation-prompt): Bug fixes.
9506 (sql-debug-redirect): New variable.
9507 (sql-str-literal): New function.
9508 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9509 Redesign.
fbcc67e2
MM
9510 (sql-oracle-save-settings, sql-oracle-restore-settings)
9511 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9512 (sql-completion-object, sql-completion-column)
9513 (sql-completion-sqlbuf): New variables.
9514 (sql-build-completions-1, sql-build-completions)
9515 (sql-try-completion): New functions.
9516 (sql-read-table-name): Use them.
9517 (sql-contains-names): New buffer local variable.
9518 (sql-list-all, sql-list-table): Use it.
9519 (sql-oracle-completion-types): New variable.
9520 (sql-oracle-completion-object, sql-sqlite-completion-object)
9521 (sql-postgres-completion-object): New functions.
9522
d4eaeab1
GM
95232011-07-06 Glenn Morris <rgm@gnu.org>
9524
9525 * window.el (pop-to-buffer): Doc fix.
9526
322b7dab 95272011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9528
9529 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9530
322b7dab 95312011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9532
322b7dab 9533 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9534
322b7dab 9535 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9536
605dd5bf
CY
95372011-07-05 Chong Yidong <cyd@stupidchicken.com>
9538
9539 * button.el (button): Inherit from link face. Suggested by Dan
9540 Nicolaescu.
9541
7dbfa719
SM
95422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9543
3db614b0
SM
9544 * progmodes/gdb-mi.el: Fit in 80 columns.
9545 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9546 switch-to-buffer.
9547
7dbfa719
SM
9548 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9549 if imenu is simply not configured (bug#8941).
9550
919d884a
KM
95512011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9552
9553 * allout.el (allout-post-undo-hook): New allout outline-change
9554 event hook to signal undo activity.
9555 (allout-post-command-business): Run allout-post-undo-hook if an
9556 undo just occurred.
7dbfa719
SM
9557 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9558 * allout-widgets.el (allout-widgets-after-undo-function):
9559 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9560 in the vicinity of an undo.
9561 (allout-widgets-mode): Include allout-widgets-after-undo-function
9562 on the new allout-post-undo-hook.
9563
450a0f09
SM
95642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9567 Let define-derived-mode define it.
9568 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9569 cycles of abbrev-table inheritance (bug#8998).
9570
2de69e00
RW
95712011-07-05 Roland Winkler <winkler@gnu.org>
9572
9573 * textmodes/bibtex.el: Add support for biblatex.
9574 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9575 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9576 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9577 (bibtex-entry-alist, bibtex-field-alist): New variables.
9578 (bibtex-entry-field-alist): Obsolete alias for
9579 bibtex-BibTeX-entry-alist.
9580 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9581 (bibtex-set-dialect): New command.
9582 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9583 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9584 Bind via bibtex-set-dialect.
2de69e00
RW
9585 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9586 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9587 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9588 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9589 Define via bibtex-set-dialect.
450a0f09
SM
9590 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9591 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9592 (bibtex-vec-push, bibtex-vec-incr): New functions.
9593 (bibtex-format-entry, bibtex-field-list)
9594 (bibtex-print-help-message, bibtex-validate)
9595 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9596
2dcdbdd9
SM
95972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * progmodes/compile.el (compilation-goto-locus):
9600 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9601 * bs.el (bs-cycle-next, bs-cycle-previous):
9602 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9603 * bindings.el (mode-line-other-buffer):
9604 * autoinsert.el (auto-insert):
9605 * arc-mode.el (archive-extract):
9606 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9607
b27640fe
JB
96082011-07-05 Juanma Barranquero <lekktu@gmail.com>
9609
9610 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9611 Fix check of `emacs-lock-unlockable-modes'.
9612 Coerce true values of `emacs-lock--try-unlocking' to t.
9613
53bbe3ad
JB
96142011-07-05 Juanma Barranquero <lekktu@gmail.com>
9615
9616 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9617 * emacs-lock.el: New file.
9618
1d3cdbc7
JD
96192011-07-05 Julien Danjou <julien@danjou.info>
9620
9621 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9622 than `boundp' to check if face is set.
9623
9173deec
JB
96242011-07-05 Juanma Barranquero <lekktu@gmail.com>
9625
9626 * register.el (registerv-make):
9627 * window.el (window-min-height): Fix typos in docstrings.
9628
869795d6
JD
96292011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9630
9173deec 9631 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9632 Update doc string.
9633
b768cdcd
JB
96342011-07-04 Juanma Barranquero <lekktu@gmail.com>
9635
9636 * server.el (server-execute): Catch quit and call
9637 `server-return-error' to pass the error back to emacsclient and
9638 close the connection (bug#8942).
9639
13aa217b
KM
96402011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9641
9642 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9643 insecure exception for current topic. Also note that auto-saves
9644 are handled differently.
9645
5d3385a0 9646 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9647 State variables for tracking auto-save inhibition situation.
9648
9649 (allout-write-contents-hook-handler): Rename from
9650 'allout-write-file-hook-handler', and describe how it depends on
9651 write-contents-functions sensitivity to non-nil value to prevent
9652 file write.
9653
9654 (allout-auto-save-hook-handler): Remove. auto-save does not check
9655 this in individual buffers, only in the starting buffer, so this
9656 is not the right way for us to inhibit auto-save in a buffer
9657 according to its condition.
9658
9659 (allout-mode): Use new allout-write-contents-hook-handler, and
9660 only with write-contents-functions. Remove auto-save provisions -
9661 they're implemented elsewhere.
9662
9663 (allout-before-change-handler): If undo is in progress, note that
9664 for attention of allout-post-command-business.
9665
9666 (allout-post-command-business): If the command we're following was
9667 an undo, check for change in the status of encrypted items and
9668 adjust auto-save inhibitions accordingly.
9669
9670 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9671 according to whether there are or aren't any plain-text topics
9672 pending encryption.
9673
2dcdbdd9 9674 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9675 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9676 if there are plain-text topics pending encryption.
13aa217b
KM
9677
9678 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9679 buffer-saved-size and some allout state to not inhibit auto-saves
9680 if there are no longer any plain-text topics pending encryption.
9681
0757af94
SM
9682 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9683 No longer provide for exemption of the current topic.
13aa217b 9684
ac89b32c
JL
96852011-07-04 Juri Linkov <juri@jurta.org>
9686
9687 Add 7z operations to delete and save changed members (bug#8968).
9688 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9689 New defcustoms.
9690 (archive-7z-write-file-member): New function.
9691 (archive-7z-summarize): Fix the number of dashes in the
9692 listing output.
9693
8fa39615
SM
96942011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9697 (bug#8958).
9698
2f11b3f1
CY
96992011-07-04 Chong Yidong <cyd@stupidchicken.com>
9700
d66fef2b
CY
9701 * bindings.el: Ignore next-buffer and previous-buffer in
9702 minibuffer-local-map.
9703
2f11b3f1
CY
9704 * font-lock.el (font-lock-builtin-face): Change light background
9705 color to dark slate blue (Bug#6693).
9706
f932a347
WD
97072011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9708
9709 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9710
c8af70e1
SM
97112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9714 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9715 Add switch-to-buffer.
9716
f158badc
LMI
97172011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718
9719 * isearch.el (isearch-search-fun-function): Clarify further the
9720 meaning of the function returned.
9721
6d95bd46
MA
97222011-07-04 Michael Albinus <michael.albinus@gmx.de>
9723
9724 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9725
9726 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9727 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9728 Use it.
9729 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9730 `tramp-default-remote-path' does not exist.
9731 (tramp-send-command-and-read): New optional argument NOERROR.
9732 (tramp-open-connection-setup-interactive-shell)
9733 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9734 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9735 (tramp-process-sentinel): Flush also process' connection property.
9736 (tramp-sh-handle-start-file-process): Do not set process
9737 sentinel. It is done now ...
9738 (tramp-maybe-open-connection): ... here. (Bug#8929)
9739
909e6b67
MK
97402011-07-04 MON KEY <monkey@sandpframing.com>
9741
9742 * play/animate.el (animate-string): Doc fixes and allow changing
9743 the buffer name (bug#5417).
9744
97452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9746
c8af70e1 9747 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9748
f34755dc
PE
97492011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9750
396cec72
PE
9751 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9752 This is simpler and helps future-proof the code.
9753 (timer-until): Use time-subtract and float-time.
08235028 9754 (timer--time-less-p): Use time-less-p.
f34755dc 9755
56e6cc31
JB
97562011-07-04 Juanma Barranquero <lekktu@gmail.com>
9757
3abb79e5
JB
9758 * type-break.el (timep): Use the value of `float-time' to avoid a
9759 byte-compiler warning.
9760
56e6cc31
JB
9761 * server.el (server-eval-and-print): Return any result, even nil.
9762
7b9430b4
PE
97632011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9764
9765 * type-break.el: Accept time formats that the builtins accept.
9766 (timep, type-break-time-difference): Accept any format that
9767 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9768 This is simpler and helps future-proof the code.
9769 (type-break-time-difference): Round rather than ignoring
9770 subseconds components.
9771
3034e9e7
LMI
97722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9773
9774 * info.el (Info-apropos-matches): Make non-interactive, since it
9775 doesn't seem to do anything useful as a command (bug#8829).
9776
1485f4c0
CY
97772011-07-03 Chong Yidong <cyd@stupidchicken.com>
9778
9779 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9780 Move from faces.el.
1485f4c0
CY
9781 (frame-default-terminal-background): New function.
9782
9783 * custom.el (custom-push-theme): Don't record faces in `changed'
9784 theme; this doesn't work correctly for per-frame face settings.
9785 (disable-theme): Use face-set-after-frame-default to reset faces.
9786 (custom--frame-color-default): New function.
9787
9fa3dd45
LMI
97882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9789
c8af70e1 9790 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9791 (bug#8769).
9792
6cbbc20c
KR
97932011-03-29 Kevin Ryde <user42@zip.com.au>
9794
9795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9796 `perl-Test2' extend to match possible "fail #N" rep count
9797 (bug#8377).
9798
c7f98048
LMI
97992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9800
65676592
LMI
9801 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9802 `smtpmail-via-smtp' now returns the error instead of nil.
9803
c7f98048
LMI
9804 * isearch.el (isearch-search-fun-function): Clarify the doc string
9805 (bug#8101).
9806
56e6cc31 98072011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9808
9809 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9810 unnecessary spaces (bug#8987).
9811
2b216704
LMI
98122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9813
9814 * net/network-stream.el (open-network-stream): Use the
9815 :end-of-capability command thoughout.
9816
98172011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9818
9819 * net/network-stream.el (open-network-stream): Add the
9820 :end-of-capability command parameter, used by pop3.el.
9821
36adf6ce
LMI
98222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9823
1ca0da0e
LMI
9824 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9825
fc00f69c
LMI
9826 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9827 for list)" (bug#6475).
9828
28fd8759 9829 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9830 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9831 an error (bug#6297).
9832
0dd8b6da
LMI
9833 * man.el (Man-reference-regexp): Allow matching possible
9834 word-wrapped references (bug#6289).
9835
ce1438d6
LMI
9836 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9837 for consistency with the other vc buffers (bug#6197).
9838 (vc-checkin): Ditto.
9839
9840 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9841
36adf6ce
LMI
9842 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9843
e83cc1f7
LMI
98442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9845
8a20ca4c
LMI
9846 * custom.el (defcustom): Clarify that :set is only used in the
9847 Customize user interface (bug#6089).
9848
83319045
LMI
9849 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9850 associated with a file, refuse to run instead of erroring out
9851 (bug#6084).
9852
a8392169
LMI
9853 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9854 the doc string, since it appears that using `fill-column' always
9855 controls the width (bug#7845).
9856
e83cc1f7
LMI
9857 * simple.el (shell-command-on-region): Say where the error output
9858 went if `shell-command-default-error-buffer' is set (bug#6857).
9859
e47ca23b
KM
98602011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9861
9862 * allout.el (allout-yank-processing): Adjust cursor position for
9863 backwards-deleted space.
9864
9865 (allout-rebullet-heading): Register changes with
9866 allout-exposure-changed-hook, so the modified topic is properly
9867 decorated.
9868
5cf56143
LMI
98692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9870
08549772
LMI
9871 * minibuffer.el (completion-in-region): Document PREDICATE
9872 (bug#7136).
9873
48e96771
LMI
9874 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9875 of keyword/argument pairs (bug#6904).
9876
c8af70e1
SM
9877 * replace.el (multi-occur):
9878 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9879
e17d05e2
LMI
98802011-07-02 Drew Adams <drew.adams@oracle.com>
9881
9882 * dired.el (dired-mark-if): Make the message about whether it's
9883 marking or unmarking clearer (bug#8523).
9884
063b0e45
LMI
98852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9886
9887 * disp-table.el (display-table-print-array): New function.
9888 (describe-display-table): Use it to print the vectors more pretty
9889 (Bug#8859).
9890
28545e04
MR
98912011-07-02 Martin Rudalics <rudalics@gmx.at>
9892
9893 * window.el (window-state-get-1): Don't assign clone numbers.
9894 Add clone-of item to list of window parameters.
9895 (window-state-put-2): Don't process clone numbers.
9896 (display-buffer-alist): Fix doc-string.
9897
3349e122
SM
98982011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * subr.el (remq): Don't allocate if it's not needed.
9901 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9902 (keymap--merge-bindings): New functions.
9903 (keymap-canonicalize): Use them to refine the canonicalization.
9904 * minibuffer.el (minibuffer-local-completion-map)
9905 (minibuffer-local-must-match-map): Move initialization from C.
9906 (minibuffer-local-filename-completion-map): Move initialization from C;
9907 don't inherit from anything here.
9908 (minibuffer-local-filename-must-match-map): Make obsolete.
9909 (completing-read-default): Use make-composed-keymap to combine
9910 minibuffer-local-filename-completion-map with either
9911 minibuffer-local-must-match-map or
9912 minibuffer-local-filename-completion-map.
9913
d224ac83
GM
99142011-07-01 Glenn Morris <rgm@gnu.org>
9915
3de63bf8
GM
9916 * type-break.el (type-break-time-sum): Use dolist.
9917
d224ac83
GM
9918 * textmodes/flyspell.el (flyspell-word-search-backward):
9919 Replace CL function.
9920
1a1e3f32
SM
99212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9922
fe3f64d5
SM
9923 * mouse.el (mouse--strip-first-event): New function.
9924 (function-key-map): Use it to map fringe clicks to normal clicks
9925 by default.
9926
eb604e34
SM
9927 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9928 (vc-bzr-revision-completion-table): Add support for annotate and date.
9929
1a1e3f32
SM
9930 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9931 inherit from parent.
9932
5bd35902
LMI
99332011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9934
ace6c69c 9935 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9936 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9937
191e2bed
LMI
9938 * dired.el (dired-mode): Fix up the doc string as suggested by
9939 Drew Adams (bug#8817).
9940
5bd35902
LMI
9941 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9942 cookie, since the manual says that it should be possible to add
9943 this function to `find-file-hook' (bug#8709).
9944
eee8207a
TZ
99452011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9946
9947 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9948 here. Noted Ted Zlatanov as the maintainer.
9949 (cfengine-common-settings, cfengine-common-syntax): New functions
9950 to set up common things between `cfengine-mode' and
9951 `cfengine3-mode'.
9952 (cfengine3-mode): New mode.
9953 (cfengine3-defuns cfengine3-defuns-regex
9954 (cfengine3-class-selector-regex cfengine3-category-regex)
9955 (cfengine3-vartypes cfengine3-font-lock-keywords)
9956 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9957 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9958
36b148cf
MA
99592011-07-01 Michael Albinus <michael.albinus@gmx.de>
9960
9961 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9962
9963 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9964
0bf4ba9a
MR
99652011-07-01 Martin Rudalics <rudalics@gmx.at>
9966
9967 * window.el (same-window-buffer-names, same-window-regexps)
9968 (same-window-p, special-display-frame-alist)
9969 (special-display-popup-frame, special-display-function)
9970 (special-display-buffer-names, special-display-regexps)
9971 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9972 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9973 (split-window-preferred-function, split-height-threshold)
9974 (split-width-threshold, even-window-heights)
9975 (display-buffer-mark-dedicated, window-splittable-p)
9976 (split-window-sensibly, window-safely-shrinkable-p):
9977 Un-obsolete.
9978 (display-buffer): Don't spread args with function specifier
9979 because special-display-popup-frame won't like it.
9980
35837f51
PE
99812011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9982
d0672f86
PE
9983 Time-stamp simplifications and fixes.
9984 These improve accuracy slightly, and future-proof the code
9985 against some potential changes to current-time format.
9986
b9444d97
PE
9987 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9988 by using time-since and float-time.
9989
0ef923dc
PE
9990 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9991 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9992 + NNN microseconds".
9993
2f81380d
PE
9994 * type-break.el (type-break-time-sum): Rewrite using time-add.
9995
845b5c3e
PE
9996 * play/hanoi.el (hanoi-current-time-float): Remove.
9997 All uses replaced by float-time.
9998
ee6f1be0
PE
9999 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10000 This yields a more-accurate answer.
10001 (rng-time-to-float): Remove; no longer needed.
10002
fe955043
PE
10003 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10004
5777162a
PE
10005 * calendar/timeclock.el (timeclock-seconds-to-time):
10006 Defalias to seconds-to-time, since they're the same thing.
10007
3103f8b6 10008 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10009 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10010 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10011
0e61a35f
SM
100122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * window.el (bury-buffer): Don't iconify the only frame.
10015 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10016 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10017
ddd63a1e
CY
100182011-07-01 Chong Yidong <cyd@stupidchicken.com>
10019
0e61a35f
SM
10020 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10021 Add mouse-yank-primary.
ddd63a1e 10022
055f4923
TZ
100232011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10024
10025 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10026
6a2fb145
SM
100272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10030 (find-library-name): Use it to find relative load names when provided
10031 absolute file name (bug#8803).
10032
fd4983f2
LMI
100332011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10034
887d14ad
LMI
10035 * textmodes/flyspell.el (flyspell-word): Consider words that
10036 differ only in case as potential doublons (bug#5687).
10037
c53dc7fc
LMI
10038 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10039 Remove two rather uninteresting debugging-like messages to make
10040 debbugs.el more silent.
10041
fd4983f2
LMI
10042 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10043 a password-like phrase.
10044
7a71b18d 100452011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10046
10047 * progmodes/cc-guess.el: New file.
10048
6a2fb145 10049 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10050
10051 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10052 derived from `c-basic-common-init'.
10053
10054 * progmodes/cc-mode.el (top-level): Require cc-guess.
10055 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10056
1fa280a3
LM
100572011-06-30 Lawrence Mitchell <wence@gmx.li>
10058
10059 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10060
e6597158
AM
100612011-06-30 Alan Mackenzie <acm@muc.de>
10062
1fa280a3
LM
10063 * progmodes/cc-engine.el (c-guess-continued-construct):
10064 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10065 lock is disabled. Name this case as "CASE G".
10066
68ba37fb
KM
100672011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10068
10069 * allout.el (allout-yank-processing): Fix injection of extra space
10070 between bullet and non-whitespace character in first topic when
10071 pasting, ensuring that the actual spacing in the pasted topic
10072 following the bullet char is preserved. This extra space was
10073 causing pasted encrypted topics to get a decrypted status even
10074 when the content was actually still encrypted. Now the decryption
10075 status from before the paste is preserved.
10076
10077 (allout-flag-region): Set all allout overlays so they evaporate
10078 when reduced to zero length (evanescent), to prevent overlay
10079 leakage.
10080
887a0b34
GM
100812011-06-30 Glenn Morris <rgm@gnu.org>
10082
94b9acce
GM
10083 * w32-fns.el (w32-charset-info-alist): Declare.
10084
1d9b46d4
GM
10085 * find-dired.el (find-grep-options): Simplify.
10086
cc232200
GM
10087 * term/ns-win.el (ns-set-resource): Declare.
10088
28e77c46
GM
10089 * ses.el (row, col): Declare dynamic variables honestly.
10090
887a0b34
GM
10091 * textmodes/reftex-parse.el (index-tags): Declare.
10092
658d8eb8
CY
100932011-06-30 Chong Yidong <cyd@stupidchicken.com>
10094
10095 * cus-edit.el (customize-push-and-save): New function.
10096
10097 * files.el (hack-local-variables-confirm): Use it.
10098
1fa280a3
LM
10099 * custom.el (load-theme): New arg NO-CONFIRM.
10100 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10101 (custom-enabled-themes): Doc fix.
10102
10103 * cus-theme.el (customize-create-theme)
10104 (custom-theme-merge-theme): Callers to load-theme changed.
10105
bb617717
LMI
101062011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10107
d61bdd5d
LMI
10108 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10109 short URLs have at least one dot in them (bug #7614).
10110
bb617717
LMI
10111 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10112 nil, because using a pty is apparently too slow (bug #895).
10113
2f31f37a
LMI
101142011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10115
10116 * mail/sendmail.el (sendmail-query-once): New function.
10117 (sendmail-query-once-function): New variable.
10118
3076b24e
GM
101192011-06-29 Glenn Morris <rgm@gnu.org>
10120
faf2a174
GM
10121 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10122
3076b24e
GM
10123 * ses.el (top-level): Require cl when compiling.
10124 (ses-set-localvars): Fix error statement.
10125 Call it at compile time to silence a storm of warnings.
10126
5386012d
MR
101272011-06-29 Martin Rudalics <rudalics@gmx.at>
10128
10129 * window.el (normalize-live-buffer): Rename to
10130 window-normalize-buffer.
10131 (normalize-live-frame): Rename to window-normalize-frame.
10132 (normalize-any-window): Rename to window-normalize-any-window.
10133 (normalize-live-window): Rename to window-normalize-live-window.
10134 (make-window-atom): Rename to window-make-atom.
10135 (window-resize-reset): Rename to window--resize-reset.
10136 (window-resize-reset-1): Rename to window--resize-reset-1.
10137 (resize-mini-window): Rename to window--resize-mini-window.
10138 (resize-subwindows-skip-p): Rename to
10139 window--resize-subwindows-skip-p.
10140 (resize-subwindows-normal): Rename to
10141 window--resize-subwindows-normal.
10142 (resize-subwindows): Rename to window--resize-subwindows.
10143 (resize-other-windows): Rename to window--resize-siblings.
10144 (resize-this-window): Rename to window--resize-this-window.
10145 (resize-root-window): Rename to window--resize-root-window.
10146 (resize-root-window-vertically): Rename to
10147 window--resize-root-window-vertically.
10148 (normalize-buffer-to-display): Rename to
10149 window-normalize-buffer-to-display.
10150 (normalize-buffer-to-switch-to): Rename to
10151 window-normalize-buffer-to-switch-to.
10152 Correspondingly update all callers of the functions listed
10153 above.
10154 (display-buffer-alist, display-buffer-normalize-arguments)
10155 (display-buffer-normalize-options, display-buffer)
10156 (display-buffer-alist-set): Use "function" instead of
10157 "fun-with-args".
10158
1176868d
CY
101592011-06-28 Chong Yidong <cyd@stupidchicken.com>
10160
10161 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10162 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10163 debbugs.gnu.org. Mention acknowledgment email.
10164
20a7a65f
LMI
101652011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10166
10167 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10168 buffer multibyteness, since it shouldn't matter.
10169
5f45cca5
MR
101702011-06-28 Martin Rudalics <rudalics@gmx.at>
10171
10172 * window.el (display-buffer-in-side-window): Handle dedicated
10173 windows as in display-buffer-reuse-window.
10174 (display-buffer-normalize-alist): Use value of override
10175 specifier.
10176 (display-buffer-normalize-specifiers): Use value of
10177 other-window-means-other-frame specifier.
10178 (display-buffer-alist): Rewrite some texts in widgets.
10179 (display-buffer): Spread arguments when calling function
10180 specified by fun-with-args.
10181
ad85fe1f
DD
101822011-06-28 Deniz Dogan <deniz@dogan.se>
10183
1fa280a3
LM
10184 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10185 Unnest `let'.
da68c4c8 10186
ad85fe1f
DD
10187 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10188 selectors (Bug#5732).
ec49bd31 10189 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10190
a08cc025
JA
101912011-06-27 Jari Aalto <jari.aalto@cante.net>
10192
10193 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10194 (eshell-ls-date-format): New defcustom.
10195 (eshell-ls-file): Use it.
10196
e2b551c5
SM
101972011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10200
8982b231
KY
102012011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10202
10203 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10204 (ange-ftp-make-tmp-name): New arg.
10205 (ange-ftp-file-local-copy): Use it.
10206
36c9fa27
J
102072011-06-27 Jambunathan K <kjambunathan@gmail.com>
10208
10209 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10210 no-conversion (Bug#8870).
10211
d68443dc
MR
102122011-06-27 Martin Rudalics <rudalics@gmx.at>
10213
10214 * window.el (window-right, window-left, window-child)
10215 (window-child-count, window-last-child)
10216 (window-iso-combination-p, walk-window-tree-1)
10217 (window-atom-check-1, window-tree-1, delete-window)
10218 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10219 new naming conventions - window-vchild, window-hchild,
10220 window-next and window-prev are now called window-top-child,
10221 window-left-child, window-next-sibling and window-prev-sibling
10222 respectively.
d615d6d2
MR
10223 (resize-window-reset): Rename to window-resize-reset.
10224 (resize-window-reset-1): Rename to window-resize-reset-1.
10225 (resize-window): Rename to window-resize.
10226 (window-min-height, window-min-width)
10227 (resize-mini-window, resize-this-window, resize-root-window)
10228 (resize-root-window-vertically, adjust-window-trailing-edge)
10229 (enlarge-window, shrink-window, maximize-window)
10230 (minimize-window, delete-window, quit-restore-window)
10231 (split-window, balance-windows, balance-windows-area-adjust)
10232 (balance-windows-area, window-state-put-2)
10233 (display-buffer-even-window-sizes, display-buffer-set-height)
10234 (display-buffer-set-width, set-window-text-height)
10235 (fit-window-to-buffer): Rename all "resize-window" prefixed
10236 calls to use the "window-resize" prefix convention.
10237 (display-buffer-alist): Fix symbol for label specifier.
10238 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10239 corresponding specifier.
10240 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10241
b6458526
VB
102422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10243
10244 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10245 convention.
10246 (ses-call-printer): Does not pass an empty string to formatter when the
10247 cell is empty to keep from barking printer Calc math-format-value.
10248
d31fd9ac
RS
102492011-06-27 Richard Stallman <rms@gnu.org>
10250
43d5bf84
RS
10251 * battery.el (battery-mode-line-limit): New variable.
10252 (battery-update): Handle it.
10253
d31fd9ac
RS
10254 * mail/rmailmm.el (rmail-mime-process-multipart):
10255 Handle truncated messages.
10256
819a6054
GM
102572011-06-27 Glenn Morris <rgm@gnu.org>
10258
10259 * progmodes/flymake.el (flymake-err-line-patterns):
10260 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10261
cedc73f2
VB
102622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10263
819a6054 10264 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10265 (ses--clean-!, ses--clean-_): New functions.
10266 (ses-range): Add configurability of readout order, and conversion
10267 to Calc vector.
10268
5e5d49b6
VB
10269 * ses.el (ses-repair-cell-reference-all): New function.
10270 (ses-cell-symbol): Set macro as safe, so that it can be used in
10271 formulas.
10272
56e6cc31 10273 * ses.el: Update cycle detection algorithm.
90ca8b49 10274 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10275 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10276 (ses-set-localvars): New function.
10277 (ses-make-cell): Add property-list as a cell element.
10278 (ses-cell-property-get-fun, ses-cell-property-get)
10279 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10280 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10281 New functions.
90ca8b49
VB
10282 (ses-cell-property-set, ses-cell-property-pop)
10283 (ses-cell-property-get-handle): New macro.
10284 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10285 New aliases, used for code readability.
10286 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10287 cycle detection.
10288 (ses-self-reference-early-detection): New defcustom.
fac916bf 10289 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10290 (ses-mode): Use ses-set-localvars.
10291 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10292 before lauching the update processing.
10293 (ses-initialize-Dijkstra-attempt): New function.
10294 (ses-recalculate-cell): Update for cycle detection based on
10295 Dijkstra algorithm.
10296
2bb63e81
VB
10297 * ses.el: Fix commenting and indenting convention.
10298
c9d29fb8
SM
102992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * bs.el (bs-cycle-next): Complete last change.
10302
d8e4b68b
JB
103032011-06-27 Drew Adams <drew.adams@oracle.com>
10304
10305 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10306
40098786
LMI
103072011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10308
c9d29fb8
SM
10309 * net/network-stream.el (network-stream-open-starttls):
10310 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10311 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10312
40098786
LMI
10313 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10314 to binary to possibly avoid line encoding issues on Windows (among
10315 other things).
10316
468d09d4
LMI
103172011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10318
10319 * net/network-stream.el (open-network-stream): Return an :error
10320 saying what the problem was, if possible.
10321
10322 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10323 server.
10324
10325 * net/network-stream.el (network-stream-open-starttls): If we
10326 wanted to use STARTTLS, and the server offered it, but we weren't
10327 able to because we had no STARTTLS support, then close the connection.
10328 (open-network-stream): Return an :error element, if present.
10329
16f07dd7
CY
103302011-06-26 Chong Yidong <cyd@stupidchicken.com>
10331
88821ca0
CY
10332 * hl-line.el (hl-line-sticky-flag): Doc fix.
10333 (global-hl-line-sticky-flag): New option (Bug#8323).
10334 (global-hl-line-highlight): Obey it.
10335
16f07dd7
CY
10336 * vc/vc.el (vc-revert-show-diff): Default to t.
10337
6b5ccddf
KM
103382011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10339
c9d29fb8
SM
10340 * allout-widgets.el (allout-widgets-post-command-business):
10341 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10342 undecorated when an isearch is continued past, and isearch
10343 automatically collapses them. This leads to "widget leaks", where
10344 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10345 hidden widgets can slow down cursor travel, substantially.
10346 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10347 so we're doing without this nicety.
10348
10349 (allout-widgets-tally-string): Don't try to do a hash-table-count
10350 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10351 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10352 *Messages* when allout-widgets-maintain-tally is t.
10353
355f2e07
MR
103542011-06-26 Martin Rudalics <rudalics@gmx.at>
10355
10356 * window.el (display-buffer-normalize-argument): Rename to
10357 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10358 LABEL argument. Respect special-display-function when popping up
10359 a new frame. Fix code searching for a window showing the buffer
10360 on another frame.
c9d29fb8
SM
10361 (display-buffer-normalize-specifiers):
10362 Call display-buffer-normalize-arguments.
355f2e07
MR
10363 (display-buffer-in-window): Don't undedicate the window if its
10364 buffer remains the same.
10365 Reported by Drew Adams <drew.adams@oracle.com>.
10366 (display-buffer-alist): Add choice for same-window macro
10367 specfier.
10368 (display-buffer): Mention special meaning of LABEL argument in
10369 doc-string. Fix quoting. Don't pop up a new frame even as
10370 fallback.
10371
7ca8fc42
JB
103722011-06-26 Juanma Barranquero <lekktu@gmail.com>
10373
10374 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10375 avoid deleting the current window in some cases (bug#8911).
10376
bc312254
AS
103772011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10378
10379 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10380 (Bug#8934)
10381
2db18f3f
LMI
103822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10383
c9d29fb8
SM
10384 * net/network-stream.el (network-stream-open-starttls):
10385 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10386 (network-stream-open-tls): Ditto.
10387
6302e0d3
LL
103882011-06-26 Leo Liu <sdl.web@gmail.com>
10389
10390 * register.el (registerv): New struct.
10391 (registerv-make): New function.
c9d29fb8
SM
10392 (jump-to-register, describe-register-1, insert-register):
10393 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10394 struct. (Bug#8415)
10395
5fdd4046
CY
103962011-06-26 Chong Yidong <cyd@stupidchicken.com>
10397
2afef60a
CY
10398 * vc/vc.el (vc-revert-show-diff): New defcustom.
10399 (vc-diff-internal): New arg specifying diff buffer.
10400 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10401 reuse an existing *vc-diff* buffer (Bug#8927).
10402
5fdd4046
CY
10403 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10404
e93db24a
GM
104052011-06-26 Glenn Morris <rgm@gnu.org>
10406
10407 * progmodes/f90.el (f90-critical-indent): New option.
10408 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10409 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10410 (f90-mode): Doc fix.
10411 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10412 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10413 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10414 (f90-match-end): Handle block, critical.
10415
eefff499
GM
104162011-06-25 Glenn Morris <rgm@gnu.org>
10417
f6ba4cc9
GM
10418 * calendar/diary-lib.el (diary-included-files): Doc fix.
10419 (diary-include-files): New function, extracted from
10420 diary-include-other-diary-files and diary-mark-included-diary-files.
10421 (diary-include-other-diary-files, diary-mark-included-diary-files):
10422 Just call diary-include-files.
10423 (diary-mark-entries): Reset diary-included-files on first call.
10424
16712304
GM
10425 * calendar/diary-lib.el (diary-mark-entries)
10426 (diary-mark-included-diary-files):
10427 Visit included diary-files in temp buffers.
10428
5d8e0d43
GM
10429 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10430 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10431 (f90-start-block-re, f90-imenu-generic-expression)
10432 (f90-looking-at-program-block-start, f90-no-block-limit):
10433 Add support for submodules.
10434
ccf7a5d5
GM
10435 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10436 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10437
11fdef7d 104382011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10439
10440 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10441 buffer-file-type before setting its value, to avoid disastrous
eefff499 10442 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10443
74f53697
JB
104442011-06-25 Juanma Barranquero <lekktu@gmail.com>
10445
10446 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10447
10448 * ses.el (ses-unload-function):
10449 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10450
10451 * proced.el (proced-unload-function):
10452 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10453
18a4ce5e
AR
104542011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10455
10456 * server.el (server-create-window-system-frame): Add parameters arg.
10457 (server-process-filter): Doc fix. Handle frame-parameters.
10458
519d22cc
JB
104592011-06-25 Juanma Barranquero <lekktu@gmail.com>
10460
10461 Fix bug#8730, bug#8781.
10462
10463 * loadhist.el (unload--set-major-mode): New function.
10464 (unload-feature): Use it.
10465
10466 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10467 (python-unload-function): New function.
10468
c206f5b0
SM
104692011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10472
f9ad64f3
GS
104732011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10474
10475 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10476 the candidates list.
10477
7d0da90e
JB
104782011-06-24 Juanma Barranquero <lekktu@gmail.com>
10479
10480 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10481
14b4e83d
RS
104822011-06-23 Richard Stallman <rms@gnu.org>
10483
10484 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10485 (rmail-variables): Set next-error-move-function.
10486 (rmail-what-message): Take argument POS.
10487 (rmail-next-error-move): New function.
10488
273d2baf
SM
104892011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10492 messages for adjacent non-terminals.
10493
56c2cc9a
RS
104942011-06-23 Richard Stallman <rms@gnu.org>
10495
10496 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10497 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10498 (rmail-start-mail): Don't specify use of rmail-mail-return;
10499 that's done by mail-bury now.
10500 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10501
d59eb518
MA
105022011-06-23 Michael Albinus <michael.albinus@gmx.de>
10503
10504 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10505 SIZE is a number.
10506
02cfc6d6
MR
105072011-06-23 Martin Rudalics <rudalics@gmx.at>
10508
10509 * window.el (get-lru-window, get-mru-window)
10510 (get-largest-window): Never return a minibuffer window.
10511 (display-buffer-pop-up-window): Fix a bug that could lead to
10512 reusing the minibuffer window.
10513 (display-buffer): Pass original specifier argument to
10514 display-buffer-function instead of the normalized one.
10515 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10516
4e323265
LL
105172011-06-22 Leo Liu <sdl.web@gmail.com>
10518
10519 * minibuffer.el (completing-read-function)
10520 (completing-read-default): Move from minibuf.c
10521
7a70468f
RS
105222011-06-22 Richard Stallman <rms@gnu.org>
10523
50718fc2
RS
10524 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10525 to Rmail even if not started by a special Rmail command.
10526
7a70468f
RS
10527 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10528 Copy the buffer currently showing just one message.
10529
297dde5a
RW
105302011-06-22 Roland Winkler <winkler@gnu.org>
10531
10532 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10533 (bibtex-clean-entry): First delete the old key so that a
10534 customized algorithm for generating the new key does not get
10535 confused by the old key.
10536 (bibtex-url): Obey regexp of first step.
10537 (bibtex-search-entries): Do not use add-to-list with local
10538 list-var.
10539
97bb1093
LMI
105402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10541
10542 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10543 stored a user name, then query for the password first, instead of
10544 waiting for SMTP to give an error message and the trying again.
10545
1c0f1a19
JD
105462011-06-22 Lawrence Mitchell <wence@gmx.li>
10547
10548 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10549 BUFFER in call-process.
10550
396f7c9d
LMI
105512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10552
10553 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10554 QUIT twice.
ddb7ffee
LMI
10555 (smtpmail-try-auth-methods): Require user name and password from
10556 auth-source.
396f7c9d 10557
8998d1b3
MR
105582011-06-22 Martin Rudalics <rudalics@gmx.at>
10559
10560 * window.el (display-buffer-default-specifiers)
10561 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10562 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10563 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10564
10565 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10566 (special-display-frame-alist, special-display-popup-frame):
10567 Remove duplicate declarations. These are now in window.el.
10568
4ea31e07
LMI
105692011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10570
c9d29fb8
SM
10571 * mail/smtpmail.el (smtpmail-via-smtp):
10572 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10573 server supports it. SMTP servers that support STARTTLS commonly
10574 require it.
10575
10576 * net/network-stream.el (network-stream-open-starttls): Support
10577 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10578 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10579
95f41d9a
LMI
10580 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10581 upgrades with `open-network-stream', and rely solely on
10582 auth-source for all credentials. Big changes throughout the file,
10583 but in particular:
c9d29fb8
SM
10584 (smtpmail-auth-credentials): Remove.
10585 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10586 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10587 MAIL FROM, too.
95f41d9a 10588
c9d29fb8
SM
10589 * net/network-stream.el (network-stream-open-starttls):
10590 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10591 STARTTLS.
10592 (auth-source): Require.
10593 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10594 (network-stream-certificate): Change cert-cert to cert and
10595 cert-key to key.
4ea31e07 10596
065ec2c7
MA
105972011-06-21 Michael Albinus <michael.albinus@gmx.de>
10598
10599 * net/tramp-cache.el (top): Don't load the persistency file when
10600 "emacs -Q" has been called.
10601
cd93b359
DR
106022011-06-21 Tim Harper <timcharper@gmail.com>
10603
d8e4b68b
JB
10604 * term/ns-win.el (ns-initialize-window-system):
10605 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10606 resource to NO as it is not yet supported by the NS port.
10607
ae9c0411
JB
106082011-06-21 Juanma Barranquero <lekktu@gmail.com>
10609
10610 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10611 (list-dynamic-libraries): ...not here.
10612
7f3f739f
LL
106132011-06-21 Leo Liu <sdl.web@gmail.com>
10614
10615 * subr.el (sha1): Implement sha1 using secure-hash.
10616
327c8fb1
MR
106172011-06-21 Martin Rudalics <rudalics@gmx.at>
10618
10619 * window.el (display-buffer-alist): In default value do not
10620 enforce searching a window on any but the selected frame.
10621 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10622 (display-buffer-select-window): Remove function.
10623 (display-buffer-in-window): When a window on another frame gets
10624 reused, do not select it any more but just raise its frame if
10625 necessary (Bug#8851) and (Bug#8856).
10626 (display-buffer-normalize-options): Handle pop-up-frames related
10627 options more faithfully.
10628 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10629 window if it is on another frame.
c9d29fb8
SM
10630 (display-buffer-alist, display-buffer-default-specifiers):
10631 Don't make new frame unsplittable by default.
9e9de014
MR
10632 (display-buffer-normalize-argument): Fix doc-string typo and use
10633 'same-frame-other-window instead of 'other-window when associating
10634 with display-buffer-macro-specifiers.
327c8fb1 10635
7cf3f556
VB
106362011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10637
10638 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10639 New functions.
10640 (5x5-mode-map, 5x5-mode-menu): Bind them.
10641 (5x5-draw-grid): Tweak the solver's rendering.
10642
60a406cf
SM
106432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10646 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10647
d8e4b68b 106482011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10649
10650 * menu-bar.el: Use function variable instead of switch-to-buffer.
10651 (menu-bar-select-buffer-function): New variable.
60a406cf 10652 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10653
478d6f95
SM
106542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10655
10656 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10657 variable's status.
10658
ca530739
JD
106592011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10660
10661 * x-dnd.el (x-dnd-version-from-flags)
10662 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10663 and long as number (Bug#8899).
10664 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10665
bcd70d97
SM
106662011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10667
60a406cf 10668 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10669 (completion-try-completion, completion-all-completions): Compute the
10670 metadata argument if it's missing; make it optional (bug#8795).
10671
60a406cf 10672 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10673 (widget-complete): Use new :completion-function property.
10674 (widget-completions-at-point): New function.
10675 (default): Use :completion-function instead of :complete.
60a406cf
SM
10676 (widget-default-completions): Rename from widget-default-complete;
10677 Rewrite.
bcd70d97
SM
10678 (widget-string-complete, widget-file-complete, widget-color-complete):
10679 Remove functions.
10680 (file, symbol, function, variable, coding-system, color):
10681 * international/mule-cmds.el (default-input-method, charset)
10682 (language-info-custom-alist):
10683 * cus-edit.el (face): Use new property :completions.
10684
10685 * progmodes/pascal.el (pascal-completions-at-point): New function.
10686 (pascal-mode): Use it.
10687 (pascal-mode-map): Use completion-at-point.
10688 (pascal-toggle-completions): Make obsolete.
10689 (pascal-complete-word, pascal-show-completions):
10690 * progmodes/octave-mod.el (octave-complete-symbol):
10691 Redefine as obsolete alias.
10692 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10693 Signal absence of completion info for old Octave,
10694 (inferior-octave-complete): Redefine as obsolete alias.
10695 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10696 (meta-completions-at-point): Rename from meta-complete-symbol and
10697 adapt it for use on completion-at-point-functions.
10698 (meta-common-mode): Use it.
10699 (meta-looking-at-backward, meta-match-buffer): Remove.
10700 (meta-complete-symbol): Redefine as obsolete alias.
10701 (meta-common-mode-map): Use completion-at-point.
10702 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10703 (makefile-mode-map): Use completion-at-point.
10704 (makefile-completions-at-point): Rename from makefile-complete and
10705 adapt it for use on completion-at-point-functions.
10706 (makefile-mode): Use it.
10707 (makefile-complete): Redefine as obsolete alias.
10708
aebf69c8
DD
107092011-06-20 Deniz Dogan <deniz@dogan.se>
10710
10711 * net/rcirc.el: Delete trailing whitespaces once and for all.
10712
bfbbb27d
DC
107132011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10714
10715 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10716
d264a46b
CY
107172011-06-19 Chong Yidong <cyd@stupidchicken.com>
10718
4ca009e5
CY
10719 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10720
d264a46b
CY
10721 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10722
fbf5b3ce
MR
107232011-06-19 Martin Rudalics <rudalics@gmx.at>
10724
10725 * window.el (display-buffer-other-window-means-other-frame):
10726 Call display-buffer-normalize-alist.
10727 (display-buffer-normalize-specifiers-1): Rename to
10728 display-buffer-normalize-argument. New argument other-frame.
10729 Rewrite.
10730 (display-buffer-normalize-specifiers-2): Rename to
10731 display-buffer-normalize-options.
10732 (display-buffer-normalize-alist-1): New function.
10733 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10734 display-buffer-normalize-alist.
10735 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10736 (display-buffer-normalize-options-inhibit): New variable.
10737 (display-buffer-normalize-specifiers): Rewrite calling
10738 display-buffer-normalize-alist,
10739 display-buffer-normalize-argument, and
10740 display-buffer-normalize-options. Don't call the latter if
10741 display-buffer-normalize-options-inhibit is non-nil.
10742 (frame-auto-delete): New option.
10743 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10744 (window-list-no-nils, window-state-ignored-parameters)
10745 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10746 (window-state-put-1, window-state-put-2, window-state-put):
10747 New functions.
9a028c23
MR
10748 (display-buffer-normalize-options): Move special-display-p group
10749 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10750
6d10d800
CY
107512011-06-18 Chong Yidong <cyd@stupidchicken.com>
10752
6420d28b
CY
10753 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10754 groups (Bug#8776).
10755 (rx-submatch-n): New function.
10756 (rx): Document it.
10757
ddb8b596
CY
10758 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10759 (Bug#8768).
10760
10761 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10762
77080289
CY
10763 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10764
61dfb316
CY
10765 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10766 anytime existing face settings are present (Bug#8889).
10767
6d10d800
CY
10768 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10769 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10770 Remove unused argument.
10771
be3fb2b8
MR
107722011-06-18 Martin Rudalics <rudalics@gmx.at>
10773
bcd70d97
SM
10774 * window.el (display-buffer-default-specifiers):
10775 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10776 pop-up-window-min-width, and another reuse-window specifier
10777 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10778 (display-buffer-normalize-specifiers-2):
10779 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10780 pop-up-windows is unset. Add a reuse-window specifier for the
10781 case popping up a new window fails.
10782 (special-display-popup-frame): Remove double quoting.
28dec25a 10783 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10784
1c6d8c76
SM
107852011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10788 according to comint-completion-addsuffix.
10789
10790 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10791 (pcomplete-suffix-list): Mark as obsolete.
10792 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10793 pcomplete-seen in the closure.
10794 (pcomplete-comint-setup): Setup completion-at-point as well.
10795 (pcomplete--entries): New function.
10796 (pcomplete--env-regexp): New var.
10797 (pcomplete-entries): Rewrite to work with partial-completion and
10798 without relying on pcomplete-suffix-list.
10799 (pcomplete-pare-list): Remove, unused.
10800
25aef8b8
MR
108012011-06-17 Martin Rudalics <rudalics@gmx.at>
10802
10803 * window.el (display-buffer-alist): Set pop-up-window-min-height
10804 and pop-up-window-min-width in default value. Reported by
10805 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10806 other-window-means-other-frame.
10807 (display-buffer-macro-specifiers): Comment out entry for
10808 other-window specifier.
10809 (display-buffer-other-window-means-other-frame): New function.
10810 (display-buffer-normalize-specifiers-1): New arguments
10811 buffer-name and label. Treat other-window case specially.
10812 (display-buffer-normalize-specifiers-2): Treat other-window case
10813 specially.
10814 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10815 (display-buffer-normalize-specifiers):
10816 Call display-buffer-normalize-specifiers-3.
25aef8b8 10817
dbad4f69
MR
108182011-06-17 Martin Rudalics <rudalics@gmx.at>
10819
10820 * window.el (same-window-p): Fix two typos introduced when
10821 adding with-no-warnings.
d1067961
MR
10822 (display-buffer-normalize-specifiers-1): Don't check
10823 pop-up-frames for 'unset initialization.
10824 (display-buffer-normalize-specifiers-2): Major rewrite using
10825 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10826 (pop-up-frames, display-buffer-reuse-frames)
10827 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10828 Suggested by David Engster <deng@randomsample.de>.
10829 (even-window-heights): Initialize to 'unset.
10830 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10831 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10832 other window case.
dbad4f69 10833
9b9c9e3a
MR
108342011-06-16 Martin Rudalics <rudalics@gmx.at>
10835
bcd70d97
SM
10836 * window.el (display-buffer-normalize-specifiers-1):
10837 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10838 second argument of display-buffer (Bug#8865).
981d5c09
MR
10839 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10840 (switch-to-buffer-other-window-same-frame)
10841 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10842 Adams (Bug#8875).
9c2755e9
MR
10843 (display-buffer): Don't check noninteractive when calling
10844 display-buffer-pop-up-frame.
10845 (display-buffer-pop-up-frame): Never pop up a frame in
10846 noninteractive mode (Bug#8857).
67222e1d
MR
10847 (enlarge-window, shrink-window): Don't report an error when the
10848 window can't be resized as requested (Bug#8862).
9b9c9e3a 10849
2b75be67
SM
108502011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10851
9ffdd3ba
SM
10852 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10853
cb581a67
SM
10854 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10855
2b75be67
SM
10856 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10857
8c0e3589
AM
108582011-06-15 Alan Mackenzie <acm@muc.de>
10859
cb581a67
SM
10860 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10861 for declarators, disable knr checking to speed up for normal files.
10862 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10863
b96e6cde
LMI
108642011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10865
4bba86e6
LMI
10866 * net/network-stream.el (open-network-stream): Add the keyword
10867 :always-query-capabilities for the case where you want to force a
10868 `plain' network connection, but the protocol still requires the
10869 capabilitiy command (i.e., SMTP and EHLO).
10870
2b75be67 10871 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10872 consistency with other `-live-p' functions.
10873
efdcdbf8
SM
108742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * window.el (same-window-buffer-names, same-window-regexps)
10877 (special-display-frame-alist, special-display-popup-frame)
10878 (special-display-function, special-display-buffer-names)
10879 (special-display-regexps, pop-up-frame-alist)
10880 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10881 (pop-up-windows, split-window-preferred-function)
10882 (split-height-threshold, split-width-threshold, even-window-heights)
10883 (display-buffer-mark-dedicated): Don't encourage the use of
10884 display-buffer-alist from Elisp code.
10885
c5cde042
DN
108862011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10887
10888 * progmodes/python.el (python-mode): Derive from prog-mode.
10889 * progmodes/ps-mode.el (ps-mode):
10890 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10891 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10892 * progmodes/ld-script.el (ld-script-mode): Likewise.
10893
baa1c9ab
MR
108942011-06-15 Martin Rudalics <rudalics@gmx.at>
10895
10896 * window.el (display-buffer-alist): Trim default value to avoid
10897 popping up a new frame (Bug#8857) or reusing an arbitrary window
10898 on another frame.
10899 (display-buffer): Do not fall back on popping up a new frame in
10900 batch mode (Bug#8857).
10901
c5dd5a51
CY
109022011-06-14 Chong Yidong <cyd@stupidchicken.com>
10903
10904 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10905 (custom-theme-summary): New function.
10906 (customize-themes): Use it.
10907
d647b7c4
GM
109082011-06-13 Glenn Morris <rgm@gnu.org>
10909
10910 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10911
9481c002
MR
109122011-06-13 Martin Rudalics <rudalics@gmx.at>
10913
357f93d2
MR
10914 * help.el (help-window): Remove variable.
10915 (help-window-point-marker, temp-buffer-max-height)
10916 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10917 (help-print-return-message): Don't set help-window.
10918 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10919 (help-window-setup-finish): Remove.
10920 (help-window-display-message, help-window-setup)
10921 (with-help-window): Major rewrite based on new
10922 display-buffer-window variable.
10923
10924 * help-mode.el (help-mode-finish): Remove help-window related
10925 code.
10926
10927 * view.el (view-exits-all-viewing-windows): Remove reference to
10928 view-return-to-alist in doc-string.
10929 (view-return-to-alist): Make obsolete.
10930 (view-buffer): Call pop-to-buffer-same-window and remove
10931 undo-window code.
10932 (view-buffer-other-window): Call pop-to-buffer-other-window and
10933 simplify code. Ignore second argument.
10934 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10935 simplify code. Ignore second argument.
10936 (view-return-to-alist-update): Make obsolete.
10937 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10938 Rewrite using quit-restore window parameters.
2b75be67
SM
10939 (view-mode-exit): Rename second argument to EXIT-ONLY.
10940 Rewrite using quit-restore-window.
357f93d2
MR
10941 (View-exit, View-exit-and-edit, View-leave, View-quit)
10942 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10943 appropriate arguments.
10944 (view-end-message): Use quit-restore window parameter.
10945
9481c002
MR
10946 * window.el (display-buffer-function): Rewrite doc-string.
10947 (display-buffer-window, display-buffer-alist): New variables.
10948 (display-buffer-split-specifiers)
10949 (display-buffer-side-specifiers)
10950 (display-buffer-macro-specifiers): New constants.
10951 (display-buffer-even-window-sizes, display-buffer-set-height)
10952 (display-buffer-set-width, display-buffer-select-window)
10953 (display-buffer-in-window, display-buffer-reuse-window)
10954 (display-buffer-split-window-1, display-buffer-split-window)
10955 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10956 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10957 (display-buffer-in-side-window, normalize-buffer-to-display)
10958 (display-buffer-normalize-specifiers-1)
10959 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10960 (display-buffer-normalize-specifiers, display-buffer-frame):
10961 New functions.
9481c002
MR
10962 (display-buffer): Major rewrite.
10963 (display-buffer-other-window, display-buffer-other-frame)
10964 (pop-to-buffer, switch-to-buffer-other-window)
10965 (switch-to-buffer-other-frame): Rewrite.
10966 (display-buffer-same-window, display-buffer-same-frame)
10967 (display-buffer-same-frame-other-window)
10968 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10969 (pop-to-buffer-other-window)
10970 (pop-to-buffer-same-frame-other-window)
10971 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10972 (switch-to-buffer-other-window-same-frame): New functions.
10973 (same-window-p, special-display-p): Rewrite disabling warnings.
10974 Make obsolete.
10975 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10976 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10977 Make obsolete
10978 (same-window-buffer-names, same-window-regexps)
10979 (special-display-frame-alist, special-display-popup-frame)
10980 (special-display-function, special-display-buffer-names)
10981 (special-display-regexps, pop-up-frame-alist)
10982 (pop-up-frame-function, split-window-preferred-function)
10983 (split-height-threshold, split-width-threshold)
10984 (even-window-heights): Make obsolete.
10985
9db51aca
GM
109862011-06-12 Glenn Morris <rgm@gnu.org>
10987
10988 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10989 Misc simplifications.
9db51aca 10990
39cffb44
MR
109912011-06-12 Martin Rudalics <rudalics@gmx.at>
10992
10993 * window.el (window-safely-shrinkable-p): Restore function which
10994 was inadvertently removed in change from 2011-06-11. Declare as
10995 obsolete.
10996
2b75be67
SM
10997 * calendar/calendar.el (calendar-generate-window):
10998 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10999 window-safely-shrinkable-p.
11000
a8955be7
GM
110012011-06-12 Glenn Morris <rgm@gnu.org>
11002
11003 * progmodes/fortran.el (fortran-mode-syntax-table):
11004 * progmodes/f90.el (f90-mode-syntax-table):
11005 Set % to punctuation. (Bug#8820)
11006 (f90-find-tag-default): Remove, no longer needed.
11007
f0d4059d
DC
110082011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11009
11010 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11011
1100a63c
CY
110122011-06-11 Chong Yidong <cyd@stupidchicken.com>
11013
11014 * image.el (image-animated-p): Return animation delay in seconds.
11015 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11016 (image-animate-timeout): Remove DELAY argument. Don't assume
11017 every subimage has the same delay; get it from image-animated-p.
11018 (image-animate): Caller changed.
11019
def722bf
MA
110202011-06-11 Michael Albinus <michael.albinus@gmx.de>
11021
11022 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11023 to ignored backtrace functions.
11024
0a2bb1a9
GM
110252011-06-11 Glenn Morris <rgm@gnu.org>
11026
11027 * calendar/appt.el (appt-disp-window-function): Doc fix.
11028 (appt-check): Handle overlapping appointments. (Bug#8337)
11029
6198ccd0
MR
110302011-06-11 Martin Rudalics <rudalics@gmx.at>
11031
11032 * window.el (window-tree-1, window-tree): New functions, moving
11033 the latter to window.el.
11034 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11035 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11036 (bw-refresh-edges): Remove.
11037 (balance-windows-1, balance-windows-2): New functions.
11038 (balance-windows): Rewrite in terms of window tree functions,
11039 balance-windows-1 and balance-windows-2.
11040 (bw-adjust-window): Remove.
11041 (balance-windows-area-adjust): New function with functionality of
11042 bw-adjust-window but using resize-window.
2b75be67
SM
11043 (set-window-text-height): Rewrite doc-string.
11044 Use normalize-live-window and resize-window.
11045 (enlarge-window-horizontally, shrink-window-horizontally):
11046 Rename argument to DELTA.
6198ccd0
MR
11047 (window-buffer-height): New function.
11048 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11049 Rewrite using new window resize routines.
2b75be67
SM
11050 (kill-buffer-and-window, mouse-autoselect-window-select):
11051 Use ignore-errors instead of condition-case.
6198ccd0
MR
11052 (quit-window): Call delete-frame instead of delete-windows-on
11053 for the only buffer on frame.
11054
9397e56f
MR
110552011-06-10 Martin Rudalics <rudalics@gmx.at>
11056
11057 * loadup.el (top-level): Load window before files for the sake
11058 of replace-buffer-in-windows.
11059
11060 * files.el (read-buffer-to-switch)
11061 (switch-to-buffer-other-window)
2b75be67
SM
11062 (switch-to-buffer-other-frame, display-buffer-other-frame):
11063 Move to window.el.
9397e56f
MR
11064
11065 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11066 (previous-buffer): Move to window.el.
11067
11068 * bindings.el (unbury-buffer): Move to window.el.
11069
11070 * window.el (delete-other-windows-vertically): Move after
11071 definition of delete-other-windows.
11072 (other-window, delete-windows-on, replace-buffer-in-windows):
11073 Move here from window.c.
11074 (record-window-buffer, unrecord-window-buffer)
11075 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11076 (switch-to-next-buffer): New functions.
11077 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11078 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11079 (previous-buffer): Move here from simple.el.
11080 Call switch-to-prev-buffer.
9397e56f
MR
11081 (bury-buffer): Move here from buffer.c. Switch to previous
11082 buffer when window cannot be deleted.
11083 (unbury-buffer): Move here from bindings.el.
11084 (ctl-x-map): Move binding for other-window from window.c to
11085 here.
11086 (read-buffer-to-switch, switch-to-buffer-other-window)
11087 (switch-to-buffer-other-frame): Move here from files.el.
11088 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11089 (switch-to-buffer): Move here from buffer.c.
11090 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11091
562dd5e9
MR
110922011-06-10 Martin Rudalics <rudalics@gmx.at>
11093
11094 * window.el (window-min-height, window-min-width): Move here
11095 from window.c. Add defcustoms and rewrite doc-strings.
11096 (resize-mini-window, resize-window): New functions.
11097 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11098 Move here from window.c.
11099 (maximize-window, minimize-window): New functions.
11100 (delete-window, delete-other-windows, split-window): Move here
11101 from window.c.
11102 (window-split-min-size): New function.
11103 (split-window-keep-point): Mention split-window-above-each-other
11104 instead of split-window-vertically.
2b75be67 11105 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11106 Rename split-window-vertically to split-window-above-each-other
11107 and provide defalias for old definition.
11108 (split-window-side-by-side, split-window-horizontally):
11109 Rename split-window-horizontally to split-window-side-by-side
11110 and provide defalias for the old definition.
562dd5e9
MR
11111 (ctl-x-map): Move bindings for delete-window,
11112 delete-other-windows and enlarge-window here from window.c.
11113 Replace bindings for split-window-vertically and
11114 split-window-horizontally by bindings for
11115 split-window-above-each-other and split-window-side-by-side.
11116
11117 * cus-start.el (all): Remove entries for window-min-height and
11118 window-min-width. Add entries for window-splits and
11119 window-nest.
11120
f0da764a
GM
111212011-06-09 Glenn Morris <rgm@gnu.org>
11122
80675c21
GM
11123 * calendar/appt.el (appt-mode-line): New function.
11124 (appt-check, appt-disp-window): Use it.
11125
f0da764a
GM
11126 * files.el (hack-one-local-variable-eval-safep):
11127 Allow minor-modes with explicit +/-1 arguments.
11128
59f623b7
TZ
111292011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11130
11131 * term/xterm.el (xterm): Add defgroup.
11132 (xterm-extra-capabilities): Add defcustom to supply known xterm
11133 capabilities, skip querying them, or query them (default).
11134 (terminal-init-xterm): Use it.
11135 (terminal-init-xterm-modify-other-keys): New function to set up
11136 modifyOtherKeys support to simplify `terminal-init-xterm'.
11137
9aab8e0d
MR
111382011-06-09 Martin Rudalics <rudalics@gmx.at>
11139
11140 * window.el (resize-window-reset, resize-window-reset-1)
11141 (resize-subwindows-skip-p, resize-subwindows-normal)
11142 (resize-subwindows, resize-other-windows, resize-this-window)
11143 (resize-root-window, resize-root-window-vertically)
11144 (window-deletable-p, window-or-subwindow-p)
11145 (frame-root-window-p): New functions.
11146
e8b08aee
GM
111472011-06-09 Glenn Morris <rgm@gnu.org>
11148
11149 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11150 (ange-ftp-get-files): Use it.
11151
254c37a5
AK
111522011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11153
11154 * mail/sendmail.el (mail-recover-1, mail-recover):
11155 * files.el (recover-file, recover-session):
11156 Handle dired-listing-switches not being just a single short option.
11157
35d7dbd3
GM
111582011-06-09 Glenn Morris <rgm@gnu.org>
11159
11160 * calendar/appt.el (appt-display-message, appt-disp-window):
11161 Handle lists of appointments.
11162
387522b2
MR
111632011-06-08 Martin Rudalics <rudalics@gmx.at>
11164
2b75be67
SM
11165 * window.el (one-window-p): Move down in code.
11166 Rewrite doc-string.
11167 (window-current-scroll-bars): Rewrite doc-string.
11168 Normalize live window argument.
387522b2
MR
11169 (walk-windows, get-window-with-predicate, count-windows):
11170 Rewrite doc-string. Use window-list-1.
11171 (window-in-direction-2, window-in-direction, get-mru-window):
11172 New functions.
11173
d8e4b68b 111742011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11175
11176 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11177 Doc fix (Bug#8713).
11178
111792011-06-08 Chong Yidong <cyd@stupidchicken.com>
11180
11181 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11182
111832011-06-08 Juanma Barranquero <lekktu@gmail.com>
11184
11185 * loadhist.el (unload-feature-special-hooks):
11186 Add `comint-output-filter-functions'.
11187
0de12c52
IK
111882011-06-08 Ivan Kanis <gnu@kanis.fr>
11189
11190 * calendar/appt.el (appt-check): Move some initializations into the let.
11191
f3d1777e
MR
111922011-06-08 Martin Rudalics <rudalics@gmx.at>
11193
11194 * window.el (window-height): Defalias to window-total-height.
11195 (window-width): Defalias to window-body-width.
11196
18af70d0
CY
111972011-06-07 Chong Yidong <cyd@stupidchicken.com>
11198
11199 * image-mode.el (image-toggle-animation): New command.
11200 (image-mode-map): Bind it to RET.
11201 (image-mode): Update message.
11202 (image-toggle-display-image): Avoid a spurious cache flush.
11203 (image-transform-rotation): Doc fix.
11204 (image-transform-properties): Return quickly in the normal case.
11205 (image-animate-loop): Rename from image-animate-max-time.
11206
2b75be67 11207 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11208 (create-animated-image): Remove unnecessary function.
11209 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11210 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11211 (image-animate-timer): Use car-safe.
11212 (image-animate-timeout): Rename argument.
11213
190b47e6
MR
112142011-06-07 Martin Rudalics <rudalics@gmx.at>
11215
11216 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11217 window.c. Rename first argument to ALL-FRAMES.
11218 Rephrase doc-strings.
11219 (get-buffer-window-list): Rewrite using window-list-1.
11220 Rephrase doc-string.
a1511caf
MR
11221 (window-safe-min-height, window-safe-min-width): New constants.
11222 (window-size-ignore, window-min-size, window-min-size-1)
11223 (window-sizable, window-sizable-p, window-size-fixed-1)
11224 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11225 (window-max-delta-1, window-max-delta, window-resizable)
11226 (window-resizable-p, window-total-height, window-total-width)
11227 (window-body-width): New functions.
11228 (window-full-height-p, window-full-width-p): Rewrite using
11229 window-total-size.
11230 (window-body-height): Rewrite using window-body-size.
190b47e6 11231
85cc1f11
MR
112322011-06-06 Martin Rudalics <rudalics@gmx.at>
11233
11234 * window.el (window-right, window-left, window-child)
11235 (window-child-count, window-last-child, window-any-p)
11236 (normalize-live-buffer, normalize-live-frame)
11237 (normalize-any-window, normalize-live-window)
11238 (window-iso-combination-p, window-iso-combined-p)
11239 (window-iso-combinations)
11240 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11241 (windows-with-parameter, window-with-parameter)
11242 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11243 (window-atom-check, window-side-check, window-check):
11244 New functions.
85cc1f11
MR
11245 (ignore-window-parameters, window-sides, window-sides-vertical)
11246 (window-sides-slots): New variables.
11247 (window-size-fixed): Move down in code. Minor doc-string fix.
11248
e7156492
AS
112492011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11250
11251 * comint.el (comint-dynamic-complete-as-filename)
11252 (comint-dynamic-complete-filename): Correctly call
11253 completion-in-region.
11254
7e821d0d
DD
112552011-06-05 Deniz Dogan <deniz@dogan.se>
11256
11257 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11258 in last change.
11259
ac09b8a1
DD
112602011-06-05 Deniz Dogan <deniz@dogan.se>
11261
11262 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11263 (rcirc): Use it to prompt for encryption.
11264
34699b85
RW
112652011-06-05 Roland Winkler <winkler@gnu.org>
11266
11267 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11268 (bibtex-search-entries): New command bound to C-c C-a.
11269 (bibtex-display-entries): New function.
11270
004dedd3
RW
112712011-06-05 Roland Winkler <winkler@gnu.org>
11272
11273 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11274 (bibtex-insert-kill): After yanking insert newline if necessary.
11275 (bibtex-initialize): Call bibtex-string-files-init only once.
11276 (bibtex-mode): Do not call easy-menu-add.
11277 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11278 (bibtex-yank): Set arg properly if nil.
11279
022fe7ce
RW
112802011-06-05 Roland Winkler <winkler@gnu.org>
11281
2b75be67
SM
11282 * textmodes/bibtex.el (bibtex-search-entry-globally):
11283 New variable.
022fe7ce
RW
11284 (bibtex-search-entry): Use it.
11285
b7c3692a
RW
112862011-06-05 Roland Winkler <winkler@gnu.org>
11287
11288 * textmodes/bibtex.el (bibtex-entry-format): New option
11289 sort-fields.
11290 (bibtex-format-entry, bibtex-reformat): Honor this option.
11291 (bibtex-parse-entry): Return fields in proper order.
11292
8eda563d
JB
112932011-06-05 Juanma Barranquero <lekktu@gmail.com>
11294
11295 * doc-view.el (doc-view-remove-if): Move computation of result out
11296 of `dolist' to silence misleading lexical-binding warning.
11297
7dbe3dbc
CY
112982011-06-04 Chong Yidong <cyd@stupidchicken.com>
11299
11300 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11301 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11302
0c33dd17
MA
113032011-06-04 Michael Albinus <michael.albinus@gmx.de>
11304
11305 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11306 "SunOS 5.10".
11307
f8f91c2b
MA
113082011-06-04 Michael Albinus <michael.albinus@gmx.de>
11309
11310 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11311 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11312 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11313 (tramp-parse-putty):
11314 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11315 (tramp-completion-function-alist-ssh)
11316 (tramp-completion-function-alist-telnet)
11317 (tramp-completion-function-alist-su)
11318 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11319 cookie.
11320
11321 * net/tramp-ftp.el:
11322 * net/tramp-sh.el:
11323 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11324 load "tramp.el" `tramp-set-completion-function'.
11325
e17d9003
SM
113262011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * shell.el: Require and use pcomplete.
11329 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11330 (shell-completion-vars): Set pcomplete-default-completion-function.
11331
6c4cab03
DD
113322011-06-04 Deniz Dogan <deniz@dogan.se>
11333
11334 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11335 `memq' (Bug#8799).
11336
ea9fafe0
SM
113372011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11340
b3e945d3
JB
113412011-06-02 Juanma Barranquero <lekktu@gmail.com>
11342
11343 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11344 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11345 * vc/log-view.el (log-view-beginning-of-defun):
11346 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11347 (smerge-refine-forward, smerge-refine-chopup-region):
11348 Silence warning for unused `dotimes' counter variables.
11349
7d520089
SM
113502011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * net/tramp.el (tramp-with-progress-reporter): Rename from
11353 with-progress-reporter. Use `declare'.
11354 * net/tramp-smb.el:
11355 * net/tramp-sh.el:
11356 * net/tramp-gvfs.el: Update all uses.
11357
a1c2400f
JB
113582011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11359
11360 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11361 buffer isn't killed before making it current.
11362
2403c841
SM
113632011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 Silence various byte-compiler warnings.
11366 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11367 `access-type' and new obsolescence format.
11368 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11369 new format.
11370 (byte-compile-check-variable): New `access-type' argument.
11371 Only warn if the access-type is obsolete.
11372 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11373 (byte-compile-variable-set): Adjust callers.
11374 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11375 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11376 setting it as obsolete.
11377 * simple.el (minibuffer-completing-symbol):
11378 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11379 access as obsolete.
11380 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11381 obsolete yet.
11382 * international/quail.el (quail-mouse-choose-completion): Remove unused
11383 code referring to obsolete var.
11384 (quail-choose-completion-string): Remove.
11385 * server.el (server-clients-with, server-kill-buffer-query-function)
11386 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11387 * proced.el (proced-send-signal):
11388 * emacs-lisp/lisp.el (lisp-complete-symbol):
11389 Replace completion-annotate-function with completion-extra-properties.
11390
2462470b
SM
113912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11392
fb5b2591
SM
11393 * simple.el (goto-line): Use read-number.
11394 (overriding-map-is-bound): Remove.
11395 (saved-overriding-map): Change default.
11396 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11397 Take the map as argument.
11398 (universal-argument, negative-argument, digit-argument): Use it.
11399 (restore-overriding-map): Adjust.
11400 (do-auto-fill): Use fill-forward-paragraph.
11401 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11402
fd6fa53f
SM
11403 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11404 (minibuffer-inactive-mode): New major mode.
11405 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11406 the *Messages* buffer" hack.
11407 (mouse-popup-menubar): Don't burp if the event is a normal key.
11408
2462470b
SM
11409 Miscellaneous tweaks.
11410 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11411 lexical scoping as in subr.el's dolist and dotimes.
11412 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11413 Silence compiler warning.
11414 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11415 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11416 * international/ccl.el (ccl-compile): Trivial simplification.
11417 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11418 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11419 `printflag' argument.
11420 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11421 Purecopy the whole obsolescence data.
11422
108bf785
LL
114232011-06-01 Leo Liu <sdl.web@gmail.com>
11424
11425 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11426 improve doc-string as suggested by Marco Pessotto
11427 <melmothx@gmail.com>.
11428 (rcirc-print): Fix last change.
11429
30a23501
SM
114302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * minibuffer.el (complete-with-action): Return nil for the metadata and
11433 boundaries of non-functional tables.
11434 (completion-table-dynamic): Return nil for the metadata.
11435 (completion-table-with-terminator): Add default case, using
11436 complete-with-action.
11437 (completion--metadata): New function.
11438 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11439 to try and avoid pathological performance problems.
11440 (completion--embedded-envvar-table): Return `category' metadata.
11441
bcd54f83
LMI
114422011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11443
11444 * subr.el (process-alive-p): New tiny convenience function.
11445
e227544d
SM
114462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11449 content but also its previous major mode.
11450
e8296fdc
HE
114512011-05-31 Helmut Eller <eller.helmut@gmail.com>
11452
4d61f28d 11453 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11454 *Backtrace* buffer when we exit with C-M-c.
11455
620c53a6
SM
114562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * minibuffer.el: Add metadata method to completion tables.
11459 (completion-category-overrides): New defcustom.
11460 (completion-metadata, completion--field-metadata)
11461 (completion-metadata-get, completion--styles)
11462 (completion--cycle-threshold): New functions.
11463 (completion-try-completion, completion-all-completions):
11464 Add `metadata' argument to choose completion-styles.
11465 (completion--do-completion): Use metadata to choose cycling.
11466 (completion-all-sorted-completions): Use metadata for sorting.
11467 Remove :completion-cycle-penalty which is not needed any more.
11468 (completion--try-word-completion): Add `metadata' argument.
11469 (minibuffer-completion-help): Check metadata for annotation function
11470 and sorting.
11471 (completion-file-name-table): Return `category' metadata.
11472 (minibuffer-completing-file-name): Make obsolete.
11473 * simple.el (minibuffer-completing-symbol): Make obsolete.
11474 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11475 completion-try-completion.
11476
1257e755
SM
114772011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11478
11479 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11480
3767e706
LL
114812011-05-30 Leo Liu <sdl.web@gmail.com>
11482
11483 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11484 (rcirc-print): Decode all incoming messages (bug#8744).
11485 (rcirc-decode-coding-system): Allow value nil for automatic coding
11486 system detection.
3767e706 11487
d1a5d56a
GM
114882011-06-01 Glenn Morris <rgm@gnu.org>
11489
11490 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11491
e8cbec34
CY
114922011-05-29 Chong Yidong <cyd@stupidchicken.com>
11493
11494 * image.el (image-animate-max-time): Allow nil and t values.
11495 Default to nil.
11496 (create-animated-image): Doc fix.
11497 (image-animate-start): Remove second arg; just use
11498 image-animate-max-time.
11499 (image-animate-timeout): Doc fix. Args changed.
11500
11501 * image-mode.el (image-toggle-display-image): Ensure that the
11502 image spec passed to the animate timer is the same object as in
58179cce 11503 the buffer's display property (Bug#6981).
e8cbec34
CY
11504 (image-transform-properties): Doc fix.
11505
11506 * image.el (image-animate-max-time): Default to nil.
11507
159daf87
MR
115082011-05-29 Martin Rudalics <rudalics@gmx.at>
11509
11510 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11511 entire buffer list (Bug#8184).
11512
d66c4c7c
CY
115132011-05-29 Chong Yidong <cyd@stupidchicken.com>
11514
11515 * image.el (imagemagick-types-inhibit)
11516 (imagemagick-register-types): Doc fix.
11517
80aec780
DD
115182011-05-29 Deniz Dogan <deniz@dogan.se>
11519
11520 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11521 default.
11522
1dd3c2d9
CY
115232011-05-29 Chong Yidong <cyd@stupidchicken.com>
11524
11525 * select.el: Don't perform clipboard-manager saving in hooks;
11526 leave the hooks empty.
11527
60e56523
LL
115282011-05-28 Leo Liu <sdl.web@gmail.com>
11529
11530 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11531 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11532 (occur-edit-mode): New major mode (Bug#8463).
11533 (occur-after-change-function): New function.
11534 (occur-engine): Give Occur tags a read-only property.
11535
2b1e1a22
KR
115362011-05-28 Kevin Ryde <user42@zip.com.au>
11537
11538 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11539
5d344e88
CY
115402011-05-28 Chong Yidong <cyd@stupidchicken.com>
11541
8e6ca83d
CY
11542 * bindings.el (help-echo): Make the initial non-indicator dash
11543 empty on graphical terminals (Bug#7295).
11544
5d344e88
CY
11545 * files.el (auto-mode-alist): Move config rule after the
11546 in-stripping one (Bug#8547).
11547
bfbbace7
CY
11548 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11549
fbeba6e2
CY
11550 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11551 setting (Bug#8740).
11552
60ed8c72
AA
115532011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11554
4ac619f0
AA
11555 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11556 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11557 (Bug#8539).
60ed8c72 11558
23db196e
CY
115592011-05-28 Chong Yidong <cyd@stupidchicken.com>
11560
11561 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11562
5012f24c
DK
115632011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11564
11565 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11566 (hs-hide-block-at-point, hs-find-block-beginning)
11567 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11568 (Bug#8279).
11569
6a639b16
GM
115702011-05-28 Glenn Morris <rgm@gnu.org>
11571
11572 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11573
d43eaf2c
CY
115742011-05-28 Chong Yidong <cyd@stupidchicken.com>
11575
5199bde1
CY
11576 * help-fns.el (describe-function-1): If the function is a derived
11577 major mode, print the parent mode.
11578
d43eaf2c
CY
11579 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11580 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11581
423428a8
SM
115822011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11583
0ff8e1ba 11584 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11585 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11586 * progmodes/etags.el (tags-completion-at-point-function):
11587 * info-look.el (info-lookup-completions-at-point): Mark as
11588 non-exclusive.
11589 (info-complete): Adjust accordingly.
11590
423428a8
SM
11591 * info-look.el: Convert to lexical-binding and completion-at-point.
11592 (info-lookup-completions-at-point): New function.
11593 (info-complete): Use it and completion-in-region.
11594
b74aa22b
DA
115952011-05-28 Drew Adams <drew.adams@oracle.com>
11596
11597 * isearch.el: Let M-e start with point at the first mismatched char.
11598 (isearch-fail-pos): New function.
11599 (isearch-edit-string): Use it.
11600
66e2e71d
DK
116012011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11602
11603 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11604
b1890b0f 116052011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11606
11607 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11608 traversal functions for avl-trees.
11609 (avl-tree--stack): New struct.
11610 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11611 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11612 (avl-tree--do-enter): Add optional `updatefun' arg.
11613 Change return value.
eb95d01d 11614 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11615 (avl-tree--do-delete): Add `test' and `nilflag' args.
11616 Change return value.
eb95d01d
TC
11617 (avl-tree-member): Add optional `nilflag'
11618 (avl-tree-member-p): New function.
11619 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11620 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11621 (avl-tree-stack-empty-p): New functions.
11622
3769ddcf
TC
11623 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11624 avl-tree--del-balance1 and make it work both ways.
11625 (avl-tree--del-balance2): Remove.
11626 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11627 make it work both ways.
11628 (avl-tree--enter-balance2): Remove.
11629 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11630 New macros.
11631 (avl-tree--mapc, avl-tree-map): Add direction argument.
11632
eb95d01d 116332011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11634
11635 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11636
a9f737ee
CY
116372011-05-27 Chong Yidong <cyd@stupidchicken.com>
11638
11639 * select.el: Support clipboard managers with built-in function
11640 x-clipboard-manager-save, via delete-frame-functions and
11641 kill-emacs-hook.
11642 (xselect-convert-to-targets): Add MULTIPLE target to list.
11643 (xselect-convert-to-save-targets): New function.
11644
c92a1e54
KH
116452011-05-27 Kenichi Handa <handa@m17n.org>
11646
11647 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11648 let-binding rfc2047-encode-encoded-words to nil.
11649
e145f188
GM
116502011-05-27 Glenn Morris <rgm@gnu.org>
11651
5ec8a862
GM
11652 * mail/emacsbug.el: Don't require url-util.
11653
4b29d9fb
GM
11654 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11655
e145f188
GM
11656 * files.el (set-auto-mode):
11657 Also respect mode: entries at the end of the file. (Bug#8586)
11658
7d15102b
GM
116592011-05-26 Glenn Morris <rgm@gnu.org>
11660
98f593b8
GM
11661 * files.el (hack-local-variables-prop-line, hack-local-variables):
11662 Downcase mode names, as seems to be traditional.
27b48e63 11663 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11664
7d15102b
GM
11665 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11666 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11667
51d5b4ec
JD
116682011-05-25 Julien Danjou <julien@danjou.info>
11669
11670 * textmodes/rst.el (rst-define-level-faces): Do not define face
11671 symbol if it is already defined.
11672
91513f63
VB
116732011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11674
11675 * play/5x5.el (5x5-new-game, 5x5-randomize):
11676 Reset 5x5-solver-output to nil when a new grid is cast.
11677 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11678 these debugging traces, as defmacro breaks the compiled code.
11679
4d90d6d0
DK
116802011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11681
11682 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11683
e1b90ef6
LL
116842011-05-24 Leo Liu <sdl.web@gmail.com>
11685
11686 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11687 (vc-bzr-sha1): Adapt.
11688
d8e4b68b 11689 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11690
11691 * bindings.el: Provide sha1 feature.
11692
db0406bb 116932011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11694
11695 * mail/sendmail.el: Require `rfc2047'.
11696 (mail-insert-from-field): Do not perform RFC2047 encoding.
11697 (mail-encode-header): New function.
11698 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11699 buffer to the return value of select-message-coding-system.
11700 Call mail-encode-header.
b8d747b9
KH
11701
11702 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11703
db0406bb 117042011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11705
4d90d6d0
DK
11706 * mail/supercite.el (sc-default-cite-frame):
11707 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11708
eb8a5e9b
GM
117092011-05-24 Glenn Morris <rgm@gnu.org>
11710
f8630703
GM
11711 * progmodes/python.el (brm-menu): Declare.
11712
8831bbed
GM
11713 * emulation/viper.el (viper-set-hooks): Declare.
11714
eb8a5e9b
GM
11715 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11716 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11717 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11718 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11719 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11720 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11721
a2a25d24
SM
117222011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 Add an :exit-function for completion-at-point.
11725
11726 * minibuffer.el (completion--done): New fun.
11727 (completion--do-completion): Use it. New arg `expect-exact'.
11728 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11729 since completion--do-completion does it for us now.
11730 (minibuffer-force-complete): Use completion--done and
11731 completion--replace. Handle sole-completion case with more care.
11732 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11733 (completion-extra-properties): New var.
11734 (completion-annotate-function): Make obsolete.
11735 (minibuffer-completion-help): Adjust accordingly.
11736 Use completion-list-insert-choice-function.
11737 (completion-at-point, completion-help-at-point):
11738 Bind completion-extra-properties.
11739 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11740 * simple.el (completion-list-insert-choice-function): New var.
11741 (completion-setup-function): Preserve it.
11742 (choose-completion): Pay attention to it, shuffle the code a bit.
11743 (choose-completion-string): New arg `insert-function'.
11744
11745 * textmodes/bibtex.el: Convert to lexical binding.
11746 (bibtex-mode-map): Use completion-at-point.
11747 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11748 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11749 (bibtex-complete): Define as obsolete alias.
11750 (bibtex-complete-internal): Remove.
11751 (bibtex-format-entry): Remove unused sub-group in regexp.
11752 * shell.el (shell--command-completion-data)
11753 (shell-environment-variable-completion):
11754 * pcomplete.el (pcomplete-completions-at-point):
11755 * comint.el (comint--complete-file-name-data): Use :exit-function
11756 instead of completion-table-with-terminator so it also works for
11757 choose-completion.
11758
e44e373d
SM
117592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11760
4f91a816
SM
11761 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11762
782fc819
SM
11763 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11764 (bug#8710).
11765
e44e373d
SM
11766 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11767
381987c3
KM
117682011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11769
11770 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11771 customization variable and implement: If non-nil, auto-fill will
11772 be inhibited while on topic's header line.
11773
b776bc70
VB
117742011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11775
11776 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11777 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11778 always have a solution in grid size = 5 cases.
11779 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11780 (5x5-solver-output, 5x5-log-buffer): New vars.
11781 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11782 Make these variables buffer local to achieve 5x5 multi-session-ness.
11783 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11784 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11785 (5x5-solve-suggest): New funs.
11786 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11787 randomize a grid so that we ensure that there is always a solution.
11788 (5x5-make-random-grid): Allow other movement than flipping.
11789
7de88b6e
KR
117902011-05-23 Kevin Ryde <user42@zip.com.au>
11791
11792 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11793 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11794 advice and passes PREDICATE.
11795
b1ef1257
SM
117962011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11797
bbca48fe
SM
11798 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11799 byte-compile-lambda if it's actually a lambda.
11800
b1ef1257
SM
11801 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11802 Fix function quoting. Use backquote better.
11803
92a9cc65
YS
118042011-05-22 Yuanle Song <sylecn@gmail.com>
11805
11806 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11807 matching (Bug#8516).
11808
f0fb8059
JA
118092011-01-22 Jari Aalto <jari.aalto@cante.net>
11810
11811 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11812 different face (Bug#8178).
11813
d5b44c93
CY
118142011-05-22 Chong Yidong <cyd@stupidchicken.com>
11815
11816 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11817 defface (Bug#8144).
11818
79106a44
SM
118192011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11820
9c848d8a
SM
11821 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11822 funcall as well (bug#8712). Warn when performing those conversions.
11823 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11824
79106a44
SM
11825 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11826
88dfa756
GM
118272011-05-22 Glenn Morris <rgm@gnu.org>
11828
11829 * files.el (hack-local-variables-prop-line): Small simplifications.
11830 (hack-local-variables, hack-local-variables-prop-line):
11831 If MODE-ONLY, return the mode, rather than just `t'.
11832
b7cf2c79
SM
118332011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11834
11835 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11836
3f1a8558
GM
118372011-05-21 Glenn Morris <rgm@gnu.org>
11838
7e4ccca3
GM
11839 * files.el (hack-local-variables-prop-line, hack-local-variables):
11840 If only interested in the mode, don't bother doing the other stuff.
11841
637d46ca
GM
11842 * image-mode.el (image-after-revert-hook):
11843 Redraw all frames on which the image is visible. (Bug#8567)
11844
973d955b
GM
11845 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11846
3f1a8558
GM
11847 * wid-edit.el (widget-checklist-match-inline):
11848 Fix 2011-04-19 change. (Bug#8649)
11849
96479927
SM
118502011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11851
1dcf791f
SM
11852 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11853 Also allow singlespace after single-letter capitals followed by a dot.
11854
96479927
SM
11855 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11856 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11857
35fd0881
N
118582011-05-20 Nix <nix@esperi.org.uk>
11859
11860 * files.el (basic-save-buffer-2):
11861 Fix handling of break-hardlink-on-save with non-existent files.
11862
82745640
DD
118632011-05-19 Deniz Dogan <deniz@dogan.se>
11864
11865 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11866 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11867
4a720484
GM
118682011-05-19 Glenn Morris <rgm@gnu.org>
11869
d1f21341
GM
11870 * progmodes/f90.el (f90-type-def-re):
11871 Handle "type, bind(c)". (Bug#8691)
11872
4a720484
GM
11873 * emacs-lisp/autoload.el (batch-update-autoloads):
11874 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11875
2fb0a219
MA
118762011-05-18 Michael Albinus <michael.albinus@gmx.de>
11877
11878 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11879 property for the correct connection in case of multihops.
11880
e565dd37
GM
118812011-05-18 Glenn Morris <rgm@gnu.org>
11882
c2571358 11883 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11884 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11885
e565dd37
GM
11886 Rationalize calendar handling of day and month abbrev-arrays.
11887 * calendar/calendar.el (calendar-customized-p): New function.
11888 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11889 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11890 Add :set function.
11891 (calendar-abbrev-length, calendar-day-abbrev-array)
11892 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11893 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11894 Elements may no longer be nil.
11895 (calendar-day-name, calendar-month-name):
11896 Update for changed nature of abbrev arrays.
11897 * calendar/diary-lib.el (diary-name-pattern):
11898 Update for changed nature of abbrev arrays.
11899 (diary-mark-entries-1): Update calendar-make-alist calls.
11900 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11901 * calendar/cal-html.el (cal-html-day-abbrev-array):
11902 Simply inherit from calendar-day-abbrev-array.
11903
1d99a745
SM
119042011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 * progmodes/grep.el (grep-mode): Disable default
11907 compilation-directory-matcher setting (bug#8684).
11908
7c1d9aa0
MA
119092011-05-17 Michael Albinus <michael.albinus@gmx.de>
11910
11911 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11912 instead of "head" and "tail". There were problems with SunOS 5.9,
11913 and it performs better.
11914
3952e9d8
GM
119152011-05-17 Glenn Morris <rgm@gnu.org>
11916
2dd12e7f
GM
11917 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11918
e4157b9c
GM
11919 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11920 Replace obsolete function.
11921
8e249bbd
GM
11922 * shell.el (pcomplete-parse-arguments-function): Declare.
11923
3952e9d8
GM
11924 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11925 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11926 (appt-check): Doc fixes.
11927 (appt-disp-window-function, appt-delete-window-function):
11928 Remove needless special case in custom :type.
11929 (appt-display-count): Default to 0, not nil.
11930 (appt-check): Reset appt-display-count to 0, not nil.
11931
c71a0d48 119322011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11933
c71a0d48
GM
11934 * progmodes/python.el (python-font-lock-keywords):
11935 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11936
31d55be9
SM
119372011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11938
11939 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11940
3bfacb2f
KR
119412011-05-16 Kevin Ryde <user42@zip.com.au>
11942
11943 * info-look.el (makefile-automake-mode): New setups, looking in
11944 automake manual, then makefile-mode.
11945 (makefile-mode): Remove automake manual, have it just in
11946 makefile-automake-mode since there's various things different or
11947 not relevant to plain make.
11948 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11949 believe a hypothetical automake-mode would go to makefile-mode,
11950 not the other way around.
11951
c8e83751
CY
119522011-05-15 Chong Yidong <cyd@stupidchicken.com>
11953
5e9e35cd
CY
11954 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11955 hunk-end tags (Bug#8672).
11956
c8e83751
CY
11957 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11958 vc-annotate-show-diff-revision-at-line (Bug#8671).
11959
50b23e5a
GM
119602011-05-14 Glenn Morris <rgm@gnu.org>
11961
7210a739
GM
11962 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11963 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11964 (change-log-font-lock-keywords): Also handle multiple author lines
11965 with leading tabs. (Bug#8644)
7210a739 11966
4691905a
GM
11967 * calendar/appt.el (appt-check): Rename some local variables.
11968 Some simplification/reordering.
11969
50b23e5a
GM
11970 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11971 (feedmail-sendmail-f-doesnt-sell-me-out)
11972 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11973 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11974 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11975 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11976 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11977 (feedmail-binmail-gnulinuxish-template):
11978 Rename from feedmail-binmail-linuxish-template.
11979 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11980 Use insert-buffer-substring.
11981
215cda7c
BC
119822011-05-14 Bill Carpenter <bill@carpenter.org>
11983
11984 * mail/feedmail.el (feedmail-patch-level): Increase.
11985 (feedmail-debug): New custom group.
11986 (feedmail-confirm-outgoing-timeout)
11987 (feedmail-sendmail-f-doesnt-sell-me-out)
11988 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11989 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11990 (feedmail-sender-line, feedmail-from-line)
11991 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11992 (feedmail-spray-this-address)
215cda7c
BC
11993 (feedmail-spray-address-fiddle-plex-list)
11994 (feedmail-queue-use-send-time-for-date)
11995 (feedmail-queue-use-send-time-for-message-id)
11996 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11997 (feedmail-buffer-eating-function):
11998 Doc fixes.
11999 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12000 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12001 (feedmail-message-action-scroll-down): New functions.
12002 (feedmail-queue-directory, feedmail-queue-draft-directory):
12003 Use expand-file-name.
12004 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12005 Remove C-v help entry.
12006 (feedmail-queue-buffer-file-name): New variable.
12007 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12008 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12009 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12010 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12011 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12012 (feedmail-message-action-toggle-spray)
12013 (feedmail-run-the-queue-no-prompts)
12014 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12015 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12016 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12017 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12018 (feedmail-envelope-deducer, feedmail-fiddle-from)
12019 (feedmail-fiddle-sender, feedmail-default-date-generator)
12020 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12021 (feedmail-fiddle-spray-address)
12022 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12023 (feedmail-fiddle-list-of-fiddle-plexes)
12024 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12025 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12026 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12027 Change default. Doc fix.
12028 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12029 (feedmail-binmail-linuxish-template): New constant.
12030 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12031 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12032 (feedmail-send-it): Add debug call.
12033 Use feedmail-queue-buffer-file-name, and
12034 feedmail-send-it-immediately-wrapper.
12035 (feedmail-message-action-send): Add debug call.
12036 Use feedmail-send-it-immediately-wrapper.
12037 (feedmail-queue-express-to-queue): Add debug call.
12038 Run feedmail-queue-express-hook.
12039 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12040 (feedmail-message-action-help-blat):
12041 Rename from feedmail-queue-send-edit-prompt-help-first.
12042 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12043 Check line-endings. Handle errors better.
12044 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12045 Doc fix. Add debug call.
12046 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12047 Use feedmail-queue-send-edit-prompt-inner.
12048 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12049 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12050 from feedmail-queue-send-edit-prompt.
12051 (feedmail-queue-send-edit-prompt-help)
12052 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12053 (feedmail-tidy-up-slug): Add debug call.
12054 Respect feedmail-queue-slug-suspect-regexp.
12055 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12056 (feedmail-dump-message-to-queue): Add debug call.
12057 Expand queue-directory.
12058 (feedmail-dump-message-to-queue): Change message slightly.
12059 Use feedmail-say-chatter.
12060 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12061 (feedmail-send-it-immediately-wrapper): New function.
12062 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12063 Insert empty string rather than newline. Handle full-frame case.
12064 Use catch/throw. Use feedmail-say-chatter.
12065 (feedmail-fiddle-from): Try mail-host-address.
12066 (feedmail-default-message-id-generator): Doc fix.
12067 Bind system-time-locale. Handle missing end.
12068 (feedmail-fiddle-x-mailer): Add debug call.
12069 Handle feedmail-x-mailer-line being nil.
12070 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12071 Add debug call. Use buffer-substring-no-properties.
12072 (feedmail-say-debug, feedmail-say-chatter): New functions.
12073 (feedmail-find-eoh): Give an explicit error.
12074
42c7e61e
UJ
120752011-05-13 Ulf Jasper <ulf.jasper@web.de>
12076
c2571358 12077 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12078 family from helvetica to sans.
c2571358 12079 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12080 etc/images/newsticker.
12081
c2571358 12082 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12083 family from helvetica to sans.
12084
12085 * net/newst-plainview.el (newsticker-new-item-face)
12086 (newsticker-old-item-face, newsticker-immortal-item-face)
12087 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12088 (newsticker-statistics-face): Change default family from
42c7e61e 12089 helvetica to sans.
c2571358 12090 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12091 etc/images/newsticker.
12092
5d3385a0
JB
12093 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12094 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12095 auto-marking.
12096
8497a297
DV
120972011-05-13 Didier Verna <didier@xemacs.org>
12098
12099 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12100 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12101 TODO entries.
8497a297
DV
12102 (lisp-lambda-list-keyword-parameter-indentation)
12103 (lisp-lambda-list-keyword-parameter-alignment)
12104 (lisp-lambda-list-keyword-alignment): New customizable user options.
12105 (lisp-indent-defun-method): Improve docstring.
12106 (extended-loop-p): Fix comment.
12107 (lisp-indent-lambda-list-keywords-regexp): New variable.
12108 (lisp-indent-lambda-list): New function.
12109 (lisp-indent-259): Use it.
12110 (lisp-indent-defmethod): Support for more than one
12111 method qualifier and properly indent methods lambda-lists.
12112 (defgeneric): Provide a missing common-lisp-indent-function property.
12113
f278f87f
SM
121142011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12117 bounds for the empty string (bug#8667).
12118
5233edd7
GM
121192011-05-13 Glenn Morris <rgm@gnu.org>
12120
5237a44f
GM
12121 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12122
8340026c 12123 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12124 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12125
5233edd7 12126 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12127 (appt-time-msg-list): Doc fix.
a5464014 12128 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12129
92d10796
AS
121302011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12131
12132 * progmodes/ld-script.el (ld-script-keywords)
12133 (ld-script-builtins): Update keywords list.
12134
914a0ae1
SM
121352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12136
c89be45f
SM
12137 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12138
914a0ae1
SM
12139 * shell.el (shell-completion-vars): New function.
12140 (shell-mode):
12141 * simple.el (read-shell-command): Use it.
12142 (blink-matching-open): No need for " [...]" in minibuffer-message.
12143
98dc3df3
GM
121442011-05-12 Glenn Morris <rgm@gnu.org>
12145
12146 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12147 (appt-check): Simplify.
12148
d2fc7e3d 121492011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12150
4d61f28d 12151 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12152 literal "/dev/null".
12153
d2fc7e3d 121542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12155
12156 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12157 Fix typo.
12158
d2fc7e3d 121592011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12160
3f254caa
SM
12161 * progmodes/which-func.el (which-function):
12162 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12163 which might not be defined (Bug#8260).
12164
d45885f7
GM
121652011-05-12 Glenn Morris <rgm@gnu.org>
12166
12167 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12168 Let byte-compile-initial-macro-environment always take precedence.
12169
488086f4
SM
121702011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * net/rcirc.el: Add support for SSL/TLS connections.
12173 (rcirc-server-alist): New field `encryption'.
12174 (rcirc): Check `encryption' settings.
12175 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12176 Merge make-local-variable into `set'.
12177 (rcirc--connection-open-p): New function.
12178 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12179 the process is not a network process (e.g. running gnutls-cli).
12180 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12181 Make rcirc-(en|de)code-coding-system local here.
12182 (rcirc-mode): Merge make-local-variable into `set'.
12183 (rcirc-parent-buffer): Make permanent buffer-local.
12184 (rcirc-multiline-minor-mode): Don't do it here.
12185 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12186 there's no server buffer.
12187
7d3b9d44
GM
121882011-05-11 Glenn Morris <rgm@gnu.org>
12189
f64049c6
GM
12190 * newcomment.el (comment-kill): Prefix "unused" local.
12191
93c9df73
GM
12192 * term/w32console.el (get-screen-color): Declare.
12193
7d3b9d44
GM
12194 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12195 Handle symbol elements of byte-compile-initial-macro-environment.
12196
9e2dd53f
LL
121972011-05-10 Leo Liu <sdl.web@gmail.com>
12198
488086f4
SM
12199 * bookmark.el (bookmark-bmenu-mode-map):
12200 Bind bookmark-bmenu-search to `/'.
8b340240 12201
9e2dd53f 12202 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12203 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12204 (Footnote-unicode): New function.
12205 (footnote-style-alist): Add unicode style to the list.
12206 (footnote-style): Doc fix.
9e2dd53f 12207
79b70037
GM
122082011-05-10 Jim Meyering <meyering@redhat.com>
12209
12210 Fix doubled-word typos.
12211 * international/quail.el (quail-insert-kbd-layout): and and -> and
12212 * kermit.el: and and -> and
12213 * net/ldap.el (ldap-search-internal): to to -> to
12214 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12215 * progmodes/js.el (js-mode): and and -> and
12216 * textmodes/artist.el (artist-move-to-xy): at at -> at
12217 (artist-draw-region-trim-line-endings): if if -> if
12218 And Safetyc -> Safety.
12219 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12220
b8f82dc1 122212011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12222 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12223
12224 * files.el (hack-one-local-variable-eval-safep):
12225 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12226
4f99f44b
GM
122272011-05-10 Glenn Morris <rgm@gnu.org>
12228
12229 * calendar/diary-lib.el (diary-list-entries-hook)
12230 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12231 (diary-nongregorian-marking-hook, diary-list-entries)
12232 (diary-include-other-diary-files, diary-mark-entries)
12233 (diary-mark-included-diary-files): Doc fixes.
12234
84f29e6b
JB
122352011-05-09 Juanma Barranquero <lekktu@gmail.com>
12236
12237 * misc.el: Require tabulated-list.el during compilation.
12238
9bedd73a
CY
122392011-05-09 Chong Yidong <cyd@stupidchicken.com>
12240
488086f4
SM
12241 * progmodes/compile.el (compilation-start):
12242 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12243 (compilation-filter-hook): Doc fix.
12244
797c735c
DD
122452011-05-09 Deniz Dogan <deniz@dogan.se>
12246
12247 * wdired.el: Remove outdated installation comment. Fix usage
12248 comment.
12249
5f4b1dfe
JB
122502011-05-09 Juanma Barranquero <lekktu@gmail.com>
12251
12252 * misc.el: Implement new command `list-dynamic-libraries'.
12253 (list-dynamic-libraries--loaded-only-p): New variable.
12254 (list-dynamic-libraries--refresh): New function.
12255 (list-dynamic-libraries): New command.
12256
4c44026c
CY
122572011-05-09 Chong Yidong <cyd@stupidchicken.com>
12258
488086f4
SM
12259 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12260 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12261 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12262 higher priority to avoid clobbering by gnu.
12263
027f966d
CY
122642011-05-08 Chong Yidong <cyd@stupidchicken.com>
12265
12266 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12267 if the face has existing theme settings (Bug#8454).
12268
085f5d7d
CY
122692011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12270
488086f4
SM
12271 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12272 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12273
2a86a00c
RS
12274 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12275 special file names `.' and `..' (Bug#8259).
12276
d9c54a06
CY
122772011-05-08 Chong Yidong <cyd@stupidchicken.com>
12278
488086f4
SM
12279 * progmodes/grep.el (grep-mode-font-lock-keywords):
12280 Remove buffer-changing entries.
d9c54a06
CY
12281 (grep-filter): New function.
12282 (grep-mode): Add it to compilation-filter-hook.
12283
12284 * progmodes/compile.el (compilation-filter-hook)
12285 (compilation-filter-start): New defvars.
12286 (compilation-filter): Call compilation-filter-hook prior to
12287 updating the process mark.
12288
c4662635
SM
122892011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12290
12291 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12292
b0512a1d
EZ
122932011-05-07 Eli Zaretskii <eliz@gnu.org>
12294
605c9376
EZ
12295 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12296 mailclient-send-it even if window-system is nil. (Bug#8595)
12297
c4662635
SM
12298 * term/w32console.el (terminal-init-w32console):
12299 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12300 background-mode. (Bug#8597)
12301
d1dc2cc2
SM
123022011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12305 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12306 New functions.
12307 (defgeneric, eieio--defmethod): Use them.
12308 (eieio-defgeneric): Remove.
12309 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12310
915d1300
GM
123112011-05-07 Glenn Morris <rgm@gnu.org>
12312
a3961c3e
GM
12313 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12314 Use let rather than let*.
12315 (timeclock-find-discrep): Remove unused local.
12316
314347b9
GM
12317 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12318
915d1300
GM
12319 * calendar/appt.el (appt-time-msg-list): Doc fix.
12320
275b59b0
NF
123212011-05-06 Noah Friedman <friedman@splode.com>
12322
12323 * apropos.el (apropos-print-doc): Only use
12324 emacs-lisp-docstring-fill-column when it is bound to an integer,
12325 per that variable's documentation.
12326
6c19f744
SM
123272011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12330 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12331
60f884b2
GM
123322011-05-06 Glenn Morris <rgm@gnu.org>
12333
5006e634
GM
12334 * calendar/appt.el (appt-message-warning-time): Doc fix.
12335 (appt-warning-time-regexp): New option.
12336 (appt-make-list): Respect appt-message-warning-time.
12337
548d0a63
GM
12338 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12339 New options.
12340 (diary-add-to-list): Strip comments from the displayed string.
12341 (diary-mode): Set comment-start and comment-end.
12342
60f884b2
GM
12343 * vc/diff-mode.el (smerge-refine-subst): Declare.
12344 (diff-refine-hunk): Don't require smerge-mode when compiling.
12345
989681bb
JB
123462011-05-06 Juanma Barranquero <lekktu@gmail.com>
12347
12348 * simple.el (list-processes): Return nil as the docstring says.
12349
a6bc05e1
MA
123502011-05-05 Michael Albinus <michael.albinus@gmx.de>
12351
12352 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12353 to "".
12354 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12355 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12356 determining of binary transfer. (Bug#7383)
12357
23c22e9a
MA
123582011-05-05 Michael Albinus <michael.albinus@gmx.de>
12359
c4662635
SM
12360 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12361 Fix port computation bug. (Bug#8618)
23c22e9a 12362
0bff894f
GM
123632011-05-05 Glenn Morris <rgm@gnu.org>
12364
b8296902
GM
12365 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12366
1f522ce8
GM
12367 * simple.el (shell-dynamic-complete-functions)
12368 (comint-dynamic-complete-functions): Declare.
12369
cf5bee67
GM
12370 * net/network-stream.el (gnutls-negotiate):
12371 * simple.el (tabulated-list-print): Fix declarations.
12372
12373 * progmodes/gud.el (syntax-symbol, syntax-point):
12374 Remove unnecessary and incorrect declarations.
12375
0bff894f
GM
12376 * emacs-lisp/check-declare.el (check-declare-scan):
12377 Handle byte-compile-initial-macro-environment in bytecomp.el
12378
9869b3ae
SM
123792011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 Fix earlier half-done eieio-defmethod change (bug#8338).
12382 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12383 Streamline and change calling convention.
12384 (defmethod): Adjust accordingly and simplify.
12385 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12386 new eieio--defmethod.
12387 (slot-boundp): Minor CSE simplification.
12388
9c1d5ac5
MZ
123892011-05-05 Milan Zamazal <pdm@zamazal.org>
12390
12391 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12392 (glasses-make-readable): Use glasses-separate-capital-groups.
12393
455c834e
JB
123942011-05-05 Juanma Barranquero <lekktu@gmail.com>
12395
12396 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12397 (warning-series): Doc fix.
12398 (display-warning): Don't try to create the buffer if we just found it.
12399
9ed7c8cb
CY
124002011-05-04 Chong Yidong <cyd@stupidchicken.com>
12401
12402 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12403 (autoload-find-generated-file): New function.
12404 (generate-file-autoloads): Bind generated-autoload-file to
12405 buffer-file-name.
9869b3ae
SM
12406 (update-file-autoloads, update-directory-autoloads):
12407 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12408 output file (Bug#7989).
12409 (batch-update-autoloads): Doc fix.
12410
0898ca10
JB
124112011-05-04 Juanma Barranquero <lekktu@gmail.com>
12412
12413 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12414
31dfb76c
GM
124152011-05-04 Glenn Morris <rgm@gnu.org>
12416
f330b642
GM
12417 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12418 function, so it follows changes in calendar-date-style.
12419 (diary-fancy-date-matcher): New function.
12420 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12421 (diary-fancy-font-lock-fontify-region-function):
12422 Use diary-fancy-date-pattern as a function.
12423
31dfb76c
GM
12424 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12425 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12426
48e79d6a
TZ
124272011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12428
12429 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12430 instead of positional arguments. Allow :keylist and :crlfiles
12431 arguments.
12432 (open-gnutls-stream): Call it.
12433
12434 * net/network-stream.el (network-stream-open-starttls): Adjust to
12435 call `gnutls-negotiate' with :process and :hostname arguments.
12436
dd5a5ee0
SM
124372011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12438
ef80fc09
SM
12439 * minibuffer.el (completion--message): New function.
12440 (completion--do-completion, minibuffer-complete)
12441 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12442 (completion--do-completion): Don't ignore completion-auto-help when in
12443 icomplete-mode.
12444
dd5a5ee0
SM
12445 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12446 internal encoding (e.g. tibetan zero is not whitespace).
12447 (global-whitespace-mode): Prefer save-current-buffer.
12448 (whitespace-trailing-regexp): Remove useless save-match-data.
12449 (whitespace-empty-at-bob-regexp): Minor simplification.
12450
b7d22a83
CY
124512011-05-03 Chong Yidong <cyd@stupidchicken.com>
12452
12453 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12454
5192af46
AM
124552011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12456
12457 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12458 Use `concat' to create string for insertion.
5192af46 12459
5767d190
SM
124602011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12463 Avoid open-line which runs post-self-insert-hook.
12464 (bibtex-fill-entry): Remove unused `end' var.
12465
bf242939
AM
124662011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12467
5767d190
SM
12468 * textmodes/ispell.el (ispell-add-per-file-word-list):
12469 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12470
25666126
LL
124712011-05-03 Leo Liu <sdl.web@gmail.com>
12472
12473 * isearch.el (isearch-yank-pop): New command.
5767d190 12474 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12475 (isearch-forward): Mention it.
12476
52d3c2d0
SM
124772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12478
1bcace58
SM
12479 * simple.el (minibuffer-complete-shell-command): Remove.
12480 (minibuffer-local-shell-command-map): Use completion-at-point.
12481 (read-shell-command): Setup completion vars here instead.
12482 (read-expression-map): Bind TAB to symbol completion.
12483
52d3c2d0
SM
12484 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12485 error directly rather via storing it into `results'.
12486
35813471
LL
124872011-05-02 Leo Liu <sdl.web@gmail.com>
12488
12489 * vc/diff.el: Fix description.
12490
e793a940
LMI
124912011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12492
12493 * server.el (server-eval-at): New function.
12494
8de66e05
LMI
124952011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12496
12497 * net/network-stream.el (open-network-stream): Take a :nowait
12498 parameter and pass it on to `make-network-process'.
12499 (network-stream-open-plain): Ditto.
12500
dcb79f20
AS
125012011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12502
12503 * faces.el (face-spec-set-match-display): Don't match toolkit
12504 options on terminal frames.
12505
14a7fbd8
SM
125062011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12507
7eabc1be
SM
12508 * progmodes/pascal.el: Use lexical binding.
12509 (pascal-mode-map): Remove author preferences.
12510
14a7fbd8
SM
12511 * pcomplete.el (pcomplete-std-complete): Don't abuse
12512 completion-at-point.
12513
50f84510
JB
125142011-04-28 Juanma Barranquero <lekktu@gmail.com>
12515
6e087a44
JB
12516 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12517 removing code that has been dead since 1991 or so.
12518
50f84510
JB
12519 * startup.el (command-line): When warning about "_emacs", use a
12520 delayed warning to allow the user to filter it out.
12521
0ba690bd
DD
125222011-04-28 Deniz Dogan <deniz@dogan.se>
12523
12524 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12525 user has not joined.
12526
08abfaad
SM
125272011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12528
12529 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12530 aren't any completions at point.
12531
638f053a
JB
125322011-04-28 Juanma Barranquero <lekktu@gmail.com>
12533
12534 * subr.el (display-delayed-warnings): New function.
12535 (delayed-warnings-hook): New variable.
12536
8fff8daa
SM
125372011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12538
08abfaad
SM
12539 * minibuffer.el (completion-at-point, completion-help-at-point):
12540 Don't presume that a given completion-at-point-function will always
12541 use the same calling convention.
12542
8fff8daa
SM
12543 * pcomplete.el (pcomplete-completions-at-point):
12544 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12545 pcomplete-seen is non-nil.
12546 (pcomplete-comint-setup): Also recognize the new comint/shell
12547 completion functions.
12548 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12549 pcomplete-seen is non-nil.
12550
841a1577 125512011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12552
841a1577 12553 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12554 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12555 the first character in the entry. This allows for code to add its
211ec907
UJ
12556 own uid to the entry.
12557 (icalendar--convert-float-to-ical): Add export of
12558 `diary-float'-entries save for those with the optional DAY
12559 argument.
12560
2a782793
DC
125612011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12562
12563 * subr.el (shell-quote-argument): Use alternate escaping strategy
12564 when we spot a variable reference in a string.
12565
0438ce91
DC
125662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12567
12568 * cus-start.el (all): Define customization for debug-on-event.
12569
841a1577 125702011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12571
12572 * subr.el (shell-quote-argument): Escape correctly under Windows.
12573
d090ed6c
SM
125742011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12577
bfd31217
MA
125782011-04-25 Michael Albinus <michael.albinus@gmx.de>
12579
d090ed6c
SM
12580 * net/tramp.el (tramp-process-actions): Add POS argument.
12581 Delete region between POS and (pos).
bfd31217 12582
d090ed6c
SM
12583 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12584 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12585 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12586
12587 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12588 position in `tramp-process-actions' call.
12589
12590 * net/trampver.el: Update release number.
12591
e92f3bd3
SM
125922011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12593
850256b5
SM
12594 * custom.el (defcustom): Obey lexical-binding.
12595
e92f3bd3
SM
12596 Fix octave-inf completion problems reported by Alexander Klimov.
12597 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12598 Inherit from octave-mode-syntax-table.
12599 (inferior-octave-mode): Set info-lookup-mode.
12600 (inferior-octave-completion-at-point): New function.
12601 (inferior-octave-complete): Use it and completion-in-region.
12602 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12603 comint-filename-completion.
12604 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12605 symbol elements which shouldn't be word elements.
12606 (octave-font-lock-keywords, octave-beginning-of-defun)
12607 (octave-function-header-regexp): Adjust regexps accordingly.
12608 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12609
cd22b309
JB
126102011-04-25 Juanma Barranquero <lekktu@gmail.com>
12611
12612 * net/gnutls.el (gnutls-errorp): Declare before first use.
12613
8b492194
TZ
126142011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12615
12616 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12617 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12618 default trustfile exists before going to use it. Add missing
5a5fa834 12619 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12620 Reported by Claudio Bley <claudio.bley@gmail.com>.
12621 (open-gnutls-stream): Add usage example.
12622
12623 * net/network-stream.el (network-stream-open-starttls): Give host
12624 parameter to `gnutls-negotiate'.
12625 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12626 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12627
841a1577 126282011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12629
cd22b309
JB
12630 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12631 Use correct match group (bug#8438).
05842630 12632
3ba7869c
CY
126332011-04-24 Chong Yidong <cyd@stupidchicken.com>
12634
512e3ae1
CY
12635 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12636 (package-menu--generate): New arg specifying packages to show.
12637 (package-menu-refresh, package-menu-execute, list-packages):
12638 Callers changed.
12639 (package-show-package-list): New function, replacing deleted
12640 package--list-packages (renamed because it is non-internal).
12641
12642 * finder.el (finder-list-matches): Use package-show-package-list
12643 instead of deleted package--list-packages.
12644
e92f3bd3
SM
12645 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12646 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12647 (vc-annotate-mode-map): Bind it to RET.
12648
7031be6d
UR
126492011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12650
12651 * progmodes/etags.el (next-file): Don't use set-buffer to change
12652 buffers (Bug#8478).
12653
4ef177aa
CY
126542011-04-24 Chong Yidong <cyd@stupidchicken.com>
12655
c8d173eb
CY
12656 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12657
4ef177aa
CY
12658 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12659 (apropos-accumulator): Doc fix.
12660 (apropos-function, apropos-macro, apropos-command)
12661 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12662 (apropos-plist): Add face property.
12663 (apropos-symbols-internal): Fix indentation.
12664 (apropos-print): Simplify help, and recognize apropos-multi-type.
12665 (apropos-print-doc): Use button-type-get to extract the button's
12666 face property. Fill docstring (Bug#8352).
12667
4ffd0d6b 126682011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12669
12670 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12671
c6c32125 12672 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12673 (mpuz-mode-map): Use mapc.
c6c32125
JB
12674 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12675 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12676 Fix typos in docstrings.
12677
58d468b4
JB
12678 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12679 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12680
6470c3c6
JB
12681 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12682
4ffd0d6b 126832011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12684
12685 * minibuffer.el (completion--do-completion): Avoid the "Next char
12686 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12687
3ad8bad0
CY
12688 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12689 mouse-2 into unread-command-events, it is interpreted correctly.
12690
71d73c9c 12691 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12692 (image-toggle-display): Doc fix.
71d73c9c 12693
841a1577 126942011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12695
4ffd0d6b
GM
12696 * textmodes/page.el (what-page): Use line-number-at-pos to
12697 calculate line number (Bug#6825).
6e1dbaa9 12698
c2fb1b60
JB
126992011-04-22 Juanma Barranquero <lekktu@gmail.com>
12700
12701 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12702 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12703 Pass argument NO-DEFAULT to `find-tag-interactive'.
12704
e02f48d7
JB
127052011-04-22 Juanma Barranquero <lekktu@gmail.com>
12706
12707 Lexical-binding cleanup.
12708
12709 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12710 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12711 * progmodes/ada-prj.el (ada-prj-initialize-values)
12712 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12713 (ada-prj-show-value):
12714 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12715 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12716 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12717 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12718 * progmodes/bug-reference.el (bug-reference-push-button):
12719 * progmodes/fortran.el (fortran-line-length):
12720 * progmodes/glasses.el (glasses-change):
12721 * progmodes/octave-mod.el (octave-fill-paragraph):
12722 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12723 (python-pdbtrack-grub-for-buffer, python-sentinel):
12724 * progmodes/sql.el (sql-save-connection):
12725 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12726 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12727 Mark unused parameters.
12728
12729 * progmodes/compile.el (compilation--flush-directory-cache)
12730 (compilation--flush-parse, compile-internal): Mark unused parameters.
12731 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12732 (compilation-next-error-function): Remove unused variable `timestamp'.
12733
12734 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12735 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12736
12737 * progmodes/dcl-mode.el (dcl-end-of-command):
12738 Remove unused variable `start'.
12739 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12740 (dcl-option-value-basic, dcl-option-value-offset)
12741 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12742 Mark unused parameters.
12743 (dcl-save-local-variable): Remove unused variable `val'.
12744 (mode): Declare.
12745
12746 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12747 Mark unused parameters.
12748 (delphi-ignore-changes): Move before first use.
12749 (delphi-charset-token-at): Remove unused variable `start'.
12750 (delphi-else-start): Remove unused variable `if-count'.
12751 (delphi-comment-block-start, delphi-comment-block-end):
12752 Remove unused variable `kind'.
12753 (delphi-indent-line): Remove unused variable `new-point'.
12754
12755 * progmodes/ebrowse.el (ebrowse-files-list)
12756 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12757 Mark unused parameters. Don't quote `lambda'.
12758 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12759 Don't quote `lambda'.
12760 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12761 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12762 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12763 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12764 Use `ignore-errors'.
12765 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12766 (ebrowse-view/find-file-and-search-pattern)
12767 (ebrowse-view/find-member-declaration/definition):
12768 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12769 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12770 Rename parameter PREFIX-ARG to PREFIX.
12771 (ebrowse-tags-read-name): Remove unused variables `start' and
12772 `member-info'.
12773 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12774 to `tags-file'.
12775
12776 * progmodes/etags.el (local-find-tag-hook): Declare.
12777 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12778 Mark unused parameters.
12779
12780 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12781 (executable-interpret): Mark unused parameter.
12782
12783 * progmodes/flymake.el (flymake-process-sentinel)
12784 (flymake-after-change-function)
12785 (flymake-create-temp-with-folder-structure)
12786 (flymake-get-include-dirs-dot): Mark unused parameters.
12787 (flymake-safe-delete-directory): Remove unused variable `err'.
12788
12789 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12790 (speedbar-timer-fn, speedbar-line-text)
12791 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12792 (speedbar-center-buffer-smartly): Declare functions.
12793 (gdb-find-watch-expression): Remove unused variable `array'.
12794 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12795 (gdb-starting): Mark unused parameters.
12796 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12797 (gdb-table-string): Remove unused variable `res'.
12798 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12799 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12800 (gdb-display-buffer): Remove unused variable `cur-size'.
12801
12802 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12803 allow lexical-binding compilation.
12804 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12805 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12806 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12807 Mark unused parameters.
12808 (gud-gdb-marker-filter): Remove unused variable `match'.
12809 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12810 lambda expressions and funcall them, instead of using `fset'.
12811
12812 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12813 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12814
12815 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12816 variable `header-beg'; use `let'.
12817
12818 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12819 `restart', `last-sexp' and `at-do'.
12820
12821 * progmodes/js.el (js--debug): Mark unused parameter.
12822 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12823 (js--splice-into-items): Remove unused variable `item'.
12824 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12825
12826 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12827 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12828 (makefile-complete): Remove unused variable `try'.
12829 (makefile-fill-paragraph, makefile-match-function-end):
12830 Mark unused parameters.
12831
12832 * progmodes/octave-inf.el (inferior-octave-complete):
12833 Remove unused variable `proc'.
12834 (inferior-octave-output-digest): Mark unused parameter.
12835
12836 * progmodes/perl-mode.el (perl-calculate-indent):
12837 Remove unused variable `err'.
12838
12839 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12840 (prolog-indent-line): Mark unused parameters.
12841 (prolog-indent-line): Remove unused variable `beg'.
12842
12843 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12844 (reporter-dont-compact-list): Declare.
12845
12846 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12847 Remove unused variable `char'.
12848 (sh-debug): Mark unused parameter.
12849 (sh-get-indent-info): Remove unused variable `start'.
12850 (sh-calculate-indent): Remove unused variable `var'.
12851
12852 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12853 (simula-electric-keyword): Remove unused variable `null'.
12854 (simula-search-backward, simula-search-forward): Remove unused
12855 variables `begin' and `end'.
12856
12857 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12858 Remove unused variable `pos'.
12859 (vera-electric-tab, vera-comment-uncomment-region):
12860 Mark unused parameters.
12861 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12862
7ede3b65
CY
128632011-04-22 Chong Yidong <cyd@stupidchicken.com>
12864
12865 * emacs-lisp/package.el (package--builtins, package-alist)
12866 (package-load-descriptor, package-built-in-p, package-activate)
12867 (define-package, package-installed-p)
12868 (package-compute-transaction, package-buffer-info)
12869 (package--push): Doc fix. Distinguish more clearly between
12870 version strings and version lists.
12871
121656e9
JB
128722011-04-21 Juanma Barranquero <lekktu@gmail.com>
12873
12874 Lexical-binding cleanup.
12875
12876 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12877 (5x5-make-mutate-best):
12878 * play/fortune.el (fortune-in-buffer):
12879 * play/gomoku.el (gomoku-init-display):
12880 * play/solitaire.el (solitaire, solitaire-do-check):
12881 * play/tetris.el (tetris-default-update-speed-function):
12882 Mark unused parameters.
12883
12884 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12885 (bubbles--shift): Remove unused variable `char-org'.
12886 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12887 (bubbles--show-images): Remove unused variable `char'.
12888
12889 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12890 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12891 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12892 (decipher-analyze-buffer): Use ?\s.
12893 (decipher-make-checkpoint): Remove unused variable `mapping'.
12894
12895 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12896
12897 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12898 Remove unused variable `result'; use `let'.
12899
12900 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12901 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12902 (gametree-children-shown-p, gametree-compute-reduced-score):
12903 Use `ignore-errors'.
12904
12905 * play/handwrite.el (ps-lpr-switches): Declare.
12906 (handwrite): Remove unused variables `pmin' and `lastp'.
12907
12908 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12909
12910 * play/landmark.el (landmark-init-display)
12911 (landmark-update-naught-weights): Mark unused parameters.
12912 (landmark-y): Remove unused variable `noise'. Simplify.
12913 (landmark-human-plays): Remove unused variable `score'.
12914
12915 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12916 (mpuz-try-proposal): Remove unused variable `game'.
12917
12918 * play/zone.el (life-patterns): Declare.
12919
80f499c7
JB
129202011-04-20 Juanma Barranquero <lekktu@gmail.com>
12921
12922 * vc/vc.el (ediff-vc-internal): Declare function.
12923
024ff170
SM
129242011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12925
c0a193ea
SM
12926 * shell.el: Use lexical-binding and std completion UI.
12927 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12928 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12929 comint-preoutput-filter-functions rather than on
12930 comint-output-filter-functions.
12931 (shell-command-completion, shell--command-completion-data)
12932 (shell-filename-completion, shell-environment-variable-completion)
12933 (shell-c-a-p-replace-by-expanded-directory): New functions.
12934 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12935 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12936 (shell-dynamic-complete-environment-variable): Use them.
12937 (shell-dynamic-complete-as-environment-variable)
12938 (shell-dynamic-complete-as-command): Remove.
12939 (shell-match-partial-variable): Match past point.
12940 * comint.el: Clean up use of completion-at-point-functions.
12941 (comint-completion-at-point): New function.
12942 (comint-mode): Use it completion-at-point-functions.
12943 (comint-dynamic-complete): Make it obsolete.
12944 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12945 (comint-c-a-p-replace-by-expanded-history): New function.
12946 (comint-dynamic-complete-functions)
12947 (comint-replace-by-expanded-history): Use it.
12948 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12949 termination strings. Try harder to avoid second try-completion.
12950 (completion-in-region-mode-map): Disable bindings that don't work yet.
12951
2dbaa080
SM
12952 * comint.el: Use lexical-binding. Require CL.
12953 (comint-dynamic-complete-functions): Use comint-filename-completion.
12954 (comint-completion-addsuffix): Tweak custom type.
12955 (comint-filename-completion, comint--common-suffix)
12956 (comint--common-quoted-suffix, comint--table-subvert)
12957 (comint--complete-file-name-data): New functions.
12958 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12959 (comint-dynamic-list-filename-completions): Use them.
12960 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12961
2dbaa080
SM
12962 * minibuffer.el (completion-in-region-mode):
12963 Keep completion-in-region-mode--predicate global.
12964 (completion-in-region--postch):
12965 Assume completion-in-region-mode--predicate is not null.
12966
c79a6f38
SM
12967 * progmodes/flymake.el (flymake-start-syntax-check-process):
12968 Obey `dir'. Simplify.
12969
024ff170
SM
12970 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12971 we're in VC after all.
12972
1c6c854e
CS
129732011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12974
12975 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12976 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12977 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12978
bed7f140
SM
129792011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12980
332e62ab
SM
12981 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12982 add sanity check.
12983
bed7f140
SM
12984 * obsolete/erc-hecomplete.el: Make obsolete.
12985 * obsolete/: Standardize obsolescence info in the header.
12986
f195c582
GM
129872011-04-20 Glenn Morris <rgm@gnu.org>
12988
12989 * calendar/solar.el (solar-horizontal-coordinates):
12990 Use the longitude argument rather than `calendar-longitude'.
12991 (solar-date-next-longitude): Remove unused locals.
12992
cb79b8c0
VJL
129932011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12994
12995 * whitespace.el: New version 13.2.1.
12996
129972011-04-20 felix <EmacsWiki> (tiny change)
12998
d8e4b68b 12999 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13000 switching between major modes on a file.
13001
602ea69d
SM
130022011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13005 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13006 multi-line comments as well.
13007
06b60517
JB
130082011-04-19 Juanma Barranquero <lekktu@gmail.com>
13009
13010 Lexical-binding cleanup.
13011
13012 * arc-mode.el (archive-mode-revert):
13013 * cmuscheme.el (scheme-interactively-start-process):
13014 * custom.el (custom-initialize-delay):
13015 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13016 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13017 * emacs-lock.el (emacs-lock-clear-sentinel):
13018 * ezimage.el (defezimage):
13019 * follow.el (follow-avoid-tail-recenter):
13020 * fringe.el (set-fringe-mode-1):
13021 * generic-x.el (bat-generic-mode-compile):
13022 * help-mode.el (help-info-variable, help-do-xref)
13023 (help-mode-revert-buffer):
13024 * help.el (view-emacs-todo):
13025 * iswitchb.el (iswitchb-completion-help):
13026 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13027 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13028 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13029 * locate.el (locate-update):
13030 * longlines.el (longlines-encode-region)
13031 (longlines-after-change-function):
13032 * outline.el (outline-isearch-open-invisible):
13033 * ps-def.el (declare-function, charset-dimension, char-width)
13034 (encode-char):
13035 * ps-mule.el (ps-mule-plot-string):
13036 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13037 (recentf-edit-list-select, recentf-edit-list-validate)
13038 (recentf-open-files-action):
13039 * rect.el (delete-whitespace-rectangle-line)
13040 (rectangle-number-line-callback):
13041 * register.el (window-configuration-to-register)
13042 (frame-configuration-to-register):
13043 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13044 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13045 (xselect-convert-to-targets, xselect-convert-to-delete)
13046 (xselect-convert-to-filename, xselect-convert-to-charpos)
13047 (xselect-convert-to-lineno, xselect-convert-to-colno)
13048 (xselect-convert-to-os, xselect-convert-to-host)
13049 (xselect-convert-to-user, xselect-convert-to-class)
13050 (xselect-convert-to-name, xselect-convert-to-integer)
13051 (xselect-convert-to-atom, xselect-convert-to-identity):
13052 * subr.el (declare, ignore, process-kill-without-query)
13053 (text-clone-maintain):
13054 * terminal.el (te-get-char, te-tic-sentinel):
13055 * tool-bar.el (tool-bar-make-keymap):
13056 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13057 * type-break.el (type-break-mode, type-break-noninteractive-query):
13058 * view.el (View-back-to-mark):
13059 * wid-browse.el (widget-browse-action, widget-browse-widget)
13060 (widget-browse-widgets, widget-browse-sexp):
13061 * widget.el (define-widget-keywords):
13062 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13063 Mark unused parameters.
13064
13065 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13066 (align-areas): Remove unused variable `look'.
13067 (align-region): Remove unused variables `real-end' and `pos-list'.
13068
13069 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13070
13071 * bindings.el (mode-line-modified, mode-line-remote):
13072 Mark unused parameters.
13073 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13074
13075 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13076 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13077
13078 * comint.el (comint-history-isearch-pop-state)
13079 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13080 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13081 (comint-substitute-in-file-name): Doc fix.
13082
13083 * completion.el (cmpl-statistics-block): Mark unused parameter.
13084 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13085 (save-completions-to-file, load-completions-from-file):
13086 Remove unused local variable `e'.
13087
13088 * composite.el (compose-chars): Remove unused variable `len'.
13089 (lgstring-insert-glyph): Remove unused variable `g'.
13090 (compose-glyph-string): Remove unused variables `ascent',
13091 `descent', `lbearing' and `rbearing'.
13092 (compose-glyph-string-relative): Remove unused variables
13093 `lbearing', `rbearing' and `wadjust'.
13094 (compose-gstring-for-graphic): Remove unused variables `header',
13095 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13096 (compose-gstring-for-terminal): Remove unused variables `header'
13097 and `nchars'. Use `let', not `let*'.
13098
13099 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13100 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13101 (Custom-buffer-done, custom-buffer-create-internal)
13102 (custom-browse-visibility-action, custom-browse-group-tag-action)
13103 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13104 (widget-magic-mouse-down-action, custom-toggle-parent)
13105 (custom-add-parent-links, custom-toggle-hide-variable)
13106 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13107 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13108 (custom-face-menu-create, custom-variable-menu-create, get)
13109 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13110 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13111 (customize-apropos): Remove unused variable `tests'.
13112 (custom-group-value-create): Remove unused variable `hidden-p'.
13113 (sort-fold-case): Declare.
13114
13115 * cus-theme.el (custom-reset-standard-faces-list)
13116 (custom-reset-standard-variables-list): Declare.
13117 (customize-create-theme, custom-theme-revert, custom-theme-write)
13118 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13119 Mark unused parameters.
13120
13121 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13122
13123 * delim-col.el (delimit-columns-max): Move defvar before first use.
13124
13125 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13126 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13127
13128 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13129 (auto-insert): Declare.
13130 (desktop-restore-file-buffer): Rename desktop-* parameters;
13131 mark unused ones.
13132 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13133 (desktop-buffer): Rename desktop-* parameters.
13134
13135 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13136 (dframe-reposition-frame-xemacs, dframe-help-echo)
13137 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13138 Mark unused parameters.
13139
13140 * dired-aux.el (backup-extract-version-start, overwrite-query)
13141 (overwrite-backup-query, rename-regexp-query)
13142 (rename-non-directory-query): Declare.
13143 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13144 (dired-add-entry): Remove unused variable `orig-file-name'.
13145 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13146 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13147 `dired-copy-preserve-time' directly.
13148 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13149 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13150
13151 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13152 (dired-virtual-revert, dired-make-relative-symlink):
13153 Mark unused parameters.
13154 (manual-program): Declare.
13155 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13156 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13157 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13158
13159 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13160
13161 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13162
13163 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13164 Declare.
13165
13166 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13167
13168 * electric.el (Electric-command-loop): Rename parameter
13169 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13170
13171 * expand.el (expand-in-literal): Remove unused variable `here'.
13172
13173 * facemenu.el (facemenu-add-new-color):
13174 Remove unused variable `docstring'.
13175
13176 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13177 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13178 (face-attr-construct): Mark unused parameter. Doc fix.
13179 (read-color): Remove unused variable `hex-string'.
13180
13181 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13182 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13183 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13184 (display-buffer-other-frame): Remove unused variable `old-window'.
13185 (kill-buffer-hook): Declare.
13186 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13187 Mark unused parameters.
13188 (after-find-file): Pass 1 to `auto-save-mode', not t.
13189
13190 * files-x.el (auto-insert): Declare.
13191 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13192
13193 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13194 variable `buf'. Mark unused parameter.
06b60517
JB
13195 (find-lisp-insert-directory): Mark unused parameter.
13196
13197 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13198 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13199 (format-common-tail): Remove, unused.
13200 (format-deannotate-region): Remove unused variable `loc'.
13201 (format-annotate-region): Remove unused variable `p'.
13202 (format-annotate-single-property-change): Remove unused variables
13203 `default' and `tail'.
13204
13205 * forms.el (read-file-filter): Declare.
13206 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13207
13208 * frame.el (frame-creation-function-alist): Mark unused parameter.
13209 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13210
13211 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13212 Remove unused parameters.
13213 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13214 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13215
13216 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13217 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13218 (hfy-prepare-tag-map): Mark unused parameters.
13219 (htmlfontify-buffer): Use `called-interactively-p'.
13220
13221 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13222 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13223 (ibuffer-do-occur): Mark unused parameters.
13224 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13225 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13226
13227 * ibuffer.el: Don't quote `lambda'.
13228 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13229 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13230 Mark unused parameters.
13231
13232 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13233 (ido-completing-read): Mark unused parameters.
13234 (ido-copy-current-word): Mark unused parameters;
13235 remove unused variable `name'.
13236 (ido-sort-merged-list): Remove unused parameter `dirs'.
13237
13238 * ielm.el (ielm-input-sender): Mark unused parameter.
13239 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13240 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13241 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13242 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13243 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13244
13245 * image-dired.el (image-dired-display-thumbs): Remove unused
13246 variables `curr-file' and `count'.
13247 (image-dired-remove-tag): Remove unused variable `start'.
13248 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13249 variable `curr-file'
13250 (image-dired-rotate-original): Remove unused variable `temp-file'.
13251 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13252 Remove unused variable `file'.
13253 (image-dired-gallery-generate): Remove unused variable `curr'.
13254 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13255
13256 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13257
13258 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13259
13260 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13261
13262 * isearch.el (minibuffer-history-symbol): Declare.
13263 (isearch-edit-string): Remove unused variable `err'.
13264 (isearch-message-prefix, isearch-message-suffix):
13265 Mark unused parameters.
13266
13267 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13268
13269 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13270
13271 * makesum.el (double-column): Remove unused variable `cnt'.
13272
13273 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13274 (ido-ignore-item-temp-list): Declare.
13275
13276 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13277 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13278 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13279 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13280 `mouse-col-delta'.
13281
13282 * mouse-sel.el (mouse-extend-internal):
13283 Remove unused variable `orig-window-frame'.
13284
13285 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13286 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13287 Move declarations before first use.
13288 (pcomplete-opt): Mark unused parameters; doc fix.
13289
13290 * proced.el (proced-revert): Mark unused parameter.
13291 (proced-send-signal): Remove unused variable `err'.
13292
13293 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13294 Rename parameter PREFIX-ARG to ARG.
13295 (ps-basic-plot-string, ps-basic-plot-whitespace):
13296 Mark unused parameters.
13297
13298 * replace.el (replace-count): Define.
13299 (occur-revert-function): Mark unused parameters.
13300 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13301 (isearch-case-fold-search, isearch-string): Declare.
13302 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13303 bind `case-fold-search'. Remove unused variables `beg' and `end',
13304 and simplify.
13305 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13306 COUNT and bind `replace-count'.
13307 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13308 to COUNT.
13309
13310 * savehist.el (print-readably, print-string-length): Declare.
13311
13312 * shadowfile.el (shadow-expand-cluster-in-file-name):
13313 Remove unused variable `cluster'.
13314 (shadow-copy-file): Remove unused variable `i'.
13315 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13316 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13317 (shadow-define-literal-group, shadow-define-regexp-group)
13318 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13319
13320 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13321 (shell): Use `called-interactively-p'.
13322 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13323
13324 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13325 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13326 (delete-backward-char): Remove unused variable `ocol'.
13327 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13328 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13329 (event-apply-hyper-modifier, event-apply-shift-modifier)
13330 (event-apply-control-modifier, event-apply-meta-modifier):
13331 Mark unused parameters.
13332 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13333 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13334
13335 * speedbar.el (speedbar-ignored-directory-expressions)
13336 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13337 (speedbar-find-file, speedbar-dir-follow)
13338 (speedbar-directory-buttons-follow, speedbar-tag-find)
13339 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13340 (speedbar-buffers-line-directory, speedbar-buffer-click):
13341 Mark unused parameters.
13342 (speedbar-tag-file): Remove unused variable `mode'.
13343 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13344
13345 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13346
13347 * talk.el (talk): Remove unused variable `display'.
13348
13349 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13350 (tar-write-region-annotate): Mark unused parameter.
13351
13352 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13353 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13354 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13355 warning by another.
13356
13357 * time-stamp.el (time-stamp-string-preprocess):
13358 Remove unused variable `require-padding'.
13359
13360 * tree-widget.el (widget-glyph-enable): Declare.
13361 (tree-widget-action): Mark unused parameter.
13362
13363 * w32-fns.el (x-get-selection): Mark unused parameter.
13364 (autoload-make-program, generated-autoload-file): Declare.
13365
13366 * wdired.el (wdired-revert): Mark unused parameters.
13367 (wdired-xcase-word): Remove unused variable `err'.
13368
13369 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13370 (whitespace-help-scroll): Remove unused variable `data-help'.
13371
13372 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13373 (widget-image-insert, widget-after-change, default)
13374 (widget-default-format-handler, widget-default-notify)
13375 (widget-default-prompt-value, widget-info-link-action)
13376 (widget-url-link-action, widget-function-link-action)
13377 (widget-variable-link-action, widget-file-link-action)
13378 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13379 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13380 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13381 (widget-insert-button-action, widget-delete-button-action, visibility)
13382 (widget-documentation-link-action, widget-documentation-string-action)
13383 (widget-const-prompt-value, widget-regexp-match, symbol)
13384 (widget-coding-system-prompt-value)
13385 (widget-key-sequence-value-to-external, sexp)
13386 (widget-sexp-value-to-internal, character, vector, cons)
13387 (widget-choice-prompt-value, widget-boolean-prompt-value)
13388 (widget-color--choose-action): Mark unused parameters.
13389 (widget-item-match-inline, widget-choice-match-inline)
13390 (widget-checklist-match, widget-checklist-match-inline)
13391 (widget-group-match): Rename parameter VALUES to VALS.
13392 (widget-field-value-set): Remove unused variable `size'.
13393 (widget-color-action): Remove unused variables `value' and `start'.
13394
13395 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13396 variable `dir'. Doc fix.
06b60517
JB
13397 (windmove-find-other-window): Don't pass it.
13398
13399 * window.el (count-windows): Mark unused parameter.
13400 (bw-adjust-window): Remove unused variable `err'.
13401
13402 * woman.el (woman-file-name): Remove unused variable `default'.
13403 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13404 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13405 (global-font-lock-mode): Declare.
13406 (woman-decode-region): Mark unused parameter.
13407 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13408
13409 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13410 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13411 (x-dnd-handle-moz-url): Remove unused variable `title'.
13412 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13413
13414 * xml.el (xml-parse-tag, xml-parse-attlist):
13415 Remove unused variable `pos'.
13416
bc4f7f3d
GM
134172011-04-19 Glenn Morris <rgm@gnu.org>
13418
13419 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13420 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13421 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13422 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13423 * calendar/cal-html.el (cal-html-insert-minical):
13424 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13425 (calendar-mark-date-pattern):
13426 Prefix "unused" locals.
13427
13428 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13429 optional argument `style'.
13430
13431 * calendar/appt.el (appt-make-list):
13432 * calendar/cal-china.el (calendar-chinese-date-string):
13433 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13434 (diary-hebrew-yahrzeit):
13435 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13436 * calendar/calendar.el (calendar-generate-window):
13437 * calendar/time-date.el (time-to-days):
13438 Remove unused local variables.
13439
16a43933
CY
134402011-04-18 Chong Yidong <cyd@stupidchicken.com>
13441
13442 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13443 glyphless-char-display table.
13444 (tabulated-list-glyphless-char-display): New var.
13445
7eed1860
SS
134462011-04-18 Sam Steingold <sds@gnu.org>
13447
13448 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13449 to acknowledgments.
13450
4d2d1ccd
GM
134512011-04-17 Glenn Morris <rgm@gnu.org>
13452
13453 * calendar/diary-lib.el (diary-sexp-entry):
13454 * calendar/holidays.el (holiday-sexp):
13455 Set debug-on-error rather than the removed stack-trace-on-error.
13456
239da61d
GM
134572011-04-16 Glenn Morris <rgm@gnu.org>
13458
13459 * progmodes/f90.el: Use lexical-binding.
13460 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13461
8b05752a
SM
134622011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13463
daca8ba5
SM
13464 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13465 (mail-mode): Setup mailalias completion here instead.
13466 * mail/mailalias.el: Use lexical-binding.
13467 (pattern, mailalias-done): Declare dynamic.
13468 (mail-completion-at-point-function): New function, from mail-complete.
13469 (mail-complete): Use it.
13470 (mail-completion-expand): New function.
13471 (mail-get-names): Use it.
13472 (mail-directory, mail-directory-process, mail-directory-stream):
13473 Don't use `pattern' for lexically bound arg.
13474
6f542485
SM
13475 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13476
037e7c3f
SM
13477 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13478 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13479 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13480
8b05752a
SM
13481 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13482 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13483 (byte-interactive-p): Define them again, for use when inlining
13484 old code.
13485
49093f60
JB
134862011-04-15 Juanma Barranquero <lekktu@gmail.com>
13487
13488 * loadup.el: Use `string-to-number', not `string-to-int'.
13489
b5b8e7de
SM
134902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13493 gud-gdb-complete-command.
13494 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13495 (gud-gdb-completion-at-point): New function.
13496 (gud-gdb-completions): Remove.
13497
f42efeb5
MA
134982011-04-14 Michael Albinus <michael.albinus@gmx.de>
13499
49093f60
JB
13500 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13501 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13502 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13503 whether `executable-find' is bound.
f42efeb5
MA
13504
13505 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13506
e240cc21
SM
135072011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * minibuffer.el (completion-in-region-mode-predicate)
13510 (completion-in-region-mode--predicate): New vars.
13511 (completion-in-region, completion-in-region--postch)
13512 (completion-in-region-mode): Use them.
13513 (completion--capf-wrapper): Also return the hook function.
13514 (completion-at-point, completion-help-at-point):
13515 Adjust and provide a predicate.
c2bd2ab0
SM
13516
13517 Preserve arg names for advice of subr and lexical functions (bug#8457).
13518 * help-fns.el (help-function-arglist): Consolidate the subr and
13519 new-byte-code cases. Add argument `preserve-names' to extract names
13520 from the docstring when needed.
13521 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13522 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13523 (ad-arglist): Use help-function-arglist's new arg.
13524 (ad-definition-type): Use cond.
13525
c183f693
JB
135262011-04-13 Juanma Barranquero <lekktu@gmail.com>
13527
06641a47
JB
13528 * autorevert.el (auto-revert-handler):
13529 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13530 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13531 Don't quote lambda.
13532
c183f693
JB
13533 * image-mode.el (image-transform-set-scale):
13534 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13535
1e3b6001
G
135362011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13537
13538 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13539 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13540 Upgrades via gnutls-cli are too slow to be done opportunistically.
13541
2d6af8dd
JB
135422011-04-12 Juanma Barranquero <lekktu@gmail.com>
13543
13544 * dframe.el (dframe-current-frame): Remove spurious quote.
13545
c0749a51
GM
135462011-04-12 Glenn Morris <rgm@gnu.org>
13547
088d0d61
GM
13548 * calendar/cal-tex.el (cal-tex-end-document):
13549 Try to automatically use latin1 input if needed.
13550
c0749a51
GM
13551 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13552 Don't try to cons a mark onto an empty element.
13553
5c90fde0
LL
135542011-04-11 Leo Liu <sdl.web@gmail.com>
13555
13556 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13557 buffers.
13558 (ido-kill-buffer-at-head): Support killing virtual buffers.
13559
369e974d
CY
135602011-04-10 Chong Yidong <cyd@stupidchicken.com>
13561
13562 * minibuffer.el (completion-show-inline-help): New var.
13563 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13564 (minibuffer-force-complete, minibuffer-complete-word):
13565 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13566
13567 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13568 to avoid interference from inline help (Bug#5849).
13569
37f1c930
LL
135702011-04-10 Leo Liu <sdl.web@gmail.com>
13571
099c39a4
JB
13572 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13573 Fix typo.
37f1c930 13574
a32d4040
CY
135752011-04-09 Chong Yidong <cyd@stupidchicken.com>
13576
13577 * image-mode.el (image-toggle-display-image): Signal an error if
13578 not in Image mode.
13579 (image-transform-mode, image-transform-resize)
13580 (image-transform-set-rotation): Doc fix.
daca8ba5 13581 (image-transform-set-resize): Delete.
a32d4040
CY
13582 (image-transform-set-scale, image-transform-fit-to-height)
13583 (image-transform-fit-to-width): Handle image-toggle-display-image
13584 and image-transform-resize directly.
13585
099c39a4 135862011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13587
13588 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13589 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13590 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13591 (doc-view-mode-map): Add bindings for the new functions.
13592
099c39a4 135932011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13594
4d61f28d 13595 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13596 Fix typo in docstring.
13597
3726838a
EZ
135982011-04-08 Eli Zaretskii <eliz@gnu.org>
13599
04f33f1e
EZ
13600 * files.el (file-size-human-readable): Produce one digit after
13601 decimal, like "ls -lh" does.
13602
13603 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13604 the file size representation.
13605
3726838a
EZ
13606 * simple.el (list-processes): If async subprocesses are not
13607 available, error out with a clear error message.
13608
cbb59342
CY
136092011-04-08 Chong Yidong <cyd@stupidchicken.com>
13610
13611 * help.el (help-form-show): New function, to be called from C.
13612 Put help-form output in a buffer named differently than *Help*.
13613
e3971c44
EZ
136142011-04-08 Eli Zaretskii <eliz@gnu.org>
13615
13616 * files.el (file-size-human-readable): New function.
13617
13618 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13619 computing the representation inline. Don't require `cl'.
13620
12544bbe
GM
136212011-04-08 Glenn Morris <rgm@gnu.org>
13622
a1de6c6a
GM
13623 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13624
3c4671f4
GM
13625 * net/browse-url.el (browse-url-firefox):
13626 Test system-type, not system-configuration.
13627
b605679c
GM
13628 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13629 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13630 Use log-edit-empty-buffer-p. (Bug#7598)
13631
56442f0c
GM
13632 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13633 (rlogin-mode-map): Initialize in the defvar.
13634 (rlogin): Use ignore-errors.
13635
12544bbe
GM
13636 * replace.el (occur-mode-map): Some fixes for menu items.
13637
eb237b0f
AH
136382011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13639
13640 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13641
7d668f2c
CY
136422011-04-06 Chong Yidong <cyd@stupidchicken.com>
13643
e67a13ab
CY
13644 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13645 issuing unused warnings.
13646
13647 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13648 macro directly.
13649
7d668f2c
CY
13650 * simple.el: Lisp reimplement of list-processes. Based on an
13651 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13652 (process-menu-mode): New major mode.
13653 (list-processes--refresh, list-processes):
13654 (process-menu-visit-buffer): New functions.
13655
13656 * files.el (save-buffers-kill-emacs): Don't assume any return
13657 value of list-processes, which is undocumented anyway.
13658
a83ec3c9
CY
136592011-04-06 Chong Yidong <cyd@stupidchicken.com>
13660
13661 * emacs-lisp/tabulated-list.el: New file.
13662
e91a96fe
CY
13663 * emacs-lisp/package.el: Use Tabulated List mode.
13664 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13665 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13666 table format using Tabulated List mode variables.
13667 (package--push): New macro, replacing package-list-maybe-add.
13668 (package-menu--generate): Use package--push. Renamed from
13669 package--generate-package-list.
13670 (package-menu-refresh, list-packages): Use it.
daca8ba5 13671 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13672 Return insertion data instead of inserting it directly.
099c39a4
JB
13673 (package-menu-describe-package, package-menu-execute):
13674 Use tabulated-list-get-id.
e91a96fe
CY
13675 (package-menu-mark-delete, package-menu-mark-install)
13676 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13677 (package-menu-mark-obsolete-for-deletion):
13678 Use tabulated-list-put-tag.
e91a96fe
CY
13679 (package--list-packages, package-menu-revert)
13680 (package-menu-get-package, package-menu-get-version)
13681 (package-menu-sort-by-column): Functions deleted.
13682 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13683 (package-menu--status-predicate, package-menu--version-predicate)
13684 (package-menu--name-predicate)
13685 (package-menu--description-predicate): Handle arguments in the
13686 Tabulated List format.
13687 (package-list-packages-no-fetch): Call list-packages.
13688
3e214b50
JB
136892011-04-06 Juanma Barranquero <lekktu@gmail.com>
13690
13691 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13692 (after-find-file): Don't bind it.
3e214b50
JB
13693 (revert-buffer-in-progress-p): New variable.
13694 (revert-buffer): Bind it.
13695 Pass nil for `after-find-file-from-revert-buffer'.
13696
13697 * saveplace.el (save-place-find-file-hook): Use new variable
13698 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13699
3f0f1700
GM
137002011-04-06 Glenn Morris <rgm@gnu.org>
13701
c0274801
GM
13702 * Makefile.in (AUTOGEN_VCS): New variable.
13703 (autoloads): Use $AUTOGEN_VCS.
13704
3f0f1700
GM
13705 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13706 * calendar/calendar.el (calendar-mode-map):
13707 Check for toolkit scroll bars. (Bug#8305)
13708
41ea9e48
CY
137092011-04-05 Chong Yidong <cyd@stupidchicken.com>
13710
13711 * minibuffer.el (completion-in-region--postch)
13712 (completion-in-region-mode): Remove unnecessary messages.
13713
6194c800
JB
137142011-04-05 Juanma Barranquero <lekktu@gmail.com>
13715
33256f14
JB
13716 * font-lock.el (font-lock-refresh-defaults):
13717 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13718 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13719
6194c800
JB
13720 * info.el (Info-directory-list, Info-read-node-name-2)
13721 (Info-split-parameter-string): Doc fixes.
13722 (Info-virtual-nodes): Reflow docstring.
13723 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13724 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13725 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13726 Fix typos in docstrings.
13727 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13728 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13729 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13730 (Info-restore-desktop-buffer): Mark unused parameters.
13731 (Info-directory-find-file, Info-directory-find-node)
13732 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13733 (Info-virtual-index-find-node, Info-apropos-find-file)
13734 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13735 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13736 (Info-virtual-index): Remove unused local variable `nodename'.
13737
b87a8200 137382011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13739
b87a8200
DD
13740 * net/rcirc.el: Update my e-mail address.
13741 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13742
3b2ff876
CY
137432011-04-05 Chong Yidong <cyd@stupidchicken.com>
13744
13745 * startup.el (command-line): Save the cursor's theme-face
13746 directly, instead of using face-override-spec.
13747
13748 * custom.el (load-theme): Minor optimization in assigning faces.
13749
8d17e7ca
JB
137502011-04-04 Juanma Barranquero <lekktu@gmail.com>
13751
13752 * help-fns.el (describe-variable): Complete all variables having
13753 documentation, including keywords.
13754 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13755
2fbc1934
JB
137562011-04-04 Juanma Barranquero <lekktu@gmail.com>
13757
13758 Convert to lexical-binding.
13759
13760 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13761 (bs--get-marked-string, bs--get-modified-string)
13762 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13763 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13764 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13765
13766 * ehelp.el (electric-help-execute-extended)
13767 (electric-help-ctrl-x-prefix):
13768 * hexl.el (hexl-revert-buffer-function):
13769 * linum.el (linum-after-change, linum-after-scroll):
13770 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13771
13772 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13773
74f50695
DU
137742011-04-04 Daiki Ueno <ueno@unixuser.org>
13775
13776 * epa-dired.el:
13777 * epa-mail.el:
13778 * epa-hook.el:
13779 * epa-file.el:
13780 * epa.el:
13781 * epg.el: Use lexical binding.
13782
c11325f7
CY
137832011-04-03 Chong Yidong <cyd@stupidchicken.com>
13784
0d9e9a12
CY
13785 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13786
c11325f7 13787 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13788 dictionary case for flyspell-mark-duplications-exceptions.
13789 Use regexp matching for languages.
c11325f7
CY
13790 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13791 default dictionary (Bug#7926).
13792
da91b5f2
CY
137932011-04-02 Chong Yidong <cyd@stupidchicken.com>
13794
099c39a4
JB
13795 * emacs-lisp/package.el (package--with-work-buffer):
13796 Recognize https URLs.
da91b5f2 13797
099c39a4
JB
13798 * net/network-stream.el: Move from gnus/proto-stream.el.
13799 Change prefix to network-stream throughout.
da91b5f2
CY
13800 (open-protocol-stream): Merge into open-network-stream, leaving
13801 open-protocol-stream as an alias. Handle nil BUFFER args.
13802
13803 * subr.el (open-network-stream): Move to net/network-stream.el.
13804
afa8e9f6
GM
138052011-04-02 Glenn Morris <rgm@gnu.org>
13806
1d2e369d
GM
13807 * find-dired.el (find-exec-terminator): New option.
13808 (find-ls-option): Test for -ls support.
13809 (find-ls-subdir-switches): Test for -b in find-ls-option.
13810 (find-dired, find-grep-dired): Doc fixes.
13811 (find-dired): Use find-exec-terminator.
13812
8abb7da8 13813 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13814 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13815 (find-name-arg): Remove purecopy.
8abb7da8 13816
f3ca7378
GM
13817 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13818 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13819 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13820 accordingly. Don't add the null-device if not needed.
13821
afa8e9f6
GM
13822 * files.el (save-some-buffers): Doc fix.
13823
35eae264
EZ
138242011-04-02 Eli Zaretskii <eliz@gnu.org>
13825
13826 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13827
26b51db5
JB
138282011-04-01 Juanma Barranquero <lekktu@gmail.com>
13829
13830 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13831 Use `dolist' rather than `mapcar'.
13832
7200d79c
SM
138332011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13834
03408648 13835 Add lexical binding.
7200d79c 13836
03408648
SM
13837 * subr.el (apply-partially): Use new closures rather than CL.
13838 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13839 (dolist, dotimes): Use slightly different expansion for lexical code.
13840 (functionp): Move to C.
13841 (letrec): New macro.
13842 (with-wrapper-hook): Use it and apply-partially instead of CL.
13843 (eval-after-load): Preserve lexical-binding.
13844 (save-window-excursion, with-output-to-temp-buffer): Turn them
13845 into macros.
7200d79c 13846
03408648
SM
13847 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13848
13849 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13850 than the arglist.
13851 (help-add-fundoc-usage): Don't add `Not documented'.
13852 (help-function-arglist): Handle closures, subroutines, and new
13853 byte-code-functions.
13854 (help-make-usage): Remove leading underscores.
13855 (describe-function-1): Handle closures.
13856 (describe-variable): Use special-variable-p for completion.
13857
13858 * files.el (lexical-binding): Declare safe.
f488fb65 13859
03408648
SM
13860 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13861 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13862 (pcase): Add `let' pattern.
13863 Change memoization so it actually works.
13864 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13865 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13866 <let>: New case.
f488fb65 13867
03408648
SM
13868 * emacs-lisp/macroexp.el: Use lexical binding.
13869 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13870 Don't convert ' to #' without checking that it's indeed quoting
13871 a lambda.
13872
13873 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13874 Use eval-sexp-add-defvars.
03408648
SM
13875 (eval-sexp-add-defvars): New fun.
13876
13877 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13878
13879 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13880 Don't autoload.
13881 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13882 than the internal `byte-compile-lambda'.
13883 (defmethod): Don't hide code under quotes.
13884 (eieio-defmethod): New `code' argument.
13885
13886 * emacs-lisp/eieio-comp.el: Remove.
13887
13888 * emacs-lisp/edebug.el (edebug-eval-defun)
13889 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13890 (edebug-toggle): Avoid `eval'.
13891
13892 * emacs-lisp/disass.el (disassemble-internal): Handle new
13893 `closure' objects.
13894 (disassemble-1): Handle new byte codes.
13895
13896 * emacs-lisp/cl.el (pushnew): Silence warning.
13897
13898 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13899 (cl-byte-compile-throw): Remove.
13900 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13901
13902 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13903 closures.
13904
13905 * emacs-lisp/cconv.el: New file.
13906
13907 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13908 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13909 (byte-compile-initial-macro-environment):
13910 Handle declare-function here.
13911 (byte-compile--lexical-environment): New var.
13912 (byte-stack-ref, byte-stack-set, byte-discardN)
13913 (byte-discardN-preserve-tos): New lap codes.
13914 (byte-interactive-p): Don't use any more.
13915 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13916 New macros.
13917 (byte-compile-lapcode): Use them and handle new lap codes.
13918 (byte-compile-obsolete): Remove.
13919 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13920 (byte-compile-arglist-warn): Check late def of inlinable funs.
13921 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13922 since they should have been expanded by now.
13923 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13924 (byte-compile-from-buffer): Remove unused second arg.
13925 (byte-compile-preprocess): New function.
13926 (byte-compile-toplevel-file-form): New function to distinguish
13927 file-form calls from outside from file-form calls from hunk-handlers.
13928 (byte-compile-file-form): Simplify.
13929 (byte-compile-file-form-defsubst): Remove.
13930 (byte-compile-file-form-defmumble): Simplify now that
13931 byte-compile-lambda always returns a byte-code-function.
13932 (byte-compile): Preprocess.
13933 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13934 Remove, not used any more.
13935 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13936 (byte-compile-make-args-desc): New funs.
13937 (byte-compile-lambda): Handle lexical functions. Always return
13938 a byte-code-function.
13939 (byte-compile-reserved-constants): New var, to make up room for
13940 closed-over variables.
13941 (byte-compile-constants-vector): Obey it.
13942 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13943 (byte-compile-macroexpand-declare-function): New function.
13944 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13945 byte-code-functions.
13946 (byte-compile-form): Check obsolescence here.
13947 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13948 (byte-compile-variable-ref): Remove.
13949 (byte-compile-dynamic-variable-op): New fun.
13950 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13951 (byte-compile-variable-set): New funs.
13952 (byte-compile-discard): Add 2 args.
13953 (byte-compile-stack-ref, byte-compile-stack-set)
13954 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13955 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13956 macroexpand-all instead.
13957 (byte-compile-quote-form): Remove.
13958 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13959 (byte-compile-bind, byte-compile-unbind): New funs.
13960 (byte-compile-let): Handle let* and lexical binding.
13961 (byte-compile-let*): Remove.
13962 (byte-compile-catch, byte-compile-unwind-protect)
13963 (byte-compile-track-mouse, byte-compile-condition-case):
13964 Handle a new :fun-body form, used for lexical scoping.
13965 (byte-compile-save-window-excursion)
13966 (byte-compile-with-output-to-temp-buffer): Remove.
13967 (byte-compile-defun): Simplify.
13968 (byte-compile-stack-adjustment): New fun.
13969 (byte-compile-out): Use it.
13970 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13971
13972 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13973 handler any more.
13974
13975 * emacs-lisp/byte-opt.el: Use lexical binding.
13976 (byte-inline-lapcode): Remove (to bytecomp).
13977 (byte-compile-inline-expand): Pay attention to inlining to/from
13978 lexically bound code.
13979 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13980 any more.
13981 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13982 any more and don't call compiler-macros.
13983 (byte-compile-splice-in-already-compiled-code): Remove.
13984 (byte-code): Don't inline any more.
13985 (disassemble-offset): Receive `bytes' as argument rather than via
13986 dynamic scoping.
13987 (byte-compile-tag-number): Declare before first use.
13988 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13989 `return' even if make-spliceable.
13990 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13991 obsolete interactive-p.
13992 (byte-optimize-lapcode): Optimize new lap-codes.
13993 Don't trip up on new form of `byte-constant' lap code.
13994
13995 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13996
13997 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13998
13999 * custom.el (custom-initialize-default, custom-declare-variable):
14000 Use `defvar'.
14001
14002 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14003 New variables.
14004 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14005 (COMPILE_FIRST): Add macroexp and cconv.
14006 * makefile.w32-in: Mirror changes in Makefile.in.
14007
14008 * vc/cvs-status.el:
14009 * vc/diff-mode.el:
14010 * vc/log-edit.el:
14011 * vc/log-view.el:
14012 * vc/smerge-mode.el:
14013 * textmodes/bibtex-style.el:
14014 * textmodes/css.el:
14015 * startup.el:
14016 * uniquify.el:
da91b5f2
CY
14017 * minibuffer.el:
14018 * newcomment.el:
14019 * reveal.el:
14020 * server.el:
14021 * mpc.el:
14022 * emacs-lisp/smie.el:
14023 * doc-view.el:
14024 * dired.el:
03408648
SM
14025 * abbrev.el: Use lexical binding.
14026
0f0c1f27
EZ
140272011-04-01 Eli Zaretskii <eliz@gnu.org>
14028
14029 * info.el (info-display-manual): New function.
14030
c82b2579
SM
140312011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14032
14033 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14034
221ddf68
TH
140352011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14036
14037 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14038 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14039
cba6e77e
GM
140402011-03-31 Glenn Morris <rgm@gnu.org>
14041
e040639f
GM
14042 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14043
cba6e77e
GM
14044 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14045
6d0f1c9e
CS
140462011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14047
14048 * progmodes/python.el (python-default-interpreter)
14049 (python-python-command-args, python-jython-command-args)
14050 (python-which-shell, python-which-args, python-which-bufname)
14051 (python-file-queue, python-comint-output-filter-function)
14052 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14053 variables and functions.
14054
3e2d70fd
SM
140552011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14058 (completion-in-region-mode): New minor mode.
14059 (completion-in-region): Use it.
14060 (completion-in-region--data, completion-in-region-mode-map): New vars.
14061 (completion-in-region--postch): New function.
14062 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14063 New vars.
14064 (completion--capf-wrapper): New function.
14065 (completion-at-point): Use it to track well-behavedness of
14066 hook functions.
14067 (completion-help-at-point): New command.
14068
f3e4086c
JM
140692011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14070
14071 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14072 syntax class to search for whitespace on a single line
14073 (Message-ID: <4D938140.4030905@redhat.com>).
14074
eb7ffc14
LL
140752011-03-30 Leo Liu <sdl.web@gmail.com>
14076
14077 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14078 New commands.
14079 (edit-abbrevs-map): Bind them here.
14080 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14081
d806ab68
KM
140822011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14083
14084 * allout.el (allout-hide-by-annotation, allout-flag-region):
14085 Reduce possibility of overlay leakage by making them volatile.
14086
14087 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14088 hash is not shared between buffers. Mode initialization is
14089 responsible for giving it a useful starting value.
14090 (allout-item-span): Reduce possibility of overlay leakage by
14091 making them volatile.
14092 (allout-widgets-count-buttons-in-region): Add diagnostic function
14093 for tracking down button overlay leaks.
14094
ea622834
LL
140952011-03-29 Leo Liu <sdl.web@gmail.com>
14096
14097 * ido.el (ido-read-internal): Use the default history var
14098 minibuffer-history if no HISTORY is specified.
14099
b62f8267
G
141002011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14101
03408648
SM
14102 * net/imap.el (imap-shell-open, imap-process-connection-type):
14103 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14104 Kerberos, SSL, other subprocesses.
14105
947b6566
LL
141062011-03-28 Leo Liu <sdl.web@gmail.com>
14107
14108 * abbrev.el (abbrev-table-empty-p): New function.
14109 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14110 nonempty ones. (Bug#5937)
14111
5ffb62aa
JD
141122011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14113
14114 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14115
7a097943
LL
141162011-03-27 Leo Liu <sdl.web@gmail.com>
14117
14118 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14119 for foreground and background colors.
14120 (ansi-color-make-color-map): Adapt.
14121
c5b40130
LL
141222011-03-25 Leo Liu <sdl.web@gmail.com>
14123
1f48f7d2
LL
14124 * midnight.el (midnight-time-float): Remove. Note it calculates
14125 the microsecond component incorrectly and seconds-to-time does the
14126 same job.
625897ec 14127 Remove redundant (require 'timer).
1f48f7d2 14128
c5b40130
LL
14129 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14130 (ido-completions): Remove unused arguments. (Bug#8329)
14131
d86d2721
SM
141322011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * minibuffer.el (completion--flush-all-sorted-completions):
14135 Remove itself from hook.
14136 (completion-at-point): Let the functions perform the completion
14137 immediately and return nil or t.
14138 * comint.el (comint-dynamic-complete-functions): Now identical to
14139 completion-at-point-functions.
14140 (comint-dynamic-list-input-ring): Remove unused var `index'.
14141 (comint--match-partial-filename, comint--unquote&expand-filename):
14142 New funs, split from comint-match-partial-filename.
14143 (comint-dynamic-complete): Use completion-at-point.
14144 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14145
e8974c48
DA
141462011-03-24 Drew Adams <drew.adams@oracle.com>
14147
14148 * thingatpt.el: Support `defun'.
14149
def71b5e
LL
141502011-03-23 Leo Liu <sdl.web@gmail.com>
14151
cb5af48e
LL
14152 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14153
def71b5e
LL
14154 * help-mode.el (help-mode-finish): Tweak regexp.
14155
927c53e7
GM
141562011-03-23 Glenn Morris <rgm@gnu.org>
14157
18d05bed
GM
14158 * eshell/esh-opt.el (eshell-eval-using-options):
14159 Do not bind unused local variable `eshell-option-stub'.
14160
927c53e7
GM
14161 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14162
9d0da923
JB
141632011-03-22 Juanma Barranquero <lekktu@gmail.com>
14164
14165 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14166 keymap variable in `with-no-warnings' to avoid a warning when the
14167 keymap has been already `defconst'ed.
14168
4b978a67
LL
141692011-03-22 Leo Liu <sdl.web@gmail.com>
14170
14171 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14172 encode all chars in abbrevs; otherwise use emacs-mule or
14173 utf-8-emacs. (Bug#8308)
14174
5fd62452
JB
141752011-03-22 Juanma Barranquero <lekktu@gmail.com>
14176
0b1596c6
JB
14177 * simple.el (backward-delete-char-untabify):
14178 Avoid warning about using `delete-backward-char'.
14179
5fd62452
JB
14180 * image.el (image-type-file-name-regexps): Make it variable.
14181 `imagemagick-register-types' modifies it, and the user may want
14182 to add new extensions for known image types.
14183 (imagemagick-register-types): Throw error if not using ImageMagick.
14184
0b4e93f1
LL
141852011-03-22 Leo Liu <sdl.web@gmail.com>
14186
14187 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14188 located before rcirc-prompt-end-marker.
14189 (rcirc-complete): Error if point is not after rcirc prompt.
14190 Handle the case when table is nil.
9882e214 14191 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14192
fccee4ab
CY
141932011-03-22 Chong Yidong <cyd@stupidchicken.com>
14194
14195 * custom.el (custom--inhibit-theme-enable): Make it affect only
14196 custom-theme-set-variables and custom-theme-set-faces.
14197 (provide-theme): Ignore custom--inhibit-theme-enable.
14198 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14199 (custom-enabling-themes): Delete variable.
d86d2721
SM
14200 (enable-theme): Accept only loaded themes as arguments.
14201 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14202 (custom-enabled-themes): Forbid themes from setting this.
14203 Eliminate use of custom-enabling-themes.
14204 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14205
af896da6
LL
142062011-03-21 Leo Liu <sdl.web@gmail.com>
14207
14208 * ido.el (ido-read-internal): Add ido-selected to history instead
14209 of user input.
14210
78f64af0
SM
142112011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14212
14213 * subr.el (deferred-action-list, deferred-action-function):
14214 Mark obsolete.
14215
b16ac1ec
LL
142162011-03-21 Leo Liu <sdl.web@gmail.com>
14217
810f7698
LL
14218 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14219 change on 2011-02-13 (bug#8309).
14220
b16ac1ec
LL
14221 * minibuffer.el (read-file-name-function): Change default value.
14222 (read-file-name--defaults): Rename from read-file-name-defaults.
14223 (read-file-name-default): Rename from read-file-name.
14224 (read-file-name): Call read-file-name-function.
14225
4e05e67e
GM
142262011-03-21 Glenn Morris <rgm@gnu.org>
14227
14228 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14229 Doc fixes.
14230
4359915b
CY
142312011-03-21 Chong Yidong <cyd@stupidchicken.com>
14232
14233 * cus-theme.el: Add missing provide statement.
14234 (customize-create-theme): Extract theme value correctly.
14235 (custom-theme-visit-theme): Autoload.
14236 (customize-create-theme): Prompt before inserting default faces.
14237
1fe275ee
JB
142382011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14239
14240 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14241 units and musical notes.
14242
cd394be1 142432011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14244
14245 * ido.el (ido-read-internal): Use completing-read-default.
14246 (ido-completing-read): Fix compatibility with completing-read.
14247
7d476bde
CO
142482011-03-20 Christian Ohler <ohler@gnu.org>
14249
14250 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14251 (ert-delete-all-tests): Use `called-interactively-p' rather than
14252 `interactive-p'.
14253 (ert--make-xrefs-region): Respect END.
14254
fe0fb33e
CY
142552011-03-19 Chong Yidong <cyd@stupidchicken.com>
14256
ff854b0b
CY
14257 * dired-aux.el (dired-create-directory): Signal an error if the
14258 directory already exists (Bug#8246).
14259
fe0fb33e
CY
14260 * facemenu.el (list-colors-display): Call list-faces-display
14261 inside with-help-window.
14262 (list-colors-print): Use display property to align the final
14263 column, instead of checking window-width.
14264
576bce32
EZ
142652011-03-19 Eli Zaretskii <eliz@gnu.org>
14266
4d61f28d 14267 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14268 windows-nt systems.
14269 (emerge-protect-metachars): Quote correctly for ms-dos and
14270 windows-nt systems.
14271
89c41d68 142722011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14273
14274 * info.el (info-initialize): Replace all uses of `:' with
14275 path-separator for compatibility with non-Unix systems.
14276 Cache quoting of path-separator. (Bug#8258)
14277
b14e3e21 142782011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14279
14280 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14281 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14282 (mouse-avoidance-mode): Fix typos in docstrings.
14283
4525ce3e
CY
142842011-03-19 Chong Yidong <cyd@stupidchicken.com>
14285
14286 * startup.el (package-subdirectory-regexp): Move from package.el.
14287 Omit \\` and \\', and let callers add them.
14288
14289 * emacs-lisp/package.el (package-strip-version)
14290 (package-load-all-descriptors): Add \\` and \\' to
14291 package-subdirectory-regexp before using it.
14292 (package-untar-buffer): New arg DIR; ensure that file untars only
14293 into this expected directory. Remove superfluous delete-region.
14294 (package-unpack): Caller changed.
14295 (package-tar-file-info): Use package-subdirectory-regexp.
14296
a904a09a 142972011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14298
a904a09a
SM
14299 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14300 diff-mode-shared-map (bug#8284).
14301 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14302
143032011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14304
14305 * calendar/time-date.el (format-seconds): Use assoc instead of
14306 assoc-string, since assoc-string doesn't exist in XEmacs.
14307
171fc304
JB
143082011-03-17 Juanma Barranquero <lekktu@gmail.com>
14309
14310 * custom.el (custom-known-themes): Reflow docstring.
14311 (custom-theme-load-path): Fix typo in docstring.
14312 (load-theme): Fix typo in error message.
14313 (custom-available-themes, custom-variable-theme-value):
14314 Use `let', not `let*'.
14315
d71990a1
JB
143162011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14317
14318 * calc/README: Mention inclusion of musical notes.
14319
14320 * calc/calc-units.el (calc-lu-quant): Rename from
14321 `calc-logunits-quantity'.
14322 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14323 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14324 (calc-db): Rename from `calc-dblevel'.
14325 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14326 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14327 (calc-np): Rename from `calc-nplevel'.
14328 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14329 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14330 (calc-lu-plus): Rename from `calc-logunits-add'.
14331 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14332 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14333 (calc-lu-minus): Rename from `calc-logunits-sub'.
14334 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14335 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14336 (calc-lu-times): Rename from `calc-logunits-mul'.
14337 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14338 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14339 (calc-lu-divide): Rename from `calc-logunits-div'.
14340 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14341 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14342
14343 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14344 functions being autoloaded.
14345
14346 * calc/calc.el (calc-lu-power-reference): Rename from
14347 `calc-logunits-power-reference'.
14348 (calc-lu-field-reference): Rename from
14349 `calc-logunits-field-reference'.
14350
7a71b18d
GM
14351 * calc/calc-help.el (calc-l-prefix-help):
14352 Mention musical note functions.
d71990a1 14353
40c2934b
SM
143542011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14355
14356 * minibuffer.el (completion-all-sorted-completions):
14357 Use :completion-cycle-penalty text property if present.
14358
b0911414
KM
143592011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14360
14361 * allout.el (allout-yank-processing): Adjust for new rebulleting
14362 regime so bullet being yanked is used without prompting the user
14363 for a choice.
14364
8a05b668
JB
143652011-03-16 Juanma Barranquero <lekktu@gmail.com>
14366
14367 * startup.el (command-line): Warn the user that _emacs is deprecated.
14368
5ba5fb81
JB
143692011-03-16 Juanma Barranquero <lekktu@gmail.com>
14370
14371 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14372 (delphi-verbose, delphi-comment-face, delphi-string-face)
14373 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14374 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14375 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14376 (delphi-new-comment-line, delphi-font-lock-defaults)
14377 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14378 Fix typos in docstrings.
14379
2dab465b
KM
143802011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14381
5ba5fb81 14382 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14383 Invert the roles of character and string values for INSTEAD, so a
14384 string is used for the more common case of a defaulting prompt.
14385
0adf5618
SM
143862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14387
14388 * progmodes/ruby-mode.el (ruby-backward-sexp):
14389 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14390 * play/gamegrid.el (gamegrid-make-face):
14391 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14392 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14393 * notifications.el (notifications-notify):
14394 * net/xesam.el (xesam-search-engines):
14395 * net/quickurl.el (quickurl-list-insert):
14396 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14397
d72700e5
CY
143982011-03-15 Chong Yidong <cyd@stupidchicken.com>
14399
14400 * startup.el (command-line): Update package subdirectory regexp.
14401
49c5410a
SM
144022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14403
c6eee9aa
SM
14404 * allout.el (allout-abbreviate-flattened-numbering)
14405 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14406
49c5410a
SM
14407 * subr.el (read-char-choice): Only show the cursor after the prompt,
14408 not after the answer.
14409
047b2bb9
KR
144102011-03-15 Kevin Ryde <user42@zip.com.au>
14411
14412 * help-fns.el (variable-at-point): Skip leading quotes, if any
14413 (bug#8253).
14414
0a57d256
SM
144152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14416
14417 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14418 warning message.
14419
77c992bc
MA
144202011-03-14 Michael Albinus <michael.albinus@gmx.de>
14421
14422 * shell.el (shell): When called interactively, offer to change the
14423 shell file name on remote hosts.
14424
eebc475d
TZ
144252011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14426
14427 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14428 integration for LDAP parameters. The host, base, user or binddn,
14429 and secret tokens can be specified in a netrc file, for instance.
14430 This is optional because an `auth-source' parameter must be
14431 specified in the search attributes.
14432
9d05d1ba
JB
144332011-03-13 Juanma Barranquero <lekktu@gmail.com>
14434
14435 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14436
09d9db2c
GM
144372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14438
14439 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14440 into declaration. Remove redundant and harmful binding.
14441
144422011-03-12 Eli Zaretskii <eliz@gnu.org>
14443
14444 * files.el (file-ownership-preserved-p): Pass `integer' as an
14445 explicit 2nd argument to `file-attributes'. If the file's owner
14446 is the Administrators group on Windows, and the current user is
14447 Administrator, consider that a match.
14448
14449 * server.el (server-ensure-safe-dir): Consider server directory
14450 safe on MS-Windows if its owner is the Administrators group while
14451 the current Emacs user is Administrator. Use `=' to compare
14452 numerical UIDs, since they could be integers or floats.
14453
219bd536
JB
144542011-03-12 Juanma Barranquero <lekktu@gmail.com>
14455
14456 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14457
f3afd36b
MA
144582011-03-12 Michael Albinus <michael.albinus@gmx.de>
14459
14460 Sync with Tramp 2.2.1.
14461
14462 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14463
14464 * net/trampver.el: Update release number.
14465
3aaaa6f1
SM
144662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14467
94642599
SM
14468 * progmodes/compile.el (compilation--previous-directory): Fix up
14469 various nil/dead-marker mismatches (bug#8014).
14470 (compilation-directory-properties, compilation-error-properties):
14471 Don't call it at a position past the one we're about to change.
14472
3aaaa6f1
SM
14473 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14474 Disable obsolescence warnings in the file that declares it.
14475
14239447
KM
144762011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14477
099c39a4
JB
14478 * allout-widgets.el (allout-widgets-tally):
14479 Initialize allout-widgets-tally as a hash table rather than nil to
14480 prevent mode-line redisplay warnings. Also, clarify the module
14481 description and fix a comment typo.
14239447 14482
135e287c
JB
144832011-03-11 Juanma Barranquero <lekktu@gmail.com>
14484
14485 * help-fns.el (describe-variable): Don't complete keywords.
14486 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14487
ffbf300e
CY
144882011-03-10 Chong Yidong <cyd@stupidchicken.com>
14489
ba08b241
CY
14490 * emacs-lisp/package.el (package-version-join): Impose a standard
14491 string representation for pre/alpha/beta version lists.
14492 (package-unpack-single): Standardize the directory name by passing
14493 it through package-version-join.
14494 (package-strip-rcs-id): Accept any version string that does not
14495 signal an error in version-to-list.
ffbf300e 14496
f346fd6b
MA
144972011-03-10 Michael Albinus <michael.albinus@gmx.de>
14498
14499 * simple.el (delete-trailing-whitespace): Return nil for the
14500 benefit of `write-file-functions'.
14501
ccb55d27
GM
145022011-03-10 Glenn Morris <rgm@gnu.org>
14503
5ceaac0c
GM
14504 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14505
02da65ff
GM
14506 * vc/vc-git.el (vc-git-program): New option.
14507 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14508 (vc-git--call): Use it.
14509
b2f603cc
GM
14510 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14511
5772caab
GM
14512 * cus-edit.el (Custom-newline): If no button at point, look
14513 for a subgroup button at start-of-line. (Bug#2298)
14514
ccb55d27
GM
14515 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14516
ec6ecaed
JD
145172011-03-10 Julien Danjou <julien@danjou.info>
14518
14519 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14520 `cursor-type' is nil.
14521
9d5aa01d
JB
145222011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14523
14524 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14525
b6a5875b
KM
145262011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14527
7a71b18d 14528 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14529 preserves the existing header prefix, rebulleting it if necessary,
14530 rather than replacing it. This is necessary for proper operation
14531 of cooperative addons like allout-widgets.
1154d12e
JB
14532 (allout-make-topic-prefix, allout-rebullet-heading):
14533 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14534 value as alternate bullet to be used, instead of prompting the user
14535 for a bullet character.
b6a5875b 14536
ee545c35
MA
145372011-03-09 Michael Albinus <michael.albinus@gmx.de>
14538
d86d2721
SM
14539 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14540 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14541 `tramp-default-port'.
14542
c47971d7
DD
145432011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14544
14545 * net/rcirc.el (rcirc-handler-001): Remove useless
14546 with-rcirc-process-buffer.
14547 (rcirc-check-auth-status): Swap arguments to string-match.
14548
13522cb4
GM
145492011-03-09 Glenn Morris <rgm@gnu.org>
14550
0be6f4f1
GM
14551 * shell.el (shell-mode):
14552 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14553
13522cb4
GM
14554 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14555 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14556
515de2e3
CY
145572011-03-08 Chong Yidong <cyd@stupidchicken.com>
14558
14559 * emacs-lisp/package.el (package-refresh-contents)
14560 (package-menu-execute): Use condition-case-no-debug.
14561
b511b994
MA
145622011-03-08 Michael Albinus <michael.albinus@gmx.de>
14563
14564 * simple.el (shell-command-to-string): Use `process-file'.
14565
14566 * emacs-lisp/package.el (package-tar-file-info): Handle also
14567 remote files.
14568
d86d2721
SM
14569 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14570 Use `equal' for upload base check.
b511b994 14571
25bbfb31
AM
145722011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14573
14574 * textmodes/texinfo.el (texinfo-environments):
14575 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14576
be996521
GM
145772011-03-08 Glenn Morris <rgm@gnu.org>
14578
e9c8529f
GM
14579 * cus-start.el (cursor-in-non-selected-windows):
14580 Fix :set quoting oddness. (Bug#8192)
14581
be996521
GM
14582 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14583 in some setf expressions. (Bug#2159)
14584
2bb5649e
CY
145852011-03-08 Chong Yidong <cyd@stupidchicken.com>
14586
14587 * custom.el (custom-available-themes): Return themes in
14588 alphabetical order.
14589
33383987 14590See ChangeLog.15 for earlier changes.
e3d51b27
MR
14591
14592;; Local Variables:
14593;; coding: utf-8
e3d51b27
MR
14594;; End:
14595
acaf905b 14596 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14597
14598 This file is part of GNU Emacs.
14599
14600 GNU Emacs is free software: you can redistribute it and/or modify
14601 it under the terms of the GNU General Public License as published by
14602 the Free Software Foundation, either version 3 of the License, or
14603 (at your option) any later version.
14604
14605 GNU Emacs is distributed in the hope that it will be useful,
14606 but WITHOUT ANY WARRANTY; without even the implied warranty of
14607 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14608 GNU General Public License for more details.
14609
14610 You should have received a copy of the GNU General Public License
14611 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.