* etc/NEWS: Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6e8a1786
AM
12012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2
3 * textmodes/ispell.el (ispell-with-no-warnings):
4 Define as a macro.
5 (ispell-kill-ispell, ispell-change-dictionary): Use
6 `called-interactively-p' for Emacs instead of obsolete
7 `interactive-p'.
8
61b108cc
SM
92012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12 (macro-declaration-function): Move var from C code.
13 (macro-declaration-function): Define function with defalias.
14 * emacs-lisp/macroexp.el (macroexpand-all-1):
15 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
16 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
17 defun/defmacro any more.
18 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
19 Provide fallback for unknown arglist.
20 (byte-compile-arglist-warn): Change calling convention.
21 (byte-compile-output-file-form): Move print-vars binding.
22 (byte-compile-output-docform): Simplify accordingly.
23 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
24 (byte-compile-defmacro-declaration): Remove.
25 (byte-compile-file-form-defmumble): Generalize to defalias.
26 (byte-compile-output-as-comment): Return byte-positions.
27 Simplify callers accordingly.
28 (byte-compile-lambda): Use `assert'.
29 (byte-compile-defun, byte-compile-defmacro): Remove.
30 (byte-compile-file-form-defalias):
31 Use byte-compile-file-form-defmumble.
32 (byte-compile-defalias-warn): Remove.
33
6d3f7c2f
SM
342012-05-29 Stefan Merten <smerten@oekonux.de>
35
36 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 37 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
38
39 (rst-mode-abbrev-table): Merge definition.
40 (rst-mode): Make sure `font-lock-defaults' is buffer local.
41 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
42
6dbaa1c7
UJ
432012-05-29 Ulf Jasper <ulf.jasper@web.de>
44
45 * calendar/icalendar.el
46 (icalendar-export-region): Export UID properly.
47
482012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
49 * calendar/icalendar.el (icalendar-import-format):
50 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
51 (icalendar-import-format-uid): New.
52 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
53 Export UID.
54
6876a58d
SM
552012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
58 different alternative patterns.
59 (pcase-codegen): Be more careful to preserve identity.
60 (pcase--u1): Don't forget to mark vars as used.
61
62 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
63 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
64 (byte-compile-from-buffer): ...rather than here.
65
66 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
67 functions from byte-compile-function-environment.
68
46b7967e
TN
692012-05-29 Troels Nielsen <bn.troels@gmail.com>
70
71 * window.el (window-deletable-p): Avoid deleting the root window
72 of a frame with an active minibuffer.
73
69d565e2
MR
742012-05-29 Martin Rudalics <rudalics@gmx.at>
75
76 * simple.el (choose-completion): Use quit-window (Bug#11567).
77
a149fa51
CY
782012-05-29 Chong Yidong <cyd@gnu.org>
79
80 * whitespace.el (whitespace-cleanup): Fix usage of
81 whitespace-empty-at-bob-regexp (Bug#11492).
82
2b311310
AH
832012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
84
85 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
86 revert (Bug#11488).
87
b9cb2387
JL
882012-05-29 Juri Linkov <juri@jurta.org>
89
90 * isearch.el (isearch-mode-map): Bind `M-s _' to
91 `isearch-toggle-symbol'. Bind `M-s c' to
92 `isearch-toggle-case-fold'.
93 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
94 (isearch-forward): Add `M-s _' to the docstring.
95 (isearch-forward-symbol, isearch-toggle-case-fold)
96 (isearch-symbol-regexp): New functions. (Bug#11381)
97
d5e61c1c
JL
982012-05-29 Juri Linkov <juri@jurta.org>
99
100 * isearch.el (isearch-word): Add docstring. (Bug#11381)
101 (isearch-occur, isearch-search-and-update): If `isearch-word' is
102 a function, call it to get the regexp.
103 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
104 property `isearch-message-prefix' instead of the string "word ".
105 (isearch-search-fun-default): For the case of `isearch-word',
106 return a lambda that calls re-search-forward/re-search-backward
107 with a regexp returned by `word-search-regexp' or by the function
108 in `isearch-word'.
109
8cbd80f7
JL
1102012-05-29 Juri Linkov <juri@jurta.org>
111
112 * isearch.el (isearch-search-fun-default): New function.
113 (isearch-search-fun): Move default part to the new function
114 `isearch-search-fun-default'.
115 (isearch-search-fun-function): Set the default value to
116 `isearch-search-fun-default'. (Bug#11381)
117
118 * comint.el (comint-history-isearch-end):
119 Use `isearch-search-fun-default'.
120 (comint-history-isearch-search): Use `isearch-search-fun-default'
121 and remove spacial case for `isearch-word'.
122 (comint-history-isearch-wrap): Remove spacial case for
123 `isearch-word'.
124
125 * hexl.el (hexl-isearch-search-function):
126 Use `isearch-search-fun-default'.
127
128 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
129 Use `word-search-regexp' for `isearch-word'.
130
131 * misearch.el (multi-isearch-search-fun):
132 Use `isearch-search-fun-default'.
133
134 * simple.el (minibuffer-history-isearch-search):
135 Use `isearch-search-fun-default' and remove spacial case for
136 `isearch-word'.
137 (minibuffer-history-isearch-wrap): Remove spacial case for
138 `isearch-word'.
139
140 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
141 Remove spacial case for `isearch-word'.
142 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
143
85c8c5b6
AM
1442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
145
146 Decrease XEmacs incompatibilities.
147 * textmodes/flyspell.el (flyspell-check-pre-word-p):
148 Use `string-match'.
149 (flyspell-delete-region-overlays): Use alternative definition for
150 XEmacs.
151 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
152 (flyspell-word): Use `process-kill-without-query' if XEmacs.
153 (flyspell-mode-on): Use `interactive-p' if XEmacs.
154 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
155 `define-obsolete-face-alias' under XEmacs, but old method.
156
157 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
158 `with-no-warnings' definition or Emacs alias.
159 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
160 (ispell-word): Do not use `region-p' if XEmacs.
161
8cab9efc
AM
1622012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
163
164 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
165 Check for `ispell-dictionary-base-alist' instead of full
166 `ispell-dictionary-alist'.
167 (ispell-init-process): Show spellchecker when starting new Ispell
168 process.
169
fda91268
RZ
1702012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
173 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
174
694ea8e3
JB
1752012-05-27 Juanma Barranquero <lekktu@gmail.com>
176
177 * version.el (motif-version-string, gtk-version-string)
178 (ns-version-string): Declare.
179
e4d4f539
JL
1802012-05-27 Juri Linkov <juri@jurta.org>
181
182 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
183 after the `eval-defun-1' specialcaseing
184 like in `edebug-eval-defun' (bug#10181).
185
186 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
187 like in `eval-defun-1'.
188
33017faf 1892012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 190
fda91268
RZ
191 * mail/sendmail.el (mail-yank-region):
192 Recognize rmail-yank-current-message in addition to insert-buffer.
193 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
194 a *mail* buffer created through rmail-start-mail with sendmail as
195 mail-user-agent.
196
33017faf
GM
1972012-05-27 Chong Yidong <cyd@gnu.org>
198
199 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
200 Default to 256 (Bug#11267).
201
202 * help.el (describe-mode): Doc fix.
203
04188bb9
GM
2042012-05-26 Glenn Morris <rgm@gnu.org>
205
38264cc9
GM
206 * w32-fns.el (w32-init-info): Remove.
207 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
208
eb7afdad
GM
209 * info.el (info-initialize): For self-contained NS builds, put the
210 included info/ directory at the front. (Bug#2791)
211
04188bb9
GM
212 * paths.el (Info-default-directory-list): Make it a defcustom,
213 mainly so that we can use custom-initialize-delay.
214
a179e3f7
SM
2152012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
216
43416392
SM
217 * subr.el (buffer-has-markers-at): Mark obsolete.
218
a179e3f7 219 * subr.el (lambda): Use declare.
43416392 220
a179e3f7
SM
221 * emacs-lisp/lisp-mode.el (lambda):
222 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
223
34a008d9
AH
2242012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
225
226 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
227
0a3b289f
GM
2282012-05-26 Glenn Morris <rgm@gnu.org>
229
230 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
231
758c81e8
GM
2322012-05-25 Glenn Morris <rgm@gnu.org>
233
f9f334f0
GM
234 * paths.el: Remove no-byte-compile.
235 * loadup.el: No need to load paths.el uncompiled.
236
87eb79c2
GM
237 * image.el (imagemagick-types-inhibit): Doc fix.
238
758c81e8
GM
239 * version.el: Remove no-byte-compile and associated formatting.
240 * loadup.el: No need to load version.el uncompiled. AFAICS, this
241 is ancient code from when there was an "inc-vers.el".
242
e7e85dc0
SM
2432012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * progmodes/gdb-mi.el: Minor style changes.
246 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
247 Turn into minor modes.
248 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
249 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
250 (gdb-shell): Remove unneeded let-binding.
251 (gdb-get-many-fields): Eliminate O(n²) behavior.
252
f31237a4
EZ
2532012-05-25 Eli Zaretskii <eliz@gnu.org>
254
255 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
256 platforms that don't link in fontset.c.
257
bc1b21bb
JL
2582012-05-25 Juri Linkov <juri@jurta.org>
259
260 Use the same diff color scheme as in modern VCSes (bug#10181).
261
262 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
263 to avoid confusion with `diff-added' that now uses green colors.
264 (diff-removed): Use shades of red.
265 (diff-added): Use shades of green.
266 (diff-changed): Leave just the yellow color.
267 (diff-use-changed-face): New variable.
268 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
269 how to highlight context diff changes.
270 (diff-refine-change): Use shades of yellow.
271 (diff-refine-removed): New face that uses shades of red.
272 (diff-refine-added): New face that uses shades of green.
273 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
274 `diff-refine-removed' in the call to `smerge-refine-subst'
275 depending on the value of `diff-use-changed-face'.
276
277 * vc/smerge-mode.el (smerge-mine): Use shades of red.
278 (smerge-other): Use shades of green.
279 (smerge-base): Use shades of yellow.
280 (smerge-refined-change): Empty face.
281 (smerge-refined-removed): New face that uses shades of red.
282 (smerge-refined-added): New face that uses shades of green.
283 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
284 args `props-r' and `props-a', and use them. Doc fix.
285 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
286 on its value use different faces `smerge-refined-change',
287 `smerge-refined-removed', `smerge-refined-added' in the call to
288 `smerge-refine-subst'.
289
290 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
291 Add face condition `min-colors 88' with shades of red.
292 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
293 `min-colors 88' with shades of green.
294 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
295 `min-colors 88' with shades of yellow.
296
6df9112c
GM
2972012-05-24 Glenn Morris <rgm@gnu.org>
298
ead5edc0
GM
299 * paths.el (prune-directory-list, remote-shell-program): Move to...
300 * files.el (prune-directory-list, remote-shell-program): ...here.
301 For the latter, delay initialization, prefer ssh, just search PATH.
302
f18b81e6
GM
303 * paths.el (term-file-prefix): Move to faces.el (the only user).
304 * faces.el (term-file-prefix): Move here, make it a defcustom.
305
ee2f89a6
GM
306 * paths.el (news-directory, news-path, news-inews-program):
307 Move to gnus/nnspool.el.
61a583ca 308
f8815e4c
GM
309 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
310
c8f3b42c
GM
311 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
312 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
313 Make the latter a defcustom, with a delayed initialization.
314
6df9112c
GM
315 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
316 These were deleted from Gnus itself late 2010.
317
5dadff36
JB
3182012-05-22 Juanma Barranquero <lekktu@gmail.com>
319
9e1701c6
JB
320 * progmodes/which-func.el (which-func-ff-hook):
321 Check against user-error, not error.
322
bd7239f5 323 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
324 cl-specs.el, which no longer exists.
325
3290526d
GM
3262012-05-22 Glenn Morris <rgm@gnu.org>
327
328 * info.el (info-emacs-bug): New command.
329 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
330 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
331
ff0c3cfb
GM
3322012-05-21 Glenn Morris <rgm@gnu.org>
333
334 * makefile.w32-in (update-subdirs-SH):
335 * Makefile.in (update-subdirs): Update for moved update-subdirs.
336
5814f126
SM
3372012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
338
a52c0aa0
SM
339 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
340
5814f126
SM
341 * progmodes/compile.el (compilation-error-regexp-alist-alist):
342 Simplify Maven regexp, and make sure the file can't start with a space
343 (bug#11517).
344
b847032c
GM
3452012-05-21 Glenn Morris <rgm@gnu.org>
346
347 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
348 Scrap superfluous subshells.
349
3858bfe7
SM
3502012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
353 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
354
d14b0029
JB
3552012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
356
357 * calc/calc.el (calc-ensure-consistent-units): New variable.
358
a52c0aa0
SM
359 * calc/calc-units.el (math-consistent-units-p)
360 (math-check-unit-consistency): New functions.
361 (calc-quick-units, calc-convert-units):
362 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
363 is non-nil.
d14b0029
JB
364 (calc-extract-units): Fix typo.
365
60c4db3a
SM
3662012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
367
77f3b62e
SM
368 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
369
60c4db3a
SM
370 * textmodes/flyspell.el: Commenting style, plus code simplifications.
371 (flyspell-default-deplacement-commands): Don't spell check after
372 repeated window/frame switches (e.g. triggered by mouse-movement).
373 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
374 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
375 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
376 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
377 Remove unused vars.
378 (flyspell-get-casechars, flyspell-get-not-casechars):
379 Simplify; Don't bother removing a ] just to add it back.
380 * textmodes/ispell.el (ispell-program-name): Use executable-find.
381
b1a10716
RS
3822012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
383
384 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
385 New functions.
bd7239f5 386 (math-function-table): Add support for more C functions.
b1a10716 387
3f1b25b5
AM
3882012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
389
390 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
391 (flyspell-debug-signal-word-checked): Protect delay handling for
392 otherchars against empty otherchars.
393
b581bb5c
SM
3942012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
397 their respective macro declarations.
398 * skeleton.el (define-skeleton):
399 * progmodes/compile.el (define-compilation-mode):
400 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
401 (define-ibuffer-filter):
402 * emacs-lisp/generic.el (define-generic-mode):
403 * emacs-lisp/easy-mmode.el (define-minor-mode)
404 (define-globalized-minor-mode):
405 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
406 * emacs-lisp/byte-run.el (defsubst):
407 * custom.el (deftheme): Add doc-string metadata.
408
70b8ef8f
SM
4092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
412
b1198e17
SM
4132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
414
9abdc45d
SM
415 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
416
b1198e17
SM
417 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
418 * emacs-lisp/cl-macs.el: Idem.
419 * emacs-lisp/cl-specs.el: Remove.
420
4735906a
SM
4212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 Minor renaming of internal CL functions and variables.
424 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
425 (cl--position): Rename from cl-position.
426 (cl--delete-duplicates): Rename from cl-delete-duplicates.
427 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
428 (cl--random-state): Rename from *random-state*.
429
ac348012
SM
4302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
433 parens around the arg list (bug#11499).
434
a0a79cde
JL
4352012-05-17 Juri Linkov <juri@jurta.org>
436
437 * isearch.el (word-search-regexp, word-search-backward)
438 (word-search-forward, word-search-backward-lax)
439 (word-search-forward-lax): Move functions from search.c
440 (bug#10145, bug#11381).
441
65034a51
AM
4422012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
443
444 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
445 (flyspell-debug-signal-word-checked): Delay for otherchars as for
446 normal word components.
447
1a72a195
SM
4482012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * minibuffer.el (completion--sifn-requote): Fix last change.
451 (minibuffer-local-must-match-filename-map):
452 Move define-obsolete-variable-alias before its var.
453
fdb058c2
SM
4542012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
455
c41045e6
SM
456 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
457
036dfb8b
SM
458 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
459 behavior.
460 (completion--string-equal-p): New function.
461 (completion--twq-all): Use it to get better assertion failure data.
462
2473256d
SM
463 Only handle ".." and '..' quoting in shell-mode (bug#11466).
464 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
465 (shell--requote-argument): New functions.
466 (shell-completion-vars): Use them.
467 (shell--parse-pcomplete-arguments): Rename from
468 shell-parse-pcomplete-arguments.
469 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
470 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
471 Obey comint-file-name-quote-list.
472
fdb058c2
SM
473 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
474 (smie-indent-keyword): Use it.
475
51fa99f1
SM
4762012-05-14 Stefan Merten <smerten@oekonux.de>
477
478 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
479
e18afed7 4802012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
481
482 * net/rlogin.el (rlogin-mode-map): Fix last change.
483
e18afed7 4842012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
485
486 * mail/smtpmail.el (smtpmail-send-command): Send the command and
487 the following \r\n using a single `process-send-string', since the
488 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 489 with two `process-send-string's (Bug#11444).
8633b1f4 490
e18afed7 4912012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 492
fdb058c2
SM
493 * shell.el (shell-parse-pcomplete-arguments):
494 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 495
2d21d7f6
WJ
4962012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
497
e18afed7 498 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
499 (image-transform-scale, image-transform-right-angle-fudge): New vars.
500 (image-transform-width, image-transform-fit-width): New functions.
501 (image-transform-properties): Use them.
502 (image-transform-check-size): New function.
503 (image-toggle-display-image): Use it (for testing).
504 (image-transform-set-rotation): Reduce angle mod 360.
505 Delete obsolete comment.
506
7102e6d0
WJ
5072012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
508
509 * image-mode.el: Fix scaling (bug#11399).
510 (image-transform-resize): Doc fix.
511 (image-transform-properties): Default scale is 1 and height should
512 be an integer.
513
06bc5e6e
SM
5142012-05-13 Johan Bockgård <bojohan@gnu.org>
515
516 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
517 than hard-coding `car', to fix misbehavior when moving forward.
518
0ae03b6a
CY
5192012-05-13 Chong Yidong <cyd@gnu.org>
520
521 * emacs-lisp/tabulated-list.el (tabulated-list-format)
522 (tabulated-list-entries, tabulated-list-padding)
523 (tabulated-list-sort-key): Make permanent-local.
524
525 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
526 (electric-buffer-list): Put electric buffer menu
527 command descriptions in this docstring, instead of the docstring
528 of electric-buffer-menu-mode. Code cleanups.
529 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
530 Electric-buffer-menu-mode.
531 (electric-buffer-update-highlight): Minor code cleanup.
532
205a7391
MA
5332012-05-13 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
536 (Bug#11447)
537
e5bd0a28
SM
5382012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 Move define-obsolete-variable-alias before the var's definition.
541 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
542 * tooltip.el (tooltip-hook):
543 * textmodes/reftex-toc.el (reftex-toc-map):
544 * textmodes/reftex-sel.el (reftex-select-label-map)
545 (reftex-select-bib-map):
546 * textmodes/reftex-index.el (reftex-index-map)
547 (reftex-index-phrases-map):
548 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
549 * progmodes/meta-mode.el (meta-mode-map):
550 * novice.el (disabled-command-hook):
551 * loadhist.el (unload-hook-features-list):
552 * frame.el (blink-cursor):
553 * files.el (find-file-not-found-hooks, write-file-hooks)
554 (write-contents-hooks):
555 * emulation/tpu-edt.el (GOLD-map):
556 * emacs-lock.el (emacs-lock-from-exiting):
557 * emacs-lisp/generic.el (generic-font-lock-defaults):
558 * emacs-lisp/chart.el (chart-map):
559 * dos-fns.el (register-name-alist):
560 * dired-x.el (dired-omit-files-p):
561 * desktop.el (desktop-enable):
562 * cus-edit.el (custom-mode-hook):
563 * buff-menu.el (buffer-menu-mode-hook):
564 * bookmark.el (bookmark-read-annotation-text-func)
565 (bookmark-exit-hooks):
566 * allout.el (allout-mode-deactivate-hook)
567 (allout-exposure-change-hook, allout-structure-added-hook)
568 (allout-structure-deleted-hook, allout-structure-shifted-hook):
569 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
570 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
571 comes before the corresponding variable's definition.
572
ac59c2f6
CY
5732012-05-12 Chong Yidong <cyd@gnu.org>
574
575 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
576 (Buffer-menu-mouse-select): Restore function (Bug#11459).
577 (Buffer-menu-mode-map): Bind it.
578 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 579
dee6c9a3
SM
5802012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
581
2171cea5
SM
582 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
583 (prolog-upper-case-string, prolog-lower-case-string)
584 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
585 (prolog-use-smie, prolog-smie-grammar): New vars.
586 (prolog-smie-forward-token, prolog-smie-backward-token)
587 (prolog-smie-rules): New funs.
588 (prolog-comment-indent): Remove.
589 (prolog-mode-variables): Use default comment indentation instead.
590 Setup SMIE.
591 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
592 (prolog-mode): Don't call them any more.
593 (prolog-electric-colon, prolog-electric-dash)
594 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
595
aa0382bd
SM
596 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
597
dbacb4bd
SM
598 * minibuffer.el (completion--twq-all): Again, allow case differences.
599
13bdd94c
SM
600 * term.el: Move keymap initialization code to be more idiomatic.
601 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
602 (term-terminal-menu): Move initialization into declaration.
603 (term-escape-char): Let the user set it in her .emacs.
604
ff46c759
SM
605 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
606 Provide SMIE-based indentation (not enabled by default yet).
607 (sh-mode-map): Don't bind electric keys.
608 Use electric-pair-mode instead of skeleton-pair.
609 (sh-assignment-regexp): Fit within 80 columns.
610 (sh-indent-supported): Specify actual shell name instead of boolean.
611 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
612 (sh-maybe-here-document): Use it. Make obsolete.
613 (sh-electric-here-document-mode) New minor mode.
614 (sh-mode): Use it. Don't set sh-indent-supported-here here.
615 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
616 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
617 (sh-smie-rc-grammar, sh-use-smie): New vars.
618 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
619 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
620 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
621 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
622 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
623 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
624 (sh-set-shell): Use smie-setup if requested.
625
dee6c9a3
SM
626 * term.el (term-set-escape-char): Properly set term-escape-char.
627 See http://stackoverflow.com/questions/10524656.
628
9f9aa044
CY
6292012-05-10 Chong Yidong <cyd@gnu.org>
630
631 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
632 Use url-generic-parse-url, and handle host names and Windows
633 filenames properly.
634 (ffap-url-unwrap-remote): Use url-generic-parse-url.
635 (ffap-url-unwrap-remote): Accept list values, specifying a list of
636 URL schemes to work on.
637 (ffap--toggle-read-only): New function.
638 (ffap-read-only, ffap-read-only-other-window)
639 (ffap-read-only-other-frame): Use it.
640 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
641 necessary for ffap-url-unwrap-remote.
642
836d29b3
DA
6432012-05-10 Dave Abrahams <dave@boostpro.com>
644
645 * cus-start.el (create-lockfiles): Add it.
646
00fd78ed
CY
6472012-05-09 Chong Yidong <cyd@gnu.org>
648
649 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
650 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
651
666b903b 6522012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
653
654 * shell.el (shell-completion-vars): Fix last change (bug#11348).
655
666b903b 6562012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
657
658 * ansi-color.el (ansi-color-process-output): Check for validity of
659 comint-last-output-start before using it. This avoids a bad
660 interaction with gdb-mi's input/output buffer.
661
666b903b 6622012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
663
664 * files.el (dir-locals-read-from-file):
665 Mention dir-locals in any error message.
666
666b903b 6672012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
668
669 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
670 package (Bug#11410).
671
f677562b
CY
672 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
673 variables into description.
674
666b903b 6752012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
676
677 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
678 shell-delimiter-argument-list (bug#11348).
679 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
680
b499d8d0
JB
6812012-05-09 Juanma Barranquero <lekktu@gmail.com>
682
8f6b6da8
JB
683 * textmodes/rst.el: Silence byte-compiler warnings.
684 (rst-re-alist, rst-reset-section-caches): Move around.
685 (rst-re): Use `characterp', not `char-valid-p'.
686 (font-lock-beg, font-lock-end): Declare.
687
4824146a
JB
688 * progmodes/idlw-shell.el (specs): Remove reference to deleted
689 variable `idlwave-shell-activate-alt-keybindings' and simplify.
690
b499d8d0
JB
691 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
692
ad89bb83
GM
6932012-05-08 Glenn Morris <rgm@gnu.org>
694
695 * files.el (auto-mode-alist): Treat ".make" like ".mk".
696
8bba5a75
SM
6972012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
698
49ed9c8e
SM
699 * vc/log-edit.el: Add GNU coding standards highlighting.
700 (log-edit-font-lock-gnu-style)
701 (log-edit-font-lock-gnu-keywords): New vars.
702 (log-edit-font-lock-keywords): New fun.
703 (log-edit-mode): Don't fold case in font-lock.
704 (log-edit-font-lock-keywords): Do not assume case-folding.
705
07d00b56
SM
706 * imenu.el: Misc cleanup. Make docstrings out of comments.
707 Use lexical-binding.
708 (imenu--index-alist, imenu--last-menubar-index-alist)
709 (imenu-menubar-modified-tick): Use defvar-local.
710 (imenu--split-menu): Remove unused var.
711 (imenu--cleanup-seen): Declare as global.
712 (imenu--cleanup): Use dolist.
713
8bba5a75
SM
714 * subr.el (defvar-local): Add debug spec and doc-string position.
715
5075bdb5
GM
7162012-05-08 Glenn Morris <rgm@gnu.org>
717
c052c904
GM
718 * lisp/language/burmese.el, language/cham.el, language/czech.el:
719 * language/english.el, language/georgian.el, language/greek.el:
720 * language/japanese.el, language/khmer.el, language/korean.el:
721 * language/lao.el, language/misc-lang.el, language/romanian.el:
722 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
723 * language/thai.el, language/utf-8-lang.el:
724 Remove no-byte-compile setting.
725
5075bdb5
GM
726 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
727
06f679a7
AH
7282012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
729
730 * progmodes/make-mode.el (makefile-browse):
731 Remove unnecessary interactive. (Bug#11324)
732
03794570
GM
7332012-05-07 Glenn Morris <rgm@gnu.org>
734
af8630f4
GM
735 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
736
03794570
GM
737 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
738
f0809a9d
SM
7392012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
740
28be5ce7
SM
741 * loadup.el: Preload newcomment.el.
742 * newcomment.el: Move autoload-only code to toplevel.
743
f0809a9d
SM
744 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
745 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
746 Handle new :right-align column property.
747 (tabulated-list-print-col): Idem, plus use `display' text-property to
748 try and preserve alignment for variable pitch fonts.
749
1241b724
CY
7502012-05-07 Chong Yidong <cyd@gnu.org>
751
752 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
753 (tabulated-list-use-header-line): New var.
754 (tabulated-list-init-header): Use it.
755 (tabulated-list-print-fake-header): New function.
756 (tabulated-list-print): Use it.
757 (tabulated-list-sort-button-map): Add non-header-line commands.
758 (tabulated-list-init-header): Add column name property to basic
759 labels as well.
760 (tabulated-list-col-sort): Handle non-header-line button case.
761 (tabulated-list--sort-by-column-name): Fix a corner case.
762
f0809a9d
SM
763 * buff-menu.el (list-buffers--refresh):
764 Handle Buffer-menu-use-header-line.
1241b724 765
e5f9458f
CY
7662012-05-06 Chong Yidong <cyd@gnu.org>
767
768 * buff-menu.el: Convert to Tabulated List mode.
769 (Buffer-menu-buffer+size-width): Make obsolete.
770 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
771 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
772 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
773 documentation into docstring of buffer-menu.
774 (Buffer-menu-toggle-files-only): Add an informative message.
775 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
776 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
777 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
778 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
779 (Buffer-menu-execute, Buffer-menu-select)
780 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
781 (Buffer-menu-bury): Use Tabulated List machinery.
782 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
783 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 784 Delete.
e5f9458f
CY
785 (list-buffers--refresh): New function.
786 (list-buffers-noselect): Use it.
787 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
788 (Buffer-menu--pretty-file-name): New helper functions.
789
790 * loadup.el: Preload tabulated-list.
791
792 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
793 tabulated-list-sort-column.
794 (tabulated-list-init-header): Add the initial aligning space even
795 if tabulated-list-padding is zero.
796
e129292c
CS
7972012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
798
799 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
800 whose cdr is not a cons cell correctly (bug#11038).
801
6632d361
CY
8022012-05-06 Chong Yidong <cyd@gnu.org>
803
e129292c
CS
804 * emacs-lisp/tabulated-list.el (tabulated-list-format):
805 Accept additional plist in column descriptors.
6632d361
CY
806 (tabulated-list-init-header): Obey it.
807 (tabulated-list-get-entry): New function.
808 (tabulated-list-put-tag): Use it. Use string-width instead of
809 length.
810 (tabulated-list--column-number): New function.
811 (tabulated-list-print): Use it.
e129292c
CS
812 (tabulated-list-print-col): New function.
813 Set `tabulated-list-column-name' property on each column's text.
6632d361 814 (tabulated-list-print-entry): Use it.
e129292c
CS
815 (tabulated-list-delete-entry, tabulated-list-set-col):
816 New functions.
6632d361
CY
817 (tabulated-list-sort-column): New command (Bug#11337).
818
3cc99f68
CY
819 * buff-menu.el (list-buffers): Move C-x C-b binding from
820 buff-menu.el to bindings.el.
821
822 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
823 :advertised-binding feature.
824
52b61776
TN
8252012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
826
827 * progmodes/compile.el (compilation-internal-error-properties):
828 Calculate start position correctly when end-col is set but
829 end-line is not (Bug#11382).
830
ebfe2597
WJ
8312012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
832
833 * man.el (Man-unindent): Use text-property-default-nonsticky to
834 prevent untabify from inheriting face properties (Bug#11408).
835
6d3f7c2f
SM
8362012-05-05 Stefan Merten <smerten@oekonux.de>
837
838 * textmodes/rst.el: Major merge with upstream development up to
839 Docutils SVN r7399 / rst.el V1.2.1.
840
841 Clarify maintainership and authors.
842
843 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
844 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
845 (rst-official-version, rst-official-cvs-rev, rst-version)
846 (rst-package-emacs-version-alist): New functions and variables
847 for version information.
848
849 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
850 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
851 (rst-mode-syntax-table, rst-mode): New and corrected functions
852 and variables representing reStructuredText features.
853
854 (rst-re): New function for reStructuredText regexes. Use in
855 many places.
856
857 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
858 (rst-mode-map): Rebind keys.
859
860 (rst-mode-lazy, rst-font-lock-keywords)
861 (rst-font-lock-extend-region)
862 (rst-font-lock-extend-region-internal)
863 (rst-font-lock-extend-region-extend)
864 (rst-font-lock-find-unindented-line-limit)
865 (rst-font-lock-find-unindented-line-match)
866 (rst-adornment-level, rst-font-lock-adornment-level)
867 (rst-font-lock-adornment-match)
868 (rst-font-lock-handle-adornment-pre-match-form)
869 (rst-font-lock-handle-adornment-matcher): Major revision of
870 font-locking. Integrate with other code. Use `jit-lock-mode'.
871
872 (rst-preferred-adornments, rst-adjust-hook)
873 (rst-new-adornment-down, rst-preferred-bullets)
874 (rst-preferred-bullets, rst-indent, rst-indent-width)
875 (rst-indent-field, rst-indent-literal-normal)
876 (rst-indent-literal-minimized, rst-indent-comment): Change,
877 extend and improve customization.
878
879 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
880 (rst-normalize-cursor-position, rst-get-decoration)
881 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
882 (rst-rstrip, rst-toc-insert-find-delete-contents)
883 (rst-shift-fill-region, rst-compute-bullet-tabs)
884 (rst-debug-print-tabs, rst-debug-mark-found)
885 (rst-shift-region-guts, rst-shift-region-right)
886 (rst-shift-region-left, rst-use-char-classes)
887 (rst-font-lock-keywords-function)
888 (rst-font-lock-indentation-point)
889 (rst-font-lock-find-unindented-line-begin)
890 (rst-font-lock-find-unindented-line-end)
891 (rst-font-lock-find-unindented-line)
892 (rst-font-lock-adornment-point, rst-font-lock-level)
893 (rst-adornment-level-alist): Remove functions and variables.
894
895 (rst-compare-adornments, rst-get-adornment-match)
896 (rst-suggest-new-adornment, rst-get-adornments-around)
897 (rst-adornment-complete-p, rst-get-next-adornment)
898 (rst-adjust-adornment, rst-display-adornments-hierarchy)
899 (rst-straighten-adornments): Standardize function names to
900 use "adornment" instead of "decoration". Correct callers.
901 Similar standardizing in many places.
902
903 (rst-update-section, rst-adjust, rst-promote-region)
904 (rst-enumerate-region, rst-bullet-list-region)
905 (rst-repeat-last-character): Correct use of `interactive'.
906
907 (rst-classify-adornment, rst-find-all-adornments)
908 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
909 (rst-find-leftmost-column, rst-repeat-last-character):
910 Refactor functions.
911
912 (rst-find-title-line, rst-reset-section-caches)
913 (rst-get-adornments-around, rst-adjust-adornment-work)
914 (rst-arabic-to-roman, rst-roman-to-arabic)
915 (rst-insert-list-pos, rst-insert-list-new-item)
916 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
917 New functions.
918
919 (rst-all-sections, rst-section-hierarchy)
920 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
921 New variables.
922
923 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
924 configuration instead of only buffer. Change where necessary.
925
926 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
927 (rst-shift-region, rst-adaptive-fill): New functions for
928 indentation and filling.
929
930 (rst-comment-line-break, rst-comment-indent)
931 (rst-comment-insert-comment, rst-comment-region)
932 (rst-uncomment-region): New functions for handling comments.
933
934 (rst-compile): Quote shell arguments.
935
936 (rst-compile-pdf-preview, rst-compile-slides-preview):
937 Delete temporary files after use.
938
a43f98b3
GM
9392012-05-05 Glenn Morris <rgm@gnu.org>
940
48176e8b
GM
941 * calendar/cal-html.el: Optionally include holidays in the output.
942 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
943 (cal-html-holidays): New option.
944 (cal-html-css-default): Add holiday entry.
945 (holiday-in-range): Autoload it.
946 (cal-html-htmlify-entry): Add optional class argument.
947 (cal-html-htmlify-list): Add optional holidays argument.
948 (cal-html-insert-agenda-days): Include holidays in the output.
949 (cal-html-one-month): Maybe include holidays.
950
a43f98b3
GM
951 * calendar/holidays.el (holiday-in-range):
952 Move here from cal-tex-list-holidays.
953 * calendar/cal-tex.el (cal-tex-list-holidays):
954 Make it an obsolete alias for holiday-in-range. Update all callers.
955
fef9d149 9562012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
957
958 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
959 Nextstep.
960
248da2f4
RW
9612012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
962
963 * files.el (file-auto-mode-skip): New var.
964 (set-auto-mode-1): Use it.
965
f95e9344
SM
9662012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
967
df96ab1e
SM
968 * repeat.el: Use lexical-binding.
969 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
970 (repeat-undo-count): Remove.
971 (repeat):
972 * progmodes/octave-mod.el (octave-abbrev-start):
973 * progmodes/f90.el (f90-abbrev-start):
974 * face-remap.el (text-scale-adjust):
975 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
976
5342bb06
SM
977 * emacs-lisp/pcase.el (pcase--let*): New function.
978 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
979 a bit more.
980 (pcase--split-pred): Be more clever about ruling out overlap between
981 a predicate and some constant pattern.
982 (pcase--q1): Use `null' instead of (eq foo nil).
983
f95e9344
SM
984 * subr.el (setq-local, defvar-local): New macros.
985 (kbd): Redefine as an alias.
986 (with-selected-window): Leave unrelated frames alone.
987 (set-temporary-overlay-map): New function.
988
71873e2b
SM
9892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * subr.el (user-error): New function.
992 * window.el (switch-to-buffer):
993 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
994 (smerge-match-conflict):
995 * simple.el (previous-matching-history-element)
996 (next-matching-history-element, goto-history-element, undo-more)
997 (undo-start):
998 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
999 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1000 (next-file, tags-loop-scan, list-tags, complete-tag):
1001 * progmodes/compile.el (compilation-loop):
1002 * mouse.el (mouse-minibuffer-check):
1003 * man.el (Man-bgproc-sentinel, Man-goto-page):
1004 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1005 (Info-history-forward, Info-follow-reference, Info-menu)
1006 (Info-extract-menu-item, Info-extract-menu-counting)
1007 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1008 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1009 (Info-next-reference, Info-prev-reference, Info-index)
1010 (Info-index-next, Info-follow-nearest-node)
1011 (Info-copy-current-node-name):
1012 * imenu.el (imenu--make-index-alist)
1013 (imenu-default-create-index-function, imenu-add-to-menubar):
1014 * files.el (basic-save-buffer, recover-file):
1015 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1016 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1017 (checkdoc-message-text, checkdoc-defun):
1018 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1019 * cus-edit.el (customize-changed-options, customize-rogue)
1020 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1021 (custom-variable-mark-to-reset-standard)
1022 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1023 (custom-file):
1024 * completion.el (check-completion-length):
1025 * comint.el (comint-search-arg)
1026 (comint-previous-matching-input-string-position)
1027 (comint-previous-matching-input)
1028 (comint-replace-by-expanded-history-before-point, comint-send-input)
1029 (comint-copy-old-input, comint-backward-matching-input)
1030 (comint-goto-process-mark, comint-set-process-mark):
1031 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1032 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1033
8a61ee22
SM
10342012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1035
66408d1e
SM
1036 * dabbrev.el (dabbrev--ignore-case-p): New function.
1037 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1038 Use it.
1039
8a61ee22
SM
1040 * files.el (automount-dir-prefix): Mark as obsolete.
1041
3c74813a
GM
10422012-05-04 Glenn Morris <rgm@gnu.org>
1043
1044 * patcomp.el, play/bruce.el: Move to obsolete/.
1045
0bfcf5c5
PE
10462012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1047
1048 Fix minor Y10k bugs.
1049 * arc-mode.el (archive-unixdate):
1050 * autoinsert.el (auto-insert-alist):
1051 * calc/calc-forms.el (math-this-year):
1052 * emacs-lisp/copyright.el (copyright-current-year)
1053 (copyright-update-year, copyright):
1054 * tar-mode.el (tar-clip-time-string):
1055 * time.el (display-time-update):
1056 Don't assume years have 4 digits.
1057
78f3273a
CY
10582012-05-04 Chong Yidong <cyd@gnu.org>
1059
1060 * dos-w32.el (file-name-buffer-file-type-alist)
1061 (direct-print-region-use-command-dot-com):
1062 * ffap.el (ffap-menu-regexp):
1063 * find-file.el (ff-special-constructs):
1064 * follow.el (follow-debug):
1065 * forms.el (forms--debug):
1066 * iswitchb.el (iswitchb-all-frames):
1067 * ido.el (ido-all-frames):
1068 * emacs-lisp/timer.el (timer-max-repeats):
1069 * mail/feedmail.el (feedmail-mail-send-hook)
1070 (feedmail-mail-send-hook-queued):
1071 * mail/footnote.el (footnote-signature-separator):
1072 * mail/mailabbrev.el (mail-alias-separator-string)
1073 (mail-abbrev-mode-regexp):
1074 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1075 * progmodes/idlwave.el (idlwave-libinfo-file)
1076 (idlwave-default-completion-case-is-down)
1077 (idlwave-library-routines): Convert defvars to defcustoms.
1078
1079 * mail/rmail.el (rmail-decode-mime-charset):
1080 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1081 (idlwave-shell-fix-inserted-breaks)
1082 (idlwave-shell-activate-alt-keybindings)
1083 (idlwave-shell-use-breakpoint-glyph):
1084 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1085
f7ae6719
SM
10862012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1089
47086495
WS
10902012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1091
1092 * progmodes/verilog-mode.el (font-lock-keywords):
1093 Fix mis-highligting auto. Reported by Craig Barner.
1094 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1095 defines from global name space. Reported by Dan Dever.
1096 (verilog-auto-reset, verilog-auto-reset-widths)
1097 (verilog-auto-tieoff): Support using unbased numbers for
1098 AUTORESET and AUTOTIEOFF.
1099 (verilog-submit-bug-report): Update variable list.
1100 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1101 parenthesis from not matching. Reported by Michael Rytting.
1102 (verilog-auto-template-lint): Fix hash error when linting modules
1103 with no used templates.
1104 (verilog-warn, verilog-warn-error)
1105 (verilog-warn-fatal): When non-interactive report multiple
1106 warnings before exiting. Suggested by Brad Dobbie.
1107 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1108 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1109 to report unused template errors. Reported by Brad Dobbie.
1110 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1111 nets, bug438. Reported by Vns Blore.
1112 (verilog-auto-inout-module, verilog-auto-reg)
1113 (verilog-read-decls, verilog-read-sub-decls-sig)
1114 (verilog-signals-edit-wire-reg, verilog-signals-with):
1115 Fix passing of Verilog data types in ANSI input/output ports
1116 such as "output logic" into the AUTOs. Special case "wire" and
1117 "reg" for backwards compatibility presuming Verilog 2001.
1118 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1119 (verilog-preprocess): Fix replication of preprocess output.
1120 Reported by Brad Dobbie.
1121 (verilog-auto-inst-interfaced-ports):
1122 Create verilog-auto-inst-interfaced-ports, bug429.
1123 Reported by Julian Gorfajn.
1124 (verilog-after-save-font-hook)
1125 (verilog-before-save-font-hook): New variable.
1126 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1127 (verilog-save-font-mods): Wrap disabling fontification, reported
1128 by David Rogoff.
1129 (verilog-do-indent, verilog-pretty-declarations-auto)
1130 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1131 Reported by Pierre-David Pfister.
1132 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1133 of class declarations, bug292. Reported by Kevin Heilman.
1134 (verilog-read-decls): Fix 'parameter type' not appearing in
1135 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1136 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1137 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1138 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1139 Reported by David Kravitz.
1140
11412012-05-03 Michael McNamara <mac@mail.brushroad.com>
1142
1143 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1144 assignment with tests in ifs and for loops.
1145 (verilog-extended-complete-re, verilog-complete-reg): Change so
1146 that DPI inport functions don't look like fuction declarations.
1147 (verilog-pretty-expr): Don't line up assignment
1148 operations to the test and increment in if and for loops
1149 (verilog-extended-complete-re, verilog-complete-reg): Change so
1150 that DPI inport functions don't look like fuction declarations
1151
2e51d4b5
KH
11522012-05-03 Kenichi Handa <handa@m17n.org>
1153
1154 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1155 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1156 (Bug#11282).
1157
2bd785a2
SM
11582012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * emacs-lisp/bytecomp.el
1161 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1162 since cconv.el might have introduced :fun-body, internal-make-closure,
1163 and friends for bytecomp to handle (bug#11391).
1164 * custom.el (defcustom): Avoid ((λ ..) ..).
1165
99d27583
SM
11662012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1169
55a71479
JB
11702012-05-02 Juanma Barranquero <lekktu@gmail.com>
1171
1172 * notifications.el (dbus-debug):
1173 * term/linux.el (gpm-mouse-enable):
1174 * term/screen.el (xterm-register-default-colors): Declare.
1175
7b97c764
CY
11762012-05-02 Chong Yidong <cyd@gnu.org>
1177
2bc356d7
CY
1178 * cus-start.el (gc-cons-percentage, exec-suffixes)
1179 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1180 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1181 (make-cursor-line-fully-visible, void-text-area-pointer)
1182 (font-list-limit): Add customization data.
1183
7b97c764
CY
1184 * allout.el (allout-exposure-change-functions)
1185 (allout-structure-added-functions)
1186 (allout-structure-deleted-functions)
1187 (allout-structure-shifted-functions): Rename abnormal hooks from
1188 *-hook, and convert to defcustoms.
5d3385a0
JB
1189 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1190 Convert to defcustoms.
7b97c764
CY
1191 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1192
1193 * allout-widgets.el: Hook callers changed.
1194
90207a15 11952012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1196
1197 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1198 the yanked message in preference to the default value of
1199 buffer-file-coding-system.
1200
90207a15 12012012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1202
5d3385a0
JB
1203 * window.el (display-buffer--action-function-custom-type):
1204 Fix entry.
d9558cad 1205
90207a15 12062012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1207
1208 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1209
d80ac57b
GM
12102012-05-01 Glenn Morris <rgm@gnu.org>
1211
976f7668
GM
1212 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1213
beb83b5a
GM
1214 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1215
d80ac57b
GM
1216 * cus-edit.el (custom-variable-documentation): Simplify with format.
1217
b593d6a9
AH
12182012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1219 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * simple.el (suggest-key-bindings, execute-extended-command):
1222 Move from keyboard.c.
1223
782fbf2a
CY
12242012-05-01 Chong Yidong <cyd@gnu.org>
1225
1226 * follow.el: Eliminate advice.
1227 (set-process-filter, process-filter, sit-for): Advice deleted.
1228 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1229 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1230 Vars deleted.
782fbf2a
CY
1231 (follow-auto): Use a :set function.
1232 (follow-mode): Rewritten. Don't advise process filters.
1233 (follow-switch-to-current-buffer-all, follow-scroll-up)
1234 (follow-scroll-down): Assume follow-mode is bound.
1235 (follow-comint-scroll-to-bottom)
1236 (follow-align-compilation-windows): New functions.
1237 (follow--window-sorter): New function.
1238 (follow-all-followers): Use it to explicitly sort windows by their
1239 positions; don't make assumptions about next-window order.
1240 (follow-windows-start-end, follow-delete-other-windows-and-split)
1241 (follow-calc-win-start): Doc fix.
1242 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1243 vertical-motion unnecessarily.
1244 (follow-adjust-window): New function.
1245 (follow-post-command-hook): Use it.
1246 (follow-call-set-process-filter, follow-call-process-filter)
1247 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1248 (follow-stop-intercept-process-output, follow-generic-filter):
1249 Functions deleted.
1250 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1251 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1252 New functions, replacing advice on scroll-bar-* commands.
87233a14 1253 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1254
1255 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1256 (comint-postoutput-scroll-to-bottom): Use it.
1257 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1258
290af740
GM
12592012-05-01 Glenn Morris <rgm@gnu.org>
1260
1261 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1262 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1263 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1264 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1265 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1266 Remove no-byte-compile setting.
1267
6eac8dc9
SM
12682012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1271 all-completions code to not return a number in the last cdr.
1272
9cc7819c
LL
12732012-04-30 Leo Liu <sdl.web@gmail.com>
1274
1275 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1276 read-only error.
1277
c93b886f
CY
12782012-04-29 Chong Yidong <cyd@gnu.org>
1279
1280 * follow.el (follow-calc-win-end): Rewrite to handle partial
1281 screen lines correctly (Bug#8390).
1282 (follow-avoid-tail-recenter): Minor cleanup.
1283
8b6c19f4
SM
12842012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 Avoid the obsolete `assoc' package.
1287 * speedbar.el (speedbar-refresh): Avoid adelete.
1288 (speedbar-file-lists): Simplify and avoid aput.
1289 * man.el (Man--sections, Man--refpages): New vars, replacing
1290 Man-sections-alist and Man-refpages-alist.
1291 (Man-build-section-alist, Man-build-references-alist):
1292 Use them; avoid aput.
1293 (Man--last-section, Man--last-refpage): New vars.
1294 (Man-follow-manual-reference): Use them.
1295 Use the `default' arg of completing-read.
1296 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1297
c5bb7569
CY
12982012-04-27 Chong Yidong <cyd@gnu.org>
1299
d1d2e2e8
CY
1300 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1301
15cd8efd
CY
1302 * startup.el (x-apply-session-resources): New function.
1303
1304 * term/ns-win.el (ns-initialize-window-system):
1305 * term/w32-win.el (w32-initialize-window-system):
1306 * term/x-win.el (x-initialize-window-system): Use it to properly
1307 set menu-bar-mode and other vars from X resources, even if the
1308 initial frame is not a window-system frame (Bug#2299).
1309
c5bb7569
CY
1310 * subr.el (read-key): Avoid running filter function when setting
1311 up temporary tool bar entries (Bug#9922).
1312
a8e7d6d7 13132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1314
1315 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1316 (Bug#11344)
1317
a8e7d6d7 13182012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1319
1320 * select.el (xselect--encode-string): New function, split from
1321 xselect-convert-to-string.
1322 (xselect-convert-to-string): Use it.
1323 (xselect-convert-to-filename, xselect-convert-to-os)
1324 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1325 returned strings are properly encoded (Bug#11315).
1326
a8e7d6d7 13272012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1328
1329 * simple.el (delete-active-region): Move to killing custom group.
1330
a8e7d6d7 13312012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1332
1333 * progmodes/which-func.el (which-func-current): Quote %
1334 characters for mode-line processing.
1335
578c1d4b 13362012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1337
1338 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1339 reaching eob (Bug#11286).
1340
a8e7d6d7 13412012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1342
1343 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1344 (gdb): Make it buffer-local and init to zero.
1345 (gdb-control-commands-regexp): New variable.
1346 (gdb-send): Don't wrap in "-interpreter-exec console" if
1347 gdb-control-level is positive. Increment gdb-control-level
1348 whenever the command matches gdb-control-commands-regexp, and
1349 decrement it each time the command is "end". (Bug#11279)
1350
a8e7d6d7 13512012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1352
1353 * window.el (adjust-window-trailing-edge, enlarge-window)
1354 (shrink-window, window-resize):
1355 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1356 windows (Bug#11276).
1357
b3608390
CY
13582012-04-27 Chong Yidong <cyd@gnu.org>
1359
1360 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1361 fix "missing prefix" warning. All callers changed.
b3608390 1362
797e6e88
SM
13632012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * emacs-lisp/assoc.el: Move to obsolete/.
1366
e95a67dc
SM
13672012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1368
657c21e4 1369 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1370
1371 * term/ns-win.el (ns-define-service):
1372 * progmodes/pascal.el (pascal-goto-defun):
1373 * progmodes/js.el (js--read-tab):
1374 * progmodes/etags.el (tags-lazy-completion-table):
1375 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1376 * emacs-lisp/ewoc.el (ewoc--wrap):
1377 * emacs-lisp/assoc.el (aput, adelete, amake):
1378 * doc-view.el (doc-view-convert-current-doc):
1379 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1380
cb3e7ae0
CY
13812012-04-26 Chong Yidong <cyd@gnu.org>
1382
dce04f7f
CY
1383 * image.el (image-type-from-buffer): Only return supported image
1384 type (Bug#9045).
1385
cb3e7ae0
CY
1386 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1387 value, for symmetry with diff-end-of-hunk.
1388 (diff-split-hunk, diff-find-source-location)
1389 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1390 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1391 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1392 compute the relevant hunk or file properly (Bug#6005).
1393 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1394
0d42eb3e
SM
13952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * vc/vc-mtn.el:
1398 * vc/vc-hg.el:
1399 * vc/vc-git.el:
1400 * vc/vc-dir.el:
1401 * vc/vc-cvs.el:
1402 * vc/vc-bzr.el:
1403 * vc/vc-arch.el:
1404 * vc/vc.el: Replace lexical-let by lexical-binding.
1405 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1406 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1407 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1408
f08ae1c9
CY
14092012-04-26 Chong Yidong <cyd@gnu.org>
1410
8b71081d
CY
1411 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1412 (diff-mode-shared-map): Bind it to / and [remap undo].
1413
f08ae1c9
CY
1414 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1415 (ediff-window-setup-function): Use it as the default, to set up
1416 windows based on whether the current frame is graphical (Bug#2138).
1417 (ediff-choose-window-setup-function-automatically): Make obsolete.
1418
1419 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1420
ef24141c
SM
14212012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1422
cc356a5d
SM
1423 * ffap.el: Remove old code for obsolete package.
1424 (ffap-complete-as-file-p): Remove.
1425
b4ff4f1f
SM
1426 Use completion-table-with-quoting for comint and pcomplete.
1427 * comint.el (comint--unquote&requote-argument)
1428 (comint--unquote-argument, comint--requote-argument): New functions.
1429 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1430 (comint-quote-filename): Use regexp-opt-charset.
1431 (comint--common-suffix, comint--common-quoted-suffix)
1432 (comint--table-subvert): Remove.
1433 (comint-unquote-function, comint-requote-function): New vars.
1434 (comint--complete-file-name-data): Use them with
1435 completion-table-with-quoting.
1436 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1437 * pcomplete.el (pcomplete-arg-quote-list)
1438 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1439 (pcomplete-unquote-argument-function): Default to non-nil.
1440 (pcomplete-unquote-argument): Simplify.
1441 (pcomplete--common-quoted-suffix): Remove.
1442 (pcomplete-requote-argument-function): New var.
1443 (pcomplete--common-suffix): New function.
1444 (pcomplete-completions-at-point): Use completion-table-with-quoting
1445 and completion-table-subvert.
1446
79c4eeb4
SM
1447 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1448 (minibuffer--double-dollars): Preserve properties.
1449 (completion--sifn-requote): New function.
1450 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1451
ef24141c
SM
1452 * minibuffer.el: Add support for completion of quoted/escaped data.
1453 (completion-table-with-quoting, completion-table-subvert): New funs.
1454 (completion--twq-try, completion--twq-all): New functions.
1455 (completion--nth-completion): New function.
1456 (completion-try-completion, completion-all-completions): Use it.
1457
784e7d6e
LL
14582012-04-25 Leo Liu <sdl.web@gmail.com>
1459
dd2ac746
SM
1460 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1461 Use compilation-message if available to find real filename.
784e7d6e 1462
07875ee7
CY
14632012-04-25 Chong Yidong <cyd@gnu.org>
1464
1465 * vc/diff-mode.el (diff-setup-whitespace): New function.
1466 (diff-mode): Use it.
1467
1468 * vc/diff.el (diff-sentinel):
1469 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1470 Whitespace mode variables based on diff style (Bug#8612).
1471
5055880d
LL
14722012-04-25 Leo Liu <sdl.web@gmail.com>
1473
daf75653
LL
1474 * progmodes/python.el (python-send-region): Add suffix .py to the
1475 temp file.
1476
5055880d
LL
1477 * files.el (auto-mode-alist): Use javascript-mode instead.
1478
db9b177b
AH
14792012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1480
ef24141c 1481 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1482
1483 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1484 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1485 references, see Bug#9.
ef24141c 1486 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1487 when receiving a fault reply.
ef24141c 1488 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1489
1490 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1491 (soap-inspect-simple-type): New function.
db9b177b 1492
ef24141c 1493 * soap-client.el (soap-simple-type): New struct.
db9b177b 1494 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1495 (soap-decode-basic-type, soap-encode-basic-type):
1496 support unsignedInt and double basic types.
db9b177b 1497 (soap-resolve-references-for-simple-type)
ef24141c
SM
1498 (soap-parse-simple-type, soap-encode-simple-type): New function.
1499 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1500
1501 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1502 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1503 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1504 the local name of "soapenc:Array".
1505 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1506 decoding integer, byte and anyURI xsd types.
1507
1fc6097b
CY
15082012-04-25 Chong Yidong <cyd@gnu.org>
1509
1510 * cus-edit.el (custom-buffer-create-internal): Update header text.
1511
afc6df87
EZ
15122012-04-25 Eli Zaretskii <eliz@gnu.org>
1513
1514 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1515 settings on 'system-type', not on 'window-system'. On MS-Windows,
1516 set interactive-mode on in GDB.
1517
dfbd787f
SM
15182012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1521 (ruby-syntax-propertize-regexp): Remove.
1522 (ruby-syntax-propertize-function): Split regexp into chunks.
1523 Match following code directly.
1524
85222d44
DG
15252012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1526
51a8ea2a
DG
1527 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1528 (ruby-syntax-propertize-regexp): New function.
1529 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1530 by a special keyword.
1531
85222d44
DG
1532 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1533 (ruby-syntax-general-delimiters-goto-beg)
1534 (ruby-syntax-propertize-general-delimiters): New functions.
1535 (ruby-syntax-propertize-function): Use them to handle GDL.
1536 (ruby-font-lock-keywords): Move old handling of GDL...
1537 (ruby-font-lock-syntactic-keywords): .. to here.
1538 (ruby-calculate-indent): Adjust indentation for GDL.
1539
b613912b
MA
15402012-04-24 Michael Albinus <michael.albinus@gmx.de>
1541
b5380639
MA
1542 * notifications.el (top): Remove unneeded declarations.
1543 (notifications-specification-version): Change to "1.2".
e43042fe 1544 (notifications-interface, notifications-notify-method)
b613912b
MA
1545 (notifications-close-notification-method): Fix docstring.
1546 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1547 (notifications-notify): Add :action-items, :resident and
1548 :transient hints. Change "image_data" to "image-data" and
1549 "image_path" to "image-path".
b613912b
MA
1550 (notifications-get-capabilities): New defun.
1551
257440aa
LL
15522012-04-24 Leo Liu <sdl.web@gmail.com>
1553
1554 * progmodes/python.el: Move hideshow setup to the end.
1555
b1bac16e
MR
15562012-04-24 Martin Rudalics <rudalics@gmx.at>
1557
1558 * window.el (handle-select-window): Clear echo area since this is
1559 no more done by read_char (Bug#11304).
1560
d81bd059
SM
15612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1564 and `/ M' to filter-derived-mode.
1565 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1566 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1567 (ibuffer-mark-by-mode): Use default rather than initial-input.
1568 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1569
c4cf6d91
IA
15702012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1571
1572 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1573 (ibuffer-filter-by-derived-mode): New filter.
1574 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1575
7511ded8
CY
15762012-04-23 Andreas Politz <politza@fh-trier.de>
1577
1578 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1579
775c916b
CY
15802012-04-23 Chong Yidong <cyd@gnu.org>
1581
1582 * cus-edit.el (customize-apropos, customize-apropos-options):
1583 Disable matching of non-option variables (Bug#11176).
1584 (customize-option, customize-option-other-window)
1585 (customize-changed-options): Doc fix.
1586 (customize-apropos-options, customize-apropos-faces)
1587 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1588
1589 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1590 Fix word list splitting (Bug#11132).
46c71e23
CY
1591 (apropos-symbol, apropos-keybinding, apropos-label)
1592 (apropos-property, apropos-function-button)
1593 (apropos-variable-button, apropos-misc-button): New faces.
1594 (apropos-symbol-face, apropos-keybinding-face)
1595 (apropos-label-face, apropos-property-face, apropos-match-face):
1596 Variables removed (Bug#8396).
1597 (apropos-library-button, apropos-format-plist, apropos-print)
1598 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1599
2df41f9c
MA
16002012-04-23 Michael Albinus <michael.albinus@gmx.de>
1601
1602 * net/xesam.el (xesam-mode-map): Use let-bound map in
1603 initialization. (Bug#11292)
1604
da00640a
AM
16052012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1606
1607 Preserve ispell session localwords when switching back to
1608 original buffer.
1609
1610 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1611 variable to hold buffer session localwords.
1612 (ispell-kill-ispell): add option 'clear to delete session
1613 localwords.
1614 (ispell-command-loop, ispell-change-dictionary)
1615 (ispell-buffer-local-words): Preserve session localwords when
1616 needed.
1617
1618 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1619 Preserve session localwords when needed.
1620
f621ccf5
AM
16212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1622
1623 * ispell.el (ispell-insert-word) Remove unneeded function using
1624 obsolete `translation-table-for-input'.
ef24141c
SM
1625 (ispell-word, ispell-process-line, ispell-complete-word):
1626 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1627
c2d1019e
CY
16282012-04-22 Chong Yidong <cyd@gnu.org>
1629
1630 * cus-edit.el (custom-variable-menu)
1631 (custom-variable-reset-saved, custom-face-menu)
1632 (custom-face-reset-saved): If there is no saved value, make the
1633 "reset-saved" operation bring back the default (Bug#9509).
1634 (custom-face-state): Properly detect themed faces.
1635
eeddc531
CY
1636 * faces.el (face-spec-set): Stop supporting deprecated form of
1637 third arg.
1638
dcbf5805
MA
16392012-04-22 Michael Albinus <michael.albinus@gmx.de>
1640
1641 Move functions from C to Lisp. Make non-blocking method calls
1642 the default. Implement further D-Bus standard interfaces.
1643
ef24141c
SM
1644 * net/dbus.el (dbus-message-internal): Declare function.
1645 Remove unneeded function declarations.
dcbf5805
MA
1646 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1647 (dbus-message-type-method-return, dbus-message-type-error)
1648 (dbus-message-type-signal): Declare variables. Remove local
1649 definitions.
1650 (dbus-interface-dbus, dbus-interface-peer)
1651 (dbus-interface-introspectable, dbus-interface-properties)
1652 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1653 Adapt docstring.
1654 (dbus-interface-objectmanager): New defconst.
1655 (dbus-call-method, dbus-call-method-asynchronously)
1656 (dbus-send-signal, dbus-method-return-internal)
1657 (dbus-method-error-internal, dbus-register-service)
1658 (dbus-register-signal, dbus-register-method): New defuns, moved
1659 from dbusbind.c
1660 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1661 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1662 New defuns.
dcbf5805
MA
1663 (dbus-call-method-non-blocking): Make it an obsolete function.
1664 (dbus-unregister-object, dbus-unregister-service)
1665 (dbus-handle-event, dbus-register-property)
1666 (dbus-property-handler): Obey the new structure of
1667 `bus-registered-objects'.
1668 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1669 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1670 Use `dbus-call-method'.
1671
cf20dee0
CY
16722012-04-22 Chong Yidong <cyd@gnu.org>
1673
1674 * cus-edit.el (custom-commands, custom-reset-menu)
1675 (Custom-reset-standard): Tweak labels.
1676 (custom-reset-button-menu): Change default to t.
1677 (custom-buffer-create-internal): For the custom-reset-button-menu
1678 case, put the revert button first.
1679 (custom-group-subtitle): New face.
1680 (custom-group-value-create): Align docstring to a specific column.
1681
1682 * wid-edit.el (widget-documentation-link-add): Don't handle
1683 indentation in this function.
1684 (widget-documentation-string-indent-to): New function.
1685 (widget-documentation-string-value-create): Use it.
1686
1687 * autorevert.el (auto-revert):
1688 * epg-config.el (epg):
1689 * ibuffer.el (ibuffer):
1690 * mpc.el (mpc):
1691 * ses.el (ses):
1692 * eshell/eshell.el (eshell):
1693 * net/ange-ftp.el (ange-ftp):
1694 * progmodes/ebnf2ps.el (postscript):
1695 * progmodes/flymake.el (flymake):
1696 * progmodes/prolog.el (prolog):
1697 * progmodes/verilog-mode.el (verilog-mode):
1698 * progmodes/which-func.el (which-func):
1699 * term/xterm.el (xterm):
1700 * textmodes/picture.el (picture):
1701 * textmodes/tildify.el (tildify):
1702 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1703 customization buffers.
1704
583e23bd
AM
17052012-04-22 Alan Mackenzie <acm@muc.de>
1706
1707 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1708 Adding a ) can hide the resulting (..) from searches. Fix it.
1709 Bound the backward search to the position of the existing (.
1710
7dd51bf1
JB
17112012-04-21 Juanma Barranquero <lekktu@gmail.com>
1712
1713 * progmodes/verilog-mode.el (verilog-mode): Check whether
1714 which-func-modes is t before adding verilog-mode.
1715 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1716
d64a438f
LL
17172012-04-21 Leo Liu <sdl.web@gmail.com>
1718
7dd51bf1 1719 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1720
081e8d65
MV
17212012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1722
1723 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1724 filling of the last column of a table (Bug#5635).
1725 (woman-find-next-control-line): New arg, specifying an additional
1726 regexp component for the control line.
1727 (woman2-roff-buffer): Use it.
1728 (woman-break-table): New function.
1729 (woman2-TS): Use it.
1730
17312012-04-21 Chong Yidong <cyd@gnu.org>
1732
1733 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1734 (woman-horizontal-escapes, woman-negative-vertical-space)
1735 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1736 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1737
ed571ccb
SM
17382012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * minibuffer.el (completion-file-name-table): Complete user names.
1741
39773899
LL
17422012-04-20 Leo Liu <sdl.web@gmail.com>
1743
1744 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1745 and pcase-let*.
1746
de6ff46d
CY
17472012-04-20 Chong Yidong <cyd@gnu.org>
1748
1749 * server.el (server-execute): Respect initial-buffer-choice if it
1750 is a string and there are no files to open (Bug#2825).
1751 (server-create-window-system-frame, server-create-tty-frame):
1752 Don't switch buffers here.
2d0e8e61
CY
1753 (server-process-filter): Only try to open a window system frame if
1754 compiled with graphical support (Bug#8314).
de6ff46d 1755
54071013
DN
17562012-04-20 Dan Nicolaescu <dann@gnu.org>
1757
1758 * battery.el (battery-echo-area-format): Display remaining time
1759 for sysfs backend too (Bug#11269).
1760 (battery-linux-sysfs): Fix conditional for the charge.
1761
f30d612a
CY
17622012-04-20 Chong Yidong <cyd@gnu.org>
1763
c07a4c0b 1764 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1765 (gdb-inferior-io--init-proc): New function.
1766 (gdb-init-1): Use it.
1767 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1768 responsible for allocating a new pty and hooking it to gdb when
1769 the old pty gets an EIO due to process exit.
1770 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1771 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1772 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1773
2116e93c
EZ
17742012-04-20 Eli Zaretskii <eliz@gnu.org>
1775
1776 * window.el (window-min-size, window-sizable, window-min-delta)
1777 (window-max-delta, window--resizable, window-resizable)
1778 (window-total-size, window-full-height-p, window-full-width-p)
1779 (window-in-direction, window--resize-mini-window, window-resize)
1780 (window--resize-child-windows-normal)
1781 (window--resize-child-windows, window--resize-siblings)
1782 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1783 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1784
c07a4c0b 17852012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1786
ef24141c
SM
1787 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1788 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1789 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1790 pty process (Bug#11273).
1791 (gdb-update): New arg to suppress talking to the gdb process.
1792 (gdb-done-or-error): Use it.
1793 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1794 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1795 sentinel not being called.
1796
1797 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1798
d02766ab
CY
1799 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1800
c07a4c0b 18012012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1802
1803 * net/network-stream.el (open-network-stream): Doc fix.
1804
c07a4c0b 18052012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1806
1807 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1808
c07a4c0b 18092012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1810
1811 Ensure searching for keywords is case sensitive.
1812
1813 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1814 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1815 (c-defun-name, c-mark-function, c-cpp-define-name)
1816 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1817 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1818
ef24141c
SM
1819 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1820 Bind case-fold-search to nil.
f0f6bc35 1821
c07a4c0b 18222012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1823
1824 * mail/sendmail.el (mail-bury): Call return action with the right
1825 Rmail buffer (Bug#11242).
1826
9a864fa2
CY
1827 * server.el (server-process-filter): Handle corner case where both
1828 tty and nowait options are present (Bug#11102).
1829
539aa513
EZ
18302012-04-20 Eli Zaretskii <eliz@gnu.org>
1831
1832 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1833 (top level): Put into the executable the ident-style '$Id:' tag on
1834 windows-nt as well.
539aa513 1835
cfc7d5da
SM
18362012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * electric.el (electric-indent-post-self-insert-function): Check that
1839 electric-indent-mode is enabled in current buffer.
1840
5b01685c
JB
18412012-04-19 Juanma Barranquero <lekktu@gmail.com>
1842
1843 * imenu.el (imenu-progress-message): Restore; it is "used" in
1844 erc/erc-imenu.el and net/snmp-mode.el.
1845
4d6769e1
JB
18462012-04-19 Juanma Barranquero <lekktu@gmail.com>
1847
1848 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1849 (mouse-avoidance-nudge-mouse): Remove unused binding.
1850
1851 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1852
1853 * descr-text.el (describe-char):
1854 * progmodes/python.el (python-describe-symbol):
1855 Don't call `toggle-read-only', set `buffer-read-only'.
1856
1857 * imenu.el (imenu-default-goto-function): Mark unused args.
1858 (imenu-progress-message): Remove obsolete macro; all callers changed.
1859
1860 * subr.el (keymap-canonicalize): Remove unused binding.
1861 (read-passwd): Mark unused arg.
1862
1863 * tutorial.el (tutorial--display-changes): Remove unused binding.
1864 (tutorial--save-tutorial-to): Remove unused variable.
1865
1866 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1867 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1868 (package-generate-autoloads, package-menu--generate)
1869 (package-menu--find-upgrades): Remove unused bindings.
1870
1871 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1872 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1873 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1874 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1875 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1876 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1877 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1878 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1879 (cua-delete-char-rectangle): Mark unused args.
1880 (cua-align-rectangle): Remove unused binding.
1881
1882 * mail/rmail.el (compilation--message->loc)
1883 (epa--find-coding-system-for-mime-charset): Declare.
1884
1885 * net/dbus.el (dbus-register-service): Declare.
1886 (dbus-name-owner-changed-handler): Remove unused binding.
1887
1888 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1889 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1890 (nxml-scan-backward-within): Mark unused arg.
1891 (nxml-dynamic-markup-word): Remove unused binding.
1892
1893 * mouse.el (mouse-menu-major-mode-map):
1894 * emacs-lisp/authors.el (authors-scan-change-log)
1895 (authors-add-to-author-list):
1896 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1897 * emacs-lisp/smie.el (smie-auto-fill):
1898 * mail/sendmail.el (mail-bury):
1899 * mail/unrmail.el (unrmail):
1900 * net/tls.el (open-tls-stream):
1901 * textmodes/picture.el (picture-mouse-set-point):
1902 Remove unused bindings.
1903
8c8fc5df
MA
19042012-04-19 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * net/tramp.el (tramp-action-password): Let-bind
1907 `enable-recursive-minibuffers' to t.
1908
a77b0ac9
SS
19092012-04-18 Sam Steingold <sds@gnu.org>
1910
1911 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1912 instead of 'string to accommodate values like [f11].
1913 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1914 * progmodes/gdb-mi.el: Likewise.
1915
12a106a9
LL
19162012-04-18 Leo Liu <sdl.web@gmail.com>
1917
1918 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1919 current buffer.
1920 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1921 LOCAL is nil.
1922
bc6494ef
CY
19232012-04-18 Chong Yidong <cyd@gnu.org>
1924
1925 * simple.el (line-move): Use forward-line if in batch mode
1926 (Bug#11053).
1927
c09c46b2
CS
19282012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1929
1930 * files.el (after-find-file): Do not try to add a final newline if
1931 the buffer is read-only (Bug#11156).
1932
5f6530ea
RS
19332012-04-17 Richard Stallman <rms@gnu.org>
1934
1935 * mail/rmail.el (rmail-start-mail):
1936 Pass (rmail-mail-return...) for the return-action.
1937 Pass (rmail-yank-current-message...) for the yank-action.
1938 (rmail-yank-current-message): New function.
1939 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1940 (rmail-reply): Likewise.
1941 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1942
1943 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1944 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1945 buffer, not newbuf.
1946
197b6f3c
JB
19472012-04-17 Juanma Barranquero <lekktu@gmail.com>
1948
1949 * server.el (server-ensure-safe-dir): Simplify.
1950
2311d8e5 19512012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1952
2311d8e5
GM
1953 * emacs-lisp/smie.el: Provide smarter auto-filling.
1954 (smie-auto-fill): New function.
1955 (smie-setup): Use it.
98fb480e 1956
2311d8e5
GM
1957 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1958
19592012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1960
1961 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1962 (comment-indent): Use it.
1963
2311d8e5 19642012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1965
1966 * ses.el: The overall change is to add cell renaming, that is
1967 setting fancy names for cell symbols other than name matching
1968 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1969 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1970 (ses-create-cell-variable): New defun.
2311d8e5 1971 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1972 (ses-relocate-formula): Relocate formulas only for cells the
1973 symbols of which are not renamed, i.e. symbols whose names do not
1974 match regexp "\\`[A-Z]+[0-9]+\\'".
1975 (ses-relocate-all): Relocate values only for cells the symbols of
1976 which are not renamed.
1977 (ses-load): Create cells variables as the (ses-cell ...) are read,
1978 in order to check row col consistency with cell symbol name only
1979 for cells that are not renamed.
1980 (ses-replace-name-in-formula): New defun.
1981 (ses-rename-cell): New defun.
4bdf2ad2 1982
fc72b15c
PO
19832012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1984
1985 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1986 New option (bug#11118).
1987 (perl-calculate-indent): Respect it.
1988
12e10e61
GM
19892012-04-17 Glenn Morris <rgm@gnu.org>
1990
1991 * dired-aux.el (dired-mark-read-string): Doc fix.
1992
30009afd
DA
19932012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1994
1995 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1996 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1997
41f03f4d
GM
19982012-04-17 Glenn Morris <rgm@gnu.org>
1999
2000 * mouse.el (mouse-drag-track):
2001 * speedbar.el (speedbar-frame-mode):
2002 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2003
f45f90f3
LL
20042012-04-16 Leo Liu <sdl.web@gmail.com>
2005
2006 * progmodes/python.el: Trivial cleanup.
2007
94ee8db5
GM
20082012-04-16 Glenn Morris <rgm@gnu.org>
2009
121b8917
GM
2010 * vc/vc.el (vc-string-prefix-p):
2011 * vc/pcvs-util.el (cvs-string-prefix-p):
2012 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2013 * mpc.el (mpc-string-prefix-p):
2014 Make all of these into obsolete aliases for string-prefix-p.
2015 Update callers.
2016 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2017
1197ecfa
GM
2018 * textmodes/two-column.el: Move custom options to the start.
2019 (frame-width): Remove compat definition.
2020 (2C-associate-buffer, 2C-dissociate):
2021 Use with-current-buffer rather than save-excursion.
2022 (2C-dissociate): Force a mode-line update.
2023 (2C-autoscroll): Use ignore-errors.
2024
099e7202
GM
2025 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2026 Autoload trivia.
2027
bf350d6a
GM
2028 * emacs-lisp/cl-extra.el (*random-state*):
2029 Remove unnecessary declaration.
2030
0e829eab
GM
2031 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2032
e3ad7552
GM
2033 * play/cookie1.el (cookie-snarf):
2034 Give an explicit error if input file cannot be read.
2035
68892d27
GM
2036 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2037
20f0c46d
GM
2038 * progmodes/perl-mode.el (c-macro-expand):
2039 Remove unnecessary autoload (it is in loaddefs.el).
2040
5a0978ce
GM
2041 * textmodes/picture.el (picture-desired-column)
2042 (picture-update-desired-column): Convert comments to doc-strings.
2043 (picture-substitute): Remove function.
2044 (picture-mode-map): Initialize in the defvar.
2045
6b955486
GM
2046 * woman.el: Remove eval-after-load for tar-mode.
2047 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2048 (woman-tar-extract-file): Autoload it.
2049
94ee8db5
GM
2050 * frame.el (automatic-hscrolling): Make this alias obsolete.
2051
177eca34
AM
20522012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2053
2054 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2055 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2056 (ispell-dictionary-base-alist): Revert to original XEmacs
2057 friendly version for default. [:alpha:] will be added in
2058 `ispell-set-spellchecker-params' if needed
177eca34 2059
c505aaeb
CY
20602012-04-16 Chong Yidong <cyd@gnu.org>
2061
2062 * image.el (imagemagick--extension-regexp): New variable.
2063 (imagemagick-register-types): Use it.
2064 (imagemagick-types-inhibit): Add :set function. Allow new value
2065 of t to inhibit all types.
2066
2067 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2068 so we can preload it.
2069
2070 * loadup.el (fboundp): Preload regexp-opt, needed by
2071 imagemagick-register-types.
2072
60efac0f
CY
20732012-04-15 Chong Yidong <cyd@gnu.org>
2074
2075 * frame.el (scrolling): Remove nearly unused customization group.
2076
2077 * scroll-all.el (scroll-all-mode): Move to windows group.
2078
5dd1713e
CY
20792012-04-15 Chong Yidong <cyd@gnu.org>
2080
2081 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2082
e6fd457e
CY
20832012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2084
2085 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2086 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2087
e153c136
GM
20882012-04-15 Glenn Morris <rgm@gnu.org>
2089
2090 * simple.el (process-file-side-effects): Doc fix.
2091
e6fd457e 20922012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2093
2094 * international/mule-cmds.el (set-language-environment): Doc fix.
2095
3603c3b1
JB
20962012-04-14 Juanma Barranquero <lekktu@gmail.com>
2097
2098 * server.el (server-auth-key, server-generate-key): Doc fixes.
2099 (server-get-auth-key): Doc fix. Use `string-match-p'.
2100 (server-start): Reflow docstring.
2101
e6de100c
LI
21022012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2103
2104 * server.el (server-generate-key): `called-interactively-p'
2105 requires a parameter.
2106
29734c21
MN
21072012-04-14 Michal Nazarewicz <mina86@mina86.com>
2108
2109 * server.el (server-auth-key): New variable.
75f1671a 2110 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2111 (server-start): Use the new variable and functions to allow
2112 setting a permanent server key (bug#9423).
2113
d65c9521
LL
21142012-04-14 Leo Liu <sdl.web@gmail.com>
2115
2116 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2117
5ae255c7
PE
21182012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2119
2120 Spelling fixes.
2121 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2122 Emacs uses American spelling.
2123
d5e6342e
JB
21242012-04-14 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2127 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2128 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2129 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2130
ab036cd7
SM
21312012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * progmodes/which-func.el (which-func-modes): Change default.
2134
35dc09a1 21352012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2136
2137 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2138 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2139
35dc09a1 21402012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2141
2142 * custom.el (custom-theme-set-variables): Doc fix.
2143
35dc09a1 21442012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2145
2146 * international/mule.el (set-auto-coding-for-load): Doc fix.
2147
35dc09a1 21482012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2149
35dc09a1
GM
2150 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2151 imenu work again for Objective C Mode. Correct the *-index values,
2152 these having been disturbed by a previous change in 2011-08.
57f845ee 2153
0de3da9f
AM
2154 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2155 Correct two search limits.
2156
35dc09a1 21572012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2158
2159 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2160
35dc09a1 21612012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2162
2163 * international/characters.el: Fix sorting.
2164
35dc09a1 21652012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2166
2167 * international/characters.el: Add more missing Latin case pairs.
2168
35dc09a1 21692012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2170
2171 * files.el (dir-locals-set-class-variables): Doc fix.
2172
35dc09a1 21732012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2174
3f1b5bf8
EZ
2175 * international/characters.el: Add set-case-syntax-pair call for
2176 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2177 counterpart. (Bug#11209)
2178
9f847f41
EZ
2179 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2180
35dc09a1 21812012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2182
2183 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2184
35dc09a1 21852012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2186
35dc09a1
GM
2187 * textmodes/ispell.el (ispell-dictionary-base-alist):
2188 Add data for Hebrew.
e2627d21 2189
35dc09a1 21902012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2191
35dc09a1
GM
2192 * net/rcirc.el (rcirc-cmd-quit):
2193 Revert 2012-03-18 change (Bug#11192).
5c14e333 2194
35dc09a1 21952012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2196
2197 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2198
35dc09a1 21992012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2200
4517fe3a
SM
2201 * minibuffer.el (completion-in-region-mode-map):
2202 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2203
b472a594
VD
22042012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2205
2206 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2207
09b95ce3
MY
22082012-04-13 Masatake YAMATO <yamato@redhat.com>
2209
2210 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2211 to allow `C-M-f' and `C-M-b' to move to the nearest path
2212 separator (bug#9511).
2213
4b63a9ca
LI
22142012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2215
2216 * avoid.el: Require cl when compiling. And also move the
2217 `provide' to the end.
2218
7b55b8bf
TV
22192012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2220
2221 * avoid.el (mouse-avoidance-banish-position): New variable.
2222 (mouse-avoidance-banish-destination): Use it (bug#10165).
2223
adedaa1f
LL
22242012-04-13 Leo Liu <sdl.web@gmail.com>
2225
2226 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2227
70e74021
KB
22282012-04-13 Ken Brown <kbrown@cornell.edu>
2229
2230 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2231 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2232 (browse-url-filename-alist): For the same reason, don't modify
2233 file:// URLs on Cygwin.
2234
e75e89ba
SM
22352012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2238 the region on shift if the binding is already shifted (bug#11221).
2239
82f289a4
GM
22402012-04-12 Glenn Morris <rgm@gnu.org>
2241
2242 * mail/mailpost.el: Move to obsolete/.
2243
d333dc4c
DA
22442012-04-12 Drew Adams <drew.adams@oracle.com>
2245
2246 * imenu.el (imenu--generic-function): Ignore invisible definitions
2247 (bug#10123).
2248
0d15b5ba
VD
22492012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2250
2251 * hexl.el (hexl-bits): New variable.
2252 (hexl-options): Mention the variable in the doc string.
75f1671a 2253 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2254 (hexl-mode): Mention the new variable.
75f1671a
JB
2255 (hexl-mode, hexl-current-address, hexl-current-address):
2256 Use the displen.
0d15b5ba
VD
2257 (hexl-ascii-start-column): New function.
2258 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2259 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2260
64a440db
AM
22612012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2262
2263 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2264 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2265 the encoding, as expected by hunspell.
2266
6decb6c2
SM
22672012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * battery.el (battery--linux-sysfs-regexp): New const.
2270 (battery-status-function): Use it. Remove yeeloong special case.
2271 (battery-yeeloong-sysfs): Remove.
2272 (battery-echo-area-format): Remove yeeloong special case.
2273
088be6fb
SM
22742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2275
6622e416
SM
2276 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2277 Reported by Noah Friedman.
2278
088be6fb
SM
2279 * subr.el (read-passwd): Use read-string.
2280
b49f886e
LMI
22812012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2282
2283 * vcursor.el (vcursor-move): Increase the priority of the overlay
2284 (bug#9663).
2285
a63067fc
DD
22862012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2287
2288 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2289 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2290
ac3cf14a
WS
22912012-04-11 William Stevenson <yhvh2000@gmail.com>
2292
2293 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2294 define-minor-mode (bug#10760).
2295
c4fc691b 22962012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2297
4d6769e1 2298 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2299 that directories matching `grep-find-ignored-files' won't be
2300 pruned (bug#10351).
2301
af23e2e5
CY
23022012-04-11 Chong Yidong <cyd@gnu.org>
2303
2304 * startup.el (command-line): Remove support for long-obsolete
2305 variable font-lock-face-attributes.
2306
ab7ce8c1
GM
23072012-04-11 Glenn Morris <rgm@gnu.org>
2308
2309 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2310
de8c03dc
SM
23112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * window.el (window--state-get-1): Obey window-point-insertion-type.
2314
050cc68b
LB
23152012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2316
2317 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2318 to previous function when point is on the first character of a
75f1671a 2319 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2320
a38c310c
GM
23212012-04-11 Glenn Morris <rgm@gnu.org>
2322
effed0c2
GM
2323 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2324 not just file-errors.
2325
a38c310c
GM
2326 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2327 (vc-bzr-sha1): Use internal sha1.
2328
0221e323
SM
23292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2332
43956923
SG
23332012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2334
2335 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2336 that start in the middle of the line (bug#10496).
2337
6a8c9eaf
DN
23382012-04-10 Dan Nicolaescu <dann@gnu.org>
2339
2340 * battery.el (battery-linux-proc-acpi): Only one battery is
2341 discharged at a time, but that seems to confuse battery.el when
2342 computing `rate-type' for the battery not being discharged
2343 (bug#10332).
2344
1930bf5d
SM
23452012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2a718f6f
SM
2347 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2348
599430d0
SM
2349 * international/quail.el: Use dolist and simplify.
2350 (quail-define-package, quail-update-keyboard-layout)
2351 (quail-define-rules): Use dolist.
2352 (quail-insert-kbd-layout, quail-get-translation): CSE.
2353
a2754b6c
SM
2354 * tmm.el: Use dolist, remove left over hook.
2355 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2356 Use dolist.
2357 (calendar-load-hook): Don't mess with it.
2358
1930bf5d
SM
2359 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2360 Use derived-mode-p. Run the diff asynchronously.
2361
9f67961c
LMI
23622012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2363
2364 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2365
2a8ce227
JB
23662012-04-10 Juanma Barranquero <lekktu@gmail.com>
2367
2368 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2369 (list-dynamic-libraries--loaded): New function.
2370 (list-dynamic-libraries--refresh): Use it.
2371
8f33b5f8
NW
23722012-04-10 Nathan Weizenbaum <nweiz@google.com>
2373
1930bf5d
SM
2374 * progmodes/python.el (python-fill-paragraph):
2375 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2376 disabled (bug#7018).
2377
b12f0439
L
23782012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2379
1930bf5d 2380 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2381 DOS/MS Windows for the Baltic languages. There are still plenty
2382 of texts written in this encoding/codepage (bug#6519).
b12f0439 2383
57c3bd01
GM
23842012-04-10 Glenn Morris <rgm@gnu.org>
2385
2386 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2387 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2388
6c3eab30
FA
23892012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2390
1930bf5d 2391 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2392 next-line "n" and previous-line "p" in order to make recentf more
2393 consistent with ibuffer, dired or org-mode (bug#9387).
2394
24d78a88
LMI
23952012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2396
bc72b5d9
LMI
2397 * image.el (put-image): Return the overlay created instead of the
2398 optional input string (bug#7834). Note that this may break code
2399 that is (for some reason or other) depending on `put-image'
2400 returning the string.
2401
bd2dba5a
LMI
2402 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2403
74beb59f
LMI
2404 * simple.el (zap-to-char): Allow zapping using input methods
2405 (bug#1580).
2406
24d78a88
LMI
2407 * textmodes/fill.el (fill-region): Leave point and mark where they
2408 were before filling (bug#5399).
2409
263f20cd
GM
24102012-04-09 Glenn Morris <rgm@gnu.org>
2411
2412 * version.el (emacs-bzr-get-version):
2413 Handle lightweight checkouts of local branches.
2414
58d1f797
AS
24152012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2416
263f20cd 2417 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2418
b4d3bc10
CY
24192012-04-09 Chong Yidong <cyd@gnu.org>
2420
2421 * custom.el (custom-variable-p): Return nil for non-symbol
2422 arguments instead of signaling an error.
2423 (user-variable-p): Obsolete alias for custom-variable-p.
2424
2425 * apropos.el (apropos-variable):
2426 * files-x.el (read-file-local-variable):
2427 * simple.el (set-variable):
2428 * woman.el (woman-mini-help):
2429 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2430
fd06db5d
GM
24312012-04-09 Glenn Morris <rgm@gnu.org>
2432
e5fcdb5e
GM
2433 * startup.el (normal-top-level): Don't look for leim-list.el
2434 in places where it will not be found. (Bug#910)
2435
fd06db5d
GM
2436 * international/mule-cmds.el (set-default-coding-systems):
2437 * files.el (normal-mode):
2438 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2439 This function was removed with ucs-tables.el in 2008.
2440
b39bb7e1
EZ
24412012-04-08 Eli Zaretskii <eliz@gnu.org>
2442
2443 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2444 ispell-encoding8-command to "-i", without a trailing space.
2445 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2446 separate command-line arguments, to specify the encoding, since
2447 that's how hunspell expects it.
2448
5c5b8e23
GM
24492012-04-08 Glenn Morris <rgm@gnu.org>
2450
2451 * loadup.el: Load bindings before cus-start.
2452 This reduces somewhat the number of "rogue" settings in emacs -Q.
2453
a1ed8b05
GM
24542012-04-07 Glenn Morris <rgm@gnu.org>
2455
2456 * version.el (emacs-bzr-get-version): New function.
dfae128a 2457 (emacs-bzr-version): New variable.
a1ed8b05
GM
2458 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2459 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2460
b142f158
EZ
24612012-04-07 Eli Zaretskii <eliz@gnu.org>
2462
dfae128a
GM
2463 * international/uni-bidi.el, international/uni-category.el:
2464 * international/uni-combining.el, international/uni-decimal.el:
2465 * international/uni-decomposition.el, international/uni-digit.el:
2466 * international/uni-lowercase.el, international/uni-mirrored.el:
2467 * international/uni-name.el, international/uni-numeric.el:
2468 * international/uni-titlecase.el, international/uni-uppercase.el:
2469 Update for Unicode 6.1.
b142f158 2470
9078ead6
EZ
24712012-04-07 Eli Zaretskii <eliz@gnu.org>
2472
2473 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2474
f23d2c7d
LMI
24752012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2476
2477 * window.el (shrink-window): Mention the `window-min-height'
2478 variable in the doc string.
2479
0a0a3573
BG
24802012-04-05 Bastien Guerry <bzg@altern.org>
2481
2482 * color.el (color-lighten-name): Fix typo.
2483
e5248ac9
SM
24842012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * server.el (server--on-display-p): New function.
2487 (server--on-display-p): Use it.
2488
b4243e22
GV
24892012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2490
2491 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2492 (bug#11145).
2493
305d9f44
SM
24942012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * comint.el (comint--common-quoted-suffix): Check string boundary
2497 before comparing (bug#11158).
2498 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2499
3d439cd1
CY
25002012-04-04 Chong Yidong <cyd@gnu.org>
2501
321cc491
CY
2502 * minibuffer.el (completion-extra-properties): Doc fix.
2503
3d439cd1
CY
2504 * subr.el (delayed-warnings-hook): Doc fix.
2505
2d562c0f
DU
25062012-04-04 Daiki Ueno <ueno@unixuser.org>
2507
2508 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2509 selection (Bug#11159).
2510 (epa-insert-keys): Inform that the default public key will be
2511 exported if no key is selected.
2512
4443f204
RS
25132012-04-04 Richard Stallman <rms@gnu.org>
2514
2515 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2516
529c06b6
CY
25172012-04-03 Chong Yidong <cyd@gnu.org>
2518
2519 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2520 mail-insert-file, not its obsolete alias mail-attach-file.
2521
66b907dc
MA
25222012-04-03 Michael Albinus <michael.albinus@gmx.de>
2523
2524 * notifications.el (notifications-notify): Fix docstring.
2525
c0ea195d
GM
25262012-04-02 Glenn Morris <rgm@gnu.org>
2527
2528 * emacs-lisp/authors.el (authors-aliases): Another addition.
2529
5ca64e00
MA
25302012-04-02 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2533 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2534 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2535
42ee526b
CY
25362012-04-01 Chong Yidong <cyd@gnu.org>
2537
2538 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2539 Handle root directory properly.
2540 (copy-directory): Caller changed.
2541
2542 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2543 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2544
0b021094
GM
25452012-03-31 Glenn Morris <rgm@gnu.org>
2546
40f86458
GM
2547 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2548
7019c177
GM
2549 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2550
a1daddd6
GM
2551 * calendar/calendar.el (calendar-window-list)
2552 (calendar-hide-window): Restore. (Bug#11140)
2553 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2554
0b021094
GM
2555 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2556
40311efc
TV
25572012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2558
2559 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2560 Check if file is a symlink (Bug#10489).
2561
2562 * files.el (copy-directory): Likewise.
2563
5319014e
CY
25642012-03-30 Chong Yidong <cyd@gnu.org>
2565
2566 * image.el (imagemagick-types-inhibit)
2567 (imagemagick-register-types): Doc fix.
2568
935d1290
AM
25692012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2570
ef24141c
SM
2571 * ispell.el (ispell-get-extended-character-mode):
2572 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2573 and treats ~word as ordinary words in pipe mode.
935d1290 2574
61c6e8fd
GM
25752012-03-30 Glenn Morris <rgm@gnu.org>
2576
2577 * tutorial.el (help-with-tutorial): Ensure local variables don't
2578 happen to make the buffer read-only. (Bug#11127)
2579
81fdff00
SM
25802012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2583 (perl-calculate-indent): Return `noindent' in strings.
2584
6e7a6ec0
SS
25852012-03-28 Sam Steingold <sds@gnu.org>
2586
2587 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2588 instead of the broken adhockery which does not prevent calendar
2589 buffers from being displayed at random after exit.
2590 (calendar-window-list, calendar-hide-window): Remove the broken
2591 adhockery.
2592
fee88ca0
GM
25932012-03-28 Glenn Morris <rgm@gnu.org>
2594
2595 * replace.el (query-replace-map): Doc fix.
2596
38de3354
AS
25972012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2598
2599 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2600 contents. (Bug#11109)
2601
b973155e
SM
26022012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2605 (bug#11077).
2606 (avl-tree--check, avl-tree--check-node): New funs.
2607
dcb6e7b3
MR
26082012-03-27 Martin Rudalics <rudalics@gmx.at>
2609
2610 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2611 (switch-to-prev-buffer, switch-to-next-buffer):
2612 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2613 showing a buffer already is done on the same frame.
2614
b4fa35fa
GM
26152012-03-27 Glenn Morris <rgm@gnu.org>
2616
2617 * startup.el (mail-host-address): Doc fix.
2618
f9210e18
SM
26192012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2622 than 197 variables.
2623
c0bf7753
AF
26242012-03-26 Ami Fischman <ami@fischman.org>
2625
2626 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2627
33da7b16
GM
26282012-03-26 Glenn Morris <rgm@gnu.org>
2629
02243d9d
GM
2630 * files.el (save-buffers-kill-emacs): Doc fix.
2631
33da7b16
GM
2632 * startup.el (normal-top-level, command-line, command-line-1):
2633 Give them doc strings.
2634
e5a69fd0
EZ
26352012-03-25 Eli Zaretskii <eliz@gnu.org>
2636
2637 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2638 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2639
9a69676a
CY
26402012-03-25 Chong Yidong <cyd@gnu.org>
2641
4125cb8b
CY
2642 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2643 theme if it was previously enabled before (Bug#11031).
2644
dd470960
CY
2645 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2646 spec with custom-face-get-current-spec if its :shown-value is not
2647 determined yet (Bug#9337).
4125cb8b 2648 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2649
9a69676a
CY
2650 * button.el (button-at): Minor addition to docstring.
2651
6e7e90fa
SL
26522012-03-24 Simon Leinen <simon.leinen@gmail.com>
2653
2654 * vc/vc.el (vc-merge): Fix a prompt.
2655
f06e2758
CY
26562012-03-24 Chong Yidong <cyd@gnu.org>
2657
2658 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2659 point (Bug#9623).
2660
6e7e90fa
SL
2661 * button.el (button-at): Minor addition to docstring.
2662
b9d0879b
SM
26632012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * newcomment.el (comment-choose-indent): No space after BOL.
2666
e71cebb3
SS
26672012-03-22 Sam Steingold <sds@gnu.org>
2668
2669 * window.el (switch-to-prev-buffer): Revert last patch because the
2670 bug turned out to be an advertised feature (Elisp manual 28.14).
2671
335aff35
GM
26722012-03-22 Glenn Morris <rgm@gnu.org>
2673
2674 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2675 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2676
c676576a
LMI
26772012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2678
2679 * net/network-stream.el (network-stream-open-starttls): Make error
2680 message under Windows be less misleading.
2681
126f3d39
LW
26822012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2683
2684 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2685 understands (bug#9942).
2686
64fee311
CY
26872012-03-22 Chong Yidong <cyd@gnu.org>
2688
2689 * simple.el (end-of-visible-line): Handle return value of
2690 next-single-property-change properly (Bug#9371).
2691
a640d29a
KH
26922012-03-22 Kenichi Handa <handa@m17n.org>
2693
2694 * international/quail.el (quail-insert-kbd-layout): Fix previous
2695 change. To avoid unwanted bidi reordering, use
2696 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2697
39675016
DG
26982012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2699
2700 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2701 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2702 (ruby-beginning-of-indent): Be more careful with the difference
2703 between word-boundary and symbol boundary.
2704 (ruby-mode-syntax-table): Make : a symbol constituent.
2705
0a6934fc 27062012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2707
3d008e4f
SM
2708 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2709
0a6934fc
SM
27102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2711
af67c9d7
SM
2712 * progmodes/etags.el (tags-completion-at-point-function):
2713 Improve last fix.
2714
1acad97c
SM
2715 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2716
e298b5da
SS
27172012-03-21 Sam Steingold <sds@gnu.org>
2718
2719 * progmodes/etags.el (tags-completion-at-point-function):
2720 Avoid the error when point is inside the pattern.
2721
91d82a70
JY
27222012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2723
2724 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2725 line (Bug#10855).
2726
69188b79
CY
27272012-03-21 Drew Adams <drew.adams@oracle.com>
2728
2729 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2730
99fc91fe
AK
27312012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2732
2733 * ido.el (ido-set-current-directory, ido-read-internal)
2734 (ido-choose-completion-string, ido-completion-help): Handle nil
2735 value of ido-completion-buffer (Bug#11008).
2736
087bbb4c
SS
27372012-03-21 Sam Steingold <sds@gnu.org>
2738
2739 * window.el (switch-to-prev-buffer): Do not switch to a visible
2740 window previous buffer, just like with the frame previous buffers.
2741
fb5b8aca
CY
27422012-03-21 Chong Yidong <cyd@gnu.org>
2743
2744 * faces.el (make-face, make-empty-face, copy-face):
2745 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2746 Doc fixes.
2747
dc9924b8
SM
27482012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2751 (widget-complete): Remove broken use of it.
2752
f0bcceb9
CY
27532012-03-20 Chong Yidong <cyd@gnu.org>
2754
dc9924b8
SM
2755 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2756 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2757 characters.
2758
ee52ebf3
TH
27592012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2760
2761 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2762 to draw rectangles, not squares. (Regression introduced by revno
2763 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2764
4c5779ab
CY
27652012-03-18 Chong Yidong <cyd@gnu.org>
2766
2767 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2768 it is not yet defined (for temacs).
2769
15360934
LL
27702012-03-18 Leo Liu <sdl.web@gmail.com>
2771
dc9924b8 2772 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2773
d9a8eb66
EZ
27742012-03-17 Eli Zaretskii <eliz@gnu.org>
2775
2776 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2777 (ispell-choices-win-default-height, ispell-silently-savep)
2778 (ispell-dictionary-alist, ispell-encoding8-command)
2779 (ispell-check-version, ispell-aspell-find-dictionary)
2780 (ispell-valid-dictionary-list, ispell-words-keyword)
2781 (ispell-get-word, ispell-internal-change-dictionary)
2782 (ispell-region, ispell-skip-region-list)
2783 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2784 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2785 (ispell-message-text-end, ispell-message)
2786 (ispell-buffer-local-parsing): Doc fix.
2787
f02ff80d
J
27882012-03-13 Jambunathan K <kjambunathan@gmail.com>
2789
2790 * htmlfontify.el: Add support for code block fontification for ODT
2791 export (Bug #9914).
2792 (hfy-optimisations): Define new option
2793 `body-text-only'
2794 (hfy-fontify-buffer): Honor above setting.
2795 (hfy-begin-span, hfy-end-span): New routines factored out form
2796 `hfy-fontify-buffer'.
2797 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2798 that permit insertion of custom tags.
2799 (hfy-fontify-buffer): Use above handlers.
2800 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2801 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2802 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2803 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2804 bind a special variable `hfy-user-sheet-assoc'.
2805 (htmlfontify-string): New defun.
2806 (hfy-compile-face-map): Make sure that the last char in the
2807 buffer is correctly fontified.
2808 (hfy-face-resolve-face): Whitespace only change.
2809
9ac7a13f
EZ
28102012-03-17 Eli Zaretskii <eliz@gnu.org>
2811
2812 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2813 message more clear.
2814
e2b5bdd7
LL
28152012-03-16 Leo Liu <sdl.web@gmail.com>
2816
2817 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2818
2e492df3
AM
28192012-03-16 Alan Mackenzie <acm@muc.de>
2820
2821 Further optimise the handling of large macros.
2822
2823 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2824 limit to a call of `c-literal-limits'.
2825 (c-determine-+ve-limit): New function.
dc9924b8
SM
2826 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2827 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2828 In CASE 5B, restrict a search limit to 500.
2829 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2830
2831 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2832 Restrict macro bounds to +-500 from after-change's BEG END.
2833
50e94f0c
LL
28342012-03-16 Leo Liu <sdl.web@gmail.com>
2835
2836 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2837
6f09f6ed
AH
28382012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2839
2840 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2841 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2842
c7e73d51
GM
28432012-03-16 Glenn Morris <rgm@gnu.org>
2844
da986230
GM
2845 * view.el (view-buffer, view-buffer-other-window)
2846 (view-buffer-other-frame): Doc fixes re special mode-class.
2847
0835f01e
GM
2848 * subr.el (eval-after-load): If named feature is provided not from
2849 a file, run after-load forms. (Bug#10946)
2850
c7e73d51
GM
2851 * calendar/calendar.el (calendar-insert-at-column):
2852 Handle non-unit-width characters a bit better. (Bug#10978)
2853
3f2eafd1
CY
28542012-03-15 Chong Yidong <cyd@gnu.org>
2855
2856 * emacs-lisp/ring.el (ring-extend): New function.
2857 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2858
2859 * comint.el (comint-read-input-ring)
2860 (comint-add-to-input-history): Grow comint-input-ring lazily.
2861
103af3fe
SM
28622012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2863
663b1677
SM
2864 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2865 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2866
103af3fe
SM
2867 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2868 (imenu-add-to-menubar): Don't add a redundant index.
2869 (imenu-update-menubar): Handle a dynamically composed keymap.
2870
899cb7cb
KY
28712012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2872
2873 * mail/sendmail.el (mail-encode-header):
2874 Bind rfc2047-encode-encoded-words to nil.
2875
3809f91d
GM
28762012-03-13 Glenn Morris <rgm@gnu.org>
2877
2878 * calendar/calendar.el (calendar-string-spread):
2879 Handle non-unit-width characters a bit better. (Bug#10978)
2880
9e345a01
LL
28812012-03-13 Leo Liu <sdl.web@gmail.com>
2882
2883 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2884 directory and file as argument (Bug#10822).
2885
4a07df36
KS
28862012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2887
2888 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2889 For dynamically generated code, follow $PC.
2890 (gdb-disassembly-handler-custom): Handle no function name case.
2891
4aaa9356
TL
28922012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2893
2894 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2895 * emulation/ws-mode.el (ws-query-replace):
2896 * sort.el (sort-regexp-fields):
2897 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2898
225979da
SM
28992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * dabbrev.el: Fix cycle completion order (bug#10963).
2902 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2903 (dabbrev-completion): Don't use an obarray; provide
2904 a cycle-sort-function.
2905
e2f1fdab
LL
29062012-03-12 Leo Liu <sdl.web@gmail.com>
2907
dc9924b8 2908 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2909 (kill-do-not-save-duplicates): Doc fix.
2910
b19490ed
SM
29112012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * dabbrev.el: Fix cycle completion (bug#10963).
2914 Use lexical binding and wrap to 80 columns.
2915 (dabbrev-completion): Delay computing the list of completions.
2916
4b05d722
KH
29172012-03-12 Kenichi Handa <handa@m17n.org>
2918
2919 * international/quail.el (quail-insert-kbd-layout): Surround each
2920 row by LRO and PDF instead of inserting many LRMs. Pad the left
2921 and right of each non-spacing marks. Insert invisible space
2922 between lower and upper characters to prevent composition.
2923
dbbc2e69
SM
29242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * minibuffer.el (minibuffer-complete): Don't get confused when the
2927 function is run twice via different commands (bug#10958).
2928 (complete-with-action): Fix docstring.
2929
292112ed
CY
29302012-03-12 Chong Yidong <cyd@gnu.org>
2931
5d1ac394
CY
2932 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2933 (nxml-completion-at-point-function): New function.
2934 (nxml-mode): Use it.
2935 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2936
292112ed
CY
2937 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2938 Load generated autoloads file before byte compiling (Bug#10970).
2939 (package--make-autoloads-and-compile): New helper fun.
2940
4098f8f7
CS
29412012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2942
2943 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2944
8f754691
MA
29452012-03-11 Michael Albinus <michael.albinus@gmx.de>
2946
2947 * autorevert.el (auto-revert-handler): Ensure, that
2948 file-readable-p is applied only for local files or in
2949 auto-revert-tail-mode.
2950
e29ab36b
AS
29512012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2952
dbbc2e69
SM
2953 * server.el (server-eval-at): Handle non-tcp connections.
2954 Decode result string.
ad0bf5b6 2955
e29ab36b
AS
2956 * server.el (server-msg-size): New constant.
2957 (server-reply-print): New function.
2958 (server-eval-and-print): Use it.
2959 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2960 Handle -print-nonl.
2961
de5939ba
CS
29622012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2963
2964 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2965 (Bug#10987).
2966
0c93eabf
CY
29672012-03-11 Chong Yidong <cyd@gnu.org>
2968
397a688f
CY
2969 * simple.el (goto-line): Doc fix (Bug#9938).
2970
2cc775f9
CY
2971 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2972
0c93eabf
CY
2973 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2974 when finished (Bug#10963).
2975
c491fa41
MR
29762012-03-11 Martin Rudalics <rudalics@gmx.at>
2977
2978 * window.el (split-window-below): Fix bug in case where
2979 split-window-keep-point is nil (Bug#10971).
2980
300e8fa5
JL
29812012-03-11 Juri Linkov <juri@jurta.org>
2982
2983 * replace.el (replace-highlight): Set isearch-word to nil
2984 unconditionally. (Bug#10887)
2985
dbf6c5a1
EZ
29862012-03-10 Eli Zaretskii <eliz@gnu.org>
2987
2988 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2989 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2990 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2991 (mairix-widget-create-query): Add usage information about mairix
2992 search forms: negating words, searching for substrings, etc.
2993
b9e501de
JP
29942012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2995
2996 * international/fontset.el (font-encoding-alist): Add an entry for
2997 ksx1001 (Bug#5667).
2998
92795c91
RS
29992012-03-10 Richard Stallman <rms@gnu.org>
3000
1694e6c1
RS
3001 * mail/sendmail.el (mail-encode-header):
3002 Set rfc2047-encode-encoded-words.
3003
607e8555
RS
3004 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3005
de3bc99a
RS
3006 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3007 view buffer means not swapped.
3008 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3009 (rmail-write-region-annotate): Error if real text has disappeared.
3010
92795c91
RS
3011 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3012
699bd04e
CY
30132012-03-10 Chong Yidong <cyd@gnu.org>
3014
3015 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3016 * emulation/cua-base.el (cua--init-keymaps):
3017 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3018
570a1714
MR
30192012-03-10 Martin Rudalics <rudalics@gmx.at>
3020
dbbc2e69
SM
3021 * speedbar.el (speedbar-unhighlight-one-tag-line):
3022 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3023
82dcf4e4
CY
30242012-03-10 Chong Yidong <cyd@gnu.org>
3025
7a2c7ca7
CY
3026 * minibuffer.el (completion-in-region, completion-help-at-point):
3027 Give the completion field overlay a high priority (Bug#6830).
3028
82dcf4e4
CY
3029 * dired.el (dired-goto-file): Recognize absolute file name
3030 listings (Bug#7126).
3031 (dired-goto-file-1): New helper function.
3032 (dired-toggle-read-only): Inhibit warnings.
3033
052e28ac
MA
30342012-03-09 Michael Albinus <michael.albinus@gmx.de>
3035
75f1671a 3036 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3037 there are no properties.
3038
95d5e396
LL
30392012-03-09 Leo Liu <sdl.web@gmail.com>
3040
3041 * savehist.el (savehist-printable): Stricter check for string
3042 value (Bug#10937).
3043
3f018d6d
EZ
30442012-03-09 Eli Zaretskii <eliz@gnu.org>
3045
dbbc2e69
SM
3046 * mail/smtpmail.el (smtpmail-send-it):
3047 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3048 valid mbox format.
3049
f7fd3d79
GM
30502012-03-09 Glenn Morris <rgm@gnu.org>
3051
3052 * files.el (dir-locals-find-file):
3053 Don't check result is regular, readable.
3054 (dir-locals-read-from-file): Demote errors.
3055
6ff6e72f
EZ
30562012-03-08 Eli Zaretskii <eliz@gnu.org>
3057
dbbc2e69
SM
3058 * international/quail.el (quail-insert-kbd-layout):
3059 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3060 layout cell, to prevent their reordering by bidi display engine.
3061 For details, see the discussion in
3062 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3063
9cec7834
AM
30642012-03-08 Alan Mackenzie <acm@muc.de>
3065
3066 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3067 the starting position; make it extend the marked region when
3068 invoked repeatedly - all under appropriate circumstances.
3069 Fixes bugs #5525, #10906.
3070
9a40b8d4
GM
30712012-03-08 Glenn Morris <rgm@gnu.org>
3072
3073 * files.el (locate-dominating-file, dir-locals-find-file):
3074 Undo 2012-03-06 change.
3075
7a08ed35
EZ
30762012-03-07 Eli Zaretskii <eliz@gnu.org>
3077
dbbc2e69
SM
3078 * international/quail.el (quail-help):
3079 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3080 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3081 for the reason.
3082
5aca4f71 30832012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3084
3085 Avoid superfluous registering of signals. (Bug#10807)
3086
3087 * notifications.el (notifications-on-action-object)
3088 (notifications-on-close-object): New defvars.
3089 (notifications-on-action-signal, notifications-on-closed-signal):
3090 Unregister the signal if not needed any longer.
3091 (notifications-notify): Register `notifications-action-signal' or
3092 `notifications-closed-signal', if :on-action or :on-close has been
3093 passed as argument.
3094
78e8b10a
CY
30952012-03-07 Chong Yidong <cyd@gnu.org>
3096
3097 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3098 non-X platforms.
3099
69481eb8
GM
31002012-03-06 Glenn Morris <rgm@gnu.org>
3101
3102 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3103 (x-disown-selection-internal, x-get-selection-internal):
3104 Doc fix (add arglist signatures). (Bug#10783)
3105
133b8e11
KS
31062012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3107
3108 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3109 Handle breakpoints with no "type".
3110
99a83064
GM
31112012-03-06 Glenn Morris <rgm@gnu.org>
3112
3113 * files.el (locate-dominating-file): Add optional predicate argument.
3114 (dir-locals-find-file): Make use of above change.
3115
17798e78
TTN
31162012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3117
3118 * info.el (Info-insert-dir): Also try "dir.gz".
3119
eb182446
GM
31202012-03-06 Glenn Morris <rgm@gnu.org>
3121
8f2114ee
GM
3122 * files.el (dir-locals-find-file):
3123 Ignore non-readable or non-regular files. (Bug#10928)
3124
eb182446
GM
3125 * files.el (locate-dominating-file): Doc fix.
3126
24679323
AS
31272012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3128
3129 * calendar/calendar.el (calendar-set-mode-line):
3130 `getenv' returns a string. (Bug#10951)
3131
01d972a9
LL
31322012-03-05 Leo Liu <sdl.web@gmail.com>
3133
109aa8a9
LL
3134 * simple.el (backward-delete-char-untabify): Constrain point to
3135 field (Bug#10939).
3136
01d972a9
LL
3137 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3138
10607bea
CY
31392012-03-05 Chong Yidong <cyd@gnu.org>
3140
3141 * simple.el (count-words): If called from Lisp, return the word
3142 count, for symmetry with `count-lines'. Arglist changed.
3143 (count-words--message): Args changed. Consolidate counting code
3144 from count-words and count-words-region.
3145 (count-words-region): Caller changed.
3146 (count-lines-region): Make it an obsolete alias.
3147
5dd11cfe
TH
31482012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3149
3150 * saveplace.el (save-place-to-alist)
3151 (save-place-ignore-files-regexp): Allow value nil to disable this
3152 feature.
3153
c349f4e6
CY
31542012-03-04 Chong Yidong <cyd@gnu.org>
3155
3156 * faces.el (face-spec-reset-face): For the default face, reset the
3157 attributes to default values (Bug#10748).
3158
e627be4c
LMI
31592012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3160
3161 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3162 previous patch: Check `message-send-mail-function', and not the
3163 default function (bug#10897).
3164
ebeabff4
MA
31652012-03-04 Michael Albinus <michael.albinus@gmx.de>
3166
a41a6cf4
MA
3167 * notifications.el (notifications-on-action-signal)
3168 (notifications-on-closed-signal): Check for unique service name of
3169 incoming event. Fix error in removing entry.
ebeabff4 3170 (top): Register for signals with wildcard service name.
a41a6cf4 3171 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3172
c1ca42b4
CY
31732012-03-04 Chong Yidong <cyd@gnu.org>
3174
dc9924b8 3175 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3176
ea16568d
GM
31772012-03-04 Glenn Morris <rgm@gnu.org>
3178
3179 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3180 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3181 (expand-abbrev, define-abbrev-table): Doc fixes.
3182
fbae4637
LMI
31832012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3184
3185 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3186 `message-default-send-mail-function' and not `send-mail-function'
3187 when doing the prompting for `sendmail-query-once' before sending
3188 in Message buffers (bug#10897).
3189
a1e7225c
LMI
3190 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3191 This is inconsistent with all the other stream functions, which leave
3192 the setting up to the higher levels (if so wanted) (bug#10931).
3193
56d093a9
AM
31942012-03-02 Alan Mackenzie <acm@muc.de>
3195
3196 Depessimize the handling of very large macros.
3197
3198 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3199 (c-macro-cache-syntactic): New variables to implement a one
3200 element macro cache.
3201 (c-invalidate-macro-cache): New function.
3202 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3203 Adapt to use the new cache.
3204 (c-state-safe-place): Use better the cache of safe positions.
3205 (c-state-semi-nonlit-pos-cache)
3206 (c-state-semi-nonlit-pos-cache-limit):
3207 New variables for...
3208 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3209 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3210 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3211 Use c-state-semi-safe-place.
56d093a9 3212
dbbc2e69
SM
3213 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3214 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3215
817e5c3d
MA
32162012-03-02 Michael Albinus <michael.albinus@gmx.de>
3217
dbbc2e69
SM
3218 * jka-compr.el (jka-compr-call-process):
3219 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3220 not remote.
3221
a032a702
MA
32222012-03-01 Michael Albinus <michael.albinus@gmx.de>
3223
3224 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3225 access of FILE2, if FILE1 does not exist.
3226
99a54f21
MA
3227 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3228 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3229
3230 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3231 Add "PAGER=" to `process-environment'.
3232
f6561e1f
MM
32332012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3234
3235 * progmodes/sql.el: Bug fix
3236 (sql-get-login-ext): Save login values in globals.
3237 (sql-get-login): Use new version of `sql-get-login-ext'.
3238 (sql-interactive-mode): Set global `sql-connection' to nil.
3239 (sql-connect): Set global values for connection.
3240 (sql-product-interactive): Save global values as buffer local.
3241
2d44d9cc
LL
32422012-02-29 Leo Liu <sdl.web@gmail.com>
3243
3244 * abbrev.el (define-abbrevs): Reset sys to nil.
3245
96b49301 32462012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3247
bf7f9bc5
JB
3248 * files.el (file-equal-p): Rename from `files-equal-p'.
3249 Return nil when one or both files don't exist.
96b49301 3250 (file-subdir-of-p): Now only top directory must exists,
3251 return nil if it doesn't.
bf7f9bc5
JB
3252 (copy-directory): No need to test with `file-subdir-of-p' after
3253 creating dir.
3254 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3255 to `file-equal-p'.
96b49301 3256
44e97401
GM
32572012-02-28 Glenn Morris <rgm@gnu.org>
3258
3259 * shell.el (shell-mode):
3260 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3261 * play/landmark.el (landmark-font-lock-face-O):
3262 * play/handwrite.el (handwrite):
3263 * play/gomoku.el (gomoku-O):
3264 * net/browse-url.el (browse-url-browser-display):
3265 * international/mule.el (define-charset):
3266 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3267 * filesets.el (filesets-find-file-delay):
3268 * eshell/em-xtra.el (eshell-xtra):
3269 * eshell/em-unix.el (eshell-grep):
3270 * emulation/viper.el (viper-mode):
3271 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3272 * emacs-lisp/easymenu.el (easy-menu-define):
3273 * calendar/timeclock.el (timeclock-use-display-time):
3274 * bs.el (bs-mode):
3275 * bookmark.el (bookmark-save-flag):
3276 Doc fix (standardize possessive apostrophe usage).
3277
c98c6276
CY
32782012-02-27 Chong Yidong <cyd@gnu.org>
3279
bf7f9bc5
JB
3280 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3281 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3282
c98c6276
CY
3283 * font-lock.el (font-lock-specified-p): Rename from
3284 font-lock-spec-present. Callers changed.
3285
9c62cd04 32862012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3287
bf7f9bc5
JB
3288 * emacs-lisp/package.el (package-compute-transaction):
3289 Handle holding a package version to t in package-load-list.
8ac9e529 3290
530739c9
MA
32912012-02-26 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3294 (tramp-get-inode, tramp-get-device): Use cached values.
3295
487915d7
AM
32962012-02-26 Alan Mackenzie <acm@muc.de>
3297
3298 Check there is a font-lock specification before doing initial
3299 fontification.
3300
3301 * font-core.el (font-lock-mode): Move the conditional from
3302 :after-hook to font-lock-initial-fontify.
3303 (font-lock-default-function): Move the check for a specification
3304 to font-lock-spec-present.
3305
dc9924b8 3306 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3307 (font-lock-spec-present): New function.
3308
4fd96557
JB
33092012-02-26 Jim Blandy <jimb@red-bean.com>
3310
3311 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3312 (gdb-send): Apply it to the operand of the '-interpreter-exec
3313 console' command, so that we can pass arguments with (say) quotes
3314 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3315
9a4888c0
CY
33162012-02-26 Chong Yidong <cyd@gnu.org>
3317
07498861
CY
3318 * help-fns.el (describe-function-1): Clarify description of
3319 remapping (Bug#10844).
3320
9a4888c0
CY
3321 * files.el (files-equal-p): Doc fix.
3322 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3323 and quit the loop once a mismatch is found.
3324
ea8fb88d
JB
33252012-02-25 Juanma Barranquero <lekktu@gmail.com>
3326
3327 * bs.el (bs--show-with-configuration): Don't throw an error
3328 if the window cannot be split; otherwise, subsequent calls to
3329 bs-show fail, restoring a stale window config. (Bug#10882)
3330
525795c1
JD
33312012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3332
3333 * term/ns-win.el (global-map): Bind ns-drag-file to
3334 ns-find-file (Bug#5855, Bug#10050).
3335
f008086f
AS
33362012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3337
3338 * calendar/parse-time.el (parse-time-string): Allow extractor to
3339 return nil.
3340
a3fcfa99
MA
33412012-02-25 Michael Albinus <michael.albinus@gmx.de>
3342
91027d08
JB
3343 * net/tramp.el (tramp-file-name-for-operation):
3344 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3345
3346 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3347 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3348 Add COPY-CONTENTS argument.
a3fcfa99 3349
67b0de11
CY
33502012-02-25 Chong Yidong <cyd@gnu.org>
3351
3352 Add custom groups for VC backends, for consistency with vc-bzr.
3353
3354 * vc/vc-arch.el (vc-arch):
3355 * vc/vc-cvs.el (vc-cvs):
3356 * vc/vc-git.el (vc-git):
3357 * vc/vc-hg.el (vc-hg):
3358 * vc/vc-mtn.el (vc-mtn):
3359 * vc/vc-rcs.el (vc-rcs):
3360 * vc/vc-sccs.el (vc-sccs):
3361 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3362 All relevant defcustoms reassigned.
3363
3c9dfce6
CY
33642012-02-25 Chong Yidong <cyd@gnu.org>
3365
1339bf43
CY
3366 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3367
3c9dfce6
CY
3368 * term/x-win.el (x-initialize-window-system): Reduce default for
3369 x-selection-timeout to 5 seconds (Bug#8869).
3370
25b2e303 33712012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3372
ec70a47d
GM
3373 * files.el (files-equal-p, file-subdir-of-p): New functions.
3374 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3375 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3376 * dired-aux.el (dired-copy-file-recursive): Same.
3377 (dired-create-files): Modify destination when source is equal to
3378 dest when copying files.
53a46cd0 3379 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3380
914260cd
MA
33812012-02-24 Michael Albinus <michael.albinus@gmx.de>
3382
3383 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3384 (Bug#10874)
3385
2cb228f7
AM
33862012-02-23 Alan Mackenzie <acm@muc.de>
3387
3388 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3389 parameter "after-hook:" to allow the expansion to run code after
3390 the execution of the mode hooks.
3391
3392 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3393 from font-lock-mode-internal.
2cb228f7 3394
91027d08 3395 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3396 :after-hook.
3397
8f0fde21
SM
33982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3e88618b
SM
3400 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3401 (completion--cache-all-sorted-completions): New function.
3402 (completion-all-sorted-completions): Use it.
3403 (completion--do-completion, minibuffer-force-complete):
3404 Use it to re-instate the flush hook.
3405
8f0fde21
SM
3406 * icomplete.el (icomplete-completions): Replace last fix with a better
3407 one (bug#10850).
3408
8e911f6f
DG
34092012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3410
3411 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3412 when it might call us back infinitely (bug#10797).
3413
49fe4321
GM
34142012-02-23 Glenn Morris <rgm@gnu.org>
3415
3416 * minibuffer.el (completion-category-overrides): Doc fix.
3417
b291b572
SM
34182012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3421 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3422
31a9ef2e
GM
34232012-02-23 Glenn Morris <rgm@gnu.org>
3424
5e6e6794 3425 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3426 (authors-obsolete-files-regexps, authors-ignored-files)
3427 (authors-ambiguous-files, authors-renamed-files-alist):
3428 Add more entries.
3429
0bd1e074
JL
34302012-02-23 Juri Linkov <juri@jurta.org>
3431
3432 * isearch.el (isearch-occur): Sync interactive spec with occur's
3433 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3434
b617673c
JL
3435 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3436
19e9789e
JL
34372012-02-22 Juri Linkov <juri@jurta.org>
3438
3439 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3440 (ucs-insert): Doc fix. Check for hex digits in the string.
3441 Don't display `nil' in the error message. (Bug#10857)
3442
f41ce09d
AM
34432012-02-22 Alan Mackenzie <acm@muc.de>
3444
7a71b18d 3445 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3446
ac2eceee
GM
34472012-02-22 Glenn Morris <rgm@gnu.org>
3448
3449 * ffap.el (ffap-c-path):
3450 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3451
abd1f678
CY
34522012-02-22 Chong Yidong <cyd@gnu.org>
3453
3454 * custom.el (load-theme): Doc fix.
3455
f25aef2e
GM
34562012-02-22 Glenn Morris <rgm@gnu.org>
3457
3458 * dired-x.el (dired-guess-shell-alist-default):
3459 Remove escape sequences from nroff output. (Bug#172)
3460
5f8dc2ca
GM
34612012-02-21 Glenn Morris <rgm@gnu.org>
3462
6ff86ec4
GM
3463 * vc/emerge.el (emerge-defvar-local):
3464 Set `permanent-local' property rather than unused `preserved'.
3465
be3223a3 3466 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3467 (picture-mode-map): Use it. (Bug#10860)
3468 (picture-mode): Doc fix.
3469
3fe58f4f
JB
34702012-02-21 Juanma Barranquero <lekktu@gmail.com>
3471
3472 * newcomment.el (uncomment-region-default): Remove unused binding.
3473
f9a998c3
GM
34742012-02-21 Glenn Morris <rgm@gnu.org>
3475
3476 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3477 (picture-self-insert, picture-tab-chars): Doc fix.
3478 (picture-mode-map): Fix C-a, C-e.
3479
c6029348
GM
34802012-02-20 Glenn Morris <rgm@gnu.org>
3481
3482 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3483
ab1ce9d7
LL
34842012-02-20 Leo Liu <sdl.web@gmail.com>
3485
3486 * icomplete.el (icomplete-completions): Check FROM arg before
3487 passing to substring (Bug#10850).
3488
0fd40f89
CY
34892012-02-19 Chong Yidong <cyd@gnu.org>
3490
3491 * comint.el: Require ansi-color.
3492 (comint-output-filter-functions): Add ansi-color-process-output.
3493
3494 * ansi-color.el: Don't set comint-output-filter-functions; it is
3495 now in the initial value defined in comint.el.
3496 (ansi-color-apply-face-function): New variable.
3497 (ansi-color-apply-on-region): Use it.
3498 (ansi-color-apply-overlay-face): New function.
3499
3500 * shell.el (shell): No need to require ansi-color.
3501 (shell-mode): Use ansi-color-apply-face-function to highlight
3502 color escapes using font-lock-face property (Bug#10835).
3503
20af2394
CY
35042012-02-19 Chong Yidong <cyd@gnu.org>
3505
3506 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3507 mode-line formats (Bug#10839).
3508
e23a3fbe
GM
35092012-02-18 Glenn Morris <rgm@gnu.org>
3510
b474519e
GM
3511 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3512
3513 * mail/undigest.el (unforward-rmail-message): Doc fix.
3514
e23a3fbe
GM
3515 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3516
57939ff4
EZ
35172012-02-18 Eli Zaretskii <eliz@gnu.org>
3518
3519 * international/characters.el (script-list): Sync with the latest
3520 Unicode Character Database.
3521
0c23686e
AS
35222012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3523
3524 * international/titdic-cnv.el: Remove duplicate coding tag.
3525 * language/cham.el: Likewise.
3526 * language/tai-viet.el: Likewise.
3527
6818b449
GM
35282012-02-18 Glenn Morris <rgm@gnu.org>
3529
3530 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3531 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3532 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3533 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3534 * calendar/holidays.el (holiday-bahai-holidays)
3535 (calendar-holidays, list-holidays):
3536 Use utf-8 Bahá'í in doc-strings, menus, etc.
3537
0311a3fc
TH
35382012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3539
3540 * saveplace.el (save-place-ignore-files-regexp): New variable
3541 allowing for excluding files from saving their location of point.
3542 The default value matches the temporary commit message editing
3543 files from Git, SVN, Bazaar, and Mercurial.
3544 (save-place-to-alist): Use it.
3545
eb864a71
LM
35462012-02-17 Lawrence Mitchell <wence@gmx.li>
3547 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * newcomment.el (uncomment-region-default): Don't leave extra space
3550 when an arg is provided (bug#8150).
3551
ee0ce425
TZ
35522012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3553
eb864a71 3554 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3555
95ddf442
GM
35562012-02-17 Glenn Morris <rgm@gnu.org>
3557
3558 * net/socks.el: Require network-stream. (Bug#10599)
3559
48dd1e39 35602012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3561
3562 * international/charprop.el:
3563 * international/uni-name.el:
3564 * international/uni-old-name.el:
3565 * international/uni-comment.el: Regenerate.
3566
d68cd087
GM
35672012-02-16 Glenn Morris <rgm@gnu.org>
3568
3569 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3570 Interactively in calendar buffer, give an error if not on a date.
3571
13932042
GM
35722012-02-15 Glenn Morris <rgm@gnu.org>
3573
3574 * shell.el (shell-delimiter-argument-list):
3575 Revert 2011-02-17 change. (Bug#8027)
3576
c3a70e2b
CY
35772012-02-15 Chong Yidong <cyd@gnu.org>
3578
60236b0d
CY
3579 * minibuffer.el (completion-at-point-functions): Doc fix.
3580
c3a70e2b
CY
3581 * custom.el (defcustom): Doc fix; note use of defvar.
3582
9f26dc24
GM
35832012-02-15 Glenn Morris <rgm@gnu.org>
3584
3585 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3586 Doc fixes.
3587
6546b134
GM
35882012-02-14 Glenn Morris <rgm@gnu.org>
3589
3590 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3591
d29b2b4c
LI
35922012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3593
3594 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3595 way the ports list is computed.
835bdcba
LI
3596 (smtpmail-query-smtp-server): Prompt the user for a port number if
3597 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3598
08dcdbc9
TZ
35992012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3600
3601 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3602
2605051a
GM
36032012-02-13 Glenn Morris <rgm@gnu.org>
3604
3605 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3606
7ee99f32
TZ
36072012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3608
3609 * net/gnutls.el (gnutls-trustfiles): New variable.
3610 (gnutls-negotiate): Use it.
3611
5f0af64f
LI
36122012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3613
3614 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3615 does its stuff if Gnus is running.
3616
c14fcc95
AM
36172012-02-13 Alan Mackenzie <acm@muc.de>
3618
3619 Fix a loop in c-set-fl-decl-start.
3620
7a71b18d 3621 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3622 c-backward-syntactic-ws actually moves backwards.
3623
142b4d90
LL
36242012-02-13 Leo Liu <sdl.web@gmail.com>
3625
3626 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3627 beginning so that all \C-o chars are removed.
3628
fa9958a6
TZ
36292012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3630
dc9924b8 3631 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3632
0bc5886a
AM
36332012-02-12 Alan Mackenzie <acm@muc.de>
3634
3635 Fix infinite loop with long macros.
4d6769e1 3636 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3637
d4bd55e7
CY
36382012-02-12 Chong Yidong <cyd@gnu.org>
3639
3640 * window.el (display-buffer): Doc fix (Bug#10785).
3641
66f3fe22
GM
36422012-02-12 Glenn Morris <rgm@gnu.org>
3643
bd7da63e
GM
3644 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3645 (x-disown-selection-internal, x-get-selection-internal):
3646 Sync docs with the xselect.c versions.
3647
66f3fe22
GM
3648 * allout-widgets.el: Add missing license notice.
3649
3e0d2fa7
GM
36502012-02-11 Glenn Morris <rgm@gnu.org>
3651
cfecdf09
GM
3652 * select.el (x-get-selection-internal, x-own-selection-internal)
3653 (x-disown-selection-internal):
3654 * x-dnd.el (x-get-selection-internal): Update declarations.
3655
6d216d7f
GM
3656 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3657
2bed3f04
GM
3658 * window.el (window-sides-slots):
3659 * tool-bar.el (tool-bar-position):
3660 * term/xterm.el (xterm-extra-capabilities):
3661 * ses.el (ses-self-reference-early-detection):
3662 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3663 (verilog-auto-wire-type)
3664 (verilog-auto-delete-trailing-whitespace)
3665 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3666 (verilog-auto-tieoff-declaration):
3667 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3668 (sql-oracle-statement-starters, sql-oracle-scan-on):
3669 * progmodes/prolog.el (prolog-align-comments-flag)
3670 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3671 (prolog-left-indent-regexp, prolog-paren-indent-p)
3672 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3673 (prolog-types, prolog-mode-specificators)
3674 (prolog-determinism-specificators, prolog-directives)
3675 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3676 (prolog-electric-dot-flag)
3677 (prolog-electric-dot-full-predicate-template)
3678 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3679 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3680 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3681 (prolog-program-switches, prolog-prompt-regexp)
3682 (prolog-debug-on-string, prolog-debug-off-string)
3683 (prolog-trace-on-string, prolog-trace-off-string)
3684 (prolog-zip-on-string, prolog-zip-off-string)
3685 (prolog-use-standard-consult-compile-method-flag)
3686 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3687 (prolog-imenu-max-lines, prolog-info-predicate-index)
3688 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3689 (prolog-char-quote-workaround):
3690 * progmodes/cc-vars.el (c-defun-tactic):
3691 * net/tramp.el (tramp-encoding-command-interactive)
3692 (tramp-local-end-of-line):
3693 * net/soap-client.el (soap-client):
3694 * net/netrc.el (netrc-file):
3695 * net/gnutls.el (gnutls):
3696 * minibuffer.el (completion-category-overrides)
3697 (completion-cycle-threshold)
3698 (completion-pcm-complete-word-inserts-delimiters):
3699 * man.el (Man-name-local-regexp):
3700 * mail/feedmail.el (feedmail-display-full-frame):
3701 * international/characters.el (glyphless-char-display-control):
3702 * eshell/em-ls.el (eshell-ls-date-format):
3703 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3704 (lisp-lambda-list-keyword-parameter-indentation)
3705 (lisp-lambda-list-keyword-parameter-alignment):
3706 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3707 * dired-x.el (dired-omit-verbose):
3708 * cus-theme.el (custom-theme-allow-multiple-selections):
3709 * calc/calc.el (calc-highlight-selections-with-faces)
3710 (calc-lu-field-reference, calc-lu-power-reference)
3711 (calc-note-threshold):
3712 * battery.el (battery-mode-line-limit):
3713 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3714 (archive-7z-update):
3715 * allout.el (allout-prefixed-keybindings)
3716 (allout-unprefixed-keybindings)
3717 (allout-inhibit-auto-fill-on-headline)
3718 (allout-flattened-numbering-abbreviation):
3719 * allout-widgets.el (allout-widgets-auto-activation)
3720 (allout-widgets-icons-dark-subdir)
3721 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3722 (allout-widgets-theme-dark-background)
3723 (allout-widgets-theme-light-background)
3724 (allout-widgets-item-image-properties-emacs)
3725 (allout-widgets-item-image-properties-xemacs)
3726 (allout-widgets-run-unit-tests-on-load)
3727 (allout-widgets-time-decoration-activity)
3728 (allout-widgets-hook-error-post-time)
3729 (allout-widgets-track-decoration):
3730 Add missing :version tags to new defcustoms and defgroups.
3731
5fec1b8e
GM
3732 * progmodes/sql.el (sql-ansi-statement-starters)
3733 (sql-oracle-statement-starters): Add custom type.
3734
3e0d2fa7
GM
3735 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3736 (prolog-system-version): Give it a type.
3737
90b671e2
EZ
37382012-02-11 Eli Zaretskii <eliz@gnu.org>
3739
3740 * term/pc-win.el (x-select-text, x-selection-owner-p)
3741 (x-own-selection-internal, x-disown-selection-internal)
3742 (x-get-selection-internal): Sync doc strings and argument lists
3743 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3744
5eac0c02
LL
37452012-02-11 Leo Liu <sdl.web@gmail.com>
3746
3747 * progmodes/python.el (python-end-of-statement): Fix infinite
3748 loop. (Bug#10788)
3749
f82cb659
GM
37502012-02-10 Glenn Morris <rgm@gnu.org>
3751
3752 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3753 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3754
cc26d239
LI
37552012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3756
3757 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3758 about SMTP before checking the From header.
3759
91027d08 3760 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3761 into own function for reuse by emacsbug.el.
3762
1be3ca5a
LL
37632012-02-10 Leo Liu <sdl.web@gmail.com>
3764
3765 * subr.el (condition-case-unless-debug): Rename from
3766 condition-case-no-debug. All callers changed.
3767 (with-demoted-errors): Fix caller.
3768
3769 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3770 * nxml/rng-valid.el (rng-do-some-validation):
3771 * emacs-lisp/package.el (package-refresh-contents)
3772 (package-menu-execute):
3773 * desktop.el (desktop-create-buffer):
91027d08 3774 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3775
b011fbfe
GM
37762012-02-10 Glenn Morris <rgm@gnu.org>
3777
b2096d72
GM
3778 * textmodes/bibtex.el:
3779 Add missing :version tags for new/changed defcustoms.
3780
b011fbfe
GM
3781 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3782
4c7e65bf
LI
37832012-02-09 Lars Ingebrigtsen <larsi@rusty>
3784
3785 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3786 (smtpmail-via-smtp): Use it, or fall back on the From address.
3787 (smtpmail-send-it): Ditto.
3788
f3934f6f
SM
37892012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3792 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3793 (byte-compile-tmp-var): New const.
3794 (byte-compile-defvar): Use it to minimize .elc size.
3795 Just use `defvar' rather than simulate it (bug#10761).
3796
a075a2c5
GM
37972012-02-09 Glenn Morris <rgm@gnu.org>
3798
cf3aa21b
GM
3799 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3800
354998cd
GM
3801 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3802 Add :version tags.
3803
dc9924b8
SM
3804 * progmodes/compile.el (compilation-error-screen-columns)
3805 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3806
dab3703d
GM
3807 * vc/log-view.el (log-view-toggle-entry-display):
3808 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3809
3f88cd72
GM
3810 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3811 (report-emacs-bug-can-use-xdg-email):
3812 (report-emacs-bug-insert-to-mailer): Doc fixes.
3813 (report-emacs-bug): Message fix.
3814
d95b247d
GM
3815 * net/browse-url.el (browse-url-can-use-xdg-open)
3816 (browse-url-xdg-open): Doc fixes.
3817
a075a2c5
GM
3818 * electric.el (electric-indent-mode, electric-pair-mode)
3819 (electric-layout-rules, electric-layout-mode): Doc fixes.
3820 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3821
ffb6157e
MR
38222012-02-08 Martin Rudalics <rudalics@gmx.at>
3823
3824 * server.el (server-unselect-display): Don't inadvertently kill
3825 the current buffer. (Bug#10729)
3826
e1ac4066
GM
38272012-02-08 Glenn Morris <rgm@gnu.org>
3828
34e8a2da
GM
3829 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3830 (sql-list-table): Doc fixes.
3831
b4ac6e8c
GM
3832 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3833 Comment out (does nothing).
3834
e1ac4066
GM
3835 * completion.el (dynamic-completion-mode):
3836 * dirtrack.el (dirtrack-debug-mode):
3837 * electric.el (electric-layout-mode):
3838 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3839 * face-remap.el (text-scale-mode, buffer-face-mode):
3840 * iimage.el (iimage-mode):
3841 * image-mode.el (image-transform-mode):
3842 * minibuffer.el (completion-in-region-mode):
3843 * scroll-lock.el (scroll-lock-mode):
3844 * simple.el (next-error-follow-minor-mode):
3845 * tar-mode.el (tar-subfile-mode):
3846 * tooltip.el (tooltip-mode):
3847 * vcursor.el (vcursor-use-vcursor-map):
3848 * wid-browse.el (widget-minor-mode):
3849 * emulation/tpu-edt.el (tpu-edt-mode):
3850 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3851 * international/iso-ascii.el (iso-ascii-mode):
3852 * language/thai-util.el (thai-word-mode):
3853 * mail/supercite.el (sc-minor-mode):
3854 * net/goto-addr.el (goto-address-mode):
3855 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3856 * progmodes/cwarn.el (cwarn-mode):
3857 * progmodes/flymake.el (flymake-mode):
3858 * progmodes/glasses.el (glasses-mode):
3859 * progmodes/hideshow.el (hs-minor-mode):
3860 * progmodes/pascal.el (pascal-outline-mode):
3861 * textmodes/enriched.el (enriched-mode):
3862 * vc/smerge-mode.el (smerge-mode):
3863 Doc fixes (minor mode argument).
3864
5e0d957f
EZ
38652012-02-07 Eli Zaretskii <eliz@gnu.org>
3866
3867 * ls-lisp.el (ls-lisp-sanitize): New function.
3868 (ls-lisp-insert-directory): Use it to fix or remove any elements
3869 in file-alist with missing attributes. (Bug#4673)
3870
98d7371e
AM
38712012-02-07 Alan Mackenzie <acm@muc.de>
3872
3873 Fix spurious recognition of c-in-knr-argdecl.
3874
3875 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3876 putative K&R region.
3877
667ced3a
AM
38782012-02-07 Alan Mackenzie <acm@muc.de>
3879
eb864a71
LM
3880 * progmodes/cc-engine.el (c-forward-objc-directive):
3881 Prevent looping in "#pragma mark @implementation".
667ced3a 3882
5b77774d
MA
38832012-02-07 Michael Albinus <michael.albinus@gmx.de>
3884
3885 * notifications.el (notifications-on-closed-signal): Make `reason'
3886 optional. (Bug#10744)
3887
af008560
GM
38882012-02-07 Glenn Morris <rgm@gnu.org>
3889
60d47423
GM
3890 * emacs-lisp/easy-mmode.el (define-minor-mode):
3891 Doc fixes for the macro and the mode it defines.
3892
dd605cc4
GM
3893 * image.el (imagemagick-types-inhibit): Doc fix.
3894
af008560
GM
3895 * cus-start.el (imagemagick-render-type): Add it.
3896
5cc59a37
LI
38972012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3898
4d6769e1
JB
3899 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3900 Set the default at load time, too, so that `font-lock-fontify-buffer'
3901 can be called without setting up the entire mode first. This fixes
3902 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3903
9a6dd747
CY
39042012-02-06 Chong Yidong <cyd@gnu.org>
3905
2d16b285
CY
3906 * simple.el (list-processes--refresh): Delete exited processes
3907 (Bug#8094).
3908
171e9b6e
CY
3909 * comint.el (comint-next-prompt): next-single-char-property-change
3910 and prev-single-char-property-change never return nil (Bug#8657).
3911
9a6dd747
CY
3912 * custom.el (defcustom): Doc fix (Bug#9711).
3913
aa4589a7
CY
39142012-02-05 Chong Yidong <cyd@gnu.org>
3915
5c2a252f
CY
3916 * cus-edit.el (custom-variable-reset-backup): Quote the value
3917 before storing it in the customized-value property (Bug#6712).
4aab9006 3918 (custom-display): Add a customization type tag.
983b9602 3919 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3920
aa4589a7
CY
3921 * wid-edit.el (widget-field-value-get): New optional arg to
3922 suppress trailing whitespace truncation.
3923 (character): Use it (Bug#2689).
3924
1ff980ae
AS
39252012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3926
3927 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3928 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3929
03988c98
CY
39302012-02-05 Chong Yidong <cyd@gnu.org>
3931
eeb6cc88
CY
3932 * cus-edit.el (custom-variable-value-create): For mismatched
3933 types, show the current value (Bug#7600).
3934
03988c98
CY
3935 * custom.el (defcustom): Doc fix.
3936
f8cdeef0
GM
39372012-02-05 Glenn Morris <rgm@gnu.org>
3938
3939 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3940
0696d255
JB
39412012-02-05 Juanma Barranquero <lekktu@gmail.com>
3942
3943 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3944 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3945 (pp-last-sexp): Use `looking-at-p'.
3946
34c99998
GM
39472012-02-04 Glenn Morris <rgm@gnu.org>
3948
8f05da42
GM
3949 * files.el (revert-buffer):
3950 Doc fix (mention revert-buffer-in-progress-p).
3951
f160676e
GM
3952 * emacs-lisp/ert-x.el (ert-simulate-command):
3953 Check deferred-action-list (which is obsolete) is bound.
3954
c7291ad9
GM
3955 * subr.el (with-wrapper-hook): Doc fixes.
3956
34c99998
GM
3957 * simple.el (filter-buffer-substring-functions)
3958 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3959
6283a7d3
LL
39602012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3961
3962 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3963 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3964
e96e3013
LL
39652012-02-04 Leo Liu <sdl.web@gmail.com>
3966
3967 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3968
8ded50f2
GM
39692012-02-04 Glenn Morris <rgm@gnu.org>
3970
82ff1d13
GM
3971 * image.el (image-extension-data): Add obsolete alias.
3972
987a0a16
GM
3973 * isearch.el (isearch-update): Doc fix.
3974
ea32ef46
GM
3975 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3976
8ded50f2
GM
3977 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3978
eea14f31
GM
39792012-02-03 Glenn Morris <rgm@gnu.org>
3980
3981 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3982 (image-animate-timeout): Doc fix.
3983
3984 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3985
12f381b7
GM
39862012-02-02 Glenn Morris <rgm@gnu.org>
3987
953cebf5
GM
3988 * server.el (server-auth-dir): Doc fix.
3989 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3990
12f381b7
GM
3991 * subr.el (run-mode-hooks): Doc fix.
3992
953a8c3b
JL
39932012-02-02 Juri Linkov <juri@jurta.org>
3994
3995 * image-mode.el (image-toggle-display-image): Remove tautological
3996 `major-mode' from the `derived-mode-p' test.
3997
c5d3843c
KH
39982012-02-02 Kenichi Handa <handa@m17n.org>
3999
9f6e692e 4000 * composite.el (compose-region): Cancel previous change.
c5d3843c 4001
159462d4 40022012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4003
4004 * composite.el (compose-region, compose-string): Signal error for
4005 a null string component (Bug#6988).
4006
9f562668
CY
40072012-02-01 Chong Yidong <cyd@gnu.org>
4008
e2cef717
CY
4009 * view.el (view-buffer-other-window, view-buffer-other-frame):
4010 Handle special modes like view-buffer (Bug#10650).
4011 (view-buffer): Simplify.
4012
9f562668
CY
4013 * frame.el (set-frame-font): Tweak meaning of third argument.
4014
9f6e692e
JB
4015 * dynamic-setting.el (font-setting-change-default-font):
4016 Use set-frame-font (Bug#9982).
9f562668 4017
781acb9f
GM
40182012-02-01 Glenn Morris <rgm@gnu.org>
4019
6035be52
GM
4020 * progmodes/compile.el (compilation-internal-error-properties):
4021 Respect compilation-first-column in the "*compilation*" buffer.
4022
781acb9f
GM
4023 * emacs-lisp/easy-mmode.el (define-minor-mode):
4024 Relax :variable's test for a named function.
4025
abbceb00
AM
40262012-01-31 Alan Mackenzie <acm@muc.de>
4027
4028 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4029 off by one error.
4030
fce3fdeb
CY
40312012-01-31 Chong Yidong <cyd@gnu.org>
4032
4033 * frame.el (set-frame-font): New arg ALL-FRAMES.
4034
4035 * menu-bar.el (menu-set-font): Use set-frame-font.
4036
4037 * faces.el (face-spec-reset-face): Don't apply unspecified
4038 attribute values to the default face.
4039
47893581
JB
40402012-01-31 Juanma Barranquero <lekktu@gmail.com>
4041
4042 * progmodes/cwarn.el (cwarn): Remove dead link.
4043 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4044 Remove * from defcustom docstrings.
4045 (turn-on-cwarn-mode): Make obsolete.
4046 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4047 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4048
e58e988a
GM
40492012-01-31 Glenn Morris <rgm@gnu.org>
4050
60dc2671 4051 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4052 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4053 Allow named functions to be used as the cdr of :variable.
e58e988a 4054
7a3f511d
GM
40552012-01-30 Glenn Morris <rgm@gnu.org>
4056
4057 * emacs-lisp/authors.el (authors-fixed-entries):
4058 Remove reference to deleted file rnewspost.el.
4059
cb882333
JB
40602012-01-29 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * window.el (window-with-parameter): Remove unused variable `windows'.
4063 (window--side-check): Remove unused variable `code'.
4064 (window--resize-siblings): Remove unused variable `first'.
4065 (adjust-window-trailing-edge): Remove unused variable `failed'.
4066 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4067 Use `let', not `let*'.
4068 (balance-windows-2): Remove unused variable `found'.
4069 (window--state-put-2): Remove unused variable `splits'.
4070 (window-state-put): Remove unused variable `selected'.
4071 (same-window-p): Use `string-match-p'.
4072 (display-buffer-assq-regexp): Remove unused variable `value'.
4073 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4074 Mark argument ALIST as ignored.
4075 (pop-to-buffer): Remove unused variable `old-window'.
4076
907201af
EZ
40772012-01-29 Eli Zaretskii <eliz@gnu.org>
4078
4079 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4080 and .lzma compressed files.
4081
ea162670
CY
40822012-01-29 Chong Yidong <cyd@gnu.org>
4083
5b95ee8a
CY
4084 * frame.el (window-system-default-frame-alist): Doc fix.
4085
ea162670
CY
4086 * dynamic-setting.el (font-setting-change-default-font): Don't
4087 change the default face if SET-FONT argument is non-nil (Bug#9982).
4088
d6e6f4b1
SB
40892012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4090
4091 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4092
0f29fa41 40932012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4094
4095 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4096 breakpoints in files outside current directory (Bug#6098).
4097
db174434
CY
40982012-01-29 Chong Yidong <cyd@gnu.org>
4099
6b25e4e2
SE
4100 * progmodes/python.el: Require ansi-color at top-level.
4101
6df6ae42
JB
4102 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4103 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4104 (lisp-mode-abbrev-table): Add doc.
4105 (lisp-mode-variables): Don't set local-abbrev-table.
4106 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4107
e70ee681
RW
41082012-01-28 Roland Winkler <winkler@gnu.org>
4109
4110 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4111
ace88aa2
RW
41122012-01-28 Roland Winkler <winkler@gnu.org>
4113
4114 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4115 (bibtex-set-dialect): Use it. Either set global values of
4116 dialect-dependent variables or bind these variables buffer-locally
4117 (Bug#10254).
4118 (bibtex-mode): Call bibtex-set-dialect via
4119 hack-local-variables-hook.
eb864a71
LM
4120 (bibtex-dialect): Update docstring.
4121 Add safe-local-variable predicate.
ace88aa2
RW
4122 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4123 bibtex-set-dialect.
4124 (bibtex-mode-map): Define menu for each dialect.
4125 (bibtex-entry): Fix docstring.
4126
93376c5b
CY
41272012-01-28 Chong Yidong <cyd@gnu.org>
4128
4129 * eshell/esh-arg.el (eshell-quote-argument): New function.
4130
4131 * eshell/esh-ext.el (eshell-invoke-batch-file):
4132 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4133 first arg to eshell-parse-command (Bug#10523).
4134
4372494f
DA
41352012-01-28 Drew Adams <drew.adams@oracle.com>
4136
4137 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4138 `default-directory' is non-nil.
4139
4d4ec1f8
EZ
41402012-01-28 Eli Zaretskii <eliz@gnu.org>
4141
4142 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4143 line that displays system-configuration-options. (Bug#9924)
4144
7c188927
DA
41452012-01-28 Drew Adams <drew.adams@oracle.com>
4146
4147 * descr-text.el (describe-char): Show information about POS, in
4148 addition to information about the character at POS. Improve and
4149 update the doc string. Change "code point" to "code point in
4150 charset", to avoid confusion with the character's Unicode code
4151 point shown above that. (Bug#10129)
4152
e0da685a
EZ
41532012-01-28 Eli Zaretskii <eliz@gnu.org>
4154
4155 * descr-text.el (describe-char): Show the raw character, not only
4156 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4157 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4158 for the reasons.
4159
70550acf
PH
41602012-01-28 Phil Hagelberg <phil@hagelb.org>
4161
eb864a71
LM
4162 * emacs-lisp/package.el (package-install):
4163 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4164
0ce8e868
CY
41652012-01-28 Chong Yidong <cyd@gnu.org>
4166
cb882333
JB
4167 * emacs-lisp/package.el (package-maybe-load-descriptor):
4168 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4169 (package-maybe-load-descriptor): Use it.
4170 (package-download-transaction): Fully load required packages
4171 inside the loop, so that `require' calls work (Bug#10593).
4172 (package-install): No need to call package-initialize now.
4173
2e7f3bea
CY
41742012-01-28 Chong Yidong <cyd@gnu.org>
4175
6e9bad14
CY
4176 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4177
f823b8ca
CY
4178 * tooltip.el (tooltip-mode): Doc fix.
4179 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4180
2680c309
CY
4181 * frame.el (set-cursor-color): Doc fix (Bug#352).
4182
d7a9e63b
CY
4183 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4184 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4185
2e7f3bea
CY
4186 * cus-edit.el (custom-buffer-create-internal): Fix search button
4187 action (Bug#10542).
2ae01800 4188 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4189
fc4f7a23
EW
41902012-01-27 Eduard Wiebe <usenet@pusto.de>
4191
4192 * dired.el (dired-mark-files-regexp):
4193 Include any subdirectory components. (Bug#10445)
4194
7dd37071
ML
41952012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4196
4197 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4198 Handle [host]:port syntax. (Bug#10533)
4199
a268160b
AH
42002012-01-27 Alex Harsanyi <harsanyi@mac.com>
4201
4202 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4203
e43273ef
GM
42042012-01-26 Glenn Morris <rgm@gnu.org>
4205
4206 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4207 * term.el (term-raw-escape-map): Use Control-X-prefix.
4208 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4209
1edf595d
MR
42102012-01-25 Martin Rudalics <rudalics@gmx.at>
4211
4212 * window.el (window-state-get, window--state-get-1): Don't deal
4213 with fixed-sizeness of windows. Simplify code.
4214
fa8eafef
JC
42152012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4216
6df6ae42
JB
4217 * window.el (window--state-get-1, window--state-put-2):
4218 Don't save and restore the mark.
fa8eafef 4219
0b21c100
CY
42202012-01-25 Chong Yidong <cyd@gnu.org>
4221
4222 * custom.el (custom-variable-p): Doc fix.
4223
5ae1a6c8
GM
42242012-01-25 Glenn Morris <rgm@gnu.org>
4225
40047858
GM
4226 * dired.el (dired-goto-file): Handle some of the more common
4227 characters that `ls -b' escapes. (Bug#10596)
4228
5ddce96c
GM
4229 * progmodes/compile.el (compilation-next-error-function):
4230 Respect compilation-first-column in the "*compilation*" buffer.
4231 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4232
5ae1a6c8
GM
4233 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4234
b559f1a9
GM
42352012-01-24 Glenn Morris <rgm@gnu.org>
4236
4237 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4238
6725d21a
JD
42392012-01-24 Julien Danjou <julien@danjou.info>
4240
4241 * color.el (color-rgb-to-hsl): Fix value computing.
4242 (color-hue-to-rgb): New function.
4243 (color-hsl-to-rgb): New function.
4244 (color-clamp, color-saturate-hsl, color-saturate-name)
4245 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4246 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4247
70df4bbe
GM
42482012-01-24 Glenn Morris <rgm@gnu.org>
4249
4250 * vc/vc-rcs.el (vc-rcs-create-tag):
4251 * vc/vc-sccs.el (vc-sccs-create-tag):
4252 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4253
802a2ae2
ML
42542012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4255
4256 * eshell/esh-util.el (eshell-read-hosts-file):
4257 Skip comment lines. (Bug#10549)
4258
d7128bb1
ML
4259 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4260
d1a5c3b4
JB
42612012-01-23 Juanma Barranquero <lekktu@gmail.com>
4262
2724d9c7
JB
4263 * subr.el (display-delayed-warnings): Doc fix.
4264 (collapse-delayed-warnings): New function to collapse identical
4265 adjacent warnings.
4266 (delayed-warnings-hook): Add it.
d1a5c3b4 4267
a5509865
MA
42682012-01-22 Michael Albinus <michael.albinus@gmx.de>
4269
4270 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4271
4272 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4273 properties, when "login-as" is set.
4274
4275 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4276 (tramp-default-user-alist): Don't add "pscp".
4277 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4278 property "login-as", if set. (Bug#10530)
4279
cc6d5805
MA
42802012-01-21 Michael Albinus <michael.albinus@gmx.de>
4281
4282 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4283 "plink1" and "psftp". (Bug#10530)
4284
42852012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4286
4287 * international/mule-cmds.el (prefer-coding-system): Show a
4288 warning message if the default value of file-name-coding-system
4289 was not changed.
4290
f0960428
JC
42912012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4292
cb882333
JB
4293 * windmove.el (windmove-reference-loc):
4294 Fix windmove-reference-loc miscalculation.
f0960428 4295
dd6f2a63
JB
42962012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4297
4298 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4299 default unit.
4300
7b447e9b
GM
43012012-01-21 Glenn Morris <rgm@gnu.org>
4302
117a9ea1
GM
4303 * international/mule.el (auto-coding-alist): Add .tbz.
4304
7b447e9b
GM
4305 * files.el (local-enable-local-variables): Doc fix.
4306 (inhibit-local-variables-regexps): Rename from
4307 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4308 Doc fix. Add some extensions from auto-coding-alist.
4309 (inhibit-local-variables-suffixes):
4310 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4311 (inhibit-local-variables-p):
4312 New function, extracted from set-auto-mode-1.
4313 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4314 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4315 (hack-local-variables): Doc fix. Make the mode-only case
4316 respect enable-local-variables and friends.
4317 Respect inhibit-local-variables-regexps for file-locals, but
4318 not for directory-locals.
4319 (set-visited-file-name):
4320 Take account of inhibit-local-variables-regexps.
4321 Whether it applies may change as the file name is changed.
4322 * jka-cmpr-hook.el (jka-compr-install):
4323 * jka-compr.el (jka-compr-uninstall):
4324 Update for inhibit-first-line-modes-suffixes name change.
4325
dd6e3cdd
MR
43262012-01-20 Martin Rudalics <rudalics@gmx.at>
4327
4328 * help-macro.el (make-help-screen): Temporarily restore original
4329 binding for minor-mode-map-alist (Bug#10454).
4330
0d0deb38
JD
43312012-01-19 Julien Danjou <julien@danjou.info>
4332
4333 * color.el (color-name-to-rgb): Use the white color to find the max
4334 color component value and return correctly computed values.
4335 (color-name-to-rgb): Add missing float conversion for max value.
4336
34a02f46
MR
43372012-01-19 Martin Rudalics <rudalics@gmx.at>
4338
4339 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4340 special state value for window-persistent-parameters.
4341 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4342 (window--state-put-2): Reset all window parameters to nil before
4343 assigning values of persistent parameters.
4344
606c44c4
AM
43452012-01-18 Alan Mackenzie <acm@muc.de>
4346
4347 Eliminate sluggishness and hangs in fontification of "semicolon
4348 deserts".
4349
cb882333
JB
4350 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4351 Change value 10000 -> 3000.
606c44c4
AM
4352 (c-state-safe-place): Reformulate so it doesn't stack up an
4353 infinite number of wrong entries in c-state-nonlit-pos-cache.
4354 (c-determine-limit-get-base, c-determine-limit): New functions to
4355 determine backward search limits disregarding literals.
4356 (c-find-decl-spots): Amend commenting.
4357 (c-cheap-inside-bracelist-p): New function which detects "={".
4358
4359 * progmodes/cc-fonts.el
4360 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4361 backward search.
4362 (c-font-lock-declarations): Fix an occurrence of point being
4363 undefined. Check additionally for point being in a bracelist or
4364 near a macro invocation without a semicolon so as to avoid a
4365 fruitless time consuming search for a declarator. Give a more
4366 precise search limit for declarators using the new
4367 c-determine-limit.
4368
f3860cea
GM
43692012-01-18 Glenn Morris <rgm@gnu.org>
4370
4371 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4372 (set-auto-mode): Doc fixes.
4373
1db03b16
GM
43742012-01-17 Glenn Morris <rgm@gnu.org>
4375
0e6038be
GM
4376 * isearch.el (search-nonincremental-instead): Fix doc typo.
4377
1db03b16
GM
4378 * dired.el (dired-insert-directory): Handle newlines in directory name.
4379 (dired-build-subdir-alist): Unescape newlines in directory name.
4380
4cb0aa75
MA
43812012-01-17 Michael Albinus <michael.albinus@gmx.de>
4382
4383 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4384 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4385 (tramp-action-terminal): Use it. (Bug#10530)
4386
1d00653d
SM
43872012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4390
6a6ee00d
MR
43912012-01-16 Martin Rudalics <rudalics@gmx.at>
4392
4393 * window.el (window-state-ignored-parameters): Remove variable.
4394 (window--state-get-1): Rename argument MARKERS to IGNORE.
4395 Handle persistent window parameters. Make copy of clone-of
4396 parameter only if requested. (Bug#10348)
4397 (window--state-put-2): Install a window parameter only if it has
4398 a non-nil value or an existing parameter shall be overwritten.
4399
97912def
MA
44002012-01-15 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4403
688070a5
EZ
44042012-01-14 Eli Zaretskii <eliz@gnu.org>
4405
4406 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4407 don't pass the (nil) value of `upnode' to string-match.
4408
301afadc
CY
44092012-01-14 Chong Yidong <cyd@gnu.org>
4410
4411 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4412 Fix values recognized by the cursorBlink resource.
301afadc 4413
9e5788aa
PE
44142012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4415
4416 * epg.el (epg--make-temp-file): Avoid permission race condition
4417 when running on old Emacs versions (bug#10403).
4418
3cdb7f5a
GM
44192012-01-14 Glenn Morris <rgm@gnu.org>
4420
4421 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4422
8c82b1b4
AM
44232012-01-13 Alan Mackenzie <acm@muc.de>
4424
4425 Fix filling for when filladapt mode is enabled.
4426
4427 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4428 c-mask-paragraph, pass in `fill-paragraph' rather than
4429 `fill-region-as-paragraph'. (This is a reversion of a previous
4430 change.)
eb864a71
LM
4431 * progmodes/cc-mode.el (c-basic-common-init):
4432 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4433
e517eda4
GM
44342012-01-13 Glenn Morris <rgm@gnu.org>
4435
1498536e
GM
4436 * dired.el (dired-switches-escape-p): New function.
4437 (dired-insert-directory): Use dired-switches-escape-p.
4438 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4439
e517eda4
GM
4440 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4441
328f984d
GM
44422012-01-12 Glenn Morris <rgm@gnu.org>
4443
4444 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4445 changes in adaptive-fill-regexp. (Bug#10276)
4446
2cc769a8
AM
44472012-01-11 Alan Mackenzie <acm@muc.de>
4448
4449 Fix Emacs bug #10463 - put `widen's around the critical spots.
4450
1d00653d 4451 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4452 widen around each invocation of c-state-pp-to-literal. Remove an
4453 unused let variable.
4454
e52c37fa
GM
44552012-01-11 Glenn Morris <rgm@gnu.org>
4456
4457 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4458 Doc fix.
e52c37fa 4459
96f8741e
CY
44602012-01-10 Chong Yidong <cyd@gnu.org>
4461
1d00653d
SM
4462 * net/network-stream.el (network-stream-open-starttls):
4463 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4464 response to the capability command.
4465
b09a806e
GM
44662012-01-10 Glenn Morris <rgm@gnu.org>
4467
4468 * mail/unrmail.el (unrmail): Tweak previous change.
4469
7655cb66
CY
44702012-01-09 Chong Yidong <cyd@gnu.org>
4471
4472 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4473
9d5a8f0b
AM
44742012-01-08 Alan Mackenzie <acm@muc.de>
4475
4476 Optimise font locking in long enum definitions.
4477
4478 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4479 arm to a cond form to handle enums.
4480 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4481 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4482
9a0115ab 44832012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4484
4485 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4486 (Bug#10401)
6bb72cbd 4487
f186bb95
LMI
44882012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4489
29232a68
LMI
4490 * faces.el (set-face-attribute): Clarify the meaning of the nil
4491 frame (bug#10294).
4492
4e5d086d
LMI
4493 * subr.el (with-selected-frame): Mention that the selected frame
4494 is restored (bug#9980).
4495
8e66aebe
LMI
4496 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4497 (bug#9759).
4498
cd394be1 4499 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4500 (password-read): Don't autoload unused function.
4501
adf4e762
JB
45022012-01-07 Juanma Barranquero <lekktu@gmail.com>
4503
4504 * progmodes/which-func.el (which-func-mode): Turn into a
4505 non-interactive function and mark as obsolete (bug#10428).
4506
89bd9ccd
CY
45072012-01-06 Chong Yidong <cyd@gnu.org>
4508
4509 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4510 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4511 functions, along with 1 and -1.
4512
4afee9d5
EZ
45132012-01-06 Eli Zaretskii <eliz@gnu.org>
4514
4515 * time.el (display-time-load-average)
4516 (display-time-default-load-average): Doc fixes. See the thread
4517 starting at
4518 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4519 for the details.
4520
536aea70
GM
45212012-01-06 Glenn Morris <rgm@gnu.org>
4522
665ae865
GM
4523 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4524 has no messages. (Bug#10377)
4525
c869783d
GM
4526 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4527 than Info-edit. (Bug#10385)
4528
2bb4227e
GM
4529 * time.el (display-time-load-average, display-time-next-load-average):
4530 Doc fixes.
4531
7d5944b9
GM
4532 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4533 local setting of buffer-read-only to the input buffer. (Bug#10419)
4534
536aea70
GM
4535 * calendar/calendar.el (calendar-mode):
4536 Locally set scroll-margin to 0. (Bug#10379)
4537
7dccca16
UM
45382012-01-06 Ulrich Mueller <ulm@gentoo.org>
4539
4540 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4541
afbb7930
GM
45422012-01-05 Glenn Morris <rgm@gnu.org>
4543
4544 * eshell/em-unix.el (diff-no-select): Autoload it.
4545 (eshell/diff): Use diff-no-select. (Bug#10420)
4546
04482335
CY
45472012-01-05 Chong Yidong <cyd@gnu.org>
4548
7baca3bc
CY
4549 * shell.el (shell-dynamic-complete-functions): Revert last change.
4550 (shell-command-completion-function): New function.
4551 (shell-completion-vars): Use it to implement
4552 shell-completion-execonly (Bug#10417).
4553
04482335
CY
4554 * custom.el (enable-theme): Don't set custom-safe-themes.
4555
1d00653d
SM
4556 * cus-theme.el (custom-theme-merge-theme):
4557 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4558
bb5aa5d6
MM
45592012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4560
4561 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4562 first prompt in `sql-interacive-mode'.
4563 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4564 keywords.
6df6ae42 4565 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4566 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4567 context of original buffer. Invoke `sql-login-hook'.
4568
a7183d7c
EZ
45692012-01-04 Eli Zaretskii <eliz@gnu.org>
4570
4571 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4572 letters in cite-prefix.
4573
a1eacd1e
LMI
45742012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4575
4576 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4577
787cdb34
CY
45782012-01-03 Chong Yidong <cyd@gnu.org>
4579
1d00653d
SM
4580 * shell.el (shell-dynamic-complete-functions):
4581 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4582 comint-filename-completion first (Bug#10417).
4583
30710442
RS
45842012-01-02 Richard Stallman <rms@gnu.org>
4585
4586 * battery.el (battery-status-function):
4587 Detect when to use battery-yeeloong-sysfs.
4588 (battery-echo-area-format): Add string for Yeeloong.
4589 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4590 (battery-yeeloong-sysfs): New function.
4591
f75bfc33
CY
45922012-01-02 Chong Yidong <cyd@gnu.org>
4593
4594 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4595 (dirtrack): Merge code for handling relative filenames in prompt
4596 from shell-dir-cookie-watcher.
4597 (dirtrack-debug-message): New arg to avoid excess format calls.
4598
4599 * shell.el (shell-dir-cookie-re): Variable deleted.
4600 (shell-dir-cookie-watcher): Function deleted.
4601 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4602 with dirtrack-mode.
4603
651e947e
EZ
46042012-01-01 Eli Zaretskii <eliz@gnu.org>
4605
1d00653d
SM
4606 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4607 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4608 libgnutls-26.dll.
4609
94d4c7dc
AS
46102011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4611
4612 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4613
8d43f3cd
EZ
46142011-12-31 Eli Zaretskii <eliz@gnu.org>
4615
4616 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4617 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4618
98c8795a
MA
46192011-12-29 Michael Albinus <michael.albinus@gmx.de>
4620
4621 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4622 also for alternative shells.
4623 (tramp-open-connection-setup-interactive-shell): Check, whether
4624 the shell is a busybox.
4625 (tramp-send-command): Don't suppress multiple prompts for
4626 busyboxes, it hurts.
4627
51281b32
CY
46282011-12-28 Chong Yidong <cyd@gnu.org>
4629
4630 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4631 (gdb-get-source-file): Move mode line update to
4632 gdb-get-source-file (Bug#10087).
4633
2170cb53
CY
46342011-12-25 Chong Yidong <cyd@gnu.org>
4635
4636 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4637 gud-gdb-marker-filter without taking it as an argument.
4638 (gud-gdb-run-command-fetch-lines): Caller changed.
4639 (gud-gdb-completion-function): New variable.
4640 (gud-gdb-completion-at-point): Use it.
4641 (gud-gdb-completions-1): Split from gud-gdb-completions.
4642
4643 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4644 function as separate arguments.
4645 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4646 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4647 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4648 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4649 (gdb-stopped, def-gdb-auto-update-trigger)
4650 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4651 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4652 Callers changed.
2170cb53
CY
4653 (gud-gdbmi-completions): New function.
4654 (gdb): Use it for generating the completion table.
4655
be8b11bb
AM
46562011-12-24 Alan Mackenzie <acm@muc.de>
4657
4658 Introduce a mechanism to widen the region used in context font
1d00653d 4659 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4660
1d00653d
SM
4661 * progmodes/cc-langs.el (c-before-font-lock-functions):
4662 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4663 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4664 functions to be run just before context (etc.) font locking.
4665
4666 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4667 New, functionality extracted from
be8b11bb 4668 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4669 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4670 (c-after-change): Set c-in-after-change-fontification.
4671 (c-set-fl-decl-start): Rejig its interface, so it can be called
4672 from both after-change and context fontifying.
b81d40f0
JB
4673 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4674 New functions.
4675 (c-standard-font-lock-fontify-region-function): New variable.
4676 (c-font-lock-fontify-region): New function.
be8b11bb 4677
341cf6ac
JL
46782011-12-24 Juri Linkov <juri@jurta.org>
4679
4680 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4681 (Bug#10348)
4682
bffcee0a
MA
46832011-12-23 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4686 existence of source file. (Bug#10325)
4687
cb5e207c
AM
46882011-12-23 Alan Mackenzie <acm@muc.de>
4689
4690 Fix unstable fontification inside templates.
4691
b81d40f0
JB
4692 * progmodes/cc-langs.el (c-before-font-lock-functions):
4693 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4694 additionally has c-set-fl-decl-start. The other languages (apart
4695 from AWK) have that as a single entry.
4696
b81d40f0
JB
4697 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4698 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4699 c-set-fl-decl-start.
4700
b81d40f0
JB
4701 * progmodes/cc-mode.el (c-common-init, c-after-change):
4702 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4703 (c-set-fl-decl-start): New function, extracted from
4704 c-font-lock-enclosing-decls and enhanced.
4705
60ff536c
JB
47062011-12-23 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4709
1c4757d6
JL
47102011-12-22 Juri Linkov <juri@jurta.org>
4711
4712 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4713
d031f2c7
CY
47142011-12-22 Chong Yidong <cyd@gnu.org>
4715
4716 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4717
bace743a
DA
47182011-12-21 Drew Adams <drew.adams@oracle.com>
4719
4720 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4721
728a1f2b
JC
47222011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4723
4724 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4725
0d373f73
TZ
47262011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4727
fec0aaa4
TZ
4728 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4729 highlighting and support. Fix up comments for capitalization.
4730 (cfengine-mode-debug): New var.
4731 (cfengine3-mode): Change the modeline indicator to "CFE3".
4732 (cfengine3-font-lock-keywords): Improve defun highlighting.
4733 (cfengine2-actions): Rename from `cfengine-actions'.
4734 (cfengine2-font-lock-keywords): Rename from
4735 `cfengine-font-lock-keywords'.
4736 (cfengine2-imenu-expression): Rename from
4737 `cfengine-imenu-expression'.
4738 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4739 (cfengine2-beginning-of-defun): Rename from
4740 `cfengine-beginning-of-defun'.
4741 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4742 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4743 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4744 modeline indicator to "CFE2".
4745 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4746 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4747
bc86f573
CY
47482011-12-21 Chong Yidong <cyd@gnu.org>
4749
4750 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4751 filename argument.
4752
d45ba96b
MR
47532011-12-20 Martin Rudalics <rudalics@gmx.at>
4754
4755 * window.el (window-normalize-buffer-to-display): Remove.
4756 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4757
a6198c90
CY
47582011-12-19 Chong Yidong <cyd@gnu.org>
4759
4760 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4761 Don't signal an error in a predicate function; return non-nil.
4762 (vc-dir-mark-file): Move the error here.
4763 (vc-dir-mark-unmark): If acting on the region, keep going if one
4764 of the entries cannot be marked/unmarked.
4765 (vc-dir-mark-all-files): If current entry is a directory, mark
4766 only child files, as documented.
4767
34c5fb55
VB
47682011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4769
4770 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4771 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4772 addition.
4773
c803b2b7
JD
47742011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4775
4776 * term/ns-win.el (ns-get-selection-internal)
4777 (ns-store-selection-internal): Declare.
1154d12e
JB
4778 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4779 Declare as obsolete.
4780 (ns-get-pasteboard, ns-paste-secondary):
4781 Use ns-get-selection-internal.
4782 (ns-set-pasteboard, ns-copy-including-secondary):
4783 Use ns-store-selection-internal.
c803b2b7 4784
9cff91f8 47852011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4786
4787 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4788 (vc-deduce-fileset): Doc fix.
99a289d9 4789
f16c898a
AS
47902011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4791
4792 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4793
763237c4
SS
47942011-12-13 Sam Steingold <sds@gnu.org>
4795
4796 * man.el (Man-getpage-in-background): When running under a
4797 window-system, ignore $MANWIDTH and $COLUMNS.
4798
5fc1c122
KH
47992011-12-15 Kenichi Handa <handa@m17n.org>
4800
4801 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4802 (setup-ethiopic-environment-internal): Comment out key-binding for
4803 ethio-toggle-punctuation.
4804
13d49cbb
AM
48052011-12-13 Alan Mackenzie <acm@muc.de>
4806
898169a2
AM
4807 Add the switch statement to AWK Mode.
4808
7a71b18d 4809 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4810 "default" to the keywords regexp.
4811
7a71b18d 4812 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4813 expression as the rest.
1d00653d
SM
4814 (c-nonlabel-token-key): Allow string literals for AWK.
4815 Refactor for the other modes.
898169a2 4816
13d49cbb 4817 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4818 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4819 routines. Limit backward searching in c-font-lock-enclosing.decl.
4820
4821 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4822 pp-state and literal type in addition to the limits.
1d00653d 4823 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4824 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4825 (c-slow-in-literal, c-fast-in-literal): Remove.
4826 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4827
4828 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4829 being in a literal. Add a limit for backward searching.
4830
4831 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4832 c-slow-in-literal.
4833
15e0efc7
SM
48342011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4837
454592a6
MR
48382011-12-13 Martin Rudalics <rudalics@gmx.at>
4839
4840 * window.el (delete-other-windows): Use correct frame in call to
4841 window-with-parameter.
4842
87393f26
DP
48432011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4844
4845 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4846 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4847 (makefile-gmake-statements, makefile-makepp-statements):
4848 Use it and add new makepp keywords.
4849 (makefile-makepp-font-lock-keywords): Add new patterns.
4850 (makefile-match-function-end): Match new [...] and [[...]].
4851
11636b22
JB
48522011-12-11 Juanma Barranquero <lekktu@gmail.com>
4853
4854 * ses.el (ses-call-printer-return, ses-cell-property-get)
4855 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4856 (ses-create-cell-variable, ses-reset-header-string)
4857 (ses-cell-set-formula, ses-repair-cell-reference-all)
4858 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4859 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4860 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4861 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4862 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4863 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4864 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4865 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4866 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4867 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4868 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4869 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4870
cf018193
VB
48712011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4872
4873 * ses.el: The overall change is to add cell renaming, that is
4874 setting fancy names for cell symbols other than name matching
4875 "\\`[A-Z]+[0-9]+\\'" regexp .
4876 (ses-create-cell-variable): New defun.
4877 (ses-relocate-formula): Relocate formulas only for cells the
4878 symbols of which are not renamed, i.e. symbols whose names do not
4879 match regexp "\\`[A-Z]+[0-9]+\\'".
4880 (ses-relocate-all): Relocate values only for cells the symbols of
4881 which are not renamed.
4882 (ses-load): Create cells variables as the (ses-cell ...) are read,
4883 in order to check row col consistency with cell symbol name only
4884 for cells that are not renamed.
4885 (ses-replace-name-in-formula): New defun.
4886 (ses-rename-cell): New defun.
4887
ee957461
CY
48882011-12-11 Chong Yidong <cyd@gnu.org>
4889
4890 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4891 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4892
9a9e9ef0
MR
48932011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4894
4895 * window.el (other-window): Fix docstring.
4896
92a8eba5
EZ
48972011-12-10 Eli Zaretskii <eliz@gnu.org>
4898
4899 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4900 `from' or `to' address before taking its substring.
4901 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4902 encoded name is chopped in the middle of the encoded string, and
4903 thus displayed encoded.
4904
e152e577
JB
49052011-12-10 Juanma Barranquero <lekktu@gmail.com>
4906
4907 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4908
e5d84bfe
EZ
49092011-12-10 Eli Zaretskii <eliz@gnu.org>
4910
4911 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4912 to use texinfo-update-node and commands that call it if the
4913 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4914 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4915 (texinfo-all-menus-update, texinfo-master-menu)
4916 (texinfo-update-node, texinfo-every-node-update)
4917 (texinfo-multiple-files-update): Doc fix. Warn against updating
4918 all the @node lines.
4919 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4920 argument is numeric. Explain better in the doc string what the
4921 function really does.
4922 (texinfo-insert-master-menu-list): Improve the error message
4923 displayed if there's no menu in the Top node.
4924 (Bug#2975) See also this thread:
e5d84bfe
EZ
4925 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4926
1d84e9bb
MG
49272011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4928
4929 * speedbar.el (speedbar-supported-extension-expressions):
4930 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4931
382c953b
JB
49322011-12-09 Juanma Barranquero <lekktu@gmail.com>
4933
4934 * printing.el (pr-mode-alist):
4935 * simple.el (filter-buffer-substring-functions)
4936 (completion-list-insert-choice-function):
4937 * window.el (window-with-parameter, window-atom-root)
4938 (window-sides-slots, window-size-fixed, window-min-delta)
4939 (window-max-delta, window--resize-mini-window)
4940 (window--resize-child-windows-normal, window-tree)
4941 (delete-other-windows, quit-window, split-window)
4942 (display-buffer-record-window, special-display-buffer-names)
4943 (special-display-regexps, special-display-popup-frame)
4944 (same-window-p, split-window-sensibly)
4945 (display-buffer-overriding-action, display-buffer-alist)
4946 (display-buffer-base-action, display-buffer, switch-to-buffer)
4947 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4948 (fit-window-to-buffer, recenter-positions)
4949 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4950 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4951 and remove unneeded backslashes in docstrings.
4952
39c9faef
SM
49532011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4954
98449af8
SM
4955 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4956
39c9faef
SM
4957 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4958 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4959 end in ".mk".
4960 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4961 when reading the makefile (bug#10116).
4962
86ed9fdc
SM
49632011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4966 (bug#10116).
4967
5580f89d
GM
49682011-12-06 Glenn Morris <rgm@gnu.org>
4969
4970 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4971
28d3917c
CY
49722011-12-06 Chong Yidong <cyd@gnu.org>
4973
4974 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4975
a98edce9
JB
49762011-12-06 Juanma Barranquero <lekktu@gmail.com>
4977
4978 * textmodes/table.el (table-shorten-cell): Fix typo.
4979
e65adfac
CG
49802011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4981
4982 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4983
71cc0b74
EZ
49842011-12-05 Eli Zaretskii <eliz@gnu.org>
4985
4986 * descr-text.el (describe-char): Fix display of strong
4987 right-to-left characters and directional embeddings and overrides.
4988
4989 * simple.el (what-cursor-position): Fix display of codepoints of
4990 strong right-to-left characters.
4991
315bc30d
CY
49922011-12-05 Chong Yidong <cyd@gnu.org>
4993
4994 * faces.el (read-color): Doc fix.
4995
58a70b94
GM
49962011-12-05 Glenn Morris <rgm@gnu.org>
4997
4998 * align.el (align--set-marker): Add doc-string.
4999 Don't try to move something that is not a marker. (Bug#10216)
5000
5158face
GM
50012011-12-04 Glenn Morris <rgm@gnu.org>
5002
5003 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5004 overly zealous deletion of trailing whitespace.
5005
520fca41
JB
50062011-12-04 Juanma Barranquero <lekktu@gmail.com>
5007
5008 * server.el (server-delete-client): On Windows, do not try to delete
5009 the only terminal.
5010 (server-process-filter): On Windows, treat requests for a tty frame as
5011 if they were for a GUI frame if the running server is in GUI mode.
5012
5e605a2e
GM
50132011-12-03 Glenn Morris <rgm@gnu.org>
5014
5015 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5016
5c3fe83f
SM
50172011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5018
6f5e57e7
SM
5019 * electric.el: Streamline electric-indent's hook.
5020 (electric-indent-chars): Revert to simple list.
5021 (electric-indent-functions): New var.
5022 (electric-indent-post-self-insert-function): Use it.
5023
5c3fe83f
SM
5024 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5025 there's no inferior buffer (bug#10196).
5026 (prolog-consult-compile): Don't use toggle-read-only.
5027
6bdac736
MA
50282011-12-02 Michael Albinus <michael.albinus@gmx.de>
5029
5030 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5031 interrupt. (Bug#10187)
5032
6131ba7f
SM
50332011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5034
99c79fee
SM
5035 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5036 (bug#9160).
5037
6131ba7f
SM
5038 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5039 (bug#10191).
5040
cb0a02ea
JL
50412011-12-02 Juri Linkov <juri@jurta.org>
5042
5043 * info.el (Info-search): Display "end of manual" when Isearch
5044 reaches the end of single-file Info manual. (Bug#9918)
5045
66e0570c
EZ
50462011-12-02 Eli Zaretskii <eliz@gnu.org>
5047
5048 * isearch.el (isearch-message-prefix): Run the input method part
5049 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5050
02b16839
JL
50512011-12-02 Juri Linkov <juri@jurta.org>
5052
5053 * isearch.el (isearch-occur): Use `word-search-regexp' for
5054 `isearch-word'.
5055 (isearch-search-and-update): Add condition for `isearch-word' and
5056 call `word-search-regexp'. (Bug#10145)
5057
0b950688
GM
50582011-12-01 Glenn Morris <rgm@gnu.org>
5059
5060 * eshell/em-hist.el (eshell-hist-initialize):
5061 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5062 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5063
9505c3c7
SM
50642011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5067
1bbe96b2 50682011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5069
a1beca85
SM
5070 * progmodes/verilog-mode.el (verilog-pretty-expr):
5071 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5072 verilog, such as += *= and the like.
5073 (verilog-assignment-operator-re): Regular expression to find the
5074 assigment operator in a verilog assignment.
5075 (verilog-assignment-operation-re): Regular expression to find an
5076 assignment statement for pretty-expr.
5077 (verilog-in-attribute-p): Query returns true if point is in an
5078 attribute context; used to skip these for expression line up from
5079 pretty-expr.
5080 (verilog-in-parameter-p): Query returns true if point is in an
5081 parameter definition context; used to skip these for expression
5082 line up from pretty-expr.
5083 (verilog-in-parenthesis-p): Query returns true if point is in a
5084 parenthetical expression, specifically ( ) but not [ ] or { };
5085 used by pretty-expr.
5086 (verilog-just-one-space): If there is no space, don't add one.
5087 (verilog-get-lineup-indent-2): Specifically skip just attribute
5088 contexts for expression lineup, rather than skipping all
5089 parenthetical expressions.
5090 (verilog-calculate-indent): Fix comment, and fix indent.
5091 (verilog-do-indent): Indent declarations in lists (suggested by
5092 Joachim Lechner).
5093 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5094 skeleton items.
5095 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5096 by Alain Mellan).
5097
1bbe96b2 50982011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5099
5100 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5101 parameters with embedded comments. Reported by Ray Stevens.
5102 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5103 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5104 Reported by Tim Holt.
5105 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5106 instantiated by upper module causing wrong expansion until AUTOed a
5107 second time. Reported by K C Buckenmaier.
5108 (verilog-diff-auto): Fix showing .* as a difference when
5109 `verilog-auto-star-save' off. Reported by Dan Dever.
5110 (verilog-auto-reset, verilog-read-always-signals)
5111 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5112 temporary signals in reset list if
5113 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5114 style to each signal's assignment type, bug381.
5115 Reported by Thomas Esposito.
6288f0ca
WS
5116 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5117 (verilog-uvm-statement-re): Support UVM indentation and
5118 highlighting, with old OVM keywords only.
a1beca85 5119 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5120 Support AUTOTIEOFF creating non-wire data types.
5121 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5122 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5123 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5124 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5125 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5126 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5127 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5128 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5129 non-numeric vector width. Reported by Alex Reed.
5130 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5131 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5132 (verilog-auto-delete-trailing-whitespace):
5133 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5134 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5135 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5136 Fix verilog-scan-cache corruption when running user AUTO expansion
5137 hooks that call indentation routines.
5138 (verilog-simplify-range-expression): Fix typo ignoring lower case
5139 identifiers.
5140 (verilog-delete-auto): Fix delete-autos to also remove user created
5141 automatics, as long as they start with AUTO.
5142 (verilog-batch-diff-auto, verilog-diff-auto)
5143 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5144 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5145 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5146 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5147 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5148 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5149 is disabled and its cache will get corrupt, causing AUTOS not to
5150 expand. Instead use only -quick functions.
5151 (verilog-scan-region): Fix scanning over escaped quotes.
5152 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5153 (verilog-re-search-backward-quick)
5154 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5155 related functions now ignore strings, to fix misparsing of strings
5156 with magic comments embedded in them.
a1beca85
SM
5157 (verilog-read-auto-template):
5158 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5159 Reported by Brad Dobbie.
5160 (verilog-read-auto-template):
5161 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5162 Reported by Brad Dobbie.
6288f0ca
WS
5163 (verilog-auto-inst, verilog-auto-inst-param)
5164 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5165 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5166 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5167 debugging templates without merge conflicts, bug357.
5168 Reported by Brad Dobbie.
5169 (verilog-read-auto-template):
5170 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5171 Reported by Brad Dobbie.
5172 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5173 abbrevs so user won't be asked to save.
5174 (verilog-read-auto-lisp-present): Fix to start at beginning of
5175 buffer in case called outside of verilog-auto.
5176 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5177 to "X-2". Reported by Matthew Myers.
5178 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5179 all inputs from module templates. Reported by Leith Johnson.
5180 (verilog-module-inside-filename-p): Fix locating programs as with
5181 modules.
5182 (verilog-auto-inst-port): Fix vl-width expressions when using
5183 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5184 (verilog-decls-get-regs, verilog-decls-get-signals,
5185 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5186 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5187 verilog-read-decls): Combine reg and wire structures into one var
5188 structure to represent SystemVerilog concepts.
5189 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5190 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5191 (verilog-auto-wire-type, verilog-insert-definition):
5192 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5193 SystemVerilog "logic" keyword instead of "wire"/"reg".
5194 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5195 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5196 ifdef or generate if so there's not a driver conflict).
5197 Reported by Matthew Myers.
5198 (verilog-auto-declare-nettype, verilog-insert-definition):
5199 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5200 `default_nettype none. Reported by Julian Gorfajn.
5201 (verilog-read-always-signals-recurse, verilog-read-decls)
5202 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5203 malformed end statement, bug325. Reported by Joshua Wise and
5204 Andrew Drake.
5205 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5206 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5207 when expanding .* in interfaces, bug320.
5208 Reported by Pierre-David Pfister.
6288f0ca 5209 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5210 name and open parenthesis, bug317.
5211 Reported by Pierre-David Pfister.
6288f0ca
WS
5212 (verilog-simplify-range-expression): Fix simplification of
5213 multiplications inside AUTOWIRE connections, bug303.
5214 (verilog-auto-inst-port): Support parameter expansion in
5215 multidimensional arrays.
5216 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5217 after "assert property". Reported by Julian Gorfajn.
5218 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5219 with multiplication, bug303.
5220 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5221 Reported by Jan Frode Lonnum.
5222
1bbe96b2
GM
52232011-11-30 Juanma Barranquero <lekktu@gmail.com>
5224
5225 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5226 (hfy-shell-file-name, hfy-shell):
5227 * international/fontset.el (x-decompose-font-name): Fix typos.
5228
52292011-11-29 Ken Brown <kbrown@cornell.edu>
5230
5231 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5232 (gdb-version): Remove defvar.
5233 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5234 (gdb-gud-context-command, gdb-non-stop-handler)
5235 (gdb-current-context-command, gdb-stopped): Use it.
5236 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5237 (gdb-non-stop-handler): Don't enable pretty-printing here.
5238 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5239 non-stop mode. Use the following.
5240 (gdb-check-target-async): New defun.
5241 (gud-watch, gdb-stopped): Fix whitespace.
5242 (gdb-get-source-file): Don't try to display the source file if
5243 `gdb-main-file' is nil.
5244
52452011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * align.el: Try to generate fewer markers (bug#10047).
5248 (align--set-marker): New macro.
5249 (align-region): Use it.
5250
c935221f
SM
52512011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5254
e70b5064
CY
52552011-11-29 Chong Yidong <cyd@gnu.org>
5256
5257 * indent.el (indent-for-tab-command, indent-according-to-mode):
5258 Doc fix.
5259 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5260
f3af92b7
MA
52612011-11-29 Michael Albinus <michael.albinus@gmx.de>
5262
5263 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5264 aware of remote file names. (Bug#10124)
5265
ed472be9
CY
52662011-11-29 Chong Yidong <cyd@gnu.org>
5267
5268 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5269
24510c22
SM
52702011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * files.el (find-file): Don't use force-same-window (bug#10144).
5273 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5274 use pop-to-buffer if the selected window can't be used.
5275 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5276
c60c3703
EZ
52772011-11-28 Eli Zaretskii <eliz@gnu.org>
5278
5279 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5280 special-mode-map.
5281
e95def75
CY
52822011-11-28 Chong Yidong <cyd@gnu.org>
5283
5284 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5285
c3f1c606
NR
52862011-11-27 Nick Roberts <nickrob@snap.net.nz>
5287
5288 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5289 gdb-get-source-file-list on gdb-create-source-file-list.
5290
00db469c
EZ
52912011-11-26 Eli Zaretskii <eliz@gnu.org>
5292
5293 * whitespace.el (whitespace-newline): Use a different foreground
5294 color for 16-color light-background displays.
5295
4ad3bc2a
CY
52962011-11-24 Chong Yidong <cyd@gnu.org>
5297
5298 * window.el (display-buffer--special-action): Doc fix.
5299
e9fce1ac
JB
53002011-11-25 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5303 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5304 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5305 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5306 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5307 (avl-tree-stack-first):
5308 * emacs-lisp/cconv.el (cconv--analyse-use):
5309 * net/gnutls.el (gnutls-negotiate): Fix typos.
5310
cb825e5d
GM
53112011-11-24 Glenn Morris <rgm@gnu.org>
5312
3adbe224
GM
5313 * lpr.el (lpr-windows-system, lpr-lp-system):
5314 * mail/binhex.el (binhex-begin-line):
5315 * progmodes/grep.el (grep-history, grep-find-history):
5316 * textmodes/flyspell.el:
5317 * vc/pcvs-defs.el (cvs-global-menu):
5318 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5319 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5320 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5321
321decc8
GM
5322 * net/tls.el: Fix case of "GnuTLS".
5323
420b63ad
GM
5324 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5325
cb825e5d
GM
5326 * version.el (emacs-build-system): Give it a doc-string.
5327
a0649f08
JL
53282011-11-24 Juri Linkov <juri@jurta.org>
5329
5330 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5331
c0bc0fd4
GM
53322011-11-24 Glenn Morris <rgm@gnu.org>
5333
5334 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5335 if called on a non-mime message just toggle the headers. (Bug#8006)
5336
20db1522
JB
53372011-11-24 Juanma Barranquero <lekktu@gmail.com>
5338
5339 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5340 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5341 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5342 (allout-rebullet-heading, allout-open-sibtopic)
5343 (allout-toggle-current-subtree-encryption)
5344 (allout-toggle-subtree-encryption, allout-encrypt-string)
5345 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5346 (allout-distinctive-bullets-string, allout-auto-activation):
5347 * window.el (window-normalize-buffer-to-display):
5348 * progmodes/verilog-mode.el (verilog-batch-indent):
5349 * textmodes/bibtex.el (bibtex-field-braces-opt)
5350 (bibtex-field-strings-opt):
5351 * vc/cvs-status.el (cvs-tree-merge):
5352 Fix typos.
5353
7262a87c
MA
53542011-11-23 Michael Albinus <michael.albinus@gmx.de>
5355
5356 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5357 `non-essential' to t, in order to avoid remote connections.
5358
283430a1
EZ
53592011-11-23 Eli Zaretskii <eliz@gnu.org>
5360
a1beca85
SM
5361 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5362 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5363 case-insensitively.
5364
d2992a38
ML
53652011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5366
5367 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5368
50419064
GM
53692011-11-23 Glenn Morris <rgm@gnu.org>
5370
da94eca1
GM
5371 * paths.el (rmail-file-name): Reformat the doc-string so that it
5372 is picked up.
5373
9aac4de2
GM
5374 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5375 (rmail-auto-file): Ignore case in the "special" field names,
5376 as mail-fetch-field does for all others.
5377
8038d2d2
GM
5378 * mail/rmail.el (rmail-forward):
5379 * mail/rmailkwd.el (rmail-set-label):
5380 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5381 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5382
f3fe222a
GM
5383 * mail/rmail.el (rmail-current-message): Doc fix.
5384
50419064
GM
5385 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5386
28109f49
SM
53872011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5390
394c65f1
GM
53912011-11-22 Glenn Morris <rgm@gnu.org>
5392
5393 * mail/rmailmm.el (test-rmail-mime-handler)
5394 (test-rmail-mime-bulk-handler)
5395 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5396
f2a0aa3a
JL
53972011-11-21 Juri Linkov <juri@jurta.org>
5398
1154d12e
JB
5399 * calc/calc.el (calc-read-key-sequence):
5400 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5401
9c34a344
LMI
54022011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5403
5404 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5405 Tell the caller that the next line needs recomputation, even
5406 though it doesn't start a sexp (bug#10094).
5407
f04a3be9
SM
54082011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5411
7978747f
SM
54122011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5413
f04a3be9
SM
5414 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5415 Use force-same-window.
7978747f 5416
fe7a3057
JB
54172011-11-20 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * descr-text.el (describe-char-unicode-data):
5420 * json.el (json-string-escape):
5421 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5422 (Footnote-unicode, Footnote-style-p):
5423 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5424
24901d61
CY
54252011-11-20 Chong Yidong <cyd@gnu.org>
5426
5427 * window.el (replace-buffer-in-windows): Restore interactive spec.
5428
bac7ff22
SM
54292011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5430
24f3d7b9
SM
5431 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5432
bac7ff22
SM
5433 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5434 (byte-compile-global-not-obsolete-vars): New var.
5435 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5436 Use it.
5437 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5438
cd1181db
JB
54392011-11-20 Juanma Barranquero <lekktu@gmail.com>
5440
5441 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5442 * progmodes/pascal.el (electric-pascal-equal):
5443 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5444 * xml.el (xml-substitute-special): Fix typos.
5445
7fb18e9e
GM
54462011-11-20 Glenn Morris <rgm@gnu.org>
5447
5448 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5449 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5450 Doc fixes.
5451 (rmail-decode-mime-charset): Mark as obsolete.
5452
5453 * mail/rmailsum.el (rmail-message-regexp-p-1):
5454 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5455 Before using mime functions, check they are set. (Bug#10077)
5456
d5a6b3ba
JL
54572011-11-19 Juri Linkov <juri@jurta.org>
5458
5459 * info.el (Info-finder-find-node): Use `package--builtins' instead
5460 of `package-alist'. Use node names formed by the pattern "Keyword "
5461 and the keyword name.
5462
e981b61f
AS
54632011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5464
1d00653d 5465 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5466
3ffbc301
JL
54672011-11-19 Juri Linkov <juri@jurta.org>
5468
5469 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5470 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5471 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5472 `old-history', `old-history-forward'. Add let-binding
5473 `window-selected'. Remove calls to `kill-buffer',
5474 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5475 before calling `Info-find-node', so `Info-find-node-2' will reread
5476 the Info file. Restore window positions only when `window-selected'
5477 is non-nil.
5478
30c62133
JL
54792011-11-19 Juri Linkov <juri@jurta.org>
5480
5481 * isearch.el (isearch-lazy-highlight-new-loop):
5482 Remove condition `(not isearch-error)'. (Bug#9918)
5483
5484 * misearch.el (multi-isearch-search-fun): Add condition
5485 `(not bound)' to ignore lazy-highlighting search.
5486 Add the search-failed message "end of multi" when the end of
5487 multi-sequence is reached. Uncapitalize the search-failed
5488 message "Repeat for next buffer".
5489
5490 * info.el (Info-search): Add the search-failed message
5491 "end of the manual" when the end of the manual is reached
5492 in Isearch mode.
5493
645ca9cf
JL
54942011-11-19 Juri Linkov <juri@jurta.org>
5495
5496 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5497 Use non-destructive `remove' instead of `delete' because
5498 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5499 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5500
df754f66
JL
55012011-11-19 Juri Linkov <juri@jurta.org>
5502
5503 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5504 to nil instead of binding `search-ring' and `regexp-search-ring'.
5505 (Bug#9185)
5506
0e23d96a
EZ
55072011-11-19 Eli Zaretskii <eliz@gnu.org>
5508
5509 * simple.el (line-move): Force movement by logical lines for any
5510 hscrolled window, not only when auto-hscroll-mode is on.
5511 (line-move-visual): Update doc string to that effect. (Bug#10076)
5512
8a6ccb66
AS
55132011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5514
5515 * language/european.el (macintosh): Define as alias for mac-roman.
5516
49ae5b39
EZ
55172011-11-19 Eli Zaretskii <eliz@gnu.org>
5518
5519 * mail/rmailmm.el (rmail-mime-display-header)
5520 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5521 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5522 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5523 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5524 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5525 of a raw aref.
5526 (rmail-mime-entity-segment): To get past the tagline, move forward
5527 2 more lines, to account for the 2 empty lines that precede and
5528 follow the line with the buttons.
5529 (rmail-mime-update-tagline): Move one more line, to get past the
5530 empty line that follows the buttons in the tagline. (Bug#9520)
5531
c56cad4a
MR
55322011-11-19 Martin Rudalics <rudalics@gmx.at>
5533
5534 * window.el (window-max-delta-1, window-min-delta-1)
5535 (window-min-size-1, window-state-get-1, window-state-put-1)
5536 (window-state-put-2): Use "window--" prefix.
5537
cbe71af3
SM
55382011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5539
2ad52c60
SM
5540 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5541 (smie-warning-count): New var.
5542 (smie-set-prec2tab): Use it.
5543 (smie-bnf->prec2): Improve warnings. Add docstring.
5544 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5545 (smie-bnf--set-class): New function.
5546 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5547 corner case.
5548
6944dbc1
SM
5549 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5550 (compilation-error-properties, compilation-move-to-column):
5551 Handle compilation-first-column while in the target buffer.
5552
c400c4d7
SM
5553 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5554 Don't hardcode point-min==1.
5555
6dbe3e96
SM
5556 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5557 (eshell-rewrite-for-command): Remove workaround.
5558 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5559 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5560 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5561
cbe71af3
SM
5562 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5563
a8e1496d
GM
55642011-11-17 Glenn Morris <rgm@gnu.org>
5565
5566 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5567 Ignore buffer-local generated-autoload-file if it is the same
5568 as the global value. (Bug#10049)
5569
df85d315
JB
55702011-11-17 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5573 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5574 (reftex-toc-previous-heading, reftex-toc-max-level)
5575 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5576 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5577 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5578 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5579 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5580 (reftex-toc-rename-label, reftex-toc-visit-location)
5581 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5582 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5583 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5584 leaving "*toc*" only for references to the buffer.
5585
a0c2d0ae
MR
55862011-11-17 Martin Rudalics <rudalics@gmx.at>
5587
5588 * window.el (window-resize, delete-window, split-window):
5589 Replace window-splits by window-combination-resize.
1d00653d 5590 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5591
35c0bac8
GM
55922011-11-17 Glenn Morris <rgm@gnu.org>
5593
5594 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5595 Make bash entry derive from sh entry, not shell entry.
5596
d0c8fc8a
MA
55972011-11-16 Michael Albinus <michael.albinus@gmx.de>
5598
d0c8fc8a
MA
5599 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5600 properties of linked files. (Bug#9879)
5601
7262a87c
MA
5602 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5603 local file name.
5604
7877f373
JB
56052011-11-16 Juanma Barranquero <lekktu@gmail.com>
5606
5607 * menu-bar.el (menu-bar-file-menu):
5608 * printing.el (pr-ps-utility):
5609 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5610 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5611 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5612 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5613 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5614 (icalendar--convert-cyclic-to-ical)
5615 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5616 (icalendar--convert-ical-to-diary)
5617 (icalendar--convert-recurring-to-diary)
5618 (icalendar--convert-non-recurring-all-day-to-diary)
5619 (icalendar-import-format-sample):
5620 * progmodes/idlw-shell.el (idlwave-shell-mode):
5621 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5622 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5623 (vhdl-ps-print-init): Fix typos.
5624
10649b82
KM
56252011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5626
9d0cfcd6
GM
5627 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5628 FSF and collapse date sequence, obscure author/maintainer email address
5629 better, remove extra version line, track relocation of author's webpage.
10649b82 5630
9d0cfcd6
GM
5631 * progmodes/python.el (python-pdbtrack-input-prompt)
5632 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5633 regular python pdb prompts. Adjustments shamelessly taken exactly as
5634 suggested in EmacsWiki page (tiny change):
5635 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5636
58179cce
JB
56372011-11-16 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * expand.el (expand-pos, expand-index, expand-point):
5640 Remove redundant info from docstring.
5641 (expand-add-abbrevs): Doc fix.
5642 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5643 (expand-sample-perl-mode-expand-list): Fix typos.
5644
5645 * net/dbus.el (dbus-event-member-name):
5646 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5647 * term/pc-win.el (msdos-create-frame-with-faces):
5648 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5649
b6f67890
MR
56502011-11-16 Martin Rudalics <rudalics@gmx.at>
5651
5652 * window.el (split-window, window-state-get-1)
5653 (window-state-put-1, window-state-put-2): Rename occurrences of
5654 window-nest to window-combination-limit.
1d00653d 5655 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5656
ce7ddba0
CY
56572011-11-16 Chong Yidong <cyd@gnu.org>
5658
5659 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5660 regexp (Bug#10033).
5661
3ae704f4
SM
56622011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5665 `completing-read' will remove *Completions* and will preserve
5666 current-buffer for us.
5667 (tmm-add-prompt): Users of *Completions* will always (re)set its
5668 major mode.
5669 (tmm-old-comp-map): Remove.
5670
6ad1cdde
GM
56712011-11-16 Glenn Morris <rgm@gnu.org>
5672
5673 * mail/rmailedit.el: Require rmailmm when compiling.
5674 (rmail-old-mime-state): New declaration.
5675 (rmail-edit-current-message): If editing a mime message,
5676 edit the "raw" message from the mbox buffer.
5677 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5678
d20faa20
GM
56792011-11-15 Glenn Morris <rgm@gnu.org>
5680
5681 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5682 which wasn't being used. Add optional arg to force given state.
5683 (rmail-mime): Add optional arg to force given state.
5684
c7015153
JB
56852011-11-15 Juanma Barranquero <lekktu@gmail.com>
5686
5687 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5688 * frame.el (display-mm-dimensions-alist):
5689 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5690 (outline-move-subtree-down):
5691 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5692 (newsticker--treeview-do-get-node):
5693 * net/quickurl.el (quickurl-list-buffer-name):
5694 * progmodes/dcl-mode.el (dcl-mode):
5695 * progmodes/gdb-mi.el (gdb-mapcar*):
5696 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5697
45261b50
GM
56982011-11-15 Glenn Morris <rgm@gnu.org>
5699
5700 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5701 in a boolean sense, so just make it a boolean, and fix the doc.
5702 (rmail-show-mime-function, rmail-mime-feature)
5703 (rmail-require-mime-maybe): Doc fixes.
5704 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5705
5706 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5707
0d26e0b6
JB
57082011-11-15 Juanma Barranquero <lekktu@gmail.com>
5709
5710 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5711 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5712 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5713 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5714
447f30f6
GM
57152011-11-15 Glenn Morris <rgm@gnu.org>
5716
672b871d
GM
5717 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5718 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5719 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5720 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5721 (rmail-mime, rmail-show-mime): Doc fixes.
5722
f6aa5bb1
GM
5723 * term/ns-win.el (mode-line-frame-identification):
5724 Leave it alone. (Bug#10051)
5725
947cd66b
GM
5726 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5727
447f30f6
GM
5728 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5729 Handle empty buffers. (Bug#9978)
5730
0b381c7e
JB
57312011-11-14 Juanma Barranquero <lekktu@gmail.com>
5732
5733 * international/mule.el (define-charset):
5734 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5735 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5736 * progmodes/verilog-mode.el (verilog-backward-token):
5737 * textmodes/ispell.el (lookup-words):
5738 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5739
71e027ac
GM
57402011-11-14 Glenn Morris <rgm@gnu.org>
5741
56632ce4
GM
5742 * progmodes/executable.el
5743 (executable-make-buffer-file-executable-if-script-p):
5744 Handle file-modes returning nil.
5745
40500957
GM
5746 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5747 message - not necessary, and causes problems. (Bug#9831)
5748
071c2340
GM
5749 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5750
d3cfca60
GM
5751 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5752
71e027ac
GM
5753 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5754 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5755 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5756
89d61221
MR
57572011-11-12 Martin Rudalics <rudalics@gmx.at>
5758
5759 * window.el (window-resize, delete-window): Use window-splits
5760 variable instead of function.
5761 (window-state-get-1, window-state-put-2, window-state-put):
5762 Don't deal with windows' splits status.
5763
98282f6f
GM
57642011-11-12 Glenn Morris <rgm@gnu.org>
5765
5766 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5767 (apropos-documentation): Doc fixes.
5768
40a8bdf6
JB
57692011-11-11 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5772 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5773
65bd19ff
SM
57742011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * electric.el (electric-indent-post-self-insert-function): Make it
5777 possible for a char to only indent in some circumstances.
5778 (electric-indent-mode): Simplify.
5779
54f9154c
MR
57802011-11-11 Martin Rudalics <rudalics@gmx.at>
5781
5782 * window.el (windows-with-parameter): Remove unused function.
5783 (windows-at-side): Rename to window-at-side-list.
5784 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5785 (window-side-check, window-size-ignore, window-size-fixed-1)
5786 (window-in-direction-2): Prefix with "window--".
5787 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5788
68cbc58b
GM
57892011-11-11 Glenn Morris <rgm@gnu.org>
5790
5791 * subr.el (eval-after-load): If FILE is already loaded,
5792 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5793
b2621720
GM
57942011-11-10 Glenn Morris <rgm@gnu.org>
5795
9a4de110
GM
5796 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5797 Call svn via vc-svn-command rather than vc-do-command.
5798 (vc-svn-command): Add --non-interactive. (Bug#9993)
5799 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5800
b2621720
GM
5801 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5802 Add toggle-read-only. (Bug#7292)
5803 * files.el (toggle-read-only): Mention that it should only
5804 be used interactively. (Bug#10006)
5805
1dce7193
SM
58062011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5807
d9ac1a1e
SM
5808 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5809 Adjust regexp for OCaml warnings.
5810
0c325082
SM
5811 * electric.el (electric-pair-post-self-insert-function): Let user
5812 turn it off buffer-locally (bug#9932).
5813
90132c14
SM
5814 * progmodes/python.el (python-beginning-of-statement):
5815 Rewrite (bug#2703).
5816
1dce7193
SM
5817 * progmodes/compile.el: Better handle TABs (bug#9749).
5818 (compilation-internal-error-properties)
5819 (compilation-next-error-function): Obey the target buffer's
5820 compilation-error-screen-columns.
5821
c4e7c63a
JB
58222011-11-09 Juanma Barranquero <lekktu@gmail.com>
5823
5824 * progmodes/meta-mode.el: Remove obsolete comments.
5825 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5826 Fix typos in docstrings.
5827
2cffd681
MR
58282011-11-09 Martin Rudalics <rudalics@gmx.at>
5829
5830 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5831 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5832 (window--resizable): New function. Make all callers of
5833 window-resizable call window--resizable instead.
5834 (window-resizable): Rewrite in terms of window--resizable.
5835
0edcba87
GM
58362011-11-08 Glenn Morris <rgm@gnu.org>
5837
5838 * progmodes/delphi.el (delphi-mode-syntax-table):
5839 Let define-derived-mode define a proper syntax table. (Bug#9994)
5840
4b0d61e3
SM
58412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * window.el: Stay away from defsubst.
5844 (window-list-no-nils): Remove.
5845 (window-state-get-1, window-state-get): Use backquote instead.
5846
cd394be1 58472011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5848
4b0d61e3 5849 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5850 Fix incorrect use of default argument in `completing-read'.
5851
e1c2c6f2
MR
58522011-11-08 Martin Rudalics <rudalics@gmx.at>
5853
5854 * window.el (display-buffer-function, special-display-function):
5855 Mention display-buffer-record-window but do not mention
5856 help-setup parameter in doc-strings.
b3f4a882 5857 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5858
105216ed
CY
58592011-11-08 Chong Yidong <cyd@gnu.org>
5860
5861 * window.el (window-total-height, window-total-width): Doc fix.
5862 (window-body-size): Move from C.
5863 (window-body-height, window-body-width): Move to C.
5864
0a9f9ab5
SM
58652011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * window.el: Make special-display like display-buffer-alist (bug#9532).
5868 (display-buffer--special-action): New function, morphed
5869 from display-buffer--special.
5870 (display-buffer): Use it to handle special-display-buffers at higher
5871 priority (just after display-buffer-alist).
5872 (display-buffer-fallback-action, display-buffer--other-frame-action)
5873 (pop-to-buffer-same-window): Remove display-buffer--special.
5874
a769dd15
GM
58752011-11-07 Glenn Morris <rgm@gnu.org>
5876
5877 * calendar/cal-menu.el (cal-menu-set-date-title):
5878 Do nothing if not in a calendar. (Bug#9976)
5879
05a61ee3
SM
58802011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * files.el (find-file): Always use selected-window.
5883
be7f5545
MR
58842011-11-07 Martin Rudalics <rudalics@gmx.at>
5885
5886 * window.el (window-combinations): Make WINDOW argument
5887 mandatory. Rewrite doc-string.
5888 (walk-window-subtree, window-atom-check, window-min-delta)
5889 (window-max-delta, window--resize-this-window)
5890 (window--resize-root-window-vertically, window-tree)
5891 (balance-windows, window-state-put): Rewrite doc-strings as to
5892 not mention the term "subwindow".
5893 (window--resize-subwindows-skip-p): Rename to
5894 window--resize-child-windows-skip-p.
5895 (window--resize-subwindows-normal): Rename to
5896 window--resize-child-windows-normal.
5897 (window--resize-subwindows): Rename to
5898 window--resize-child-windows.
5899 (window-or-subwindow-p): Rename to window--in-subtree-p.
5900
3c6702ef
ML
59012011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5902
5903 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5904 Ensure that mbox format messages end in two newlines (Bug#9974).
5905
49745b39
CY
59062011-11-06 Chong Yidong <cyd@gnu.org>
5907
5908 * window.el (window-combination-p): Function deleted; its
5909 side-effect is not used in any existing code.
5910 (window-combinations, window-combined-p): Call window-*-child
5911 directly.
5912
24300f5f
CY
59132011-11-05 Chong Yidong <cyd@gnu.org>
5914
5915 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5916 (window-size-ignore, window-state-get): Callers changed.
5917 (window-normalize-window): Rename from window-normalize-any-window.
5918 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5919 (window-normalize-live-window): Delete.
447f16b8
CY
5920 (window-combination-p, window-combined-p, window-combinations)
5921 (walk-window-subtree, window-atom-root, window-min-size)
5922 (window-sizable, window-sizable-p, window-size-fixed-p)
5923 (window-min-delta, window-max-delta, window-resizable)
5924 (window-resizable-p, window-full-height-p, window-full-width-p)
5925 (window-current-scroll-bars, window-point-1, set-window-point-1)
5926 (window-at-side-p, window-in-direction, window-resize)
5927 (adjust-window-trailing-edge, maximize-window, minimize-window)
5928 (window-deletable-p, delete-window, delete-other-windows)
5929 (record-window-buffer, unrecord-window-buffer)
5930 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5931 (quit-window, split-window, window-state-put)
5932 (set-window-text-height, fit-window-to-buffer)
5933 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5934
89bd5ee1
EZ
59352011-11-04 Eli Zaretskii <eliz@gnu.org>
5936
53479029
EZ
5937 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5938 rfc2047-decode-string.
5939 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5940 warnings.
5941
89bd5ee1
EZ
5942 * window.el (window-body-height, window-body-width): Mention in
5943 the doc string that the return values are in frame's canonical
5944 units. (Bug#9949)
5945
bd17fdee
AM
59462011-11-03 Alan Mackenzie <acm@muc.de>
5947
5948 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5949 change in cc-engine.el.
5950
acc825c5
SM
59512011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5954
1885e5b8
MR
59552011-11-02 Martin Rudalics <rudalics@gmx.at>
5956
5957 * window.el (quit-window): Call unrecord-window-buffer after
5958 showing another buffer in the window. (Bug#9937)
acc825c5 5959 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5960
ebe06da9
JB
59612011-11-02 Juanma Barranquero <lekktu@gmail.com>
5962
5963 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5964 Accept status with more than 9 shelves. (Bug#9935)
5965 Reported by Colin D Bennett <colin@gibibit.com>.
5966
4ee88440
MR
59672011-11-01 Martin Rudalics <rudalics@gmx.at>
5968
5969 * help.el (with-help-window): Don't reference
5970 temp-buffer-show-specifiers in doc-string.
5971
08e1d82c
AS
59722011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5973
5974 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5975 menu-item.
5976
84bd6e9e
VJL
59772011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5978
5979 * whitespace.el: New version 13.2.2.
5980 (whitespace-newline-mode): Disable properly. Reported by Sarah
5981 <EmacsWiki>.
5982
dba0634a
UJ
59832011-10-30 Ulf Jasper <ulf.jasper@web.de>
5984
5985 * net/newst-treeview.el: Remove "Time-stamp".
5986 (newsticker--group-manage-orphan-feeds): Do not call
5987 newsticker--treeview-tree-update.
db22a3c2
JB
5988 (newsticker-treeview-update, newsticker-treeview):
5989 Call newsticker--treeview-tree-update if necessary.
dba0634a 5990
3d8daefe
MR
59912011-10-30 Martin Rudalics <rudalics@gmx.at>
5992
5993 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5994 (window-iso-combinations): Remove "iso-" infix.
5995 Suggested by Chong Yidong.
3d8daefe
MR
5996 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5997 (window-max-delta-1, window-resize, window--resize-siblings)
5998 (window--resize-this-window, adjust-window-trailing-edge)
5999 (split-window, balance-windows-1)
6000 (shrink-window-if-larger-than-buffer):
6001 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6002 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6003
1bc4c3ae
SM
60042011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6007 in place (bug#9907).
6008 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6009 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6010 (eshell-structure-basic-command, eshell-rewrite-while-command)
6011 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6012 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6013 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6014 (eshell-do-pipelines-synchronously, eshell-eval-command):
6015 Use backquotes and prefer setq to set.
6016 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6017 (eshell-macrop): Use functionp.
c1e2f5fa 6018 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6019
30b65d9c
CY
60202011-10-30 Chong Yidong <cyd@gnu.org>
6021
6022 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6023 instead of set-mark (Bug#9810).
6024
2d197ffb
CY
60252011-10-30 Chong Yidong <cyd@gnu.org>
6026
6027 * window.el (split-window-below, split-window-right): Rename from
6028 split-window-above-each-other and split-window-side-by-side
6029 respectively. All callers changed.
6030 (split-window-sensibly, split-window-sensibly): Use them.
6031 (split-window-keep-point): Doc fix.
6032
6033 * isearch.el: Add isearch-scroll property to split-window-below
6034 and split-window-right.
6035
6036 * follow.el (follow-mode):
6037 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6038 * progmodes/ada-xref.el (ada-gdb-application):
6039 * emulation/vip.el (vip-buffer-in-two-windows):
6040 * image-dired.el (image-dired-dired-with-window-configuration):
6041 * dired-x.el (dired-do-find-marked-files):
6042 * dired.el (dired-pop-to-buffer):
6043 * bs.el (bs--show-with-configuration):
6044 * vc/emerge.el (emerge-setup-windows):
6045 * textmodes/two-column.el (2C-two-columns):
6046 * textmodes/reftex-toc.el (reftex-toc):
6047 * progmodes/gdb-mi.el (gdb-setup-windows):
6048 * progmodes/fortran.el (fortran-window-create):
6049 * net/newst-treeview.el (newsticker--treeview-window-init):
6050 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6051 * emulation/tpu-edt.el (tpu-gold-map):
6052 * emulation/crisp.el (crisp-mode-map):
6053 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6054
38bb2ca8
CY
60552011-10-29 Chong Yidong <cyd@gnu.org>
6056
aa4de341
CY
6057 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6058
e1eb5385
CY
6059 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6060
5d2ece3c
CY
6061 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6062 forged Ispell output (Bug#7904).
6063
38bb2ca8
CY
6064 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6065
d0af9f77
SM
60662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * doc-view.el: Avoid ugly errors about not finding nil.
6069 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6070 (doc-view-dvipdf-program, doc-view-unoconv-program)
6071 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6072 Avoid nil or absolute file name as default value.
6073 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6074
52bedd34
AM
60752011-10-28 Alan Mackenzie <acm@muc.de>
6076
db22a3c2 6077 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6078
7e43cfa5
AM
60792011-10-28 Alan Mackenzie <acm@muc.de>
6080
6081 Amend the handling of c-beginning/end-of-defun in nested declaration
6082 scopes.
6083
52bedd34
AM
6084 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6085 cc-langs.el. Change it to a defcustom.
7e43cfa5 6086
52bedd34
AM
6087 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6088 cc-vars.el.
7e43cfa5 6089
d0af9f77
SM
6090 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6091 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6092
52bedd34 6093 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6094 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6095 (c-widen-to-enclosing-decl-scope): New function.
6096 (c-while-widening-to-decl-block): New macro.
6097 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6098 outward for defun boundaries, and correspondingly change symbol
6099 `respect-enclosure' to `go-outward'.
6100 (c-declaration-limits): Change algorithm to report only the "innermost"
6101 defun's boundaries.
6102
1a2ce9ee
DD
61032011-10-28 Deniz Dogan <deniz@dogan.se>
6104
6105 * net/rcirc.el (rcirc-mode): Use hard newlines.
6106
bc97a826
AM
61072011-10-28 Alan Mackenzie <acm@muc.de>
6108
6109 Amend to indent and fontify macros "which include their own semicolon"
6110 correctly, using the "virtual semicolon" mechanism.
6111
52bedd34 6112 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6113
d0af9f77 6114 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6115 Recode to scan one line at a time rather than having \n and \r
58179cce 6116 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6117 (c-forward-label): Amend for virtual semicolons.
58179cce 6118 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6119
52bedd34
AM
6120 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6121 of the new C macros.
bc97a826 6122
52bedd34 6123 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6124 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6125 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6126 (c-opt-cpp-macro-define): Make into a full language variable.
6127 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6128 AWK Mode (including \n, \r) removed, no longer needed.
6129
d0af9f77
SM
6130 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6131 Invoke c-make-macro-with-semi-re.
bc97a826 6132
52bedd34
AM
6133 * progmodes/cc-vars.el (c-macro-with-semi-re):
6134 (c-macro-names-with-semicolon): New variables.
58179cce 6135 (c-make-macro-with-semi-re): New function.
bc97a826 6136
7a6c0941
SM
61372011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * vc/log-edit.el: Fill empty field rather than adding new one.
6140 (log-edit-add-field): New function.
6141 (log-edit-insert-changelog): Use it.
6142
b0c4cdcf
ML
61432011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6144
6145 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6146
ee1f1da9
SM
61472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6150 (gdb--check-interpreter): New function.
6151 (gdb): Use it.
6152
51bc5f8b
GM
61532011-10-27 Glenn Morris <rgm@gnu.org>
6154
416a2c45
GM
6155 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6156 (least-positive-float, least-negative-float)
6157 (least-positive-normalized-float, least-negative-normalized-float)
6158 (float-epsilon, float-negative-epsilon):
6159 Remove unnecessary declarations.
6160
6161 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6162 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6163 (least-positive-float, least-negative-float)
6164 (least-positive-normalized-float, least-negative-normalized-float)
6165 (float-epsilon, float-negative-epsilon): Add doc-strings,
6166 based on those in cl.texi.
6167
51bc5f8b
GM
6168 * files.el (set-visited-file-name): If the major-mode changed,
6169 reload the local variables. (Bug#9796)
6170
15de15c6
CY
61712011-10-27 Chong Yidong <cyd@gnu.org>
6172
6173 * subr.el (change-major-mode-after-body-hook): New hook.
6174 (run-mode-hooks): Run it.
6175
ee1f1da9
SM
6176 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6177 Use change-major-mode-before-body-hook.
15de15c6
CY
6178
6179 * simple.el (fundamental-mode):
6180 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6181 change introducing fundamental-mode-hook.
6182
5430d399
JB
61832011-10-26 Juanma Barranquero <lekktu@gmail.com>
6184
acc825c5 6185 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6186
ad74a69e
MA
61872011-10-26 Michael Albinus <michael.albinus@gmx.de>
6188
6189 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6190 tramp.el explicitly. (Bug#7583)
ad74a69e 6191
71d4c2a5
SM
61922011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * progmodes/octave-mod.el:
6195 * progmodes/octave-inf.el: Update maintainer.
6196
b1f6fa26
CY
61972011-10-26 Chong Yidong <cyd@gnu.org>
6198
6199 * subr.el (with-wrapper-hook): Rewrite doc.
6200
3f04efd6
MA
62012011-10-25 Michael Albinus <michael.albinus@gmx.de>
6202
6203 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6204 filenames "/method:foo:". (Bug#9793)
3f04efd6 6205
410488d3
SM
62062011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6209 (bug#9865).
6210
c1ebb47e
GM
62112011-10-24 Glenn Morris <rgm@gnu.org>
6212
6213 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6214
7f5c46c7
MA
62152011-10-24 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * notifications.el: Add the requirement of a running D-Bus session
6218 bus to the Commentary.
6219
db2440b6
JL
62202011-10-24 Juri Linkov <juri@jurta.org>
6221
6222 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6223 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6224 (Bug#9364)
6225
feecf435
JL
62262011-10-24 Juri Linkov <juri@jurta.org>
6227
6228 * info.el (Info-following-node-name-re): Add newline to the list
6229 of allowed characters for leading space. (Bug#9824)
6230
a3839de2
SM
62312011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6232
acc825c5
SM
6233 * progmodes/octave-inf.el (inferior-octave-mode-map):
6234 Fix C-c C-h binding.
a3839de2
SM
6235 * progmodes/octave-mod.el (octave-help): Remove.
6236
09388e76
MA
62372011-10-23 Michael Albinus <michael.albinus@gmx.de>
6238
6239 Sync with Tramp 2.2.3.
6240
6241 * net/tramp-cache.el (top): Pacify byte-compiler using
6242 `init-file-user' and `site-run-file'.
6243
6244 * net/trampver.el: Update release number.
6245
86c60681
CY
62462011-10-23 Chong Yidong <cyd@gnu.org>
6247
6248 * files.el (toggle-read-only): Remove obsolete comment about
6249 version control.
6250
6251 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6252 for toggle-read-only. Note that this hasn't called vc-next-action
6253 since 2008-05-02, though it wasn't documented at the time.
6254
a3839de2
SM
6255 * vc/ediff-init.el (ediff-toggle-read-only-function):
6256 Use toggle-read-only.
86c60681 6257
cd5495ff
AM
62582011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6259
6260 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6261 of c-parse-state.
6262
00b77525 6263 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6264 correct faulty logical expression.
cd5495ff
AM
6265 (c-parse-state-state, c-record-parse-state-state):
6266 (c-replay-parse-state-state): New defvar/defuns.
6267 (c-debug-parse-state): Use new functions.
6268
42ee24ed
MR
62692011-10-22 Martin Rudalics <rudalics@gmx.at>
6270
6271 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6272 last fix. Use window-in-direction correctly.
42ee24ed 6273
a7dee7e7
CY
62742011-10-21 Chong Yidong <cyd@gnu.org>
6275
6276 * progmodes/idlwave.el (idlwave-mode):
6277 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6278 require-final-newline; that's done in prog-mode.
6279 Suggested by Stefan Monnier.
a7dee7e7 6280
e07b9a6d
MR
62812011-10-21 Martin Rudalics <rudalics@gmx.at>
6282
6283 * mouse.el (mouse-drag-window-above)
6284 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6285 (mouse-drag-mode-line-1, mouse-drag-header-line)
6286 (mouse-drag-vertical-line-rightward-window): Remove.
6287 (mouse-drag-line): New function.
6288 (mouse-drag-mode-line, mouse-drag-header-line)
6289 (mouse-drag-vertical-line): Call mouse-drag-line.
6290 * window.el (window-at-side-p, windows-at-side): New functions.
6291
7e1361d9
UM
62922011-10-21 Ulrich Mueller <ulm@gentoo.org>
6293
6294 * tar-mode.el (tar-grind-file-mode):
6295 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6296
30fcaf3a
CY
62972011-10-21 Chong Yidong <cyd@gnu.org>
6298
6299 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6300 * progmodes/vera-mode.el (vera-mode):
6301 Use mode-require-final-newline.
30fcaf3a 6302
516eddb0
GM
63032011-10-20 Glenn Morris <rgm@gnu.org>
6304
db22a3c2 6305 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6306
10d5f513
CS
63072011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6308
6309 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6310
ac6c8639
CY
63112011-10-20 Chong Yidong <cyd@gnu.org>
6312
6313 * emulation/cua-base.el (cua-mode):
6314 * mail/footnote.el (footnote-mode):
6315 * mail/mailabbrev.el (mail-abbrevs-mode):
6316 * net/xesam.el (xesam-minor-mode):
6317 * progmodes/bug-reference.el (bug-reference-mode):
6318 * progmodes/cap-words.el (capitalized-words-mode):
6319 * progmodes/compile.el (compilation-minor-mode)
6320 (compilation-shell-minor-mode):
6321 * progmodes/gud.el (gud-tooltip-mode):
6322 * progmodes/hideif.el (hide-ifdef-mode):
6323 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6324 * progmodes/subword.el (subword-mode):
6325 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6326 * progmodes/which-func.el (which-function-mode):
6327 * term/tvi970.el (tvi970-set-keypad-mode):
6328 * term/vt100.el (vt100-wide-mode):
6329 * textmodes/flyspell.el (flyspell-mode):
6330 * textmodes/ispell.el (ispell-minor-mode):
6331 * textmodes/nroff-mode.el (nroff-electric-mode):
6332 * textmodes/paragraphs.el (use-hard-newlines):
6333 * textmodes/refill.el (refill-mode):
6334 * textmodes/reftex.el (reftex-mode):
6335 * textmodes/rst.el (rst-minor-mode):
6336 * textmodes/sgml-mode.el (html-autoview-mode)
6337 (sgml-electric-tag-pair-mode):
6338 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6339 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6340 * emulation/crisp.el (crisp-mode):
6341 * emacs-lisp/eldoc.el (eldoc-mode):
6342 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6343 minor mode behavior.
6344
aa42ab43
JL
63452011-10-19 Juri Linkov <juri@jurta.org>
6346
6347 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6348 the list of hard-coded chars with escape-glyph face.
6349
89400f1d
SM
63502011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6353
305c07f6
MA
63542011-10-19 Michael Albinus <michael.albinus@gmx.de>
6355
6356 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6357 running process.
6358
13754b54
GM
63592011-10-19 Glenn Morris <rgm@gnu.org>
6360
6361 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6362 Ignore ignored files. (Bug#9726)
6363
06e21633
CY
63642011-10-19 Chong Yidong <cyd@gnu.org>
6365
6366 Doc fix for minor modes, stating that an omitted argument enables
6367 the mode unconditionally when called from Lisp.
6368
6369 * abbrev.el (abbrev-mode):
6370 * allout.el (allout-mode):
6371 * autoinsert.el (auto-insert-mode):
6372 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6373 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6374 (global-auto-revert-mode):
6375 * battery.el (display-battery-mode):
6376 * composite.el (global-auto-composition-mode)
6377 (auto-composition-mode):
6378 * delsel.el (delete-selection-mode):
6379 * desktop.el (desktop-save-mode):
6380 * dired-x.el (dired-omit-mode):
6381 * dirtrack.el (dirtrack-mode):
6382 * doc-view.el (doc-view-minor-mode):
6383 * double.el (double-mode):
6384 * electric.el (electric-indent-mode, electric-pair-mode):
6385 * emacs-lock.el (emacs-lock-mode):
6386 * epa-hook.el (auto-encryption-mode):
6387 * follow.el (follow-mode):
6388 * font-core.el (font-lock-mode):
6389 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6390 * help.el (temp-buffer-resize-mode):
6391 * hilit-chg.el (highlight-changes-mode)
6392 (highlight-changes-visible-mode):
6393 * hi-lock.el (hi-lock-mode):
6394 * hl-line.el (hl-line-mode, global-hl-line-mode):
6395 * icomplete.el (icomplete-mode):
6396 * ido.el (ido-everywhere):
6397 * image-file.el (auto-image-file-mode):
6398 * image-mode.el (image-minor-mode):
6399 * iswitchb.el (iswitchb-mode):
6400 * jka-cmpr-hook.el (auto-compression-mode):
6401 * linum.el (linum-mode):
6402 * longlines.el (longlines-mode):
6403 * master.el (master-mode):
6404 * mb-depth.el (minibuffer-depth-indicate-mode):
6405 * menu-bar.el (menu-bar-mode):
6406 * minibuf-eldef.el (minibuffer-electric-default-mode):
6407 * mouse-sel.el (mouse-sel-mode):
6408 * msb.el (msb-mode):
6409 * mwheel.el (mouse-wheel-mode):
6410 * outline.el (outline-minor-mode):
6411 * paren.el (show-paren-mode):
6412 * recentf.el (recentf-mode):
6413 * reveal.el (reveal-mode, global-reveal-mode):
6414 * rfn-eshadow.el (file-name-shadow-mode):
6415 * ruler-mode.el (ruler-mode):
6416 * savehist.el (savehist-mode):
6417 * scroll-all.el (scroll-all-mode):
6418 * scroll-bar.el (scroll-bar-mode):
6419 * server.el (server-mode):
6420 * shell.el (shell-dirtrack-mode):
6421 * simple.el (auto-fill-mode, transient-mark-mode)
6422 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6423 (line-number-mode, column-number-mode, size-indication-mode)
6424 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6425 * strokes.el (strokes-mode):
6426 * time.el (display-time-mode):
6427 * t-mouse.el (gpm-mouse-mode):
6428 * tool-bar.el (tool-bar-mode):
6429 * tooltip.el (tooltip-mode):
6430 * type-break.el (type-break-mode-line-message-mode)
6431 (type-break-query-mode):
6432 * view.el (view-mode):
6433 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6434 (global-whitespace-mode, global-whitespace-newline-mode):
6435 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6436
a3839de2
SM
6437 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6438 Fix autogenerated docstring.
06e21633 6439
5214e501
JL
64402011-10-19 Juri Linkov <juri@jurta.org>
6441
6442 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6443 by checking environment variables "DESKTOP_SESSION" and
6444 "XDG_CURRENT_DESKTOP". (Bug#9779)
6445
195f8db9
JL
64462011-10-19 Juri Linkov <juri@jurta.org>
6447
6448 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6449 (browse-url-chromium-program, browse-url-chromium-arguments):
6450 New defcustoms.
6451 (browse-url-default-browser): Check for `browse-url-chromium' and
6452 call `browse-url-chromium-program'.
6453 (browse-url-chromium): New command. (Bug#9779)
6454
343a34ff
JB
64552011-10-18 Juanma Barranquero <lekktu@gmail.com>
6456
6457 * facemenu.el (list-colors-duplicates): On Windows, detect more
6458 duplicates by assuming that only colors matching "^System" are
6459 special "system colors". (Bug#9722)
6460
6978a151
SM
64612011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6462
6463 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6464 to distinguish the author from the committer.
6465
6a80b297
MA
64662011-10-18 Michael Albinus <michael.albinus@gmx.de>
6467
6468 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6469
b31a5677
JK
64702011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6471
6472 * international/mule.el (sgml-html-meta-auto-coding-function):
6473 Add support for detecting encoding in HTML5 specified only as
6474 <meta charset="UTF-8">. Implementation just makes http-equiv and
6475 content-type parts from HTML4 encoding string optional. (Bug#9716)
6476
80c6d77f
GM
64772011-10-18 Glenn Morris <rgm@gnu.org>
6478
6479 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6480
08b0fee8
CY
64812011-10-18 Chong Yidong <cyd@gnu.org>
6482
6483 * faces.el (cursor): Doc fix.
6484
67e729a5
CY
64852011-10-17 Chong Yidong <cyd@gnu.org>
6486
6487 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6488
343a34ff 64892011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6490
6491 * dirtrack.el (dirtrack): Support shell buffers with path
6492 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6493
0bc06380
TZ
64942011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6495
6496 * json.el: Bump version to 1.3 and note change in History.
6497 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6498
8b79f3e0
SM
64992011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6500
5a7c536b
SM
6501 * comint.el (comint-insert-input, comint-send-input)
6502 (comint-get-old-input-default, comint-backward-matching-input)
6503 (comint-next-prompt): Use nil instead of `input' for field property of
6504 past user input (bug#114).
6505
96a8a0df
SM
6506 * minibuffer.el (completion--replace): Inherit surrounding properties
6507 (bug#114).
6508 (minibuffer-complete-and-exit): Use it.
6509
8b79f3e0
SM
6510 * comint.el (comint--table-subvert): Quote the all-completions output
6511 (bug#9160).
6512
b8f7ff0d
MR
65132011-10-17 Martin Rudalics <rudalics@gmx.at>
6514
8b79f3e0 6515 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6516
b8f7ff0d 6517 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6518 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6519 entries and separate them from frame entries.
6520
c235b555
GM
65212011-10-15 Glenn Morris <rgm@gnu.org>
6522
6523 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6524 Doc fixes.
6525
6bbfa6e1
CY
65262011-10-15 Chong Yidong <cyd@stupidchicken.com>
6527
8b79f3e0
SM
6528 * net/network-stream.el (network-stream-open-starttls):
6529 Improve detection of failure due to lack of TLS support.
ec5c990d 6530
6bbfa6e1
CY
6531 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6532 putting the input text in front and in bold.
6533
98488977
SM
65342011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6535
3d1337be
SM
6536 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6537
ee0b45e4
SM
6538 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6539 empty buffer.
6540
98488977
SM
6541 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6542 unread-command-events rather than pushing yet-another event.
6543
186f4720
EZ
65442011-10-14 Eli Zaretskii <eliz@gnu.org>
6545
6546 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6547 the explanation of the possible choices. Make the options passed
6548 to completing-read shorter.
6549
8b7a997c
AM
65502011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6551
6552 * textmodes/flyspell.el (flyspell-large-region): Make sure
6553 extended character mode is used if defined (Bug#1339).
6554
12587bbb
EZ
65552011-10-13 Eli Zaretskii <eliz@gnu.org>
6556
6557 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6558 character info for LRE, LRO, RLE, and RLO characters by appending
6559 an invisible PDF.
12587bbb 6560
bad41229
SM
65612011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6564 even in case of error; add debug spec; simplify data flow.
6565 (with-timeout-handler): Remove.
6566
28dbc92f
MA
65672011-10-12 Michael Albinus <michael.albinus@gmx.de>
6568
6569 Fix Bug#6019, Bug#9315.
6570
6571 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6572 complete `buffer-file-name', the local file name part could look
6573 remotely (for example on VMS).
6574
6575 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6576 `tramp-run-real-handler'.
6577 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6578 already quoted by '"'.
6579
6580 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6581 Let `file-name-handler-alist' be nil, the local file name part
6582 could look remotely (for example on VMS).
6583
e1b0b23a
SM
65842011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6587 from here...
6588 (flyspell-post-command-hook): ...to here.
6589
a120bde9
SM
65902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6593 if not needed.
6594 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6595 using completion. Protect against "slow" callers.
6596 Remove the "message hack".
6597
7ce7717b
JL
65982011-10-11 Juri Linkov <juri@jurta.org>
6599
6600 * isearch.el (isearch-lazy-highlight-word): New variable.
6601 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6602 Use it. (Bug#9727)
6603
c02ee9d6
GM
66042011-10-11 Glenn Morris <rgm@gnu.org>
6605
6606 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6607 like f90-previous-statement does.
6608
93e616fd 66092011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6610
1f190e73 6611 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6612 only in interactive use, to avoid error.
6613
af7b6078
SM
66142011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * minibuffer.el (completion-file-name-table): Fix last change,
6617 i.e. ignore normal errors but not the other ones.
6618
0563dae9
MR
66192011-10-10 Martin Rudalics <rudalics@gmx.at>
6620
6621 * window.el (special-display-buffer-names)
6622 (special-display-regexps): Remove some remnants of earlier
6623 changes from doc-strings.
366ca7f3
MR
6624 (quit-windows-on): New function.
6625
6626 * vc/vc.el (vc-revert, vc-rollback):
6627 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6628 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6629 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6630
49677495
MR
66312011-10-09 Martin Rudalics <rudalics@gmx.at>
6632
6633 * window.el (frame-auto-hide-function): Add version tag.
6634 (Bug#9699)
6635
56f2d1e1
MA
66362011-10-09 Michael Albinus <michael.albinus@gmx.de>
6637
6638 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6639 condition.
6640
112a6592
LL
66412011-10-09 Leo Liu <sdl.web@gmail.com>
6642
6643 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6644 (Bug#9701)
6645
0812589b
GM
66462011-10-08 Glenn Morris <rgm@gnu.org>
6647
6648 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6649 before the first code statement zero indent. (Bug#9690)
6650
b2b0776e
CY
66512011-10-08 Chong Yidong <cyd@stupidchicken.com>
6652
6653 * simple.el (count-words-region): Always count in the region.
6654 Report the number of lines and characters too.
6655 (count-words): New command, which counts in the buffer if the
6656 region is inactive, as count-words-region used to.
6657 (count-words--message): New function. Handle plurals.
6658 (count-lines-region): Make it an alias for count-words-region.
6659
6660 * bindings.el (esc-map): Replace count-lines-region with
6661 count-words-region.
6662
c557cd6b
MR
66632011-10-08 Martin Rudalics <rudalics@gmx.at>
6664
6665 * window.el (window--delete): Delete dedicated frame
6666 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6667 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6668
61a57ef4 66692011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6670
3a7d293b 6671 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6672
c3833279
CY
66732011-10-07 Chong Yidong <cyd@stupidchicken.com>
6674
6675 * bindings.el ([M-left],[M-right]): Bind to left-word and
6676 right-word respectively.
6677
21ce8245
GM
66782011-10-07 Glenn Morris <rgm@gnu.org>
6679
6680 * cus-start.el (debug-on-quit): Fix custom type.
6681
6d823bb2
LMI
66822011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6683
0181e193
LMI
6684 * subr.el (define-key-after): Clarify that the function is not
6685 useful for non-menu keymaps.
6686
6d823bb2
LMI
6687 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6688
8e3459ce 66892011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6690
21ce8245 6691 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6692 in current minibuffer (Fix bug with recursive minibuffers).
6693
a1c2d21e
CY
66942011-10-06 Chong Yidong <cyd@stupidchicken.com>
6695
6696 * progmodes/gdb-mi.el (gdb): Doc fix.
6697
5a4cf282
MR
66982011-10-05 Martin Rudalics <rudalics@gmx.at>
6699
6700 * window.el (frame-auto-hide-function): New option replacing
6701 frame-auto-delete. Suggested by Stefan Monnier.
6702 (window--delete): Call frame-auto-hide-function instead of
6703 investigating frame-auto-delete.
c96111ea
MR
6704 (window-point-1, set-window-point-1): New functions.
6705 (window-in-direction, record-window-buffer, window-state-get-1)
6706 (display-buffer-record-window): Use window-point-1 instead of
6707 window-point.
6708 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6709
9854542e
SM
67102011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6713
8943cfb0
GM
67142011-10-05 Glenn Morris <rgm@gnu.org>
6715
6716 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6717 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6718
647ab967
LL
67192011-10-05 Leo Liu <sdl.web@gmail.com>
6720
6721 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6722 works with buffer object.
6723
3ddfbced
SM
67242011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * mpc.el (mpc-tool-bar-map): Add labels.
6727
bdfa5dd2
GM
67282011-10-04 Glenn Morris <rgm@gnu.org>
6729
6730 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6731
0e2070b5
MR
67322011-10-04 Martin Rudalics <rudalics@gmx.at>
6733
6734 * window.el (window--delete): New function.
6735 (frame-auto-delete): Resuscitate option.
6736 (bury-buffer, replace-buffer-in-windows)
6737 (quit-window): Rewrite using window--delete.
6738 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6739 Pass display-buffer-mark-dedicated to window--display-buffer-2
6740 (Bug#9639).
6741
3dc61a09
SM
67422011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6743
915a9b64
SM
6744 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6745 returns a list (bug#9554). Add remote file name completion.
6746 * comint.el (comint--table-subvert): Curry and get quote&unquote
6747 functions as arguments.
6748 (comint--complete-file-name-data): Adjust call accordingly.
6749 * pcomplete.el (pcomplete--table-subvert): Remove.
6750 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6751
3dc61a09
SM
6752 * minibuffer.el (completion-table-case-fold): Use currying.
6753 (completion--styles-type, completion--cycling-threshold-type):
6754 New constants.
6755 (completion-styles, completion-category-overrides)
6756 (completion-cycle-threshold): Use them.
6757 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6758 completion-table-case-fold.
6759
8ea0a993
SB
67602011-10-03 Stephen Berman <stephen.berman@gmx.net>
6761
6762 * minibuffer.el (completion-category-overrides): Fix type of styles
6763 and add more user friendly tags (bug#9660).
6764
8c24b7f6
SM
67652011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6768 (mule-input-method-string): New widget.
6769 (default-input-method, language-info-custom-alist): Use it.
6770
428fe61a
SM
67712011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6772
32c1fffd
SM
6773 * pcomplete.el: Require comint.
6774 (pcomplete--common-suffix): Remove.
6775 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6776 (pcomplete--table-subvert): Sync with comint--table-subvert.
6777 (pcomplete--entries): Use comint-completion-file-name-table.
6778 * comint.el (comint-unquote-filename): Simplify.
6779 (comint-completion-file-name-table): New function (bug#9616).
6780 (comint--complete-file-name-data): Use it.
6781
428fe61a
SM
6782 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6783 (pcmpl-gnu-tar-buffer): Remove.
6784 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6785 around. Make sure pcomplete-suffix-list is only changed temporarily.
6786 Don't look inside the tar's file if it's too large.
428fe61a 6787
04c52e2f
CY
67882011-10-01 Chong Yidong <cyd@stupidchicken.com>
6789
ce3cefcc
CY
6790 * cus-edit.el (custom-mode-map):
6791 * epa.el (epa-key-list-mode-map):
6792 * man.el (Man-mode-map):
6793 * startup.el (splash-screen-keymap):
6794 * simple.el (special-mode-map): Use scroll-up-command and
6795 scroll-down-command.
6796
6797 * progmodes/idlw-help.el (idlwave-help-mode-map):
6798 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6799 * net/newst-plainview.el (newsticker-mode-map):
6800 * emulation/ws-mode.el (wordstar-mode-map):
6801 * emulation/vi.el (vi-com-map):
6802 * calc/calc-graph.el (calc-graph-show-dumb):
6803 * term/sun.el (terminal-init-sun):
6804 * term/ns-win.el (global-map):
6805 * progmodes/grep.el (grep-mode-map):
6806 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6807 * mail/rmail.el (rmail-mode-map):
6808 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6809
04c52e2f
CY
6810 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6811 custom-safe-themes as special.
6812
79adf8c8
JD
68132011-10-01 Julien Danjou <julien@danjou.info>
6814
6815 * notifications.el (notifications-notify): Fix docstring.
6816
63bd50d3
PS
68172011-10-01 Per Starbäck <per@starback.se>
6818
6819 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6820
199e4c7e
MR
68212011-09-30 Martin Rudalics <rudalics@gmx.at>
6822
6823 * startup.el (command-line-1): Fix last fix by inserting
6824 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6825 (Bug#9605) and (Bug#9636)
199e4c7e 6826
fe5f08dd
EZ
68272011-09-29 Eli Zaretskii <eliz@gnu.org>
6828
6829 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6830 window is hscrolled, move by logical lines. (Bug#9607)
6831 (line-move-visual): Update the doc string to the above effect.
6832
b5516bbd
MR
68332011-09-29 Martin Rudalics <rudalics@gmx.at>
6834
ccee00c0
MR
6835 * window.el (display-buffer-record-window): When WINDOW is the
6836 selected window use `point' instead of `window-point'. (Bug#9626)
6837
b5516bbd
MR
6838 * startup.el (command-line-1): Use insert-before-markers when
6839 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6840
b5516bbd
MR
6841 * help.el (help-window): Remove variable.
6842
52aa0014
GM
68432011-09-29 Glenn Morris <rgm@gnu.org>
6844
6845 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6846
df9a7357
JB
68472011-09-29 Juanma Barranquero <lekktu@gmail.com>
6848
6849 * descr-text.el (describe-char-categories): Accept category
6850 descriptions more than one line long.
6851
a8406c20
SM
68522011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6853
88d9610c
SM
6854 * simple.el (delete-trailing-whitespace): Fix last change.
6855
a5daf810
SM
6856 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6857 Don't confuse "y => 3" as the beginning of a `y' operation.
6858
a8406c20
SM
6859 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6860 object has more than 4 slots (bug#9613).
6861
a239d4e9
JB
68622011-09-28 Juanma Barranquero <lekktu@gmail.com>
6863
6864 * subr.el (with-output-to-temp-buffer):
6865 * net/quickurl.el (quickurl, quickurl-browse-url):
6866 Fix typos in docstrings.
6867
693fbdb6
EZ
68682011-09-27 Eli Zaretskii <eliz@gnu.org>
6869
6870 * minibuffer.el (completion-styles)
6871 (completion-category-overrides): Cross reference each other in doc
6872 strings.
6873
8b457e28
GM
68742011-09-27 Glenn Morris <rgm@gnu.org>
6875
6876 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6877 to split-string. (Bug#9606)
6878
85a16208
LMI
68792011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6880
6881 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6882 (bug#9615).
6883
502f9ebd
CY
68842011-09-27 Chong Yidong <cyd@stupidchicken.com>
6885
6886 * emacs-lisp/package.el (list-packages): Fix echo area message.
6887
7690bdea
LL
68882011-09-27 Leo Liu <sdl.web@gmail.com>
6889
6890 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6891
e2ee6f30
MA
68922011-09-25 Michael Albinus <michael.albinus@gmx.de>
6893
6894 * net/dbus.el (dbus-unregister-object): Don't release services for
6895 registered signals. (Bug#9581)
6896
f3f98342
TZ
68972011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6898
6899 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6900 function that picks between cfengine 2 and 3 support
6901 automatically. Update docs accordingly.
6902
dd7aa8dd
KH
69032011-09-22 Kenichi Handa <handa@m17n.org>
6904
6905 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6906 ZERO.
6907 (indian-itrans-v5-table-for-tamil): New variable.
6908 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6909
3f2b07f8
KM
69102011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6911
6912 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6913 that's true if the current command involved collapsing of text.
6914 It's reset to false at the beginning of the next command.
6915 (allout-post-command-business): Move the cursor to the beginning
6916 of entry if the cursor is hidden and collapsing activity just
6917 happened.
6918
371d6a61
CY
69192011-09-24 Chong Yidong <cyd@stupidchicken.com>
6920
6921 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6922 tracking (Bug#9541).
6923
2ac2721a
UJ
69242011-09-24 Ulf Jasper <ulf.jasper@web.de>
6925
6926 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6927 (newsticker-show-news): Automatically load html rendering package
6928 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6929 because w3m-fill-column is let-bound" and the error "Symbol's value
6930 as variable is void: w3m-fill-column".
2ac2721a 6931
fac7ae53
MA
69322011-09-24 Michael Albinus <michael.albinus@gmx.de>
6933
6934 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6935 Release services only if they are defined. (Bug#9581)
6936
e08b633b
RS
69372011-09-23 Richard Stallman <rms@gnu.org>
6938
e488d29c
RS
6939 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6940 distinguish start of paragraph from start of its text.
6941
19c38752
RS
6942 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6943
e08b633b
RS
6944 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6945 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6946 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6947
0a39f27e
AS
69482011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6949
6950 * international/mule-diag.el (mule-diag): Insert a newline after
6951 each fontset description.
6952
db4e950d
SM
69532011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * simple.el (delete-trailing-whitespace):
6956 Document last change; simplify.
6957
eca3f3ea
PW
69582011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6959
d68e189a
PW
6960 * simple.el (delete-trailing-whitespace): Also delete
6961 extra newlines at the end of the buffer.
6962
eca3f3ea
PW
6963 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6964 (picture-newline): Use forward-line so as to ignore fields.
6965
01c157cc
SM
69662011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * subr.el (with-wrapper-hook): Fix edebug spec.
6969
022de23e
LMI
69702011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6971
6972 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6973 (bug#4538).
6974
91683089
MA
69752011-09-23 Michael Albinus <michael.albinus@gmx.de>
6976
eca3f3ea
PW
6977 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6978 Fix nasty bug using wrong cached values.
91683089 6979
5bdd6fa4
AM
69802011-09-23 Alan Mackenzie <acm@muc.de>
6981
6982 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6983
97adfb97
CY
69842011-09-23 Chong Yidong <cyd@stupidchicken.com>
6985
6986 * window.el (pop-to-buffer): Ensure right window is selected if we
6987 chose another frame.
6988
d4ef2b50
EZ
69892011-09-22 Eli Zaretskii <eliz@gnu.org>
6990
6991 * simple.el (what-cursor-position): Use get-char-property-change
6992 and next-single-char-property-change, to be able to show display
6993 properties that come from overlays as well as text properties.
6994
72258fe5
CY
69952011-09-22 Chong Yidong <cyd@stupidchicken.com>
6996
6997 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6998
6999 * cmuscheme.el (run-scheme, switch-to-scheme):
7000 * cus-edit.el (customize-group, custom-buffer-create)
7001 (customize-browse):
7002 * info.el (info):
7003 * shell.el (shell):
7004 * mail/sendmail.el (mail):
7005 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7006
8f098516
RS
70072011-09-22 Richard Stallman <rms@gnu.org>
7008
7009 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7010 move back only to line beg, don't move back over blank lines.
7011
e74f1bb6
MA
70122011-09-22 Michael Albinus <michael.albinus@gmx.de>
7013
7014 * files.el (copy-directory): Set directory attributes only in case
7015 they could be retrieved from the source directory. (Bug#9565)
7016
bfeef8b6
DK
70172011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7018
7019 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7020 (hs-find-block-beginning, hs-hide-level-recursive):
7021 Ignore strings as well as comments. (Bug#9502)
7022
7e423bb8
AS
70232011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7024
7025 * progmodes/sql.el (sql-comint-postgres):
7026 Convert port number to a string. (Bug#9566)
7027
b4d72fcf
MR
70282011-09-22 Martin Rudalics <rudalics@gmx.at>
7029
7030 * window.el (quit-window): Undedicate window when switching to
7031 previous buffer. Reported by Thierry Volpiatto
7032 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7033 (special-display-popup-frame): When popping up a new frame reset
7034 its previous buffers to nil. Simplify code.
b4d72fcf 7035
a7b88dc6
MA
70362011-09-21 Michael Albinus <michael.albinus@gmx.de>
7037
7038 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7039 and process filter, as done also in `shell-command'.
7040
cf4eacfd
MR
70412011-09-21 Martin Rudalics <rudalics@gmx.at>
7042
eca3f3ea 7043 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7044 Call set-window-start with NOFORCE argument t.
7045 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7046 (quit-window): Reword doc-string. Handle new format of
7047 quit-restore parameter. Don't delete window if it has a
7048 previous buffer we can show instead of the present one.
7049 (display-buffer-record-window): Rewrite using a new format for
7050 the quit-restore window parameter
7051 (special-display-popup-frame, display-buffer-same-window)
7052 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7053 (display-buffer-pop-up-window, display-buffer-use-some-window):
7054 Adapt symbol passed to display-buffer-record-window.
7055 * help.el (help-window-setup): Handle new format of quit-restore
7056 parameter.
7057
8d28cb95
SM
70582011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7059
94ab793f
SM
7060 * faces.el (face-list): Fix docstring (bug#9564).
7061
8d28cb95
SM
7062 * window.el (display-buffer--action-function-custom-type):
7063 Don't include internal functions in the Custom interface.
7064
3820edeb
JL
70652011-09-20 Juri Linkov <juri@jurta.org>
7066
7067 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7068 (Info-forward-node, Info-backward-node, Info-next-preorder)
7069 (Info-last-preorder): Use it. (Bug#9528)
7070
5147931d
JL
70712011-09-20 Juri Linkov <juri@jurta.org>
7072
7073 * info.el (Info-last-preorder): Visit last menu item only when
7074 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7075
cf499a1a
JD
70762011-09-20 Julien Danjou <julien@danjou.info>
7077
7078 * password-cache.el (password-cache-remove): Remove entries even if the
7079 value is nil, so that password with a nil value (negative caching) is
7080 possible to invalidate.
7081
f84e2fe2
LM
70822011-09-20 Lawrence Mitchell <wence@gmx.li>
7083
7084 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7085 all whitespace around breakpoint. (Bug#9553)
7086 (f90-find-breakpoint): Only break at whitespace inside a comment.
7087
78054a46
SM
70882011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * minibuffer.el (completion-file-name-table): Keep track of errors.
7091 (completion-table-with-predicate): Handle the case where pred1 is nil.
7092 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7093
345083b2
SM
70942011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7095
e24e27be
SM
7096 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7097 (debugger-return-value): Signal an error if the debugging context does
7098 not await any return value.
7099
345083b2
SM
7100 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7101 * image-mode.el (image-toggle-display-text)
7102 (image-toggle-display-image): Stay away from evil `intangible'.
7103
08d355e3
LL
71042011-09-19 Leo Liu <sdl.web@gmail.com>
7105
7106 * replace.el (occur-revert-arguments): Make it permanent-local.
7107 (occur-mode): Don't call font-lock-defontify.
7108
f01da43f
CY
71092011-09-19 Chong Yidong <cyd@stupidchicken.com>
7110
7111 * net/ldap.el (ldap-search-internal): Don't push empty search
7112 result (Bug#9508).
7113
b6072fa6
SM
71142011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7117
443d6696
MA
71182011-09-19 Michael Albinus <michael.albinus@gmx.de>
7119
7120 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7121 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7122
7cc6e154
JL
71232011-09-18 Juri Linkov <juri@jurta.org>
7124
7125 * buff-menu.el (Buffer-menu-mode-map):
7126 * dired.el (dired-mode-map):
7127 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7128 (lisp-interaction-mode-map):
7129 * emacs-lisp/package.el (package-menu-mode-map):
7130 * epa.el (epa-key-list-mode-map):
7131 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7132 (menu-bar-options-menu):
7133 * outline.el (outline-mode-menu-bar-map):
7134 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7135 * vc/vc-dir.el (vc-dir-menu-map):
7136 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7137 Capitalize non-function content words in menu item strings.
7138
7139 * dired.el (dired-mode-map): Add menu item for
7140 `image-dired-dired-toggle-marked-thumbs'.
7141
80302a81
JL
71422011-09-18 Juri Linkov <juri@jurta.org>
7143
7144 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7145 to `isearch-case-fold-search' and restore its original value
7146 after the `isearch-mode' call.
7147
46c5cf66
JL
71482011-09-18 Juri Linkov <juri@jurta.org>
7149
7150 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7151 because `zgrep' returns 1 for successful matches (bug#9226).
7152
d18b513b
JL
71532011-09-18 Juri Linkov <juri@jurta.org>
7154
7155 * info.el (Info-extract-menu-node-name): Check the second match
7156 for empty string (second test-case of bug#9528).
7157 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7158 intermediate nodes to the history (first test-case of bug#9528).
7159
72753f87
JL
71602011-09-18 Juri Linkov <juri@jurta.org>
7161
7162 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7163 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7164
c9384295
JL
71652011-09-18 Juri Linkov <juri@jurta.org>
7166
1154d12e
JB
7167 * info.el (Info-file-supports-index-cookies):
7168 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7169 outputs one more line for long file names (bug#4142).
c9384295 7170
d473dce8
CY
71712011-09-18 Chong Yidong <cyd@stupidchicken.com>
7172
7173 * newcomment.el (comment-normalize-vars): If prompting for
7174 comment-start, set comment-start-skip too (Bug#8424).
7175
2176854d
JB
71762011-09-18 Johan Bockgård <bojohan@gnu.org>
7177
7178 * icomplete.el: Fix previous fix of Bug#5849.
7179 (icomplete-mode): Don't set completion-show-inline-help.
7180 (icomplete-minibuffer-setup): Set completion-show-inline-help
7181 locally during icompletion.
7182
3aace4e4
CY
71832011-09-18 Chong Yidong <cyd@stupidchicken.com>
7184
c940224f
CY
7185 * woman.el (woman2-process-escapes): Don't delete unrecognized
7186 escapes (Bug#7843).
7187
3aace4e4
CY
7188 * files.el (inhibit-first-line-modes-regexps): Add image files.
7189 (hack-local-variables-prop-line): Return nil for malformed
7190 prop-lines (Bug#9044).
7191
710dec63
MA
71922011-09-18 Michael Albinus <michael.albinus@gmx.de>
7193
7194 * net/tramp.el (top): Don't require 'shell.
7195 (tramp-methods): Fix docstring.
7196 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7197 Return complete remote file name. Handle "smb" case.
7198 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7199 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7200
7201 * net/tramp-compat.el (top): Require 'shell.
7202
7203 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7204 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7205 `tramp-current-host'.
7206 (tramp-get-remote-tmpdir): Remove.
7207
7208 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7209 `tramp-tmpdir' entries.
7210 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7211 (tramp-smb-handle-file-attributes): Ignore errors.
7212 (tramp-smb-wait-for-output): Check also for process end.
7213
5d5ac8ec
LMI
72142011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
7216 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7217 when sending QUIT (bug#9312).
7218
8c0f49f0
CY
72192011-09-17 Chong Yidong <cyd@stupidchicken.com>
7220
7221 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7222 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7223 occur-mode-display-occurrence.
7224 (occur-edit-mode): Add usage message.
7225 (occur-cease-edit): New command.
7226 (occur-after-change-function): Use text properties to find the
7227 position of the prefix text.
7228 (occur-engine): Set stickiness of prefix text properties.
7229
8f1383f7
GM
72302011-09-17 Glenn Morris <rgm@gnu.org>
7231
7232 * progmodes/etags.el (complete-tag):
7233 Fix call to completion-in-region. (Bug#9526)
7234
744ba0e3
JL
72352011-09-17 Juri Linkov <juri@jurta.org>
7236
7237 * textmodes/ispell.el (ispell-word): Add to the error message
7238 the word, ispell program name and current dictionary (bug#9121).
7239 (ispell-tex-arg-end): Capitalize "error" in the error message.
7240
d9bbf400
AS
72412011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7242
7243 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7244 check. (Bug#4251)
7245
8da11505
JL
72462011-09-17 Juri Linkov <juri@jurta.org>
7247
7248 * window.el (window-safe-min-height, window-safe-min-width):
7249 Fix typos (followup to bug#9522).
7250
a91adc7e
SJ
72512011-09-17 Sven Joachim <svenjoac@gmx.de>
7252
7253 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7254
064f328a
EZ
72552011-09-16 Eli Zaretskii <eliz@gnu.org>
7256
7257 * simple.el (line-move): If goal-column is set, move by logical
7258 lines, not by display lines. (Bug#971)
7259 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7260 to reflect the above change.
7261
e69df516
SM
72622011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * image.el (imagemagick-register-types): Use regexp-opt.
7265
cbb0f9ab
CY
72662011-09-15 Chong Yidong <cyd@stupidchicken.com>
7267
7268 * window.el (display-buffer-base-action): Rename from
7269 display-buffer-default-action. Make default value empty.
7270 (display-buffer-overriding-action): Convert to defvar.
7271 (display-buffer-fallback-action): New var.
7272
25322144
CY
72732011-09-15 Chong Yidong <cyd@stupidchicken.com>
7274
7275 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7276 declaration.
7277 (package--add-to-archive-contents): If there is a duplicate entry
7278 with an older version, remove it.
7279 (package-menu-mark-delete, package-menu-mark-install)
7280 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7281 (package-menu-mark-obsolete-for-deletion):
7282 Use package-menu-get-status instead of a regexp search.
25322144
CY
7283 (package-menu-get-status): Use tabulated-list-entry.
7284 (package-menu-mark-upgrades): New command.
d770725a 7285 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7286 (package-menu-execute): Do installation before deletion.
7287 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7288 instead of checking major-mode.
7289 (package-menu--find-upgrades): New function.
7290
7520339c
LMI
72912011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7292
7293 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7294 passwords in the log buffer.
65a046c4
LMI
7295 (smtpmail-process-filter): Update the process marker so that the
7296 "broken by peer" status message is inserted in the right place.
7520339c 7297
d3c30954
SM
72982011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7299
3fe48822
SM
7300 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7301 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7302 bibtex-completion-at-point-function.
7303 (bibtex-completion-at-point-function): Use them.
7304
1b8b3954
SM
7305 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7306
d3c30954
SM
7307 * mpc.el (mpc-constraints-tag-lookup): New function.
7308 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7309 also to browser "album|playlist".
7310
72779976
JL
73112011-09-14 Juri Linkov <juri@jurta.org>
7312
7313 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7314 (isearch-edit-string): Use length of `isearch-string' when
7315 `isearch-fail-pos' returns nil.
7316 (isearch-message): Remove duplicate code and call
7317 `isearch-fail-pos' with arg `t'.
7318
a0bf2bcd
CY
73192011-09-14 Chong Yidong <cyd@stupidchicken.com>
7320
17bb0a2d
CY
7321 * replace.el (occur-mode-goto-occurrence): Don't force using other
7322 window (Bug#9499).
7323
a0bf2bcd
CY
7324 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7325
f678e0b6
MR
73262011-09-14 Martin Rudalics <rudalics@gmx.at>
7327
7328 * window.el (display-buffer-window): Remove.
7329 (display-buffer-record-window): Use help-setup window parameter
7330 instead of variable display-buffer-window.
7331 (display-buffer-function, special-display-buffer-names)
7332 (special-display-function): Mention help-setup parameter instead
7333 of display-buffer-window in doc-string.
d3c30954
SM
7334 * help.el (help-window-setup): New argument help-window.
7335 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7336 Reword some messages.
7337 (with-help-window): Pass window used for displaying the buffer
7338 to help-window-setup. Don't set display-buffer-window.
7339
8e39b2e8
GM
73402011-09-13 Glenn Morris <rgm@gnu.org>
7341
7342 * emacs-lisp/debug.el (debugger-make-xrefs):
7343 Preserve point. (Bug#9462)
7344
85e9c04b
CY
73452011-09-13 Chong Yidong <cyd@stupidchicken.com>
7346
7347 * window.el (window-deletable-p): Use next-frame.
7348
1b36ed6a
MR
73492011-09-13 Martin Rudalics <rudalics@gmx.at>
7350
7351 * window.el (window-auto-delete): Remove.
7352 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7353 dedication and previous buffers.
1b36ed6a
MR
7354 (switch-to-prev-buffer): Don't delete window.
7355 (delete-windows-on): Delete a window's frame if and only if the
7356 window is dedicated.
7357 (replace-buffer-in-windows): Delete buffer's window or frame if
7358 and only if window is dedicated.
7359 (quit-window): Handle quit-restore as before last change.
4d61f28d 7360 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7361
ef8ef9fb
CY
73622011-09-13 Chong Yidong <cyd@stupidchicken.com>
7363
7364 * window.el (window-deletable-p): Never delete the last frame on a
7365 given terminal.
7366
b2cba41e
GM
73672011-09-13 Glenn Morris <rgm@gnu.org>
7368
7369 * help.el (describe-key-briefly): Copy previous standard-output change.
7370
51553db6 73712011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7372
7373 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7374
b7556719
GM
73752011-09-13 Glenn Morris <rgm@gnu.org>
7376
7377 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7378 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7379
64b51947
CY
73802011-09-12 Chong Yidong <cyd@stupidchicken.com>
7381
7382 * dired-aux.el (dired-mark-read-string): Don't return default
7383 value on empty input (Bug#9361).
7384 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7385 Omit initial minibuffer contents.
7386 (dired-do-chmod): Signal an error on empty input.
7387 (dired-mark-read-string): Don't return default on empty input.
7388
7389 * files.el (file-modes-symbolic-to-number): Doc fix.
7390
393a301e
SM
73912011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * international/mule-cmds.el (ucs-completions): Remove.
7394 (read-char-by-name): Use complete-with-action instead; add metadata.
7395
fa5660f9
CY
73962011-09-11 Chong Yidong <cyd@stupidchicken.com>
7397
7398 * window.el (display-buffer--action-function-custom-type)
7399 (display-buffer--action-custom-type): New vars.
7400 (display-buffer-alist, display-buffer-default-action)
7401 (display-buffer-overriding-action): Add defcustom types.
7402
4a592f66
CY
7403 * frame.el (delete-other-frames): Doc fix (Bug#276).
7404
73d56dbd
LMI
74052011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406
7407 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7408
37ac18a3
CY
74092011-09-11 Chong Yidong <cyd@stupidchicken.com>
7410
7411 Change modes that used same-window-* vars to use switch-to-buffer.
7412
7413 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7414 Use switch-to-buffer.
7415
7416 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7417 (customize-browse, custom-buffer-create-other-window):
7418 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7419
7420 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7421 (Info-prev, Info-up, Info-speedbar-goto-node)
7422 (info-display-manual): Use switch-to-buffer.
7423 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7424
7425 * mail/sendmail.el (mail): Use switch-to-buffer.
7426 (mail-recover): Use switch-to-buffer-other-window.
7427
7428 * cmuscheme.el (run-scheme, switch-to-scheme):
7429 * ielm.el (ielm):
7430 * shell.el (shell):
7431 * net/rlogin.el (rlogin):
7432 * net/telnet.el (telnet, rsh):
7433 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7434
10195bd6
AS
74352011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7436
7437 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7438
b322f63a
LMI
74392011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7440
39d7fed6
LMI
7441 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7442 so don't mention it (bug#9301).
ba5a81f1 7443 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7444
ee0e9f11
LMI
7445 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7446 match `x', `w32' and `ns', like the manual says (bug#9029).
7447
0b1c89c1 7448 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7449 (process-kill-buffer-query-function): Mention the buffer name in
7450 the query.
0b1c89c1 7451
77549ea8
LMI
7452 * image-mode.el (image-next-line): The line parameter is mandatory
7453 (bug#9258).
7454
803ef892
LMI
7455 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7456 which can be useful (bug#9301).
7457
12980837
LMI
7458 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7459
91054f8f
LMI
7460 * subr.el (match-string): Mention that the current buffer should
7461 be the same as the search was done in (bug#9282).
7462
b322f63a
LMI
7463 * facemenu.el: Disable the remove-* commands if the mark isn't
7464 active (bug#9162).
7465
3199b96f
CY
74662011-09-10 Chong Yidong <cyd@stupidchicken.com>
7467
7468 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7469 of display-buffer.
7470 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7471
7472 * replace.el (occur-mode-goto-occurrence)
7473 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7474 and display-buffer.
7475
7476 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7477 display-buffer.
7478
7479 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7480 special-display and same-window variables.
7481 (mail-other-window): Use switch-to-buffer-other-window.
7482 (mail-other-frame): USe switch-to-buffer-other-frame.
7483
393a301e
SM
7484 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7485 Use display-buffer-other-frame.
3199b96f
CY
7486 (gdb-display-gdb-buffer): Use pop-to-buffer.
7487
7488 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7489
7490 * progmodes/python.el: Don't set same-window-buffer-names.
7491
7492 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7493
7494 * window.el (display-buffer-alist): Add *Python*.
7495
8319e0bf
CY
74962011-09-10 Chong Yidong <cyd@stupidchicken.com>
7497
7498 * window.el (display-buffer-alist): Add entry for buffers
7499 previously handled same-window-*.
7500 (display-buffer-alist, display-buffer-default-action)
7501 (display-buffer-overriding-action): Mark as risky.
7502 (display-buffer-alist): Document action function changes.
7503 (display-buffer--same-window-action)
7504 (display-buffer--other-frame-action): New variables.
7505 (switch-to-buffer, display-buffer-other-frame): Use them.
7506 (display-buffer): Rename reuse-frame entry to reusable-frames.
7507 (display-buffer-reuse-selected-window): Function deleted.
7508 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7509 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7510 (display-buffer-special): New function.
7511 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7512 display-buffer-reuse-or-pop-window. Split off special-display
7513 part into display-buffer-special.
7514 (display-buffer-use-some-window): Don't perform any special
7515 pop-up-frames handling.
7516 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7517 (display-buffer--maybe-same-window): Rename from
0d3ff375 7518 display-buffer-maybe-same-window.
8319e0bf 7519
919a69aa
CY
7520 * info.el: Don't set same-window-regexps.
7521 (info-setup): New function.
7522 (info-other-window, info): Call it.
7523
7524 * cus-edit.el: Don't set same-window-regexps.
7525 (customize-group): New argument.
7526 (customize-group-other-window): Use it.
7527 (customize-face, customize-face-other-window): Likewise.
7528 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7529
8319e0bf
CY
7530 * net/rlogin.el:
7531 * net/telnet.el:
7532 * progmodes/gud.el: Don't set same-window-regexps.
7533
7534 * cmuscheme.el:
7535 * ielm.el:
7536 * shell.el:
7537 * mail/sendmail.el:
7538 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7539
25173000
JL
75402011-09-10 Juri Linkov <juri@jurta.org>
7541
7542 * isearch.el (isearch-edit-string): Remove obsolete mention of
7543 `C-w' (`isearch-yank-word-or-char') from docstring.
7544 (isearch-query-replace): Fix typo in docstring (bug#9466).
7545
056e44ef
JL
75462011-09-10 Juri Linkov <juri@jurta.org>
7547
7548 * paren.el (show-paren-function): Don't show escaped parens.
7549 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7550
c3760c17
EZ
75512011-09-10 Eli Zaretskii <eliz@gnu.org>
7552
7553 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7554 (mm-default-file-encoding): Remove autoload forms, they are
7555 replaced with autoload cookies in mml.el and mm-encode.el.
7556 (mail-add-attachment): New command.
7557 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7558 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7559 the doc string.
7560 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7561
fece895e
RT
75622011-09-10 Reuben Thomas <rrt@sc3d.org>
7563
e69df516
SM
7564 * simple.el (count-words-region): Use buffer if there's no region
7565 (bug#9429).
fece895e 7566
5e68ce4a
JL
75672011-09-09 Juri Linkov <juri@jurta.org>
7568
7569 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7570 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7571 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7572
0a6b9622
AM
75732011-09-09 Alan Mackenzie <acm@muc.de>
7574
7575 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7576 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7577
14a29deb
EZ
75782011-09-09 Eli Zaretskii <eliz@gnu.org>
7579
7580 Fix for Savannah bug#9392.
7581 * simple.el (mail-encode-mml): New defvar.
7582
7583 * mail/rmail.el (mail-encode-mml): Add a defvar.
7584 (rmail-enable-mime-composing): Default to t.
7585 (rmail-forward): Use MIME method of forwarding only if both
7586 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7587 Set mail-encode-mml non-nil if the MIME method was used.
7588
7589 * mail/sendmail.el (mml-to-mime): Add autoload form.
7590 (mail-encode-mml): Add a defvar.
7591 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7592 to nil.
7593 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7594 message through mml-to-mime, and reset mail-encode-mml to nil.
7595
28c45130
GM
75962011-09-09 Glenn Morris <rgm@gnu.org>
7597
7598 * woman.el (woman-if-body): When processing an .el block,
7599 do not delete the next .el block as well. (Bug#9447)
69f4b618 7600 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7601
9b1c252e
MR
76022011-09-08 Martin Rudalics <rudalics@gmx.at>
7603
7604 * window.el (window-deletable-p): Make sure window is live before
7605 invoking window-prev-buffers.
7606
567457e3
LL
76072011-09-08 Leo Liu <sdl.web@gmail.com>
7608
7609 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7610
97f05794
JL
76112011-09-08 Juri Linkov <juri@jurta.org>
7612
7613 * progmodes/compile.el (compilation-environment): Make it
7614 a defcustom (bug#8340).
7615
8b0874b5
MR
76162011-09-08 Martin Rudalics <rudalics@gmx.at>
7617
7618 * window.el (frame-auto-delete): Rename to window-auto-delete.
7619 Make it control auto-deletion of windows and/or frames.
7620 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7621 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7622 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7623 Rewrite handling of case when window/frame can be deleted.
7624 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7625 argument t. (Bug#9456)
8b0874b5 7626
4feb6e73
CY
76272011-09-07 Chong Yidong <cyd@stupidchicken.com>
7628
7629 * help-mode.el (help-mode): Restore autoload.
7630
91ab9c13
JL
76312011-09-07 Juri Linkov <juri@jurta.org>
7632
7633 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7634 `compilation-environment'. Set buffer-local
7635 `compilation-environment' to `thisenv' later after (funcall mode).
7636 (Bug#8340)
7637
7638 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7639 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7640 instead of replacing its value. (Bug#8340)
7641
0527e251
JL
76422011-09-07 Juri Linkov <juri@jurta.org>
7643
7644 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7645 based on text properties put by `grep-filter' instead of matching
7646 escape sequences.
7647 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7648 to the value of `grep-error-screen-columns' (bug#9438).
7649
249f792c
JL
76502011-09-07 Juri Linkov <juri@jurta.org>
7651
7652 * simple.el (next-error-highlight, next-error-highlight-no-select):
7653 Doc fix (bug#9432).
7654
ff7271b9
OT
76552011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7656
7657 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7658 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7659
183fc730
LL
76602011-09-07 Leo Liu <sdl.web@gmail.com>
7661
7662 * net/rcirc.el (rcirc-mode): Conditionally initialize
7663 rcirc-input-ring.
7664
77694924
SM
76652011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * emacs-lisp/find-func.el (find-function-C-source): Only set
7668 find-function-C-source-directory after checking that we found a source
7669 file there (bug#9440).
7670
d809b8eb
AM
76712011-09-06 Alan Mackenzie <acm@muc.de>
7672
7673 * isearch.el (isearch-other-meta-char): Wherever a key list is
7674 unread, "unread" the prefix arg, too. This fixes bug #8901.
7675
453de99f
OG
76762011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7677
7678 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7679
90439906
JL
76802011-09-05 Juri Linkov <juri@jurta.org>
7681
7682 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7683
f62bd846
JL
76842011-09-05 Juri Linkov <juri@jurta.org>
7685
7686 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7687 keeping point where processing of grep matches begins, and
7688 continue to delete remaining escape sequences from the same point.
7689 (grep-filter): Make leading zero optional in "0?1;31m" because
7690 git-grep emits "\033[1;31m" escape sequences unlike expected
7691 "\033[01;31m" as GNU Grep does (bug#9408).
7692 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7693
045820ec
JL
76942011-09-05 Juri Linkov <juri@jurta.org>
7695
7696 * subr.el (y-or-n-p): Capitalize "yes".
7697
f5e29b9b
MA
76982011-09-04 Michael Albinus <michael.albinus@gmx.de>
7699
7700 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7701 `tramp-cache-unload-hook' where appropriate.
7702 (tramp-methods): Rename `tramp-remote-sh' to
7703 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7704 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7705
7706 * net/tramp-sh.el (top): Don't require 'shell.
7707 (tramp-methods): Add `tramp-remote-shell' and
7708 `tramp-remote-shell-args' entries.
7709 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7710 (tramp-sh-handle-shell-command): Remove.
7711 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7712 Use `tramp-remote-shell'.
7713
2784c434
CY
77142011-09-03 Chong Yidong <cyd@stupidchicken.com>
7715
393a301e 7716 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7717 (sendmail-query-once): Save directly to send-mail-function.
7718 Update message-send-mail-function too.
7719
7720 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7721
464cdf56
CS
77222011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7723
7724 * progmodes/python.el (python-mode-map): Use correct function to
7725 start python interpreter from menu-bar (as reported by Geert
7726 Kloosterman).
7727 (inferior-python-mode-map): Fix typo.
393a301e 7728 (python-shell-map): Remove.
464cdf56 7729
d37e5c87
DD
77302011-09-03 Deniz Dogan <deniz@dogan.se>
7731
7732 * net/rcirc.el (rcirc-print): Simplify code for
7733 rcirc-scroll-show-maximum-output. There is no need to walk
7734 through all windows to find the right one.
7735
f3ada0ee
CS
77362011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7737
7738 * help.el (help-return-method): Doc fix.
7739
1f3c99ca
MR
77402011-09-03 Martin Rudalics <rudalics@gmx.at>
7741
7742 * window.el (window-deletable-p): Don't return a non-nil value
7743 when there's a buffer that was shown in the window before.
7744 (Bug#9419)
393a301e
SM
7745 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7746 Set window's previous buffers to nil.
1f3c99ca 7747
a3cf097f
EZ
77482011-09-03 Eli Zaretskii <eliz@gnu.org>
7749
7750 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7751 newline before and after the tag line, so it doesn't interfere
7752 with determining the paragraph direction of bidirectional text.
7753
3d03de90
LL
77542011-09-03 Leo Liu <sdl.web@gmail.com>
7755
7756 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7757
c3313451
CY
77582011-09-02 Chong Yidong <cyd@stupidchicken.com>
7759
393a301e 7760 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7761 (pop-to-buffer): Change interactive spec. Pass second argument
7762 directly to display-buffer.
7763 (display-buffer): Fix interactive spec. Use functionp to
7764 distinguish between a function and a list of functions.
7765
7766 * abbrev.el (edit-abbrevs):
7767 * arc-mode.el (archive-extract):
7768 * autoinsert.el (auto-insert):
7769 * bookmark.el (bookmark-bmenu-list):
7770 * files.el (find-file):
7771 * view.el (view-buffer):
7772 * progmodes/compile.el (compilation-goto-locus):
7773 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7774
89894cd8
CY
77752011-09-02 Chong Yidong <cyd@stupidchicken.com>
7776
7777 * window.el (display-buffer-alist): Doc fix.
7778 (display-buffer): Add docstring. Don't treat
7779 display-buffer-default specially.
7780 (display-buffer-reuse-selected-window)
7781 (display-buffer-same-window, display-buffer-maybe-same-window)
7782 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7783 (display-buffer-pop-up-window)
7784 (display-buffer-reuse-or-pop-window)
7785 (display-buffer-use-some-window): New functions.
7786 (display-buffer-default-action): Use them.
393a301e 7787 (display-buffer-default): Delete.
89894cd8
CY
7788 (pop-to-buffer-1): Fix choice of actions.
7789
ae0bc9fb
SM
77902011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * minibuffer.el (completion--insert-strings): Don't get confused by
7793 completion entries that end with an LF char.
7794
e9d90883
EZ
77952011-09-01 Eli Zaretskii <eliz@gnu.org>
7796
7797 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7798
437014c8
CY
77992011-09-01 Chong Yidong <cyd@stupidchicken.com>
7800
7801 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7802 (display-buffer-same-window, display-buffer-other-window):
7803 New functions.
437014c8
CY
7804 (pop-to-buffer-1): New function. Use the above.
7805 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7806 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7807
7808 * view.el (view-buffer-other-window, view-buffer-other-frame):
7809 Just use pop-to-buffer.
7810
a5e063d5
TV
78112011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7812
7813 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7814
793d32bb
WH
78152011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7816
7817 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7818
d65e4c15
RS
78192011-08-31 Richard Stallman <rms@gnu.org>
7820
7821 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7822 of the separation of rmail-view-buffer from rmail-buffer.
7823 If you say no to "replace original", the decrypt is in the
7824 view buffer. If you say yes, the decrypt goes into the
7825 rmail buffer also.
7826
f818cd2a
MR
78272011-08-31 Martin Rudalics <rudalics@gmx.at>
7828
7829 * window.el (display-buffer-window): Rewrite doc-string.
7830 (display-buffer-record-window): New function.
7831 (display-buffer-macro-specifiers)
7832 (display-buffer-even-window-sizes, display-buffer-set-height)
7833 (display-buffer-set-width, display-buffer-in-window)
7834 (display-buffer-reuse-window, display-buffer-split-specifiers)
7835 (display-buffer-side-specifiers, display-buffer-split-window-1)
7836 (display-buffer-split-window, display-buffer-split-atom-window)
7837 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7838 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7839 (display-buffer-other-window-means-other-frame)
7840 (display-buffer-normalize-special)
7841 (display-buffer-normalize-default)
7842 (display-buffer-normalize-argument)
7843 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7844 (display-buffer-normalize-specifiers, display-buffer-frame)
7845 (display-buffer-same-window, display-buffer-same-frame)
7846 (display-buffer-other-window)
7847 (display-buffer-same-frame-other-window)
7848 (display-buffer-other-frame, pop-to-buffer-same-window)
7849 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7850 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7851 (switch-to-buffer-same-frame)
7852 (switch-to-buffer-other-window-same-frame)
7853 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7854 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7855 (display-buffer-alist-set): Remove.
7856 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7857 (special-display-regexps, special-display-function):
7858 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7859 parameter.
7860 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7861 (special-display-frame-alist, special-display-popup-frame)
7862 (same-window-buffer-names, same-window-regexps, same-window-p)
7863 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7864 (split-window-preferred-function, split-height-threshold)
7865 (split-width-threshold, window-splittable-p)
7866 (split-window-sensibly, window--try-to-split-window)
7867 (window--frame-usable-p, even-window-heights)
7868 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7869 (window--display-buffer-2, display-buffer-other-frame):
7870 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7871 (display-buffer-default, display-buffer-assq-regexp): New functions.
7872 (display-buffer-alist): Rewrite doc-string.
7873 (display-buffer-default-action)
7874 (display-buffer-overriding-action): New variables.
7875 (display-buffer, switch-to-buffer): Rewrite.
7876 (pop-to-buffer): Restore Emacs 23 behavior but use
7877 window-normalize-buffer-to-display.
7878 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7879 Restore Emacs 23 behavior but use
7880 window-normalize-buffer-to-switch-to.
7881 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7882 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7883 Rewrite using Emacs 23 options.
f818cd2a 7884
5bc3b51d
MA
78852011-08-31 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * net/tramp.el (tramp-root-regexp): Remove.
7888 (tramp-completion-file-name-regexp-unified)
7889 (tramp-completion-file-name-regexp-separate)
7890 (tramp-completion-file-name-regexp-url): Don't use leading volume
7891 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7892 (tramp-drop-volume-letter): Simplify definition.
7893 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7894
b1a4f8e1
SM
78952011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7898 (bug#9356).
7899
5664fa7b
RT
79002011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7901
b1a4f8e1 7902 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7903
9a45d6c3
JL
79042011-08-29 Juri Linkov <juri@jurta.org>
7905
7906 * isearch.el (isearch-done): Don't display message "Mark saved"
7907 when arg `edit' is non-nil to prevent its flicker in the echo area.
7908
fb87e0fb
CY
79092011-08-28 Chong Yidong <cyd@stupidchicken.com>
7910
7911 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7912 obsolete packages for deletion.
7913
09ac1c2a
CS
79142011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7915
7916 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7917 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7918 view-mode from help-mode.
7919 (help-xref-override-view-map): Remove.
7920 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7921 view-mode is not used anymore.
7922
7a1ff57f
CY
79232011-08-28 Chong Yidong <cyd@stupidchicken.com>
7924
7925 * server.el (server-port): Doc fix.
7926
b9696605
CY
7927 * cus-theme.el (custom-theme-choose-mode): Inherit from
7928 special-mode (Bug#9124).
7929 (custom-theme-choose-mode-map): Add special-mode to parent.
7930
ef8cdf8c
AM
79312011-08-28 Alan Mackenzie <acm@muc.de>
7932
7933 * progmodes/cc-fonts.el
7934 (c-make-font-lock-BO-decl-search-function): New function.
7935 (c-basic-matchers-after - "Fontify the clauses after various
7936 keywords"): Extract the three keyword lists for the 3 erroneous
7937 constructs from the list of four, and use the new function above
7938 in place of an old one.
7939
27de4e20
DD
79402011-08-28 Deniz Dogan <deniz@dogan.se>
7941
7942 * net/rcirc.el (rcirc-insert-prev-input)
7943 (rcirc-insert-next-input): Remove unused argument.
7944
356a3681
SM
79452011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7948
3fc9b218
AM
79492011-08-27 Alan Mackenzie <acm@muc.de>
7950
7951 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7952 handle function pointer parameters properly.
7953
538a061c
MR
79542011-08-27 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (display-buffer-reuse-window): Fix case where
7957 selected window was reused with non-nil OTHER-WINDOW argument.
7958 (Bug#9381)
7959
35b1c40c
DD
79602011-08-27 Deniz Dogan <deniz@dogan.se>
7961
7962 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7963 oftc's NickServ messages.
7964
2f6a3e79
GM
79652011-08-27 Glenn Morris <rgm@gnu.org>
7966
7967 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7968
7254299e
CY
79692011-08-26 Chong Yidong <cyd@stupidchicken.com>
7970
7971 * emacs-lisp/package.el (package-install): Call package-initialize
7972 if called interactively.
7973
f8ccf167
LL
79742011-08-26 Leo Liu <sdl.web@gmail.com>
7975
7976 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7977
3e8cd5ce
JL
79782011-08-25 Juri Linkov <juri@jurta.org>
7979
7980 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7981 `search-whitespace-regexp' (bug#9364).
7982
93eb7113
JL
79832011-08-25 Juri Linkov <juri@jurta.org>
7984
7985 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7986 `regexp-search-ring' to their global values to protect from
7987 updating by `read-from-minibuffer' (bug#9185).
7988
f65d1611
JL
79892011-08-25 Juri Linkov <juri@jurta.org>
7990
7991 * textmodes/ispell.el (ispell-command-loop): Add newline
7992 at the end of the "Use option `i'..." line.
7993
f1cf7a31
JL
79942011-08-25 Juri Linkov <juri@jurta.org>
7995
7996 * battery.el (display-battery-mode): If `battery-status-function'
7997 or `battery-mode-line-format' is nil, display the message and set
7998 `display-battery-mode' to nil (bug#9363).
7999
0c95fcf7
EZ
80002011-08-25 Eli Zaretskii <eliz@gnu.org>
8001
8002 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8003 bidi-string-mark-left-to-right; they are unnecessary now.
8004
a2ebe600
DD
80052011-08-25 Deniz Dogan <deniz@dogan.se>
8006
8007 * net/quickurl.el: Documentation typo fixes.
8008
e4ed06f1
CY
80092011-08-25 Chong Yidong <cyd@stupidchicken.com>
8010
8011 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8012
e5f1c99e
GM
80132011-08-25 Glenn Morris <rgm@gnu.org>
8014
b2948976
GM
8015 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8016
e5f1c99e
GM
8017 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8018 (smtpmail-via-smtp): Handle nil response from smtp.
8019
f22f4808
JL
80202011-08-24 Juri Linkov <juri@jurta.org>
8021
8022 * proced.el (proced-marked): Inherit from `error' instead of
8023 `font-lock-warning-face'.
8024
8025 * ibuffer.el (ibuffer-marked-face): Change default face from
8026 `font-lock-warning-face' to `warning'.
8027 (ibuffer-deletion-face): Change default face from
8028 `font-lock-type-face' to `error'.
8029
8030 * battery.el (battery-update): Use the face `error' instead of
8031 `font-lock-warning-face' (bug#6117).
8032
6a93965e
JL
80332011-08-24 Juri Linkov <juri@jurta.org>
8034
8035 * faces.el (success): Change face color from "Green3" to
8036 "ForestGreen" on light background (bug#9353).
8037
1ed43b09
CY
80382011-08-24 Chong Yidong <cyd@stupidchicken.com>
8039
5664fa7b
RT
8040 * window.el (quit-window): Rename from quit-restore-window.
8041 Use same arglist as old quit-window.
1ed43b09
CY
8042 (frame-auto-delete): Doc fix.
8043
8044 * view.el (view-mode-exit): Use quit-window.
8045
11dcdbb2
JL
80462011-08-24 Juri Linkov <juri@jurta.org>
8047
8048 * isearch.el (isearch-ring-adjust1): Start visiting previous
8049 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8050 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8051 for empty search string (when the last search string is reused
8052 automatically) to adjust the isearch ring to the last element and
8053 prepare the correct index for further M-p commands (bug#9185).
8054
de62b4df
KH
80552011-08-24 Kenichi Handa <handa@m17n.org>
8056
8057 * international/ucs-normalize.el: If decomposition property of
8058 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8059 nil.
8060 (nfd, nfkd): Likewise.
8061
963b492b
SM
80622011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8065 from process filters aren't reliably transmitted to the surrounding
8066 accept-process-output.
8067 (mpc-proc-check): New function.
8068 (mpc-proc-sync): Use it (bug#8293)
8069
93b6b5e1
SM
80702011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8073 Add compatibility functions (bug#9313).
8074
bca633fb
EZ
80752011-08-23 Eli Zaretskii <eliz@gnu.org>
8076
b177498a
EZ
8077 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8078
6df6ae42 8079 * international/uni-bidi.el: Regenerate.
bca633fb 8080
0902a04e
KH
80812011-08-23 Kenichi Handa <handa@m17n.org>
8082
8083 * international/charprop.el:
8084 * international/uni-bidi.el:
8085 * international/uni-category.el:
8086 * international/uni-combining.el:
8087 * international/uni-comment.el:
8088 * international/uni-decimal.el:
8089 * international/uni-decomposition.el:
8090 * international/uni-digit.el:
8091 * international/uni-lowercase.el:
8092 * international/uni-mirrored.el:
8093 * international/uni-name.el:
8094 * international/uni-numeric.el:
8095 * international/uni-old-name.el:
8096 * international/uni-titlecase.el:
8097 * international/uni-uppercase.el: Regenerate.
8098
3bbf23bc
MR
80992011-08-23 Martin Rudalics <rudalics@gmx.at>
8100
8101 * help.el (help-window-setup): Fix message displayed when other
8102 window is reused. (Bug#9341)
8103
b3fd59bd
SM
81042011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8105
1802e444
SM
8106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8107 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8108
b3fd59bd
SM
8109 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8110 Mark obsolete.
8111 * shell.el (shell-parse-pcomplete-arguments): New function.
8112 (shell-completion-vars): Use it instead (bug#9160).
8113
4eb61348
SM
81142011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8115
867cab74
SM
8116 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8117 strings and comments (bug#9333).
8118
4eb61348
SM
8119 * emacs-lisp/debug.el (debug-arglist): New function.
8120 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8121 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8122
262a1439
JL
81232011-08-22 Juri Linkov <juri@jurta.org>
8124
56ee679c
JL
8125 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8126 Revert regexp that highlights output switches to its old
8127 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8128
262a1439
JL
8129 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8130 to check for empty output (bug#9226).
8131
f13f86fb
CY
81322011-08-22 Chong Yidong <cyd@stupidchicken.com>
8133
8134 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8135 symbol-constituent as the default, as that stops font-lock from
8136 working properly (Bug#8843).
8137
c65c9622
LMI
81382011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8139
8140 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8141 `coding-system-for-*' around the process open call to avoid
8142 auth-source side effects.
e7f2c178 8143 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8144 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8145 probe hangs.
c65c9622 8146
23a8a5ab
CY
81472011-08-21 Chong Yidong <cyd@stupidchicken.com>
8148
ff98b2dd
CY
8149 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8150
23a8a5ab
CY
8151 * emacs-lisp/find-func.el (find-function-noselect): New arg
8152 lisp-only.
8153
8154 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8155 signal an error for built-in functions (Bug#6664).
8156
f5e3c598
LMI
81572011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8158
8159 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8160 (smtpmail-try-auth-methods): Use it.
8161
a3f2468a
CY
81622011-08-21 Chong Yidong <cyd@stupidchicken.com>
8163
2c34e8da
CY
8164 * font-lock.el (font-lock-fontify-region)
8165 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8166 (font-lock-default-unfontify-buffer)
8167 (font-lock-default-fontify-region)
8168 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8169
b3fd59bd
SM
8170 * progmodes/compile.el (compilation-error-properties):
8171 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8172 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8173 `ant' regexp.
ee31aabc 8174
a3f2468a
CY
8175 * net/browse-url.el (browse-url-firefox): Don't call
8176 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8177
8e999f70
GM
81782011-08-20 Glenn Morris <rgm@gnu.org>
8179
c21a496a
GM
8180 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8181
59ee0542
GM
8182 * tutorial.el (tutorial--default-keys): Update some default bindings.
8183
8e999f70
GM
8184 * files.el (hack-local-variables): Fully ignore case for "mode:".
8185
e3715033
AM
81862011-08-20 Alan Mackenzie <acm@muc.de>
8187
8188 Resolve invalid use of a regexp in regexp-opt.
8189
4d61f28d
JB
8190 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8191 detection for a java annotation.
e3715033 8192
4d61f28d 8193 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8194 detection for a java annotation.
8195
4d61f28d
JB
8196 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8197 handling for java.
e3715033
AM
8198 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8199
04ed2e9c
CY
82002011-08-20 Chong Yidong <cyd@stupidchicken.com>
8201
8202 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8203 (Bug#9274).
8204
826cee64
AM
82052011-08-20 Alan Mackenzie <acm@muc.de>
8206
58179cce 8207 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8208 such a construct. Mainly for when jit-lock etc. starts a chunk
8209 here.
8210
58179cce 8211 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8212 variable.
58179cce 8213 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8214 c-make-font-lock-search-function.
8215 (c-make-font-lock-search-function): Use the above function.
8216 (c-make-font-lock-context-search-function): New function.
8217 (c-cpp-matchers): Enhance the preprocessor expression case with
8218 the above function
8219 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8220 which takes an expression.
8221
8222 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8223
13009bd8
MR
82242011-08-20 Martin Rudalics <rudalics@gmx.at>
8225
8226 * window.el (display-buffer-reuse-window)
8227 (display-buffer-pop-up-window): Don't reuse or split a side
8228 window.
8229
9234ff7f
GM
82302011-08-19 Glenn Morris <rgm@gnu.org>
8231
8232 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8233 Downcase "Mode:". (Bug#9331)
9234ff7f 8234
f635daa1
CY
82352011-08-18 Chong Yidong <cyd@stupidchicken.com>
8236
8237 * international/characters.el: Add L and R categories.
8238
8239 * subr.el (bidi-string-mark-left-to-right): Rename from
8240 string-mark-left-to-right. Use category search.
8241
8242 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8243
bc987f8b
JL
82442011-08-18 Juri Linkov <juri@jurta.org>
8245
8246 * faces.el (error, warning, success): New faces with definitions
8247 copied from old default values of `font-lock-warning-face',
8248 `compilation-warning', `compilation-info' (bug#6117).
8249
8250 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8251
8252 * progmodes/compile.el (compilation-error): Inherit from `error'.
8253 (compilation-warning): Inherit from `warning'.
8254 (compilation-info): Inherit from `success'.
8255
8256 * dired.el (dired-marked): Inherit from `warning'.
8257 (dired-flagged): Inherit from `error'.
8258
57173b96
LMI
82592011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8260
3e79eb87
LMI
8261 * mail/smtpmail.el (auth-source): Require to avoid problems with
8262 binding variables (bug#9298). Also clean up some unused
8263 autoloads.
8264
b3fd59bd
SM
8265 * net/network-stream.el (network-stream-open-starttls):
8266 Support using starttls.el without using gnutls-cli.
57173b96 8267
02b404de
JL
82682011-08-17 Juri Linkov <juri@jurta.org>
8269
8270 * progmodes/grep.el (rgrep): Handle the case when
8271 `grep-find-command' is a cons cell (bug#9278).
8272
8c9177f2
MR
82732011-08-17 Martin Rudalics <rudalics@gmx.at>
8274
8275 * window.el (display-buffer-pop-up-frame): Run frame creation
8276 function with BUFFER current (as special-display-popup-frame
8277 does). Reported by Drew Adams.
8278
3644a0ab
DU
82792011-08-17 Daiki Ueno <ueno@unixuser.org>
8280
8281 * epa-mail.el: Simplify GnuPG group expansion using
8282 epg-expand-group.
8283 (epa-mail-group-alist, epa-mail-group-modtime)
8284 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8285 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8286 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8287 Remove.
8288
5e617bc2 82892011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8290
8291 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8292
9c4aeabf
AM
82932011-08-16 Alan Mackenzie <acm@muc.de>
8294
8295 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8296 Correct, to avoid the inside of macros.
8297
3a99bf64
RS
82982011-08-16 Richard Stallman <rms@gnu.org>
8299
04963aa8
RS
8300 * epa-mail.el: Handle GnuPG group definitions.
8301 (epa-mail-group-alist, epa-mail-group-modtime)
8302 (epa-mail-gnupg-conf-file): New variables.
8303 (epa-mail-parse-groups, epa-mail-sync-groups)
8304 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8305 (epa-mail-expand-recipients): New functions.
8306 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8307
177549d0
RS
8308 * mail/rmail.el (rmail-epa-decrypt): New command.
8309
fe38beef
RS
8310 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8311 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8312 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8313 (epa-decrypt-armor-in-region): Make error message clearer.
8314
934eacb9
SM
83152011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8318 and "a2b" to "ab" for `prefix'.
8319
d024fb4e
CY
83202011-08-14 Chong Yidong <cyd@stupidchicken.com>
8321
8322 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8323 filter groups.
de148fee
CY
8324 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8325 Fourquet (Bug#8804).
d024fb4e 8326
62f1ca49
JB
83272011-08-12 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * startup.el (argi): Declare as global variable (bug#9275).
8330
9ccaaa4b
CY
83312011-08-12 Chong Yidong <cyd@stupidchicken.com>
8332
8333 * subr.el (string-mark-left-to-right): Search the entire string
8334 for RTL script, not just the terminating character. Doc fix.
8335
a3dae87a
SM
83362011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8337
6cd18349
SM
8338 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8339 New function.
8340 (js--regexp-literal, js-syntax-propertize-function): Remove.
8341 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8342 (js-mode-map): Don't rebind electric keys.
8343 (js-insert-and-indent): Remove.
8344 (js-mode): Setup electric-layout and electric-indent instead.
8345
a3dae87a
SM
8346 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8347
9d5cb631
DU
83482011-08-12 Daiki Ueno <ueno@unixuser.org>
8349
8350 * epa.el (epa-progress-callback-function): Fix the logic of
8351 displaying progress.
8352 * epa-file.el (epa-file-insert-file-contents): Make progress
8353 display more user-friendly.
8354 (epa-file-write-region): Ditto.
8355
3e26a4a2
CY
83562011-08-10 Chong Yidong <cyd@stupidchicken.com>
8357
8358 * subr.el (string-mark-left-to-right): New function.
8359
8360 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8361 Use string-mark-left-to-right.
8362 (list-buffers-noselect): Caller changed.
8363
a3dae87a
SM
8364 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8365 Use string-mark-left-to-right.
3e26a4a2
CY
8366 (tabulated-list-print): Recenter after moving point.
8367
ac8cf6e6
JL
83682011-08-10 Juri Linkov <juri@jurta.org>
8369
8370 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8371 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8372 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8373
8d96c9a4
CY
83742011-08-09 Chong Yidong <cyd@stupidchicken.com>
8375
8376 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8377 (Bug#7554).
8378
7be1c708 83792011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8380
8381 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8382 character. (Bug#6594)
8383
37e11a63
CY
83842011-08-08 Chong Yidong <cyd@stupidchicken.com>
8385
839dde57
CY
8386 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8387 (image-dired--with-db-file): New macro.
8388 (image-dired-write-tags, image-dired-remove-tag)
8389 (image-dired-create-gallery-lists, image-dired-write-comments)
8390 (image-dired-get-comment, image-dired-mark-tagged-files)
8391 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8392 (image-dired-gallery-generate): Use insert-file-contents.
8393
37e11a63
CY
8394 * time.el (display-time-world-list, display-time-world-display):
8395 * time-stamp.el (time-stamp-string):
8396 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8397 set-time-zone-rule (Bug#7337).
8398
0b4946c4
DU
83992011-08-08 Daiki Ueno <ueno@unixuser.org>
8400
8401 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8402 (epg-error-to-string, epg-errors-to-string): New function.
8403 (epg-wait-for-completion): Reverse errors list.
8404 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8405 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8406 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8407 (epg-sign-keys, epg-generate-key-from-file)
8408 (epg-generate-key-from-string): Format errors by using
8409 epg-errors-to-string (bug#9255).
8410 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8411
75bfc667
JL
84122011-08-07 Juri Linkov <juri@jurta.org>
8413
8414 * faces.el (list-faces-display): Remove extra angle bracket
8415 from `help-mode-map'.
8416
8417 * info.el (Info-history-toc-nodes): Doc fix.
8418
8419 * longlines.el (longlines-mode): Doc fix.
8420
673e08bb
SM
84212011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8422
4640dd88
SM
8423 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8424 of statements and in a few more cases (bug#9183).
8425
673e08bb
SM
8426 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8427 New functions.
8428 (cl-transform-lambda): Use them (bug#9239).
8429
89b3f019
MR
84302011-08-05 Martin Rudalics <rudalics@gmx.at>
8431
8432 * window.el (display-buffer-same-window)
8433 (display-buffer-same-frame, display-buffer-other-window)
8434 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8435 (pop-to-buffer-other-window)
8436 (pop-to-buffer-same-frame-other-window)
8437 (pop-to-buffer-other-frame): Make them defuns.
8438 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8439
640c8776
SM
84402011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * subr.el (make-composed-keymap): Move from C. Change calling
8443 convention, and improve docstring to bring attention to a subtle point.
8444 * minibuffer.el (completing-read-default): Adjust accordingly.
8445
63648a95
MA
84462011-08-03 Michael Albinus <michael.albinus@gmx.de>
8447
8448 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8449 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8450
8451 * net/trampver.el: Update release number.
8452
b796c9b7
SM
84532011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8456 "in" (bug#9190).
8457
2239d7d5
LMI
84582011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8459
e07dd7c3
LMI
8460 * mail/sendmail.el (sendmail-query-once): Restore the current
8461 buffer after querying (bug#9074).
8462
0e6a2bd7
LMI
8463 * dired.el (dired-flagged): Use different faces for marked and
8464 flagged files (bug#6117).
8465
ce887515
LMI
8466 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8467 (bug#4433).
8468
92f2affc
LMI
8469 * ido.el (ido-mode): Switch off the message if called
8470 non-interactively.
8471
57d5aff0
LMI
8472 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8473 before 587, since it appears that that's more likely to work for
8474 more people.
8475
98cd6c18 8476 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8477 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8478 exist.
8479
b96dec83
LMI
8480 * info.el: Remove the `Info-beginning-of-buffer' function
8481 (bug#8325).
8482
b796c9b7
SM
8483 * net/network-stream.el (network-stream-open-starttls):
8484 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8485
d90e2ea0
MR
84862011-08-01 Martin Rudalics <rudalics@gmx.at>
8487
8488 * window.el (display-buffer-in-window): Don't set dedicated status
8489 of window here (Bug#9215).
8490 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8491 (display-buffer-pop-up-side-window)
b796c9b7 8492 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8493
cca09170
SM
84942011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8497 before binding generated-autoload-file.
8498
027b979c
DD
84992011-08-01 Deniz Dogan <deniz@dogan.se>
8500
8501 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8502
3c7ee4f3
MA
85032011-07-30 Michael Albinus <michael.albinus@gmx.de>
8504
8505 Sync with Tramp 2.2.2.
8506
8507 * net/trampver.el: Update release number.
8508
2cc8e51a
JL
85092011-07-30 Juri Linkov <juri@jurta.org>
8510
8511 * dired-aux.el (dired-touch-initial): Remove function.
8512 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8513 current time, and `default' to the last modification time of the
8514 current marked file (bug#6887).
8515
a514d856
JM
85162011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8517
8518 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8519 numeric argument to read-number (bug#9163).
a514d856 8520
8a7eddd7
MA
85212011-07-27 Michael Albinus <michael.albinus@gmx.de>
8522
8523 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8524 connection process, it could be nil.
8525
1ddd96f5
LL
85262011-07-27 Leo Liu <sdl.web@gmail.com>
8527
8528 Simplify url handling in rcirc-mode.
8529
8530 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8531 (rcirc-browse-url-at-mouse): Remove.
8532 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8533
b248a85d
AM
85342011-07-26 Alan Mackenzie <acm@muc.de>
8535
8536 Fontify bitfield declarations properly.
8537
8538 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8539 (c-symbol-chars): Now exported as a lang variable.
8540 (c-not-primitive-type-keywords): New lang variable.
8541
8542 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8543 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8544 parsed as a bitfield declaration.
b248a85d 8545
b796c9b7
SM
8546 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8547 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8548 (c-punctuation-in): New function.
8549 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8550 declarations properly.
8551
68575ab0
UJ
85522011-07-26 Ulf Jasper <ulf.jasper@web.de>
8553
8554 * calendar/icalendar.el (icalendar--all-events): Take care of
8555 multiple vcalendars in a single file.
b796c9b7 8556 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8557
0f0a88b9
DD
85582011-07-25 Deniz Dogan <deniz@dogan.se>
8559
8560 * image.el (insert-image): Clarifying docstring.
8561
0b3f36df
MA
85622011-07-24 Michael Albinus <michael.albinus@gmx.de>
8563
8564 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8565 `tramp-send-command-and-check' if there is no error.
8566 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8567
a9901f61
AM
85682011-07-22 Alan Mackenzie <acm@muc.de>
8569
8570 Prevent cc-langs.elc being loaded at run time.
8571
8572 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8573 cc-langs.
8574
4d61f28d 8575 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8576 "(require 'cc-langs)". Quote a form so it will evaluate at
8577 (cc-mode's) compilation time.
8578
11d074b2
MA
85792011-07-22 Michael Albinus <michael.albinus@gmx.de>
8580
8581 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8582 loading. (Bug#9114)
8583
938b94c8
MR
85842011-07-21 Martin Rudalics <rudalics@gmx.at>
8585
8586 * window.el (display-buffer-pop-up-window)
8587 (display-buffer-pop-up-side-window)
8588 (display-buffer-in-side-window): Call display-buffer-set-height
8589 and display-buffer-set-width after setting the new window's
b796c9b7 8590 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8591
bfa4f190
SS
85922011-07-20 Sam Steingold <sds@gnu.org>
8593
8594 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8595 (etags-tags-included-tables): Call `convert-standard-filename' on
8596 the file names contained in TAGS so that windows Emacs can handle
8597 TAGS files created by cygwin ctags.
8598
8ca42262
LMI
85992011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8600
8601 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8602 which apparently didn't work.
8603
5db2afd2 86042011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8605
5db2afd2
RW
8606 * proced.el (proced-send-signal): For *Marked Processes* buffer
8607 put point at beginning of buffer.
8608
92e15d10
SB
86092011-07-19 Stephen Berman <stephen.berman@gmx.net>
8610
8611 * proced.el (proced-format): Make header lines align with the text
8612 (bug#1779).
8613
1bfd59e5
LMI
86142011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8615
8616 * view.el (view-buffer): Allow running in `special' modes if we're
8617 visiting a file (bug#8615).
8618
f5aae37c
MR
86192011-07-19 Martin Rudalics <rudalics@gmx.at>
8620
8621 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8622 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8623 New functions.
f5aae37c
MR
8624 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8625 more accurately.
8626
bf2c1571
AM
86272011-07-18 Alan Mackenzie <acm@muc.de>
8628
8629 Fontify declarators properly when, e.g., a jit-lock chunk begins
8630 inside a declaration.
8631
8632 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8633
b796c9b7
SM
8634 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8635 New function.
bf2c1571
AM
8636 (c-complex-decl-matchers): Insert reference to
8637 c-font-lock-enclosing-decls.
8638
8639 * progmodes/cc-engine.el (c-backward-single-comment):
8640 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8641 to nil around calls to (forward-comment -1).
8642
4e190b80
LMI
86432011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
12dc863d
LMI
8645 * image.el (put-image): Doc typo fix.
8646
a762e966
LMI
8647 * progmodes/etags.el (tags-search): Doc typo fix.
8648
4e190b80
LMI
8649 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8650 password if we get errors 550 to 554.
8651
f019fb21
LMI
86522011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8653
b796c9b7 8654 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8655
81746738
LMI
8656 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8657 indentation character (bug#6380).
8658
3ee3a1b5
LMI
8659 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8660
c82f64de
LMI
8661 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8662 to clarify what the problem is (bug#4291).
8663
f019fb21
LMI
8664 * simple.el (current-kill): Clarify what
8665 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8666 (auto-fill-mode): Document `auto-fill-function' in relation to
8667 `auto-fill-mode' (bug#2470).
f019fb21 8668
0794775d
LM
86692011-07-16 Lawrence Mitchell <wence@gmx.li>
8670
8671 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8672 method if slot is read-only (bug#9035).
8673
be39b8cc
MR
86742011-07-16 Martin Rudalics <rudalics@gmx.at>
8675
b796c9b7 8676 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8677 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8678 selected before, see discussion of (Bug#8615), (Bug#6954).
8679 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8680
6ccf7859
GM
86812011-07-15 Glenn Morris <rgm@gnu.org>
8682
8683 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8684 Respect help-form.
6ccf7859 8685
87e86684
LM
86862011-07-09 Lawrence Mitchell <wence@gmx.li>
8687
8688 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8689 (gnutls-negotiate): Use it.
8690
d6066239
LMI
86912011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
b796c9b7
SM
8693 * net/gnutls.el (gnutls-negotiate):
8694 Upcase `gnutls-algorithm-priority'.
d6066239 8695
bd23ebc0
GM
86962011-07-15 Glenn Morris <rgm@gnu.org>
8697
c65bca65
GM
8698 * jka-compr.el (jka-compr-verbose): Move from here...
8699 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8700 Add missing :version tag.
8701 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8702
478615cc
LMI
87032011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
7b41decb
LMI
8705 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8706 (gnutls-negotiate): Use it.
8707
dbc44fcd
LMI
8708 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8709
06789f97
LMI
8710 * info.el (Info-beginning-of-buffer): New command.
8711 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8712 announcing `b' as the key (bug#8325).
ab896c37 8713 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8714
c39da690
LMI
8715 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8716
3aa5f34b
LMI
8717 * international/mule-cmds.el
8718 (describe-specified-language-support): Make the error message
8719 clearer (bug#8905).
8720
4bf0979f
LMI
8721 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8722
478615cc
LMI
8723 * isearch.el (isearch-barrier): Add a doc string, since it's
8724 mentioned in a function doc string (bug#8678).
8725
75c68aa1
MR
87262011-07-15 Martin Rudalics <rudalics@gmx.at>
8727
8728 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8729 buffer argument (Bug#9083) and self-identifying label argument.
8730
a7c33da2
GM
87312011-07-15 Glenn Morris <rgm@gnu.org>
8732
8733 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8734
2f5c6024
LMI
87352011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8736
8737 * man.el (Man-fontify-manpage): Fix message when formatting the
8738 man page (bug#7929).
8739
0bb23927 87402011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8741
8742 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8743 argument LRM; if non-nil, append an invisible LRM character to the
8744 buffer name.
8745 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8746 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8747 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8748 paragraph direction.
cce4b0a7 8749
621ef9ab
LMI
87502011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8751
d1583c48
LMI
8752 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8753 the man page name (bug#7929).
8754
6a57fb5f
LMI
8755 * image.el (put-image): Mention the `put-image' overlay property
8756 (bug#7834).
8757
d7956b14
LMI
8758 * scroll-bar.el (set-scroll-bar-mode): Mention that
8759 `scroll-bar-mode' lists the values (bug#7772).
8760
5b2d4a66
LMI
8761 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8762 command (bug#7729).
8763
7509a874
LMI
8764 * rect.el (apply-on-rectangle): Return the point after the last
8765 operation.
8766 (string-rectangle): Go to the point after the last operation
8767 (bug#7522).
8768
4fe74b19
LMI
8769 * printing.el (pr-toggle-region): Clarify the documentation
8770 slightly (bug#7493).
8771
b796c9b7
SM
8772 * time.el (display-time-update):
8773 Allow `display-time-mail-function' to return nil (bug#7158).
8774 Fix suggested by Detlev Zundel.
ab283561 8775
fc233c9d
LMI
8776 * vc/diff.el (diff): Clarify the order the file names are read
8777 (bug#7111).
8778
43f5740b
LMI
8779 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8780 the doc string (bug#7015).
8781
f2182a76
LMI
8782 * font-lock.el (font-lock-maximum-decoration): Mention what
8783 numeric levels mean (bug#6935).
8784
621ef9ab
LMI
8785 * startup.el (initial-buffer-choice): Don't mention the `none'
8786 selection, which is against policy.
8787
adc47434
MR
87882011-07-14 Martin Rudalics <rudalics@gmx.at>
8789
b796c9b7
SM
8790 * window.el (display-buffer-normalize-special):
8791 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8792
7e5bfb8f
EZ
87932011-07-14 Eli Zaretskii <eliz@gnu.org>
8794
8795 * subr.el (version<, version<=, version=): Mention "-CVS" and
8796 "-12345" alpha version numbers.
8797
27fa387a
CY
87982011-07-14 Chong Yidong <cyd@stupidchicken.com>
8799
8800 * bindings.el: Add advertised binding for set-mark-command
8801 (Bug#5772).
8802
8bdfa064
CY
88032011-07-14 Chong Yidong <cyd@stupidchicken.com>
8804
8805 * bindings.el (mode-line-other-buffer):
8806 * bookmark.el (bookmark-bmenu-2-window):
8807 * bs.el (bs-cycle-next, bs-cycle-previous):
8808 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8809 switch-to-buffer.
8810
8811 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8812 Delete.
8bdfa064 8813
5eba16a3
JB
88142011-07-14 Juanma Barranquero <lekktu@gmail.com>
8815
8816 * follow.el (follow-debug-message, follow-redisplay):
8817 * jka-cmpr-hook.el (with-auto-compression-mode):
8818 Fix typos in docstrings.
8819
15853710
LMI
88202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8821
a28e4607
LMI
8822 * subr.el (with-silent-modifications): Clarify somewhat what the
8823 macro inhibits (bug#6525).
8824
15853710
LMI
8825 * simple.el (eval-expression): Note what it does if called
8826 interactively (bug#6495).
8827
bee0fcef
CY
88282011-07-13 Chong Yidong <cyd@stupidchicken.com>
8829
b796c9b7
SM
8830 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8831 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8832
8833 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8834 Remove switch-to-buffer.
8835
58274504
LMI
88362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8837
bd2fcc8d
LMI
8838 * files.el (make-directory): Clarify that an error will be raised
8839 if there's an error (bug#6397).
8840
0f04b32c
LMI
8841 * startup.el (initial-buffer-choice): Add `none' as a choice
8842 (bug#6234).
8843
465c5fc8
LMI
8844 * subr.el (add-hook): Clarify section about buffer-local hooks
8845 (bug#6218).
8846
58274504
LMI
8847 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8848
bead9a43
JB
88492011-07-13 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * tabify.el (untabify): Preserve the current column so that point
8852 doesn't move (bug#6032).
8853
3af98a7b
LMI
88542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8855
b796c9b7
SM
8856 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8857 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8858
6240145a
GM
88592011-07-13 Glenn Morris <rgm@gnu.org>
8860
8861 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8862 (dired-insert-directory): Give a message the first time
8863 if ls is found not to support --dired.
8864
1d8c2ccc
LMI
88652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8866
8867 * simple.el (toggle-truncate-lines): Clarify what is toggled
8868 (bug#5580). Text by Drew Adams.
8869
5fc4038e
CY
88702011-07-13 Chong Yidong <cyd@stupidchicken.com>
8871
8872 * simple.el (blink-matching-open): Make the error message from the
8873 last change less verbose.
8874
bf6012e5
DN
88752011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8876
8877 * font-lock.el (font-lock-comment-face): Use the high contrast
8878 "yellow" color for font-lock-comment-face on low color terminals
8879 using a dark background color (bug#4221).
8880
343c3b5a
LMI
88812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8882
7e9505c5
LMI
8883 * dired.el (dired-insert-set-properties): Make the doc string
8884 reflect what it does now (bug#5325).
8885
c26fdcf5
LMI
8886 * simple.el (blink-matching-open): Say that we were unable to find
8887 the match within the limit, if we're limited (bug#5122).
8888
bb388cc5
LMI
8889 * international/mule-cmds.el (prefer-coding-system): Add an
8890 example (bug#4869).
8891
343c3b5a
LMI
8892 * progmodes/etags.el (tags-search): Document `file-list-form'
8893 (bug#4731).
8894
2a517d45
LM
88952011-07-13 Lawrence Mitchell <wence@gmx.li>
8896
8897 * net/browse-url.el (browse-url-default-browser)
8898 (browse-url-browser-function): Make the default browser choice a
8899 bit more logical (bug#4300). Also clean up the doc string.
8900
b6c78ef2
JB
89012011-07-13 Juanma Barranquero <lekktu@gmail.com>
8902
8903 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8904 binary endings (bug#4440).
8905
1c4dd947
LMI
89062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8907
a2014063
LMI
8908 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8909 which can be pretty annoying (bug#8971).
8910
9c9c2d88
LMI
8911 * jka-compr.el (jka-compr-verbose): New variable, and use
8912 throughout (bug#8971).
8913
1c4dd947
LMI
8914 * info.el (Info-find-file): Fall back on the installation
8915 directory if we can't find the info node anywhere else.
8916
a1c9f41b
SO
89172011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8918
8919 * vc/vc.el (vc-revert-file):
8920 Don't set file time-stamp in the past. (Bug#5181)
8921
536f3d36
LMI
89222011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8923
7152b011
LMI
8924 * files.el (after-find-file): Give a better error message when
8925 trying to find a symlink that points to a file that doesn't exist
8926 (bug#4398).
8927
536f3d36
LMI
8928 * progmodes/cc-vars.el: Remove (probably) misleading comment
8929 (bug#4396).
8930
460c0fba
JB
89312011-07-12 Johan Bockgård <bojohan@gnu.org>
8932
8933 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8934
7a6bda45
CY
89352011-07-12 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * mouse-sel.el: Hack restoring functionality, while keeping
8938 compatibility with 2010-07-03 changes to mouse selection.
8939 (mouse-sel-primary-overlay): New var.
8940 (mouse-sel-selection-alist): Use it.
8941 (mouse-sel-mode): Doc fix; remove points that are default features
8942 of mouse.el.
8943
c79598ef
JB
89442011-07-12 Johan Bockgård <bojohan@gnu.org>
8945
8946 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8947 Fix previous fix (bug#2490).
8948
ff8be6ef
RW
89492011-07-12 Roland Winkler <winkler@gnu.org>
8950
b796c9b7
SM
8951 * textmodes/bibtex.el (bibtex-initialize):
8952 Use pop-to-buffer-same-window.
ff8be6ef
RW
8953 (bibtex-search-entries): Fix interactive call.
8954
296ba3ee
LMI
89552011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8956
f5242a02 8957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8958 Fontise bytecomp Error lines more correctly (bug#2490).
8959 Fix suggested by Johan Bockgård.
f5242a02 8960
296ba3ee
LMI
8961 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8962
8963 * dired-x.el (dired-guess-default): Use `delete-dups'.
8964
f69fd0d2
CY
89652011-07-12 Chong Yidong <cyd@stupidchicken.com>
8966
8967 * dired.el (dired-mark-prompt):
8968 * dired-aux.el (dired-read-shell-command): Doc fix.
8969
eab5dc07
LMI
89702011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8971
b796c9b7
SM
8972 * mail/sendmail.el (sendmail-query-once):
8973 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8974 emacs -Q.
8975
8976 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8977
eab5dc07
LMI
8978 * cus-edit.el (custom-file): Take an optional no-error variable.
8979 (customize-save-variable): Set the variable, and give a warning if
8980 running under "emacs -q".
8981
a1e65d42
JB
89822011-07-11 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * loadhist.el (unload-feature-special-hooks):
8985 Add `auto-coding-functions', `fill-nobreak-predicate' and
8986 `find-directory-functions' (bug#5327).
8987
1d52da10
LMI
89882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8989
be958f1d
LMI
8990 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8991
5bedb26c
LMI
8992 * cus-edit.el (custom-guess-name-alist): -alist variables should
8993 use the `alist' type (bug#3120). Suggested by Drew Adams.
8994
1d52da10
LMI
8995 * printing.el: Add documentation to all the `pr-toggle-' commands.
8996
cd394be1 89972011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8998
8999 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9000 backends where it makes sense (bug#2623).
9001
dcc88d8a
LMI
90022011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9003
c3de9feb
LMI
9004 * dired-x.el (dired-guess-default): Remove duplicate shell command
9005 entries (bug#2028).
8a93078b 9006 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9007 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9008
dcc88d8a
LMI
9009 * subr.el (remove-duplicates): New conveniency function.
9010
505e3645
LMI
90112011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9012
9013 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9014 (bug#1526).
9015
90162011-07-10 Martin Rudalics <rudalics@gmx.at>
9017
9018 * window.el (display-buffer-normalize-default): Don't invert
9019 meaning of even-window-heights. Reported by Eli Zaretskii
9020 <eliz@gnu.org>.
9021
455e4fa1
BR
90222011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9023
9024 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9025
8e0bc3e9
CY
90262011-07-10 Chong Yidong <cyd@stupidchicken.com>
9027
9028 * window.el (display-buffer): Fix arguments to
9029 display-buffer-reuse-window in last change.
9030
fa7c3228
CY
9031 * faces.el (link): Use a less saturated blue on light backgrounds.
9032
9033 * startup.el (fancy-startup-text, fancy-about-text)
9034 (fancy-startup-tail): Use font-lock faces, for background safety.
9035
c0a7f300
BN
90362011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9037
b796c9b7
SM
9038 * emulation/viper-cmd.el (viper-change-state-to-vi):
9039 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9040
4dc2a129
MR
90412011-07-09 Martin Rudalics <rudalics@gmx.at>
9042
9043 * window.el (display-buffer-default-specifiers): Remove.
9044 (display-buffer-macro-specifiers): Remove default specifiers.
9045 (display-buffer-alist): Default to nil.
b796c9b7 9046 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9047 (display-buffer-pop-up-window): Allow splitting internal
9048 windows. Check whether a live window was created.
9049 (display-buffer-other-window-means-other-frame)
9050 (display-buffer-normalize-arguments): Rename to
9051 display-buffer-normalize-argument and rewrite. Set the
9052 other-window specifier.
9053 (display-buffer-normalize-special): New function.
9054 (display-buffer-normalize-options): Rename to
9055 display-buffer-normalize-default and rewrite.
9056 (display-buffer-normalize-options-inhibit): Remove.
9057 (display-buffer-normalize-specifiers): Rewrite.
9058 (display-buffer): Process other-window specifier and call
9059 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9060 more faithfully.
b796c9b7 9061 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9062 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9063 (display-buffer-in-window, display-buffer-alist-set):
9064 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9065 <tassilo@member.fsf.org>.
9066
2d43b8c9
LL
90672011-07-09 Leo Liu <sdl.web@gmail.com>
9068
9069 * register.el (insert-register): Restore accidental change on
9070 2011-06-26. (Bug#9028)
9071
7f9b7c53
GM
90722011-07-09 Glenn Morris <rgm@gnu.org>
9073
9074 * subr.el (remq): Handle the empty list. (Bug#9024)
9075
f042cfd8
AS
90762011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9077
9078 * mail/sendmail.el (send-mail-function): No longer delay custom
9079 initialization.
9080 * custom.el (custom-initialize-delay): Doc fix.
9081
856b2f11
SM
90822011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9083
9084 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9085
afae1d68
MA
90862011-07-08 Michael Albinus <michael.albinus@gmx.de>
9087
9088 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9089 human-friendly prompt.
9090
0757af94
SM
90912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9094 provided by a particular plugin.
9095
d760b731
LMI
90962011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9097
9098 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9099 save customizations (with "emacs -Q"), just set the variable
9100 instead of erroring out.
9101
9102 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9103
cd79ce90
JL
91042011-07-08 Juri Linkov <juri@jurta.org>
9105
9106 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9107 (archive-zip-update-case): Use 7z if found by `executable-find'.
9108 The order of searching the available programs is the same as in
9109 `archive-zip-extract' (bug#8968).
9110
14cc04aa
CY
91112011-07-07 Chong Yidong <cyd@stupidchicken.com>
9112
9113 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9114 (menu-bar-options-menu): Tweak descriptions.
9115
0a1848ec
LMI
91162011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9117
9118 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9119 menu items into verb phrases (bug#1421). Also refill to fit under
9120 80 columns.
9121
f5bd0689
CY
91222011-07-07 Chong Yidong <cyd@stupidchicken.com>
9123
538e85c6
CY
9124 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9125 (Info-read-node-name): Doc fix (Bug#1084).
9126
f5bd0689
CY
9127 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9128 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9129 (end-of-sexp, beginning-of-sexp)
9130 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9131 (forward-symbol, forward-same-syntax, word-at-point)
9132 (sentence-at-point): Doc fix (Bug#1144).
9133
56ec5115
LMI
91342011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9135
f3f8e37f
LMI
9136 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9137 should cover it (bug#1281).
9138
0757af94 9139 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9140
e9fce1ac 9141 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9142 negotiation fails, then possibly try again with a non-encrypted
9143 connection (bug#9017).
9144
56ec5115
LMI
9145 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9146 be used.
9147
c2f9aec8
RS
91482011-07-07 Richard Stallman <rms@gnu.org>
9149
9150 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9151 property, and handle its changed format.
9152 Look for the correct line number.
9153 Use file's line contents (but not past first =) to find
9154 correct line in message.
9155
ef7b981d 91562011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9157
9158 * international/characters.el (build-unicode-category-table):
9159 Delete it.
0757af94 9160 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9161
0757af94 9162 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9163 to src/chartab.c.
9164 (get-char-code-property): Call unicode-property-table-internal to
9165 load a file. Call get-unicode-property-internal where necessary.
9166 (put-char-code-property): Call unicode-property-table-internal to
9167 load a file. Call put-unicode-property-internal where necessary.
9168 put-unicode-property-internal where necessary.
0757af94
SM
9169 (char-code-property-description):
9170 Call unicode-property-table-internal to load a file.
c805dec0
KH
9171
9172 * international/charprop.el:
9173 * international/uni-bidi.el:
9174 * international/uni-category.el:
9175 * international/uni-combining.el:
9176 * international/uni-comment.el:
9177 * international/uni-decimal.el:
9178 * international/uni-decomposition.el:
9179 * international/uni-digit.el:
9180 * international/uni-lowercase.el:
9181 * international/uni-mirrored.el:
9182 * international/uni-name.el:
9183 * international/uni-numeric.el:
9184 * international/uni-old-name.el:
9185 * international/uni-titlecase.el:
9186 * international/uni-uppercase.el: Regenerate.
9187
9188 * loadup.el: Load international/charprop.el before
9189 international/characters.
9190
e14b388a
CY
91912011-07-07 Chong Yidong <cyd@stupidchicken.com>
9192
9193 * window.el (next-buffer, previous-buffer): Signal an error if
9194 called from a minibuffer window.
9195
9196 * bindings.el: Revert 2011-07-04 change.
9197
354cf0ba
RS
91982011-07-06 Richard Stallman <rms@gnu.org>
9199
9200 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9201 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9202 Treat markers like ints.
9203 (rmail-mime-entity): Doc fix.
9204
a48868a7
LMI
92052011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9206
4906cd3d
LMI
9207 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9208 defcustom again for backwards compatibility.
9209
e0457abe
LMI
9210 * simple.el (shell-command-on-region): Fill.
9211
d67f7e1f
LMI
9212 * dired-aux.el (dired-kill-line): Add a doc string.
9213
fe204702
LMI
9214 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9215 to "\\sw\\|\\s_" (bug#358).
9216
a48868a7
LMI
9217 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9218 (dired-unmark-backward): Ditto.
9219 (dired-flag-backup-files): Ditto.
9220
9221 * dired-x.el (dired-mark-sexp): Ditto.
9222
aa8a705c
RS
92232011-07-06 Richard Stallman <rms@gnu.org>
9224
9225 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9226 (rmail-mime-entity): New arg TRUNCATED.
9227 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9228 New functions.
9229 (rmail-mime-save): Warn if entity is truncated.
9230 (rmail-mime-toggle-hidden): Likewise, for showing.
9231 (rmail-mime-process-multipart): Record when an entity is truncated.
9232
a9a936b9
RS
9233 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9234 if ENTITY is a string.
9235
1f2b92cb
LMI
92362011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9237
f4f73198 9238 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9239 of faces when `M-C-x'-ing their definitions (bug#8378).
9240 Also clean up the code slightly.
f4f73198 9241
12b16734 9242 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9243 because that makes the colors go away.
12b16734 9244
f0691d22
LMI
9245 * mail/sendmail.el (send-mail-function): Change the default to
9246 `sendmail-query-once'.
9e87df06 9247 (sendmail-query-once): Add an autoload cookie.
f0691d22 9248
1f2b92cb
LMI
9249 * net/network-stream.el (network-stream-open-starttls): Try using
9250 a plain connection even if the server offered STARTTLS, and we
9251 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9252 capability. This should make smtpmail.el work in slightly more
9253 configurations.
9254
1cdd2a1b
MA
92552011-07-06 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9258 New defun.
9259 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9260
fbcc67e2
MM
92612011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9262
9263 * progmodes/sql.el: Version 3.0
0757af94 9264 (sql-product-alist): Add product :completion-object,
fbcc67e2 9265 :completion-column, and :statement attributes.
0757af94 9266 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9267 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9268 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9269 ansi keywords.
9270 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9271 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9272 (sql-oracle-show-reserved-words): New function for development.
9273 (sql-product-font-lock): Simplify for source code buffers.
9274 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9275 New functions.
9276 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9277 (sql-mode-map): Add statement movement functions.
9278 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9279 New variable.
fbcc67e2
MM
9280 (sql-statement-regexp, sql-beginning-of-statement)
9281 (sql-end-of-statement, sql-signum): New functions.
0757af94 9282 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9283 (sql-show-sqli-buffer): Bug fix.
9284 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9285 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9286 with sql-interactive-mode.
9287 (sql-save-connection): Save buffer local settings.
0757af94 9288 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9289 (sql-product-interactive): Bug fix.
9290 (sql-preoutput-hold): New variable.
9291 (sql-interactive-remove-continuation-prompt): Bug fixes.
9292 (sql-debug-redirect): New variable.
9293 (sql-str-literal): New function.
9294 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9295 Redesign.
fbcc67e2
MM
9296 (sql-oracle-save-settings, sql-oracle-restore-settings)
9297 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9298 (sql-completion-object, sql-completion-column)
9299 (sql-completion-sqlbuf): New variables.
9300 (sql-build-completions-1, sql-build-completions)
9301 (sql-try-completion): New functions.
9302 (sql-read-table-name): Use them.
9303 (sql-contains-names): New buffer local variable.
9304 (sql-list-all, sql-list-table): Use it.
9305 (sql-oracle-completion-types): New variable.
9306 (sql-oracle-completion-object, sql-sqlite-completion-object)
9307 (sql-postgres-completion-object): New functions.
9308
d4eaeab1
GM
93092011-07-06 Glenn Morris <rgm@gnu.org>
9310
9311 * window.el (pop-to-buffer): Doc fix.
9312
322b7dab 93132011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9314
9315 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9316
322b7dab 93172011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9318
322b7dab 9319 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9320
322b7dab 9321 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9322
605dd5bf
CY
93232011-07-05 Chong Yidong <cyd@stupidchicken.com>
9324
9325 * button.el (button): Inherit from link face. Suggested by Dan
9326 Nicolaescu.
9327
7dbfa719
SM
93282011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9329
3db614b0
SM
9330 * progmodes/gdb-mi.el: Fit in 80 columns.
9331 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9332 switch-to-buffer.
9333
7dbfa719
SM
9334 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9335 if imenu is simply not configured (bug#8941).
9336
919d884a
KM
93372011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9338
9339 * allout.el (allout-post-undo-hook): New allout outline-change
9340 event hook to signal undo activity.
9341 (allout-post-command-business): Run allout-post-undo-hook if an
9342 undo just occurred.
7dbfa719
SM
9343 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9344 * allout-widgets.el (allout-widgets-after-undo-function):
9345 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9346 in the vicinity of an undo.
9347 (allout-widgets-mode): Include allout-widgets-after-undo-function
9348 on the new allout-post-undo-hook.
9349
450a0f09
SM
93502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9351
9352 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9353 Let define-derived-mode define it.
9354 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9355 cycles of abbrev-table inheritance (bug#8998).
9356
2de69e00
RW
93572011-07-05 Roland Winkler <winkler@gnu.org>
9358
9359 * textmodes/bibtex.el: Add support for biblatex.
9360 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9361 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9362 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9363 (bibtex-entry-alist, bibtex-field-alist): New variables.
9364 (bibtex-entry-field-alist): Obsolete alias for
9365 bibtex-BibTeX-entry-alist.
9366 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9367 (bibtex-set-dialect): New command.
9368 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9369 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9370 Bind via bibtex-set-dialect.
2de69e00
RW
9371 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9372 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9373 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9374 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9375 Define via bibtex-set-dialect.
450a0f09
SM
9376 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9377 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9378 (bibtex-vec-push, bibtex-vec-incr): New functions.
9379 (bibtex-format-entry, bibtex-field-list)
9380 (bibtex-print-help-message, bibtex-validate)
9381 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9382
2dcdbdd9
SM
93832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * progmodes/compile.el (compilation-goto-locus):
9386 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9387 * bs.el (bs-cycle-next, bs-cycle-previous):
9388 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9389 * bindings.el (mode-line-other-buffer):
9390 * autoinsert.el (auto-insert):
9391 * arc-mode.el (archive-extract):
9392 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9393
b27640fe
JB
93942011-07-05 Juanma Barranquero <lekktu@gmail.com>
9395
9396 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9397 Fix check of `emacs-lock-unlockable-modes'.
9398 Coerce true values of `emacs-lock--try-unlocking' to t.
9399
53bbe3ad
JB
94002011-07-05 Juanma Barranquero <lekktu@gmail.com>
9401
9402 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9403 * emacs-lock.el: New file.
9404
1d3cdbc7
JD
94052011-07-05 Julien Danjou <julien@danjou.info>
9406
9407 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9408 than `boundp' to check if face is set.
9409
9173deec
JB
94102011-07-05 Juanma Barranquero <lekktu@gmail.com>
9411
9412 * register.el (registerv-make):
9413 * window.el (window-min-height): Fix typos in docstrings.
9414
869795d6
JD
94152011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9416
9173deec 9417 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9418 Update doc string.
9419
b768cdcd
JB
94202011-07-04 Juanma Barranquero <lekktu@gmail.com>
9421
9422 * server.el (server-execute): Catch quit and call
9423 `server-return-error' to pass the error back to emacsclient and
9424 close the connection (bug#8942).
9425
13aa217b
KM
94262011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9427
9428 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9429 insecure exception for current topic. Also note that auto-saves
9430 are handled differently.
9431
5d3385a0 9432 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9433 State variables for tracking auto-save inhibition situation.
9434
9435 (allout-write-contents-hook-handler): Rename from
9436 'allout-write-file-hook-handler', and describe how it depends on
9437 write-contents-functions sensitivity to non-nil value to prevent
9438 file write.
9439
9440 (allout-auto-save-hook-handler): Remove. auto-save does not check
9441 this in individual buffers, only in the starting buffer, so this
9442 is not the right way for us to inhibit auto-save in a buffer
9443 according to its condition.
9444
9445 (allout-mode): Use new allout-write-contents-hook-handler, and
9446 only with write-contents-functions. Remove auto-save provisions -
9447 they're implemented elsewhere.
9448
9449 (allout-before-change-handler): If undo is in progress, note that
9450 for attention of allout-post-command-business.
9451
9452 (allout-post-command-business): If the command we're following was
9453 an undo, check for change in the status of encrypted items and
9454 adjust auto-save inhibitions accordingly.
9455
9456 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9457 according to whether there are or aren't any plain-text topics
9458 pending encryption.
9459
2dcdbdd9 9460 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9461 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9462 if there are plain-text topics pending encryption.
13aa217b
KM
9463
9464 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9465 buffer-saved-size and some allout state to not inhibit auto-saves
9466 if there are no longer any plain-text topics pending encryption.
9467
0757af94
SM
9468 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9469 No longer provide for exemption of the current topic.
13aa217b 9470
ac89b32c
JL
94712011-07-04 Juri Linkov <juri@jurta.org>
9472
9473 Add 7z operations to delete and save changed members (bug#8968).
9474 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9475 New defcustoms.
9476 (archive-7z-write-file-member): New function.
9477 (archive-7z-summarize): Fix the number of dashes in the
9478 listing output.
9479
8fa39615
SM
94802011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9483 (bug#8958).
9484
2f11b3f1
CY
94852011-07-04 Chong Yidong <cyd@stupidchicken.com>
9486
d66fef2b
CY
9487 * bindings.el: Ignore next-buffer and previous-buffer in
9488 minibuffer-local-map.
9489
2f11b3f1
CY
9490 * font-lock.el (font-lock-builtin-face): Change light background
9491 color to dark slate blue (Bug#6693).
9492
f932a347
WD
94932011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9494
9495 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9496
c8af70e1
SM
94972011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9500 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9501 Add switch-to-buffer.
9502
f158badc
LMI
95032011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504
9505 * isearch.el (isearch-search-fun-function): Clarify further the
9506 meaning of the function returned.
9507
6d95bd46
MA
95082011-07-04 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9511
9512 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9513 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9514 Use it.
9515 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9516 `tramp-default-remote-path' does not exist.
9517 (tramp-send-command-and-read): New optional argument NOERROR.
9518 (tramp-open-connection-setup-interactive-shell)
9519 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9520 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9521 (tramp-process-sentinel): Flush also process' connection property.
9522 (tramp-sh-handle-start-file-process): Do not set process
9523 sentinel. It is done now ...
9524 (tramp-maybe-open-connection): ... here. (Bug#8929)
9525
909e6b67
MK
95262011-07-04 MON KEY <monkey@sandpframing.com>
9527
9528 * play/animate.el (animate-string): Doc fixes and allow changing
9529 the buffer name (bug#5417).
9530
95312011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532
c8af70e1 9533 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9534
f34755dc
PE
95352011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9536
396cec72
PE
9537 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9538 This is simpler and helps future-proof the code.
9539 (timer-until): Use time-subtract and float-time.
08235028 9540 (timer--time-less-p): Use time-less-p.
f34755dc 9541
56e6cc31
JB
95422011-07-04 Juanma Barranquero <lekktu@gmail.com>
9543
3abb79e5
JB
9544 * type-break.el (timep): Use the value of `float-time' to avoid a
9545 byte-compiler warning.
9546
56e6cc31
JB
9547 * server.el (server-eval-and-print): Return any result, even nil.
9548
7b9430b4
PE
95492011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9550
9551 * type-break.el: Accept time formats that the builtins accept.
9552 (timep, type-break-time-difference): Accept any format that
9553 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9554 This is simpler and helps future-proof the code.
9555 (type-break-time-difference): Round rather than ignoring
9556 subseconds components.
9557
3034e9e7
LMI
95582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9559
9560 * info.el (Info-apropos-matches): Make non-interactive, since it
9561 doesn't seem to do anything useful as a command (bug#8829).
9562
1485f4c0
CY
95632011-07-03 Chong Yidong <cyd@stupidchicken.com>
9564
9565 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9566 Move from faces.el.
1485f4c0
CY
9567 (frame-default-terminal-background): New function.
9568
9569 * custom.el (custom-push-theme): Don't record faces in `changed'
9570 theme; this doesn't work correctly for per-frame face settings.
9571 (disable-theme): Use face-set-after-frame-default to reset faces.
9572 (custom--frame-color-default): New function.
9573
9fa3dd45
LMI
95742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9575
c8af70e1 9576 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9577 (bug#8769).
9578
6cbbc20c
KR
95792011-03-29 Kevin Ryde <user42@zip.com.au>
9580
9581 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9582 `perl-Test2' extend to match possible "fail #N" rep count
9583 (bug#8377).
9584
c7f98048
LMI
95852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9586
65676592
LMI
9587 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9588 `smtpmail-via-smtp' now returns the error instead of nil.
9589
c7f98048
LMI
9590 * isearch.el (isearch-search-fun-function): Clarify the doc string
9591 (bug#8101).
9592
56e6cc31 95932011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9594
9595 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9596 unnecessary spaces (bug#8987).
9597
2b216704
LMI
95982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9599
9600 * net/network-stream.el (open-network-stream): Use the
9601 :end-of-capability command thoughout.
9602
96032011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9604
9605 * net/network-stream.el (open-network-stream): Add the
9606 :end-of-capability command parameter, used by pop3.el.
9607
36adf6ce
LMI
96082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9609
1ca0da0e
LMI
9610 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9611
fc00f69c
LMI
9612 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9613 for list)" (bug#6475).
9614
28fd8759 9615 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9616 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9617 an error (bug#6297).
9618
0dd8b6da
LMI
9619 * man.el (Man-reference-regexp): Allow matching possible
9620 word-wrapped references (bug#6289).
9621
ce1438d6
LMI
9622 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9623 for consistency with the other vc buffers (bug#6197).
9624 (vc-checkin): Ditto.
9625
9626 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9627
36adf6ce
LMI
9628 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9629
e83cc1f7
LMI
96302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9631
8a20ca4c
LMI
9632 * custom.el (defcustom): Clarify that :set is only used in the
9633 Customize user interface (bug#6089).
9634
83319045
LMI
9635 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9636 associated with a file, refuse to run instead of erroring out
9637 (bug#6084).
9638
a8392169
LMI
9639 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9640 the doc string, since it appears that using `fill-column' always
9641 controls the width (bug#7845).
9642
e83cc1f7
LMI
9643 * simple.el (shell-command-on-region): Say where the error output
9644 went if `shell-command-default-error-buffer' is set (bug#6857).
9645
e47ca23b
KM
96462011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9647
9648 * allout.el (allout-yank-processing): Adjust cursor position for
9649 backwards-deleted space.
9650
9651 (allout-rebullet-heading): Register changes with
9652 allout-exposure-changed-hook, so the modified topic is properly
9653 decorated.
9654
5cf56143
LMI
96552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9656
08549772
LMI
9657 * minibuffer.el (completion-in-region): Document PREDICATE
9658 (bug#7136).
9659
48e96771
LMI
9660 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9661 of keyword/argument pairs (bug#6904).
9662
c8af70e1
SM
9663 * replace.el (multi-occur):
9664 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9665
e17d05e2
LMI
96662011-07-02 Drew Adams <drew.adams@oracle.com>
9667
9668 * dired.el (dired-mark-if): Make the message about whether it's
9669 marking or unmarking clearer (bug#8523).
9670
063b0e45
LMI
96712011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9672
9673 * disp-table.el (display-table-print-array): New function.
9674 (describe-display-table): Use it to print the vectors more pretty
9675 (Bug#8859).
9676
28545e04
MR
96772011-07-02 Martin Rudalics <rudalics@gmx.at>
9678
9679 * window.el (window-state-get-1): Don't assign clone numbers.
9680 Add clone-of item to list of window parameters.
9681 (window-state-put-2): Don't process clone numbers.
9682 (display-buffer-alist): Fix doc-string.
9683
3349e122
SM
96842011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * subr.el (remq): Don't allocate if it's not needed.
9687 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9688 (keymap--merge-bindings): New functions.
9689 (keymap-canonicalize): Use them to refine the canonicalization.
9690 * minibuffer.el (minibuffer-local-completion-map)
9691 (minibuffer-local-must-match-map): Move initialization from C.
9692 (minibuffer-local-filename-completion-map): Move initialization from C;
9693 don't inherit from anything here.
9694 (minibuffer-local-filename-must-match-map): Make obsolete.
9695 (completing-read-default): Use make-composed-keymap to combine
9696 minibuffer-local-filename-completion-map with either
9697 minibuffer-local-must-match-map or
9698 minibuffer-local-filename-completion-map.
9699
d224ac83
GM
97002011-07-01 Glenn Morris <rgm@gnu.org>
9701
3de63bf8
GM
9702 * type-break.el (type-break-time-sum): Use dolist.
9703
d224ac83
GM
9704 * textmodes/flyspell.el (flyspell-word-search-backward):
9705 Replace CL function.
9706
1a1e3f32
SM
97072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9708
fe3f64d5
SM
9709 * mouse.el (mouse--strip-first-event): New function.
9710 (function-key-map): Use it to map fringe clicks to normal clicks
9711 by default.
9712
eb604e34
SM
9713 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9714 (vc-bzr-revision-completion-table): Add support for annotate and date.
9715
1a1e3f32
SM
9716 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9717 inherit from parent.
9718
5bd35902
LMI
97192011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9720
ace6c69c 9721 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9722 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9723
191e2bed
LMI
9724 * dired.el (dired-mode): Fix up the doc string as suggested by
9725 Drew Adams (bug#8817).
9726
5bd35902
LMI
9727 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9728 cookie, since the manual says that it should be possible to add
9729 this function to `find-file-hook' (bug#8709).
9730
eee8207a
TZ
97312011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9732
9733 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9734 here. Noted Ted Zlatanov as the maintainer.
9735 (cfengine-common-settings, cfengine-common-syntax): New functions
9736 to set up common things between `cfengine-mode' and
9737 `cfengine3-mode'.
9738 (cfengine3-mode): New mode.
9739 (cfengine3-defuns cfengine3-defuns-regex
9740 (cfengine3-class-selector-regex cfengine3-category-regex)
9741 (cfengine3-vartypes cfengine3-font-lock-keywords)
9742 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9743 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9744
36b148cf
MA
97452011-07-01 Michael Albinus <michael.albinus@gmx.de>
9746
9747 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9748
9749 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9750
0bf4ba9a
MR
97512011-07-01 Martin Rudalics <rudalics@gmx.at>
9752
9753 * window.el (same-window-buffer-names, same-window-regexps)
9754 (same-window-p, special-display-frame-alist)
9755 (special-display-popup-frame, special-display-function)
9756 (special-display-buffer-names, special-display-regexps)
9757 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9758 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9759 (split-window-preferred-function, split-height-threshold)
9760 (split-width-threshold, even-window-heights)
9761 (display-buffer-mark-dedicated, window-splittable-p)
9762 (split-window-sensibly, window-safely-shrinkable-p):
9763 Un-obsolete.
9764 (display-buffer): Don't spread args with function specifier
9765 because special-display-popup-frame won't like it.
9766
35837f51
PE
97672011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9768
d0672f86
PE
9769 Time-stamp simplifications and fixes.
9770 These improve accuracy slightly, and future-proof the code
9771 against some potential changes to current-time format.
9772
b9444d97
PE
9773 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9774 by using time-since and float-time.
9775
0ef923dc
PE
9776 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9777 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9778 + NNN microseconds".
9779
2f81380d
PE
9780 * type-break.el (type-break-time-sum): Rewrite using time-add.
9781
845b5c3e
PE
9782 * play/hanoi.el (hanoi-current-time-float): Remove.
9783 All uses replaced by float-time.
9784
ee6f1be0
PE
9785 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9786 This yields a more-accurate answer.
9787 (rng-time-to-float): Remove; no longer needed.
9788
fe955043
PE
9789 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9790
5777162a
PE
9791 * calendar/timeclock.el (timeclock-seconds-to-time):
9792 Defalias to seconds-to-time, since they're the same thing.
9793
3103f8b6 9794 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9795 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9796 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9797
0e61a35f
SM
97982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * window.el (bury-buffer): Don't iconify the only frame.
9801 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9802 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9803
ddd63a1e
CY
98042011-07-01 Chong Yidong <cyd@stupidchicken.com>
9805
0e61a35f
SM
9806 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9807 Add mouse-yank-primary.
ddd63a1e 9808
055f4923
TZ
98092011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9810
9811 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9812
6a2fb145
SM
98132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9816 (find-library-name): Use it to find relative load names when provided
9817 absolute file name (bug#8803).
9818
fd4983f2
LMI
98192011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9820
887d14ad
LMI
9821 * textmodes/flyspell.el (flyspell-word): Consider words that
9822 differ only in case as potential doublons (bug#5687).
9823
c53dc7fc
LMI
9824 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9825 Remove two rather uninteresting debugging-like messages to make
9826 debbugs.el more silent.
9827
fd4983f2
LMI
9828 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9829 a password-like phrase.
9830
7a71b18d 98312011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9832
9833 * progmodes/cc-guess.el: New file.
9834
6a2fb145 9835 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9836
9837 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9838 derived from `c-basic-common-init'.
9839
9840 * progmodes/cc-mode.el (top-level): Require cc-guess.
9841 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9842
1fa280a3
LM
98432011-06-30 Lawrence Mitchell <wence@gmx.li>
9844
9845 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9846
e6597158
AM
98472011-06-30 Alan Mackenzie <acm@muc.de>
9848
1fa280a3
LM
9849 * progmodes/cc-engine.el (c-guess-continued-construct):
9850 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9851 lock is disabled. Name this case as "CASE G".
9852
68ba37fb
KM
98532011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9854
9855 * allout.el (allout-yank-processing): Fix injection of extra space
9856 between bullet and non-whitespace character in first topic when
9857 pasting, ensuring that the actual spacing in the pasted topic
9858 following the bullet char is preserved. This extra space was
9859 causing pasted encrypted topics to get a decrypted status even
9860 when the content was actually still encrypted. Now the decryption
9861 status from before the paste is preserved.
9862
9863 (allout-flag-region): Set all allout overlays so they evaporate
9864 when reduced to zero length (evanescent), to prevent overlay
9865 leakage.
9866
887a0b34
GM
98672011-06-30 Glenn Morris <rgm@gnu.org>
9868
94b9acce
GM
9869 * w32-fns.el (w32-charset-info-alist): Declare.
9870
1d9b46d4
GM
9871 * find-dired.el (find-grep-options): Simplify.
9872
cc232200
GM
9873 * term/ns-win.el (ns-set-resource): Declare.
9874
28e77c46
GM
9875 * ses.el (row, col): Declare dynamic variables honestly.
9876
887a0b34
GM
9877 * textmodes/reftex-parse.el (index-tags): Declare.
9878
658d8eb8
CY
98792011-06-30 Chong Yidong <cyd@stupidchicken.com>
9880
9881 * cus-edit.el (customize-push-and-save): New function.
9882
9883 * files.el (hack-local-variables-confirm): Use it.
9884
1fa280a3
LM
9885 * custom.el (load-theme): New arg NO-CONFIRM.
9886 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9887 (custom-enabled-themes): Doc fix.
9888
9889 * cus-theme.el (customize-create-theme)
9890 (custom-theme-merge-theme): Callers to load-theme changed.
9891
bb617717
LMI
98922011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893
d61bdd5d
LMI
9894 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9895 short URLs have at least one dot in them (bug #7614).
9896
bb617717
LMI
9897 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9898 nil, because using a pty is apparently too slow (bug #895).
9899
2f31f37a
LMI
99002011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9901
9902 * mail/sendmail.el (sendmail-query-once): New function.
9903 (sendmail-query-once-function): New variable.
9904
3076b24e
GM
99052011-06-29 Glenn Morris <rgm@gnu.org>
9906
faf2a174
GM
9907 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9908
3076b24e
GM
9909 * ses.el (top-level): Require cl when compiling.
9910 (ses-set-localvars): Fix error statement.
9911 Call it at compile time to silence a storm of warnings.
9912
5386012d
MR
99132011-06-29 Martin Rudalics <rudalics@gmx.at>
9914
9915 * window.el (normalize-live-buffer): Rename to
9916 window-normalize-buffer.
9917 (normalize-live-frame): Rename to window-normalize-frame.
9918 (normalize-any-window): Rename to window-normalize-any-window.
9919 (normalize-live-window): Rename to window-normalize-live-window.
9920 (make-window-atom): Rename to window-make-atom.
9921 (window-resize-reset): Rename to window--resize-reset.
9922 (window-resize-reset-1): Rename to window--resize-reset-1.
9923 (resize-mini-window): Rename to window--resize-mini-window.
9924 (resize-subwindows-skip-p): Rename to
9925 window--resize-subwindows-skip-p.
9926 (resize-subwindows-normal): Rename to
9927 window--resize-subwindows-normal.
9928 (resize-subwindows): Rename to window--resize-subwindows.
9929 (resize-other-windows): Rename to window--resize-siblings.
9930 (resize-this-window): Rename to window--resize-this-window.
9931 (resize-root-window): Rename to window--resize-root-window.
9932 (resize-root-window-vertically): Rename to
9933 window--resize-root-window-vertically.
9934 (normalize-buffer-to-display): Rename to
9935 window-normalize-buffer-to-display.
9936 (normalize-buffer-to-switch-to): Rename to
9937 window-normalize-buffer-to-switch-to.
9938 Correspondingly update all callers of the functions listed
9939 above.
9940 (display-buffer-alist, display-buffer-normalize-arguments)
9941 (display-buffer-normalize-options, display-buffer)
9942 (display-buffer-alist-set): Use "function" instead of
9943 "fun-with-args".
9944
1176868d
CY
99452011-06-28 Chong Yidong <cyd@stupidchicken.com>
9946
9947 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9948 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9949 debbugs.gnu.org. Mention acknowledgment email.
9950
20a7a65f
LMI
99512011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9952
9953 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9954 buffer multibyteness, since it shouldn't matter.
9955
5f45cca5
MR
99562011-06-28 Martin Rudalics <rudalics@gmx.at>
9957
9958 * window.el (display-buffer-in-side-window): Handle dedicated
9959 windows as in display-buffer-reuse-window.
9960 (display-buffer-normalize-alist): Use value of override
9961 specifier.
9962 (display-buffer-normalize-specifiers): Use value of
9963 other-window-means-other-frame specifier.
9964 (display-buffer-alist): Rewrite some texts in widgets.
9965 (display-buffer): Spread arguments when calling function
9966 specified by fun-with-args.
9967
ad85fe1f
DD
99682011-06-28 Deniz Dogan <deniz@dogan.se>
9969
1fa280a3
LM
9970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9971 Unnest `let'.
da68c4c8 9972
ad85fe1f
DD
9973 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9974 selectors (Bug#5732).
ec49bd31 9975 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9976
a08cc025
JA
99772011-06-27 Jari Aalto <jari.aalto@cante.net>
9978
9979 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9980 (eshell-ls-date-format): New defcustom.
9981 (eshell-ls-file): Use it.
9982
e2b551c5
SM
99832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9986
8982b231
KY
99872011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9988
9989 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9990 (ange-ftp-make-tmp-name): New arg.
9991 (ange-ftp-file-local-copy): Use it.
9992
36c9fa27
J
99932011-06-27 Jambunathan K <kjambunathan@gmail.com>
9994
9995 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9996 no-conversion (Bug#8870).
9997
d68443dc
MR
99982011-06-27 Martin Rudalics <rudalics@gmx.at>
9999
10000 * window.el (window-right, window-left, window-child)
10001 (window-child-count, window-last-child)
10002 (window-iso-combination-p, walk-window-tree-1)
10003 (window-atom-check-1, window-tree-1, delete-window)
10004 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10005 new naming conventions - window-vchild, window-hchild,
10006 window-next and window-prev are now called window-top-child,
10007 window-left-child, window-next-sibling and window-prev-sibling
10008 respectively.
d615d6d2
MR
10009 (resize-window-reset): Rename to window-resize-reset.
10010 (resize-window-reset-1): Rename to window-resize-reset-1.
10011 (resize-window): Rename to window-resize.
10012 (window-min-height, window-min-width)
10013 (resize-mini-window, resize-this-window, resize-root-window)
10014 (resize-root-window-vertically, adjust-window-trailing-edge)
10015 (enlarge-window, shrink-window, maximize-window)
10016 (minimize-window, delete-window, quit-restore-window)
10017 (split-window, balance-windows, balance-windows-area-adjust)
10018 (balance-windows-area, window-state-put-2)
10019 (display-buffer-even-window-sizes, display-buffer-set-height)
10020 (display-buffer-set-width, set-window-text-height)
10021 (fit-window-to-buffer): Rename all "resize-window" prefixed
10022 calls to use the "window-resize" prefix convention.
10023 (display-buffer-alist): Fix symbol for label specifier.
10024 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10025 corresponding specifier.
10026 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10027
b6458526
VB
100282011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10029
10030 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10031 convention.
10032 (ses-call-printer): Does not pass an empty string to formatter when the
10033 cell is empty to keep from barking printer Calc math-format-value.
10034
d31fd9ac
RS
100352011-06-27 Richard Stallman <rms@gnu.org>
10036
43d5bf84
RS
10037 * battery.el (battery-mode-line-limit): New variable.
10038 (battery-update): Handle it.
10039
d31fd9ac
RS
10040 * mail/rmailmm.el (rmail-mime-process-multipart):
10041 Handle truncated messages.
10042
819a6054
GM
100432011-06-27 Glenn Morris <rgm@gnu.org>
10044
10045 * progmodes/flymake.el (flymake-err-line-patterns):
10046 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10047
cedc73f2
VB
100482011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10049
819a6054 10050 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10051 (ses--clean-!, ses--clean-_): New functions.
10052 (ses-range): Add configurability of readout order, and conversion
10053 to Calc vector.
10054
5e5d49b6
VB
10055 * ses.el (ses-repair-cell-reference-all): New function.
10056 (ses-cell-symbol): Set macro as safe, so that it can be used in
10057 formulas.
10058
56e6cc31 10059 * ses.el: Update cycle detection algorithm.
90ca8b49 10060 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10061 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10062 (ses-set-localvars): New function.
10063 (ses-make-cell): Add property-list as a cell element.
10064 (ses-cell-property-get-fun, ses-cell-property-get)
10065 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10066 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10067 New functions.
90ca8b49
VB
10068 (ses-cell-property-set, ses-cell-property-pop)
10069 (ses-cell-property-get-handle): New macro.
10070 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10071 New aliases, used for code readability.
10072 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10073 cycle detection.
10074 (ses-self-reference-early-detection): New defcustom.
fac916bf 10075 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10076 (ses-mode): Use ses-set-localvars.
10077 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10078 before lauching the update processing.
10079 (ses-initialize-Dijkstra-attempt): New function.
10080 (ses-recalculate-cell): Update for cycle detection based on
10081 Dijkstra algorithm.
10082
2bb63e81
VB
10083 * ses.el: Fix commenting and indenting convention.
10084
c9d29fb8
SM
100852011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * bs.el (bs-cycle-next): Complete last change.
10088
d8e4b68b
JB
100892011-06-27 Drew Adams <drew.adams@oracle.com>
10090
10091 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10092
40098786
LMI
100932011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10094
c9d29fb8
SM
10095 * net/network-stream.el (network-stream-open-starttls):
10096 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10097 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10098
40098786
LMI
10099 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10100 to binary to possibly avoid line encoding issues on Windows (among
10101 other things).
10102
468d09d4
LMI
101032011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10104
10105 * net/network-stream.el (open-network-stream): Return an :error
10106 saying what the problem was, if possible.
10107
10108 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10109 server.
10110
10111 * net/network-stream.el (network-stream-open-starttls): If we
10112 wanted to use STARTTLS, and the server offered it, but we weren't
10113 able to because we had no STARTTLS support, then close the connection.
10114 (open-network-stream): Return an :error element, if present.
10115
16f07dd7
CY
101162011-06-26 Chong Yidong <cyd@stupidchicken.com>
10117
88821ca0
CY
10118 * hl-line.el (hl-line-sticky-flag): Doc fix.
10119 (global-hl-line-sticky-flag): New option (Bug#8323).
10120 (global-hl-line-highlight): Obey it.
10121
16f07dd7
CY
10122 * vc/vc.el (vc-revert-show-diff): Default to t.
10123
6b5ccddf
KM
101242011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10125
c9d29fb8
SM
10126 * allout-widgets.el (allout-widgets-post-command-business):
10127 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10128 undecorated when an isearch is continued past, and isearch
10129 automatically collapses them. This leads to "widget leaks", where
10130 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10131 hidden widgets can slow down cursor travel, substantially.
10132 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10133 so we're doing without this nicety.
10134
10135 (allout-widgets-tally-string): Don't try to do a hash-table-count
10136 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10137 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10138 *Messages* when allout-widgets-maintain-tally is t.
10139
355f2e07
MR
101402011-06-26 Martin Rudalics <rudalics@gmx.at>
10141
10142 * window.el (display-buffer-normalize-argument): Rename to
10143 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10144 LABEL argument. Respect special-display-function when popping up
10145 a new frame. Fix code searching for a window showing the buffer
10146 on another frame.
c9d29fb8
SM
10147 (display-buffer-normalize-specifiers):
10148 Call display-buffer-normalize-arguments.
355f2e07
MR
10149 (display-buffer-in-window): Don't undedicate the window if its
10150 buffer remains the same.
10151 Reported by Drew Adams <drew.adams@oracle.com>.
10152 (display-buffer-alist): Add choice for same-window macro
10153 specfier.
10154 (display-buffer): Mention special meaning of LABEL argument in
10155 doc-string. Fix quoting. Don't pop up a new frame even as
10156 fallback.
10157
7ca8fc42
JB
101582011-06-26 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10161 avoid deleting the current window in some cases (bug#8911).
10162
bc312254
AS
101632011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10164
10165 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10166 (Bug#8934)
10167
2db18f3f
LMI
101682011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10169
c9d29fb8
SM
10170 * net/network-stream.el (network-stream-open-starttls):
10171 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10172 (network-stream-open-tls): Ditto.
10173
6302e0d3
LL
101742011-06-26 Leo Liu <sdl.web@gmail.com>
10175
10176 * register.el (registerv): New struct.
10177 (registerv-make): New function.
c9d29fb8
SM
10178 (jump-to-register, describe-register-1, insert-register):
10179 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10180 struct. (Bug#8415)
10181
5fdd4046
CY
101822011-06-26 Chong Yidong <cyd@stupidchicken.com>
10183
2afef60a
CY
10184 * vc/vc.el (vc-revert-show-diff): New defcustom.
10185 (vc-diff-internal): New arg specifying diff buffer.
10186 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10187 reuse an existing *vc-diff* buffer (Bug#8927).
10188
5fdd4046
CY
10189 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10190
e93db24a
GM
101912011-06-26 Glenn Morris <rgm@gnu.org>
10192
10193 * progmodes/f90.el (f90-critical-indent): New option.
10194 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10195 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10196 (f90-mode): Doc fix.
10197 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10198 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10199 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10200 (f90-match-end): Handle block, critical.
10201
eefff499
GM
102022011-06-25 Glenn Morris <rgm@gnu.org>
10203
f6ba4cc9
GM
10204 * calendar/diary-lib.el (diary-included-files): Doc fix.
10205 (diary-include-files): New function, extracted from
10206 diary-include-other-diary-files and diary-mark-included-diary-files.
10207 (diary-include-other-diary-files, diary-mark-included-diary-files):
10208 Just call diary-include-files.
10209 (diary-mark-entries): Reset diary-included-files on first call.
10210
16712304
GM
10211 * calendar/diary-lib.el (diary-mark-entries)
10212 (diary-mark-included-diary-files):
10213 Visit included diary-files in temp buffers.
10214
5d8e0d43
GM
10215 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10216 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10217 (f90-start-block-re, f90-imenu-generic-expression)
10218 (f90-looking-at-program-block-start, f90-no-block-limit):
10219 Add support for submodules.
10220
ccf7a5d5
GM
10221 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10222 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10223
11fdef7d 102242011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10225
10226 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10227 buffer-file-type before setting its value, to avoid disastrous
eefff499 10228 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10229
74f53697
JB
102302011-06-25 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10233
10234 * ses.el (ses-unload-function):
10235 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10236
10237 * proced.el (proced-unload-function):
10238 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10239
18a4ce5e
AR
102402011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10241
10242 * server.el (server-create-window-system-frame): Add parameters arg.
10243 (server-process-filter): Doc fix. Handle frame-parameters.
10244
519d22cc
JB
102452011-06-25 Juanma Barranquero <lekktu@gmail.com>
10246
10247 Fix bug#8730, bug#8781.
10248
10249 * loadhist.el (unload--set-major-mode): New function.
10250 (unload-feature): Use it.
10251
10252 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10253 (python-unload-function): New function.
10254
c206f5b0
SM
102552011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10258
f9ad64f3
GS
102592011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10260
10261 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10262 the candidates list.
10263
7d0da90e
JB
102642011-06-24 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10267
14b4e83d
RS
102682011-06-23 Richard Stallman <rms@gnu.org>
10269
10270 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10271 (rmail-variables): Set next-error-move-function.
10272 (rmail-what-message): Take argument POS.
10273 (rmail-next-error-move): New function.
10274
273d2baf
SM
102752011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10278 messages for adjacent non-terminals.
10279
56c2cc9a
RS
102802011-06-23 Richard Stallman <rms@gnu.org>
10281
10282 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10283 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10284 (rmail-start-mail): Don't specify use of rmail-mail-return;
10285 that's done by mail-bury now.
10286 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10287
d59eb518
MA
102882011-06-23 Michael Albinus <michael.albinus@gmx.de>
10289
10290 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10291 SIZE is a number.
10292
02cfc6d6
MR
102932011-06-23 Martin Rudalics <rudalics@gmx.at>
10294
10295 * window.el (get-lru-window, get-mru-window)
10296 (get-largest-window): Never return a minibuffer window.
10297 (display-buffer-pop-up-window): Fix a bug that could lead to
10298 reusing the minibuffer window.
10299 (display-buffer): Pass original specifier argument to
10300 display-buffer-function instead of the normalized one.
10301 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10302
4e323265
LL
103032011-06-22 Leo Liu <sdl.web@gmail.com>
10304
10305 * minibuffer.el (completing-read-function)
10306 (completing-read-default): Move from minibuf.c
10307
7a70468f
RS
103082011-06-22 Richard Stallman <rms@gnu.org>
10309
50718fc2
RS
10310 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10311 to Rmail even if not started by a special Rmail command.
10312
7a70468f
RS
10313 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10314 Copy the buffer currently showing just one message.
10315
297dde5a
RW
103162011-06-22 Roland Winkler <winkler@gnu.org>
10317
10318 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10319 (bibtex-clean-entry): First delete the old key so that a
10320 customized algorithm for generating the new key does not get
10321 confused by the old key.
10322 (bibtex-url): Obey regexp of first step.
10323 (bibtex-search-entries): Do not use add-to-list with local
10324 list-var.
10325
97bb1093
LMI
103262011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10327
10328 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10329 stored a user name, then query for the password first, instead of
10330 waiting for SMTP to give an error message and the trying again.
10331
1c0f1a19
JD
103322011-06-22 Lawrence Mitchell <wence@gmx.li>
10333
10334 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10335 BUFFER in call-process.
10336
396f7c9d
LMI
103372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10338
10339 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10340 QUIT twice.
ddb7ffee
LMI
10341 (smtpmail-try-auth-methods): Require user name and password from
10342 auth-source.
396f7c9d 10343
8998d1b3
MR
103442011-06-22 Martin Rudalics <rudalics@gmx.at>
10345
10346 * window.el (display-buffer-default-specifiers)
10347 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10348 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10349 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10350
10351 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10352 (special-display-frame-alist, special-display-popup-frame):
10353 Remove duplicate declarations. These are now in window.el.
10354
4ea31e07
LMI
103552011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10356
c9d29fb8
SM
10357 * mail/smtpmail.el (smtpmail-via-smtp):
10358 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10359 server supports it. SMTP servers that support STARTTLS commonly
10360 require it.
10361
10362 * net/network-stream.el (network-stream-open-starttls): Support
10363 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10364 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10365
95f41d9a
LMI
10366 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10367 upgrades with `open-network-stream', and rely solely on
10368 auth-source for all credentials. Big changes throughout the file,
10369 but in particular:
c9d29fb8
SM
10370 (smtpmail-auth-credentials): Remove.
10371 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10372 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10373 MAIL FROM, too.
95f41d9a 10374
c9d29fb8
SM
10375 * net/network-stream.el (network-stream-open-starttls):
10376 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10377 STARTTLS.
10378 (auth-source): Require.
10379 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10380 (network-stream-certificate): Change cert-cert to cert and
10381 cert-key to key.
4ea31e07 10382
065ec2c7
MA
103832011-06-21 Michael Albinus <michael.albinus@gmx.de>
10384
10385 * net/tramp-cache.el (top): Don't load the persistency file when
10386 "emacs -Q" has been called.
10387
cd93b359
DR
103882011-06-21 Tim Harper <timcharper@gmail.com>
10389
d8e4b68b
JB
10390 * term/ns-win.el (ns-initialize-window-system):
10391 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10392 resource to NO as it is not yet supported by the NS port.
10393
ae9c0411
JB
103942011-06-21 Juanma Barranquero <lekktu@gmail.com>
10395
10396 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10397 (list-dynamic-libraries): ...not here.
10398
7f3f739f
LL
103992011-06-21 Leo Liu <sdl.web@gmail.com>
10400
10401 * subr.el (sha1): Implement sha1 using secure-hash.
10402
327c8fb1
MR
104032011-06-21 Martin Rudalics <rudalics@gmx.at>
10404
10405 * window.el (display-buffer-alist): In default value do not
10406 enforce searching a window on any but the selected frame.
10407 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10408 (display-buffer-select-window): Remove function.
10409 (display-buffer-in-window): When a window on another frame gets
10410 reused, do not select it any more but just raise its frame if
10411 necessary (Bug#8851) and (Bug#8856).
10412 (display-buffer-normalize-options): Handle pop-up-frames related
10413 options more faithfully.
10414 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10415 window if it is on another frame.
c9d29fb8
SM
10416 (display-buffer-alist, display-buffer-default-specifiers):
10417 Don't make new frame unsplittable by default.
9e9de014
MR
10418 (display-buffer-normalize-argument): Fix doc-string typo and use
10419 'same-frame-other-window instead of 'other-window when associating
10420 with display-buffer-macro-specifiers.
327c8fb1 10421
7cf3f556
VB
104222011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10423
10424 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10425 New functions.
10426 (5x5-mode-map, 5x5-mode-menu): Bind them.
10427 (5x5-draw-grid): Tweak the solver's rendering.
10428
60a406cf
SM
104292011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10432 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10433
d8e4b68b 104342011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10435
10436 * menu-bar.el: Use function variable instead of switch-to-buffer.
10437 (menu-bar-select-buffer-function): New variable.
60a406cf 10438 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10439
478d6f95
SM
104402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10443 variable's status.
10444
ca530739
JD
104452011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10446
10447 * x-dnd.el (x-dnd-version-from-flags)
10448 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10449 and long as number (Bug#8899).
10450 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10451
bcd70d97
SM
104522011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10453
60a406cf 10454 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10455 (completion-try-completion, completion-all-completions): Compute the
10456 metadata argument if it's missing; make it optional (bug#8795).
10457
60a406cf 10458 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10459 (widget-complete): Use new :completion-function property.
10460 (widget-completions-at-point): New function.
10461 (default): Use :completion-function instead of :complete.
60a406cf
SM
10462 (widget-default-completions): Rename from widget-default-complete;
10463 Rewrite.
bcd70d97
SM
10464 (widget-string-complete, widget-file-complete, widget-color-complete):
10465 Remove functions.
10466 (file, symbol, function, variable, coding-system, color):
10467 * international/mule-cmds.el (default-input-method, charset)
10468 (language-info-custom-alist):
10469 * cus-edit.el (face): Use new property :completions.
10470
10471 * progmodes/pascal.el (pascal-completions-at-point): New function.
10472 (pascal-mode): Use it.
10473 (pascal-mode-map): Use completion-at-point.
10474 (pascal-toggle-completions): Make obsolete.
10475 (pascal-complete-word, pascal-show-completions):
10476 * progmodes/octave-mod.el (octave-complete-symbol):
10477 Redefine as obsolete alias.
10478 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10479 Signal absence of completion info for old Octave,
10480 (inferior-octave-complete): Redefine as obsolete alias.
10481 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10482 (meta-completions-at-point): Rename from meta-complete-symbol and
10483 adapt it for use on completion-at-point-functions.
10484 (meta-common-mode): Use it.
10485 (meta-looking-at-backward, meta-match-buffer): Remove.
10486 (meta-complete-symbol): Redefine as obsolete alias.
10487 (meta-common-mode-map): Use completion-at-point.
10488 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10489 (makefile-mode-map): Use completion-at-point.
10490 (makefile-completions-at-point): Rename from makefile-complete and
10491 adapt it for use on completion-at-point-functions.
10492 (makefile-mode): Use it.
10493 (makefile-complete): Redefine as obsolete alias.
10494
aebf69c8
DD
104952011-06-20 Deniz Dogan <deniz@dogan.se>
10496
10497 * net/rcirc.el: Delete trailing whitespaces once and for all.
10498
bfbbb27d
DC
104992011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10500
10501 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10502
d264a46b
CY
105032011-06-19 Chong Yidong <cyd@stupidchicken.com>
10504
4ca009e5
CY
10505 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10506
d264a46b
CY
10507 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10508
fbf5b3ce
MR
105092011-06-19 Martin Rudalics <rudalics@gmx.at>
10510
10511 * window.el (display-buffer-other-window-means-other-frame):
10512 Call display-buffer-normalize-alist.
10513 (display-buffer-normalize-specifiers-1): Rename to
10514 display-buffer-normalize-argument. New argument other-frame.
10515 Rewrite.
10516 (display-buffer-normalize-specifiers-2): Rename to
10517 display-buffer-normalize-options.
10518 (display-buffer-normalize-alist-1): New function.
10519 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10520 display-buffer-normalize-alist.
10521 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10522 (display-buffer-normalize-options-inhibit): New variable.
10523 (display-buffer-normalize-specifiers): Rewrite calling
10524 display-buffer-normalize-alist,
10525 display-buffer-normalize-argument, and
10526 display-buffer-normalize-options. Don't call the latter if
10527 display-buffer-normalize-options-inhibit is non-nil.
10528 (frame-auto-delete): New option.
10529 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10530 (window-list-no-nils, window-state-ignored-parameters)
10531 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10532 (window-state-put-1, window-state-put-2, window-state-put):
10533 New functions.
9a028c23
MR
10534 (display-buffer-normalize-options): Move special-display-p group
10535 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10536
6d10d800
CY
105372011-06-18 Chong Yidong <cyd@stupidchicken.com>
10538
6420d28b
CY
10539 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10540 groups (Bug#8776).
10541 (rx-submatch-n): New function.
10542 (rx): Document it.
10543
ddb8b596
CY
10544 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10545 (Bug#8768).
10546
10547 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10548
77080289
CY
10549 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10550
61dfb316
CY
10551 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10552 anytime existing face settings are present (Bug#8889).
10553
6d10d800
CY
10554 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10555 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10556 Remove unused argument.
10557
be3fb2b8
MR
105582011-06-18 Martin Rudalics <rudalics@gmx.at>
10559
bcd70d97
SM
10560 * window.el (display-buffer-default-specifiers):
10561 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10562 pop-up-window-min-width, and another reuse-window specifier
10563 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10564 (display-buffer-normalize-specifiers-2):
10565 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10566 pop-up-windows is unset. Add a reuse-window specifier for the
10567 case popping up a new window fails.
10568 (special-display-popup-frame): Remove double quoting.
28dec25a 10569 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10570
1c6d8c76
SM
105712011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10574 according to comint-completion-addsuffix.
10575
10576 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10577 (pcomplete-suffix-list): Mark as obsolete.
10578 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10579 pcomplete-seen in the closure.
10580 (pcomplete-comint-setup): Setup completion-at-point as well.
10581 (pcomplete--entries): New function.
10582 (pcomplete--env-regexp): New var.
10583 (pcomplete-entries): Rewrite to work with partial-completion and
10584 without relying on pcomplete-suffix-list.
10585 (pcomplete-pare-list): Remove, unused.
10586
25aef8b8
MR
105872011-06-17 Martin Rudalics <rudalics@gmx.at>
10588
10589 * window.el (display-buffer-alist): Set pop-up-window-min-height
10590 and pop-up-window-min-width in default value. Reported by
10591 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10592 other-window-means-other-frame.
10593 (display-buffer-macro-specifiers): Comment out entry for
10594 other-window specifier.
10595 (display-buffer-other-window-means-other-frame): New function.
10596 (display-buffer-normalize-specifiers-1): New arguments
10597 buffer-name and label. Treat other-window case specially.
10598 (display-buffer-normalize-specifiers-2): Treat other-window case
10599 specially.
10600 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10601 (display-buffer-normalize-specifiers):
10602 Call display-buffer-normalize-specifiers-3.
25aef8b8 10603
dbad4f69
MR
106042011-06-17 Martin Rudalics <rudalics@gmx.at>
10605
10606 * window.el (same-window-p): Fix two typos introduced when
10607 adding with-no-warnings.
d1067961
MR
10608 (display-buffer-normalize-specifiers-1): Don't check
10609 pop-up-frames for 'unset initialization.
10610 (display-buffer-normalize-specifiers-2): Major rewrite using
10611 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10612 (pop-up-frames, display-buffer-reuse-frames)
10613 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10614 Suggested by David Engster <deng@randomsample.de>.
10615 (even-window-heights): Initialize to 'unset.
10616 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10617 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10618 other window case.
dbad4f69 10619
9b9c9e3a
MR
106202011-06-16 Martin Rudalics <rudalics@gmx.at>
10621
bcd70d97
SM
10622 * window.el (display-buffer-normalize-specifiers-1):
10623 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10624 second argument of display-buffer (Bug#8865).
981d5c09
MR
10625 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10626 (switch-to-buffer-other-window-same-frame)
10627 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10628 Adams (Bug#8875).
9c2755e9
MR
10629 (display-buffer): Don't check noninteractive when calling
10630 display-buffer-pop-up-frame.
10631 (display-buffer-pop-up-frame): Never pop up a frame in
10632 noninteractive mode (Bug#8857).
67222e1d
MR
10633 (enlarge-window, shrink-window): Don't report an error when the
10634 window can't be resized as requested (Bug#8862).
9b9c9e3a 10635
2b75be67
SM
106362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10637
9ffdd3ba
SM
10638 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10639
cb581a67
SM
10640 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10641
2b75be67
SM
10642 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10643
8c0e3589
AM
106442011-06-15 Alan Mackenzie <acm@muc.de>
10645
cb581a67
SM
10646 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10647 for declarators, disable knr checking to speed up for normal files.
10648 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10649
b96e6cde
LMI
106502011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651
4bba86e6
LMI
10652 * net/network-stream.el (open-network-stream): Add the keyword
10653 :always-query-capabilities for the case where you want to force a
10654 `plain' network connection, but the protocol still requires the
10655 capabilitiy command (i.e., SMTP and EHLO).
10656
2b75be67 10657 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10658 consistency with other `-live-p' functions.
10659
efdcdbf8
SM
106602011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * window.el (same-window-buffer-names, same-window-regexps)
10663 (special-display-frame-alist, special-display-popup-frame)
10664 (special-display-function, special-display-buffer-names)
10665 (special-display-regexps, pop-up-frame-alist)
10666 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10667 (pop-up-windows, split-window-preferred-function)
10668 (split-height-threshold, split-width-threshold, even-window-heights)
10669 (display-buffer-mark-dedicated): Don't encourage the use of
10670 display-buffer-alist from Elisp code.
10671
c5cde042
DN
106722011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10673
10674 * progmodes/python.el (python-mode): Derive from prog-mode.
10675 * progmodes/ps-mode.el (ps-mode):
10676 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10677 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10678 * progmodes/ld-script.el (ld-script-mode): Likewise.
10679
baa1c9ab
MR
106802011-06-15 Martin Rudalics <rudalics@gmx.at>
10681
10682 * window.el (display-buffer-alist): Trim default value to avoid
10683 popping up a new frame (Bug#8857) or reusing an arbitrary window
10684 on another frame.
10685 (display-buffer): Do not fall back on popping up a new frame in
10686 batch mode (Bug#8857).
10687
c5dd5a51
CY
106882011-06-14 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10691 (custom-theme-summary): New function.
10692 (customize-themes): Use it.
10693
d647b7c4
GM
106942011-06-13 Glenn Morris <rgm@gnu.org>
10695
10696 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10697
9481c002
MR
106982011-06-13 Martin Rudalics <rudalics@gmx.at>
10699
357f93d2
MR
10700 * help.el (help-window): Remove variable.
10701 (help-window-point-marker, temp-buffer-max-height)
10702 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10703 (help-print-return-message): Don't set help-window.
10704 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10705 (help-window-setup-finish): Remove.
10706 (help-window-display-message, help-window-setup)
10707 (with-help-window): Major rewrite based on new
10708 display-buffer-window variable.
10709
10710 * help-mode.el (help-mode-finish): Remove help-window related
10711 code.
10712
10713 * view.el (view-exits-all-viewing-windows): Remove reference to
10714 view-return-to-alist in doc-string.
10715 (view-return-to-alist): Make obsolete.
10716 (view-buffer): Call pop-to-buffer-same-window and remove
10717 undo-window code.
10718 (view-buffer-other-window): Call pop-to-buffer-other-window and
10719 simplify code. Ignore second argument.
10720 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10721 simplify code. Ignore second argument.
10722 (view-return-to-alist-update): Make obsolete.
10723 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10724 Rewrite using quit-restore window parameters.
2b75be67
SM
10725 (view-mode-exit): Rename second argument to EXIT-ONLY.
10726 Rewrite using quit-restore-window.
357f93d2
MR
10727 (View-exit, View-exit-and-edit, View-leave, View-quit)
10728 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10729 appropriate arguments.
10730 (view-end-message): Use quit-restore window parameter.
10731
9481c002
MR
10732 * window.el (display-buffer-function): Rewrite doc-string.
10733 (display-buffer-window, display-buffer-alist): New variables.
10734 (display-buffer-split-specifiers)
10735 (display-buffer-side-specifiers)
10736 (display-buffer-macro-specifiers): New constants.
10737 (display-buffer-even-window-sizes, display-buffer-set-height)
10738 (display-buffer-set-width, display-buffer-select-window)
10739 (display-buffer-in-window, display-buffer-reuse-window)
10740 (display-buffer-split-window-1, display-buffer-split-window)
10741 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10742 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10743 (display-buffer-in-side-window, normalize-buffer-to-display)
10744 (display-buffer-normalize-specifiers-1)
10745 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10746 (display-buffer-normalize-specifiers, display-buffer-frame):
10747 New functions.
9481c002
MR
10748 (display-buffer): Major rewrite.
10749 (display-buffer-other-window, display-buffer-other-frame)
10750 (pop-to-buffer, switch-to-buffer-other-window)
10751 (switch-to-buffer-other-frame): Rewrite.
10752 (display-buffer-same-window, display-buffer-same-frame)
10753 (display-buffer-same-frame-other-window)
10754 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10755 (pop-to-buffer-other-window)
10756 (pop-to-buffer-same-frame-other-window)
10757 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10758 (switch-to-buffer-other-window-same-frame): New functions.
10759 (same-window-p, special-display-p): Rewrite disabling warnings.
10760 Make obsolete.
10761 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10762 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10763 Make obsolete
10764 (same-window-buffer-names, same-window-regexps)
10765 (special-display-frame-alist, special-display-popup-frame)
10766 (special-display-function, special-display-buffer-names)
10767 (special-display-regexps, pop-up-frame-alist)
10768 (pop-up-frame-function, split-window-preferred-function)
10769 (split-height-threshold, split-width-threshold)
10770 (even-window-heights): Make obsolete.
10771
9db51aca
GM
107722011-06-12 Glenn Morris <rgm@gnu.org>
10773
10774 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10775 Misc simplifications.
9db51aca 10776
39cffb44
MR
107772011-06-12 Martin Rudalics <rudalics@gmx.at>
10778
10779 * window.el (window-safely-shrinkable-p): Restore function which
10780 was inadvertently removed in change from 2011-06-11. Declare as
10781 obsolete.
10782
2b75be67
SM
10783 * calendar/calendar.el (calendar-generate-window):
10784 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10785 window-safely-shrinkable-p.
10786
a8955be7
GM
107872011-06-12 Glenn Morris <rgm@gnu.org>
10788
10789 * progmodes/fortran.el (fortran-mode-syntax-table):
10790 * progmodes/f90.el (f90-mode-syntax-table):
10791 Set % to punctuation. (Bug#8820)
10792 (f90-find-tag-default): Remove, no longer needed.
10793
f0d4059d
DC
107942011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10795
10796 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10797
1100a63c
CY
107982011-06-11 Chong Yidong <cyd@stupidchicken.com>
10799
10800 * image.el (image-animated-p): Return animation delay in seconds.
10801 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10802 (image-animate-timeout): Remove DELAY argument. Don't assume
10803 every subimage has the same delay; get it from image-animated-p.
10804 (image-animate): Caller changed.
10805
def722bf
MA
108062011-06-11 Michael Albinus <michael.albinus@gmx.de>
10807
10808 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10809 to ignored backtrace functions.
10810
0a2bb1a9
GM
108112011-06-11 Glenn Morris <rgm@gnu.org>
10812
10813 * calendar/appt.el (appt-disp-window-function): Doc fix.
10814 (appt-check): Handle overlapping appointments. (Bug#8337)
10815
6198ccd0
MR
108162011-06-11 Martin Rudalics <rudalics@gmx.at>
10817
10818 * window.el (window-tree-1, window-tree): New functions, moving
10819 the latter to window.el.
10820 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10821 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10822 (bw-refresh-edges): Remove.
10823 (balance-windows-1, balance-windows-2): New functions.
10824 (balance-windows): Rewrite in terms of window tree functions,
10825 balance-windows-1 and balance-windows-2.
10826 (bw-adjust-window): Remove.
10827 (balance-windows-area-adjust): New function with functionality of
10828 bw-adjust-window but using resize-window.
2b75be67
SM
10829 (set-window-text-height): Rewrite doc-string.
10830 Use normalize-live-window and resize-window.
10831 (enlarge-window-horizontally, shrink-window-horizontally):
10832 Rename argument to DELTA.
6198ccd0
MR
10833 (window-buffer-height): New function.
10834 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10835 Rewrite using new window resize routines.
2b75be67
SM
10836 (kill-buffer-and-window, mouse-autoselect-window-select):
10837 Use ignore-errors instead of condition-case.
6198ccd0
MR
10838 (quit-window): Call delete-frame instead of delete-windows-on
10839 for the only buffer on frame.
10840
9397e56f
MR
108412011-06-10 Martin Rudalics <rudalics@gmx.at>
10842
10843 * loadup.el (top-level): Load window before files for the sake
10844 of replace-buffer-in-windows.
10845
10846 * files.el (read-buffer-to-switch)
10847 (switch-to-buffer-other-window)
2b75be67
SM
10848 (switch-to-buffer-other-frame, display-buffer-other-frame):
10849 Move to window.el.
9397e56f
MR
10850
10851 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10852 (previous-buffer): Move to window.el.
10853
10854 * bindings.el (unbury-buffer): Move to window.el.
10855
10856 * window.el (delete-other-windows-vertically): Move after
10857 definition of delete-other-windows.
10858 (other-window, delete-windows-on, replace-buffer-in-windows):
10859 Move here from window.c.
10860 (record-window-buffer, unrecord-window-buffer)
10861 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10862 (switch-to-next-buffer): New functions.
10863 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10864 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10865 (previous-buffer): Move here from simple.el.
10866 Call switch-to-prev-buffer.
9397e56f
MR
10867 (bury-buffer): Move here from buffer.c. Switch to previous
10868 buffer when window cannot be deleted.
10869 (unbury-buffer): Move here from bindings.el.
10870 (ctl-x-map): Move binding for other-window from window.c to
10871 here.
10872 (read-buffer-to-switch, switch-to-buffer-other-window)
10873 (switch-to-buffer-other-frame): Move here from files.el.
10874 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10875 (switch-to-buffer): Move here from buffer.c.
10876 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10877
562dd5e9
MR
108782011-06-10 Martin Rudalics <rudalics@gmx.at>
10879
10880 * window.el (window-min-height, window-min-width): Move here
10881 from window.c. Add defcustoms and rewrite doc-strings.
10882 (resize-mini-window, resize-window): New functions.
10883 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10884 Move here from window.c.
10885 (maximize-window, minimize-window): New functions.
10886 (delete-window, delete-other-windows, split-window): Move here
10887 from window.c.
10888 (window-split-min-size): New function.
10889 (split-window-keep-point): Mention split-window-above-each-other
10890 instead of split-window-vertically.
2b75be67 10891 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10892 Rename split-window-vertically to split-window-above-each-other
10893 and provide defalias for old definition.
10894 (split-window-side-by-side, split-window-horizontally):
10895 Rename split-window-horizontally to split-window-side-by-side
10896 and provide defalias for the old definition.
562dd5e9
MR
10897 (ctl-x-map): Move bindings for delete-window,
10898 delete-other-windows and enlarge-window here from window.c.
10899 Replace bindings for split-window-vertically and
10900 split-window-horizontally by bindings for
10901 split-window-above-each-other and split-window-side-by-side.
10902
10903 * cus-start.el (all): Remove entries for window-min-height and
10904 window-min-width. Add entries for window-splits and
10905 window-nest.
10906
f0da764a
GM
109072011-06-09 Glenn Morris <rgm@gnu.org>
10908
80675c21
GM
10909 * calendar/appt.el (appt-mode-line): New function.
10910 (appt-check, appt-disp-window): Use it.
10911
f0da764a
GM
10912 * files.el (hack-one-local-variable-eval-safep):
10913 Allow minor-modes with explicit +/-1 arguments.
10914
59f623b7
TZ
109152011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10916
10917 * term/xterm.el (xterm): Add defgroup.
10918 (xterm-extra-capabilities): Add defcustom to supply known xterm
10919 capabilities, skip querying them, or query them (default).
10920 (terminal-init-xterm): Use it.
10921 (terminal-init-xterm-modify-other-keys): New function to set up
10922 modifyOtherKeys support to simplify `terminal-init-xterm'.
10923
9aab8e0d
MR
109242011-06-09 Martin Rudalics <rudalics@gmx.at>
10925
10926 * window.el (resize-window-reset, resize-window-reset-1)
10927 (resize-subwindows-skip-p, resize-subwindows-normal)
10928 (resize-subwindows, resize-other-windows, resize-this-window)
10929 (resize-root-window, resize-root-window-vertically)
10930 (window-deletable-p, window-or-subwindow-p)
10931 (frame-root-window-p): New functions.
10932
e8b08aee
GM
109332011-06-09 Glenn Morris <rgm@gnu.org>
10934
10935 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10936 (ange-ftp-get-files): Use it.
10937
254c37a5
AK
109382011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10939
10940 * mail/sendmail.el (mail-recover-1, mail-recover):
10941 * files.el (recover-file, recover-session):
10942 Handle dired-listing-switches not being just a single short option.
10943
35d7dbd3
GM
109442011-06-09 Glenn Morris <rgm@gnu.org>
10945
10946 * calendar/appt.el (appt-display-message, appt-disp-window):
10947 Handle lists of appointments.
10948
387522b2
MR
109492011-06-08 Martin Rudalics <rudalics@gmx.at>
10950
2b75be67
SM
10951 * window.el (one-window-p): Move down in code.
10952 Rewrite doc-string.
10953 (window-current-scroll-bars): Rewrite doc-string.
10954 Normalize live window argument.
387522b2
MR
10955 (walk-windows, get-window-with-predicate, count-windows):
10956 Rewrite doc-string. Use window-list-1.
10957 (window-in-direction-2, window-in-direction, get-mru-window):
10958 New functions.
10959
d8e4b68b 109602011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10961
10962 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10963 Doc fix (Bug#8713).
10964
109652011-06-08 Chong Yidong <cyd@stupidchicken.com>
10966
10967 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10968
109692011-06-08 Juanma Barranquero <lekktu@gmail.com>
10970
10971 * loadhist.el (unload-feature-special-hooks):
10972 Add `comint-output-filter-functions'.
10973
0de12c52
IK
109742011-06-08 Ivan Kanis <gnu@kanis.fr>
10975
10976 * calendar/appt.el (appt-check): Move some initializations into the let.
10977
f3d1777e
MR
109782011-06-08 Martin Rudalics <rudalics@gmx.at>
10979
10980 * window.el (window-height): Defalias to window-total-height.
10981 (window-width): Defalias to window-body-width.
10982
18af70d0
CY
109832011-06-07 Chong Yidong <cyd@stupidchicken.com>
10984
10985 * image-mode.el (image-toggle-animation): New command.
10986 (image-mode-map): Bind it to RET.
10987 (image-mode): Update message.
10988 (image-toggle-display-image): Avoid a spurious cache flush.
10989 (image-transform-rotation): Doc fix.
10990 (image-transform-properties): Return quickly in the normal case.
10991 (image-animate-loop): Rename from image-animate-max-time.
10992
2b75be67 10993 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10994 (create-animated-image): Remove unnecessary function.
10995 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10996 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10997 (image-animate-timer): Use car-safe.
10998 (image-animate-timeout): Rename argument.
10999
190b47e6
MR
110002011-06-07 Martin Rudalics <rudalics@gmx.at>
11001
11002 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11003 window.c. Rename first argument to ALL-FRAMES.
11004 Rephrase doc-strings.
11005 (get-buffer-window-list): Rewrite using window-list-1.
11006 Rephrase doc-string.
a1511caf
MR
11007 (window-safe-min-height, window-safe-min-width): New constants.
11008 (window-size-ignore, window-min-size, window-min-size-1)
11009 (window-sizable, window-sizable-p, window-size-fixed-1)
11010 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11011 (window-max-delta-1, window-max-delta, window-resizable)
11012 (window-resizable-p, window-total-height, window-total-width)
11013 (window-body-width): New functions.
11014 (window-full-height-p, window-full-width-p): Rewrite using
11015 window-total-size.
11016 (window-body-height): Rewrite using window-body-size.
190b47e6 11017
85cc1f11
MR
110182011-06-06 Martin Rudalics <rudalics@gmx.at>
11019
11020 * window.el (window-right, window-left, window-child)
11021 (window-child-count, window-last-child, window-any-p)
11022 (normalize-live-buffer, normalize-live-frame)
11023 (normalize-any-window, normalize-live-window)
11024 (window-iso-combination-p, window-iso-combined-p)
11025 (window-iso-combinations)
11026 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11027 (windows-with-parameter, window-with-parameter)
11028 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11029 (window-atom-check, window-side-check, window-check):
11030 New functions.
85cc1f11
MR
11031 (ignore-window-parameters, window-sides, window-sides-vertical)
11032 (window-sides-slots): New variables.
11033 (window-size-fixed): Move down in code. Minor doc-string fix.
11034
e7156492
AS
110352011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11036
11037 * comint.el (comint-dynamic-complete-as-filename)
11038 (comint-dynamic-complete-filename): Correctly call
11039 completion-in-region.
11040
7e821d0d
DD
110412011-06-05 Deniz Dogan <deniz@dogan.se>
11042
11043 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11044 in last change.
11045
ac09b8a1
DD
110462011-06-05 Deniz Dogan <deniz@dogan.se>
11047
11048 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11049 (rcirc): Use it to prompt for encryption.
11050
34699b85
RW
110512011-06-05 Roland Winkler <winkler@gnu.org>
11052
11053 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11054 (bibtex-search-entries): New command bound to C-c C-a.
11055 (bibtex-display-entries): New function.
11056
004dedd3
RW
110572011-06-05 Roland Winkler <winkler@gnu.org>
11058
11059 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11060 (bibtex-insert-kill): After yanking insert newline if necessary.
11061 (bibtex-initialize): Call bibtex-string-files-init only once.
11062 (bibtex-mode): Do not call easy-menu-add.
11063 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11064 (bibtex-yank): Set arg properly if nil.
11065
022fe7ce
RW
110662011-06-05 Roland Winkler <winkler@gnu.org>
11067
2b75be67
SM
11068 * textmodes/bibtex.el (bibtex-search-entry-globally):
11069 New variable.
022fe7ce
RW
11070 (bibtex-search-entry): Use it.
11071
b7c3692a
RW
110722011-06-05 Roland Winkler <winkler@gnu.org>
11073
11074 * textmodes/bibtex.el (bibtex-entry-format): New option
11075 sort-fields.
11076 (bibtex-format-entry, bibtex-reformat): Honor this option.
11077 (bibtex-parse-entry): Return fields in proper order.
11078
8eda563d
JB
110792011-06-05 Juanma Barranquero <lekktu@gmail.com>
11080
11081 * doc-view.el (doc-view-remove-if): Move computation of result out
11082 of `dolist' to silence misleading lexical-binding warning.
11083
7dbe3dbc
CY
110842011-06-04 Chong Yidong <cyd@stupidchicken.com>
11085
11086 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11087 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11088
0c33dd17
MA
110892011-06-04 Michael Albinus <michael.albinus@gmx.de>
11090
11091 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11092 "SunOS 5.10".
11093
f8f91c2b
MA
110942011-06-04 Michael Albinus <michael.albinus@gmx.de>
11095
11096 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11097 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11098 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11099 (tramp-parse-putty):
11100 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11101 (tramp-completion-function-alist-ssh)
11102 (tramp-completion-function-alist-telnet)
11103 (tramp-completion-function-alist-su)
11104 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11105 cookie.
11106
11107 * net/tramp-ftp.el:
11108 * net/tramp-sh.el:
11109 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11110 load "tramp.el" `tramp-set-completion-function'.
11111
e17d9003
SM
111122011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * shell.el: Require and use pcomplete.
11115 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11116 (shell-completion-vars): Set pcomplete-default-completion-function.
11117
6c4cab03
DD
111182011-06-04 Deniz Dogan <deniz@dogan.se>
11119
11120 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11121 `memq' (Bug#8799).
11122
ea9fafe0
SM
111232011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11126
b3e945d3
JB
111272011-06-02 Juanma Barranquero <lekktu@gmail.com>
11128
11129 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11130 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11131 * vc/log-view.el (log-view-beginning-of-defun):
11132 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11133 (smerge-refine-forward, smerge-refine-chopup-region):
11134 Silence warning for unused `dotimes' counter variables.
11135
7d520089
SM
111362011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11137
11138 * net/tramp.el (tramp-with-progress-reporter): Rename from
11139 with-progress-reporter. Use `declare'.
11140 * net/tramp-smb.el:
11141 * net/tramp-sh.el:
11142 * net/tramp-gvfs.el: Update all uses.
11143
a1c2400f
JB
111442011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11145
11146 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11147 buffer isn't killed before making it current.
11148
2403c841
SM
111492011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 Silence various byte-compiler warnings.
11152 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11153 `access-type' and new obsolescence format.
11154 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11155 new format.
11156 (byte-compile-check-variable): New `access-type' argument.
11157 Only warn if the access-type is obsolete.
11158 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11159 (byte-compile-variable-set): Adjust callers.
11160 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11161 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11162 setting it as obsolete.
11163 * simple.el (minibuffer-completing-symbol):
11164 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11165 access as obsolete.
11166 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11167 obsolete yet.
11168 * international/quail.el (quail-mouse-choose-completion): Remove unused
11169 code referring to obsolete var.
11170 (quail-choose-completion-string): Remove.
11171 * server.el (server-clients-with, server-kill-buffer-query-function)
11172 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11173 * proced.el (proced-send-signal):
11174 * emacs-lisp/lisp.el (lisp-complete-symbol):
11175 Replace completion-annotate-function with completion-extra-properties.
11176
2462470b
SM
111772011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11178
fb5b2591
SM
11179 * simple.el (goto-line): Use read-number.
11180 (overriding-map-is-bound): Remove.
11181 (saved-overriding-map): Change default.
11182 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11183 Take the map as argument.
11184 (universal-argument, negative-argument, digit-argument): Use it.
11185 (restore-overriding-map): Adjust.
11186 (do-auto-fill): Use fill-forward-paragraph.
11187 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11188
fd6fa53f
SM
11189 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11190 (minibuffer-inactive-mode): New major mode.
11191 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11192 the *Messages* buffer" hack.
11193 (mouse-popup-menubar): Don't burp if the event is a normal key.
11194
2462470b
SM
11195 Miscellaneous tweaks.
11196 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11197 lexical scoping as in subr.el's dolist and dotimes.
11198 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11199 Silence compiler warning.
11200 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11201 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11202 * international/ccl.el (ccl-compile): Trivial simplification.
11203 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11204 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11205 `printflag' argument.
11206 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11207 Purecopy the whole obsolescence data.
11208
108bf785
LL
112092011-06-01 Leo Liu <sdl.web@gmail.com>
11210
11211 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11212 improve doc-string as suggested by Marco Pessotto
11213 <melmothx@gmail.com>.
11214 (rcirc-print): Fix last change.
11215
30a23501
SM
112162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * minibuffer.el (complete-with-action): Return nil for the metadata and
11219 boundaries of non-functional tables.
11220 (completion-table-dynamic): Return nil for the metadata.
11221 (completion-table-with-terminator): Add default case, using
11222 complete-with-action.
11223 (completion--metadata): New function.
11224 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11225 to try and avoid pathological performance problems.
11226 (completion--embedded-envvar-table): Return `category' metadata.
11227
bcd54f83
LMI
112282011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229
11230 * subr.el (process-alive-p): New tiny convenience function.
11231
e227544d
SM
112322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11235 content but also its previous major mode.
11236
e8296fdc
HE
112372011-05-31 Helmut Eller <eller.helmut@gmail.com>
11238
4d61f28d 11239 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11240 *Backtrace* buffer when we exit with C-M-c.
11241
620c53a6
SM
112422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * minibuffer.el: Add metadata method to completion tables.
11245 (completion-category-overrides): New defcustom.
11246 (completion-metadata, completion--field-metadata)
11247 (completion-metadata-get, completion--styles)
11248 (completion--cycle-threshold): New functions.
11249 (completion-try-completion, completion-all-completions):
11250 Add `metadata' argument to choose completion-styles.
11251 (completion--do-completion): Use metadata to choose cycling.
11252 (completion-all-sorted-completions): Use metadata for sorting.
11253 Remove :completion-cycle-penalty which is not needed any more.
11254 (completion--try-word-completion): Add `metadata' argument.
11255 (minibuffer-completion-help): Check metadata for annotation function
11256 and sorting.
11257 (completion-file-name-table): Return `category' metadata.
11258 (minibuffer-completing-file-name): Make obsolete.
11259 * simple.el (minibuffer-completing-symbol): Make obsolete.
11260 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11261 completion-try-completion.
11262
1257e755
SM
112632011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11266
3767e706
LL
112672011-05-30 Leo Liu <sdl.web@gmail.com>
11268
11269 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11270 (rcirc-print): Decode all incoming messages (bug#8744).
11271 (rcirc-decode-coding-system): Allow value nil for automatic coding
11272 system detection.
3767e706 11273
d1a5d56a
GM
112742011-06-01 Glenn Morris <rgm@gnu.org>
11275
11276 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11277
e8cbec34
CY
112782011-05-29 Chong Yidong <cyd@stupidchicken.com>
11279
11280 * image.el (image-animate-max-time): Allow nil and t values.
11281 Default to nil.
11282 (create-animated-image): Doc fix.
11283 (image-animate-start): Remove second arg; just use
11284 image-animate-max-time.
11285 (image-animate-timeout): Doc fix. Args changed.
11286
11287 * image-mode.el (image-toggle-display-image): Ensure that the
11288 image spec passed to the animate timer is the same object as in
58179cce 11289 the buffer's display property (Bug#6981).
e8cbec34
CY
11290 (image-transform-properties): Doc fix.
11291
11292 * image.el (image-animate-max-time): Default to nil.
11293
159daf87
MR
112942011-05-29 Martin Rudalics <rudalics@gmx.at>
11295
11296 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11297 entire buffer list (Bug#8184).
11298
d66c4c7c
CY
112992011-05-29 Chong Yidong <cyd@stupidchicken.com>
11300
11301 * image.el (imagemagick-types-inhibit)
11302 (imagemagick-register-types): Doc fix.
11303
80aec780
DD
113042011-05-29 Deniz Dogan <deniz@dogan.se>
11305
11306 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11307 default.
11308
1dd3c2d9
CY
113092011-05-29 Chong Yidong <cyd@stupidchicken.com>
11310
11311 * select.el: Don't perform clipboard-manager saving in hooks;
11312 leave the hooks empty.
11313
60e56523
LL
113142011-05-28 Leo Liu <sdl.web@gmail.com>
11315
11316 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11317 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11318 (occur-edit-mode): New major mode (Bug#8463).
11319 (occur-after-change-function): New function.
11320 (occur-engine): Give Occur tags a read-only property.
11321
2b1e1a22
KR
113222011-05-28 Kevin Ryde <user42@zip.com.au>
11323
11324 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11325
5d344e88
CY
113262011-05-28 Chong Yidong <cyd@stupidchicken.com>
11327
8e6ca83d
CY
11328 * bindings.el (help-echo): Make the initial non-indicator dash
11329 empty on graphical terminals (Bug#7295).
11330
5d344e88
CY
11331 * files.el (auto-mode-alist): Move config rule after the
11332 in-stripping one (Bug#8547).
11333
bfbbace7
CY
11334 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11335
fbeba6e2
CY
11336 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11337 setting (Bug#8740).
11338
60ed8c72
AA
113392011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11340
4ac619f0
AA
11341 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11342 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11343 (Bug#8539).
60ed8c72 11344
23db196e
CY
113452011-05-28 Chong Yidong <cyd@stupidchicken.com>
11346
11347 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11348
5012f24c
DK
113492011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11350
11351 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11352 (hs-hide-block-at-point, hs-find-block-beginning)
11353 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11354 (Bug#8279).
11355
6a639b16
GM
113562011-05-28 Glenn Morris <rgm@gnu.org>
11357
11358 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11359
d43eaf2c
CY
113602011-05-28 Chong Yidong <cyd@stupidchicken.com>
11361
5199bde1
CY
11362 * help-fns.el (describe-function-1): If the function is a derived
11363 major mode, print the parent mode.
11364
d43eaf2c
CY
11365 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11366 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11367
423428a8
SM
113682011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11369
0ff8e1ba 11370 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11371 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11372 * progmodes/etags.el (tags-completion-at-point-function):
11373 * info-look.el (info-lookup-completions-at-point): Mark as
11374 non-exclusive.
11375 (info-complete): Adjust accordingly.
11376
423428a8
SM
11377 * info-look.el: Convert to lexical-binding and completion-at-point.
11378 (info-lookup-completions-at-point): New function.
11379 (info-complete): Use it and completion-in-region.
11380
b74aa22b
DA
113812011-05-28 Drew Adams <drew.adams@oracle.com>
11382
11383 * isearch.el: Let M-e start with point at the first mismatched char.
11384 (isearch-fail-pos): New function.
11385 (isearch-edit-string): Use it.
11386
66e2e71d
DK
113872011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11388
11389 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11390
b1890b0f 113912011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11392
11393 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11394 traversal functions for avl-trees.
11395 (avl-tree--stack): New struct.
11396 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11397 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11398 (avl-tree--do-enter): Add optional `updatefun' arg.
11399 Change return value.
eb95d01d 11400 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11401 (avl-tree--do-delete): Add `test' and `nilflag' args.
11402 Change return value.
eb95d01d
TC
11403 (avl-tree-member): Add optional `nilflag'
11404 (avl-tree-member-p): New function.
11405 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11406 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11407 (avl-tree-stack-empty-p): New functions.
11408
3769ddcf
TC
11409 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11410 avl-tree--del-balance1 and make it work both ways.
11411 (avl-tree--del-balance2): Remove.
11412 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11413 make it work both ways.
11414 (avl-tree--enter-balance2): Remove.
11415 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11416 New macros.
11417 (avl-tree--mapc, avl-tree-map): Add direction argument.
11418
eb95d01d 114192011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11420
11421 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11422
a9f737ee
CY
114232011-05-27 Chong Yidong <cyd@stupidchicken.com>
11424
11425 * select.el: Support clipboard managers with built-in function
11426 x-clipboard-manager-save, via delete-frame-functions and
11427 kill-emacs-hook.
11428 (xselect-convert-to-targets): Add MULTIPLE target to list.
11429 (xselect-convert-to-save-targets): New function.
11430
c92a1e54
KH
114312011-05-27 Kenichi Handa <handa@m17n.org>
11432
11433 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11434 let-binding rfc2047-encode-encoded-words to nil.
11435
e145f188
GM
114362011-05-27 Glenn Morris <rgm@gnu.org>
11437
5ec8a862
GM
11438 * mail/emacsbug.el: Don't require url-util.
11439
4b29d9fb
GM
11440 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11441
e145f188
GM
11442 * files.el (set-auto-mode):
11443 Also respect mode: entries at the end of the file. (Bug#8586)
11444
7d15102b
GM
114452011-05-26 Glenn Morris <rgm@gnu.org>
11446
98f593b8
GM
11447 * files.el (hack-local-variables-prop-line, hack-local-variables):
11448 Downcase mode names, as seems to be traditional.
27b48e63 11449 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11450
7d15102b
GM
11451 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11452 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11453
51d5b4ec
JD
114542011-05-25 Julien Danjou <julien@danjou.info>
11455
11456 * textmodes/rst.el (rst-define-level-faces): Do not define face
11457 symbol if it is already defined.
11458
91513f63
VB
114592011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11460
11461 * play/5x5.el (5x5-new-game, 5x5-randomize):
11462 Reset 5x5-solver-output to nil when a new grid is cast.
11463 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11464 these debugging traces, as defmacro breaks the compiled code.
11465
4d90d6d0
DK
114662011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11467
11468 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11469
e1b90ef6
LL
114702011-05-24 Leo Liu <sdl.web@gmail.com>
11471
11472 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11473 (vc-bzr-sha1): Adapt.
11474
d8e4b68b 11475 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11476
11477 * bindings.el: Provide sha1 feature.
11478
db0406bb 114792011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11480
11481 * mail/sendmail.el: Require `rfc2047'.
11482 (mail-insert-from-field): Do not perform RFC2047 encoding.
11483 (mail-encode-header): New function.
11484 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11485 buffer to the return value of select-message-coding-system.
11486 Call mail-encode-header.
b8d747b9
KH
11487
11488 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11489
db0406bb 114902011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11491
4d90d6d0
DK
11492 * mail/supercite.el (sc-default-cite-frame):
11493 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11494
eb8a5e9b
GM
114952011-05-24 Glenn Morris <rgm@gnu.org>
11496
f8630703
GM
11497 * progmodes/python.el (brm-menu): Declare.
11498
8831bbed
GM
11499 * emulation/viper.el (viper-set-hooks): Declare.
11500
eb8a5e9b
GM
11501 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11502 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11503 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11504 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11505 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11506 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11507
a2a25d24
SM
115082011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 Add an :exit-function for completion-at-point.
11511
11512 * minibuffer.el (completion--done): New fun.
11513 (completion--do-completion): Use it. New arg `expect-exact'.
11514 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11515 since completion--do-completion does it for us now.
11516 (minibuffer-force-complete): Use completion--done and
11517 completion--replace. Handle sole-completion case with more care.
11518 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11519 (completion-extra-properties): New var.
11520 (completion-annotate-function): Make obsolete.
11521 (minibuffer-completion-help): Adjust accordingly.
11522 Use completion-list-insert-choice-function.
11523 (completion-at-point, completion-help-at-point):
11524 Bind completion-extra-properties.
11525 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11526 * simple.el (completion-list-insert-choice-function): New var.
11527 (completion-setup-function): Preserve it.
11528 (choose-completion): Pay attention to it, shuffle the code a bit.
11529 (choose-completion-string): New arg `insert-function'.
11530
11531 * textmodes/bibtex.el: Convert to lexical binding.
11532 (bibtex-mode-map): Use completion-at-point.
11533 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11534 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11535 (bibtex-complete): Define as obsolete alias.
11536 (bibtex-complete-internal): Remove.
11537 (bibtex-format-entry): Remove unused sub-group in regexp.
11538 * shell.el (shell--command-completion-data)
11539 (shell-environment-variable-completion):
11540 * pcomplete.el (pcomplete-completions-at-point):
11541 * comint.el (comint--complete-file-name-data): Use :exit-function
11542 instead of completion-table-with-terminator so it also works for
11543 choose-completion.
11544
e44e373d
SM
115452011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11546
4f91a816
SM
11547 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11548
782fc819
SM
11549 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11550 (bug#8710).
11551
e44e373d
SM
11552 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11553
381987c3
KM
115542011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11555
11556 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11557 customization variable and implement: If non-nil, auto-fill will
11558 be inhibited while on topic's header line.
11559
b776bc70
VB
115602011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11561
11562 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11563 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11564 always have a solution in grid size = 5 cases.
11565 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11566 (5x5-solver-output, 5x5-log-buffer): New vars.
11567 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11568 Make these variables buffer local to achieve 5x5 multi-session-ness.
11569 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11570 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11571 (5x5-solve-suggest): New funs.
11572 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11573 randomize a grid so that we ensure that there is always a solution.
11574 (5x5-make-random-grid): Allow other movement than flipping.
11575
7de88b6e
KR
115762011-05-23 Kevin Ryde <user42@zip.com.au>
11577
11578 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11579 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11580 advice and passes PREDICATE.
11581
b1ef1257
SM
115822011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11583
bbca48fe
SM
11584 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11585 byte-compile-lambda if it's actually a lambda.
11586
b1ef1257
SM
11587 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11588 Fix function quoting. Use backquote better.
11589
92a9cc65
YS
115902011-05-22 Yuanle Song <sylecn@gmail.com>
11591
11592 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11593 matching (Bug#8516).
11594
f0fb8059
JA
115952011-01-22 Jari Aalto <jari.aalto@cante.net>
11596
11597 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11598 different face (Bug#8178).
11599
d5b44c93
CY
116002011-05-22 Chong Yidong <cyd@stupidchicken.com>
11601
11602 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11603 defface (Bug#8144).
11604
79106a44
SM
116052011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11606
9c848d8a
SM
11607 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11608 funcall as well (bug#8712). Warn when performing those conversions.
11609 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11610
79106a44
SM
11611 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11612
88dfa756
GM
116132011-05-22 Glenn Morris <rgm@gnu.org>
11614
11615 * files.el (hack-local-variables-prop-line): Small simplifications.
11616 (hack-local-variables, hack-local-variables-prop-line):
11617 If MODE-ONLY, return the mode, rather than just `t'.
11618
b7cf2c79
SM
116192011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11622
3f1a8558
GM
116232011-05-21 Glenn Morris <rgm@gnu.org>
11624
7e4ccca3
GM
11625 * files.el (hack-local-variables-prop-line, hack-local-variables):
11626 If only interested in the mode, don't bother doing the other stuff.
11627
637d46ca
GM
11628 * image-mode.el (image-after-revert-hook):
11629 Redraw all frames on which the image is visible. (Bug#8567)
11630
973d955b
GM
11631 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11632
3f1a8558
GM
11633 * wid-edit.el (widget-checklist-match-inline):
11634 Fix 2011-04-19 change. (Bug#8649)
11635
96479927
SM
116362011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11637
1dcf791f
SM
11638 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11639 Also allow singlespace after single-letter capitals followed by a dot.
11640
96479927
SM
11641 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11642 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11643
35fd0881
N
116442011-05-20 Nix <nix@esperi.org.uk>
11645
11646 * files.el (basic-save-buffer-2):
11647 Fix handling of break-hardlink-on-save with non-existent files.
11648
82745640
DD
116492011-05-19 Deniz Dogan <deniz@dogan.se>
11650
11651 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11652 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11653
4a720484
GM
116542011-05-19 Glenn Morris <rgm@gnu.org>
11655
d1f21341
GM
11656 * progmodes/f90.el (f90-type-def-re):
11657 Handle "type, bind(c)". (Bug#8691)
11658
4a720484
GM
11659 * emacs-lisp/autoload.el (batch-update-autoloads):
11660 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11661
2fb0a219
MA
116622011-05-18 Michael Albinus <michael.albinus@gmx.de>
11663
11664 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11665 property for the correct connection in case of multihops.
11666
e565dd37
GM
116672011-05-18 Glenn Morris <rgm@gnu.org>
11668
c2571358 11669 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11670 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11671
e565dd37
GM
11672 Rationalize calendar handling of day and month abbrev-arrays.
11673 * calendar/calendar.el (calendar-customized-p): New function.
11674 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11675 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11676 Add :set function.
11677 (calendar-abbrev-length, calendar-day-abbrev-array)
11678 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11679 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11680 Elements may no longer be nil.
11681 (calendar-day-name, calendar-month-name):
11682 Update for changed nature of abbrev arrays.
11683 * calendar/diary-lib.el (diary-name-pattern):
11684 Update for changed nature of abbrev arrays.
11685 (diary-mark-entries-1): Update calendar-make-alist calls.
11686 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11687 * calendar/cal-html.el (cal-html-day-abbrev-array):
11688 Simply inherit from calendar-day-abbrev-array.
11689
1d99a745
SM
116902011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11691
11692 * progmodes/grep.el (grep-mode): Disable default
11693 compilation-directory-matcher setting (bug#8684).
11694
7c1d9aa0
MA
116952011-05-17 Michael Albinus <michael.albinus@gmx.de>
11696
11697 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11698 instead of "head" and "tail". There were problems with SunOS 5.9,
11699 and it performs better.
11700
3952e9d8
GM
117012011-05-17 Glenn Morris <rgm@gnu.org>
11702
2dd12e7f
GM
11703 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11704
e4157b9c
GM
11705 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11706 Replace obsolete function.
11707
8e249bbd
GM
11708 * shell.el (pcomplete-parse-arguments-function): Declare.
11709
3952e9d8
GM
11710 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11711 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11712 (appt-check): Doc fixes.
11713 (appt-disp-window-function, appt-delete-window-function):
11714 Remove needless special case in custom :type.
11715 (appt-display-count): Default to 0, not nil.
11716 (appt-check): Reset appt-display-count to 0, not nil.
11717
c71a0d48 117182011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11719
c71a0d48
GM
11720 * progmodes/python.el (python-font-lock-keywords):
11721 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11722
31d55be9
SM
117232011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11726
3bfacb2f
KR
117272011-05-16 Kevin Ryde <user42@zip.com.au>
11728
11729 * info-look.el (makefile-automake-mode): New setups, looking in
11730 automake manual, then makefile-mode.
11731 (makefile-mode): Remove automake manual, have it just in
11732 makefile-automake-mode since there's various things different or
11733 not relevant to plain make.
11734 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11735 believe a hypothetical automake-mode would go to makefile-mode,
11736 not the other way around.
11737
c8e83751
CY
117382011-05-15 Chong Yidong <cyd@stupidchicken.com>
11739
5e9e35cd
CY
11740 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11741 hunk-end tags (Bug#8672).
11742
c8e83751
CY
11743 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11744 vc-annotate-show-diff-revision-at-line (Bug#8671).
11745
50b23e5a
GM
117462011-05-14 Glenn Morris <rgm@gnu.org>
11747
7210a739
GM
11748 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11749 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11750 (change-log-font-lock-keywords): Also handle multiple author lines
11751 with leading tabs. (Bug#8644)
7210a739 11752
4691905a
GM
11753 * calendar/appt.el (appt-check): Rename some local variables.
11754 Some simplification/reordering.
11755
50b23e5a
GM
11756 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11757 (feedmail-sendmail-f-doesnt-sell-me-out)
11758 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11759 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11760 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11761 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11762 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11763 (feedmail-binmail-gnulinuxish-template):
11764 Rename from feedmail-binmail-linuxish-template.
11765 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11766 Use insert-buffer-substring.
11767
215cda7c
BC
117682011-05-14 Bill Carpenter <bill@carpenter.org>
11769
11770 * mail/feedmail.el (feedmail-patch-level): Increase.
11771 (feedmail-debug): New custom group.
11772 (feedmail-confirm-outgoing-timeout)
11773 (feedmail-sendmail-f-doesnt-sell-me-out)
11774 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11775 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11776 (feedmail-sender-line, feedmail-from-line)
11777 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11778 (feedmail-spray-this-address)
215cda7c
BC
11779 (feedmail-spray-address-fiddle-plex-list)
11780 (feedmail-queue-use-send-time-for-date)
11781 (feedmail-queue-use-send-time-for-message-id)
11782 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11783 (feedmail-buffer-eating-function):
11784 Doc fixes.
11785 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11786 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11787 (feedmail-message-action-scroll-down): New functions.
11788 (feedmail-queue-directory, feedmail-queue-draft-directory):
11789 Use expand-file-name.
11790 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11791 Remove C-v help entry.
11792 (feedmail-queue-buffer-file-name): New variable.
11793 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11794 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11795 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11796 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11797 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11798 (feedmail-message-action-toggle-spray)
11799 (feedmail-run-the-queue-no-prompts)
11800 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11801 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11802 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11803 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11804 (feedmail-envelope-deducer, feedmail-fiddle-from)
11805 (feedmail-fiddle-sender, feedmail-default-date-generator)
11806 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11807 (feedmail-fiddle-spray-address)
11808 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11809 (feedmail-fiddle-list-of-fiddle-plexes)
11810 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11811 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11812 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11813 Change default. Doc fix.
11814 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11815 (feedmail-binmail-linuxish-template): New constant.
11816 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11817 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11818 (feedmail-send-it): Add debug call.
11819 Use feedmail-queue-buffer-file-name, and
11820 feedmail-send-it-immediately-wrapper.
11821 (feedmail-message-action-send): Add debug call.
11822 Use feedmail-send-it-immediately-wrapper.
11823 (feedmail-queue-express-to-queue): Add debug call.
11824 Run feedmail-queue-express-hook.
11825 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11826 (feedmail-message-action-help-blat):
11827 Rename from feedmail-queue-send-edit-prompt-help-first.
11828 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11829 Check line-endings. Handle errors better.
11830 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11831 Doc fix. Add debug call.
11832 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11833 Use feedmail-queue-send-edit-prompt-inner.
11834 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11835 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11836 from feedmail-queue-send-edit-prompt.
11837 (feedmail-queue-send-edit-prompt-help)
11838 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11839 (feedmail-tidy-up-slug): Add debug call.
11840 Respect feedmail-queue-slug-suspect-regexp.
11841 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11842 (feedmail-dump-message-to-queue): Add debug call.
11843 Expand queue-directory.
11844 (feedmail-dump-message-to-queue): Change message slightly.
11845 Use feedmail-say-chatter.
11846 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11847 (feedmail-send-it-immediately-wrapper): New function.
11848 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11849 Insert empty string rather than newline. Handle full-frame case.
11850 Use catch/throw. Use feedmail-say-chatter.
11851 (feedmail-fiddle-from): Try mail-host-address.
11852 (feedmail-default-message-id-generator): Doc fix.
11853 Bind system-time-locale. Handle missing end.
11854 (feedmail-fiddle-x-mailer): Add debug call.
11855 Handle feedmail-x-mailer-line being nil.
11856 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11857 Add debug call. Use buffer-substring-no-properties.
11858 (feedmail-say-debug, feedmail-say-chatter): New functions.
11859 (feedmail-find-eoh): Give an explicit error.
11860
42c7e61e
UJ
118612011-05-13 Ulf Jasper <ulf.jasper@web.de>
11862
c2571358 11863 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11864 family from helvetica to sans.
c2571358 11865 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11866 etc/images/newsticker.
11867
c2571358 11868 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11869 family from helvetica to sans.
11870
11871 * net/newst-plainview.el (newsticker-new-item-face)
11872 (newsticker-old-item-face, newsticker-immortal-item-face)
11873 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11874 (newsticker-statistics-face): Change default family from
42c7e61e 11875 helvetica to sans.
c2571358 11876 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11877 etc/images/newsticker.
11878
5d3385a0
JB
11879 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11880 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11881 auto-marking.
11882
8497a297
DV
118832011-05-13 Didier Verna <didier@xemacs.org>
11884
11885 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11886 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11887 TODO entries.
8497a297
DV
11888 (lisp-lambda-list-keyword-parameter-indentation)
11889 (lisp-lambda-list-keyword-parameter-alignment)
11890 (lisp-lambda-list-keyword-alignment): New customizable user options.
11891 (lisp-indent-defun-method): Improve docstring.
11892 (extended-loop-p): Fix comment.
11893 (lisp-indent-lambda-list-keywords-regexp): New variable.
11894 (lisp-indent-lambda-list): New function.
11895 (lisp-indent-259): Use it.
11896 (lisp-indent-defmethod): Support for more than one
11897 method qualifier and properly indent methods lambda-lists.
11898 (defgeneric): Provide a missing common-lisp-indent-function property.
11899
f278f87f
SM
119002011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11903 bounds for the empty string (bug#8667).
11904
5233edd7
GM
119052011-05-13 Glenn Morris <rgm@gnu.org>
11906
5237a44f
GM
11907 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11908
8340026c 11909 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11910 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11911
5233edd7 11912 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11913 (appt-time-msg-list): Doc fix.
a5464014 11914 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11915
92d10796
AS
119162011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11917
11918 * progmodes/ld-script.el (ld-script-keywords)
11919 (ld-script-builtins): Update keywords list.
11920
914a0ae1
SM
119212011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11922
c89be45f
SM
11923 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11924
914a0ae1
SM
11925 * shell.el (shell-completion-vars): New function.
11926 (shell-mode):
11927 * simple.el (read-shell-command): Use it.
11928 (blink-matching-open): No need for " [...]" in minibuffer-message.
11929
98dc3df3
GM
119302011-05-12 Glenn Morris <rgm@gnu.org>
11931
11932 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11933 (appt-check): Simplify.
11934
d2fc7e3d 119352011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11936
4d61f28d 11937 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11938 literal "/dev/null".
11939
d2fc7e3d 119402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11941
11942 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11943 Fix typo.
11944
d2fc7e3d 119452011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11946
3f254caa
SM
11947 * progmodes/which-func.el (which-function):
11948 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11949 which might not be defined (Bug#8260).
11950
d45885f7
GM
119512011-05-12 Glenn Morris <rgm@gnu.org>
11952
11953 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11954 Let byte-compile-initial-macro-environment always take precedence.
11955
488086f4
SM
119562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * net/rcirc.el: Add support for SSL/TLS connections.
11959 (rcirc-server-alist): New field `encryption'.
11960 (rcirc): Check `encryption' settings.
11961 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11962 Merge make-local-variable into `set'.
11963 (rcirc--connection-open-p): New function.
11964 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11965 the process is not a network process (e.g. running gnutls-cli).
11966 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11967 Make rcirc-(en|de)code-coding-system local here.
11968 (rcirc-mode): Merge make-local-variable into `set'.
11969 (rcirc-parent-buffer): Make permanent buffer-local.
11970 (rcirc-multiline-minor-mode): Don't do it here.
11971 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11972 there's no server buffer.
11973
7d3b9d44
GM
119742011-05-11 Glenn Morris <rgm@gnu.org>
11975
f64049c6
GM
11976 * newcomment.el (comment-kill): Prefix "unused" local.
11977
93c9df73
GM
11978 * term/w32console.el (get-screen-color): Declare.
11979
7d3b9d44
GM
11980 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11981 Handle symbol elements of byte-compile-initial-macro-environment.
11982
9e2dd53f
LL
119832011-05-10 Leo Liu <sdl.web@gmail.com>
11984
488086f4
SM
11985 * bookmark.el (bookmark-bmenu-mode-map):
11986 Bind bookmark-bmenu-search to `/'.
8b340240 11987
9e2dd53f 11988 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11989 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11990 (Footnote-unicode): New function.
11991 (footnote-style-alist): Add unicode style to the list.
11992 (footnote-style): Doc fix.
9e2dd53f 11993
79b70037
GM
119942011-05-10 Jim Meyering <meyering@redhat.com>
11995
11996 Fix doubled-word typos.
11997 * international/quail.el (quail-insert-kbd-layout): and and -> and
11998 * kermit.el: and and -> and
11999 * net/ldap.el (ldap-search-internal): to to -> to
12000 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12001 * progmodes/js.el (js-mode): and and -> and
12002 * textmodes/artist.el (artist-move-to-xy): at at -> at
12003 (artist-draw-region-trim-line-endings): if if -> if
12004 And Safetyc -> Safety.
12005 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12006
b8f82dc1 120072011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12008 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12009
12010 * files.el (hack-one-local-variable-eval-safep):
12011 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12012
4f99f44b
GM
120132011-05-10 Glenn Morris <rgm@gnu.org>
12014
12015 * calendar/diary-lib.el (diary-list-entries-hook)
12016 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12017 (diary-nongregorian-marking-hook, diary-list-entries)
12018 (diary-include-other-diary-files, diary-mark-entries)
12019 (diary-mark-included-diary-files): Doc fixes.
12020
84f29e6b
JB
120212011-05-09 Juanma Barranquero <lekktu@gmail.com>
12022
12023 * misc.el: Require tabulated-list.el during compilation.
12024
9bedd73a
CY
120252011-05-09 Chong Yidong <cyd@stupidchicken.com>
12026
488086f4
SM
12027 * progmodes/compile.el (compilation-start):
12028 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12029 (compilation-filter-hook): Doc fix.
12030
797c735c
DD
120312011-05-09 Deniz Dogan <deniz@dogan.se>
12032
12033 * wdired.el: Remove outdated installation comment. Fix usage
12034 comment.
12035
5f4b1dfe
JB
120362011-05-09 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * misc.el: Implement new command `list-dynamic-libraries'.
12039 (list-dynamic-libraries--loaded-only-p): New variable.
12040 (list-dynamic-libraries--refresh): New function.
12041 (list-dynamic-libraries): New command.
12042
4c44026c
CY
120432011-05-09 Chong Yidong <cyd@stupidchicken.com>
12044
488086f4
SM
12045 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12046 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12047 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12048 higher priority to avoid clobbering by gnu.
12049
027f966d
CY
120502011-05-08 Chong Yidong <cyd@stupidchicken.com>
12051
12052 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12053 if the face has existing theme settings (Bug#8454).
12054
085f5d7d
CY
120552011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12056
488086f4
SM
12057 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12058 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12059
2a86a00c
RS
12060 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12061 special file names `.' and `..' (Bug#8259).
12062
d9c54a06
CY
120632011-05-08 Chong Yidong <cyd@stupidchicken.com>
12064
488086f4
SM
12065 * progmodes/grep.el (grep-mode-font-lock-keywords):
12066 Remove buffer-changing entries.
d9c54a06
CY
12067 (grep-filter): New function.
12068 (grep-mode): Add it to compilation-filter-hook.
12069
12070 * progmodes/compile.el (compilation-filter-hook)
12071 (compilation-filter-start): New defvars.
12072 (compilation-filter): Call compilation-filter-hook prior to
12073 updating the process mark.
12074
c4662635
SM
120752011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12078
b0512a1d
EZ
120792011-05-07 Eli Zaretskii <eliz@gnu.org>
12080
605c9376
EZ
12081 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12082 mailclient-send-it even if window-system is nil. (Bug#8595)
12083
c4662635
SM
12084 * term/w32console.el (terminal-init-w32console):
12085 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12086 background-mode. (Bug#8597)
12087
d1dc2cc2
SM
120882011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12091 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12092 New functions.
12093 (defgeneric, eieio--defmethod): Use them.
12094 (eieio-defgeneric): Remove.
12095 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12096
915d1300
GM
120972011-05-07 Glenn Morris <rgm@gnu.org>
12098
a3961c3e
GM
12099 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12100 Use let rather than let*.
12101 (timeclock-find-discrep): Remove unused local.
12102
314347b9
GM
12103 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12104
915d1300
GM
12105 * calendar/appt.el (appt-time-msg-list): Doc fix.
12106
275b59b0
NF
121072011-05-06 Noah Friedman <friedman@splode.com>
12108
12109 * apropos.el (apropos-print-doc): Only use
12110 emacs-lisp-docstring-fill-column when it is bound to an integer,
12111 per that variable's documentation.
12112
6c19f744
SM
121132011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12116 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12117
60f884b2
GM
121182011-05-06 Glenn Morris <rgm@gnu.org>
12119
5006e634
GM
12120 * calendar/appt.el (appt-message-warning-time): Doc fix.
12121 (appt-warning-time-regexp): New option.
12122 (appt-make-list): Respect appt-message-warning-time.
12123
548d0a63
GM
12124 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12125 New options.
12126 (diary-add-to-list): Strip comments from the displayed string.
12127 (diary-mode): Set comment-start and comment-end.
12128
60f884b2
GM
12129 * vc/diff-mode.el (smerge-refine-subst): Declare.
12130 (diff-refine-hunk): Don't require smerge-mode when compiling.
12131
989681bb
JB
121322011-05-06 Juanma Barranquero <lekktu@gmail.com>
12133
12134 * simple.el (list-processes): Return nil as the docstring says.
12135
a6bc05e1
MA
121362011-05-05 Michael Albinus <michael.albinus@gmx.de>
12137
12138 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12139 to "".
12140 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12141 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12142 determining of binary transfer. (Bug#7383)
12143
23c22e9a
MA
121442011-05-05 Michael Albinus <michael.albinus@gmx.de>
12145
c4662635
SM
12146 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12147 Fix port computation bug. (Bug#8618)
23c22e9a 12148
0bff894f
GM
121492011-05-05 Glenn Morris <rgm@gnu.org>
12150
b8296902
GM
12151 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12152
1f522ce8
GM
12153 * simple.el (shell-dynamic-complete-functions)
12154 (comint-dynamic-complete-functions): Declare.
12155
cf5bee67
GM
12156 * net/network-stream.el (gnutls-negotiate):
12157 * simple.el (tabulated-list-print): Fix declarations.
12158
12159 * progmodes/gud.el (syntax-symbol, syntax-point):
12160 Remove unnecessary and incorrect declarations.
12161
0bff894f
GM
12162 * emacs-lisp/check-declare.el (check-declare-scan):
12163 Handle byte-compile-initial-macro-environment in bytecomp.el
12164
9869b3ae
SM
121652011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 Fix earlier half-done eieio-defmethod change (bug#8338).
12168 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12169 Streamline and change calling convention.
12170 (defmethod): Adjust accordingly and simplify.
12171 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12172 new eieio--defmethod.
12173 (slot-boundp): Minor CSE simplification.
12174
9c1d5ac5
MZ
121752011-05-05 Milan Zamazal <pdm@zamazal.org>
12176
12177 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12178 (glasses-make-readable): Use glasses-separate-capital-groups.
12179
455c834e
JB
121802011-05-05 Juanma Barranquero <lekktu@gmail.com>
12181
12182 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12183 (warning-series): Doc fix.
12184 (display-warning): Don't try to create the buffer if we just found it.
12185
9ed7c8cb
CY
121862011-05-04 Chong Yidong <cyd@stupidchicken.com>
12187
12188 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12189 (autoload-find-generated-file): New function.
12190 (generate-file-autoloads): Bind generated-autoload-file to
12191 buffer-file-name.
9869b3ae
SM
12192 (update-file-autoloads, update-directory-autoloads):
12193 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12194 output file (Bug#7989).
12195 (batch-update-autoloads): Doc fix.
12196
0898ca10
JB
121972011-05-04 Juanma Barranquero <lekktu@gmail.com>
12198
12199 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12200
31dfb76c
GM
122012011-05-04 Glenn Morris <rgm@gnu.org>
12202
f330b642
GM
12203 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12204 function, so it follows changes in calendar-date-style.
12205 (diary-fancy-date-matcher): New function.
12206 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12207 (diary-fancy-font-lock-fontify-region-function):
12208 Use diary-fancy-date-pattern as a function.
12209
31dfb76c
GM
12210 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12211 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12212
48e79d6a
TZ
122132011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12214
12215 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12216 instead of positional arguments. Allow :keylist and :crlfiles
12217 arguments.
12218 (open-gnutls-stream): Call it.
12219
12220 * net/network-stream.el (network-stream-open-starttls): Adjust to
12221 call `gnutls-negotiate' with :process and :hostname arguments.
12222
dd5a5ee0
SM
122232011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12224
ef80fc09
SM
12225 * minibuffer.el (completion--message): New function.
12226 (completion--do-completion, minibuffer-complete)
12227 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12228 (completion--do-completion): Don't ignore completion-auto-help when in
12229 icomplete-mode.
12230
dd5a5ee0
SM
12231 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12232 internal encoding (e.g. tibetan zero is not whitespace).
12233 (global-whitespace-mode): Prefer save-current-buffer.
12234 (whitespace-trailing-regexp): Remove useless save-match-data.
12235 (whitespace-empty-at-bob-regexp): Minor simplification.
12236
b7d22a83
CY
122372011-05-03 Chong Yidong <cyd@stupidchicken.com>
12238
12239 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12240
5192af46
AM
122412011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12242
12243 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12244 Use `concat' to create string for insertion.
5192af46 12245
5767d190
SM
122462011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12249 Avoid open-line which runs post-self-insert-hook.
12250 (bibtex-fill-entry): Remove unused `end' var.
12251
bf242939
AM
122522011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12253
5767d190
SM
12254 * textmodes/ispell.el (ispell-add-per-file-word-list):
12255 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12256
25666126
LL
122572011-05-03 Leo Liu <sdl.web@gmail.com>
12258
12259 * isearch.el (isearch-yank-pop): New command.
5767d190 12260 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12261 (isearch-forward): Mention it.
12262
52d3c2d0
SM
122632011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12264
1bcace58
SM
12265 * simple.el (minibuffer-complete-shell-command): Remove.
12266 (minibuffer-local-shell-command-map): Use completion-at-point.
12267 (read-shell-command): Setup completion vars here instead.
12268 (read-expression-map): Bind TAB to symbol completion.
12269
52d3c2d0
SM
12270 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12271 error directly rather via storing it into `results'.
12272
35813471
LL
122732011-05-02 Leo Liu <sdl.web@gmail.com>
12274
12275 * vc/diff.el: Fix description.
12276
e793a940
LMI
122772011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12278
12279 * server.el (server-eval-at): New function.
12280
8de66e05
LMI
122812011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12282
12283 * net/network-stream.el (open-network-stream): Take a :nowait
12284 parameter and pass it on to `make-network-process'.
12285 (network-stream-open-plain): Ditto.
12286
dcb79f20
AS
122872011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12288
12289 * faces.el (face-spec-set-match-display): Don't match toolkit
12290 options on terminal frames.
12291
14a7fbd8
SM
122922011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12293
7eabc1be
SM
12294 * progmodes/pascal.el: Use lexical binding.
12295 (pascal-mode-map): Remove author preferences.
12296
14a7fbd8
SM
12297 * pcomplete.el (pcomplete-std-complete): Don't abuse
12298 completion-at-point.
12299
50f84510
JB
123002011-04-28 Juanma Barranquero <lekktu@gmail.com>
12301
6e087a44
JB
12302 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12303 removing code that has been dead since 1991 or so.
12304
50f84510
JB
12305 * startup.el (command-line): When warning about "_emacs", use a
12306 delayed warning to allow the user to filter it out.
12307
0ba690bd
DD
123082011-04-28 Deniz Dogan <deniz@dogan.se>
12309
12310 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12311 user has not joined.
12312
08abfaad
SM
123132011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12316 aren't any completions at point.
12317
638f053a
JB
123182011-04-28 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * subr.el (display-delayed-warnings): New function.
12321 (delayed-warnings-hook): New variable.
12322
8fff8daa
SM
123232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12324
08abfaad
SM
12325 * minibuffer.el (completion-at-point, completion-help-at-point):
12326 Don't presume that a given completion-at-point-function will always
12327 use the same calling convention.
12328
8fff8daa
SM
12329 * pcomplete.el (pcomplete-completions-at-point):
12330 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12331 pcomplete-seen is non-nil.
12332 (pcomplete-comint-setup): Also recognize the new comint/shell
12333 completion functions.
12334 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12335 pcomplete-seen is non-nil.
12336
841a1577 123372011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12338
841a1577 12339 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12340 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12341 the first character in the entry. This allows for code to add its
211ec907
UJ
12342 own uid to the entry.
12343 (icalendar--convert-float-to-ical): Add export of
12344 `diary-float'-entries save for those with the optional DAY
12345 argument.
12346
2a782793
DC
123472011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12348
12349 * subr.el (shell-quote-argument): Use alternate escaping strategy
12350 when we spot a variable reference in a string.
12351
0438ce91
DC
123522011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12353
12354 * cus-start.el (all): Define customization for debug-on-event.
12355
841a1577 123562011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12357
12358 * subr.el (shell-quote-argument): Escape correctly under Windows.
12359
d090ed6c
SM
123602011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12361
12362 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12363
bfd31217
MA
123642011-04-25 Michael Albinus <michael.albinus@gmx.de>
12365
d090ed6c
SM
12366 * net/tramp.el (tramp-process-actions): Add POS argument.
12367 Delete region between POS and (pos).
bfd31217 12368
d090ed6c
SM
12369 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12370 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12371 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12372
12373 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12374 position in `tramp-process-actions' call.
12375
12376 * net/trampver.el: Update release number.
12377
e92f3bd3
SM
123782011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12379
850256b5
SM
12380 * custom.el (defcustom): Obey lexical-binding.
12381
e92f3bd3
SM
12382 Fix octave-inf completion problems reported by Alexander Klimov.
12383 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12384 Inherit from octave-mode-syntax-table.
12385 (inferior-octave-mode): Set info-lookup-mode.
12386 (inferior-octave-completion-at-point): New function.
12387 (inferior-octave-complete): Use it and completion-in-region.
12388 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12389 comint-filename-completion.
12390 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12391 symbol elements which shouldn't be word elements.
12392 (octave-font-lock-keywords, octave-beginning-of-defun)
12393 (octave-function-header-regexp): Adjust regexps accordingly.
12394 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12395
cd22b309
JB
123962011-04-25 Juanma Barranquero <lekktu@gmail.com>
12397
12398 * net/gnutls.el (gnutls-errorp): Declare before first use.
12399
8b492194
TZ
124002011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12401
12402 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12403 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12404 default trustfile exists before going to use it. Add missing
5a5fa834 12405 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12406 Reported by Claudio Bley <claudio.bley@gmail.com>.
12407 (open-gnutls-stream): Add usage example.
12408
12409 * net/network-stream.el (network-stream-open-starttls): Give host
12410 parameter to `gnutls-negotiate'.
12411 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12412 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12413
841a1577 124142011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12415
cd22b309
JB
12416 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12417 Use correct match group (bug#8438).
05842630 12418
3ba7869c
CY
124192011-04-24 Chong Yidong <cyd@stupidchicken.com>
12420
512e3ae1
CY
12421 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12422 (package-menu--generate): New arg specifying packages to show.
12423 (package-menu-refresh, package-menu-execute, list-packages):
12424 Callers changed.
12425 (package-show-package-list): New function, replacing deleted
12426 package--list-packages (renamed because it is non-internal).
12427
12428 * finder.el (finder-list-matches): Use package-show-package-list
12429 instead of deleted package--list-packages.
12430
e92f3bd3
SM
12431 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12432 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12433 (vc-annotate-mode-map): Bind it to RET.
12434
7031be6d
UR
124352011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12436
12437 * progmodes/etags.el (next-file): Don't use set-buffer to change
12438 buffers (Bug#8478).
12439
4ef177aa
CY
124402011-04-24 Chong Yidong <cyd@stupidchicken.com>
12441
c8d173eb
CY
12442 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12443
4ef177aa
CY
12444 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12445 (apropos-accumulator): Doc fix.
12446 (apropos-function, apropos-macro, apropos-command)
12447 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12448 (apropos-plist): Add face property.
12449 (apropos-symbols-internal): Fix indentation.
12450 (apropos-print): Simplify help, and recognize apropos-multi-type.
12451 (apropos-print-doc): Use button-type-get to extract the button's
12452 face property. Fill docstring (Bug#8352).
12453
4ffd0d6b 124542011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12455
12456 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12457
c6c32125 12458 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12459 (mpuz-mode-map): Use mapc.
c6c32125
JB
12460 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12461 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12462 Fix typos in docstrings.
12463
58d468b4
JB
12464 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12465 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12466
6470c3c6
JB
12467 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12468
4ffd0d6b 124692011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12470
12471 * minibuffer.el (completion--do-completion): Avoid the "Next char
12472 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12473
3ad8bad0
CY
12474 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12475 mouse-2 into unread-command-events, it is interpreted correctly.
12476
71d73c9c 12477 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12478 (image-toggle-display): Doc fix.
71d73c9c 12479
841a1577 124802011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12481
4ffd0d6b
GM
12482 * textmodes/page.el (what-page): Use line-number-at-pos to
12483 calculate line number (Bug#6825).
6e1dbaa9 12484
c2fb1b60
JB
124852011-04-22 Juanma Barranquero <lekktu@gmail.com>
12486
12487 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12488 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12489 Pass argument NO-DEFAULT to `find-tag-interactive'.
12490
e02f48d7
JB
124912011-04-22 Juanma Barranquero <lekktu@gmail.com>
12492
12493 Lexical-binding cleanup.
12494
12495 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12496 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12497 * progmodes/ada-prj.el (ada-prj-initialize-values)
12498 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12499 (ada-prj-show-value):
12500 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12501 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12502 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12503 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12504 * progmodes/bug-reference.el (bug-reference-push-button):
12505 * progmodes/fortran.el (fortran-line-length):
12506 * progmodes/glasses.el (glasses-change):
12507 * progmodes/octave-mod.el (octave-fill-paragraph):
12508 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12509 (python-pdbtrack-grub-for-buffer, python-sentinel):
12510 * progmodes/sql.el (sql-save-connection):
12511 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12512 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12513 Mark unused parameters.
12514
12515 * progmodes/compile.el (compilation--flush-directory-cache)
12516 (compilation--flush-parse, compile-internal): Mark unused parameters.
12517 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12518 (compilation-next-error-function): Remove unused variable `timestamp'.
12519
12520 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12521 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12522
12523 * progmodes/dcl-mode.el (dcl-end-of-command):
12524 Remove unused variable `start'.
12525 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12526 (dcl-option-value-basic, dcl-option-value-offset)
12527 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12528 Mark unused parameters.
12529 (dcl-save-local-variable): Remove unused variable `val'.
12530 (mode): Declare.
12531
12532 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12533 Mark unused parameters.
12534 (delphi-ignore-changes): Move before first use.
12535 (delphi-charset-token-at): Remove unused variable `start'.
12536 (delphi-else-start): Remove unused variable `if-count'.
12537 (delphi-comment-block-start, delphi-comment-block-end):
12538 Remove unused variable `kind'.
12539 (delphi-indent-line): Remove unused variable `new-point'.
12540
12541 * progmodes/ebrowse.el (ebrowse-files-list)
12542 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12543 Mark unused parameters. Don't quote `lambda'.
12544 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12545 Don't quote `lambda'.
12546 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12547 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12548 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12549 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12550 Use `ignore-errors'.
12551 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12552 (ebrowse-view/find-file-and-search-pattern)
12553 (ebrowse-view/find-member-declaration/definition):
12554 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12555 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12556 Rename parameter PREFIX-ARG to PREFIX.
12557 (ebrowse-tags-read-name): Remove unused variables `start' and
12558 `member-info'.
12559 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12560 to `tags-file'.
12561
12562 * progmodes/etags.el (local-find-tag-hook): Declare.
12563 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12564 Mark unused parameters.
12565
12566 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12567 (executable-interpret): Mark unused parameter.
12568
12569 * progmodes/flymake.el (flymake-process-sentinel)
12570 (flymake-after-change-function)
12571 (flymake-create-temp-with-folder-structure)
12572 (flymake-get-include-dirs-dot): Mark unused parameters.
12573 (flymake-safe-delete-directory): Remove unused variable `err'.
12574
12575 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12576 (speedbar-timer-fn, speedbar-line-text)
12577 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12578 (speedbar-center-buffer-smartly): Declare functions.
12579 (gdb-find-watch-expression): Remove unused variable `array'.
12580 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12581 (gdb-starting): Mark unused parameters.
12582 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12583 (gdb-table-string): Remove unused variable `res'.
12584 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12585 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12586 (gdb-display-buffer): Remove unused variable `cur-size'.
12587
12588 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12589 allow lexical-binding compilation.
12590 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12591 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12592 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12593 Mark unused parameters.
12594 (gud-gdb-marker-filter): Remove unused variable `match'.
12595 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12596 lambda expressions and funcall them, instead of using `fset'.
12597
12598 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12599 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12600
12601 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12602 variable `header-beg'; use `let'.
12603
12604 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12605 `restart', `last-sexp' and `at-do'.
12606
12607 * progmodes/js.el (js--debug): Mark unused parameter.
12608 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12609 (js--splice-into-items): Remove unused variable `item'.
12610 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12611
12612 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12613 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12614 (makefile-complete): Remove unused variable `try'.
12615 (makefile-fill-paragraph, makefile-match-function-end):
12616 Mark unused parameters.
12617
12618 * progmodes/octave-inf.el (inferior-octave-complete):
12619 Remove unused variable `proc'.
12620 (inferior-octave-output-digest): Mark unused parameter.
12621
12622 * progmodes/perl-mode.el (perl-calculate-indent):
12623 Remove unused variable `err'.
12624
12625 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12626 (prolog-indent-line): Mark unused parameters.
12627 (prolog-indent-line): Remove unused variable `beg'.
12628
12629 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12630 (reporter-dont-compact-list): Declare.
12631
12632 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12633 Remove unused variable `char'.
12634 (sh-debug): Mark unused parameter.
12635 (sh-get-indent-info): Remove unused variable `start'.
12636 (sh-calculate-indent): Remove unused variable `var'.
12637
12638 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12639 (simula-electric-keyword): Remove unused variable `null'.
12640 (simula-search-backward, simula-search-forward): Remove unused
12641 variables `begin' and `end'.
12642
12643 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12644 Remove unused variable `pos'.
12645 (vera-electric-tab, vera-comment-uncomment-region):
12646 Mark unused parameters.
12647 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12648
7ede3b65
CY
126492011-04-22 Chong Yidong <cyd@stupidchicken.com>
12650
12651 * emacs-lisp/package.el (package--builtins, package-alist)
12652 (package-load-descriptor, package-built-in-p, package-activate)
12653 (define-package, package-installed-p)
12654 (package-compute-transaction, package-buffer-info)
12655 (package--push): Doc fix. Distinguish more clearly between
12656 version strings and version lists.
12657
121656e9
JB
126582011-04-21 Juanma Barranquero <lekktu@gmail.com>
12659
12660 Lexical-binding cleanup.
12661
12662 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12663 (5x5-make-mutate-best):
12664 * play/fortune.el (fortune-in-buffer):
12665 * play/gomoku.el (gomoku-init-display):
12666 * play/solitaire.el (solitaire, solitaire-do-check):
12667 * play/tetris.el (tetris-default-update-speed-function):
12668 Mark unused parameters.
12669
12670 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12671 (bubbles--shift): Remove unused variable `char-org'.
12672 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12673 (bubbles--show-images): Remove unused variable `char'.
12674
12675 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12676 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12677 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12678 (decipher-analyze-buffer): Use ?\s.
12679 (decipher-make-checkpoint): Remove unused variable `mapping'.
12680
12681 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12682
12683 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12684 Remove unused variable `result'; use `let'.
12685
12686 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12687 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12688 (gametree-children-shown-p, gametree-compute-reduced-score):
12689 Use `ignore-errors'.
12690
12691 * play/handwrite.el (ps-lpr-switches): Declare.
12692 (handwrite): Remove unused variables `pmin' and `lastp'.
12693
12694 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12695
12696 * play/landmark.el (landmark-init-display)
12697 (landmark-update-naught-weights): Mark unused parameters.
12698 (landmark-y): Remove unused variable `noise'. Simplify.
12699 (landmark-human-plays): Remove unused variable `score'.
12700
12701 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12702 (mpuz-try-proposal): Remove unused variable `game'.
12703
12704 * play/zone.el (life-patterns): Declare.
12705
80f499c7
JB
127062011-04-20 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * vc/vc.el (ediff-vc-internal): Declare function.
12709
024ff170
SM
127102011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12711
c0a193ea
SM
12712 * shell.el: Use lexical-binding and std completion UI.
12713 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12714 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12715 comint-preoutput-filter-functions rather than on
12716 comint-output-filter-functions.
12717 (shell-command-completion, shell--command-completion-data)
12718 (shell-filename-completion, shell-environment-variable-completion)
12719 (shell-c-a-p-replace-by-expanded-directory): New functions.
12720 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12721 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12722 (shell-dynamic-complete-environment-variable): Use them.
12723 (shell-dynamic-complete-as-environment-variable)
12724 (shell-dynamic-complete-as-command): Remove.
12725 (shell-match-partial-variable): Match past point.
12726 * comint.el: Clean up use of completion-at-point-functions.
12727 (comint-completion-at-point): New function.
12728 (comint-mode): Use it completion-at-point-functions.
12729 (comint-dynamic-complete): Make it obsolete.
12730 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12731 (comint-c-a-p-replace-by-expanded-history): New function.
12732 (comint-dynamic-complete-functions)
12733 (comint-replace-by-expanded-history): Use it.
12734 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12735 termination strings. Try harder to avoid second try-completion.
12736 (completion-in-region-mode-map): Disable bindings that don't work yet.
12737
2dbaa080
SM
12738 * comint.el: Use lexical-binding. Require CL.
12739 (comint-dynamic-complete-functions): Use comint-filename-completion.
12740 (comint-completion-addsuffix): Tweak custom type.
12741 (comint-filename-completion, comint--common-suffix)
12742 (comint--common-quoted-suffix, comint--table-subvert)
12743 (comint--complete-file-name-data): New functions.
12744 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12745 (comint-dynamic-list-filename-completions): Use them.
12746 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12747
2dbaa080
SM
12748 * minibuffer.el (completion-in-region-mode):
12749 Keep completion-in-region-mode--predicate global.
12750 (completion-in-region--postch):
12751 Assume completion-in-region-mode--predicate is not null.
12752
c79a6f38
SM
12753 * progmodes/flymake.el (flymake-start-syntax-check-process):
12754 Obey `dir'. Simplify.
12755
024ff170
SM
12756 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12757 we're in VC after all.
12758
1c6c854e
CS
127592011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12760
12761 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12762 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12763 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12764
bed7f140
SM
127652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12766
332e62ab
SM
12767 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12768 add sanity check.
12769
bed7f140
SM
12770 * obsolete/erc-hecomplete.el: Make obsolete.
12771 * obsolete/: Standardize obsolescence info in the header.
12772
f195c582
GM
127732011-04-20 Glenn Morris <rgm@gnu.org>
12774
12775 * calendar/solar.el (solar-horizontal-coordinates):
12776 Use the longitude argument rather than `calendar-longitude'.
12777 (solar-date-next-longitude): Remove unused locals.
12778
cb79b8c0
VJL
127792011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12780
12781 * whitespace.el: New version 13.2.1.
12782
127832011-04-20 felix <EmacsWiki> (tiny change)
12784
d8e4b68b 12785 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12786 switching between major modes on a file.
12787
602ea69d
SM
127882011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12791 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12792 multi-line comments as well.
12793
06b60517
JB
127942011-04-19 Juanma Barranquero <lekktu@gmail.com>
12795
12796 Lexical-binding cleanup.
12797
12798 * arc-mode.el (archive-mode-revert):
12799 * cmuscheme.el (scheme-interactively-start-process):
12800 * custom.el (custom-initialize-delay):
12801 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12802 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12803 * emacs-lock.el (emacs-lock-clear-sentinel):
12804 * ezimage.el (defezimage):
12805 * follow.el (follow-avoid-tail-recenter):
12806 * fringe.el (set-fringe-mode-1):
12807 * generic-x.el (bat-generic-mode-compile):
12808 * help-mode.el (help-info-variable, help-do-xref)
12809 (help-mode-revert-buffer):
12810 * help.el (view-emacs-todo):
12811 * iswitchb.el (iswitchb-completion-help):
12812 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12813 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12814 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12815 * locate.el (locate-update):
12816 * longlines.el (longlines-encode-region)
12817 (longlines-after-change-function):
12818 * outline.el (outline-isearch-open-invisible):
12819 * ps-def.el (declare-function, charset-dimension, char-width)
12820 (encode-char):
12821 * ps-mule.el (ps-mule-plot-string):
12822 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12823 (recentf-edit-list-select, recentf-edit-list-validate)
12824 (recentf-open-files-action):
12825 * rect.el (delete-whitespace-rectangle-line)
12826 (rectangle-number-line-callback):
12827 * register.el (window-configuration-to-register)
12828 (frame-configuration-to-register):
12829 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12830 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12831 (xselect-convert-to-targets, xselect-convert-to-delete)
12832 (xselect-convert-to-filename, xselect-convert-to-charpos)
12833 (xselect-convert-to-lineno, xselect-convert-to-colno)
12834 (xselect-convert-to-os, xselect-convert-to-host)
12835 (xselect-convert-to-user, xselect-convert-to-class)
12836 (xselect-convert-to-name, xselect-convert-to-integer)
12837 (xselect-convert-to-atom, xselect-convert-to-identity):
12838 * subr.el (declare, ignore, process-kill-without-query)
12839 (text-clone-maintain):
12840 * terminal.el (te-get-char, te-tic-sentinel):
12841 * tool-bar.el (tool-bar-make-keymap):
12842 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12843 * type-break.el (type-break-mode, type-break-noninteractive-query):
12844 * view.el (View-back-to-mark):
12845 * wid-browse.el (widget-browse-action, widget-browse-widget)
12846 (widget-browse-widgets, widget-browse-sexp):
12847 * widget.el (define-widget-keywords):
12848 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12849 Mark unused parameters.
12850
12851 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12852 (align-areas): Remove unused variable `look'.
12853 (align-region): Remove unused variables `real-end' and `pos-list'.
12854
12855 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12856
12857 * bindings.el (mode-line-modified, mode-line-remote):
12858 Mark unused parameters.
12859 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12860
12861 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12862 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12863
12864 * comint.el (comint-history-isearch-pop-state)
12865 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12866 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12867 (comint-substitute-in-file-name): Doc fix.
12868
12869 * completion.el (cmpl-statistics-block): Mark unused parameter.
12870 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12871 (save-completions-to-file, load-completions-from-file):
12872 Remove unused local variable `e'.
12873
12874 * composite.el (compose-chars): Remove unused variable `len'.
12875 (lgstring-insert-glyph): Remove unused variable `g'.
12876 (compose-glyph-string): Remove unused variables `ascent',
12877 `descent', `lbearing' and `rbearing'.
12878 (compose-glyph-string-relative): Remove unused variables
12879 `lbearing', `rbearing' and `wadjust'.
12880 (compose-gstring-for-graphic): Remove unused variables `header',
12881 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12882 (compose-gstring-for-terminal): Remove unused variables `header'
12883 and `nchars'. Use `let', not `let*'.
12884
12885 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12886 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12887 (Custom-buffer-done, custom-buffer-create-internal)
12888 (custom-browse-visibility-action, custom-browse-group-tag-action)
12889 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12890 (widget-magic-mouse-down-action, custom-toggle-parent)
12891 (custom-add-parent-links, custom-toggle-hide-variable)
12892 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12893 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12894 (custom-face-menu-create, custom-variable-menu-create, get)
12895 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12896 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12897 (customize-apropos): Remove unused variable `tests'.
12898 (custom-group-value-create): Remove unused variable `hidden-p'.
12899 (sort-fold-case): Declare.
12900
12901 * cus-theme.el (custom-reset-standard-faces-list)
12902 (custom-reset-standard-variables-list): Declare.
12903 (customize-create-theme, custom-theme-revert, custom-theme-write)
12904 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12905 Mark unused parameters.
12906
12907 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12908
12909 * delim-col.el (delimit-columns-max): Move defvar before first use.
12910
12911 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12912 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12913
12914 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12915 (auto-insert): Declare.
12916 (desktop-restore-file-buffer): Rename desktop-* parameters;
12917 mark unused ones.
12918 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12919 (desktop-buffer): Rename desktop-* parameters.
12920
12921 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12922 (dframe-reposition-frame-xemacs, dframe-help-echo)
12923 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12924 Mark unused parameters.
12925
12926 * dired-aux.el (backup-extract-version-start, overwrite-query)
12927 (overwrite-backup-query, rename-regexp-query)
12928 (rename-non-directory-query): Declare.
12929 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12930 (dired-add-entry): Remove unused variable `orig-file-name'.
12931 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12932 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12933 `dired-copy-preserve-time' directly.
12934 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12935 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12936
12937 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12938 (dired-virtual-revert, dired-make-relative-symlink):
12939 Mark unused parameters.
12940 (manual-program): Declare.
12941 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12942 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12943 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12944
12945 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12946
12947 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12948
12949 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12950 Declare.
12951
12952 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12953
12954 * electric.el (Electric-command-loop): Rename parameter
12955 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12956
12957 * expand.el (expand-in-literal): Remove unused variable `here'.
12958
12959 * facemenu.el (facemenu-add-new-color):
12960 Remove unused variable `docstring'.
12961
12962 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12963 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12964 (face-attr-construct): Mark unused parameter. Doc fix.
12965 (read-color): Remove unused variable `hex-string'.
12966
12967 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12968 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12969 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12970 (display-buffer-other-frame): Remove unused variable `old-window'.
12971 (kill-buffer-hook): Declare.
12972 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12973 Mark unused parameters.
12974 (after-find-file): Pass 1 to `auto-save-mode', not t.
12975
12976 * files-x.el (auto-insert): Declare.
12977 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12978
12979 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12980 variable `buf'. Mark unused parameter.
06b60517
JB
12981 (find-lisp-insert-directory): Mark unused parameter.
12982
12983 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12984 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12985 (format-common-tail): Remove, unused.
12986 (format-deannotate-region): Remove unused variable `loc'.
12987 (format-annotate-region): Remove unused variable `p'.
12988 (format-annotate-single-property-change): Remove unused variables
12989 `default' and `tail'.
12990
12991 * forms.el (read-file-filter): Declare.
12992 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12993
12994 * frame.el (frame-creation-function-alist): Mark unused parameter.
12995 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12996
12997 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12998 Remove unused parameters.
12999 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13000 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13001
13002 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13003 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13004 (hfy-prepare-tag-map): Mark unused parameters.
13005 (htmlfontify-buffer): Use `called-interactively-p'.
13006
13007 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13008 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13009 (ibuffer-do-occur): Mark unused parameters.
13010 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13011 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13012
13013 * ibuffer.el: Don't quote `lambda'.
13014 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13015 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13016 Mark unused parameters.
13017
13018 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13019 (ido-completing-read): Mark unused parameters.
13020 (ido-copy-current-word): Mark unused parameters;
13021 remove unused variable `name'.
13022 (ido-sort-merged-list): Remove unused parameter `dirs'.
13023
13024 * ielm.el (ielm-input-sender): Mark unused parameter.
13025 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13026 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13027 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13028 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13029 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13030
13031 * image-dired.el (image-dired-display-thumbs): Remove unused
13032 variables `curr-file' and `count'.
13033 (image-dired-remove-tag): Remove unused variable `start'.
13034 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13035 variable `curr-file'
13036 (image-dired-rotate-original): Remove unused variable `temp-file'.
13037 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13038 Remove unused variable `file'.
13039 (image-dired-gallery-generate): Remove unused variable `curr'.
13040 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13041
13042 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13043
13044 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13045
13046 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13047
13048 * isearch.el (minibuffer-history-symbol): Declare.
13049 (isearch-edit-string): Remove unused variable `err'.
13050 (isearch-message-prefix, isearch-message-suffix):
13051 Mark unused parameters.
13052
13053 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13054
13055 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13056
13057 * makesum.el (double-column): Remove unused variable `cnt'.
13058
13059 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13060 (ido-ignore-item-temp-list): Declare.
13061
13062 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13063 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13064 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13065 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13066 `mouse-col-delta'.
13067
13068 * mouse-sel.el (mouse-extend-internal):
13069 Remove unused variable `orig-window-frame'.
13070
13071 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13072 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13073 Move declarations before first use.
13074 (pcomplete-opt): Mark unused parameters; doc fix.
13075
13076 * proced.el (proced-revert): Mark unused parameter.
13077 (proced-send-signal): Remove unused variable `err'.
13078
13079 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13080 Rename parameter PREFIX-ARG to ARG.
13081 (ps-basic-plot-string, ps-basic-plot-whitespace):
13082 Mark unused parameters.
13083
13084 * replace.el (replace-count): Define.
13085 (occur-revert-function): Mark unused parameters.
13086 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13087 (isearch-case-fold-search, isearch-string): Declare.
13088 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13089 bind `case-fold-search'. Remove unused variables `beg' and `end',
13090 and simplify.
13091 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13092 COUNT and bind `replace-count'.
13093 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13094 to COUNT.
13095
13096 * savehist.el (print-readably, print-string-length): Declare.
13097
13098 * shadowfile.el (shadow-expand-cluster-in-file-name):
13099 Remove unused variable `cluster'.
13100 (shadow-copy-file): Remove unused variable `i'.
13101 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13102 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13103 (shadow-define-literal-group, shadow-define-regexp-group)
13104 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13105
13106 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13107 (shell): Use `called-interactively-p'.
13108 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13109
13110 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13111 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13112 (delete-backward-char): Remove unused variable `ocol'.
13113 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13114 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13115 (event-apply-hyper-modifier, event-apply-shift-modifier)
13116 (event-apply-control-modifier, event-apply-meta-modifier):
13117 Mark unused parameters.
13118 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13119 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13120
13121 * speedbar.el (speedbar-ignored-directory-expressions)
13122 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13123 (speedbar-find-file, speedbar-dir-follow)
13124 (speedbar-directory-buttons-follow, speedbar-tag-find)
13125 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13126 (speedbar-buffers-line-directory, speedbar-buffer-click):
13127 Mark unused parameters.
13128 (speedbar-tag-file): Remove unused variable `mode'.
13129 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13130
13131 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13132
13133 * talk.el (talk): Remove unused variable `display'.
13134
13135 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13136 (tar-write-region-annotate): Mark unused parameter.
13137
13138 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13139 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13140 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13141 warning by another.
13142
13143 * time-stamp.el (time-stamp-string-preprocess):
13144 Remove unused variable `require-padding'.
13145
13146 * tree-widget.el (widget-glyph-enable): Declare.
13147 (tree-widget-action): Mark unused parameter.
13148
13149 * w32-fns.el (x-get-selection): Mark unused parameter.
13150 (autoload-make-program, generated-autoload-file): Declare.
13151
13152 * wdired.el (wdired-revert): Mark unused parameters.
13153 (wdired-xcase-word): Remove unused variable `err'.
13154
13155 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13156 (whitespace-help-scroll): Remove unused variable `data-help'.
13157
13158 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13159 (widget-image-insert, widget-after-change, default)
13160 (widget-default-format-handler, widget-default-notify)
13161 (widget-default-prompt-value, widget-info-link-action)
13162 (widget-url-link-action, widget-function-link-action)
13163 (widget-variable-link-action, widget-file-link-action)
13164 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13165 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13166 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13167 (widget-insert-button-action, widget-delete-button-action, visibility)
13168 (widget-documentation-link-action, widget-documentation-string-action)
13169 (widget-const-prompt-value, widget-regexp-match, symbol)
13170 (widget-coding-system-prompt-value)
13171 (widget-key-sequence-value-to-external, sexp)
13172 (widget-sexp-value-to-internal, character, vector, cons)
13173 (widget-choice-prompt-value, widget-boolean-prompt-value)
13174 (widget-color--choose-action): Mark unused parameters.
13175 (widget-item-match-inline, widget-choice-match-inline)
13176 (widget-checklist-match, widget-checklist-match-inline)
13177 (widget-group-match): Rename parameter VALUES to VALS.
13178 (widget-field-value-set): Remove unused variable `size'.
13179 (widget-color-action): Remove unused variables `value' and `start'.
13180
13181 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13182 variable `dir'. Doc fix.
06b60517
JB
13183 (windmove-find-other-window): Don't pass it.
13184
13185 * window.el (count-windows): Mark unused parameter.
13186 (bw-adjust-window): Remove unused variable `err'.
13187
13188 * woman.el (woman-file-name): Remove unused variable `default'.
13189 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13190 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13191 (global-font-lock-mode): Declare.
13192 (woman-decode-region): Mark unused parameter.
13193 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13194
13195 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13196 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13197 (x-dnd-handle-moz-url): Remove unused variable `title'.
13198 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13199
13200 * xml.el (xml-parse-tag, xml-parse-attlist):
13201 Remove unused variable `pos'.
13202
bc4f7f3d
GM
132032011-04-19 Glenn Morris <rgm@gnu.org>
13204
13205 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13206 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13207 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13208 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13209 * calendar/cal-html.el (cal-html-insert-minical):
13210 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13211 (calendar-mark-date-pattern):
13212 Prefix "unused" locals.
13213
13214 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13215 optional argument `style'.
13216
13217 * calendar/appt.el (appt-make-list):
13218 * calendar/cal-china.el (calendar-chinese-date-string):
13219 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13220 (diary-hebrew-yahrzeit):
13221 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13222 * calendar/calendar.el (calendar-generate-window):
13223 * calendar/time-date.el (time-to-days):
13224 Remove unused local variables.
13225
16a43933
CY
132262011-04-18 Chong Yidong <cyd@stupidchicken.com>
13227
13228 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13229 glyphless-char-display table.
13230 (tabulated-list-glyphless-char-display): New var.
13231
7eed1860
SS
132322011-04-18 Sam Steingold <sds@gnu.org>
13233
13234 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13235 to acknowledgments.
13236
4d2d1ccd
GM
132372011-04-17 Glenn Morris <rgm@gnu.org>
13238
13239 * calendar/diary-lib.el (diary-sexp-entry):
13240 * calendar/holidays.el (holiday-sexp):
13241 Set debug-on-error rather than the removed stack-trace-on-error.
13242
239da61d
GM
132432011-04-16 Glenn Morris <rgm@gnu.org>
13244
13245 * progmodes/f90.el: Use lexical-binding.
13246 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13247
8b05752a
SM
132482011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13249
daca8ba5
SM
13250 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13251 (mail-mode): Setup mailalias completion here instead.
13252 * mail/mailalias.el: Use lexical-binding.
13253 (pattern, mailalias-done): Declare dynamic.
13254 (mail-completion-at-point-function): New function, from mail-complete.
13255 (mail-complete): Use it.
13256 (mail-completion-expand): New function.
13257 (mail-get-names): Use it.
13258 (mail-directory, mail-directory-process, mail-directory-stream):
13259 Don't use `pattern' for lexically bound arg.
13260
6f542485
SM
13261 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13262
037e7c3f
SM
13263 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13264 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13265 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13266
8b05752a
SM
13267 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13268 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13269 (byte-interactive-p): Define them again, for use when inlining
13270 old code.
13271
49093f60
JB
132722011-04-15 Juanma Barranquero <lekktu@gmail.com>
13273
13274 * loadup.el: Use `string-to-number', not `string-to-int'.
13275
b5b8e7de
SM
132762011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13277
13278 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13279 gud-gdb-complete-command.
13280 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13281 (gud-gdb-completion-at-point): New function.
13282 (gud-gdb-completions): Remove.
13283
f42efeb5
MA
132842011-04-14 Michael Albinus <michael.albinus@gmx.de>
13285
49093f60
JB
13286 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13287 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13288 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13289 whether `executable-find' is bound.
f42efeb5
MA
13290
13291 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13292
e240cc21
SM
132932011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * minibuffer.el (completion-in-region-mode-predicate)
13296 (completion-in-region-mode--predicate): New vars.
13297 (completion-in-region, completion-in-region--postch)
13298 (completion-in-region-mode): Use them.
13299 (completion--capf-wrapper): Also return the hook function.
13300 (completion-at-point, completion-help-at-point):
13301 Adjust and provide a predicate.
c2bd2ab0
SM
13302
13303 Preserve arg names for advice of subr and lexical functions (bug#8457).
13304 * help-fns.el (help-function-arglist): Consolidate the subr and
13305 new-byte-code cases. Add argument `preserve-names' to extract names
13306 from the docstring when needed.
13307 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13308 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13309 (ad-arglist): Use help-function-arglist's new arg.
13310 (ad-definition-type): Use cond.
13311
c183f693
JB
133122011-04-13 Juanma Barranquero <lekktu@gmail.com>
13313
06641a47
JB
13314 * autorevert.el (auto-revert-handler):
13315 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13316 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13317 Don't quote lambda.
13318
c183f693
JB
13319 * image-mode.el (image-transform-set-scale):
13320 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13321
1e3b6001
G
133222011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13323
13324 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13325 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13326 Upgrades via gnutls-cli are too slow to be done opportunistically.
13327
2d6af8dd
JB
133282011-04-12 Juanma Barranquero <lekktu@gmail.com>
13329
13330 * dframe.el (dframe-current-frame): Remove spurious quote.
13331
c0749a51
GM
133322011-04-12 Glenn Morris <rgm@gnu.org>
13333
088d0d61
GM
13334 * calendar/cal-tex.el (cal-tex-end-document):
13335 Try to automatically use latin1 input if needed.
13336
c0749a51
GM
13337 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13338 Don't try to cons a mark onto an empty element.
13339
5c90fde0
LL
133402011-04-11 Leo Liu <sdl.web@gmail.com>
13341
13342 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13343 buffers.
13344 (ido-kill-buffer-at-head): Support killing virtual buffers.
13345
369e974d
CY
133462011-04-10 Chong Yidong <cyd@stupidchicken.com>
13347
13348 * minibuffer.el (completion-show-inline-help): New var.
13349 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13350 (minibuffer-force-complete, minibuffer-complete-word):
13351 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13352
13353 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13354 to avoid interference from inline help (Bug#5849).
13355
37f1c930
LL
133562011-04-10 Leo Liu <sdl.web@gmail.com>
13357
099c39a4
JB
13358 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13359 Fix typo.
37f1c930 13360
a32d4040
CY
133612011-04-09 Chong Yidong <cyd@stupidchicken.com>
13362
13363 * image-mode.el (image-toggle-display-image): Signal an error if
13364 not in Image mode.
13365 (image-transform-mode, image-transform-resize)
13366 (image-transform-set-rotation): Doc fix.
daca8ba5 13367 (image-transform-set-resize): Delete.
a32d4040
CY
13368 (image-transform-set-scale, image-transform-fit-to-height)
13369 (image-transform-fit-to-width): Handle image-toggle-display-image
13370 and image-transform-resize directly.
13371
099c39a4 133722011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13373
13374 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13375 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13376 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13377 (doc-view-mode-map): Add bindings for the new functions.
13378
099c39a4 133792011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13380
4d61f28d 13381 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13382 Fix typo in docstring.
13383
3726838a
EZ
133842011-04-08 Eli Zaretskii <eliz@gnu.org>
13385
04f33f1e
EZ
13386 * files.el (file-size-human-readable): Produce one digit after
13387 decimal, like "ls -lh" does.
13388
13389 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13390 the file size representation.
13391
3726838a
EZ
13392 * simple.el (list-processes): If async subprocesses are not
13393 available, error out with a clear error message.
13394
cbb59342
CY
133952011-04-08 Chong Yidong <cyd@stupidchicken.com>
13396
13397 * help.el (help-form-show): New function, to be called from C.
13398 Put help-form output in a buffer named differently than *Help*.
13399
e3971c44
EZ
134002011-04-08 Eli Zaretskii <eliz@gnu.org>
13401
13402 * files.el (file-size-human-readable): New function.
13403
13404 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13405 computing the representation inline. Don't require `cl'.
13406
12544bbe
GM
134072011-04-08 Glenn Morris <rgm@gnu.org>
13408
a1de6c6a
GM
13409 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13410
3c4671f4
GM
13411 * net/browse-url.el (browse-url-firefox):
13412 Test system-type, not system-configuration.
13413
b605679c
GM
13414 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13415 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13416 Use log-edit-empty-buffer-p. (Bug#7598)
13417
56442f0c
GM
13418 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13419 (rlogin-mode-map): Initialize in the defvar.
13420 (rlogin): Use ignore-errors.
13421
12544bbe
GM
13422 * replace.el (occur-mode-map): Some fixes for menu items.
13423
eb237b0f
AH
134242011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13425
13426 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13427
7d668f2c
CY
134282011-04-06 Chong Yidong <cyd@stupidchicken.com>
13429
e67a13ab
CY
13430 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13431 issuing unused warnings.
13432
13433 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13434 macro directly.
13435
7d668f2c
CY
13436 * simple.el: Lisp reimplement of list-processes. Based on an
13437 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13438 (process-menu-mode): New major mode.
13439 (list-processes--refresh, list-processes):
13440 (process-menu-visit-buffer): New functions.
13441
13442 * files.el (save-buffers-kill-emacs): Don't assume any return
13443 value of list-processes, which is undocumented anyway.
13444
a83ec3c9
CY
134452011-04-06 Chong Yidong <cyd@stupidchicken.com>
13446
13447 * emacs-lisp/tabulated-list.el: New file.
13448
e91a96fe
CY
13449 * emacs-lisp/package.el: Use Tabulated List mode.
13450 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13451 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13452 table format using Tabulated List mode variables.
13453 (package--push): New macro, replacing package-list-maybe-add.
13454 (package-menu--generate): Use package--push. Renamed from
13455 package--generate-package-list.
13456 (package-menu-refresh, list-packages): Use it.
daca8ba5 13457 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13458 Return insertion data instead of inserting it directly.
099c39a4
JB
13459 (package-menu-describe-package, package-menu-execute):
13460 Use tabulated-list-get-id.
e91a96fe
CY
13461 (package-menu-mark-delete, package-menu-mark-install)
13462 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13463 (package-menu-mark-obsolete-for-deletion):
13464 Use tabulated-list-put-tag.
e91a96fe
CY
13465 (package--list-packages, package-menu-revert)
13466 (package-menu-get-package, package-menu-get-version)
13467 (package-menu-sort-by-column): Functions deleted.
13468 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13469 (package-menu--status-predicate, package-menu--version-predicate)
13470 (package-menu--name-predicate)
13471 (package-menu--description-predicate): Handle arguments in the
13472 Tabulated List format.
13473 (package-list-packages-no-fetch): Call list-packages.
13474
3e214b50
JB
134752011-04-06 Juanma Barranquero <lekktu@gmail.com>
13476
13477 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13478 (after-find-file): Don't bind it.
3e214b50
JB
13479 (revert-buffer-in-progress-p): New variable.
13480 (revert-buffer): Bind it.
13481 Pass nil for `after-find-file-from-revert-buffer'.
13482
13483 * saveplace.el (save-place-find-file-hook): Use new variable
13484 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13485
3f0f1700
GM
134862011-04-06 Glenn Morris <rgm@gnu.org>
13487
c0274801
GM
13488 * Makefile.in (AUTOGEN_VCS): New variable.
13489 (autoloads): Use $AUTOGEN_VCS.
13490
3f0f1700
GM
13491 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13492 * calendar/calendar.el (calendar-mode-map):
13493 Check for toolkit scroll bars. (Bug#8305)
13494
41ea9e48
CY
134952011-04-05 Chong Yidong <cyd@stupidchicken.com>
13496
13497 * minibuffer.el (completion-in-region--postch)
13498 (completion-in-region-mode): Remove unnecessary messages.
13499
6194c800
JB
135002011-04-05 Juanma Barranquero <lekktu@gmail.com>
13501
33256f14
JB
13502 * font-lock.el (font-lock-refresh-defaults):
13503 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13504 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13505
6194c800
JB
13506 * info.el (Info-directory-list, Info-read-node-name-2)
13507 (Info-split-parameter-string): Doc fixes.
13508 (Info-virtual-nodes): Reflow docstring.
13509 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13510 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13511 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13512 Fix typos in docstrings.
13513 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13514 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13515 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13516 (Info-restore-desktop-buffer): Mark unused parameters.
13517 (Info-directory-find-file, Info-directory-find-node)
13518 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13519 (Info-virtual-index-find-node, Info-apropos-find-file)
13520 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13521 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13522 (Info-virtual-index): Remove unused local variable `nodename'.
13523
b87a8200 135242011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13525
b87a8200
DD
13526 * net/rcirc.el: Update my e-mail address.
13527 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13528
3b2ff876
CY
135292011-04-05 Chong Yidong <cyd@stupidchicken.com>
13530
13531 * startup.el (command-line): Save the cursor's theme-face
13532 directly, instead of using face-override-spec.
13533
13534 * custom.el (load-theme): Minor optimization in assigning faces.
13535
8d17e7ca
JB
135362011-04-04 Juanma Barranquero <lekktu@gmail.com>
13537
13538 * help-fns.el (describe-variable): Complete all variables having
13539 documentation, including keywords.
13540 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13541
2fbc1934
JB
135422011-04-04 Juanma Barranquero <lekktu@gmail.com>
13543
13544 Convert to lexical-binding.
13545
13546 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13547 (bs--get-marked-string, bs--get-modified-string)
13548 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13549 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13550 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13551
13552 * ehelp.el (electric-help-execute-extended)
13553 (electric-help-ctrl-x-prefix):
13554 * hexl.el (hexl-revert-buffer-function):
13555 * linum.el (linum-after-change, linum-after-scroll):
13556 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13557
13558 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13559
74f50695
DU
135602011-04-04 Daiki Ueno <ueno@unixuser.org>
13561
13562 * epa-dired.el:
13563 * epa-mail.el:
13564 * epa-hook.el:
13565 * epa-file.el:
13566 * epa.el:
13567 * epg.el: Use lexical binding.
13568
c11325f7
CY
135692011-04-03 Chong Yidong <cyd@stupidchicken.com>
13570
0d9e9a12
CY
13571 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13572
c11325f7 13573 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13574 dictionary case for flyspell-mark-duplications-exceptions.
13575 Use regexp matching for languages.
c11325f7
CY
13576 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13577 default dictionary (Bug#7926).
13578
da91b5f2
CY
135792011-04-02 Chong Yidong <cyd@stupidchicken.com>
13580
099c39a4
JB
13581 * emacs-lisp/package.el (package--with-work-buffer):
13582 Recognize https URLs.
da91b5f2 13583
099c39a4
JB
13584 * net/network-stream.el: Move from gnus/proto-stream.el.
13585 Change prefix to network-stream throughout.
da91b5f2
CY
13586 (open-protocol-stream): Merge into open-network-stream, leaving
13587 open-protocol-stream as an alias. Handle nil BUFFER args.
13588
13589 * subr.el (open-network-stream): Move to net/network-stream.el.
13590
afa8e9f6
GM
135912011-04-02 Glenn Morris <rgm@gnu.org>
13592
1d2e369d
GM
13593 * find-dired.el (find-exec-terminator): New option.
13594 (find-ls-option): Test for -ls support.
13595 (find-ls-subdir-switches): Test for -b in find-ls-option.
13596 (find-dired, find-grep-dired): Doc fixes.
13597 (find-dired): Use find-exec-terminator.
13598
8abb7da8 13599 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13600 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13601 (find-name-arg): Remove purecopy.
8abb7da8 13602
f3ca7378
GM
13603 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13604 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13605 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13606 accordingly. Don't add the null-device if not needed.
13607
afa8e9f6
GM
13608 * files.el (save-some-buffers): Doc fix.
13609
35eae264
EZ
136102011-04-02 Eli Zaretskii <eliz@gnu.org>
13611
13612 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13613
26b51db5
JB
136142011-04-01 Juanma Barranquero <lekktu@gmail.com>
13615
13616 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13617 Use `dolist' rather than `mapcar'.
13618
7200d79c
SM
136192011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13620
03408648 13621 Add lexical binding.
7200d79c 13622
03408648
SM
13623 * subr.el (apply-partially): Use new closures rather than CL.
13624 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13625 (dolist, dotimes): Use slightly different expansion for lexical code.
13626 (functionp): Move to C.
13627 (letrec): New macro.
13628 (with-wrapper-hook): Use it and apply-partially instead of CL.
13629 (eval-after-load): Preserve lexical-binding.
13630 (save-window-excursion, with-output-to-temp-buffer): Turn them
13631 into macros.
7200d79c 13632
03408648
SM
13633 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13634
13635 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13636 than the arglist.
13637 (help-add-fundoc-usage): Don't add `Not documented'.
13638 (help-function-arglist): Handle closures, subroutines, and new
13639 byte-code-functions.
13640 (help-make-usage): Remove leading underscores.
13641 (describe-function-1): Handle closures.
13642 (describe-variable): Use special-variable-p for completion.
13643
13644 * files.el (lexical-binding): Declare safe.
f488fb65 13645
03408648
SM
13646 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13647 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13648 (pcase): Add `let' pattern.
13649 Change memoization so it actually works.
13650 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13651 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13652 <let>: New case.
f488fb65 13653
03408648
SM
13654 * emacs-lisp/macroexp.el: Use lexical binding.
13655 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13656 Don't convert ' to #' without checking that it's indeed quoting
13657 a lambda.
13658
13659 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13660 Use eval-sexp-add-defvars.
03408648
SM
13661 (eval-sexp-add-defvars): New fun.
13662
13663 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13664
13665 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13666 Don't autoload.
13667 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13668 than the internal `byte-compile-lambda'.
13669 (defmethod): Don't hide code under quotes.
13670 (eieio-defmethod): New `code' argument.
13671
13672 * emacs-lisp/eieio-comp.el: Remove.
13673
13674 * emacs-lisp/edebug.el (edebug-eval-defun)
13675 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13676 (edebug-toggle): Avoid `eval'.
13677
13678 * emacs-lisp/disass.el (disassemble-internal): Handle new
13679 `closure' objects.
13680 (disassemble-1): Handle new byte codes.
13681
13682 * emacs-lisp/cl.el (pushnew): Silence warning.
13683
13684 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13685 (cl-byte-compile-throw): Remove.
13686 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13687
13688 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13689 closures.
13690
13691 * emacs-lisp/cconv.el: New file.
13692
13693 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13694 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13695 (byte-compile-initial-macro-environment):
13696 Handle declare-function here.
13697 (byte-compile--lexical-environment): New var.
13698 (byte-stack-ref, byte-stack-set, byte-discardN)
13699 (byte-discardN-preserve-tos): New lap codes.
13700 (byte-interactive-p): Don't use any more.
13701 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13702 New macros.
13703 (byte-compile-lapcode): Use them and handle new lap codes.
13704 (byte-compile-obsolete): Remove.
13705 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13706 (byte-compile-arglist-warn): Check late def of inlinable funs.
13707 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13708 since they should have been expanded by now.
13709 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13710 (byte-compile-from-buffer): Remove unused second arg.
13711 (byte-compile-preprocess): New function.
13712 (byte-compile-toplevel-file-form): New function to distinguish
13713 file-form calls from outside from file-form calls from hunk-handlers.
13714 (byte-compile-file-form): Simplify.
13715 (byte-compile-file-form-defsubst): Remove.
13716 (byte-compile-file-form-defmumble): Simplify now that
13717 byte-compile-lambda always returns a byte-code-function.
13718 (byte-compile): Preprocess.
13719 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13720 Remove, not used any more.
13721 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13722 (byte-compile-make-args-desc): New funs.
13723 (byte-compile-lambda): Handle lexical functions. Always return
13724 a byte-code-function.
13725 (byte-compile-reserved-constants): New var, to make up room for
13726 closed-over variables.
13727 (byte-compile-constants-vector): Obey it.
13728 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13729 (byte-compile-macroexpand-declare-function): New function.
13730 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13731 byte-code-functions.
13732 (byte-compile-form): Check obsolescence here.
13733 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13734 (byte-compile-variable-ref): Remove.
13735 (byte-compile-dynamic-variable-op): New fun.
13736 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13737 (byte-compile-variable-set): New funs.
13738 (byte-compile-discard): Add 2 args.
13739 (byte-compile-stack-ref, byte-compile-stack-set)
13740 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13741 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13742 macroexpand-all instead.
13743 (byte-compile-quote-form): Remove.
13744 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13745 (byte-compile-bind, byte-compile-unbind): New funs.
13746 (byte-compile-let): Handle let* and lexical binding.
13747 (byte-compile-let*): Remove.
13748 (byte-compile-catch, byte-compile-unwind-protect)
13749 (byte-compile-track-mouse, byte-compile-condition-case):
13750 Handle a new :fun-body form, used for lexical scoping.
13751 (byte-compile-save-window-excursion)
13752 (byte-compile-with-output-to-temp-buffer): Remove.
13753 (byte-compile-defun): Simplify.
13754 (byte-compile-stack-adjustment): New fun.
13755 (byte-compile-out): Use it.
13756 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13757
13758 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13759 handler any more.
13760
13761 * emacs-lisp/byte-opt.el: Use lexical binding.
13762 (byte-inline-lapcode): Remove (to bytecomp).
13763 (byte-compile-inline-expand): Pay attention to inlining to/from
13764 lexically bound code.
13765 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13766 any more.
13767 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13768 any more and don't call compiler-macros.
13769 (byte-compile-splice-in-already-compiled-code): Remove.
13770 (byte-code): Don't inline any more.
13771 (disassemble-offset): Receive `bytes' as argument rather than via
13772 dynamic scoping.
13773 (byte-compile-tag-number): Declare before first use.
13774 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13775 `return' even if make-spliceable.
13776 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13777 obsolete interactive-p.
13778 (byte-optimize-lapcode): Optimize new lap-codes.
13779 Don't trip up on new form of `byte-constant' lap code.
13780
13781 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13782
13783 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13784
13785 * custom.el (custom-initialize-default, custom-declare-variable):
13786 Use `defvar'.
13787
13788 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13789 New variables.
13790 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13791 (COMPILE_FIRST): Add macroexp and cconv.
13792 * makefile.w32-in: Mirror changes in Makefile.in.
13793
13794 * vc/cvs-status.el:
13795 * vc/diff-mode.el:
13796 * vc/log-edit.el:
13797 * vc/log-view.el:
13798 * vc/smerge-mode.el:
13799 * textmodes/bibtex-style.el:
13800 * textmodes/css.el:
13801 * startup.el:
13802 * uniquify.el:
da91b5f2
CY
13803 * minibuffer.el:
13804 * newcomment.el:
13805 * reveal.el:
13806 * server.el:
13807 * mpc.el:
13808 * emacs-lisp/smie.el:
13809 * doc-view.el:
13810 * dired.el:
03408648
SM
13811 * abbrev.el: Use lexical binding.
13812
0f0c1f27
EZ
138132011-04-01 Eli Zaretskii <eliz@gnu.org>
13814
13815 * info.el (info-display-manual): New function.
13816
c82b2579
SM
138172011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13818
13819 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13820
221ddf68
TH
138212011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13822
13823 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13824 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13825
cba6e77e
GM
138262011-03-31 Glenn Morris <rgm@gnu.org>
13827
e040639f
GM
13828 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13829
cba6e77e
GM
13830 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13831
6d0f1c9e
CS
138322011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13833
13834 * progmodes/python.el (python-default-interpreter)
13835 (python-python-command-args, python-jython-command-args)
13836 (python-which-shell, python-which-args, python-which-bufname)
13837 (python-file-queue, python-comint-output-filter-function)
13838 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13839 variables and functions.
13840
3e2d70fd
SM
138412011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13844 (completion-in-region-mode): New minor mode.
13845 (completion-in-region): Use it.
13846 (completion-in-region--data, completion-in-region-mode-map): New vars.
13847 (completion-in-region--postch): New function.
13848 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13849 New vars.
13850 (completion--capf-wrapper): New function.
13851 (completion-at-point): Use it to track well-behavedness of
13852 hook functions.
13853 (completion-help-at-point): New command.
13854
f3e4086c
JM
138552011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13856
13857 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13858 syntax class to search for whitespace on a single line
13859 (Message-ID: <4D938140.4030905@redhat.com>).
13860
eb7ffc14
LL
138612011-03-30 Leo Liu <sdl.web@gmail.com>
13862
13863 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13864 New commands.
13865 (edit-abbrevs-map): Bind them here.
13866 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13867
d806ab68
KM
138682011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13869
13870 * allout.el (allout-hide-by-annotation, allout-flag-region):
13871 Reduce possibility of overlay leakage by making them volatile.
13872
13873 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13874 hash is not shared between buffers. Mode initialization is
13875 responsible for giving it a useful starting value.
13876 (allout-item-span): Reduce possibility of overlay leakage by
13877 making them volatile.
13878 (allout-widgets-count-buttons-in-region): Add diagnostic function
13879 for tracking down button overlay leaks.
13880
ea622834
LL
138812011-03-29 Leo Liu <sdl.web@gmail.com>
13882
13883 * ido.el (ido-read-internal): Use the default history var
13884 minibuffer-history if no HISTORY is specified.
13885
b62f8267
G
138862011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13887
03408648
SM
13888 * net/imap.el (imap-shell-open, imap-process-connection-type):
13889 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13890 Kerberos, SSL, other subprocesses.
13891
947b6566
LL
138922011-03-28 Leo Liu <sdl.web@gmail.com>
13893
13894 * abbrev.el (abbrev-table-empty-p): New function.
13895 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13896 nonempty ones. (Bug#5937)
13897
5ffb62aa
JD
138982011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13899
13900 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13901
7a097943
LL
139022011-03-27 Leo Liu <sdl.web@gmail.com>
13903
13904 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13905 for foreground and background colors.
13906 (ansi-color-make-color-map): Adapt.
13907
c5b40130
LL
139082011-03-25 Leo Liu <sdl.web@gmail.com>
13909
1f48f7d2
LL
13910 * midnight.el (midnight-time-float): Remove. Note it calculates
13911 the microsecond component incorrectly and seconds-to-time does the
13912 same job.
625897ec 13913 Remove redundant (require 'timer).
1f48f7d2 13914
c5b40130
LL
13915 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13916 (ido-completions): Remove unused arguments. (Bug#8329)
13917
d86d2721
SM
139182011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13919
13920 * minibuffer.el (completion--flush-all-sorted-completions):
13921 Remove itself from hook.
13922 (completion-at-point): Let the functions perform the completion
13923 immediately and return nil or t.
13924 * comint.el (comint-dynamic-complete-functions): Now identical to
13925 completion-at-point-functions.
13926 (comint-dynamic-list-input-ring): Remove unused var `index'.
13927 (comint--match-partial-filename, comint--unquote&expand-filename):
13928 New funs, split from comint-match-partial-filename.
13929 (comint-dynamic-complete): Use completion-at-point.
13930 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13931
e8974c48
DA
139322011-03-24 Drew Adams <drew.adams@oracle.com>
13933
13934 * thingatpt.el: Support `defun'.
13935
def71b5e
LL
139362011-03-23 Leo Liu <sdl.web@gmail.com>
13937
cb5af48e
LL
13938 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13939
def71b5e
LL
13940 * help-mode.el (help-mode-finish): Tweak regexp.
13941
927c53e7
GM
139422011-03-23 Glenn Morris <rgm@gnu.org>
13943
18d05bed
GM
13944 * eshell/esh-opt.el (eshell-eval-using-options):
13945 Do not bind unused local variable `eshell-option-stub'.
13946
927c53e7
GM
13947 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13948
9d0da923
JB
139492011-03-22 Juanma Barranquero <lekktu@gmail.com>
13950
13951 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13952 keymap variable in `with-no-warnings' to avoid a warning when the
13953 keymap has been already `defconst'ed.
13954
4b978a67
LL
139552011-03-22 Leo Liu <sdl.web@gmail.com>
13956
13957 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13958 encode all chars in abbrevs; otherwise use emacs-mule or
13959 utf-8-emacs. (Bug#8308)
13960
5fd62452
JB
139612011-03-22 Juanma Barranquero <lekktu@gmail.com>
13962
0b1596c6
JB
13963 * simple.el (backward-delete-char-untabify):
13964 Avoid warning about using `delete-backward-char'.
13965
5fd62452
JB
13966 * image.el (image-type-file-name-regexps): Make it variable.
13967 `imagemagick-register-types' modifies it, and the user may want
13968 to add new extensions for known image types.
13969 (imagemagick-register-types): Throw error if not using ImageMagick.
13970
0b4e93f1
LL
139712011-03-22 Leo Liu <sdl.web@gmail.com>
13972
13973 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13974 located before rcirc-prompt-end-marker.
13975 (rcirc-complete): Error if point is not after rcirc prompt.
13976 Handle the case when table is nil.
9882e214 13977 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13978
fccee4ab
CY
139792011-03-22 Chong Yidong <cyd@stupidchicken.com>
13980
13981 * custom.el (custom--inhibit-theme-enable): Make it affect only
13982 custom-theme-set-variables and custom-theme-set-faces.
13983 (provide-theme): Ignore custom--inhibit-theme-enable.
13984 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13985 (custom-enabling-themes): Delete variable.
d86d2721
SM
13986 (enable-theme): Accept only loaded themes as arguments.
13987 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13988 (custom-enabled-themes): Forbid themes from setting this.
13989 Eliminate use of custom-enabling-themes.
13990 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13991
af896da6
LL
139922011-03-21 Leo Liu <sdl.web@gmail.com>
13993
13994 * ido.el (ido-read-internal): Add ido-selected to history instead
13995 of user input.
13996
78f64af0
SM
139972011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13998
13999 * subr.el (deferred-action-list, deferred-action-function):
14000 Mark obsolete.
14001
b16ac1ec
LL
140022011-03-21 Leo Liu <sdl.web@gmail.com>
14003
810f7698
LL
14004 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14005 change on 2011-02-13 (bug#8309).
14006
b16ac1ec
LL
14007 * minibuffer.el (read-file-name-function): Change default value.
14008 (read-file-name--defaults): Rename from read-file-name-defaults.
14009 (read-file-name-default): Rename from read-file-name.
14010 (read-file-name): Call read-file-name-function.
14011
4e05e67e
GM
140122011-03-21 Glenn Morris <rgm@gnu.org>
14013
14014 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14015 Doc fixes.
14016
4359915b
CY
140172011-03-21 Chong Yidong <cyd@stupidchicken.com>
14018
14019 * cus-theme.el: Add missing provide statement.
14020 (customize-create-theme): Extract theme value correctly.
14021 (custom-theme-visit-theme): Autoload.
14022 (customize-create-theme): Prompt before inserting default faces.
14023
1fe275ee
JB
140242011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14025
14026 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14027 units and musical notes.
14028
cd394be1 140292011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14030
14031 * ido.el (ido-read-internal): Use completing-read-default.
14032 (ido-completing-read): Fix compatibility with completing-read.
14033
7d476bde
CO
140342011-03-20 Christian Ohler <ohler@gnu.org>
14035
14036 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14037 (ert-delete-all-tests): Use `called-interactively-p' rather than
14038 `interactive-p'.
14039 (ert--make-xrefs-region): Respect END.
14040
fe0fb33e
CY
140412011-03-19 Chong Yidong <cyd@stupidchicken.com>
14042
ff854b0b
CY
14043 * dired-aux.el (dired-create-directory): Signal an error if the
14044 directory already exists (Bug#8246).
14045
fe0fb33e
CY
14046 * facemenu.el (list-colors-display): Call list-faces-display
14047 inside with-help-window.
14048 (list-colors-print): Use display property to align the final
14049 column, instead of checking window-width.
14050
576bce32
EZ
140512011-03-19 Eli Zaretskii <eliz@gnu.org>
14052
4d61f28d 14053 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14054 windows-nt systems.
14055 (emerge-protect-metachars): Quote correctly for ms-dos and
14056 windows-nt systems.
14057
89c41d68 140582011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14059
14060 * info.el (info-initialize): Replace all uses of `:' with
14061 path-separator for compatibility with non-Unix systems.
14062 Cache quoting of path-separator. (Bug#8258)
14063
b14e3e21 140642011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14065
14066 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14067 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14068 (mouse-avoidance-mode): Fix typos in docstrings.
14069
4525ce3e
CY
140702011-03-19 Chong Yidong <cyd@stupidchicken.com>
14071
14072 * startup.el (package-subdirectory-regexp): Move from package.el.
14073 Omit \\` and \\', and let callers add them.
14074
14075 * emacs-lisp/package.el (package-strip-version)
14076 (package-load-all-descriptors): Add \\` and \\' to
14077 package-subdirectory-regexp before using it.
14078 (package-untar-buffer): New arg DIR; ensure that file untars only
14079 into this expected directory. Remove superfluous delete-region.
14080 (package-unpack): Caller changed.
14081 (package-tar-file-info): Use package-subdirectory-regexp.
14082
a904a09a 140832011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14084
a904a09a
SM
14085 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14086 diff-mode-shared-map (bug#8284).
14087 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14088
140892011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14090
14091 * calendar/time-date.el (format-seconds): Use assoc instead of
14092 assoc-string, since assoc-string doesn't exist in XEmacs.
14093
171fc304
JB
140942011-03-17 Juanma Barranquero <lekktu@gmail.com>
14095
14096 * custom.el (custom-known-themes): Reflow docstring.
14097 (custom-theme-load-path): Fix typo in docstring.
14098 (load-theme): Fix typo in error message.
14099 (custom-available-themes, custom-variable-theme-value):
14100 Use `let', not `let*'.
14101
d71990a1
JB
141022011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14103
14104 * calc/README: Mention inclusion of musical notes.
14105
14106 * calc/calc-units.el (calc-lu-quant): Rename from
14107 `calc-logunits-quantity'.
14108 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14109 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14110 (calc-db): Rename from `calc-dblevel'.
14111 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14112 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14113 (calc-np): Rename from `calc-nplevel'.
14114 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14115 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14116 (calc-lu-plus): Rename from `calc-logunits-add'.
14117 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14118 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14119 (calc-lu-minus): Rename from `calc-logunits-sub'.
14120 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14121 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14122 (calc-lu-times): Rename from `calc-logunits-mul'.
14123 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14124 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14125 (calc-lu-divide): Rename from `calc-logunits-div'.
14126 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14127 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14128
14129 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14130 functions being autoloaded.
14131
14132 * calc/calc.el (calc-lu-power-reference): Rename from
14133 `calc-logunits-power-reference'.
14134 (calc-lu-field-reference): Rename from
14135 `calc-logunits-field-reference'.
14136
7a71b18d
GM
14137 * calc/calc-help.el (calc-l-prefix-help):
14138 Mention musical note functions.
d71990a1 14139
40c2934b
SM
141402011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 * minibuffer.el (completion-all-sorted-completions):
14143 Use :completion-cycle-penalty text property if present.
14144
b0911414
KM
141452011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14146
14147 * allout.el (allout-yank-processing): Adjust for new rebulleting
14148 regime so bullet being yanked is used without prompting the user
14149 for a choice.
14150
8a05b668
JB
141512011-03-16 Juanma Barranquero <lekktu@gmail.com>
14152
14153 * startup.el (command-line): Warn the user that _emacs is deprecated.
14154
5ba5fb81
JB
141552011-03-16 Juanma Barranquero <lekktu@gmail.com>
14156
14157 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14158 (delphi-verbose, delphi-comment-face, delphi-string-face)
14159 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14160 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14161 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14162 (delphi-new-comment-line, delphi-font-lock-defaults)
14163 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14164 Fix typos in docstrings.
14165
2dab465b
KM
141662011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14167
5ba5fb81 14168 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14169 Invert the roles of character and string values for INSTEAD, so a
14170 string is used for the more common case of a defaulting prompt.
14171
0adf5618
SM
141722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * progmodes/ruby-mode.el (ruby-backward-sexp):
14175 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14176 * play/gamegrid.el (gamegrid-make-face):
14177 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14178 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14179 * notifications.el (notifications-notify):
14180 * net/xesam.el (xesam-search-engines):
14181 * net/quickurl.el (quickurl-list-insert):
14182 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14183
d72700e5
CY
141842011-03-15 Chong Yidong <cyd@stupidchicken.com>
14185
14186 * startup.el (command-line): Update package subdirectory regexp.
14187
49c5410a
SM
141882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14189
c6eee9aa
SM
14190 * allout.el (allout-abbreviate-flattened-numbering)
14191 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14192
49c5410a
SM
14193 * subr.el (read-char-choice): Only show the cursor after the prompt,
14194 not after the answer.
14195
047b2bb9
KR
141962011-03-15 Kevin Ryde <user42@zip.com.au>
14197
14198 * help-fns.el (variable-at-point): Skip leading quotes, if any
14199 (bug#8253).
14200
0a57d256
SM
142012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14202
14203 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14204 warning message.
14205
77c992bc
MA
142062011-03-14 Michael Albinus <michael.albinus@gmx.de>
14207
14208 * shell.el (shell): When called interactively, offer to change the
14209 shell file name on remote hosts.
14210
eebc475d
TZ
142112011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14212
14213 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14214 integration for LDAP parameters. The host, base, user or binddn,
14215 and secret tokens can be specified in a netrc file, for instance.
14216 This is optional because an `auth-source' parameter must be
14217 specified in the search attributes.
14218
9d05d1ba
JB
142192011-03-13 Juanma Barranquero <lekktu@gmail.com>
14220
14221 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14222
09d9db2c
GM
142232011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14224
14225 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14226 into declaration. Remove redundant and harmful binding.
14227
142282011-03-12 Eli Zaretskii <eliz@gnu.org>
14229
14230 * files.el (file-ownership-preserved-p): Pass `integer' as an
14231 explicit 2nd argument to `file-attributes'. If the file's owner
14232 is the Administrators group on Windows, and the current user is
14233 Administrator, consider that a match.
14234
14235 * server.el (server-ensure-safe-dir): Consider server directory
14236 safe on MS-Windows if its owner is the Administrators group while
14237 the current Emacs user is Administrator. Use `=' to compare
14238 numerical UIDs, since they could be integers or floats.
14239
219bd536
JB
142402011-03-12 Juanma Barranquero <lekktu@gmail.com>
14241
14242 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14243
f3afd36b
MA
142442011-03-12 Michael Albinus <michael.albinus@gmx.de>
14245
14246 Sync with Tramp 2.2.1.
14247
14248 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14249
14250 * net/trampver.el: Update release number.
14251
3aaaa6f1
SM
142522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14253
94642599
SM
14254 * progmodes/compile.el (compilation--previous-directory): Fix up
14255 various nil/dead-marker mismatches (bug#8014).
14256 (compilation-directory-properties, compilation-error-properties):
14257 Don't call it at a position past the one we're about to change.
14258
3aaaa6f1
SM
14259 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14260 Disable obsolescence warnings in the file that declares it.
14261
14239447
KM
142622011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14263
099c39a4
JB
14264 * allout-widgets.el (allout-widgets-tally):
14265 Initialize allout-widgets-tally as a hash table rather than nil to
14266 prevent mode-line redisplay warnings. Also, clarify the module
14267 description and fix a comment typo.
14239447 14268
135e287c
JB
142692011-03-11 Juanma Barranquero <lekktu@gmail.com>
14270
14271 * help-fns.el (describe-variable): Don't complete keywords.
14272 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14273
ffbf300e
CY
142742011-03-10 Chong Yidong <cyd@stupidchicken.com>
14275
ba08b241
CY
14276 * emacs-lisp/package.el (package-version-join): Impose a standard
14277 string representation for pre/alpha/beta version lists.
14278 (package-unpack-single): Standardize the directory name by passing
14279 it through package-version-join.
14280 (package-strip-rcs-id): Accept any version string that does not
14281 signal an error in version-to-list.
ffbf300e 14282
f346fd6b
MA
142832011-03-10 Michael Albinus <michael.albinus@gmx.de>
14284
14285 * simple.el (delete-trailing-whitespace): Return nil for the
14286 benefit of `write-file-functions'.
14287
ccb55d27
GM
142882011-03-10 Glenn Morris <rgm@gnu.org>
14289
5ceaac0c
GM
14290 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14291
02da65ff
GM
14292 * vc/vc-git.el (vc-git-program): New option.
14293 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14294 (vc-git--call): Use it.
14295
b2f603cc
GM
14296 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14297
5772caab
GM
14298 * cus-edit.el (Custom-newline): If no button at point, look
14299 for a subgroup button at start-of-line. (Bug#2298)
14300
ccb55d27
GM
14301 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14302
ec6ecaed
JD
143032011-03-10 Julien Danjou <julien@danjou.info>
14304
14305 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14306 `cursor-type' is nil.
14307
9d5aa01d
JB
143082011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14309
14310 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14311
b6a5875b
KM
143122011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14313
7a71b18d 14314 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14315 preserves the existing header prefix, rebulleting it if necessary,
14316 rather than replacing it. This is necessary for proper operation
14317 of cooperative addons like allout-widgets.
1154d12e
JB
14318 (allout-make-topic-prefix, allout-rebullet-heading):
14319 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14320 value as alternate bullet to be used, instead of prompting the user
14321 for a bullet character.
b6a5875b 14322
ee545c35
MA
143232011-03-09 Michael Albinus <michael.albinus@gmx.de>
14324
d86d2721
SM
14325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14326 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14327 `tramp-default-port'.
14328
c47971d7
DD
143292011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14330
14331 * net/rcirc.el (rcirc-handler-001): Remove useless
14332 with-rcirc-process-buffer.
14333 (rcirc-check-auth-status): Swap arguments to string-match.
14334
13522cb4
GM
143352011-03-09 Glenn Morris <rgm@gnu.org>
14336
0be6f4f1
GM
14337 * shell.el (shell-mode):
14338 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14339
13522cb4
GM
14340 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14341 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14342
515de2e3
CY
143432011-03-08 Chong Yidong <cyd@stupidchicken.com>
14344
14345 * emacs-lisp/package.el (package-refresh-contents)
14346 (package-menu-execute): Use condition-case-no-debug.
14347
b511b994
MA
143482011-03-08 Michael Albinus <michael.albinus@gmx.de>
14349
14350 * simple.el (shell-command-to-string): Use `process-file'.
14351
14352 * emacs-lisp/package.el (package-tar-file-info): Handle also
14353 remote files.
14354
d86d2721
SM
14355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14356 Use `equal' for upload base check.
b511b994 14357
25bbfb31
AM
143582011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14359
14360 * textmodes/texinfo.el (texinfo-environments):
14361 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14362
be996521
GM
143632011-03-08 Glenn Morris <rgm@gnu.org>
14364
e9c8529f
GM
14365 * cus-start.el (cursor-in-non-selected-windows):
14366 Fix :set quoting oddness. (Bug#8192)
14367
be996521
GM
14368 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14369 in some setf expressions. (Bug#2159)
14370
2bb5649e
CY
143712011-03-08 Chong Yidong <cyd@stupidchicken.com>
14372
14373 * custom.el (custom-available-themes): Return themes in
14374 alphabetical order.
14375
33383987 14376See ChangeLog.15 for earlier changes.
e3d51b27
MR
14377
14378;; Local Variables:
14379;; coding: utf-8
e3d51b27
MR
14380;; End:
14381
acaf905b 14382 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14383
14384 This file is part of GNU Emacs.
14385
14386 GNU Emacs is free software: you can redistribute it and/or modify
14387 it under the terms of the GNU General Public License as published by
14388 the Free Software Foundation, either version 3 of the License, or
14389 (at your option) any later version.
14390
14391 GNU Emacs is distributed in the hope that it will be useful,
14392 but WITHOUT ANY WARRANTY; without even the implied warranty of
14393 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14394 GNU General Public License for more details.
14395
14396 You should have received a copy of the GNU General Public License
14397 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.