Improve call-process-region error message.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
61b108cc
SM
12012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4 (macro-declaration-function): Move var from C code.
5 (macro-declaration-function): Define function with defalias.
6 * emacs-lisp/macroexp.el (macroexpand-all-1):
7 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9 defun/defmacro any more.
10 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11 Provide fallback for unknown arglist.
12 (byte-compile-arglist-warn): Change calling convention.
13 (byte-compile-output-file-form): Move print-vars binding.
14 (byte-compile-output-docform): Simplify accordingly.
15 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
16 (byte-compile-defmacro-declaration): Remove.
17 (byte-compile-file-form-defmumble): Generalize to defalias.
18 (byte-compile-output-as-comment): Return byte-positions.
19 Simplify callers accordingly.
20 (byte-compile-lambda): Use `assert'.
21 (byte-compile-defun, byte-compile-defmacro): Remove.
22 (byte-compile-file-form-defalias):
23 Use byte-compile-file-form-defmumble.
24 (byte-compile-defalias-warn): Remove.
25
6d3f7c2f
SM
262012-05-29 Stefan Merten <smerten@oekonux.de>
27
28 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 29 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
30
31 (rst-mode-abbrev-table): Merge definition.
32 (rst-mode): Make sure `font-lock-defaults' is buffer local.
33 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
34
6dbaa1c7
UJ
352012-05-29 Ulf Jasper <ulf.jasper@web.de>
36
37 * calendar/icalendar.el
38 (icalendar-export-region): Export UID properly.
39
402012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
41 * calendar/icalendar.el (icalendar-import-format):
42 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
43 (icalendar-import-format-uid): New.
44 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
45 Export UID.
46
6876a58d
SM
472012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
50 different alternative patterns.
51 (pcase-codegen): Be more careful to preserve identity.
52 (pcase--u1): Don't forget to mark vars as used.
53
54 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
55 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
56 (byte-compile-from-buffer): ...rather than here.
57
58 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
59 functions from byte-compile-function-environment.
60
46b7967e
TN
612012-05-29 Troels Nielsen <bn.troels@gmail.com>
62
63 * window.el (window-deletable-p): Avoid deleting the root window
64 of a frame with an active minibuffer.
65
69d565e2
MR
662012-05-29 Martin Rudalics <rudalics@gmx.at>
67
68 * simple.el (choose-completion): Use quit-window (Bug#11567).
69
a149fa51
CY
702012-05-29 Chong Yidong <cyd@gnu.org>
71
72 * whitespace.el (whitespace-cleanup): Fix usage of
73 whitespace-empty-at-bob-regexp (Bug#11492).
74
2b311310
AH
752012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
76
77 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
78 revert (Bug#11488).
79
b9cb2387
JL
802012-05-29 Juri Linkov <juri@jurta.org>
81
82 * isearch.el (isearch-mode-map): Bind `M-s _' to
83 `isearch-toggle-symbol'. Bind `M-s c' to
84 `isearch-toggle-case-fold'.
85 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
86 (isearch-forward): Add `M-s _' to the docstring.
87 (isearch-forward-symbol, isearch-toggle-case-fold)
88 (isearch-symbol-regexp): New functions. (Bug#11381)
89
d5e61c1c
JL
902012-05-29 Juri Linkov <juri@jurta.org>
91
92 * isearch.el (isearch-word): Add docstring. (Bug#11381)
93 (isearch-occur, isearch-search-and-update): If `isearch-word' is
94 a function, call it to get the regexp.
95 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
96 property `isearch-message-prefix' instead of the string "word ".
97 (isearch-search-fun-default): For the case of `isearch-word',
98 return a lambda that calls re-search-forward/re-search-backward
99 with a regexp returned by `word-search-regexp' or by the function
100 in `isearch-word'.
101
8cbd80f7
JL
1022012-05-29 Juri Linkov <juri@jurta.org>
103
104 * isearch.el (isearch-search-fun-default): New function.
105 (isearch-search-fun): Move default part to the new function
106 `isearch-search-fun-default'.
107 (isearch-search-fun-function): Set the default value to
108 `isearch-search-fun-default'. (Bug#11381)
109
110 * comint.el (comint-history-isearch-end):
111 Use `isearch-search-fun-default'.
112 (comint-history-isearch-search): Use `isearch-search-fun-default'
113 and remove spacial case for `isearch-word'.
114 (comint-history-isearch-wrap): Remove spacial case for
115 `isearch-word'.
116
117 * hexl.el (hexl-isearch-search-function):
118 Use `isearch-search-fun-default'.
119
120 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
121 Use `word-search-regexp' for `isearch-word'.
122
123 * misearch.el (multi-isearch-search-fun):
124 Use `isearch-search-fun-default'.
125
126 * simple.el (minibuffer-history-isearch-search):
127 Use `isearch-search-fun-default' and remove spacial case for
128 `isearch-word'.
129 (minibuffer-history-isearch-wrap): Remove spacial case for
130 `isearch-word'.
131
132 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
133 Remove spacial case for `isearch-word'.
134 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
135
85c8c5b6
AM
1362012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
137
138 Decrease XEmacs incompatibilities.
139 * textmodes/flyspell.el (flyspell-check-pre-word-p):
140 Use `string-match'.
141 (flyspell-delete-region-overlays): Use alternative definition for
142 XEmacs.
143 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
144 (flyspell-word): Use `process-kill-without-query' if XEmacs.
145 (flyspell-mode-on): Use `interactive-p' if XEmacs.
146 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
147 `define-obsolete-face-alias' under XEmacs, but old method.
148
149 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
150 `with-no-warnings' definition or Emacs alias.
151 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
152 (ispell-word): Do not use `region-p' if XEmacs.
153
8cab9efc
AM
1542012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
155
156 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
157 Check for `ispell-dictionary-base-alist' instead of full
158 `ispell-dictionary-alist'.
159 (ispell-init-process): Show spellchecker when starting new Ispell
160 process.
161
fda91268
RZ
1622012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
165 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
166
694ea8e3
JB
1672012-05-27 Juanma Barranquero <lekktu@gmail.com>
168
169 * version.el (motif-version-string, gtk-version-string)
170 (ns-version-string): Declare.
171
e4d4f539
JL
1722012-05-27 Juri Linkov <juri@jurta.org>
173
174 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
175 after the `eval-defun-1' specialcaseing
176 like in `edebug-eval-defun' (bug#10181).
177
178 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
179 like in `eval-defun-1'.
180
33017faf 1812012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 182
fda91268
RZ
183 * mail/sendmail.el (mail-yank-region):
184 Recognize rmail-yank-current-message in addition to insert-buffer.
185 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
186 a *mail* buffer created through rmail-start-mail with sendmail as
187 mail-user-agent.
188
33017faf
GM
1892012-05-27 Chong Yidong <cyd@gnu.org>
190
191 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
192 Default to 256 (Bug#11267).
193
194 * help.el (describe-mode): Doc fix.
195
04188bb9
GM
1962012-05-26 Glenn Morris <rgm@gnu.org>
197
38264cc9
GM
198 * w32-fns.el (w32-init-info): Remove.
199 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
200
eb7afdad
GM
201 * info.el (info-initialize): For self-contained NS builds, put the
202 included info/ directory at the front. (Bug#2791)
203
04188bb9
GM
204 * paths.el (Info-default-directory-list): Make it a defcustom,
205 mainly so that we can use custom-initialize-delay.
206
a179e3f7
SM
2072012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
208
43416392
SM
209 * subr.el (buffer-has-markers-at): Mark obsolete.
210
a179e3f7 211 * subr.el (lambda): Use declare.
43416392 212
a179e3f7
SM
213 * emacs-lisp/lisp-mode.el (lambda):
214 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
215
34a008d9
AH
2162012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
217
218 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
219
0a3b289f
GM
2202012-05-26 Glenn Morris <rgm@gnu.org>
221
222 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
223
758c81e8
GM
2242012-05-25 Glenn Morris <rgm@gnu.org>
225
f9f334f0
GM
226 * paths.el: Remove no-byte-compile.
227 * loadup.el: No need to load paths.el uncompiled.
228
87eb79c2
GM
229 * image.el (imagemagick-types-inhibit): Doc fix.
230
758c81e8
GM
231 * version.el: Remove no-byte-compile and associated formatting.
232 * loadup.el: No need to load version.el uncompiled. AFAICS, this
233 is ancient code from when there was an "inc-vers.el".
234
e7e85dc0
SM
2352012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * progmodes/gdb-mi.el: Minor style changes.
238 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
239 Turn into minor modes.
240 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
241 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
242 (gdb-shell): Remove unneeded let-binding.
243 (gdb-get-many-fields): Eliminate O(n²) behavior.
244
f31237a4
EZ
2452012-05-25 Eli Zaretskii <eliz@gnu.org>
246
247 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
248 platforms that don't link in fontset.c.
249
bc1b21bb
JL
2502012-05-25 Juri Linkov <juri@jurta.org>
251
252 Use the same diff color scheme as in modern VCSes (bug#10181).
253
254 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
255 to avoid confusion with `diff-added' that now uses green colors.
256 (diff-removed): Use shades of red.
257 (diff-added): Use shades of green.
258 (diff-changed): Leave just the yellow color.
259 (diff-use-changed-face): New variable.
260 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
261 how to highlight context diff changes.
262 (diff-refine-change): Use shades of yellow.
263 (diff-refine-removed): New face that uses shades of red.
264 (diff-refine-added): New face that uses shades of green.
265 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
266 `diff-refine-removed' in the call to `smerge-refine-subst'
267 depending on the value of `diff-use-changed-face'.
268
269 * vc/smerge-mode.el (smerge-mine): Use shades of red.
270 (smerge-other): Use shades of green.
271 (smerge-base): Use shades of yellow.
272 (smerge-refined-change): Empty face.
273 (smerge-refined-removed): New face that uses shades of red.
274 (smerge-refined-added): New face that uses shades of green.
275 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
276 args `props-r' and `props-a', and use them. Doc fix.
277 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
278 on its value use different faces `smerge-refined-change',
279 `smerge-refined-removed', `smerge-refined-added' in the call to
280 `smerge-refine-subst'.
281
282 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
283 Add face condition `min-colors 88' with shades of red.
284 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
285 `min-colors 88' with shades of green.
286 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
287 `min-colors 88' with shades of yellow.
288
6df9112c
GM
2892012-05-24 Glenn Morris <rgm@gnu.org>
290
ead5edc0
GM
291 * paths.el (prune-directory-list, remote-shell-program): Move to...
292 * files.el (prune-directory-list, remote-shell-program): ...here.
293 For the latter, delay initialization, prefer ssh, just search PATH.
294
f18b81e6
GM
295 * paths.el (term-file-prefix): Move to faces.el (the only user).
296 * faces.el (term-file-prefix): Move here, make it a defcustom.
297
ee2f89a6
GM
298 * paths.el (news-directory, news-path, news-inews-program):
299 Move to gnus/nnspool.el.
61a583ca 300
f8815e4c
GM
301 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
302
c8f3b42c
GM
303 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
304 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
305 Make the latter a defcustom, with a delayed initialization.
306
6df9112c
GM
307 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
308 These were deleted from Gnus itself late 2010.
309
5dadff36
JB
3102012-05-22 Juanma Barranquero <lekktu@gmail.com>
311
9e1701c6
JB
312 * progmodes/which-func.el (which-func-ff-hook):
313 Check against user-error, not error.
314
bd7239f5 315 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
316 cl-specs.el, which no longer exists.
317
3290526d
GM
3182012-05-22 Glenn Morris <rgm@gnu.org>
319
320 * info.el (info-emacs-bug): New command.
321 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
322 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
323
ff0c3cfb
GM
3242012-05-21 Glenn Morris <rgm@gnu.org>
325
326 * makefile.w32-in (update-subdirs-SH):
327 * Makefile.in (update-subdirs): Update for moved update-subdirs.
328
5814f126
SM
3292012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
330
a52c0aa0
SM
331 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
332
5814f126
SM
333 * progmodes/compile.el (compilation-error-regexp-alist-alist):
334 Simplify Maven regexp, and make sure the file can't start with a space
335 (bug#11517).
336
b847032c
GM
3372012-05-21 Glenn Morris <rgm@gnu.org>
338
339 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
340 Scrap superfluous subshells.
341
3858bfe7
SM
3422012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
345 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
346
d14b0029
JB
3472012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
348
349 * calc/calc.el (calc-ensure-consistent-units): New variable.
350
a52c0aa0
SM
351 * calc/calc-units.el (math-consistent-units-p)
352 (math-check-unit-consistency): New functions.
353 (calc-quick-units, calc-convert-units):
354 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
355 is non-nil.
d14b0029
JB
356 (calc-extract-units): Fix typo.
357
60c4db3a
SM
3582012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
359
77f3b62e
SM
360 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
361
60c4db3a
SM
362 * textmodes/flyspell.el: Commenting style, plus code simplifications.
363 (flyspell-default-deplacement-commands): Don't spell check after
364 repeated window/frame switches (e.g. triggered by mouse-movement).
365 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
366 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
367 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
368 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
369 Remove unused vars.
370 (flyspell-get-casechars, flyspell-get-not-casechars):
371 Simplify; Don't bother removing a ] just to add it back.
372 * textmodes/ispell.el (ispell-program-name): Use executable-find.
373
b1a10716
RS
3742012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
375
376 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
377 New functions.
bd7239f5 378 (math-function-table): Add support for more C functions.
b1a10716 379
3f1b25b5
AM
3802012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
381
382 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
383 (flyspell-debug-signal-word-checked): Protect delay handling for
384 otherchars against empty otherchars.
385
b581bb5c
SM
3862012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
389 their respective macro declarations.
390 * skeleton.el (define-skeleton):
391 * progmodes/compile.el (define-compilation-mode):
392 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
393 (define-ibuffer-filter):
394 * emacs-lisp/generic.el (define-generic-mode):
395 * emacs-lisp/easy-mmode.el (define-minor-mode)
396 (define-globalized-minor-mode):
397 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
398 * emacs-lisp/byte-run.el (defsubst):
399 * custom.el (deftheme): Add doc-string metadata.
400
70b8ef8f
SM
4012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
404
b1198e17
SM
4052012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
406
9abdc45d
SM
407 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
408
b1198e17
SM
409 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
410 * emacs-lisp/cl-macs.el: Idem.
411 * emacs-lisp/cl-specs.el: Remove.
412
4735906a
SM
4132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 Minor renaming of internal CL functions and variables.
416 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
417 (cl--position): Rename from cl-position.
418 (cl--delete-duplicates): Rename from cl-delete-duplicates.
419 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
420 (cl--random-state): Rename from *random-state*.
421
ac348012
SM
4222012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
425 parens around the arg list (bug#11499).
426
a0a79cde
JL
4272012-05-17 Juri Linkov <juri@jurta.org>
428
429 * isearch.el (word-search-regexp, word-search-backward)
430 (word-search-forward, word-search-backward-lax)
431 (word-search-forward-lax): Move functions from search.c
432 (bug#10145, bug#11381).
433
65034a51
AM
4342012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
435
436 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
437 (flyspell-debug-signal-word-checked): Delay for otherchars as for
438 normal word components.
439
1a72a195
SM
4402012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * minibuffer.el (completion--sifn-requote): Fix last change.
443 (minibuffer-local-must-match-filename-map):
444 Move define-obsolete-variable-alias before its var.
445
fdb058c2
SM
4462012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
447
c41045e6
SM
448 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
449
036dfb8b
SM
450 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
451 behavior.
452 (completion--string-equal-p): New function.
453 (completion--twq-all): Use it to get better assertion failure data.
454
2473256d
SM
455 Only handle ".." and '..' quoting in shell-mode (bug#11466).
456 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
457 (shell--requote-argument): New functions.
458 (shell-completion-vars): Use them.
459 (shell--parse-pcomplete-arguments): Rename from
460 shell-parse-pcomplete-arguments.
461 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
462 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
463 Obey comint-file-name-quote-list.
464
fdb058c2
SM
465 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
466 (smie-indent-keyword): Use it.
467
51fa99f1
SM
4682012-05-14 Stefan Merten <smerten@oekonux.de>
469
470 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
471
e18afed7 4722012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
473
474 * net/rlogin.el (rlogin-mode-map): Fix last change.
475
e18afed7 4762012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
477
478 * mail/smtpmail.el (smtpmail-send-command): Send the command and
479 the following \r\n using a single `process-send-string', since the
480 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 481 with two `process-send-string's (Bug#11444).
8633b1f4 482
e18afed7 4832012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 484
fdb058c2
SM
485 * shell.el (shell-parse-pcomplete-arguments):
486 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 487
2d21d7f6
WJ
4882012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
489
e18afed7 490 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
491 (image-transform-scale, image-transform-right-angle-fudge): New vars.
492 (image-transform-width, image-transform-fit-width): New functions.
493 (image-transform-properties): Use them.
494 (image-transform-check-size): New function.
495 (image-toggle-display-image): Use it (for testing).
496 (image-transform-set-rotation): Reduce angle mod 360.
497 Delete obsolete comment.
498
7102e6d0
WJ
4992012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
500
501 * image-mode.el: Fix scaling (bug#11399).
502 (image-transform-resize): Doc fix.
503 (image-transform-properties): Default scale is 1 and height should
504 be an integer.
505
06bc5e6e
SM
5062012-05-13 Johan Bockgård <bojohan@gnu.org>
507
508 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
509 than hard-coding `car', to fix misbehavior when moving forward.
510
0ae03b6a
CY
5112012-05-13 Chong Yidong <cyd@gnu.org>
512
513 * emacs-lisp/tabulated-list.el (tabulated-list-format)
514 (tabulated-list-entries, tabulated-list-padding)
515 (tabulated-list-sort-key): Make permanent-local.
516
517 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
518 (electric-buffer-list): Put electric buffer menu
519 command descriptions in this docstring, instead of the docstring
520 of electric-buffer-menu-mode. Code cleanups.
521 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
522 Electric-buffer-menu-mode.
523 (electric-buffer-update-highlight): Minor code cleanup.
524
205a7391
MA
5252012-05-13 Michael Albinus <michael.albinus@gmx.de>
526
527 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
528 (Bug#11447)
529
e5bd0a28
SM
5302012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 Move define-obsolete-variable-alias before the var's definition.
533 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
534 * tooltip.el (tooltip-hook):
535 * textmodes/reftex-toc.el (reftex-toc-map):
536 * textmodes/reftex-sel.el (reftex-select-label-map)
537 (reftex-select-bib-map):
538 * textmodes/reftex-index.el (reftex-index-map)
539 (reftex-index-phrases-map):
540 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
541 * progmodes/meta-mode.el (meta-mode-map):
542 * novice.el (disabled-command-hook):
543 * loadhist.el (unload-hook-features-list):
544 * frame.el (blink-cursor):
545 * files.el (find-file-not-found-hooks, write-file-hooks)
546 (write-contents-hooks):
547 * emulation/tpu-edt.el (GOLD-map):
548 * emacs-lock.el (emacs-lock-from-exiting):
549 * emacs-lisp/generic.el (generic-font-lock-defaults):
550 * emacs-lisp/chart.el (chart-map):
551 * dos-fns.el (register-name-alist):
552 * dired-x.el (dired-omit-files-p):
553 * desktop.el (desktop-enable):
554 * cus-edit.el (custom-mode-hook):
555 * buff-menu.el (buffer-menu-mode-hook):
556 * bookmark.el (bookmark-read-annotation-text-func)
557 (bookmark-exit-hooks):
558 * allout.el (allout-mode-deactivate-hook)
559 (allout-exposure-change-hook, allout-structure-added-hook)
560 (allout-structure-deleted-hook, allout-structure-shifted-hook):
561 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
562 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
563 comes before the corresponding variable's definition.
564
ac59c2f6
CY
5652012-05-12 Chong Yidong <cyd@gnu.org>
566
567 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
568 (Buffer-menu-mouse-select): Restore function (Bug#11459).
569 (Buffer-menu-mode-map): Bind it.
570 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 571
dee6c9a3
SM
5722012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
573
2171cea5
SM
574 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
575 (prolog-upper-case-string, prolog-lower-case-string)
576 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
577 (prolog-use-smie, prolog-smie-grammar): New vars.
578 (prolog-smie-forward-token, prolog-smie-backward-token)
579 (prolog-smie-rules): New funs.
580 (prolog-comment-indent): Remove.
581 (prolog-mode-variables): Use default comment indentation instead.
582 Setup SMIE.
583 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
584 (prolog-mode): Don't call them any more.
585 (prolog-electric-colon, prolog-electric-dash)
586 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
587
aa0382bd
SM
588 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
589
dbacb4bd
SM
590 * minibuffer.el (completion--twq-all): Again, allow case differences.
591
13bdd94c
SM
592 * term.el: Move keymap initialization code to be more idiomatic.
593 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
594 (term-terminal-menu): Move initialization into declaration.
595 (term-escape-char): Let the user set it in her .emacs.
596
ff46c759
SM
597 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
598 Provide SMIE-based indentation (not enabled by default yet).
599 (sh-mode-map): Don't bind electric keys.
600 Use electric-pair-mode instead of skeleton-pair.
601 (sh-assignment-regexp): Fit within 80 columns.
602 (sh-indent-supported): Specify actual shell name instead of boolean.
603 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
604 (sh-maybe-here-document): Use it. Make obsolete.
605 (sh-electric-here-document-mode) New minor mode.
606 (sh-mode): Use it. Don't set sh-indent-supported-here here.
607 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
608 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
609 (sh-smie-rc-grammar, sh-use-smie): New vars.
610 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
611 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
612 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
613 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
614 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
615 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
616 (sh-set-shell): Use smie-setup if requested.
617
dee6c9a3
SM
618 * term.el (term-set-escape-char): Properly set term-escape-char.
619 See http://stackoverflow.com/questions/10524656.
620
9f9aa044
CY
6212012-05-10 Chong Yidong <cyd@gnu.org>
622
623 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
624 Use url-generic-parse-url, and handle host names and Windows
625 filenames properly.
626 (ffap-url-unwrap-remote): Use url-generic-parse-url.
627 (ffap-url-unwrap-remote): Accept list values, specifying a list of
628 URL schemes to work on.
629 (ffap--toggle-read-only): New function.
630 (ffap-read-only, ffap-read-only-other-window)
631 (ffap-read-only-other-frame): Use it.
632 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
633 necessary for ffap-url-unwrap-remote.
634
836d29b3
DA
6352012-05-10 Dave Abrahams <dave@boostpro.com>
636
637 * cus-start.el (create-lockfiles): Add it.
638
00fd78ed
CY
6392012-05-09 Chong Yidong <cyd@gnu.org>
640
641 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
642 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
643
666b903b 6442012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
645
646 * shell.el (shell-completion-vars): Fix last change (bug#11348).
647
666b903b 6482012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
649
650 * ansi-color.el (ansi-color-process-output): Check for validity of
651 comint-last-output-start before using it. This avoids a bad
652 interaction with gdb-mi's input/output buffer.
653
666b903b 6542012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
655
656 * files.el (dir-locals-read-from-file):
657 Mention dir-locals in any error message.
658
666b903b 6592012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
660
661 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
662 package (Bug#11410).
663
f677562b
CY
664 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
665 variables into description.
666
666b903b 6672012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
668
669 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
670 shell-delimiter-argument-list (bug#11348).
671 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
672
b499d8d0
JB
6732012-05-09 Juanma Barranquero <lekktu@gmail.com>
674
8f6b6da8
JB
675 * textmodes/rst.el: Silence byte-compiler warnings.
676 (rst-re-alist, rst-reset-section-caches): Move around.
677 (rst-re): Use `characterp', not `char-valid-p'.
678 (font-lock-beg, font-lock-end): Declare.
679
4824146a
JB
680 * progmodes/idlw-shell.el (specs): Remove reference to deleted
681 variable `idlwave-shell-activate-alt-keybindings' and simplify.
682
b499d8d0
JB
683 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
684
ad89bb83
GM
6852012-05-08 Glenn Morris <rgm@gnu.org>
686
687 * files.el (auto-mode-alist): Treat ".make" like ".mk".
688
8bba5a75
SM
6892012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
690
49ed9c8e
SM
691 * vc/log-edit.el: Add GNU coding standards highlighting.
692 (log-edit-font-lock-gnu-style)
693 (log-edit-font-lock-gnu-keywords): New vars.
694 (log-edit-font-lock-keywords): New fun.
695 (log-edit-mode): Don't fold case in font-lock.
696 (log-edit-font-lock-keywords): Do not assume case-folding.
697
07d00b56
SM
698 * imenu.el: Misc cleanup. Make docstrings out of comments.
699 Use lexical-binding.
700 (imenu--index-alist, imenu--last-menubar-index-alist)
701 (imenu-menubar-modified-tick): Use defvar-local.
702 (imenu--split-menu): Remove unused var.
703 (imenu--cleanup-seen): Declare as global.
704 (imenu--cleanup): Use dolist.
705
8bba5a75
SM
706 * subr.el (defvar-local): Add debug spec and doc-string position.
707
5075bdb5
GM
7082012-05-08 Glenn Morris <rgm@gnu.org>
709
c052c904
GM
710 * lisp/language/burmese.el, language/cham.el, language/czech.el:
711 * language/english.el, language/georgian.el, language/greek.el:
712 * language/japanese.el, language/khmer.el, language/korean.el:
713 * language/lao.el, language/misc-lang.el, language/romanian.el:
714 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
715 * language/thai.el, language/utf-8-lang.el:
716 Remove no-byte-compile setting.
717
5075bdb5
GM
718 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
719
06f679a7
AH
7202012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
721
722 * progmodes/make-mode.el (makefile-browse):
723 Remove unnecessary interactive. (Bug#11324)
724
03794570
GM
7252012-05-07 Glenn Morris <rgm@gnu.org>
726
af8630f4
GM
727 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
728
03794570
GM
729 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
730
f0809a9d
SM
7312012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
732
28be5ce7
SM
733 * loadup.el: Preload newcomment.el.
734 * newcomment.el: Move autoload-only code to toplevel.
735
f0809a9d
SM
736 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
737 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
738 Handle new :right-align column property.
739 (tabulated-list-print-col): Idem, plus use `display' text-property to
740 try and preserve alignment for variable pitch fonts.
741
1241b724
CY
7422012-05-07 Chong Yidong <cyd@gnu.org>
743
744 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
745 (tabulated-list-use-header-line): New var.
746 (tabulated-list-init-header): Use it.
747 (tabulated-list-print-fake-header): New function.
748 (tabulated-list-print): Use it.
749 (tabulated-list-sort-button-map): Add non-header-line commands.
750 (tabulated-list-init-header): Add column name property to basic
751 labels as well.
752 (tabulated-list-col-sort): Handle non-header-line button case.
753 (tabulated-list--sort-by-column-name): Fix a corner case.
754
f0809a9d
SM
755 * buff-menu.el (list-buffers--refresh):
756 Handle Buffer-menu-use-header-line.
1241b724 757
e5f9458f
CY
7582012-05-06 Chong Yidong <cyd@gnu.org>
759
760 * buff-menu.el: Convert to Tabulated List mode.
761 (Buffer-menu-buffer+size-width): Make obsolete.
762 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
763 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
764 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
765 documentation into docstring of buffer-menu.
766 (Buffer-menu-toggle-files-only): Add an informative message.
767 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
768 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
769 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
770 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
771 (Buffer-menu-execute, Buffer-menu-select)
772 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
773 (Buffer-menu-bury): Use Tabulated List machinery.
774 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
775 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 776 Delete.
e5f9458f
CY
777 (list-buffers--refresh): New function.
778 (list-buffers-noselect): Use it.
779 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
780 (Buffer-menu--pretty-file-name): New helper functions.
781
782 * loadup.el: Preload tabulated-list.
783
784 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
785 tabulated-list-sort-column.
786 (tabulated-list-init-header): Add the initial aligning space even
787 if tabulated-list-padding is zero.
788
e129292c
CS
7892012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
790
791 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
792 whose cdr is not a cons cell correctly (bug#11038).
793
6632d361
CY
7942012-05-06 Chong Yidong <cyd@gnu.org>
795
e129292c
CS
796 * emacs-lisp/tabulated-list.el (tabulated-list-format):
797 Accept additional plist in column descriptors.
6632d361
CY
798 (tabulated-list-init-header): Obey it.
799 (tabulated-list-get-entry): New function.
800 (tabulated-list-put-tag): Use it. Use string-width instead of
801 length.
802 (tabulated-list--column-number): New function.
803 (tabulated-list-print): Use it.
e129292c
CS
804 (tabulated-list-print-col): New function.
805 Set `tabulated-list-column-name' property on each column's text.
6632d361 806 (tabulated-list-print-entry): Use it.
e129292c
CS
807 (tabulated-list-delete-entry, tabulated-list-set-col):
808 New functions.
6632d361
CY
809 (tabulated-list-sort-column): New command (Bug#11337).
810
3cc99f68
CY
811 * buff-menu.el (list-buffers): Move C-x C-b binding from
812 buff-menu.el to bindings.el.
813
814 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
815 :advertised-binding feature.
816
52b61776
TN
8172012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
818
819 * progmodes/compile.el (compilation-internal-error-properties):
820 Calculate start position correctly when end-col is set but
821 end-line is not (Bug#11382).
822
ebfe2597
WJ
8232012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
824
825 * man.el (Man-unindent): Use text-property-default-nonsticky to
826 prevent untabify from inheriting face properties (Bug#11408).
827
6d3f7c2f
SM
8282012-05-05 Stefan Merten <smerten@oekonux.de>
829
830 * textmodes/rst.el: Major merge with upstream development up to
831 Docutils SVN r7399 / rst.el V1.2.1.
832
833 Clarify maintainership and authors.
834
835 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
836 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
837 (rst-official-version, rst-official-cvs-rev, rst-version)
838 (rst-package-emacs-version-alist): New functions and variables
839 for version information.
840
841 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
842 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
843 (rst-mode-syntax-table, rst-mode): New and corrected functions
844 and variables representing reStructuredText features.
845
846 (rst-re): New function for reStructuredText regexes. Use in
847 many places.
848
849 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
850 (rst-mode-map): Rebind keys.
851
852 (rst-mode-lazy, rst-font-lock-keywords)
853 (rst-font-lock-extend-region)
854 (rst-font-lock-extend-region-internal)
855 (rst-font-lock-extend-region-extend)
856 (rst-font-lock-find-unindented-line-limit)
857 (rst-font-lock-find-unindented-line-match)
858 (rst-adornment-level, rst-font-lock-adornment-level)
859 (rst-font-lock-adornment-match)
860 (rst-font-lock-handle-adornment-pre-match-form)
861 (rst-font-lock-handle-adornment-matcher): Major revision of
862 font-locking. Integrate with other code. Use `jit-lock-mode'.
863
864 (rst-preferred-adornments, rst-adjust-hook)
865 (rst-new-adornment-down, rst-preferred-bullets)
866 (rst-preferred-bullets, rst-indent, rst-indent-width)
867 (rst-indent-field, rst-indent-literal-normal)
868 (rst-indent-literal-minimized, rst-indent-comment): Change,
869 extend and improve customization.
870
871 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
872 (rst-normalize-cursor-position, rst-get-decoration)
873 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
874 (rst-rstrip, rst-toc-insert-find-delete-contents)
875 (rst-shift-fill-region, rst-compute-bullet-tabs)
876 (rst-debug-print-tabs, rst-debug-mark-found)
877 (rst-shift-region-guts, rst-shift-region-right)
878 (rst-shift-region-left, rst-use-char-classes)
879 (rst-font-lock-keywords-function)
880 (rst-font-lock-indentation-point)
881 (rst-font-lock-find-unindented-line-begin)
882 (rst-font-lock-find-unindented-line-end)
883 (rst-font-lock-find-unindented-line)
884 (rst-font-lock-adornment-point, rst-font-lock-level)
885 (rst-adornment-level-alist): Remove functions and variables.
886
887 (rst-compare-adornments, rst-get-adornment-match)
888 (rst-suggest-new-adornment, rst-get-adornments-around)
889 (rst-adornment-complete-p, rst-get-next-adornment)
890 (rst-adjust-adornment, rst-display-adornments-hierarchy)
891 (rst-straighten-adornments): Standardize function names to
892 use "adornment" instead of "decoration". Correct callers.
893 Similar standardizing in many places.
894
895 (rst-update-section, rst-adjust, rst-promote-region)
896 (rst-enumerate-region, rst-bullet-list-region)
897 (rst-repeat-last-character): Correct use of `interactive'.
898
899 (rst-classify-adornment, rst-find-all-adornments)
900 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
901 (rst-find-leftmost-column, rst-repeat-last-character):
902 Refactor functions.
903
904 (rst-find-title-line, rst-reset-section-caches)
905 (rst-get-adornments-around, rst-adjust-adornment-work)
906 (rst-arabic-to-roman, rst-roman-to-arabic)
907 (rst-insert-list-pos, rst-insert-list-new-item)
908 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
909 New functions.
910
911 (rst-all-sections, rst-section-hierarchy)
912 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
913 New variables.
914
915 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
916 configuration instead of only buffer. Change where necessary.
917
918 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
919 (rst-shift-region, rst-adaptive-fill): New functions for
920 indentation and filling.
921
922 (rst-comment-line-break, rst-comment-indent)
923 (rst-comment-insert-comment, rst-comment-region)
924 (rst-uncomment-region): New functions for handling comments.
925
926 (rst-compile): Quote shell arguments.
927
928 (rst-compile-pdf-preview, rst-compile-slides-preview):
929 Delete temporary files after use.
930
a43f98b3
GM
9312012-05-05 Glenn Morris <rgm@gnu.org>
932
48176e8b
GM
933 * calendar/cal-html.el: Optionally include holidays in the output.
934 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
935 (cal-html-holidays): New option.
936 (cal-html-css-default): Add holiday entry.
937 (holiday-in-range): Autoload it.
938 (cal-html-htmlify-entry): Add optional class argument.
939 (cal-html-htmlify-list): Add optional holidays argument.
940 (cal-html-insert-agenda-days): Include holidays in the output.
941 (cal-html-one-month): Maybe include holidays.
942
a43f98b3
GM
943 * calendar/holidays.el (holiday-in-range):
944 Move here from cal-tex-list-holidays.
945 * calendar/cal-tex.el (cal-tex-list-holidays):
946 Make it an obsolete alias for holiday-in-range. Update all callers.
947
fef9d149 9482012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
949
950 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
951 Nextstep.
952
248da2f4
RW
9532012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
954
955 * files.el (file-auto-mode-skip): New var.
956 (set-auto-mode-1): Use it.
957
f95e9344
SM
9582012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
959
df96ab1e
SM
960 * repeat.el: Use lexical-binding.
961 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
962 (repeat-undo-count): Remove.
963 (repeat):
964 * progmodes/octave-mod.el (octave-abbrev-start):
965 * progmodes/f90.el (f90-abbrev-start):
966 * face-remap.el (text-scale-adjust):
967 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
968
5342bb06
SM
969 * emacs-lisp/pcase.el (pcase--let*): New function.
970 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
971 a bit more.
972 (pcase--split-pred): Be more clever about ruling out overlap between
973 a predicate and some constant pattern.
974 (pcase--q1): Use `null' instead of (eq foo nil).
975
f95e9344
SM
976 * subr.el (setq-local, defvar-local): New macros.
977 (kbd): Redefine as an alias.
978 (with-selected-window): Leave unrelated frames alone.
979 (set-temporary-overlay-map): New function.
980
71873e2b
SM
9812012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * subr.el (user-error): New function.
984 * window.el (switch-to-buffer):
985 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
986 (smerge-match-conflict):
987 * simple.el (previous-matching-history-element)
988 (next-matching-history-element, goto-history-element, undo-more)
989 (undo-start):
990 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
991 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
992 (next-file, tags-loop-scan, list-tags, complete-tag):
993 * progmodes/compile.el (compilation-loop):
994 * mouse.el (mouse-minibuffer-check):
995 * man.el (Man-bgproc-sentinel, Man-goto-page):
996 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
997 (Info-history-forward, Info-follow-reference, Info-menu)
998 (Info-extract-menu-item, Info-extract-menu-counting)
999 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1000 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1001 (Info-next-reference, Info-prev-reference, Info-index)
1002 (Info-index-next, Info-follow-nearest-node)
1003 (Info-copy-current-node-name):
1004 * imenu.el (imenu--make-index-alist)
1005 (imenu-default-create-index-function, imenu-add-to-menubar):
1006 * files.el (basic-save-buffer, recover-file):
1007 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1008 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1009 (checkdoc-message-text, checkdoc-defun):
1010 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1011 * cus-edit.el (customize-changed-options, customize-rogue)
1012 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1013 (custom-variable-mark-to-reset-standard)
1014 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1015 (custom-file):
1016 * completion.el (check-completion-length):
1017 * comint.el (comint-search-arg)
1018 (comint-previous-matching-input-string-position)
1019 (comint-previous-matching-input)
1020 (comint-replace-by-expanded-history-before-point, comint-send-input)
1021 (comint-copy-old-input, comint-backward-matching-input)
1022 (comint-goto-process-mark, comint-set-process-mark):
1023 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1024 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1025
8a61ee22
SM
10262012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1027
66408d1e
SM
1028 * dabbrev.el (dabbrev--ignore-case-p): New function.
1029 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1030 Use it.
1031
8a61ee22
SM
1032 * files.el (automount-dir-prefix): Mark as obsolete.
1033
3c74813a
GM
10342012-05-04 Glenn Morris <rgm@gnu.org>
1035
1036 * patcomp.el, play/bruce.el: Move to obsolete/.
1037
0bfcf5c5
PE
10382012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1039
1040 Fix minor Y10k bugs.
1041 * arc-mode.el (archive-unixdate):
1042 * autoinsert.el (auto-insert-alist):
1043 * calc/calc-forms.el (math-this-year):
1044 * emacs-lisp/copyright.el (copyright-current-year)
1045 (copyright-update-year, copyright):
1046 * tar-mode.el (tar-clip-time-string):
1047 * time.el (display-time-update):
1048 Don't assume years have 4 digits.
1049
78f3273a
CY
10502012-05-04 Chong Yidong <cyd@gnu.org>
1051
1052 * dos-w32.el (file-name-buffer-file-type-alist)
1053 (direct-print-region-use-command-dot-com):
1054 * ffap.el (ffap-menu-regexp):
1055 * find-file.el (ff-special-constructs):
1056 * follow.el (follow-debug):
1057 * forms.el (forms--debug):
1058 * iswitchb.el (iswitchb-all-frames):
1059 * ido.el (ido-all-frames):
1060 * emacs-lisp/timer.el (timer-max-repeats):
1061 * mail/feedmail.el (feedmail-mail-send-hook)
1062 (feedmail-mail-send-hook-queued):
1063 * mail/footnote.el (footnote-signature-separator):
1064 * mail/mailabbrev.el (mail-alias-separator-string)
1065 (mail-abbrev-mode-regexp):
1066 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1067 * progmodes/idlwave.el (idlwave-libinfo-file)
1068 (idlwave-default-completion-case-is-down)
1069 (idlwave-library-routines): Convert defvars to defcustoms.
1070
1071 * mail/rmail.el (rmail-decode-mime-charset):
1072 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1073 (idlwave-shell-fix-inserted-breaks)
1074 (idlwave-shell-activate-alt-keybindings)
1075 (idlwave-shell-use-breakpoint-glyph):
1076 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1077
f7ae6719
SM
10782012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1081
47086495
WS
10822012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1083
1084 * progmodes/verilog-mode.el (font-lock-keywords):
1085 Fix mis-highligting auto. Reported by Craig Barner.
1086 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1087 defines from global name space. Reported by Dan Dever.
1088 (verilog-auto-reset, verilog-auto-reset-widths)
1089 (verilog-auto-tieoff): Support using unbased numbers for
1090 AUTORESET and AUTOTIEOFF.
1091 (verilog-submit-bug-report): Update variable list.
1092 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1093 parenthesis from not matching. Reported by Michael Rytting.
1094 (verilog-auto-template-lint): Fix hash error when linting modules
1095 with no used templates.
1096 (verilog-warn, verilog-warn-error)
1097 (verilog-warn-fatal): When non-interactive report multiple
1098 warnings before exiting. Suggested by Brad Dobbie.
1099 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1100 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1101 to report unused template errors. Reported by Brad Dobbie.
1102 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1103 nets, bug438. Reported by Vns Blore.
1104 (verilog-auto-inout-module, verilog-auto-reg)
1105 (verilog-read-decls, verilog-read-sub-decls-sig)
1106 (verilog-signals-edit-wire-reg, verilog-signals-with):
1107 Fix passing of Verilog data types in ANSI input/output ports
1108 such as "output logic" into the AUTOs. Special case "wire" and
1109 "reg" for backwards compatibility presuming Verilog 2001.
1110 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1111 (verilog-preprocess): Fix replication of preprocess output.
1112 Reported by Brad Dobbie.
1113 (verilog-auto-inst-interfaced-ports):
1114 Create verilog-auto-inst-interfaced-ports, bug429.
1115 Reported by Julian Gorfajn.
1116 (verilog-after-save-font-hook)
1117 (verilog-before-save-font-hook): New variable.
1118 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1119 (verilog-save-font-mods): Wrap disabling fontification, reported
1120 by David Rogoff.
1121 (verilog-do-indent, verilog-pretty-declarations-auto)
1122 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1123 Reported by Pierre-David Pfister.
1124 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1125 of class declarations, bug292. Reported by Kevin Heilman.
1126 (verilog-read-decls): Fix 'parameter type' not appearing in
1127 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1128 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1129 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1130 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1131 Reported by David Kravitz.
1132
11332012-05-03 Michael McNamara <mac@mail.brushroad.com>
1134
1135 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1136 assignment with tests in ifs and for loops.
1137 (verilog-extended-complete-re, verilog-complete-reg): Change so
1138 that DPI inport functions don't look like fuction declarations.
1139 (verilog-pretty-expr): Don't line up assignment
1140 operations to the test and increment in if and for loops
1141 (verilog-extended-complete-re, verilog-complete-reg): Change so
1142 that DPI inport functions don't look like fuction declarations
1143
2e51d4b5
KH
11442012-05-03 Kenichi Handa <handa@m17n.org>
1145
1146 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1147 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1148 (Bug#11282).
1149
2bd785a2
SM
11502012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * emacs-lisp/bytecomp.el
1153 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1154 since cconv.el might have introduced :fun-body, internal-make-closure,
1155 and friends for bytecomp to handle (bug#11391).
1156 * custom.el (defcustom): Avoid ((λ ..) ..).
1157
99d27583
SM
11582012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1161
55a71479
JB
11622012-05-02 Juanma Barranquero <lekktu@gmail.com>
1163
1164 * notifications.el (dbus-debug):
1165 * term/linux.el (gpm-mouse-enable):
1166 * term/screen.el (xterm-register-default-colors): Declare.
1167
7b97c764
CY
11682012-05-02 Chong Yidong <cyd@gnu.org>
1169
2bc356d7
CY
1170 * cus-start.el (gc-cons-percentage, exec-suffixes)
1171 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1172 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1173 (make-cursor-line-fully-visible, void-text-area-pointer)
1174 (font-list-limit): Add customization data.
1175
7b97c764
CY
1176 * allout.el (allout-exposure-change-functions)
1177 (allout-structure-added-functions)
1178 (allout-structure-deleted-functions)
1179 (allout-structure-shifted-functions): Rename abnormal hooks from
1180 *-hook, and convert to defcustoms.
5d3385a0
JB
1181 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1182 Convert to defcustoms.
7b97c764
CY
1183 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1184
1185 * allout-widgets.el: Hook callers changed.
1186
90207a15 11872012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1188
1189 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1190 the yanked message in preference to the default value of
1191 buffer-file-coding-system.
1192
90207a15 11932012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1194
5d3385a0
JB
1195 * window.el (display-buffer--action-function-custom-type):
1196 Fix entry.
d9558cad 1197
90207a15 11982012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1199
1200 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1201
d80ac57b
GM
12022012-05-01 Glenn Morris <rgm@gnu.org>
1203
976f7668
GM
1204 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1205
beb83b5a
GM
1206 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1207
d80ac57b
GM
1208 * cus-edit.el (custom-variable-documentation): Simplify with format.
1209
b593d6a9
AH
12102012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1211 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * simple.el (suggest-key-bindings, execute-extended-command):
1214 Move from keyboard.c.
1215
782fbf2a
CY
12162012-05-01 Chong Yidong <cyd@gnu.org>
1217
1218 * follow.el: Eliminate advice.
1219 (set-process-filter, process-filter, sit-for): Advice deleted.
1220 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1221 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1222 Vars deleted.
782fbf2a
CY
1223 (follow-auto): Use a :set function.
1224 (follow-mode): Rewritten. Don't advise process filters.
1225 (follow-switch-to-current-buffer-all, follow-scroll-up)
1226 (follow-scroll-down): Assume follow-mode is bound.
1227 (follow-comint-scroll-to-bottom)
1228 (follow-align-compilation-windows): New functions.
1229 (follow--window-sorter): New function.
1230 (follow-all-followers): Use it to explicitly sort windows by their
1231 positions; don't make assumptions about next-window order.
1232 (follow-windows-start-end, follow-delete-other-windows-and-split)
1233 (follow-calc-win-start): Doc fix.
1234 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1235 vertical-motion unnecessarily.
1236 (follow-adjust-window): New function.
1237 (follow-post-command-hook): Use it.
1238 (follow-call-set-process-filter, follow-call-process-filter)
1239 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1240 (follow-stop-intercept-process-output, follow-generic-filter):
1241 Functions deleted.
1242 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1243 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1244 New functions, replacing advice on scroll-bar-* commands.
87233a14 1245 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1246
1247 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1248 (comint-postoutput-scroll-to-bottom): Use it.
1249 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1250
290af740
GM
12512012-05-01 Glenn Morris <rgm@gnu.org>
1252
1253 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1254 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1255 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1256 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1257 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1258 Remove no-byte-compile setting.
1259
6eac8dc9
SM
12602012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1263 all-completions code to not return a number in the last cdr.
1264
9cc7819c
LL
12652012-04-30 Leo Liu <sdl.web@gmail.com>
1266
1267 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1268 read-only error.
1269
c93b886f
CY
12702012-04-29 Chong Yidong <cyd@gnu.org>
1271
1272 * follow.el (follow-calc-win-end): Rewrite to handle partial
1273 screen lines correctly (Bug#8390).
1274 (follow-avoid-tail-recenter): Minor cleanup.
1275
8b6c19f4
SM
12762012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 Avoid the obsolete `assoc' package.
1279 * speedbar.el (speedbar-refresh): Avoid adelete.
1280 (speedbar-file-lists): Simplify and avoid aput.
1281 * man.el (Man--sections, Man--refpages): New vars, replacing
1282 Man-sections-alist and Man-refpages-alist.
1283 (Man-build-section-alist, Man-build-references-alist):
1284 Use them; avoid aput.
1285 (Man--last-section, Man--last-refpage): New vars.
1286 (Man-follow-manual-reference): Use them.
1287 Use the `default' arg of completing-read.
1288 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1289
c5bb7569
CY
12902012-04-27 Chong Yidong <cyd@gnu.org>
1291
d1d2e2e8
CY
1292 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1293
15cd8efd
CY
1294 * startup.el (x-apply-session-resources): New function.
1295
1296 * term/ns-win.el (ns-initialize-window-system):
1297 * term/w32-win.el (w32-initialize-window-system):
1298 * term/x-win.el (x-initialize-window-system): Use it to properly
1299 set menu-bar-mode and other vars from X resources, even if the
1300 initial frame is not a window-system frame (Bug#2299).
1301
c5bb7569
CY
1302 * subr.el (read-key): Avoid running filter function when setting
1303 up temporary tool bar entries (Bug#9922).
1304
a8e7d6d7 13052012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1306
1307 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1308 (Bug#11344)
1309
a8e7d6d7 13102012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1311
1312 * select.el (xselect--encode-string): New function, split from
1313 xselect-convert-to-string.
1314 (xselect-convert-to-string): Use it.
1315 (xselect-convert-to-filename, xselect-convert-to-os)
1316 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1317 returned strings are properly encoded (Bug#11315).
1318
a8e7d6d7 13192012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1320
1321 * simple.el (delete-active-region): Move to killing custom group.
1322
a8e7d6d7 13232012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1324
1325 * progmodes/which-func.el (which-func-current): Quote %
1326 characters for mode-line processing.
1327
578c1d4b 13282012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1329
1330 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1331 reaching eob (Bug#11286).
1332
a8e7d6d7 13332012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1334
1335 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1336 (gdb): Make it buffer-local and init to zero.
1337 (gdb-control-commands-regexp): New variable.
1338 (gdb-send): Don't wrap in "-interpreter-exec console" if
1339 gdb-control-level is positive. Increment gdb-control-level
1340 whenever the command matches gdb-control-commands-regexp, and
1341 decrement it each time the command is "end". (Bug#11279)
1342
a8e7d6d7 13432012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1344
1345 * window.el (adjust-window-trailing-edge, enlarge-window)
1346 (shrink-window, window-resize):
1347 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1348 windows (Bug#11276).
1349
b3608390
CY
13502012-04-27 Chong Yidong <cyd@gnu.org>
1351
1352 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1353 fix "missing prefix" warning. All callers changed.
b3608390 1354
797e6e88
SM
13552012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/assoc.el: Move to obsolete/.
1358
e95a67dc
SM
13592012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1360
657c21e4 1361 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1362
1363 * term/ns-win.el (ns-define-service):
1364 * progmodes/pascal.el (pascal-goto-defun):
1365 * progmodes/js.el (js--read-tab):
1366 * progmodes/etags.el (tags-lazy-completion-table):
1367 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1368 * emacs-lisp/ewoc.el (ewoc--wrap):
1369 * emacs-lisp/assoc.el (aput, adelete, amake):
1370 * doc-view.el (doc-view-convert-current-doc):
1371 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1372
cb3e7ae0
CY
13732012-04-26 Chong Yidong <cyd@gnu.org>
1374
dce04f7f
CY
1375 * image.el (image-type-from-buffer): Only return supported image
1376 type (Bug#9045).
1377
cb3e7ae0
CY
1378 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1379 value, for symmetry with diff-end-of-hunk.
1380 (diff-split-hunk, diff-find-source-location)
1381 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1382 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1383 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1384 compute the relevant hunk or file properly (Bug#6005).
1385 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1386
0d42eb3e
SM
13872012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 * vc/vc-mtn.el:
1390 * vc/vc-hg.el:
1391 * vc/vc-git.el:
1392 * vc/vc-dir.el:
1393 * vc/vc-cvs.el:
1394 * vc/vc-bzr.el:
1395 * vc/vc-arch.el:
1396 * vc/vc.el: Replace lexical-let by lexical-binding.
1397 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1398 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1399 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1400
f08ae1c9
CY
14012012-04-26 Chong Yidong <cyd@gnu.org>
1402
8b71081d
CY
1403 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1404 (diff-mode-shared-map): Bind it to / and [remap undo].
1405
f08ae1c9
CY
1406 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1407 (ediff-window-setup-function): Use it as the default, to set up
1408 windows based on whether the current frame is graphical (Bug#2138).
1409 (ediff-choose-window-setup-function-automatically): Make obsolete.
1410
1411 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1412
ef24141c
SM
14132012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1414
cc356a5d
SM
1415 * ffap.el: Remove old code for obsolete package.
1416 (ffap-complete-as-file-p): Remove.
1417
b4ff4f1f
SM
1418 Use completion-table-with-quoting for comint and pcomplete.
1419 * comint.el (comint--unquote&requote-argument)
1420 (comint--unquote-argument, comint--requote-argument): New functions.
1421 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1422 (comint-quote-filename): Use regexp-opt-charset.
1423 (comint--common-suffix, comint--common-quoted-suffix)
1424 (comint--table-subvert): Remove.
1425 (comint-unquote-function, comint-requote-function): New vars.
1426 (comint--complete-file-name-data): Use them with
1427 completion-table-with-quoting.
1428 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1429 * pcomplete.el (pcomplete-arg-quote-list)
1430 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1431 (pcomplete-unquote-argument-function): Default to non-nil.
1432 (pcomplete-unquote-argument): Simplify.
1433 (pcomplete--common-quoted-suffix): Remove.
1434 (pcomplete-requote-argument-function): New var.
1435 (pcomplete--common-suffix): New function.
1436 (pcomplete-completions-at-point): Use completion-table-with-quoting
1437 and completion-table-subvert.
1438
79c4eeb4
SM
1439 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1440 (minibuffer--double-dollars): Preserve properties.
1441 (completion--sifn-requote): New function.
1442 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1443
ef24141c
SM
1444 * minibuffer.el: Add support for completion of quoted/escaped data.
1445 (completion-table-with-quoting, completion-table-subvert): New funs.
1446 (completion--twq-try, completion--twq-all): New functions.
1447 (completion--nth-completion): New function.
1448 (completion-try-completion, completion-all-completions): Use it.
1449
784e7d6e
LL
14502012-04-25 Leo Liu <sdl.web@gmail.com>
1451
dd2ac746
SM
1452 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1453 Use compilation-message if available to find real filename.
784e7d6e 1454
07875ee7
CY
14552012-04-25 Chong Yidong <cyd@gnu.org>
1456
1457 * vc/diff-mode.el (diff-setup-whitespace): New function.
1458 (diff-mode): Use it.
1459
1460 * vc/diff.el (diff-sentinel):
1461 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1462 Whitespace mode variables based on diff style (Bug#8612).
1463
5055880d
LL
14642012-04-25 Leo Liu <sdl.web@gmail.com>
1465
daf75653
LL
1466 * progmodes/python.el (python-send-region): Add suffix .py to the
1467 temp file.
1468
5055880d
LL
1469 * files.el (auto-mode-alist): Use javascript-mode instead.
1470
db9b177b
AH
14712012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1472
ef24141c 1473 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1474
1475 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1476 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1477 references, see Bug#9.
ef24141c 1478 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1479 when receiving a fault reply.
ef24141c 1480 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1481
1482 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1483 (soap-inspect-simple-type): New function.
db9b177b 1484
ef24141c 1485 * soap-client.el (soap-simple-type): New struct.
db9b177b 1486 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1487 (soap-decode-basic-type, soap-encode-basic-type):
1488 support unsignedInt and double basic types.
db9b177b 1489 (soap-resolve-references-for-simple-type)
ef24141c
SM
1490 (soap-parse-simple-type, soap-encode-simple-type): New function.
1491 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1492
1493 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1494 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1495 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1496 the local name of "soapenc:Array".
1497 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1498 decoding integer, byte and anyURI xsd types.
1499
1fc6097b
CY
15002012-04-25 Chong Yidong <cyd@gnu.org>
1501
1502 * cus-edit.el (custom-buffer-create-internal): Update header text.
1503
afc6df87
EZ
15042012-04-25 Eli Zaretskii <eliz@gnu.org>
1505
1506 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1507 settings on 'system-type', not on 'window-system'. On MS-Windows,
1508 set interactive-mode on in GDB.
1509
dfbd787f
SM
15102012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1513 (ruby-syntax-propertize-regexp): Remove.
1514 (ruby-syntax-propertize-function): Split regexp into chunks.
1515 Match following code directly.
1516
85222d44
DG
15172012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1518
51a8ea2a
DG
1519 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1520 (ruby-syntax-propertize-regexp): New function.
1521 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1522 by a special keyword.
1523
85222d44
DG
1524 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1525 (ruby-syntax-general-delimiters-goto-beg)
1526 (ruby-syntax-propertize-general-delimiters): New functions.
1527 (ruby-syntax-propertize-function): Use them to handle GDL.
1528 (ruby-font-lock-keywords): Move old handling of GDL...
1529 (ruby-font-lock-syntactic-keywords): .. to here.
1530 (ruby-calculate-indent): Adjust indentation for GDL.
1531
b613912b
MA
15322012-04-24 Michael Albinus <michael.albinus@gmx.de>
1533
b5380639
MA
1534 * notifications.el (top): Remove unneeded declarations.
1535 (notifications-specification-version): Change to "1.2".
e43042fe 1536 (notifications-interface, notifications-notify-method)
b613912b
MA
1537 (notifications-close-notification-method): Fix docstring.
1538 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1539 (notifications-notify): Add :action-items, :resident and
1540 :transient hints. Change "image_data" to "image-data" and
1541 "image_path" to "image-path".
b613912b
MA
1542 (notifications-get-capabilities): New defun.
1543
257440aa
LL
15442012-04-24 Leo Liu <sdl.web@gmail.com>
1545
1546 * progmodes/python.el: Move hideshow setup to the end.
1547
b1bac16e
MR
15482012-04-24 Martin Rudalics <rudalics@gmx.at>
1549
1550 * window.el (handle-select-window): Clear echo area since this is
1551 no more done by read_char (Bug#11304).
1552
d81bd059
SM
15532012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1556 and `/ M' to filter-derived-mode.
1557 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1558 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1559 (ibuffer-mark-by-mode): Use default rather than initial-input.
1560 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1561
c4cf6d91
IA
15622012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1563
1564 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1565 (ibuffer-filter-by-derived-mode): New filter.
1566 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1567
7511ded8
CY
15682012-04-23 Andreas Politz <politza@fh-trier.de>
1569
1570 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1571
775c916b
CY
15722012-04-23 Chong Yidong <cyd@gnu.org>
1573
1574 * cus-edit.el (customize-apropos, customize-apropos-options):
1575 Disable matching of non-option variables (Bug#11176).
1576 (customize-option, customize-option-other-window)
1577 (customize-changed-options): Doc fix.
1578 (customize-apropos-options, customize-apropos-faces)
1579 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1580
1581 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1582 Fix word list splitting (Bug#11132).
46c71e23
CY
1583 (apropos-symbol, apropos-keybinding, apropos-label)
1584 (apropos-property, apropos-function-button)
1585 (apropos-variable-button, apropos-misc-button): New faces.
1586 (apropos-symbol-face, apropos-keybinding-face)
1587 (apropos-label-face, apropos-property-face, apropos-match-face):
1588 Variables removed (Bug#8396).
1589 (apropos-library-button, apropos-format-plist, apropos-print)
1590 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1591
2df41f9c
MA
15922012-04-23 Michael Albinus <michael.albinus@gmx.de>
1593
1594 * net/xesam.el (xesam-mode-map): Use let-bound map in
1595 initialization. (Bug#11292)
1596
da00640a
AM
15972012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1598
1599 Preserve ispell session localwords when switching back to
1600 original buffer.
1601
1602 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1603 variable to hold buffer session localwords.
1604 (ispell-kill-ispell): add option 'clear to delete session
1605 localwords.
1606 (ispell-command-loop, ispell-change-dictionary)
1607 (ispell-buffer-local-words): Preserve session localwords when
1608 needed.
1609
1610 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1611 Preserve session localwords when needed.
1612
f621ccf5
AM
16132012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1614
1615 * ispell.el (ispell-insert-word) Remove unneeded function using
1616 obsolete `translation-table-for-input'.
ef24141c
SM
1617 (ispell-word, ispell-process-line, ispell-complete-word):
1618 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1619
c2d1019e
CY
16202012-04-22 Chong Yidong <cyd@gnu.org>
1621
1622 * cus-edit.el (custom-variable-menu)
1623 (custom-variable-reset-saved, custom-face-menu)
1624 (custom-face-reset-saved): If there is no saved value, make the
1625 "reset-saved" operation bring back the default (Bug#9509).
1626 (custom-face-state): Properly detect themed faces.
1627
eeddc531
CY
1628 * faces.el (face-spec-set): Stop supporting deprecated form of
1629 third arg.
1630
dcbf5805
MA
16312012-04-22 Michael Albinus <michael.albinus@gmx.de>
1632
1633 Move functions from C to Lisp. Make non-blocking method calls
1634 the default. Implement further D-Bus standard interfaces.
1635
ef24141c
SM
1636 * net/dbus.el (dbus-message-internal): Declare function.
1637 Remove unneeded function declarations.
dcbf5805
MA
1638 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1639 (dbus-message-type-method-return, dbus-message-type-error)
1640 (dbus-message-type-signal): Declare variables. Remove local
1641 definitions.
1642 (dbus-interface-dbus, dbus-interface-peer)
1643 (dbus-interface-introspectable, dbus-interface-properties)
1644 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1645 Adapt docstring.
1646 (dbus-interface-objectmanager): New defconst.
1647 (dbus-call-method, dbus-call-method-asynchronously)
1648 (dbus-send-signal, dbus-method-return-internal)
1649 (dbus-method-error-internal, dbus-register-service)
1650 (dbus-register-signal, dbus-register-method): New defuns, moved
1651 from dbusbind.c
1652 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1653 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1654 New defuns.
dcbf5805
MA
1655 (dbus-call-method-non-blocking): Make it an obsolete function.
1656 (dbus-unregister-object, dbus-unregister-service)
1657 (dbus-handle-event, dbus-register-property)
1658 (dbus-property-handler): Obey the new structure of
1659 `bus-registered-objects'.
1660 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1661 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1662 Use `dbus-call-method'.
1663
cf20dee0
CY
16642012-04-22 Chong Yidong <cyd@gnu.org>
1665
1666 * cus-edit.el (custom-commands, custom-reset-menu)
1667 (Custom-reset-standard): Tweak labels.
1668 (custom-reset-button-menu): Change default to t.
1669 (custom-buffer-create-internal): For the custom-reset-button-menu
1670 case, put the revert button first.
1671 (custom-group-subtitle): New face.
1672 (custom-group-value-create): Align docstring to a specific column.
1673
1674 * wid-edit.el (widget-documentation-link-add): Don't handle
1675 indentation in this function.
1676 (widget-documentation-string-indent-to): New function.
1677 (widget-documentation-string-value-create): Use it.
1678
1679 * autorevert.el (auto-revert):
1680 * epg-config.el (epg):
1681 * ibuffer.el (ibuffer):
1682 * mpc.el (mpc):
1683 * ses.el (ses):
1684 * eshell/eshell.el (eshell):
1685 * net/ange-ftp.el (ange-ftp):
1686 * progmodes/ebnf2ps.el (postscript):
1687 * progmodes/flymake.el (flymake):
1688 * progmodes/prolog.el (prolog):
1689 * progmodes/verilog-mode.el (verilog-mode):
1690 * progmodes/which-func.el (which-func):
1691 * term/xterm.el (xterm):
1692 * textmodes/picture.el (picture):
1693 * textmodes/tildify.el (tildify):
1694 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1695 customization buffers.
1696
583e23bd
AM
16972012-04-22 Alan Mackenzie <acm@muc.de>
1698
1699 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1700 Adding a ) can hide the resulting (..) from searches. Fix it.
1701 Bound the backward search to the position of the existing (.
1702
7dd51bf1
JB
17032012-04-21 Juanma Barranquero <lekktu@gmail.com>
1704
1705 * progmodes/verilog-mode.el (verilog-mode): Check whether
1706 which-func-modes is t before adding verilog-mode.
1707 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1708
d64a438f
LL
17092012-04-21 Leo Liu <sdl.web@gmail.com>
1710
7dd51bf1 1711 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1712
081e8d65
MV
17132012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1714
1715 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1716 filling of the last column of a table (Bug#5635).
1717 (woman-find-next-control-line): New arg, specifying an additional
1718 regexp component for the control line.
1719 (woman2-roff-buffer): Use it.
1720 (woman-break-table): New function.
1721 (woman2-TS): Use it.
1722
17232012-04-21 Chong Yidong <cyd@gnu.org>
1724
1725 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1726 (woman-horizontal-escapes, woman-negative-vertical-space)
1727 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1728 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1729
ed571ccb
SM
17302012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * minibuffer.el (completion-file-name-table): Complete user names.
1733
39773899
LL
17342012-04-20 Leo Liu <sdl.web@gmail.com>
1735
1736 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1737 and pcase-let*.
1738
de6ff46d
CY
17392012-04-20 Chong Yidong <cyd@gnu.org>
1740
1741 * server.el (server-execute): Respect initial-buffer-choice if it
1742 is a string and there are no files to open (Bug#2825).
1743 (server-create-window-system-frame, server-create-tty-frame):
1744 Don't switch buffers here.
2d0e8e61
CY
1745 (server-process-filter): Only try to open a window system frame if
1746 compiled with graphical support (Bug#8314).
de6ff46d 1747
54071013
DN
17482012-04-20 Dan Nicolaescu <dann@gnu.org>
1749
1750 * battery.el (battery-echo-area-format): Display remaining time
1751 for sysfs backend too (Bug#11269).
1752 (battery-linux-sysfs): Fix conditional for the charge.
1753
f30d612a
CY
17542012-04-20 Chong Yidong <cyd@gnu.org>
1755
c07a4c0b 1756 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1757 (gdb-inferior-io--init-proc): New function.
1758 (gdb-init-1): Use it.
1759 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1760 responsible for allocating a new pty and hooking it to gdb when
1761 the old pty gets an EIO due to process exit.
1762 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1763 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1764 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1765
2116e93c
EZ
17662012-04-20 Eli Zaretskii <eliz@gnu.org>
1767
1768 * window.el (window-min-size, window-sizable, window-min-delta)
1769 (window-max-delta, window--resizable, window-resizable)
1770 (window-total-size, window-full-height-p, window-full-width-p)
1771 (window-in-direction, window--resize-mini-window, window-resize)
1772 (window--resize-child-windows-normal)
1773 (window--resize-child-windows, window--resize-siblings)
1774 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1775 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1776
c07a4c0b 17772012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1778
ef24141c
SM
1779 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1780 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1781 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1782 pty process (Bug#11273).
1783 (gdb-update): New arg to suppress talking to the gdb process.
1784 (gdb-done-or-error): Use it.
1785 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1786 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1787 sentinel not being called.
1788
1789 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1790
d02766ab
CY
1791 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1792
c07a4c0b 17932012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1794
1795 * net/network-stream.el (open-network-stream): Doc fix.
1796
c07a4c0b 17972012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1798
1799 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1800
c07a4c0b 18012012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1802
1803 Ensure searching for keywords is case sensitive.
1804
1805 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1806 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1807 (c-defun-name, c-mark-function, c-cpp-define-name)
1808 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1809 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1810
ef24141c
SM
1811 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1812 Bind case-fold-search to nil.
f0f6bc35 1813
c07a4c0b 18142012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1815
1816 * mail/sendmail.el (mail-bury): Call return action with the right
1817 Rmail buffer (Bug#11242).
1818
9a864fa2
CY
1819 * server.el (server-process-filter): Handle corner case where both
1820 tty and nowait options are present (Bug#11102).
1821
539aa513
EZ
18222012-04-20 Eli Zaretskii <eliz@gnu.org>
1823
1824 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1825 (top level): Put into the executable the ident-style '$Id:' tag on
1826 windows-nt as well.
539aa513 1827
cfc7d5da
SM
18282012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * electric.el (electric-indent-post-self-insert-function): Check that
1831 electric-indent-mode is enabled in current buffer.
1832
5b01685c
JB
18332012-04-19 Juanma Barranquero <lekktu@gmail.com>
1834
1835 * imenu.el (imenu-progress-message): Restore; it is "used" in
1836 erc/erc-imenu.el and net/snmp-mode.el.
1837
4d6769e1
JB
18382012-04-19 Juanma Barranquero <lekktu@gmail.com>
1839
1840 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1841 (mouse-avoidance-nudge-mouse): Remove unused binding.
1842
1843 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1844
1845 * descr-text.el (describe-char):
1846 * progmodes/python.el (python-describe-symbol):
1847 Don't call `toggle-read-only', set `buffer-read-only'.
1848
1849 * imenu.el (imenu-default-goto-function): Mark unused args.
1850 (imenu-progress-message): Remove obsolete macro; all callers changed.
1851
1852 * subr.el (keymap-canonicalize): Remove unused binding.
1853 (read-passwd): Mark unused arg.
1854
1855 * tutorial.el (tutorial--display-changes): Remove unused binding.
1856 (tutorial--save-tutorial-to): Remove unused variable.
1857
1858 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1859 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1860 (package-generate-autoloads, package-menu--generate)
1861 (package-menu--find-upgrades): Remove unused bindings.
1862
1863 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1864 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1865 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1866 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1867 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1868 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1869 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1870 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1871 (cua-delete-char-rectangle): Mark unused args.
1872 (cua-align-rectangle): Remove unused binding.
1873
1874 * mail/rmail.el (compilation--message->loc)
1875 (epa--find-coding-system-for-mime-charset): Declare.
1876
1877 * net/dbus.el (dbus-register-service): Declare.
1878 (dbus-name-owner-changed-handler): Remove unused binding.
1879
1880 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1881 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1882 (nxml-scan-backward-within): Mark unused arg.
1883 (nxml-dynamic-markup-word): Remove unused binding.
1884
1885 * mouse.el (mouse-menu-major-mode-map):
1886 * emacs-lisp/authors.el (authors-scan-change-log)
1887 (authors-add-to-author-list):
1888 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1889 * emacs-lisp/smie.el (smie-auto-fill):
1890 * mail/sendmail.el (mail-bury):
1891 * mail/unrmail.el (unrmail):
1892 * net/tls.el (open-tls-stream):
1893 * textmodes/picture.el (picture-mouse-set-point):
1894 Remove unused bindings.
1895
8c8fc5df
MA
18962012-04-19 Michael Albinus <michael.albinus@gmx.de>
1897
1898 * net/tramp.el (tramp-action-password): Let-bind
1899 `enable-recursive-minibuffers' to t.
1900
a77b0ac9
SS
19012012-04-18 Sam Steingold <sds@gnu.org>
1902
1903 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1904 instead of 'string to accommodate values like [f11].
1905 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1906 * progmodes/gdb-mi.el: Likewise.
1907
12a106a9
LL
19082012-04-18 Leo Liu <sdl.web@gmail.com>
1909
1910 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1911 current buffer.
1912 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1913 LOCAL is nil.
1914
bc6494ef
CY
19152012-04-18 Chong Yidong <cyd@gnu.org>
1916
1917 * simple.el (line-move): Use forward-line if in batch mode
1918 (Bug#11053).
1919
c09c46b2
CS
19202012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1921
1922 * files.el (after-find-file): Do not try to add a final newline if
1923 the buffer is read-only (Bug#11156).
1924
5f6530ea
RS
19252012-04-17 Richard Stallman <rms@gnu.org>
1926
1927 * mail/rmail.el (rmail-start-mail):
1928 Pass (rmail-mail-return...) for the return-action.
1929 Pass (rmail-yank-current-message...) for the yank-action.
1930 (rmail-yank-current-message): New function.
1931 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1932 (rmail-reply): Likewise.
1933 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1934
1935 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1936 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1937 buffer, not newbuf.
1938
197b6f3c
JB
19392012-04-17 Juanma Barranquero <lekktu@gmail.com>
1940
1941 * server.el (server-ensure-safe-dir): Simplify.
1942
2311d8e5 19432012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1944
2311d8e5
GM
1945 * emacs-lisp/smie.el: Provide smarter auto-filling.
1946 (smie-auto-fill): New function.
1947 (smie-setup): Use it.
98fb480e 1948
2311d8e5
GM
1949 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1950
19512012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1952
1953 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1954 (comment-indent): Use it.
1955
2311d8e5 19562012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1957
1958 * ses.el: The overall change is to add cell renaming, that is
1959 setting fancy names for cell symbols other than name matching
1960 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1961 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1962 (ses-create-cell-variable): New defun.
2311d8e5 1963 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1964 (ses-relocate-formula): Relocate formulas only for cells the
1965 symbols of which are not renamed, i.e. symbols whose names do not
1966 match regexp "\\`[A-Z]+[0-9]+\\'".
1967 (ses-relocate-all): Relocate values only for cells the symbols of
1968 which are not renamed.
1969 (ses-load): Create cells variables as the (ses-cell ...) are read,
1970 in order to check row col consistency with cell symbol name only
1971 for cells that are not renamed.
1972 (ses-replace-name-in-formula): New defun.
1973 (ses-rename-cell): New defun.
4bdf2ad2 1974
fc72b15c
PO
19752012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1976
1977 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1978 New option (bug#11118).
1979 (perl-calculate-indent): Respect it.
1980
12e10e61
GM
19812012-04-17 Glenn Morris <rgm@gnu.org>
1982
1983 * dired-aux.el (dired-mark-read-string): Doc fix.
1984
30009afd
DA
19852012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1986
1987 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1988 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1989
41f03f4d
GM
19902012-04-17 Glenn Morris <rgm@gnu.org>
1991
1992 * mouse.el (mouse-drag-track):
1993 * speedbar.el (speedbar-frame-mode):
1994 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1995
f45f90f3
LL
19962012-04-16 Leo Liu <sdl.web@gmail.com>
1997
1998 * progmodes/python.el: Trivial cleanup.
1999
94ee8db5
GM
20002012-04-16 Glenn Morris <rgm@gnu.org>
2001
121b8917
GM
2002 * vc/vc.el (vc-string-prefix-p):
2003 * vc/pcvs-util.el (cvs-string-prefix-p):
2004 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2005 * mpc.el (mpc-string-prefix-p):
2006 Make all of these into obsolete aliases for string-prefix-p.
2007 Update callers.
2008 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2009
1197ecfa
GM
2010 * textmodes/two-column.el: Move custom options to the start.
2011 (frame-width): Remove compat definition.
2012 (2C-associate-buffer, 2C-dissociate):
2013 Use with-current-buffer rather than save-excursion.
2014 (2C-dissociate): Force a mode-line update.
2015 (2C-autoscroll): Use ignore-errors.
2016
099e7202
GM
2017 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2018 Autoload trivia.
2019
bf350d6a
GM
2020 * emacs-lisp/cl-extra.el (*random-state*):
2021 Remove unnecessary declaration.
2022
0e829eab
GM
2023 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2024
e3ad7552
GM
2025 * play/cookie1.el (cookie-snarf):
2026 Give an explicit error if input file cannot be read.
2027
68892d27
GM
2028 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2029
20f0c46d
GM
2030 * progmodes/perl-mode.el (c-macro-expand):
2031 Remove unnecessary autoload (it is in loaddefs.el).
2032
5a0978ce
GM
2033 * textmodes/picture.el (picture-desired-column)
2034 (picture-update-desired-column): Convert comments to doc-strings.
2035 (picture-substitute): Remove function.
2036 (picture-mode-map): Initialize in the defvar.
2037
6b955486
GM
2038 * woman.el: Remove eval-after-load for tar-mode.
2039 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2040 (woman-tar-extract-file): Autoload it.
2041
94ee8db5
GM
2042 * frame.el (automatic-hscrolling): Make this alias obsolete.
2043
177eca34
AM
20442012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2045
2046 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2047 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2048 (ispell-dictionary-base-alist): Revert to original XEmacs
2049 friendly version for default. [:alpha:] will be added in
2050 `ispell-set-spellchecker-params' if needed
177eca34 2051
c505aaeb
CY
20522012-04-16 Chong Yidong <cyd@gnu.org>
2053
2054 * image.el (imagemagick--extension-regexp): New variable.
2055 (imagemagick-register-types): Use it.
2056 (imagemagick-types-inhibit): Add :set function. Allow new value
2057 of t to inhibit all types.
2058
2059 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2060 so we can preload it.
2061
2062 * loadup.el (fboundp): Preload regexp-opt, needed by
2063 imagemagick-register-types.
2064
60efac0f
CY
20652012-04-15 Chong Yidong <cyd@gnu.org>
2066
2067 * frame.el (scrolling): Remove nearly unused customization group.
2068
2069 * scroll-all.el (scroll-all-mode): Move to windows group.
2070
5dd1713e
CY
20712012-04-15 Chong Yidong <cyd@gnu.org>
2072
2073 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2074
e6fd457e
CY
20752012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2076
2077 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2078 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2079
e153c136
GM
20802012-04-15 Glenn Morris <rgm@gnu.org>
2081
2082 * simple.el (process-file-side-effects): Doc fix.
2083
e6fd457e 20842012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2085
2086 * international/mule-cmds.el (set-language-environment): Doc fix.
2087
3603c3b1
JB
20882012-04-14 Juanma Barranquero <lekktu@gmail.com>
2089
2090 * server.el (server-auth-key, server-generate-key): Doc fixes.
2091 (server-get-auth-key): Doc fix. Use `string-match-p'.
2092 (server-start): Reflow docstring.
2093
e6de100c
LI
20942012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2095
2096 * server.el (server-generate-key): `called-interactively-p'
2097 requires a parameter.
2098
29734c21
MN
20992012-04-14 Michal Nazarewicz <mina86@mina86.com>
2100
2101 * server.el (server-auth-key): New variable.
75f1671a 2102 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2103 (server-start): Use the new variable and functions to allow
2104 setting a permanent server key (bug#9423).
2105
d65c9521
LL
21062012-04-14 Leo Liu <sdl.web@gmail.com>
2107
2108 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2109
5ae255c7
PE
21102012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2111
2112 Spelling fixes.
2113 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2114 Emacs uses American spelling.
2115
d5e6342e
JB
21162012-04-14 Juanma Barranquero <lekktu@gmail.com>
2117
2118 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2119 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2120 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2121 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2122
ab036cd7
SM
21232012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * progmodes/which-func.el (which-func-modes): Change default.
2126
35dc09a1 21272012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2128
2129 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2130 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2131
35dc09a1 21322012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2133
2134 * custom.el (custom-theme-set-variables): Doc fix.
2135
35dc09a1 21362012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2137
2138 * international/mule.el (set-auto-coding-for-load): Doc fix.
2139
35dc09a1 21402012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2141
35dc09a1
GM
2142 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2143 imenu work again for Objective C Mode. Correct the *-index values,
2144 these having been disturbed by a previous change in 2011-08.
57f845ee 2145
0de3da9f
AM
2146 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2147 Correct two search limits.
2148
35dc09a1 21492012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2150
2151 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2152
35dc09a1 21532012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2154
2155 * international/characters.el: Fix sorting.
2156
35dc09a1 21572012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2158
2159 * international/characters.el: Add more missing Latin case pairs.
2160
35dc09a1 21612012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2162
2163 * files.el (dir-locals-set-class-variables): Doc fix.
2164
35dc09a1 21652012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2166
3f1b5bf8
EZ
2167 * international/characters.el: Add set-case-syntax-pair call for
2168 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2169 counterpart. (Bug#11209)
2170
9f847f41
EZ
2171 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2172
35dc09a1 21732012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2174
2175 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2176
35dc09a1 21772012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2178
35dc09a1
GM
2179 * textmodes/ispell.el (ispell-dictionary-base-alist):
2180 Add data for Hebrew.
e2627d21 2181
35dc09a1 21822012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2183
35dc09a1
GM
2184 * net/rcirc.el (rcirc-cmd-quit):
2185 Revert 2012-03-18 change (Bug#11192).
5c14e333 2186
35dc09a1 21872012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2188
2189 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2190
35dc09a1 21912012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2192
4517fe3a
SM
2193 * minibuffer.el (completion-in-region-mode-map):
2194 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2195
b472a594
VD
21962012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2197
2198 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2199
09b95ce3
MY
22002012-04-13 Masatake YAMATO <yamato@redhat.com>
2201
2202 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2203 to allow `C-M-f' and `C-M-b' to move to the nearest path
2204 separator (bug#9511).
2205
4b63a9ca
LI
22062012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2207
2208 * avoid.el: Require cl when compiling. And also move the
2209 `provide' to the end.
2210
7b55b8bf
TV
22112012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2212
2213 * avoid.el (mouse-avoidance-banish-position): New variable.
2214 (mouse-avoidance-banish-destination): Use it (bug#10165).
2215
adedaa1f
LL
22162012-04-13 Leo Liu <sdl.web@gmail.com>
2217
2218 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2219
70e74021
KB
22202012-04-13 Ken Brown <kbrown@cornell.edu>
2221
2222 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2223 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2224 (browse-url-filename-alist): For the same reason, don't modify
2225 file:// URLs on Cygwin.
2226
e75e89ba
SM
22272012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2230 the region on shift if the binding is already shifted (bug#11221).
2231
82f289a4
GM
22322012-04-12 Glenn Morris <rgm@gnu.org>
2233
2234 * mail/mailpost.el: Move to obsolete/.
2235
d333dc4c
DA
22362012-04-12 Drew Adams <drew.adams@oracle.com>
2237
2238 * imenu.el (imenu--generic-function): Ignore invisible definitions
2239 (bug#10123).
2240
0d15b5ba
VD
22412012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2242
2243 * hexl.el (hexl-bits): New variable.
2244 (hexl-options): Mention the variable in the doc string.
75f1671a 2245 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2246 (hexl-mode): Mention the new variable.
75f1671a
JB
2247 (hexl-mode, hexl-current-address, hexl-current-address):
2248 Use the displen.
0d15b5ba
VD
2249 (hexl-ascii-start-column): New function.
2250 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2251 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2252
64a440db
AM
22532012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2254
2255 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2256 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2257 the encoding, as expected by hunspell.
2258
6decb6c2
SM
22592012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * battery.el (battery--linux-sysfs-regexp): New const.
2262 (battery-status-function): Use it. Remove yeeloong special case.
2263 (battery-yeeloong-sysfs): Remove.
2264 (battery-echo-area-format): Remove yeeloong special case.
2265
088be6fb
SM
22662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2267
6622e416
SM
2268 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2269 Reported by Noah Friedman.
2270
088be6fb
SM
2271 * subr.el (read-passwd): Use read-string.
2272
b49f886e
LMI
22732012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2274
2275 * vcursor.el (vcursor-move): Increase the priority of the overlay
2276 (bug#9663).
2277
a63067fc
DD
22782012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2279
2280 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2281 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2282
ac3cf14a
WS
22832012-04-11 William Stevenson <yhvh2000@gmail.com>
2284
2285 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2286 define-minor-mode (bug#10760).
2287
c4fc691b 22882012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2289
4d6769e1 2290 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2291 that directories matching `grep-find-ignored-files' won't be
2292 pruned (bug#10351).
2293
af23e2e5
CY
22942012-04-11 Chong Yidong <cyd@gnu.org>
2295
2296 * startup.el (command-line): Remove support for long-obsolete
2297 variable font-lock-face-attributes.
2298
ab7ce8c1
GM
22992012-04-11 Glenn Morris <rgm@gnu.org>
2300
2301 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2302
de8c03dc
SM
23032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * window.el (window--state-get-1): Obey window-point-insertion-type.
2306
050cc68b
LB
23072012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2308
2309 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2310 to previous function when point is on the first character of a
75f1671a 2311 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2312
a38c310c
GM
23132012-04-11 Glenn Morris <rgm@gnu.org>
2314
effed0c2
GM
2315 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2316 not just file-errors.
2317
a38c310c
GM
2318 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2319 (vc-bzr-sha1): Use internal sha1.
2320
0221e323
SM
23212012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2324
43956923
SG
23252012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2326
2327 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2328 that start in the middle of the line (bug#10496).
2329
6a8c9eaf
DN
23302012-04-10 Dan Nicolaescu <dann@gnu.org>
2331
2332 * battery.el (battery-linux-proc-acpi): Only one battery is
2333 discharged at a time, but that seems to confuse battery.el when
2334 computing `rate-type' for the battery not being discharged
2335 (bug#10332).
2336
1930bf5d
SM
23372012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2a718f6f
SM
2339 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2340
599430d0
SM
2341 * international/quail.el: Use dolist and simplify.
2342 (quail-define-package, quail-update-keyboard-layout)
2343 (quail-define-rules): Use dolist.
2344 (quail-insert-kbd-layout, quail-get-translation): CSE.
2345
a2754b6c
SM
2346 * tmm.el: Use dolist, remove left over hook.
2347 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2348 Use dolist.
2349 (calendar-load-hook): Don't mess with it.
2350
1930bf5d
SM
2351 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2352 Use derived-mode-p. Run the diff asynchronously.
2353
9f67961c
LMI
23542012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2355
2356 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2357
2a8ce227
JB
23582012-04-10 Juanma Barranquero <lekktu@gmail.com>
2359
2360 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2361 (list-dynamic-libraries--loaded): New function.
2362 (list-dynamic-libraries--refresh): Use it.
2363
8f33b5f8
NW
23642012-04-10 Nathan Weizenbaum <nweiz@google.com>
2365
1930bf5d
SM
2366 * progmodes/python.el (python-fill-paragraph):
2367 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2368 disabled (bug#7018).
2369
b12f0439
L
23702012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2371
1930bf5d 2372 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2373 DOS/MS Windows for the Baltic languages. There are still plenty
2374 of texts written in this encoding/codepage (bug#6519).
b12f0439 2375
57c3bd01
GM
23762012-04-10 Glenn Morris <rgm@gnu.org>
2377
2378 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2379 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2380
6c3eab30
FA
23812012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2382
1930bf5d 2383 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2384 next-line "n" and previous-line "p" in order to make recentf more
2385 consistent with ibuffer, dired or org-mode (bug#9387).
2386
24d78a88
LMI
23872012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2388
bc72b5d9
LMI
2389 * image.el (put-image): Return the overlay created instead of the
2390 optional input string (bug#7834). Note that this may break code
2391 that is (for some reason or other) depending on `put-image'
2392 returning the string.
2393
bd2dba5a
LMI
2394 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2395
74beb59f
LMI
2396 * simple.el (zap-to-char): Allow zapping using input methods
2397 (bug#1580).
2398
24d78a88
LMI
2399 * textmodes/fill.el (fill-region): Leave point and mark where they
2400 were before filling (bug#5399).
2401
263f20cd
GM
24022012-04-09 Glenn Morris <rgm@gnu.org>
2403
2404 * version.el (emacs-bzr-get-version):
2405 Handle lightweight checkouts of local branches.
2406
58d1f797
AS
24072012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2408
263f20cd 2409 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2410
b4d3bc10
CY
24112012-04-09 Chong Yidong <cyd@gnu.org>
2412
2413 * custom.el (custom-variable-p): Return nil for non-symbol
2414 arguments instead of signaling an error.
2415 (user-variable-p): Obsolete alias for custom-variable-p.
2416
2417 * apropos.el (apropos-variable):
2418 * files-x.el (read-file-local-variable):
2419 * simple.el (set-variable):
2420 * woman.el (woman-mini-help):
2421 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2422
fd06db5d
GM
24232012-04-09 Glenn Morris <rgm@gnu.org>
2424
e5fcdb5e
GM
2425 * startup.el (normal-top-level): Don't look for leim-list.el
2426 in places where it will not be found. (Bug#910)
2427
fd06db5d
GM
2428 * international/mule-cmds.el (set-default-coding-systems):
2429 * files.el (normal-mode):
2430 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2431 This function was removed with ucs-tables.el in 2008.
2432
b39bb7e1
EZ
24332012-04-08 Eli Zaretskii <eliz@gnu.org>
2434
2435 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2436 ispell-encoding8-command to "-i", without a trailing space.
2437 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2438 separate command-line arguments, to specify the encoding, since
2439 that's how hunspell expects it.
2440
5c5b8e23
GM
24412012-04-08 Glenn Morris <rgm@gnu.org>
2442
2443 * loadup.el: Load bindings before cus-start.
2444 This reduces somewhat the number of "rogue" settings in emacs -Q.
2445
a1ed8b05
GM
24462012-04-07 Glenn Morris <rgm@gnu.org>
2447
2448 * version.el (emacs-bzr-get-version): New function.
dfae128a 2449 (emacs-bzr-version): New variable.
a1ed8b05
GM
2450 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2451 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2452
b142f158
EZ
24532012-04-07 Eli Zaretskii <eliz@gnu.org>
2454
dfae128a
GM
2455 * international/uni-bidi.el, international/uni-category.el:
2456 * international/uni-combining.el, international/uni-decimal.el:
2457 * international/uni-decomposition.el, international/uni-digit.el:
2458 * international/uni-lowercase.el, international/uni-mirrored.el:
2459 * international/uni-name.el, international/uni-numeric.el:
2460 * international/uni-titlecase.el, international/uni-uppercase.el:
2461 Update for Unicode 6.1.
b142f158 2462
9078ead6
EZ
24632012-04-07 Eli Zaretskii <eliz@gnu.org>
2464
2465 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2466
f23d2c7d
LMI
24672012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2468
2469 * window.el (shrink-window): Mention the `window-min-height'
2470 variable in the doc string.
2471
0a0a3573
BG
24722012-04-05 Bastien Guerry <bzg@altern.org>
2473
2474 * color.el (color-lighten-name): Fix typo.
2475
e5248ac9
SM
24762012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * server.el (server--on-display-p): New function.
2479 (server--on-display-p): Use it.
2480
b4243e22
GV
24812012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2482
2483 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2484 (bug#11145).
2485
305d9f44
SM
24862012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * comint.el (comint--common-quoted-suffix): Check string boundary
2489 before comparing (bug#11158).
2490 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2491
3d439cd1
CY
24922012-04-04 Chong Yidong <cyd@gnu.org>
2493
321cc491
CY
2494 * minibuffer.el (completion-extra-properties): Doc fix.
2495
3d439cd1
CY
2496 * subr.el (delayed-warnings-hook): Doc fix.
2497
2d562c0f
DU
24982012-04-04 Daiki Ueno <ueno@unixuser.org>
2499
2500 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2501 selection (Bug#11159).
2502 (epa-insert-keys): Inform that the default public key will be
2503 exported if no key is selected.
2504
4443f204
RS
25052012-04-04 Richard Stallman <rms@gnu.org>
2506
2507 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2508
529c06b6
CY
25092012-04-03 Chong Yidong <cyd@gnu.org>
2510
2511 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2512 mail-insert-file, not its obsolete alias mail-attach-file.
2513
66b907dc
MA
25142012-04-03 Michael Albinus <michael.albinus@gmx.de>
2515
2516 * notifications.el (notifications-notify): Fix docstring.
2517
c0ea195d
GM
25182012-04-02 Glenn Morris <rgm@gnu.org>
2519
2520 * emacs-lisp/authors.el (authors-aliases): Another addition.
2521
5ca64e00
MA
25222012-04-02 Michael Albinus <michael.albinus@gmx.de>
2523
2524 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2525 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2526 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2527
42ee526b
CY
25282012-04-01 Chong Yidong <cyd@gnu.org>
2529
2530 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2531 Handle root directory properly.
2532 (copy-directory): Caller changed.
2533
2534 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2535 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2536
0b021094
GM
25372012-03-31 Glenn Morris <rgm@gnu.org>
2538
40f86458
GM
2539 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2540
7019c177
GM
2541 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2542
a1daddd6
GM
2543 * calendar/calendar.el (calendar-window-list)
2544 (calendar-hide-window): Restore. (Bug#11140)
2545 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2546
0b021094
GM
2547 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2548
40311efc
TV
25492012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2550
2551 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2552 Check if file is a symlink (Bug#10489).
2553
2554 * files.el (copy-directory): Likewise.
2555
5319014e
CY
25562012-03-30 Chong Yidong <cyd@gnu.org>
2557
2558 * image.el (imagemagick-types-inhibit)
2559 (imagemagick-register-types): Doc fix.
2560
935d1290
AM
25612012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2562
ef24141c
SM
2563 * ispell.el (ispell-get-extended-character-mode):
2564 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2565 and treats ~word as ordinary words in pipe mode.
935d1290 2566
61c6e8fd
GM
25672012-03-30 Glenn Morris <rgm@gnu.org>
2568
2569 * tutorial.el (help-with-tutorial): Ensure local variables don't
2570 happen to make the buffer read-only. (Bug#11127)
2571
81fdff00
SM
25722012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2575 (perl-calculate-indent): Return `noindent' in strings.
2576
6e7a6ec0
SS
25772012-03-28 Sam Steingold <sds@gnu.org>
2578
2579 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2580 instead of the broken adhockery which does not prevent calendar
2581 buffers from being displayed at random after exit.
2582 (calendar-window-list, calendar-hide-window): Remove the broken
2583 adhockery.
2584
fee88ca0
GM
25852012-03-28 Glenn Morris <rgm@gnu.org>
2586
2587 * replace.el (query-replace-map): Doc fix.
2588
38de3354
AS
25892012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2590
2591 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2592 contents. (Bug#11109)
2593
b973155e
SM
25942012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2597 (bug#11077).
2598 (avl-tree--check, avl-tree--check-node): New funs.
2599
dcb6e7b3
MR
26002012-03-27 Martin Rudalics <rudalics@gmx.at>
2601
2602 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2603 (switch-to-prev-buffer, switch-to-next-buffer):
2604 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2605 showing a buffer already is done on the same frame.
2606
b4fa35fa
GM
26072012-03-27 Glenn Morris <rgm@gnu.org>
2608
2609 * startup.el (mail-host-address): Doc fix.
2610
f9210e18
SM
26112012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2614 than 197 variables.
2615
c0bf7753
AF
26162012-03-26 Ami Fischman <ami@fischman.org>
2617
2618 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2619
33da7b16
GM
26202012-03-26 Glenn Morris <rgm@gnu.org>
2621
02243d9d
GM
2622 * files.el (save-buffers-kill-emacs): Doc fix.
2623
33da7b16
GM
2624 * startup.el (normal-top-level, command-line, command-line-1):
2625 Give them doc strings.
2626
e5a69fd0
EZ
26272012-03-25 Eli Zaretskii <eliz@gnu.org>
2628
2629 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2630 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2631
9a69676a
CY
26322012-03-25 Chong Yidong <cyd@gnu.org>
2633
4125cb8b
CY
2634 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2635 theme if it was previously enabled before (Bug#11031).
2636
dd470960
CY
2637 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2638 spec with custom-face-get-current-spec if its :shown-value is not
2639 determined yet (Bug#9337).
4125cb8b 2640 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2641
9a69676a
CY
2642 * button.el (button-at): Minor addition to docstring.
2643
6e7e90fa
SL
26442012-03-24 Simon Leinen <simon.leinen@gmail.com>
2645
2646 * vc/vc.el (vc-merge): Fix a prompt.
2647
f06e2758
CY
26482012-03-24 Chong Yidong <cyd@gnu.org>
2649
2650 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2651 point (Bug#9623).
2652
6e7e90fa
SL
2653 * button.el (button-at): Minor addition to docstring.
2654
b9d0879b
SM
26552012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * newcomment.el (comment-choose-indent): No space after BOL.
2658
e71cebb3
SS
26592012-03-22 Sam Steingold <sds@gnu.org>
2660
2661 * window.el (switch-to-prev-buffer): Revert last patch because the
2662 bug turned out to be an advertised feature (Elisp manual 28.14).
2663
335aff35
GM
26642012-03-22 Glenn Morris <rgm@gnu.org>
2665
2666 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2667 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2668
c676576a
LMI
26692012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2670
2671 * net/network-stream.el (network-stream-open-starttls): Make error
2672 message under Windows be less misleading.
2673
126f3d39
LW
26742012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2675
2676 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2677 understands (bug#9942).
2678
64fee311
CY
26792012-03-22 Chong Yidong <cyd@gnu.org>
2680
2681 * simple.el (end-of-visible-line): Handle return value of
2682 next-single-property-change properly (Bug#9371).
2683
a640d29a
KH
26842012-03-22 Kenichi Handa <handa@m17n.org>
2685
2686 * international/quail.el (quail-insert-kbd-layout): Fix previous
2687 change. To avoid unwanted bidi reordering, use
2688 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2689
39675016
DG
26902012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2691
2692 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2693 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2694 (ruby-beginning-of-indent): Be more careful with the difference
2695 between word-boundary and symbol boundary.
2696 (ruby-mode-syntax-table): Make : a symbol constituent.
2697
0a6934fc 26982012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2699
3d008e4f
SM
2700 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2701
0a6934fc
SM
27022012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2703
af67c9d7
SM
2704 * progmodes/etags.el (tags-completion-at-point-function):
2705 Improve last fix.
2706
1acad97c
SM
2707 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2708
e298b5da
SS
27092012-03-21 Sam Steingold <sds@gnu.org>
2710
2711 * progmodes/etags.el (tags-completion-at-point-function):
2712 Avoid the error when point is inside the pattern.
2713
91d82a70
JY
27142012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2715
2716 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2717 line (Bug#10855).
2718
69188b79
CY
27192012-03-21 Drew Adams <drew.adams@oracle.com>
2720
2721 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2722
99fc91fe
AK
27232012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2724
2725 * ido.el (ido-set-current-directory, ido-read-internal)
2726 (ido-choose-completion-string, ido-completion-help): Handle nil
2727 value of ido-completion-buffer (Bug#11008).
2728
087bbb4c
SS
27292012-03-21 Sam Steingold <sds@gnu.org>
2730
2731 * window.el (switch-to-prev-buffer): Do not switch to a visible
2732 window previous buffer, just like with the frame previous buffers.
2733
fb5b8aca
CY
27342012-03-21 Chong Yidong <cyd@gnu.org>
2735
2736 * faces.el (make-face, make-empty-face, copy-face):
2737 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2738 Doc fixes.
2739
dc9924b8
SM
27402012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2743 (widget-complete): Remove broken use of it.
2744
f0bcceb9
CY
27452012-03-20 Chong Yidong <cyd@gnu.org>
2746
dc9924b8
SM
2747 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2748 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2749 characters.
2750
ee52ebf3
TH
27512012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2752
2753 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2754 to draw rectangles, not squares. (Regression introduced by revno
2755 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2756
4c5779ab
CY
27572012-03-18 Chong Yidong <cyd@gnu.org>
2758
2759 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2760 it is not yet defined (for temacs).
2761
15360934
LL
27622012-03-18 Leo Liu <sdl.web@gmail.com>
2763
dc9924b8 2764 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2765
d9a8eb66
EZ
27662012-03-17 Eli Zaretskii <eliz@gnu.org>
2767
2768 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2769 (ispell-choices-win-default-height, ispell-silently-savep)
2770 (ispell-dictionary-alist, ispell-encoding8-command)
2771 (ispell-check-version, ispell-aspell-find-dictionary)
2772 (ispell-valid-dictionary-list, ispell-words-keyword)
2773 (ispell-get-word, ispell-internal-change-dictionary)
2774 (ispell-region, ispell-skip-region-list)
2775 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2776 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2777 (ispell-message-text-end, ispell-message)
2778 (ispell-buffer-local-parsing): Doc fix.
2779
f02ff80d
J
27802012-03-13 Jambunathan K <kjambunathan@gmail.com>
2781
2782 * htmlfontify.el: Add support for code block fontification for ODT
2783 export (Bug #9914).
2784 (hfy-optimisations): Define new option
2785 `body-text-only'
2786 (hfy-fontify-buffer): Honor above setting.
2787 (hfy-begin-span, hfy-end-span): New routines factored out form
2788 `hfy-fontify-buffer'.
2789 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2790 that permit insertion of custom tags.
2791 (hfy-fontify-buffer): Use above handlers.
2792 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2793 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2794 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2795 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2796 bind a special variable `hfy-user-sheet-assoc'.
2797 (htmlfontify-string): New defun.
2798 (hfy-compile-face-map): Make sure that the last char in the
2799 buffer is correctly fontified.
2800 (hfy-face-resolve-face): Whitespace only change.
2801
9ac7a13f
EZ
28022012-03-17 Eli Zaretskii <eliz@gnu.org>
2803
2804 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2805 message more clear.
2806
e2b5bdd7
LL
28072012-03-16 Leo Liu <sdl.web@gmail.com>
2808
2809 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2810
2e492df3
AM
28112012-03-16 Alan Mackenzie <acm@muc.de>
2812
2813 Further optimise the handling of large macros.
2814
2815 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2816 limit to a call of `c-literal-limits'.
2817 (c-determine-+ve-limit): New function.
dc9924b8
SM
2818 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2819 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2820 In CASE 5B, restrict a search limit to 500.
2821 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2822
2823 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2824 Restrict macro bounds to +-500 from after-change's BEG END.
2825
50e94f0c
LL
28262012-03-16 Leo Liu <sdl.web@gmail.com>
2827
2828 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2829
6f09f6ed
AH
28302012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2831
2832 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2833 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2834
c7e73d51
GM
28352012-03-16 Glenn Morris <rgm@gnu.org>
2836
da986230
GM
2837 * view.el (view-buffer, view-buffer-other-window)
2838 (view-buffer-other-frame): Doc fixes re special mode-class.
2839
0835f01e
GM
2840 * subr.el (eval-after-load): If named feature is provided not from
2841 a file, run after-load forms. (Bug#10946)
2842
c7e73d51
GM
2843 * calendar/calendar.el (calendar-insert-at-column):
2844 Handle non-unit-width characters a bit better. (Bug#10978)
2845
3f2eafd1
CY
28462012-03-15 Chong Yidong <cyd@gnu.org>
2847
2848 * emacs-lisp/ring.el (ring-extend): New function.
2849 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2850
2851 * comint.el (comint-read-input-ring)
2852 (comint-add-to-input-history): Grow comint-input-ring lazily.
2853
103af3fe
SM
28542012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2855
663b1677
SM
2856 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2857 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2858
103af3fe
SM
2859 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2860 (imenu-add-to-menubar): Don't add a redundant index.
2861 (imenu-update-menubar): Handle a dynamically composed keymap.
2862
899cb7cb
KY
28632012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2864
2865 * mail/sendmail.el (mail-encode-header):
2866 Bind rfc2047-encode-encoded-words to nil.
2867
3809f91d
GM
28682012-03-13 Glenn Morris <rgm@gnu.org>
2869
2870 * calendar/calendar.el (calendar-string-spread):
2871 Handle non-unit-width characters a bit better. (Bug#10978)
2872
9e345a01
LL
28732012-03-13 Leo Liu <sdl.web@gmail.com>
2874
2875 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2876 directory and file as argument (Bug#10822).
2877
4a07df36
KS
28782012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2879
2880 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2881 For dynamically generated code, follow $PC.
2882 (gdb-disassembly-handler-custom): Handle no function name case.
2883
4aaa9356
TL
28842012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2885
2886 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2887 * emulation/ws-mode.el (ws-query-replace):
2888 * sort.el (sort-regexp-fields):
2889 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2890
225979da
SM
28912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * dabbrev.el: Fix cycle completion order (bug#10963).
2894 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2895 (dabbrev-completion): Don't use an obarray; provide
2896 a cycle-sort-function.
2897
e2f1fdab
LL
28982012-03-12 Leo Liu <sdl.web@gmail.com>
2899
dc9924b8 2900 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2901 (kill-do-not-save-duplicates): Doc fix.
2902
b19490ed
SM
29032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * dabbrev.el: Fix cycle completion (bug#10963).
2906 Use lexical binding and wrap to 80 columns.
2907 (dabbrev-completion): Delay computing the list of completions.
2908
4b05d722
KH
29092012-03-12 Kenichi Handa <handa@m17n.org>
2910
2911 * international/quail.el (quail-insert-kbd-layout): Surround each
2912 row by LRO and PDF instead of inserting many LRMs. Pad the left
2913 and right of each non-spacing marks. Insert invisible space
2914 between lower and upper characters to prevent composition.
2915
dbbc2e69
SM
29162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * minibuffer.el (minibuffer-complete): Don't get confused when the
2919 function is run twice via different commands (bug#10958).
2920 (complete-with-action): Fix docstring.
2921
292112ed
CY
29222012-03-12 Chong Yidong <cyd@gnu.org>
2923
5d1ac394
CY
2924 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2925 (nxml-completion-at-point-function): New function.
2926 (nxml-mode): Use it.
2927 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2928
292112ed
CY
2929 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2930 Load generated autoloads file before byte compiling (Bug#10970).
2931 (package--make-autoloads-and-compile): New helper fun.
2932
4098f8f7
CS
29332012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2934
2935 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2936
8f754691
MA
29372012-03-11 Michael Albinus <michael.albinus@gmx.de>
2938
2939 * autorevert.el (auto-revert-handler): Ensure, that
2940 file-readable-p is applied only for local files or in
2941 auto-revert-tail-mode.
2942
e29ab36b
AS
29432012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2944
dbbc2e69
SM
2945 * server.el (server-eval-at): Handle non-tcp connections.
2946 Decode result string.
ad0bf5b6 2947
e29ab36b
AS
2948 * server.el (server-msg-size): New constant.
2949 (server-reply-print): New function.
2950 (server-eval-and-print): Use it.
2951 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2952 Handle -print-nonl.
2953
de5939ba
CS
29542012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2955
2956 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2957 (Bug#10987).
2958
0c93eabf
CY
29592012-03-11 Chong Yidong <cyd@gnu.org>
2960
397a688f
CY
2961 * simple.el (goto-line): Doc fix (Bug#9938).
2962
2cc775f9
CY
2963 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2964
0c93eabf
CY
2965 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2966 when finished (Bug#10963).
2967
c491fa41
MR
29682012-03-11 Martin Rudalics <rudalics@gmx.at>
2969
2970 * window.el (split-window-below): Fix bug in case where
2971 split-window-keep-point is nil (Bug#10971).
2972
300e8fa5
JL
29732012-03-11 Juri Linkov <juri@jurta.org>
2974
2975 * replace.el (replace-highlight): Set isearch-word to nil
2976 unconditionally. (Bug#10887)
2977
dbf6c5a1
EZ
29782012-03-10 Eli Zaretskii <eliz@gnu.org>
2979
2980 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2981 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2982 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2983 (mairix-widget-create-query): Add usage information about mairix
2984 search forms: negating words, searching for substrings, etc.
2985
b9e501de
JP
29862012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2987
2988 * international/fontset.el (font-encoding-alist): Add an entry for
2989 ksx1001 (Bug#5667).
2990
92795c91
RS
29912012-03-10 Richard Stallman <rms@gnu.org>
2992
1694e6c1
RS
2993 * mail/sendmail.el (mail-encode-header):
2994 Set rfc2047-encode-encoded-words.
2995
607e8555
RS
2996 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2997
de3bc99a
RS
2998 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2999 view buffer means not swapped.
3000 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3001 (rmail-write-region-annotate): Error if real text has disappeared.
3002
92795c91
RS
3003 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3004
699bd04e
CY
30052012-03-10 Chong Yidong <cyd@gnu.org>
3006
3007 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3008 * emulation/cua-base.el (cua--init-keymaps):
3009 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3010
570a1714
MR
30112012-03-10 Martin Rudalics <rudalics@gmx.at>
3012
dbbc2e69
SM
3013 * speedbar.el (speedbar-unhighlight-one-tag-line):
3014 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3015
82dcf4e4
CY
30162012-03-10 Chong Yidong <cyd@gnu.org>
3017
7a2c7ca7
CY
3018 * minibuffer.el (completion-in-region, completion-help-at-point):
3019 Give the completion field overlay a high priority (Bug#6830).
3020
82dcf4e4
CY
3021 * dired.el (dired-goto-file): Recognize absolute file name
3022 listings (Bug#7126).
3023 (dired-goto-file-1): New helper function.
3024 (dired-toggle-read-only): Inhibit warnings.
3025
052e28ac
MA
30262012-03-09 Michael Albinus <michael.albinus@gmx.de>
3027
75f1671a 3028 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3029 there are no properties.
3030
95d5e396
LL
30312012-03-09 Leo Liu <sdl.web@gmail.com>
3032
3033 * savehist.el (savehist-printable): Stricter check for string
3034 value (Bug#10937).
3035
3f018d6d
EZ
30362012-03-09 Eli Zaretskii <eliz@gnu.org>
3037
dbbc2e69
SM
3038 * mail/smtpmail.el (smtpmail-send-it):
3039 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3040 valid mbox format.
3041
f7fd3d79
GM
30422012-03-09 Glenn Morris <rgm@gnu.org>
3043
3044 * files.el (dir-locals-find-file):
3045 Don't check result is regular, readable.
3046 (dir-locals-read-from-file): Demote errors.
3047
6ff6e72f
EZ
30482012-03-08 Eli Zaretskii <eliz@gnu.org>
3049
dbbc2e69
SM
3050 * international/quail.el (quail-insert-kbd-layout):
3051 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3052 layout cell, to prevent their reordering by bidi display engine.
3053 For details, see the discussion in
3054 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3055
9cec7834
AM
30562012-03-08 Alan Mackenzie <acm@muc.de>
3057
3058 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3059 the starting position; make it extend the marked region when
3060 invoked repeatedly - all under appropriate circumstances.
3061 Fixes bugs #5525, #10906.
3062
9a40b8d4
GM
30632012-03-08 Glenn Morris <rgm@gnu.org>
3064
3065 * files.el (locate-dominating-file, dir-locals-find-file):
3066 Undo 2012-03-06 change.
3067
7a08ed35
EZ
30682012-03-07 Eli Zaretskii <eliz@gnu.org>
3069
dbbc2e69
SM
3070 * international/quail.el (quail-help):
3071 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3072 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3073 for the reason.
3074
5aca4f71 30752012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3076
3077 Avoid superfluous registering of signals. (Bug#10807)
3078
3079 * notifications.el (notifications-on-action-object)
3080 (notifications-on-close-object): New defvars.
3081 (notifications-on-action-signal, notifications-on-closed-signal):
3082 Unregister the signal if not needed any longer.
3083 (notifications-notify): Register `notifications-action-signal' or
3084 `notifications-closed-signal', if :on-action or :on-close has been
3085 passed as argument.
3086
78e8b10a
CY
30872012-03-07 Chong Yidong <cyd@gnu.org>
3088
3089 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3090 non-X platforms.
3091
69481eb8
GM
30922012-03-06 Glenn Morris <rgm@gnu.org>
3093
3094 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3095 (x-disown-selection-internal, x-get-selection-internal):
3096 Doc fix (add arglist signatures). (Bug#10783)
3097
133b8e11
KS
30982012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3099
3100 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3101 Handle breakpoints with no "type".
3102
99a83064
GM
31032012-03-06 Glenn Morris <rgm@gnu.org>
3104
3105 * files.el (locate-dominating-file): Add optional predicate argument.
3106 (dir-locals-find-file): Make use of above change.
3107
17798e78
TTN
31082012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3109
3110 * info.el (Info-insert-dir): Also try "dir.gz".
3111
eb182446
GM
31122012-03-06 Glenn Morris <rgm@gnu.org>
3113
8f2114ee
GM
3114 * files.el (dir-locals-find-file):
3115 Ignore non-readable or non-regular files. (Bug#10928)
3116
eb182446
GM
3117 * files.el (locate-dominating-file): Doc fix.
3118
24679323
AS
31192012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3120
3121 * calendar/calendar.el (calendar-set-mode-line):
3122 `getenv' returns a string. (Bug#10951)
3123
01d972a9
LL
31242012-03-05 Leo Liu <sdl.web@gmail.com>
3125
109aa8a9
LL
3126 * simple.el (backward-delete-char-untabify): Constrain point to
3127 field (Bug#10939).
3128
01d972a9
LL
3129 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3130
10607bea
CY
31312012-03-05 Chong Yidong <cyd@gnu.org>
3132
3133 * simple.el (count-words): If called from Lisp, return the word
3134 count, for symmetry with `count-lines'. Arglist changed.
3135 (count-words--message): Args changed. Consolidate counting code
3136 from count-words and count-words-region.
3137 (count-words-region): Caller changed.
3138 (count-lines-region): Make it an obsolete alias.
3139
5dd11cfe
TH
31402012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3141
3142 * saveplace.el (save-place-to-alist)
3143 (save-place-ignore-files-regexp): Allow value nil to disable this
3144 feature.
3145
c349f4e6
CY
31462012-03-04 Chong Yidong <cyd@gnu.org>
3147
3148 * faces.el (face-spec-reset-face): For the default face, reset the
3149 attributes to default values (Bug#10748).
3150
e627be4c
LMI
31512012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3152
3153 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3154 previous patch: Check `message-send-mail-function', and not the
3155 default function (bug#10897).
3156
ebeabff4
MA
31572012-03-04 Michael Albinus <michael.albinus@gmx.de>
3158
a41a6cf4
MA
3159 * notifications.el (notifications-on-action-signal)
3160 (notifications-on-closed-signal): Check for unique service name of
3161 incoming event. Fix error in removing entry.
ebeabff4 3162 (top): Register for signals with wildcard service name.
a41a6cf4 3163 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3164
c1ca42b4
CY
31652012-03-04 Chong Yidong <cyd@gnu.org>
3166
dc9924b8 3167 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3168
ea16568d
GM
31692012-03-04 Glenn Morris <rgm@gnu.org>
3170
3171 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3172 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3173 (expand-abbrev, define-abbrev-table): Doc fixes.
3174
fbae4637
LMI
31752012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3176
3177 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3178 `message-default-send-mail-function' and not `send-mail-function'
3179 when doing the prompting for `sendmail-query-once' before sending
3180 in Message buffers (bug#10897).
3181
a1e7225c
LMI
3182 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3183 This is inconsistent with all the other stream functions, which leave
3184 the setting up to the higher levels (if so wanted) (bug#10931).
3185
56d093a9
AM
31862012-03-02 Alan Mackenzie <acm@muc.de>
3187
3188 Depessimize the handling of very large macros.
3189
3190 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3191 (c-macro-cache-syntactic): New variables to implement a one
3192 element macro cache.
3193 (c-invalidate-macro-cache): New function.
3194 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3195 Adapt to use the new cache.
3196 (c-state-safe-place): Use better the cache of safe positions.
3197 (c-state-semi-nonlit-pos-cache)
3198 (c-state-semi-nonlit-pos-cache-limit):
3199 New variables for...
3200 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3201 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3202 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3203 Use c-state-semi-safe-place.
56d093a9 3204
dbbc2e69
SM
3205 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3206 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3207
817e5c3d
MA
32082012-03-02 Michael Albinus <michael.albinus@gmx.de>
3209
dbbc2e69
SM
3210 * jka-compr.el (jka-compr-call-process):
3211 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3212 not remote.
3213
a032a702
MA
32142012-03-01 Michael Albinus <michael.albinus@gmx.de>
3215
3216 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3217 access of FILE2, if FILE1 does not exist.
3218
99a54f21
MA
3219 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3220 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3221
3222 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3223 Add "PAGER=" to `process-environment'.
3224
f6561e1f
MM
32252012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3226
3227 * progmodes/sql.el: Bug fix
3228 (sql-get-login-ext): Save login values in globals.
3229 (sql-get-login): Use new version of `sql-get-login-ext'.
3230 (sql-interactive-mode): Set global `sql-connection' to nil.
3231 (sql-connect): Set global values for connection.
3232 (sql-product-interactive): Save global values as buffer local.
3233
2d44d9cc
LL
32342012-02-29 Leo Liu <sdl.web@gmail.com>
3235
3236 * abbrev.el (define-abbrevs): Reset sys to nil.
3237
96b49301 32382012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3239
bf7f9bc5
JB
3240 * files.el (file-equal-p): Rename from `files-equal-p'.
3241 Return nil when one or both files don't exist.
96b49301 3242 (file-subdir-of-p): Now only top directory must exists,
3243 return nil if it doesn't.
bf7f9bc5
JB
3244 (copy-directory): No need to test with `file-subdir-of-p' after
3245 creating dir.
3246 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3247 to `file-equal-p'.
96b49301 3248
44e97401
GM
32492012-02-28 Glenn Morris <rgm@gnu.org>
3250
3251 * shell.el (shell-mode):
3252 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3253 * play/landmark.el (landmark-font-lock-face-O):
3254 * play/handwrite.el (handwrite):
3255 * play/gomoku.el (gomoku-O):
3256 * net/browse-url.el (browse-url-browser-display):
3257 * international/mule.el (define-charset):
3258 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3259 * filesets.el (filesets-find-file-delay):
3260 * eshell/em-xtra.el (eshell-xtra):
3261 * eshell/em-unix.el (eshell-grep):
3262 * emulation/viper.el (viper-mode):
3263 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3264 * emacs-lisp/easymenu.el (easy-menu-define):
3265 * calendar/timeclock.el (timeclock-use-display-time):
3266 * bs.el (bs-mode):
3267 * bookmark.el (bookmark-save-flag):
3268 Doc fix (standardize possessive apostrophe usage).
3269
c98c6276
CY
32702012-02-27 Chong Yidong <cyd@gnu.org>
3271
bf7f9bc5
JB
3272 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3273 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3274
c98c6276
CY
3275 * font-lock.el (font-lock-specified-p): Rename from
3276 font-lock-spec-present. Callers changed.
3277
9c62cd04 32782012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3279
bf7f9bc5
JB
3280 * emacs-lisp/package.el (package-compute-transaction):
3281 Handle holding a package version to t in package-load-list.
8ac9e529 3282
530739c9
MA
32832012-02-26 Michael Albinus <michael.albinus@gmx.de>
3284
3285 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3286 (tramp-get-inode, tramp-get-device): Use cached values.
3287
487915d7
AM
32882012-02-26 Alan Mackenzie <acm@muc.de>
3289
3290 Check there is a font-lock specification before doing initial
3291 fontification.
3292
3293 * font-core.el (font-lock-mode): Move the conditional from
3294 :after-hook to font-lock-initial-fontify.
3295 (font-lock-default-function): Move the check for a specification
3296 to font-lock-spec-present.
3297
dc9924b8 3298 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3299 (font-lock-spec-present): New function.
3300
4fd96557
JB
33012012-02-26 Jim Blandy <jimb@red-bean.com>
3302
3303 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3304 (gdb-send): Apply it to the operand of the '-interpreter-exec
3305 console' command, so that we can pass arguments with (say) quotes
3306 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3307
9a4888c0
CY
33082012-02-26 Chong Yidong <cyd@gnu.org>
3309
07498861
CY
3310 * help-fns.el (describe-function-1): Clarify description of
3311 remapping (Bug#10844).
3312
9a4888c0
CY
3313 * files.el (files-equal-p): Doc fix.
3314 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3315 and quit the loop once a mismatch is found.
3316
ea8fb88d
JB
33172012-02-25 Juanma Barranquero <lekktu@gmail.com>
3318
3319 * bs.el (bs--show-with-configuration): Don't throw an error
3320 if the window cannot be split; otherwise, subsequent calls to
3321 bs-show fail, restoring a stale window config. (Bug#10882)
3322
525795c1
JD
33232012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3324
3325 * term/ns-win.el (global-map): Bind ns-drag-file to
3326 ns-find-file (Bug#5855, Bug#10050).
3327
f008086f
AS
33282012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3329
3330 * calendar/parse-time.el (parse-time-string): Allow extractor to
3331 return nil.
3332
a3fcfa99
MA
33332012-02-25 Michael Albinus <michael.albinus@gmx.de>
3334
91027d08
JB
3335 * net/tramp.el (tramp-file-name-for-operation):
3336 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3337
3338 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3339 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3340 Add COPY-CONTENTS argument.
a3fcfa99 3341
67b0de11
CY
33422012-02-25 Chong Yidong <cyd@gnu.org>
3343
3344 Add custom groups for VC backends, for consistency with vc-bzr.
3345
3346 * vc/vc-arch.el (vc-arch):
3347 * vc/vc-cvs.el (vc-cvs):
3348 * vc/vc-git.el (vc-git):
3349 * vc/vc-hg.el (vc-hg):
3350 * vc/vc-mtn.el (vc-mtn):
3351 * vc/vc-rcs.el (vc-rcs):
3352 * vc/vc-sccs.el (vc-sccs):
3353 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3354 All relevant defcustoms reassigned.
3355
3c9dfce6
CY
33562012-02-25 Chong Yidong <cyd@gnu.org>
3357
1339bf43
CY
3358 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3359
3c9dfce6
CY
3360 * term/x-win.el (x-initialize-window-system): Reduce default for
3361 x-selection-timeout to 5 seconds (Bug#8869).
3362
25b2e303 33632012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3364
ec70a47d
GM
3365 * files.el (files-equal-p, file-subdir-of-p): New functions.
3366 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3367 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3368 * dired-aux.el (dired-copy-file-recursive): Same.
3369 (dired-create-files): Modify destination when source is equal to
3370 dest when copying files.
53a46cd0 3371 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3372
914260cd
MA
33732012-02-24 Michael Albinus <michael.albinus@gmx.de>
3374
3375 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3376 (Bug#10874)
3377
2cb228f7
AM
33782012-02-23 Alan Mackenzie <acm@muc.de>
3379
3380 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3381 parameter "after-hook:" to allow the expansion to run code after
3382 the execution of the mode hooks.
3383
3384 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3385 from font-lock-mode-internal.
2cb228f7 3386
91027d08 3387 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3388 :after-hook.
3389
8f0fde21
SM
33902012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3e88618b
SM
3392 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3393 (completion--cache-all-sorted-completions): New function.
3394 (completion-all-sorted-completions): Use it.
3395 (completion--do-completion, minibuffer-force-complete):
3396 Use it to re-instate the flush hook.
3397
8f0fde21
SM
3398 * icomplete.el (icomplete-completions): Replace last fix with a better
3399 one (bug#10850).
3400
8e911f6f
DG
34012012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3402
3403 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3404 when it might call us back infinitely (bug#10797).
3405
49fe4321
GM
34062012-02-23 Glenn Morris <rgm@gnu.org>
3407
3408 * minibuffer.el (completion-category-overrides): Doc fix.
3409
b291b572
SM
34102012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3413 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3414
31a9ef2e
GM
34152012-02-23 Glenn Morris <rgm@gnu.org>
3416
5e6e6794 3417 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3418 (authors-obsolete-files-regexps, authors-ignored-files)
3419 (authors-ambiguous-files, authors-renamed-files-alist):
3420 Add more entries.
3421
0bd1e074
JL
34222012-02-23 Juri Linkov <juri@jurta.org>
3423
3424 * isearch.el (isearch-occur): Sync interactive spec with occur's
3425 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3426
b617673c
JL
3427 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3428
19e9789e
JL
34292012-02-22 Juri Linkov <juri@jurta.org>
3430
3431 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3432 (ucs-insert): Doc fix. Check for hex digits in the string.
3433 Don't display `nil' in the error message. (Bug#10857)
3434
f41ce09d
AM
34352012-02-22 Alan Mackenzie <acm@muc.de>
3436
7a71b18d 3437 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3438
ac2eceee
GM
34392012-02-22 Glenn Morris <rgm@gnu.org>
3440
3441 * ffap.el (ffap-c-path):
3442 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3443
abd1f678
CY
34442012-02-22 Chong Yidong <cyd@gnu.org>
3445
3446 * custom.el (load-theme): Doc fix.
3447
f25aef2e
GM
34482012-02-22 Glenn Morris <rgm@gnu.org>
3449
3450 * dired-x.el (dired-guess-shell-alist-default):
3451 Remove escape sequences from nroff output. (Bug#172)
3452
5f8dc2ca
GM
34532012-02-21 Glenn Morris <rgm@gnu.org>
3454
6ff86ec4
GM
3455 * vc/emerge.el (emerge-defvar-local):
3456 Set `permanent-local' property rather than unused `preserved'.
3457
be3223a3 3458 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3459 (picture-mode-map): Use it. (Bug#10860)
3460 (picture-mode): Doc fix.
3461
3fe58f4f
JB
34622012-02-21 Juanma Barranquero <lekktu@gmail.com>
3463
3464 * newcomment.el (uncomment-region-default): Remove unused binding.
3465
f9a998c3
GM
34662012-02-21 Glenn Morris <rgm@gnu.org>
3467
3468 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3469 (picture-self-insert, picture-tab-chars): Doc fix.
3470 (picture-mode-map): Fix C-a, C-e.
3471
c6029348
GM
34722012-02-20 Glenn Morris <rgm@gnu.org>
3473
3474 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3475
ab1ce9d7
LL
34762012-02-20 Leo Liu <sdl.web@gmail.com>
3477
3478 * icomplete.el (icomplete-completions): Check FROM arg before
3479 passing to substring (Bug#10850).
3480
0fd40f89
CY
34812012-02-19 Chong Yidong <cyd@gnu.org>
3482
3483 * comint.el: Require ansi-color.
3484 (comint-output-filter-functions): Add ansi-color-process-output.
3485
3486 * ansi-color.el: Don't set comint-output-filter-functions; it is
3487 now in the initial value defined in comint.el.
3488 (ansi-color-apply-face-function): New variable.
3489 (ansi-color-apply-on-region): Use it.
3490 (ansi-color-apply-overlay-face): New function.
3491
3492 * shell.el (shell): No need to require ansi-color.
3493 (shell-mode): Use ansi-color-apply-face-function to highlight
3494 color escapes using font-lock-face property (Bug#10835).
3495
20af2394
CY
34962012-02-19 Chong Yidong <cyd@gnu.org>
3497
3498 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3499 mode-line formats (Bug#10839).
3500
e23a3fbe
GM
35012012-02-18 Glenn Morris <rgm@gnu.org>
3502
b474519e
GM
3503 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3504
3505 * mail/undigest.el (unforward-rmail-message): Doc fix.
3506
e23a3fbe
GM
3507 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3508
57939ff4
EZ
35092012-02-18 Eli Zaretskii <eliz@gnu.org>
3510
3511 * international/characters.el (script-list): Sync with the latest
3512 Unicode Character Database.
3513
0c23686e
AS
35142012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3515
3516 * international/titdic-cnv.el: Remove duplicate coding tag.
3517 * language/cham.el: Likewise.
3518 * language/tai-viet.el: Likewise.
3519
6818b449
GM
35202012-02-18 Glenn Morris <rgm@gnu.org>
3521
3522 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3523 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3524 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3525 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3526 * calendar/holidays.el (holiday-bahai-holidays)
3527 (calendar-holidays, list-holidays):
3528 Use utf-8 Bahá'í in doc-strings, menus, etc.
3529
0311a3fc
TH
35302012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3531
3532 * saveplace.el (save-place-ignore-files-regexp): New variable
3533 allowing for excluding files from saving their location of point.
3534 The default value matches the temporary commit message editing
3535 files from Git, SVN, Bazaar, and Mercurial.
3536 (save-place-to-alist): Use it.
3537
eb864a71
LM
35382012-02-17 Lawrence Mitchell <wence@gmx.li>
3539 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * newcomment.el (uncomment-region-default): Don't leave extra space
3542 when an arg is provided (bug#8150).
3543
ee0ce425
TZ
35442012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3545
eb864a71 3546 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3547
95ddf442
GM
35482012-02-17 Glenn Morris <rgm@gnu.org>
3549
3550 * net/socks.el: Require network-stream. (Bug#10599)
3551
48dd1e39 35522012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3553
3554 * international/charprop.el:
3555 * international/uni-name.el:
3556 * international/uni-old-name.el:
3557 * international/uni-comment.el: Regenerate.
3558
d68cd087
GM
35592012-02-16 Glenn Morris <rgm@gnu.org>
3560
3561 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3562 Interactively in calendar buffer, give an error if not on a date.
3563
13932042
GM
35642012-02-15 Glenn Morris <rgm@gnu.org>
3565
3566 * shell.el (shell-delimiter-argument-list):
3567 Revert 2011-02-17 change. (Bug#8027)
3568
c3a70e2b
CY
35692012-02-15 Chong Yidong <cyd@gnu.org>
3570
60236b0d
CY
3571 * minibuffer.el (completion-at-point-functions): Doc fix.
3572
c3a70e2b
CY
3573 * custom.el (defcustom): Doc fix; note use of defvar.
3574
9f26dc24
GM
35752012-02-15 Glenn Morris <rgm@gnu.org>
3576
3577 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3578 Doc fixes.
3579
6546b134
GM
35802012-02-14 Glenn Morris <rgm@gnu.org>
3581
3582 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3583
d29b2b4c
LI
35842012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3585
3586 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3587 way the ports list is computed.
835bdcba
LI
3588 (smtpmail-query-smtp-server): Prompt the user for a port number if
3589 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3590
08dcdbc9
TZ
35912012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3592
3593 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3594
2605051a
GM
35952012-02-13 Glenn Morris <rgm@gnu.org>
3596
3597 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3598
7ee99f32
TZ
35992012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3600
3601 * net/gnutls.el (gnutls-trustfiles): New variable.
3602 (gnutls-negotiate): Use it.
3603
5f0af64f
LI
36042012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3605
3606 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3607 does its stuff if Gnus is running.
3608
c14fcc95
AM
36092012-02-13 Alan Mackenzie <acm@muc.de>
3610
3611 Fix a loop in c-set-fl-decl-start.
3612
7a71b18d 3613 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3614 c-backward-syntactic-ws actually moves backwards.
3615
142b4d90
LL
36162012-02-13 Leo Liu <sdl.web@gmail.com>
3617
3618 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3619 beginning so that all \C-o chars are removed.
3620
fa9958a6
TZ
36212012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3622
dc9924b8 3623 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3624
0bc5886a
AM
36252012-02-12 Alan Mackenzie <acm@muc.de>
3626
3627 Fix infinite loop with long macros.
4d6769e1 3628 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3629
d4bd55e7
CY
36302012-02-12 Chong Yidong <cyd@gnu.org>
3631
3632 * window.el (display-buffer): Doc fix (Bug#10785).
3633
66f3fe22
GM
36342012-02-12 Glenn Morris <rgm@gnu.org>
3635
bd7da63e
GM
3636 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3637 (x-disown-selection-internal, x-get-selection-internal):
3638 Sync docs with the xselect.c versions.
3639
66f3fe22
GM
3640 * allout-widgets.el: Add missing license notice.
3641
3e0d2fa7
GM
36422012-02-11 Glenn Morris <rgm@gnu.org>
3643
cfecdf09
GM
3644 * select.el (x-get-selection-internal, x-own-selection-internal)
3645 (x-disown-selection-internal):
3646 * x-dnd.el (x-get-selection-internal): Update declarations.
3647
6d216d7f
GM
3648 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3649
2bed3f04
GM
3650 * window.el (window-sides-slots):
3651 * tool-bar.el (tool-bar-position):
3652 * term/xterm.el (xterm-extra-capabilities):
3653 * ses.el (ses-self-reference-early-detection):
3654 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3655 (verilog-auto-wire-type)
3656 (verilog-auto-delete-trailing-whitespace)
3657 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3658 (verilog-auto-tieoff-declaration):
3659 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3660 (sql-oracle-statement-starters, sql-oracle-scan-on):
3661 * progmodes/prolog.el (prolog-align-comments-flag)
3662 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3663 (prolog-left-indent-regexp, prolog-paren-indent-p)
3664 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3665 (prolog-types, prolog-mode-specificators)
3666 (prolog-determinism-specificators, prolog-directives)
3667 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3668 (prolog-electric-dot-flag)
3669 (prolog-electric-dot-full-predicate-template)
3670 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3671 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3672 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3673 (prolog-program-switches, prolog-prompt-regexp)
3674 (prolog-debug-on-string, prolog-debug-off-string)
3675 (prolog-trace-on-string, prolog-trace-off-string)
3676 (prolog-zip-on-string, prolog-zip-off-string)
3677 (prolog-use-standard-consult-compile-method-flag)
3678 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3679 (prolog-imenu-max-lines, prolog-info-predicate-index)
3680 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3681 (prolog-char-quote-workaround):
3682 * progmodes/cc-vars.el (c-defun-tactic):
3683 * net/tramp.el (tramp-encoding-command-interactive)
3684 (tramp-local-end-of-line):
3685 * net/soap-client.el (soap-client):
3686 * net/netrc.el (netrc-file):
3687 * net/gnutls.el (gnutls):
3688 * minibuffer.el (completion-category-overrides)
3689 (completion-cycle-threshold)
3690 (completion-pcm-complete-word-inserts-delimiters):
3691 * man.el (Man-name-local-regexp):
3692 * mail/feedmail.el (feedmail-display-full-frame):
3693 * international/characters.el (glyphless-char-display-control):
3694 * eshell/em-ls.el (eshell-ls-date-format):
3695 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3696 (lisp-lambda-list-keyword-parameter-indentation)
3697 (lisp-lambda-list-keyword-parameter-alignment):
3698 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3699 * dired-x.el (dired-omit-verbose):
3700 * cus-theme.el (custom-theme-allow-multiple-selections):
3701 * calc/calc.el (calc-highlight-selections-with-faces)
3702 (calc-lu-field-reference, calc-lu-power-reference)
3703 (calc-note-threshold):
3704 * battery.el (battery-mode-line-limit):
3705 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3706 (archive-7z-update):
3707 * allout.el (allout-prefixed-keybindings)
3708 (allout-unprefixed-keybindings)
3709 (allout-inhibit-auto-fill-on-headline)
3710 (allout-flattened-numbering-abbreviation):
3711 * allout-widgets.el (allout-widgets-auto-activation)
3712 (allout-widgets-icons-dark-subdir)
3713 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3714 (allout-widgets-theme-dark-background)
3715 (allout-widgets-theme-light-background)
3716 (allout-widgets-item-image-properties-emacs)
3717 (allout-widgets-item-image-properties-xemacs)
3718 (allout-widgets-run-unit-tests-on-load)
3719 (allout-widgets-time-decoration-activity)
3720 (allout-widgets-hook-error-post-time)
3721 (allout-widgets-track-decoration):
3722 Add missing :version tags to new defcustoms and defgroups.
3723
5fec1b8e
GM
3724 * progmodes/sql.el (sql-ansi-statement-starters)
3725 (sql-oracle-statement-starters): Add custom type.
3726
3e0d2fa7
GM
3727 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3728 (prolog-system-version): Give it a type.
3729
90b671e2
EZ
37302012-02-11 Eli Zaretskii <eliz@gnu.org>
3731
3732 * term/pc-win.el (x-select-text, x-selection-owner-p)
3733 (x-own-selection-internal, x-disown-selection-internal)
3734 (x-get-selection-internal): Sync doc strings and argument lists
3735 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3736
5eac0c02
LL
37372012-02-11 Leo Liu <sdl.web@gmail.com>
3738
3739 * progmodes/python.el (python-end-of-statement): Fix infinite
3740 loop. (Bug#10788)
3741
f82cb659
GM
37422012-02-10 Glenn Morris <rgm@gnu.org>
3743
3744 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3745 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3746
cc26d239
LI
37472012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3748
3749 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3750 about SMTP before checking the From header.
3751
91027d08 3752 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3753 into own function for reuse by emacsbug.el.
3754
1be3ca5a
LL
37552012-02-10 Leo Liu <sdl.web@gmail.com>
3756
3757 * subr.el (condition-case-unless-debug): Rename from
3758 condition-case-no-debug. All callers changed.
3759 (with-demoted-errors): Fix caller.
3760
3761 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3762 * nxml/rng-valid.el (rng-do-some-validation):
3763 * emacs-lisp/package.el (package-refresh-contents)
3764 (package-menu-execute):
3765 * desktop.el (desktop-create-buffer):
91027d08 3766 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3767
b011fbfe
GM
37682012-02-10 Glenn Morris <rgm@gnu.org>
3769
b2096d72
GM
3770 * textmodes/bibtex.el:
3771 Add missing :version tags for new/changed defcustoms.
3772
b011fbfe
GM
3773 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3774
4c7e65bf
LI
37752012-02-09 Lars Ingebrigtsen <larsi@rusty>
3776
3777 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3778 (smtpmail-via-smtp): Use it, or fall back on the From address.
3779 (smtpmail-send-it): Ditto.
3780
f3934f6f
SM
37812012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3784 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3785 (byte-compile-tmp-var): New const.
3786 (byte-compile-defvar): Use it to minimize .elc size.
3787 Just use `defvar' rather than simulate it (bug#10761).
3788
a075a2c5
GM
37892012-02-09 Glenn Morris <rgm@gnu.org>
3790
cf3aa21b
GM
3791 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3792
354998cd
GM
3793 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3794 Add :version tags.
3795
dc9924b8
SM
3796 * progmodes/compile.el (compilation-error-screen-columns)
3797 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3798
dab3703d
GM
3799 * vc/log-view.el (log-view-toggle-entry-display):
3800 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3801
3f88cd72
GM
3802 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3803 (report-emacs-bug-can-use-xdg-email):
3804 (report-emacs-bug-insert-to-mailer): Doc fixes.
3805 (report-emacs-bug): Message fix.
3806
d95b247d
GM
3807 * net/browse-url.el (browse-url-can-use-xdg-open)
3808 (browse-url-xdg-open): Doc fixes.
3809
a075a2c5
GM
3810 * electric.el (electric-indent-mode, electric-pair-mode)
3811 (electric-layout-rules, electric-layout-mode): Doc fixes.
3812 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3813
ffb6157e
MR
38142012-02-08 Martin Rudalics <rudalics@gmx.at>
3815
3816 * server.el (server-unselect-display): Don't inadvertently kill
3817 the current buffer. (Bug#10729)
3818
e1ac4066
GM
38192012-02-08 Glenn Morris <rgm@gnu.org>
3820
34e8a2da
GM
3821 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3822 (sql-list-table): Doc fixes.
3823
b4ac6e8c
GM
3824 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3825 Comment out (does nothing).
3826
e1ac4066
GM
3827 * completion.el (dynamic-completion-mode):
3828 * dirtrack.el (dirtrack-debug-mode):
3829 * electric.el (electric-layout-mode):
3830 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3831 * face-remap.el (text-scale-mode, buffer-face-mode):
3832 * iimage.el (iimage-mode):
3833 * image-mode.el (image-transform-mode):
3834 * minibuffer.el (completion-in-region-mode):
3835 * scroll-lock.el (scroll-lock-mode):
3836 * simple.el (next-error-follow-minor-mode):
3837 * tar-mode.el (tar-subfile-mode):
3838 * tooltip.el (tooltip-mode):
3839 * vcursor.el (vcursor-use-vcursor-map):
3840 * wid-browse.el (widget-minor-mode):
3841 * emulation/tpu-edt.el (tpu-edt-mode):
3842 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3843 * international/iso-ascii.el (iso-ascii-mode):
3844 * language/thai-util.el (thai-word-mode):
3845 * mail/supercite.el (sc-minor-mode):
3846 * net/goto-addr.el (goto-address-mode):
3847 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3848 * progmodes/cwarn.el (cwarn-mode):
3849 * progmodes/flymake.el (flymake-mode):
3850 * progmodes/glasses.el (glasses-mode):
3851 * progmodes/hideshow.el (hs-minor-mode):
3852 * progmodes/pascal.el (pascal-outline-mode):
3853 * textmodes/enriched.el (enriched-mode):
3854 * vc/smerge-mode.el (smerge-mode):
3855 Doc fixes (minor mode argument).
3856
5e0d957f
EZ
38572012-02-07 Eli Zaretskii <eliz@gnu.org>
3858
3859 * ls-lisp.el (ls-lisp-sanitize): New function.
3860 (ls-lisp-insert-directory): Use it to fix or remove any elements
3861 in file-alist with missing attributes. (Bug#4673)
3862
98d7371e
AM
38632012-02-07 Alan Mackenzie <acm@muc.de>
3864
3865 Fix spurious recognition of c-in-knr-argdecl.
3866
3867 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3868 putative K&R region.
3869
667ced3a
AM
38702012-02-07 Alan Mackenzie <acm@muc.de>
3871
eb864a71
LM
3872 * progmodes/cc-engine.el (c-forward-objc-directive):
3873 Prevent looping in "#pragma mark @implementation".
667ced3a 3874
5b77774d
MA
38752012-02-07 Michael Albinus <michael.albinus@gmx.de>
3876
3877 * notifications.el (notifications-on-closed-signal): Make `reason'
3878 optional. (Bug#10744)
3879
af008560
GM
38802012-02-07 Glenn Morris <rgm@gnu.org>
3881
60d47423
GM
3882 * emacs-lisp/easy-mmode.el (define-minor-mode):
3883 Doc fixes for the macro and the mode it defines.
3884
dd605cc4
GM
3885 * image.el (imagemagick-types-inhibit): Doc fix.
3886
af008560
GM
3887 * cus-start.el (imagemagick-render-type): Add it.
3888
5cc59a37
LI
38892012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3890
4d6769e1
JB
3891 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3892 Set the default at load time, too, so that `font-lock-fontify-buffer'
3893 can be called without setting up the entire mode first. This fixes
3894 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3895
9a6dd747
CY
38962012-02-06 Chong Yidong <cyd@gnu.org>
3897
2d16b285
CY
3898 * simple.el (list-processes--refresh): Delete exited processes
3899 (Bug#8094).
3900
171e9b6e
CY
3901 * comint.el (comint-next-prompt): next-single-char-property-change
3902 and prev-single-char-property-change never return nil (Bug#8657).
3903
9a6dd747
CY
3904 * custom.el (defcustom): Doc fix (Bug#9711).
3905
aa4589a7
CY
39062012-02-05 Chong Yidong <cyd@gnu.org>
3907
5c2a252f
CY
3908 * cus-edit.el (custom-variable-reset-backup): Quote the value
3909 before storing it in the customized-value property (Bug#6712).
4aab9006 3910 (custom-display): Add a customization type tag.
983b9602 3911 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3912
aa4589a7
CY
3913 * wid-edit.el (widget-field-value-get): New optional arg to
3914 suppress trailing whitespace truncation.
3915 (character): Use it (Bug#2689).
3916
1ff980ae
AS
39172012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3918
3919 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3920 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3921
03988c98
CY
39222012-02-05 Chong Yidong <cyd@gnu.org>
3923
eeb6cc88
CY
3924 * cus-edit.el (custom-variable-value-create): For mismatched
3925 types, show the current value (Bug#7600).
3926
03988c98
CY
3927 * custom.el (defcustom): Doc fix.
3928
f8cdeef0
GM
39292012-02-05 Glenn Morris <rgm@gnu.org>
3930
3931 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3932
0696d255
JB
39332012-02-05 Juanma Barranquero <lekktu@gmail.com>
3934
3935 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3936 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3937 (pp-last-sexp): Use `looking-at-p'.
3938
34c99998
GM
39392012-02-04 Glenn Morris <rgm@gnu.org>
3940
8f05da42
GM
3941 * files.el (revert-buffer):
3942 Doc fix (mention revert-buffer-in-progress-p).
3943
f160676e
GM
3944 * emacs-lisp/ert-x.el (ert-simulate-command):
3945 Check deferred-action-list (which is obsolete) is bound.
3946
c7291ad9
GM
3947 * subr.el (with-wrapper-hook): Doc fixes.
3948
34c99998
GM
3949 * simple.el (filter-buffer-substring-functions)
3950 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3951
6283a7d3
LL
39522012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3953
3954 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3955 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3956
e96e3013
LL
39572012-02-04 Leo Liu <sdl.web@gmail.com>
3958
3959 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3960
8ded50f2
GM
39612012-02-04 Glenn Morris <rgm@gnu.org>
3962
82ff1d13
GM
3963 * image.el (image-extension-data): Add obsolete alias.
3964
987a0a16
GM
3965 * isearch.el (isearch-update): Doc fix.
3966
ea32ef46
GM
3967 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3968
8ded50f2
GM
3969 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3970
eea14f31
GM
39712012-02-03 Glenn Morris <rgm@gnu.org>
3972
3973 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3974 (image-animate-timeout): Doc fix.
3975
3976 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3977
12f381b7
GM
39782012-02-02 Glenn Morris <rgm@gnu.org>
3979
953cebf5
GM
3980 * server.el (server-auth-dir): Doc fix.
3981 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3982
12f381b7
GM
3983 * subr.el (run-mode-hooks): Doc fix.
3984
953a8c3b
JL
39852012-02-02 Juri Linkov <juri@jurta.org>
3986
3987 * image-mode.el (image-toggle-display-image): Remove tautological
3988 `major-mode' from the `derived-mode-p' test.
3989
c5d3843c
KH
39902012-02-02 Kenichi Handa <handa@m17n.org>
3991
9f6e692e 3992 * composite.el (compose-region): Cancel previous change.
c5d3843c 3993
159462d4 39942012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3995
3996 * composite.el (compose-region, compose-string): Signal error for
3997 a null string component (Bug#6988).
3998
9f562668
CY
39992012-02-01 Chong Yidong <cyd@gnu.org>
4000
e2cef717
CY
4001 * view.el (view-buffer-other-window, view-buffer-other-frame):
4002 Handle special modes like view-buffer (Bug#10650).
4003 (view-buffer): Simplify.
4004
9f562668
CY
4005 * frame.el (set-frame-font): Tweak meaning of third argument.
4006
9f6e692e
JB
4007 * dynamic-setting.el (font-setting-change-default-font):
4008 Use set-frame-font (Bug#9982).
9f562668 4009
781acb9f
GM
40102012-02-01 Glenn Morris <rgm@gnu.org>
4011
6035be52
GM
4012 * progmodes/compile.el (compilation-internal-error-properties):
4013 Respect compilation-first-column in the "*compilation*" buffer.
4014
781acb9f
GM
4015 * emacs-lisp/easy-mmode.el (define-minor-mode):
4016 Relax :variable's test for a named function.
4017
abbceb00
AM
40182012-01-31 Alan Mackenzie <acm@muc.de>
4019
4020 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4021 off by one error.
4022
fce3fdeb
CY
40232012-01-31 Chong Yidong <cyd@gnu.org>
4024
4025 * frame.el (set-frame-font): New arg ALL-FRAMES.
4026
4027 * menu-bar.el (menu-set-font): Use set-frame-font.
4028
4029 * faces.el (face-spec-reset-face): Don't apply unspecified
4030 attribute values to the default face.
4031
47893581
JB
40322012-01-31 Juanma Barranquero <lekktu@gmail.com>
4033
4034 * progmodes/cwarn.el (cwarn): Remove dead link.
4035 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4036 Remove * from defcustom docstrings.
4037 (turn-on-cwarn-mode): Make obsolete.
4038 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4039 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4040
e58e988a
GM
40412012-01-31 Glenn Morris <rgm@gnu.org>
4042
60dc2671 4043 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4044 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4045 Allow named functions to be used as the cdr of :variable.
e58e988a 4046
7a3f511d
GM
40472012-01-30 Glenn Morris <rgm@gnu.org>
4048
4049 * emacs-lisp/authors.el (authors-fixed-entries):
4050 Remove reference to deleted file rnewspost.el.
4051
cb882333
JB
40522012-01-29 Juanma Barranquero <lekktu@gmail.com>
4053
4054 * window.el (window-with-parameter): Remove unused variable `windows'.
4055 (window--side-check): Remove unused variable `code'.
4056 (window--resize-siblings): Remove unused variable `first'.
4057 (adjust-window-trailing-edge): Remove unused variable `failed'.
4058 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4059 Use `let', not `let*'.
4060 (balance-windows-2): Remove unused variable `found'.
4061 (window--state-put-2): Remove unused variable `splits'.
4062 (window-state-put): Remove unused variable `selected'.
4063 (same-window-p): Use `string-match-p'.
4064 (display-buffer-assq-regexp): Remove unused variable `value'.
4065 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4066 Mark argument ALIST as ignored.
4067 (pop-to-buffer): Remove unused variable `old-window'.
4068
907201af
EZ
40692012-01-29 Eli Zaretskii <eliz@gnu.org>
4070
4071 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4072 and .lzma compressed files.
4073
ea162670
CY
40742012-01-29 Chong Yidong <cyd@gnu.org>
4075
5b95ee8a
CY
4076 * frame.el (window-system-default-frame-alist): Doc fix.
4077
ea162670
CY
4078 * dynamic-setting.el (font-setting-change-default-font): Don't
4079 change the default face if SET-FONT argument is non-nil (Bug#9982).
4080
d6e6f4b1
SB
40812012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4082
4083 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4084
0f29fa41 40852012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4086
4087 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4088 breakpoints in files outside current directory (Bug#6098).
4089
db174434
CY
40902012-01-29 Chong Yidong <cyd@gnu.org>
4091
6b25e4e2
SE
4092 * progmodes/python.el: Require ansi-color at top-level.
4093
6df6ae42
JB
4094 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4095 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4096 (lisp-mode-abbrev-table): Add doc.
4097 (lisp-mode-variables): Don't set local-abbrev-table.
4098 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4099
e70ee681
RW
41002012-01-28 Roland Winkler <winkler@gnu.org>
4101
4102 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4103
ace88aa2
RW
41042012-01-28 Roland Winkler <winkler@gnu.org>
4105
4106 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4107 (bibtex-set-dialect): Use it. Either set global values of
4108 dialect-dependent variables or bind these variables buffer-locally
4109 (Bug#10254).
4110 (bibtex-mode): Call bibtex-set-dialect via
4111 hack-local-variables-hook.
eb864a71
LM
4112 (bibtex-dialect): Update docstring.
4113 Add safe-local-variable predicate.
ace88aa2
RW
4114 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4115 bibtex-set-dialect.
4116 (bibtex-mode-map): Define menu for each dialect.
4117 (bibtex-entry): Fix docstring.
4118
93376c5b
CY
41192012-01-28 Chong Yidong <cyd@gnu.org>
4120
4121 * eshell/esh-arg.el (eshell-quote-argument): New function.
4122
4123 * eshell/esh-ext.el (eshell-invoke-batch-file):
4124 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4125 first arg to eshell-parse-command (Bug#10523).
4126
4372494f
DA
41272012-01-28 Drew Adams <drew.adams@oracle.com>
4128
4129 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4130 `default-directory' is non-nil.
4131
4d4ec1f8
EZ
41322012-01-28 Eli Zaretskii <eliz@gnu.org>
4133
4134 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4135 line that displays system-configuration-options. (Bug#9924)
4136
7c188927
DA
41372012-01-28 Drew Adams <drew.adams@oracle.com>
4138
4139 * descr-text.el (describe-char): Show information about POS, in
4140 addition to information about the character at POS. Improve and
4141 update the doc string. Change "code point" to "code point in
4142 charset", to avoid confusion with the character's Unicode code
4143 point shown above that. (Bug#10129)
4144
e0da685a
EZ
41452012-01-28 Eli Zaretskii <eliz@gnu.org>
4146
4147 * descr-text.el (describe-char): Show the raw character, not only
4148 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4149 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4150 for the reasons.
4151
70550acf
PH
41522012-01-28 Phil Hagelberg <phil@hagelb.org>
4153
eb864a71
LM
4154 * emacs-lisp/package.el (package-install):
4155 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4156
0ce8e868
CY
41572012-01-28 Chong Yidong <cyd@gnu.org>
4158
cb882333
JB
4159 * emacs-lisp/package.el (package-maybe-load-descriptor):
4160 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4161 (package-maybe-load-descriptor): Use it.
4162 (package-download-transaction): Fully load required packages
4163 inside the loop, so that `require' calls work (Bug#10593).
4164 (package-install): No need to call package-initialize now.
4165
2e7f3bea
CY
41662012-01-28 Chong Yidong <cyd@gnu.org>
4167
6e9bad14
CY
4168 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4169
f823b8ca
CY
4170 * tooltip.el (tooltip-mode): Doc fix.
4171 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4172
2680c309
CY
4173 * frame.el (set-cursor-color): Doc fix (Bug#352).
4174
d7a9e63b
CY
4175 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4176 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4177
2e7f3bea
CY
4178 * cus-edit.el (custom-buffer-create-internal): Fix search button
4179 action (Bug#10542).
2ae01800 4180 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4181
fc4f7a23
EW
41822012-01-27 Eduard Wiebe <usenet@pusto.de>
4183
4184 * dired.el (dired-mark-files-regexp):
4185 Include any subdirectory components. (Bug#10445)
4186
7dd37071
ML
41872012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4188
4189 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4190 Handle [host]:port syntax. (Bug#10533)
4191
a268160b
AH
41922012-01-27 Alex Harsanyi <harsanyi@mac.com>
4193
4194 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4195
e43273ef
GM
41962012-01-26 Glenn Morris <rgm@gnu.org>
4197
4198 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4199 * term.el (term-raw-escape-map): Use Control-X-prefix.
4200 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4201
1edf595d
MR
42022012-01-25 Martin Rudalics <rudalics@gmx.at>
4203
4204 * window.el (window-state-get, window--state-get-1): Don't deal
4205 with fixed-sizeness of windows. Simplify code.
4206
fa8eafef
JC
42072012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4208
6df6ae42
JB
4209 * window.el (window--state-get-1, window--state-put-2):
4210 Don't save and restore the mark.
fa8eafef 4211
0b21c100
CY
42122012-01-25 Chong Yidong <cyd@gnu.org>
4213
4214 * custom.el (custom-variable-p): Doc fix.
4215
5ae1a6c8
GM
42162012-01-25 Glenn Morris <rgm@gnu.org>
4217
40047858
GM
4218 * dired.el (dired-goto-file): Handle some of the more common
4219 characters that `ls -b' escapes. (Bug#10596)
4220
5ddce96c
GM
4221 * progmodes/compile.el (compilation-next-error-function):
4222 Respect compilation-first-column in the "*compilation*" buffer.
4223 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4224
5ae1a6c8
GM
4225 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4226
b559f1a9
GM
42272012-01-24 Glenn Morris <rgm@gnu.org>
4228
4229 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4230
6725d21a
JD
42312012-01-24 Julien Danjou <julien@danjou.info>
4232
4233 * color.el (color-rgb-to-hsl): Fix value computing.
4234 (color-hue-to-rgb): New function.
4235 (color-hsl-to-rgb): New function.
4236 (color-clamp, color-saturate-hsl, color-saturate-name)
4237 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4238 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4239
70df4bbe
GM
42402012-01-24 Glenn Morris <rgm@gnu.org>
4241
4242 * vc/vc-rcs.el (vc-rcs-create-tag):
4243 * vc/vc-sccs.el (vc-sccs-create-tag):
4244 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4245
802a2ae2
ML
42462012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4247
4248 * eshell/esh-util.el (eshell-read-hosts-file):
4249 Skip comment lines. (Bug#10549)
4250
d7128bb1
ML
4251 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4252
d1a5c3b4
JB
42532012-01-23 Juanma Barranquero <lekktu@gmail.com>
4254
2724d9c7
JB
4255 * subr.el (display-delayed-warnings): Doc fix.
4256 (collapse-delayed-warnings): New function to collapse identical
4257 adjacent warnings.
4258 (delayed-warnings-hook): Add it.
d1a5c3b4 4259
a5509865
MA
42602012-01-22 Michael Albinus <michael.albinus@gmx.de>
4261
4262 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4263
4264 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4265 properties, when "login-as" is set.
4266
4267 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4268 (tramp-default-user-alist): Don't add "pscp".
4269 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4270 property "login-as", if set. (Bug#10530)
4271
cc6d5805
MA
42722012-01-21 Michael Albinus <michael.albinus@gmx.de>
4273
4274 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4275 "plink1" and "psftp". (Bug#10530)
4276
42772012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4278
4279 * international/mule-cmds.el (prefer-coding-system): Show a
4280 warning message if the default value of file-name-coding-system
4281 was not changed.
4282
f0960428
JC
42832012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4284
cb882333
JB
4285 * windmove.el (windmove-reference-loc):
4286 Fix windmove-reference-loc miscalculation.
f0960428 4287
dd6f2a63
JB
42882012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4289
4290 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4291 default unit.
4292
7b447e9b
GM
42932012-01-21 Glenn Morris <rgm@gnu.org>
4294
117a9ea1
GM
4295 * international/mule.el (auto-coding-alist): Add .tbz.
4296
7b447e9b
GM
4297 * files.el (local-enable-local-variables): Doc fix.
4298 (inhibit-local-variables-regexps): Rename from
4299 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4300 Doc fix. Add some extensions from auto-coding-alist.
4301 (inhibit-local-variables-suffixes):
4302 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4303 (inhibit-local-variables-p):
4304 New function, extracted from set-auto-mode-1.
4305 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4306 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4307 (hack-local-variables): Doc fix. Make the mode-only case
4308 respect enable-local-variables and friends.
4309 Respect inhibit-local-variables-regexps for file-locals, but
4310 not for directory-locals.
4311 (set-visited-file-name):
4312 Take account of inhibit-local-variables-regexps.
4313 Whether it applies may change as the file name is changed.
4314 * jka-cmpr-hook.el (jka-compr-install):
4315 * jka-compr.el (jka-compr-uninstall):
4316 Update for inhibit-first-line-modes-suffixes name change.
4317
dd6e3cdd
MR
43182012-01-20 Martin Rudalics <rudalics@gmx.at>
4319
4320 * help-macro.el (make-help-screen): Temporarily restore original
4321 binding for minor-mode-map-alist (Bug#10454).
4322
0d0deb38
JD
43232012-01-19 Julien Danjou <julien@danjou.info>
4324
4325 * color.el (color-name-to-rgb): Use the white color to find the max
4326 color component value and return correctly computed values.
4327 (color-name-to-rgb): Add missing float conversion for max value.
4328
34a02f46
MR
43292012-01-19 Martin Rudalics <rudalics@gmx.at>
4330
4331 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4332 special state value for window-persistent-parameters.
4333 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4334 (window--state-put-2): Reset all window parameters to nil before
4335 assigning values of persistent parameters.
4336
606c44c4
AM
43372012-01-18 Alan Mackenzie <acm@muc.de>
4338
4339 Eliminate sluggishness and hangs in fontification of "semicolon
4340 deserts".
4341
cb882333
JB
4342 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4343 Change value 10000 -> 3000.
606c44c4
AM
4344 (c-state-safe-place): Reformulate so it doesn't stack up an
4345 infinite number of wrong entries in c-state-nonlit-pos-cache.
4346 (c-determine-limit-get-base, c-determine-limit): New functions to
4347 determine backward search limits disregarding literals.
4348 (c-find-decl-spots): Amend commenting.
4349 (c-cheap-inside-bracelist-p): New function which detects "={".
4350
4351 * progmodes/cc-fonts.el
4352 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4353 backward search.
4354 (c-font-lock-declarations): Fix an occurrence of point being
4355 undefined. Check additionally for point being in a bracelist or
4356 near a macro invocation without a semicolon so as to avoid a
4357 fruitless time consuming search for a declarator. Give a more
4358 precise search limit for declarators using the new
4359 c-determine-limit.
4360
f3860cea
GM
43612012-01-18 Glenn Morris <rgm@gnu.org>
4362
4363 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4364 (set-auto-mode): Doc fixes.
4365
1db03b16
GM
43662012-01-17 Glenn Morris <rgm@gnu.org>
4367
0e6038be
GM
4368 * isearch.el (search-nonincremental-instead): Fix doc typo.
4369
1db03b16
GM
4370 * dired.el (dired-insert-directory): Handle newlines in directory name.
4371 (dired-build-subdir-alist): Unescape newlines in directory name.
4372
4cb0aa75
MA
43732012-01-17 Michael Albinus <michael.albinus@gmx.de>
4374
4375 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4376 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4377 (tramp-action-terminal): Use it. (Bug#10530)
4378
1d00653d
SM
43792012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4382
6a6ee00d
MR
43832012-01-16 Martin Rudalics <rudalics@gmx.at>
4384
4385 * window.el (window-state-ignored-parameters): Remove variable.
4386 (window--state-get-1): Rename argument MARKERS to IGNORE.
4387 Handle persistent window parameters. Make copy of clone-of
4388 parameter only if requested. (Bug#10348)
4389 (window--state-put-2): Install a window parameter only if it has
4390 a non-nil value or an existing parameter shall be overwritten.
4391
97912def
MA
43922012-01-15 Michael Albinus <michael.albinus@gmx.de>
4393
4394 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4395
688070a5
EZ
43962012-01-14 Eli Zaretskii <eliz@gnu.org>
4397
4398 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4399 don't pass the (nil) value of `upnode' to string-match.
4400
301afadc
CY
44012012-01-14 Chong Yidong <cyd@gnu.org>
4402
4403 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4404 Fix values recognized by the cursorBlink resource.
301afadc 4405
9e5788aa
PE
44062012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4407
4408 * epg.el (epg--make-temp-file): Avoid permission race condition
4409 when running on old Emacs versions (bug#10403).
4410
3cdb7f5a
GM
44112012-01-14 Glenn Morris <rgm@gnu.org>
4412
4413 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4414
8c82b1b4
AM
44152012-01-13 Alan Mackenzie <acm@muc.de>
4416
4417 Fix filling for when filladapt mode is enabled.
4418
4419 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4420 c-mask-paragraph, pass in `fill-paragraph' rather than
4421 `fill-region-as-paragraph'. (This is a reversion of a previous
4422 change.)
eb864a71
LM
4423 * progmodes/cc-mode.el (c-basic-common-init):
4424 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4425
e517eda4
GM
44262012-01-13 Glenn Morris <rgm@gnu.org>
4427
1498536e
GM
4428 * dired.el (dired-switches-escape-p): New function.
4429 (dired-insert-directory): Use dired-switches-escape-p.
4430 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4431
e517eda4
GM
4432 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4433
328f984d
GM
44342012-01-12 Glenn Morris <rgm@gnu.org>
4435
4436 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4437 changes in adaptive-fill-regexp. (Bug#10276)
4438
2cc769a8
AM
44392012-01-11 Alan Mackenzie <acm@muc.de>
4440
4441 Fix Emacs bug #10463 - put `widen's around the critical spots.
4442
1d00653d 4443 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4444 widen around each invocation of c-state-pp-to-literal. Remove an
4445 unused let variable.
4446
e52c37fa
GM
44472012-01-11 Glenn Morris <rgm@gnu.org>
4448
4449 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4450 Doc fix.
e52c37fa 4451
96f8741e
CY
44522012-01-10 Chong Yidong <cyd@gnu.org>
4453
1d00653d
SM
4454 * net/network-stream.el (network-stream-open-starttls):
4455 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4456 response to the capability command.
4457
b09a806e
GM
44582012-01-10 Glenn Morris <rgm@gnu.org>
4459
4460 * mail/unrmail.el (unrmail): Tweak previous change.
4461
7655cb66
CY
44622012-01-09 Chong Yidong <cyd@gnu.org>
4463
4464 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4465
9d5a8f0b
AM
44662012-01-08 Alan Mackenzie <acm@muc.de>
4467
4468 Optimise font locking in long enum definitions.
4469
4470 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4471 arm to a cond form to handle enums.
4472 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4473 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4474
9a0115ab 44752012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4476
4477 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4478 (Bug#10401)
6bb72cbd 4479
f186bb95
LMI
44802012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4481
29232a68
LMI
4482 * faces.el (set-face-attribute): Clarify the meaning of the nil
4483 frame (bug#10294).
4484
4e5d086d
LMI
4485 * subr.el (with-selected-frame): Mention that the selected frame
4486 is restored (bug#9980).
4487
8e66aebe
LMI
4488 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4489 (bug#9759).
4490
cd394be1 4491 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4492 (password-read): Don't autoload unused function.
4493
adf4e762
JB
44942012-01-07 Juanma Barranquero <lekktu@gmail.com>
4495
4496 * progmodes/which-func.el (which-func-mode): Turn into a
4497 non-interactive function and mark as obsolete (bug#10428).
4498
89bd9ccd
CY
44992012-01-06 Chong Yidong <cyd@gnu.org>
4500
4501 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4502 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4503 functions, along with 1 and -1.
4504
4afee9d5
EZ
45052012-01-06 Eli Zaretskii <eliz@gnu.org>
4506
4507 * time.el (display-time-load-average)
4508 (display-time-default-load-average): Doc fixes. See the thread
4509 starting at
4510 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4511 for the details.
4512
536aea70
GM
45132012-01-06 Glenn Morris <rgm@gnu.org>
4514
665ae865
GM
4515 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4516 has no messages. (Bug#10377)
4517
c869783d
GM
4518 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4519 than Info-edit. (Bug#10385)
4520
2bb4227e
GM
4521 * time.el (display-time-load-average, display-time-next-load-average):
4522 Doc fixes.
4523
7d5944b9
GM
4524 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4525 local setting of buffer-read-only to the input buffer. (Bug#10419)
4526
536aea70
GM
4527 * calendar/calendar.el (calendar-mode):
4528 Locally set scroll-margin to 0. (Bug#10379)
4529
7dccca16
UM
45302012-01-06 Ulrich Mueller <ulm@gentoo.org>
4531
4532 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4533
afbb7930
GM
45342012-01-05 Glenn Morris <rgm@gnu.org>
4535
4536 * eshell/em-unix.el (diff-no-select): Autoload it.
4537 (eshell/diff): Use diff-no-select. (Bug#10420)
4538
04482335
CY
45392012-01-05 Chong Yidong <cyd@gnu.org>
4540
7baca3bc
CY
4541 * shell.el (shell-dynamic-complete-functions): Revert last change.
4542 (shell-command-completion-function): New function.
4543 (shell-completion-vars): Use it to implement
4544 shell-completion-execonly (Bug#10417).
4545
04482335
CY
4546 * custom.el (enable-theme): Don't set custom-safe-themes.
4547
1d00653d
SM
4548 * cus-theme.el (custom-theme-merge-theme):
4549 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4550
bb5aa5d6
MM
45512012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4552
4553 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4554 first prompt in `sql-interacive-mode'.
4555 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4556 keywords.
6df6ae42 4557 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4558 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4559 context of original buffer. Invoke `sql-login-hook'.
4560
a7183d7c
EZ
45612012-01-04 Eli Zaretskii <eliz@gnu.org>
4562
4563 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4564 letters in cite-prefix.
4565
a1eacd1e
LMI
45662012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4567
4568 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4569
787cdb34
CY
45702012-01-03 Chong Yidong <cyd@gnu.org>
4571
1d00653d
SM
4572 * shell.el (shell-dynamic-complete-functions):
4573 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4574 comint-filename-completion first (Bug#10417).
4575
30710442
RS
45762012-01-02 Richard Stallman <rms@gnu.org>
4577
4578 * battery.el (battery-status-function):
4579 Detect when to use battery-yeeloong-sysfs.
4580 (battery-echo-area-format): Add string for Yeeloong.
4581 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4582 (battery-yeeloong-sysfs): New function.
4583
f75bfc33
CY
45842012-01-02 Chong Yidong <cyd@gnu.org>
4585
4586 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4587 (dirtrack): Merge code for handling relative filenames in prompt
4588 from shell-dir-cookie-watcher.
4589 (dirtrack-debug-message): New arg to avoid excess format calls.
4590
4591 * shell.el (shell-dir-cookie-re): Variable deleted.
4592 (shell-dir-cookie-watcher): Function deleted.
4593 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4594 with dirtrack-mode.
4595
651e947e
EZ
45962012-01-01 Eli Zaretskii <eliz@gnu.org>
4597
1d00653d
SM
4598 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4599 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4600 libgnutls-26.dll.
4601
94d4c7dc
AS
46022011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4603
4604 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4605
8d43f3cd
EZ
46062011-12-31 Eli Zaretskii <eliz@gnu.org>
4607
4608 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4609 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4610
98c8795a
MA
46112011-12-29 Michael Albinus <michael.albinus@gmx.de>
4612
4613 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4614 also for alternative shells.
4615 (tramp-open-connection-setup-interactive-shell): Check, whether
4616 the shell is a busybox.
4617 (tramp-send-command): Don't suppress multiple prompts for
4618 busyboxes, it hurts.
4619
51281b32
CY
46202011-12-28 Chong Yidong <cyd@gnu.org>
4621
4622 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4623 (gdb-get-source-file): Move mode line update to
4624 gdb-get-source-file (Bug#10087).
4625
2170cb53
CY
46262011-12-25 Chong Yidong <cyd@gnu.org>
4627
4628 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4629 gud-gdb-marker-filter without taking it as an argument.
4630 (gud-gdb-run-command-fetch-lines): Caller changed.
4631 (gud-gdb-completion-function): New variable.
4632 (gud-gdb-completion-at-point): Use it.
4633 (gud-gdb-completions-1): Split from gud-gdb-completions.
4634
4635 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4636 function as separate arguments.
4637 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4638 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4639 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4640 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4641 (gdb-stopped, def-gdb-auto-update-trigger)
4642 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4643 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4644 Callers changed.
2170cb53
CY
4645 (gud-gdbmi-completions): New function.
4646 (gdb): Use it for generating the completion table.
4647
be8b11bb
AM
46482011-12-24 Alan Mackenzie <acm@muc.de>
4649
4650 Introduce a mechanism to widen the region used in context font
1d00653d 4651 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4652
1d00653d
SM
4653 * progmodes/cc-langs.el (c-before-font-lock-functions):
4654 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4655 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4656 functions to be run just before context (etc.) font locking.
4657
4658 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4659 New, functionality extracted from
be8b11bb 4660 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4661 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4662 (c-after-change): Set c-in-after-change-fontification.
4663 (c-set-fl-decl-start): Rejig its interface, so it can be called
4664 from both after-change and context fontifying.
b81d40f0
JB
4665 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4666 New functions.
4667 (c-standard-font-lock-fontify-region-function): New variable.
4668 (c-font-lock-fontify-region): New function.
be8b11bb 4669
341cf6ac
JL
46702011-12-24 Juri Linkov <juri@jurta.org>
4671
4672 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4673 (Bug#10348)
4674
bffcee0a
MA
46752011-12-23 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4678 existence of source file. (Bug#10325)
4679
cb5e207c
AM
46802011-12-23 Alan Mackenzie <acm@muc.de>
4681
4682 Fix unstable fontification inside templates.
4683
b81d40f0
JB
4684 * progmodes/cc-langs.el (c-before-font-lock-functions):
4685 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4686 additionally has c-set-fl-decl-start. The other languages (apart
4687 from AWK) have that as a single entry.
4688
b81d40f0
JB
4689 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4690 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4691 c-set-fl-decl-start.
4692
b81d40f0
JB
4693 * progmodes/cc-mode.el (c-common-init, c-after-change):
4694 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4695 (c-set-fl-decl-start): New function, extracted from
4696 c-font-lock-enclosing-decls and enhanced.
4697
60ff536c
JB
46982011-12-23 Juanma Barranquero <lekktu@gmail.com>
4699
4700 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4701
1c4757d6
JL
47022011-12-22 Juri Linkov <juri@jurta.org>
4703
4704 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4705
d031f2c7
CY
47062011-12-22 Chong Yidong <cyd@gnu.org>
4707
4708 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4709
bace743a
DA
47102011-12-21 Drew Adams <drew.adams@oracle.com>
4711
4712 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4713
728a1f2b
JC
47142011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4715
4716 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4717
0d373f73
TZ
47182011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4719
fec0aaa4
TZ
4720 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4721 highlighting and support. Fix up comments for capitalization.
4722 (cfengine-mode-debug): New var.
4723 (cfengine3-mode): Change the modeline indicator to "CFE3".
4724 (cfengine3-font-lock-keywords): Improve defun highlighting.
4725 (cfengine2-actions): Rename from `cfengine-actions'.
4726 (cfengine2-font-lock-keywords): Rename from
4727 `cfengine-font-lock-keywords'.
4728 (cfengine2-imenu-expression): Rename from
4729 `cfengine-imenu-expression'.
4730 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4731 (cfengine2-beginning-of-defun): Rename from
4732 `cfengine-beginning-of-defun'.
4733 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4734 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4735 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4736 modeline indicator to "CFE2".
4737 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4738 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4739
bc86f573
CY
47402011-12-21 Chong Yidong <cyd@gnu.org>
4741
4742 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4743 filename argument.
4744
d45ba96b
MR
47452011-12-20 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (window-normalize-buffer-to-display): Remove.
4748 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4749
a6198c90
CY
47502011-12-19 Chong Yidong <cyd@gnu.org>
4751
4752 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4753 Don't signal an error in a predicate function; return non-nil.
4754 (vc-dir-mark-file): Move the error here.
4755 (vc-dir-mark-unmark): If acting on the region, keep going if one
4756 of the entries cannot be marked/unmarked.
4757 (vc-dir-mark-all-files): If current entry is a directory, mark
4758 only child files, as documented.
4759
34c5fb55
VB
47602011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4761
4762 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4763 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4764 addition.
4765
c803b2b7
JD
47662011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4767
4768 * term/ns-win.el (ns-get-selection-internal)
4769 (ns-store-selection-internal): Declare.
1154d12e
JB
4770 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4771 Declare as obsolete.
4772 (ns-get-pasteboard, ns-paste-secondary):
4773 Use ns-get-selection-internal.
4774 (ns-set-pasteboard, ns-copy-including-secondary):
4775 Use ns-store-selection-internal.
c803b2b7 4776
9cff91f8 47772011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4778
4779 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4780 (vc-deduce-fileset): Doc fix.
99a289d9 4781
f16c898a
AS
47822011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4783
4784 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4785
763237c4
SS
47862011-12-13 Sam Steingold <sds@gnu.org>
4787
4788 * man.el (Man-getpage-in-background): When running under a
4789 window-system, ignore $MANWIDTH and $COLUMNS.
4790
5fc1c122
KH
47912011-12-15 Kenichi Handa <handa@m17n.org>
4792
4793 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4794 (setup-ethiopic-environment-internal): Comment out key-binding for
4795 ethio-toggle-punctuation.
4796
13d49cbb
AM
47972011-12-13 Alan Mackenzie <acm@muc.de>
4798
898169a2
AM
4799 Add the switch statement to AWK Mode.
4800
7a71b18d 4801 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4802 "default" to the keywords regexp.
4803
7a71b18d 4804 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4805 expression as the rest.
1d00653d
SM
4806 (c-nonlabel-token-key): Allow string literals for AWK.
4807 Refactor for the other modes.
898169a2 4808
13d49cbb 4809 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4810 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4811 routines. Limit backward searching in c-font-lock-enclosing.decl.
4812
4813 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4814 pp-state and literal type in addition to the limits.
1d00653d 4815 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4816 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4817 (c-slow-in-literal, c-fast-in-literal): Remove.
4818 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4819
4820 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4821 being in a literal. Add a limit for backward searching.
4822
4823 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4824 c-slow-in-literal.
4825
15e0efc7
SM
48262011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4827
4828 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4829
454592a6
MR
48302011-12-13 Martin Rudalics <rudalics@gmx.at>
4831
4832 * window.el (delete-other-windows): Use correct frame in call to
4833 window-with-parameter.
4834
87393f26
DP
48352011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4836
4837 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4838 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4839 (makefile-gmake-statements, makefile-makepp-statements):
4840 Use it and add new makepp keywords.
4841 (makefile-makepp-font-lock-keywords): Add new patterns.
4842 (makefile-match-function-end): Match new [...] and [[...]].
4843
11636b22
JB
48442011-12-11 Juanma Barranquero <lekktu@gmail.com>
4845
4846 * ses.el (ses-call-printer-return, ses-cell-property-get)
4847 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4848 (ses-create-cell-variable, ses-reset-header-string)
4849 (ses-cell-set-formula, ses-repair-cell-reference-all)
4850 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4851 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4852 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4853 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4854 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4855 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4856 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4857 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4858 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4859 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4860 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4861 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4862
cf018193
VB
48632011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4864
4865 * ses.el: The overall change is to add cell renaming, that is
4866 setting fancy names for cell symbols other than name matching
4867 "\\`[A-Z]+[0-9]+\\'" regexp .
4868 (ses-create-cell-variable): New defun.
4869 (ses-relocate-formula): Relocate formulas only for cells the
4870 symbols of which are not renamed, i.e. symbols whose names do not
4871 match regexp "\\`[A-Z]+[0-9]+\\'".
4872 (ses-relocate-all): Relocate values only for cells the symbols of
4873 which are not renamed.
4874 (ses-load): Create cells variables as the (ses-cell ...) are read,
4875 in order to check row col consistency with cell symbol name only
4876 for cells that are not renamed.
4877 (ses-replace-name-in-formula): New defun.
4878 (ses-rename-cell): New defun.
4879
ee957461
CY
48802011-12-11 Chong Yidong <cyd@gnu.org>
4881
4882 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4883 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4884
9a9e9ef0
MR
48852011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4886
4887 * window.el (other-window): Fix docstring.
4888
92a8eba5
EZ
48892011-12-10 Eli Zaretskii <eliz@gnu.org>
4890
4891 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4892 `from' or `to' address before taking its substring.
4893 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4894 encoded name is chopped in the middle of the encoded string, and
4895 thus displayed encoded.
4896
e152e577
JB
48972011-12-10 Juanma Barranquero <lekktu@gmail.com>
4898
4899 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4900
e5d84bfe
EZ
49012011-12-10 Eli Zaretskii <eliz@gnu.org>
4902
4903 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4904 to use texinfo-update-node and commands that call it if the
4905 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4906 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4907 (texinfo-all-menus-update, texinfo-master-menu)
4908 (texinfo-update-node, texinfo-every-node-update)
4909 (texinfo-multiple-files-update): Doc fix. Warn against updating
4910 all the @node lines.
4911 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4912 argument is numeric. Explain better in the doc string what the
4913 function really does.
4914 (texinfo-insert-master-menu-list): Improve the error message
4915 displayed if there's no menu in the Top node.
4916 (Bug#2975) See also this thread:
e5d84bfe
EZ
4917 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4918
1d84e9bb
MG
49192011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4920
4921 * speedbar.el (speedbar-supported-extension-expressions):
4922 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4923
382c953b
JB
49242011-12-09 Juanma Barranquero <lekktu@gmail.com>
4925
4926 * printing.el (pr-mode-alist):
4927 * simple.el (filter-buffer-substring-functions)
4928 (completion-list-insert-choice-function):
4929 * window.el (window-with-parameter, window-atom-root)
4930 (window-sides-slots, window-size-fixed, window-min-delta)
4931 (window-max-delta, window--resize-mini-window)
4932 (window--resize-child-windows-normal, window-tree)
4933 (delete-other-windows, quit-window, split-window)
4934 (display-buffer-record-window, special-display-buffer-names)
4935 (special-display-regexps, special-display-popup-frame)
4936 (same-window-p, split-window-sensibly)
4937 (display-buffer-overriding-action, display-buffer-alist)
4938 (display-buffer-base-action, display-buffer, switch-to-buffer)
4939 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4940 (fit-window-to-buffer, recenter-positions)
4941 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4942 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4943 and remove unneeded backslashes in docstrings.
4944
39c9faef
SM
49452011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4946
98449af8
SM
4947 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4948
39c9faef
SM
4949 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4950 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4951 end in ".mk".
4952 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4953 when reading the makefile (bug#10116).
4954
86ed9fdc
SM
49552011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4958 (bug#10116).
4959
5580f89d
GM
49602011-12-06 Glenn Morris <rgm@gnu.org>
4961
4962 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4963
28d3917c
CY
49642011-12-06 Chong Yidong <cyd@gnu.org>
4965
4966 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4967
a98edce9
JB
49682011-12-06 Juanma Barranquero <lekktu@gmail.com>
4969
4970 * textmodes/table.el (table-shorten-cell): Fix typo.
4971
e65adfac
CG
49722011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4973
4974 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4975
71cc0b74
EZ
49762011-12-05 Eli Zaretskii <eliz@gnu.org>
4977
4978 * descr-text.el (describe-char): Fix display of strong
4979 right-to-left characters and directional embeddings and overrides.
4980
4981 * simple.el (what-cursor-position): Fix display of codepoints of
4982 strong right-to-left characters.
4983
315bc30d
CY
49842011-12-05 Chong Yidong <cyd@gnu.org>
4985
4986 * faces.el (read-color): Doc fix.
4987
58a70b94
GM
49882011-12-05 Glenn Morris <rgm@gnu.org>
4989
4990 * align.el (align--set-marker): Add doc-string.
4991 Don't try to move something that is not a marker. (Bug#10216)
4992
5158face
GM
49932011-12-04 Glenn Morris <rgm@gnu.org>
4994
4995 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4996 overly zealous deletion of trailing whitespace.
4997
520fca41
JB
49982011-12-04 Juanma Barranquero <lekktu@gmail.com>
4999
5000 * server.el (server-delete-client): On Windows, do not try to delete
5001 the only terminal.
5002 (server-process-filter): On Windows, treat requests for a tty frame as
5003 if they were for a GUI frame if the running server is in GUI mode.
5004
5e605a2e
GM
50052011-12-03 Glenn Morris <rgm@gnu.org>
5006
5007 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5008
5c3fe83f
SM
50092011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5010
6f5e57e7
SM
5011 * electric.el: Streamline electric-indent's hook.
5012 (electric-indent-chars): Revert to simple list.
5013 (electric-indent-functions): New var.
5014 (electric-indent-post-self-insert-function): Use it.
5015
5c3fe83f
SM
5016 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5017 there's no inferior buffer (bug#10196).
5018 (prolog-consult-compile): Don't use toggle-read-only.
5019
6bdac736
MA
50202011-12-02 Michael Albinus <michael.albinus@gmx.de>
5021
5022 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5023 interrupt. (Bug#10187)
5024
6131ba7f
SM
50252011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5026
99c79fee
SM
5027 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5028 (bug#9160).
5029
6131ba7f
SM
5030 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5031 (bug#10191).
5032
cb0a02ea
JL
50332011-12-02 Juri Linkov <juri@jurta.org>
5034
5035 * info.el (Info-search): Display "end of manual" when Isearch
5036 reaches the end of single-file Info manual. (Bug#9918)
5037
66e0570c
EZ
50382011-12-02 Eli Zaretskii <eliz@gnu.org>
5039
5040 * isearch.el (isearch-message-prefix): Run the input method part
5041 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5042
02b16839
JL
50432011-12-02 Juri Linkov <juri@jurta.org>
5044
5045 * isearch.el (isearch-occur): Use `word-search-regexp' for
5046 `isearch-word'.
5047 (isearch-search-and-update): Add condition for `isearch-word' and
5048 call `word-search-regexp'. (Bug#10145)
5049
0b950688
GM
50502011-12-01 Glenn Morris <rgm@gnu.org>
5051
5052 * eshell/em-hist.el (eshell-hist-initialize):
5053 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5054 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5055
9505c3c7
SM
50562011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5059
1bbe96b2 50602011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5061
a1beca85
SM
5062 * progmodes/verilog-mode.el (verilog-pretty-expr):
5063 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5064 verilog, such as += *= and the like.
5065 (verilog-assignment-operator-re): Regular expression to find the
5066 assigment operator in a verilog assignment.
5067 (verilog-assignment-operation-re): Regular expression to find an
5068 assignment statement for pretty-expr.
5069 (verilog-in-attribute-p): Query returns true if point is in an
5070 attribute context; used to skip these for expression line up from
5071 pretty-expr.
5072 (verilog-in-parameter-p): Query returns true if point is in an
5073 parameter definition context; used to skip these for expression
5074 line up from pretty-expr.
5075 (verilog-in-parenthesis-p): Query returns true if point is in a
5076 parenthetical expression, specifically ( ) but not [ ] or { };
5077 used by pretty-expr.
5078 (verilog-just-one-space): If there is no space, don't add one.
5079 (verilog-get-lineup-indent-2): Specifically skip just attribute
5080 contexts for expression lineup, rather than skipping all
5081 parenthetical expressions.
5082 (verilog-calculate-indent): Fix comment, and fix indent.
5083 (verilog-do-indent): Indent declarations in lists (suggested by
5084 Joachim Lechner).
5085 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5086 skeleton items.
5087 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5088 by Alain Mellan).
5089
1bbe96b2 50902011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5091
5092 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5093 parameters with embedded comments. Reported by Ray Stevens.
5094 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5095 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5096 Reported by Tim Holt.
5097 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5098 instantiated by upper module causing wrong expansion until AUTOed a
5099 second time. Reported by K C Buckenmaier.
5100 (verilog-diff-auto): Fix showing .* as a difference when
5101 `verilog-auto-star-save' off. Reported by Dan Dever.
5102 (verilog-auto-reset, verilog-read-always-signals)
5103 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5104 temporary signals in reset list if
5105 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5106 style to each signal's assignment type, bug381.
5107 Reported by Thomas Esposito.
6288f0ca
WS
5108 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5109 (verilog-uvm-statement-re): Support UVM indentation and
5110 highlighting, with old OVM keywords only.
a1beca85 5111 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5112 Support AUTOTIEOFF creating non-wire data types.
5113 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5114 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5115 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5116 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5117 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5118 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5119 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5120 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5121 non-numeric vector width. Reported by Alex Reed.
5122 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5123 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5124 (verilog-auto-delete-trailing-whitespace):
5125 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5126 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5127 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5128 Fix verilog-scan-cache corruption when running user AUTO expansion
5129 hooks that call indentation routines.
5130 (verilog-simplify-range-expression): Fix typo ignoring lower case
5131 identifiers.
5132 (verilog-delete-auto): Fix delete-autos to also remove user created
5133 automatics, as long as they start with AUTO.
5134 (verilog-batch-diff-auto, verilog-diff-auto)
5135 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5136 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5137 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5138 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5139 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5140 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5141 is disabled and its cache will get corrupt, causing AUTOS not to
5142 expand. Instead use only -quick functions.
5143 (verilog-scan-region): Fix scanning over escaped quotes.
5144 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5145 (verilog-re-search-backward-quick)
5146 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5147 related functions now ignore strings, to fix misparsing of strings
5148 with magic comments embedded in them.
a1beca85
SM
5149 (verilog-read-auto-template):
5150 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5151 Reported by Brad Dobbie.
5152 (verilog-read-auto-template):
5153 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5154 Reported by Brad Dobbie.
6288f0ca
WS
5155 (verilog-auto-inst, verilog-auto-inst-param)
5156 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5157 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5158 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5159 debugging templates without merge conflicts, bug357.
5160 Reported by Brad Dobbie.
5161 (verilog-read-auto-template):
5162 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5163 Reported by Brad Dobbie.
5164 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5165 abbrevs so user won't be asked to save.
5166 (verilog-read-auto-lisp-present): Fix to start at beginning of
5167 buffer in case called outside of verilog-auto.
5168 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5169 to "X-2". Reported by Matthew Myers.
5170 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5171 all inputs from module templates. Reported by Leith Johnson.
5172 (verilog-module-inside-filename-p): Fix locating programs as with
5173 modules.
5174 (verilog-auto-inst-port): Fix vl-width expressions when using
5175 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5176 (verilog-decls-get-regs, verilog-decls-get-signals,
5177 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5178 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5179 verilog-read-decls): Combine reg and wire structures into one var
5180 structure to represent SystemVerilog concepts.
5181 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5182 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5183 (verilog-auto-wire-type, verilog-insert-definition):
5184 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5185 SystemVerilog "logic" keyword instead of "wire"/"reg".
5186 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5187 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5188 ifdef or generate if so there's not a driver conflict).
5189 Reported by Matthew Myers.
5190 (verilog-auto-declare-nettype, verilog-insert-definition):
5191 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5192 `default_nettype none. Reported by Julian Gorfajn.
5193 (verilog-read-always-signals-recurse, verilog-read-decls)
5194 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5195 malformed end statement, bug325. Reported by Joshua Wise and
5196 Andrew Drake.
5197 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5198 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5199 when expanding .* in interfaces, bug320.
5200 Reported by Pierre-David Pfister.
6288f0ca 5201 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5202 name and open parenthesis, bug317.
5203 Reported by Pierre-David Pfister.
6288f0ca
WS
5204 (verilog-simplify-range-expression): Fix simplification of
5205 multiplications inside AUTOWIRE connections, bug303.
5206 (verilog-auto-inst-port): Support parameter expansion in
5207 multidimensional arrays.
5208 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5209 after "assert property". Reported by Julian Gorfajn.
5210 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5211 with multiplication, bug303.
5212 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5213 Reported by Jan Frode Lonnum.
5214
1bbe96b2
GM
52152011-11-30 Juanma Barranquero <lekktu@gmail.com>
5216
5217 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5218 (hfy-shell-file-name, hfy-shell):
5219 * international/fontset.el (x-decompose-font-name): Fix typos.
5220
52212011-11-29 Ken Brown <kbrown@cornell.edu>
5222
5223 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5224 (gdb-version): Remove defvar.
5225 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5226 (gdb-gud-context-command, gdb-non-stop-handler)
5227 (gdb-current-context-command, gdb-stopped): Use it.
5228 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5229 (gdb-non-stop-handler): Don't enable pretty-printing here.
5230 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5231 non-stop mode. Use the following.
5232 (gdb-check-target-async): New defun.
5233 (gud-watch, gdb-stopped): Fix whitespace.
5234 (gdb-get-source-file): Don't try to display the source file if
5235 `gdb-main-file' is nil.
5236
52372011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * align.el: Try to generate fewer markers (bug#10047).
5240 (align--set-marker): New macro.
5241 (align-region): Use it.
5242
c935221f
SM
52432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5246
e70b5064
CY
52472011-11-29 Chong Yidong <cyd@gnu.org>
5248
5249 * indent.el (indent-for-tab-command, indent-according-to-mode):
5250 Doc fix.
5251 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5252
f3af92b7
MA
52532011-11-29 Michael Albinus <michael.albinus@gmx.de>
5254
5255 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5256 aware of remote file names. (Bug#10124)
5257
ed472be9
CY
52582011-11-29 Chong Yidong <cyd@gnu.org>
5259
5260 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5261
24510c22
SM
52622011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * files.el (find-file): Don't use force-same-window (bug#10144).
5265 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5266 use pop-to-buffer if the selected window can't be used.
5267 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5268
c60c3703
EZ
52692011-11-28 Eli Zaretskii <eliz@gnu.org>
5270
5271 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5272 special-mode-map.
5273
e95def75
CY
52742011-11-28 Chong Yidong <cyd@gnu.org>
5275
5276 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5277
c3f1c606
NR
52782011-11-27 Nick Roberts <nickrob@snap.net.nz>
5279
5280 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5281 gdb-get-source-file-list on gdb-create-source-file-list.
5282
00db469c
EZ
52832011-11-26 Eli Zaretskii <eliz@gnu.org>
5284
5285 * whitespace.el (whitespace-newline): Use a different foreground
5286 color for 16-color light-background displays.
5287
4ad3bc2a
CY
52882011-11-24 Chong Yidong <cyd@gnu.org>
5289
5290 * window.el (display-buffer--special-action): Doc fix.
5291
e9fce1ac
JB
52922011-11-25 Juanma Barranquero <lekktu@gmail.com>
5293
5294 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5295 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5296 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5297 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5298 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5299 (avl-tree-stack-first):
5300 * emacs-lisp/cconv.el (cconv--analyse-use):
5301 * net/gnutls.el (gnutls-negotiate): Fix typos.
5302
cb825e5d
GM
53032011-11-24 Glenn Morris <rgm@gnu.org>
5304
3adbe224
GM
5305 * lpr.el (lpr-windows-system, lpr-lp-system):
5306 * mail/binhex.el (binhex-begin-line):
5307 * progmodes/grep.el (grep-history, grep-find-history):
5308 * textmodes/flyspell.el:
5309 * vc/pcvs-defs.el (cvs-global-menu):
5310 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5311 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5312 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5313
321decc8
GM
5314 * net/tls.el: Fix case of "GnuTLS".
5315
420b63ad
GM
5316 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5317
cb825e5d
GM
5318 * version.el (emacs-build-system): Give it a doc-string.
5319
a0649f08
JL
53202011-11-24 Juri Linkov <juri@jurta.org>
5321
5322 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5323
c0bc0fd4
GM
53242011-11-24 Glenn Morris <rgm@gnu.org>
5325
5326 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5327 if called on a non-mime message just toggle the headers. (Bug#8006)
5328
20db1522
JB
53292011-11-24 Juanma Barranquero <lekktu@gmail.com>
5330
5331 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5332 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5333 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5334 (allout-rebullet-heading, allout-open-sibtopic)
5335 (allout-toggle-current-subtree-encryption)
5336 (allout-toggle-subtree-encryption, allout-encrypt-string)
5337 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5338 (allout-distinctive-bullets-string, allout-auto-activation):
5339 * window.el (window-normalize-buffer-to-display):
5340 * progmodes/verilog-mode.el (verilog-batch-indent):
5341 * textmodes/bibtex.el (bibtex-field-braces-opt)
5342 (bibtex-field-strings-opt):
5343 * vc/cvs-status.el (cvs-tree-merge):
5344 Fix typos.
5345
7262a87c
MA
53462011-11-23 Michael Albinus <michael.albinus@gmx.de>
5347
5348 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5349 `non-essential' to t, in order to avoid remote connections.
5350
283430a1
EZ
53512011-11-23 Eli Zaretskii <eliz@gnu.org>
5352
a1beca85
SM
5353 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5354 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5355 case-insensitively.
5356
d2992a38
ML
53572011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5358
5359 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5360
50419064
GM
53612011-11-23 Glenn Morris <rgm@gnu.org>
5362
da94eca1
GM
5363 * paths.el (rmail-file-name): Reformat the doc-string so that it
5364 is picked up.
5365
9aac4de2
GM
5366 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5367 (rmail-auto-file): Ignore case in the "special" field names,
5368 as mail-fetch-field does for all others.
5369
8038d2d2
GM
5370 * mail/rmail.el (rmail-forward):
5371 * mail/rmailkwd.el (rmail-set-label):
5372 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5373 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5374
f3fe222a
GM
5375 * mail/rmail.el (rmail-current-message): Doc fix.
5376
50419064
GM
5377 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5378
28109f49
SM
53792011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5382
394c65f1
GM
53832011-11-22 Glenn Morris <rgm@gnu.org>
5384
5385 * mail/rmailmm.el (test-rmail-mime-handler)
5386 (test-rmail-mime-bulk-handler)
5387 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5388
f2a0aa3a
JL
53892011-11-21 Juri Linkov <juri@jurta.org>
5390
1154d12e
JB
5391 * calc/calc.el (calc-read-key-sequence):
5392 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5393
9c34a344
LMI
53942011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5395
5396 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5397 Tell the caller that the next line needs recomputation, even
5398 though it doesn't start a sexp (bug#10094).
5399
f04a3be9
SM
54002011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5403
7978747f
SM
54042011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5405
f04a3be9
SM
5406 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5407 Use force-same-window.
7978747f 5408
fe7a3057
JB
54092011-11-20 Juanma Barranquero <lekktu@gmail.com>
5410
5411 * descr-text.el (describe-char-unicode-data):
5412 * json.el (json-string-escape):
5413 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5414 (Footnote-unicode, Footnote-style-p):
5415 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5416
24901d61
CY
54172011-11-20 Chong Yidong <cyd@gnu.org>
5418
5419 * window.el (replace-buffer-in-windows): Restore interactive spec.
5420
bac7ff22
SM
54212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5422
24f3d7b9
SM
5423 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5424
bac7ff22
SM
5425 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5426 (byte-compile-global-not-obsolete-vars): New var.
5427 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5428 Use it.
5429 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5430
cd1181db
JB
54312011-11-20 Juanma Barranquero <lekktu@gmail.com>
5432
5433 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5434 * progmodes/pascal.el (electric-pascal-equal):
5435 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5436 * xml.el (xml-substitute-special): Fix typos.
5437
7fb18e9e
GM
54382011-11-20 Glenn Morris <rgm@gnu.org>
5439
5440 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5441 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5442 Doc fixes.
5443 (rmail-decode-mime-charset): Mark as obsolete.
5444
5445 * mail/rmailsum.el (rmail-message-regexp-p-1):
5446 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5447 Before using mime functions, check they are set. (Bug#10077)
5448
d5a6b3ba
JL
54492011-11-19 Juri Linkov <juri@jurta.org>
5450
5451 * info.el (Info-finder-find-node): Use `package--builtins' instead
5452 of `package-alist'. Use node names formed by the pattern "Keyword "
5453 and the keyword name.
5454
e981b61f
AS
54552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5456
1d00653d 5457 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5458
3ffbc301
JL
54592011-11-19 Juri Linkov <juri@jurta.org>
5460
5461 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5462 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5463 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5464 `old-history', `old-history-forward'. Add let-binding
5465 `window-selected'. Remove calls to `kill-buffer',
5466 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5467 before calling `Info-find-node', so `Info-find-node-2' will reread
5468 the Info file. Restore window positions only when `window-selected'
5469 is non-nil.
5470
30c62133
JL
54712011-11-19 Juri Linkov <juri@jurta.org>
5472
5473 * isearch.el (isearch-lazy-highlight-new-loop):
5474 Remove condition `(not isearch-error)'. (Bug#9918)
5475
5476 * misearch.el (multi-isearch-search-fun): Add condition
5477 `(not bound)' to ignore lazy-highlighting search.
5478 Add the search-failed message "end of multi" when the end of
5479 multi-sequence is reached. Uncapitalize the search-failed
5480 message "Repeat for next buffer".
5481
5482 * info.el (Info-search): Add the search-failed message
5483 "end of the manual" when the end of the manual is reached
5484 in Isearch mode.
5485
645ca9cf
JL
54862011-11-19 Juri Linkov <juri@jurta.org>
5487
5488 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5489 Use non-destructive `remove' instead of `delete' because
5490 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5491 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5492
df754f66
JL
54932011-11-19 Juri Linkov <juri@jurta.org>
5494
5495 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5496 to nil instead of binding `search-ring' and `regexp-search-ring'.
5497 (Bug#9185)
5498
0e23d96a
EZ
54992011-11-19 Eli Zaretskii <eliz@gnu.org>
5500
5501 * simple.el (line-move): Force movement by logical lines for any
5502 hscrolled window, not only when auto-hscroll-mode is on.
5503 (line-move-visual): Update doc string to that effect. (Bug#10076)
5504
8a6ccb66
AS
55052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5506
5507 * language/european.el (macintosh): Define as alias for mac-roman.
5508
49ae5b39
EZ
55092011-11-19 Eli Zaretskii <eliz@gnu.org>
5510
5511 * mail/rmailmm.el (rmail-mime-display-header)
5512 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5513 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5514 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5515 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5516 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5517 of a raw aref.
5518 (rmail-mime-entity-segment): To get past the tagline, move forward
5519 2 more lines, to account for the 2 empty lines that precede and
5520 follow the line with the buttons.
5521 (rmail-mime-update-tagline): Move one more line, to get past the
5522 empty line that follows the buttons in the tagline. (Bug#9520)
5523
c56cad4a
MR
55242011-11-19 Martin Rudalics <rudalics@gmx.at>
5525
5526 * window.el (window-max-delta-1, window-min-delta-1)
5527 (window-min-size-1, window-state-get-1, window-state-put-1)
5528 (window-state-put-2): Use "window--" prefix.
5529
cbe71af3
SM
55302011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5531
2ad52c60
SM
5532 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5533 (smie-warning-count): New var.
5534 (smie-set-prec2tab): Use it.
5535 (smie-bnf->prec2): Improve warnings. Add docstring.
5536 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5537 (smie-bnf--set-class): New function.
5538 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5539 corner case.
5540
6944dbc1
SM
5541 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5542 (compilation-error-properties, compilation-move-to-column):
5543 Handle compilation-first-column while in the target buffer.
5544
c400c4d7
SM
5545 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5546 Don't hardcode point-min==1.
5547
6dbe3e96
SM
5548 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5549 (eshell-rewrite-for-command): Remove workaround.
5550 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5551 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5552 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5553
cbe71af3
SM
5554 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5555
a8e1496d
GM
55562011-11-17 Glenn Morris <rgm@gnu.org>
5557
5558 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5559 Ignore buffer-local generated-autoload-file if it is the same
5560 as the global value. (Bug#10049)
5561
df85d315
JB
55622011-11-17 Juanma Barranquero <lekktu@gmail.com>
5563
5564 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5565 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5566 (reftex-toc-previous-heading, reftex-toc-max-level)
5567 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5568 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5569 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5570 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5571 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5572 (reftex-toc-rename-label, reftex-toc-visit-location)
5573 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5574 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5575 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5576 leaving "*toc*" only for references to the buffer.
5577
a0c2d0ae
MR
55782011-11-17 Martin Rudalics <rudalics@gmx.at>
5579
5580 * window.el (window-resize, delete-window, split-window):
5581 Replace window-splits by window-combination-resize.
1d00653d 5582 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5583
35c0bac8
GM
55842011-11-17 Glenn Morris <rgm@gnu.org>
5585
5586 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5587 Make bash entry derive from sh entry, not shell entry.
5588
d0c8fc8a
MA
55892011-11-16 Michael Albinus <michael.albinus@gmx.de>
5590
d0c8fc8a
MA
5591 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5592 properties of linked files. (Bug#9879)
5593
7262a87c
MA
5594 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5595 local file name.
5596
7877f373
JB
55972011-11-16 Juanma Barranquero <lekktu@gmail.com>
5598
5599 * menu-bar.el (menu-bar-file-menu):
5600 * printing.el (pr-ps-utility):
5601 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5602 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5603 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5604 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5605 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5606 (icalendar--convert-cyclic-to-ical)
5607 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5608 (icalendar--convert-ical-to-diary)
5609 (icalendar--convert-recurring-to-diary)
5610 (icalendar--convert-non-recurring-all-day-to-diary)
5611 (icalendar-import-format-sample):
5612 * progmodes/idlw-shell.el (idlwave-shell-mode):
5613 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5614 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5615 (vhdl-ps-print-init): Fix typos.
5616
10649b82
KM
56172011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5618
9d0cfcd6
GM
5619 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5620 FSF and collapse date sequence, obscure author/maintainer email address
5621 better, remove extra version line, track relocation of author's webpage.
10649b82 5622
9d0cfcd6
GM
5623 * progmodes/python.el (python-pdbtrack-input-prompt)
5624 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5625 regular python pdb prompts. Adjustments shamelessly taken exactly as
5626 suggested in EmacsWiki page (tiny change):
5627 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5628
58179cce
JB
56292011-11-16 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * expand.el (expand-pos, expand-index, expand-point):
5632 Remove redundant info from docstring.
5633 (expand-add-abbrevs): Doc fix.
5634 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5635 (expand-sample-perl-mode-expand-list): Fix typos.
5636
5637 * net/dbus.el (dbus-event-member-name):
5638 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5639 * term/pc-win.el (msdos-create-frame-with-faces):
5640 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5641
b6f67890
MR
56422011-11-16 Martin Rudalics <rudalics@gmx.at>
5643
5644 * window.el (split-window, window-state-get-1)
5645 (window-state-put-1, window-state-put-2): Rename occurrences of
5646 window-nest to window-combination-limit.
1d00653d 5647 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5648
ce7ddba0
CY
56492011-11-16 Chong Yidong <cyd@gnu.org>
5650
5651 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5652 regexp (Bug#10033).
5653
3ae704f4
SM
56542011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5657 `completing-read' will remove *Completions* and will preserve
5658 current-buffer for us.
5659 (tmm-add-prompt): Users of *Completions* will always (re)set its
5660 major mode.
5661 (tmm-old-comp-map): Remove.
5662
6ad1cdde
GM
56632011-11-16 Glenn Morris <rgm@gnu.org>
5664
5665 * mail/rmailedit.el: Require rmailmm when compiling.
5666 (rmail-old-mime-state): New declaration.
5667 (rmail-edit-current-message): If editing a mime message,
5668 edit the "raw" message from the mbox buffer.
5669 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5670
d20faa20
GM
56712011-11-15 Glenn Morris <rgm@gnu.org>
5672
5673 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5674 which wasn't being used. Add optional arg to force given state.
5675 (rmail-mime): Add optional arg to force given state.
5676
c7015153
JB
56772011-11-15 Juanma Barranquero <lekktu@gmail.com>
5678
5679 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5680 * frame.el (display-mm-dimensions-alist):
5681 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5682 (outline-move-subtree-down):
5683 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5684 (newsticker--treeview-do-get-node):
5685 * net/quickurl.el (quickurl-list-buffer-name):
5686 * progmodes/dcl-mode.el (dcl-mode):
5687 * progmodes/gdb-mi.el (gdb-mapcar*):
5688 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5689
45261b50
GM
56902011-11-15 Glenn Morris <rgm@gnu.org>
5691
5692 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5693 in a boolean sense, so just make it a boolean, and fix the doc.
5694 (rmail-show-mime-function, rmail-mime-feature)
5695 (rmail-require-mime-maybe): Doc fixes.
5696 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5697
5698 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5699
0d26e0b6
JB
57002011-11-15 Juanma Barranquero <lekktu@gmail.com>
5701
5702 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5703 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5704 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5705 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5706
447f30f6
GM
57072011-11-15 Glenn Morris <rgm@gnu.org>
5708
672b871d
GM
5709 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5710 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5711 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5712 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5713 (rmail-mime, rmail-show-mime): Doc fixes.
5714
f6aa5bb1
GM
5715 * term/ns-win.el (mode-line-frame-identification):
5716 Leave it alone. (Bug#10051)
5717
947cd66b
GM
5718 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5719
447f30f6
GM
5720 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5721 Handle empty buffers. (Bug#9978)
5722
0b381c7e
JB
57232011-11-14 Juanma Barranquero <lekktu@gmail.com>
5724
5725 * international/mule.el (define-charset):
5726 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5727 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5728 * progmodes/verilog-mode.el (verilog-backward-token):
5729 * textmodes/ispell.el (lookup-words):
5730 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5731
71e027ac
GM
57322011-11-14 Glenn Morris <rgm@gnu.org>
5733
56632ce4
GM
5734 * progmodes/executable.el
5735 (executable-make-buffer-file-executable-if-script-p):
5736 Handle file-modes returning nil.
5737
40500957
GM
5738 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5739 message - not necessary, and causes problems. (Bug#9831)
5740
071c2340
GM
5741 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5742
d3cfca60
GM
5743 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5744
71e027ac
GM
5745 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5746 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5747 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5748
89d61221
MR
57492011-11-12 Martin Rudalics <rudalics@gmx.at>
5750
5751 * window.el (window-resize, delete-window): Use window-splits
5752 variable instead of function.
5753 (window-state-get-1, window-state-put-2, window-state-put):
5754 Don't deal with windows' splits status.
5755
98282f6f
GM
57562011-11-12 Glenn Morris <rgm@gnu.org>
5757
5758 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5759 (apropos-documentation): Doc fixes.
5760
40a8bdf6
JB
57612011-11-11 Juanma Barranquero <lekktu@gmail.com>
5762
5763 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5764 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5765
65bd19ff
SM
57662011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * electric.el (electric-indent-post-self-insert-function): Make it
5769 possible for a char to only indent in some circumstances.
5770 (electric-indent-mode): Simplify.
5771
54f9154c
MR
57722011-11-11 Martin Rudalics <rudalics@gmx.at>
5773
5774 * window.el (windows-with-parameter): Remove unused function.
5775 (windows-at-side): Rename to window-at-side-list.
5776 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5777 (window-side-check, window-size-ignore, window-size-fixed-1)
5778 (window-in-direction-2): Prefix with "window--".
5779 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5780
68cbc58b
GM
57812011-11-11 Glenn Morris <rgm@gnu.org>
5782
5783 * subr.el (eval-after-load): If FILE is already loaded,
5784 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5785
b2621720
GM
57862011-11-10 Glenn Morris <rgm@gnu.org>
5787
9a4de110
GM
5788 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5789 Call svn via vc-svn-command rather than vc-do-command.
5790 (vc-svn-command): Add --non-interactive. (Bug#9993)
5791 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5792
b2621720
GM
5793 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5794 Add toggle-read-only. (Bug#7292)
5795 * files.el (toggle-read-only): Mention that it should only
5796 be used interactively. (Bug#10006)
5797
1dce7193
SM
57982011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5799
d9ac1a1e
SM
5800 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5801 Adjust regexp for OCaml warnings.
5802
0c325082
SM
5803 * electric.el (electric-pair-post-self-insert-function): Let user
5804 turn it off buffer-locally (bug#9932).
5805
90132c14
SM
5806 * progmodes/python.el (python-beginning-of-statement):
5807 Rewrite (bug#2703).
5808
1dce7193
SM
5809 * progmodes/compile.el: Better handle TABs (bug#9749).
5810 (compilation-internal-error-properties)
5811 (compilation-next-error-function): Obey the target buffer's
5812 compilation-error-screen-columns.
5813
c4e7c63a
JB
58142011-11-09 Juanma Barranquero <lekktu@gmail.com>
5815
5816 * progmodes/meta-mode.el: Remove obsolete comments.
5817 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5818 Fix typos in docstrings.
5819
2cffd681
MR
58202011-11-09 Martin Rudalics <rudalics@gmx.at>
5821
5822 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5823 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5824 (window--resizable): New function. Make all callers of
5825 window-resizable call window--resizable instead.
5826 (window-resizable): Rewrite in terms of window--resizable.
5827
0edcba87
GM
58282011-11-08 Glenn Morris <rgm@gnu.org>
5829
5830 * progmodes/delphi.el (delphi-mode-syntax-table):
5831 Let define-derived-mode define a proper syntax table. (Bug#9994)
5832
4b0d61e3
SM
58332011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * window.el: Stay away from defsubst.
5836 (window-list-no-nils): Remove.
5837 (window-state-get-1, window-state-get): Use backquote instead.
5838
cd394be1 58392011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5840
4b0d61e3 5841 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5842 Fix incorrect use of default argument in `completing-read'.
5843
e1c2c6f2
MR
58442011-11-08 Martin Rudalics <rudalics@gmx.at>
5845
5846 * window.el (display-buffer-function, special-display-function):
5847 Mention display-buffer-record-window but do not mention
5848 help-setup parameter in doc-strings.
b3f4a882 5849 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5850
105216ed
CY
58512011-11-08 Chong Yidong <cyd@gnu.org>
5852
5853 * window.el (window-total-height, window-total-width): Doc fix.
5854 (window-body-size): Move from C.
5855 (window-body-height, window-body-width): Move to C.
5856
0a9f9ab5
SM
58572011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * window.el: Make special-display like display-buffer-alist (bug#9532).
5860 (display-buffer--special-action): New function, morphed
5861 from display-buffer--special.
5862 (display-buffer): Use it to handle special-display-buffers at higher
5863 priority (just after display-buffer-alist).
5864 (display-buffer-fallback-action, display-buffer--other-frame-action)
5865 (pop-to-buffer-same-window): Remove display-buffer--special.
5866
a769dd15
GM
58672011-11-07 Glenn Morris <rgm@gnu.org>
5868
5869 * calendar/cal-menu.el (cal-menu-set-date-title):
5870 Do nothing if not in a calendar. (Bug#9976)
5871
05a61ee3
SM
58722011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * files.el (find-file): Always use selected-window.
5875
be7f5545
MR
58762011-11-07 Martin Rudalics <rudalics@gmx.at>
5877
5878 * window.el (window-combinations): Make WINDOW argument
5879 mandatory. Rewrite doc-string.
5880 (walk-window-subtree, window-atom-check, window-min-delta)
5881 (window-max-delta, window--resize-this-window)
5882 (window--resize-root-window-vertically, window-tree)
5883 (balance-windows, window-state-put): Rewrite doc-strings as to
5884 not mention the term "subwindow".
5885 (window--resize-subwindows-skip-p): Rename to
5886 window--resize-child-windows-skip-p.
5887 (window--resize-subwindows-normal): Rename to
5888 window--resize-child-windows-normal.
5889 (window--resize-subwindows): Rename to
5890 window--resize-child-windows.
5891 (window-or-subwindow-p): Rename to window--in-subtree-p.
5892
3c6702ef
ML
58932011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5894
5895 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5896 Ensure that mbox format messages end in two newlines (Bug#9974).
5897
49745b39
CY
58982011-11-06 Chong Yidong <cyd@gnu.org>
5899
5900 * window.el (window-combination-p): Function deleted; its
5901 side-effect is not used in any existing code.
5902 (window-combinations, window-combined-p): Call window-*-child
5903 directly.
5904
24300f5f
CY
59052011-11-05 Chong Yidong <cyd@gnu.org>
5906
5907 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5908 (window-size-ignore, window-state-get): Callers changed.
5909 (window-normalize-window): Rename from window-normalize-any-window.
5910 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5911 (window-normalize-live-window): Delete.
447f16b8
CY
5912 (window-combination-p, window-combined-p, window-combinations)
5913 (walk-window-subtree, window-atom-root, window-min-size)
5914 (window-sizable, window-sizable-p, window-size-fixed-p)
5915 (window-min-delta, window-max-delta, window-resizable)
5916 (window-resizable-p, window-full-height-p, window-full-width-p)
5917 (window-current-scroll-bars, window-point-1, set-window-point-1)
5918 (window-at-side-p, window-in-direction, window-resize)
5919 (adjust-window-trailing-edge, maximize-window, minimize-window)
5920 (window-deletable-p, delete-window, delete-other-windows)
5921 (record-window-buffer, unrecord-window-buffer)
5922 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5923 (quit-window, split-window, window-state-put)
5924 (set-window-text-height, fit-window-to-buffer)
5925 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5926
89bd5ee1
EZ
59272011-11-04 Eli Zaretskii <eliz@gnu.org>
5928
53479029
EZ
5929 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5930 rfc2047-decode-string.
5931 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5932 warnings.
5933
89bd5ee1
EZ
5934 * window.el (window-body-height, window-body-width): Mention in
5935 the doc string that the return values are in frame's canonical
5936 units. (Bug#9949)
5937
bd17fdee
AM
59382011-11-03 Alan Mackenzie <acm@muc.de>
5939
5940 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5941 change in cc-engine.el.
5942
acc825c5
SM
59432011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5946
1885e5b8
MR
59472011-11-02 Martin Rudalics <rudalics@gmx.at>
5948
5949 * window.el (quit-window): Call unrecord-window-buffer after
5950 showing another buffer in the window. (Bug#9937)
acc825c5 5951 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5952
ebe06da9
JB
59532011-11-02 Juanma Barranquero <lekktu@gmail.com>
5954
5955 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5956 Accept status with more than 9 shelves. (Bug#9935)
5957 Reported by Colin D Bennett <colin@gibibit.com>.
5958
4ee88440
MR
59592011-11-01 Martin Rudalics <rudalics@gmx.at>
5960
5961 * help.el (with-help-window): Don't reference
5962 temp-buffer-show-specifiers in doc-string.
5963
08e1d82c
AS
59642011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5965
5966 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5967 menu-item.
5968
84bd6e9e
VJL
59692011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5970
5971 * whitespace.el: New version 13.2.2.
5972 (whitespace-newline-mode): Disable properly. Reported by Sarah
5973 <EmacsWiki>.
5974
dba0634a
UJ
59752011-10-30 Ulf Jasper <ulf.jasper@web.de>
5976
5977 * net/newst-treeview.el: Remove "Time-stamp".
5978 (newsticker--group-manage-orphan-feeds): Do not call
5979 newsticker--treeview-tree-update.
db22a3c2
JB
5980 (newsticker-treeview-update, newsticker-treeview):
5981 Call newsticker--treeview-tree-update if necessary.
dba0634a 5982
3d8daefe
MR
59832011-10-30 Martin Rudalics <rudalics@gmx.at>
5984
5985 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5986 (window-iso-combinations): Remove "iso-" infix.
5987 Suggested by Chong Yidong.
3d8daefe
MR
5988 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5989 (window-max-delta-1, window-resize, window--resize-siblings)
5990 (window--resize-this-window, adjust-window-trailing-edge)
5991 (split-window, balance-windows-1)
5992 (shrink-window-if-larger-than-buffer):
5993 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5994 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5995
1bc4c3ae
SM
59962011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5997
5998 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5999 in place (bug#9907).
6000 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6001 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6002 (eshell-structure-basic-command, eshell-rewrite-while-command)
6003 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6004 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6005 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6006 (eshell-do-pipelines-synchronously, eshell-eval-command):
6007 Use backquotes and prefer setq to set.
6008 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6009 (eshell-macrop): Use functionp.
c1e2f5fa 6010 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6011
30b65d9c
CY
60122011-10-30 Chong Yidong <cyd@gnu.org>
6013
6014 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6015 instead of set-mark (Bug#9810).
6016
2d197ffb
CY
60172011-10-30 Chong Yidong <cyd@gnu.org>
6018
6019 * window.el (split-window-below, split-window-right): Rename from
6020 split-window-above-each-other and split-window-side-by-side
6021 respectively. All callers changed.
6022 (split-window-sensibly, split-window-sensibly): Use them.
6023 (split-window-keep-point): Doc fix.
6024
6025 * isearch.el: Add isearch-scroll property to split-window-below
6026 and split-window-right.
6027
6028 * follow.el (follow-mode):
6029 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6030 * progmodes/ada-xref.el (ada-gdb-application):
6031 * emulation/vip.el (vip-buffer-in-two-windows):
6032 * image-dired.el (image-dired-dired-with-window-configuration):
6033 * dired-x.el (dired-do-find-marked-files):
6034 * dired.el (dired-pop-to-buffer):
6035 * bs.el (bs--show-with-configuration):
6036 * vc/emerge.el (emerge-setup-windows):
6037 * textmodes/two-column.el (2C-two-columns):
6038 * textmodes/reftex-toc.el (reftex-toc):
6039 * progmodes/gdb-mi.el (gdb-setup-windows):
6040 * progmodes/fortran.el (fortran-window-create):
6041 * net/newst-treeview.el (newsticker--treeview-window-init):
6042 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6043 * emulation/tpu-edt.el (tpu-gold-map):
6044 * emulation/crisp.el (crisp-mode-map):
6045 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6046
38bb2ca8
CY
60472011-10-29 Chong Yidong <cyd@gnu.org>
6048
aa4de341
CY
6049 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6050
e1eb5385
CY
6051 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6052
5d2ece3c
CY
6053 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6054 forged Ispell output (Bug#7904).
6055
38bb2ca8
CY
6056 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6057
d0af9f77
SM
60582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * doc-view.el: Avoid ugly errors about not finding nil.
6061 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6062 (doc-view-dvipdf-program, doc-view-unoconv-program)
6063 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6064 Avoid nil or absolute file name as default value.
6065 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6066
52bedd34
AM
60672011-10-28 Alan Mackenzie <acm@muc.de>
6068
db22a3c2 6069 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6070
7e43cfa5
AM
60712011-10-28 Alan Mackenzie <acm@muc.de>
6072
6073 Amend the handling of c-beginning/end-of-defun in nested declaration
6074 scopes.
6075
52bedd34
AM
6076 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6077 cc-langs.el. Change it to a defcustom.
7e43cfa5 6078
52bedd34
AM
6079 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6080 cc-vars.el.
7e43cfa5 6081
d0af9f77
SM
6082 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6083 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6084
52bedd34 6085 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6086 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6087 (c-widen-to-enclosing-decl-scope): New function.
6088 (c-while-widening-to-decl-block): New macro.
6089 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6090 outward for defun boundaries, and correspondingly change symbol
6091 `respect-enclosure' to `go-outward'.
6092 (c-declaration-limits): Change algorithm to report only the "innermost"
6093 defun's boundaries.
6094
1a2ce9ee
DD
60952011-10-28 Deniz Dogan <deniz@dogan.se>
6096
6097 * net/rcirc.el (rcirc-mode): Use hard newlines.
6098
bc97a826
AM
60992011-10-28 Alan Mackenzie <acm@muc.de>
6100
6101 Amend to indent and fontify macros "which include their own semicolon"
6102 correctly, using the "virtual semicolon" mechanism.
6103
52bedd34 6104 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6105
d0af9f77 6106 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6107 Recode to scan one line at a time rather than having \n and \r
58179cce 6108 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6109 (c-forward-label): Amend for virtual semicolons.
58179cce 6110 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6111
52bedd34
AM
6112 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6113 of the new C macros.
bc97a826 6114
52bedd34 6115 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6116 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6117 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6118 (c-opt-cpp-macro-define): Make into a full language variable.
6119 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6120 AWK Mode (including \n, \r) removed, no longer needed.
6121
d0af9f77
SM
6122 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6123 Invoke c-make-macro-with-semi-re.
bc97a826 6124
52bedd34
AM
6125 * progmodes/cc-vars.el (c-macro-with-semi-re):
6126 (c-macro-names-with-semicolon): New variables.
58179cce 6127 (c-make-macro-with-semi-re): New function.
bc97a826 6128
7a6c0941
SM
61292011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * vc/log-edit.el: Fill empty field rather than adding new one.
6132 (log-edit-add-field): New function.
6133 (log-edit-insert-changelog): Use it.
6134
b0c4cdcf
ML
61352011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6136
6137 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6138
ee1f1da9
SM
61392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6142 (gdb--check-interpreter): New function.
6143 (gdb): Use it.
6144
51bc5f8b
GM
61452011-10-27 Glenn Morris <rgm@gnu.org>
6146
416a2c45
GM
6147 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6148 (least-positive-float, least-negative-float)
6149 (least-positive-normalized-float, least-negative-normalized-float)
6150 (float-epsilon, float-negative-epsilon):
6151 Remove unnecessary declarations.
6152
6153 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6154 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6155 (least-positive-float, least-negative-float)
6156 (least-positive-normalized-float, least-negative-normalized-float)
6157 (float-epsilon, float-negative-epsilon): Add doc-strings,
6158 based on those in cl.texi.
6159
51bc5f8b
GM
6160 * files.el (set-visited-file-name): If the major-mode changed,
6161 reload the local variables. (Bug#9796)
6162
15de15c6
CY
61632011-10-27 Chong Yidong <cyd@gnu.org>
6164
6165 * subr.el (change-major-mode-after-body-hook): New hook.
6166 (run-mode-hooks): Run it.
6167
ee1f1da9
SM
6168 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6169 Use change-major-mode-before-body-hook.
15de15c6
CY
6170
6171 * simple.el (fundamental-mode):
6172 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6173 change introducing fundamental-mode-hook.
6174
5430d399
JB
61752011-10-26 Juanma Barranquero <lekktu@gmail.com>
6176
acc825c5 6177 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6178
ad74a69e
MA
61792011-10-26 Michael Albinus <michael.albinus@gmx.de>
6180
6181 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6182 tramp.el explicitly. (Bug#7583)
ad74a69e 6183
71d4c2a5
SM
61842011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * progmodes/octave-mod.el:
6187 * progmodes/octave-inf.el: Update maintainer.
6188
b1f6fa26
CY
61892011-10-26 Chong Yidong <cyd@gnu.org>
6190
6191 * subr.el (with-wrapper-hook): Rewrite doc.
6192
3f04efd6
MA
61932011-10-25 Michael Albinus <michael.albinus@gmx.de>
6194
6195 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6196 filenames "/method:foo:". (Bug#9793)
3f04efd6 6197
410488d3
SM
61982011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6201 (bug#9865).
6202
c1ebb47e
GM
62032011-10-24 Glenn Morris <rgm@gnu.org>
6204
6205 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6206
7f5c46c7
MA
62072011-10-24 Michael Albinus <michael.albinus@gmx.de>
6208
6209 * notifications.el: Add the requirement of a running D-Bus session
6210 bus to the Commentary.
6211
db2440b6
JL
62122011-10-24 Juri Linkov <juri@jurta.org>
6213
6214 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6215 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6216 (Bug#9364)
6217
feecf435
JL
62182011-10-24 Juri Linkov <juri@jurta.org>
6219
6220 * info.el (Info-following-node-name-re): Add newline to the list
6221 of allowed characters for leading space. (Bug#9824)
6222
a3839de2
SM
62232011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6224
acc825c5
SM
6225 * progmodes/octave-inf.el (inferior-octave-mode-map):
6226 Fix C-c C-h binding.
a3839de2
SM
6227 * progmodes/octave-mod.el (octave-help): Remove.
6228
09388e76
MA
62292011-10-23 Michael Albinus <michael.albinus@gmx.de>
6230
6231 Sync with Tramp 2.2.3.
6232
6233 * net/tramp-cache.el (top): Pacify byte-compiler using
6234 `init-file-user' and `site-run-file'.
6235
6236 * net/trampver.el: Update release number.
6237
86c60681
CY
62382011-10-23 Chong Yidong <cyd@gnu.org>
6239
6240 * files.el (toggle-read-only): Remove obsolete comment about
6241 version control.
6242
6243 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6244 for toggle-read-only. Note that this hasn't called vc-next-action
6245 since 2008-05-02, though it wasn't documented at the time.
6246
a3839de2
SM
6247 * vc/ediff-init.el (ediff-toggle-read-only-function):
6248 Use toggle-read-only.
86c60681 6249
cd5495ff
AM
62502011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6251
6252 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6253 of c-parse-state.
6254
00b77525 6255 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6256 correct faulty logical expression.
cd5495ff
AM
6257 (c-parse-state-state, c-record-parse-state-state):
6258 (c-replay-parse-state-state): New defvar/defuns.
6259 (c-debug-parse-state): Use new functions.
6260
42ee24ed
MR
62612011-10-22 Martin Rudalics <rudalics@gmx.at>
6262
6263 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6264 last fix. Use window-in-direction correctly.
42ee24ed 6265
a7dee7e7
CY
62662011-10-21 Chong Yidong <cyd@gnu.org>
6267
6268 * progmodes/idlwave.el (idlwave-mode):
6269 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6270 require-final-newline; that's done in prog-mode.
6271 Suggested by Stefan Monnier.
a7dee7e7 6272
e07b9a6d
MR
62732011-10-21 Martin Rudalics <rudalics@gmx.at>
6274
6275 * mouse.el (mouse-drag-window-above)
6276 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6277 (mouse-drag-mode-line-1, mouse-drag-header-line)
6278 (mouse-drag-vertical-line-rightward-window): Remove.
6279 (mouse-drag-line): New function.
6280 (mouse-drag-mode-line, mouse-drag-header-line)
6281 (mouse-drag-vertical-line): Call mouse-drag-line.
6282 * window.el (window-at-side-p, windows-at-side): New functions.
6283
7e1361d9
UM
62842011-10-21 Ulrich Mueller <ulm@gentoo.org>
6285
6286 * tar-mode.el (tar-grind-file-mode):
6287 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6288
30fcaf3a
CY
62892011-10-21 Chong Yidong <cyd@gnu.org>
6290
6291 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6292 * progmodes/vera-mode.el (vera-mode):
6293 Use mode-require-final-newline.
30fcaf3a 6294
516eddb0
GM
62952011-10-20 Glenn Morris <rgm@gnu.org>
6296
db22a3c2 6297 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6298
10d5f513
CS
62992011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6300
6301 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6302
ac6c8639
CY
63032011-10-20 Chong Yidong <cyd@gnu.org>
6304
6305 * emulation/cua-base.el (cua-mode):
6306 * mail/footnote.el (footnote-mode):
6307 * mail/mailabbrev.el (mail-abbrevs-mode):
6308 * net/xesam.el (xesam-minor-mode):
6309 * progmodes/bug-reference.el (bug-reference-mode):
6310 * progmodes/cap-words.el (capitalized-words-mode):
6311 * progmodes/compile.el (compilation-minor-mode)
6312 (compilation-shell-minor-mode):
6313 * progmodes/gud.el (gud-tooltip-mode):
6314 * progmodes/hideif.el (hide-ifdef-mode):
6315 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6316 * progmodes/subword.el (subword-mode):
6317 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6318 * progmodes/which-func.el (which-function-mode):
6319 * term/tvi970.el (tvi970-set-keypad-mode):
6320 * term/vt100.el (vt100-wide-mode):
6321 * textmodes/flyspell.el (flyspell-mode):
6322 * textmodes/ispell.el (ispell-minor-mode):
6323 * textmodes/nroff-mode.el (nroff-electric-mode):
6324 * textmodes/paragraphs.el (use-hard-newlines):
6325 * textmodes/refill.el (refill-mode):
6326 * textmodes/reftex.el (reftex-mode):
6327 * textmodes/rst.el (rst-minor-mode):
6328 * textmodes/sgml-mode.el (html-autoview-mode)
6329 (sgml-electric-tag-pair-mode):
6330 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6331 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6332 * emulation/crisp.el (crisp-mode):
6333 * emacs-lisp/eldoc.el (eldoc-mode):
6334 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6335 minor mode behavior.
6336
aa42ab43
JL
63372011-10-19 Juri Linkov <juri@jurta.org>
6338
6339 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6340 the list of hard-coded chars with escape-glyph face.
6341
89400f1d
SM
63422011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6345
305c07f6
MA
63462011-10-19 Michael Albinus <michael.albinus@gmx.de>
6347
6348 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6349 running process.
6350
13754b54
GM
63512011-10-19 Glenn Morris <rgm@gnu.org>
6352
6353 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6354 Ignore ignored files. (Bug#9726)
6355
06e21633
CY
63562011-10-19 Chong Yidong <cyd@gnu.org>
6357
6358 Doc fix for minor modes, stating that an omitted argument enables
6359 the mode unconditionally when called from Lisp.
6360
6361 * abbrev.el (abbrev-mode):
6362 * allout.el (allout-mode):
6363 * autoinsert.el (auto-insert-mode):
6364 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6365 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6366 (global-auto-revert-mode):
6367 * battery.el (display-battery-mode):
6368 * composite.el (global-auto-composition-mode)
6369 (auto-composition-mode):
6370 * delsel.el (delete-selection-mode):
6371 * desktop.el (desktop-save-mode):
6372 * dired-x.el (dired-omit-mode):
6373 * dirtrack.el (dirtrack-mode):
6374 * doc-view.el (doc-view-minor-mode):
6375 * double.el (double-mode):
6376 * electric.el (electric-indent-mode, electric-pair-mode):
6377 * emacs-lock.el (emacs-lock-mode):
6378 * epa-hook.el (auto-encryption-mode):
6379 * follow.el (follow-mode):
6380 * font-core.el (font-lock-mode):
6381 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6382 * help.el (temp-buffer-resize-mode):
6383 * hilit-chg.el (highlight-changes-mode)
6384 (highlight-changes-visible-mode):
6385 * hi-lock.el (hi-lock-mode):
6386 * hl-line.el (hl-line-mode, global-hl-line-mode):
6387 * icomplete.el (icomplete-mode):
6388 * ido.el (ido-everywhere):
6389 * image-file.el (auto-image-file-mode):
6390 * image-mode.el (image-minor-mode):
6391 * iswitchb.el (iswitchb-mode):
6392 * jka-cmpr-hook.el (auto-compression-mode):
6393 * linum.el (linum-mode):
6394 * longlines.el (longlines-mode):
6395 * master.el (master-mode):
6396 * mb-depth.el (minibuffer-depth-indicate-mode):
6397 * menu-bar.el (menu-bar-mode):
6398 * minibuf-eldef.el (minibuffer-electric-default-mode):
6399 * mouse-sel.el (mouse-sel-mode):
6400 * msb.el (msb-mode):
6401 * mwheel.el (mouse-wheel-mode):
6402 * outline.el (outline-minor-mode):
6403 * paren.el (show-paren-mode):
6404 * recentf.el (recentf-mode):
6405 * reveal.el (reveal-mode, global-reveal-mode):
6406 * rfn-eshadow.el (file-name-shadow-mode):
6407 * ruler-mode.el (ruler-mode):
6408 * savehist.el (savehist-mode):
6409 * scroll-all.el (scroll-all-mode):
6410 * scroll-bar.el (scroll-bar-mode):
6411 * server.el (server-mode):
6412 * shell.el (shell-dirtrack-mode):
6413 * simple.el (auto-fill-mode, transient-mark-mode)
6414 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6415 (line-number-mode, column-number-mode, size-indication-mode)
6416 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6417 * strokes.el (strokes-mode):
6418 * time.el (display-time-mode):
6419 * t-mouse.el (gpm-mouse-mode):
6420 * tool-bar.el (tool-bar-mode):
6421 * tooltip.el (tooltip-mode):
6422 * type-break.el (type-break-mode-line-message-mode)
6423 (type-break-query-mode):
6424 * view.el (view-mode):
6425 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6426 (global-whitespace-mode, global-whitespace-newline-mode):
6427 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6428
a3839de2
SM
6429 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6430 Fix autogenerated docstring.
06e21633 6431
5214e501
JL
64322011-10-19 Juri Linkov <juri@jurta.org>
6433
6434 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6435 by checking environment variables "DESKTOP_SESSION" and
6436 "XDG_CURRENT_DESKTOP". (Bug#9779)
6437
195f8db9
JL
64382011-10-19 Juri Linkov <juri@jurta.org>
6439
6440 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6441 (browse-url-chromium-program, browse-url-chromium-arguments):
6442 New defcustoms.
6443 (browse-url-default-browser): Check for `browse-url-chromium' and
6444 call `browse-url-chromium-program'.
6445 (browse-url-chromium): New command. (Bug#9779)
6446
343a34ff
JB
64472011-10-18 Juanma Barranquero <lekktu@gmail.com>
6448
6449 * facemenu.el (list-colors-duplicates): On Windows, detect more
6450 duplicates by assuming that only colors matching "^System" are
6451 special "system colors". (Bug#9722)
6452
6978a151
SM
64532011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6456 to distinguish the author from the committer.
6457
6a80b297
MA
64582011-10-18 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6461
b31a5677
JK
64622011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6463
6464 * international/mule.el (sgml-html-meta-auto-coding-function):
6465 Add support for detecting encoding in HTML5 specified only as
6466 <meta charset="UTF-8">. Implementation just makes http-equiv and
6467 content-type parts from HTML4 encoding string optional. (Bug#9716)
6468
80c6d77f
GM
64692011-10-18 Glenn Morris <rgm@gnu.org>
6470
6471 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6472
08b0fee8
CY
64732011-10-18 Chong Yidong <cyd@gnu.org>
6474
6475 * faces.el (cursor): Doc fix.
6476
67e729a5
CY
64772011-10-17 Chong Yidong <cyd@gnu.org>
6478
6479 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6480
343a34ff 64812011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6482
6483 * dirtrack.el (dirtrack): Support shell buffers with path
6484 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6485
0bc06380
TZ
64862011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6487
6488 * json.el: Bump version to 1.3 and note change in History.
6489 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6490
8b79f3e0
SM
64912011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6492
5a7c536b
SM
6493 * comint.el (comint-insert-input, comint-send-input)
6494 (comint-get-old-input-default, comint-backward-matching-input)
6495 (comint-next-prompt): Use nil instead of `input' for field property of
6496 past user input (bug#114).
6497
96a8a0df
SM
6498 * minibuffer.el (completion--replace): Inherit surrounding properties
6499 (bug#114).
6500 (minibuffer-complete-and-exit): Use it.
6501
8b79f3e0
SM
6502 * comint.el (comint--table-subvert): Quote the all-completions output
6503 (bug#9160).
6504
b8f7ff0d
MR
65052011-10-17 Martin Rudalics <rudalics@gmx.at>
6506
8b79f3e0 6507 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6508
b8f7ff0d 6509 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6510 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6511 entries and separate them from frame entries.
6512
c235b555
GM
65132011-10-15 Glenn Morris <rgm@gnu.org>
6514
6515 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6516 Doc fixes.
6517
6bbfa6e1
CY
65182011-10-15 Chong Yidong <cyd@stupidchicken.com>
6519
8b79f3e0
SM
6520 * net/network-stream.el (network-stream-open-starttls):
6521 Improve detection of failure due to lack of TLS support.
ec5c990d 6522
6bbfa6e1
CY
6523 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6524 putting the input text in front and in bold.
6525
98488977
SM
65262011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6527
3d1337be
SM
6528 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6529
ee0b45e4
SM
6530 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6531 empty buffer.
6532
98488977
SM
6533 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6534 unread-command-events rather than pushing yet-another event.
6535
186f4720
EZ
65362011-10-14 Eli Zaretskii <eliz@gnu.org>
6537
6538 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6539 the explanation of the possible choices. Make the options passed
6540 to completing-read shorter.
6541
8b7a997c
AM
65422011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6543
6544 * textmodes/flyspell.el (flyspell-large-region): Make sure
6545 extended character mode is used if defined (Bug#1339).
6546
12587bbb
EZ
65472011-10-13 Eli Zaretskii <eliz@gnu.org>
6548
6549 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6550 character info for LRE, LRO, RLE, and RLO characters by appending
6551 an invisible PDF.
12587bbb 6552
bad41229
SM
65532011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6556 even in case of error; add debug spec; simplify data flow.
6557 (with-timeout-handler): Remove.
6558
28dbc92f
MA
65592011-10-12 Michael Albinus <michael.albinus@gmx.de>
6560
6561 Fix Bug#6019, Bug#9315.
6562
6563 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6564 complete `buffer-file-name', the local file name part could look
6565 remotely (for example on VMS).
6566
6567 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6568 `tramp-run-real-handler'.
6569 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6570 already quoted by '"'.
6571
6572 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6573 Let `file-name-handler-alist' be nil, the local file name part
6574 could look remotely (for example on VMS).
6575
e1b0b23a
SM
65762011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6579 from here...
6580 (flyspell-post-command-hook): ...to here.
6581
a120bde9
SM
65822011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6585 if not needed.
6586 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6587 using completion. Protect against "slow" callers.
6588 Remove the "message hack".
6589
7ce7717b
JL
65902011-10-11 Juri Linkov <juri@jurta.org>
6591
6592 * isearch.el (isearch-lazy-highlight-word): New variable.
6593 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6594 Use it. (Bug#9727)
6595
c02ee9d6
GM
65962011-10-11 Glenn Morris <rgm@gnu.org>
6597
6598 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6599 like f90-previous-statement does.
6600
93e616fd 66012011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6602
1f190e73 6603 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6604 only in interactive use, to avoid error.
6605
af7b6078
SM
66062011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * minibuffer.el (completion-file-name-table): Fix last change,
6609 i.e. ignore normal errors but not the other ones.
6610
0563dae9
MR
66112011-10-10 Martin Rudalics <rudalics@gmx.at>
6612
6613 * window.el (special-display-buffer-names)
6614 (special-display-regexps): Remove some remnants of earlier
6615 changes from doc-strings.
366ca7f3
MR
6616 (quit-windows-on): New function.
6617
6618 * vc/vc.el (vc-revert, vc-rollback):
6619 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6620 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6621 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6622
49677495
MR
66232011-10-09 Martin Rudalics <rudalics@gmx.at>
6624
6625 * window.el (frame-auto-hide-function): Add version tag.
6626 (Bug#9699)
6627
56f2d1e1
MA
66282011-10-09 Michael Albinus <michael.albinus@gmx.de>
6629
6630 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6631 condition.
6632
112a6592
LL
66332011-10-09 Leo Liu <sdl.web@gmail.com>
6634
6635 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6636 (Bug#9701)
6637
0812589b
GM
66382011-10-08 Glenn Morris <rgm@gnu.org>
6639
6640 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6641 before the first code statement zero indent. (Bug#9690)
6642
b2b0776e
CY
66432011-10-08 Chong Yidong <cyd@stupidchicken.com>
6644
6645 * simple.el (count-words-region): Always count in the region.
6646 Report the number of lines and characters too.
6647 (count-words): New command, which counts in the buffer if the
6648 region is inactive, as count-words-region used to.
6649 (count-words--message): New function. Handle plurals.
6650 (count-lines-region): Make it an alias for count-words-region.
6651
6652 * bindings.el (esc-map): Replace count-lines-region with
6653 count-words-region.
6654
c557cd6b
MR
66552011-10-08 Martin Rudalics <rudalics@gmx.at>
6656
6657 * window.el (window--delete): Delete dedicated frame
6658 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6659 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6660
61a57ef4 66612011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6662
3a7d293b 6663 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6664
c3833279
CY
66652011-10-07 Chong Yidong <cyd@stupidchicken.com>
6666
6667 * bindings.el ([M-left],[M-right]): Bind to left-word and
6668 right-word respectively.
6669
21ce8245
GM
66702011-10-07 Glenn Morris <rgm@gnu.org>
6671
6672 * cus-start.el (debug-on-quit): Fix custom type.
6673
6d823bb2
LMI
66742011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6675
0181e193
LMI
6676 * subr.el (define-key-after): Clarify that the function is not
6677 useful for non-menu keymaps.
6678
6d823bb2
LMI
6679 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6680
8e3459ce 66812011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6682
21ce8245 6683 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6684 in current minibuffer (Fix bug with recursive minibuffers).
6685
a1c2d21e
CY
66862011-10-06 Chong Yidong <cyd@stupidchicken.com>
6687
6688 * progmodes/gdb-mi.el (gdb): Doc fix.
6689
5a4cf282
MR
66902011-10-05 Martin Rudalics <rudalics@gmx.at>
6691
6692 * window.el (frame-auto-hide-function): New option replacing
6693 frame-auto-delete. Suggested by Stefan Monnier.
6694 (window--delete): Call frame-auto-hide-function instead of
6695 investigating frame-auto-delete.
c96111ea
MR
6696 (window-point-1, set-window-point-1): New functions.
6697 (window-in-direction, record-window-buffer, window-state-get-1)
6698 (display-buffer-record-window): Use window-point-1 instead of
6699 window-point.
6700 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6701
9854542e
SM
67022011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6705
8943cfb0
GM
67062011-10-05 Glenn Morris <rgm@gnu.org>
6707
6708 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6709 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6710
647ab967
LL
67112011-10-05 Leo Liu <sdl.web@gmail.com>
6712
6713 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6714 works with buffer object.
6715
3ddfbced
SM
67162011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * mpc.el (mpc-tool-bar-map): Add labels.
6719
bdfa5dd2
GM
67202011-10-04 Glenn Morris <rgm@gnu.org>
6721
6722 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6723
0e2070b5
MR
67242011-10-04 Martin Rudalics <rudalics@gmx.at>
6725
6726 * window.el (window--delete): New function.
6727 (frame-auto-delete): Resuscitate option.
6728 (bury-buffer, replace-buffer-in-windows)
6729 (quit-window): Rewrite using window--delete.
6730 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6731 Pass display-buffer-mark-dedicated to window--display-buffer-2
6732 (Bug#9639).
6733
3dc61a09
SM
67342011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6735
915a9b64
SM
6736 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6737 returns a list (bug#9554). Add remote file name completion.
6738 * comint.el (comint--table-subvert): Curry and get quote&unquote
6739 functions as arguments.
6740 (comint--complete-file-name-data): Adjust call accordingly.
6741 * pcomplete.el (pcomplete--table-subvert): Remove.
6742 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6743
3dc61a09
SM
6744 * minibuffer.el (completion-table-case-fold): Use currying.
6745 (completion--styles-type, completion--cycling-threshold-type):
6746 New constants.
6747 (completion-styles, completion-category-overrides)
6748 (completion-cycle-threshold): Use them.
6749 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6750 completion-table-case-fold.
6751
8ea0a993
SB
67522011-10-03 Stephen Berman <stephen.berman@gmx.net>
6753
6754 * minibuffer.el (completion-category-overrides): Fix type of styles
6755 and add more user friendly tags (bug#9660).
6756
8c24b7f6
SM
67572011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6758
6759 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6760 (mule-input-method-string): New widget.
6761 (default-input-method, language-info-custom-alist): Use it.
6762
428fe61a
SM
67632011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6764
32c1fffd
SM
6765 * pcomplete.el: Require comint.
6766 (pcomplete--common-suffix): Remove.
6767 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6768 (pcomplete--table-subvert): Sync with comint--table-subvert.
6769 (pcomplete--entries): Use comint-completion-file-name-table.
6770 * comint.el (comint-unquote-filename): Simplify.
6771 (comint-completion-file-name-table): New function (bug#9616).
6772 (comint--complete-file-name-data): Use it.
6773
428fe61a
SM
6774 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6775 (pcmpl-gnu-tar-buffer): Remove.
6776 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6777 around. Make sure pcomplete-suffix-list is only changed temporarily.
6778 Don't look inside the tar's file if it's too large.
428fe61a 6779
04c52e2f
CY
67802011-10-01 Chong Yidong <cyd@stupidchicken.com>
6781
ce3cefcc
CY
6782 * cus-edit.el (custom-mode-map):
6783 * epa.el (epa-key-list-mode-map):
6784 * man.el (Man-mode-map):
6785 * startup.el (splash-screen-keymap):
6786 * simple.el (special-mode-map): Use scroll-up-command and
6787 scroll-down-command.
6788
6789 * progmodes/idlw-help.el (idlwave-help-mode-map):
6790 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6791 * net/newst-plainview.el (newsticker-mode-map):
6792 * emulation/ws-mode.el (wordstar-mode-map):
6793 * emulation/vi.el (vi-com-map):
6794 * calc/calc-graph.el (calc-graph-show-dumb):
6795 * term/sun.el (terminal-init-sun):
6796 * term/ns-win.el (global-map):
6797 * progmodes/grep.el (grep-mode-map):
6798 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6799 * mail/rmail.el (rmail-mode-map):
6800 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6801
04c52e2f
CY
6802 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6803 custom-safe-themes as special.
6804
79adf8c8
JD
68052011-10-01 Julien Danjou <julien@danjou.info>
6806
6807 * notifications.el (notifications-notify): Fix docstring.
6808
63bd50d3
PS
68092011-10-01 Per Starbäck <per@starback.se>
6810
6811 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6812
199e4c7e
MR
68132011-09-30 Martin Rudalics <rudalics@gmx.at>
6814
6815 * startup.el (command-line-1): Fix last fix by inserting
6816 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6817 (Bug#9605) and (Bug#9636)
199e4c7e 6818
fe5f08dd
EZ
68192011-09-29 Eli Zaretskii <eliz@gnu.org>
6820
6821 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6822 window is hscrolled, move by logical lines. (Bug#9607)
6823 (line-move-visual): Update the doc string to the above effect.
6824
b5516bbd
MR
68252011-09-29 Martin Rudalics <rudalics@gmx.at>
6826
ccee00c0
MR
6827 * window.el (display-buffer-record-window): When WINDOW is the
6828 selected window use `point' instead of `window-point'. (Bug#9626)
6829
b5516bbd
MR
6830 * startup.el (command-line-1): Use insert-before-markers when
6831 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6832
b5516bbd
MR
6833 * help.el (help-window): Remove variable.
6834
52aa0014
GM
68352011-09-29 Glenn Morris <rgm@gnu.org>
6836
6837 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6838
df9a7357
JB
68392011-09-29 Juanma Barranquero <lekktu@gmail.com>
6840
6841 * descr-text.el (describe-char-categories): Accept category
6842 descriptions more than one line long.
6843
a8406c20
SM
68442011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6845
88d9610c
SM
6846 * simple.el (delete-trailing-whitespace): Fix last change.
6847
a5daf810
SM
6848 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6849 Don't confuse "y => 3" as the beginning of a `y' operation.
6850
a8406c20
SM
6851 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6852 object has more than 4 slots (bug#9613).
6853
a239d4e9
JB
68542011-09-28 Juanma Barranquero <lekktu@gmail.com>
6855
6856 * subr.el (with-output-to-temp-buffer):
6857 * net/quickurl.el (quickurl, quickurl-browse-url):
6858 Fix typos in docstrings.
6859
693fbdb6
EZ
68602011-09-27 Eli Zaretskii <eliz@gnu.org>
6861
6862 * minibuffer.el (completion-styles)
6863 (completion-category-overrides): Cross reference each other in doc
6864 strings.
6865
8b457e28
GM
68662011-09-27 Glenn Morris <rgm@gnu.org>
6867
6868 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6869 to split-string. (Bug#9606)
6870
85a16208
LMI
68712011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6872
6873 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6874 (bug#9615).
6875
502f9ebd
CY
68762011-09-27 Chong Yidong <cyd@stupidchicken.com>
6877
6878 * emacs-lisp/package.el (list-packages): Fix echo area message.
6879
7690bdea
LL
68802011-09-27 Leo Liu <sdl.web@gmail.com>
6881
6882 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6883
e2ee6f30
MA
68842011-09-25 Michael Albinus <michael.albinus@gmx.de>
6885
6886 * net/dbus.el (dbus-unregister-object): Don't release services for
6887 registered signals. (Bug#9581)
6888
f3f98342
TZ
68892011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6890
6891 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6892 function that picks between cfengine 2 and 3 support
6893 automatically. Update docs accordingly.
6894
dd7aa8dd
KH
68952011-09-22 Kenichi Handa <handa@m17n.org>
6896
6897 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6898 ZERO.
6899 (indian-itrans-v5-table-for-tamil): New variable.
6900 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6901
3f2b07f8
KM
69022011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6903
6904 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6905 that's true if the current command involved collapsing of text.
6906 It's reset to false at the beginning of the next command.
6907 (allout-post-command-business): Move the cursor to the beginning
6908 of entry if the cursor is hidden and collapsing activity just
6909 happened.
6910
371d6a61
CY
69112011-09-24 Chong Yidong <cyd@stupidchicken.com>
6912
6913 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6914 tracking (Bug#9541).
6915
2ac2721a
UJ
69162011-09-24 Ulf Jasper <ulf.jasper@web.de>
6917
6918 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6919 (newsticker-show-news): Automatically load html rendering package
6920 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6921 because w3m-fill-column is let-bound" and the error "Symbol's value
6922 as variable is void: w3m-fill-column".
2ac2721a 6923
fac7ae53
MA
69242011-09-24 Michael Albinus <michael.albinus@gmx.de>
6925
6926 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6927 Release services only if they are defined. (Bug#9581)
6928
e08b633b
RS
69292011-09-23 Richard Stallman <rms@gnu.org>
6930
e488d29c
RS
6931 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6932 distinguish start of paragraph from start of its text.
6933
19c38752
RS
6934 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6935
e08b633b
RS
6936 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6937 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6938 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6939
0a39f27e
AS
69402011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6941
6942 * international/mule-diag.el (mule-diag): Insert a newline after
6943 each fontset description.
6944
db4e950d
SM
69452011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6946
6947 * simple.el (delete-trailing-whitespace):
6948 Document last change; simplify.
6949
eca3f3ea
PW
69502011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6951
d68e189a
PW
6952 * simple.el (delete-trailing-whitespace): Also delete
6953 extra newlines at the end of the buffer.
6954
eca3f3ea
PW
6955 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6956 (picture-newline): Use forward-line so as to ignore fields.
6957
01c157cc
SM
69582011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * subr.el (with-wrapper-hook): Fix edebug spec.
6961
022de23e
LMI
69622011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6963
6964 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6965 (bug#4538).
6966
91683089
MA
69672011-09-23 Michael Albinus <michael.albinus@gmx.de>
6968
eca3f3ea
PW
6969 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6970 Fix nasty bug using wrong cached values.
91683089 6971
5bdd6fa4
AM
69722011-09-23 Alan Mackenzie <acm@muc.de>
6973
6974 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6975
97adfb97
CY
69762011-09-23 Chong Yidong <cyd@stupidchicken.com>
6977
6978 * window.el (pop-to-buffer): Ensure right window is selected if we
6979 chose another frame.
6980
d4ef2b50
EZ
69812011-09-22 Eli Zaretskii <eliz@gnu.org>
6982
6983 * simple.el (what-cursor-position): Use get-char-property-change
6984 and next-single-char-property-change, to be able to show display
6985 properties that come from overlays as well as text properties.
6986
72258fe5
CY
69872011-09-22 Chong Yidong <cyd@stupidchicken.com>
6988
6989 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6990
6991 * cmuscheme.el (run-scheme, switch-to-scheme):
6992 * cus-edit.el (customize-group, custom-buffer-create)
6993 (customize-browse):
6994 * info.el (info):
6995 * shell.el (shell):
6996 * mail/sendmail.el (mail):
6997 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6998
8f098516
RS
69992011-09-22 Richard Stallman <rms@gnu.org>
7000
7001 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7002 move back only to line beg, don't move back over blank lines.
7003
e74f1bb6
MA
70042011-09-22 Michael Albinus <michael.albinus@gmx.de>
7005
7006 * files.el (copy-directory): Set directory attributes only in case
7007 they could be retrieved from the source directory. (Bug#9565)
7008
bfeef8b6
DK
70092011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7010
7011 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7012 (hs-find-block-beginning, hs-hide-level-recursive):
7013 Ignore strings as well as comments. (Bug#9502)
7014
7e423bb8
AS
70152011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7016
7017 * progmodes/sql.el (sql-comint-postgres):
7018 Convert port number to a string. (Bug#9566)
7019
b4d72fcf
MR
70202011-09-22 Martin Rudalics <rudalics@gmx.at>
7021
7022 * window.el (quit-window): Undedicate window when switching to
7023 previous buffer. Reported by Thierry Volpiatto
7024 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7025 (special-display-popup-frame): When popping up a new frame reset
7026 its previous buffers to nil. Simplify code.
b4d72fcf 7027
a7b88dc6
MA
70282011-09-21 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7031 and process filter, as done also in `shell-command'.
7032
cf4eacfd
MR
70332011-09-21 Martin Rudalics <rudalics@gmx.at>
7034
eca3f3ea 7035 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7036 Call set-window-start with NOFORCE argument t.
7037 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7038 (quit-window): Reword doc-string. Handle new format of
7039 quit-restore parameter. Don't delete window if it has a
7040 previous buffer we can show instead of the present one.
7041 (display-buffer-record-window): Rewrite using a new format for
7042 the quit-restore window parameter
7043 (special-display-popup-frame, display-buffer-same-window)
7044 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7045 (display-buffer-pop-up-window, display-buffer-use-some-window):
7046 Adapt symbol passed to display-buffer-record-window.
7047 * help.el (help-window-setup): Handle new format of quit-restore
7048 parameter.
7049
8d28cb95
SM
70502011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7051
94ab793f
SM
7052 * faces.el (face-list): Fix docstring (bug#9564).
7053
8d28cb95
SM
7054 * window.el (display-buffer--action-function-custom-type):
7055 Don't include internal functions in the Custom interface.
7056
3820edeb
JL
70572011-09-20 Juri Linkov <juri@jurta.org>
7058
7059 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7060 (Info-forward-node, Info-backward-node, Info-next-preorder)
7061 (Info-last-preorder): Use it. (Bug#9528)
7062
5147931d
JL
70632011-09-20 Juri Linkov <juri@jurta.org>
7064
7065 * info.el (Info-last-preorder): Visit last menu item only when
7066 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7067
cf499a1a
JD
70682011-09-20 Julien Danjou <julien@danjou.info>
7069
7070 * password-cache.el (password-cache-remove): Remove entries even if the
7071 value is nil, so that password with a nil value (negative caching) is
7072 possible to invalidate.
7073
f84e2fe2
LM
70742011-09-20 Lawrence Mitchell <wence@gmx.li>
7075
7076 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7077 all whitespace around breakpoint. (Bug#9553)
7078 (f90-find-breakpoint): Only break at whitespace inside a comment.
7079
78054a46
SM
70802011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 * minibuffer.el (completion-file-name-table): Keep track of errors.
7083 (completion-table-with-predicate): Handle the case where pred1 is nil.
7084 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7085
345083b2
SM
70862011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7087
e24e27be
SM
7088 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7089 (debugger-return-value): Signal an error if the debugging context does
7090 not await any return value.
7091
345083b2
SM
7092 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7093 * image-mode.el (image-toggle-display-text)
7094 (image-toggle-display-image): Stay away from evil `intangible'.
7095
08d355e3
LL
70962011-09-19 Leo Liu <sdl.web@gmail.com>
7097
7098 * replace.el (occur-revert-arguments): Make it permanent-local.
7099 (occur-mode): Don't call font-lock-defontify.
7100
f01da43f
CY
71012011-09-19 Chong Yidong <cyd@stupidchicken.com>
7102
7103 * net/ldap.el (ldap-search-internal): Don't push empty search
7104 result (Bug#9508).
7105
b6072fa6
SM
71062011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7109
443d6696
MA
71102011-09-19 Michael Albinus <michael.albinus@gmx.de>
7111
7112 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7113 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7114
7cc6e154
JL
71152011-09-18 Juri Linkov <juri@jurta.org>
7116
7117 * buff-menu.el (Buffer-menu-mode-map):
7118 * dired.el (dired-mode-map):
7119 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7120 (lisp-interaction-mode-map):
7121 * emacs-lisp/package.el (package-menu-mode-map):
7122 * epa.el (epa-key-list-mode-map):
7123 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7124 (menu-bar-options-menu):
7125 * outline.el (outline-mode-menu-bar-map):
7126 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7127 * vc/vc-dir.el (vc-dir-menu-map):
7128 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7129 Capitalize non-function content words in menu item strings.
7130
7131 * dired.el (dired-mode-map): Add menu item for
7132 `image-dired-dired-toggle-marked-thumbs'.
7133
80302a81
JL
71342011-09-18 Juri Linkov <juri@jurta.org>
7135
7136 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7137 to `isearch-case-fold-search' and restore its original value
7138 after the `isearch-mode' call.
7139
46c5cf66
JL
71402011-09-18 Juri Linkov <juri@jurta.org>
7141
7142 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7143 because `zgrep' returns 1 for successful matches (bug#9226).
7144
d18b513b
JL
71452011-09-18 Juri Linkov <juri@jurta.org>
7146
7147 * info.el (Info-extract-menu-node-name): Check the second match
7148 for empty string (second test-case of bug#9528).
7149 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7150 intermediate nodes to the history (first test-case of bug#9528).
7151
72753f87
JL
71522011-09-18 Juri Linkov <juri@jurta.org>
7153
7154 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7155 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7156
c9384295
JL
71572011-09-18 Juri Linkov <juri@jurta.org>
7158
1154d12e
JB
7159 * info.el (Info-file-supports-index-cookies):
7160 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7161 outputs one more line for long file names (bug#4142).
c9384295 7162
d473dce8
CY
71632011-09-18 Chong Yidong <cyd@stupidchicken.com>
7164
7165 * newcomment.el (comment-normalize-vars): If prompting for
7166 comment-start, set comment-start-skip too (Bug#8424).
7167
2176854d
JB
71682011-09-18 Johan Bockgård <bojohan@gnu.org>
7169
7170 * icomplete.el: Fix previous fix of Bug#5849.
7171 (icomplete-mode): Don't set completion-show-inline-help.
7172 (icomplete-minibuffer-setup): Set completion-show-inline-help
7173 locally during icompletion.
7174
3aace4e4
CY
71752011-09-18 Chong Yidong <cyd@stupidchicken.com>
7176
c940224f
CY
7177 * woman.el (woman2-process-escapes): Don't delete unrecognized
7178 escapes (Bug#7843).
7179
3aace4e4
CY
7180 * files.el (inhibit-first-line-modes-regexps): Add image files.
7181 (hack-local-variables-prop-line): Return nil for malformed
7182 prop-lines (Bug#9044).
7183
710dec63
MA
71842011-09-18 Michael Albinus <michael.albinus@gmx.de>
7185
7186 * net/tramp.el (top): Don't require 'shell.
7187 (tramp-methods): Fix docstring.
7188 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7189 Return complete remote file name. Handle "smb" case.
7190 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7191 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7192
7193 * net/tramp-compat.el (top): Require 'shell.
7194
7195 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7196 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7197 `tramp-current-host'.
7198 (tramp-get-remote-tmpdir): Remove.
7199
7200 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7201 `tramp-tmpdir' entries.
7202 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7203 (tramp-smb-handle-file-attributes): Ignore errors.
7204 (tramp-smb-wait-for-output): Check also for process end.
7205
5d5ac8ec
LMI
72062011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7207
7208 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7209 when sending QUIT (bug#9312).
7210
8c0f49f0
CY
72112011-09-17 Chong Yidong <cyd@stupidchicken.com>
7212
7213 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7214 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7215 occur-mode-display-occurrence.
7216 (occur-edit-mode): Add usage message.
7217 (occur-cease-edit): New command.
7218 (occur-after-change-function): Use text properties to find the
7219 position of the prefix text.
7220 (occur-engine): Set stickiness of prefix text properties.
7221
8f1383f7
GM
72222011-09-17 Glenn Morris <rgm@gnu.org>
7223
7224 * progmodes/etags.el (complete-tag):
7225 Fix call to completion-in-region. (Bug#9526)
7226
744ba0e3
JL
72272011-09-17 Juri Linkov <juri@jurta.org>
7228
7229 * textmodes/ispell.el (ispell-word): Add to the error message
7230 the word, ispell program name and current dictionary (bug#9121).
7231 (ispell-tex-arg-end): Capitalize "error" in the error message.
7232
d9bbf400
AS
72332011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7234
7235 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7236 check. (Bug#4251)
7237
8da11505
JL
72382011-09-17 Juri Linkov <juri@jurta.org>
7239
7240 * window.el (window-safe-min-height, window-safe-min-width):
7241 Fix typos (followup to bug#9522).
7242
a91adc7e
SJ
72432011-09-17 Sven Joachim <svenjoac@gmx.de>
7244
7245 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7246
064f328a
EZ
72472011-09-16 Eli Zaretskii <eliz@gnu.org>
7248
7249 * simple.el (line-move): If goal-column is set, move by logical
7250 lines, not by display lines. (Bug#971)
7251 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7252 to reflect the above change.
7253
e69df516
SM
72542011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7255
7256 * image.el (imagemagick-register-types): Use regexp-opt.
7257
cbb0f9ab
CY
72582011-09-15 Chong Yidong <cyd@stupidchicken.com>
7259
7260 * window.el (display-buffer-base-action): Rename from
7261 display-buffer-default-action. Make default value empty.
7262 (display-buffer-overriding-action): Convert to defvar.
7263 (display-buffer-fallback-action): New var.
7264
25322144
CY
72652011-09-15 Chong Yidong <cyd@stupidchicken.com>
7266
7267 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7268 declaration.
7269 (package--add-to-archive-contents): If there is a duplicate entry
7270 with an older version, remove it.
7271 (package-menu-mark-delete, package-menu-mark-install)
7272 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7273 (package-menu-mark-obsolete-for-deletion):
7274 Use package-menu-get-status instead of a regexp search.
25322144
CY
7275 (package-menu-get-status): Use tabulated-list-entry.
7276 (package-menu-mark-upgrades): New command.
d770725a 7277 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7278 (package-menu-execute): Do installation before deletion.
7279 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7280 instead of checking major-mode.
7281 (package-menu--find-upgrades): New function.
7282
7520339c
LMI
72832011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7284
7285 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7286 passwords in the log buffer.
65a046c4
LMI
7287 (smtpmail-process-filter): Update the process marker so that the
7288 "broken by peer" status message is inserted in the right place.
7520339c 7289
d3c30954
SM
72902011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7291
3fe48822
SM
7292 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7293 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7294 bibtex-completion-at-point-function.
7295 (bibtex-completion-at-point-function): Use them.
7296
1b8b3954
SM
7297 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7298
d3c30954
SM
7299 * mpc.el (mpc-constraints-tag-lookup): New function.
7300 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7301 also to browser "album|playlist".
7302
72779976
JL
73032011-09-14 Juri Linkov <juri@jurta.org>
7304
7305 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7306 (isearch-edit-string): Use length of `isearch-string' when
7307 `isearch-fail-pos' returns nil.
7308 (isearch-message): Remove duplicate code and call
7309 `isearch-fail-pos' with arg `t'.
7310
a0bf2bcd
CY
73112011-09-14 Chong Yidong <cyd@stupidchicken.com>
7312
17bb0a2d
CY
7313 * replace.el (occur-mode-goto-occurrence): Don't force using other
7314 window (Bug#9499).
7315
a0bf2bcd
CY
7316 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7317
f678e0b6
MR
73182011-09-14 Martin Rudalics <rudalics@gmx.at>
7319
7320 * window.el (display-buffer-window): Remove.
7321 (display-buffer-record-window): Use help-setup window parameter
7322 instead of variable display-buffer-window.
7323 (display-buffer-function, special-display-buffer-names)
7324 (special-display-function): Mention help-setup parameter instead
7325 of display-buffer-window in doc-string.
d3c30954
SM
7326 * help.el (help-window-setup): New argument help-window.
7327 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7328 Reword some messages.
7329 (with-help-window): Pass window used for displaying the buffer
7330 to help-window-setup. Don't set display-buffer-window.
7331
8e39b2e8
GM
73322011-09-13 Glenn Morris <rgm@gnu.org>
7333
7334 * emacs-lisp/debug.el (debugger-make-xrefs):
7335 Preserve point. (Bug#9462)
7336
85e9c04b
CY
73372011-09-13 Chong Yidong <cyd@stupidchicken.com>
7338
7339 * window.el (window-deletable-p): Use next-frame.
7340
1b36ed6a
MR
73412011-09-13 Martin Rudalics <rudalics@gmx.at>
7342
7343 * window.el (window-auto-delete): Remove.
7344 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7345 dedication and previous buffers.
1b36ed6a
MR
7346 (switch-to-prev-buffer): Don't delete window.
7347 (delete-windows-on): Delete a window's frame if and only if the
7348 window is dedicated.
7349 (replace-buffer-in-windows): Delete buffer's window or frame if
7350 and only if window is dedicated.
7351 (quit-window): Handle quit-restore as before last change.
4d61f28d 7352 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7353
ef8ef9fb
CY
73542011-09-13 Chong Yidong <cyd@stupidchicken.com>
7355
7356 * window.el (window-deletable-p): Never delete the last frame on a
7357 given terminal.
7358
b2cba41e
GM
73592011-09-13 Glenn Morris <rgm@gnu.org>
7360
7361 * help.el (describe-key-briefly): Copy previous standard-output change.
7362
51553db6 73632011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7364
7365 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7366
b7556719
GM
73672011-09-13 Glenn Morris <rgm@gnu.org>
7368
7369 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7370 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7371
64b51947
CY
73722011-09-12 Chong Yidong <cyd@stupidchicken.com>
7373
7374 * dired-aux.el (dired-mark-read-string): Don't return default
7375 value on empty input (Bug#9361).
7376 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7377 Omit initial minibuffer contents.
7378 (dired-do-chmod): Signal an error on empty input.
7379 (dired-mark-read-string): Don't return default on empty input.
7380
7381 * files.el (file-modes-symbolic-to-number): Doc fix.
7382
393a301e
SM
73832011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * international/mule-cmds.el (ucs-completions): Remove.
7386 (read-char-by-name): Use complete-with-action instead; add metadata.
7387
fa5660f9
CY
73882011-09-11 Chong Yidong <cyd@stupidchicken.com>
7389
7390 * window.el (display-buffer--action-function-custom-type)
7391 (display-buffer--action-custom-type): New vars.
7392 (display-buffer-alist, display-buffer-default-action)
7393 (display-buffer-overriding-action): Add defcustom types.
7394
4a592f66
CY
7395 * frame.el (delete-other-frames): Doc fix (Bug#276).
7396
73d56dbd
LMI
73972011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7398
7399 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7400
37ac18a3
CY
74012011-09-11 Chong Yidong <cyd@stupidchicken.com>
7402
7403 Change modes that used same-window-* vars to use switch-to-buffer.
7404
7405 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7406 Use switch-to-buffer.
7407
7408 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7409 (customize-browse, custom-buffer-create-other-window):
7410 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7411
7412 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7413 (Info-prev, Info-up, Info-speedbar-goto-node)
7414 (info-display-manual): Use switch-to-buffer.
7415 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7416
7417 * mail/sendmail.el (mail): Use switch-to-buffer.
7418 (mail-recover): Use switch-to-buffer-other-window.
7419
7420 * cmuscheme.el (run-scheme, switch-to-scheme):
7421 * ielm.el (ielm):
7422 * shell.el (shell):
7423 * net/rlogin.el (rlogin):
7424 * net/telnet.el (telnet, rsh):
7425 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7426
10195bd6
AS
74272011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7428
7429 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7430
b322f63a
LMI
74312011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7432
39d7fed6
LMI
7433 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7434 so don't mention it (bug#9301).
ba5a81f1 7435 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7436
ee0e9f11
LMI
7437 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7438 match `x', `w32' and `ns', like the manual says (bug#9029).
7439
0b1c89c1 7440 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7441 (process-kill-buffer-query-function): Mention the buffer name in
7442 the query.
0b1c89c1 7443
77549ea8
LMI
7444 * image-mode.el (image-next-line): The line parameter is mandatory
7445 (bug#9258).
7446
803ef892
LMI
7447 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7448 which can be useful (bug#9301).
7449
12980837
LMI
7450 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7451
91054f8f
LMI
7452 * subr.el (match-string): Mention that the current buffer should
7453 be the same as the search was done in (bug#9282).
7454
b322f63a
LMI
7455 * facemenu.el: Disable the remove-* commands if the mark isn't
7456 active (bug#9162).
7457
3199b96f
CY
74582011-09-10 Chong Yidong <cyd@stupidchicken.com>
7459
7460 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7461 of display-buffer.
7462 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7463
7464 * replace.el (occur-mode-goto-occurrence)
7465 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7466 and display-buffer.
7467
7468 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7469 display-buffer.
7470
7471 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7472 special-display and same-window variables.
7473 (mail-other-window): Use switch-to-buffer-other-window.
7474 (mail-other-frame): USe switch-to-buffer-other-frame.
7475
393a301e
SM
7476 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7477 Use display-buffer-other-frame.
3199b96f
CY
7478 (gdb-display-gdb-buffer): Use pop-to-buffer.
7479
7480 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7481
7482 * progmodes/python.el: Don't set same-window-buffer-names.
7483
7484 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7485
7486 * window.el (display-buffer-alist): Add *Python*.
7487
8319e0bf
CY
74882011-09-10 Chong Yidong <cyd@stupidchicken.com>
7489
7490 * window.el (display-buffer-alist): Add entry for buffers
7491 previously handled same-window-*.
7492 (display-buffer-alist, display-buffer-default-action)
7493 (display-buffer-overriding-action): Mark as risky.
7494 (display-buffer-alist): Document action function changes.
7495 (display-buffer--same-window-action)
7496 (display-buffer--other-frame-action): New variables.
7497 (switch-to-buffer, display-buffer-other-frame): Use them.
7498 (display-buffer): Rename reuse-frame entry to reusable-frames.
7499 (display-buffer-reuse-selected-window): Function deleted.
7500 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7501 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7502 (display-buffer-special): New function.
7503 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7504 display-buffer-reuse-or-pop-window. Split off special-display
7505 part into display-buffer-special.
7506 (display-buffer-use-some-window): Don't perform any special
7507 pop-up-frames handling.
7508 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7509 (display-buffer--maybe-same-window): Rename from
0d3ff375 7510 display-buffer-maybe-same-window.
8319e0bf 7511
919a69aa
CY
7512 * info.el: Don't set same-window-regexps.
7513 (info-setup): New function.
7514 (info-other-window, info): Call it.
7515
7516 * cus-edit.el: Don't set same-window-regexps.
7517 (customize-group): New argument.
7518 (customize-group-other-window): Use it.
7519 (customize-face, customize-face-other-window): Likewise.
7520 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7521
8319e0bf
CY
7522 * net/rlogin.el:
7523 * net/telnet.el:
7524 * progmodes/gud.el: Don't set same-window-regexps.
7525
7526 * cmuscheme.el:
7527 * ielm.el:
7528 * shell.el:
7529 * mail/sendmail.el:
7530 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7531
25173000
JL
75322011-09-10 Juri Linkov <juri@jurta.org>
7533
7534 * isearch.el (isearch-edit-string): Remove obsolete mention of
7535 `C-w' (`isearch-yank-word-or-char') from docstring.
7536 (isearch-query-replace): Fix typo in docstring (bug#9466).
7537
056e44ef
JL
75382011-09-10 Juri Linkov <juri@jurta.org>
7539
7540 * paren.el (show-paren-function): Don't show escaped parens.
7541 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7542
c3760c17
EZ
75432011-09-10 Eli Zaretskii <eliz@gnu.org>
7544
7545 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7546 (mm-default-file-encoding): Remove autoload forms, they are
7547 replaced with autoload cookies in mml.el and mm-encode.el.
7548 (mail-add-attachment): New command.
7549 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7550 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7551 the doc string.
7552 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7553
fece895e
RT
75542011-09-10 Reuben Thomas <rrt@sc3d.org>
7555
e69df516
SM
7556 * simple.el (count-words-region): Use buffer if there's no region
7557 (bug#9429).
fece895e 7558
5e68ce4a
JL
75592011-09-09 Juri Linkov <juri@jurta.org>
7560
7561 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7562 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7563 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7564
0a6b9622
AM
75652011-09-09 Alan Mackenzie <acm@muc.de>
7566
7567 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7568 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7569
14a29deb
EZ
75702011-09-09 Eli Zaretskii <eliz@gnu.org>
7571
7572 Fix for Savannah bug#9392.
7573 * simple.el (mail-encode-mml): New defvar.
7574
7575 * mail/rmail.el (mail-encode-mml): Add a defvar.
7576 (rmail-enable-mime-composing): Default to t.
7577 (rmail-forward): Use MIME method of forwarding only if both
7578 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7579 Set mail-encode-mml non-nil if the MIME method was used.
7580
7581 * mail/sendmail.el (mml-to-mime): Add autoload form.
7582 (mail-encode-mml): Add a defvar.
7583 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7584 to nil.
7585 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7586 message through mml-to-mime, and reset mail-encode-mml to nil.
7587
28c45130
GM
75882011-09-09 Glenn Morris <rgm@gnu.org>
7589
7590 * woman.el (woman-if-body): When processing an .el block,
7591 do not delete the next .el block as well. (Bug#9447)
69f4b618 7592 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7593
9b1c252e
MR
75942011-09-08 Martin Rudalics <rudalics@gmx.at>
7595
7596 * window.el (window-deletable-p): Make sure window is live before
7597 invoking window-prev-buffers.
7598
567457e3
LL
75992011-09-08 Leo Liu <sdl.web@gmail.com>
7600
7601 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7602
97f05794
JL
76032011-09-08 Juri Linkov <juri@jurta.org>
7604
7605 * progmodes/compile.el (compilation-environment): Make it
7606 a defcustom (bug#8340).
7607
8b0874b5
MR
76082011-09-08 Martin Rudalics <rudalics@gmx.at>
7609
7610 * window.el (frame-auto-delete): Rename to window-auto-delete.
7611 Make it control auto-deletion of windows and/or frames.
7612 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7613 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7614 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7615 Rewrite handling of case when window/frame can be deleted.
7616 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7617 argument t. (Bug#9456)
8b0874b5 7618
4feb6e73
CY
76192011-09-07 Chong Yidong <cyd@stupidchicken.com>
7620
7621 * help-mode.el (help-mode): Restore autoload.
7622
91ab9c13
JL
76232011-09-07 Juri Linkov <juri@jurta.org>
7624
7625 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7626 `compilation-environment'. Set buffer-local
7627 `compilation-environment' to `thisenv' later after (funcall mode).
7628 (Bug#8340)
7629
7630 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7631 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7632 instead of replacing its value. (Bug#8340)
7633
0527e251
JL
76342011-09-07 Juri Linkov <juri@jurta.org>
7635
7636 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7637 based on text properties put by `grep-filter' instead of matching
7638 escape sequences.
7639 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7640 to the value of `grep-error-screen-columns' (bug#9438).
7641
249f792c
JL
76422011-09-07 Juri Linkov <juri@jurta.org>
7643
7644 * simple.el (next-error-highlight, next-error-highlight-no-select):
7645 Doc fix (bug#9432).
7646
ff7271b9
OT
76472011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7648
7649 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7650 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7651
183fc730
LL
76522011-09-07 Leo Liu <sdl.web@gmail.com>
7653
7654 * net/rcirc.el (rcirc-mode): Conditionally initialize
7655 rcirc-input-ring.
7656
77694924
SM
76572011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * emacs-lisp/find-func.el (find-function-C-source): Only set
7660 find-function-C-source-directory after checking that we found a source
7661 file there (bug#9440).
7662
d809b8eb
AM
76632011-09-06 Alan Mackenzie <acm@muc.de>
7664
7665 * isearch.el (isearch-other-meta-char): Wherever a key list is
7666 unread, "unread" the prefix arg, too. This fixes bug #8901.
7667
453de99f
OG
76682011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7669
7670 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7671
90439906
JL
76722011-09-05 Juri Linkov <juri@jurta.org>
7673
7674 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7675
f62bd846
JL
76762011-09-05 Juri Linkov <juri@jurta.org>
7677
7678 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7679 keeping point where processing of grep matches begins, and
7680 continue to delete remaining escape sequences from the same point.
7681 (grep-filter): Make leading zero optional in "0?1;31m" because
7682 git-grep emits "\033[1;31m" escape sequences unlike expected
7683 "\033[01;31m" as GNU Grep does (bug#9408).
7684 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7685
045820ec
JL
76862011-09-05 Juri Linkov <juri@jurta.org>
7687
7688 * subr.el (y-or-n-p): Capitalize "yes".
7689
f5e29b9b
MA
76902011-09-04 Michael Albinus <michael.albinus@gmx.de>
7691
7692 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7693 `tramp-cache-unload-hook' where appropriate.
7694 (tramp-methods): Rename `tramp-remote-sh' to
7695 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7696 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7697
7698 * net/tramp-sh.el (top): Don't require 'shell.
7699 (tramp-methods): Add `tramp-remote-shell' and
7700 `tramp-remote-shell-args' entries.
7701 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7702 (tramp-sh-handle-shell-command): Remove.
7703 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7704 Use `tramp-remote-shell'.
7705
2784c434
CY
77062011-09-03 Chong Yidong <cyd@stupidchicken.com>
7707
393a301e 7708 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7709 (sendmail-query-once): Save directly to send-mail-function.
7710 Update message-send-mail-function too.
7711
7712 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7713
464cdf56
CS
77142011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7715
7716 * progmodes/python.el (python-mode-map): Use correct function to
7717 start python interpreter from menu-bar (as reported by Geert
7718 Kloosterman).
7719 (inferior-python-mode-map): Fix typo.
393a301e 7720 (python-shell-map): Remove.
464cdf56 7721
d37e5c87
DD
77222011-09-03 Deniz Dogan <deniz@dogan.se>
7723
7724 * net/rcirc.el (rcirc-print): Simplify code for
7725 rcirc-scroll-show-maximum-output. There is no need to walk
7726 through all windows to find the right one.
7727
f3ada0ee
CS
77282011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7729
7730 * help.el (help-return-method): Doc fix.
7731
1f3c99ca
MR
77322011-09-03 Martin Rudalics <rudalics@gmx.at>
7733
7734 * window.el (window-deletable-p): Don't return a non-nil value
7735 when there's a buffer that was shown in the window before.
7736 (Bug#9419)
393a301e
SM
7737 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7738 Set window's previous buffers to nil.
1f3c99ca 7739
a3cf097f
EZ
77402011-09-03 Eli Zaretskii <eliz@gnu.org>
7741
7742 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7743 newline before and after the tag line, so it doesn't interfere
7744 with determining the paragraph direction of bidirectional text.
7745
3d03de90
LL
77462011-09-03 Leo Liu <sdl.web@gmail.com>
7747
7748 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7749
c3313451
CY
77502011-09-02 Chong Yidong <cyd@stupidchicken.com>
7751
393a301e 7752 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7753 (pop-to-buffer): Change interactive spec. Pass second argument
7754 directly to display-buffer.
7755 (display-buffer): Fix interactive spec. Use functionp to
7756 distinguish between a function and a list of functions.
7757
7758 * abbrev.el (edit-abbrevs):
7759 * arc-mode.el (archive-extract):
7760 * autoinsert.el (auto-insert):
7761 * bookmark.el (bookmark-bmenu-list):
7762 * files.el (find-file):
7763 * view.el (view-buffer):
7764 * progmodes/compile.el (compilation-goto-locus):
7765 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7766
89894cd8
CY
77672011-09-02 Chong Yidong <cyd@stupidchicken.com>
7768
7769 * window.el (display-buffer-alist): Doc fix.
7770 (display-buffer): Add docstring. Don't treat
7771 display-buffer-default specially.
7772 (display-buffer-reuse-selected-window)
7773 (display-buffer-same-window, display-buffer-maybe-same-window)
7774 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7775 (display-buffer-pop-up-window)
7776 (display-buffer-reuse-or-pop-window)
7777 (display-buffer-use-some-window): New functions.
7778 (display-buffer-default-action): Use them.
393a301e 7779 (display-buffer-default): Delete.
89894cd8
CY
7780 (pop-to-buffer-1): Fix choice of actions.
7781
ae0bc9fb
SM
77822011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7783
7784 * minibuffer.el (completion--insert-strings): Don't get confused by
7785 completion entries that end with an LF char.
7786
e9d90883
EZ
77872011-09-01 Eli Zaretskii <eliz@gnu.org>
7788
7789 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7790
437014c8
CY
77912011-09-01 Chong Yidong <cyd@stupidchicken.com>
7792
7793 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7794 (display-buffer-same-window, display-buffer-other-window):
7795 New functions.
437014c8
CY
7796 (pop-to-buffer-1): New function. Use the above.
7797 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7798 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7799
7800 * view.el (view-buffer-other-window, view-buffer-other-frame):
7801 Just use pop-to-buffer.
7802
a5e063d5
TV
78032011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7804
7805 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7806
793d32bb
WH
78072011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7808
7809 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7810
d65e4c15
RS
78112011-08-31 Richard Stallman <rms@gnu.org>
7812
7813 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7814 of the separation of rmail-view-buffer from rmail-buffer.
7815 If you say no to "replace original", the decrypt is in the
7816 view buffer. If you say yes, the decrypt goes into the
7817 rmail buffer also.
7818
f818cd2a
MR
78192011-08-31 Martin Rudalics <rudalics@gmx.at>
7820
7821 * window.el (display-buffer-window): Rewrite doc-string.
7822 (display-buffer-record-window): New function.
7823 (display-buffer-macro-specifiers)
7824 (display-buffer-even-window-sizes, display-buffer-set-height)
7825 (display-buffer-set-width, display-buffer-in-window)
7826 (display-buffer-reuse-window, display-buffer-split-specifiers)
7827 (display-buffer-side-specifiers, display-buffer-split-window-1)
7828 (display-buffer-split-window, display-buffer-split-atom-window)
7829 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7830 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7831 (display-buffer-other-window-means-other-frame)
7832 (display-buffer-normalize-special)
7833 (display-buffer-normalize-default)
7834 (display-buffer-normalize-argument)
7835 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7836 (display-buffer-normalize-specifiers, display-buffer-frame)
7837 (display-buffer-same-window, display-buffer-same-frame)
7838 (display-buffer-other-window)
7839 (display-buffer-same-frame-other-window)
7840 (display-buffer-other-frame, pop-to-buffer-same-window)
7841 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7842 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7843 (switch-to-buffer-same-frame)
7844 (switch-to-buffer-other-window-same-frame)
7845 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7846 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7847 (display-buffer-alist-set): Remove.
7848 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7849 (special-display-regexps, special-display-function):
7850 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7851 parameter.
7852 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7853 (special-display-frame-alist, special-display-popup-frame)
7854 (same-window-buffer-names, same-window-regexps, same-window-p)
7855 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7856 (split-window-preferred-function, split-height-threshold)
7857 (split-width-threshold, window-splittable-p)
7858 (split-window-sensibly, window--try-to-split-window)
7859 (window--frame-usable-p, even-window-heights)
7860 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7861 (window--display-buffer-2, display-buffer-other-frame):
7862 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7863 (display-buffer-default, display-buffer-assq-regexp): New functions.
7864 (display-buffer-alist): Rewrite doc-string.
7865 (display-buffer-default-action)
7866 (display-buffer-overriding-action): New variables.
7867 (display-buffer, switch-to-buffer): Rewrite.
7868 (pop-to-buffer): Restore Emacs 23 behavior but use
7869 window-normalize-buffer-to-display.
7870 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7871 Restore Emacs 23 behavior but use
7872 window-normalize-buffer-to-switch-to.
7873 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7874 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7875 Rewrite using Emacs 23 options.
f818cd2a 7876
5bc3b51d
MA
78772011-08-31 Michael Albinus <michael.albinus@gmx.de>
7878
7879 * net/tramp.el (tramp-root-regexp): Remove.
7880 (tramp-completion-file-name-regexp-unified)
7881 (tramp-completion-file-name-regexp-separate)
7882 (tramp-completion-file-name-regexp-url): Don't use leading volume
7883 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7884 (tramp-drop-volume-letter): Simplify definition.
7885 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7886
b1a4f8e1
SM
78872011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7890 (bug#9356).
7891
5664fa7b
RT
78922011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7893
b1a4f8e1 7894 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7895
9a45d6c3
JL
78962011-08-29 Juri Linkov <juri@jurta.org>
7897
7898 * isearch.el (isearch-done): Don't display message "Mark saved"
7899 when arg `edit' is non-nil to prevent its flicker in the echo area.
7900
fb87e0fb
CY
79012011-08-28 Chong Yidong <cyd@stupidchicken.com>
7902
7903 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7904 obsolete packages for deletion.
7905
09ac1c2a
CS
79062011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7907
7908 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7909 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7910 view-mode from help-mode.
7911 (help-xref-override-view-map): Remove.
7912 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7913 view-mode is not used anymore.
7914
7a1ff57f
CY
79152011-08-28 Chong Yidong <cyd@stupidchicken.com>
7916
7917 * server.el (server-port): Doc fix.
7918
b9696605
CY
7919 * cus-theme.el (custom-theme-choose-mode): Inherit from
7920 special-mode (Bug#9124).
7921 (custom-theme-choose-mode-map): Add special-mode to parent.
7922
ef8cdf8c
AM
79232011-08-28 Alan Mackenzie <acm@muc.de>
7924
7925 * progmodes/cc-fonts.el
7926 (c-make-font-lock-BO-decl-search-function): New function.
7927 (c-basic-matchers-after - "Fontify the clauses after various
7928 keywords"): Extract the three keyword lists for the 3 erroneous
7929 constructs from the list of four, and use the new function above
7930 in place of an old one.
7931
27de4e20
DD
79322011-08-28 Deniz Dogan <deniz@dogan.se>
7933
7934 * net/rcirc.el (rcirc-insert-prev-input)
7935 (rcirc-insert-next-input): Remove unused argument.
7936
356a3681
SM
79372011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7940
3fc9b218
AM
79412011-08-27 Alan Mackenzie <acm@muc.de>
7942
7943 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7944 handle function pointer parameters properly.
7945
538a061c
MR
79462011-08-27 Martin Rudalics <rudalics@gmx.at>
7947
7948 * window.el (display-buffer-reuse-window): Fix case where
7949 selected window was reused with non-nil OTHER-WINDOW argument.
7950 (Bug#9381)
7951
35b1c40c
DD
79522011-08-27 Deniz Dogan <deniz@dogan.se>
7953
7954 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7955 oftc's NickServ messages.
7956
2f6a3e79
GM
79572011-08-27 Glenn Morris <rgm@gnu.org>
7958
7959 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7960
7254299e
CY
79612011-08-26 Chong Yidong <cyd@stupidchicken.com>
7962
7963 * emacs-lisp/package.el (package-install): Call package-initialize
7964 if called interactively.
7965
f8ccf167
LL
79662011-08-26 Leo Liu <sdl.web@gmail.com>
7967
7968 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7969
3e8cd5ce
JL
79702011-08-25 Juri Linkov <juri@jurta.org>
7971
7972 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7973 `search-whitespace-regexp' (bug#9364).
7974
93eb7113
JL
79752011-08-25 Juri Linkov <juri@jurta.org>
7976
7977 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7978 `regexp-search-ring' to their global values to protect from
7979 updating by `read-from-minibuffer' (bug#9185).
7980
f65d1611
JL
79812011-08-25 Juri Linkov <juri@jurta.org>
7982
7983 * textmodes/ispell.el (ispell-command-loop): Add newline
7984 at the end of the "Use option `i'..." line.
7985
f1cf7a31
JL
79862011-08-25 Juri Linkov <juri@jurta.org>
7987
7988 * battery.el (display-battery-mode): If `battery-status-function'
7989 or `battery-mode-line-format' is nil, display the message and set
7990 `display-battery-mode' to nil (bug#9363).
7991
0c95fcf7
EZ
79922011-08-25 Eli Zaretskii <eliz@gnu.org>
7993
7994 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7995 bidi-string-mark-left-to-right; they are unnecessary now.
7996
a2ebe600
DD
79972011-08-25 Deniz Dogan <deniz@dogan.se>
7998
7999 * net/quickurl.el: Documentation typo fixes.
8000
e4ed06f1
CY
80012011-08-25 Chong Yidong <cyd@stupidchicken.com>
8002
8003 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8004
e5f1c99e
GM
80052011-08-25 Glenn Morris <rgm@gnu.org>
8006
b2948976
GM
8007 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8008
e5f1c99e
GM
8009 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8010 (smtpmail-via-smtp): Handle nil response from smtp.
8011
f22f4808
JL
80122011-08-24 Juri Linkov <juri@jurta.org>
8013
8014 * proced.el (proced-marked): Inherit from `error' instead of
8015 `font-lock-warning-face'.
8016
8017 * ibuffer.el (ibuffer-marked-face): Change default face from
8018 `font-lock-warning-face' to `warning'.
8019 (ibuffer-deletion-face): Change default face from
8020 `font-lock-type-face' to `error'.
8021
8022 * battery.el (battery-update): Use the face `error' instead of
8023 `font-lock-warning-face' (bug#6117).
8024
6a93965e
JL
80252011-08-24 Juri Linkov <juri@jurta.org>
8026
8027 * faces.el (success): Change face color from "Green3" to
8028 "ForestGreen" on light background (bug#9353).
8029
1ed43b09
CY
80302011-08-24 Chong Yidong <cyd@stupidchicken.com>
8031
5664fa7b
RT
8032 * window.el (quit-window): Rename from quit-restore-window.
8033 Use same arglist as old quit-window.
1ed43b09
CY
8034 (frame-auto-delete): Doc fix.
8035
8036 * view.el (view-mode-exit): Use quit-window.
8037
11dcdbb2
JL
80382011-08-24 Juri Linkov <juri@jurta.org>
8039
8040 * isearch.el (isearch-ring-adjust1): Start visiting previous
8041 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8042 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8043 for empty search string (when the last search string is reused
8044 automatically) to adjust the isearch ring to the last element and
8045 prepare the correct index for further M-p commands (bug#9185).
8046
de62b4df
KH
80472011-08-24 Kenichi Handa <handa@m17n.org>
8048
8049 * international/ucs-normalize.el: If decomposition property of
8050 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8051 nil.
8052 (nfd, nfkd): Likewise.
8053
963b492b
SM
80542011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8057 from process filters aren't reliably transmitted to the surrounding
8058 accept-process-output.
8059 (mpc-proc-check): New function.
8060 (mpc-proc-sync): Use it (bug#8293)
8061
93b6b5e1
SM
80622011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8065 Add compatibility functions (bug#9313).
8066
bca633fb
EZ
80672011-08-23 Eli Zaretskii <eliz@gnu.org>
8068
b177498a
EZ
8069 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8070
6df6ae42 8071 * international/uni-bidi.el: Regenerate.
bca633fb 8072
0902a04e
KH
80732011-08-23 Kenichi Handa <handa@m17n.org>
8074
8075 * international/charprop.el:
8076 * international/uni-bidi.el:
8077 * international/uni-category.el:
8078 * international/uni-combining.el:
8079 * international/uni-comment.el:
8080 * international/uni-decimal.el:
8081 * international/uni-decomposition.el:
8082 * international/uni-digit.el:
8083 * international/uni-lowercase.el:
8084 * international/uni-mirrored.el:
8085 * international/uni-name.el:
8086 * international/uni-numeric.el:
8087 * international/uni-old-name.el:
8088 * international/uni-titlecase.el:
8089 * international/uni-uppercase.el: Regenerate.
8090
3bbf23bc
MR
80912011-08-23 Martin Rudalics <rudalics@gmx.at>
8092
8093 * help.el (help-window-setup): Fix message displayed when other
8094 window is reused. (Bug#9341)
8095
b3fd59bd
SM
80962011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8097
1802e444
SM
8098 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8099 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8100
b3fd59bd
SM
8101 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8102 Mark obsolete.
8103 * shell.el (shell-parse-pcomplete-arguments): New function.
8104 (shell-completion-vars): Use it instead (bug#9160).
8105
4eb61348
SM
81062011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8107
867cab74
SM
8108 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8109 strings and comments (bug#9333).
8110
4eb61348
SM
8111 * emacs-lisp/debug.el (debug-arglist): New function.
8112 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8113 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8114
262a1439
JL
81152011-08-22 Juri Linkov <juri@jurta.org>
8116
56ee679c
JL
8117 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8118 Revert regexp that highlights output switches to its old
8119 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8120
262a1439
JL
8121 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8122 to check for empty output (bug#9226).
8123
f13f86fb
CY
81242011-08-22 Chong Yidong <cyd@stupidchicken.com>
8125
8126 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8127 symbol-constituent as the default, as that stops font-lock from
8128 working properly (Bug#8843).
8129
c65c9622
LMI
81302011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8131
8132 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8133 `coding-system-for-*' around the process open call to avoid
8134 auth-source side effects.
e7f2c178 8135 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8136 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8137 probe hangs.
c65c9622 8138
23a8a5ab
CY
81392011-08-21 Chong Yidong <cyd@stupidchicken.com>
8140
ff98b2dd
CY
8141 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8142
23a8a5ab
CY
8143 * emacs-lisp/find-func.el (find-function-noselect): New arg
8144 lisp-only.
8145
8146 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8147 signal an error for built-in functions (Bug#6664).
8148
f5e3c598
LMI
81492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8150
8151 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8152 (smtpmail-try-auth-methods): Use it.
8153
a3f2468a
CY
81542011-08-21 Chong Yidong <cyd@stupidchicken.com>
8155
2c34e8da
CY
8156 * font-lock.el (font-lock-fontify-region)
8157 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8158 (font-lock-default-unfontify-buffer)
8159 (font-lock-default-fontify-region)
8160 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8161
b3fd59bd
SM
8162 * progmodes/compile.el (compilation-error-properties):
8163 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8164 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8165 `ant' regexp.
ee31aabc 8166
a3f2468a
CY
8167 * net/browse-url.el (browse-url-firefox): Don't call
8168 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8169
8e999f70
GM
81702011-08-20 Glenn Morris <rgm@gnu.org>
8171
c21a496a
GM
8172 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8173
59ee0542
GM
8174 * tutorial.el (tutorial--default-keys): Update some default bindings.
8175
8e999f70
GM
8176 * files.el (hack-local-variables): Fully ignore case for "mode:".
8177
e3715033
AM
81782011-08-20 Alan Mackenzie <acm@muc.de>
8179
8180 Resolve invalid use of a regexp in regexp-opt.
8181
4d61f28d
JB
8182 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8183 detection for a java annotation.
e3715033 8184
4d61f28d 8185 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8186 detection for a java annotation.
8187
4d61f28d
JB
8188 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8189 handling for java.
e3715033
AM
8190 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8191
04ed2e9c
CY
81922011-08-20 Chong Yidong <cyd@stupidchicken.com>
8193
8194 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8195 (Bug#9274).
8196
826cee64
AM
81972011-08-20 Alan Mackenzie <acm@muc.de>
8198
58179cce 8199 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8200 such a construct. Mainly for when jit-lock etc. starts a chunk
8201 here.
8202
58179cce 8203 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8204 variable.
58179cce 8205 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8206 c-make-font-lock-search-function.
8207 (c-make-font-lock-search-function): Use the above function.
8208 (c-make-font-lock-context-search-function): New function.
8209 (c-cpp-matchers): Enhance the preprocessor expression case with
8210 the above function
8211 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8212 which takes an expression.
8213
8214 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8215
13009bd8
MR
82162011-08-20 Martin Rudalics <rudalics@gmx.at>
8217
8218 * window.el (display-buffer-reuse-window)
8219 (display-buffer-pop-up-window): Don't reuse or split a side
8220 window.
8221
9234ff7f
GM
82222011-08-19 Glenn Morris <rgm@gnu.org>
8223
8224 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8225 Downcase "Mode:". (Bug#9331)
9234ff7f 8226
f635daa1
CY
82272011-08-18 Chong Yidong <cyd@stupidchicken.com>
8228
8229 * international/characters.el: Add L and R categories.
8230
8231 * subr.el (bidi-string-mark-left-to-right): Rename from
8232 string-mark-left-to-right. Use category search.
8233
8234 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8235
bc987f8b
JL
82362011-08-18 Juri Linkov <juri@jurta.org>
8237
8238 * faces.el (error, warning, success): New faces with definitions
8239 copied from old default values of `font-lock-warning-face',
8240 `compilation-warning', `compilation-info' (bug#6117).
8241
8242 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8243
8244 * progmodes/compile.el (compilation-error): Inherit from `error'.
8245 (compilation-warning): Inherit from `warning'.
8246 (compilation-info): Inherit from `success'.
8247
8248 * dired.el (dired-marked): Inherit from `warning'.
8249 (dired-flagged): Inherit from `error'.
8250
57173b96
LMI
82512011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8252
3e79eb87
LMI
8253 * mail/smtpmail.el (auth-source): Require to avoid problems with
8254 binding variables (bug#9298). Also clean up some unused
8255 autoloads.
8256
b3fd59bd
SM
8257 * net/network-stream.el (network-stream-open-starttls):
8258 Support using starttls.el without using gnutls-cli.
57173b96 8259
02b404de
JL
82602011-08-17 Juri Linkov <juri@jurta.org>
8261
8262 * progmodes/grep.el (rgrep): Handle the case when
8263 `grep-find-command' is a cons cell (bug#9278).
8264
8c9177f2
MR
82652011-08-17 Martin Rudalics <rudalics@gmx.at>
8266
8267 * window.el (display-buffer-pop-up-frame): Run frame creation
8268 function with BUFFER current (as special-display-popup-frame
8269 does). Reported by Drew Adams.
8270
3644a0ab
DU
82712011-08-17 Daiki Ueno <ueno@unixuser.org>
8272
8273 * epa-mail.el: Simplify GnuPG group expansion using
8274 epg-expand-group.
8275 (epa-mail-group-alist, epa-mail-group-modtime)
8276 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8277 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8278 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8279 Remove.
8280
5e617bc2 82812011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8282
8283 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8284
9c4aeabf
AM
82852011-08-16 Alan Mackenzie <acm@muc.de>
8286
8287 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8288 Correct, to avoid the inside of macros.
8289
3a99bf64
RS
82902011-08-16 Richard Stallman <rms@gnu.org>
8291
04963aa8
RS
8292 * epa-mail.el: Handle GnuPG group definitions.
8293 (epa-mail-group-alist, epa-mail-group-modtime)
8294 (epa-mail-gnupg-conf-file): New variables.
8295 (epa-mail-parse-groups, epa-mail-sync-groups)
8296 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8297 (epa-mail-expand-recipients): New functions.
8298 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8299
177549d0
RS
8300 * mail/rmail.el (rmail-epa-decrypt): New command.
8301
fe38beef
RS
8302 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8303 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8304 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8305 (epa-decrypt-armor-in-region): Make error message clearer.
8306
934eacb9
SM
83072011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8308
8309 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8310 and "a2b" to "ab" for `prefix'.
8311
d024fb4e
CY
83122011-08-14 Chong Yidong <cyd@stupidchicken.com>
8313
8314 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8315 filter groups.
de148fee
CY
8316 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8317 Fourquet (Bug#8804).
d024fb4e 8318
62f1ca49
JB
83192011-08-12 Juanma Barranquero <lekktu@gmail.com>
8320
8321 * startup.el (argi): Declare as global variable (bug#9275).
8322
9ccaaa4b
CY
83232011-08-12 Chong Yidong <cyd@stupidchicken.com>
8324
8325 * subr.el (string-mark-left-to-right): Search the entire string
8326 for RTL script, not just the terminating character. Doc fix.
8327
a3dae87a
SM
83282011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8329
6cd18349
SM
8330 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8331 New function.
8332 (js--regexp-literal, js-syntax-propertize-function): Remove.
8333 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8334 (js-mode-map): Don't rebind electric keys.
8335 (js-insert-and-indent): Remove.
8336 (js-mode): Setup electric-layout and electric-indent instead.
8337
a3dae87a
SM
8338 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8339
9d5cb631
DU
83402011-08-12 Daiki Ueno <ueno@unixuser.org>
8341
8342 * epa.el (epa-progress-callback-function): Fix the logic of
8343 displaying progress.
8344 * epa-file.el (epa-file-insert-file-contents): Make progress
8345 display more user-friendly.
8346 (epa-file-write-region): Ditto.
8347
3e26a4a2
CY
83482011-08-10 Chong Yidong <cyd@stupidchicken.com>
8349
8350 * subr.el (string-mark-left-to-right): New function.
8351
8352 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8353 Use string-mark-left-to-right.
8354 (list-buffers-noselect): Caller changed.
8355
a3dae87a
SM
8356 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8357 Use string-mark-left-to-right.
3e26a4a2
CY
8358 (tabulated-list-print): Recenter after moving point.
8359
ac8cf6e6
JL
83602011-08-10 Juri Linkov <juri@jurta.org>
8361
8362 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8363 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8364 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8365
8d96c9a4
CY
83662011-08-09 Chong Yidong <cyd@stupidchicken.com>
8367
8368 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8369 (Bug#7554).
8370
7be1c708 83712011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8372
8373 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8374 character. (Bug#6594)
8375
37e11a63
CY
83762011-08-08 Chong Yidong <cyd@stupidchicken.com>
8377
839dde57
CY
8378 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8379 (image-dired--with-db-file): New macro.
8380 (image-dired-write-tags, image-dired-remove-tag)
8381 (image-dired-create-gallery-lists, image-dired-write-comments)
8382 (image-dired-get-comment, image-dired-mark-tagged-files)
8383 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8384 (image-dired-gallery-generate): Use insert-file-contents.
8385
37e11a63
CY
8386 * time.el (display-time-world-list, display-time-world-display):
8387 * time-stamp.el (time-stamp-string):
8388 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8389 set-time-zone-rule (Bug#7337).
8390
0b4946c4
DU
83912011-08-08 Daiki Ueno <ueno@unixuser.org>
8392
8393 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8394 (epg-error-to-string, epg-errors-to-string): New function.
8395 (epg-wait-for-completion): Reverse errors list.
8396 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8397 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8398 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8399 (epg-sign-keys, epg-generate-key-from-file)
8400 (epg-generate-key-from-string): Format errors by using
8401 epg-errors-to-string (bug#9255).
8402 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8403
75bfc667
JL
84042011-08-07 Juri Linkov <juri@jurta.org>
8405
8406 * faces.el (list-faces-display): Remove extra angle bracket
8407 from `help-mode-map'.
8408
8409 * info.el (Info-history-toc-nodes): Doc fix.
8410
8411 * longlines.el (longlines-mode): Doc fix.
8412
673e08bb
SM
84132011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8414
4640dd88
SM
8415 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8416 of statements and in a few more cases (bug#9183).
8417
673e08bb
SM
8418 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8419 New functions.
8420 (cl-transform-lambda): Use them (bug#9239).
8421
89b3f019
MR
84222011-08-05 Martin Rudalics <rudalics@gmx.at>
8423
8424 * window.el (display-buffer-same-window)
8425 (display-buffer-same-frame, display-buffer-other-window)
8426 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8427 (pop-to-buffer-other-window)
8428 (pop-to-buffer-same-frame-other-window)
8429 (pop-to-buffer-other-frame): Make them defuns.
8430 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8431
640c8776
SM
84322011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8433
8434 * subr.el (make-composed-keymap): Move from C. Change calling
8435 convention, and improve docstring to bring attention to a subtle point.
8436 * minibuffer.el (completing-read-default): Adjust accordingly.
8437
63648a95
MA
84382011-08-03 Michael Albinus <michael.albinus@gmx.de>
8439
8440 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8441 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8442
8443 * net/trampver.el: Update release number.
8444
b796c9b7
SM
84452011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8448 "in" (bug#9190).
8449
2239d7d5
LMI
84502011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8451
e07dd7c3
LMI
8452 * mail/sendmail.el (sendmail-query-once): Restore the current
8453 buffer after querying (bug#9074).
8454
0e6a2bd7
LMI
8455 * dired.el (dired-flagged): Use different faces for marked and
8456 flagged files (bug#6117).
8457
ce887515
LMI
8458 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8459 (bug#4433).
8460
92f2affc
LMI
8461 * ido.el (ido-mode): Switch off the message if called
8462 non-interactively.
8463
57d5aff0
LMI
8464 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8465 before 587, since it appears that that's more likely to work for
8466 more people.
8467
98cd6c18 8468 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8469 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8470 exist.
8471
b96dec83
LMI
8472 * info.el: Remove the `Info-beginning-of-buffer' function
8473 (bug#8325).
8474
b796c9b7
SM
8475 * net/network-stream.el (network-stream-open-starttls):
8476 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8477
d90e2ea0
MR
84782011-08-01 Martin Rudalics <rudalics@gmx.at>
8479
8480 * window.el (display-buffer-in-window): Don't set dedicated status
8481 of window here (Bug#9215).
8482 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8483 (display-buffer-pop-up-side-window)
b796c9b7 8484 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8485
cca09170
SM
84862011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8489 before binding generated-autoload-file.
8490
027b979c
DD
84912011-08-01 Deniz Dogan <deniz@dogan.se>
8492
8493 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8494
3c7ee4f3
MA
84952011-07-30 Michael Albinus <michael.albinus@gmx.de>
8496
8497 Sync with Tramp 2.2.2.
8498
8499 * net/trampver.el: Update release number.
8500
2cc8e51a
JL
85012011-07-30 Juri Linkov <juri@jurta.org>
8502
8503 * dired-aux.el (dired-touch-initial): Remove function.
8504 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8505 current time, and `default' to the last modification time of the
8506 current marked file (bug#6887).
8507
a514d856
JM
85082011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8509
8510 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8511 numeric argument to read-number (bug#9163).
a514d856 8512
8a7eddd7
MA
85132011-07-27 Michael Albinus <michael.albinus@gmx.de>
8514
8515 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8516 connection process, it could be nil.
8517
1ddd96f5
LL
85182011-07-27 Leo Liu <sdl.web@gmail.com>
8519
8520 Simplify url handling in rcirc-mode.
8521
8522 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8523 (rcirc-browse-url-at-mouse): Remove.
8524 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8525
b248a85d
AM
85262011-07-26 Alan Mackenzie <acm@muc.de>
8527
8528 Fontify bitfield declarations properly.
8529
8530 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8531 (c-symbol-chars): Now exported as a lang variable.
8532 (c-not-primitive-type-keywords): New lang variable.
8533
8534 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8535 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8536 parsed as a bitfield declaration.
b248a85d 8537
b796c9b7
SM
8538 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8539 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8540 (c-punctuation-in): New function.
8541 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8542 declarations properly.
8543
68575ab0
UJ
85442011-07-26 Ulf Jasper <ulf.jasper@web.de>
8545
8546 * calendar/icalendar.el (icalendar--all-events): Take care of
8547 multiple vcalendars in a single file.
b796c9b7 8548 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8549
0f0a88b9
DD
85502011-07-25 Deniz Dogan <deniz@dogan.se>
8551
8552 * image.el (insert-image): Clarifying docstring.
8553
0b3f36df
MA
85542011-07-24 Michael Albinus <michael.albinus@gmx.de>
8555
8556 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8557 `tramp-send-command-and-check' if there is no error.
8558 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8559
a9901f61
AM
85602011-07-22 Alan Mackenzie <acm@muc.de>
8561
8562 Prevent cc-langs.elc being loaded at run time.
8563
8564 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8565 cc-langs.
8566
4d61f28d 8567 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8568 "(require 'cc-langs)". Quote a form so it will evaluate at
8569 (cc-mode's) compilation time.
8570
11d074b2
MA
85712011-07-22 Michael Albinus <michael.albinus@gmx.de>
8572
8573 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8574 loading. (Bug#9114)
8575
938b94c8
MR
85762011-07-21 Martin Rudalics <rudalics@gmx.at>
8577
8578 * window.el (display-buffer-pop-up-window)
8579 (display-buffer-pop-up-side-window)
8580 (display-buffer-in-side-window): Call display-buffer-set-height
8581 and display-buffer-set-width after setting the new window's
b796c9b7 8582 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8583
bfa4f190
SS
85842011-07-20 Sam Steingold <sds@gnu.org>
8585
8586 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8587 (etags-tags-included-tables): Call `convert-standard-filename' on
8588 the file names contained in TAGS so that windows Emacs can handle
8589 TAGS files created by cygwin ctags.
8590
8ca42262
LMI
85912011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8592
8593 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8594 which apparently didn't work.
8595
5db2afd2 85962011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8597
5db2afd2
RW
8598 * proced.el (proced-send-signal): For *Marked Processes* buffer
8599 put point at beginning of buffer.
8600
92e15d10
SB
86012011-07-19 Stephen Berman <stephen.berman@gmx.net>
8602
8603 * proced.el (proced-format): Make header lines align with the text
8604 (bug#1779).
8605
1bfd59e5
LMI
86062011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8607
8608 * view.el (view-buffer): Allow running in `special' modes if we're
8609 visiting a file (bug#8615).
8610
f5aae37c
MR
86112011-07-19 Martin Rudalics <rudalics@gmx.at>
8612
8613 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8614 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8615 New functions.
f5aae37c
MR
8616 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8617 more accurately.
8618
bf2c1571
AM
86192011-07-18 Alan Mackenzie <acm@muc.de>
8620
8621 Fontify declarators properly when, e.g., a jit-lock chunk begins
8622 inside a declaration.
8623
8624 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8625
b796c9b7
SM
8626 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8627 New function.
bf2c1571
AM
8628 (c-complex-decl-matchers): Insert reference to
8629 c-font-lock-enclosing-decls.
8630
8631 * progmodes/cc-engine.el (c-backward-single-comment):
8632 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8633 to nil around calls to (forward-comment -1).
8634
4e190b80
LMI
86352011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8636
12dc863d
LMI
8637 * image.el (put-image): Doc typo fix.
8638
a762e966
LMI
8639 * progmodes/etags.el (tags-search): Doc typo fix.
8640
4e190b80
LMI
8641 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8642 password if we get errors 550 to 554.
8643
f019fb21
LMI
86442011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8645
b796c9b7 8646 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8647
81746738
LMI
8648 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8649 indentation character (bug#6380).
8650
3ee3a1b5
LMI
8651 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8652
c82f64de
LMI
8653 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8654 to clarify what the problem is (bug#4291).
8655
f019fb21
LMI
8656 * simple.el (current-kill): Clarify what
8657 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8658 (auto-fill-mode): Document `auto-fill-function' in relation to
8659 `auto-fill-mode' (bug#2470).
f019fb21 8660
0794775d
LM
86612011-07-16 Lawrence Mitchell <wence@gmx.li>
8662
8663 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8664 method if slot is read-only (bug#9035).
8665
be39b8cc
MR
86662011-07-16 Martin Rudalics <rudalics@gmx.at>
8667
b796c9b7 8668 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8669 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8670 selected before, see discussion of (Bug#8615), (Bug#6954).
8671 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8672
6ccf7859
GM
86732011-07-15 Glenn Morris <rgm@gnu.org>
8674
8675 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8676 Respect help-form.
6ccf7859 8677
87e86684
LM
86782011-07-09 Lawrence Mitchell <wence@gmx.li>
8679
8680 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8681 (gnutls-negotiate): Use it.
8682
d6066239
LMI
86832011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8684
b796c9b7
SM
8685 * net/gnutls.el (gnutls-negotiate):
8686 Upcase `gnutls-algorithm-priority'.
d6066239 8687
bd23ebc0
GM
86882011-07-15 Glenn Morris <rgm@gnu.org>
8689
c65bca65
GM
8690 * jka-compr.el (jka-compr-verbose): Move from here...
8691 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8692 Add missing :version tag.
8693 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8694
478615cc
LMI
86952011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696
7b41decb
LMI
8697 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8698 (gnutls-negotiate): Use it.
8699
dbc44fcd
LMI
8700 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8701
06789f97
LMI
8702 * info.el (Info-beginning-of-buffer): New command.
8703 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8704 announcing `b' as the key (bug#8325).
ab896c37 8705 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8706
c39da690
LMI
8707 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8708
3aa5f34b
LMI
8709 * international/mule-cmds.el
8710 (describe-specified-language-support): Make the error message
8711 clearer (bug#8905).
8712
4bf0979f
LMI
8713 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8714
478615cc
LMI
8715 * isearch.el (isearch-barrier): Add a doc string, since it's
8716 mentioned in a function doc string (bug#8678).
8717
75c68aa1
MR
87182011-07-15 Martin Rudalics <rudalics@gmx.at>
8719
8720 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8721 buffer argument (Bug#9083) and self-identifying label argument.
8722
a7c33da2
GM
87232011-07-15 Glenn Morris <rgm@gnu.org>
8724
8725 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8726
2f5c6024
LMI
87272011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8728
8729 * man.el (Man-fontify-manpage): Fix message when formatting the
8730 man page (bug#7929).
8731
0bb23927 87322011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8733
8734 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8735 argument LRM; if non-nil, append an invisible LRM character to the
8736 buffer name.
8737 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8738 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8739 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8740 paragraph direction.
cce4b0a7 8741
621ef9ab
LMI
87422011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8743
d1583c48
LMI
8744 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8745 the man page name (bug#7929).
8746
6a57fb5f
LMI
8747 * image.el (put-image): Mention the `put-image' overlay property
8748 (bug#7834).
8749
d7956b14
LMI
8750 * scroll-bar.el (set-scroll-bar-mode): Mention that
8751 `scroll-bar-mode' lists the values (bug#7772).
8752
5b2d4a66
LMI
8753 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8754 command (bug#7729).
8755
7509a874
LMI
8756 * rect.el (apply-on-rectangle): Return the point after the last
8757 operation.
8758 (string-rectangle): Go to the point after the last operation
8759 (bug#7522).
8760
4fe74b19
LMI
8761 * printing.el (pr-toggle-region): Clarify the documentation
8762 slightly (bug#7493).
8763
b796c9b7
SM
8764 * time.el (display-time-update):
8765 Allow `display-time-mail-function' to return nil (bug#7158).
8766 Fix suggested by Detlev Zundel.
ab283561 8767
fc233c9d
LMI
8768 * vc/diff.el (diff): Clarify the order the file names are read
8769 (bug#7111).
8770
43f5740b
LMI
8771 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8772 the doc string (bug#7015).
8773
f2182a76
LMI
8774 * font-lock.el (font-lock-maximum-decoration): Mention what
8775 numeric levels mean (bug#6935).
8776
621ef9ab
LMI
8777 * startup.el (initial-buffer-choice): Don't mention the `none'
8778 selection, which is against policy.
8779
adc47434
MR
87802011-07-14 Martin Rudalics <rudalics@gmx.at>
8781
b796c9b7
SM
8782 * window.el (display-buffer-normalize-special):
8783 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8784
7e5bfb8f
EZ
87852011-07-14 Eli Zaretskii <eliz@gnu.org>
8786
8787 * subr.el (version<, version<=, version=): Mention "-CVS" and
8788 "-12345" alpha version numbers.
8789
27fa387a
CY
87902011-07-14 Chong Yidong <cyd@stupidchicken.com>
8791
8792 * bindings.el: Add advertised binding for set-mark-command
8793 (Bug#5772).
8794
8bdfa064
CY
87952011-07-14 Chong Yidong <cyd@stupidchicken.com>
8796
8797 * bindings.el (mode-line-other-buffer):
8798 * bookmark.el (bookmark-bmenu-2-window):
8799 * bs.el (bs-cycle-next, bs-cycle-previous):
8800 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8801 switch-to-buffer.
8802
8803 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8804 Delete.
8bdfa064 8805
5eba16a3
JB
88062011-07-14 Juanma Barranquero <lekktu@gmail.com>
8807
8808 * follow.el (follow-debug-message, follow-redisplay):
8809 * jka-cmpr-hook.el (with-auto-compression-mode):
8810 Fix typos in docstrings.
8811
15853710
LMI
88122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8813
a28e4607
LMI
8814 * subr.el (with-silent-modifications): Clarify somewhat what the
8815 macro inhibits (bug#6525).
8816
15853710
LMI
8817 * simple.el (eval-expression): Note what it does if called
8818 interactively (bug#6495).
8819
bee0fcef
CY
88202011-07-13 Chong Yidong <cyd@stupidchicken.com>
8821
b796c9b7
SM
8822 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8823 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8824
8825 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8826 Remove switch-to-buffer.
8827
58274504
LMI
88282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8829
bd2fcc8d
LMI
8830 * files.el (make-directory): Clarify that an error will be raised
8831 if there's an error (bug#6397).
8832
0f04b32c
LMI
8833 * startup.el (initial-buffer-choice): Add `none' as a choice
8834 (bug#6234).
8835
465c5fc8
LMI
8836 * subr.el (add-hook): Clarify section about buffer-local hooks
8837 (bug#6218).
8838
58274504
LMI
8839 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8840
bead9a43
JB
88412011-07-13 Juanma Barranquero <lekktu@gmail.com>
8842
8843 * tabify.el (untabify): Preserve the current column so that point
8844 doesn't move (bug#6032).
8845
3af98a7b
LMI
88462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8847
b796c9b7
SM
8848 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8849 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8850
6240145a
GM
88512011-07-13 Glenn Morris <rgm@gnu.org>
8852
8853 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8854 (dired-insert-directory): Give a message the first time
8855 if ls is found not to support --dired.
8856
1d8c2ccc
LMI
88572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8858
8859 * simple.el (toggle-truncate-lines): Clarify what is toggled
8860 (bug#5580). Text by Drew Adams.
8861
5fc4038e
CY
88622011-07-13 Chong Yidong <cyd@stupidchicken.com>
8863
8864 * simple.el (blink-matching-open): Make the error message from the
8865 last change less verbose.
8866
bf6012e5
DN
88672011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8868
8869 * font-lock.el (font-lock-comment-face): Use the high contrast
8870 "yellow" color for font-lock-comment-face on low color terminals
8871 using a dark background color (bug#4221).
8872
343c3b5a
LMI
88732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8874
7e9505c5
LMI
8875 * dired.el (dired-insert-set-properties): Make the doc string
8876 reflect what it does now (bug#5325).
8877
c26fdcf5
LMI
8878 * simple.el (blink-matching-open): Say that we were unable to find
8879 the match within the limit, if we're limited (bug#5122).
8880
bb388cc5
LMI
8881 * international/mule-cmds.el (prefer-coding-system): Add an
8882 example (bug#4869).
8883
343c3b5a
LMI
8884 * progmodes/etags.el (tags-search): Document `file-list-form'
8885 (bug#4731).
8886
2a517d45
LM
88872011-07-13 Lawrence Mitchell <wence@gmx.li>
8888
8889 * net/browse-url.el (browse-url-default-browser)
8890 (browse-url-browser-function): Make the default browser choice a
8891 bit more logical (bug#4300). Also clean up the doc string.
8892
b6c78ef2
JB
88932011-07-13 Juanma Barranquero <lekktu@gmail.com>
8894
8895 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8896 binary endings (bug#4440).
8897
1c4dd947
LMI
88982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8899
a2014063
LMI
8900 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8901 which can be pretty annoying (bug#8971).
8902
9c9c2d88
LMI
8903 * jka-compr.el (jka-compr-verbose): New variable, and use
8904 throughout (bug#8971).
8905
1c4dd947
LMI
8906 * info.el (Info-find-file): Fall back on the installation
8907 directory if we can't find the info node anywhere else.
8908
a1c9f41b
SO
89092011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8910
8911 * vc/vc.el (vc-revert-file):
8912 Don't set file time-stamp in the past. (Bug#5181)
8913
536f3d36
LMI
89142011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8915
7152b011
LMI
8916 * files.el (after-find-file): Give a better error message when
8917 trying to find a symlink that points to a file that doesn't exist
8918 (bug#4398).
8919
536f3d36
LMI
8920 * progmodes/cc-vars.el: Remove (probably) misleading comment
8921 (bug#4396).
8922
460c0fba
JB
89232011-07-12 Johan Bockgård <bojohan@gnu.org>
8924
8925 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8926
7a6bda45
CY
89272011-07-12 Chong Yidong <cyd@stupidchicken.com>
8928
8929 * mouse-sel.el: Hack restoring functionality, while keeping
8930 compatibility with 2010-07-03 changes to mouse selection.
8931 (mouse-sel-primary-overlay): New var.
8932 (mouse-sel-selection-alist): Use it.
8933 (mouse-sel-mode): Doc fix; remove points that are default features
8934 of mouse.el.
8935
c79598ef
JB
89362011-07-12 Johan Bockgård <bojohan@gnu.org>
8937
8938 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8939 Fix previous fix (bug#2490).
8940
ff8be6ef
RW
89412011-07-12 Roland Winkler <winkler@gnu.org>
8942
b796c9b7
SM
8943 * textmodes/bibtex.el (bibtex-initialize):
8944 Use pop-to-buffer-same-window.
ff8be6ef
RW
8945 (bibtex-search-entries): Fix interactive call.
8946
296ba3ee
LMI
89472011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8948
f5242a02 8949 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8950 Fontise bytecomp Error lines more correctly (bug#2490).
8951 Fix suggested by Johan Bockgård.
f5242a02 8952
296ba3ee
LMI
8953 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8954
8955 * dired-x.el (dired-guess-default): Use `delete-dups'.
8956
f69fd0d2
CY
89572011-07-12 Chong Yidong <cyd@stupidchicken.com>
8958
8959 * dired.el (dired-mark-prompt):
8960 * dired-aux.el (dired-read-shell-command): Doc fix.
8961
eab5dc07
LMI
89622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8963
b796c9b7
SM
8964 * mail/sendmail.el (sendmail-query-once):
8965 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8966 emacs -Q.
8967
8968 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8969
eab5dc07
LMI
8970 * cus-edit.el (custom-file): Take an optional no-error variable.
8971 (customize-save-variable): Set the variable, and give a warning if
8972 running under "emacs -q".
8973
a1e65d42
JB
89742011-07-11 Juanma Barranquero <lekktu@gmail.com>
8975
8976 * loadhist.el (unload-feature-special-hooks):
8977 Add `auto-coding-functions', `fill-nobreak-predicate' and
8978 `find-directory-functions' (bug#5327).
8979
1d52da10
LMI
89802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8981
be958f1d
LMI
8982 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8983
5bedb26c
LMI
8984 * cus-edit.el (custom-guess-name-alist): -alist variables should
8985 use the `alist' type (bug#3120). Suggested by Drew Adams.
8986
1d52da10
LMI
8987 * printing.el: Add documentation to all the `pr-toggle-' commands.
8988
cd394be1 89892011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8990
8991 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8992 backends where it makes sense (bug#2623).
8993
dcc88d8a
LMI
89942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8995
c3de9feb
LMI
8996 * dired-x.el (dired-guess-default): Remove duplicate shell command
8997 entries (bug#2028).
8a93078b 8998 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8999 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9000
dcc88d8a
LMI
9001 * subr.el (remove-duplicates): New conveniency function.
9002
505e3645
LMI
90032011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9004
9005 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9006 (bug#1526).
9007
90082011-07-10 Martin Rudalics <rudalics@gmx.at>
9009
9010 * window.el (display-buffer-normalize-default): Don't invert
9011 meaning of even-window-heights. Reported by Eli Zaretskii
9012 <eliz@gnu.org>.
9013
455e4fa1
BR
90142011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9015
9016 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9017
8e0bc3e9
CY
90182011-07-10 Chong Yidong <cyd@stupidchicken.com>
9019
9020 * window.el (display-buffer): Fix arguments to
9021 display-buffer-reuse-window in last change.
9022
fa7c3228
CY
9023 * faces.el (link): Use a less saturated blue on light backgrounds.
9024
9025 * startup.el (fancy-startup-text, fancy-about-text)
9026 (fancy-startup-tail): Use font-lock faces, for background safety.
9027
c0a7f300
BN
90282011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9029
b796c9b7
SM
9030 * emulation/viper-cmd.el (viper-change-state-to-vi):
9031 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9032
4dc2a129
MR
90332011-07-09 Martin Rudalics <rudalics@gmx.at>
9034
9035 * window.el (display-buffer-default-specifiers): Remove.
9036 (display-buffer-macro-specifiers): Remove default specifiers.
9037 (display-buffer-alist): Default to nil.
b796c9b7 9038 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9039 (display-buffer-pop-up-window): Allow splitting internal
9040 windows. Check whether a live window was created.
9041 (display-buffer-other-window-means-other-frame)
9042 (display-buffer-normalize-arguments): Rename to
9043 display-buffer-normalize-argument and rewrite. Set the
9044 other-window specifier.
9045 (display-buffer-normalize-special): New function.
9046 (display-buffer-normalize-options): Rename to
9047 display-buffer-normalize-default and rewrite.
9048 (display-buffer-normalize-options-inhibit): Remove.
9049 (display-buffer-normalize-specifiers): Rewrite.
9050 (display-buffer): Process other-window specifier and call
9051 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9052 more faithfully.
b796c9b7 9053 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9054 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9055 (display-buffer-in-window, display-buffer-alist-set):
9056 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9057 <tassilo@member.fsf.org>.
9058
2d43b8c9
LL
90592011-07-09 Leo Liu <sdl.web@gmail.com>
9060
9061 * register.el (insert-register): Restore accidental change on
9062 2011-06-26. (Bug#9028)
9063
7f9b7c53
GM
90642011-07-09 Glenn Morris <rgm@gnu.org>
9065
9066 * subr.el (remq): Handle the empty list. (Bug#9024)
9067
f042cfd8
AS
90682011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9069
9070 * mail/sendmail.el (send-mail-function): No longer delay custom
9071 initialization.
9072 * custom.el (custom-initialize-delay): Doc fix.
9073
856b2f11
SM
90742011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9077
afae1d68
MA
90782011-07-08 Michael Albinus <michael.albinus@gmx.de>
9079
9080 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9081 human-friendly prompt.
9082
0757af94
SM
90832011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9086 provided by a particular plugin.
9087
d760b731
LMI
90882011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9089
9090 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9091 save customizations (with "emacs -Q"), just set the variable
9092 instead of erroring out.
9093
9094 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9095
cd79ce90
JL
90962011-07-08 Juri Linkov <juri@jurta.org>
9097
9098 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9099 (archive-zip-update-case): Use 7z if found by `executable-find'.
9100 The order of searching the available programs is the same as in
9101 `archive-zip-extract' (bug#8968).
9102
14cc04aa
CY
91032011-07-07 Chong Yidong <cyd@stupidchicken.com>
9104
9105 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9106 (menu-bar-options-menu): Tweak descriptions.
9107
0a1848ec
LMI
91082011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9109
9110 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9111 menu items into verb phrases (bug#1421). Also refill to fit under
9112 80 columns.
9113
f5bd0689
CY
91142011-07-07 Chong Yidong <cyd@stupidchicken.com>
9115
538e85c6
CY
9116 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9117 (Info-read-node-name): Doc fix (Bug#1084).
9118
f5bd0689
CY
9119 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9120 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9121 (end-of-sexp, beginning-of-sexp)
9122 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9123 (forward-symbol, forward-same-syntax, word-at-point)
9124 (sentence-at-point): Doc fix (Bug#1144).
9125
56ec5115
LMI
91262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9127
f3f8e37f
LMI
9128 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9129 should cover it (bug#1281).
9130
0757af94 9131 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9132
e9fce1ac 9133 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9134 negotiation fails, then possibly try again with a non-encrypted
9135 connection (bug#9017).
9136
56ec5115
LMI
9137 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9138 be used.
9139
c2f9aec8
RS
91402011-07-07 Richard Stallman <rms@gnu.org>
9141
9142 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9143 property, and handle its changed format.
9144 Look for the correct line number.
9145 Use file's line contents (but not past first =) to find
9146 correct line in message.
9147
ef7b981d 91482011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9149
9150 * international/characters.el (build-unicode-category-table):
9151 Delete it.
0757af94 9152 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9153
0757af94 9154 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9155 to src/chartab.c.
9156 (get-char-code-property): Call unicode-property-table-internal to
9157 load a file. Call get-unicode-property-internal where necessary.
9158 (put-char-code-property): Call unicode-property-table-internal to
9159 load a file. Call put-unicode-property-internal where necessary.
9160 put-unicode-property-internal where necessary.
0757af94
SM
9161 (char-code-property-description):
9162 Call unicode-property-table-internal to load a file.
c805dec0
KH
9163
9164 * international/charprop.el:
9165 * international/uni-bidi.el:
9166 * international/uni-category.el:
9167 * international/uni-combining.el:
9168 * international/uni-comment.el:
9169 * international/uni-decimal.el:
9170 * international/uni-decomposition.el:
9171 * international/uni-digit.el:
9172 * international/uni-lowercase.el:
9173 * international/uni-mirrored.el:
9174 * international/uni-name.el:
9175 * international/uni-numeric.el:
9176 * international/uni-old-name.el:
9177 * international/uni-titlecase.el:
9178 * international/uni-uppercase.el: Regenerate.
9179
9180 * loadup.el: Load international/charprop.el before
9181 international/characters.
9182
e14b388a
CY
91832011-07-07 Chong Yidong <cyd@stupidchicken.com>
9184
9185 * window.el (next-buffer, previous-buffer): Signal an error if
9186 called from a minibuffer window.
9187
9188 * bindings.el: Revert 2011-07-04 change.
9189
354cf0ba
RS
91902011-07-06 Richard Stallman <rms@gnu.org>
9191
9192 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9193 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9194 Treat markers like ints.
9195 (rmail-mime-entity): Doc fix.
9196
a48868a7
LMI
91972011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9198
4906cd3d
LMI
9199 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9200 defcustom again for backwards compatibility.
9201
e0457abe
LMI
9202 * simple.el (shell-command-on-region): Fill.
9203
d67f7e1f
LMI
9204 * dired-aux.el (dired-kill-line): Add a doc string.
9205
fe204702
LMI
9206 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9207 to "\\sw\\|\\s_" (bug#358).
9208
a48868a7
LMI
9209 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9210 (dired-unmark-backward): Ditto.
9211 (dired-flag-backup-files): Ditto.
9212
9213 * dired-x.el (dired-mark-sexp): Ditto.
9214
aa8a705c
RS
92152011-07-06 Richard Stallman <rms@gnu.org>
9216
9217 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9218 (rmail-mime-entity): New arg TRUNCATED.
9219 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9220 New functions.
9221 (rmail-mime-save): Warn if entity is truncated.
9222 (rmail-mime-toggle-hidden): Likewise, for showing.
9223 (rmail-mime-process-multipart): Record when an entity is truncated.
9224
a9a936b9
RS
9225 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9226 if ENTITY is a string.
9227
1f2b92cb
LMI
92282011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
f4f73198 9230 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9231 of faces when `M-C-x'-ing their definitions (bug#8378).
9232 Also clean up the code slightly.
f4f73198 9233
12b16734 9234 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9235 because that makes the colors go away.
12b16734 9236
f0691d22
LMI
9237 * mail/sendmail.el (send-mail-function): Change the default to
9238 `sendmail-query-once'.
9e87df06 9239 (sendmail-query-once): Add an autoload cookie.
f0691d22 9240
1f2b92cb
LMI
9241 * net/network-stream.el (network-stream-open-starttls): Try using
9242 a plain connection even if the server offered STARTTLS, and we
9243 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9244 capability. This should make smtpmail.el work in slightly more
9245 configurations.
9246
1cdd2a1b
MA
92472011-07-06 Michael Albinus <michael.albinus@gmx.de>
9248
9249 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9250 New defun.
9251 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9252
fbcc67e2
MM
92532011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9254
9255 * progmodes/sql.el: Version 3.0
0757af94 9256 (sql-product-alist): Add product :completion-object,
fbcc67e2 9257 :completion-column, and :statement attributes.
0757af94 9258 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9259 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9260 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9261 ansi keywords.
9262 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9263 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9264 (sql-oracle-show-reserved-words): New function for development.
9265 (sql-product-font-lock): Simplify for source code buffers.
9266 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9267 New functions.
9268 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9269 (sql-mode-map): Add statement movement functions.
9270 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9271 New variable.
fbcc67e2
MM
9272 (sql-statement-regexp, sql-beginning-of-statement)
9273 (sql-end-of-statement, sql-signum): New functions.
0757af94 9274 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9275 (sql-show-sqli-buffer): Bug fix.
9276 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9277 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9278 with sql-interactive-mode.
9279 (sql-save-connection): Save buffer local settings.
0757af94 9280 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9281 (sql-product-interactive): Bug fix.
9282 (sql-preoutput-hold): New variable.
9283 (sql-interactive-remove-continuation-prompt): Bug fixes.
9284 (sql-debug-redirect): New variable.
9285 (sql-str-literal): New function.
9286 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9287 Redesign.
fbcc67e2
MM
9288 (sql-oracle-save-settings, sql-oracle-restore-settings)
9289 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9290 (sql-completion-object, sql-completion-column)
9291 (sql-completion-sqlbuf): New variables.
9292 (sql-build-completions-1, sql-build-completions)
9293 (sql-try-completion): New functions.
9294 (sql-read-table-name): Use them.
9295 (sql-contains-names): New buffer local variable.
9296 (sql-list-all, sql-list-table): Use it.
9297 (sql-oracle-completion-types): New variable.
9298 (sql-oracle-completion-object, sql-sqlite-completion-object)
9299 (sql-postgres-completion-object): New functions.
9300
d4eaeab1
GM
93012011-07-06 Glenn Morris <rgm@gnu.org>
9302
9303 * window.el (pop-to-buffer): Doc fix.
9304
322b7dab 93052011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9306
9307 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9308
322b7dab 93092011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9310
322b7dab 9311 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9312
322b7dab 9313 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9314
605dd5bf
CY
93152011-07-05 Chong Yidong <cyd@stupidchicken.com>
9316
9317 * button.el (button): Inherit from link face. Suggested by Dan
9318 Nicolaescu.
9319
7dbfa719
SM
93202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9321
3db614b0
SM
9322 * progmodes/gdb-mi.el: Fit in 80 columns.
9323 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9324 switch-to-buffer.
9325
7dbfa719
SM
9326 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9327 if imenu is simply not configured (bug#8941).
9328
919d884a
KM
93292011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9330
9331 * allout.el (allout-post-undo-hook): New allout outline-change
9332 event hook to signal undo activity.
9333 (allout-post-command-business): Run allout-post-undo-hook if an
9334 undo just occurred.
7dbfa719
SM
9335 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9336 * allout-widgets.el (allout-widgets-after-undo-function):
9337 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9338 in the vicinity of an undo.
9339 (allout-widgets-mode): Include allout-widgets-after-undo-function
9340 on the new allout-post-undo-hook.
9341
450a0f09
SM
93422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9345 Let define-derived-mode define it.
9346 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9347 cycles of abbrev-table inheritance (bug#8998).
9348
2de69e00
RW
93492011-07-05 Roland Winkler <winkler@gnu.org>
9350
9351 * textmodes/bibtex.el: Add support for biblatex.
9352 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9353 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9354 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9355 (bibtex-entry-alist, bibtex-field-alist): New variables.
9356 (bibtex-entry-field-alist): Obsolete alias for
9357 bibtex-BibTeX-entry-alist.
9358 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9359 (bibtex-set-dialect): New command.
9360 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9361 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9362 Bind via bibtex-set-dialect.
2de69e00
RW
9363 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9364 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9365 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9366 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9367 Define via bibtex-set-dialect.
450a0f09
SM
9368 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9369 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9370 (bibtex-vec-push, bibtex-vec-incr): New functions.
9371 (bibtex-format-entry, bibtex-field-list)
9372 (bibtex-print-help-message, bibtex-validate)
9373 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9374
2dcdbdd9
SM
93752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * progmodes/compile.el (compilation-goto-locus):
9378 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9379 * bs.el (bs-cycle-next, bs-cycle-previous):
9380 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9381 * bindings.el (mode-line-other-buffer):
9382 * autoinsert.el (auto-insert):
9383 * arc-mode.el (archive-extract):
9384 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9385
b27640fe
JB
93862011-07-05 Juanma Barranquero <lekktu@gmail.com>
9387
9388 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9389 Fix check of `emacs-lock-unlockable-modes'.
9390 Coerce true values of `emacs-lock--try-unlocking' to t.
9391
53bbe3ad
JB
93922011-07-05 Juanma Barranquero <lekktu@gmail.com>
9393
9394 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9395 * emacs-lock.el: New file.
9396
1d3cdbc7
JD
93972011-07-05 Julien Danjou <julien@danjou.info>
9398
9399 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9400 than `boundp' to check if face is set.
9401
9173deec
JB
94022011-07-05 Juanma Barranquero <lekktu@gmail.com>
9403
9404 * register.el (registerv-make):
9405 * window.el (window-min-height): Fix typos in docstrings.
9406
869795d6
JD
94072011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9408
9173deec 9409 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9410 Update doc string.
9411
b768cdcd
JB
94122011-07-04 Juanma Barranquero <lekktu@gmail.com>
9413
9414 * server.el (server-execute): Catch quit and call
9415 `server-return-error' to pass the error back to emacsclient and
9416 close the connection (bug#8942).
9417
13aa217b
KM
94182011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9419
9420 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9421 insecure exception for current topic. Also note that auto-saves
9422 are handled differently.
9423
5d3385a0 9424 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9425 State variables for tracking auto-save inhibition situation.
9426
9427 (allout-write-contents-hook-handler): Rename from
9428 'allout-write-file-hook-handler', and describe how it depends on
9429 write-contents-functions sensitivity to non-nil value to prevent
9430 file write.
9431
9432 (allout-auto-save-hook-handler): Remove. auto-save does not check
9433 this in individual buffers, only in the starting buffer, so this
9434 is not the right way for us to inhibit auto-save in a buffer
9435 according to its condition.
9436
9437 (allout-mode): Use new allout-write-contents-hook-handler, and
9438 only with write-contents-functions. Remove auto-save provisions -
9439 they're implemented elsewhere.
9440
9441 (allout-before-change-handler): If undo is in progress, note that
9442 for attention of allout-post-command-business.
9443
9444 (allout-post-command-business): If the command we're following was
9445 an undo, check for change in the status of encrypted items and
9446 adjust auto-save inhibitions accordingly.
9447
9448 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9449 according to whether there are or aren't any plain-text topics
9450 pending encryption.
9451
2dcdbdd9 9452 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9453 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9454 if there are plain-text topics pending encryption.
13aa217b
KM
9455
9456 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9457 buffer-saved-size and some allout state to not inhibit auto-saves
9458 if there are no longer any plain-text topics pending encryption.
9459
0757af94
SM
9460 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9461 No longer provide for exemption of the current topic.
13aa217b 9462
ac89b32c
JL
94632011-07-04 Juri Linkov <juri@jurta.org>
9464
9465 Add 7z operations to delete and save changed members (bug#8968).
9466 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9467 New defcustoms.
9468 (archive-7z-write-file-member): New function.
9469 (archive-7z-summarize): Fix the number of dashes in the
9470 listing output.
9471
8fa39615
SM
94722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9475 (bug#8958).
9476
2f11b3f1
CY
94772011-07-04 Chong Yidong <cyd@stupidchicken.com>
9478
d66fef2b
CY
9479 * bindings.el: Ignore next-buffer and previous-buffer in
9480 minibuffer-local-map.
9481
2f11b3f1
CY
9482 * font-lock.el (font-lock-builtin-face): Change light background
9483 color to dark slate blue (Bug#6693).
9484
f932a347
WD
94852011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9486
9487 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9488
c8af70e1
SM
94892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9492 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9493 Add switch-to-buffer.
9494
f158badc
LMI
94952011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9496
9497 * isearch.el (isearch-search-fun-function): Clarify further the
9498 meaning of the function returned.
9499
6d95bd46
MA
95002011-07-04 Michael Albinus <michael.albinus@gmx.de>
9501
9502 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9503
9504 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9505 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9506 Use it.
9507 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9508 `tramp-default-remote-path' does not exist.
9509 (tramp-send-command-and-read): New optional argument NOERROR.
9510 (tramp-open-connection-setup-interactive-shell)
9511 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9512 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9513 (tramp-process-sentinel): Flush also process' connection property.
9514 (tramp-sh-handle-start-file-process): Do not set process
9515 sentinel. It is done now ...
9516 (tramp-maybe-open-connection): ... here. (Bug#8929)
9517
909e6b67
MK
95182011-07-04 MON KEY <monkey@sandpframing.com>
9519
9520 * play/animate.el (animate-string): Doc fixes and allow changing
9521 the buffer name (bug#5417).
9522
95232011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9524
c8af70e1 9525 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9526
f34755dc
PE
95272011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9528
396cec72
PE
9529 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9530 This is simpler and helps future-proof the code.
9531 (timer-until): Use time-subtract and float-time.
08235028 9532 (timer--time-less-p): Use time-less-p.
f34755dc 9533
56e6cc31
JB
95342011-07-04 Juanma Barranquero <lekktu@gmail.com>
9535
3abb79e5
JB
9536 * type-break.el (timep): Use the value of `float-time' to avoid a
9537 byte-compiler warning.
9538
56e6cc31
JB
9539 * server.el (server-eval-and-print): Return any result, even nil.
9540
7b9430b4
PE
95412011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9542
9543 * type-break.el: Accept time formats that the builtins accept.
9544 (timep, type-break-time-difference): Accept any format that
9545 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9546 This is simpler and helps future-proof the code.
9547 (type-break-time-difference): Round rather than ignoring
9548 subseconds components.
9549
3034e9e7
LMI
95502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9551
9552 * info.el (Info-apropos-matches): Make non-interactive, since it
9553 doesn't seem to do anything useful as a command (bug#8829).
9554
1485f4c0
CY
95552011-07-03 Chong Yidong <cyd@stupidchicken.com>
9556
9557 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9558 Move from faces.el.
1485f4c0
CY
9559 (frame-default-terminal-background): New function.
9560
9561 * custom.el (custom-push-theme): Don't record faces in `changed'
9562 theme; this doesn't work correctly for per-frame face settings.
9563 (disable-theme): Use face-set-after-frame-default to reset faces.
9564 (custom--frame-color-default): New function.
9565
9fa3dd45
LMI
95662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9567
c8af70e1 9568 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9569 (bug#8769).
9570
6cbbc20c
KR
95712011-03-29 Kevin Ryde <user42@zip.com.au>
9572
9573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9574 `perl-Test2' extend to match possible "fail #N" rep count
9575 (bug#8377).
9576
c7f98048
LMI
95772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9578
65676592
LMI
9579 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9580 `smtpmail-via-smtp' now returns the error instead of nil.
9581
c7f98048
LMI
9582 * isearch.el (isearch-search-fun-function): Clarify the doc string
9583 (bug#8101).
9584
56e6cc31 95852011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9586
9587 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9588 unnecessary spaces (bug#8987).
9589
2b216704
LMI
95902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9591
9592 * net/network-stream.el (open-network-stream): Use the
9593 :end-of-capability command thoughout.
9594
95952011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9596
9597 * net/network-stream.el (open-network-stream): Add the
9598 :end-of-capability command parameter, used by pop3.el.
9599
36adf6ce
LMI
96002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9601
1ca0da0e
LMI
9602 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9603
fc00f69c
LMI
9604 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9605 for list)" (bug#6475).
9606
28fd8759 9607 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9608 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9609 an error (bug#6297).
9610
0dd8b6da
LMI
9611 * man.el (Man-reference-regexp): Allow matching possible
9612 word-wrapped references (bug#6289).
9613
ce1438d6
LMI
9614 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9615 for consistency with the other vc buffers (bug#6197).
9616 (vc-checkin): Ditto.
9617
9618 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9619
36adf6ce
LMI
9620 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9621
e83cc1f7
LMI
96222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9623
8a20ca4c
LMI
9624 * custom.el (defcustom): Clarify that :set is only used in the
9625 Customize user interface (bug#6089).
9626
83319045
LMI
9627 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9628 associated with a file, refuse to run instead of erroring out
9629 (bug#6084).
9630
a8392169
LMI
9631 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9632 the doc string, since it appears that using `fill-column' always
9633 controls the width (bug#7845).
9634
e83cc1f7
LMI
9635 * simple.el (shell-command-on-region): Say where the error output
9636 went if `shell-command-default-error-buffer' is set (bug#6857).
9637
e47ca23b
KM
96382011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9639
9640 * allout.el (allout-yank-processing): Adjust cursor position for
9641 backwards-deleted space.
9642
9643 (allout-rebullet-heading): Register changes with
9644 allout-exposure-changed-hook, so the modified topic is properly
9645 decorated.
9646
5cf56143
LMI
96472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9648
08549772
LMI
9649 * minibuffer.el (completion-in-region): Document PREDICATE
9650 (bug#7136).
9651
48e96771
LMI
9652 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9653 of keyword/argument pairs (bug#6904).
9654
c8af70e1
SM
9655 * replace.el (multi-occur):
9656 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9657
e17d05e2
LMI
96582011-07-02 Drew Adams <drew.adams@oracle.com>
9659
9660 * dired.el (dired-mark-if): Make the message about whether it's
9661 marking or unmarking clearer (bug#8523).
9662
063b0e45
LMI
96632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9664
9665 * disp-table.el (display-table-print-array): New function.
9666 (describe-display-table): Use it to print the vectors more pretty
9667 (Bug#8859).
9668
28545e04
MR
96692011-07-02 Martin Rudalics <rudalics@gmx.at>
9670
9671 * window.el (window-state-get-1): Don't assign clone numbers.
9672 Add clone-of item to list of window parameters.
9673 (window-state-put-2): Don't process clone numbers.
9674 (display-buffer-alist): Fix doc-string.
9675
3349e122
SM
96762011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * subr.el (remq): Don't allocate if it's not needed.
9679 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9680 (keymap--merge-bindings): New functions.
9681 (keymap-canonicalize): Use them to refine the canonicalization.
9682 * minibuffer.el (minibuffer-local-completion-map)
9683 (minibuffer-local-must-match-map): Move initialization from C.
9684 (minibuffer-local-filename-completion-map): Move initialization from C;
9685 don't inherit from anything here.
9686 (minibuffer-local-filename-must-match-map): Make obsolete.
9687 (completing-read-default): Use make-composed-keymap to combine
9688 minibuffer-local-filename-completion-map with either
9689 minibuffer-local-must-match-map or
9690 minibuffer-local-filename-completion-map.
9691
d224ac83
GM
96922011-07-01 Glenn Morris <rgm@gnu.org>
9693
3de63bf8
GM
9694 * type-break.el (type-break-time-sum): Use dolist.
9695
d224ac83
GM
9696 * textmodes/flyspell.el (flyspell-word-search-backward):
9697 Replace CL function.
9698
1a1e3f32
SM
96992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9700
fe3f64d5
SM
9701 * mouse.el (mouse--strip-first-event): New function.
9702 (function-key-map): Use it to map fringe clicks to normal clicks
9703 by default.
9704
eb604e34
SM
9705 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9706 (vc-bzr-revision-completion-table): Add support for annotate and date.
9707
1a1e3f32
SM
9708 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9709 inherit from parent.
9710
5bd35902
LMI
97112011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712
ace6c69c 9713 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9714 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9715
191e2bed
LMI
9716 * dired.el (dired-mode): Fix up the doc string as suggested by
9717 Drew Adams (bug#8817).
9718
5bd35902
LMI
9719 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9720 cookie, since the manual says that it should be possible to add
9721 this function to `find-file-hook' (bug#8709).
9722
eee8207a
TZ
97232011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9724
9725 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9726 here. Noted Ted Zlatanov as the maintainer.
9727 (cfengine-common-settings, cfengine-common-syntax): New functions
9728 to set up common things between `cfengine-mode' and
9729 `cfengine3-mode'.
9730 (cfengine3-mode): New mode.
9731 (cfengine3-defuns cfengine3-defuns-regex
9732 (cfengine3-class-selector-regex cfengine3-category-regex)
9733 (cfengine3-vartypes cfengine3-font-lock-keywords)
9734 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9735 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9736
36b148cf
MA
97372011-07-01 Michael Albinus <michael.albinus@gmx.de>
9738
9739 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9740
9741 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9742
0bf4ba9a
MR
97432011-07-01 Martin Rudalics <rudalics@gmx.at>
9744
9745 * window.el (same-window-buffer-names, same-window-regexps)
9746 (same-window-p, special-display-frame-alist)
9747 (special-display-popup-frame, special-display-function)
9748 (special-display-buffer-names, special-display-regexps)
9749 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9750 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9751 (split-window-preferred-function, split-height-threshold)
9752 (split-width-threshold, even-window-heights)
9753 (display-buffer-mark-dedicated, window-splittable-p)
9754 (split-window-sensibly, window-safely-shrinkable-p):
9755 Un-obsolete.
9756 (display-buffer): Don't spread args with function specifier
9757 because special-display-popup-frame won't like it.
9758
35837f51
PE
97592011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9760
d0672f86
PE
9761 Time-stamp simplifications and fixes.
9762 These improve accuracy slightly, and future-proof the code
9763 against some potential changes to current-time format.
9764
b9444d97
PE
9765 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9766 by using time-since and float-time.
9767
0ef923dc
PE
9768 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9769 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9770 + NNN microseconds".
9771
2f81380d
PE
9772 * type-break.el (type-break-time-sum): Rewrite using time-add.
9773
845b5c3e
PE
9774 * play/hanoi.el (hanoi-current-time-float): Remove.
9775 All uses replaced by float-time.
9776
ee6f1be0
PE
9777 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9778 This yields a more-accurate answer.
9779 (rng-time-to-float): Remove; no longer needed.
9780
fe955043
PE
9781 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9782
5777162a
PE
9783 * calendar/timeclock.el (timeclock-seconds-to-time):
9784 Defalias to seconds-to-time, since they're the same thing.
9785
3103f8b6 9786 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9787 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9788 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9789
0e61a35f
SM
97902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * window.el (bury-buffer): Don't iconify the only frame.
9793 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9794 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9795
ddd63a1e
CY
97962011-07-01 Chong Yidong <cyd@stupidchicken.com>
9797
0e61a35f
SM
9798 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9799 Add mouse-yank-primary.
ddd63a1e 9800
055f4923
TZ
98012011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9802
9803 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9804
6a2fb145
SM
98052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9808 (find-library-name): Use it to find relative load names when provided
9809 absolute file name (bug#8803).
9810
fd4983f2
LMI
98112011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9812
887d14ad
LMI
9813 * textmodes/flyspell.el (flyspell-word): Consider words that
9814 differ only in case as potential doublons (bug#5687).
9815
c53dc7fc
LMI
9816 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9817 Remove two rather uninteresting debugging-like messages to make
9818 debbugs.el more silent.
9819
fd4983f2
LMI
9820 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9821 a password-like phrase.
9822
7a71b18d 98232011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9824
9825 * progmodes/cc-guess.el: New file.
9826
6a2fb145 9827 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9828
9829 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9830 derived from `c-basic-common-init'.
9831
9832 * progmodes/cc-mode.el (top-level): Require cc-guess.
9833 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9834
1fa280a3
LM
98352011-06-30 Lawrence Mitchell <wence@gmx.li>
9836
9837 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9838
e6597158
AM
98392011-06-30 Alan Mackenzie <acm@muc.de>
9840
1fa280a3
LM
9841 * progmodes/cc-engine.el (c-guess-continued-construct):
9842 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9843 lock is disabled. Name this case as "CASE G".
9844
68ba37fb
KM
98452011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9846
9847 * allout.el (allout-yank-processing): Fix injection of extra space
9848 between bullet and non-whitespace character in first topic when
9849 pasting, ensuring that the actual spacing in the pasted topic
9850 following the bullet char is preserved. This extra space was
9851 causing pasted encrypted topics to get a decrypted status even
9852 when the content was actually still encrypted. Now the decryption
9853 status from before the paste is preserved.
9854
9855 (allout-flag-region): Set all allout overlays so they evaporate
9856 when reduced to zero length (evanescent), to prevent overlay
9857 leakage.
9858
887a0b34
GM
98592011-06-30 Glenn Morris <rgm@gnu.org>
9860
94b9acce
GM
9861 * w32-fns.el (w32-charset-info-alist): Declare.
9862
1d9b46d4
GM
9863 * find-dired.el (find-grep-options): Simplify.
9864
cc232200
GM
9865 * term/ns-win.el (ns-set-resource): Declare.
9866
28e77c46
GM
9867 * ses.el (row, col): Declare dynamic variables honestly.
9868
887a0b34
GM
9869 * textmodes/reftex-parse.el (index-tags): Declare.
9870
658d8eb8
CY
98712011-06-30 Chong Yidong <cyd@stupidchicken.com>
9872
9873 * cus-edit.el (customize-push-and-save): New function.
9874
9875 * files.el (hack-local-variables-confirm): Use it.
9876
1fa280a3
LM
9877 * custom.el (load-theme): New arg NO-CONFIRM.
9878 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9879 (custom-enabled-themes): Doc fix.
9880
9881 * cus-theme.el (customize-create-theme)
9882 (custom-theme-merge-theme): Callers to load-theme changed.
9883
bb617717
LMI
98842011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885
d61bdd5d
LMI
9886 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9887 short URLs have at least one dot in them (bug #7614).
9888
bb617717
LMI
9889 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9890 nil, because using a pty is apparently too slow (bug #895).
9891
2f31f37a
LMI
98922011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893
9894 * mail/sendmail.el (sendmail-query-once): New function.
9895 (sendmail-query-once-function): New variable.
9896
3076b24e
GM
98972011-06-29 Glenn Morris <rgm@gnu.org>
9898
faf2a174
GM
9899 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9900
3076b24e
GM
9901 * ses.el (top-level): Require cl when compiling.
9902 (ses-set-localvars): Fix error statement.
9903 Call it at compile time to silence a storm of warnings.
9904
5386012d
MR
99052011-06-29 Martin Rudalics <rudalics@gmx.at>
9906
9907 * window.el (normalize-live-buffer): Rename to
9908 window-normalize-buffer.
9909 (normalize-live-frame): Rename to window-normalize-frame.
9910 (normalize-any-window): Rename to window-normalize-any-window.
9911 (normalize-live-window): Rename to window-normalize-live-window.
9912 (make-window-atom): Rename to window-make-atom.
9913 (window-resize-reset): Rename to window--resize-reset.
9914 (window-resize-reset-1): Rename to window--resize-reset-1.
9915 (resize-mini-window): Rename to window--resize-mini-window.
9916 (resize-subwindows-skip-p): Rename to
9917 window--resize-subwindows-skip-p.
9918 (resize-subwindows-normal): Rename to
9919 window--resize-subwindows-normal.
9920 (resize-subwindows): Rename to window--resize-subwindows.
9921 (resize-other-windows): Rename to window--resize-siblings.
9922 (resize-this-window): Rename to window--resize-this-window.
9923 (resize-root-window): Rename to window--resize-root-window.
9924 (resize-root-window-vertically): Rename to
9925 window--resize-root-window-vertically.
9926 (normalize-buffer-to-display): Rename to
9927 window-normalize-buffer-to-display.
9928 (normalize-buffer-to-switch-to): Rename to
9929 window-normalize-buffer-to-switch-to.
9930 Correspondingly update all callers of the functions listed
9931 above.
9932 (display-buffer-alist, display-buffer-normalize-arguments)
9933 (display-buffer-normalize-options, display-buffer)
9934 (display-buffer-alist-set): Use "function" instead of
9935 "fun-with-args".
9936
1176868d
CY
99372011-06-28 Chong Yidong <cyd@stupidchicken.com>
9938
9939 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9940 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9941 debbugs.gnu.org. Mention acknowledgment email.
9942
20a7a65f
LMI
99432011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9944
9945 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9946 buffer multibyteness, since it shouldn't matter.
9947
5f45cca5
MR
99482011-06-28 Martin Rudalics <rudalics@gmx.at>
9949
9950 * window.el (display-buffer-in-side-window): Handle dedicated
9951 windows as in display-buffer-reuse-window.
9952 (display-buffer-normalize-alist): Use value of override
9953 specifier.
9954 (display-buffer-normalize-specifiers): Use value of
9955 other-window-means-other-frame specifier.
9956 (display-buffer-alist): Rewrite some texts in widgets.
9957 (display-buffer): Spread arguments when calling function
9958 specified by fun-with-args.
9959
ad85fe1f
DD
99602011-06-28 Deniz Dogan <deniz@dogan.se>
9961
1fa280a3
LM
9962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9963 Unnest `let'.
da68c4c8 9964
ad85fe1f
DD
9965 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9966 selectors (Bug#5732).
ec49bd31 9967 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9968
a08cc025
JA
99692011-06-27 Jari Aalto <jari.aalto@cante.net>
9970
9971 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9972 (eshell-ls-date-format): New defcustom.
9973 (eshell-ls-file): Use it.
9974
e2b551c5
SM
99752011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9978
8982b231
KY
99792011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9980
9981 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9982 (ange-ftp-make-tmp-name): New arg.
9983 (ange-ftp-file-local-copy): Use it.
9984
36c9fa27
J
99852011-06-27 Jambunathan K <kjambunathan@gmail.com>
9986
9987 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9988 no-conversion (Bug#8870).
9989
d68443dc
MR
99902011-06-27 Martin Rudalics <rudalics@gmx.at>
9991
9992 * window.el (window-right, window-left, window-child)
9993 (window-child-count, window-last-child)
9994 (window-iso-combination-p, walk-window-tree-1)
9995 (window-atom-check-1, window-tree-1, delete-window)
9996 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9997 new naming conventions - window-vchild, window-hchild,
9998 window-next and window-prev are now called window-top-child,
9999 window-left-child, window-next-sibling and window-prev-sibling
10000 respectively.
d615d6d2
MR
10001 (resize-window-reset): Rename to window-resize-reset.
10002 (resize-window-reset-1): Rename to window-resize-reset-1.
10003 (resize-window): Rename to window-resize.
10004 (window-min-height, window-min-width)
10005 (resize-mini-window, resize-this-window, resize-root-window)
10006 (resize-root-window-vertically, adjust-window-trailing-edge)
10007 (enlarge-window, shrink-window, maximize-window)
10008 (minimize-window, delete-window, quit-restore-window)
10009 (split-window, balance-windows, balance-windows-area-adjust)
10010 (balance-windows-area, window-state-put-2)
10011 (display-buffer-even-window-sizes, display-buffer-set-height)
10012 (display-buffer-set-width, set-window-text-height)
10013 (fit-window-to-buffer): Rename all "resize-window" prefixed
10014 calls to use the "window-resize" prefix convention.
10015 (display-buffer-alist): Fix symbol for label specifier.
10016 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10017 corresponding specifier.
10018 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10019
b6458526
VB
100202011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10021
10022 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10023 convention.
10024 (ses-call-printer): Does not pass an empty string to formatter when the
10025 cell is empty to keep from barking printer Calc math-format-value.
10026
d31fd9ac
RS
100272011-06-27 Richard Stallman <rms@gnu.org>
10028
43d5bf84
RS
10029 * battery.el (battery-mode-line-limit): New variable.
10030 (battery-update): Handle it.
10031
d31fd9ac
RS
10032 * mail/rmailmm.el (rmail-mime-process-multipart):
10033 Handle truncated messages.
10034
819a6054
GM
100352011-06-27 Glenn Morris <rgm@gnu.org>
10036
10037 * progmodes/flymake.el (flymake-err-line-patterns):
10038 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10039
cedc73f2
VB
100402011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10041
819a6054 10042 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10043 (ses--clean-!, ses--clean-_): New functions.
10044 (ses-range): Add configurability of readout order, and conversion
10045 to Calc vector.
10046
5e5d49b6
VB
10047 * ses.el (ses-repair-cell-reference-all): New function.
10048 (ses-cell-symbol): Set macro as safe, so that it can be used in
10049 formulas.
10050
56e6cc31 10051 * ses.el: Update cycle detection algorithm.
90ca8b49 10052 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10053 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10054 (ses-set-localvars): New function.
10055 (ses-make-cell): Add property-list as a cell element.
10056 (ses-cell-property-get-fun, ses-cell-property-get)
10057 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10058 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10059 New functions.
90ca8b49
VB
10060 (ses-cell-property-set, ses-cell-property-pop)
10061 (ses-cell-property-get-handle): New macro.
10062 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10063 New aliases, used for code readability.
10064 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10065 cycle detection.
10066 (ses-self-reference-early-detection): New defcustom.
fac916bf 10067 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10068 (ses-mode): Use ses-set-localvars.
10069 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10070 before lauching the update processing.
10071 (ses-initialize-Dijkstra-attempt): New function.
10072 (ses-recalculate-cell): Update for cycle detection based on
10073 Dijkstra algorithm.
10074
2bb63e81
VB
10075 * ses.el: Fix commenting and indenting convention.
10076
c9d29fb8
SM
100772011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * bs.el (bs-cycle-next): Complete last change.
10080
d8e4b68b
JB
100812011-06-27 Drew Adams <drew.adams@oracle.com>
10082
10083 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10084
40098786
LMI
100852011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10086
c9d29fb8
SM
10087 * net/network-stream.el (network-stream-open-starttls):
10088 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10089 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10090
40098786
LMI
10091 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10092 to binary to possibly avoid line encoding issues on Windows (among
10093 other things).
10094
468d09d4
LMI
100952011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10096
10097 * net/network-stream.el (open-network-stream): Return an :error
10098 saying what the problem was, if possible.
10099
10100 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10101 server.
10102
10103 * net/network-stream.el (network-stream-open-starttls): If we
10104 wanted to use STARTTLS, and the server offered it, but we weren't
10105 able to because we had no STARTTLS support, then close the connection.
10106 (open-network-stream): Return an :error element, if present.
10107
16f07dd7
CY
101082011-06-26 Chong Yidong <cyd@stupidchicken.com>
10109
88821ca0
CY
10110 * hl-line.el (hl-line-sticky-flag): Doc fix.
10111 (global-hl-line-sticky-flag): New option (Bug#8323).
10112 (global-hl-line-highlight): Obey it.
10113
16f07dd7
CY
10114 * vc/vc.el (vc-revert-show-diff): Default to t.
10115
6b5ccddf
KM
101162011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10117
c9d29fb8
SM
10118 * allout-widgets.el (allout-widgets-post-command-business):
10119 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10120 undecorated when an isearch is continued past, and isearch
10121 automatically collapses them. This leads to "widget leaks", where
10122 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10123 hidden widgets can slow down cursor travel, substantially.
10124 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10125 so we're doing without this nicety.
10126
10127 (allout-widgets-tally-string): Don't try to do a hash-table-count
10128 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10129 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10130 *Messages* when allout-widgets-maintain-tally is t.
10131
355f2e07
MR
101322011-06-26 Martin Rudalics <rudalics@gmx.at>
10133
10134 * window.el (display-buffer-normalize-argument): Rename to
10135 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10136 LABEL argument. Respect special-display-function when popping up
10137 a new frame. Fix code searching for a window showing the buffer
10138 on another frame.
c9d29fb8
SM
10139 (display-buffer-normalize-specifiers):
10140 Call display-buffer-normalize-arguments.
355f2e07
MR
10141 (display-buffer-in-window): Don't undedicate the window if its
10142 buffer remains the same.
10143 Reported by Drew Adams <drew.adams@oracle.com>.
10144 (display-buffer-alist): Add choice for same-window macro
10145 specfier.
10146 (display-buffer): Mention special meaning of LABEL argument in
10147 doc-string. Fix quoting. Don't pop up a new frame even as
10148 fallback.
10149
7ca8fc42
JB
101502011-06-26 Juanma Barranquero <lekktu@gmail.com>
10151
10152 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10153 avoid deleting the current window in some cases (bug#8911).
10154
bc312254
AS
101552011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10156
10157 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10158 (Bug#8934)
10159
2db18f3f
LMI
101602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10161
c9d29fb8
SM
10162 * net/network-stream.el (network-stream-open-starttls):
10163 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10164 (network-stream-open-tls): Ditto.
10165
6302e0d3
LL
101662011-06-26 Leo Liu <sdl.web@gmail.com>
10167
10168 * register.el (registerv): New struct.
10169 (registerv-make): New function.
c9d29fb8
SM
10170 (jump-to-register, describe-register-1, insert-register):
10171 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10172 struct. (Bug#8415)
10173
5fdd4046
CY
101742011-06-26 Chong Yidong <cyd@stupidchicken.com>
10175
2afef60a
CY
10176 * vc/vc.el (vc-revert-show-diff): New defcustom.
10177 (vc-diff-internal): New arg specifying diff buffer.
10178 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10179 reuse an existing *vc-diff* buffer (Bug#8927).
10180
5fdd4046
CY
10181 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10182
e93db24a
GM
101832011-06-26 Glenn Morris <rgm@gnu.org>
10184
10185 * progmodes/f90.el (f90-critical-indent): New option.
10186 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10187 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10188 (f90-mode): Doc fix.
10189 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10190 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10191 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10192 (f90-match-end): Handle block, critical.
10193
eefff499
GM
101942011-06-25 Glenn Morris <rgm@gnu.org>
10195
f6ba4cc9
GM
10196 * calendar/diary-lib.el (diary-included-files): Doc fix.
10197 (diary-include-files): New function, extracted from
10198 diary-include-other-diary-files and diary-mark-included-diary-files.
10199 (diary-include-other-diary-files, diary-mark-included-diary-files):
10200 Just call diary-include-files.
10201 (diary-mark-entries): Reset diary-included-files on first call.
10202
16712304
GM
10203 * calendar/diary-lib.el (diary-mark-entries)
10204 (diary-mark-included-diary-files):
10205 Visit included diary-files in temp buffers.
10206
5d8e0d43
GM
10207 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10208 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10209 (f90-start-block-re, f90-imenu-generic-expression)
10210 (f90-looking-at-program-block-start, f90-no-block-limit):
10211 Add support for submodules.
10212
ccf7a5d5
GM
10213 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10214 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10215
11fdef7d 102162011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10217
10218 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10219 buffer-file-type before setting its value, to avoid disastrous
eefff499 10220 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10221
74f53697
JB
102222011-06-25 Juanma Barranquero <lekktu@gmail.com>
10223
10224 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10225
10226 * ses.el (ses-unload-function):
10227 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10228
10229 * proced.el (proced-unload-function):
10230 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10231
18a4ce5e
AR
102322011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10233
10234 * server.el (server-create-window-system-frame): Add parameters arg.
10235 (server-process-filter): Doc fix. Handle frame-parameters.
10236
519d22cc
JB
102372011-06-25 Juanma Barranquero <lekktu@gmail.com>
10238
10239 Fix bug#8730, bug#8781.
10240
10241 * loadhist.el (unload--set-major-mode): New function.
10242 (unload-feature): Use it.
10243
10244 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10245 (python-unload-function): New function.
10246
c206f5b0
SM
102472011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10250
f9ad64f3
GS
102512011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10252
10253 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10254 the candidates list.
10255
7d0da90e
JB
102562011-06-24 Juanma Barranquero <lekktu@gmail.com>
10257
10258 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10259
14b4e83d
RS
102602011-06-23 Richard Stallman <rms@gnu.org>
10261
10262 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10263 (rmail-variables): Set next-error-move-function.
10264 (rmail-what-message): Take argument POS.
10265 (rmail-next-error-move): New function.
10266
273d2baf
SM
102672011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10270 messages for adjacent non-terminals.
10271
56c2cc9a
RS
102722011-06-23 Richard Stallman <rms@gnu.org>
10273
10274 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10275 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10276 (rmail-start-mail): Don't specify use of rmail-mail-return;
10277 that's done by mail-bury now.
10278 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10279
d59eb518
MA
102802011-06-23 Michael Albinus <michael.albinus@gmx.de>
10281
10282 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10283 SIZE is a number.
10284
02cfc6d6
MR
102852011-06-23 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (get-lru-window, get-mru-window)
10288 (get-largest-window): Never return a minibuffer window.
10289 (display-buffer-pop-up-window): Fix a bug that could lead to
10290 reusing the minibuffer window.
10291 (display-buffer): Pass original specifier argument to
10292 display-buffer-function instead of the normalized one.
10293 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10294
4e323265
LL
102952011-06-22 Leo Liu <sdl.web@gmail.com>
10296
10297 * minibuffer.el (completing-read-function)
10298 (completing-read-default): Move from minibuf.c
10299
7a70468f
RS
103002011-06-22 Richard Stallman <rms@gnu.org>
10301
50718fc2
RS
10302 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10303 to Rmail even if not started by a special Rmail command.
10304
7a70468f
RS
10305 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10306 Copy the buffer currently showing just one message.
10307
297dde5a
RW
103082011-06-22 Roland Winkler <winkler@gnu.org>
10309
10310 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10311 (bibtex-clean-entry): First delete the old key so that a
10312 customized algorithm for generating the new key does not get
10313 confused by the old key.
10314 (bibtex-url): Obey regexp of first step.
10315 (bibtex-search-entries): Do not use add-to-list with local
10316 list-var.
10317
97bb1093
LMI
103182011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10319
10320 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10321 stored a user name, then query for the password first, instead of
10322 waiting for SMTP to give an error message and the trying again.
10323
1c0f1a19
JD
103242011-06-22 Lawrence Mitchell <wence@gmx.li>
10325
10326 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10327 BUFFER in call-process.
10328
396f7c9d
LMI
103292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10330
10331 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10332 QUIT twice.
ddb7ffee
LMI
10333 (smtpmail-try-auth-methods): Require user name and password from
10334 auth-source.
396f7c9d 10335
8998d1b3
MR
103362011-06-22 Martin Rudalics <rudalics@gmx.at>
10337
10338 * window.el (display-buffer-default-specifiers)
10339 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10340 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10341 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10342
10343 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10344 (special-display-frame-alist, special-display-popup-frame):
10345 Remove duplicate declarations. These are now in window.el.
10346
4ea31e07
LMI
103472011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10348
c9d29fb8
SM
10349 * mail/smtpmail.el (smtpmail-via-smtp):
10350 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10351 server supports it. SMTP servers that support STARTTLS commonly
10352 require it.
10353
10354 * net/network-stream.el (network-stream-open-starttls): Support
10355 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10356 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10357
95f41d9a
LMI
10358 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10359 upgrades with `open-network-stream', and rely solely on
10360 auth-source for all credentials. Big changes throughout the file,
10361 but in particular:
c9d29fb8
SM
10362 (smtpmail-auth-credentials): Remove.
10363 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10364 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10365 MAIL FROM, too.
95f41d9a 10366
c9d29fb8
SM
10367 * net/network-stream.el (network-stream-open-starttls):
10368 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10369 STARTTLS.
10370 (auth-source): Require.
10371 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10372 (network-stream-certificate): Change cert-cert to cert and
10373 cert-key to key.
4ea31e07 10374
065ec2c7
MA
103752011-06-21 Michael Albinus <michael.albinus@gmx.de>
10376
10377 * net/tramp-cache.el (top): Don't load the persistency file when
10378 "emacs -Q" has been called.
10379
cd93b359
DR
103802011-06-21 Tim Harper <timcharper@gmail.com>
10381
d8e4b68b
JB
10382 * term/ns-win.el (ns-initialize-window-system):
10383 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10384 resource to NO as it is not yet supported by the NS port.
10385
ae9c0411
JB
103862011-06-21 Juanma Barranquero <lekktu@gmail.com>
10387
10388 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10389 (list-dynamic-libraries): ...not here.
10390
7f3f739f
LL
103912011-06-21 Leo Liu <sdl.web@gmail.com>
10392
10393 * subr.el (sha1): Implement sha1 using secure-hash.
10394
327c8fb1
MR
103952011-06-21 Martin Rudalics <rudalics@gmx.at>
10396
10397 * window.el (display-buffer-alist): In default value do not
10398 enforce searching a window on any but the selected frame.
10399 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10400 (display-buffer-select-window): Remove function.
10401 (display-buffer-in-window): When a window on another frame gets
10402 reused, do not select it any more but just raise its frame if
10403 necessary (Bug#8851) and (Bug#8856).
10404 (display-buffer-normalize-options): Handle pop-up-frames related
10405 options more faithfully.
10406 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10407 window if it is on another frame.
c9d29fb8
SM
10408 (display-buffer-alist, display-buffer-default-specifiers):
10409 Don't make new frame unsplittable by default.
9e9de014
MR
10410 (display-buffer-normalize-argument): Fix doc-string typo and use
10411 'same-frame-other-window instead of 'other-window when associating
10412 with display-buffer-macro-specifiers.
327c8fb1 10413
7cf3f556
VB
104142011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10415
10416 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10417 New functions.
10418 (5x5-mode-map, 5x5-mode-menu): Bind them.
10419 (5x5-draw-grid): Tweak the solver's rendering.
10420
60a406cf
SM
104212011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10424 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10425
d8e4b68b 104262011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10427
10428 * menu-bar.el: Use function variable instead of switch-to-buffer.
10429 (menu-bar-select-buffer-function): New variable.
60a406cf 10430 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10431
478d6f95
SM
104322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10435 variable's status.
10436
ca530739
JD
104372011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10438
10439 * x-dnd.el (x-dnd-version-from-flags)
10440 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10441 and long as number (Bug#8899).
10442 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10443
bcd70d97
SM
104442011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10445
60a406cf 10446 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10447 (completion-try-completion, completion-all-completions): Compute the
10448 metadata argument if it's missing; make it optional (bug#8795).
10449
60a406cf 10450 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10451 (widget-complete): Use new :completion-function property.
10452 (widget-completions-at-point): New function.
10453 (default): Use :completion-function instead of :complete.
60a406cf
SM
10454 (widget-default-completions): Rename from widget-default-complete;
10455 Rewrite.
bcd70d97
SM
10456 (widget-string-complete, widget-file-complete, widget-color-complete):
10457 Remove functions.
10458 (file, symbol, function, variable, coding-system, color):
10459 * international/mule-cmds.el (default-input-method, charset)
10460 (language-info-custom-alist):
10461 * cus-edit.el (face): Use new property :completions.
10462
10463 * progmodes/pascal.el (pascal-completions-at-point): New function.
10464 (pascal-mode): Use it.
10465 (pascal-mode-map): Use completion-at-point.
10466 (pascal-toggle-completions): Make obsolete.
10467 (pascal-complete-word, pascal-show-completions):
10468 * progmodes/octave-mod.el (octave-complete-symbol):
10469 Redefine as obsolete alias.
10470 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10471 Signal absence of completion info for old Octave,
10472 (inferior-octave-complete): Redefine as obsolete alias.
10473 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10474 (meta-completions-at-point): Rename from meta-complete-symbol and
10475 adapt it for use on completion-at-point-functions.
10476 (meta-common-mode): Use it.
10477 (meta-looking-at-backward, meta-match-buffer): Remove.
10478 (meta-complete-symbol): Redefine as obsolete alias.
10479 (meta-common-mode-map): Use completion-at-point.
10480 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10481 (makefile-mode-map): Use completion-at-point.
10482 (makefile-completions-at-point): Rename from makefile-complete and
10483 adapt it for use on completion-at-point-functions.
10484 (makefile-mode): Use it.
10485 (makefile-complete): Redefine as obsolete alias.
10486
aebf69c8
DD
104872011-06-20 Deniz Dogan <deniz@dogan.se>
10488
10489 * net/rcirc.el: Delete trailing whitespaces once and for all.
10490
bfbbb27d
DC
104912011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10492
10493 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10494
d264a46b
CY
104952011-06-19 Chong Yidong <cyd@stupidchicken.com>
10496
4ca009e5
CY
10497 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10498
d264a46b
CY
10499 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10500
fbf5b3ce
MR
105012011-06-19 Martin Rudalics <rudalics@gmx.at>
10502
10503 * window.el (display-buffer-other-window-means-other-frame):
10504 Call display-buffer-normalize-alist.
10505 (display-buffer-normalize-specifiers-1): Rename to
10506 display-buffer-normalize-argument. New argument other-frame.
10507 Rewrite.
10508 (display-buffer-normalize-specifiers-2): Rename to
10509 display-buffer-normalize-options.
10510 (display-buffer-normalize-alist-1): New function.
10511 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10512 display-buffer-normalize-alist.
10513 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10514 (display-buffer-normalize-options-inhibit): New variable.
10515 (display-buffer-normalize-specifiers): Rewrite calling
10516 display-buffer-normalize-alist,
10517 display-buffer-normalize-argument, and
10518 display-buffer-normalize-options. Don't call the latter if
10519 display-buffer-normalize-options-inhibit is non-nil.
10520 (frame-auto-delete): New option.
10521 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10522 (window-list-no-nils, window-state-ignored-parameters)
10523 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10524 (window-state-put-1, window-state-put-2, window-state-put):
10525 New functions.
9a028c23
MR
10526 (display-buffer-normalize-options): Move special-display-p group
10527 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10528
6d10d800
CY
105292011-06-18 Chong Yidong <cyd@stupidchicken.com>
10530
6420d28b
CY
10531 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10532 groups (Bug#8776).
10533 (rx-submatch-n): New function.
10534 (rx): Document it.
10535
ddb8b596
CY
10536 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10537 (Bug#8768).
10538
10539 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10540
77080289
CY
10541 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10542
61dfb316
CY
10543 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10544 anytime existing face settings are present (Bug#8889).
10545
6d10d800
CY
10546 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10547 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10548 Remove unused argument.
10549
be3fb2b8
MR
105502011-06-18 Martin Rudalics <rudalics@gmx.at>
10551
bcd70d97
SM
10552 * window.el (display-buffer-default-specifiers):
10553 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10554 pop-up-window-min-width, and another reuse-window specifier
10555 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10556 (display-buffer-normalize-specifiers-2):
10557 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10558 pop-up-windows is unset. Add a reuse-window specifier for the
10559 case popping up a new window fails.
10560 (special-display-popup-frame): Remove double quoting.
28dec25a 10561 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10562
1c6d8c76
SM
105632011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10566 according to comint-completion-addsuffix.
10567
10568 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10569 (pcomplete-suffix-list): Mark as obsolete.
10570 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10571 pcomplete-seen in the closure.
10572 (pcomplete-comint-setup): Setup completion-at-point as well.
10573 (pcomplete--entries): New function.
10574 (pcomplete--env-regexp): New var.
10575 (pcomplete-entries): Rewrite to work with partial-completion and
10576 without relying on pcomplete-suffix-list.
10577 (pcomplete-pare-list): Remove, unused.
10578
25aef8b8
MR
105792011-06-17 Martin Rudalics <rudalics@gmx.at>
10580
10581 * window.el (display-buffer-alist): Set pop-up-window-min-height
10582 and pop-up-window-min-width in default value. Reported by
10583 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10584 other-window-means-other-frame.
10585 (display-buffer-macro-specifiers): Comment out entry for
10586 other-window specifier.
10587 (display-buffer-other-window-means-other-frame): New function.
10588 (display-buffer-normalize-specifiers-1): New arguments
10589 buffer-name and label. Treat other-window case specially.
10590 (display-buffer-normalize-specifiers-2): Treat other-window case
10591 specially.
10592 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10593 (display-buffer-normalize-specifiers):
10594 Call display-buffer-normalize-specifiers-3.
25aef8b8 10595
dbad4f69
MR
105962011-06-17 Martin Rudalics <rudalics@gmx.at>
10597
10598 * window.el (same-window-p): Fix two typos introduced when
10599 adding with-no-warnings.
d1067961
MR
10600 (display-buffer-normalize-specifiers-1): Don't check
10601 pop-up-frames for 'unset initialization.
10602 (display-buffer-normalize-specifiers-2): Major rewrite using
10603 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10604 (pop-up-frames, display-buffer-reuse-frames)
10605 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10606 Suggested by David Engster <deng@randomsample.de>.
10607 (even-window-heights): Initialize to 'unset.
10608 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10609 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10610 other window case.
dbad4f69 10611
9b9c9e3a
MR
106122011-06-16 Martin Rudalics <rudalics@gmx.at>
10613
bcd70d97
SM
10614 * window.el (display-buffer-normalize-specifiers-1):
10615 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10616 second argument of display-buffer (Bug#8865).
981d5c09
MR
10617 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10618 (switch-to-buffer-other-window-same-frame)
10619 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10620 Adams (Bug#8875).
9c2755e9
MR
10621 (display-buffer): Don't check noninteractive when calling
10622 display-buffer-pop-up-frame.
10623 (display-buffer-pop-up-frame): Never pop up a frame in
10624 noninteractive mode (Bug#8857).
67222e1d
MR
10625 (enlarge-window, shrink-window): Don't report an error when the
10626 window can't be resized as requested (Bug#8862).
9b9c9e3a 10627
2b75be67
SM
106282011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10629
9ffdd3ba
SM
10630 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10631
cb581a67
SM
10632 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10633
2b75be67
SM
10634 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10635
8c0e3589
AM
106362011-06-15 Alan Mackenzie <acm@muc.de>
10637
cb581a67
SM
10638 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10639 for declarators, disable knr checking to speed up for normal files.
10640 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10641
b96e6cde
LMI
106422011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10643
4bba86e6
LMI
10644 * net/network-stream.el (open-network-stream): Add the keyword
10645 :always-query-capabilities for the case where you want to force a
10646 `plain' network connection, but the protocol still requires the
10647 capabilitiy command (i.e., SMTP and EHLO).
10648
2b75be67 10649 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10650 consistency with other `-live-p' functions.
10651
efdcdbf8
SM
106522011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * window.el (same-window-buffer-names, same-window-regexps)
10655 (special-display-frame-alist, special-display-popup-frame)
10656 (special-display-function, special-display-buffer-names)
10657 (special-display-regexps, pop-up-frame-alist)
10658 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10659 (pop-up-windows, split-window-preferred-function)
10660 (split-height-threshold, split-width-threshold, even-window-heights)
10661 (display-buffer-mark-dedicated): Don't encourage the use of
10662 display-buffer-alist from Elisp code.
10663
c5cde042
DN
106642011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10665
10666 * progmodes/python.el (python-mode): Derive from prog-mode.
10667 * progmodes/ps-mode.el (ps-mode):
10668 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10669 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10670 * progmodes/ld-script.el (ld-script-mode): Likewise.
10671
baa1c9ab
MR
106722011-06-15 Martin Rudalics <rudalics@gmx.at>
10673
10674 * window.el (display-buffer-alist): Trim default value to avoid
10675 popping up a new frame (Bug#8857) or reusing an arbitrary window
10676 on another frame.
10677 (display-buffer): Do not fall back on popping up a new frame in
10678 batch mode (Bug#8857).
10679
c5dd5a51
CY
106802011-06-14 Chong Yidong <cyd@stupidchicken.com>
10681
10682 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10683 (custom-theme-summary): New function.
10684 (customize-themes): Use it.
10685
d647b7c4
GM
106862011-06-13 Glenn Morris <rgm@gnu.org>
10687
10688 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10689
9481c002
MR
106902011-06-13 Martin Rudalics <rudalics@gmx.at>
10691
357f93d2
MR
10692 * help.el (help-window): Remove variable.
10693 (help-window-point-marker, temp-buffer-max-height)
10694 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10695 (help-print-return-message): Don't set help-window.
10696 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10697 (help-window-setup-finish): Remove.
10698 (help-window-display-message, help-window-setup)
10699 (with-help-window): Major rewrite based on new
10700 display-buffer-window variable.
10701
10702 * help-mode.el (help-mode-finish): Remove help-window related
10703 code.
10704
10705 * view.el (view-exits-all-viewing-windows): Remove reference to
10706 view-return-to-alist in doc-string.
10707 (view-return-to-alist): Make obsolete.
10708 (view-buffer): Call pop-to-buffer-same-window and remove
10709 undo-window code.
10710 (view-buffer-other-window): Call pop-to-buffer-other-window and
10711 simplify code. Ignore second argument.
10712 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10713 simplify code. Ignore second argument.
10714 (view-return-to-alist-update): Make obsolete.
10715 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10716 Rewrite using quit-restore window parameters.
2b75be67
SM
10717 (view-mode-exit): Rename second argument to EXIT-ONLY.
10718 Rewrite using quit-restore-window.
357f93d2
MR
10719 (View-exit, View-exit-and-edit, View-leave, View-quit)
10720 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10721 appropriate arguments.
10722 (view-end-message): Use quit-restore window parameter.
10723
9481c002
MR
10724 * window.el (display-buffer-function): Rewrite doc-string.
10725 (display-buffer-window, display-buffer-alist): New variables.
10726 (display-buffer-split-specifiers)
10727 (display-buffer-side-specifiers)
10728 (display-buffer-macro-specifiers): New constants.
10729 (display-buffer-even-window-sizes, display-buffer-set-height)
10730 (display-buffer-set-width, display-buffer-select-window)
10731 (display-buffer-in-window, display-buffer-reuse-window)
10732 (display-buffer-split-window-1, display-buffer-split-window)
10733 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10734 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10735 (display-buffer-in-side-window, normalize-buffer-to-display)
10736 (display-buffer-normalize-specifiers-1)
10737 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10738 (display-buffer-normalize-specifiers, display-buffer-frame):
10739 New functions.
9481c002
MR
10740 (display-buffer): Major rewrite.
10741 (display-buffer-other-window, display-buffer-other-frame)
10742 (pop-to-buffer, switch-to-buffer-other-window)
10743 (switch-to-buffer-other-frame): Rewrite.
10744 (display-buffer-same-window, display-buffer-same-frame)
10745 (display-buffer-same-frame-other-window)
10746 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10747 (pop-to-buffer-other-window)
10748 (pop-to-buffer-same-frame-other-window)
10749 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10750 (switch-to-buffer-other-window-same-frame): New functions.
10751 (same-window-p, special-display-p): Rewrite disabling warnings.
10752 Make obsolete.
10753 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10754 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10755 Make obsolete
10756 (same-window-buffer-names, same-window-regexps)
10757 (special-display-frame-alist, special-display-popup-frame)
10758 (special-display-function, special-display-buffer-names)
10759 (special-display-regexps, pop-up-frame-alist)
10760 (pop-up-frame-function, split-window-preferred-function)
10761 (split-height-threshold, split-width-threshold)
10762 (even-window-heights): Make obsolete.
10763
9db51aca
GM
107642011-06-12 Glenn Morris <rgm@gnu.org>
10765
10766 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10767 Misc simplifications.
9db51aca 10768
39cffb44
MR
107692011-06-12 Martin Rudalics <rudalics@gmx.at>
10770
10771 * window.el (window-safely-shrinkable-p): Restore function which
10772 was inadvertently removed in change from 2011-06-11. Declare as
10773 obsolete.
10774
2b75be67
SM
10775 * calendar/calendar.el (calendar-generate-window):
10776 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10777 window-safely-shrinkable-p.
10778
a8955be7
GM
107792011-06-12 Glenn Morris <rgm@gnu.org>
10780
10781 * progmodes/fortran.el (fortran-mode-syntax-table):
10782 * progmodes/f90.el (f90-mode-syntax-table):
10783 Set % to punctuation. (Bug#8820)
10784 (f90-find-tag-default): Remove, no longer needed.
10785
f0d4059d
DC
107862011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10787
10788 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10789
1100a63c
CY
107902011-06-11 Chong Yidong <cyd@stupidchicken.com>
10791
10792 * image.el (image-animated-p): Return animation delay in seconds.
10793 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10794 (image-animate-timeout): Remove DELAY argument. Don't assume
10795 every subimage has the same delay; get it from image-animated-p.
10796 (image-animate): Caller changed.
10797
def722bf
MA
107982011-06-11 Michael Albinus <michael.albinus@gmx.de>
10799
10800 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10801 to ignored backtrace functions.
10802
0a2bb1a9
GM
108032011-06-11 Glenn Morris <rgm@gnu.org>
10804
10805 * calendar/appt.el (appt-disp-window-function): Doc fix.
10806 (appt-check): Handle overlapping appointments. (Bug#8337)
10807
6198ccd0
MR
108082011-06-11 Martin Rudalics <rudalics@gmx.at>
10809
10810 * window.el (window-tree-1, window-tree): New functions, moving
10811 the latter to window.el.
10812 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10813 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10814 (bw-refresh-edges): Remove.
10815 (balance-windows-1, balance-windows-2): New functions.
10816 (balance-windows): Rewrite in terms of window tree functions,
10817 balance-windows-1 and balance-windows-2.
10818 (bw-adjust-window): Remove.
10819 (balance-windows-area-adjust): New function with functionality of
10820 bw-adjust-window but using resize-window.
2b75be67
SM
10821 (set-window-text-height): Rewrite doc-string.
10822 Use normalize-live-window and resize-window.
10823 (enlarge-window-horizontally, shrink-window-horizontally):
10824 Rename argument to DELTA.
6198ccd0
MR
10825 (window-buffer-height): New function.
10826 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10827 Rewrite using new window resize routines.
2b75be67
SM
10828 (kill-buffer-and-window, mouse-autoselect-window-select):
10829 Use ignore-errors instead of condition-case.
6198ccd0
MR
10830 (quit-window): Call delete-frame instead of delete-windows-on
10831 for the only buffer on frame.
10832
9397e56f
MR
108332011-06-10 Martin Rudalics <rudalics@gmx.at>
10834
10835 * loadup.el (top-level): Load window before files for the sake
10836 of replace-buffer-in-windows.
10837
10838 * files.el (read-buffer-to-switch)
10839 (switch-to-buffer-other-window)
2b75be67
SM
10840 (switch-to-buffer-other-frame, display-buffer-other-frame):
10841 Move to window.el.
9397e56f
MR
10842
10843 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10844 (previous-buffer): Move to window.el.
10845
10846 * bindings.el (unbury-buffer): Move to window.el.
10847
10848 * window.el (delete-other-windows-vertically): Move after
10849 definition of delete-other-windows.
10850 (other-window, delete-windows-on, replace-buffer-in-windows):
10851 Move here from window.c.
10852 (record-window-buffer, unrecord-window-buffer)
10853 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10854 (switch-to-next-buffer): New functions.
10855 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10856 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10857 (previous-buffer): Move here from simple.el.
10858 Call switch-to-prev-buffer.
9397e56f
MR
10859 (bury-buffer): Move here from buffer.c. Switch to previous
10860 buffer when window cannot be deleted.
10861 (unbury-buffer): Move here from bindings.el.
10862 (ctl-x-map): Move binding for other-window from window.c to
10863 here.
10864 (read-buffer-to-switch, switch-to-buffer-other-window)
10865 (switch-to-buffer-other-frame): Move here from files.el.
10866 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10867 (switch-to-buffer): Move here from buffer.c.
10868 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10869
562dd5e9
MR
108702011-06-10 Martin Rudalics <rudalics@gmx.at>
10871
10872 * window.el (window-min-height, window-min-width): Move here
10873 from window.c. Add defcustoms and rewrite doc-strings.
10874 (resize-mini-window, resize-window): New functions.
10875 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10876 Move here from window.c.
10877 (maximize-window, minimize-window): New functions.
10878 (delete-window, delete-other-windows, split-window): Move here
10879 from window.c.
10880 (window-split-min-size): New function.
10881 (split-window-keep-point): Mention split-window-above-each-other
10882 instead of split-window-vertically.
2b75be67 10883 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10884 Rename split-window-vertically to split-window-above-each-other
10885 and provide defalias for old definition.
10886 (split-window-side-by-side, split-window-horizontally):
10887 Rename split-window-horizontally to split-window-side-by-side
10888 and provide defalias for the old definition.
562dd5e9
MR
10889 (ctl-x-map): Move bindings for delete-window,
10890 delete-other-windows and enlarge-window here from window.c.
10891 Replace bindings for split-window-vertically and
10892 split-window-horizontally by bindings for
10893 split-window-above-each-other and split-window-side-by-side.
10894
10895 * cus-start.el (all): Remove entries for window-min-height and
10896 window-min-width. Add entries for window-splits and
10897 window-nest.
10898
f0da764a
GM
108992011-06-09 Glenn Morris <rgm@gnu.org>
10900
80675c21
GM
10901 * calendar/appt.el (appt-mode-line): New function.
10902 (appt-check, appt-disp-window): Use it.
10903
f0da764a
GM
10904 * files.el (hack-one-local-variable-eval-safep):
10905 Allow minor-modes with explicit +/-1 arguments.
10906
59f623b7
TZ
109072011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10908
10909 * term/xterm.el (xterm): Add defgroup.
10910 (xterm-extra-capabilities): Add defcustom to supply known xterm
10911 capabilities, skip querying them, or query them (default).
10912 (terminal-init-xterm): Use it.
10913 (terminal-init-xterm-modify-other-keys): New function to set up
10914 modifyOtherKeys support to simplify `terminal-init-xterm'.
10915
9aab8e0d
MR
109162011-06-09 Martin Rudalics <rudalics@gmx.at>
10917
10918 * window.el (resize-window-reset, resize-window-reset-1)
10919 (resize-subwindows-skip-p, resize-subwindows-normal)
10920 (resize-subwindows, resize-other-windows, resize-this-window)
10921 (resize-root-window, resize-root-window-vertically)
10922 (window-deletable-p, window-or-subwindow-p)
10923 (frame-root-window-p): New functions.
10924
e8b08aee
GM
109252011-06-09 Glenn Morris <rgm@gnu.org>
10926
10927 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10928 (ange-ftp-get-files): Use it.
10929
254c37a5
AK
109302011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10931
10932 * mail/sendmail.el (mail-recover-1, mail-recover):
10933 * files.el (recover-file, recover-session):
10934 Handle dired-listing-switches not being just a single short option.
10935
35d7dbd3
GM
109362011-06-09 Glenn Morris <rgm@gnu.org>
10937
10938 * calendar/appt.el (appt-display-message, appt-disp-window):
10939 Handle lists of appointments.
10940
387522b2
MR
109412011-06-08 Martin Rudalics <rudalics@gmx.at>
10942
2b75be67
SM
10943 * window.el (one-window-p): Move down in code.
10944 Rewrite doc-string.
10945 (window-current-scroll-bars): Rewrite doc-string.
10946 Normalize live window argument.
387522b2
MR
10947 (walk-windows, get-window-with-predicate, count-windows):
10948 Rewrite doc-string. Use window-list-1.
10949 (window-in-direction-2, window-in-direction, get-mru-window):
10950 New functions.
10951
d8e4b68b 109522011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10953
10954 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10955 Doc fix (Bug#8713).
10956
109572011-06-08 Chong Yidong <cyd@stupidchicken.com>
10958
10959 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10960
109612011-06-08 Juanma Barranquero <lekktu@gmail.com>
10962
10963 * loadhist.el (unload-feature-special-hooks):
10964 Add `comint-output-filter-functions'.
10965
0de12c52
IK
109662011-06-08 Ivan Kanis <gnu@kanis.fr>
10967
10968 * calendar/appt.el (appt-check): Move some initializations into the let.
10969
f3d1777e
MR
109702011-06-08 Martin Rudalics <rudalics@gmx.at>
10971
10972 * window.el (window-height): Defalias to window-total-height.
10973 (window-width): Defalias to window-body-width.
10974
18af70d0
CY
109752011-06-07 Chong Yidong <cyd@stupidchicken.com>
10976
10977 * image-mode.el (image-toggle-animation): New command.
10978 (image-mode-map): Bind it to RET.
10979 (image-mode): Update message.
10980 (image-toggle-display-image): Avoid a spurious cache flush.
10981 (image-transform-rotation): Doc fix.
10982 (image-transform-properties): Return quickly in the normal case.
10983 (image-animate-loop): Rename from image-animate-max-time.
10984
2b75be67 10985 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10986 (create-animated-image): Remove unnecessary function.
10987 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10988 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10989 (image-animate-timer): Use car-safe.
10990 (image-animate-timeout): Rename argument.
10991
190b47e6
MR
109922011-06-07 Martin Rudalics <rudalics@gmx.at>
10993
10994 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10995 window.c. Rename first argument to ALL-FRAMES.
10996 Rephrase doc-strings.
10997 (get-buffer-window-list): Rewrite using window-list-1.
10998 Rephrase doc-string.
a1511caf
MR
10999 (window-safe-min-height, window-safe-min-width): New constants.
11000 (window-size-ignore, window-min-size, window-min-size-1)
11001 (window-sizable, window-sizable-p, window-size-fixed-1)
11002 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11003 (window-max-delta-1, window-max-delta, window-resizable)
11004 (window-resizable-p, window-total-height, window-total-width)
11005 (window-body-width): New functions.
11006 (window-full-height-p, window-full-width-p): Rewrite using
11007 window-total-size.
11008 (window-body-height): Rewrite using window-body-size.
190b47e6 11009
85cc1f11
MR
110102011-06-06 Martin Rudalics <rudalics@gmx.at>
11011
11012 * window.el (window-right, window-left, window-child)
11013 (window-child-count, window-last-child, window-any-p)
11014 (normalize-live-buffer, normalize-live-frame)
11015 (normalize-any-window, normalize-live-window)
11016 (window-iso-combination-p, window-iso-combined-p)
11017 (window-iso-combinations)
11018 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11019 (windows-with-parameter, window-with-parameter)
11020 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11021 (window-atom-check, window-side-check, window-check):
11022 New functions.
85cc1f11
MR
11023 (ignore-window-parameters, window-sides, window-sides-vertical)
11024 (window-sides-slots): New variables.
11025 (window-size-fixed): Move down in code. Minor doc-string fix.
11026
e7156492
AS
110272011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11028
11029 * comint.el (comint-dynamic-complete-as-filename)
11030 (comint-dynamic-complete-filename): Correctly call
11031 completion-in-region.
11032
7e821d0d
DD
110332011-06-05 Deniz Dogan <deniz@dogan.se>
11034
11035 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11036 in last change.
11037
ac09b8a1
DD
110382011-06-05 Deniz Dogan <deniz@dogan.se>
11039
11040 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11041 (rcirc): Use it to prompt for encryption.
11042
34699b85
RW
110432011-06-05 Roland Winkler <winkler@gnu.org>
11044
11045 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11046 (bibtex-search-entries): New command bound to C-c C-a.
11047 (bibtex-display-entries): New function.
11048
004dedd3
RW
110492011-06-05 Roland Winkler <winkler@gnu.org>
11050
11051 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11052 (bibtex-insert-kill): After yanking insert newline if necessary.
11053 (bibtex-initialize): Call bibtex-string-files-init only once.
11054 (bibtex-mode): Do not call easy-menu-add.
11055 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11056 (bibtex-yank): Set arg properly if nil.
11057
022fe7ce
RW
110582011-06-05 Roland Winkler <winkler@gnu.org>
11059
2b75be67
SM
11060 * textmodes/bibtex.el (bibtex-search-entry-globally):
11061 New variable.
022fe7ce
RW
11062 (bibtex-search-entry): Use it.
11063
b7c3692a
RW
110642011-06-05 Roland Winkler <winkler@gnu.org>
11065
11066 * textmodes/bibtex.el (bibtex-entry-format): New option
11067 sort-fields.
11068 (bibtex-format-entry, bibtex-reformat): Honor this option.
11069 (bibtex-parse-entry): Return fields in proper order.
11070
8eda563d
JB
110712011-06-05 Juanma Barranquero <lekktu@gmail.com>
11072
11073 * doc-view.el (doc-view-remove-if): Move computation of result out
11074 of `dolist' to silence misleading lexical-binding warning.
11075
7dbe3dbc
CY
110762011-06-04 Chong Yidong <cyd@stupidchicken.com>
11077
11078 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11079 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11080
0c33dd17
MA
110812011-06-04 Michael Albinus <michael.albinus@gmx.de>
11082
11083 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11084 "SunOS 5.10".
11085
f8f91c2b
MA
110862011-06-04 Michael Albinus <michael.albinus@gmx.de>
11087
11088 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11089 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11090 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11091 (tramp-parse-putty):
11092 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11093 (tramp-completion-function-alist-ssh)
11094 (tramp-completion-function-alist-telnet)
11095 (tramp-completion-function-alist-su)
11096 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11097 cookie.
11098
11099 * net/tramp-ftp.el:
11100 * net/tramp-sh.el:
11101 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11102 load "tramp.el" `tramp-set-completion-function'.
11103
e17d9003
SM
111042011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11105
11106 * shell.el: Require and use pcomplete.
11107 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11108 (shell-completion-vars): Set pcomplete-default-completion-function.
11109
6c4cab03
DD
111102011-06-04 Deniz Dogan <deniz@dogan.se>
11111
11112 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11113 `memq' (Bug#8799).
11114
ea9fafe0
SM
111152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11118
b3e945d3
JB
111192011-06-02 Juanma Barranquero <lekktu@gmail.com>
11120
11121 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11122 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11123 * vc/log-view.el (log-view-beginning-of-defun):
11124 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11125 (smerge-refine-forward, smerge-refine-chopup-region):
11126 Silence warning for unused `dotimes' counter variables.
11127
7d520089
SM
111282011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * net/tramp.el (tramp-with-progress-reporter): Rename from
11131 with-progress-reporter. Use `declare'.
11132 * net/tramp-smb.el:
11133 * net/tramp-sh.el:
11134 * net/tramp-gvfs.el: Update all uses.
11135
a1c2400f
JB
111362011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11137
11138 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11139 buffer isn't killed before making it current.
11140
2403c841
SM
111412011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 Silence various byte-compiler warnings.
11144 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11145 `access-type' and new obsolescence format.
11146 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11147 new format.
11148 (byte-compile-check-variable): New `access-type' argument.
11149 Only warn if the access-type is obsolete.
11150 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11151 (byte-compile-variable-set): Adjust callers.
11152 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11153 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11154 setting it as obsolete.
11155 * simple.el (minibuffer-completing-symbol):
11156 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11157 access as obsolete.
11158 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11159 obsolete yet.
11160 * international/quail.el (quail-mouse-choose-completion): Remove unused
11161 code referring to obsolete var.
11162 (quail-choose-completion-string): Remove.
11163 * server.el (server-clients-with, server-kill-buffer-query-function)
11164 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11165 * proced.el (proced-send-signal):
11166 * emacs-lisp/lisp.el (lisp-complete-symbol):
11167 Replace completion-annotate-function with completion-extra-properties.
11168
2462470b
SM
111692011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11170
fb5b2591
SM
11171 * simple.el (goto-line): Use read-number.
11172 (overriding-map-is-bound): Remove.
11173 (saved-overriding-map): Change default.
11174 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11175 Take the map as argument.
11176 (universal-argument, negative-argument, digit-argument): Use it.
11177 (restore-overriding-map): Adjust.
11178 (do-auto-fill): Use fill-forward-paragraph.
11179 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11180
fd6fa53f
SM
11181 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11182 (minibuffer-inactive-mode): New major mode.
11183 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11184 the *Messages* buffer" hack.
11185 (mouse-popup-menubar): Don't burp if the event is a normal key.
11186
2462470b
SM
11187 Miscellaneous tweaks.
11188 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11189 lexical scoping as in subr.el's dolist and dotimes.
11190 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11191 Silence compiler warning.
11192 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11193 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11194 * international/ccl.el (ccl-compile): Trivial simplification.
11195 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11196 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11197 `printflag' argument.
11198 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11199 Purecopy the whole obsolescence data.
11200
108bf785
LL
112012011-06-01 Leo Liu <sdl.web@gmail.com>
11202
11203 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11204 improve doc-string as suggested by Marco Pessotto
11205 <melmothx@gmail.com>.
11206 (rcirc-print): Fix last change.
11207
30a23501
SM
112082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * minibuffer.el (complete-with-action): Return nil for the metadata and
11211 boundaries of non-functional tables.
11212 (completion-table-dynamic): Return nil for the metadata.
11213 (completion-table-with-terminator): Add default case, using
11214 complete-with-action.
11215 (completion--metadata): New function.
11216 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11217 to try and avoid pathological performance problems.
11218 (completion--embedded-envvar-table): Return `category' metadata.
11219
bcd54f83
LMI
112202011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11221
11222 * subr.el (process-alive-p): New tiny convenience function.
11223
e227544d
SM
112242011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11227 content but also its previous major mode.
11228
e8296fdc
HE
112292011-05-31 Helmut Eller <eller.helmut@gmail.com>
11230
4d61f28d 11231 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11232 *Backtrace* buffer when we exit with C-M-c.
11233
620c53a6
SM
112342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11235
11236 * minibuffer.el: Add metadata method to completion tables.
11237 (completion-category-overrides): New defcustom.
11238 (completion-metadata, completion--field-metadata)
11239 (completion-metadata-get, completion--styles)
11240 (completion--cycle-threshold): New functions.
11241 (completion-try-completion, completion-all-completions):
11242 Add `metadata' argument to choose completion-styles.
11243 (completion--do-completion): Use metadata to choose cycling.
11244 (completion-all-sorted-completions): Use metadata for sorting.
11245 Remove :completion-cycle-penalty which is not needed any more.
11246 (completion--try-word-completion): Add `metadata' argument.
11247 (minibuffer-completion-help): Check metadata for annotation function
11248 and sorting.
11249 (completion-file-name-table): Return `category' metadata.
11250 (minibuffer-completing-file-name): Make obsolete.
11251 * simple.el (minibuffer-completing-symbol): Make obsolete.
11252 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11253 completion-try-completion.
11254
1257e755
SM
112552011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11258
3767e706
LL
112592011-05-30 Leo Liu <sdl.web@gmail.com>
11260
11261 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11262 (rcirc-print): Decode all incoming messages (bug#8744).
11263 (rcirc-decode-coding-system): Allow value nil for automatic coding
11264 system detection.
3767e706 11265
d1a5d56a
GM
112662011-06-01 Glenn Morris <rgm@gnu.org>
11267
11268 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11269
e8cbec34
CY
112702011-05-29 Chong Yidong <cyd@stupidchicken.com>
11271
11272 * image.el (image-animate-max-time): Allow nil and t values.
11273 Default to nil.
11274 (create-animated-image): Doc fix.
11275 (image-animate-start): Remove second arg; just use
11276 image-animate-max-time.
11277 (image-animate-timeout): Doc fix. Args changed.
11278
11279 * image-mode.el (image-toggle-display-image): Ensure that the
11280 image spec passed to the animate timer is the same object as in
58179cce 11281 the buffer's display property (Bug#6981).
e8cbec34
CY
11282 (image-transform-properties): Doc fix.
11283
11284 * image.el (image-animate-max-time): Default to nil.
11285
159daf87
MR
112862011-05-29 Martin Rudalics <rudalics@gmx.at>
11287
11288 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11289 entire buffer list (Bug#8184).
11290
d66c4c7c
CY
112912011-05-29 Chong Yidong <cyd@stupidchicken.com>
11292
11293 * image.el (imagemagick-types-inhibit)
11294 (imagemagick-register-types): Doc fix.
11295
80aec780
DD
112962011-05-29 Deniz Dogan <deniz@dogan.se>
11297
11298 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11299 default.
11300
1dd3c2d9
CY
113012011-05-29 Chong Yidong <cyd@stupidchicken.com>
11302
11303 * select.el: Don't perform clipboard-manager saving in hooks;
11304 leave the hooks empty.
11305
60e56523
LL
113062011-05-28 Leo Liu <sdl.web@gmail.com>
11307
11308 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11309 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11310 (occur-edit-mode): New major mode (Bug#8463).
11311 (occur-after-change-function): New function.
11312 (occur-engine): Give Occur tags a read-only property.
11313
2b1e1a22
KR
113142011-05-28 Kevin Ryde <user42@zip.com.au>
11315
11316 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11317
5d344e88
CY
113182011-05-28 Chong Yidong <cyd@stupidchicken.com>
11319
8e6ca83d
CY
11320 * bindings.el (help-echo): Make the initial non-indicator dash
11321 empty on graphical terminals (Bug#7295).
11322
5d344e88
CY
11323 * files.el (auto-mode-alist): Move config rule after the
11324 in-stripping one (Bug#8547).
11325
bfbbace7
CY
11326 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11327
fbeba6e2
CY
11328 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11329 setting (Bug#8740).
11330
60ed8c72
AA
113312011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11332
4ac619f0
AA
11333 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11334 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11335 (Bug#8539).
60ed8c72 11336
23db196e
CY
113372011-05-28 Chong Yidong <cyd@stupidchicken.com>
11338
11339 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11340
5012f24c
DK
113412011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11342
11343 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11344 (hs-hide-block-at-point, hs-find-block-beginning)
11345 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11346 (Bug#8279).
11347
6a639b16
GM
113482011-05-28 Glenn Morris <rgm@gnu.org>
11349
11350 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11351
d43eaf2c
CY
113522011-05-28 Chong Yidong <cyd@stupidchicken.com>
11353
5199bde1
CY
11354 * help-fns.el (describe-function-1): If the function is a derived
11355 major mode, print the parent mode.
11356
d43eaf2c
CY
11357 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11358 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11359
423428a8
SM
113602011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11361
0ff8e1ba 11362 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11363 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11364 * progmodes/etags.el (tags-completion-at-point-function):
11365 * info-look.el (info-lookup-completions-at-point): Mark as
11366 non-exclusive.
11367 (info-complete): Adjust accordingly.
11368
423428a8
SM
11369 * info-look.el: Convert to lexical-binding and completion-at-point.
11370 (info-lookup-completions-at-point): New function.
11371 (info-complete): Use it and completion-in-region.
11372
b74aa22b
DA
113732011-05-28 Drew Adams <drew.adams@oracle.com>
11374
11375 * isearch.el: Let M-e start with point at the first mismatched char.
11376 (isearch-fail-pos): New function.
11377 (isearch-edit-string): Use it.
11378
66e2e71d
DK
113792011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11380
11381 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11382
b1890b0f 113832011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11384
11385 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11386 traversal functions for avl-trees.
11387 (avl-tree--stack): New struct.
11388 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11389 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11390 (avl-tree--do-enter): Add optional `updatefun' arg.
11391 Change return value.
eb95d01d 11392 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11393 (avl-tree--do-delete): Add `test' and `nilflag' args.
11394 Change return value.
eb95d01d
TC
11395 (avl-tree-member): Add optional `nilflag'
11396 (avl-tree-member-p): New function.
11397 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11398 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11399 (avl-tree-stack-empty-p): New functions.
11400
3769ddcf
TC
11401 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11402 avl-tree--del-balance1 and make it work both ways.
11403 (avl-tree--del-balance2): Remove.
11404 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11405 make it work both ways.
11406 (avl-tree--enter-balance2): Remove.
11407 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11408 New macros.
11409 (avl-tree--mapc, avl-tree-map): Add direction argument.
11410
eb95d01d 114112011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11412
11413 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11414
a9f737ee
CY
114152011-05-27 Chong Yidong <cyd@stupidchicken.com>
11416
11417 * select.el: Support clipboard managers with built-in function
11418 x-clipboard-manager-save, via delete-frame-functions and
11419 kill-emacs-hook.
11420 (xselect-convert-to-targets): Add MULTIPLE target to list.
11421 (xselect-convert-to-save-targets): New function.
11422
c92a1e54
KH
114232011-05-27 Kenichi Handa <handa@m17n.org>
11424
11425 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11426 let-binding rfc2047-encode-encoded-words to nil.
11427
e145f188
GM
114282011-05-27 Glenn Morris <rgm@gnu.org>
11429
5ec8a862
GM
11430 * mail/emacsbug.el: Don't require url-util.
11431
4b29d9fb
GM
11432 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11433
e145f188
GM
11434 * files.el (set-auto-mode):
11435 Also respect mode: entries at the end of the file. (Bug#8586)
11436
7d15102b
GM
114372011-05-26 Glenn Morris <rgm@gnu.org>
11438
98f593b8
GM
11439 * files.el (hack-local-variables-prop-line, hack-local-variables):
11440 Downcase mode names, as seems to be traditional.
27b48e63 11441 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11442
7d15102b
GM
11443 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11444 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11445
51d5b4ec
JD
114462011-05-25 Julien Danjou <julien@danjou.info>
11447
11448 * textmodes/rst.el (rst-define-level-faces): Do not define face
11449 symbol if it is already defined.
11450
91513f63
VB
114512011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11452
11453 * play/5x5.el (5x5-new-game, 5x5-randomize):
11454 Reset 5x5-solver-output to nil when a new grid is cast.
11455 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11456 these debugging traces, as defmacro breaks the compiled code.
11457
4d90d6d0
DK
114582011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11459
11460 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11461
e1b90ef6
LL
114622011-05-24 Leo Liu <sdl.web@gmail.com>
11463
11464 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11465 (vc-bzr-sha1): Adapt.
11466
d8e4b68b 11467 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11468
11469 * bindings.el: Provide sha1 feature.
11470
db0406bb 114712011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11472
11473 * mail/sendmail.el: Require `rfc2047'.
11474 (mail-insert-from-field): Do not perform RFC2047 encoding.
11475 (mail-encode-header): New function.
11476 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11477 buffer to the return value of select-message-coding-system.
11478 Call mail-encode-header.
b8d747b9
KH
11479
11480 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11481
db0406bb 114822011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11483
4d90d6d0
DK
11484 * mail/supercite.el (sc-default-cite-frame):
11485 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11486
eb8a5e9b
GM
114872011-05-24 Glenn Morris <rgm@gnu.org>
11488
f8630703
GM
11489 * progmodes/python.el (brm-menu): Declare.
11490
8831bbed
GM
11491 * emulation/viper.el (viper-set-hooks): Declare.
11492
eb8a5e9b
GM
11493 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11494 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11495 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11496 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11497 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11498 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11499
a2a25d24
SM
115002011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 Add an :exit-function for completion-at-point.
11503
11504 * minibuffer.el (completion--done): New fun.
11505 (completion--do-completion): Use it. New arg `expect-exact'.
11506 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11507 since completion--do-completion does it for us now.
11508 (minibuffer-force-complete): Use completion--done and
11509 completion--replace. Handle sole-completion case with more care.
11510 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11511 (completion-extra-properties): New var.
11512 (completion-annotate-function): Make obsolete.
11513 (minibuffer-completion-help): Adjust accordingly.
11514 Use completion-list-insert-choice-function.
11515 (completion-at-point, completion-help-at-point):
11516 Bind completion-extra-properties.
11517 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11518 * simple.el (completion-list-insert-choice-function): New var.
11519 (completion-setup-function): Preserve it.
11520 (choose-completion): Pay attention to it, shuffle the code a bit.
11521 (choose-completion-string): New arg `insert-function'.
11522
11523 * textmodes/bibtex.el: Convert to lexical binding.
11524 (bibtex-mode-map): Use completion-at-point.
11525 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11526 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11527 (bibtex-complete): Define as obsolete alias.
11528 (bibtex-complete-internal): Remove.
11529 (bibtex-format-entry): Remove unused sub-group in regexp.
11530 * shell.el (shell--command-completion-data)
11531 (shell-environment-variable-completion):
11532 * pcomplete.el (pcomplete-completions-at-point):
11533 * comint.el (comint--complete-file-name-data): Use :exit-function
11534 instead of completion-table-with-terminator so it also works for
11535 choose-completion.
11536
e44e373d
SM
115372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11538
4f91a816
SM
11539 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11540
782fc819
SM
11541 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11542 (bug#8710).
11543
e44e373d
SM
11544 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11545
381987c3
KM
115462011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11547
11548 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11549 customization variable and implement: If non-nil, auto-fill will
11550 be inhibited while on topic's header line.
11551
b776bc70
VB
115522011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11553
11554 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11555 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11556 always have a solution in grid size = 5 cases.
11557 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11558 (5x5-solver-output, 5x5-log-buffer): New vars.
11559 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11560 Make these variables buffer local to achieve 5x5 multi-session-ness.
11561 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11562 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11563 (5x5-solve-suggest): New funs.
11564 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11565 randomize a grid so that we ensure that there is always a solution.
11566 (5x5-make-random-grid): Allow other movement than flipping.
11567
7de88b6e
KR
115682011-05-23 Kevin Ryde <user42@zip.com.au>
11569
11570 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11571 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11572 advice and passes PREDICATE.
11573
b1ef1257
SM
115742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11575
bbca48fe
SM
11576 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11577 byte-compile-lambda if it's actually a lambda.
11578
b1ef1257
SM
11579 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11580 Fix function quoting. Use backquote better.
11581
92a9cc65
YS
115822011-05-22 Yuanle Song <sylecn@gmail.com>
11583
11584 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11585 matching (Bug#8516).
11586
f0fb8059
JA
115872011-01-22 Jari Aalto <jari.aalto@cante.net>
11588
11589 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11590 different face (Bug#8178).
11591
d5b44c93
CY
115922011-05-22 Chong Yidong <cyd@stupidchicken.com>
11593
11594 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11595 defface (Bug#8144).
11596
79106a44
SM
115972011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11598
9c848d8a
SM
11599 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11600 funcall as well (bug#8712). Warn when performing those conversions.
11601 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11602
79106a44
SM
11603 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11604
88dfa756
GM
116052011-05-22 Glenn Morris <rgm@gnu.org>
11606
11607 * files.el (hack-local-variables-prop-line): Small simplifications.
11608 (hack-local-variables, hack-local-variables-prop-line):
11609 If MODE-ONLY, return the mode, rather than just `t'.
11610
b7cf2c79
SM
116112011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11614
3f1a8558
GM
116152011-05-21 Glenn Morris <rgm@gnu.org>
11616
7e4ccca3
GM
11617 * files.el (hack-local-variables-prop-line, hack-local-variables):
11618 If only interested in the mode, don't bother doing the other stuff.
11619
637d46ca
GM
11620 * image-mode.el (image-after-revert-hook):
11621 Redraw all frames on which the image is visible. (Bug#8567)
11622
973d955b
GM
11623 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11624
3f1a8558
GM
11625 * wid-edit.el (widget-checklist-match-inline):
11626 Fix 2011-04-19 change. (Bug#8649)
11627
96479927
SM
116282011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11629
1dcf791f
SM
11630 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11631 Also allow singlespace after single-letter capitals followed by a dot.
11632
96479927
SM
11633 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11634 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11635
35fd0881
N
116362011-05-20 Nix <nix@esperi.org.uk>
11637
11638 * files.el (basic-save-buffer-2):
11639 Fix handling of break-hardlink-on-save with non-existent files.
11640
82745640
DD
116412011-05-19 Deniz Dogan <deniz@dogan.se>
11642
11643 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11644 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11645
4a720484
GM
116462011-05-19 Glenn Morris <rgm@gnu.org>
11647
d1f21341
GM
11648 * progmodes/f90.el (f90-type-def-re):
11649 Handle "type, bind(c)". (Bug#8691)
11650
4a720484
GM
11651 * emacs-lisp/autoload.el (batch-update-autoloads):
11652 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11653
2fb0a219
MA
116542011-05-18 Michael Albinus <michael.albinus@gmx.de>
11655
11656 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11657 property for the correct connection in case of multihops.
11658
e565dd37
GM
116592011-05-18 Glenn Morris <rgm@gnu.org>
11660
c2571358 11661 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11662 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11663
e565dd37
GM
11664 Rationalize calendar handling of day and month abbrev-arrays.
11665 * calendar/calendar.el (calendar-customized-p): New function.
11666 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11667 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11668 Add :set function.
11669 (calendar-abbrev-length, calendar-day-abbrev-array)
11670 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11671 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11672 Elements may no longer be nil.
11673 (calendar-day-name, calendar-month-name):
11674 Update for changed nature of abbrev arrays.
11675 * calendar/diary-lib.el (diary-name-pattern):
11676 Update for changed nature of abbrev arrays.
11677 (diary-mark-entries-1): Update calendar-make-alist calls.
11678 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11679 * calendar/cal-html.el (cal-html-day-abbrev-array):
11680 Simply inherit from calendar-day-abbrev-array.
11681
1d99a745
SM
116822011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * progmodes/grep.el (grep-mode): Disable default
11685 compilation-directory-matcher setting (bug#8684).
11686
7c1d9aa0
MA
116872011-05-17 Michael Albinus <michael.albinus@gmx.de>
11688
11689 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11690 instead of "head" and "tail". There were problems with SunOS 5.9,
11691 and it performs better.
11692
3952e9d8
GM
116932011-05-17 Glenn Morris <rgm@gnu.org>
11694
2dd12e7f
GM
11695 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11696
e4157b9c
GM
11697 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11698 Replace obsolete function.
11699
8e249bbd
GM
11700 * shell.el (pcomplete-parse-arguments-function): Declare.
11701
3952e9d8
GM
11702 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11703 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11704 (appt-check): Doc fixes.
11705 (appt-disp-window-function, appt-delete-window-function):
11706 Remove needless special case in custom :type.
11707 (appt-display-count): Default to 0, not nil.
11708 (appt-check): Reset appt-display-count to 0, not nil.
11709
c71a0d48 117102011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11711
c71a0d48
GM
11712 * progmodes/python.el (python-font-lock-keywords):
11713 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11714
31d55be9
SM
117152011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11716
11717 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11718
3bfacb2f
KR
117192011-05-16 Kevin Ryde <user42@zip.com.au>
11720
11721 * info-look.el (makefile-automake-mode): New setups, looking in
11722 automake manual, then makefile-mode.
11723 (makefile-mode): Remove automake manual, have it just in
11724 makefile-automake-mode since there's various things different or
11725 not relevant to plain make.
11726 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11727 believe a hypothetical automake-mode would go to makefile-mode,
11728 not the other way around.
11729
c8e83751
CY
117302011-05-15 Chong Yidong <cyd@stupidchicken.com>
11731
5e9e35cd
CY
11732 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11733 hunk-end tags (Bug#8672).
11734
c8e83751
CY
11735 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11736 vc-annotate-show-diff-revision-at-line (Bug#8671).
11737
50b23e5a
GM
117382011-05-14 Glenn Morris <rgm@gnu.org>
11739
7210a739
GM
11740 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11741 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11742 (change-log-font-lock-keywords): Also handle multiple author lines
11743 with leading tabs. (Bug#8644)
7210a739 11744
4691905a
GM
11745 * calendar/appt.el (appt-check): Rename some local variables.
11746 Some simplification/reordering.
11747
50b23e5a
GM
11748 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11749 (feedmail-sendmail-f-doesnt-sell-me-out)
11750 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11751 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11752 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11753 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11754 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11755 (feedmail-binmail-gnulinuxish-template):
11756 Rename from feedmail-binmail-linuxish-template.
11757 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11758 Use insert-buffer-substring.
11759
215cda7c
BC
117602011-05-14 Bill Carpenter <bill@carpenter.org>
11761
11762 * mail/feedmail.el (feedmail-patch-level): Increase.
11763 (feedmail-debug): New custom group.
11764 (feedmail-confirm-outgoing-timeout)
11765 (feedmail-sendmail-f-doesnt-sell-me-out)
11766 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11767 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11768 (feedmail-sender-line, feedmail-from-line)
11769 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11770 (feedmail-spray-this-address)
215cda7c
BC
11771 (feedmail-spray-address-fiddle-plex-list)
11772 (feedmail-queue-use-send-time-for-date)
11773 (feedmail-queue-use-send-time-for-message-id)
11774 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11775 (feedmail-buffer-eating-function):
11776 Doc fixes.
11777 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11778 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11779 (feedmail-message-action-scroll-down): New functions.
11780 (feedmail-queue-directory, feedmail-queue-draft-directory):
11781 Use expand-file-name.
11782 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11783 Remove C-v help entry.
11784 (feedmail-queue-buffer-file-name): New variable.
11785 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11786 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11787 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11788 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11789 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11790 (feedmail-message-action-toggle-spray)
11791 (feedmail-run-the-queue-no-prompts)
11792 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11793 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11794 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11795 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11796 (feedmail-envelope-deducer, feedmail-fiddle-from)
11797 (feedmail-fiddle-sender, feedmail-default-date-generator)
11798 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11799 (feedmail-fiddle-spray-address)
11800 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11801 (feedmail-fiddle-list-of-fiddle-plexes)
11802 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11803 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11804 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11805 Change default. Doc fix.
11806 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11807 (feedmail-binmail-linuxish-template): New constant.
11808 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11809 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11810 (feedmail-send-it): Add debug call.
11811 Use feedmail-queue-buffer-file-name, and
11812 feedmail-send-it-immediately-wrapper.
11813 (feedmail-message-action-send): Add debug call.
11814 Use feedmail-send-it-immediately-wrapper.
11815 (feedmail-queue-express-to-queue): Add debug call.
11816 Run feedmail-queue-express-hook.
11817 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11818 (feedmail-message-action-help-blat):
11819 Rename from feedmail-queue-send-edit-prompt-help-first.
11820 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11821 Check line-endings. Handle errors better.
11822 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11823 Doc fix. Add debug call.
11824 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11825 Use feedmail-queue-send-edit-prompt-inner.
11826 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11827 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11828 from feedmail-queue-send-edit-prompt.
11829 (feedmail-queue-send-edit-prompt-help)
11830 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11831 (feedmail-tidy-up-slug): Add debug call.
11832 Respect feedmail-queue-slug-suspect-regexp.
11833 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11834 (feedmail-dump-message-to-queue): Add debug call.
11835 Expand queue-directory.
11836 (feedmail-dump-message-to-queue): Change message slightly.
11837 Use feedmail-say-chatter.
11838 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11839 (feedmail-send-it-immediately-wrapper): New function.
11840 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11841 Insert empty string rather than newline. Handle full-frame case.
11842 Use catch/throw. Use feedmail-say-chatter.
11843 (feedmail-fiddle-from): Try mail-host-address.
11844 (feedmail-default-message-id-generator): Doc fix.
11845 Bind system-time-locale. Handle missing end.
11846 (feedmail-fiddle-x-mailer): Add debug call.
11847 Handle feedmail-x-mailer-line being nil.
11848 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11849 Add debug call. Use buffer-substring-no-properties.
11850 (feedmail-say-debug, feedmail-say-chatter): New functions.
11851 (feedmail-find-eoh): Give an explicit error.
11852
42c7e61e
UJ
118532011-05-13 Ulf Jasper <ulf.jasper@web.de>
11854
c2571358 11855 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11856 family from helvetica to sans.
c2571358 11857 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11858 etc/images/newsticker.
11859
c2571358 11860 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11861 family from helvetica to sans.
11862
11863 * net/newst-plainview.el (newsticker-new-item-face)
11864 (newsticker-old-item-face, newsticker-immortal-item-face)
11865 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11866 (newsticker-statistics-face): Change default family from
42c7e61e 11867 helvetica to sans.
c2571358 11868 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11869 etc/images/newsticker.
11870
5d3385a0
JB
11871 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11872 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11873 auto-marking.
11874
8497a297
DV
118752011-05-13 Didier Verna <didier@xemacs.org>
11876
11877 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11878 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11879 TODO entries.
8497a297
DV
11880 (lisp-lambda-list-keyword-parameter-indentation)
11881 (lisp-lambda-list-keyword-parameter-alignment)
11882 (lisp-lambda-list-keyword-alignment): New customizable user options.
11883 (lisp-indent-defun-method): Improve docstring.
11884 (extended-loop-p): Fix comment.
11885 (lisp-indent-lambda-list-keywords-regexp): New variable.
11886 (lisp-indent-lambda-list): New function.
11887 (lisp-indent-259): Use it.
11888 (lisp-indent-defmethod): Support for more than one
11889 method qualifier and properly indent methods lambda-lists.
11890 (defgeneric): Provide a missing common-lisp-indent-function property.
11891
f278f87f
SM
118922011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11893
11894 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11895 bounds for the empty string (bug#8667).
11896
5233edd7
GM
118972011-05-13 Glenn Morris <rgm@gnu.org>
11898
5237a44f
GM
11899 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11900
8340026c 11901 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11902 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11903
5233edd7 11904 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11905 (appt-time-msg-list): Doc fix.
a5464014 11906 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11907
92d10796
AS
119082011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11909
11910 * progmodes/ld-script.el (ld-script-keywords)
11911 (ld-script-builtins): Update keywords list.
11912
914a0ae1
SM
119132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11914
c89be45f
SM
11915 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11916
914a0ae1
SM
11917 * shell.el (shell-completion-vars): New function.
11918 (shell-mode):
11919 * simple.el (read-shell-command): Use it.
11920 (blink-matching-open): No need for " [...]" in minibuffer-message.
11921
98dc3df3
GM
119222011-05-12 Glenn Morris <rgm@gnu.org>
11923
11924 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11925 (appt-check): Simplify.
11926
d2fc7e3d 119272011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11928
4d61f28d 11929 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11930 literal "/dev/null".
11931
d2fc7e3d 119322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11933
11934 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11935 Fix typo.
11936
d2fc7e3d 119372011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11938
3f254caa
SM
11939 * progmodes/which-func.el (which-function):
11940 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11941 which might not be defined (Bug#8260).
11942
d45885f7
GM
119432011-05-12 Glenn Morris <rgm@gnu.org>
11944
11945 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11946 Let byte-compile-initial-macro-environment always take precedence.
11947
488086f4
SM
119482011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * net/rcirc.el: Add support for SSL/TLS connections.
11951 (rcirc-server-alist): New field `encryption'.
11952 (rcirc): Check `encryption' settings.
11953 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11954 Merge make-local-variable into `set'.
11955 (rcirc--connection-open-p): New function.
11956 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11957 the process is not a network process (e.g. running gnutls-cli).
11958 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11959 Make rcirc-(en|de)code-coding-system local here.
11960 (rcirc-mode): Merge make-local-variable into `set'.
11961 (rcirc-parent-buffer): Make permanent buffer-local.
11962 (rcirc-multiline-minor-mode): Don't do it here.
11963 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11964 there's no server buffer.
11965
7d3b9d44
GM
119662011-05-11 Glenn Morris <rgm@gnu.org>
11967
f64049c6
GM
11968 * newcomment.el (comment-kill): Prefix "unused" local.
11969
93c9df73
GM
11970 * term/w32console.el (get-screen-color): Declare.
11971
7d3b9d44
GM
11972 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11973 Handle symbol elements of byte-compile-initial-macro-environment.
11974
9e2dd53f
LL
119752011-05-10 Leo Liu <sdl.web@gmail.com>
11976
488086f4
SM
11977 * bookmark.el (bookmark-bmenu-mode-map):
11978 Bind bookmark-bmenu-search to `/'.
8b340240 11979
9e2dd53f 11980 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11981 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11982 (Footnote-unicode): New function.
11983 (footnote-style-alist): Add unicode style to the list.
11984 (footnote-style): Doc fix.
9e2dd53f 11985
79b70037
GM
119862011-05-10 Jim Meyering <meyering@redhat.com>
11987
11988 Fix doubled-word typos.
11989 * international/quail.el (quail-insert-kbd-layout): and and -> and
11990 * kermit.el: and and -> and
11991 * net/ldap.el (ldap-search-internal): to to -> to
11992 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11993 * progmodes/js.el (js-mode): and and -> and
11994 * textmodes/artist.el (artist-move-to-xy): at at -> at
11995 (artist-draw-region-trim-line-endings): if if -> if
11996 And Safetyc -> Safety.
11997 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11998
b8f82dc1 119992011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12000 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12001
12002 * files.el (hack-one-local-variable-eval-safep):
12003 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12004
4f99f44b
GM
120052011-05-10 Glenn Morris <rgm@gnu.org>
12006
12007 * calendar/diary-lib.el (diary-list-entries-hook)
12008 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12009 (diary-nongregorian-marking-hook, diary-list-entries)
12010 (diary-include-other-diary-files, diary-mark-entries)
12011 (diary-mark-included-diary-files): Doc fixes.
12012
84f29e6b
JB
120132011-05-09 Juanma Barranquero <lekktu@gmail.com>
12014
12015 * misc.el: Require tabulated-list.el during compilation.
12016
9bedd73a
CY
120172011-05-09 Chong Yidong <cyd@stupidchicken.com>
12018
488086f4
SM
12019 * progmodes/compile.el (compilation-start):
12020 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12021 (compilation-filter-hook): Doc fix.
12022
797c735c
DD
120232011-05-09 Deniz Dogan <deniz@dogan.se>
12024
12025 * wdired.el: Remove outdated installation comment. Fix usage
12026 comment.
12027
5f4b1dfe
JB
120282011-05-09 Juanma Barranquero <lekktu@gmail.com>
12029
12030 * misc.el: Implement new command `list-dynamic-libraries'.
12031 (list-dynamic-libraries--loaded-only-p): New variable.
12032 (list-dynamic-libraries--refresh): New function.
12033 (list-dynamic-libraries): New command.
12034
4c44026c
CY
120352011-05-09 Chong Yidong <cyd@stupidchicken.com>
12036
488086f4
SM
12037 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12038 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12039 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12040 higher priority to avoid clobbering by gnu.
12041
027f966d
CY
120422011-05-08 Chong Yidong <cyd@stupidchicken.com>
12043
12044 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12045 if the face has existing theme settings (Bug#8454).
12046
085f5d7d
CY
120472011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12048
488086f4
SM
12049 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12050 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12051
2a86a00c
RS
12052 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12053 special file names `.' and `..' (Bug#8259).
12054
d9c54a06
CY
120552011-05-08 Chong Yidong <cyd@stupidchicken.com>
12056
488086f4
SM
12057 * progmodes/grep.el (grep-mode-font-lock-keywords):
12058 Remove buffer-changing entries.
d9c54a06
CY
12059 (grep-filter): New function.
12060 (grep-mode): Add it to compilation-filter-hook.
12061
12062 * progmodes/compile.el (compilation-filter-hook)
12063 (compilation-filter-start): New defvars.
12064 (compilation-filter): Call compilation-filter-hook prior to
12065 updating the process mark.
12066
c4662635
SM
120672011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12068
12069 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12070
b0512a1d
EZ
120712011-05-07 Eli Zaretskii <eliz@gnu.org>
12072
605c9376
EZ
12073 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12074 mailclient-send-it even if window-system is nil. (Bug#8595)
12075
c4662635
SM
12076 * term/w32console.el (terminal-init-w32console):
12077 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12078 background-mode. (Bug#8597)
12079
d1dc2cc2
SM
120802011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12081
12082 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12083 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12084 New functions.
12085 (defgeneric, eieio--defmethod): Use them.
12086 (eieio-defgeneric): Remove.
12087 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12088
915d1300
GM
120892011-05-07 Glenn Morris <rgm@gnu.org>
12090
a3961c3e
GM
12091 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12092 Use let rather than let*.
12093 (timeclock-find-discrep): Remove unused local.
12094
314347b9
GM
12095 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12096
915d1300
GM
12097 * calendar/appt.el (appt-time-msg-list): Doc fix.
12098
275b59b0
NF
120992011-05-06 Noah Friedman <friedman@splode.com>
12100
12101 * apropos.el (apropos-print-doc): Only use
12102 emacs-lisp-docstring-fill-column when it is bound to an integer,
12103 per that variable's documentation.
12104
6c19f744
SM
121052011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12108 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12109
60f884b2
GM
121102011-05-06 Glenn Morris <rgm@gnu.org>
12111
5006e634
GM
12112 * calendar/appt.el (appt-message-warning-time): Doc fix.
12113 (appt-warning-time-regexp): New option.
12114 (appt-make-list): Respect appt-message-warning-time.
12115
548d0a63
GM
12116 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12117 New options.
12118 (diary-add-to-list): Strip comments from the displayed string.
12119 (diary-mode): Set comment-start and comment-end.
12120
60f884b2
GM
12121 * vc/diff-mode.el (smerge-refine-subst): Declare.
12122 (diff-refine-hunk): Don't require smerge-mode when compiling.
12123
989681bb
JB
121242011-05-06 Juanma Barranquero <lekktu@gmail.com>
12125
12126 * simple.el (list-processes): Return nil as the docstring says.
12127
a6bc05e1
MA
121282011-05-05 Michael Albinus <michael.albinus@gmx.de>
12129
12130 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12131 to "".
12132 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12133 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12134 determining of binary transfer. (Bug#7383)
12135
23c22e9a
MA
121362011-05-05 Michael Albinus <michael.albinus@gmx.de>
12137
c4662635
SM
12138 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12139 Fix port computation bug. (Bug#8618)
23c22e9a 12140
0bff894f
GM
121412011-05-05 Glenn Morris <rgm@gnu.org>
12142
b8296902
GM
12143 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12144
1f522ce8
GM
12145 * simple.el (shell-dynamic-complete-functions)
12146 (comint-dynamic-complete-functions): Declare.
12147
cf5bee67
GM
12148 * net/network-stream.el (gnutls-negotiate):
12149 * simple.el (tabulated-list-print): Fix declarations.
12150
12151 * progmodes/gud.el (syntax-symbol, syntax-point):
12152 Remove unnecessary and incorrect declarations.
12153
0bff894f
GM
12154 * emacs-lisp/check-declare.el (check-declare-scan):
12155 Handle byte-compile-initial-macro-environment in bytecomp.el
12156
9869b3ae
SM
121572011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12158
12159 Fix earlier half-done eieio-defmethod change (bug#8338).
12160 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12161 Streamline and change calling convention.
12162 (defmethod): Adjust accordingly and simplify.
12163 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12164 new eieio--defmethod.
12165 (slot-boundp): Minor CSE simplification.
12166
9c1d5ac5
MZ
121672011-05-05 Milan Zamazal <pdm@zamazal.org>
12168
12169 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12170 (glasses-make-readable): Use glasses-separate-capital-groups.
12171
455c834e
JB
121722011-05-05 Juanma Barranquero <lekktu@gmail.com>
12173
12174 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12175 (warning-series): Doc fix.
12176 (display-warning): Don't try to create the buffer if we just found it.
12177
9ed7c8cb
CY
121782011-05-04 Chong Yidong <cyd@stupidchicken.com>
12179
12180 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12181 (autoload-find-generated-file): New function.
12182 (generate-file-autoloads): Bind generated-autoload-file to
12183 buffer-file-name.
9869b3ae
SM
12184 (update-file-autoloads, update-directory-autoloads):
12185 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12186 output file (Bug#7989).
12187 (batch-update-autoloads): Doc fix.
12188
0898ca10
JB
121892011-05-04 Juanma Barranquero <lekktu@gmail.com>
12190
12191 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12192
31dfb76c
GM
121932011-05-04 Glenn Morris <rgm@gnu.org>
12194
f330b642
GM
12195 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12196 function, so it follows changes in calendar-date-style.
12197 (diary-fancy-date-matcher): New function.
12198 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12199 (diary-fancy-font-lock-fontify-region-function):
12200 Use diary-fancy-date-pattern as a function.
12201
31dfb76c
GM
12202 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12203 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12204
48e79d6a
TZ
122052011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12206
12207 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12208 instead of positional arguments. Allow :keylist and :crlfiles
12209 arguments.
12210 (open-gnutls-stream): Call it.
12211
12212 * net/network-stream.el (network-stream-open-starttls): Adjust to
12213 call `gnutls-negotiate' with :process and :hostname arguments.
12214
dd5a5ee0
SM
122152011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12216
ef80fc09
SM
12217 * minibuffer.el (completion--message): New function.
12218 (completion--do-completion, minibuffer-complete)
12219 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12220 (completion--do-completion): Don't ignore completion-auto-help when in
12221 icomplete-mode.
12222
dd5a5ee0
SM
12223 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12224 internal encoding (e.g. tibetan zero is not whitespace).
12225 (global-whitespace-mode): Prefer save-current-buffer.
12226 (whitespace-trailing-regexp): Remove useless save-match-data.
12227 (whitespace-empty-at-bob-regexp): Minor simplification.
12228
b7d22a83
CY
122292011-05-03 Chong Yidong <cyd@stupidchicken.com>
12230
12231 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12232
5192af46
AM
122332011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12234
12235 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12236 Use `concat' to create string for insertion.
5192af46 12237
5767d190
SM
122382011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12241 Avoid open-line which runs post-self-insert-hook.
12242 (bibtex-fill-entry): Remove unused `end' var.
12243
bf242939
AM
122442011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12245
5767d190
SM
12246 * textmodes/ispell.el (ispell-add-per-file-word-list):
12247 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12248
25666126
LL
122492011-05-03 Leo Liu <sdl.web@gmail.com>
12250
12251 * isearch.el (isearch-yank-pop): New command.
5767d190 12252 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12253 (isearch-forward): Mention it.
12254
52d3c2d0
SM
122552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12256
1bcace58
SM
12257 * simple.el (minibuffer-complete-shell-command): Remove.
12258 (minibuffer-local-shell-command-map): Use completion-at-point.
12259 (read-shell-command): Setup completion vars here instead.
12260 (read-expression-map): Bind TAB to symbol completion.
12261
52d3c2d0
SM
12262 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12263 error directly rather via storing it into `results'.
12264
35813471
LL
122652011-05-02 Leo Liu <sdl.web@gmail.com>
12266
12267 * vc/diff.el: Fix description.
12268
e793a940
LMI
122692011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12270
12271 * server.el (server-eval-at): New function.
12272
8de66e05
LMI
122732011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12274
12275 * net/network-stream.el (open-network-stream): Take a :nowait
12276 parameter and pass it on to `make-network-process'.
12277 (network-stream-open-plain): Ditto.
12278
dcb79f20
AS
122792011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12280
12281 * faces.el (face-spec-set-match-display): Don't match toolkit
12282 options on terminal frames.
12283
14a7fbd8
SM
122842011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12285
7eabc1be
SM
12286 * progmodes/pascal.el: Use lexical binding.
12287 (pascal-mode-map): Remove author preferences.
12288
14a7fbd8
SM
12289 * pcomplete.el (pcomplete-std-complete): Don't abuse
12290 completion-at-point.
12291
50f84510
JB
122922011-04-28 Juanma Barranquero <lekktu@gmail.com>
12293
6e087a44
JB
12294 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12295 removing code that has been dead since 1991 or so.
12296
50f84510
JB
12297 * startup.el (command-line): When warning about "_emacs", use a
12298 delayed warning to allow the user to filter it out.
12299
0ba690bd
DD
123002011-04-28 Deniz Dogan <deniz@dogan.se>
12301
12302 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12303 user has not joined.
12304
08abfaad
SM
123052011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12308 aren't any completions at point.
12309
638f053a
JB
123102011-04-28 Juanma Barranquero <lekktu@gmail.com>
12311
12312 * subr.el (display-delayed-warnings): New function.
12313 (delayed-warnings-hook): New variable.
12314
8fff8daa
SM
123152011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12316
08abfaad
SM
12317 * minibuffer.el (completion-at-point, completion-help-at-point):
12318 Don't presume that a given completion-at-point-function will always
12319 use the same calling convention.
12320
8fff8daa
SM
12321 * pcomplete.el (pcomplete-completions-at-point):
12322 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12323 pcomplete-seen is non-nil.
12324 (pcomplete-comint-setup): Also recognize the new comint/shell
12325 completion functions.
12326 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12327 pcomplete-seen is non-nil.
12328
841a1577 123292011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12330
841a1577 12331 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12332 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12333 the first character in the entry. This allows for code to add its
211ec907
UJ
12334 own uid to the entry.
12335 (icalendar--convert-float-to-ical): Add export of
12336 `diary-float'-entries save for those with the optional DAY
12337 argument.
12338
2a782793
DC
123392011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12340
12341 * subr.el (shell-quote-argument): Use alternate escaping strategy
12342 when we spot a variable reference in a string.
12343
0438ce91
DC
123442011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12345
12346 * cus-start.el (all): Define customization for debug-on-event.
12347
841a1577 123482011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12349
12350 * subr.el (shell-quote-argument): Escape correctly under Windows.
12351
d090ed6c
SM
123522011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12355
bfd31217
MA
123562011-04-25 Michael Albinus <michael.albinus@gmx.de>
12357
d090ed6c
SM
12358 * net/tramp.el (tramp-process-actions): Add POS argument.
12359 Delete region between POS and (pos).
bfd31217 12360
d090ed6c
SM
12361 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12362 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12363 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12364
12365 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12366 position in `tramp-process-actions' call.
12367
12368 * net/trampver.el: Update release number.
12369
e92f3bd3
SM
123702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12371
850256b5
SM
12372 * custom.el (defcustom): Obey lexical-binding.
12373
e92f3bd3
SM
12374 Fix octave-inf completion problems reported by Alexander Klimov.
12375 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12376 Inherit from octave-mode-syntax-table.
12377 (inferior-octave-mode): Set info-lookup-mode.
12378 (inferior-octave-completion-at-point): New function.
12379 (inferior-octave-complete): Use it and completion-in-region.
12380 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12381 comint-filename-completion.
12382 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12383 symbol elements which shouldn't be word elements.
12384 (octave-font-lock-keywords, octave-beginning-of-defun)
12385 (octave-function-header-regexp): Adjust regexps accordingly.
12386 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12387
cd22b309
JB
123882011-04-25 Juanma Barranquero <lekktu@gmail.com>
12389
12390 * net/gnutls.el (gnutls-errorp): Declare before first use.
12391
8b492194
TZ
123922011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12393
12394 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12395 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12396 default trustfile exists before going to use it. Add missing
5a5fa834 12397 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12398 Reported by Claudio Bley <claudio.bley@gmail.com>.
12399 (open-gnutls-stream): Add usage example.
12400
12401 * net/network-stream.el (network-stream-open-starttls): Give host
12402 parameter to `gnutls-negotiate'.
12403 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12404 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12405
841a1577 124062011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12407
cd22b309
JB
12408 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12409 Use correct match group (bug#8438).
05842630 12410
3ba7869c
CY
124112011-04-24 Chong Yidong <cyd@stupidchicken.com>
12412
512e3ae1
CY
12413 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12414 (package-menu--generate): New arg specifying packages to show.
12415 (package-menu-refresh, package-menu-execute, list-packages):
12416 Callers changed.
12417 (package-show-package-list): New function, replacing deleted
12418 package--list-packages (renamed because it is non-internal).
12419
12420 * finder.el (finder-list-matches): Use package-show-package-list
12421 instead of deleted package--list-packages.
12422
e92f3bd3
SM
12423 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12424 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12425 (vc-annotate-mode-map): Bind it to RET.
12426
7031be6d
UR
124272011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12428
12429 * progmodes/etags.el (next-file): Don't use set-buffer to change
12430 buffers (Bug#8478).
12431
4ef177aa
CY
124322011-04-24 Chong Yidong <cyd@stupidchicken.com>
12433
c8d173eb
CY
12434 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12435
4ef177aa
CY
12436 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12437 (apropos-accumulator): Doc fix.
12438 (apropos-function, apropos-macro, apropos-command)
12439 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12440 (apropos-plist): Add face property.
12441 (apropos-symbols-internal): Fix indentation.
12442 (apropos-print): Simplify help, and recognize apropos-multi-type.
12443 (apropos-print-doc): Use button-type-get to extract the button's
12444 face property. Fill docstring (Bug#8352).
12445
4ffd0d6b 124462011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12447
12448 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12449
c6c32125 12450 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12451 (mpuz-mode-map): Use mapc.
c6c32125
JB
12452 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12453 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12454 Fix typos in docstrings.
12455
58d468b4
JB
12456 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12457 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12458
6470c3c6
JB
12459 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12460
4ffd0d6b 124612011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12462
12463 * minibuffer.el (completion--do-completion): Avoid the "Next char
12464 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12465
3ad8bad0
CY
12466 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12467 mouse-2 into unread-command-events, it is interpreted correctly.
12468
71d73c9c 12469 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12470 (image-toggle-display): Doc fix.
71d73c9c 12471
841a1577 124722011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12473
4ffd0d6b
GM
12474 * textmodes/page.el (what-page): Use line-number-at-pos to
12475 calculate line number (Bug#6825).
6e1dbaa9 12476
c2fb1b60
JB
124772011-04-22 Juanma Barranquero <lekktu@gmail.com>
12478
12479 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12480 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12481 Pass argument NO-DEFAULT to `find-tag-interactive'.
12482
e02f48d7
JB
124832011-04-22 Juanma Barranquero <lekktu@gmail.com>
12484
12485 Lexical-binding cleanup.
12486
12487 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12488 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12489 * progmodes/ada-prj.el (ada-prj-initialize-values)
12490 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12491 (ada-prj-show-value):
12492 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12493 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12494 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12495 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12496 * progmodes/bug-reference.el (bug-reference-push-button):
12497 * progmodes/fortran.el (fortran-line-length):
12498 * progmodes/glasses.el (glasses-change):
12499 * progmodes/octave-mod.el (octave-fill-paragraph):
12500 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12501 (python-pdbtrack-grub-for-buffer, python-sentinel):
12502 * progmodes/sql.el (sql-save-connection):
12503 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12504 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12505 Mark unused parameters.
12506
12507 * progmodes/compile.el (compilation--flush-directory-cache)
12508 (compilation--flush-parse, compile-internal): Mark unused parameters.
12509 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12510 (compilation-next-error-function): Remove unused variable `timestamp'.
12511
12512 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12513 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12514
12515 * progmodes/dcl-mode.el (dcl-end-of-command):
12516 Remove unused variable `start'.
12517 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12518 (dcl-option-value-basic, dcl-option-value-offset)
12519 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12520 Mark unused parameters.
12521 (dcl-save-local-variable): Remove unused variable `val'.
12522 (mode): Declare.
12523
12524 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12525 Mark unused parameters.
12526 (delphi-ignore-changes): Move before first use.
12527 (delphi-charset-token-at): Remove unused variable `start'.
12528 (delphi-else-start): Remove unused variable `if-count'.
12529 (delphi-comment-block-start, delphi-comment-block-end):
12530 Remove unused variable `kind'.
12531 (delphi-indent-line): Remove unused variable `new-point'.
12532
12533 * progmodes/ebrowse.el (ebrowse-files-list)
12534 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12535 Mark unused parameters. Don't quote `lambda'.
12536 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12537 Don't quote `lambda'.
12538 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12539 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12540 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12541 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12542 Use `ignore-errors'.
12543 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12544 (ebrowse-view/find-file-and-search-pattern)
12545 (ebrowse-view/find-member-declaration/definition):
12546 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12547 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12548 Rename parameter PREFIX-ARG to PREFIX.
12549 (ebrowse-tags-read-name): Remove unused variables `start' and
12550 `member-info'.
12551 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12552 to `tags-file'.
12553
12554 * progmodes/etags.el (local-find-tag-hook): Declare.
12555 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12556 Mark unused parameters.
12557
12558 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12559 (executable-interpret): Mark unused parameter.
12560
12561 * progmodes/flymake.el (flymake-process-sentinel)
12562 (flymake-after-change-function)
12563 (flymake-create-temp-with-folder-structure)
12564 (flymake-get-include-dirs-dot): Mark unused parameters.
12565 (flymake-safe-delete-directory): Remove unused variable `err'.
12566
12567 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12568 (speedbar-timer-fn, speedbar-line-text)
12569 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12570 (speedbar-center-buffer-smartly): Declare functions.
12571 (gdb-find-watch-expression): Remove unused variable `array'.
12572 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12573 (gdb-starting): Mark unused parameters.
12574 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12575 (gdb-table-string): Remove unused variable `res'.
12576 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12577 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12578 (gdb-display-buffer): Remove unused variable `cur-size'.
12579
12580 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12581 allow lexical-binding compilation.
12582 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12583 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12584 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12585 Mark unused parameters.
12586 (gud-gdb-marker-filter): Remove unused variable `match'.
12587 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12588 lambda expressions and funcall them, instead of using `fset'.
12589
12590 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12591 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12592
12593 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12594 variable `header-beg'; use `let'.
12595
12596 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12597 `restart', `last-sexp' and `at-do'.
12598
12599 * progmodes/js.el (js--debug): Mark unused parameter.
12600 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12601 (js--splice-into-items): Remove unused variable `item'.
12602 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12603
12604 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12605 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12606 (makefile-complete): Remove unused variable `try'.
12607 (makefile-fill-paragraph, makefile-match-function-end):
12608 Mark unused parameters.
12609
12610 * progmodes/octave-inf.el (inferior-octave-complete):
12611 Remove unused variable `proc'.
12612 (inferior-octave-output-digest): Mark unused parameter.
12613
12614 * progmodes/perl-mode.el (perl-calculate-indent):
12615 Remove unused variable `err'.
12616
12617 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12618 (prolog-indent-line): Mark unused parameters.
12619 (prolog-indent-line): Remove unused variable `beg'.
12620
12621 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12622 (reporter-dont-compact-list): Declare.
12623
12624 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12625 Remove unused variable `char'.
12626 (sh-debug): Mark unused parameter.
12627 (sh-get-indent-info): Remove unused variable `start'.
12628 (sh-calculate-indent): Remove unused variable `var'.
12629
12630 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12631 (simula-electric-keyword): Remove unused variable `null'.
12632 (simula-search-backward, simula-search-forward): Remove unused
12633 variables `begin' and `end'.
12634
12635 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12636 Remove unused variable `pos'.
12637 (vera-electric-tab, vera-comment-uncomment-region):
12638 Mark unused parameters.
12639 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12640
7ede3b65
CY
126412011-04-22 Chong Yidong <cyd@stupidchicken.com>
12642
12643 * emacs-lisp/package.el (package--builtins, package-alist)
12644 (package-load-descriptor, package-built-in-p, package-activate)
12645 (define-package, package-installed-p)
12646 (package-compute-transaction, package-buffer-info)
12647 (package--push): Doc fix. Distinguish more clearly between
12648 version strings and version lists.
12649
121656e9
JB
126502011-04-21 Juanma Barranquero <lekktu@gmail.com>
12651
12652 Lexical-binding cleanup.
12653
12654 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12655 (5x5-make-mutate-best):
12656 * play/fortune.el (fortune-in-buffer):
12657 * play/gomoku.el (gomoku-init-display):
12658 * play/solitaire.el (solitaire, solitaire-do-check):
12659 * play/tetris.el (tetris-default-update-speed-function):
12660 Mark unused parameters.
12661
12662 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12663 (bubbles--shift): Remove unused variable `char-org'.
12664 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12665 (bubbles--show-images): Remove unused variable `char'.
12666
12667 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12668 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12669 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12670 (decipher-analyze-buffer): Use ?\s.
12671 (decipher-make-checkpoint): Remove unused variable `mapping'.
12672
12673 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12674
12675 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12676 Remove unused variable `result'; use `let'.
12677
12678 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12679 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12680 (gametree-children-shown-p, gametree-compute-reduced-score):
12681 Use `ignore-errors'.
12682
12683 * play/handwrite.el (ps-lpr-switches): Declare.
12684 (handwrite): Remove unused variables `pmin' and `lastp'.
12685
12686 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12687
12688 * play/landmark.el (landmark-init-display)
12689 (landmark-update-naught-weights): Mark unused parameters.
12690 (landmark-y): Remove unused variable `noise'. Simplify.
12691 (landmark-human-plays): Remove unused variable `score'.
12692
12693 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12694 (mpuz-try-proposal): Remove unused variable `game'.
12695
12696 * play/zone.el (life-patterns): Declare.
12697
80f499c7
JB
126982011-04-20 Juanma Barranquero <lekktu@gmail.com>
12699
12700 * vc/vc.el (ediff-vc-internal): Declare function.
12701
024ff170
SM
127022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12703
c0a193ea
SM
12704 * shell.el: Use lexical-binding and std completion UI.
12705 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12706 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12707 comint-preoutput-filter-functions rather than on
12708 comint-output-filter-functions.
12709 (shell-command-completion, shell--command-completion-data)
12710 (shell-filename-completion, shell-environment-variable-completion)
12711 (shell-c-a-p-replace-by-expanded-directory): New functions.
12712 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12713 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12714 (shell-dynamic-complete-environment-variable): Use them.
12715 (shell-dynamic-complete-as-environment-variable)
12716 (shell-dynamic-complete-as-command): Remove.
12717 (shell-match-partial-variable): Match past point.
12718 * comint.el: Clean up use of completion-at-point-functions.
12719 (comint-completion-at-point): New function.
12720 (comint-mode): Use it completion-at-point-functions.
12721 (comint-dynamic-complete): Make it obsolete.
12722 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12723 (comint-c-a-p-replace-by-expanded-history): New function.
12724 (comint-dynamic-complete-functions)
12725 (comint-replace-by-expanded-history): Use it.
12726 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12727 termination strings. Try harder to avoid second try-completion.
12728 (completion-in-region-mode-map): Disable bindings that don't work yet.
12729
2dbaa080
SM
12730 * comint.el: Use lexical-binding. Require CL.
12731 (comint-dynamic-complete-functions): Use comint-filename-completion.
12732 (comint-completion-addsuffix): Tweak custom type.
12733 (comint-filename-completion, comint--common-suffix)
12734 (comint--common-quoted-suffix, comint--table-subvert)
12735 (comint--complete-file-name-data): New functions.
12736 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12737 (comint-dynamic-list-filename-completions): Use them.
12738 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12739
2dbaa080
SM
12740 * minibuffer.el (completion-in-region-mode):
12741 Keep completion-in-region-mode--predicate global.
12742 (completion-in-region--postch):
12743 Assume completion-in-region-mode--predicate is not null.
12744
c79a6f38
SM
12745 * progmodes/flymake.el (flymake-start-syntax-check-process):
12746 Obey `dir'. Simplify.
12747
024ff170
SM
12748 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12749 we're in VC after all.
12750
1c6c854e
CS
127512011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12752
12753 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12754 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12755 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12756
bed7f140
SM
127572011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12758
332e62ab
SM
12759 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12760 add sanity check.
12761
bed7f140
SM
12762 * obsolete/erc-hecomplete.el: Make obsolete.
12763 * obsolete/: Standardize obsolescence info in the header.
12764
f195c582
GM
127652011-04-20 Glenn Morris <rgm@gnu.org>
12766
12767 * calendar/solar.el (solar-horizontal-coordinates):
12768 Use the longitude argument rather than `calendar-longitude'.
12769 (solar-date-next-longitude): Remove unused locals.
12770
cb79b8c0
VJL
127712011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12772
12773 * whitespace.el: New version 13.2.1.
12774
127752011-04-20 felix <EmacsWiki> (tiny change)
12776
d8e4b68b 12777 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12778 switching between major modes on a file.
12779
602ea69d
SM
127802011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12783 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12784 multi-line comments as well.
12785
06b60517
JB
127862011-04-19 Juanma Barranquero <lekktu@gmail.com>
12787
12788 Lexical-binding cleanup.
12789
12790 * arc-mode.el (archive-mode-revert):
12791 * cmuscheme.el (scheme-interactively-start-process):
12792 * custom.el (custom-initialize-delay):
12793 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12794 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12795 * emacs-lock.el (emacs-lock-clear-sentinel):
12796 * ezimage.el (defezimage):
12797 * follow.el (follow-avoid-tail-recenter):
12798 * fringe.el (set-fringe-mode-1):
12799 * generic-x.el (bat-generic-mode-compile):
12800 * help-mode.el (help-info-variable, help-do-xref)
12801 (help-mode-revert-buffer):
12802 * help.el (view-emacs-todo):
12803 * iswitchb.el (iswitchb-completion-help):
12804 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12805 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12806 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12807 * locate.el (locate-update):
12808 * longlines.el (longlines-encode-region)
12809 (longlines-after-change-function):
12810 * outline.el (outline-isearch-open-invisible):
12811 * ps-def.el (declare-function, charset-dimension, char-width)
12812 (encode-char):
12813 * ps-mule.el (ps-mule-plot-string):
12814 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12815 (recentf-edit-list-select, recentf-edit-list-validate)
12816 (recentf-open-files-action):
12817 * rect.el (delete-whitespace-rectangle-line)
12818 (rectangle-number-line-callback):
12819 * register.el (window-configuration-to-register)
12820 (frame-configuration-to-register):
12821 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12822 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12823 (xselect-convert-to-targets, xselect-convert-to-delete)
12824 (xselect-convert-to-filename, xselect-convert-to-charpos)
12825 (xselect-convert-to-lineno, xselect-convert-to-colno)
12826 (xselect-convert-to-os, xselect-convert-to-host)
12827 (xselect-convert-to-user, xselect-convert-to-class)
12828 (xselect-convert-to-name, xselect-convert-to-integer)
12829 (xselect-convert-to-atom, xselect-convert-to-identity):
12830 * subr.el (declare, ignore, process-kill-without-query)
12831 (text-clone-maintain):
12832 * terminal.el (te-get-char, te-tic-sentinel):
12833 * tool-bar.el (tool-bar-make-keymap):
12834 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12835 * type-break.el (type-break-mode, type-break-noninteractive-query):
12836 * view.el (View-back-to-mark):
12837 * wid-browse.el (widget-browse-action, widget-browse-widget)
12838 (widget-browse-widgets, widget-browse-sexp):
12839 * widget.el (define-widget-keywords):
12840 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12841 Mark unused parameters.
12842
12843 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12844 (align-areas): Remove unused variable `look'.
12845 (align-region): Remove unused variables `real-end' and `pos-list'.
12846
12847 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12848
12849 * bindings.el (mode-line-modified, mode-line-remote):
12850 Mark unused parameters.
12851 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12852
12853 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12854 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12855
12856 * comint.el (comint-history-isearch-pop-state)
12857 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12858 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12859 (comint-substitute-in-file-name): Doc fix.
12860
12861 * completion.el (cmpl-statistics-block): Mark unused parameter.
12862 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12863 (save-completions-to-file, load-completions-from-file):
12864 Remove unused local variable `e'.
12865
12866 * composite.el (compose-chars): Remove unused variable `len'.
12867 (lgstring-insert-glyph): Remove unused variable `g'.
12868 (compose-glyph-string): Remove unused variables `ascent',
12869 `descent', `lbearing' and `rbearing'.
12870 (compose-glyph-string-relative): Remove unused variables
12871 `lbearing', `rbearing' and `wadjust'.
12872 (compose-gstring-for-graphic): Remove unused variables `header',
12873 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12874 (compose-gstring-for-terminal): Remove unused variables `header'
12875 and `nchars'. Use `let', not `let*'.
12876
12877 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12878 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12879 (Custom-buffer-done, custom-buffer-create-internal)
12880 (custom-browse-visibility-action, custom-browse-group-tag-action)
12881 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12882 (widget-magic-mouse-down-action, custom-toggle-parent)
12883 (custom-add-parent-links, custom-toggle-hide-variable)
12884 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12885 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12886 (custom-face-menu-create, custom-variable-menu-create, get)
12887 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12888 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12889 (customize-apropos): Remove unused variable `tests'.
12890 (custom-group-value-create): Remove unused variable `hidden-p'.
12891 (sort-fold-case): Declare.
12892
12893 * cus-theme.el (custom-reset-standard-faces-list)
12894 (custom-reset-standard-variables-list): Declare.
12895 (customize-create-theme, custom-theme-revert, custom-theme-write)
12896 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12897 Mark unused parameters.
12898
12899 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12900
12901 * delim-col.el (delimit-columns-max): Move defvar before first use.
12902
12903 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12904 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12905
12906 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12907 (auto-insert): Declare.
12908 (desktop-restore-file-buffer): Rename desktop-* parameters;
12909 mark unused ones.
12910 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12911 (desktop-buffer): Rename desktop-* parameters.
12912
12913 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12914 (dframe-reposition-frame-xemacs, dframe-help-echo)
12915 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12916 Mark unused parameters.
12917
12918 * dired-aux.el (backup-extract-version-start, overwrite-query)
12919 (overwrite-backup-query, rename-regexp-query)
12920 (rename-non-directory-query): Declare.
12921 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12922 (dired-add-entry): Remove unused variable `orig-file-name'.
12923 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12924 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12925 `dired-copy-preserve-time' directly.
12926 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12927 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12928
12929 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12930 (dired-virtual-revert, dired-make-relative-symlink):
12931 Mark unused parameters.
12932 (manual-program): Declare.
12933 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12934 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12935 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12936
12937 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12938
12939 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12940
12941 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12942 Declare.
12943
12944 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12945
12946 * electric.el (Electric-command-loop): Rename parameter
12947 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12948
12949 * expand.el (expand-in-literal): Remove unused variable `here'.
12950
12951 * facemenu.el (facemenu-add-new-color):
12952 Remove unused variable `docstring'.
12953
12954 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12955 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12956 (face-attr-construct): Mark unused parameter. Doc fix.
12957 (read-color): Remove unused variable `hex-string'.
12958
12959 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12960 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12961 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12962 (display-buffer-other-frame): Remove unused variable `old-window'.
12963 (kill-buffer-hook): Declare.
12964 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12965 Mark unused parameters.
12966 (after-find-file): Pass 1 to `auto-save-mode', not t.
12967
12968 * files-x.el (auto-insert): Declare.
12969 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12970
12971 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12972 variable `buf'. Mark unused parameter.
06b60517
JB
12973 (find-lisp-insert-directory): Mark unused parameter.
12974
12975 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12976 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12977 (format-common-tail): Remove, unused.
12978 (format-deannotate-region): Remove unused variable `loc'.
12979 (format-annotate-region): Remove unused variable `p'.
12980 (format-annotate-single-property-change): Remove unused variables
12981 `default' and `tail'.
12982
12983 * forms.el (read-file-filter): Declare.
12984 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12985
12986 * frame.el (frame-creation-function-alist): Mark unused parameter.
12987 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12988
12989 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12990 Remove unused parameters.
12991 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12992 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12993
12994 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12995 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12996 (hfy-prepare-tag-map): Mark unused parameters.
12997 (htmlfontify-buffer): Use `called-interactively-p'.
12998
12999 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13000 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13001 (ibuffer-do-occur): Mark unused parameters.
13002 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13003 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13004
13005 * ibuffer.el: Don't quote `lambda'.
13006 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13007 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13008 Mark unused parameters.
13009
13010 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13011 (ido-completing-read): Mark unused parameters.
13012 (ido-copy-current-word): Mark unused parameters;
13013 remove unused variable `name'.
13014 (ido-sort-merged-list): Remove unused parameter `dirs'.
13015
13016 * ielm.el (ielm-input-sender): Mark unused parameter.
13017 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13018 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13019 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13020 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13021 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13022
13023 * image-dired.el (image-dired-display-thumbs): Remove unused
13024 variables `curr-file' and `count'.
13025 (image-dired-remove-tag): Remove unused variable `start'.
13026 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13027 variable `curr-file'
13028 (image-dired-rotate-original): Remove unused variable `temp-file'.
13029 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13030 Remove unused variable `file'.
13031 (image-dired-gallery-generate): Remove unused variable `curr'.
13032 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13033
13034 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13035
13036 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13037
13038 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13039
13040 * isearch.el (minibuffer-history-symbol): Declare.
13041 (isearch-edit-string): Remove unused variable `err'.
13042 (isearch-message-prefix, isearch-message-suffix):
13043 Mark unused parameters.
13044
13045 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13046
13047 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13048
13049 * makesum.el (double-column): Remove unused variable `cnt'.
13050
13051 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13052 (ido-ignore-item-temp-list): Declare.
13053
13054 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13055 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13056 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13057 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13058 `mouse-col-delta'.
13059
13060 * mouse-sel.el (mouse-extend-internal):
13061 Remove unused variable `orig-window-frame'.
13062
13063 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13064 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13065 Move declarations before first use.
13066 (pcomplete-opt): Mark unused parameters; doc fix.
13067
13068 * proced.el (proced-revert): Mark unused parameter.
13069 (proced-send-signal): Remove unused variable `err'.
13070
13071 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13072 Rename parameter PREFIX-ARG to ARG.
13073 (ps-basic-plot-string, ps-basic-plot-whitespace):
13074 Mark unused parameters.
13075
13076 * replace.el (replace-count): Define.
13077 (occur-revert-function): Mark unused parameters.
13078 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13079 (isearch-case-fold-search, isearch-string): Declare.
13080 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13081 bind `case-fold-search'. Remove unused variables `beg' and `end',
13082 and simplify.
13083 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13084 COUNT and bind `replace-count'.
13085 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13086 to COUNT.
13087
13088 * savehist.el (print-readably, print-string-length): Declare.
13089
13090 * shadowfile.el (shadow-expand-cluster-in-file-name):
13091 Remove unused variable `cluster'.
13092 (shadow-copy-file): Remove unused variable `i'.
13093 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13094 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13095 (shadow-define-literal-group, shadow-define-regexp-group)
13096 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13097
13098 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13099 (shell): Use `called-interactively-p'.
13100 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13101
13102 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13103 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13104 (delete-backward-char): Remove unused variable `ocol'.
13105 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13106 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13107 (event-apply-hyper-modifier, event-apply-shift-modifier)
13108 (event-apply-control-modifier, event-apply-meta-modifier):
13109 Mark unused parameters.
13110 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13111 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13112
13113 * speedbar.el (speedbar-ignored-directory-expressions)
13114 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13115 (speedbar-find-file, speedbar-dir-follow)
13116 (speedbar-directory-buttons-follow, speedbar-tag-find)
13117 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13118 (speedbar-buffers-line-directory, speedbar-buffer-click):
13119 Mark unused parameters.
13120 (speedbar-tag-file): Remove unused variable `mode'.
13121 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13122
13123 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13124
13125 * talk.el (talk): Remove unused variable `display'.
13126
13127 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13128 (tar-write-region-annotate): Mark unused parameter.
13129
13130 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13131 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13132 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13133 warning by another.
13134
13135 * time-stamp.el (time-stamp-string-preprocess):
13136 Remove unused variable `require-padding'.
13137
13138 * tree-widget.el (widget-glyph-enable): Declare.
13139 (tree-widget-action): Mark unused parameter.
13140
13141 * w32-fns.el (x-get-selection): Mark unused parameter.
13142 (autoload-make-program, generated-autoload-file): Declare.
13143
13144 * wdired.el (wdired-revert): Mark unused parameters.
13145 (wdired-xcase-word): Remove unused variable `err'.
13146
13147 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13148 (whitespace-help-scroll): Remove unused variable `data-help'.
13149
13150 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13151 (widget-image-insert, widget-after-change, default)
13152 (widget-default-format-handler, widget-default-notify)
13153 (widget-default-prompt-value, widget-info-link-action)
13154 (widget-url-link-action, widget-function-link-action)
13155 (widget-variable-link-action, widget-file-link-action)
13156 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13157 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13158 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13159 (widget-insert-button-action, widget-delete-button-action, visibility)
13160 (widget-documentation-link-action, widget-documentation-string-action)
13161 (widget-const-prompt-value, widget-regexp-match, symbol)
13162 (widget-coding-system-prompt-value)
13163 (widget-key-sequence-value-to-external, sexp)
13164 (widget-sexp-value-to-internal, character, vector, cons)
13165 (widget-choice-prompt-value, widget-boolean-prompt-value)
13166 (widget-color--choose-action): Mark unused parameters.
13167 (widget-item-match-inline, widget-choice-match-inline)
13168 (widget-checklist-match, widget-checklist-match-inline)
13169 (widget-group-match): Rename parameter VALUES to VALS.
13170 (widget-field-value-set): Remove unused variable `size'.
13171 (widget-color-action): Remove unused variables `value' and `start'.
13172
13173 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13174 variable `dir'. Doc fix.
06b60517
JB
13175 (windmove-find-other-window): Don't pass it.
13176
13177 * window.el (count-windows): Mark unused parameter.
13178 (bw-adjust-window): Remove unused variable `err'.
13179
13180 * woman.el (woman-file-name): Remove unused variable `default'.
13181 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13182 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13183 (global-font-lock-mode): Declare.
13184 (woman-decode-region): Mark unused parameter.
13185 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13186
13187 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13188 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13189 (x-dnd-handle-moz-url): Remove unused variable `title'.
13190 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13191
13192 * xml.el (xml-parse-tag, xml-parse-attlist):
13193 Remove unused variable `pos'.
13194
bc4f7f3d
GM
131952011-04-19 Glenn Morris <rgm@gnu.org>
13196
13197 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13198 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13199 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13200 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13201 * calendar/cal-html.el (cal-html-insert-minical):
13202 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13203 (calendar-mark-date-pattern):
13204 Prefix "unused" locals.
13205
13206 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13207 optional argument `style'.
13208
13209 * calendar/appt.el (appt-make-list):
13210 * calendar/cal-china.el (calendar-chinese-date-string):
13211 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13212 (diary-hebrew-yahrzeit):
13213 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13214 * calendar/calendar.el (calendar-generate-window):
13215 * calendar/time-date.el (time-to-days):
13216 Remove unused local variables.
13217
16a43933
CY
132182011-04-18 Chong Yidong <cyd@stupidchicken.com>
13219
13220 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13221 glyphless-char-display table.
13222 (tabulated-list-glyphless-char-display): New var.
13223
7eed1860
SS
132242011-04-18 Sam Steingold <sds@gnu.org>
13225
13226 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13227 to acknowledgments.
13228
4d2d1ccd
GM
132292011-04-17 Glenn Morris <rgm@gnu.org>
13230
13231 * calendar/diary-lib.el (diary-sexp-entry):
13232 * calendar/holidays.el (holiday-sexp):
13233 Set debug-on-error rather than the removed stack-trace-on-error.
13234
239da61d
GM
132352011-04-16 Glenn Morris <rgm@gnu.org>
13236
13237 * progmodes/f90.el: Use lexical-binding.
13238 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13239
8b05752a
SM
132402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13241
daca8ba5
SM
13242 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13243 (mail-mode): Setup mailalias completion here instead.
13244 * mail/mailalias.el: Use lexical-binding.
13245 (pattern, mailalias-done): Declare dynamic.
13246 (mail-completion-at-point-function): New function, from mail-complete.
13247 (mail-complete): Use it.
13248 (mail-completion-expand): New function.
13249 (mail-get-names): Use it.
13250 (mail-directory, mail-directory-process, mail-directory-stream):
13251 Don't use `pattern' for lexically bound arg.
13252
6f542485
SM
13253 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13254
037e7c3f
SM
13255 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13256 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13257 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13258
8b05752a
SM
13259 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13260 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13261 (byte-interactive-p): Define them again, for use when inlining
13262 old code.
13263
49093f60
JB
132642011-04-15 Juanma Barranquero <lekktu@gmail.com>
13265
13266 * loadup.el: Use `string-to-number', not `string-to-int'.
13267
b5b8e7de
SM
132682011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13271 gud-gdb-complete-command.
13272 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13273 (gud-gdb-completion-at-point): New function.
13274 (gud-gdb-completions): Remove.
13275
f42efeb5
MA
132762011-04-14 Michael Albinus <michael.albinus@gmx.de>
13277
49093f60
JB
13278 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13279 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13280 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13281 whether `executable-find' is bound.
f42efeb5
MA
13282
13283 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13284
e240cc21
SM
132852011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13286
13287 * minibuffer.el (completion-in-region-mode-predicate)
13288 (completion-in-region-mode--predicate): New vars.
13289 (completion-in-region, completion-in-region--postch)
13290 (completion-in-region-mode): Use them.
13291 (completion--capf-wrapper): Also return the hook function.
13292 (completion-at-point, completion-help-at-point):
13293 Adjust and provide a predicate.
c2bd2ab0
SM
13294
13295 Preserve arg names for advice of subr and lexical functions (bug#8457).
13296 * help-fns.el (help-function-arglist): Consolidate the subr and
13297 new-byte-code cases. Add argument `preserve-names' to extract names
13298 from the docstring when needed.
13299 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13300 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13301 (ad-arglist): Use help-function-arglist's new arg.
13302 (ad-definition-type): Use cond.
13303
c183f693
JB
133042011-04-13 Juanma Barranquero <lekktu@gmail.com>
13305
06641a47
JB
13306 * autorevert.el (auto-revert-handler):
13307 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13308 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13309 Don't quote lambda.
13310
c183f693
JB
13311 * image-mode.el (image-transform-set-scale):
13312 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13313
1e3b6001
G
133142011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13315
13316 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13317 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13318 Upgrades via gnutls-cli are too slow to be done opportunistically.
13319
2d6af8dd
JB
133202011-04-12 Juanma Barranquero <lekktu@gmail.com>
13321
13322 * dframe.el (dframe-current-frame): Remove spurious quote.
13323
c0749a51
GM
133242011-04-12 Glenn Morris <rgm@gnu.org>
13325
088d0d61
GM
13326 * calendar/cal-tex.el (cal-tex-end-document):
13327 Try to automatically use latin1 input if needed.
13328
c0749a51
GM
13329 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13330 Don't try to cons a mark onto an empty element.
13331
5c90fde0
LL
133322011-04-11 Leo Liu <sdl.web@gmail.com>
13333
13334 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13335 buffers.
13336 (ido-kill-buffer-at-head): Support killing virtual buffers.
13337
369e974d
CY
133382011-04-10 Chong Yidong <cyd@stupidchicken.com>
13339
13340 * minibuffer.el (completion-show-inline-help): New var.
13341 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13342 (minibuffer-force-complete, minibuffer-complete-word):
13343 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13344
13345 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13346 to avoid interference from inline help (Bug#5849).
13347
37f1c930
LL
133482011-04-10 Leo Liu <sdl.web@gmail.com>
13349
099c39a4
JB
13350 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13351 Fix typo.
37f1c930 13352
a32d4040
CY
133532011-04-09 Chong Yidong <cyd@stupidchicken.com>
13354
13355 * image-mode.el (image-toggle-display-image): Signal an error if
13356 not in Image mode.
13357 (image-transform-mode, image-transform-resize)
13358 (image-transform-set-rotation): Doc fix.
daca8ba5 13359 (image-transform-set-resize): Delete.
a32d4040
CY
13360 (image-transform-set-scale, image-transform-fit-to-height)
13361 (image-transform-fit-to-width): Handle image-toggle-display-image
13362 and image-transform-resize directly.
13363
099c39a4 133642011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13365
13366 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13367 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13368 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13369 (doc-view-mode-map): Add bindings for the new functions.
13370
099c39a4 133712011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13372
4d61f28d 13373 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13374 Fix typo in docstring.
13375
3726838a
EZ
133762011-04-08 Eli Zaretskii <eliz@gnu.org>
13377
04f33f1e
EZ
13378 * files.el (file-size-human-readable): Produce one digit after
13379 decimal, like "ls -lh" does.
13380
13381 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13382 the file size representation.
13383
3726838a
EZ
13384 * simple.el (list-processes): If async subprocesses are not
13385 available, error out with a clear error message.
13386
cbb59342
CY
133872011-04-08 Chong Yidong <cyd@stupidchicken.com>
13388
13389 * help.el (help-form-show): New function, to be called from C.
13390 Put help-form output in a buffer named differently than *Help*.
13391
e3971c44
EZ
133922011-04-08 Eli Zaretskii <eliz@gnu.org>
13393
13394 * files.el (file-size-human-readable): New function.
13395
13396 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13397 computing the representation inline. Don't require `cl'.
13398
12544bbe
GM
133992011-04-08 Glenn Morris <rgm@gnu.org>
13400
a1de6c6a
GM
13401 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13402
3c4671f4
GM
13403 * net/browse-url.el (browse-url-firefox):
13404 Test system-type, not system-configuration.
13405
b605679c
GM
13406 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13407 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13408 Use log-edit-empty-buffer-p. (Bug#7598)
13409
56442f0c
GM
13410 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13411 (rlogin-mode-map): Initialize in the defvar.
13412 (rlogin): Use ignore-errors.
13413
12544bbe
GM
13414 * replace.el (occur-mode-map): Some fixes for menu items.
13415
eb237b0f
AH
134162011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13417
13418 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13419
7d668f2c
CY
134202011-04-06 Chong Yidong <cyd@stupidchicken.com>
13421
e67a13ab
CY
13422 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13423 issuing unused warnings.
13424
13425 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13426 macro directly.
13427
7d668f2c
CY
13428 * simple.el: Lisp reimplement of list-processes. Based on an
13429 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13430 (process-menu-mode): New major mode.
13431 (list-processes--refresh, list-processes):
13432 (process-menu-visit-buffer): New functions.
13433
13434 * files.el (save-buffers-kill-emacs): Don't assume any return
13435 value of list-processes, which is undocumented anyway.
13436
a83ec3c9
CY
134372011-04-06 Chong Yidong <cyd@stupidchicken.com>
13438
13439 * emacs-lisp/tabulated-list.el: New file.
13440
e91a96fe
CY
13441 * emacs-lisp/package.el: Use Tabulated List mode.
13442 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13443 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13444 table format using Tabulated List mode variables.
13445 (package--push): New macro, replacing package-list-maybe-add.
13446 (package-menu--generate): Use package--push. Renamed from
13447 package--generate-package-list.
13448 (package-menu-refresh, list-packages): Use it.
daca8ba5 13449 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13450 Return insertion data instead of inserting it directly.
099c39a4
JB
13451 (package-menu-describe-package, package-menu-execute):
13452 Use tabulated-list-get-id.
e91a96fe
CY
13453 (package-menu-mark-delete, package-menu-mark-install)
13454 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13455 (package-menu-mark-obsolete-for-deletion):
13456 Use tabulated-list-put-tag.
e91a96fe
CY
13457 (package--list-packages, package-menu-revert)
13458 (package-menu-get-package, package-menu-get-version)
13459 (package-menu-sort-by-column): Functions deleted.
13460 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13461 (package-menu--status-predicate, package-menu--version-predicate)
13462 (package-menu--name-predicate)
13463 (package-menu--description-predicate): Handle arguments in the
13464 Tabulated List format.
13465 (package-list-packages-no-fetch): Call list-packages.
13466
3e214b50
JB
134672011-04-06 Juanma Barranquero <lekktu@gmail.com>
13468
13469 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13470 (after-find-file): Don't bind it.
3e214b50
JB
13471 (revert-buffer-in-progress-p): New variable.
13472 (revert-buffer): Bind it.
13473 Pass nil for `after-find-file-from-revert-buffer'.
13474
13475 * saveplace.el (save-place-find-file-hook): Use new variable
13476 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13477
3f0f1700
GM
134782011-04-06 Glenn Morris <rgm@gnu.org>
13479
c0274801
GM
13480 * Makefile.in (AUTOGEN_VCS): New variable.
13481 (autoloads): Use $AUTOGEN_VCS.
13482
3f0f1700
GM
13483 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13484 * calendar/calendar.el (calendar-mode-map):
13485 Check for toolkit scroll bars. (Bug#8305)
13486
41ea9e48
CY
134872011-04-05 Chong Yidong <cyd@stupidchicken.com>
13488
13489 * minibuffer.el (completion-in-region--postch)
13490 (completion-in-region-mode): Remove unnecessary messages.
13491
6194c800
JB
134922011-04-05 Juanma Barranquero <lekktu@gmail.com>
13493
33256f14
JB
13494 * font-lock.el (font-lock-refresh-defaults):
13495 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13496 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13497
6194c800
JB
13498 * info.el (Info-directory-list, Info-read-node-name-2)
13499 (Info-split-parameter-string): Doc fixes.
13500 (Info-virtual-nodes): Reflow docstring.
13501 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13502 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13503 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13504 Fix typos in docstrings.
13505 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13506 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13507 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13508 (Info-restore-desktop-buffer): Mark unused parameters.
13509 (Info-directory-find-file, Info-directory-find-node)
13510 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13511 (Info-virtual-index-find-node, Info-apropos-find-file)
13512 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13513 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13514 (Info-virtual-index): Remove unused local variable `nodename'.
13515
b87a8200 135162011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13517
b87a8200
DD
13518 * net/rcirc.el: Update my e-mail address.
13519 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13520
3b2ff876
CY
135212011-04-05 Chong Yidong <cyd@stupidchicken.com>
13522
13523 * startup.el (command-line): Save the cursor's theme-face
13524 directly, instead of using face-override-spec.
13525
13526 * custom.el (load-theme): Minor optimization in assigning faces.
13527
8d17e7ca
JB
135282011-04-04 Juanma Barranquero <lekktu@gmail.com>
13529
13530 * help-fns.el (describe-variable): Complete all variables having
13531 documentation, including keywords.
13532 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13533
2fbc1934
JB
135342011-04-04 Juanma Barranquero <lekktu@gmail.com>
13535
13536 Convert to lexical-binding.
13537
13538 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13539 (bs--get-marked-string, bs--get-modified-string)
13540 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13541 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13542 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13543
13544 * ehelp.el (electric-help-execute-extended)
13545 (electric-help-ctrl-x-prefix):
13546 * hexl.el (hexl-revert-buffer-function):
13547 * linum.el (linum-after-change, linum-after-scroll):
13548 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13549
13550 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13551
74f50695
DU
135522011-04-04 Daiki Ueno <ueno@unixuser.org>
13553
13554 * epa-dired.el:
13555 * epa-mail.el:
13556 * epa-hook.el:
13557 * epa-file.el:
13558 * epa.el:
13559 * epg.el: Use lexical binding.
13560
c11325f7
CY
135612011-04-03 Chong Yidong <cyd@stupidchicken.com>
13562
0d9e9a12
CY
13563 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13564
c11325f7 13565 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13566 dictionary case for flyspell-mark-duplications-exceptions.
13567 Use regexp matching for languages.
c11325f7
CY
13568 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13569 default dictionary (Bug#7926).
13570
da91b5f2
CY
135712011-04-02 Chong Yidong <cyd@stupidchicken.com>
13572
099c39a4
JB
13573 * emacs-lisp/package.el (package--with-work-buffer):
13574 Recognize https URLs.
da91b5f2 13575
099c39a4
JB
13576 * net/network-stream.el: Move from gnus/proto-stream.el.
13577 Change prefix to network-stream throughout.
da91b5f2
CY
13578 (open-protocol-stream): Merge into open-network-stream, leaving
13579 open-protocol-stream as an alias. Handle nil BUFFER args.
13580
13581 * subr.el (open-network-stream): Move to net/network-stream.el.
13582
afa8e9f6
GM
135832011-04-02 Glenn Morris <rgm@gnu.org>
13584
1d2e369d
GM
13585 * find-dired.el (find-exec-terminator): New option.
13586 (find-ls-option): Test for -ls support.
13587 (find-ls-subdir-switches): Test for -b in find-ls-option.
13588 (find-dired, find-grep-dired): Doc fixes.
13589 (find-dired): Use find-exec-terminator.
13590
8abb7da8 13591 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13592 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13593 (find-name-arg): Remove purecopy.
8abb7da8 13594
f3ca7378
GM
13595 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13596 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13597 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13598 accordingly. Don't add the null-device if not needed.
13599
afa8e9f6
GM
13600 * files.el (save-some-buffers): Doc fix.
13601
35eae264
EZ
136022011-04-02 Eli Zaretskii <eliz@gnu.org>
13603
13604 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13605
26b51db5
JB
136062011-04-01 Juanma Barranquero <lekktu@gmail.com>
13607
13608 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13609 Use `dolist' rather than `mapcar'.
13610
7200d79c
SM
136112011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13612
03408648 13613 Add lexical binding.
7200d79c 13614
03408648
SM
13615 * subr.el (apply-partially): Use new closures rather than CL.
13616 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13617 (dolist, dotimes): Use slightly different expansion for lexical code.
13618 (functionp): Move to C.
13619 (letrec): New macro.
13620 (with-wrapper-hook): Use it and apply-partially instead of CL.
13621 (eval-after-load): Preserve lexical-binding.
13622 (save-window-excursion, with-output-to-temp-buffer): Turn them
13623 into macros.
7200d79c 13624
03408648
SM
13625 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13626
13627 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13628 than the arglist.
13629 (help-add-fundoc-usage): Don't add `Not documented'.
13630 (help-function-arglist): Handle closures, subroutines, and new
13631 byte-code-functions.
13632 (help-make-usage): Remove leading underscores.
13633 (describe-function-1): Handle closures.
13634 (describe-variable): Use special-variable-p for completion.
13635
13636 * files.el (lexical-binding): Declare safe.
f488fb65 13637
03408648
SM
13638 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13639 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13640 (pcase): Add `let' pattern.
13641 Change memoization so it actually works.
13642 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13643 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13644 <let>: New case.
f488fb65 13645
03408648
SM
13646 * emacs-lisp/macroexp.el: Use lexical binding.
13647 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13648 Don't convert ' to #' without checking that it's indeed quoting
13649 a lambda.
13650
13651 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13652 Use eval-sexp-add-defvars.
03408648
SM
13653 (eval-sexp-add-defvars): New fun.
13654
13655 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13656
13657 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13658 Don't autoload.
13659 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13660 than the internal `byte-compile-lambda'.
13661 (defmethod): Don't hide code under quotes.
13662 (eieio-defmethod): New `code' argument.
13663
13664 * emacs-lisp/eieio-comp.el: Remove.
13665
13666 * emacs-lisp/edebug.el (edebug-eval-defun)
13667 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13668 (edebug-toggle): Avoid `eval'.
13669
13670 * emacs-lisp/disass.el (disassemble-internal): Handle new
13671 `closure' objects.
13672 (disassemble-1): Handle new byte codes.
13673
13674 * emacs-lisp/cl.el (pushnew): Silence warning.
13675
13676 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13677 (cl-byte-compile-throw): Remove.
13678 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13679
13680 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13681 closures.
13682
13683 * emacs-lisp/cconv.el: New file.
13684
13685 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13686 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13687 (byte-compile-initial-macro-environment):
13688 Handle declare-function here.
13689 (byte-compile--lexical-environment): New var.
13690 (byte-stack-ref, byte-stack-set, byte-discardN)
13691 (byte-discardN-preserve-tos): New lap codes.
13692 (byte-interactive-p): Don't use any more.
13693 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13694 New macros.
13695 (byte-compile-lapcode): Use them and handle new lap codes.
13696 (byte-compile-obsolete): Remove.
13697 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13698 (byte-compile-arglist-warn): Check late def of inlinable funs.
13699 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13700 since they should have been expanded by now.
13701 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13702 (byte-compile-from-buffer): Remove unused second arg.
13703 (byte-compile-preprocess): New function.
13704 (byte-compile-toplevel-file-form): New function to distinguish
13705 file-form calls from outside from file-form calls from hunk-handlers.
13706 (byte-compile-file-form): Simplify.
13707 (byte-compile-file-form-defsubst): Remove.
13708 (byte-compile-file-form-defmumble): Simplify now that
13709 byte-compile-lambda always returns a byte-code-function.
13710 (byte-compile): Preprocess.
13711 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13712 Remove, not used any more.
13713 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13714 (byte-compile-make-args-desc): New funs.
13715 (byte-compile-lambda): Handle lexical functions. Always return
13716 a byte-code-function.
13717 (byte-compile-reserved-constants): New var, to make up room for
13718 closed-over variables.
13719 (byte-compile-constants-vector): Obey it.
13720 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13721 (byte-compile-macroexpand-declare-function): New function.
13722 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13723 byte-code-functions.
13724 (byte-compile-form): Check obsolescence here.
13725 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13726 (byte-compile-variable-ref): Remove.
13727 (byte-compile-dynamic-variable-op): New fun.
13728 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13729 (byte-compile-variable-set): New funs.
13730 (byte-compile-discard): Add 2 args.
13731 (byte-compile-stack-ref, byte-compile-stack-set)
13732 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13733 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13734 macroexpand-all instead.
13735 (byte-compile-quote-form): Remove.
13736 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13737 (byte-compile-bind, byte-compile-unbind): New funs.
13738 (byte-compile-let): Handle let* and lexical binding.
13739 (byte-compile-let*): Remove.
13740 (byte-compile-catch, byte-compile-unwind-protect)
13741 (byte-compile-track-mouse, byte-compile-condition-case):
13742 Handle a new :fun-body form, used for lexical scoping.
13743 (byte-compile-save-window-excursion)
13744 (byte-compile-with-output-to-temp-buffer): Remove.
13745 (byte-compile-defun): Simplify.
13746 (byte-compile-stack-adjustment): New fun.
13747 (byte-compile-out): Use it.
13748 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13749
13750 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13751 handler any more.
13752
13753 * emacs-lisp/byte-opt.el: Use lexical binding.
13754 (byte-inline-lapcode): Remove (to bytecomp).
13755 (byte-compile-inline-expand): Pay attention to inlining to/from
13756 lexically bound code.
13757 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13758 any more.
13759 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13760 any more and don't call compiler-macros.
13761 (byte-compile-splice-in-already-compiled-code): Remove.
13762 (byte-code): Don't inline any more.
13763 (disassemble-offset): Receive `bytes' as argument rather than via
13764 dynamic scoping.
13765 (byte-compile-tag-number): Declare before first use.
13766 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13767 `return' even if make-spliceable.
13768 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13769 obsolete interactive-p.
13770 (byte-optimize-lapcode): Optimize new lap-codes.
13771 Don't trip up on new form of `byte-constant' lap code.
13772
13773 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13774
13775 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13776
13777 * custom.el (custom-initialize-default, custom-declare-variable):
13778 Use `defvar'.
13779
13780 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13781 New variables.
13782 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13783 (COMPILE_FIRST): Add macroexp and cconv.
13784 * makefile.w32-in: Mirror changes in Makefile.in.
13785
13786 * vc/cvs-status.el:
13787 * vc/diff-mode.el:
13788 * vc/log-edit.el:
13789 * vc/log-view.el:
13790 * vc/smerge-mode.el:
13791 * textmodes/bibtex-style.el:
13792 * textmodes/css.el:
13793 * startup.el:
13794 * uniquify.el:
da91b5f2
CY
13795 * minibuffer.el:
13796 * newcomment.el:
13797 * reveal.el:
13798 * server.el:
13799 * mpc.el:
13800 * emacs-lisp/smie.el:
13801 * doc-view.el:
13802 * dired.el:
03408648
SM
13803 * abbrev.el: Use lexical binding.
13804
0f0c1f27
EZ
138052011-04-01 Eli Zaretskii <eliz@gnu.org>
13806
13807 * info.el (info-display-manual): New function.
13808
c82b2579
SM
138092011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13812
221ddf68
TH
138132011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13814
13815 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13816 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13817
cba6e77e
GM
138182011-03-31 Glenn Morris <rgm@gnu.org>
13819
e040639f
GM
13820 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13821
cba6e77e
GM
13822 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13823
6d0f1c9e
CS
138242011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13825
13826 * progmodes/python.el (python-default-interpreter)
13827 (python-python-command-args, python-jython-command-args)
13828 (python-which-shell, python-which-args, python-which-bufname)
13829 (python-file-queue, python-comint-output-filter-function)
13830 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13831 variables and functions.
13832
3e2d70fd
SM
138332011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13834
13835 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13836 (completion-in-region-mode): New minor mode.
13837 (completion-in-region): Use it.
13838 (completion-in-region--data, completion-in-region-mode-map): New vars.
13839 (completion-in-region--postch): New function.
13840 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13841 New vars.
13842 (completion--capf-wrapper): New function.
13843 (completion-at-point): Use it to track well-behavedness of
13844 hook functions.
13845 (completion-help-at-point): New command.
13846
f3e4086c
JM
138472011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13848
13849 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13850 syntax class to search for whitespace on a single line
13851 (Message-ID: <4D938140.4030905@redhat.com>).
13852
eb7ffc14
LL
138532011-03-30 Leo Liu <sdl.web@gmail.com>
13854
13855 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13856 New commands.
13857 (edit-abbrevs-map): Bind them here.
13858 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13859
d806ab68
KM
138602011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13861
13862 * allout.el (allout-hide-by-annotation, allout-flag-region):
13863 Reduce possibility of overlay leakage by making them volatile.
13864
13865 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13866 hash is not shared between buffers. Mode initialization is
13867 responsible for giving it a useful starting value.
13868 (allout-item-span): Reduce possibility of overlay leakage by
13869 making them volatile.
13870 (allout-widgets-count-buttons-in-region): Add diagnostic function
13871 for tracking down button overlay leaks.
13872
ea622834
LL
138732011-03-29 Leo Liu <sdl.web@gmail.com>
13874
13875 * ido.el (ido-read-internal): Use the default history var
13876 minibuffer-history if no HISTORY is specified.
13877
b62f8267
G
138782011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13879
03408648
SM
13880 * net/imap.el (imap-shell-open, imap-process-connection-type):
13881 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13882 Kerberos, SSL, other subprocesses.
13883
947b6566
LL
138842011-03-28 Leo Liu <sdl.web@gmail.com>
13885
13886 * abbrev.el (abbrev-table-empty-p): New function.
13887 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13888 nonempty ones. (Bug#5937)
13889
5ffb62aa
JD
138902011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13891
13892 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13893
7a097943
LL
138942011-03-27 Leo Liu <sdl.web@gmail.com>
13895
13896 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13897 for foreground and background colors.
13898 (ansi-color-make-color-map): Adapt.
13899
c5b40130
LL
139002011-03-25 Leo Liu <sdl.web@gmail.com>
13901
1f48f7d2
LL
13902 * midnight.el (midnight-time-float): Remove. Note it calculates
13903 the microsecond component incorrectly and seconds-to-time does the
13904 same job.
625897ec 13905 Remove redundant (require 'timer).
1f48f7d2 13906
c5b40130
LL
13907 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13908 (ido-completions): Remove unused arguments. (Bug#8329)
13909
d86d2721
SM
139102011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * minibuffer.el (completion--flush-all-sorted-completions):
13913 Remove itself from hook.
13914 (completion-at-point): Let the functions perform the completion
13915 immediately and return nil or t.
13916 * comint.el (comint-dynamic-complete-functions): Now identical to
13917 completion-at-point-functions.
13918 (comint-dynamic-list-input-ring): Remove unused var `index'.
13919 (comint--match-partial-filename, comint--unquote&expand-filename):
13920 New funs, split from comint-match-partial-filename.
13921 (comint-dynamic-complete): Use completion-at-point.
13922 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13923
e8974c48
DA
139242011-03-24 Drew Adams <drew.adams@oracle.com>
13925
13926 * thingatpt.el: Support `defun'.
13927
def71b5e
LL
139282011-03-23 Leo Liu <sdl.web@gmail.com>
13929
cb5af48e
LL
13930 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13931
def71b5e
LL
13932 * help-mode.el (help-mode-finish): Tweak regexp.
13933
927c53e7
GM
139342011-03-23 Glenn Morris <rgm@gnu.org>
13935
18d05bed
GM
13936 * eshell/esh-opt.el (eshell-eval-using-options):
13937 Do not bind unused local variable `eshell-option-stub'.
13938
927c53e7
GM
13939 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13940
9d0da923
JB
139412011-03-22 Juanma Barranquero <lekktu@gmail.com>
13942
13943 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13944 keymap variable in `with-no-warnings' to avoid a warning when the
13945 keymap has been already `defconst'ed.
13946
4b978a67
LL
139472011-03-22 Leo Liu <sdl.web@gmail.com>
13948
13949 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13950 encode all chars in abbrevs; otherwise use emacs-mule or
13951 utf-8-emacs. (Bug#8308)
13952
5fd62452
JB
139532011-03-22 Juanma Barranquero <lekktu@gmail.com>
13954
0b1596c6
JB
13955 * simple.el (backward-delete-char-untabify):
13956 Avoid warning about using `delete-backward-char'.
13957
5fd62452
JB
13958 * image.el (image-type-file-name-regexps): Make it variable.
13959 `imagemagick-register-types' modifies it, and the user may want
13960 to add new extensions for known image types.
13961 (imagemagick-register-types): Throw error if not using ImageMagick.
13962
0b4e93f1
LL
139632011-03-22 Leo Liu <sdl.web@gmail.com>
13964
13965 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13966 located before rcirc-prompt-end-marker.
13967 (rcirc-complete): Error if point is not after rcirc prompt.
13968 Handle the case when table is nil.
9882e214 13969 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13970
fccee4ab
CY
139712011-03-22 Chong Yidong <cyd@stupidchicken.com>
13972
13973 * custom.el (custom--inhibit-theme-enable): Make it affect only
13974 custom-theme-set-variables and custom-theme-set-faces.
13975 (provide-theme): Ignore custom--inhibit-theme-enable.
13976 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13977 (custom-enabling-themes): Delete variable.
d86d2721
SM
13978 (enable-theme): Accept only loaded themes as arguments.
13979 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13980 (custom-enabled-themes): Forbid themes from setting this.
13981 Eliminate use of custom-enabling-themes.
13982 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13983
af896da6
LL
139842011-03-21 Leo Liu <sdl.web@gmail.com>
13985
13986 * ido.el (ido-read-internal): Add ido-selected to history instead
13987 of user input.
13988
78f64af0
SM
139892011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * subr.el (deferred-action-list, deferred-action-function):
13992 Mark obsolete.
13993
b16ac1ec
LL
139942011-03-21 Leo Liu <sdl.web@gmail.com>
13995
810f7698
LL
13996 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13997 change on 2011-02-13 (bug#8309).
13998
b16ac1ec
LL
13999 * minibuffer.el (read-file-name-function): Change default value.
14000 (read-file-name--defaults): Rename from read-file-name-defaults.
14001 (read-file-name-default): Rename from read-file-name.
14002 (read-file-name): Call read-file-name-function.
14003
4e05e67e
GM
140042011-03-21 Glenn Morris <rgm@gnu.org>
14005
14006 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14007 Doc fixes.
14008
4359915b
CY
140092011-03-21 Chong Yidong <cyd@stupidchicken.com>
14010
14011 * cus-theme.el: Add missing provide statement.
14012 (customize-create-theme): Extract theme value correctly.
14013 (custom-theme-visit-theme): Autoload.
14014 (customize-create-theme): Prompt before inserting default faces.
14015
1fe275ee
JB
140162011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14017
14018 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14019 units and musical notes.
14020
cd394be1 140212011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14022
14023 * ido.el (ido-read-internal): Use completing-read-default.
14024 (ido-completing-read): Fix compatibility with completing-read.
14025
7d476bde
CO
140262011-03-20 Christian Ohler <ohler@gnu.org>
14027
14028 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14029 (ert-delete-all-tests): Use `called-interactively-p' rather than
14030 `interactive-p'.
14031 (ert--make-xrefs-region): Respect END.
14032
fe0fb33e
CY
140332011-03-19 Chong Yidong <cyd@stupidchicken.com>
14034
ff854b0b
CY
14035 * dired-aux.el (dired-create-directory): Signal an error if the
14036 directory already exists (Bug#8246).
14037
fe0fb33e
CY
14038 * facemenu.el (list-colors-display): Call list-faces-display
14039 inside with-help-window.
14040 (list-colors-print): Use display property to align the final
14041 column, instead of checking window-width.
14042
576bce32
EZ
140432011-03-19 Eli Zaretskii <eliz@gnu.org>
14044
4d61f28d 14045 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14046 windows-nt systems.
14047 (emerge-protect-metachars): Quote correctly for ms-dos and
14048 windows-nt systems.
14049
89c41d68 140502011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14051
14052 * info.el (info-initialize): Replace all uses of `:' with
14053 path-separator for compatibility with non-Unix systems.
14054 Cache quoting of path-separator. (Bug#8258)
14055
b14e3e21 140562011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14057
14058 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14059 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14060 (mouse-avoidance-mode): Fix typos in docstrings.
14061
4525ce3e
CY
140622011-03-19 Chong Yidong <cyd@stupidchicken.com>
14063
14064 * startup.el (package-subdirectory-regexp): Move from package.el.
14065 Omit \\` and \\', and let callers add them.
14066
14067 * emacs-lisp/package.el (package-strip-version)
14068 (package-load-all-descriptors): Add \\` and \\' to
14069 package-subdirectory-regexp before using it.
14070 (package-untar-buffer): New arg DIR; ensure that file untars only
14071 into this expected directory. Remove superfluous delete-region.
14072 (package-unpack): Caller changed.
14073 (package-tar-file-info): Use package-subdirectory-regexp.
14074
a904a09a 140752011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14076
a904a09a
SM
14077 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14078 diff-mode-shared-map (bug#8284).
14079 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14080
140812011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14082
14083 * calendar/time-date.el (format-seconds): Use assoc instead of
14084 assoc-string, since assoc-string doesn't exist in XEmacs.
14085
171fc304
JB
140862011-03-17 Juanma Barranquero <lekktu@gmail.com>
14087
14088 * custom.el (custom-known-themes): Reflow docstring.
14089 (custom-theme-load-path): Fix typo in docstring.
14090 (load-theme): Fix typo in error message.
14091 (custom-available-themes, custom-variable-theme-value):
14092 Use `let', not `let*'.
14093
d71990a1
JB
140942011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14095
14096 * calc/README: Mention inclusion of musical notes.
14097
14098 * calc/calc-units.el (calc-lu-quant): Rename from
14099 `calc-logunits-quantity'.
14100 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14101 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14102 (calc-db): Rename from `calc-dblevel'.
14103 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14104 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14105 (calc-np): Rename from `calc-nplevel'.
14106 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14107 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14108 (calc-lu-plus): Rename from `calc-logunits-add'.
14109 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14110 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14111 (calc-lu-minus): Rename from `calc-logunits-sub'.
14112 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14113 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14114 (calc-lu-times): Rename from `calc-logunits-mul'.
14115 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14116 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14117 (calc-lu-divide): Rename from `calc-logunits-div'.
14118 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14119 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14120
14121 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14122 functions being autoloaded.
14123
14124 * calc/calc.el (calc-lu-power-reference): Rename from
14125 `calc-logunits-power-reference'.
14126 (calc-lu-field-reference): Rename from
14127 `calc-logunits-field-reference'.
14128
7a71b18d
GM
14129 * calc/calc-help.el (calc-l-prefix-help):
14130 Mention musical note functions.
d71990a1 14131
40c2934b
SM
141322011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * minibuffer.el (completion-all-sorted-completions):
14135 Use :completion-cycle-penalty text property if present.
14136
b0911414
KM
141372011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14138
14139 * allout.el (allout-yank-processing): Adjust for new rebulleting
14140 regime so bullet being yanked is used without prompting the user
14141 for a choice.
14142
8a05b668
JB
141432011-03-16 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * startup.el (command-line): Warn the user that _emacs is deprecated.
14146
5ba5fb81
JB
141472011-03-16 Juanma Barranquero <lekktu@gmail.com>
14148
14149 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14150 (delphi-verbose, delphi-comment-face, delphi-string-face)
14151 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14152 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14153 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14154 (delphi-new-comment-line, delphi-font-lock-defaults)
14155 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14156 Fix typos in docstrings.
14157
2dab465b
KM
141582011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14159
5ba5fb81 14160 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14161 Invert the roles of character and string values for INSTEAD, so a
14162 string is used for the more common case of a defaulting prompt.
14163
0adf5618
SM
141642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14165
14166 * progmodes/ruby-mode.el (ruby-backward-sexp):
14167 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14168 * play/gamegrid.el (gamegrid-make-face):
14169 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14170 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14171 * notifications.el (notifications-notify):
14172 * net/xesam.el (xesam-search-engines):
14173 * net/quickurl.el (quickurl-list-insert):
14174 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14175
d72700e5
CY
141762011-03-15 Chong Yidong <cyd@stupidchicken.com>
14177
14178 * startup.el (command-line): Update package subdirectory regexp.
14179
49c5410a
SM
141802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14181
c6eee9aa
SM
14182 * allout.el (allout-abbreviate-flattened-numbering)
14183 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14184
49c5410a
SM
14185 * subr.el (read-char-choice): Only show the cursor after the prompt,
14186 not after the answer.
14187
047b2bb9
KR
141882011-03-15 Kevin Ryde <user42@zip.com.au>
14189
14190 * help-fns.el (variable-at-point): Skip leading quotes, if any
14191 (bug#8253).
14192
0a57d256
SM
141932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14196 warning message.
14197
77c992bc
MA
141982011-03-14 Michael Albinus <michael.albinus@gmx.de>
14199
14200 * shell.el (shell): When called interactively, offer to change the
14201 shell file name on remote hosts.
14202
eebc475d
TZ
142032011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14204
14205 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14206 integration for LDAP parameters. The host, base, user or binddn,
14207 and secret tokens can be specified in a netrc file, for instance.
14208 This is optional because an `auth-source' parameter must be
14209 specified in the search attributes.
14210
9d05d1ba
JB
142112011-03-13 Juanma Barranquero <lekktu@gmail.com>
14212
14213 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14214
09d9db2c
GM
142152011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14216
14217 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14218 into declaration. Remove redundant and harmful binding.
14219
142202011-03-12 Eli Zaretskii <eliz@gnu.org>
14221
14222 * files.el (file-ownership-preserved-p): Pass `integer' as an
14223 explicit 2nd argument to `file-attributes'. If the file's owner
14224 is the Administrators group on Windows, and the current user is
14225 Administrator, consider that a match.
14226
14227 * server.el (server-ensure-safe-dir): Consider server directory
14228 safe on MS-Windows if its owner is the Administrators group while
14229 the current Emacs user is Administrator. Use `=' to compare
14230 numerical UIDs, since they could be integers or floats.
14231
219bd536
JB
142322011-03-12 Juanma Barranquero <lekktu@gmail.com>
14233
14234 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14235
f3afd36b
MA
142362011-03-12 Michael Albinus <michael.albinus@gmx.de>
14237
14238 Sync with Tramp 2.2.1.
14239
14240 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14241
14242 * net/trampver.el: Update release number.
14243
3aaaa6f1
SM
142442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14245
94642599
SM
14246 * progmodes/compile.el (compilation--previous-directory): Fix up
14247 various nil/dead-marker mismatches (bug#8014).
14248 (compilation-directory-properties, compilation-error-properties):
14249 Don't call it at a position past the one we're about to change.
14250
3aaaa6f1
SM
14251 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14252 Disable obsolescence warnings in the file that declares it.
14253
14239447
KM
142542011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14255
099c39a4
JB
14256 * allout-widgets.el (allout-widgets-tally):
14257 Initialize allout-widgets-tally as a hash table rather than nil to
14258 prevent mode-line redisplay warnings. Also, clarify the module
14259 description and fix a comment typo.
14239447 14260
135e287c
JB
142612011-03-11 Juanma Barranquero <lekktu@gmail.com>
14262
14263 * help-fns.el (describe-variable): Don't complete keywords.
14264 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14265
ffbf300e
CY
142662011-03-10 Chong Yidong <cyd@stupidchicken.com>
14267
ba08b241
CY
14268 * emacs-lisp/package.el (package-version-join): Impose a standard
14269 string representation for pre/alpha/beta version lists.
14270 (package-unpack-single): Standardize the directory name by passing
14271 it through package-version-join.
14272 (package-strip-rcs-id): Accept any version string that does not
14273 signal an error in version-to-list.
ffbf300e 14274
f346fd6b
MA
142752011-03-10 Michael Albinus <michael.albinus@gmx.de>
14276
14277 * simple.el (delete-trailing-whitespace): Return nil for the
14278 benefit of `write-file-functions'.
14279
ccb55d27
GM
142802011-03-10 Glenn Morris <rgm@gnu.org>
14281
5ceaac0c
GM
14282 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14283
02da65ff
GM
14284 * vc/vc-git.el (vc-git-program): New option.
14285 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14286 (vc-git--call): Use it.
14287
b2f603cc
GM
14288 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14289
5772caab
GM
14290 * cus-edit.el (Custom-newline): If no button at point, look
14291 for a subgroup button at start-of-line. (Bug#2298)
14292
ccb55d27
GM
14293 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14294
ec6ecaed
JD
142952011-03-10 Julien Danjou <julien@danjou.info>
14296
14297 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14298 `cursor-type' is nil.
14299
9d5aa01d
JB
143002011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14301
14302 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14303
b6a5875b
KM
143042011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14305
7a71b18d 14306 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14307 preserves the existing header prefix, rebulleting it if necessary,
14308 rather than replacing it. This is necessary for proper operation
14309 of cooperative addons like allout-widgets.
1154d12e
JB
14310 (allout-make-topic-prefix, allout-rebullet-heading):
14311 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14312 value as alternate bullet to be used, instead of prompting the user
14313 for a bullet character.
b6a5875b 14314
ee545c35
MA
143152011-03-09 Michael Albinus <michael.albinus@gmx.de>
14316
d86d2721
SM
14317 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14318 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14319 `tramp-default-port'.
14320
c47971d7
DD
143212011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14322
14323 * net/rcirc.el (rcirc-handler-001): Remove useless
14324 with-rcirc-process-buffer.
14325 (rcirc-check-auth-status): Swap arguments to string-match.
14326
13522cb4
GM
143272011-03-09 Glenn Morris <rgm@gnu.org>
14328
0be6f4f1
GM
14329 * shell.el (shell-mode):
14330 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14331
13522cb4
GM
14332 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14333 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14334
515de2e3
CY
143352011-03-08 Chong Yidong <cyd@stupidchicken.com>
14336
14337 * emacs-lisp/package.el (package-refresh-contents)
14338 (package-menu-execute): Use condition-case-no-debug.
14339
b511b994
MA
143402011-03-08 Michael Albinus <michael.albinus@gmx.de>
14341
14342 * simple.el (shell-command-to-string): Use `process-file'.
14343
14344 * emacs-lisp/package.el (package-tar-file-info): Handle also
14345 remote files.
14346
d86d2721
SM
14347 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14348 Use `equal' for upload base check.
b511b994 14349
25bbfb31
AM
143502011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14351
14352 * textmodes/texinfo.el (texinfo-environments):
14353 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14354
be996521
GM
143552011-03-08 Glenn Morris <rgm@gnu.org>
14356
e9c8529f
GM
14357 * cus-start.el (cursor-in-non-selected-windows):
14358 Fix :set quoting oddness. (Bug#8192)
14359
be996521
GM
14360 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14361 in some setf expressions. (Bug#2159)
14362
2bb5649e
CY
143632011-03-08 Chong Yidong <cyd@stupidchicken.com>
14364
14365 * custom.el (custom-available-themes): Return themes in
14366 alphabetical order.
14367
33383987 14368See ChangeLog.15 for earlier changes.
e3d51b27
MR
14369
14370;; Local Variables:
14371;; coding: utf-8
e3d51b27
MR
14372;; End:
14373
acaf905b 14374 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14375
14376 This file is part of GNU Emacs.
14377
14378 GNU Emacs is free software: you can redistribute it and/or modify
14379 it under the terms of the GNU General Public License as published by
14380 the Free Software Foundation, either version 3 of the License, or
14381 (at your option) any later version.
14382
14383 GNU Emacs is distributed in the hope that it will be useful,
14384 but WITHOUT ANY WARRANTY; without even the implied warranty of
14385 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14386 GNU General Public License for more details.
14387
14388 You should have received a copy of the GNU General Public License
14389 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.