Remove --disable-maintainer-mode option from 'configure'. (Bug#11555)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bd56924f
MR
12012-06-01 Martin Rudalics <rudalics@gmx.at>
2
3 * simple.el (choose-completion): Remove now obsolete binding for
4 owindow.
5
046e38ce
MA
62012-06-01 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9 in order to avoid "Stack overflow in regexp matcher".
10
32d72c2f
GM
112012-05-31 Glenn Morris <rgm@gnu.org>
12
13 * image.el: For clarity, call imagemagick-register-types at
14 top-level, rather than relying on a custom :initialize.
15 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
16 (imagemagick-filter-types): New function. (Bug#7406)
17 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
18 If disabling support, remove elements altogether rather
19 than using an impossible regexp.
20 (imagemagick-types-inhibit): Give it the default init function.
21
dd41169b
SM
222012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
25 arbitrary file name lengths (Bug#11585).
26
efc00ab1 272012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
28
29 * desktop.el (desktop-read): Clear previous and next buffers for
30 all windows and bury *Messages* buffer (bug#11556).
31
500fcedc
SM
322012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 Add `declare' for `defun'. Align `defmacro's with it.
35 * emacs-lisp/easy-mmode.el (define-minor-mode)
36 (define-globalized-minor-mode): Don't autoload the var definitions.
37 * emacs-lisp/byte-run.el: Use lexical-binding.
38 (defun-declarations-alist, macro-declarations-alist): New vars.
39 (defmacro, defun): Use them.
40 (make-obsolete, define-obsolete-function-alias)
41 (make-obsolete-variable, define-obsolete-variable-alias):
42 Use `declare'.
43 (macro-declaration-function): Mark obsolete.
44 * emacs-lisp/autoload.el: Use lexical-binding.
45 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
46
6e8a1786
AM
472012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
48
49 * textmodes/ispell.el (ispell-with-no-warnings):
50 Define as a macro.
500fcedc
SM
51 (ispell-kill-ispell, ispell-change-dictionary):
52 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
53 `interactive-p'.
54
61b108cc
SM
552012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
58 (macro-declaration-function): Move var from C code.
59 (macro-declaration-function): Define function with defalias.
60 * emacs-lisp/macroexp.el (macroexpand-all-1):
61 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
62 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
63 defun/defmacro any more.
64 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
65 Provide fallback for unknown arglist.
66 (byte-compile-arglist-warn): Change calling convention.
67 (byte-compile-output-file-form): Move print-vars binding.
68 (byte-compile-output-docform): Simplify accordingly.
69 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
70 (byte-compile-defmacro-declaration): Remove.
71 (byte-compile-file-form-defmumble): Generalize to defalias.
72 (byte-compile-output-as-comment): Return byte-positions.
73 Simplify callers accordingly.
74 (byte-compile-lambda): Use `assert'.
75 (byte-compile-defun, byte-compile-defmacro): Remove.
76 (byte-compile-file-form-defalias):
77 Use byte-compile-file-form-defmumble.
78 (byte-compile-defalias-warn): Remove.
79
6d3f7c2f
SM
802012-05-29 Stefan Merten <smerten@oekonux.de>
81
82 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 83 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
84
85 (rst-mode-abbrev-table): Merge definition.
86 (rst-mode): Make sure `font-lock-defaults' is buffer local.
87 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
88
6dbaa1c7
UJ
892012-05-29 Ulf Jasper <ulf.jasper@web.de>
90
91 * calendar/icalendar.el
92 (icalendar-export-region): Export UID properly.
93
942012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
95 * calendar/icalendar.el (icalendar-import-format):
96 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
97 (icalendar-import-format-uid): New.
98 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
99 Export UID.
100
6876a58d
SM
1012012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
104 different alternative patterns.
105 (pcase-codegen): Be more careful to preserve identity.
106 (pcase--u1): Don't forget to mark vars as used.
107
108 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
109 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
110 (byte-compile-from-buffer): ...rather than here.
111
112 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
113 functions from byte-compile-function-environment.
114
46b7967e
TN
1152012-05-29 Troels Nielsen <bn.troels@gmail.com>
116
117 * window.el (window-deletable-p): Avoid deleting the root window
118 of a frame with an active minibuffer.
119
69d565e2
MR
1202012-05-29 Martin Rudalics <rudalics@gmx.at>
121
122 * simple.el (choose-completion): Use quit-window (Bug#11567).
123
a149fa51
CY
1242012-05-29 Chong Yidong <cyd@gnu.org>
125
126 * whitespace.el (whitespace-cleanup): Fix usage of
127 whitespace-empty-at-bob-regexp (Bug#11492).
128
2b311310
AH
1292012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
130
131 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
132 revert (Bug#11488).
133
b9cb2387
JL
1342012-05-29 Juri Linkov <juri@jurta.org>
135
136 * isearch.el (isearch-mode-map): Bind `M-s _' to
137 `isearch-toggle-symbol'. Bind `M-s c' to
138 `isearch-toggle-case-fold'.
139 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
140 (isearch-forward): Add `M-s _' to the docstring.
141 (isearch-forward-symbol, isearch-toggle-case-fold)
142 (isearch-symbol-regexp): New functions. (Bug#11381)
143
d5e61c1c
JL
1442012-05-29 Juri Linkov <juri@jurta.org>
145
146 * isearch.el (isearch-word): Add docstring. (Bug#11381)
147 (isearch-occur, isearch-search-and-update): If `isearch-word' is
148 a function, call it to get the regexp.
149 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
150 property `isearch-message-prefix' instead of the string "word ".
151 (isearch-search-fun-default): For the case of `isearch-word',
152 return a lambda that calls re-search-forward/re-search-backward
153 with a regexp returned by `word-search-regexp' or by the function
154 in `isearch-word'.
155
8cbd80f7
JL
1562012-05-29 Juri Linkov <juri@jurta.org>
157
158 * isearch.el (isearch-search-fun-default): New function.
159 (isearch-search-fun): Move default part to the new function
160 `isearch-search-fun-default'.
161 (isearch-search-fun-function): Set the default value to
162 `isearch-search-fun-default'. (Bug#11381)
163
164 * comint.el (comint-history-isearch-end):
165 Use `isearch-search-fun-default'.
166 (comint-history-isearch-search): Use `isearch-search-fun-default'
167 and remove spacial case for `isearch-word'.
168 (comint-history-isearch-wrap): Remove spacial case for
169 `isearch-word'.
170
171 * hexl.el (hexl-isearch-search-function):
172 Use `isearch-search-fun-default'.
173
174 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
175 Use `word-search-regexp' for `isearch-word'.
176
177 * misearch.el (multi-isearch-search-fun):
178 Use `isearch-search-fun-default'.
179
180 * simple.el (minibuffer-history-isearch-search):
181 Use `isearch-search-fun-default' and remove spacial case for
182 `isearch-word'.
183 (minibuffer-history-isearch-wrap): Remove spacial case for
184 `isearch-word'.
185
186 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
187 Remove spacial case for `isearch-word'.
188 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
189
85c8c5b6
AM
1902012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
191
192 Decrease XEmacs incompatibilities.
193 * textmodes/flyspell.el (flyspell-check-pre-word-p):
194 Use `string-match'.
195 (flyspell-delete-region-overlays): Use alternative definition for
196 XEmacs.
197 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
198 (flyspell-word): Use `process-kill-without-query' if XEmacs.
199 (flyspell-mode-on): Use `interactive-p' if XEmacs.
200 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
201 `define-obsolete-face-alias' under XEmacs, but old method.
202
203 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
204 `with-no-warnings' definition or Emacs alias.
205 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
206 (ispell-word): Do not use `region-p' if XEmacs.
207
8cab9efc
AM
2082012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
209
210 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
211 Check for `ispell-dictionary-base-alist' instead of full
212 `ispell-dictionary-alist'.
213 (ispell-init-process): Show spellchecker when starting new Ispell
214 process.
215
fda91268
RZ
2162012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
219 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
220
694ea8e3
JB
2212012-05-27 Juanma Barranquero <lekktu@gmail.com>
222
223 * version.el (motif-version-string, gtk-version-string)
224 (ns-version-string): Declare.
225
e4d4f539
JL
2262012-05-27 Juri Linkov <juri@jurta.org>
227
228 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
229 after the `eval-defun-1' specialcaseing
230 like in `edebug-eval-defun' (bug#10181).
231
232 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
233 like in `eval-defun-1'.
234
33017faf 2352012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 236
fda91268
RZ
237 * mail/sendmail.el (mail-yank-region):
238 Recognize rmail-yank-current-message in addition to insert-buffer.
239 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
240 a *mail* buffer created through rmail-start-mail with sendmail as
241 mail-user-agent.
242
33017faf
GM
2432012-05-27 Chong Yidong <cyd@gnu.org>
244
245 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
246 Default to 256 (Bug#11267).
247
248 * help.el (describe-mode): Doc fix.
249
04188bb9
GM
2502012-05-26 Glenn Morris <rgm@gnu.org>
251
38264cc9
GM
252 * w32-fns.el (w32-init-info): Remove.
253 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
254
eb7afdad
GM
255 * info.el (info-initialize): For self-contained NS builds, put the
256 included info/ directory at the front. (Bug#2791)
257
04188bb9
GM
258 * paths.el (Info-default-directory-list): Make it a defcustom,
259 mainly so that we can use custom-initialize-delay.
260
a179e3f7
SM
2612012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
262
43416392
SM
263 * subr.el (buffer-has-markers-at): Mark obsolete.
264
a179e3f7 265 * subr.el (lambda): Use declare.
43416392 266
a179e3f7
SM
267 * emacs-lisp/lisp-mode.el (lambda):
268 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
269
34a008d9
AH
2702012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
271
272 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
273
0a3b289f
GM
2742012-05-26 Glenn Morris <rgm@gnu.org>
275
276 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
277
758c81e8
GM
2782012-05-25 Glenn Morris <rgm@gnu.org>
279
f9f334f0
GM
280 * paths.el: Remove no-byte-compile.
281 * loadup.el: No need to load paths.el uncompiled.
282
87eb79c2
GM
283 * image.el (imagemagick-types-inhibit): Doc fix.
284
758c81e8
GM
285 * version.el: Remove no-byte-compile and associated formatting.
286 * loadup.el: No need to load version.el uncompiled. AFAICS, this
287 is ancient code from when there was an "inc-vers.el".
288
e7e85dc0
SM
2892012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * progmodes/gdb-mi.el: Minor style changes.
292 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
293 Turn into minor modes.
294 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
295 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
296 (gdb-shell): Remove unneeded let-binding.
297 (gdb-get-many-fields): Eliminate O(n²) behavior.
298
f31237a4
EZ
2992012-05-25 Eli Zaretskii <eliz@gnu.org>
300
301 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
302 platforms that don't link in fontset.c.
303
bc1b21bb
JL
3042012-05-25 Juri Linkov <juri@jurta.org>
305
306 Use the same diff color scheme as in modern VCSes (bug#10181).
307
308 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
309 to avoid confusion with `diff-added' that now uses green colors.
310 (diff-removed): Use shades of red.
311 (diff-added): Use shades of green.
312 (diff-changed): Leave just the yellow color.
313 (diff-use-changed-face): New variable.
314 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
315 how to highlight context diff changes.
316 (diff-refine-change): Use shades of yellow.
317 (diff-refine-removed): New face that uses shades of red.
318 (diff-refine-added): New face that uses shades of green.
319 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
320 `diff-refine-removed' in the call to `smerge-refine-subst'
321 depending on the value of `diff-use-changed-face'.
322
323 * vc/smerge-mode.el (smerge-mine): Use shades of red.
324 (smerge-other): Use shades of green.
325 (smerge-base): Use shades of yellow.
326 (smerge-refined-change): Empty face.
327 (smerge-refined-removed): New face that uses shades of red.
328 (smerge-refined-added): New face that uses shades of green.
329 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
330 args `props-r' and `props-a', and use them. Doc fix.
331 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
332 on its value use different faces `smerge-refined-change',
333 `smerge-refined-removed', `smerge-refined-added' in the call to
334 `smerge-refine-subst'.
335
336 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
337 Add face condition `min-colors 88' with shades of red.
338 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
339 `min-colors 88' with shades of green.
340 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
341 `min-colors 88' with shades of yellow.
342
6df9112c
GM
3432012-05-24 Glenn Morris <rgm@gnu.org>
344
ead5edc0
GM
345 * paths.el (prune-directory-list, remote-shell-program): Move to...
346 * files.el (prune-directory-list, remote-shell-program): ...here.
347 For the latter, delay initialization, prefer ssh, just search PATH.
348
f18b81e6
GM
349 * paths.el (term-file-prefix): Move to faces.el (the only user).
350 * faces.el (term-file-prefix): Move here, make it a defcustom.
351
ee2f89a6
GM
352 * paths.el (news-directory, news-path, news-inews-program):
353 Move to gnus/nnspool.el.
61a583ca 354
f8815e4c
GM
355 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
356
c8f3b42c
GM
357 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
358 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
359 Make the latter a defcustom, with a delayed initialization.
360
6df9112c
GM
361 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
362 These were deleted from Gnus itself late 2010.
363
5dadff36
JB
3642012-05-22 Juanma Barranquero <lekktu@gmail.com>
365
9e1701c6
JB
366 * progmodes/which-func.el (which-func-ff-hook):
367 Check against user-error, not error.
368
bd7239f5 369 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
370 cl-specs.el, which no longer exists.
371
3290526d
GM
3722012-05-22 Glenn Morris <rgm@gnu.org>
373
374 * info.el (info-emacs-bug): New command.
375 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
376 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
377
ff0c3cfb
GM
3782012-05-21 Glenn Morris <rgm@gnu.org>
379
380 * makefile.w32-in (update-subdirs-SH):
381 * Makefile.in (update-subdirs): Update for moved update-subdirs.
382
5814f126
SM
3832012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
384
a52c0aa0
SM
385 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
386
5814f126
SM
387 * progmodes/compile.el (compilation-error-regexp-alist-alist):
388 Simplify Maven regexp, and make sure the file can't start with a space
389 (bug#11517).
390
b847032c
GM
3912012-05-21 Glenn Morris <rgm@gnu.org>
392
393 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
394 Scrap superfluous subshells.
395
3858bfe7
SM
3962012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
399 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
400
d14b0029
JB
4012012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
402
403 * calc/calc.el (calc-ensure-consistent-units): New variable.
404
a52c0aa0
SM
405 * calc/calc-units.el (math-consistent-units-p)
406 (math-check-unit-consistency): New functions.
407 (calc-quick-units, calc-convert-units):
408 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
409 is non-nil.
d14b0029
JB
410 (calc-extract-units): Fix typo.
411
60c4db3a
SM
4122012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
413
77f3b62e
SM
414 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
415
60c4db3a
SM
416 * textmodes/flyspell.el: Commenting style, plus code simplifications.
417 (flyspell-default-deplacement-commands): Don't spell check after
418 repeated window/frame switches (e.g. triggered by mouse-movement).
419 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
420 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
421 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
422 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
423 Remove unused vars.
424 (flyspell-get-casechars, flyspell-get-not-casechars):
425 Simplify; Don't bother removing a ] just to add it back.
426 * textmodes/ispell.el (ispell-program-name): Use executable-find.
427
b1a10716
RS
4282012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
429
430 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
431 New functions.
bd7239f5 432 (math-function-table): Add support for more C functions.
b1a10716 433
3f1b25b5
AM
4342012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
435
436 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
437 (flyspell-debug-signal-word-checked): Protect delay handling for
438 otherchars against empty otherchars.
439
b581bb5c
SM
4402012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
443 their respective macro declarations.
444 * skeleton.el (define-skeleton):
445 * progmodes/compile.el (define-compilation-mode):
446 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
447 (define-ibuffer-filter):
448 * emacs-lisp/generic.el (define-generic-mode):
449 * emacs-lisp/easy-mmode.el (define-minor-mode)
450 (define-globalized-minor-mode):
451 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
452 * emacs-lisp/byte-run.el (defsubst):
453 * custom.el (deftheme): Add doc-string metadata.
454
70b8ef8f
SM
4552012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
458
b1198e17
SM
4592012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
460
9abdc45d
SM
461 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
462
b1198e17
SM
463 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
464 * emacs-lisp/cl-macs.el: Idem.
465 * emacs-lisp/cl-specs.el: Remove.
466
4735906a
SM
4672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 Minor renaming of internal CL functions and variables.
470 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
471 (cl--position): Rename from cl-position.
472 (cl--delete-duplicates): Rename from cl-delete-duplicates.
473 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
474 (cl--random-state): Rename from *random-state*.
475
ac348012
SM
4762012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
479 parens around the arg list (bug#11499).
480
a0a79cde
JL
4812012-05-17 Juri Linkov <juri@jurta.org>
482
483 * isearch.el (word-search-regexp, word-search-backward)
484 (word-search-forward, word-search-backward-lax)
485 (word-search-forward-lax): Move functions from search.c
486 (bug#10145, bug#11381).
487
65034a51
AM
4882012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
489
490 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
491 (flyspell-debug-signal-word-checked): Delay for otherchars as for
492 normal word components.
493
1a72a195
SM
4942012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * minibuffer.el (completion--sifn-requote): Fix last change.
497 (minibuffer-local-must-match-filename-map):
498 Move define-obsolete-variable-alias before its var.
499
fdb058c2
SM
5002012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
501
c41045e6
SM
502 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
503
036dfb8b
SM
504 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
505 behavior.
506 (completion--string-equal-p): New function.
507 (completion--twq-all): Use it to get better assertion failure data.
508
2473256d
SM
509 Only handle ".." and '..' quoting in shell-mode (bug#11466).
510 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
511 (shell--requote-argument): New functions.
512 (shell-completion-vars): Use them.
513 (shell--parse-pcomplete-arguments): Rename from
514 shell-parse-pcomplete-arguments.
515 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
516 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
517 Obey comint-file-name-quote-list.
518
fdb058c2
SM
519 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
520 (smie-indent-keyword): Use it.
521
51fa99f1
SM
5222012-05-14 Stefan Merten <smerten@oekonux.de>
523
524 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
525
e18afed7 5262012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
527
528 * net/rlogin.el (rlogin-mode-map): Fix last change.
529
e18afed7 5302012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
531
532 * mail/smtpmail.el (smtpmail-send-command): Send the command and
533 the following \r\n using a single `process-send-string', since the
534 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 535 with two `process-send-string's (Bug#11444).
8633b1f4 536
e18afed7 5372012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 538
fdb058c2
SM
539 * shell.el (shell-parse-pcomplete-arguments):
540 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 541
2d21d7f6
WJ
5422012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
543
e18afed7 544 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
545 (image-transform-scale, image-transform-right-angle-fudge): New vars.
546 (image-transform-width, image-transform-fit-width): New functions.
547 (image-transform-properties): Use them.
548 (image-transform-check-size): New function.
549 (image-toggle-display-image): Use it (for testing).
550 (image-transform-set-rotation): Reduce angle mod 360.
551 Delete obsolete comment.
552
7102e6d0
WJ
5532012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
554
555 * image-mode.el: Fix scaling (bug#11399).
556 (image-transform-resize): Doc fix.
557 (image-transform-properties): Default scale is 1 and height should
558 be an integer.
559
06bc5e6e
SM
5602012-05-13 Johan Bockgård <bojohan@gnu.org>
561
562 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
563 than hard-coding `car', to fix misbehavior when moving forward.
564
0ae03b6a
CY
5652012-05-13 Chong Yidong <cyd@gnu.org>
566
567 * emacs-lisp/tabulated-list.el (tabulated-list-format)
568 (tabulated-list-entries, tabulated-list-padding)
569 (tabulated-list-sort-key): Make permanent-local.
570
571 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
572 (electric-buffer-list): Put electric buffer menu
573 command descriptions in this docstring, instead of the docstring
574 of electric-buffer-menu-mode. Code cleanups.
575 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
576 Electric-buffer-menu-mode.
577 (electric-buffer-update-highlight): Minor code cleanup.
578
205a7391
MA
5792012-05-13 Michael Albinus <michael.albinus@gmx.de>
580
581 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
582 (Bug#11447)
583
e5bd0a28
SM
5842012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 Move define-obsolete-variable-alias before the var's definition.
587 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
588 * tooltip.el (tooltip-hook):
589 * textmodes/reftex-toc.el (reftex-toc-map):
590 * textmodes/reftex-sel.el (reftex-select-label-map)
591 (reftex-select-bib-map):
592 * textmodes/reftex-index.el (reftex-index-map)
593 (reftex-index-phrases-map):
594 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
595 * progmodes/meta-mode.el (meta-mode-map):
596 * novice.el (disabled-command-hook):
597 * loadhist.el (unload-hook-features-list):
598 * frame.el (blink-cursor):
599 * files.el (find-file-not-found-hooks, write-file-hooks)
600 (write-contents-hooks):
601 * emulation/tpu-edt.el (GOLD-map):
602 * emacs-lock.el (emacs-lock-from-exiting):
603 * emacs-lisp/generic.el (generic-font-lock-defaults):
604 * emacs-lisp/chart.el (chart-map):
605 * dos-fns.el (register-name-alist):
606 * dired-x.el (dired-omit-files-p):
607 * desktop.el (desktop-enable):
608 * cus-edit.el (custom-mode-hook):
609 * buff-menu.el (buffer-menu-mode-hook):
610 * bookmark.el (bookmark-read-annotation-text-func)
611 (bookmark-exit-hooks):
612 * allout.el (allout-mode-deactivate-hook)
613 (allout-exposure-change-hook, allout-structure-added-hook)
614 (allout-structure-deleted-hook, allout-structure-shifted-hook):
615 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
616 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
617 comes before the corresponding variable's definition.
618
ac59c2f6
CY
6192012-05-12 Chong Yidong <cyd@gnu.org>
620
621 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
622 (Buffer-menu-mouse-select): Restore function (Bug#11459).
623 (Buffer-menu-mode-map): Bind it.
624 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 625
dee6c9a3
SM
6262012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
627
2171cea5
SM
628 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
629 (prolog-upper-case-string, prolog-lower-case-string)
630 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
631 (prolog-use-smie, prolog-smie-grammar): New vars.
632 (prolog-smie-forward-token, prolog-smie-backward-token)
633 (prolog-smie-rules): New funs.
634 (prolog-comment-indent): Remove.
635 (prolog-mode-variables): Use default comment indentation instead.
636 Setup SMIE.
637 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
638 (prolog-mode): Don't call them any more.
639 (prolog-electric-colon, prolog-electric-dash)
640 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
641
aa0382bd
SM
642 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
643
dbacb4bd
SM
644 * minibuffer.el (completion--twq-all): Again, allow case differences.
645
13bdd94c
SM
646 * term.el: Move keymap initialization code to be more idiomatic.
647 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
648 (term-terminal-menu): Move initialization into declaration.
649 (term-escape-char): Let the user set it in her .emacs.
650
ff46c759
SM
651 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
652 Provide SMIE-based indentation (not enabled by default yet).
653 (sh-mode-map): Don't bind electric keys.
654 Use electric-pair-mode instead of skeleton-pair.
655 (sh-assignment-regexp): Fit within 80 columns.
656 (sh-indent-supported): Specify actual shell name instead of boolean.
657 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
658 (sh-maybe-here-document): Use it. Make obsolete.
659 (sh-electric-here-document-mode) New minor mode.
660 (sh-mode): Use it. Don't set sh-indent-supported-here here.
661 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
662 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
663 (sh-smie-rc-grammar, sh-use-smie): New vars.
664 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
665 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
666 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
667 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
668 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
669 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
670 (sh-set-shell): Use smie-setup if requested.
671
dee6c9a3
SM
672 * term.el (term-set-escape-char): Properly set term-escape-char.
673 See http://stackoverflow.com/questions/10524656.
674
9f9aa044
CY
6752012-05-10 Chong Yidong <cyd@gnu.org>
676
677 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
678 Use url-generic-parse-url, and handle host names and Windows
679 filenames properly.
680 (ffap-url-unwrap-remote): Use url-generic-parse-url.
681 (ffap-url-unwrap-remote): Accept list values, specifying a list of
682 URL schemes to work on.
683 (ffap--toggle-read-only): New function.
684 (ffap-read-only, ffap-read-only-other-window)
685 (ffap-read-only-other-frame): Use it.
686 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
687 necessary for ffap-url-unwrap-remote.
688
836d29b3
DA
6892012-05-10 Dave Abrahams <dave@boostpro.com>
690
691 * cus-start.el (create-lockfiles): Add it.
692
00fd78ed
CY
6932012-05-09 Chong Yidong <cyd@gnu.org>
694
695 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
696 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
697
666b903b 6982012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
699
700 * shell.el (shell-completion-vars): Fix last change (bug#11348).
701
666b903b 7022012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
703
704 * ansi-color.el (ansi-color-process-output): Check for validity of
705 comint-last-output-start before using it. This avoids a bad
706 interaction with gdb-mi's input/output buffer.
707
666b903b 7082012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
709
710 * files.el (dir-locals-read-from-file):
711 Mention dir-locals in any error message.
712
666b903b 7132012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
714
715 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
716 package (Bug#11410).
717
f677562b
CY
718 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
719 variables into description.
720
666b903b 7212012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
722
723 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
724 shell-delimiter-argument-list (bug#11348).
725 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
726
b499d8d0
JB
7272012-05-09 Juanma Barranquero <lekktu@gmail.com>
728
8f6b6da8
JB
729 * textmodes/rst.el: Silence byte-compiler warnings.
730 (rst-re-alist, rst-reset-section-caches): Move around.
731 (rst-re): Use `characterp', not `char-valid-p'.
732 (font-lock-beg, font-lock-end): Declare.
733
4824146a
JB
734 * progmodes/idlw-shell.el (specs): Remove reference to deleted
735 variable `idlwave-shell-activate-alt-keybindings' and simplify.
736
b499d8d0
JB
737 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
738
ad89bb83
GM
7392012-05-08 Glenn Morris <rgm@gnu.org>
740
741 * files.el (auto-mode-alist): Treat ".make" like ".mk".
742
8bba5a75
SM
7432012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
744
49ed9c8e
SM
745 * vc/log-edit.el: Add GNU coding standards highlighting.
746 (log-edit-font-lock-gnu-style)
747 (log-edit-font-lock-gnu-keywords): New vars.
748 (log-edit-font-lock-keywords): New fun.
749 (log-edit-mode): Don't fold case in font-lock.
750 (log-edit-font-lock-keywords): Do not assume case-folding.
751
07d00b56
SM
752 * imenu.el: Misc cleanup. Make docstrings out of comments.
753 Use lexical-binding.
754 (imenu--index-alist, imenu--last-menubar-index-alist)
755 (imenu-menubar-modified-tick): Use defvar-local.
756 (imenu--split-menu): Remove unused var.
757 (imenu--cleanup-seen): Declare as global.
758 (imenu--cleanup): Use dolist.
759
8bba5a75
SM
760 * subr.el (defvar-local): Add debug spec and doc-string position.
761
5075bdb5
GM
7622012-05-08 Glenn Morris <rgm@gnu.org>
763
c052c904
GM
764 * lisp/language/burmese.el, language/cham.el, language/czech.el:
765 * language/english.el, language/georgian.el, language/greek.el:
766 * language/japanese.el, language/khmer.el, language/korean.el:
767 * language/lao.el, language/misc-lang.el, language/romanian.el:
768 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
769 * language/thai.el, language/utf-8-lang.el:
770 Remove no-byte-compile setting.
771
5075bdb5
GM
772 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
773
06f679a7
AH
7742012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
775
776 * progmodes/make-mode.el (makefile-browse):
777 Remove unnecessary interactive. (Bug#11324)
778
03794570
GM
7792012-05-07 Glenn Morris <rgm@gnu.org>
780
af8630f4
GM
781 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
782
03794570
GM
783 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
784
f0809a9d
SM
7852012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
786
28be5ce7
SM
787 * loadup.el: Preload newcomment.el.
788 * newcomment.el: Move autoload-only code to toplevel.
789
f0809a9d
SM
790 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
791 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
792 Handle new :right-align column property.
793 (tabulated-list-print-col): Idem, plus use `display' text-property to
794 try and preserve alignment for variable pitch fonts.
795
1241b724
CY
7962012-05-07 Chong Yidong <cyd@gnu.org>
797
798 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
799 (tabulated-list-use-header-line): New var.
800 (tabulated-list-init-header): Use it.
801 (tabulated-list-print-fake-header): New function.
802 (tabulated-list-print): Use it.
803 (tabulated-list-sort-button-map): Add non-header-line commands.
804 (tabulated-list-init-header): Add column name property to basic
805 labels as well.
806 (tabulated-list-col-sort): Handle non-header-line button case.
807 (tabulated-list--sort-by-column-name): Fix a corner case.
808
f0809a9d
SM
809 * buff-menu.el (list-buffers--refresh):
810 Handle Buffer-menu-use-header-line.
1241b724 811
e5f9458f
CY
8122012-05-06 Chong Yidong <cyd@gnu.org>
813
814 * buff-menu.el: Convert to Tabulated List mode.
815 (Buffer-menu-buffer+size-width): Make obsolete.
816 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
817 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
818 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
819 documentation into docstring of buffer-menu.
820 (Buffer-menu-toggle-files-only): Add an informative message.
821 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
822 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
823 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
824 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
825 (Buffer-menu-execute, Buffer-menu-select)
826 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
827 (Buffer-menu-bury): Use Tabulated List machinery.
828 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
829 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 830 Delete.
e5f9458f
CY
831 (list-buffers--refresh): New function.
832 (list-buffers-noselect): Use it.
833 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
834 (Buffer-menu--pretty-file-name): New helper functions.
835
836 * loadup.el: Preload tabulated-list.
837
838 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
839 tabulated-list-sort-column.
840 (tabulated-list-init-header): Add the initial aligning space even
841 if tabulated-list-padding is zero.
842
e129292c
CS
8432012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
844
845 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
846 whose cdr is not a cons cell correctly (bug#11038).
847
6632d361
CY
8482012-05-06 Chong Yidong <cyd@gnu.org>
849
e129292c
CS
850 * emacs-lisp/tabulated-list.el (tabulated-list-format):
851 Accept additional plist in column descriptors.
6632d361
CY
852 (tabulated-list-init-header): Obey it.
853 (tabulated-list-get-entry): New function.
854 (tabulated-list-put-tag): Use it. Use string-width instead of
855 length.
856 (tabulated-list--column-number): New function.
857 (tabulated-list-print): Use it.
e129292c
CS
858 (tabulated-list-print-col): New function.
859 Set `tabulated-list-column-name' property on each column's text.
6632d361 860 (tabulated-list-print-entry): Use it.
e129292c
CS
861 (tabulated-list-delete-entry, tabulated-list-set-col):
862 New functions.
6632d361
CY
863 (tabulated-list-sort-column): New command (Bug#11337).
864
3cc99f68
CY
865 * buff-menu.el (list-buffers): Move C-x C-b binding from
866 buff-menu.el to bindings.el.
867
868 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
869 :advertised-binding feature.
870
52b61776
TN
8712012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
872
873 * progmodes/compile.el (compilation-internal-error-properties):
874 Calculate start position correctly when end-col is set but
875 end-line is not (Bug#11382).
876
ebfe2597
WJ
8772012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
878
879 * man.el (Man-unindent): Use text-property-default-nonsticky to
880 prevent untabify from inheriting face properties (Bug#11408).
881
6d3f7c2f
SM
8822012-05-05 Stefan Merten <smerten@oekonux.de>
883
884 * textmodes/rst.el: Major merge with upstream development up to
885 Docutils SVN r7399 / rst.el V1.2.1.
886
887 Clarify maintainership and authors.
888
889 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
890 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
891 (rst-official-version, rst-official-cvs-rev, rst-version)
892 (rst-package-emacs-version-alist): New functions and variables
893 for version information.
894
895 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
896 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
897 (rst-mode-syntax-table, rst-mode): New and corrected functions
898 and variables representing reStructuredText features.
899
900 (rst-re): New function for reStructuredText regexes. Use in
901 many places.
902
903 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
904 (rst-mode-map): Rebind keys.
905
906 (rst-mode-lazy, rst-font-lock-keywords)
907 (rst-font-lock-extend-region)
908 (rst-font-lock-extend-region-internal)
909 (rst-font-lock-extend-region-extend)
910 (rst-font-lock-find-unindented-line-limit)
911 (rst-font-lock-find-unindented-line-match)
912 (rst-adornment-level, rst-font-lock-adornment-level)
913 (rst-font-lock-adornment-match)
914 (rst-font-lock-handle-adornment-pre-match-form)
915 (rst-font-lock-handle-adornment-matcher): Major revision of
916 font-locking. Integrate with other code. Use `jit-lock-mode'.
917
918 (rst-preferred-adornments, rst-adjust-hook)
919 (rst-new-adornment-down, rst-preferred-bullets)
920 (rst-preferred-bullets, rst-indent, rst-indent-width)
921 (rst-indent-field, rst-indent-literal-normal)
922 (rst-indent-literal-minimized, rst-indent-comment): Change,
923 extend and improve customization.
924
925 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
926 (rst-normalize-cursor-position, rst-get-decoration)
927 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
928 (rst-rstrip, rst-toc-insert-find-delete-contents)
929 (rst-shift-fill-region, rst-compute-bullet-tabs)
930 (rst-debug-print-tabs, rst-debug-mark-found)
931 (rst-shift-region-guts, rst-shift-region-right)
932 (rst-shift-region-left, rst-use-char-classes)
933 (rst-font-lock-keywords-function)
934 (rst-font-lock-indentation-point)
935 (rst-font-lock-find-unindented-line-begin)
936 (rst-font-lock-find-unindented-line-end)
937 (rst-font-lock-find-unindented-line)
938 (rst-font-lock-adornment-point, rst-font-lock-level)
939 (rst-adornment-level-alist): Remove functions and variables.
940
941 (rst-compare-adornments, rst-get-adornment-match)
942 (rst-suggest-new-adornment, rst-get-adornments-around)
943 (rst-adornment-complete-p, rst-get-next-adornment)
944 (rst-adjust-adornment, rst-display-adornments-hierarchy)
945 (rst-straighten-adornments): Standardize function names to
946 use "adornment" instead of "decoration". Correct callers.
947 Similar standardizing in many places.
948
949 (rst-update-section, rst-adjust, rst-promote-region)
950 (rst-enumerate-region, rst-bullet-list-region)
951 (rst-repeat-last-character): Correct use of `interactive'.
952
953 (rst-classify-adornment, rst-find-all-adornments)
954 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
955 (rst-find-leftmost-column, rst-repeat-last-character):
956 Refactor functions.
957
958 (rst-find-title-line, rst-reset-section-caches)
959 (rst-get-adornments-around, rst-adjust-adornment-work)
960 (rst-arabic-to-roman, rst-roman-to-arabic)
961 (rst-insert-list-pos, rst-insert-list-new-item)
962 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
963 New functions.
964
965 (rst-all-sections, rst-section-hierarchy)
966 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
967 New variables.
968
969 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
970 configuration instead of only buffer. Change where necessary.
971
972 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
973 (rst-shift-region, rst-adaptive-fill): New functions for
974 indentation and filling.
975
976 (rst-comment-line-break, rst-comment-indent)
977 (rst-comment-insert-comment, rst-comment-region)
978 (rst-uncomment-region): New functions for handling comments.
979
980 (rst-compile): Quote shell arguments.
981
982 (rst-compile-pdf-preview, rst-compile-slides-preview):
983 Delete temporary files after use.
984
a43f98b3
GM
9852012-05-05 Glenn Morris <rgm@gnu.org>
986
48176e8b
GM
987 * calendar/cal-html.el: Optionally include holidays in the output.
988 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
989 (cal-html-holidays): New option.
990 (cal-html-css-default): Add holiday entry.
991 (holiday-in-range): Autoload it.
992 (cal-html-htmlify-entry): Add optional class argument.
993 (cal-html-htmlify-list): Add optional holidays argument.
994 (cal-html-insert-agenda-days): Include holidays in the output.
995 (cal-html-one-month): Maybe include holidays.
996
a43f98b3
GM
997 * calendar/holidays.el (holiday-in-range):
998 Move here from cal-tex-list-holidays.
999 * calendar/cal-tex.el (cal-tex-list-holidays):
1000 Make it an obsolete alias for holiday-in-range. Update all callers.
1001
fef9d149 10022012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1003
1004 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1005 Nextstep.
1006
248da2f4
RW
10072012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1008
1009 * files.el (file-auto-mode-skip): New var.
1010 (set-auto-mode-1): Use it.
1011
f95e9344
SM
10122012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1013
df96ab1e
SM
1014 * repeat.el: Use lexical-binding.
1015 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1016 (repeat-undo-count): Remove.
1017 (repeat):
1018 * progmodes/octave-mod.el (octave-abbrev-start):
1019 * progmodes/f90.el (f90-abbrev-start):
1020 * face-remap.el (text-scale-adjust):
1021 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1022
5342bb06
SM
1023 * emacs-lisp/pcase.el (pcase--let*): New function.
1024 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1025 a bit more.
1026 (pcase--split-pred): Be more clever about ruling out overlap between
1027 a predicate and some constant pattern.
1028 (pcase--q1): Use `null' instead of (eq foo nil).
1029
f95e9344
SM
1030 * subr.el (setq-local, defvar-local): New macros.
1031 (kbd): Redefine as an alias.
1032 (with-selected-window): Leave unrelated frames alone.
1033 (set-temporary-overlay-map): New function.
1034
71873e2b
SM
10352012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * subr.el (user-error): New function.
1038 * window.el (switch-to-buffer):
1039 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1040 (smerge-match-conflict):
1041 * simple.el (previous-matching-history-element)
1042 (next-matching-history-element, goto-history-element, undo-more)
1043 (undo-start):
1044 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1045 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1046 (next-file, tags-loop-scan, list-tags, complete-tag):
1047 * progmodes/compile.el (compilation-loop):
1048 * mouse.el (mouse-minibuffer-check):
1049 * man.el (Man-bgproc-sentinel, Man-goto-page):
1050 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1051 (Info-history-forward, Info-follow-reference, Info-menu)
1052 (Info-extract-menu-item, Info-extract-menu-counting)
1053 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1054 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1055 (Info-next-reference, Info-prev-reference, Info-index)
1056 (Info-index-next, Info-follow-nearest-node)
1057 (Info-copy-current-node-name):
1058 * imenu.el (imenu--make-index-alist)
1059 (imenu-default-create-index-function, imenu-add-to-menubar):
1060 * files.el (basic-save-buffer, recover-file):
1061 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1062 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1063 (checkdoc-message-text, checkdoc-defun):
1064 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1065 * cus-edit.el (customize-changed-options, customize-rogue)
1066 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1067 (custom-variable-mark-to-reset-standard)
1068 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1069 (custom-file):
1070 * completion.el (check-completion-length):
1071 * comint.el (comint-search-arg)
1072 (comint-previous-matching-input-string-position)
1073 (comint-previous-matching-input)
1074 (comint-replace-by-expanded-history-before-point, comint-send-input)
1075 (comint-copy-old-input, comint-backward-matching-input)
1076 (comint-goto-process-mark, comint-set-process-mark):
1077 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1078 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1079
8a61ee22
SM
10802012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1081
66408d1e
SM
1082 * dabbrev.el (dabbrev--ignore-case-p): New function.
1083 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1084 Use it.
1085
8a61ee22
SM
1086 * files.el (automount-dir-prefix): Mark as obsolete.
1087
3c74813a
GM
10882012-05-04 Glenn Morris <rgm@gnu.org>
1089
1090 * patcomp.el, play/bruce.el: Move to obsolete/.
1091
0bfcf5c5
PE
10922012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1093
1094 Fix minor Y10k bugs.
1095 * arc-mode.el (archive-unixdate):
1096 * autoinsert.el (auto-insert-alist):
1097 * calc/calc-forms.el (math-this-year):
1098 * emacs-lisp/copyright.el (copyright-current-year)
1099 (copyright-update-year, copyright):
1100 * tar-mode.el (tar-clip-time-string):
1101 * time.el (display-time-update):
1102 Don't assume years have 4 digits.
1103
78f3273a
CY
11042012-05-04 Chong Yidong <cyd@gnu.org>
1105
1106 * dos-w32.el (file-name-buffer-file-type-alist)
1107 (direct-print-region-use-command-dot-com):
1108 * ffap.el (ffap-menu-regexp):
1109 * find-file.el (ff-special-constructs):
1110 * follow.el (follow-debug):
1111 * forms.el (forms--debug):
1112 * iswitchb.el (iswitchb-all-frames):
1113 * ido.el (ido-all-frames):
1114 * emacs-lisp/timer.el (timer-max-repeats):
1115 * mail/feedmail.el (feedmail-mail-send-hook)
1116 (feedmail-mail-send-hook-queued):
1117 * mail/footnote.el (footnote-signature-separator):
1118 * mail/mailabbrev.el (mail-alias-separator-string)
1119 (mail-abbrev-mode-regexp):
1120 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1121 * progmodes/idlwave.el (idlwave-libinfo-file)
1122 (idlwave-default-completion-case-is-down)
1123 (idlwave-library-routines): Convert defvars to defcustoms.
1124
1125 * mail/rmail.el (rmail-decode-mime-charset):
1126 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1127 (idlwave-shell-fix-inserted-breaks)
1128 (idlwave-shell-activate-alt-keybindings)
1129 (idlwave-shell-use-breakpoint-glyph):
1130 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1131
f7ae6719
SM
11322012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1135
47086495
WS
11362012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1137
1138 * progmodes/verilog-mode.el (font-lock-keywords):
1139 Fix mis-highligting auto. Reported by Craig Barner.
1140 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1141 defines from global name space. Reported by Dan Dever.
1142 (verilog-auto-reset, verilog-auto-reset-widths)
1143 (verilog-auto-tieoff): Support using unbased numbers for
1144 AUTORESET and AUTOTIEOFF.
1145 (verilog-submit-bug-report): Update variable list.
1146 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1147 parenthesis from not matching. Reported by Michael Rytting.
1148 (verilog-auto-template-lint): Fix hash error when linting modules
1149 with no used templates.
1150 (verilog-warn, verilog-warn-error)
1151 (verilog-warn-fatal): When non-interactive report multiple
1152 warnings before exiting. Suggested by Brad Dobbie.
1153 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1154 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1155 to report unused template errors. Reported by Brad Dobbie.
1156 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1157 nets, bug438. Reported by Vns Blore.
1158 (verilog-auto-inout-module, verilog-auto-reg)
1159 (verilog-read-decls, verilog-read-sub-decls-sig)
1160 (verilog-signals-edit-wire-reg, verilog-signals-with):
1161 Fix passing of Verilog data types in ANSI input/output ports
1162 such as "output logic" into the AUTOs. Special case "wire" and
1163 "reg" for backwards compatibility presuming Verilog 2001.
1164 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1165 (verilog-preprocess): Fix replication of preprocess output.
1166 Reported by Brad Dobbie.
1167 (verilog-auto-inst-interfaced-ports):
1168 Create verilog-auto-inst-interfaced-ports, bug429.
1169 Reported by Julian Gorfajn.
1170 (verilog-after-save-font-hook)
1171 (verilog-before-save-font-hook): New variable.
1172 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1173 (verilog-save-font-mods): Wrap disabling fontification, reported
1174 by David Rogoff.
1175 (verilog-do-indent, verilog-pretty-declarations-auto)
1176 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1177 Reported by Pierre-David Pfister.
1178 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1179 of class declarations, bug292. Reported by Kevin Heilman.
1180 (verilog-read-decls): Fix 'parameter type' not appearing in
1181 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1182 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1183 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1184 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1185 Reported by David Kravitz.
1186
11872012-05-03 Michael McNamara <mac@mail.brushroad.com>
1188
1189 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1190 assignment with tests in ifs and for loops.
1191 (verilog-extended-complete-re, verilog-complete-reg): Change so
1192 that DPI inport functions don't look like fuction declarations.
1193 (verilog-pretty-expr): Don't line up assignment
1194 operations to the test and increment in if and for loops
1195 (verilog-extended-complete-re, verilog-complete-reg): Change so
1196 that DPI inport functions don't look like fuction declarations
1197
2e51d4b5
KH
11982012-05-03 Kenichi Handa <handa@m17n.org>
1199
1200 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1201 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1202 (Bug#11282).
1203
2bd785a2
SM
12042012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * emacs-lisp/bytecomp.el
1207 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1208 since cconv.el might have introduced :fun-body, internal-make-closure,
1209 and friends for bytecomp to handle (bug#11391).
1210 * custom.el (defcustom): Avoid ((λ ..) ..).
1211
99d27583
SM
12122012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1215
55a71479
JB
12162012-05-02 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * notifications.el (dbus-debug):
1219 * term/linux.el (gpm-mouse-enable):
1220 * term/screen.el (xterm-register-default-colors): Declare.
1221
7b97c764
CY
12222012-05-02 Chong Yidong <cyd@gnu.org>
1223
2bc356d7
CY
1224 * cus-start.el (gc-cons-percentage, exec-suffixes)
1225 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1226 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1227 (make-cursor-line-fully-visible, void-text-area-pointer)
1228 (font-list-limit): Add customization data.
1229
7b97c764
CY
1230 * allout.el (allout-exposure-change-functions)
1231 (allout-structure-added-functions)
1232 (allout-structure-deleted-functions)
1233 (allout-structure-shifted-functions): Rename abnormal hooks from
1234 *-hook, and convert to defcustoms.
5d3385a0
JB
1235 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1236 Convert to defcustoms.
7b97c764
CY
1237 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1238
1239 * allout-widgets.el: Hook callers changed.
1240
90207a15 12412012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1242
1243 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1244 the yanked message in preference to the default value of
1245 buffer-file-coding-system.
1246
90207a15 12472012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1248
5d3385a0
JB
1249 * window.el (display-buffer--action-function-custom-type):
1250 Fix entry.
d9558cad 1251
90207a15 12522012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1253
1254 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1255
d80ac57b
GM
12562012-05-01 Glenn Morris <rgm@gnu.org>
1257
976f7668
GM
1258 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1259
beb83b5a
GM
1260 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1261
d80ac57b
GM
1262 * cus-edit.el (custom-variable-documentation): Simplify with format.
1263
b593d6a9
AH
12642012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1265 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * simple.el (suggest-key-bindings, execute-extended-command):
1268 Move from keyboard.c.
1269
782fbf2a
CY
12702012-05-01 Chong Yidong <cyd@gnu.org>
1271
1272 * follow.el: Eliminate advice.
1273 (set-process-filter, process-filter, sit-for): Advice deleted.
1274 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1275 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1276 Vars deleted.
782fbf2a
CY
1277 (follow-auto): Use a :set function.
1278 (follow-mode): Rewritten. Don't advise process filters.
1279 (follow-switch-to-current-buffer-all, follow-scroll-up)
1280 (follow-scroll-down): Assume follow-mode is bound.
1281 (follow-comint-scroll-to-bottom)
1282 (follow-align-compilation-windows): New functions.
1283 (follow--window-sorter): New function.
1284 (follow-all-followers): Use it to explicitly sort windows by their
1285 positions; don't make assumptions about next-window order.
1286 (follow-windows-start-end, follow-delete-other-windows-and-split)
1287 (follow-calc-win-start): Doc fix.
1288 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1289 vertical-motion unnecessarily.
1290 (follow-adjust-window): New function.
1291 (follow-post-command-hook): Use it.
1292 (follow-call-set-process-filter, follow-call-process-filter)
1293 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1294 (follow-stop-intercept-process-output, follow-generic-filter):
1295 Functions deleted.
1296 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1297 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1298 New functions, replacing advice on scroll-bar-* commands.
87233a14 1299 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1300
1301 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1302 (comint-postoutput-scroll-to-bottom): Use it.
1303 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1304
290af740
GM
13052012-05-01 Glenn Morris <rgm@gnu.org>
1306
1307 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1308 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1309 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1310 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1311 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1312 Remove no-byte-compile setting.
1313
6eac8dc9
SM
13142012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1317 all-completions code to not return a number in the last cdr.
1318
9cc7819c
LL
13192012-04-30 Leo Liu <sdl.web@gmail.com>
1320
1321 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1322 read-only error.
1323
c93b886f
CY
13242012-04-29 Chong Yidong <cyd@gnu.org>
1325
1326 * follow.el (follow-calc-win-end): Rewrite to handle partial
1327 screen lines correctly (Bug#8390).
1328 (follow-avoid-tail-recenter): Minor cleanup.
1329
8b6c19f4
SM
13302012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 Avoid the obsolete `assoc' package.
1333 * speedbar.el (speedbar-refresh): Avoid adelete.
1334 (speedbar-file-lists): Simplify and avoid aput.
1335 * man.el (Man--sections, Man--refpages): New vars, replacing
1336 Man-sections-alist and Man-refpages-alist.
1337 (Man-build-section-alist, Man-build-references-alist):
1338 Use them; avoid aput.
1339 (Man--last-section, Man--last-refpage): New vars.
1340 (Man-follow-manual-reference): Use them.
1341 Use the `default' arg of completing-read.
1342 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1343
c5bb7569
CY
13442012-04-27 Chong Yidong <cyd@gnu.org>
1345
d1d2e2e8
CY
1346 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1347
15cd8efd
CY
1348 * startup.el (x-apply-session-resources): New function.
1349
1350 * term/ns-win.el (ns-initialize-window-system):
1351 * term/w32-win.el (w32-initialize-window-system):
1352 * term/x-win.el (x-initialize-window-system): Use it to properly
1353 set menu-bar-mode and other vars from X resources, even if the
1354 initial frame is not a window-system frame (Bug#2299).
1355
c5bb7569
CY
1356 * subr.el (read-key): Avoid running filter function when setting
1357 up temporary tool bar entries (Bug#9922).
1358
a8e7d6d7 13592012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1360
1361 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1362 (Bug#11344)
1363
a8e7d6d7 13642012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1365
1366 * select.el (xselect--encode-string): New function, split from
1367 xselect-convert-to-string.
1368 (xselect-convert-to-string): Use it.
1369 (xselect-convert-to-filename, xselect-convert-to-os)
1370 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1371 returned strings are properly encoded (Bug#11315).
1372
a8e7d6d7 13732012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1374
1375 * simple.el (delete-active-region): Move to killing custom group.
1376
a8e7d6d7 13772012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1378
1379 * progmodes/which-func.el (which-func-current): Quote %
1380 characters for mode-line processing.
1381
578c1d4b 13822012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1383
1384 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1385 reaching eob (Bug#11286).
1386
a8e7d6d7 13872012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1388
1389 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1390 (gdb): Make it buffer-local and init to zero.
1391 (gdb-control-commands-regexp): New variable.
1392 (gdb-send): Don't wrap in "-interpreter-exec console" if
1393 gdb-control-level is positive. Increment gdb-control-level
1394 whenever the command matches gdb-control-commands-regexp, and
1395 decrement it each time the command is "end". (Bug#11279)
1396
a8e7d6d7 13972012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1398
1399 * window.el (adjust-window-trailing-edge, enlarge-window)
1400 (shrink-window, window-resize):
1401 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1402 windows (Bug#11276).
1403
b3608390
CY
14042012-04-27 Chong Yidong <cyd@gnu.org>
1405
1406 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1407 fix "missing prefix" warning. All callers changed.
b3608390 1408
797e6e88
SM
14092012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 * emacs-lisp/assoc.el: Move to obsolete/.
1412
e95a67dc
SM
14132012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1414
657c21e4 1415 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1416
1417 * term/ns-win.el (ns-define-service):
1418 * progmodes/pascal.el (pascal-goto-defun):
1419 * progmodes/js.el (js--read-tab):
1420 * progmodes/etags.el (tags-lazy-completion-table):
1421 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1422 * emacs-lisp/ewoc.el (ewoc--wrap):
1423 * emacs-lisp/assoc.el (aput, adelete, amake):
1424 * doc-view.el (doc-view-convert-current-doc):
1425 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1426
cb3e7ae0
CY
14272012-04-26 Chong Yidong <cyd@gnu.org>
1428
dce04f7f
CY
1429 * image.el (image-type-from-buffer): Only return supported image
1430 type (Bug#9045).
1431
cb3e7ae0
CY
1432 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1433 value, for symmetry with diff-end-of-hunk.
1434 (diff-split-hunk, diff-find-source-location)
1435 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1436 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1437 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1438 compute the relevant hunk or file properly (Bug#6005).
1439 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1440
0d42eb3e
SM
14412012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * vc/vc-mtn.el:
1444 * vc/vc-hg.el:
1445 * vc/vc-git.el:
1446 * vc/vc-dir.el:
1447 * vc/vc-cvs.el:
1448 * vc/vc-bzr.el:
1449 * vc/vc-arch.el:
1450 * vc/vc.el: Replace lexical-let by lexical-binding.
1451 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1452 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1453 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1454
f08ae1c9
CY
14552012-04-26 Chong Yidong <cyd@gnu.org>
1456
8b71081d
CY
1457 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1458 (diff-mode-shared-map): Bind it to / and [remap undo].
1459
f08ae1c9
CY
1460 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1461 (ediff-window-setup-function): Use it as the default, to set up
1462 windows based on whether the current frame is graphical (Bug#2138).
1463 (ediff-choose-window-setup-function-automatically): Make obsolete.
1464
1465 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1466
ef24141c
SM
14672012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1468
cc356a5d
SM
1469 * ffap.el: Remove old code for obsolete package.
1470 (ffap-complete-as-file-p): Remove.
1471
b4ff4f1f
SM
1472 Use completion-table-with-quoting for comint and pcomplete.
1473 * comint.el (comint--unquote&requote-argument)
1474 (comint--unquote-argument, comint--requote-argument): New functions.
1475 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1476 (comint-quote-filename): Use regexp-opt-charset.
1477 (comint--common-suffix, comint--common-quoted-suffix)
1478 (comint--table-subvert): Remove.
1479 (comint-unquote-function, comint-requote-function): New vars.
1480 (comint--complete-file-name-data): Use them with
1481 completion-table-with-quoting.
1482 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1483 * pcomplete.el (pcomplete-arg-quote-list)
1484 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1485 (pcomplete-unquote-argument-function): Default to non-nil.
1486 (pcomplete-unquote-argument): Simplify.
1487 (pcomplete--common-quoted-suffix): Remove.
1488 (pcomplete-requote-argument-function): New var.
1489 (pcomplete--common-suffix): New function.
1490 (pcomplete-completions-at-point): Use completion-table-with-quoting
1491 and completion-table-subvert.
1492
79c4eeb4
SM
1493 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1494 (minibuffer--double-dollars): Preserve properties.
1495 (completion--sifn-requote): New function.
1496 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1497
ef24141c
SM
1498 * minibuffer.el: Add support for completion of quoted/escaped data.
1499 (completion-table-with-quoting, completion-table-subvert): New funs.
1500 (completion--twq-try, completion--twq-all): New functions.
1501 (completion--nth-completion): New function.
1502 (completion-try-completion, completion-all-completions): Use it.
1503
784e7d6e
LL
15042012-04-25 Leo Liu <sdl.web@gmail.com>
1505
dd2ac746
SM
1506 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1507 Use compilation-message if available to find real filename.
784e7d6e 1508
07875ee7
CY
15092012-04-25 Chong Yidong <cyd@gnu.org>
1510
1511 * vc/diff-mode.el (diff-setup-whitespace): New function.
1512 (diff-mode): Use it.
1513
1514 * vc/diff.el (diff-sentinel):
1515 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1516 Whitespace mode variables based on diff style (Bug#8612).
1517
5055880d
LL
15182012-04-25 Leo Liu <sdl.web@gmail.com>
1519
daf75653
LL
1520 * progmodes/python.el (python-send-region): Add suffix .py to the
1521 temp file.
1522
5055880d
LL
1523 * files.el (auto-mode-alist): Use javascript-mode instead.
1524
db9b177b
AH
15252012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1526
ef24141c 1527 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1528
1529 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1530 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1531 references, see Bug#9.
ef24141c 1532 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1533 when receiving a fault reply.
ef24141c 1534 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1535
1536 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1537 (soap-inspect-simple-type): New function.
db9b177b 1538
ef24141c 1539 * soap-client.el (soap-simple-type): New struct.
db9b177b 1540 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1541 (soap-decode-basic-type, soap-encode-basic-type):
1542 support unsignedInt and double basic types.
db9b177b 1543 (soap-resolve-references-for-simple-type)
ef24141c
SM
1544 (soap-parse-simple-type, soap-encode-simple-type): New function.
1545 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1546
1547 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1548 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1549 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1550 the local name of "soapenc:Array".
1551 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1552 decoding integer, byte and anyURI xsd types.
1553
1fc6097b
CY
15542012-04-25 Chong Yidong <cyd@gnu.org>
1555
1556 * cus-edit.el (custom-buffer-create-internal): Update header text.
1557
afc6df87
EZ
15582012-04-25 Eli Zaretskii <eliz@gnu.org>
1559
1560 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1561 settings on 'system-type', not on 'window-system'. On MS-Windows,
1562 set interactive-mode on in GDB.
1563
dfbd787f
SM
15642012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1567 (ruby-syntax-propertize-regexp): Remove.
1568 (ruby-syntax-propertize-function): Split regexp into chunks.
1569 Match following code directly.
1570
85222d44
DG
15712012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1572
51a8ea2a
DG
1573 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1574 (ruby-syntax-propertize-regexp): New function.
1575 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1576 by a special keyword.
1577
85222d44
DG
1578 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1579 (ruby-syntax-general-delimiters-goto-beg)
1580 (ruby-syntax-propertize-general-delimiters): New functions.
1581 (ruby-syntax-propertize-function): Use them to handle GDL.
1582 (ruby-font-lock-keywords): Move old handling of GDL...
1583 (ruby-font-lock-syntactic-keywords): .. to here.
1584 (ruby-calculate-indent): Adjust indentation for GDL.
1585
b613912b
MA
15862012-04-24 Michael Albinus <michael.albinus@gmx.de>
1587
b5380639
MA
1588 * notifications.el (top): Remove unneeded declarations.
1589 (notifications-specification-version): Change to "1.2".
e43042fe 1590 (notifications-interface, notifications-notify-method)
b613912b
MA
1591 (notifications-close-notification-method): Fix docstring.
1592 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1593 (notifications-notify): Add :action-items, :resident and
1594 :transient hints. Change "image_data" to "image-data" and
1595 "image_path" to "image-path".
b613912b
MA
1596 (notifications-get-capabilities): New defun.
1597
257440aa
LL
15982012-04-24 Leo Liu <sdl.web@gmail.com>
1599
1600 * progmodes/python.el: Move hideshow setup to the end.
1601
b1bac16e
MR
16022012-04-24 Martin Rudalics <rudalics@gmx.at>
1603
1604 * window.el (handle-select-window): Clear echo area since this is
1605 no more done by read_char (Bug#11304).
1606
d81bd059
SM
16072012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1610 and `/ M' to filter-derived-mode.
1611 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1612 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1613 (ibuffer-mark-by-mode): Use default rather than initial-input.
1614 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1615
c4cf6d91
IA
16162012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1617
1618 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1619 (ibuffer-filter-by-derived-mode): New filter.
1620 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1621
7511ded8
CY
16222012-04-23 Andreas Politz <politza@fh-trier.de>
1623
1624 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1625
775c916b
CY
16262012-04-23 Chong Yidong <cyd@gnu.org>
1627
1628 * cus-edit.el (customize-apropos, customize-apropos-options):
1629 Disable matching of non-option variables (Bug#11176).
1630 (customize-option, customize-option-other-window)
1631 (customize-changed-options): Doc fix.
1632 (customize-apropos-options, customize-apropos-faces)
1633 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1634
1635 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1636 Fix word list splitting (Bug#11132).
46c71e23
CY
1637 (apropos-symbol, apropos-keybinding, apropos-label)
1638 (apropos-property, apropos-function-button)
1639 (apropos-variable-button, apropos-misc-button): New faces.
1640 (apropos-symbol-face, apropos-keybinding-face)
1641 (apropos-label-face, apropos-property-face, apropos-match-face):
1642 Variables removed (Bug#8396).
1643 (apropos-library-button, apropos-format-plist, apropos-print)
1644 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1645
2df41f9c
MA
16462012-04-23 Michael Albinus <michael.albinus@gmx.de>
1647
1648 * net/xesam.el (xesam-mode-map): Use let-bound map in
1649 initialization. (Bug#11292)
1650
da00640a
AM
16512012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1652
1653 Preserve ispell session localwords when switching back to
1654 original buffer.
1655
1656 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1657 variable to hold buffer session localwords.
1658 (ispell-kill-ispell): add option 'clear to delete session
1659 localwords.
1660 (ispell-command-loop, ispell-change-dictionary)
1661 (ispell-buffer-local-words): Preserve session localwords when
1662 needed.
1663
1664 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1665 Preserve session localwords when needed.
1666
f621ccf5
AM
16672012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1668
1669 * ispell.el (ispell-insert-word) Remove unneeded function using
1670 obsolete `translation-table-for-input'.
ef24141c
SM
1671 (ispell-word, ispell-process-line, ispell-complete-word):
1672 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1673
c2d1019e
CY
16742012-04-22 Chong Yidong <cyd@gnu.org>
1675
1676 * cus-edit.el (custom-variable-menu)
1677 (custom-variable-reset-saved, custom-face-menu)
1678 (custom-face-reset-saved): If there is no saved value, make the
1679 "reset-saved" operation bring back the default (Bug#9509).
1680 (custom-face-state): Properly detect themed faces.
1681
eeddc531
CY
1682 * faces.el (face-spec-set): Stop supporting deprecated form of
1683 third arg.
1684
dcbf5805
MA
16852012-04-22 Michael Albinus <michael.albinus@gmx.de>
1686
1687 Move functions from C to Lisp. Make non-blocking method calls
1688 the default. Implement further D-Bus standard interfaces.
1689
ef24141c
SM
1690 * net/dbus.el (dbus-message-internal): Declare function.
1691 Remove unneeded function declarations.
dcbf5805
MA
1692 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1693 (dbus-message-type-method-return, dbus-message-type-error)
1694 (dbus-message-type-signal): Declare variables. Remove local
1695 definitions.
1696 (dbus-interface-dbus, dbus-interface-peer)
1697 (dbus-interface-introspectable, dbus-interface-properties)
1698 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1699 Adapt docstring.
1700 (dbus-interface-objectmanager): New defconst.
1701 (dbus-call-method, dbus-call-method-asynchronously)
1702 (dbus-send-signal, dbus-method-return-internal)
1703 (dbus-method-error-internal, dbus-register-service)
1704 (dbus-register-signal, dbus-register-method): New defuns, moved
1705 from dbusbind.c
1706 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1707 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1708 New defuns.
dcbf5805
MA
1709 (dbus-call-method-non-blocking): Make it an obsolete function.
1710 (dbus-unregister-object, dbus-unregister-service)
1711 (dbus-handle-event, dbus-register-property)
1712 (dbus-property-handler): Obey the new structure of
1713 `bus-registered-objects'.
1714 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1715 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1716 Use `dbus-call-method'.
1717
cf20dee0
CY
17182012-04-22 Chong Yidong <cyd@gnu.org>
1719
1720 * cus-edit.el (custom-commands, custom-reset-menu)
1721 (Custom-reset-standard): Tweak labels.
1722 (custom-reset-button-menu): Change default to t.
1723 (custom-buffer-create-internal): For the custom-reset-button-menu
1724 case, put the revert button first.
1725 (custom-group-subtitle): New face.
1726 (custom-group-value-create): Align docstring to a specific column.
1727
1728 * wid-edit.el (widget-documentation-link-add): Don't handle
1729 indentation in this function.
1730 (widget-documentation-string-indent-to): New function.
1731 (widget-documentation-string-value-create): Use it.
1732
1733 * autorevert.el (auto-revert):
1734 * epg-config.el (epg):
1735 * ibuffer.el (ibuffer):
1736 * mpc.el (mpc):
1737 * ses.el (ses):
1738 * eshell/eshell.el (eshell):
1739 * net/ange-ftp.el (ange-ftp):
1740 * progmodes/ebnf2ps.el (postscript):
1741 * progmodes/flymake.el (flymake):
1742 * progmodes/prolog.el (prolog):
1743 * progmodes/verilog-mode.el (verilog-mode):
1744 * progmodes/which-func.el (which-func):
1745 * term/xterm.el (xterm):
1746 * textmodes/picture.el (picture):
1747 * textmodes/tildify.el (tildify):
1748 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1749 customization buffers.
1750
583e23bd
AM
17512012-04-22 Alan Mackenzie <acm@muc.de>
1752
1753 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1754 Adding a ) can hide the resulting (..) from searches. Fix it.
1755 Bound the backward search to the position of the existing (.
1756
7dd51bf1
JB
17572012-04-21 Juanma Barranquero <lekktu@gmail.com>
1758
1759 * progmodes/verilog-mode.el (verilog-mode): Check whether
1760 which-func-modes is t before adding verilog-mode.
1761 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1762
d64a438f
LL
17632012-04-21 Leo Liu <sdl.web@gmail.com>
1764
7dd51bf1 1765 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 1766
081e8d65
MV
17672012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1768
1769 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1770 filling of the last column of a table (Bug#5635).
1771 (woman-find-next-control-line): New arg, specifying an additional
1772 regexp component for the control line.
1773 (woman2-roff-buffer): Use it.
1774 (woman-break-table): New function.
1775 (woman2-TS): Use it.
1776
17772012-04-21 Chong Yidong <cyd@gnu.org>
1778
1779 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1780 (woman-horizontal-escapes, woman-negative-vertical-space)
1781 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1782 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1783
ed571ccb
SM
17842012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * minibuffer.el (completion-file-name-table): Complete user names.
1787
39773899
LL
17882012-04-20 Leo Liu <sdl.web@gmail.com>
1789
1790 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1791 and pcase-let*.
1792
de6ff46d
CY
17932012-04-20 Chong Yidong <cyd@gnu.org>
1794
1795 * server.el (server-execute): Respect initial-buffer-choice if it
1796 is a string and there are no files to open (Bug#2825).
1797 (server-create-window-system-frame, server-create-tty-frame):
1798 Don't switch buffers here.
2d0e8e61
CY
1799 (server-process-filter): Only try to open a window system frame if
1800 compiled with graphical support (Bug#8314).
de6ff46d 1801
54071013
DN
18022012-04-20 Dan Nicolaescu <dann@gnu.org>
1803
1804 * battery.el (battery-echo-area-format): Display remaining time
1805 for sysfs backend too (Bug#11269).
1806 (battery-linux-sysfs): Fix conditional for the charge.
1807
f30d612a
CY
18082012-04-20 Chong Yidong <cyd@gnu.org>
1809
c07a4c0b 1810 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
1811 (gdb-inferior-io--init-proc): New function.
1812 (gdb-init-1): Use it.
1813 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1814 responsible for allocating a new pty and hooking it to gdb when
1815 the old pty gets an EIO due to process exit.
1816 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1817 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1818 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1819
2116e93c
EZ
18202012-04-20 Eli Zaretskii <eliz@gnu.org>
1821
1822 * window.el (window-min-size, window-sizable, window-min-delta)
1823 (window-max-delta, window--resizable, window-resizable)
1824 (window-total-size, window-full-height-p, window-full-width-p)
1825 (window-in-direction, window--resize-mini-window, window-resize)
1826 (window--resize-child-windows-normal)
1827 (window--resize-child-windows, window--resize-siblings)
1828 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 1829 (enlarge-window, shrink-window): Doc fixes.
2116e93c 1830
c07a4c0b 18312012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 1832
ef24141c
SM
1833 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1834 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
1835 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1836 pty process (Bug#11273).
1837 (gdb-update): New arg to suppress talking to the gdb process.
1838 (gdb-done-or-error): Use it.
1839 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1840 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1841 sentinel not being called.
1842
1843 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1844
d02766ab
CY
1845 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1846
c07a4c0b 18472012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
1848
1849 * net/network-stream.el (open-network-stream): Doc fix.
1850
c07a4c0b 18512012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
1852
1853 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1854
c07a4c0b 18552012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
1856
1857 Ensure searching for keywords is case sensitive.
1858
1859 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1860 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1861 (c-defun-name, c-mark-function, c-cpp-define-name)
1862 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 1863 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 1864
ef24141c
SM
1865 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1866 Bind case-fold-search to nil.
f0f6bc35 1867
c07a4c0b 18682012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
1869
1870 * mail/sendmail.el (mail-bury): Call return action with the right
1871 Rmail buffer (Bug#11242).
1872
9a864fa2
CY
1873 * server.el (server-process-filter): Handle corner case where both
1874 tty and nowait options are present (Bug#11102).
1875
539aa513
EZ
18762012-04-20 Eli Zaretskii <eliz@gnu.org>
1877
1878 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
1879 (top level): Put into the executable the ident-style '$Id:' tag on
1880 windows-nt as well.
539aa513 1881
cfc7d5da
SM
18822012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1883
1884 * electric.el (electric-indent-post-self-insert-function): Check that
1885 electric-indent-mode is enabled in current buffer.
1886
5b01685c
JB
18872012-04-19 Juanma Barranquero <lekktu@gmail.com>
1888
1889 * imenu.el (imenu-progress-message): Restore; it is "used" in
1890 erc/erc-imenu.el and net/snmp-mode.el.
1891
4d6769e1
JB
18922012-04-19 Juanma Barranquero <lekktu@gmail.com>
1893
1894 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1895 (mouse-avoidance-nudge-mouse): Remove unused binding.
1896
1897 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1898
1899 * descr-text.el (describe-char):
1900 * progmodes/python.el (python-describe-symbol):
1901 Don't call `toggle-read-only', set `buffer-read-only'.
1902
1903 * imenu.el (imenu-default-goto-function): Mark unused args.
1904 (imenu-progress-message): Remove obsolete macro; all callers changed.
1905
1906 * subr.el (keymap-canonicalize): Remove unused binding.
1907 (read-passwd): Mark unused arg.
1908
1909 * tutorial.el (tutorial--display-changes): Remove unused binding.
1910 (tutorial--save-tutorial-to): Remove unused variable.
1911
1912 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1913 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1914 (package-generate-autoloads, package-menu--generate)
1915 (package-menu--find-upgrades): Remove unused bindings.
1916
1917 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1918 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1919 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1920 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1921 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1922 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1923 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1924 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1925 (cua-delete-char-rectangle): Mark unused args.
1926 (cua-align-rectangle): Remove unused binding.
1927
1928 * mail/rmail.el (compilation--message->loc)
1929 (epa--find-coding-system-for-mime-charset): Declare.
1930
1931 * net/dbus.el (dbus-register-service): Declare.
1932 (dbus-name-owner-changed-handler): Remove unused binding.
1933
1934 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1935 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1936 (nxml-scan-backward-within): Mark unused arg.
1937 (nxml-dynamic-markup-word): Remove unused binding.
1938
1939 * mouse.el (mouse-menu-major-mode-map):
1940 * emacs-lisp/authors.el (authors-scan-change-log)
1941 (authors-add-to-author-list):
1942 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1943 * emacs-lisp/smie.el (smie-auto-fill):
1944 * mail/sendmail.el (mail-bury):
1945 * mail/unrmail.el (unrmail):
1946 * net/tls.el (open-tls-stream):
1947 * textmodes/picture.el (picture-mouse-set-point):
1948 Remove unused bindings.
1949
8c8fc5df
MA
19502012-04-19 Michael Albinus <michael.albinus@gmx.de>
1951
1952 * net/tramp.el (tramp-action-password): Let-bind
1953 `enable-recursive-minibuffers' to t.
1954
a77b0ac9
SS
19552012-04-18 Sam Steingold <sds@gnu.org>
1956
1957 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1958 instead of 'string to accommodate values like [f11].
1959 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1960 * progmodes/gdb-mi.el: Likewise.
1961
12a106a9
LL
19622012-04-18 Leo Liu <sdl.web@gmail.com>
1963
1964 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1965 current buffer.
1966 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1967 LOCAL is nil.
1968
bc6494ef
CY
19692012-04-18 Chong Yidong <cyd@gnu.org>
1970
1971 * simple.el (line-move): Use forward-line if in batch mode
1972 (Bug#11053).
1973
c09c46b2
CS
19742012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1975
1976 * files.el (after-find-file): Do not try to add a final newline if
1977 the buffer is read-only (Bug#11156).
1978
5f6530ea
RS
19792012-04-17 Richard Stallman <rms@gnu.org>
1980
1981 * mail/rmail.el (rmail-start-mail):
1982 Pass (rmail-mail-return...) for the return-action.
1983 Pass (rmail-yank-current-message...) for the yank-action.
1984 (rmail-yank-current-message): New function.
1985 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1986 (rmail-reply): Likewise.
1987 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1988
1989 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1990 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1991 buffer, not newbuf.
1992
197b6f3c
JB
19932012-04-17 Juanma Barranquero <lekktu@gmail.com>
1994
1995 * server.el (server-ensure-safe-dir): Simplify.
1996
2311d8e5 19972012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1998
2311d8e5
GM
1999 * emacs-lisp/smie.el: Provide smarter auto-filling.
2000 (smie-auto-fill): New function.
2001 (smie-setup): Use it.
98fb480e 2002
2311d8e5
GM
2003 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2004
20052012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2006
2007 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2008 (comment-indent): Use it.
2009
2311d8e5 20102012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2011
2012 * ses.el: The overall change is to add cell renaming, that is
2013 setting fancy names for cell symbols other than name matching
2014 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2015 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2016 (ses-create-cell-variable): New defun.
2311d8e5 2017 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2018 (ses-relocate-formula): Relocate formulas only for cells the
2019 symbols of which are not renamed, i.e. symbols whose names do not
2020 match regexp "\\`[A-Z]+[0-9]+\\'".
2021 (ses-relocate-all): Relocate values only for cells the symbols of
2022 which are not renamed.
2023 (ses-load): Create cells variables as the (ses-cell ...) are read,
2024 in order to check row col consistency with cell symbol name only
2025 for cells that are not renamed.
2026 (ses-replace-name-in-formula): New defun.
2027 (ses-rename-cell): New defun.
4bdf2ad2 2028
fc72b15c
PO
20292012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2030
2031 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2032 New option (bug#11118).
2033 (perl-calculate-indent): Respect it.
2034
12e10e61
GM
20352012-04-17 Glenn Morris <rgm@gnu.org>
2036
2037 * dired-aux.el (dired-mark-read-string): Doc fix.
2038
30009afd
DA
20392012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2040
2041 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2042 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2043
41f03f4d
GM
20442012-04-17 Glenn Morris <rgm@gnu.org>
2045
2046 * mouse.el (mouse-drag-track):
2047 * speedbar.el (speedbar-frame-mode):
2048 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2049
f45f90f3
LL
20502012-04-16 Leo Liu <sdl.web@gmail.com>
2051
2052 * progmodes/python.el: Trivial cleanup.
2053
94ee8db5
GM
20542012-04-16 Glenn Morris <rgm@gnu.org>
2055
121b8917
GM
2056 * vc/vc.el (vc-string-prefix-p):
2057 * vc/pcvs-util.el (cvs-string-prefix-p):
2058 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2059 * mpc.el (mpc-string-prefix-p):
2060 Make all of these into obsolete aliases for string-prefix-p.
2061 Update callers.
2062 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2063
1197ecfa
GM
2064 * textmodes/two-column.el: Move custom options to the start.
2065 (frame-width): Remove compat definition.
2066 (2C-associate-buffer, 2C-dissociate):
2067 Use with-current-buffer rather than save-excursion.
2068 (2C-dissociate): Force a mode-line update.
2069 (2C-autoscroll): Use ignore-errors.
2070
099e7202
GM
2071 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2072 Autoload trivia.
2073
bf350d6a
GM
2074 * emacs-lisp/cl-extra.el (*random-state*):
2075 Remove unnecessary declaration.
2076
0e829eab
GM
2077 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2078
e3ad7552
GM
2079 * play/cookie1.el (cookie-snarf):
2080 Give an explicit error if input file cannot be read.
2081
68892d27
GM
2082 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2083
20f0c46d
GM
2084 * progmodes/perl-mode.el (c-macro-expand):
2085 Remove unnecessary autoload (it is in loaddefs.el).
2086
5a0978ce
GM
2087 * textmodes/picture.el (picture-desired-column)
2088 (picture-update-desired-column): Convert comments to doc-strings.
2089 (picture-substitute): Remove function.
2090 (picture-mode-map): Initialize in the defvar.
2091
6b955486
GM
2092 * woman.el: Remove eval-after-load for tar-mode.
2093 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2094 (woman-tar-extract-file): Autoload it.
2095
94ee8db5
GM
2096 * frame.el (automatic-hscrolling): Make this alias obsolete.
2097
177eca34
AM
20982012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2099
2100 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2101 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2102 (ispell-dictionary-base-alist): Revert to original XEmacs
2103 friendly version for default. [:alpha:] will be added in
2104 `ispell-set-spellchecker-params' if needed
177eca34 2105
c505aaeb
CY
21062012-04-16 Chong Yidong <cyd@gnu.org>
2107
2108 * image.el (imagemagick--extension-regexp): New variable.
2109 (imagemagick-register-types): Use it.
2110 (imagemagick-types-inhibit): Add :set function. Allow new value
2111 of t to inhibit all types.
2112
2113 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2114 so we can preload it.
2115
2116 * loadup.el (fboundp): Preload regexp-opt, needed by
2117 imagemagick-register-types.
2118
60efac0f
CY
21192012-04-15 Chong Yidong <cyd@gnu.org>
2120
2121 * frame.el (scrolling): Remove nearly unused customization group.
2122
2123 * scroll-all.el (scroll-all-mode): Move to windows group.
2124
5dd1713e
CY
21252012-04-15 Chong Yidong <cyd@gnu.org>
2126
2127 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2128
e6fd457e
CY
21292012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2132 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2133
e153c136
GM
21342012-04-15 Glenn Morris <rgm@gnu.org>
2135
2136 * simple.el (process-file-side-effects): Doc fix.
2137
e6fd457e 21382012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2139
2140 * international/mule-cmds.el (set-language-environment): Doc fix.
2141
3603c3b1
JB
21422012-04-14 Juanma Barranquero <lekktu@gmail.com>
2143
2144 * server.el (server-auth-key, server-generate-key): Doc fixes.
2145 (server-get-auth-key): Doc fix. Use `string-match-p'.
2146 (server-start): Reflow docstring.
2147
e6de100c
LI
21482012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2149
2150 * server.el (server-generate-key): `called-interactively-p'
2151 requires a parameter.
2152
29734c21
MN
21532012-04-14 Michal Nazarewicz <mina86@mina86.com>
2154
2155 * server.el (server-auth-key): New variable.
75f1671a 2156 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2157 (server-start): Use the new variable and functions to allow
2158 setting a permanent server key (bug#9423).
2159
d65c9521
LL
21602012-04-14 Leo Liu <sdl.web@gmail.com>
2161
2162 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2163
5ae255c7
PE
21642012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2165
2166 Spelling fixes.
2167 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2168 Emacs uses American spelling.
2169
d5e6342e
JB
21702012-04-14 Juanma Barranquero <lekktu@gmail.com>
2171
2172 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2173 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2174 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2175 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2176
ab036cd7
SM
21772012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * progmodes/which-func.el (which-func-modes): Change default.
2180
35dc09a1 21812012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2182
2183 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2184 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2185
35dc09a1 21862012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2187
2188 * custom.el (custom-theme-set-variables): Doc fix.
2189
35dc09a1 21902012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2191
2192 * international/mule.el (set-auto-coding-for-load): Doc fix.
2193
35dc09a1 21942012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2195
35dc09a1
GM
2196 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2197 imenu work again for Objective C Mode. Correct the *-index values,
2198 these having been disturbed by a previous change in 2011-08.
57f845ee 2199
0de3da9f
AM
2200 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2201 Correct two search limits.
2202
35dc09a1 22032012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2204
2205 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2206
35dc09a1 22072012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2208
2209 * international/characters.el: Fix sorting.
2210
35dc09a1 22112012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2212
2213 * international/characters.el: Add more missing Latin case pairs.
2214
35dc09a1 22152012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2216
2217 * files.el (dir-locals-set-class-variables): Doc fix.
2218
35dc09a1 22192012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2220
3f1b5bf8
EZ
2221 * international/characters.el: Add set-case-syntax-pair call for
2222 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2223 counterpart. (Bug#11209)
2224
9f847f41
EZ
2225 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2226
35dc09a1 22272012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2228
2229 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2230
35dc09a1 22312012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2232
35dc09a1
GM
2233 * textmodes/ispell.el (ispell-dictionary-base-alist):
2234 Add data for Hebrew.
e2627d21 2235
35dc09a1 22362012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2237
35dc09a1
GM
2238 * net/rcirc.el (rcirc-cmd-quit):
2239 Revert 2012-03-18 change (Bug#11192).
5c14e333 2240
35dc09a1 22412012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2242
2243 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2244
35dc09a1 22452012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2246
4517fe3a
SM
2247 * minibuffer.el (completion-in-region-mode-map):
2248 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2249
b472a594
VD
22502012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2251
2252 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2253
09b95ce3
MY
22542012-04-13 Masatake YAMATO <yamato@redhat.com>
2255
2256 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2257 to allow `C-M-f' and `C-M-b' to move to the nearest path
2258 separator (bug#9511).
2259
4b63a9ca
LI
22602012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2261
2262 * avoid.el: Require cl when compiling. And also move the
2263 `provide' to the end.
2264
7b55b8bf
TV
22652012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2266
2267 * avoid.el (mouse-avoidance-banish-position): New variable.
2268 (mouse-avoidance-banish-destination): Use it (bug#10165).
2269
adedaa1f
LL
22702012-04-13 Leo Liu <sdl.web@gmail.com>
2271
2272 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2273
70e74021
KB
22742012-04-13 Ken Brown <kbrown@cornell.edu>
2275
2276 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2277 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2278 (browse-url-filename-alist): For the same reason, don't modify
2279 file:// URLs on Cygwin.
2280
e75e89ba
SM
22812012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2284 the region on shift if the binding is already shifted (bug#11221).
2285
82f289a4
GM
22862012-04-12 Glenn Morris <rgm@gnu.org>
2287
2288 * mail/mailpost.el: Move to obsolete/.
2289
d333dc4c
DA
22902012-04-12 Drew Adams <drew.adams@oracle.com>
2291
2292 * imenu.el (imenu--generic-function): Ignore invisible definitions
2293 (bug#10123).
2294
0d15b5ba
VD
22952012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2296
2297 * hexl.el (hexl-bits): New variable.
2298 (hexl-options): Mention the variable in the doc string.
75f1671a 2299 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2300 (hexl-mode): Mention the new variable.
75f1671a
JB
2301 (hexl-mode, hexl-current-address, hexl-current-address):
2302 Use the displen.
0d15b5ba
VD
2303 (hexl-ascii-start-column): New function.
2304 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2305 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2306
64a440db
AM
23072012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2308
2309 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2310 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2311 the encoding, as expected by hunspell.
2312
6decb6c2
SM
23132012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * battery.el (battery--linux-sysfs-regexp): New const.
2316 (battery-status-function): Use it. Remove yeeloong special case.
2317 (battery-yeeloong-sysfs): Remove.
2318 (battery-echo-area-format): Remove yeeloong special case.
2319
088be6fb
SM
23202012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2321
6622e416
SM
2322 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2323 Reported by Noah Friedman.
2324
088be6fb
SM
2325 * subr.el (read-passwd): Use read-string.
2326
b49f886e
LMI
23272012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2328
2329 * vcursor.el (vcursor-move): Increase the priority of the overlay
2330 (bug#9663).
2331
a63067fc
DD
23322012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2333
2334 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2335 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2336
ac3cf14a
WS
23372012-04-11 William Stevenson <yhvh2000@gmail.com>
2338
2339 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2340 define-minor-mode (bug#10760).
2341
c4fc691b 23422012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2343
4d6769e1 2344 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2345 that directories matching `grep-find-ignored-files' won't be
2346 pruned (bug#10351).
2347
af23e2e5
CY
23482012-04-11 Chong Yidong <cyd@gnu.org>
2349
2350 * startup.el (command-line): Remove support for long-obsolete
2351 variable font-lock-face-attributes.
2352
ab7ce8c1
GM
23532012-04-11 Glenn Morris <rgm@gnu.org>
2354
2355 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2356
de8c03dc
SM
23572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * window.el (window--state-get-1): Obey window-point-insertion-type.
2360
050cc68b
LB
23612012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2362
2363 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2364 to previous function when point is on the first character of a
75f1671a 2365 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2366
a38c310c
GM
23672012-04-11 Glenn Morris <rgm@gnu.org>
2368
effed0c2
GM
2369 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2370 not just file-errors.
2371
a38c310c
GM
2372 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2373 (vc-bzr-sha1): Use internal sha1.
2374
0221e323
SM
23752012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2378
43956923
SG
23792012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2380
2381 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2382 that start in the middle of the line (bug#10496).
2383
6a8c9eaf
DN
23842012-04-10 Dan Nicolaescu <dann@gnu.org>
2385
2386 * battery.el (battery-linux-proc-acpi): Only one battery is
2387 discharged at a time, but that seems to confuse battery.el when
2388 computing `rate-type' for the battery not being discharged
2389 (bug#10332).
2390
1930bf5d
SM
23912012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2a718f6f
SM
2393 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2394
599430d0
SM
2395 * international/quail.el: Use dolist and simplify.
2396 (quail-define-package, quail-update-keyboard-layout)
2397 (quail-define-rules): Use dolist.
2398 (quail-insert-kbd-layout, quail-get-translation): CSE.
2399
a2754b6c
SM
2400 * tmm.el: Use dolist, remove left over hook.
2401 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2402 Use dolist.
2403 (calendar-load-hook): Don't mess with it.
2404
1930bf5d
SM
2405 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2406 Use derived-mode-p. Run the diff asynchronously.
2407
9f67961c
LMI
24082012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2409
2410 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2411
2a8ce227
JB
24122012-04-10 Juanma Barranquero <lekktu@gmail.com>
2413
2414 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2415 (list-dynamic-libraries--loaded): New function.
2416 (list-dynamic-libraries--refresh): Use it.
2417
8f33b5f8
NW
24182012-04-10 Nathan Weizenbaum <nweiz@google.com>
2419
1930bf5d
SM
2420 * progmodes/python.el (python-fill-paragraph):
2421 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2422 disabled (bug#7018).
2423
b12f0439
L
24242012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2425
1930bf5d 2426 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2427 DOS/MS Windows for the Baltic languages. There are still plenty
2428 of texts written in this encoding/codepage (bug#6519).
b12f0439 2429
57c3bd01
GM
24302012-04-10 Glenn Morris <rgm@gnu.org>
2431
2432 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2433 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2434
6c3eab30
FA
24352012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2436
1930bf5d 2437 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2438 next-line "n" and previous-line "p" in order to make recentf more
2439 consistent with ibuffer, dired or org-mode (bug#9387).
2440
24d78a88
LMI
24412012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2442
bc72b5d9
LMI
2443 * image.el (put-image): Return the overlay created instead of the
2444 optional input string (bug#7834). Note that this may break code
2445 that is (for some reason or other) depending on `put-image'
2446 returning the string.
2447
bd2dba5a
LMI
2448 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2449
74beb59f
LMI
2450 * simple.el (zap-to-char): Allow zapping using input methods
2451 (bug#1580).
2452
24d78a88
LMI
2453 * textmodes/fill.el (fill-region): Leave point and mark where they
2454 were before filling (bug#5399).
2455
263f20cd
GM
24562012-04-09 Glenn Morris <rgm@gnu.org>
2457
2458 * version.el (emacs-bzr-get-version):
2459 Handle lightweight checkouts of local branches.
2460
58d1f797
AS
24612012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2462
263f20cd 2463 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2464
b4d3bc10
CY
24652012-04-09 Chong Yidong <cyd@gnu.org>
2466
2467 * custom.el (custom-variable-p): Return nil for non-symbol
2468 arguments instead of signaling an error.
2469 (user-variable-p): Obsolete alias for custom-variable-p.
2470
2471 * apropos.el (apropos-variable):
2472 * files-x.el (read-file-local-variable):
2473 * simple.el (set-variable):
2474 * woman.el (woman-mini-help):
2475 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2476
fd06db5d
GM
24772012-04-09 Glenn Morris <rgm@gnu.org>
2478
e5fcdb5e
GM
2479 * startup.el (normal-top-level): Don't look for leim-list.el
2480 in places where it will not be found. (Bug#910)
2481
fd06db5d
GM
2482 * international/mule-cmds.el (set-default-coding-systems):
2483 * files.el (normal-mode):
2484 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2485 This function was removed with ucs-tables.el in 2008.
2486
b39bb7e1
EZ
24872012-04-08 Eli Zaretskii <eliz@gnu.org>
2488
2489 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2490 ispell-encoding8-command to "-i", without a trailing space.
2491 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2492 separate command-line arguments, to specify the encoding, since
2493 that's how hunspell expects it.
2494
5c5b8e23
GM
24952012-04-08 Glenn Morris <rgm@gnu.org>
2496
2497 * loadup.el: Load bindings before cus-start.
2498 This reduces somewhat the number of "rogue" settings in emacs -Q.
2499
a1ed8b05
GM
25002012-04-07 Glenn Morris <rgm@gnu.org>
2501
2502 * version.el (emacs-bzr-get-version): New function.
dfae128a 2503 (emacs-bzr-version): New variable.
a1ed8b05
GM
2504 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2505 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2506
b142f158
EZ
25072012-04-07 Eli Zaretskii <eliz@gnu.org>
2508
dfae128a
GM
2509 * international/uni-bidi.el, international/uni-category.el:
2510 * international/uni-combining.el, international/uni-decimal.el:
2511 * international/uni-decomposition.el, international/uni-digit.el:
2512 * international/uni-lowercase.el, international/uni-mirrored.el:
2513 * international/uni-name.el, international/uni-numeric.el:
2514 * international/uni-titlecase.el, international/uni-uppercase.el:
2515 Update for Unicode 6.1.
b142f158 2516
9078ead6
EZ
25172012-04-07 Eli Zaretskii <eliz@gnu.org>
2518
2519 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2520
f23d2c7d
LMI
25212012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2522
2523 * window.el (shrink-window): Mention the `window-min-height'
2524 variable in the doc string.
2525
0a0a3573
BG
25262012-04-05 Bastien Guerry <bzg@altern.org>
2527
2528 * color.el (color-lighten-name): Fix typo.
2529
e5248ac9
SM
25302012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * server.el (server--on-display-p): New function.
2533 (server--on-display-p): Use it.
2534
b4243e22
GV
25352012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2536
2537 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2538 (bug#11145).
2539
305d9f44
SM
25402012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * comint.el (comint--common-quoted-suffix): Check string boundary
2543 before comparing (bug#11158).
2544 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2545
3d439cd1
CY
25462012-04-04 Chong Yidong <cyd@gnu.org>
2547
321cc491
CY
2548 * minibuffer.el (completion-extra-properties): Doc fix.
2549
3d439cd1
CY
2550 * subr.el (delayed-warnings-hook): Doc fix.
2551
2d562c0f
DU
25522012-04-04 Daiki Ueno <ueno@unixuser.org>
2553
2554 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2555 selection (Bug#11159).
2556 (epa-insert-keys): Inform that the default public key will be
2557 exported if no key is selected.
2558
4443f204
RS
25592012-04-04 Richard Stallman <rms@gnu.org>
2560
2561 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2562
529c06b6
CY
25632012-04-03 Chong Yidong <cyd@gnu.org>
2564
2565 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2566 mail-insert-file, not its obsolete alias mail-attach-file.
2567
66b907dc
MA
25682012-04-03 Michael Albinus <michael.albinus@gmx.de>
2569
2570 * notifications.el (notifications-notify): Fix docstring.
2571
c0ea195d
GM
25722012-04-02 Glenn Morris <rgm@gnu.org>
2573
2574 * emacs-lisp/authors.el (authors-aliases): Another addition.
2575
5ca64e00
MA
25762012-04-02 Michael Albinus <michael.albinus@gmx.de>
2577
2578 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2579 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2580 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2581
42ee526b
CY
25822012-04-01 Chong Yidong <cyd@gnu.org>
2583
2584 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2585 Handle root directory properly.
2586 (copy-directory): Caller changed.
2587
2588 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2589 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2590
0b021094
GM
25912012-03-31 Glenn Morris <rgm@gnu.org>
2592
40f86458
GM
2593 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2594
7019c177
GM
2595 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2596
a1daddd6
GM
2597 * calendar/calendar.el (calendar-window-list)
2598 (calendar-hide-window): Restore. (Bug#11140)
2599 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2600
0b021094
GM
2601 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2602
40311efc
TV
26032012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2604
2605 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2606 Check if file is a symlink (Bug#10489).
2607
2608 * files.el (copy-directory): Likewise.
2609
5319014e
CY
26102012-03-30 Chong Yidong <cyd@gnu.org>
2611
2612 * image.el (imagemagick-types-inhibit)
2613 (imagemagick-register-types): Doc fix.
2614
935d1290
AM
26152012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2616
ef24141c
SM
2617 * ispell.el (ispell-get-extended-character-mode):
2618 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2619 and treats ~word as ordinary words in pipe mode.
935d1290 2620
61c6e8fd
GM
26212012-03-30 Glenn Morris <rgm@gnu.org>
2622
2623 * tutorial.el (help-with-tutorial): Ensure local variables don't
2624 happen to make the buffer read-only. (Bug#11127)
2625
81fdff00
SM
26262012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2629 (perl-calculate-indent): Return `noindent' in strings.
2630
6e7a6ec0
SS
26312012-03-28 Sam Steingold <sds@gnu.org>
2632
2633 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2634 instead of the broken adhockery which does not prevent calendar
2635 buffers from being displayed at random after exit.
2636 (calendar-window-list, calendar-hide-window): Remove the broken
2637 adhockery.
2638
fee88ca0
GM
26392012-03-28 Glenn Morris <rgm@gnu.org>
2640
2641 * replace.el (query-replace-map): Doc fix.
2642
38de3354
AS
26432012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2644
2645 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2646 contents. (Bug#11109)
2647
b973155e
SM
26482012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2651 (bug#11077).
2652 (avl-tree--check, avl-tree--check-node): New funs.
2653
dcb6e7b3
MR
26542012-03-27 Martin Rudalics <rudalics@gmx.at>
2655
2656 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2657 (switch-to-prev-buffer, switch-to-next-buffer):
2658 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2659 showing a buffer already is done on the same frame.
2660
b4fa35fa
GM
26612012-03-27 Glenn Morris <rgm@gnu.org>
2662
2663 * startup.el (mail-host-address): Doc fix.
2664
f9210e18
SM
26652012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2668 than 197 variables.
2669
c0bf7753
AF
26702012-03-26 Ami Fischman <ami@fischman.org>
2671
2672 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2673
33da7b16
GM
26742012-03-26 Glenn Morris <rgm@gnu.org>
2675
02243d9d
GM
2676 * files.el (save-buffers-kill-emacs): Doc fix.
2677
33da7b16
GM
2678 * startup.el (normal-top-level, command-line, command-line-1):
2679 Give them doc strings.
2680
e5a69fd0
EZ
26812012-03-25 Eli Zaretskii <eliz@gnu.org>
2682
2683 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2684 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2685
9a69676a
CY
26862012-03-25 Chong Yidong <cyd@gnu.org>
2687
4125cb8b
CY
2688 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2689 theme if it was previously enabled before (Bug#11031).
2690
dd470960
CY
2691 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2692 spec with custom-face-get-current-spec if its :shown-value is not
2693 determined yet (Bug#9337).
4125cb8b 2694 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2695
9a69676a
CY
2696 * button.el (button-at): Minor addition to docstring.
2697
6e7e90fa
SL
26982012-03-24 Simon Leinen <simon.leinen@gmail.com>
2699
2700 * vc/vc.el (vc-merge): Fix a prompt.
2701
f06e2758
CY
27022012-03-24 Chong Yidong <cyd@gnu.org>
2703
2704 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2705 point (Bug#9623).
2706
6e7e90fa
SL
2707 * button.el (button-at): Minor addition to docstring.
2708
b9d0879b
SM
27092012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * newcomment.el (comment-choose-indent): No space after BOL.
2712
e71cebb3
SS
27132012-03-22 Sam Steingold <sds@gnu.org>
2714
2715 * window.el (switch-to-prev-buffer): Revert last patch because the
2716 bug turned out to be an advertised feature (Elisp manual 28.14).
2717
335aff35
GM
27182012-03-22 Glenn Morris <rgm@gnu.org>
2719
2720 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2721 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2722
c676576a
LMI
27232012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2724
2725 * net/network-stream.el (network-stream-open-starttls): Make error
2726 message under Windows be less misleading.
2727
126f3d39
LW
27282012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2729
2730 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2731 understands (bug#9942).
2732
64fee311
CY
27332012-03-22 Chong Yidong <cyd@gnu.org>
2734
2735 * simple.el (end-of-visible-line): Handle return value of
2736 next-single-property-change properly (Bug#9371).
2737
a640d29a
KH
27382012-03-22 Kenichi Handa <handa@m17n.org>
2739
2740 * international/quail.el (quail-insert-kbd-layout): Fix previous
2741 change. To avoid unwanted bidi reordering, use
2742 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2743
39675016
DG
27442012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2745
2746 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2747 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2748 (ruby-beginning-of-indent): Be more careful with the difference
2749 between word-boundary and symbol boundary.
2750 (ruby-mode-syntax-table): Make : a symbol constituent.
2751
0a6934fc 27522012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 2753
3d008e4f
SM
2754 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2755
0a6934fc
SM
27562012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2757
af67c9d7
SM
2758 * progmodes/etags.el (tags-completion-at-point-function):
2759 Improve last fix.
2760
1acad97c
SM
2761 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2762
e298b5da
SS
27632012-03-21 Sam Steingold <sds@gnu.org>
2764
2765 * progmodes/etags.el (tags-completion-at-point-function):
2766 Avoid the error when point is inside the pattern.
2767
91d82a70
JY
27682012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2769
2770 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2771 line (Bug#10855).
2772
69188b79
CY
27732012-03-21 Drew Adams <drew.adams@oracle.com>
2774
2775 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2776
99fc91fe
AK
27772012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2778
2779 * ido.el (ido-set-current-directory, ido-read-internal)
2780 (ido-choose-completion-string, ido-completion-help): Handle nil
2781 value of ido-completion-buffer (Bug#11008).
2782
087bbb4c
SS
27832012-03-21 Sam Steingold <sds@gnu.org>
2784
2785 * window.el (switch-to-prev-buffer): Do not switch to a visible
2786 window previous buffer, just like with the frame previous buffers.
2787
fb5b8aca
CY
27882012-03-21 Chong Yidong <cyd@gnu.org>
2789
2790 * faces.el (make-face, make-empty-face, copy-face):
2791 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2792 Doc fixes.
2793
dc9924b8
SM
27942012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2797 (widget-complete): Remove broken use of it.
2798
f0bcceb9
CY
27992012-03-20 Chong Yidong <cyd@gnu.org>
2800
dc9924b8
SM
2801 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2802 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
2803 characters.
2804
ee52ebf3
TH
28052012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2806
2807 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2808 to draw rectangles, not squares. (Regression introduced by revno
2809 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2810
4c5779ab
CY
28112012-03-18 Chong Yidong <cyd@gnu.org>
2812
2813 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2814 it is not yet defined (for temacs).
2815
15360934
LL
28162012-03-18 Leo Liu <sdl.web@gmail.com>
2817
dc9924b8 2818 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 2819
d9a8eb66
EZ
28202012-03-17 Eli Zaretskii <eliz@gnu.org>
2821
2822 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2823 (ispell-choices-win-default-height, ispell-silently-savep)
2824 (ispell-dictionary-alist, ispell-encoding8-command)
2825 (ispell-check-version, ispell-aspell-find-dictionary)
2826 (ispell-valid-dictionary-list, ispell-words-keyword)
2827 (ispell-get-word, ispell-internal-change-dictionary)
2828 (ispell-region, ispell-skip-region-list)
2829 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2830 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2831 (ispell-message-text-end, ispell-message)
2832 (ispell-buffer-local-parsing): Doc fix.
2833
f02ff80d
J
28342012-03-13 Jambunathan K <kjambunathan@gmail.com>
2835
2836 * htmlfontify.el: Add support for code block fontification for ODT
2837 export (Bug #9914).
2838 (hfy-optimisations): Define new option
2839 `body-text-only'
2840 (hfy-fontify-buffer): Honor above setting.
2841 (hfy-begin-span, hfy-end-span): New routines factored out form
2842 `hfy-fontify-buffer'.
2843 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2844 that permit insertion of custom tags.
2845 (hfy-fontify-buffer): Use above handlers.
2846 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2847 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 2848 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 2849 over multiple runs. This is made possible by having the caller let
f02ff80d
J
2850 bind a special variable `hfy-user-sheet-assoc'.
2851 (htmlfontify-string): New defun.
2852 (hfy-compile-face-map): Make sure that the last char in the
2853 buffer is correctly fontified.
2854 (hfy-face-resolve-face): Whitespace only change.
2855
9ac7a13f
EZ
28562012-03-17 Eli Zaretskii <eliz@gnu.org>
2857
2858 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2859 message more clear.
2860
e2b5bdd7
LL
28612012-03-16 Leo Liu <sdl.web@gmail.com>
2862
2863 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2864
2e492df3
AM
28652012-03-16 Alan Mackenzie <acm@muc.de>
2866
2867 Further optimise the handling of large macros.
2868
2869 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2870 limit to a call of `c-literal-limits'.
2871 (c-determine-+ve-limit): New function.
dc9924b8
SM
2872 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2873 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
2874 In CASE 5B, restrict a search limit to 500.
2875 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2876
2877 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2878 Restrict macro bounds to +-500 from after-change's BEG END.
2879
50e94f0c
LL
28802012-03-16 Leo Liu <sdl.web@gmail.com>
2881
2882 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2883
6f09f6ed
AH
28842012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2885
2886 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 2887 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 2888
c7e73d51
GM
28892012-03-16 Glenn Morris <rgm@gnu.org>
2890
da986230
GM
2891 * view.el (view-buffer, view-buffer-other-window)
2892 (view-buffer-other-frame): Doc fixes re special mode-class.
2893
0835f01e
GM
2894 * subr.el (eval-after-load): If named feature is provided not from
2895 a file, run after-load forms. (Bug#10946)
2896
c7e73d51
GM
2897 * calendar/calendar.el (calendar-insert-at-column):
2898 Handle non-unit-width characters a bit better. (Bug#10978)
2899
3f2eafd1
CY
29002012-03-15 Chong Yidong <cyd@gnu.org>
2901
2902 * emacs-lisp/ring.el (ring-extend): New function.
2903 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2904
2905 * comint.el (comint-read-input-ring)
2906 (comint-add-to-input-history): Grow comint-input-ring lazily.
2907
103af3fe
SM
29082012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2909
663b1677
SM
2910 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2911 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2912
103af3fe
SM
2913 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2914 (imenu-add-to-menubar): Don't add a redundant index.
2915 (imenu-update-menubar): Handle a dynamically composed keymap.
2916
899cb7cb
KY
29172012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2918
2919 * mail/sendmail.el (mail-encode-header):
2920 Bind rfc2047-encode-encoded-words to nil.
2921
3809f91d
GM
29222012-03-13 Glenn Morris <rgm@gnu.org>
2923
2924 * calendar/calendar.el (calendar-string-spread):
2925 Handle non-unit-width characters a bit better. (Bug#10978)
2926
9e345a01
LL
29272012-03-13 Leo Liu <sdl.web@gmail.com>
2928
2929 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2930 directory and file as argument (Bug#10822).
2931
4a07df36
KS
29322012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2933
2934 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2935 For dynamically generated code, follow $PC.
2936 (gdb-disassembly-handler-custom): Handle no function name case.
2937
4aaa9356
TL
29382012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2939
2940 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2941 * emulation/ws-mode.el (ws-query-replace):
2942 * sort.el (sort-regexp-fields):
2943 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2944
225979da
SM
29452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2946
2947 * dabbrev.el: Fix cycle completion order (bug#10963).
2948 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2949 (dabbrev-completion): Don't use an obarray; provide
2950 a cycle-sort-function.
2951
e2f1fdab
LL
29522012-03-12 Leo Liu <sdl.web@gmail.com>
2953
dc9924b8 2954 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
2955 (kill-do-not-save-duplicates): Doc fix.
2956
b19490ed
SM
29572012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * dabbrev.el: Fix cycle completion (bug#10963).
2960 Use lexical binding and wrap to 80 columns.
2961 (dabbrev-completion): Delay computing the list of completions.
2962
4b05d722
KH
29632012-03-12 Kenichi Handa <handa@m17n.org>
2964
2965 * international/quail.el (quail-insert-kbd-layout): Surround each
2966 row by LRO and PDF instead of inserting many LRMs. Pad the left
2967 and right of each non-spacing marks. Insert invisible space
2968 between lower and upper characters to prevent composition.
2969
dbbc2e69
SM
29702012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * minibuffer.el (minibuffer-complete): Don't get confused when the
2973 function is run twice via different commands (bug#10958).
2974 (complete-with-action): Fix docstring.
2975
292112ed
CY
29762012-03-12 Chong Yidong <cyd@gnu.org>
2977
5d1ac394
CY
2978 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2979 (nxml-completion-at-point-function): New function.
2980 (nxml-mode): Use it.
2981 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2982
292112ed
CY
2983 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2984 Load generated autoloads file before byte compiling (Bug#10970).
2985 (package--make-autoloads-and-compile): New helper fun.
2986
4098f8f7
CS
29872012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2988
2989 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2990
8f754691
MA
29912012-03-11 Michael Albinus <michael.albinus@gmx.de>
2992
2993 * autorevert.el (auto-revert-handler): Ensure, that
2994 file-readable-p is applied only for local files or in
2995 auto-revert-tail-mode.
2996
e29ab36b
AS
29972012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2998
dbbc2e69
SM
2999 * server.el (server-eval-at): Handle non-tcp connections.
3000 Decode result string.
ad0bf5b6 3001
e29ab36b
AS
3002 * server.el (server-msg-size): New constant.
3003 (server-reply-print): New function.
3004 (server-eval-and-print): Use it.
3005 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3006 Handle -print-nonl.
3007
de5939ba
CS
30082012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3009
3010 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3011 (Bug#10987).
3012
0c93eabf
CY
30132012-03-11 Chong Yidong <cyd@gnu.org>
3014
397a688f
CY
3015 * simple.el (goto-line): Doc fix (Bug#9938).
3016
2cc775f9
CY
3017 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3018
0c93eabf
CY
3019 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3020 when finished (Bug#10963).
3021
c491fa41
MR
30222012-03-11 Martin Rudalics <rudalics@gmx.at>
3023
3024 * window.el (split-window-below): Fix bug in case where
3025 split-window-keep-point is nil (Bug#10971).
3026
300e8fa5
JL
30272012-03-11 Juri Linkov <juri@jurta.org>
3028
3029 * replace.el (replace-highlight): Set isearch-word to nil
3030 unconditionally. (Bug#10887)
3031
dbf6c5a1
EZ
30322012-03-10 Eli Zaretskii <eliz@gnu.org>
3033
3034 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3035 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3036 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3037 (mairix-widget-create-query): Add usage information about mairix
3038 search forms: negating words, searching for substrings, etc.
3039
b9e501de
JP
30402012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3041
3042 * international/fontset.el (font-encoding-alist): Add an entry for
3043 ksx1001 (Bug#5667).
3044
92795c91
RS
30452012-03-10 Richard Stallman <rms@gnu.org>
3046
1694e6c1
RS
3047 * mail/sendmail.el (mail-encode-header):
3048 Set rfc2047-encode-encoded-words.
3049
607e8555
RS
3050 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3051
de3bc99a
RS
3052 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3053 view buffer means not swapped.
3054 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3055 (rmail-write-region-annotate): Error if real text has disappeared.
3056
92795c91
RS
3057 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3058
699bd04e
CY
30592012-03-10 Chong Yidong <cyd@gnu.org>
3060
3061 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3062 * emulation/cua-base.el (cua--init-keymaps):
3063 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3064
570a1714
MR
30652012-03-10 Martin Rudalics <rudalics@gmx.at>
3066
dbbc2e69
SM
3067 * speedbar.el (speedbar-unhighlight-one-tag-line):
3068 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3069
82dcf4e4
CY
30702012-03-10 Chong Yidong <cyd@gnu.org>
3071
7a2c7ca7
CY
3072 * minibuffer.el (completion-in-region, completion-help-at-point):
3073 Give the completion field overlay a high priority (Bug#6830).
3074
82dcf4e4
CY
3075 * dired.el (dired-goto-file): Recognize absolute file name
3076 listings (Bug#7126).
3077 (dired-goto-file-1): New helper function.
3078 (dired-toggle-read-only): Inhibit warnings.
3079
052e28ac
MA
30802012-03-09 Michael Albinus <michael.albinus@gmx.de>
3081
75f1671a 3082 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3083 there are no properties.
3084
95d5e396
LL
30852012-03-09 Leo Liu <sdl.web@gmail.com>
3086
3087 * savehist.el (savehist-printable): Stricter check for string
3088 value (Bug#10937).
3089
3f018d6d
EZ
30902012-03-09 Eli Zaretskii <eliz@gnu.org>
3091
dbbc2e69
SM
3092 * mail/smtpmail.el (smtpmail-send-it):
3093 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3094 valid mbox format.
3095
f7fd3d79
GM
30962012-03-09 Glenn Morris <rgm@gnu.org>
3097
3098 * files.el (dir-locals-find-file):
3099 Don't check result is regular, readable.
3100 (dir-locals-read-from-file): Demote errors.
3101
6ff6e72f
EZ
31022012-03-08 Eli Zaretskii <eliz@gnu.org>
3103
dbbc2e69
SM
3104 * international/quail.el (quail-insert-kbd-layout):
3105 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3106 layout cell, to prevent their reordering by bidi display engine.
3107 For details, see the discussion in
3108 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3109
9cec7834
AM
31102012-03-08 Alan Mackenzie <acm@muc.de>
3111
3112 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3113 the starting position; make it extend the marked region when
3114 invoked repeatedly - all under appropriate circumstances.
3115 Fixes bugs #5525, #10906.
3116
9a40b8d4
GM
31172012-03-08 Glenn Morris <rgm@gnu.org>
3118
3119 * files.el (locate-dominating-file, dir-locals-find-file):
3120 Undo 2012-03-06 change.
3121
7a08ed35
EZ
31222012-03-07 Eli Zaretskii <eliz@gnu.org>
3123
dbbc2e69
SM
3124 * international/quail.el (quail-help):
3125 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3126 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3127 for the reason.
3128
5aca4f71 31292012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3130
3131 Avoid superfluous registering of signals. (Bug#10807)
3132
3133 * notifications.el (notifications-on-action-object)
3134 (notifications-on-close-object): New defvars.
3135 (notifications-on-action-signal, notifications-on-closed-signal):
3136 Unregister the signal if not needed any longer.
3137 (notifications-notify): Register `notifications-action-signal' or
3138 `notifications-closed-signal', if :on-action or :on-close has been
3139 passed as argument.
3140
78e8b10a
CY
31412012-03-07 Chong Yidong <cyd@gnu.org>
3142
3143 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3144 non-X platforms.
3145
69481eb8
GM
31462012-03-06 Glenn Morris <rgm@gnu.org>
3147
3148 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3149 (x-disown-selection-internal, x-get-selection-internal):
3150 Doc fix (add arglist signatures). (Bug#10783)
3151
133b8e11
KS
31522012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3153
3154 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3155 Handle breakpoints with no "type".
3156
99a83064
GM
31572012-03-06 Glenn Morris <rgm@gnu.org>
3158
3159 * files.el (locate-dominating-file): Add optional predicate argument.
3160 (dir-locals-find-file): Make use of above change.
3161
17798e78
TTN
31622012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3163
3164 * info.el (Info-insert-dir): Also try "dir.gz".
3165
eb182446
GM
31662012-03-06 Glenn Morris <rgm@gnu.org>
3167
8f2114ee
GM
3168 * files.el (dir-locals-find-file):
3169 Ignore non-readable or non-regular files. (Bug#10928)
3170
eb182446
GM
3171 * files.el (locate-dominating-file): Doc fix.
3172
24679323
AS
31732012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3174
3175 * calendar/calendar.el (calendar-set-mode-line):
3176 `getenv' returns a string. (Bug#10951)
3177
01d972a9
LL
31782012-03-05 Leo Liu <sdl.web@gmail.com>
3179
109aa8a9
LL
3180 * simple.el (backward-delete-char-untabify): Constrain point to
3181 field (Bug#10939).
3182
01d972a9
LL
3183 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3184
10607bea
CY
31852012-03-05 Chong Yidong <cyd@gnu.org>
3186
3187 * simple.el (count-words): If called from Lisp, return the word
3188 count, for symmetry with `count-lines'. Arglist changed.
3189 (count-words--message): Args changed. Consolidate counting code
3190 from count-words and count-words-region.
3191 (count-words-region): Caller changed.
3192 (count-lines-region): Make it an obsolete alias.
3193
5dd11cfe
TH
31942012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3195
3196 * saveplace.el (save-place-to-alist)
3197 (save-place-ignore-files-regexp): Allow value nil to disable this
3198 feature.
3199
c349f4e6
CY
32002012-03-04 Chong Yidong <cyd@gnu.org>
3201
3202 * faces.el (face-spec-reset-face): For the default face, reset the
3203 attributes to default values (Bug#10748).
3204
e627be4c
LMI
32052012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3206
3207 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3208 previous patch: Check `message-send-mail-function', and not the
3209 default function (bug#10897).
3210
ebeabff4
MA
32112012-03-04 Michael Albinus <michael.albinus@gmx.de>
3212
a41a6cf4
MA
3213 * notifications.el (notifications-on-action-signal)
3214 (notifications-on-closed-signal): Check for unique service name of
3215 incoming event. Fix error in removing entry.
ebeabff4 3216 (top): Register for signals with wildcard service name.
a41a6cf4 3217 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3218
c1ca42b4
CY
32192012-03-04 Chong Yidong <cyd@gnu.org>
3220
dc9924b8 3221 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3222
ea16568d
GM
32232012-03-04 Glenn Morris <rgm@gnu.org>
3224
3225 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3226 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3227 (expand-abbrev, define-abbrev-table): Doc fixes.
3228
fbae4637
LMI
32292012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3230
3231 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3232 `message-default-send-mail-function' and not `send-mail-function'
3233 when doing the prompting for `sendmail-query-once' before sending
3234 in Message buffers (bug#10897).
3235
a1e7225c
LMI
3236 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3237 This is inconsistent with all the other stream functions, which leave
3238 the setting up to the higher levels (if so wanted) (bug#10931).
3239
56d093a9
AM
32402012-03-02 Alan Mackenzie <acm@muc.de>
3241
3242 Depessimize the handling of very large macros.
3243
3244 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3245 (c-macro-cache-syntactic): New variables to implement a one
3246 element macro cache.
3247 (c-invalidate-macro-cache): New function.
3248 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3249 Adapt to use the new cache.
3250 (c-state-safe-place): Use better the cache of safe positions.
3251 (c-state-semi-nonlit-pos-cache)
3252 (c-state-semi-nonlit-pos-cache-limit):
3253 New variables for...
3254 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3255 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3256 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3257 Use c-state-semi-safe-place.
56d093a9 3258
dbbc2e69
SM
3259 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3260 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3261
817e5c3d
MA
32622012-03-02 Michael Albinus <michael.albinus@gmx.de>
3263
dbbc2e69
SM
3264 * jka-compr.el (jka-compr-call-process):
3265 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3266 not remote.
3267
a032a702
MA
32682012-03-01 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3271 access of FILE2, if FILE1 does not exist.
3272
99a54f21
MA
3273 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3274 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3275
3276 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3277 Add "PAGER=" to `process-environment'.
3278
f6561e1f
MM
32792012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3280
3281 * progmodes/sql.el: Bug fix
3282 (sql-get-login-ext): Save login values in globals.
3283 (sql-get-login): Use new version of `sql-get-login-ext'.
3284 (sql-interactive-mode): Set global `sql-connection' to nil.
3285 (sql-connect): Set global values for connection.
3286 (sql-product-interactive): Save global values as buffer local.
3287
2d44d9cc
LL
32882012-02-29 Leo Liu <sdl.web@gmail.com>
3289
3290 * abbrev.el (define-abbrevs): Reset sys to nil.
3291
96b49301 32922012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3293
bf7f9bc5
JB
3294 * files.el (file-equal-p): Rename from `files-equal-p'.
3295 Return nil when one or both files don't exist.
96b49301 3296 (file-subdir-of-p): Now only top directory must exists,
3297 return nil if it doesn't.
bf7f9bc5
JB
3298 (copy-directory): No need to test with `file-subdir-of-p' after
3299 creating dir.
3300 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3301 to `file-equal-p'.
96b49301 3302
44e97401
GM
33032012-02-28 Glenn Morris <rgm@gnu.org>
3304
3305 * shell.el (shell-mode):
3306 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3307 * play/landmark.el (landmark-font-lock-face-O):
3308 * play/handwrite.el (handwrite):
3309 * play/gomoku.el (gomoku-O):
3310 * net/browse-url.el (browse-url-browser-display):
3311 * international/mule.el (define-charset):
3312 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3313 * filesets.el (filesets-find-file-delay):
3314 * eshell/em-xtra.el (eshell-xtra):
3315 * eshell/em-unix.el (eshell-grep):
3316 * emulation/viper.el (viper-mode):
3317 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3318 * emacs-lisp/easymenu.el (easy-menu-define):
3319 * calendar/timeclock.el (timeclock-use-display-time):
3320 * bs.el (bs-mode):
3321 * bookmark.el (bookmark-save-flag):
3322 Doc fix (standardize possessive apostrophe usage).
3323
c98c6276
CY
33242012-02-27 Chong Yidong <cyd@gnu.org>
3325
bf7f9bc5
JB
3326 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3327 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3328
c98c6276
CY
3329 * font-lock.el (font-lock-specified-p): Rename from
3330 font-lock-spec-present. Callers changed.
3331
9c62cd04 33322012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3333
bf7f9bc5
JB
3334 * emacs-lisp/package.el (package-compute-transaction):
3335 Handle holding a package version to t in package-load-list.
8ac9e529 3336
530739c9
MA
33372012-02-26 Michael Albinus <michael.albinus@gmx.de>
3338
3339 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3340 (tramp-get-inode, tramp-get-device): Use cached values.
3341
487915d7
AM
33422012-02-26 Alan Mackenzie <acm@muc.de>
3343
3344 Check there is a font-lock specification before doing initial
3345 fontification.
3346
3347 * font-core.el (font-lock-mode): Move the conditional from
3348 :after-hook to font-lock-initial-fontify.
3349 (font-lock-default-function): Move the check for a specification
3350 to font-lock-spec-present.
3351
dc9924b8 3352 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3353 (font-lock-spec-present): New function.
3354
4fd96557
JB
33552012-02-26 Jim Blandy <jimb@red-bean.com>
3356
3357 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3358 (gdb-send): Apply it to the operand of the '-interpreter-exec
3359 console' command, so that we can pass arguments with (say) quotes
3360 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3361
9a4888c0
CY
33622012-02-26 Chong Yidong <cyd@gnu.org>
3363
07498861
CY
3364 * help-fns.el (describe-function-1): Clarify description of
3365 remapping (Bug#10844).
3366
9a4888c0
CY
3367 * files.el (files-equal-p): Doc fix.
3368 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3369 and quit the loop once a mismatch is found.
3370
ea8fb88d
JB
33712012-02-25 Juanma Barranquero <lekktu@gmail.com>
3372
3373 * bs.el (bs--show-with-configuration): Don't throw an error
3374 if the window cannot be split; otherwise, subsequent calls to
3375 bs-show fail, restoring a stale window config. (Bug#10882)
3376
525795c1
JD
33772012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3378
3379 * term/ns-win.el (global-map): Bind ns-drag-file to
3380 ns-find-file (Bug#5855, Bug#10050).
3381
f008086f
AS
33822012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3383
3384 * calendar/parse-time.el (parse-time-string): Allow extractor to
3385 return nil.
3386
a3fcfa99
MA
33872012-02-25 Michael Albinus <michael.albinus@gmx.de>
3388
91027d08
JB
3389 * net/tramp.el (tramp-file-name-for-operation):
3390 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3391
3392 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3393 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3394 Add COPY-CONTENTS argument.
a3fcfa99 3395
67b0de11
CY
33962012-02-25 Chong Yidong <cyd@gnu.org>
3397
3398 Add custom groups for VC backends, for consistency with vc-bzr.
3399
3400 * vc/vc-arch.el (vc-arch):
3401 * vc/vc-cvs.el (vc-cvs):
3402 * vc/vc-git.el (vc-git):
3403 * vc/vc-hg.el (vc-hg):
3404 * vc/vc-mtn.el (vc-mtn):
3405 * vc/vc-rcs.el (vc-rcs):
3406 * vc/vc-sccs.el (vc-sccs):
3407 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3408 All relevant defcustoms reassigned.
3409
3c9dfce6
CY
34102012-02-25 Chong Yidong <cyd@gnu.org>
3411
1339bf43
CY
3412 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3413
3c9dfce6
CY
3414 * term/x-win.el (x-initialize-window-system): Reduce default for
3415 x-selection-timeout to 5 seconds (Bug#8869).
3416
25b2e303 34172012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3418
ec70a47d
GM
3419 * files.el (files-equal-p, file-subdir-of-p): New functions.
3420 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3421 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3422 * dired-aux.el (dired-copy-file-recursive): Same.
3423 (dired-create-files): Modify destination when source is equal to
3424 dest when copying files.
53a46cd0 3425 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3426
914260cd
MA
34272012-02-24 Michael Albinus <michael.albinus@gmx.de>
3428
3429 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3430 (Bug#10874)
3431
2cb228f7
AM
34322012-02-23 Alan Mackenzie <acm@muc.de>
3433
3434 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3435 parameter "after-hook:" to allow the expansion to run code after
3436 the execution of the mode hooks.
3437
3438 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3439 from font-lock-mode-internal.
2cb228f7 3440
91027d08 3441 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3442 :after-hook.
3443
8f0fde21
SM
34442012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3e88618b
SM
3446 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3447 (completion--cache-all-sorted-completions): New function.
3448 (completion-all-sorted-completions): Use it.
3449 (completion--do-completion, minibuffer-force-complete):
3450 Use it to re-instate the flush hook.
3451
8f0fde21
SM
3452 * icomplete.el (icomplete-completions): Replace last fix with a better
3453 one (bug#10850).
3454
8e911f6f
DG
34552012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3456
3457 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3458 when it might call us back infinitely (bug#10797).
3459
49fe4321
GM
34602012-02-23 Glenn Morris <rgm@gnu.org>
3461
3462 * minibuffer.el (completion-category-overrides): Doc fix.
3463
b291b572
SM
34642012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3467 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3468
31a9ef2e
GM
34692012-02-23 Glenn Morris <rgm@gnu.org>
3470
5e6e6794 3471 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3472 (authors-obsolete-files-regexps, authors-ignored-files)
3473 (authors-ambiguous-files, authors-renamed-files-alist):
3474 Add more entries.
3475
0bd1e074
JL
34762012-02-23 Juri Linkov <juri@jurta.org>
3477
3478 * isearch.el (isearch-occur): Sync interactive spec with occur's
3479 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3480
b617673c
JL
3481 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3482
19e9789e
JL
34832012-02-22 Juri Linkov <juri@jurta.org>
3484
3485 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3486 (ucs-insert): Doc fix. Check for hex digits in the string.
3487 Don't display `nil' in the error message. (Bug#10857)
3488
f41ce09d
AM
34892012-02-22 Alan Mackenzie <acm@muc.de>
3490
7a71b18d 3491 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3492
ac2eceee
GM
34932012-02-22 Glenn Morris <rgm@gnu.org>
3494
3495 * ffap.el (ffap-c-path):
3496 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3497
abd1f678
CY
34982012-02-22 Chong Yidong <cyd@gnu.org>
3499
3500 * custom.el (load-theme): Doc fix.
3501
f25aef2e
GM
35022012-02-22 Glenn Morris <rgm@gnu.org>
3503
3504 * dired-x.el (dired-guess-shell-alist-default):
3505 Remove escape sequences from nroff output. (Bug#172)
3506
5f8dc2ca
GM
35072012-02-21 Glenn Morris <rgm@gnu.org>
3508
6ff86ec4
GM
3509 * vc/emerge.el (emerge-defvar-local):
3510 Set `permanent-local' property rather than unused `preserved'.
3511
be3223a3 3512 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3513 (picture-mode-map): Use it. (Bug#10860)
3514 (picture-mode): Doc fix.
3515
3fe58f4f
JB
35162012-02-21 Juanma Barranquero <lekktu@gmail.com>
3517
3518 * newcomment.el (uncomment-region-default): Remove unused binding.
3519
f9a998c3
GM
35202012-02-21 Glenn Morris <rgm@gnu.org>
3521
3522 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3523 (picture-self-insert, picture-tab-chars): Doc fix.
3524 (picture-mode-map): Fix C-a, C-e.
3525
c6029348
GM
35262012-02-20 Glenn Morris <rgm@gnu.org>
3527
3528 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3529
ab1ce9d7
LL
35302012-02-20 Leo Liu <sdl.web@gmail.com>
3531
3532 * icomplete.el (icomplete-completions): Check FROM arg before
3533 passing to substring (Bug#10850).
3534
0fd40f89
CY
35352012-02-19 Chong Yidong <cyd@gnu.org>
3536
3537 * comint.el: Require ansi-color.
3538 (comint-output-filter-functions): Add ansi-color-process-output.
3539
3540 * ansi-color.el: Don't set comint-output-filter-functions; it is
3541 now in the initial value defined in comint.el.
3542 (ansi-color-apply-face-function): New variable.
3543 (ansi-color-apply-on-region): Use it.
3544 (ansi-color-apply-overlay-face): New function.
3545
3546 * shell.el (shell): No need to require ansi-color.
3547 (shell-mode): Use ansi-color-apply-face-function to highlight
3548 color escapes using font-lock-face property (Bug#10835).
3549
20af2394
CY
35502012-02-19 Chong Yidong <cyd@gnu.org>
3551
3552 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3553 mode-line formats (Bug#10839).
3554
e23a3fbe
GM
35552012-02-18 Glenn Morris <rgm@gnu.org>
3556
b474519e
GM
3557 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3558
3559 * mail/undigest.el (unforward-rmail-message): Doc fix.
3560
e23a3fbe
GM
3561 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3562
57939ff4
EZ
35632012-02-18 Eli Zaretskii <eliz@gnu.org>
3564
3565 * international/characters.el (script-list): Sync with the latest
3566 Unicode Character Database.
3567
0c23686e
AS
35682012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3569
3570 * international/titdic-cnv.el: Remove duplicate coding tag.
3571 * language/cham.el: Likewise.
3572 * language/tai-viet.el: Likewise.
3573
6818b449
GM
35742012-02-18 Glenn Morris <rgm@gnu.org>
3575
3576 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3577 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3578 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3579 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3580 * calendar/holidays.el (holiday-bahai-holidays)
3581 (calendar-holidays, list-holidays):
3582 Use utf-8 Bahá'í in doc-strings, menus, etc.
3583
0311a3fc
TH
35842012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3585
3586 * saveplace.el (save-place-ignore-files-regexp): New variable
3587 allowing for excluding files from saving their location of point.
3588 The default value matches the temporary commit message editing
3589 files from Git, SVN, Bazaar, and Mercurial.
3590 (save-place-to-alist): Use it.
3591
eb864a71
LM
35922012-02-17 Lawrence Mitchell <wence@gmx.li>
3593 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * newcomment.el (uncomment-region-default): Don't leave extra space
3596 when an arg is provided (bug#8150).
3597
ee0ce425
TZ
35982012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3599
eb864a71 3600 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3601
95ddf442
GM
36022012-02-17 Glenn Morris <rgm@gnu.org>
3603
3604 * net/socks.el: Require network-stream. (Bug#10599)
3605
48dd1e39 36062012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3607
3608 * international/charprop.el:
3609 * international/uni-name.el:
3610 * international/uni-old-name.el:
3611 * international/uni-comment.el: Regenerate.
3612
d68cd087
GM
36132012-02-16 Glenn Morris <rgm@gnu.org>
3614
3615 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3616 Interactively in calendar buffer, give an error if not on a date.
3617
13932042
GM
36182012-02-15 Glenn Morris <rgm@gnu.org>
3619
3620 * shell.el (shell-delimiter-argument-list):
3621 Revert 2011-02-17 change. (Bug#8027)
3622
c3a70e2b
CY
36232012-02-15 Chong Yidong <cyd@gnu.org>
3624
60236b0d
CY
3625 * minibuffer.el (completion-at-point-functions): Doc fix.
3626
c3a70e2b
CY
3627 * custom.el (defcustom): Doc fix; note use of defvar.
3628
9f26dc24
GM
36292012-02-15 Glenn Morris <rgm@gnu.org>
3630
3631 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3632 Doc fixes.
3633
6546b134
GM
36342012-02-14 Glenn Morris <rgm@gnu.org>
3635
3636 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3637
d29b2b4c
LI
36382012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3639
3640 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3641 way the ports list is computed.
835bdcba
LI
3642 (smtpmail-query-smtp-server): Prompt the user for a port number if
3643 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3644
08dcdbc9
TZ
36452012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3646
3647 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3648
2605051a
GM
36492012-02-13 Glenn Morris <rgm@gnu.org>
3650
3651 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3652
7ee99f32
TZ
36532012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3654
3655 * net/gnutls.el (gnutls-trustfiles): New variable.
3656 (gnutls-negotiate): Use it.
3657
5f0af64f
LI
36582012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3659
3660 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3661 does its stuff if Gnus is running.
3662
c14fcc95
AM
36632012-02-13 Alan Mackenzie <acm@muc.de>
3664
3665 Fix a loop in c-set-fl-decl-start.
3666
7a71b18d 3667 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3668 c-backward-syntactic-ws actually moves backwards.
3669
142b4d90
LL
36702012-02-13 Leo Liu <sdl.web@gmail.com>
3671
3672 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3673 beginning so that all \C-o chars are removed.
3674
fa9958a6
TZ
36752012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3676
dc9924b8 3677 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3678
0bc5886a
AM
36792012-02-12 Alan Mackenzie <acm@muc.de>
3680
3681 Fix infinite loop with long macros.
4d6769e1 3682 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3683
d4bd55e7
CY
36842012-02-12 Chong Yidong <cyd@gnu.org>
3685
3686 * window.el (display-buffer): Doc fix (Bug#10785).
3687
66f3fe22
GM
36882012-02-12 Glenn Morris <rgm@gnu.org>
3689
bd7da63e
GM
3690 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3691 (x-disown-selection-internal, x-get-selection-internal):
3692 Sync docs with the xselect.c versions.
3693
66f3fe22
GM
3694 * allout-widgets.el: Add missing license notice.
3695
3e0d2fa7
GM
36962012-02-11 Glenn Morris <rgm@gnu.org>
3697
cfecdf09
GM
3698 * select.el (x-get-selection-internal, x-own-selection-internal)
3699 (x-disown-selection-internal):
3700 * x-dnd.el (x-get-selection-internal): Update declarations.
3701
6d216d7f
GM
3702 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3703
2bed3f04
GM
3704 * window.el (window-sides-slots):
3705 * tool-bar.el (tool-bar-position):
3706 * term/xterm.el (xterm-extra-capabilities):
3707 * ses.el (ses-self-reference-early-detection):
3708 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3709 (verilog-auto-wire-type)
3710 (verilog-auto-delete-trailing-whitespace)
3711 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3712 (verilog-auto-tieoff-declaration):
3713 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3714 (sql-oracle-statement-starters, sql-oracle-scan-on):
3715 * progmodes/prolog.el (prolog-align-comments-flag)
3716 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3717 (prolog-left-indent-regexp, prolog-paren-indent-p)
3718 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3719 (prolog-types, prolog-mode-specificators)
3720 (prolog-determinism-specificators, prolog-directives)
3721 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3722 (prolog-electric-dot-flag)
3723 (prolog-electric-dot-full-predicate-template)
3724 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3725 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3726 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3727 (prolog-program-switches, prolog-prompt-regexp)
3728 (prolog-debug-on-string, prolog-debug-off-string)
3729 (prolog-trace-on-string, prolog-trace-off-string)
3730 (prolog-zip-on-string, prolog-zip-off-string)
3731 (prolog-use-standard-consult-compile-method-flag)
3732 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3733 (prolog-imenu-max-lines, prolog-info-predicate-index)
3734 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3735 (prolog-char-quote-workaround):
3736 * progmodes/cc-vars.el (c-defun-tactic):
3737 * net/tramp.el (tramp-encoding-command-interactive)
3738 (tramp-local-end-of-line):
3739 * net/soap-client.el (soap-client):
3740 * net/netrc.el (netrc-file):
3741 * net/gnutls.el (gnutls):
3742 * minibuffer.el (completion-category-overrides)
3743 (completion-cycle-threshold)
3744 (completion-pcm-complete-word-inserts-delimiters):
3745 * man.el (Man-name-local-regexp):
3746 * mail/feedmail.el (feedmail-display-full-frame):
3747 * international/characters.el (glyphless-char-display-control):
3748 * eshell/em-ls.el (eshell-ls-date-format):
3749 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3750 (lisp-lambda-list-keyword-parameter-indentation)
3751 (lisp-lambda-list-keyword-parameter-alignment):
3752 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3753 * dired-x.el (dired-omit-verbose):
3754 * cus-theme.el (custom-theme-allow-multiple-selections):
3755 * calc/calc.el (calc-highlight-selections-with-faces)
3756 (calc-lu-field-reference, calc-lu-power-reference)
3757 (calc-note-threshold):
3758 * battery.el (battery-mode-line-limit):
3759 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3760 (archive-7z-update):
3761 * allout.el (allout-prefixed-keybindings)
3762 (allout-unprefixed-keybindings)
3763 (allout-inhibit-auto-fill-on-headline)
3764 (allout-flattened-numbering-abbreviation):
3765 * allout-widgets.el (allout-widgets-auto-activation)
3766 (allout-widgets-icons-dark-subdir)
3767 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3768 (allout-widgets-theme-dark-background)
3769 (allout-widgets-theme-light-background)
3770 (allout-widgets-item-image-properties-emacs)
3771 (allout-widgets-item-image-properties-xemacs)
3772 (allout-widgets-run-unit-tests-on-load)
3773 (allout-widgets-time-decoration-activity)
3774 (allout-widgets-hook-error-post-time)
3775 (allout-widgets-track-decoration):
3776 Add missing :version tags to new defcustoms and defgroups.
3777
5fec1b8e
GM
3778 * progmodes/sql.el (sql-ansi-statement-starters)
3779 (sql-oracle-statement-starters): Add custom type.
3780
3e0d2fa7
GM
3781 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3782 (prolog-system-version): Give it a type.
3783
90b671e2
EZ
37842012-02-11 Eli Zaretskii <eliz@gnu.org>
3785
3786 * term/pc-win.el (x-select-text, x-selection-owner-p)
3787 (x-own-selection-internal, x-disown-selection-internal)
3788 (x-get-selection-internal): Sync doc strings and argument lists
3789 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3790
5eac0c02
LL
37912012-02-11 Leo Liu <sdl.web@gmail.com>
3792
3793 * progmodes/python.el (python-end-of-statement): Fix infinite
3794 loop. (Bug#10788)
3795
f82cb659
GM
37962012-02-10 Glenn Morris <rgm@gnu.org>
3797
3798 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3799 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3800
cc26d239
LI
38012012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3802
3803 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3804 about SMTP before checking the From header.
3805
91027d08 3806 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
3807 into own function for reuse by emacsbug.el.
3808
1be3ca5a
LL
38092012-02-10 Leo Liu <sdl.web@gmail.com>
3810
3811 * subr.el (condition-case-unless-debug): Rename from
3812 condition-case-no-debug. All callers changed.
3813 (with-demoted-errors): Fix caller.
3814
3815 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3816 * nxml/rng-valid.el (rng-do-some-validation):
3817 * emacs-lisp/package.el (package-refresh-contents)
3818 (package-menu-execute):
3819 * desktop.el (desktop-create-buffer):
91027d08 3820 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 3821
b011fbfe
GM
38222012-02-10 Glenn Morris <rgm@gnu.org>
3823
b2096d72
GM
3824 * textmodes/bibtex.el:
3825 Add missing :version tags for new/changed defcustoms.
3826
b011fbfe
GM
3827 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3828
4c7e65bf
LI
38292012-02-09 Lars Ingebrigtsen <larsi@rusty>
3830
3831 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3832 (smtpmail-via-smtp): Use it, or fall back on the From address.
3833 (smtpmail-send-it): Ditto.
3834
f3934f6f
SM
38352012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3836
3837 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3838 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3839 (byte-compile-tmp-var): New const.
3840 (byte-compile-defvar): Use it to minimize .elc size.
3841 Just use `defvar' rather than simulate it (bug#10761).
3842
a075a2c5
GM
38432012-02-09 Glenn Morris <rgm@gnu.org>
3844
cf3aa21b
GM
3845 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3846
354998cd
GM
3847 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3848 Add :version tags.
3849
dc9924b8
SM
3850 * progmodes/compile.el (compilation-error-screen-columns)
3851 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 3852
dab3703d
GM
3853 * vc/log-view.el (log-view-toggle-entry-display):
3854 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3855
3f88cd72
GM
3856 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3857 (report-emacs-bug-can-use-xdg-email):
3858 (report-emacs-bug-insert-to-mailer): Doc fixes.
3859 (report-emacs-bug): Message fix.
3860
d95b247d
GM
3861 * net/browse-url.el (browse-url-can-use-xdg-open)
3862 (browse-url-xdg-open): Doc fixes.
3863
a075a2c5
GM
3864 * electric.el (electric-indent-mode, electric-pair-mode)
3865 (electric-layout-rules, electric-layout-mode): Doc fixes.
3866 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3867
ffb6157e
MR
38682012-02-08 Martin Rudalics <rudalics@gmx.at>
3869
3870 * server.el (server-unselect-display): Don't inadvertently kill
3871 the current buffer. (Bug#10729)
3872
e1ac4066
GM
38732012-02-08 Glenn Morris <rgm@gnu.org>
3874
34e8a2da
GM
3875 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3876 (sql-list-table): Doc fixes.
3877
b4ac6e8c
GM
3878 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3879 Comment out (does nothing).
3880
e1ac4066
GM
3881 * completion.el (dynamic-completion-mode):
3882 * dirtrack.el (dirtrack-debug-mode):
3883 * electric.el (electric-layout-mode):
3884 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3885 * face-remap.el (text-scale-mode, buffer-face-mode):
3886 * iimage.el (iimage-mode):
3887 * image-mode.el (image-transform-mode):
3888 * minibuffer.el (completion-in-region-mode):
3889 * scroll-lock.el (scroll-lock-mode):
3890 * simple.el (next-error-follow-minor-mode):
3891 * tar-mode.el (tar-subfile-mode):
3892 * tooltip.el (tooltip-mode):
3893 * vcursor.el (vcursor-use-vcursor-map):
3894 * wid-browse.el (widget-minor-mode):
3895 * emulation/tpu-edt.el (tpu-edt-mode):
3896 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3897 * international/iso-ascii.el (iso-ascii-mode):
3898 * language/thai-util.el (thai-word-mode):
3899 * mail/supercite.el (sc-minor-mode):
3900 * net/goto-addr.el (goto-address-mode):
3901 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3902 * progmodes/cwarn.el (cwarn-mode):
3903 * progmodes/flymake.el (flymake-mode):
3904 * progmodes/glasses.el (glasses-mode):
3905 * progmodes/hideshow.el (hs-minor-mode):
3906 * progmodes/pascal.el (pascal-outline-mode):
3907 * textmodes/enriched.el (enriched-mode):
3908 * vc/smerge-mode.el (smerge-mode):
3909 Doc fixes (minor mode argument).
3910
5e0d957f
EZ
39112012-02-07 Eli Zaretskii <eliz@gnu.org>
3912
3913 * ls-lisp.el (ls-lisp-sanitize): New function.
3914 (ls-lisp-insert-directory): Use it to fix or remove any elements
3915 in file-alist with missing attributes. (Bug#4673)
3916
98d7371e
AM
39172012-02-07 Alan Mackenzie <acm@muc.de>
3918
3919 Fix spurious recognition of c-in-knr-argdecl.
3920
3921 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3922 putative K&R region.
3923
667ced3a
AM
39242012-02-07 Alan Mackenzie <acm@muc.de>
3925
eb864a71
LM
3926 * progmodes/cc-engine.el (c-forward-objc-directive):
3927 Prevent looping in "#pragma mark @implementation".
667ced3a 3928
5b77774d
MA
39292012-02-07 Michael Albinus <michael.albinus@gmx.de>
3930
3931 * notifications.el (notifications-on-closed-signal): Make `reason'
3932 optional. (Bug#10744)
3933
af008560
GM
39342012-02-07 Glenn Morris <rgm@gnu.org>
3935
60d47423
GM
3936 * emacs-lisp/easy-mmode.el (define-minor-mode):
3937 Doc fixes for the macro and the mode it defines.
3938
dd605cc4
GM
3939 * image.el (imagemagick-types-inhibit): Doc fix.
3940
af008560
GM
3941 * cus-start.el (imagemagick-render-type): Add it.
3942
5cc59a37
LI
39432012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3944
4d6769e1
JB
3945 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3946 Set the default at load time, too, so that `font-lock-fontify-buffer'
3947 can be called without setting up the entire mode first. This fixes
3948 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 3949
9a6dd747
CY
39502012-02-06 Chong Yidong <cyd@gnu.org>
3951
2d16b285
CY
3952 * simple.el (list-processes--refresh): Delete exited processes
3953 (Bug#8094).
3954
171e9b6e
CY
3955 * comint.el (comint-next-prompt): next-single-char-property-change
3956 and prev-single-char-property-change never return nil (Bug#8657).
3957
9a6dd747
CY
3958 * custom.el (defcustom): Doc fix (Bug#9711).
3959
aa4589a7
CY
39602012-02-05 Chong Yidong <cyd@gnu.org>
3961
5c2a252f
CY
3962 * cus-edit.el (custom-variable-reset-backup): Quote the value
3963 before storing it in the customized-value property (Bug#6712).
4aab9006 3964 (custom-display): Add a customization type tag.
983b9602 3965 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 3966
aa4589a7
CY
3967 * wid-edit.el (widget-field-value-get): New optional arg to
3968 suppress trailing whitespace truncation.
3969 (character): Use it (Bug#2689).
3970
1ff980ae
AS
39712012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3972
3973 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3974 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3975
03988c98
CY
39762012-02-05 Chong Yidong <cyd@gnu.org>
3977
eeb6cc88
CY
3978 * cus-edit.el (custom-variable-value-create): For mismatched
3979 types, show the current value (Bug#7600).
3980
03988c98
CY
3981 * custom.el (defcustom): Doc fix.
3982
f8cdeef0
GM
39832012-02-05 Glenn Morris <rgm@gnu.org>
3984
3985 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3986
0696d255
JB
39872012-02-05 Juanma Barranquero <lekktu@gmail.com>
3988
3989 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3990 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3991 (pp-last-sexp): Use `looking-at-p'.
3992
34c99998
GM
39932012-02-04 Glenn Morris <rgm@gnu.org>
3994
8f05da42
GM
3995 * files.el (revert-buffer):
3996 Doc fix (mention revert-buffer-in-progress-p).
3997
f160676e
GM
3998 * emacs-lisp/ert-x.el (ert-simulate-command):
3999 Check deferred-action-list (which is obsolete) is bound.
4000
c7291ad9
GM
4001 * subr.el (with-wrapper-hook): Doc fixes.
4002
34c99998
GM
4003 * simple.el (filter-buffer-substring-functions)
4004 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4005
6283a7d3
LL
40062012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4007
4008 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4009 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4010
e96e3013
LL
40112012-02-04 Leo Liu <sdl.web@gmail.com>
4012
4013 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4014
8ded50f2
GM
40152012-02-04 Glenn Morris <rgm@gnu.org>
4016
82ff1d13
GM
4017 * image.el (image-extension-data): Add obsolete alias.
4018
987a0a16
GM
4019 * isearch.el (isearch-update): Doc fix.
4020
ea32ef46
GM
4021 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4022
8ded50f2
GM
4023 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4024
eea14f31
GM
40252012-02-03 Glenn Morris <rgm@gnu.org>
4026
4027 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4028 (image-animate-timeout): Doc fix.
4029
4030 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4031
12f381b7
GM
40322012-02-02 Glenn Morris <rgm@gnu.org>
4033
953cebf5
GM
4034 * server.el (server-auth-dir): Doc fix.
4035 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4036
12f381b7
GM
4037 * subr.el (run-mode-hooks): Doc fix.
4038
953a8c3b
JL
40392012-02-02 Juri Linkov <juri@jurta.org>
4040
4041 * image-mode.el (image-toggle-display-image): Remove tautological
4042 `major-mode' from the `derived-mode-p' test.
4043
c5d3843c
KH
40442012-02-02 Kenichi Handa <handa@m17n.org>
4045
9f6e692e 4046 * composite.el (compose-region): Cancel previous change.
c5d3843c 4047
159462d4 40482012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4049
4050 * composite.el (compose-region, compose-string): Signal error for
4051 a null string component (Bug#6988).
4052
9f562668
CY
40532012-02-01 Chong Yidong <cyd@gnu.org>
4054
e2cef717
CY
4055 * view.el (view-buffer-other-window, view-buffer-other-frame):
4056 Handle special modes like view-buffer (Bug#10650).
4057 (view-buffer): Simplify.
4058
9f562668
CY
4059 * frame.el (set-frame-font): Tweak meaning of third argument.
4060
9f6e692e
JB
4061 * dynamic-setting.el (font-setting-change-default-font):
4062 Use set-frame-font (Bug#9982).
9f562668 4063
781acb9f
GM
40642012-02-01 Glenn Morris <rgm@gnu.org>
4065
6035be52
GM
4066 * progmodes/compile.el (compilation-internal-error-properties):
4067 Respect compilation-first-column in the "*compilation*" buffer.
4068
781acb9f
GM
4069 * emacs-lisp/easy-mmode.el (define-minor-mode):
4070 Relax :variable's test for a named function.
4071
abbceb00
AM
40722012-01-31 Alan Mackenzie <acm@muc.de>
4073
4074 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4075 off by one error.
4076
fce3fdeb
CY
40772012-01-31 Chong Yidong <cyd@gnu.org>
4078
4079 * frame.el (set-frame-font): New arg ALL-FRAMES.
4080
4081 * menu-bar.el (menu-set-font): Use set-frame-font.
4082
4083 * faces.el (face-spec-reset-face): Don't apply unspecified
4084 attribute values to the default face.
4085
47893581
JB
40862012-01-31 Juanma Barranquero <lekktu@gmail.com>
4087
4088 * progmodes/cwarn.el (cwarn): Remove dead link.
4089 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4090 Remove * from defcustom docstrings.
4091 (turn-on-cwarn-mode): Make obsolete.
4092 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4093 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4094
e58e988a
GM
40952012-01-31 Glenn Morris <rgm@gnu.org>
4096
60dc2671 4097 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4098 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4099 Allow named functions to be used as the cdr of :variable.
e58e988a 4100
7a3f511d
GM
41012012-01-30 Glenn Morris <rgm@gnu.org>
4102
4103 * emacs-lisp/authors.el (authors-fixed-entries):
4104 Remove reference to deleted file rnewspost.el.
4105
cb882333
JB
41062012-01-29 Juanma Barranquero <lekktu@gmail.com>
4107
4108 * window.el (window-with-parameter): Remove unused variable `windows'.
4109 (window--side-check): Remove unused variable `code'.
4110 (window--resize-siblings): Remove unused variable `first'.
4111 (adjust-window-trailing-edge): Remove unused variable `failed'.
4112 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4113 Use `let', not `let*'.
4114 (balance-windows-2): Remove unused variable `found'.
4115 (window--state-put-2): Remove unused variable `splits'.
4116 (window-state-put): Remove unused variable `selected'.
4117 (same-window-p): Use `string-match-p'.
4118 (display-buffer-assq-regexp): Remove unused variable `value'.
4119 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4120 Mark argument ALIST as ignored.
4121 (pop-to-buffer): Remove unused variable `old-window'.
4122
907201af
EZ
41232012-01-29 Eli Zaretskii <eliz@gnu.org>
4124
4125 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4126 and .lzma compressed files.
4127
ea162670
CY
41282012-01-29 Chong Yidong <cyd@gnu.org>
4129
5b95ee8a
CY
4130 * frame.el (window-system-default-frame-alist): Doc fix.
4131
ea162670
CY
4132 * dynamic-setting.el (font-setting-change-default-font): Don't
4133 change the default face if SET-FONT argument is non-nil (Bug#9982).
4134
d6e6f4b1
SB
41352012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4136
4137 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4138
0f29fa41 41392012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4140
4141 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4142 breakpoints in files outside current directory (Bug#6098).
4143
db174434
CY
41442012-01-29 Chong Yidong <cyd@gnu.org>
4145
6b25e4e2
SE
4146 * progmodes/python.el: Require ansi-color at top-level.
4147
6df6ae42
JB
4148 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4149 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4150 (lisp-mode-abbrev-table): Add doc.
4151 (lisp-mode-variables): Don't set local-abbrev-table.
4152 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4153
e70ee681
RW
41542012-01-28 Roland Winkler <winkler@gnu.org>
4155
4156 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4157
ace88aa2
RW
41582012-01-28 Roland Winkler <winkler@gnu.org>
4159
4160 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4161 (bibtex-set-dialect): Use it. Either set global values of
4162 dialect-dependent variables or bind these variables buffer-locally
4163 (Bug#10254).
4164 (bibtex-mode): Call bibtex-set-dialect via
4165 hack-local-variables-hook.
eb864a71
LM
4166 (bibtex-dialect): Update docstring.
4167 Add safe-local-variable predicate.
ace88aa2
RW
4168 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4169 bibtex-set-dialect.
4170 (bibtex-mode-map): Define menu for each dialect.
4171 (bibtex-entry): Fix docstring.
4172
93376c5b
CY
41732012-01-28 Chong Yidong <cyd@gnu.org>
4174
4175 * eshell/esh-arg.el (eshell-quote-argument): New function.
4176
4177 * eshell/esh-ext.el (eshell-invoke-batch-file):
4178 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4179 first arg to eshell-parse-command (Bug#10523).
4180
4372494f
DA
41812012-01-28 Drew Adams <drew.adams@oracle.com>
4182
4183 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4184 `default-directory' is non-nil.
4185
4d4ec1f8
EZ
41862012-01-28 Eli Zaretskii <eliz@gnu.org>
4187
4188 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4189 line that displays system-configuration-options. (Bug#9924)
4190
7c188927
DA
41912012-01-28 Drew Adams <drew.adams@oracle.com>
4192
4193 * descr-text.el (describe-char): Show information about POS, in
4194 addition to information about the character at POS. Improve and
4195 update the doc string. Change "code point" to "code point in
4196 charset", to avoid confusion with the character's Unicode code
4197 point shown above that. (Bug#10129)
4198
e0da685a
EZ
41992012-01-28 Eli Zaretskii <eliz@gnu.org>
4200
4201 * descr-text.el (describe-char): Show the raw character, not only
4202 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4203 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4204 for the reasons.
4205
70550acf
PH
42062012-01-28 Phil Hagelberg <phil@hagelb.org>
4207
eb864a71
LM
4208 * emacs-lisp/package.el (package-install):
4209 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4210
0ce8e868
CY
42112012-01-28 Chong Yidong <cyd@gnu.org>
4212
cb882333
JB
4213 * emacs-lisp/package.el (package-maybe-load-descriptor):
4214 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4215 (package-maybe-load-descriptor): Use it.
4216 (package-download-transaction): Fully load required packages
4217 inside the loop, so that `require' calls work (Bug#10593).
4218 (package-install): No need to call package-initialize now.
4219
2e7f3bea
CY
42202012-01-28 Chong Yidong <cyd@gnu.org>
4221
6e9bad14
CY
4222 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4223
f823b8ca
CY
4224 * tooltip.el (tooltip-mode): Doc fix.
4225 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4226
2680c309
CY
4227 * frame.el (set-cursor-color): Doc fix (Bug#352).
4228
d7a9e63b
CY
4229 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4230 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4231
2e7f3bea
CY
4232 * cus-edit.el (custom-buffer-create-internal): Fix search button
4233 action (Bug#10542).
2ae01800 4234 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4235
fc4f7a23
EW
42362012-01-27 Eduard Wiebe <usenet@pusto.de>
4237
4238 * dired.el (dired-mark-files-regexp):
4239 Include any subdirectory components. (Bug#10445)
4240
7dd37071
ML
42412012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4242
4243 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4244 Handle [host]:port syntax. (Bug#10533)
4245
a268160b
AH
42462012-01-27 Alex Harsanyi <harsanyi@mac.com>
4247
4248 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4249
e43273ef
GM
42502012-01-26 Glenn Morris <rgm@gnu.org>
4251
4252 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4253 * term.el (term-raw-escape-map): Use Control-X-prefix.
4254 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4255
1edf595d
MR
42562012-01-25 Martin Rudalics <rudalics@gmx.at>
4257
4258 * window.el (window-state-get, window--state-get-1): Don't deal
4259 with fixed-sizeness of windows. Simplify code.
4260
fa8eafef
JC
42612012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4262
6df6ae42
JB
4263 * window.el (window--state-get-1, window--state-put-2):
4264 Don't save and restore the mark.
fa8eafef 4265
0b21c100
CY
42662012-01-25 Chong Yidong <cyd@gnu.org>
4267
4268 * custom.el (custom-variable-p): Doc fix.
4269
5ae1a6c8
GM
42702012-01-25 Glenn Morris <rgm@gnu.org>
4271
40047858
GM
4272 * dired.el (dired-goto-file): Handle some of the more common
4273 characters that `ls -b' escapes. (Bug#10596)
4274
5ddce96c
GM
4275 * progmodes/compile.el (compilation-next-error-function):
4276 Respect compilation-first-column in the "*compilation*" buffer.
4277 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4278
5ae1a6c8
GM
4279 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4280
b559f1a9
GM
42812012-01-24 Glenn Morris <rgm@gnu.org>
4282
4283 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4284
6725d21a
JD
42852012-01-24 Julien Danjou <julien@danjou.info>
4286
4287 * color.el (color-rgb-to-hsl): Fix value computing.
4288 (color-hue-to-rgb): New function.
4289 (color-hsl-to-rgb): New function.
4290 (color-clamp, color-saturate-hsl, color-saturate-name)
4291 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4292 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4293
70df4bbe
GM
42942012-01-24 Glenn Morris <rgm@gnu.org>
4295
4296 * vc/vc-rcs.el (vc-rcs-create-tag):
4297 * vc/vc-sccs.el (vc-sccs-create-tag):
4298 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4299
802a2ae2
ML
43002012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4301
4302 * eshell/esh-util.el (eshell-read-hosts-file):
4303 Skip comment lines. (Bug#10549)
4304
d7128bb1
ML
4305 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4306
d1a5c3b4
JB
43072012-01-23 Juanma Barranquero <lekktu@gmail.com>
4308
2724d9c7
JB
4309 * subr.el (display-delayed-warnings): Doc fix.
4310 (collapse-delayed-warnings): New function to collapse identical
4311 adjacent warnings.
4312 (delayed-warnings-hook): Add it.
d1a5c3b4 4313
a5509865
MA
43142012-01-22 Michael Albinus <michael.albinus@gmx.de>
4315
4316 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4317
4318 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4319 properties, when "login-as" is set.
4320
4321 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4322 (tramp-default-user-alist): Don't add "pscp".
4323 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4324 property "login-as", if set. (Bug#10530)
4325
cc6d5805
MA
43262012-01-21 Michael Albinus <michael.albinus@gmx.de>
4327
4328 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4329 "plink1" and "psftp". (Bug#10530)
4330
43312012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4332
4333 * international/mule-cmds.el (prefer-coding-system): Show a
4334 warning message if the default value of file-name-coding-system
4335 was not changed.
4336
f0960428
JC
43372012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4338
cb882333
JB
4339 * windmove.el (windmove-reference-loc):
4340 Fix windmove-reference-loc miscalculation.
f0960428 4341
dd6f2a63
JB
43422012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4343
4344 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4345 default unit.
4346
7b447e9b
GM
43472012-01-21 Glenn Morris <rgm@gnu.org>
4348
117a9ea1
GM
4349 * international/mule.el (auto-coding-alist): Add .tbz.
4350
7b447e9b
GM
4351 * files.el (local-enable-local-variables): Doc fix.
4352 (inhibit-local-variables-regexps): Rename from
4353 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4354 Doc fix. Add some extensions from auto-coding-alist.
4355 (inhibit-local-variables-suffixes):
4356 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4357 (inhibit-local-variables-p):
4358 New function, extracted from set-auto-mode-1.
4359 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4360 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4361 (hack-local-variables): Doc fix. Make the mode-only case
4362 respect enable-local-variables and friends.
4363 Respect inhibit-local-variables-regexps for file-locals, but
4364 not for directory-locals.
4365 (set-visited-file-name):
4366 Take account of inhibit-local-variables-regexps.
4367 Whether it applies may change as the file name is changed.
4368 * jka-cmpr-hook.el (jka-compr-install):
4369 * jka-compr.el (jka-compr-uninstall):
4370 Update for inhibit-first-line-modes-suffixes name change.
4371
dd6e3cdd
MR
43722012-01-20 Martin Rudalics <rudalics@gmx.at>
4373
4374 * help-macro.el (make-help-screen): Temporarily restore original
4375 binding for minor-mode-map-alist (Bug#10454).
4376
0d0deb38
JD
43772012-01-19 Julien Danjou <julien@danjou.info>
4378
4379 * color.el (color-name-to-rgb): Use the white color to find the max
4380 color component value and return correctly computed values.
4381 (color-name-to-rgb): Add missing float conversion for max value.
4382
34a02f46
MR
43832012-01-19 Martin Rudalics <rudalics@gmx.at>
4384
4385 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4386 special state value for window-persistent-parameters.
4387 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4388 (window--state-put-2): Reset all window parameters to nil before
4389 assigning values of persistent parameters.
4390
606c44c4
AM
43912012-01-18 Alan Mackenzie <acm@muc.de>
4392
4393 Eliminate sluggishness and hangs in fontification of "semicolon
4394 deserts".
4395
cb882333
JB
4396 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4397 Change value 10000 -> 3000.
606c44c4
AM
4398 (c-state-safe-place): Reformulate so it doesn't stack up an
4399 infinite number of wrong entries in c-state-nonlit-pos-cache.
4400 (c-determine-limit-get-base, c-determine-limit): New functions to
4401 determine backward search limits disregarding literals.
4402 (c-find-decl-spots): Amend commenting.
4403 (c-cheap-inside-bracelist-p): New function which detects "={".
4404
4405 * progmodes/cc-fonts.el
4406 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4407 backward search.
4408 (c-font-lock-declarations): Fix an occurrence of point being
4409 undefined. Check additionally for point being in a bracelist or
4410 near a macro invocation without a semicolon so as to avoid a
4411 fruitless time consuming search for a declarator. Give a more
4412 precise search limit for declarators using the new
4413 c-determine-limit.
4414
f3860cea
GM
44152012-01-18 Glenn Morris <rgm@gnu.org>
4416
4417 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4418 (set-auto-mode): Doc fixes.
4419
1db03b16
GM
44202012-01-17 Glenn Morris <rgm@gnu.org>
4421
0e6038be
GM
4422 * isearch.el (search-nonincremental-instead): Fix doc typo.
4423
1db03b16
GM
4424 * dired.el (dired-insert-directory): Handle newlines in directory name.
4425 (dired-build-subdir-alist): Unescape newlines in directory name.
4426
4cb0aa75
MA
44272012-01-17 Michael Albinus <michael.albinus@gmx.de>
4428
4429 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4430 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4431 (tramp-action-terminal): Use it. (Bug#10530)
4432
1d00653d
SM
44332012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4436
6a6ee00d
MR
44372012-01-16 Martin Rudalics <rudalics@gmx.at>
4438
4439 * window.el (window-state-ignored-parameters): Remove variable.
4440 (window--state-get-1): Rename argument MARKERS to IGNORE.
4441 Handle persistent window parameters. Make copy of clone-of
4442 parameter only if requested. (Bug#10348)
4443 (window--state-put-2): Install a window parameter only if it has
4444 a non-nil value or an existing parameter shall be overwritten.
4445
97912def
MA
44462012-01-15 Michael Albinus <michael.albinus@gmx.de>
4447
4448 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4449
688070a5
EZ
44502012-01-14 Eli Zaretskii <eliz@gnu.org>
4451
4452 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4453 don't pass the (nil) value of `upnode' to string-match.
4454
301afadc
CY
44552012-01-14 Chong Yidong <cyd@gnu.org>
4456
4457 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4458 Fix values recognized by the cursorBlink resource.
301afadc 4459
9e5788aa
PE
44602012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4461
4462 * epg.el (epg--make-temp-file): Avoid permission race condition
4463 when running on old Emacs versions (bug#10403).
4464
3cdb7f5a
GM
44652012-01-14 Glenn Morris <rgm@gnu.org>
4466
4467 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4468
8c82b1b4
AM
44692012-01-13 Alan Mackenzie <acm@muc.de>
4470
4471 Fix filling for when filladapt mode is enabled.
4472
4473 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4474 c-mask-paragraph, pass in `fill-paragraph' rather than
4475 `fill-region-as-paragraph'. (This is a reversion of a previous
4476 change.)
eb864a71
LM
4477 * progmodes/cc-mode.el (c-basic-common-init):
4478 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4479
e517eda4
GM
44802012-01-13 Glenn Morris <rgm@gnu.org>
4481
1498536e
GM
4482 * dired.el (dired-switches-escape-p): New function.
4483 (dired-insert-directory): Use dired-switches-escape-p.
4484 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4485
e517eda4
GM
4486 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4487
328f984d
GM
44882012-01-12 Glenn Morris <rgm@gnu.org>
4489
4490 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4491 changes in adaptive-fill-regexp. (Bug#10276)
4492
2cc769a8
AM
44932012-01-11 Alan Mackenzie <acm@muc.de>
4494
4495 Fix Emacs bug #10463 - put `widen's around the critical spots.
4496
1d00653d 4497 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4498 widen around each invocation of c-state-pp-to-literal. Remove an
4499 unused let variable.
4500
e52c37fa
GM
45012012-01-11 Glenn Morris <rgm@gnu.org>
4502
4503 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4504 Doc fix.
e52c37fa 4505
96f8741e
CY
45062012-01-10 Chong Yidong <cyd@gnu.org>
4507
1d00653d
SM
4508 * net/network-stream.el (network-stream-open-starttls):
4509 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4510 response to the capability command.
4511
b09a806e
GM
45122012-01-10 Glenn Morris <rgm@gnu.org>
4513
4514 * mail/unrmail.el (unrmail): Tweak previous change.
4515
7655cb66
CY
45162012-01-09 Chong Yidong <cyd@gnu.org>
4517
4518 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4519
9d5a8f0b
AM
45202012-01-08 Alan Mackenzie <acm@muc.de>
4521
4522 Optimise font locking in long enum definitions.
4523
4524 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4525 arm to a cond form to handle enums.
4526 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4527 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4528
9a0115ab 45292012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4530
4531 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4532 (Bug#10401)
6bb72cbd 4533
f186bb95
LMI
45342012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4535
29232a68
LMI
4536 * faces.el (set-face-attribute): Clarify the meaning of the nil
4537 frame (bug#10294).
4538
4e5d086d
LMI
4539 * subr.el (with-selected-frame): Mention that the selected frame
4540 is restored (bug#9980).
4541
8e66aebe
LMI
4542 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4543 (bug#9759).
4544
cd394be1 4545 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4546 (password-read): Don't autoload unused function.
4547
adf4e762
JB
45482012-01-07 Juanma Barranquero <lekktu@gmail.com>
4549
4550 * progmodes/which-func.el (which-func-mode): Turn into a
4551 non-interactive function and mark as obsolete (bug#10428).
4552
89bd9ccd
CY
45532012-01-06 Chong Yidong <cyd@gnu.org>
4554
4555 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4556 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4557 functions, along with 1 and -1.
4558
4afee9d5
EZ
45592012-01-06 Eli Zaretskii <eliz@gnu.org>
4560
4561 * time.el (display-time-load-average)
4562 (display-time-default-load-average): Doc fixes. See the thread
4563 starting at
4564 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4565 for the details.
4566
536aea70
GM
45672012-01-06 Glenn Morris <rgm@gnu.org>
4568
665ae865
GM
4569 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4570 has no messages. (Bug#10377)
4571
c869783d
GM
4572 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4573 than Info-edit. (Bug#10385)
4574
2bb4227e
GM
4575 * time.el (display-time-load-average, display-time-next-load-average):
4576 Doc fixes.
4577
7d5944b9
GM
4578 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4579 local setting of buffer-read-only to the input buffer. (Bug#10419)
4580
536aea70
GM
4581 * calendar/calendar.el (calendar-mode):
4582 Locally set scroll-margin to 0. (Bug#10379)
4583
7dccca16
UM
45842012-01-06 Ulrich Mueller <ulm@gentoo.org>
4585
4586 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4587
afbb7930
GM
45882012-01-05 Glenn Morris <rgm@gnu.org>
4589
4590 * eshell/em-unix.el (diff-no-select): Autoload it.
4591 (eshell/diff): Use diff-no-select. (Bug#10420)
4592
04482335
CY
45932012-01-05 Chong Yidong <cyd@gnu.org>
4594
7baca3bc
CY
4595 * shell.el (shell-dynamic-complete-functions): Revert last change.
4596 (shell-command-completion-function): New function.
4597 (shell-completion-vars): Use it to implement
4598 shell-completion-execonly (Bug#10417).
4599
04482335
CY
4600 * custom.el (enable-theme): Don't set custom-safe-themes.
4601
1d00653d
SM
4602 * cus-theme.el (custom-theme-merge-theme):
4603 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4604
bb5aa5d6
MM
46052012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4606
4607 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4608 first prompt in `sql-interacive-mode'.
4609 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4610 keywords.
6df6ae42 4611 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4612 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4613 context of original buffer. Invoke `sql-login-hook'.
4614
a7183d7c
EZ
46152012-01-04 Eli Zaretskii <eliz@gnu.org>
4616
4617 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4618 letters in cite-prefix.
4619
a1eacd1e
LMI
46202012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4621
4622 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4623
787cdb34
CY
46242012-01-03 Chong Yidong <cyd@gnu.org>
4625
1d00653d
SM
4626 * shell.el (shell-dynamic-complete-functions):
4627 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4628 comint-filename-completion first (Bug#10417).
4629
30710442
RS
46302012-01-02 Richard Stallman <rms@gnu.org>
4631
4632 * battery.el (battery-status-function):
4633 Detect when to use battery-yeeloong-sysfs.
4634 (battery-echo-area-format): Add string for Yeeloong.
4635 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4636 (battery-yeeloong-sysfs): New function.
4637
f75bfc33
CY
46382012-01-02 Chong Yidong <cyd@gnu.org>
4639
4640 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4641 (dirtrack): Merge code for handling relative filenames in prompt
4642 from shell-dir-cookie-watcher.
4643 (dirtrack-debug-message): New arg to avoid excess format calls.
4644
4645 * shell.el (shell-dir-cookie-re): Variable deleted.
4646 (shell-dir-cookie-watcher): Function deleted.
4647 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4648 with dirtrack-mode.
4649
651e947e
EZ
46502012-01-01 Eli Zaretskii <eliz@gnu.org>
4651
1d00653d
SM
4652 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4653 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4654 libgnutls-26.dll.
4655
94d4c7dc
AS
46562011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4657
4658 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4659
8d43f3cd
EZ
46602011-12-31 Eli Zaretskii <eliz@gnu.org>
4661
4662 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4663 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4664
98c8795a
MA
46652011-12-29 Michael Albinus <michael.albinus@gmx.de>
4666
4667 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4668 also for alternative shells.
4669 (tramp-open-connection-setup-interactive-shell): Check, whether
4670 the shell is a busybox.
4671 (tramp-send-command): Don't suppress multiple prompts for
4672 busyboxes, it hurts.
4673
51281b32
CY
46742011-12-28 Chong Yidong <cyd@gnu.org>
4675
4676 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4677 (gdb-get-source-file): Move mode line update to
4678 gdb-get-source-file (Bug#10087).
4679
2170cb53
CY
46802011-12-25 Chong Yidong <cyd@gnu.org>
4681
4682 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4683 gud-gdb-marker-filter without taking it as an argument.
4684 (gud-gdb-run-command-fetch-lines): Caller changed.
4685 (gud-gdb-completion-function): New variable.
4686 (gud-gdb-completion-at-point): Use it.
4687 (gud-gdb-completions-1): Split from gud-gdb-completions.
4688
4689 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4690 function as separate arguments.
4691 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4692 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4693 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4694 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4695 (gdb-stopped, def-gdb-auto-update-trigger)
4696 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4697 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4698 Callers changed.
2170cb53
CY
4699 (gud-gdbmi-completions): New function.
4700 (gdb): Use it for generating the completion table.
4701
be8b11bb
AM
47022011-12-24 Alan Mackenzie <acm@muc.de>
4703
4704 Introduce a mechanism to widen the region used in context font
1d00653d 4705 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4706
1d00653d
SM
4707 * progmodes/cc-langs.el (c-before-font-lock-functions):
4708 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4709 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4710 functions to be run just before context (etc.) font locking.
4711
4712 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4713 New, functionality extracted from
be8b11bb 4714 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4715 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4716 (c-after-change): Set c-in-after-change-fontification.
4717 (c-set-fl-decl-start): Rejig its interface, so it can be called
4718 from both after-change and context fontifying.
b81d40f0
JB
4719 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4720 New functions.
4721 (c-standard-font-lock-fontify-region-function): New variable.
4722 (c-font-lock-fontify-region): New function.
be8b11bb 4723
341cf6ac
JL
47242011-12-24 Juri Linkov <juri@jurta.org>
4725
4726 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4727 (Bug#10348)
4728
bffcee0a
MA
47292011-12-23 Michael Albinus <michael.albinus@gmx.de>
4730
4731 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4732 existence of source file. (Bug#10325)
4733
cb5e207c
AM
47342011-12-23 Alan Mackenzie <acm@muc.de>
4735
4736 Fix unstable fontification inside templates.
4737
b81d40f0
JB
4738 * progmodes/cc-langs.el (c-before-font-lock-functions):
4739 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4740 additionally has c-set-fl-decl-start. The other languages (apart
4741 from AWK) have that as a single entry.
4742
b81d40f0
JB
4743 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4744 The functionality for "local" declarations has been extracted to
cb5e207c
AM
4745 c-set-fl-decl-start.
4746
b81d40f0
JB
4747 * progmodes/cc-mode.el (c-common-init, c-after-change):
4748 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
4749 (c-set-fl-decl-start): New function, extracted from
4750 c-font-lock-enclosing-decls and enhanced.
4751
60ff536c
JB
47522011-12-23 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4755
1c4757d6
JL
47562011-12-22 Juri Linkov <juri@jurta.org>
4757
4758 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4759
d031f2c7
CY
47602011-12-22 Chong Yidong <cyd@gnu.org>
4761
4762 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4763
bace743a
DA
47642011-12-21 Drew Adams <drew.adams@oracle.com>
4765
4766 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4767
728a1f2b
JC
47682011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4769
4770 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4771
0d373f73
TZ
47722011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4773
fec0aaa4
TZ
4774 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4775 highlighting and support. Fix up comments for capitalization.
4776 (cfengine-mode-debug): New var.
4777 (cfengine3-mode): Change the modeline indicator to "CFE3".
4778 (cfengine3-font-lock-keywords): Improve defun highlighting.
4779 (cfengine2-actions): Rename from `cfengine-actions'.
4780 (cfengine2-font-lock-keywords): Rename from
4781 `cfengine-font-lock-keywords'.
4782 (cfengine2-imenu-expression): Rename from
4783 `cfengine-imenu-expression'.
4784 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4785 (cfengine2-beginning-of-defun): Rename from
4786 `cfengine-beginning-of-defun'.
4787 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4788 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4789 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4790 modeline indicator to "CFE2".
4791 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4792 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 4793
bc86f573
CY
47942011-12-21 Chong Yidong <cyd@gnu.org>
4795
4796 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4797 filename argument.
4798
d45ba96b
MR
47992011-12-20 Martin Rudalics <rudalics@gmx.at>
4800
4801 * window.el (window-normalize-buffer-to-display): Remove.
4802 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4803
a6198c90
CY
48042011-12-19 Chong Yidong <cyd@gnu.org>
4805
4806 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4807 Don't signal an error in a predicate function; return non-nil.
4808 (vc-dir-mark-file): Move the error here.
4809 (vc-dir-mark-unmark): If acting on the region, keep going if one
4810 of the entries cannot be marked/unmarked.
4811 (vc-dir-mark-all-files): If current entry is a directory, mark
4812 only child files, as documented.
4813
34c5fb55
VB
48142011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4815
4816 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4817 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4818 addition.
4819
c803b2b7
JD
48202011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4821
4822 * term/ns-win.el (ns-get-selection-internal)
4823 (ns-store-selection-internal): Declare.
1154d12e
JB
4824 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4825 Declare as obsolete.
4826 (ns-get-pasteboard, ns-paste-secondary):
4827 Use ns-get-selection-internal.
4828 (ns-set-pasteboard, ns-copy-including-secondary):
4829 Use ns-store-selection-internal.
c803b2b7 4830
9cff91f8 48312011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
4832
4833 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 4834 (vc-deduce-fileset): Doc fix.
99a289d9 4835
f16c898a
AS
48362011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4837
4838 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4839
763237c4
SS
48402011-12-13 Sam Steingold <sds@gnu.org>
4841
4842 * man.el (Man-getpage-in-background): When running under a
4843 window-system, ignore $MANWIDTH and $COLUMNS.
4844
5fc1c122
KH
48452011-12-15 Kenichi Handa <handa@m17n.org>
4846
4847 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4848 (setup-ethiopic-environment-internal): Comment out key-binding for
4849 ethio-toggle-punctuation.
4850
13d49cbb
AM
48512011-12-13 Alan Mackenzie <acm@muc.de>
4852
898169a2
AM
4853 Add the switch statement to AWK Mode.
4854
7a71b18d 4855 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
4856 "default" to the keywords regexp.
4857
7a71b18d 4858 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 4859 expression as the rest.
1d00653d
SM
4860 (c-nonlabel-token-key): Allow string literals for AWK.
4861 Refactor for the other modes.
898169a2 4862
13d49cbb 4863 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 4864 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
4865 routines. Limit backward searching in c-font-lock-enclosing.decl.
4866
4867 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4868 pp-state and literal type in addition to the limits.
1d00653d 4869 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 4870 (c-state-literal-at): Use the above new defun.
1d00653d
SM
4871 (c-slow-in-literal, c-fast-in-literal): Remove.
4872 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
4873
4874 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4875 being in a literal. Add a limit for backward searching.
4876
4877 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4878 c-slow-in-literal.
4879
15e0efc7
SM
48802011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4883
454592a6
MR
48842011-12-13 Martin Rudalics <rudalics@gmx.at>
4885
4886 * window.el (delete-other-windows): Use correct frame in call to
4887 window-with-parameter.
4888
87393f26
DP
48892011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4890
4891 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4892 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4893 (makefile-gmake-statements, makefile-makepp-statements):
4894 Use it and add new makepp keywords.
4895 (makefile-makepp-font-lock-keywords): Add new patterns.
4896 (makefile-match-function-end): Match new [...] and [[...]].
4897
11636b22
JB
48982011-12-11 Juanma Barranquero <lekktu@gmail.com>
4899
4900 * ses.el (ses-call-printer-return, ses-cell-property-get)
4901 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4902 (ses-create-cell-variable, ses-reset-header-string)
4903 (ses-cell-set-formula, ses-repair-cell-reference-all)
4904 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4905 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4906 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4907 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4908 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4909 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4910 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4911 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4912 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4913 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4914 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4915 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4916
cf018193
VB
49172011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4918
4919 * ses.el: The overall change is to add cell renaming, that is
4920 setting fancy names for cell symbols other than name matching
4921 "\\`[A-Z]+[0-9]+\\'" regexp .
4922 (ses-create-cell-variable): New defun.
4923 (ses-relocate-formula): Relocate formulas only for cells the
4924 symbols of which are not renamed, i.e. symbols whose names do not
4925 match regexp "\\`[A-Z]+[0-9]+\\'".
4926 (ses-relocate-all): Relocate values only for cells the symbols of
4927 which are not renamed.
4928 (ses-load): Create cells variables as the (ses-cell ...) are read,
4929 in order to check row col consistency with cell symbol name only
4930 for cells that are not renamed.
4931 (ses-replace-name-in-formula): New defun.
4932 (ses-rename-cell): New defun.
4933
ee957461
CY
49342011-12-11 Chong Yidong <cyd@gnu.org>
4935
4936 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4937 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4938
9a9e9ef0
MR
49392011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4940
4941 * window.el (other-window): Fix docstring.
4942
92a8eba5
EZ
49432011-12-10 Eli Zaretskii <eliz@gnu.org>
4944
4945 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
4946 `from' or `to' address before taking its substring.
4947 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
4948 encoded name is chopped in the middle of the encoded string, and
4949 thus displayed encoded.
4950
e152e577
JB
49512011-12-10 Juanma Barranquero <lekktu@gmail.com>
4952
4953 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4954
e5d84bfe
EZ
49552011-12-10 Eli Zaretskii <eliz@gnu.org>
4956
4957 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4958 to use texinfo-update-node and commands that call it if the
4959 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 4960 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
4961 (texinfo-all-menus-update, texinfo-master-menu)
4962 (texinfo-update-node, texinfo-every-node-update)
4963 (texinfo-multiple-files-update): Doc fix. Warn against updating
4964 all the @node lines.
4965 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
4966 argument is numeric. Explain better in the doc string what the
4967 function really does.
4968 (texinfo-insert-master-menu-list): Improve the error message
4969 displayed if there's no menu in the Top node.
4970 (Bug#2975) See also this thread:
e5d84bfe
EZ
4971 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4972
1d84e9bb
MG
49732011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4974
4975 * speedbar.el (speedbar-supported-extension-expressions):
4976 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4977
382c953b
JB
49782011-12-09 Juanma Barranquero <lekktu@gmail.com>
4979
4980 * printing.el (pr-mode-alist):
4981 * simple.el (filter-buffer-substring-functions)
4982 (completion-list-insert-choice-function):
4983 * window.el (window-with-parameter, window-atom-root)
4984 (window-sides-slots, window-size-fixed, window-min-delta)
4985 (window-max-delta, window--resize-mini-window)
4986 (window--resize-child-windows-normal, window-tree)
4987 (delete-other-windows, quit-window, split-window)
4988 (display-buffer-record-window, special-display-buffer-names)
4989 (special-display-regexps, special-display-popup-frame)
4990 (same-window-p, split-window-sensibly)
4991 (display-buffer-overriding-action, display-buffer-alist)
4992 (display-buffer-base-action, display-buffer, switch-to-buffer)
4993 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4994 (fit-window-to-buffer, recenter-positions)
4995 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4996 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4997 and remove unneeded backslashes in docstrings.
4998
39c9faef
SM
49992011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5000
98449af8
SM
5001 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5002
39c9faef
SM
5003 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5004 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5005 end in ".mk".
5006 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5007 when reading the makefile (bug#10116).
5008
86ed9fdc
SM
50092011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5012 (bug#10116).
5013
5580f89d
GM
50142011-12-06 Glenn Morris <rgm@gnu.org>
5015
5016 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5017
28d3917c
CY
50182011-12-06 Chong Yidong <cyd@gnu.org>
5019
5020 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5021
a98edce9
JB
50222011-12-06 Juanma Barranquero <lekktu@gmail.com>
5023
5024 * textmodes/table.el (table-shorten-cell): Fix typo.
5025
e65adfac
CG
50262011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5027
5028 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5029
71cc0b74
EZ
50302011-12-05 Eli Zaretskii <eliz@gnu.org>
5031
5032 * descr-text.el (describe-char): Fix display of strong
5033 right-to-left characters and directional embeddings and overrides.
5034
5035 * simple.el (what-cursor-position): Fix display of codepoints of
5036 strong right-to-left characters.
5037
315bc30d
CY
50382011-12-05 Chong Yidong <cyd@gnu.org>
5039
5040 * faces.el (read-color): Doc fix.
5041
58a70b94
GM
50422011-12-05 Glenn Morris <rgm@gnu.org>
5043
5044 * align.el (align--set-marker): Add doc-string.
5045 Don't try to move something that is not a marker. (Bug#10216)
5046
5158face
GM
50472011-12-04 Glenn Morris <rgm@gnu.org>
5048
5049 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5050 overly zealous deletion of trailing whitespace.
5051
520fca41
JB
50522011-12-04 Juanma Barranquero <lekktu@gmail.com>
5053
5054 * server.el (server-delete-client): On Windows, do not try to delete
5055 the only terminal.
5056 (server-process-filter): On Windows, treat requests for a tty frame as
5057 if they were for a GUI frame if the running server is in GUI mode.
5058
5e605a2e
GM
50592011-12-03 Glenn Morris <rgm@gnu.org>
5060
5061 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5062
5c3fe83f
SM
50632011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5064
6f5e57e7
SM
5065 * electric.el: Streamline electric-indent's hook.
5066 (electric-indent-chars): Revert to simple list.
5067 (electric-indent-functions): New var.
5068 (electric-indent-post-self-insert-function): Use it.
5069
5c3fe83f
SM
5070 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5071 there's no inferior buffer (bug#10196).
5072 (prolog-consult-compile): Don't use toggle-read-only.
5073
6bdac736
MA
50742011-12-02 Michael Albinus <michael.albinus@gmx.de>
5075
5076 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5077 interrupt. (Bug#10187)
5078
6131ba7f
SM
50792011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5080
99c79fee
SM
5081 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5082 (bug#9160).
5083
6131ba7f
SM
5084 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5085 (bug#10191).
5086
cb0a02ea
JL
50872011-12-02 Juri Linkov <juri@jurta.org>
5088
5089 * info.el (Info-search): Display "end of manual" when Isearch
5090 reaches the end of single-file Info manual. (Bug#9918)
5091
66e0570c
EZ
50922011-12-02 Eli Zaretskii <eliz@gnu.org>
5093
5094 * isearch.el (isearch-message-prefix): Run the input method part
5095 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5096
02b16839
JL
50972011-12-02 Juri Linkov <juri@jurta.org>
5098
5099 * isearch.el (isearch-occur): Use `word-search-regexp' for
5100 `isearch-word'.
5101 (isearch-search-and-update): Add condition for `isearch-word' and
5102 call `word-search-regexp'. (Bug#10145)
5103
0b950688
GM
51042011-12-01 Glenn Morris <rgm@gnu.org>
5105
5106 * eshell/em-hist.el (eshell-hist-initialize):
5107 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5108 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5109
9505c3c7
SM
51102011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5113
1bbe96b2 51142011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5115
a1beca85
SM
5116 * progmodes/verilog-mode.el (verilog-pretty-expr):
5117 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5118 verilog, such as += *= and the like.
5119 (verilog-assignment-operator-re): Regular expression to find the
5120 assigment operator in a verilog assignment.
5121 (verilog-assignment-operation-re): Regular expression to find an
5122 assignment statement for pretty-expr.
5123 (verilog-in-attribute-p): Query returns true if point is in an
5124 attribute context; used to skip these for expression line up from
5125 pretty-expr.
5126 (verilog-in-parameter-p): Query returns true if point is in an
5127 parameter definition context; used to skip these for expression
5128 line up from pretty-expr.
5129 (verilog-in-parenthesis-p): Query returns true if point is in a
5130 parenthetical expression, specifically ( ) but not [ ] or { };
5131 used by pretty-expr.
5132 (verilog-just-one-space): If there is no space, don't add one.
5133 (verilog-get-lineup-indent-2): Specifically skip just attribute
5134 contexts for expression lineup, rather than skipping all
5135 parenthetical expressions.
5136 (verilog-calculate-indent): Fix comment, and fix indent.
5137 (verilog-do-indent): Indent declarations in lists (suggested by
5138 Joachim Lechner).
5139 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5140 skeleton items.
5141 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5142 by Alain Mellan).
5143
1bbe96b2 51442011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5145
5146 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5147 parameters with embedded comments. Reported by Ray Stevens.
5148 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5149 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5150 Reported by Tim Holt.
5151 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5152 instantiated by upper module causing wrong expansion until AUTOed a
5153 second time. Reported by K C Buckenmaier.
5154 (verilog-diff-auto): Fix showing .* as a difference when
5155 `verilog-auto-star-save' off. Reported by Dan Dever.
5156 (verilog-auto-reset, verilog-read-always-signals)
5157 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5158 temporary signals in reset list if
5159 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5160 style to each signal's assignment type, bug381.
5161 Reported by Thomas Esposito.
6288f0ca
WS
5162 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5163 (verilog-uvm-statement-re): Support UVM indentation and
5164 highlighting, with old OVM keywords only.
a1beca85 5165 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5166 Support AUTOTIEOFF creating non-wire data types.
5167 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5168 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5169 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5170 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5171 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5172 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5173 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5174 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5175 non-numeric vector width. Reported by Alex Reed.
5176 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5177 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5178 (verilog-auto-delete-trailing-whitespace):
5179 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5180 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5181 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5182 Fix verilog-scan-cache corruption when running user AUTO expansion
5183 hooks that call indentation routines.
5184 (verilog-simplify-range-expression): Fix typo ignoring lower case
5185 identifiers.
5186 (verilog-delete-auto): Fix delete-autos to also remove user created
5187 automatics, as long as they start with AUTO.
5188 (verilog-batch-diff-auto, verilog-diff-auto)
5189 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5190 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5191 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5192 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5193 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5194 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5195 is disabled and its cache will get corrupt, causing AUTOS not to
5196 expand. Instead use only -quick functions.
5197 (verilog-scan-region): Fix scanning over escaped quotes.
5198 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5199 (verilog-re-search-backward-quick)
5200 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5201 related functions now ignore strings, to fix misparsing of strings
5202 with magic comments embedded in them.
a1beca85
SM
5203 (verilog-read-auto-template):
5204 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5205 Reported by Brad Dobbie.
5206 (verilog-read-auto-template):
5207 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5208 Reported by Brad Dobbie.
6288f0ca
WS
5209 (verilog-auto-inst, verilog-auto-inst-param)
5210 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5211 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5212 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5213 debugging templates without merge conflicts, bug357.
5214 Reported by Brad Dobbie.
5215 (verilog-read-auto-template):
5216 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5217 Reported by Brad Dobbie.
5218 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5219 abbrevs so user won't be asked to save.
5220 (verilog-read-auto-lisp-present): Fix to start at beginning of
5221 buffer in case called outside of verilog-auto.
5222 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5223 to "X-2". Reported by Matthew Myers.
5224 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5225 all inputs from module templates. Reported by Leith Johnson.
5226 (verilog-module-inside-filename-p): Fix locating programs as with
5227 modules.
5228 (verilog-auto-inst-port): Fix vl-width expressions when using
5229 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5230 (verilog-decls-get-regs, verilog-decls-get-signals,
5231 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5232 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5233 verilog-read-decls): Combine reg and wire structures into one var
5234 structure to represent SystemVerilog concepts.
5235 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5236 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5237 (verilog-auto-wire-type, verilog-insert-definition):
5238 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5239 SystemVerilog "logic" keyword instead of "wire"/"reg".
5240 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5241 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5242 ifdef or generate if so there's not a driver conflict).
5243 Reported by Matthew Myers.
5244 (verilog-auto-declare-nettype, verilog-insert-definition):
5245 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5246 `default_nettype none. Reported by Julian Gorfajn.
5247 (verilog-read-always-signals-recurse, verilog-read-decls)
5248 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5249 malformed end statement, bug325. Reported by Joshua Wise and
5250 Andrew Drake.
5251 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5252 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5253 when expanding .* in interfaces, bug320.
5254 Reported by Pierre-David Pfister.
6288f0ca 5255 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5256 name and open parenthesis, bug317.
5257 Reported by Pierre-David Pfister.
6288f0ca
WS
5258 (verilog-simplify-range-expression): Fix simplification of
5259 multiplications inside AUTOWIRE connections, bug303.
5260 (verilog-auto-inst-port): Support parameter expansion in
5261 multidimensional arrays.
5262 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5263 after "assert property". Reported by Julian Gorfajn.
5264 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5265 with multiplication, bug303.
5266 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5267 Reported by Jan Frode Lonnum.
5268
1bbe96b2
GM
52692011-11-30 Juanma Barranquero <lekktu@gmail.com>
5270
5271 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5272 (hfy-shell-file-name, hfy-shell):
5273 * international/fontset.el (x-decompose-font-name): Fix typos.
5274
52752011-11-29 Ken Brown <kbrown@cornell.edu>
5276
5277 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5278 (gdb-version): Remove defvar.
5279 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5280 (gdb-gud-context-command, gdb-non-stop-handler)
5281 (gdb-current-context-command, gdb-stopped): Use it.
5282 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5283 (gdb-non-stop-handler): Don't enable pretty-printing here.
5284 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5285 non-stop mode. Use the following.
5286 (gdb-check-target-async): New defun.
5287 (gud-watch, gdb-stopped): Fix whitespace.
5288 (gdb-get-source-file): Don't try to display the source file if
5289 `gdb-main-file' is nil.
5290
52912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * align.el: Try to generate fewer markers (bug#10047).
5294 (align--set-marker): New macro.
5295 (align-region): Use it.
5296
c935221f
SM
52972011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5300
e70b5064
CY
53012011-11-29 Chong Yidong <cyd@gnu.org>
5302
5303 * indent.el (indent-for-tab-command, indent-according-to-mode):
5304 Doc fix.
5305 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5306
f3af92b7
MA
53072011-11-29 Michael Albinus <michael.albinus@gmx.de>
5308
5309 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5310 aware of remote file names. (Bug#10124)
5311
ed472be9
CY
53122011-11-29 Chong Yidong <cyd@gnu.org>
5313
5314 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5315
24510c22
SM
53162011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * files.el (find-file): Don't use force-same-window (bug#10144).
5319 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5320 use pop-to-buffer if the selected window can't be used.
5321 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5322
c60c3703
EZ
53232011-11-28 Eli Zaretskii <eliz@gnu.org>
5324
5325 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5326 special-mode-map.
5327
e95def75
CY
53282011-11-28 Chong Yidong <cyd@gnu.org>
5329
5330 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5331
c3f1c606
NR
53322011-11-27 Nick Roberts <nickrob@snap.net.nz>
5333
5334 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5335 gdb-get-source-file-list on gdb-create-source-file-list.
5336
00db469c
EZ
53372011-11-26 Eli Zaretskii <eliz@gnu.org>
5338
5339 * whitespace.el (whitespace-newline): Use a different foreground
5340 color for 16-color light-background displays.
5341
4ad3bc2a
CY
53422011-11-24 Chong Yidong <cyd@gnu.org>
5343
5344 * window.el (display-buffer--special-action): Doc fix.
5345
e9fce1ac
JB
53462011-11-25 Juanma Barranquero <lekktu@gmail.com>
5347
5348 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5349 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5350 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5351 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5352 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5353 (avl-tree-stack-first):
5354 * emacs-lisp/cconv.el (cconv--analyse-use):
5355 * net/gnutls.el (gnutls-negotiate): Fix typos.
5356
cb825e5d
GM
53572011-11-24 Glenn Morris <rgm@gnu.org>
5358
3adbe224
GM
5359 * lpr.el (lpr-windows-system, lpr-lp-system):
5360 * mail/binhex.el (binhex-begin-line):
5361 * progmodes/grep.el (grep-history, grep-find-history):
5362 * textmodes/flyspell.el:
5363 * vc/pcvs-defs.el (cvs-global-menu):
5364 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5365 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5366 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5367
321decc8
GM
5368 * net/tls.el: Fix case of "GnuTLS".
5369
420b63ad
GM
5370 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5371
cb825e5d
GM
5372 * version.el (emacs-build-system): Give it a doc-string.
5373
a0649f08
JL
53742011-11-24 Juri Linkov <juri@jurta.org>
5375
5376 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5377
c0bc0fd4
GM
53782011-11-24 Glenn Morris <rgm@gnu.org>
5379
5380 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5381 if called on a non-mime message just toggle the headers. (Bug#8006)
5382
20db1522
JB
53832011-11-24 Juanma Barranquero <lekktu@gmail.com>
5384
5385 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5386 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5387 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5388 (allout-rebullet-heading, allout-open-sibtopic)
5389 (allout-toggle-current-subtree-encryption)
5390 (allout-toggle-subtree-encryption, allout-encrypt-string)
5391 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5392 (allout-distinctive-bullets-string, allout-auto-activation):
5393 * window.el (window-normalize-buffer-to-display):
5394 * progmodes/verilog-mode.el (verilog-batch-indent):
5395 * textmodes/bibtex.el (bibtex-field-braces-opt)
5396 (bibtex-field-strings-opt):
5397 * vc/cvs-status.el (cvs-tree-merge):
5398 Fix typos.
5399
7262a87c
MA
54002011-11-23 Michael Albinus <michael.albinus@gmx.de>
5401
5402 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5403 `non-essential' to t, in order to avoid remote connections.
5404
283430a1
EZ
54052011-11-23 Eli Zaretskii <eliz@gnu.org>
5406
a1beca85
SM
5407 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5408 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5409 case-insensitively.
5410
d2992a38
ML
54112011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5412
5413 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5414
50419064
GM
54152011-11-23 Glenn Morris <rgm@gnu.org>
5416
da94eca1
GM
5417 * paths.el (rmail-file-name): Reformat the doc-string so that it
5418 is picked up.
5419
9aac4de2
GM
5420 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5421 (rmail-auto-file): Ignore case in the "special" field names,
5422 as mail-fetch-field does for all others.
5423
8038d2d2
GM
5424 * mail/rmail.el (rmail-forward):
5425 * mail/rmailkwd.el (rmail-set-label):
5426 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5427 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5428
f3fe222a
GM
5429 * mail/rmail.el (rmail-current-message): Doc fix.
5430
50419064
GM
5431 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5432
28109f49
SM
54332011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5436
394c65f1
GM
54372011-11-22 Glenn Morris <rgm@gnu.org>
5438
5439 * mail/rmailmm.el (test-rmail-mime-handler)
5440 (test-rmail-mime-bulk-handler)
5441 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5442
f2a0aa3a
JL
54432011-11-21 Juri Linkov <juri@jurta.org>
5444
1154d12e
JB
5445 * calc/calc.el (calc-read-key-sequence):
5446 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5447
9c34a344
LMI
54482011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5449
5450 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5451 Tell the caller that the next line needs recomputation, even
5452 though it doesn't start a sexp (bug#10094).
5453
f04a3be9
SM
54542011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5457
7978747f
SM
54582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5459
f04a3be9
SM
5460 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5461 Use force-same-window.
7978747f 5462
fe7a3057
JB
54632011-11-20 Juanma Barranquero <lekktu@gmail.com>
5464
5465 * descr-text.el (describe-char-unicode-data):
5466 * json.el (json-string-escape):
5467 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5468 (Footnote-unicode, Footnote-style-p):
5469 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5470
24901d61
CY
54712011-11-20 Chong Yidong <cyd@gnu.org>
5472
5473 * window.el (replace-buffer-in-windows): Restore interactive spec.
5474
bac7ff22
SM
54752011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5476
24f3d7b9
SM
5477 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5478
bac7ff22
SM
5479 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5480 (byte-compile-global-not-obsolete-vars): New var.
5481 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5482 Use it.
5483 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5484
cd1181db
JB
54852011-11-20 Juanma Barranquero <lekktu@gmail.com>
5486
5487 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5488 * progmodes/pascal.el (electric-pascal-equal):
5489 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5490 * xml.el (xml-substitute-special): Fix typos.
5491
7fb18e9e
GM
54922011-11-20 Glenn Morris <rgm@gnu.org>
5493
5494 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5495 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5496 Doc fixes.
5497 (rmail-decode-mime-charset): Mark as obsolete.
5498
5499 * mail/rmailsum.el (rmail-message-regexp-p-1):
5500 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5501 Before using mime functions, check they are set. (Bug#10077)
5502
d5a6b3ba
JL
55032011-11-19 Juri Linkov <juri@jurta.org>
5504
5505 * info.el (Info-finder-find-node): Use `package--builtins' instead
5506 of `package-alist'. Use node names formed by the pattern "Keyword "
5507 and the keyword name.
5508
e981b61f
AS
55092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5510
1d00653d 5511 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5512
3ffbc301
JL
55132011-11-19 Juri Linkov <juri@jurta.org>
5514
5515 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5516 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5517 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5518 `old-history', `old-history-forward'. Add let-binding
5519 `window-selected'. Remove calls to `kill-buffer',
5520 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5521 before calling `Info-find-node', so `Info-find-node-2' will reread
5522 the Info file. Restore window positions only when `window-selected'
5523 is non-nil.
5524
30c62133
JL
55252011-11-19 Juri Linkov <juri@jurta.org>
5526
5527 * isearch.el (isearch-lazy-highlight-new-loop):
5528 Remove condition `(not isearch-error)'. (Bug#9918)
5529
5530 * misearch.el (multi-isearch-search-fun): Add condition
5531 `(not bound)' to ignore lazy-highlighting search.
5532 Add the search-failed message "end of multi" when the end of
5533 multi-sequence is reached. Uncapitalize the search-failed
5534 message "Repeat for next buffer".
5535
5536 * info.el (Info-search): Add the search-failed message
5537 "end of the manual" when the end of the manual is reached
5538 in Isearch mode.
5539
645ca9cf
JL
55402011-11-19 Juri Linkov <juri@jurta.org>
5541
5542 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5543 Use non-destructive `remove' instead of `delete' because
5544 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5545 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5546
df754f66
JL
55472011-11-19 Juri Linkov <juri@jurta.org>
5548
5549 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5550 to nil instead of binding `search-ring' and `regexp-search-ring'.
5551 (Bug#9185)
5552
0e23d96a
EZ
55532011-11-19 Eli Zaretskii <eliz@gnu.org>
5554
5555 * simple.el (line-move): Force movement by logical lines for any
5556 hscrolled window, not only when auto-hscroll-mode is on.
5557 (line-move-visual): Update doc string to that effect. (Bug#10076)
5558
8a6ccb66
AS
55592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5560
5561 * language/european.el (macintosh): Define as alias for mac-roman.
5562
49ae5b39
EZ
55632011-11-19 Eli Zaretskii <eliz@gnu.org>
5564
5565 * mail/rmailmm.el (rmail-mime-display-header)
5566 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5567 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5568 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5569 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5570 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5571 of a raw aref.
5572 (rmail-mime-entity-segment): To get past the tagline, move forward
5573 2 more lines, to account for the 2 empty lines that precede and
5574 follow the line with the buttons.
5575 (rmail-mime-update-tagline): Move one more line, to get past the
5576 empty line that follows the buttons in the tagline. (Bug#9520)
5577
c56cad4a
MR
55782011-11-19 Martin Rudalics <rudalics@gmx.at>
5579
5580 * window.el (window-max-delta-1, window-min-delta-1)
5581 (window-min-size-1, window-state-get-1, window-state-put-1)
5582 (window-state-put-2): Use "window--" prefix.
5583
cbe71af3
SM
55842011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5585
2ad52c60
SM
5586 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5587 (smie-warning-count): New var.
5588 (smie-set-prec2tab): Use it.
5589 (smie-bnf->prec2): Improve warnings. Add docstring.
5590 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5591 (smie-bnf--set-class): New function.
5592 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5593 corner case.
5594
6944dbc1
SM
5595 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5596 (compilation-error-properties, compilation-move-to-column):
5597 Handle compilation-first-column while in the target buffer.
5598
c400c4d7
SM
5599 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5600 Don't hardcode point-min==1.
5601
6dbe3e96
SM
5602 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5603 (eshell-rewrite-for-command): Remove workaround.
5604 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5605 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5606 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5607
cbe71af3
SM
5608 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5609
a8e1496d
GM
56102011-11-17 Glenn Morris <rgm@gnu.org>
5611
5612 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5613 Ignore buffer-local generated-autoload-file if it is the same
5614 as the global value. (Bug#10049)
5615
df85d315
JB
56162011-11-17 Juanma Barranquero <lekktu@gmail.com>
5617
5618 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5619 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5620 (reftex-toc-previous-heading, reftex-toc-max-level)
5621 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5622 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5623 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5624 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5625 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5626 (reftex-toc-rename-label, reftex-toc-visit-location)
5627 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5628 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5629 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5630 leaving "*toc*" only for references to the buffer.
5631
a0c2d0ae
MR
56322011-11-17 Martin Rudalics <rudalics@gmx.at>
5633
5634 * window.el (window-resize, delete-window, split-window):
5635 Replace window-splits by window-combination-resize.
1d00653d 5636 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5637
35c0bac8
GM
56382011-11-17 Glenn Morris <rgm@gnu.org>
5639
5640 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5641 Make bash entry derive from sh entry, not shell entry.
5642
d0c8fc8a
MA
56432011-11-16 Michael Albinus <michael.albinus@gmx.de>
5644
d0c8fc8a
MA
5645 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5646 properties of linked files. (Bug#9879)
5647
7262a87c
MA
5648 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5649 local file name.
5650
7877f373
JB
56512011-11-16 Juanma Barranquero <lekktu@gmail.com>
5652
5653 * menu-bar.el (menu-bar-file-menu):
5654 * printing.el (pr-ps-utility):
5655 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5656 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5657 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5658 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5659 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5660 (icalendar--convert-cyclic-to-ical)
5661 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5662 (icalendar--convert-ical-to-diary)
5663 (icalendar--convert-recurring-to-diary)
5664 (icalendar--convert-non-recurring-all-day-to-diary)
5665 (icalendar-import-format-sample):
5666 * progmodes/idlw-shell.el (idlwave-shell-mode):
5667 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5668 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5669 (vhdl-ps-print-init): Fix typos.
5670
10649b82
KM
56712011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5672
9d0cfcd6
GM
5673 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5674 FSF and collapse date sequence, obscure author/maintainer email address
5675 better, remove extra version line, track relocation of author's webpage.
10649b82 5676
9d0cfcd6
GM
5677 * progmodes/python.el (python-pdbtrack-input-prompt)
5678 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5679 regular python pdb prompts. Adjustments shamelessly taken exactly as
5680 suggested in EmacsWiki page (tiny change):
5681 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5682
58179cce
JB
56832011-11-16 Juanma Barranquero <lekktu@gmail.com>
5684
5685 * expand.el (expand-pos, expand-index, expand-point):
5686 Remove redundant info from docstring.
5687 (expand-add-abbrevs): Doc fix.
5688 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5689 (expand-sample-perl-mode-expand-list): Fix typos.
5690
5691 * net/dbus.el (dbus-event-member-name):
5692 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5693 * term/pc-win.el (msdos-create-frame-with-faces):
5694 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5695
b6f67890
MR
56962011-11-16 Martin Rudalics <rudalics@gmx.at>
5697
5698 * window.el (split-window, window-state-get-1)
5699 (window-state-put-1, window-state-put-2): Rename occurrences of
5700 window-nest to window-combination-limit.
1d00653d 5701 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5702
ce7ddba0
CY
57032011-11-16 Chong Yidong <cyd@gnu.org>
5704
5705 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5706 regexp (Bug#10033).
5707
3ae704f4
SM
57082011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5711 `completing-read' will remove *Completions* and will preserve
5712 current-buffer for us.
5713 (tmm-add-prompt): Users of *Completions* will always (re)set its
5714 major mode.
5715 (tmm-old-comp-map): Remove.
5716
6ad1cdde
GM
57172011-11-16 Glenn Morris <rgm@gnu.org>
5718
5719 * mail/rmailedit.el: Require rmailmm when compiling.
5720 (rmail-old-mime-state): New declaration.
5721 (rmail-edit-current-message): If editing a mime message,
5722 edit the "raw" message from the mbox buffer.
5723 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5724
d20faa20
GM
57252011-11-15 Glenn Morris <rgm@gnu.org>
5726
5727 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5728 which wasn't being used. Add optional arg to force given state.
5729 (rmail-mime): Add optional arg to force given state.
5730
c7015153
JB
57312011-11-15 Juanma Barranquero <lekktu@gmail.com>
5732
5733 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5734 * frame.el (display-mm-dimensions-alist):
5735 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5736 (outline-move-subtree-down):
5737 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5738 (newsticker--treeview-do-get-node):
5739 * net/quickurl.el (quickurl-list-buffer-name):
5740 * progmodes/dcl-mode.el (dcl-mode):
5741 * progmodes/gdb-mi.el (gdb-mapcar*):
5742 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5743
45261b50
GM
57442011-11-15 Glenn Morris <rgm@gnu.org>
5745
5746 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5747 in a boolean sense, so just make it a boolean, and fix the doc.
5748 (rmail-show-mime-function, rmail-mime-feature)
5749 (rmail-require-mime-maybe): Doc fixes.
5750 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5751
5752 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5753
0d26e0b6
JB
57542011-11-15 Juanma Barranquero <lekktu@gmail.com>
5755
5756 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5757 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5758 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5759 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5760
447f30f6
GM
57612011-11-15 Glenn Morris <rgm@gnu.org>
5762
672b871d
GM
5763 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5764 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5765 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5766 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5767 (rmail-mime, rmail-show-mime): Doc fixes.
5768
f6aa5bb1
GM
5769 * term/ns-win.el (mode-line-frame-identification):
5770 Leave it alone. (Bug#10051)
5771
947cd66b
GM
5772 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5773
447f30f6
GM
5774 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5775 Handle empty buffers. (Bug#9978)
5776
0b381c7e
JB
57772011-11-14 Juanma Barranquero <lekktu@gmail.com>
5778
5779 * international/mule.el (define-charset):
5780 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5781 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5782 * progmodes/verilog-mode.el (verilog-backward-token):
5783 * textmodes/ispell.el (lookup-words):
5784 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5785
71e027ac
GM
57862011-11-14 Glenn Morris <rgm@gnu.org>
5787
56632ce4
GM
5788 * progmodes/executable.el
5789 (executable-make-buffer-file-executable-if-script-p):
5790 Handle file-modes returning nil.
5791
40500957
GM
5792 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5793 message - not necessary, and causes problems. (Bug#9831)
5794
071c2340
GM
5795 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5796
d3cfca60
GM
5797 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5798
71e027ac
GM
5799 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5800 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5801 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5802
89d61221
MR
58032011-11-12 Martin Rudalics <rudalics@gmx.at>
5804
5805 * window.el (window-resize, delete-window): Use window-splits
5806 variable instead of function.
5807 (window-state-get-1, window-state-put-2, window-state-put):
5808 Don't deal with windows' splits status.
5809
98282f6f
GM
58102011-11-12 Glenn Morris <rgm@gnu.org>
5811
5812 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5813 (apropos-documentation): Doc fixes.
5814
40a8bdf6
JB
58152011-11-11 Juanma Barranquero <lekktu@gmail.com>
5816
5817 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5818 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5819
65bd19ff
SM
58202011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5821
5822 * electric.el (electric-indent-post-self-insert-function): Make it
5823 possible for a char to only indent in some circumstances.
5824 (electric-indent-mode): Simplify.
5825
54f9154c
MR
58262011-11-11 Martin Rudalics <rudalics@gmx.at>
5827
5828 * window.el (windows-with-parameter): Remove unused function.
5829 (windows-at-side): Rename to window-at-side-list.
5830 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
5831 (window-side-check, window-size-ignore, window-size-fixed-1)
5832 (window-in-direction-2): Prefix with "window--".
5833 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 5834
68cbc58b
GM
58352011-11-11 Glenn Morris <rgm@gnu.org>
5836
5837 * subr.el (eval-after-load): If FILE is already loaded,
5838 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5839
b2621720
GM
58402011-11-10 Glenn Morris <rgm@gnu.org>
5841
9a4de110
GM
5842 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5843 Call svn via vc-svn-command rather than vc-do-command.
5844 (vc-svn-command): Add --non-interactive. (Bug#9993)
5845 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5846
b2621720
GM
5847 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5848 Add toggle-read-only. (Bug#7292)
5849 * files.el (toggle-read-only): Mention that it should only
5850 be used interactively. (Bug#10006)
5851
1dce7193
SM
58522011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5853
d9ac1a1e
SM
5854 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5855 Adjust regexp for OCaml warnings.
5856
0c325082
SM
5857 * electric.el (electric-pair-post-self-insert-function): Let user
5858 turn it off buffer-locally (bug#9932).
5859
90132c14
SM
5860 * progmodes/python.el (python-beginning-of-statement):
5861 Rewrite (bug#2703).
5862
1dce7193
SM
5863 * progmodes/compile.el: Better handle TABs (bug#9749).
5864 (compilation-internal-error-properties)
5865 (compilation-next-error-function): Obey the target buffer's
5866 compilation-error-screen-columns.
5867
c4e7c63a
JB
58682011-11-09 Juanma Barranquero <lekktu@gmail.com>
5869
5870 * progmodes/meta-mode.el: Remove obsolete comments.
5871 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5872 Fix typos in docstrings.
5873
2cffd681
MR
58742011-11-09 Martin Rudalics <rudalics@gmx.at>
5875
5876 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 5877 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
5878 (window--resizable): New function. Make all callers of
5879 window-resizable call window--resizable instead.
5880 (window-resizable): Rewrite in terms of window--resizable.
5881
0edcba87
GM
58822011-11-08 Glenn Morris <rgm@gnu.org>
5883
5884 * progmodes/delphi.el (delphi-mode-syntax-table):
5885 Let define-derived-mode define a proper syntax table. (Bug#9994)
5886
4b0d61e3
SM
58872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * window.el: Stay away from defsubst.
5890 (window-list-no-nils): Remove.
5891 (window-state-get-1, window-state-get): Use backquote instead.
5892
cd394be1 58932011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 5894
4b0d61e3 5895 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 5896 Fix incorrect use of default argument in `completing-read'.
5897
e1c2c6f2
MR
58982011-11-08 Martin Rudalics <rudalics@gmx.at>
5899
5900 * window.el (display-buffer-function, special-display-function):
5901 Mention display-buffer-record-window but do not mention
5902 help-setup parameter in doc-strings.
b3f4a882 5903 (window-min-delta): Fix doc-string typo.
e1c2c6f2 5904
105216ed
CY
59052011-11-08 Chong Yidong <cyd@gnu.org>
5906
5907 * window.el (window-total-height, window-total-width): Doc fix.
5908 (window-body-size): Move from C.
5909 (window-body-height, window-body-width): Move to C.
5910
0a9f9ab5
SM
59112011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * window.el: Make special-display like display-buffer-alist (bug#9532).
5914 (display-buffer--special-action): New function, morphed
5915 from display-buffer--special.
5916 (display-buffer): Use it to handle special-display-buffers at higher
5917 priority (just after display-buffer-alist).
5918 (display-buffer-fallback-action, display-buffer--other-frame-action)
5919 (pop-to-buffer-same-window): Remove display-buffer--special.
5920
a769dd15
GM
59212011-11-07 Glenn Morris <rgm@gnu.org>
5922
5923 * calendar/cal-menu.el (cal-menu-set-date-title):
5924 Do nothing if not in a calendar. (Bug#9976)
5925
05a61ee3
SM
59262011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * files.el (find-file): Always use selected-window.
5929
be7f5545
MR
59302011-11-07 Martin Rudalics <rudalics@gmx.at>
5931
5932 * window.el (window-combinations): Make WINDOW argument
5933 mandatory. Rewrite doc-string.
5934 (walk-window-subtree, window-atom-check, window-min-delta)
5935 (window-max-delta, window--resize-this-window)
5936 (window--resize-root-window-vertically, window-tree)
5937 (balance-windows, window-state-put): Rewrite doc-strings as to
5938 not mention the term "subwindow".
5939 (window--resize-subwindows-skip-p): Rename to
5940 window--resize-child-windows-skip-p.
5941 (window--resize-subwindows-normal): Rename to
5942 window--resize-child-windows-normal.
5943 (window--resize-subwindows): Rename to
5944 window--resize-child-windows.
5945 (window-or-subwindow-p): Rename to window--in-subtree-p.
5946
3c6702ef
ML
59472011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5948
5949 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5950 Ensure that mbox format messages end in two newlines (Bug#9974).
5951
49745b39
CY
59522011-11-06 Chong Yidong <cyd@gnu.org>
5953
5954 * window.el (window-combination-p): Function deleted; its
5955 side-effect is not used in any existing code.
5956 (window-combinations, window-combined-p): Call window-*-child
5957 directly.
5958
24300f5f
CY
59592011-11-05 Chong Yidong <cyd@gnu.org>
5960
5961 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
5962 (window-size-ignore, window-state-get): Callers changed.
5963 (window-normalize-window): Rename from window-normalize-any-window.
5964 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 5965 (window-normalize-live-window): Delete.
447f16b8
CY
5966 (window-combination-p, window-combined-p, window-combinations)
5967 (walk-window-subtree, window-atom-root, window-min-size)
5968 (window-sizable, window-sizable-p, window-size-fixed-p)
5969 (window-min-delta, window-max-delta, window-resizable)
5970 (window-resizable-p, window-full-height-p, window-full-width-p)
5971 (window-current-scroll-bars, window-point-1, set-window-point-1)
5972 (window-at-side-p, window-in-direction, window-resize)
5973 (adjust-window-trailing-edge, maximize-window, minimize-window)
5974 (window-deletable-p, delete-window, delete-other-windows)
5975 (record-window-buffer, unrecord-window-buffer)
5976 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5977 (quit-window, split-window, window-state-put)
5978 (set-window-text-height, fit-window-to-buffer)
5979 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5980
89bd5ee1
EZ
59812011-11-04 Eli Zaretskii <eliz@gnu.org>
5982
53479029
EZ
5983 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5984 rfc2047-decode-string.
5985 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5986 warnings.
5987
89bd5ee1
EZ
5988 * window.el (window-body-height, window-body-width): Mention in
5989 the doc string that the return values are in frame's canonical
5990 units. (Bug#9949)
5991
bd17fdee
AM
59922011-11-03 Alan Mackenzie <acm@muc.de>
5993
5994 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5995 change in cc-engine.el.
5996
acc825c5
SM
59972011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6000
1885e5b8
MR
60012011-11-02 Martin Rudalics <rudalics@gmx.at>
6002
6003 * window.el (quit-window): Call unrecord-window-buffer after
6004 showing another buffer in the window. (Bug#9937)
acc825c5 6005 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6006
ebe06da9
JB
60072011-11-02 Juanma Barranquero <lekktu@gmail.com>
6008
6009 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6010 Accept status with more than 9 shelves. (Bug#9935)
6011 Reported by Colin D Bennett <colin@gibibit.com>.
6012
4ee88440
MR
60132011-11-01 Martin Rudalics <rudalics@gmx.at>
6014
6015 * help.el (with-help-window): Don't reference
6016 temp-buffer-show-specifiers in doc-string.
6017
08e1d82c
AS
60182011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6019
6020 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6021 menu-item.
6022
84bd6e9e
VJL
60232011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6024
6025 * whitespace.el: New version 13.2.2.
6026 (whitespace-newline-mode): Disable properly. Reported by Sarah
6027 <EmacsWiki>.
6028
dba0634a
UJ
60292011-10-30 Ulf Jasper <ulf.jasper@web.de>
6030
6031 * net/newst-treeview.el: Remove "Time-stamp".
6032 (newsticker--group-manage-orphan-feeds): Do not call
6033 newsticker--treeview-tree-update.
db22a3c2
JB
6034 (newsticker-treeview-update, newsticker-treeview):
6035 Call newsticker--treeview-tree-update if necessary.
dba0634a 6036
3d8daefe
MR
60372011-10-30 Martin Rudalics <rudalics@gmx.at>
6038
6039 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6040 (window-iso-combinations): Remove "iso-" infix.
6041 Suggested by Chong Yidong.
3d8daefe
MR
6042 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6043 (window-max-delta-1, window-resize, window--resize-siblings)
6044 (window--resize-this-window, adjust-window-trailing-edge)
6045 (split-window, balance-windows-1)
6046 (shrink-window-if-larger-than-buffer):
6047 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6048 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6049
1bc4c3ae
SM
60502011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6051
6052 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6053 in place (bug#9907).
6054 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6055 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6056 (eshell-structure-basic-command, eshell-rewrite-while-command)
6057 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6058 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6059 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6060 (eshell-do-pipelines-synchronously, eshell-eval-command):
6061 Use backquotes and prefer setq to set.
6062 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6063 (eshell-macrop): Use functionp.
c1e2f5fa 6064 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6065
30b65d9c
CY
60662011-10-30 Chong Yidong <cyd@gnu.org>
6067
6068 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6069 instead of set-mark (Bug#9810).
6070
2d197ffb
CY
60712011-10-30 Chong Yidong <cyd@gnu.org>
6072
6073 * window.el (split-window-below, split-window-right): Rename from
6074 split-window-above-each-other and split-window-side-by-side
6075 respectively. All callers changed.
6076 (split-window-sensibly, split-window-sensibly): Use them.
6077 (split-window-keep-point): Doc fix.
6078
6079 * isearch.el: Add isearch-scroll property to split-window-below
6080 and split-window-right.
6081
6082 * follow.el (follow-mode):
6083 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6084 * progmodes/ada-xref.el (ada-gdb-application):
6085 * emulation/vip.el (vip-buffer-in-two-windows):
6086 * image-dired.el (image-dired-dired-with-window-configuration):
6087 * dired-x.el (dired-do-find-marked-files):
6088 * dired.el (dired-pop-to-buffer):
6089 * bs.el (bs--show-with-configuration):
6090 * vc/emerge.el (emerge-setup-windows):
6091 * textmodes/two-column.el (2C-two-columns):
6092 * textmodes/reftex-toc.el (reftex-toc):
6093 * progmodes/gdb-mi.el (gdb-setup-windows):
6094 * progmodes/fortran.el (fortran-window-create):
6095 * net/newst-treeview.el (newsticker--treeview-window-init):
6096 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6097 * emulation/tpu-edt.el (tpu-gold-map):
6098 * emulation/crisp.el (crisp-mode-map):
6099 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6100
38bb2ca8
CY
61012011-10-29 Chong Yidong <cyd@gnu.org>
6102
aa4de341
CY
6103 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6104
e1eb5385
CY
6105 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6106
5d2ece3c
CY
6107 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6108 forged Ispell output (Bug#7904).
6109
38bb2ca8
CY
6110 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6111
d0af9f77
SM
61122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * doc-view.el: Avoid ugly errors about not finding nil.
6115 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6116 (doc-view-dvipdf-program, doc-view-unoconv-program)
6117 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6118 Avoid nil or absolute file name as default value.
6119 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6120
52bedd34
AM
61212011-10-28 Alan Mackenzie <acm@muc.de>
6122
db22a3c2 6123 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6124
7e43cfa5
AM
61252011-10-28 Alan Mackenzie <acm@muc.de>
6126
6127 Amend the handling of c-beginning/end-of-defun in nested declaration
6128 scopes.
6129
52bedd34
AM
6130 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6131 cc-langs.el. Change it to a defcustom.
7e43cfa5 6132
52bedd34
AM
6133 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6134 cc-vars.el.
7e43cfa5 6135
d0af9f77
SM
6136 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6137 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6138
52bedd34 6139 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6140 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6141 (c-widen-to-enclosing-decl-scope): New function.
6142 (c-while-widening-to-decl-block): New macro.
6143 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6144 outward for defun boundaries, and correspondingly change symbol
6145 `respect-enclosure' to `go-outward'.
6146 (c-declaration-limits): Change algorithm to report only the "innermost"
6147 defun's boundaries.
6148
1a2ce9ee
DD
61492011-10-28 Deniz Dogan <deniz@dogan.se>
6150
6151 * net/rcirc.el (rcirc-mode): Use hard newlines.
6152
bc97a826
AM
61532011-10-28 Alan Mackenzie <acm@muc.de>
6154
6155 Amend to indent and fontify macros "which include their own semicolon"
6156 correctly, using the "virtual semicolon" mechanism.
6157
52bedd34 6158 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6159
d0af9f77 6160 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6161 Recode to scan one line at a time rather than having \n and \r
58179cce 6162 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6163 (c-forward-label): Amend for virtual semicolons.
58179cce 6164 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6165
52bedd34
AM
6166 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6167 of the new C macros.
bc97a826 6168
52bedd34 6169 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6170 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6171 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6172 (c-opt-cpp-macro-define): Make into a full language variable.
6173 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6174 AWK Mode (including \n, \r) removed, no longer needed.
6175
d0af9f77
SM
6176 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6177 Invoke c-make-macro-with-semi-re.
bc97a826 6178
52bedd34
AM
6179 * progmodes/cc-vars.el (c-macro-with-semi-re):
6180 (c-macro-names-with-semicolon): New variables.
58179cce 6181 (c-make-macro-with-semi-re): New function.
bc97a826 6182
7a6c0941
SM
61832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * vc/log-edit.el: Fill empty field rather than adding new one.
6186 (log-edit-add-field): New function.
6187 (log-edit-insert-changelog): Use it.
6188
b0c4cdcf
ML
61892011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6190
6191 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6192
ee1f1da9
SM
61932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6196 (gdb--check-interpreter): New function.
6197 (gdb): Use it.
6198
51bc5f8b
GM
61992011-10-27 Glenn Morris <rgm@gnu.org>
6200
416a2c45
GM
6201 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6202 (least-positive-float, least-negative-float)
6203 (least-positive-normalized-float, least-negative-normalized-float)
6204 (float-epsilon, float-negative-epsilon):
6205 Remove unnecessary declarations.
6206
6207 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6208 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6209 (least-positive-float, least-negative-float)
6210 (least-positive-normalized-float, least-negative-normalized-float)
6211 (float-epsilon, float-negative-epsilon): Add doc-strings,
6212 based on those in cl.texi.
6213
51bc5f8b
GM
6214 * files.el (set-visited-file-name): If the major-mode changed,
6215 reload the local variables. (Bug#9796)
6216
15de15c6
CY
62172011-10-27 Chong Yidong <cyd@gnu.org>
6218
6219 * subr.el (change-major-mode-after-body-hook): New hook.
6220 (run-mode-hooks): Run it.
6221
ee1f1da9
SM
6222 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6223 Use change-major-mode-before-body-hook.
15de15c6
CY
6224
6225 * simple.el (fundamental-mode):
6226 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6227 change introducing fundamental-mode-hook.
6228
5430d399
JB
62292011-10-26 Juanma Barranquero <lekktu@gmail.com>
6230
acc825c5 6231 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6232
ad74a69e
MA
62332011-10-26 Michael Albinus <michael.albinus@gmx.de>
6234
6235 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6236 tramp.el explicitly. (Bug#7583)
ad74a69e 6237
71d4c2a5
SM
62382011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * progmodes/octave-mod.el:
6241 * progmodes/octave-inf.el: Update maintainer.
6242
b1f6fa26
CY
62432011-10-26 Chong Yidong <cyd@gnu.org>
6244
6245 * subr.el (with-wrapper-hook): Rewrite doc.
6246
3f04efd6
MA
62472011-10-25 Michael Albinus <michael.albinus@gmx.de>
6248
6249 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6250 filenames "/method:foo:". (Bug#9793)
3f04efd6 6251
410488d3
SM
62522011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6255 (bug#9865).
6256
c1ebb47e
GM
62572011-10-24 Glenn Morris <rgm@gnu.org>
6258
6259 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6260
7f5c46c7
MA
62612011-10-24 Michael Albinus <michael.albinus@gmx.de>
6262
6263 * notifications.el: Add the requirement of a running D-Bus session
6264 bus to the Commentary.
6265
db2440b6
JL
62662011-10-24 Juri Linkov <juri@jurta.org>
6267
6268 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6269 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6270 (Bug#9364)
6271
feecf435
JL
62722011-10-24 Juri Linkov <juri@jurta.org>
6273
6274 * info.el (Info-following-node-name-re): Add newline to the list
6275 of allowed characters for leading space. (Bug#9824)
6276
a3839de2
SM
62772011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6278
acc825c5
SM
6279 * progmodes/octave-inf.el (inferior-octave-mode-map):
6280 Fix C-c C-h binding.
a3839de2
SM
6281 * progmodes/octave-mod.el (octave-help): Remove.
6282
09388e76
MA
62832011-10-23 Michael Albinus <michael.albinus@gmx.de>
6284
6285 Sync with Tramp 2.2.3.
6286
6287 * net/tramp-cache.el (top): Pacify byte-compiler using
6288 `init-file-user' and `site-run-file'.
6289
6290 * net/trampver.el: Update release number.
6291
86c60681
CY
62922011-10-23 Chong Yidong <cyd@gnu.org>
6293
6294 * files.el (toggle-read-only): Remove obsolete comment about
6295 version control.
6296
6297 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6298 for toggle-read-only. Note that this hasn't called vc-next-action
6299 since 2008-05-02, though it wasn't documented at the time.
6300
a3839de2
SM
6301 * vc/ediff-init.el (ediff-toggle-read-only-function):
6302 Use toggle-read-only.
86c60681 6303
cd5495ff
AM
63042011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6305
6306 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6307 of c-parse-state.
6308
00b77525 6309 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6310 correct faulty logical expression.
cd5495ff
AM
6311 (c-parse-state-state, c-record-parse-state-state):
6312 (c-replay-parse-state-state): New defvar/defuns.
6313 (c-debug-parse-state): Use new functions.
6314
42ee24ed
MR
63152011-10-22 Martin Rudalics <rudalics@gmx.at>
6316
6317 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6318 last fix. Use window-in-direction correctly.
42ee24ed 6319
a7dee7e7
CY
63202011-10-21 Chong Yidong <cyd@gnu.org>
6321
6322 * progmodes/idlwave.el (idlwave-mode):
6323 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6324 require-final-newline; that's done in prog-mode.
6325 Suggested by Stefan Monnier.
a7dee7e7 6326
e07b9a6d
MR
63272011-10-21 Martin Rudalics <rudalics@gmx.at>
6328
6329 * mouse.el (mouse-drag-window-above)
6330 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6331 (mouse-drag-mode-line-1, mouse-drag-header-line)
6332 (mouse-drag-vertical-line-rightward-window): Remove.
6333 (mouse-drag-line): New function.
6334 (mouse-drag-mode-line, mouse-drag-header-line)
6335 (mouse-drag-vertical-line): Call mouse-drag-line.
6336 * window.el (window-at-side-p, windows-at-side): New functions.
6337
7e1361d9
UM
63382011-10-21 Ulrich Mueller <ulm@gentoo.org>
6339
6340 * tar-mode.el (tar-grind-file-mode):
6341 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6342
30fcaf3a
CY
63432011-10-21 Chong Yidong <cyd@gnu.org>
6344
6345 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6346 * progmodes/vera-mode.el (vera-mode):
6347 Use mode-require-final-newline.
30fcaf3a 6348
516eddb0
GM
63492011-10-20 Glenn Morris <rgm@gnu.org>
6350
db22a3c2 6351 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6352
10d5f513
CS
63532011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6354
6355 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6356
ac6c8639
CY
63572011-10-20 Chong Yidong <cyd@gnu.org>
6358
6359 * emulation/cua-base.el (cua-mode):
6360 * mail/footnote.el (footnote-mode):
6361 * mail/mailabbrev.el (mail-abbrevs-mode):
6362 * net/xesam.el (xesam-minor-mode):
6363 * progmodes/bug-reference.el (bug-reference-mode):
6364 * progmodes/cap-words.el (capitalized-words-mode):
6365 * progmodes/compile.el (compilation-minor-mode)
6366 (compilation-shell-minor-mode):
6367 * progmodes/gud.el (gud-tooltip-mode):
6368 * progmodes/hideif.el (hide-ifdef-mode):
6369 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6370 * progmodes/subword.el (subword-mode):
6371 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6372 * progmodes/which-func.el (which-function-mode):
6373 * term/tvi970.el (tvi970-set-keypad-mode):
6374 * term/vt100.el (vt100-wide-mode):
6375 * textmodes/flyspell.el (flyspell-mode):
6376 * textmodes/ispell.el (ispell-minor-mode):
6377 * textmodes/nroff-mode.el (nroff-electric-mode):
6378 * textmodes/paragraphs.el (use-hard-newlines):
6379 * textmodes/refill.el (refill-mode):
6380 * textmodes/reftex.el (reftex-mode):
6381 * textmodes/rst.el (rst-minor-mode):
6382 * textmodes/sgml-mode.el (html-autoview-mode)
6383 (sgml-electric-tag-pair-mode):
6384 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6385 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6386 * emulation/crisp.el (crisp-mode):
6387 * emacs-lisp/eldoc.el (eldoc-mode):
6388 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6389 minor mode behavior.
6390
aa42ab43
JL
63912011-10-19 Juri Linkov <juri@jurta.org>
6392
6393 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6394 the list of hard-coded chars with escape-glyph face.
6395
89400f1d
SM
63962011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6399
305c07f6
MA
64002011-10-19 Michael Albinus <michael.albinus@gmx.de>
6401
6402 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6403 running process.
6404
13754b54
GM
64052011-10-19 Glenn Morris <rgm@gnu.org>
6406
6407 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6408 Ignore ignored files. (Bug#9726)
6409
06e21633
CY
64102011-10-19 Chong Yidong <cyd@gnu.org>
6411
6412 Doc fix for minor modes, stating that an omitted argument enables
6413 the mode unconditionally when called from Lisp.
6414
6415 * abbrev.el (abbrev-mode):
6416 * allout.el (allout-mode):
6417 * autoinsert.el (auto-insert-mode):
6418 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6419 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6420 (global-auto-revert-mode):
6421 * battery.el (display-battery-mode):
6422 * composite.el (global-auto-composition-mode)
6423 (auto-composition-mode):
6424 * delsel.el (delete-selection-mode):
6425 * desktop.el (desktop-save-mode):
6426 * dired-x.el (dired-omit-mode):
6427 * dirtrack.el (dirtrack-mode):
6428 * doc-view.el (doc-view-minor-mode):
6429 * double.el (double-mode):
6430 * electric.el (electric-indent-mode, electric-pair-mode):
6431 * emacs-lock.el (emacs-lock-mode):
6432 * epa-hook.el (auto-encryption-mode):
6433 * follow.el (follow-mode):
6434 * font-core.el (font-lock-mode):
6435 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6436 * help.el (temp-buffer-resize-mode):
6437 * hilit-chg.el (highlight-changes-mode)
6438 (highlight-changes-visible-mode):
6439 * hi-lock.el (hi-lock-mode):
6440 * hl-line.el (hl-line-mode, global-hl-line-mode):
6441 * icomplete.el (icomplete-mode):
6442 * ido.el (ido-everywhere):
6443 * image-file.el (auto-image-file-mode):
6444 * image-mode.el (image-minor-mode):
6445 * iswitchb.el (iswitchb-mode):
6446 * jka-cmpr-hook.el (auto-compression-mode):
6447 * linum.el (linum-mode):
6448 * longlines.el (longlines-mode):
6449 * master.el (master-mode):
6450 * mb-depth.el (minibuffer-depth-indicate-mode):
6451 * menu-bar.el (menu-bar-mode):
6452 * minibuf-eldef.el (minibuffer-electric-default-mode):
6453 * mouse-sel.el (mouse-sel-mode):
6454 * msb.el (msb-mode):
6455 * mwheel.el (mouse-wheel-mode):
6456 * outline.el (outline-minor-mode):
6457 * paren.el (show-paren-mode):
6458 * recentf.el (recentf-mode):
6459 * reveal.el (reveal-mode, global-reveal-mode):
6460 * rfn-eshadow.el (file-name-shadow-mode):
6461 * ruler-mode.el (ruler-mode):
6462 * savehist.el (savehist-mode):
6463 * scroll-all.el (scroll-all-mode):
6464 * scroll-bar.el (scroll-bar-mode):
6465 * server.el (server-mode):
6466 * shell.el (shell-dirtrack-mode):
6467 * simple.el (auto-fill-mode, transient-mark-mode)
6468 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6469 (line-number-mode, column-number-mode, size-indication-mode)
6470 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6471 * strokes.el (strokes-mode):
6472 * time.el (display-time-mode):
6473 * t-mouse.el (gpm-mouse-mode):
6474 * tool-bar.el (tool-bar-mode):
6475 * tooltip.el (tooltip-mode):
6476 * type-break.el (type-break-mode-line-message-mode)
6477 (type-break-query-mode):
6478 * view.el (view-mode):
6479 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6480 (global-whitespace-mode, global-whitespace-newline-mode):
6481 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6482
a3839de2
SM
6483 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6484 Fix autogenerated docstring.
06e21633 6485
5214e501
JL
64862011-10-19 Juri Linkov <juri@jurta.org>
6487
6488 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6489 by checking environment variables "DESKTOP_SESSION" and
6490 "XDG_CURRENT_DESKTOP". (Bug#9779)
6491
195f8db9
JL
64922011-10-19 Juri Linkov <juri@jurta.org>
6493
6494 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6495 (browse-url-chromium-program, browse-url-chromium-arguments):
6496 New defcustoms.
6497 (browse-url-default-browser): Check for `browse-url-chromium' and
6498 call `browse-url-chromium-program'.
6499 (browse-url-chromium): New command. (Bug#9779)
6500
343a34ff
JB
65012011-10-18 Juanma Barranquero <lekktu@gmail.com>
6502
6503 * facemenu.el (list-colors-duplicates): On Windows, detect more
6504 duplicates by assuming that only colors matching "^System" are
6505 special "system colors". (Bug#9722)
6506
6978a151
SM
65072011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6510 to distinguish the author from the committer.
6511
6a80b297
MA
65122011-10-18 Michael Albinus <michael.albinus@gmx.de>
6513
6514 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6515
b31a5677
JK
65162011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6517
6518 * international/mule.el (sgml-html-meta-auto-coding-function):
6519 Add support for detecting encoding in HTML5 specified only as
6520 <meta charset="UTF-8">. Implementation just makes http-equiv and
6521 content-type parts from HTML4 encoding string optional. (Bug#9716)
6522
80c6d77f
GM
65232011-10-18 Glenn Morris <rgm@gnu.org>
6524
6525 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6526
08b0fee8
CY
65272011-10-18 Chong Yidong <cyd@gnu.org>
6528
6529 * faces.el (cursor): Doc fix.
6530
67e729a5
CY
65312011-10-17 Chong Yidong <cyd@gnu.org>
6532
6533 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6534
343a34ff 65352011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6536
6537 * dirtrack.el (dirtrack): Support shell buffers with path
6538 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6539
0bc06380
TZ
65402011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6541
6542 * json.el: Bump version to 1.3 and note change in History.
6543 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6544
8b79f3e0
SM
65452011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6546
5a7c536b
SM
6547 * comint.el (comint-insert-input, comint-send-input)
6548 (comint-get-old-input-default, comint-backward-matching-input)
6549 (comint-next-prompt): Use nil instead of `input' for field property of
6550 past user input (bug#114).
6551
96a8a0df
SM
6552 * minibuffer.el (completion--replace): Inherit surrounding properties
6553 (bug#114).
6554 (minibuffer-complete-and-exit): Use it.
6555
8b79f3e0
SM
6556 * comint.el (comint--table-subvert): Quote the all-completions output
6557 (bug#9160).
6558
b8f7ff0d
MR
65592011-10-17 Martin Rudalics <rudalics@gmx.at>
6560
8b79f3e0 6561 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6562
b8f7ff0d 6563 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6564 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6565 entries and separate them from frame entries.
6566
c235b555
GM
65672011-10-15 Glenn Morris <rgm@gnu.org>
6568
6569 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6570 Doc fixes.
6571
6bbfa6e1
CY
65722011-10-15 Chong Yidong <cyd@stupidchicken.com>
6573
8b79f3e0
SM
6574 * net/network-stream.el (network-stream-open-starttls):
6575 Improve detection of failure due to lack of TLS support.
ec5c990d 6576
6bbfa6e1
CY
6577 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6578 putting the input text in front and in bold.
6579
98488977
SM
65802011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6581
3d1337be
SM
6582 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6583
ee0b45e4
SM
6584 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6585 empty buffer.
6586
98488977
SM
6587 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6588 unread-command-events rather than pushing yet-another event.
6589
186f4720
EZ
65902011-10-14 Eli Zaretskii <eliz@gnu.org>
6591
6592 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6593 the explanation of the possible choices. Make the options passed
6594 to completing-read shorter.
6595
8b7a997c
AM
65962011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6597
6598 * textmodes/flyspell.el (flyspell-large-region): Make sure
6599 extended character mode is used if defined (Bug#1339).
6600
12587bbb
EZ
66012011-10-13 Eli Zaretskii <eliz@gnu.org>
6602
6603 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6604 character info for LRE, LRO, RLE, and RLO characters by appending
6605 an invisible PDF.
12587bbb 6606
bad41229
SM
66072011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6610 even in case of error; add debug spec; simplify data flow.
6611 (with-timeout-handler): Remove.
6612
28dbc92f
MA
66132011-10-12 Michael Albinus <michael.albinus@gmx.de>
6614
6615 Fix Bug#6019, Bug#9315.
6616
6617 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6618 complete `buffer-file-name', the local file name part could look
6619 remotely (for example on VMS).
6620
6621 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6622 `tramp-run-real-handler'.
6623 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6624 already quoted by '"'.
6625
6626 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6627 Let `file-name-handler-alist' be nil, the local file name part
6628 could look remotely (for example on VMS).
6629
e1b0b23a
SM
66302011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6633 from here...
6634 (flyspell-post-command-hook): ...to here.
6635
a120bde9
SM
66362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6639 if not needed.
6640 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6641 using completion. Protect against "slow" callers.
6642 Remove the "message hack".
6643
7ce7717b
JL
66442011-10-11 Juri Linkov <juri@jurta.org>
6645
6646 * isearch.el (isearch-lazy-highlight-word): New variable.
6647 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6648 Use it. (Bug#9727)
6649
c02ee9d6
GM
66502011-10-11 Glenn Morris <rgm@gnu.org>
6651
6652 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6653 like f90-previous-statement does.
6654
93e616fd 66552011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6656
1f190e73 6657 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6658 only in interactive use, to avoid error.
6659
af7b6078
SM
66602011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * minibuffer.el (completion-file-name-table): Fix last change,
6663 i.e. ignore normal errors but not the other ones.
6664
0563dae9
MR
66652011-10-10 Martin Rudalics <rudalics@gmx.at>
6666
6667 * window.el (special-display-buffer-names)
6668 (special-display-regexps): Remove some remnants of earlier
6669 changes from doc-strings.
366ca7f3
MR
6670 (quit-windows-on): New function.
6671
6672 * vc/vc.el (vc-revert, vc-rollback):
6673 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6674 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6675 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6676
49677495
MR
66772011-10-09 Martin Rudalics <rudalics@gmx.at>
6678
6679 * window.el (frame-auto-hide-function): Add version tag.
6680 (Bug#9699)
6681
56f2d1e1
MA
66822011-10-09 Michael Albinus <michael.albinus@gmx.de>
6683
6684 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6685 condition.
6686
112a6592
LL
66872011-10-09 Leo Liu <sdl.web@gmail.com>
6688
6689 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6690 (Bug#9701)
6691
0812589b
GM
66922011-10-08 Glenn Morris <rgm@gnu.org>
6693
6694 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6695 before the first code statement zero indent. (Bug#9690)
6696
b2b0776e
CY
66972011-10-08 Chong Yidong <cyd@stupidchicken.com>
6698
6699 * simple.el (count-words-region): Always count in the region.
6700 Report the number of lines and characters too.
6701 (count-words): New command, which counts in the buffer if the
6702 region is inactive, as count-words-region used to.
6703 (count-words--message): New function. Handle plurals.
6704 (count-lines-region): Make it an alias for count-words-region.
6705
6706 * bindings.el (esc-map): Replace count-lines-region with
6707 count-words-region.
6708
c557cd6b
MR
67092011-10-08 Martin Rudalics <rudalics@gmx.at>
6710
6711 * window.el (window--delete): Delete dedicated frame
6712 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6713 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6714
61a57ef4 67152011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6716
3a7d293b 6717 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6718
c3833279
CY
67192011-10-07 Chong Yidong <cyd@stupidchicken.com>
6720
6721 * bindings.el ([M-left],[M-right]): Bind to left-word and
6722 right-word respectively.
6723
21ce8245
GM
67242011-10-07 Glenn Morris <rgm@gnu.org>
6725
6726 * cus-start.el (debug-on-quit): Fix custom type.
6727
6d823bb2
LMI
67282011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6729
0181e193
LMI
6730 * subr.el (define-key-after): Clarify that the function is not
6731 useful for non-menu keymaps.
6732
6d823bb2
LMI
6733 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6734
8e3459ce 67352011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6736
21ce8245 6737 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6738 in current minibuffer (Fix bug with recursive minibuffers).
6739
a1c2d21e
CY
67402011-10-06 Chong Yidong <cyd@stupidchicken.com>
6741
6742 * progmodes/gdb-mi.el (gdb): Doc fix.
6743
5a4cf282
MR
67442011-10-05 Martin Rudalics <rudalics@gmx.at>
6745
6746 * window.el (frame-auto-hide-function): New option replacing
6747 frame-auto-delete. Suggested by Stefan Monnier.
6748 (window--delete): Call frame-auto-hide-function instead of
6749 investigating frame-auto-delete.
c96111ea
MR
6750 (window-point-1, set-window-point-1): New functions.
6751 (window-in-direction, record-window-buffer, window-state-get-1)
6752 (display-buffer-record-window): Use window-point-1 instead of
6753 window-point.
6754 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 6755
9854542e
SM
67562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6759
8943cfb0
GM
67602011-10-05 Glenn Morris <rgm@gnu.org>
6761
6762 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6763 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6764
647ab967
LL
67652011-10-05 Leo Liu <sdl.web@gmail.com>
6766
6767 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6768 works with buffer object.
6769
3ddfbced
SM
67702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * mpc.el (mpc-tool-bar-map): Add labels.
6773
bdfa5dd2
GM
67742011-10-04 Glenn Morris <rgm@gnu.org>
6775
6776 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6777
0e2070b5
MR
67782011-10-04 Martin Rudalics <rudalics@gmx.at>
6779
6780 * window.el (window--delete): New function.
6781 (frame-auto-delete): Resuscitate option.
6782 (bury-buffer, replace-buffer-in-windows)
6783 (quit-window): Rewrite using window--delete.
6784 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6785 Pass display-buffer-mark-dedicated to window--display-buffer-2
6786 (Bug#9639).
6787
3dc61a09
SM
67882011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6789
915a9b64
SM
6790 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6791 returns a list (bug#9554). Add remote file name completion.
6792 * comint.el (comint--table-subvert): Curry and get quote&unquote
6793 functions as arguments.
6794 (comint--complete-file-name-data): Adjust call accordingly.
6795 * pcomplete.el (pcomplete--table-subvert): Remove.
6796 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6797
3dc61a09
SM
6798 * minibuffer.el (completion-table-case-fold): Use currying.
6799 (completion--styles-type, completion--cycling-threshold-type):
6800 New constants.
6801 (completion-styles, completion-category-overrides)
6802 (completion-cycle-threshold): Use them.
6803 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6804 completion-table-case-fold.
6805
8ea0a993
SB
68062011-10-03 Stephen Berman <stephen.berman@gmx.net>
6807
6808 * minibuffer.el (completion-category-overrides): Fix type of styles
6809 and add more user friendly tags (bug#9660).
6810
8c24b7f6
SM
68112011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6814 (mule-input-method-string): New widget.
6815 (default-input-method, language-info-custom-alist): Use it.
6816
428fe61a
SM
68172011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6818
32c1fffd
SM
6819 * pcomplete.el: Require comint.
6820 (pcomplete--common-suffix): Remove.
6821 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6822 (pcomplete--table-subvert): Sync with comint--table-subvert.
6823 (pcomplete--entries): Use comint-completion-file-name-table.
6824 * comint.el (comint-unquote-filename): Simplify.
6825 (comint-completion-file-name-table): New function (bug#9616).
6826 (comint--complete-file-name-data): Use it.
6827
428fe61a
SM
6828 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6829 (pcmpl-gnu-tar-buffer): Remove.
6830 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
6831 around. Make sure pcomplete-suffix-list is only changed temporarily.
6832 Don't look inside the tar's file if it's too large.
428fe61a 6833
04c52e2f
CY
68342011-10-01 Chong Yidong <cyd@stupidchicken.com>
6835
ce3cefcc
CY
6836 * cus-edit.el (custom-mode-map):
6837 * epa.el (epa-key-list-mode-map):
6838 * man.el (Man-mode-map):
6839 * startup.el (splash-screen-keymap):
6840 * simple.el (special-mode-map): Use scroll-up-command and
6841 scroll-down-command.
6842
6843 * progmodes/idlw-help.el (idlwave-help-mode-map):
6844 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6845 * net/newst-plainview.el (newsticker-mode-map):
6846 * emulation/ws-mode.el (wordstar-mode-map):
6847 * emulation/vi.el (vi-com-map):
6848 * calc/calc-graph.el (calc-graph-show-dumb):
6849 * term/sun.el (terminal-init-sun):
6850 * term/ns-win.el (global-map):
6851 * progmodes/grep.el (grep-mode-map):
6852 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6853 * mail/rmail.el (rmail-mode-map):
6854 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6855
04c52e2f
CY
6856 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6857 custom-safe-themes as special.
6858
79adf8c8
JD
68592011-10-01 Julien Danjou <julien@danjou.info>
6860
6861 * notifications.el (notifications-notify): Fix docstring.
6862
63bd50d3
PS
68632011-10-01 Per Starbäck <per@starback.se>
6864
6865 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6866
199e4c7e
MR
68672011-09-30 Martin Rudalics <rudalics@gmx.at>
6868
6869 * startup.el (command-line-1): Fix last fix by inserting
6870 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 6871 (Bug#9605) and (Bug#9636)
199e4c7e 6872
fe5f08dd
EZ
68732011-09-29 Eli Zaretskii <eliz@gnu.org>
6874
6875 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6876 window is hscrolled, move by logical lines. (Bug#9607)
6877 (line-move-visual): Update the doc string to the above effect.
6878
b5516bbd
MR
68792011-09-29 Martin Rudalics <rudalics@gmx.at>
6880
ccee00c0
MR
6881 * window.el (display-buffer-record-window): When WINDOW is the
6882 selected window use `point' instead of `window-point'. (Bug#9626)
6883
b5516bbd
MR
6884 * startup.el (command-line-1): Use insert-before-markers when
6885 inserting initial-scratch-message. (Bug#9605)
ccee00c0 6886
b5516bbd
MR
6887 * help.el (help-window): Remove variable.
6888
52aa0014
GM
68892011-09-29 Glenn Morris <rgm@gnu.org>
6890
6891 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6892
df9a7357
JB
68932011-09-29 Juanma Barranquero <lekktu@gmail.com>
6894
6895 * descr-text.el (describe-char-categories): Accept category
6896 descriptions more than one line long.
6897
a8406c20
SM
68982011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6899
88d9610c
SM
6900 * simple.el (delete-trailing-whitespace): Fix last change.
6901
a5daf810
SM
6902 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6903 Don't confuse "y => 3" as the beginning of a `y' operation.
6904
a8406c20
SM
6905 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6906 object has more than 4 slots (bug#9613).
6907
a239d4e9
JB
69082011-09-28 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * subr.el (with-output-to-temp-buffer):
6911 * net/quickurl.el (quickurl, quickurl-browse-url):
6912 Fix typos in docstrings.
6913
693fbdb6
EZ
69142011-09-27 Eli Zaretskii <eliz@gnu.org>
6915
6916 * minibuffer.el (completion-styles)
6917 (completion-category-overrides): Cross reference each other in doc
6918 strings.
6919
8b457e28
GM
69202011-09-27 Glenn Morris <rgm@gnu.org>
6921
6922 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6923 to split-string. (Bug#9606)
6924
85a16208
LMI
69252011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6926
6927 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6928 (bug#9615).
6929
502f9ebd
CY
69302011-09-27 Chong Yidong <cyd@stupidchicken.com>
6931
6932 * emacs-lisp/package.el (list-packages): Fix echo area message.
6933
7690bdea
LL
69342011-09-27 Leo Liu <sdl.web@gmail.com>
6935
6936 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6937
e2ee6f30
MA
69382011-09-25 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/dbus.el (dbus-unregister-object): Don't release services for
6941 registered signals. (Bug#9581)
6942
f3f98342
TZ
69432011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6944
6945 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6946 function that picks between cfengine 2 and 3 support
6947 automatically. Update docs accordingly.
6948
dd7aa8dd
KH
69492011-09-22 Kenichi Handa <handa@m17n.org>
6950
6951 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6952 ZERO.
6953 (indian-itrans-v5-table-for-tamil): New variable.
6954 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6955
3f2b07f8
KM
69562011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6957
6958 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6959 that's true if the current command involved collapsing of text.
6960 It's reset to false at the beginning of the next command.
6961 (allout-post-command-business): Move the cursor to the beginning
6962 of entry if the cursor is hidden and collapsing activity just
6963 happened.
6964
371d6a61
CY
69652011-09-24 Chong Yidong <cyd@stupidchicken.com>
6966
6967 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6968 tracking (Bug#9541).
6969
2ac2721a
UJ
69702011-09-24 Ulf Jasper <ulf.jasper@web.de>
6971
6972 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
6973 (newsticker-show-news): Automatically load html rendering package
6974 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6975 because w3m-fill-column is let-bound" and the error "Symbol's value
6976 as variable is void: w3m-fill-column".
2ac2721a 6977
fac7ae53
MA
69782011-09-24 Michael Albinus <michael.albinus@gmx.de>
6979
6980 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6981 Release services only if they are defined. (Bug#9581)
6982
e08b633b
RS
69832011-09-23 Richard Stallman <rms@gnu.org>
6984
e488d29c
RS
6985 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6986 distinguish start of paragraph from start of its text.
6987
19c38752
RS
6988 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6989
e08b633b
RS
6990 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6991 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6992 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6993
0a39f27e
AS
69942011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6995
6996 * international/mule-diag.el (mule-diag): Insert a newline after
6997 each fontset description.
6998
db4e950d
SM
69992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * simple.el (delete-trailing-whitespace):
7002 Document last change; simplify.
7003
eca3f3ea
PW
70042011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7005
d68e189a
PW
7006 * simple.el (delete-trailing-whitespace): Also delete
7007 extra newlines at the end of the buffer.
7008
eca3f3ea
PW
7009 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7010 (picture-newline): Use forward-line so as to ignore fields.
7011
01c157cc
SM
70122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * subr.el (with-wrapper-hook): Fix edebug spec.
7015
022de23e
LMI
70162011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7017
7018 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7019 (bug#4538).
7020
91683089
MA
70212011-09-23 Michael Albinus <michael.albinus@gmx.de>
7022
eca3f3ea
PW
7023 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7024 Fix nasty bug using wrong cached values.
91683089 7025
5bdd6fa4
AM
70262011-09-23 Alan Mackenzie <acm@muc.de>
7027
7028 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7029
97adfb97
CY
70302011-09-23 Chong Yidong <cyd@stupidchicken.com>
7031
7032 * window.el (pop-to-buffer): Ensure right window is selected if we
7033 chose another frame.
7034
d4ef2b50
EZ
70352011-09-22 Eli Zaretskii <eliz@gnu.org>
7036
7037 * simple.el (what-cursor-position): Use get-char-property-change
7038 and next-single-char-property-change, to be able to show display
7039 properties that come from overlays as well as text properties.
7040
72258fe5
CY
70412011-09-22 Chong Yidong <cyd@stupidchicken.com>
7042
7043 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7044
7045 * cmuscheme.el (run-scheme, switch-to-scheme):
7046 * cus-edit.el (customize-group, custom-buffer-create)
7047 (customize-browse):
7048 * info.el (info):
7049 * shell.el (shell):
7050 * mail/sendmail.el (mail):
7051 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7052
8f098516
RS
70532011-09-22 Richard Stallman <rms@gnu.org>
7054
7055 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7056 move back only to line beg, don't move back over blank lines.
7057
e74f1bb6
MA
70582011-09-22 Michael Albinus <michael.albinus@gmx.de>
7059
7060 * files.el (copy-directory): Set directory attributes only in case
7061 they could be retrieved from the source directory. (Bug#9565)
7062
bfeef8b6
DK
70632011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7064
7065 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7066 (hs-find-block-beginning, hs-hide-level-recursive):
7067 Ignore strings as well as comments. (Bug#9502)
7068
7e423bb8
AS
70692011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7070
7071 * progmodes/sql.el (sql-comint-postgres):
7072 Convert port number to a string. (Bug#9566)
7073
b4d72fcf
MR
70742011-09-22 Martin Rudalics <rudalics@gmx.at>
7075
7076 * window.el (quit-window): Undedicate window when switching to
7077 previous buffer. Reported by Thierry Volpiatto
7078 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7079 (special-display-popup-frame): When popping up a new frame reset
7080 its previous buffers to nil. Simplify code.
b4d72fcf 7081
a7b88dc6
MA
70822011-09-21 Michael Albinus <michael.albinus@gmx.de>
7083
7084 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7085 and process filter, as done also in `shell-command'.
7086
cf4eacfd
MR
70872011-09-21 Martin Rudalics <rudalics@gmx.at>
7088
eca3f3ea 7089 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7090 Call set-window-start with NOFORCE argument t.
7091 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7092 (quit-window): Reword doc-string. Handle new format of
7093 quit-restore parameter. Don't delete window if it has a
7094 previous buffer we can show instead of the present one.
7095 (display-buffer-record-window): Rewrite using a new format for
7096 the quit-restore window parameter
7097 (special-display-popup-frame, display-buffer-same-window)
7098 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7099 (display-buffer-pop-up-window, display-buffer-use-some-window):
7100 Adapt symbol passed to display-buffer-record-window.
7101 * help.el (help-window-setup): Handle new format of quit-restore
7102 parameter.
7103
8d28cb95
SM
71042011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7105
94ab793f
SM
7106 * faces.el (face-list): Fix docstring (bug#9564).
7107
8d28cb95
SM
7108 * window.el (display-buffer--action-function-custom-type):
7109 Don't include internal functions in the Custom interface.
7110
3820edeb
JL
71112011-09-20 Juri Linkov <juri@jurta.org>
7112
7113 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7114 (Info-forward-node, Info-backward-node, Info-next-preorder)
7115 (Info-last-preorder): Use it. (Bug#9528)
7116
5147931d
JL
71172011-09-20 Juri Linkov <juri@jurta.org>
7118
7119 * info.el (Info-last-preorder): Visit last menu item only when
7120 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7121
cf499a1a
JD
71222011-09-20 Julien Danjou <julien@danjou.info>
7123
7124 * password-cache.el (password-cache-remove): Remove entries even if the
7125 value is nil, so that password with a nil value (negative caching) is
7126 possible to invalidate.
7127
f84e2fe2
LM
71282011-09-20 Lawrence Mitchell <wence@gmx.li>
7129
7130 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7131 all whitespace around breakpoint. (Bug#9553)
7132 (f90-find-breakpoint): Only break at whitespace inside a comment.
7133
78054a46
SM
71342011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * minibuffer.el (completion-file-name-table): Keep track of errors.
7137 (completion-table-with-predicate): Handle the case where pred1 is nil.
7138 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7139
345083b2
SM
71402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7141
e24e27be
SM
7142 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7143 (debugger-return-value): Signal an error if the debugging context does
7144 not await any return value.
7145
345083b2
SM
7146 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7147 * image-mode.el (image-toggle-display-text)
7148 (image-toggle-display-image): Stay away from evil `intangible'.
7149
08d355e3
LL
71502011-09-19 Leo Liu <sdl.web@gmail.com>
7151
7152 * replace.el (occur-revert-arguments): Make it permanent-local.
7153 (occur-mode): Don't call font-lock-defontify.
7154
f01da43f
CY
71552011-09-19 Chong Yidong <cyd@stupidchicken.com>
7156
7157 * net/ldap.el (ldap-search-internal): Don't push empty search
7158 result (Bug#9508).
7159
b6072fa6
SM
71602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7163
443d6696
MA
71642011-09-19 Michael Albinus <michael.albinus@gmx.de>
7165
7166 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7167 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7168
7cc6e154
JL
71692011-09-18 Juri Linkov <juri@jurta.org>
7170
7171 * buff-menu.el (Buffer-menu-mode-map):
7172 * dired.el (dired-mode-map):
7173 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7174 (lisp-interaction-mode-map):
7175 * emacs-lisp/package.el (package-menu-mode-map):
7176 * epa.el (epa-key-list-mode-map):
7177 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7178 (menu-bar-options-menu):
7179 * outline.el (outline-mode-menu-bar-map):
7180 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7181 * vc/vc-dir.el (vc-dir-menu-map):
7182 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7183 Capitalize non-function content words in menu item strings.
7184
7185 * dired.el (dired-mode-map): Add menu item for
7186 `image-dired-dired-toggle-marked-thumbs'.
7187
80302a81
JL
71882011-09-18 Juri Linkov <juri@jurta.org>
7189
7190 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7191 to `isearch-case-fold-search' and restore its original value
7192 after the `isearch-mode' call.
7193
46c5cf66
JL
71942011-09-18 Juri Linkov <juri@jurta.org>
7195
7196 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7197 because `zgrep' returns 1 for successful matches (bug#9226).
7198
d18b513b
JL
71992011-09-18 Juri Linkov <juri@jurta.org>
7200
7201 * info.el (Info-extract-menu-node-name): Check the second match
7202 for empty string (second test-case of bug#9528).
7203 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7204 intermediate nodes to the history (first test-case of bug#9528).
7205
72753f87
JL
72062011-09-18 Juri Linkov <juri@jurta.org>
7207
7208 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7209 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7210
c9384295
JL
72112011-09-18 Juri Linkov <juri@jurta.org>
7212
1154d12e
JB
7213 * info.el (Info-file-supports-index-cookies):
7214 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7215 outputs one more line for long file names (bug#4142).
c9384295 7216
d473dce8
CY
72172011-09-18 Chong Yidong <cyd@stupidchicken.com>
7218
7219 * newcomment.el (comment-normalize-vars): If prompting for
7220 comment-start, set comment-start-skip too (Bug#8424).
7221
2176854d
JB
72222011-09-18 Johan Bockgård <bojohan@gnu.org>
7223
7224 * icomplete.el: Fix previous fix of Bug#5849.
7225 (icomplete-mode): Don't set completion-show-inline-help.
7226 (icomplete-minibuffer-setup): Set completion-show-inline-help
7227 locally during icompletion.
7228
3aace4e4
CY
72292011-09-18 Chong Yidong <cyd@stupidchicken.com>
7230
c940224f
CY
7231 * woman.el (woman2-process-escapes): Don't delete unrecognized
7232 escapes (Bug#7843).
7233
3aace4e4
CY
7234 * files.el (inhibit-first-line-modes-regexps): Add image files.
7235 (hack-local-variables-prop-line): Return nil for malformed
7236 prop-lines (Bug#9044).
7237
710dec63
MA
72382011-09-18 Michael Albinus <michael.albinus@gmx.de>
7239
7240 * net/tramp.el (top): Don't require 'shell.
7241 (tramp-methods): Fix docstring.
7242 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7243 Return complete remote file name. Handle "smb" case.
7244 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7245 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7246
7247 * net/tramp-compat.el (top): Require 'shell.
7248
7249 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7250 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7251 `tramp-current-host'.
7252 (tramp-get-remote-tmpdir): Remove.
7253
7254 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7255 `tramp-tmpdir' entries.
7256 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7257 (tramp-smb-handle-file-attributes): Ignore errors.
7258 (tramp-smb-wait-for-output): Check also for process end.
7259
5d5ac8ec
LMI
72602011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7261
7262 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7263 when sending QUIT (bug#9312).
7264
8c0f49f0
CY
72652011-09-17 Chong Yidong <cyd@stupidchicken.com>
7266
7267 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7268 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7269 occur-mode-display-occurrence.
7270 (occur-edit-mode): Add usage message.
7271 (occur-cease-edit): New command.
7272 (occur-after-change-function): Use text properties to find the
7273 position of the prefix text.
7274 (occur-engine): Set stickiness of prefix text properties.
7275
8f1383f7
GM
72762011-09-17 Glenn Morris <rgm@gnu.org>
7277
7278 * progmodes/etags.el (complete-tag):
7279 Fix call to completion-in-region. (Bug#9526)
7280
744ba0e3
JL
72812011-09-17 Juri Linkov <juri@jurta.org>
7282
7283 * textmodes/ispell.el (ispell-word): Add to the error message
7284 the word, ispell program name and current dictionary (bug#9121).
7285 (ispell-tex-arg-end): Capitalize "error" in the error message.
7286
d9bbf400
AS
72872011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7288
7289 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7290 check. (Bug#4251)
7291
8da11505
JL
72922011-09-17 Juri Linkov <juri@jurta.org>
7293
7294 * window.el (window-safe-min-height, window-safe-min-width):
7295 Fix typos (followup to bug#9522).
7296
a91adc7e
SJ
72972011-09-17 Sven Joachim <svenjoac@gmx.de>
7298
7299 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7300
064f328a
EZ
73012011-09-16 Eli Zaretskii <eliz@gnu.org>
7302
7303 * simple.el (line-move): If goal-column is set, move by logical
7304 lines, not by display lines. (Bug#971)
7305 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7306 to reflect the above change.
7307
e69df516
SM
73082011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * image.el (imagemagick-register-types): Use regexp-opt.
7311
cbb0f9ab
CY
73122011-09-15 Chong Yidong <cyd@stupidchicken.com>
7313
7314 * window.el (display-buffer-base-action): Rename from
7315 display-buffer-default-action. Make default value empty.
7316 (display-buffer-overriding-action): Convert to defvar.
7317 (display-buffer-fallback-action): New var.
7318
25322144
CY
73192011-09-15 Chong Yidong <cyd@stupidchicken.com>
7320
7321 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7322 declaration.
7323 (package--add-to-archive-contents): If there is a duplicate entry
7324 with an older version, remove it.
7325 (package-menu-mark-delete, package-menu-mark-install)
7326 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7327 (package-menu-mark-obsolete-for-deletion):
7328 Use package-menu-get-status instead of a regexp search.
25322144
CY
7329 (package-menu-get-status): Use tabulated-list-entry.
7330 (package-menu-mark-upgrades): New command.
d770725a 7331 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7332 (package-menu-execute): Do installation before deletion.
7333 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7334 instead of checking major-mode.
7335 (package-menu--find-upgrades): New function.
7336
7520339c
LMI
73372011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7338
7339 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7340 passwords in the log buffer.
65a046c4
LMI
7341 (smtpmail-process-filter): Update the process marker so that the
7342 "broken by peer" status message is inserted in the right place.
7520339c 7343
d3c30954
SM
73442011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7345
3fe48822
SM
7346 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7347 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7348 bibtex-completion-at-point-function.
7349 (bibtex-completion-at-point-function): Use them.
7350
1b8b3954
SM
7351 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7352
d3c30954
SM
7353 * mpc.el (mpc-constraints-tag-lookup): New function.
7354 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7355 also to browser "album|playlist".
7356
72779976
JL
73572011-09-14 Juri Linkov <juri@jurta.org>
7358
7359 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7360 (isearch-edit-string): Use length of `isearch-string' when
7361 `isearch-fail-pos' returns nil.
7362 (isearch-message): Remove duplicate code and call
7363 `isearch-fail-pos' with arg `t'.
7364
a0bf2bcd
CY
73652011-09-14 Chong Yidong <cyd@stupidchicken.com>
7366
17bb0a2d
CY
7367 * replace.el (occur-mode-goto-occurrence): Don't force using other
7368 window (Bug#9499).
7369
a0bf2bcd
CY
7370 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7371
f678e0b6
MR
73722011-09-14 Martin Rudalics <rudalics@gmx.at>
7373
7374 * window.el (display-buffer-window): Remove.
7375 (display-buffer-record-window): Use help-setup window parameter
7376 instead of variable display-buffer-window.
7377 (display-buffer-function, special-display-buffer-names)
7378 (special-display-function): Mention help-setup parameter instead
7379 of display-buffer-window in doc-string.
d3c30954
SM
7380 * help.el (help-window-setup): New argument help-window.
7381 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7382 Reword some messages.
7383 (with-help-window): Pass window used for displaying the buffer
7384 to help-window-setup. Don't set display-buffer-window.
7385
8e39b2e8
GM
73862011-09-13 Glenn Morris <rgm@gnu.org>
7387
7388 * emacs-lisp/debug.el (debugger-make-xrefs):
7389 Preserve point. (Bug#9462)
7390
85e9c04b
CY
73912011-09-13 Chong Yidong <cyd@stupidchicken.com>
7392
7393 * window.el (window-deletable-p): Use next-frame.
7394
1b36ed6a
MR
73952011-09-13 Martin Rudalics <rudalics@gmx.at>
7396
7397 * window.el (window-auto-delete): Remove.
7398 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7399 dedication and previous buffers.
1b36ed6a
MR
7400 (switch-to-prev-buffer): Don't delete window.
7401 (delete-windows-on): Delete a window's frame if and only if the
7402 window is dedicated.
7403 (replace-buffer-in-windows): Delete buffer's window or frame if
7404 and only if window is dedicated.
7405 (quit-window): Handle quit-restore as before last change.
4d61f28d 7406 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7407
ef8ef9fb
CY
74082011-09-13 Chong Yidong <cyd@stupidchicken.com>
7409
7410 * window.el (window-deletable-p): Never delete the last frame on a
7411 given terminal.
7412
b2cba41e
GM
74132011-09-13 Glenn Morris <rgm@gnu.org>
7414
7415 * help.el (describe-key-briefly): Copy previous standard-output change.
7416
51553db6 74172011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7418
7419 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7420
b7556719
GM
74212011-09-13 Glenn Morris <rgm@gnu.org>
7422
7423 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7424 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7425
64b51947
CY
74262011-09-12 Chong Yidong <cyd@stupidchicken.com>
7427
7428 * dired-aux.el (dired-mark-read-string): Don't return default
7429 value on empty input (Bug#9361).
7430 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7431 Omit initial minibuffer contents.
7432 (dired-do-chmod): Signal an error on empty input.
7433 (dired-mark-read-string): Don't return default on empty input.
7434
7435 * files.el (file-modes-symbolic-to-number): Doc fix.
7436
393a301e
SM
74372011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * international/mule-cmds.el (ucs-completions): Remove.
7440 (read-char-by-name): Use complete-with-action instead; add metadata.
7441
fa5660f9
CY
74422011-09-11 Chong Yidong <cyd@stupidchicken.com>
7443
7444 * window.el (display-buffer--action-function-custom-type)
7445 (display-buffer--action-custom-type): New vars.
7446 (display-buffer-alist, display-buffer-default-action)
7447 (display-buffer-overriding-action): Add defcustom types.
7448
4a592f66
CY
7449 * frame.el (delete-other-frames): Doc fix (Bug#276).
7450
73d56dbd
LMI
74512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7452
7453 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7454
37ac18a3
CY
74552011-09-11 Chong Yidong <cyd@stupidchicken.com>
7456
7457 Change modes that used same-window-* vars to use switch-to-buffer.
7458
7459 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7460 Use switch-to-buffer.
7461
7462 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7463 (customize-browse, custom-buffer-create-other-window):
7464 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7465
7466 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7467 (Info-prev, Info-up, Info-speedbar-goto-node)
7468 (info-display-manual): Use switch-to-buffer.
7469 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7470
7471 * mail/sendmail.el (mail): Use switch-to-buffer.
7472 (mail-recover): Use switch-to-buffer-other-window.
7473
7474 * cmuscheme.el (run-scheme, switch-to-scheme):
7475 * ielm.el (ielm):
7476 * shell.el (shell):
7477 * net/rlogin.el (rlogin):
7478 * net/telnet.el (telnet, rsh):
7479 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7480
10195bd6
AS
74812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7482
7483 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7484
b322f63a
LMI
74852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7486
39d7fed6
LMI
7487 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7488 so don't mention it (bug#9301).
ba5a81f1 7489 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7490
ee0e9f11
LMI
7491 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7492 match `x', `w32' and `ns', like the manual says (bug#9029).
7493
0b1c89c1 7494 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7495 (process-kill-buffer-query-function): Mention the buffer name in
7496 the query.
0b1c89c1 7497
77549ea8
LMI
7498 * image-mode.el (image-next-line): The line parameter is mandatory
7499 (bug#9258).
7500
803ef892
LMI
7501 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7502 which can be useful (bug#9301).
7503
12980837
LMI
7504 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7505
91054f8f
LMI
7506 * subr.el (match-string): Mention that the current buffer should
7507 be the same as the search was done in (bug#9282).
7508
b322f63a
LMI
7509 * facemenu.el: Disable the remove-* commands if the mark isn't
7510 active (bug#9162).
7511
3199b96f
CY
75122011-09-10 Chong Yidong <cyd@stupidchicken.com>
7513
7514 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7515 of display-buffer.
7516 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7517
7518 * replace.el (occur-mode-goto-occurrence)
7519 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7520 and display-buffer.
7521
7522 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7523 display-buffer.
7524
7525 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7526 special-display and same-window variables.
7527 (mail-other-window): Use switch-to-buffer-other-window.
7528 (mail-other-frame): USe switch-to-buffer-other-frame.
7529
393a301e
SM
7530 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7531 Use display-buffer-other-frame.
3199b96f
CY
7532 (gdb-display-gdb-buffer): Use pop-to-buffer.
7533
7534 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7535
7536 * progmodes/python.el: Don't set same-window-buffer-names.
7537
7538 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7539
7540 * window.el (display-buffer-alist): Add *Python*.
7541
8319e0bf
CY
75422011-09-10 Chong Yidong <cyd@stupidchicken.com>
7543
7544 * window.el (display-buffer-alist): Add entry for buffers
7545 previously handled same-window-*.
7546 (display-buffer-alist, display-buffer-default-action)
7547 (display-buffer-overriding-action): Mark as risky.
7548 (display-buffer-alist): Document action function changes.
7549 (display-buffer--same-window-action)
7550 (display-buffer--other-frame-action): New variables.
7551 (switch-to-buffer, display-buffer-other-frame): Use them.
7552 (display-buffer): Rename reuse-frame entry to reusable-frames.
7553 (display-buffer-reuse-selected-window): Function deleted.
7554 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7555 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7556 (display-buffer-special): New function.
7557 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7558 display-buffer-reuse-or-pop-window. Split off special-display
7559 part into display-buffer-special.
7560 (display-buffer-use-some-window): Don't perform any special
7561 pop-up-frames handling.
7562 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7563 (display-buffer--maybe-same-window): Rename from
0d3ff375 7564 display-buffer-maybe-same-window.
8319e0bf 7565
919a69aa
CY
7566 * info.el: Don't set same-window-regexps.
7567 (info-setup): New function.
7568 (info-other-window, info): Call it.
7569
7570 * cus-edit.el: Don't set same-window-regexps.
7571 (customize-group): New argument.
7572 (customize-group-other-window): Use it.
7573 (customize-face, customize-face-other-window): Likewise.
7574 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7575
8319e0bf
CY
7576 * net/rlogin.el:
7577 * net/telnet.el:
7578 * progmodes/gud.el: Don't set same-window-regexps.
7579
7580 * cmuscheme.el:
7581 * ielm.el:
7582 * shell.el:
7583 * mail/sendmail.el:
7584 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7585
25173000
JL
75862011-09-10 Juri Linkov <juri@jurta.org>
7587
7588 * isearch.el (isearch-edit-string): Remove obsolete mention of
7589 `C-w' (`isearch-yank-word-or-char') from docstring.
7590 (isearch-query-replace): Fix typo in docstring (bug#9466).
7591
056e44ef
JL
75922011-09-10 Juri Linkov <juri@jurta.org>
7593
7594 * paren.el (show-paren-function): Don't show escaped parens.
7595 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7596
c3760c17
EZ
75972011-09-10 Eli Zaretskii <eliz@gnu.org>
7598
7599 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7600 (mm-default-file-encoding): Remove autoload forms, they are
7601 replaced with autoload cookies in mml.el and mm-encode.el.
7602 (mail-add-attachment): New command.
7603 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7604 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7605 the doc string.
7606 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7607
fece895e
RT
76082011-09-10 Reuben Thomas <rrt@sc3d.org>
7609
e69df516
SM
7610 * simple.el (count-words-region): Use buffer if there's no region
7611 (bug#9429).
fece895e 7612
5e68ce4a
JL
76132011-09-09 Juri Linkov <juri@jurta.org>
7614
7615 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7616 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7617 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7618
0a6b9622
AM
76192011-09-09 Alan Mackenzie <acm@muc.de>
7620
7621 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7622 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7623
14a29deb
EZ
76242011-09-09 Eli Zaretskii <eliz@gnu.org>
7625
7626 Fix for Savannah bug#9392.
7627 * simple.el (mail-encode-mml): New defvar.
7628
7629 * mail/rmail.el (mail-encode-mml): Add a defvar.
7630 (rmail-enable-mime-composing): Default to t.
7631 (rmail-forward): Use MIME method of forwarding only if both
7632 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7633 Set mail-encode-mml non-nil if the MIME method was used.
7634
7635 * mail/sendmail.el (mml-to-mime): Add autoload form.
7636 (mail-encode-mml): Add a defvar.
7637 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7638 to nil.
7639 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7640 message through mml-to-mime, and reset mail-encode-mml to nil.
7641
28c45130
GM
76422011-09-09 Glenn Morris <rgm@gnu.org>
7643
7644 * woman.el (woman-if-body): When processing an .el block,
7645 do not delete the next .el block as well. (Bug#9447)
69f4b618 7646 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7647
9b1c252e
MR
76482011-09-08 Martin Rudalics <rudalics@gmx.at>
7649
7650 * window.el (window-deletable-p): Make sure window is live before
7651 invoking window-prev-buffers.
7652
567457e3
LL
76532011-09-08 Leo Liu <sdl.web@gmail.com>
7654
7655 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7656
97f05794
JL
76572011-09-08 Juri Linkov <juri@jurta.org>
7658
7659 * progmodes/compile.el (compilation-environment): Make it
7660 a defcustom (bug#8340).
7661
8b0874b5
MR
76622011-09-08 Martin Rudalics <rudalics@gmx.at>
7663
7664 * window.el (frame-auto-delete): Rename to window-auto-delete.
7665 Make it control auto-deletion of windows and/or frames.
7666 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7667 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7668 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7669 Rewrite handling of case when window/frame can be deleted.
7670 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7671 argument t. (Bug#9456)
8b0874b5 7672
4feb6e73
CY
76732011-09-07 Chong Yidong <cyd@stupidchicken.com>
7674
7675 * help-mode.el (help-mode): Restore autoload.
7676
91ab9c13
JL
76772011-09-07 Juri Linkov <juri@jurta.org>
7678
7679 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7680 `compilation-environment'. Set buffer-local
7681 `compilation-environment' to `thisenv' later after (funcall mode).
7682 (Bug#8340)
7683
7684 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7685 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7686 instead of replacing its value. (Bug#8340)
7687
0527e251
JL
76882011-09-07 Juri Linkov <juri@jurta.org>
7689
7690 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7691 based on text properties put by `grep-filter' instead of matching
7692 escape sequences.
7693 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7694 to the value of `grep-error-screen-columns' (bug#9438).
7695
249f792c
JL
76962011-09-07 Juri Linkov <juri@jurta.org>
7697
7698 * simple.el (next-error-highlight, next-error-highlight-no-select):
7699 Doc fix (bug#9432).
7700
ff7271b9
OT
77012011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7702
7703 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7704 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7705
183fc730
LL
77062011-09-07 Leo Liu <sdl.web@gmail.com>
7707
7708 * net/rcirc.el (rcirc-mode): Conditionally initialize
7709 rcirc-input-ring.
7710
77694924
SM
77112011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7712
7713 * emacs-lisp/find-func.el (find-function-C-source): Only set
7714 find-function-C-source-directory after checking that we found a source
7715 file there (bug#9440).
7716
d809b8eb
AM
77172011-09-06 Alan Mackenzie <acm@muc.de>
7718
7719 * isearch.el (isearch-other-meta-char): Wherever a key list is
7720 unread, "unread" the prefix arg, too. This fixes bug #8901.
7721
453de99f
OG
77222011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7723
7724 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7725
90439906
JL
77262011-09-05 Juri Linkov <juri@jurta.org>
7727
7728 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7729
f62bd846
JL
77302011-09-05 Juri Linkov <juri@jurta.org>
7731
7732 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7733 keeping point where processing of grep matches begins, and
7734 continue to delete remaining escape sequences from the same point.
7735 (grep-filter): Make leading zero optional in "0?1;31m" because
7736 git-grep emits "\033[1;31m" escape sequences unlike expected
7737 "\033[01;31m" as GNU Grep does (bug#9408).
7738 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7739
045820ec
JL
77402011-09-05 Juri Linkov <juri@jurta.org>
7741
7742 * subr.el (y-or-n-p): Capitalize "yes".
7743
f5e29b9b
MA
77442011-09-04 Michael Albinus <michael.albinus@gmx.de>
7745
7746 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7747 `tramp-cache-unload-hook' where appropriate.
7748 (tramp-methods): Rename `tramp-remote-sh' to
7749 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7750 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7751
7752 * net/tramp-sh.el (top): Don't require 'shell.
7753 (tramp-methods): Add `tramp-remote-shell' and
7754 `tramp-remote-shell-args' entries.
7755 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7756 (tramp-sh-handle-shell-command): Remove.
7757 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7758 Use `tramp-remote-shell'.
7759
2784c434
CY
77602011-09-03 Chong Yidong <cyd@stupidchicken.com>
7761
393a301e 7762 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
7763 (sendmail-query-once): Save directly to send-mail-function.
7764 Update message-send-mail-function too.
7765
7766 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7767
464cdf56
CS
77682011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7769
7770 * progmodes/python.el (python-mode-map): Use correct function to
7771 start python interpreter from menu-bar (as reported by Geert
7772 Kloosterman).
7773 (inferior-python-mode-map): Fix typo.
393a301e 7774 (python-shell-map): Remove.
464cdf56 7775
d37e5c87
DD
77762011-09-03 Deniz Dogan <deniz@dogan.se>
7777
7778 * net/rcirc.el (rcirc-print): Simplify code for
7779 rcirc-scroll-show-maximum-output. There is no need to walk
7780 through all windows to find the right one.
7781
f3ada0ee
CS
77822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7783
7784 * help.el (help-return-method): Doc fix.
7785
1f3c99ca
MR
77862011-09-03 Martin Rudalics <rudalics@gmx.at>
7787
7788 * window.el (window-deletable-p): Don't return a non-nil value
7789 when there's a buffer that was shown in the window before.
7790 (Bug#9419)
393a301e
SM
7791 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7792 Set window's previous buffers to nil.
1f3c99ca 7793
a3cf097f
EZ
77942011-09-03 Eli Zaretskii <eliz@gnu.org>
7795
7796 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7797 newline before and after the tag line, so it doesn't interfere
7798 with determining the paragraph direction of bidirectional text.
7799
3d03de90
LL
78002011-09-03 Leo Liu <sdl.web@gmail.com>
7801
7802 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7803
c3313451
CY
78042011-09-02 Chong Yidong <cyd@stupidchicken.com>
7805
393a301e 7806 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
7807 (pop-to-buffer): Change interactive spec. Pass second argument
7808 directly to display-buffer.
7809 (display-buffer): Fix interactive spec. Use functionp to
7810 distinguish between a function and a list of functions.
7811
7812 * abbrev.el (edit-abbrevs):
7813 * arc-mode.el (archive-extract):
7814 * autoinsert.el (auto-insert):
7815 * bookmark.el (bookmark-bmenu-list):
7816 * files.el (find-file):
7817 * view.el (view-buffer):
7818 * progmodes/compile.el (compilation-goto-locus):
7819 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7820
89894cd8
CY
78212011-09-02 Chong Yidong <cyd@stupidchicken.com>
7822
7823 * window.el (display-buffer-alist): Doc fix.
7824 (display-buffer): Add docstring. Don't treat
7825 display-buffer-default specially.
7826 (display-buffer-reuse-selected-window)
7827 (display-buffer-same-window, display-buffer-maybe-same-window)
7828 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7829 (display-buffer-pop-up-window)
7830 (display-buffer-reuse-or-pop-window)
7831 (display-buffer-use-some-window): New functions.
7832 (display-buffer-default-action): Use them.
393a301e 7833 (display-buffer-default): Delete.
89894cd8
CY
7834 (pop-to-buffer-1): Fix choice of actions.
7835
ae0bc9fb
SM
78362011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * minibuffer.el (completion--insert-strings): Don't get confused by
7839 completion entries that end with an LF char.
7840
e9d90883
EZ
78412011-09-01 Eli Zaretskii <eliz@gnu.org>
7842
7843 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7844
437014c8
CY
78452011-09-01 Chong Yidong <cyd@stupidchicken.com>
7846
7847 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
7848 (display-buffer-same-window, display-buffer-other-window):
7849 New functions.
437014c8
CY
7850 (pop-to-buffer-1): New function. Use the above.
7851 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 7852 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
7853
7854 * view.el (view-buffer-other-window, view-buffer-other-frame):
7855 Just use pop-to-buffer.
7856
a5e063d5
TV
78572011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7858
7859 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7860
793d32bb
WH
78612011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7862
7863 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7864
d65e4c15
RS
78652011-08-31 Richard Stallman <rms@gnu.org>
7866
7867 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7868 of the separation of rmail-view-buffer from rmail-buffer.
7869 If you say no to "replace original", the decrypt is in the
7870 view buffer. If you say yes, the decrypt goes into the
7871 rmail buffer also.
7872
f818cd2a
MR
78732011-08-31 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (display-buffer-window): Rewrite doc-string.
7876 (display-buffer-record-window): New function.
7877 (display-buffer-macro-specifiers)
7878 (display-buffer-even-window-sizes, display-buffer-set-height)
7879 (display-buffer-set-width, display-buffer-in-window)
7880 (display-buffer-reuse-window, display-buffer-split-specifiers)
7881 (display-buffer-side-specifiers, display-buffer-split-window-1)
7882 (display-buffer-split-window, display-buffer-split-atom-window)
7883 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7884 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7885 (display-buffer-other-window-means-other-frame)
7886 (display-buffer-normalize-special)
7887 (display-buffer-normalize-default)
7888 (display-buffer-normalize-argument)
7889 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7890 (display-buffer-normalize-specifiers, display-buffer-frame)
7891 (display-buffer-same-window, display-buffer-same-frame)
7892 (display-buffer-other-window)
7893 (display-buffer-same-frame-other-window)
7894 (display-buffer-other-frame, pop-to-buffer-same-window)
7895 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7896 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7897 (switch-to-buffer-same-frame)
7898 (switch-to-buffer-other-window-same-frame)
7899 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7900 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7901 (display-buffer-alist-set): Remove.
7902 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
7903 (special-display-regexps, special-display-function):
7904 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
7905 parameter.
7906 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7907 (special-display-frame-alist, special-display-popup-frame)
7908 (same-window-buffer-names, same-window-regexps, same-window-p)
7909 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7910 (split-window-preferred-function, split-height-threshold)
7911 (split-width-threshold, window-splittable-p)
7912 (split-window-sensibly, window--try-to-split-window)
7913 (window--frame-usable-p, even-window-heights)
7914 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
7915 (window--display-buffer-2, display-buffer-other-frame):
7916 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
7917 (display-buffer-default, display-buffer-assq-regexp): New functions.
7918 (display-buffer-alist): Rewrite doc-string.
7919 (display-buffer-default-action)
7920 (display-buffer-overriding-action): New variables.
7921 (display-buffer, switch-to-buffer): Rewrite.
7922 (pop-to-buffer): Restore Emacs 23 behavior but use
7923 window-normalize-buffer-to-display.
7924 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7925 Restore Emacs 23 behavior but use
7926 window-normalize-buffer-to-switch-to.
7927 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
7928 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7929 Rewrite using Emacs 23 options.
f818cd2a 7930
5bc3b51d
MA
79312011-08-31 Michael Albinus <michael.albinus@gmx.de>
7932
7933 * net/tramp.el (tramp-root-regexp): Remove.
7934 (tramp-completion-file-name-regexp-unified)
7935 (tramp-completion-file-name-regexp-separate)
7936 (tramp-completion-file-name-regexp-url): Don't use leading volume
7937 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
7938 (tramp-drop-volume-letter): Simplify definition.
7939 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 7940
b1a4f8e1
SM
79412011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7944 (bug#9356).
7945
5664fa7b
RT
79462011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7947
b1a4f8e1 7948 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 7949
9a45d6c3
JL
79502011-08-29 Juri Linkov <juri@jurta.org>
7951
7952 * isearch.el (isearch-done): Don't display message "Mark saved"
7953 when arg `edit' is non-nil to prevent its flicker in the echo area.
7954
fb87e0fb
CY
79552011-08-28 Chong Yidong <cyd@stupidchicken.com>
7956
7957 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7958 obsolete packages for deletion.
7959
09ac1c2a
CS
79602011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7961
7962 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 7963 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
7964 view-mode from help-mode.
7965 (help-xref-override-view-map): Remove.
7966 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7967 view-mode is not used anymore.
7968
7a1ff57f
CY
79692011-08-28 Chong Yidong <cyd@stupidchicken.com>
7970
7971 * server.el (server-port): Doc fix.
7972
b9696605
CY
7973 * cus-theme.el (custom-theme-choose-mode): Inherit from
7974 special-mode (Bug#9124).
7975 (custom-theme-choose-mode-map): Add special-mode to parent.
7976
ef8cdf8c
AM
79772011-08-28 Alan Mackenzie <acm@muc.de>
7978
7979 * progmodes/cc-fonts.el
7980 (c-make-font-lock-BO-decl-search-function): New function.
7981 (c-basic-matchers-after - "Fontify the clauses after various
7982 keywords"): Extract the three keyword lists for the 3 erroneous
7983 constructs from the list of four, and use the new function above
7984 in place of an old one.
7985
27de4e20
DD
79862011-08-28 Deniz Dogan <deniz@dogan.se>
7987
7988 * net/rcirc.el (rcirc-insert-prev-input)
7989 (rcirc-insert-next-input): Remove unused argument.
7990
356a3681
SM
79912011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7994
3fc9b218
AM
79952011-08-27 Alan Mackenzie <acm@muc.de>
7996
7997 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7998 handle function pointer parameters properly.
7999
538a061c
MR
80002011-08-27 Martin Rudalics <rudalics@gmx.at>
8001
8002 * window.el (display-buffer-reuse-window): Fix case where
8003 selected window was reused with non-nil OTHER-WINDOW argument.
8004 (Bug#9381)
8005
35b1c40c
DD
80062011-08-27 Deniz Dogan <deniz@dogan.se>
8007
8008 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8009 oftc's NickServ messages.
8010
2f6a3e79
GM
80112011-08-27 Glenn Morris <rgm@gnu.org>
8012
8013 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8014
7254299e
CY
80152011-08-26 Chong Yidong <cyd@stupidchicken.com>
8016
8017 * emacs-lisp/package.el (package-install): Call package-initialize
8018 if called interactively.
8019
f8ccf167
LL
80202011-08-26 Leo Liu <sdl.web@gmail.com>
8021
8022 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8023
3e8cd5ce
JL
80242011-08-25 Juri Linkov <juri@jurta.org>
8025
8026 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8027 `search-whitespace-regexp' (bug#9364).
8028
93eb7113
JL
80292011-08-25 Juri Linkov <juri@jurta.org>
8030
8031 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8032 `regexp-search-ring' to their global values to protect from
8033 updating by `read-from-minibuffer' (bug#9185).
8034
f65d1611
JL
80352011-08-25 Juri Linkov <juri@jurta.org>
8036
8037 * textmodes/ispell.el (ispell-command-loop): Add newline
8038 at the end of the "Use option `i'..." line.
8039
f1cf7a31
JL
80402011-08-25 Juri Linkov <juri@jurta.org>
8041
8042 * battery.el (display-battery-mode): If `battery-status-function'
8043 or `battery-mode-line-format' is nil, display the message and set
8044 `display-battery-mode' to nil (bug#9363).
8045
0c95fcf7
EZ
80462011-08-25 Eli Zaretskii <eliz@gnu.org>
8047
8048 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8049 bidi-string-mark-left-to-right; they are unnecessary now.
8050
a2ebe600
DD
80512011-08-25 Deniz Dogan <deniz@dogan.se>
8052
8053 * net/quickurl.el: Documentation typo fixes.
8054
e4ed06f1
CY
80552011-08-25 Chong Yidong <cyd@stupidchicken.com>
8056
8057 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8058
e5f1c99e
GM
80592011-08-25 Glenn Morris <rgm@gnu.org>
8060
b2948976
GM
8061 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8062
e5f1c99e
GM
8063 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8064 (smtpmail-via-smtp): Handle nil response from smtp.
8065
f22f4808
JL
80662011-08-24 Juri Linkov <juri@jurta.org>
8067
8068 * proced.el (proced-marked): Inherit from `error' instead of
8069 `font-lock-warning-face'.
8070
8071 * ibuffer.el (ibuffer-marked-face): Change default face from
8072 `font-lock-warning-face' to `warning'.
8073 (ibuffer-deletion-face): Change default face from
8074 `font-lock-type-face' to `error'.
8075
8076 * battery.el (battery-update): Use the face `error' instead of
8077 `font-lock-warning-face' (bug#6117).
8078
6a93965e
JL
80792011-08-24 Juri Linkov <juri@jurta.org>
8080
8081 * faces.el (success): Change face color from "Green3" to
8082 "ForestGreen" on light background (bug#9353).
8083
1ed43b09
CY
80842011-08-24 Chong Yidong <cyd@stupidchicken.com>
8085
5664fa7b
RT
8086 * window.el (quit-window): Rename from quit-restore-window.
8087 Use same arglist as old quit-window.
1ed43b09
CY
8088 (frame-auto-delete): Doc fix.
8089
8090 * view.el (view-mode-exit): Use quit-window.
8091
11dcdbb2
JL
80922011-08-24 Juri Linkov <juri@jurta.org>
8093
8094 * isearch.el (isearch-ring-adjust1): Start visiting previous
8095 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8096 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8097 for empty search string (when the last search string is reused
8098 automatically) to adjust the isearch ring to the last element and
8099 prepare the correct index for further M-p commands (bug#9185).
8100
de62b4df
KH
81012011-08-24 Kenichi Handa <handa@m17n.org>
8102
8103 * international/ucs-normalize.el: If decomposition property of
8104 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8105 nil.
8106 (nfd, nfkd): Likewise.
8107
963b492b
SM
81082011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8111 from process filters aren't reliably transmitted to the surrounding
8112 accept-process-output.
8113 (mpc-proc-check): New function.
8114 (mpc-proc-sync): Use it (bug#8293)
8115
93b6b5e1
SM
81162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8119 Add compatibility functions (bug#9313).
8120
bca633fb
EZ
81212011-08-23 Eli Zaretskii <eliz@gnu.org>
8122
b177498a
EZ
8123 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8124
6df6ae42 8125 * international/uni-bidi.el: Regenerate.
bca633fb 8126
0902a04e
KH
81272011-08-23 Kenichi Handa <handa@m17n.org>
8128
8129 * international/charprop.el:
8130 * international/uni-bidi.el:
8131 * international/uni-category.el:
8132 * international/uni-combining.el:
8133 * international/uni-comment.el:
8134 * international/uni-decimal.el:
8135 * international/uni-decomposition.el:
8136 * international/uni-digit.el:
8137 * international/uni-lowercase.el:
8138 * international/uni-mirrored.el:
8139 * international/uni-name.el:
8140 * international/uni-numeric.el:
8141 * international/uni-old-name.el:
8142 * international/uni-titlecase.el:
8143 * international/uni-uppercase.el: Regenerate.
8144
3bbf23bc
MR
81452011-08-23 Martin Rudalics <rudalics@gmx.at>
8146
8147 * help.el (help-window-setup): Fix message displayed when other
8148 window is reused. (Bug#9341)
8149
b3fd59bd
SM
81502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8151
1802e444
SM
8152 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8153 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8154
b3fd59bd
SM
8155 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8156 Mark obsolete.
8157 * shell.el (shell-parse-pcomplete-arguments): New function.
8158 (shell-completion-vars): Use it instead (bug#9160).
8159
4eb61348
SM
81602011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8161
867cab74
SM
8162 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8163 strings and comments (bug#9333).
8164
4eb61348
SM
8165 * emacs-lisp/debug.el (debug-arglist): New function.
8166 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8167 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8168
262a1439
JL
81692011-08-22 Juri Linkov <juri@jurta.org>
8170
56ee679c
JL
8171 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8172 Revert regexp that highlights output switches to its old
8173 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8174
262a1439
JL
8175 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8176 to check for empty output (bug#9226).
8177
f13f86fb
CY
81782011-08-22 Chong Yidong <cyd@stupidchicken.com>
8179
8180 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8181 symbol-constituent as the default, as that stops font-lock from
8182 working properly (Bug#8843).
8183
c65c9622
LMI
81842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8185
8186 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8187 `coding-system-for-*' around the process open call to avoid
8188 auth-source side effects.
e7f2c178 8189 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8190 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8191 probe hangs.
c65c9622 8192
23a8a5ab
CY
81932011-08-21 Chong Yidong <cyd@stupidchicken.com>
8194
ff98b2dd
CY
8195 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8196
23a8a5ab
CY
8197 * emacs-lisp/find-func.el (find-function-noselect): New arg
8198 lisp-only.
8199
8200 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8201 signal an error for built-in functions (Bug#6664).
8202
f5e3c598
LMI
82032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8204
8205 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8206 (smtpmail-try-auth-methods): Use it.
8207
a3f2468a
CY
82082011-08-21 Chong Yidong <cyd@stupidchicken.com>
8209
2c34e8da
CY
8210 * font-lock.el (font-lock-fontify-region)
8211 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8212 (font-lock-default-unfontify-buffer)
8213 (font-lock-default-fontify-region)
8214 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8215
b3fd59bd
SM
8216 * progmodes/compile.el (compilation-error-properties):
8217 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8218 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8219 `ant' regexp.
ee31aabc 8220
a3f2468a
CY
8221 * net/browse-url.el (browse-url-firefox): Don't call
8222 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8223
8e999f70
GM
82242011-08-20 Glenn Morris <rgm@gnu.org>
8225
c21a496a
GM
8226 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8227
59ee0542
GM
8228 * tutorial.el (tutorial--default-keys): Update some default bindings.
8229
8e999f70
GM
8230 * files.el (hack-local-variables): Fully ignore case for "mode:".
8231
e3715033
AM
82322011-08-20 Alan Mackenzie <acm@muc.de>
8233
8234 Resolve invalid use of a regexp in regexp-opt.
8235
4d61f28d
JB
8236 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8237 detection for a java annotation.
e3715033 8238
4d61f28d 8239 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8240 detection for a java annotation.
8241
4d61f28d
JB
8242 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8243 handling for java.
e3715033
AM
8244 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8245
04ed2e9c
CY
82462011-08-20 Chong Yidong <cyd@stupidchicken.com>
8247
8248 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8249 (Bug#9274).
8250
826cee64
AM
82512011-08-20 Alan Mackenzie <acm@muc.de>
8252
58179cce 8253 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8254 such a construct. Mainly for when jit-lock etc. starts a chunk
8255 here.
8256
58179cce 8257 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8258 variable.
58179cce 8259 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8260 c-make-font-lock-search-function.
8261 (c-make-font-lock-search-function): Use the above function.
8262 (c-make-font-lock-context-search-function): New function.
8263 (c-cpp-matchers): Enhance the preprocessor expression case with
8264 the above function
8265 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8266 which takes an expression.
8267
8268 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8269
13009bd8
MR
82702011-08-20 Martin Rudalics <rudalics@gmx.at>
8271
8272 * window.el (display-buffer-reuse-window)
8273 (display-buffer-pop-up-window): Don't reuse or split a side
8274 window.
8275
9234ff7f
GM
82762011-08-19 Glenn Morris <rgm@gnu.org>
8277
8278 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8279 Downcase "Mode:". (Bug#9331)
9234ff7f 8280
f635daa1
CY
82812011-08-18 Chong Yidong <cyd@stupidchicken.com>
8282
8283 * international/characters.el: Add L and R categories.
8284
8285 * subr.el (bidi-string-mark-left-to-right): Rename from
8286 string-mark-left-to-right. Use category search.
8287
8288 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8289
bc987f8b
JL
82902011-08-18 Juri Linkov <juri@jurta.org>
8291
8292 * faces.el (error, warning, success): New faces with definitions
8293 copied from old default values of `font-lock-warning-face',
8294 `compilation-warning', `compilation-info' (bug#6117).
8295
8296 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8297
8298 * progmodes/compile.el (compilation-error): Inherit from `error'.
8299 (compilation-warning): Inherit from `warning'.
8300 (compilation-info): Inherit from `success'.
8301
8302 * dired.el (dired-marked): Inherit from `warning'.
8303 (dired-flagged): Inherit from `error'.
8304
57173b96
LMI
83052011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306
3e79eb87
LMI
8307 * mail/smtpmail.el (auth-source): Require to avoid problems with
8308 binding variables (bug#9298). Also clean up some unused
8309 autoloads.
8310
b3fd59bd
SM
8311 * net/network-stream.el (network-stream-open-starttls):
8312 Support using starttls.el without using gnutls-cli.
57173b96 8313
02b404de
JL
83142011-08-17 Juri Linkov <juri@jurta.org>
8315
8316 * progmodes/grep.el (rgrep): Handle the case when
8317 `grep-find-command' is a cons cell (bug#9278).
8318
8c9177f2
MR
83192011-08-17 Martin Rudalics <rudalics@gmx.at>
8320
8321 * window.el (display-buffer-pop-up-frame): Run frame creation
8322 function with BUFFER current (as special-display-popup-frame
8323 does). Reported by Drew Adams.
8324
3644a0ab
DU
83252011-08-17 Daiki Ueno <ueno@unixuser.org>
8326
8327 * epa-mail.el: Simplify GnuPG group expansion using
8328 epg-expand-group.
8329 (epa-mail-group-alist, epa-mail-group-modtime)
8330 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8331 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8332 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8333 Remove.
8334
5e617bc2 83352011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8336
8337 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8338
9c4aeabf
AM
83392011-08-16 Alan Mackenzie <acm@muc.de>
8340
8341 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8342 Correct, to avoid the inside of macros.
8343
3a99bf64
RS
83442011-08-16 Richard Stallman <rms@gnu.org>
8345
04963aa8
RS
8346 * epa-mail.el: Handle GnuPG group definitions.
8347 (epa-mail-group-alist, epa-mail-group-modtime)
8348 (epa-mail-gnupg-conf-file): New variables.
8349 (epa-mail-parse-groups, epa-mail-sync-groups)
8350 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8351 (epa-mail-expand-recipients): New functions.
8352 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8353
177549d0
RS
8354 * mail/rmail.el (rmail-epa-decrypt): New command.
8355
fe38beef
RS
8356 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8357 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8358 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8359 (epa-decrypt-armor-in-region): Make error message clearer.
8360
934eacb9
SM
83612011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8364 and "a2b" to "ab" for `prefix'.
8365
d024fb4e
CY
83662011-08-14 Chong Yidong <cyd@stupidchicken.com>
8367
8368 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8369 filter groups.
de148fee
CY
8370 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8371 Fourquet (Bug#8804).
d024fb4e 8372
62f1ca49
JB
83732011-08-12 Juanma Barranquero <lekktu@gmail.com>
8374
8375 * startup.el (argi): Declare as global variable (bug#9275).
8376
9ccaaa4b
CY
83772011-08-12 Chong Yidong <cyd@stupidchicken.com>
8378
8379 * subr.el (string-mark-left-to-right): Search the entire string
8380 for RTL script, not just the terminating character. Doc fix.
8381
a3dae87a
SM
83822011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8383
6cd18349
SM
8384 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8385 New function.
8386 (js--regexp-literal, js-syntax-propertize-function): Remove.
8387 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8388 (js-mode-map): Don't rebind electric keys.
8389 (js-insert-and-indent): Remove.
8390 (js-mode): Setup electric-layout and electric-indent instead.
8391
a3dae87a
SM
8392 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8393
9d5cb631
DU
83942011-08-12 Daiki Ueno <ueno@unixuser.org>
8395
8396 * epa.el (epa-progress-callback-function): Fix the logic of
8397 displaying progress.
8398 * epa-file.el (epa-file-insert-file-contents): Make progress
8399 display more user-friendly.
8400 (epa-file-write-region): Ditto.
8401
3e26a4a2
CY
84022011-08-10 Chong Yidong <cyd@stupidchicken.com>
8403
8404 * subr.el (string-mark-left-to-right): New function.
8405
8406 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8407 Use string-mark-left-to-right.
8408 (list-buffers-noselect): Caller changed.
8409
a3dae87a
SM
8410 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8411 Use string-mark-left-to-right.
3e26a4a2
CY
8412 (tabulated-list-print): Recenter after moving point.
8413
ac8cf6e6
JL
84142011-08-10 Juri Linkov <juri@jurta.org>
8415
8416 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8417 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8418 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8419
8d96c9a4
CY
84202011-08-09 Chong Yidong <cyd@stupidchicken.com>
8421
8422 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8423 (Bug#7554).
8424
7be1c708 84252011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8426
8427 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8428 character. (Bug#6594)
8429
37e11a63
CY
84302011-08-08 Chong Yidong <cyd@stupidchicken.com>
8431
839dde57
CY
8432 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8433 (image-dired--with-db-file): New macro.
8434 (image-dired-write-tags, image-dired-remove-tag)
8435 (image-dired-create-gallery-lists, image-dired-write-comments)
8436 (image-dired-get-comment, image-dired-mark-tagged-files)
8437 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8438 (image-dired-gallery-generate): Use insert-file-contents.
8439
37e11a63
CY
8440 * time.el (display-time-world-list, display-time-world-display):
8441 * time-stamp.el (time-stamp-string):
8442 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8443 set-time-zone-rule (Bug#7337).
8444
0b4946c4
DU
84452011-08-08 Daiki Ueno <ueno@unixuser.org>
8446
8447 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8448 (epg-error-to-string, epg-errors-to-string): New function.
8449 (epg-wait-for-completion): Reverse errors list.
8450 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8451 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8452 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8453 (epg-sign-keys, epg-generate-key-from-file)
8454 (epg-generate-key-from-string): Format errors by using
8455 epg-errors-to-string (bug#9255).
8456 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8457
75bfc667
JL
84582011-08-07 Juri Linkov <juri@jurta.org>
8459
8460 * faces.el (list-faces-display): Remove extra angle bracket
8461 from `help-mode-map'.
8462
8463 * info.el (Info-history-toc-nodes): Doc fix.
8464
8465 * longlines.el (longlines-mode): Doc fix.
8466
673e08bb
SM
84672011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8468
4640dd88
SM
8469 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8470 of statements and in a few more cases (bug#9183).
8471
673e08bb
SM
8472 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8473 New functions.
8474 (cl-transform-lambda): Use them (bug#9239).
8475
89b3f019
MR
84762011-08-05 Martin Rudalics <rudalics@gmx.at>
8477
8478 * window.el (display-buffer-same-window)
8479 (display-buffer-same-frame, display-buffer-other-window)
8480 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8481 (pop-to-buffer-other-window)
8482 (pop-to-buffer-same-frame-other-window)
8483 (pop-to-buffer-other-frame): Make them defuns.
8484 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8485
640c8776
SM
84862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * subr.el (make-composed-keymap): Move from C. Change calling
8489 convention, and improve docstring to bring attention to a subtle point.
8490 * minibuffer.el (completing-read-default): Adjust accordingly.
8491
63648a95
MA
84922011-08-03 Michael Albinus <michael.albinus@gmx.de>
8493
8494 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8495 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8496
8497 * net/trampver.el: Update release number.
8498
b796c9b7
SM
84992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8502 "in" (bug#9190).
8503
2239d7d5
LMI
85042011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8505
e07dd7c3
LMI
8506 * mail/sendmail.el (sendmail-query-once): Restore the current
8507 buffer after querying (bug#9074).
8508
0e6a2bd7
LMI
8509 * dired.el (dired-flagged): Use different faces for marked and
8510 flagged files (bug#6117).
8511
ce887515
LMI
8512 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8513 (bug#4433).
8514
92f2affc
LMI
8515 * ido.el (ido-mode): Switch off the message if called
8516 non-interactively.
8517
57d5aff0
LMI
8518 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8519 before 587, since it appears that that's more likely to work for
8520 more people.
8521
98cd6c18 8522 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8523 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8524 exist.
8525
b96dec83
LMI
8526 * info.el: Remove the `Info-beginning-of-buffer' function
8527 (bug#8325).
8528
b796c9b7
SM
8529 * net/network-stream.el (network-stream-open-starttls):
8530 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8531
d90e2ea0
MR
85322011-08-01 Martin Rudalics <rudalics@gmx.at>
8533
8534 * window.el (display-buffer-in-window): Don't set dedicated status
8535 of window here (Bug#9215).
8536 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8537 (display-buffer-pop-up-side-window)
b796c9b7 8538 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8539
cca09170
SM
85402011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8543 before binding generated-autoload-file.
8544
027b979c
DD
85452011-08-01 Deniz Dogan <deniz@dogan.se>
8546
8547 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8548
3c7ee4f3
MA
85492011-07-30 Michael Albinus <michael.albinus@gmx.de>
8550
8551 Sync with Tramp 2.2.2.
8552
8553 * net/trampver.el: Update release number.
8554
2cc8e51a
JL
85552011-07-30 Juri Linkov <juri@jurta.org>
8556
8557 * dired-aux.el (dired-touch-initial): Remove function.
8558 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8559 current time, and `default' to the last modification time of the
8560 current marked file (bug#6887).
8561
a514d856
JM
85622011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8563
8564 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8565 numeric argument to read-number (bug#9163).
a514d856 8566
8a7eddd7
MA
85672011-07-27 Michael Albinus <michael.albinus@gmx.de>
8568
8569 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8570 connection process, it could be nil.
8571
1ddd96f5
LL
85722011-07-27 Leo Liu <sdl.web@gmail.com>
8573
8574 Simplify url handling in rcirc-mode.
8575
8576 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8577 (rcirc-browse-url-at-mouse): Remove.
8578 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8579
b248a85d
AM
85802011-07-26 Alan Mackenzie <acm@muc.de>
8581
8582 Fontify bitfield declarations properly.
8583
8584 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8585 (c-symbol-chars): Now exported as a lang variable.
8586 (c-not-primitive-type-keywords): New lang variable.
8587
8588 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8589 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8590 parsed as a bitfield declaration.
b248a85d 8591
b796c9b7
SM
8592 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8593 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8594 (c-punctuation-in): New function.
8595 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8596 declarations properly.
8597
68575ab0
UJ
85982011-07-26 Ulf Jasper <ulf.jasper@web.de>
8599
8600 * calendar/icalendar.el (icalendar--all-events): Take care of
8601 multiple vcalendars in a single file.
b796c9b7 8602 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8603
0f0a88b9
DD
86042011-07-25 Deniz Dogan <deniz@dogan.se>
8605
8606 * image.el (insert-image): Clarifying docstring.
8607
0b3f36df
MA
86082011-07-24 Michael Albinus <michael.albinus@gmx.de>
8609
8610 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8611 `tramp-send-command-and-check' if there is no error.
8612 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8613
a9901f61
AM
86142011-07-22 Alan Mackenzie <acm@muc.de>
8615
8616 Prevent cc-langs.elc being loaded at run time.
8617
8618 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8619 cc-langs.
8620
4d61f28d 8621 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8622 "(require 'cc-langs)". Quote a form so it will evaluate at
8623 (cc-mode's) compilation time.
8624
11d074b2
MA
86252011-07-22 Michael Albinus <michael.albinus@gmx.de>
8626
8627 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8628 loading. (Bug#9114)
8629
938b94c8
MR
86302011-07-21 Martin Rudalics <rudalics@gmx.at>
8631
8632 * window.el (display-buffer-pop-up-window)
8633 (display-buffer-pop-up-side-window)
8634 (display-buffer-in-side-window): Call display-buffer-set-height
8635 and display-buffer-set-width after setting the new window's
b796c9b7 8636 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8637
bfa4f190
SS
86382011-07-20 Sam Steingold <sds@gnu.org>
8639
8640 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8641 (etags-tags-included-tables): Call `convert-standard-filename' on
8642 the file names contained in TAGS so that windows Emacs can handle
8643 TAGS files created by cygwin ctags.
8644
8ca42262
LMI
86452011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8646
8647 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8648 which apparently didn't work.
8649
5db2afd2 86502011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8651
5db2afd2
RW
8652 * proced.el (proced-send-signal): For *Marked Processes* buffer
8653 put point at beginning of buffer.
8654
92e15d10
SB
86552011-07-19 Stephen Berman <stephen.berman@gmx.net>
8656
8657 * proced.el (proced-format): Make header lines align with the text
8658 (bug#1779).
8659
1bfd59e5
LMI
86602011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8661
8662 * view.el (view-buffer): Allow running in `special' modes if we're
8663 visiting a file (bug#8615).
8664
f5aae37c
MR
86652011-07-19 Martin Rudalics <rudalics@gmx.at>
8666
8667 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8668 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8669 New functions.
f5aae37c
MR
8670 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8671 more accurately.
8672
bf2c1571
AM
86732011-07-18 Alan Mackenzie <acm@muc.de>
8674
8675 Fontify declarators properly when, e.g., a jit-lock chunk begins
8676 inside a declaration.
8677
8678 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8679
b796c9b7
SM
8680 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8681 New function.
bf2c1571
AM
8682 (c-complex-decl-matchers): Insert reference to
8683 c-font-lock-enclosing-decls.
8684
8685 * progmodes/cc-engine.el (c-backward-single-comment):
8686 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8687 to nil around calls to (forward-comment -1).
8688
4e190b80
LMI
86892011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8690
12dc863d
LMI
8691 * image.el (put-image): Doc typo fix.
8692
a762e966
LMI
8693 * progmodes/etags.el (tags-search): Doc typo fix.
8694
4e190b80
LMI
8695 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8696 password if we get errors 550 to 554.
8697
f019fb21
LMI
86982011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8699
b796c9b7 8700 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8701
81746738
LMI
8702 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8703 indentation character (bug#6380).
8704
3ee3a1b5
LMI
8705 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8706
c82f64de
LMI
8707 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8708 to clarify what the problem is (bug#4291).
8709
f019fb21
LMI
8710 * simple.el (current-kill): Clarify what
8711 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8712 (auto-fill-mode): Document `auto-fill-function' in relation to
8713 `auto-fill-mode' (bug#2470).
f019fb21 8714
0794775d
LM
87152011-07-16 Lawrence Mitchell <wence@gmx.li>
8716
8717 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8718 method if slot is read-only (bug#9035).
8719
be39b8cc
MR
87202011-07-16 Martin Rudalics <rudalics@gmx.at>
8721
b796c9b7 8722 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8723 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8724 selected before, see discussion of (Bug#8615), (Bug#6954).
8725 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8726
6ccf7859
GM
87272011-07-15 Glenn Morris <rgm@gnu.org>
8728
8729 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8730 Respect help-form.
6ccf7859 8731
87e86684
LM
87322011-07-09 Lawrence Mitchell <wence@gmx.li>
8733
8734 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8735 (gnutls-negotiate): Use it.
8736
d6066239
LMI
87372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8738
b796c9b7
SM
8739 * net/gnutls.el (gnutls-negotiate):
8740 Upcase `gnutls-algorithm-priority'.
d6066239 8741
bd23ebc0
GM
87422011-07-15 Glenn Morris <rgm@gnu.org>
8743
c65bca65
GM
8744 * jka-compr.el (jka-compr-verbose): Move from here...
8745 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8746 Add missing :version tag.
8747 * info.el: No need to require jka-compr when compiling.
bd23ebc0 8748
478615cc
LMI
87492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8750
7b41decb
LMI
8751 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8752 (gnutls-negotiate): Use it.
8753
dbc44fcd
LMI
8754 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8755
06789f97
LMI
8756 * info.el (Info-beginning-of-buffer): New command.
8757 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8758 announcing `b' as the key (bug#8325).
ab896c37 8759 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 8760
c39da690
LMI
8761 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8762
3aa5f34b
LMI
8763 * international/mule-cmds.el
8764 (describe-specified-language-support): Make the error message
8765 clearer (bug#8905).
8766
4bf0979f
LMI
8767 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8768
478615cc
LMI
8769 * isearch.el (isearch-barrier): Add a doc string, since it's
8770 mentioned in a function doc string (bug#8678).
8771
75c68aa1
MR
87722011-07-15 Martin Rudalics <rudalics@gmx.at>
8773
8774 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8775 buffer argument (Bug#9083) and self-identifying label argument.
8776
a7c33da2
GM
87772011-07-15 Glenn Morris <rgm@gnu.org>
8778
8779 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8780
2f5c6024
LMI
87812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782
8783 * man.el (Man-fontify-manpage): Fix message when formatting the
8784 man page (bug#7929).
8785
0bb23927 87862011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
8787
8788 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8789 argument LRM; if non-nil, append an invisible LRM character to the
8790 buffer name.
8791 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8792 last argument non-nil, when formatting buffer names.
0bb23927
EZ
8793 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8794 paragraph direction.
cce4b0a7 8795
621ef9ab
LMI
87962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8797
d1583c48
LMI
8798 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8799 the man page name (bug#7929).
8800
6a57fb5f
LMI
8801 * image.el (put-image): Mention the `put-image' overlay property
8802 (bug#7834).
8803
d7956b14
LMI
8804 * scroll-bar.el (set-scroll-bar-mode): Mention that
8805 `scroll-bar-mode' lists the values (bug#7772).
8806
5b2d4a66
LMI
8807 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8808 command (bug#7729).
8809
7509a874
LMI
8810 * rect.el (apply-on-rectangle): Return the point after the last
8811 operation.
8812 (string-rectangle): Go to the point after the last operation
8813 (bug#7522).
8814
4fe74b19
LMI
8815 * printing.el (pr-toggle-region): Clarify the documentation
8816 slightly (bug#7493).
8817
b796c9b7
SM
8818 * time.el (display-time-update):
8819 Allow `display-time-mail-function' to return nil (bug#7158).
8820 Fix suggested by Detlev Zundel.
ab283561 8821
fc233c9d
LMI
8822 * vc/diff.el (diff): Clarify the order the file names are read
8823 (bug#7111).
8824
43f5740b
LMI
8825 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8826 the doc string (bug#7015).
8827
f2182a76
LMI
8828 * font-lock.el (font-lock-maximum-decoration): Mention what
8829 numeric levels mean (bug#6935).
8830
621ef9ab
LMI
8831 * startup.el (initial-buffer-choice): Don't mention the `none'
8832 selection, which is against policy.
8833
adc47434
MR
88342011-07-14 Martin Rudalics <rudalics@gmx.at>
8835
b796c9b7
SM
8836 * window.el (display-buffer-normalize-special):
8837 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 8838
7e5bfb8f
EZ
88392011-07-14 Eli Zaretskii <eliz@gnu.org>
8840
8841 * subr.el (version<, version<=, version=): Mention "-CVS" and
8842 "-12345" alpha version numbers.
8843
27fa387a
CY
88442011-07-14 Chong Yidong <cyd@stupidchicken.com>
8845
8846 * bindings.el: Add advertised binding for set-mark-command
8847 (Bug#5772).
8848
8bdfa064
CY
88492011-07-14 Chong Yidong <cyd@stupidchicken.com>
8850
8851 * bindings.el (mode-line-other-buffer):
8852 * bookmark.el (bookmark-bmenu-2-window):
8853 * bs.el (bs-cycle-next, bs-cycle-previous):
8854 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8855 switch-to-buffer.
8856
8857 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 8858 Delete.
8bdfa064 8859
5eba16a3
JB
88602011-07-14 Juanma Barranquero <lekktu@gmail.com>
8861
8862 * follow.el (follow-debug-message, follow-redisplay):
8863 * jka-cmpr-hook.el (with-auto-compression-mode):
8864 Fix typos in docstrings.
8865
15853710
LMI
88662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8867
a28e4607
LMI
8868 * subr.el (with-silent-modifications): Clarify somewhat what the
8869 macro inhibits (bug#6525).
8870
15853710
LMI
8871 * simple.el (eval-expression): Note what it does if called
8872 interactively (bug#6495).
8873
bee0fcef
CY
88742011-07-13 Chong Yidong <cyd@stupidchicken.com>
8875
b796c9b7
SM
8876 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8877 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
8878
8879 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8880 Remove switch-to-buffer.
8881
58274504
LMI
88822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8883
bd2fcc8d
LMI
8884 * files.el (make-directory): Clarify that an error will be raised
8885 if there's an error (bug#6397).
8886
0f04b32c
LMI
8887 * startup.el (initial-buffer-choice): Add `none' as a choice
8888 (bug#6234).
8889
465c5fc8
LMI
8890 * subr.el (add-hook): Clarify section about buffer-local hooks
8891 (bug#6218).
8892
58274504
LMI
8893 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8894
bead9a43
JB
88952011-07-13 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * tabify.el (untabify): Preserve the current column so that point
8898 doesn't move (bug#6032).
8899
3af98a7b
LMI
89002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8901
b796c9b7
SM
8902 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8903 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 8904
6240145a
GM
89052011-07-13 Glenn Morris <rgm@gnu.org>
8906
8907 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8908 (dired-insert-directory): Give a message the first time
8909 if ls is found not to support --dired.
8910
1d8c2ccc
LMI
89112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8912
8913 * simple.el (toggle-truncate-lines): Clarify what is toggled
8914 (bug#5580). Text by Drew Adams.
8915
5fc4038e
CY
89162011-07-13 Chong Yidong <cyd@stupidchicken.com>
8917
8918 * simple.el (blink-matching-open): Make the error message from the
8919 last change less verbose.
8920
bf6012e5
DN
89212011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8922
8923 * font-lock.el (font-lock-comment-face): Use the high contrast
8924 "yellow" color for font-lock-comment-face on low color terminals
8925 using a dark background color (bug#4221).
8926
343c3b5a
LMI
89272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8928
7e9505c5
LMI
8929 * dired.el (dired-insert-set-properties): Make the doc string
8930 reflect what it does now (bug#5325).
8931
c26fdcf5
LMI
8932 * simple.el (blink-matching-open): Say that we were unable to find
8933 the match within the limit, if we're limited (bug#5122).
8934
bb388cc5
LMI
8935 * international/mule-cmds.el (prefer-coding-system): Add an
8936 example (bug#4869).
8937
343c3b5a
LMI
8938 * progmodes/etags.el (tags-search): Document `file-list-form'
8939 (bug#4731).
8940
2a517d45
LM
89412011-07-13 Lawrence Mitchell <wence@gmx.li>
8942
8943 * net/browse-url.el (browse-url-default-browser)
8944 (browse-url-browser-function): Make the default browser choice a
8945 bit more logical (bug#4300). Also clean up the doc string.
8946
b6c78ef2
JB
89472011-07-13 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8950 binary endings (bug#4440).
8951
1c4dd947
LMI
89522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8953
a2014063
LMI
8954 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8955 which can be pretty annoying (bug#8971).
8956
9c9c2d88
LMI
8957 * jka-compr.el (jka-compr-verbose): New variable, and use
8958 throughout (bug#8971).
8959
1c4dd947
LMI
8960 * info.el (Info-find-file): Fall back on the installation
8961 directory if we can't find the info node anywhere else.
8962
a1c9f41b
SO
89632011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8964
8965 * vc/vc.el (vc-revert-file):
8966 Don't set file time-stamp in the past. (Bug#5181)
8967
536f3d36
LMI
89682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8969
7152b011
LMI
8970 * files.el (after-find-file): Give a better error message when
8971 trying to find a symlink that points to a file that doesn't exist
8972 (bug#4398).
8973
536f3d36
LMI
8974 * progmodes/cc-vars.el: Remove (probably) misleading comment
8975 (bug#4396).
8976
460c0fba
JB
89772011-07-12 Johan Bockgård <bojohan@gnu.org>
8978
8979 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8980
7a6bda45
CY
89812011-07-12 Chong Yidong <cyd@stupidchicken.com>
8982
8983 * mouse-sel.el: Hack restoring functionality, while keeping
8984 compatibility with 2010-07-03 changes to mouse selection.
8985 (mouse-sel-primary-overlay): New var.
8986 (mouse-sel-selection-alist): Use it.
8987 (mouse-sel-mode): Doc fix; remove points that are default features
8988 of mouse.el.
8989
c79598ef
JB
89902011-07-12 Johan Bockgård <bojohan@gnu.org>
8991
8992 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8993 Fix previous fix (bug#2490).
8994
ff8be6ef
RW
89952011-07-12 Roland Winkler <winkler@gnu.org>
8996
b796c9b7
SM
8997 * textmodes/bibtex.el (bibtex-initialize):
8998 Use pop-to-buffer-same-window.
ff8be6ef
RW
8999 (bibtex-search-entries): Fix interactive call.
9000
296ba3ee
LMI
90012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9002
f5242a02 9003 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9004 Fontise bytecomp Error lines more correctly (bug#2490).
9005 Fix suggested by Johan Bockgård.
f5242a02 9006
296ba3ee
LMI
9007 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9008
9009 * dired-x.el (dired-guess-default): Use `delete-dups'.
9010
f69fd0d2
CY
90112011-07-12 Chong Yidong <cyd@stupidchicken.com>
9012
9013 * dired.el (dired-mark-prompt):
9014 * dired-aux.el (dired-read-shell-command): Doc fix.
9015
eab5dc07
LMI
90162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9017
b796c9b7
SM
9018 * mail/sendmail.el (sendmail-query-once):
9019 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9020 emacs -Q.
9021
9022 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9023
eab5dc07
LMI
9024 * cus-edit.el (custom-file): Take an optional no-error variable.
9025 (customize-save-variable): Set the variable, and give a warning if
9026 running under "emacs -q".
9027
a1e65d42
JB
90282011-07-11 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * loadhist.el (unload-feature-special-hooks):
9031 Add `auto-coding-functions', `fill-nobreak-predicate' and
9032 `find-directory-functions' (bug#5327).
9033
1d52da10
LMI
90342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
be958f1d
LMI
9036 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9037
5bedb26c
LMI
9038 * cus-edit.el (custom-guess-name-alist): -alist variables should
9039 use the `alist' type (bug#3120). Suggested by Drew Adams.
9040
1d52da10
LMI
9041 * printing.el: Add documentation to all the `pr-toggle-' commands.
9042
cd394be1 90432011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9044
9045 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9046 backends where it makes sense (bug#2623).
9047
dcc88d8a
LMI
90482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
c3de9feb
LMI
9050 * dired-x.el (dired-guess-default): Remove duplicate shell command
9051 entries (bug#2028).
8a93078b 9052 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9053 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9054
dcc88d8a
LMI
9055 * subr.el (remove-duplicates): New conveniency function.
9056
505e3645
LMI
90572011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9058
9059 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9060 (bug#1526).
9061
90622011-07-10 Martin Rudalics <rudalics@gmx.at>
9063
9064 * window.el (display-buffer-normalize-default): Don't invert
9065 meaning of even-window-heights. Reported by Eli Zaretskii
9066 <eliz@gnu.org>.
9067
455e4fa1
BR
90682011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9069
9070 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9071
8e0bc3e9
CY
90722011-07-10 Chong Yidong <cyd@stupidchicken.com>
9073
9074 * window.el (display-buffer): Fix arguments to
9075 display-buffer-reuse-window in last change.
9076
fa7c3228
CY
9077 * faces.el (link): Use a less saturated blue on light backgrounds.
9078
9079 * startup.el (fancy-startup-text, fancy-about-text)
9080 (fancy-startup-tail): Use font-lock faces, for background safety.
9081
c0a7f300
BN
90822011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9083
b796c9b7
SM
9084 * emulation/viper-cmd.el (viper-change-state-to-vi):
9085 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9086
4dc2a129
MR
90872011-07-09 Martin Rudalics <rudalics@gmx.at>
9088
9089 * window.el (display-buffer-default-specifiers): Remove.
9090 (display-buffer-macro-specifiers): Remove default specifiers.
9091 (display-buffer-alist): Default to nil.
b796c9b7 9092 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9093 (display-buffer-pop-up-window): Allow splitting internal
9094 windows. Check whether a live window was created.
9095 (display-buffer-other-window-means-other-frame)
9096 (display-buffer-normalize-arguments): Rename to
9097 display-buffer-normalize-argument and rewrite. Set the
9098 other-window specifier.
9099 (display-buffer-normalize-special): New function.
9100 (display-buffer-normalize-options): Rename to
9101 display-buffer-normalize-default and rewrite.
9102 (display-buffer-normalize-options-inhibit): Remove.
9103 (display-buffer-normalize-specifiers): Rewrite.
9104 (display-buffer): Process other-window specifier and call
9105 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9106 more faithfully.
b796c9b7 9107 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9108 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9109 (display-buffer-in-window, display-buffer-alist-set):
9110 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9111 <tassilo@member.fsf.org>.
9112
2d43b8c9
LL
91132011-07-09 Leo Liu <sdl.web@gmail.com>
9114
9115 * register.el (insert-register): Restore accidental change on
9116 2011-06-26. (Bug#9028)
9117
7f9b7c53
GM
91182011-07-09 Glenn Morris <rgm@gnu.org>
9119
9120 * subr.el (remq): Handle the empty list. (Bug#9024)
9121
f042cfd8
AS
91222011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9123
9124 * mail/sendmail.el (send-mail-function): No longer delay custom
9125 initialization.
9126 * custom.el (custom-initialize-delay): Doc fix.
9127
856b2f11
SM
91282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9131
afae1d68
MA
91322011-07-08 Michael Albinus <michael.albinus@gmx.de>
9133
9134 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9135 human-friendly prompt.
9136
0757af94
SM
91372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9140 provided by a particular plugin.
9141
d760b731
LMI
91422011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9143
9144 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9145 save customizations (with "emacs -Q"), just set the variable
9146 instead of erroring out.
9147
9148 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9149
cd79ce90
JL
91502011-07-08 Juri Linkov <juri@jurta.org>
9151
9152 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9153 (archive-zip-update-case): Use 7z if found by `executable-find'.
9154 The order of searching the available programs is the same as in
9155 `archive-zip-extract' (bug#8968).
9156
14cc04aa
CY
91572011-07-07 Chong Yidong <cyd@stupidchicken.com>
9158
9159 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9160 (menu-bar-options-menu): Tweak descriptions.
9161
0a1848ec
LMI
91622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9163
9164 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9165 menu items into verb phrases (bug#1421). Also refill to fit under
9166 80 columns.
9167
f5bd0689
CY
91682011-07-07 Chong Yidong <cyd@stupidchicken.com>
9169
538e85c6
CY
9170 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9171 (Info-read-node-name): Doc fix (Bug#1084).
9172
f5bd0689
CY
9173 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9174 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9175 (end-of-sexp, beginning-of-sexp)
9176 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9177 (forward-symbol, forward-same-syntax, word-at-point)
9178 (sentence-at-point): Doc fix (Bug#1144).
9179
56ec5115
LMI
91802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181
f3f8e37f
LMI
9182 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9183 should cover it (bug#1281).
9184
0757af94 9185 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9186
e9fce1ac 9187 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9188 negotiation fails, then possibly try again with a non-encrypted
9189 connection (bug#9017).
9190
56ec5115
LMI
9191 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9192 be used.
9193
c2f9aec8
RS
91942011-07-07 Richard Stallman <rms@gnu.org>
9195
9196 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9197 property, and handle its changed format.
9198 Look for the correct line number.
9199 Use file's line contents (but not past first =) to find
9200 correct line in message.
9201
ef7b981d 92022011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9203
9204 * international/characters.el (build-unicode-category-table):
9205 Delete it.
0757af94 9206 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9207
0757af94 9208 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9209 to src/chartab.c.
9210 (get-char-code-property): Call unicode-property-table-internal to
9211 load a file. Call get-unicode-property-internal where necessary.
9212 (put-char-code-property): Call unicode-property-table-internal to
9213 load a file. Call put-unicode-property-internal where necessary.
9214 put-unicode-property-internal where necessary.
0757af94
SM
9215 (char-code-property-description):
9216 Call unicode-property-table-internal to load a file.
c805dec0
KH
9217
9218 * international/charprop.el:
9219 * international/uni-bidi.el:
9220 * international/uni-category.el:
9221 * international/uni-combining.el:
9222 * international/uni-comment.el:
9223 * international/uni-decimal.el:
9224 * international/uni-decomposition.el:
9225 * international/uni-digit.el:
9226 * international/uni-lowercase.el:
9227 * international/uni-mirrored.el:
9228 * international/uni-name.el:
9229 * international/uni-numeric.el:
9230 * international/uni-old-name.el:
9231 * international/uni-titlecase.el:
9232 * international/uni-uppercase.el: Regenerate.
9233
9234 * loadup.el: Load international/charprop.el before
9235 international/characters.
9236
e14b388a
CY
92372011-07-07 Chong Yidong <cyd@stupidchicken.com>
9238
9239 * window.el (next-buffer, previous-buffer): Signal an error if
9240 called from a minibuffer window.
9241
9242 * bindings.el: Revert 2011-07-04 change.
9243
354cf0ba
RS
92442011-07-06 Richard Stallman <rms@gnu.org>
9245
9246 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9247 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9248 Treat markers like ints.
9249 (rmail-mime-entity): Doc fix.
9250
a48868a7
LMI
92512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9252
4906cd3d
LMI
9253 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9254 defcustom again for backwards compatibility.
9255
e0457abe
LMI
9256 * simple.el (shell-command-on-region): Fill.
9257
d67f7e1f
LMI
9258 * dired-aux.el (dired-kill-line): Add a doc string.
9259
fe204702
LMI
9260 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9261 to "\\sw\\|\\s_" (bug#358).
9262
a48868a7
LMI
9263 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9264 (dired-unmark-backward): Ditto.
9265 (dired-flag-backup-files): Ditto.
9266
9267 * dired-x.el (dired-mark-sexp): Ditto.
9268
aa8a705c
RS
92692011-07-06 Richard Stallman <rms@gnu.org>
9270
9271 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9272 (rmail-mime-entity): New arg TRUNCATED.
9273 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9274 New functions.
9275 (rmail-mime-save): Warn if entity is truncated.
9276 (rmail-mime-toggle-hidden): Likewise, for showing.
9277 (rmail-mime-process-multipart): Record when an entity is truncated.
9278
a9a936b9
RS
9279 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9280 if ENTITY is a string.
9281
1f2b92cb
LMI
92822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9283
f4f73198 9284 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9285 of faces when `M-C-x'-ing their definitions (bug#8378).
9286 Also clean up the code slightly.
f4f73198 9287
12b16734 9288 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9289 because that makes the colors go away.
12b16734 9290
f0691d22
LMI
9291 * mail/sendmail.el (send-mail-function): Change the default to
9292 `sendmail-query-once'.
9e87df06 9293 (sendmail-query-once): Add an autoload cookie.
f0691d22 9294
1f2b92cb
LMI
9295 * net/network-stream.el (network-stream-open-starttls): Try using
9296 a plain connection even if the server offered STARTTLS, and we
9297 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9298 capability. This should make smtpmail.el work in slightly more
9299 configurations.
9300
1cdd2a1b
MA
93012011-07-06 Michael Albinus <michael.albinus@gmx.de>
9302
9303 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9304 New defun.
9305 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9306
fbcc67e2
MM
93072011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9308
9309 * progmodes/sql.el: Version 3.0
0757af94 9310 (sql-product-alist): Add product :completion-object,
fbcc67e2 9311 :completion-column, and :statement attributes.
0757af94 9312 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9313 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9314 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9315 ansi keywords.
9316 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9317 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9318 (sql-oracle-show-reserved-words): New function for development.
9319 (sql-product-font-lock): Simplify for source code buffers.
9320 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9321 New functions.
9322 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9323 (sql-mode-map): Add statement movement functions.
9324 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9325 New variable.
fbcc67e2
MM
9326 (sql-statement-regexp, sql-beginning-of-statement)
9327 (sql-end-of-statement, sql-signum): New functions.
0757af94 9328 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9329 (sql-show-sqli-buffer): Bug fix.
9330 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9331 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9332 with sql-interactive-mode.
9333 (sql-save-connection): Save buffer local settings.
0757af94 9334 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9335 (sql-product-interactive): Bug fix.
9336 (sql-preoutput-hold): New variable.
9337 (sql-interactive-remove-continuation-prompt): Bug fixes.
9338 (sql-debug-redirect): New variable.
9339 (sql-str-literal): New function.
9340 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9341 Redesign.
fbcc67e2
MM
9342 (sql-oracle-save-settings, sql-oracle-restore-settings)
9343 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9344 (sql-completion-object, sql-completion-column)
9345 (sql-completion-sqlbuf): New variables.
9346 (sql-build-completions-1, sql-build-completions)
9347 (sql-try-completion): New functions.
9348 (sql-read-table-name): Use them.
9349 (sql-contains-names): New buffer local variable.
9350 (sql-list-all, sql-list-table): Use it.
9351 (sql-oracle-completion-types): New variable.
9352 (sql-oracle-completion-object, sql-sqlite-completion-object)
9353 (sql-postgres-completion-object): New functions.
9354
d4eaeab1
GM
93552011-07-06 Glenn Morris <rgm@gnu.org>
9356
9357 * window.el (pop-to-buffer): Doc fix.
9358
322b7dab 93592011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9360
9361 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9362
322b7dab 93632011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9364
322b7dab 9365 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9366
322b7dab 9367 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9368
605dd5bf
CY
93692011-07-05 Chong Yidong <cyd@stupidchicken.com>
9370
9371 * button.el (button): Inherit from link face. Suggested by Dan
9372 Nicolaescu.
9373
7dbfa719
SM
93742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9375
3db614b0
SM
9376 * progmodes/gdb-mi.el: Fit in 80 columns.
9377 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9378 switch-to-buffer.
9379
7dbfa719
SM
9380 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9381 if imenu is simply not configured (bug#8941).
9382
919d884a
KM
93832011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9384
9385 * allout.el (allout-post-undo-hook): New allout outline-change
9386 event hook to signal undo activity.
9387 (allout-post-command-business): Run allout-post-undo-hook if an
9388 undo just occurred.
7dbfa719
SM
9389 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9390 * allout-widgets.el (allout-widgets-after-undo-function):
9391 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9392 in the vicinity of an undo.
9393 (allout-widgets-mode): Include allout-widgets-after-undo-function
9394 on the new allout-post-undo-hook.
9395
450a0f09
SM
93962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9399 Let define-derived-mode define it.
9400 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9401 cycles of abbrev-table inheritance (bug#8998).
9402
2de69e00
RW
94032011-07-05 Roland Winkler <winkler@gnu.org>
9404
9405 * textmodes/bibtex.el: Add support for biblatex.
9406 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9407 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9408 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9409 (bibtex-entry-alist, bibtex-field-alist): New variables.
9410 (bibtex-entry-field-alist): Obsolete alias for
9411 bibtex-BibTeX-entry-alist.
9412 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9413 (bibtex-set-dialect): New command.
9414 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9415 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9416 Bind via bibtex-set-dialect.
2de69e00
RW
9417 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9418 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9419 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9420 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9421 Define via bibtex-set-dialect.
450a0f09
SM
9422 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9423 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9424 (bibtex-vec-push, bibtex-vec-incr): New functions.
9425 (bibtex-format-entry, bibtex-field-list)
9426 (bibtex-print-help-message, bibtex-validate)
9427 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9428
2dcdbdd9
SM
94292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * progmodes/compile.el (compilation-goto-locus):
9432 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9433 * bs.el (bs-cycle-next, bs-cycle-previous):
9434 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9435 * bindings.el (mode-line-other-buffer):
9436 * autoinsert.el (auto-insert):
9437 * arc-mode.el (archive-extract):
9438 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9439
b27640fe
JB
94402011-07-05 Juanma Barranquero <lekktu@gmail.com>
9441
9442 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9443 Fix check of `emacs-lock-unlockable-modes'.
9444 Coerce true values of `emacs-lock--try-unlocking' to t.
9445
53bbe3ad
JB
94462011-07-05 Juanma Barranquero <lekktu@gmail.com>
9447
9448 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9449 * emacs-lock.el: New file.
9450
1d3cdbc7
JD
94512011-07-05 Julien Danjou <julien@danjou.info>
9452
9453 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9454 than `boundp' to check if face is set.
9455
9173deec
JB
94562011-07-05 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * register.el (registerv-make):
9459 * window.el (window-min-height): Fix typos in docstrings.
9460
869795d6
JD
94612011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9462
9173deec 9463 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9464 Update doc string.
9465
b768cdcd
JB
94662011-07-04 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * server.el (server-execute): Catch quit and call
9469 `server-return-error' to pass the error back to emacsclient and
9470 close the connection (bug#8942).
9471
13aa217b
KM
94722011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9473
9474 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9475 insecure exception for current topic. Also note that auto-saves
9476 are handled differently.
9477
5d3385a0 9478 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9479 State variables for tracking auto-save inhibition situation.
9480
9481 (allout-write-contents-hook-handler): Rename from
9482 'allout-write-file-hook-handler', and describe how it depends on
9483 write-contents-functions sensitivity to non-nil value to prevent
9484 file write.
9485
9486 (allout-auto-save-hook-handler): Remove. auto-save does not check
9487 this in individual buffers, only in the starting buffer, so this
9488 is not the right way for us to inhibit auto-save in a buffer
9489 according to its condition.
9490
9491 (allout-mode): Use new allout-write-contents-hook-handler, and
9492 only with write-contents-functions. Remove auto-save provisions -
9493 they're implemented elsewhere.
9494
9495 (allout-before-change-handler): If undo is in progress, note that
9496 for attention of allout-post-command-business.
9497
9498 (allout-post-command-business): If the command we're following was
9499 an undo, check for change in the status of encrypted items and
9500 adjust auto-save inhibitions accordingly.
9501
9502 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9503 according to whether there are or aren't any plain-text topics
9504 pending encryption.
9505
2dcdbdd9 9506 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9507 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9508 if there are plain-text topics pending encryption.
13aa217b
KM
9509
9510 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9511 buffer-saved-size and some allout state to not inhibit auto-saves
9512 if there are no longer any plain-text topics pending encryption.
9513
0757af94
SM
9514 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9515 No longer provide for exemption of the current topic.
13aa217b 9516
ac89b32c
JL
95172011-07-04 Juri Linkov <juri@jurta.org>
9518
9519 Add 7z operations to delete and save changed members (bug#8968).
9520 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9521 New defcustoms.
9522 (archive-7z-write-file-member): New function.
9523 (archive-7z-summarize): Fix the number of dashes in the
9524 listing output.
9525
8fa39615
SM
95262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9529 (bug#8958).
9530
2f11b3f1
CY
95312011-07-04 Chong Yidong <cyd@stupidchicken.com>
9532
d66fef2b
CY
9533 * bindings.el: Ignore next-buffer and previous-buffer in
9534 minibuffer-local-map.
9535
2f11b3f1
CY
9536 * font-lock.el (font-lock-builtin-face): Change light background
9537 color to dark slate blue (Bug#6693).
9538
f932a347
WD
95392011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9540
9541 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9542
c8af70e1
SM
95432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9546 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9547 Add switch-to-buffer.
9548
f158badc
LMI
95492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9550
9551 * isearch.el (isearch-search-fun-function): Clarify further the
9552 meaning of the function returned.
9553
6d95bd46
MA
95542011-07-04 Michael Albinus <michael.albinus@gmx.de>
9555
9556 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9557
9558 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9559 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9560 Use it.
9561 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9562 `tramp-default-remote-path' does not exist.
9563 (tramp-send-command-and-read): New optional argument NOERROR.
9564 (tramp-open-connection-setup-interactive-shell)
9565 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9566 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9567 (tramp-process-sentinel): Flush also process' connection property.
9568 (tramp-sh-handle-start-file-process): Do not set process
9569 sentinel. It is done now ...
9570 (tramp-maybe-open-connection): ... here. (Bug#8929)
9571
909e6b67
MK
95722011-07-04 MON KEY <monkey@sandpframing.com>
9573
9574 * play/animate.el (animate-string): Doc fixes and allow changing
9575 the buffer name (bug#5417).
9576
95772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9578
c8af70e1 9579 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9580
f34755dc
PE
95812011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9582
396cec72
PE
9583 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9584 This is simpler and helps future-proof the code.
9585 (timer-until): Use time-subtract and float-time.
08235028 9586 (timer--time-less-p): Use time-less-p.
f34755dc 9587
56e6cc31
JB
95882011-07-04 Juanma Barranquero <lekktu@gmail.com>
9589
3abb79e5
JB
9590 * type-break.el (timep): Use the value of `float-time' to avoid a
9591 byte-compiler warning.
9592
56e6cc31
JB
9593 * server.el (server-eval-and-print): Return any result, even nil.
9594
7b9430b4
PE
95952011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9596
9597 * type-break.el: Accept time formats that the builtins accept.
9598 (timep, type-break-time-difference): Accept any format that
9599 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9600 This is simpler and helps future-proof the code.
9601 (type-break-time-difference): Round rather than ignoring
9602 subseconds components.
9603
3034e9e7
LMI
96042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9605
9606 * info.el (Info-apropos-matches): Make non-interactive, since it
9607 doesn't seem to do anything useful as a command (bug#8829).
9608
1485f4c0
CY
96092011-07-03 Chong Yidong <cyd@stupidchicken.com>
9610
9611 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9612 Move from faces.el.
1485f4c0
CY
9613 (frame-default-terminal-background): New function.
9614
9615 * custom.el (custom-push-theme): Don't record faces in `changed'
9616 theme; this doesn't work correctly for per-frame face settings.
9617 (disable-theme): Use face-set-after-frame-default to reset faces.
9618 (custom--frame-color-default): New function.
9619
9fa3dd45
LMI
96202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9621
c8af70e1 9622 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9623 (bug#8769).
9624
6cbbc20c
KR
96252011-03-29 Kevin Ryde <user42@zip.com.au>
9626
9627 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9628 `perl-Test2' extend to match possible "fail #N" rep count
9629 (bug#8377).
9630
c7f98048
LMI
96312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9632
65676592
LMI
9633 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9634 `smtpmail-via-smtp' now returns the error instead of nil.
9635
c7f98048
LMI
9636 * isearch.el (isearch-search-fun-function): Clarify the doc string
9637 (bug#8101).
9638
56e6cc31 96392011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9640
9641 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9642 unnecessary spaces (bug#8987).
9643
2b216704
LMI
96442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9645
9646 * net/network-stream.el (open-network-stream): Use the
9647 :end-of-capability command thoughout.
9648
96492011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9650
9651 * net/network-stream.el (open-network-stream): Add the
9652 :end-of-capability command parameter, used by pop3.el.
9653
36adf6ce
LMI
96542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9655
1ca0da0e
LMI
9656 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9657
fc00f69c
LMI
9658 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9659 for list)" (bug#6475).
9660
28fd8759 9661 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9662 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9663 an error (bug#6297).
9664
0dd8b6da
LMI
9665 * man.el (Man-reference-regexp): Allow matching possible
9666 word-wrapped references (bug#6289).
9667
ce1438d6
LMI
9668 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9669 for consistency with the other vc buffers (bug#6197).
9670 (vc-checkin): Ditto.
9671
9672 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9673
36adf6ce
LMI
9674 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9675
e83cc1f7
LMI
96762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9677
8a20ca4c
LMI
9678 * custom.el (defcustom): Clarify that :set is only used in the
9679 Customize user interface (bug#6089).
9680
83319045
LMI
9681 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9682 associated with a file, refuse to run instead of erroring out
9683 (bug#6084).
9684
a8392169
LMI
9685 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9686 the doc string, since it appears that using `fill-column' always
9687 controls the width (bug#7845).
9688
e83cc1f7
LMI
9689 * simple.el (shell-command-on-region): Say where the error output
9690 went if `shell-command-default-error-buffer' is set (bug#6857).
9691
e47ca23b
KM
96922011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9693
9694 * allout.el (allout-yank-processing): Adjust cursor position for
9695 backwards-deleted space.
9696
9697 (allout-rebullet-heading): Register changes with
9698 allout-exposure-changed-hook, so the modified topic is properly
9699 decorated.
9700
5cf56143
LMI
97012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9702
08549772
LMI
9703 * minibuffer.el (completion-in-region): Document PREDICATE
9704 (bug#7136).
9705
48e96771
LMI
9706 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9707 of keyword/argument pairs (bug#6904).
9708
c8af70e1
SM
9709 * replace.el (multi-occur):
9710 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9711
e17d05e2
LMI
97122011-07-02 Drew Adams <drew.adams@oracle.com>
9713
9714 * dired.el (dired-mark-if): Make the message about whether it's
9715 marking or unmarking clearer (bug#8523).
9716
063b0e45
LMI
97172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718
9719 * disp-table.el (display-table-print-array): New function.
9720 (describe-display-table): Use it to print the vectors more pretty
9721 (Bug#8859).
9722
28545e04
MR
97232011-07-02 Martin Rudalics <rudalics@gmx.at>
9724
9725 * window.el (window-state-get-1): Don't assign clone numbers.
9726 Add clone-of item to list of window parameters.
9727 (window-state-put-2): Don't process clone numbers.
9728 (display-buffer-alist): Fix doc-string.
9729
3349e122
SM
97302011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * subr.el (remq): Don't allocate if it's not needed.
9733 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9734 (keymap--merge-bindings): New functions.
9735 (keymap-canonicalize): Use them to refine the canonicalization.
9736 * minibuffer.el (minibuffer-local-completion-map)
9737 (minibuffer-local-must-match-map): Move initialization from C.
9738 (minibuffer-local-filename-completion-map): Move initialization from C;
9739 don't inherit from anything here.
9740 (minibuffer-local-filename-must-match-map): Make obsolete.
9741 (completing-read-default): Use make-composed-keymap to combine
9742 minibuffer-local-filename-completion-map with either
9743 minibuffer-local-must-match-map or
9744 minibuffer-local-filename-completion-map.
9745
d224ac83
GM
97462011-07-01 Glenn Morris <rgm@gnu.org>
9747
3de63bf8
GM
9748 * type-break.el (type-break-time-sum): Use dolist.
9749
d224ac83
GM
9750 * textmodes/flyspell.el (flyspell-word-search-backward):
9751 Replace CL function.
9752
1a1e3f32
SM
97532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9754
fe3f64d5
SM
9755 * mouse.el (mouse--strip-first-event): New function.
9756 (function-key-map): Use it to map fringe clicks to normal clicks
9757 by default.
9758
eb604e34
SM
9759 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9760 (vc-bzr-revision-completion-table): Add support for annotate and date.
9761
1a1e3f32
SM
9762 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9763 inherit from parent.
9764
5bd35902
LMI
97652011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9766
ace6c69c 9767 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 9768 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 9769
191e2bed
LMI
9770 * dired.el (dired-mode): Fix up the doc string as suggested by
9771 Drew Adams (bug#8817).
9772
5bd35902
LMI
9773 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9774 cookie, since the manual says that it should be possible to add
9775 this function to `find-file-hook' (bug#8709).
9776
eee8207a
TZ
97772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9778
9779 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9780 here. Noted Ted Zlatanov as the maintainer.
9781 (cfengine-common-settings, cfengine-common-syntax): New functions
9782 to set up common things between `cfengine-mode' and
9783 `cfengine3-mode'.
9784 (cfengine3-mode): New mode.
9785 (cfengine3-defuns cfengine3-defuns-regex
9786 (cfengine3-class-selector-regex cfengine3-category-regex)
9787 (cfengine3-vartypes cfengine3-font-lock-keywords)
9788 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 9789 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 9790
36b148cf
MA
97912011-07-01 Michael Albinus <michael.albinus@gmx.de>
9792
9793 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9794
9795 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9796
0bf4ba9a
MR
97972011-07-01 Martin Rudalics <rudalics@gmx.at>
9798
9799 * window.el (same-window-buffer-names, same-window-regexps)
9800 (same-window-p, special-display-frame-alist)
9801 (special-display-popup-frame, special-display-function)
9802 (special-display-buffer-names, special-display-regexps)
9803 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9804 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9805 (split-window-preferred-function, split-height-threshold)
9806 (split-width-threshold, even-window-heights)
9807 (display-buffer-mark-dedicated, window-splittable-p)
9808 (split-window-sensibly, window-safely-shrinkable-p):
9809 Un-obsolete.
9810 (display-buffer): Don't spread args with function specifier
9811 because special-display-popup-frame won't like it.
9812
35837f51
PE
98132011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9814
d0672f86
PE
9815 Time-stamp simplifications and fixes.
9816 These improve accuracy slightly, and future-proof the code
9817 against some potential changes to current-time format.
9818
b9444d97
PE
9819 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9820 by using time-since and float-time.
9821
0ef923dc
PE
9822 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9823 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9824 + NNN microseconds".
9825
2f81380d
PE
9826 * type-break.el (type-break-time-sum): Rewrite using time-add.
9827
845b5c3e
PE
9828 * play/hanoi.el (hanoi-current-time-float): Remove.
9829 All uses replaced by float-time.
9830
ee6f1be0
PE
9831 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9832 This yields a more-accurate answer.
9833 (rng-time-to-float): Remove; no longer needed.
9834
fe955043
PE
9835 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9836
5777162a
PE
9837 * calendar/timeclock.el (timeclock-seconds-to-time):
9838 Defalias to seconds-to-time, since they're the same thing.
9839
3103f8b6 9840 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 9841 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
9842 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9843
0e61a35f
SM
98442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9845
9846 * window.el (bury-buffer): Don't iconify the only frame.
9847 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9848 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9849
ddd63a1e
CY
98502011-07-01 Chong Yidong <cyd@stupidchicken.com>
9851
0e61a35f
SM
9852 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9853 Add mouse-yank-primary.
ddd63a1e 9854
055f4923
TZ
98552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9856
9857 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9858
6a2fb145
SM
98592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9862 (find-library-name): Use it to find relative load names when provided
9863 absolute file name (bug#8803).
9864
fd4983f2
LMI
98652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9866
887d14ad
LMI
9867 * textmodes/flyspell.el (flyspell-word): Consider words that
9868 differ only in case as potential doublons (bug#5687).
9869
c53dc7fc
LMI
9870 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9871 Remove two rather uninteresting debugging-like messages to make
9872 debbugs.el more silent.
9873
fd4983f2
LMI
9874 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9875 a password-like phrase.
9876
7a71b18d 98772011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
9878
9879 * progmodes/cc-guess.el: New file.
9880
6a2fb145 9881 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
9882
9883 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9884 derived from `c-basic-common-init'.
9885
9886 * progmodes/cc-mode.el (top-level): Require cc-guess.
9887 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9888
1fa280a3
LM
98892011-06-30 Lawrence Mitchell <wence@gmx.li>
9890
9891 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9892
e6597158
AM
98932011-06-30 Alan Mackenzie <acm@muc.de>
9894
1fa280a3
LM
9895 * progmodes/cc-engine.el (c-guess-continued-construct):
9896 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
9897 lock is disabled. Name this case as "CASE G".
9898
68ba37fb
KM
98992011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9900
9901 * allout.el (allout-yank-processing): Fix injection of extra space
9902 between bullet and non-whitespace character in first topic when
9903 pasting, ensuring that the actual spacing in the pasted topic
9904 following the bullet char is preserved. This extra space was
9905 causing pasted encrypted topics to get a decrypted status even
9906 when the content was actually still encrypted. Now the decryption
9907 status from before the paste is preserved.
9908
9909 (allout-flag-region): Set all allout overlays so they evaporate
9910 when reduced to zero length (evanescent), to prevent overlay
9911 leakage.
9912
887a0b34
GM
99132011-06-30 Glenn Morris <rgm@gnu.org>
9914
94b9acce
GM
9915 * w32-fns.el (w32-charset-info-alist): Declare.
9916
1d9b46d4
GM
9917 * find-dired.el (find-grep-options): Simplify.
9918
cc232200
GM
9919 * term/ns-win.el (ns-set-resource): Declare.
9920
28e77c46
GM
9921 * ses.el (row, col): Declare dynamic variables honestly.
9922
887a0b34
GM
9923 * textmodes/reftex-parse.el (index-tags): Declare.
9924
658d8eb8
CY
99252011-06-30 Chong Yidong <cyd@stupidchicken.com>
9926
9927 * cus-edit.el (customize-push-and-save): New function.
9928
9929 * files.el (hack-local-variables-confirm): Use it.
9930
1fa280a3
LM
9931 * custom.el (load-theme): New arg NO-CONFIRM.
9932 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
9933 (custom-enabled-themes): Doc fix.
9934
9935 * cus-theme.el (customize-create-theme)
9936 (custom-theme-merge-theme): Callers to load-theme changed.
9937
bb617717
LMI
99382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9939
d61bdd5d
LMI
9940 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9941 short URLs have at least one dot in them (bug #7614).
9942
bb617717
LMI
9943 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9944 nil, because using a pty is apparently too slow (bug #895).
9945
2f31f37a
LMI
99462011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9947
9948 * mail/sendmail.el (sendmail-query-once): New function.
9949 (sendmail-query-once-function): New variable.
9950
3076b24e
GM
99512011-06-29 Glenn Morris <rgm@gnu.org>
9952
faf2a174
GM
9953 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9954
3076b24e
GM
9955 * ses.el (top-level): Require cl when compiling.
9956 (ses-set-localvars): Fix error statement.
9957 Call it at compile time to silence a storm of warnings.
9958
5386012d
MR
99592011-06-29 Martin Rudalics <rudalics@gmx.at>
9960
9961 * window.el (normalize-live-buffer): Rename to
9962 window-normalize-buffer.
9963 (normalize-live-frame): Rename to window-normalize-frame.
9964 (normalize-any-window): Rename to window-normalize-any-window.
9965 (normalize-live-window): Rename to window-normalize-live-window.
9966 (make-window-atom): Rename to window-make-atom.
9967 (window-resize-reset): Rename to window--resize-reset.
9968 (window-resize-reset-1): Rename to window--resize-reset-1.
9969 (resize-mini-window): Rename to window--resize-mini-window.
9970 (resize-subwindows-skip-p): Rename to
9971 window--resize-subwindows-skip-p.
9972 (resize-subwindows-normal): Rename to
9973 window--resize-subwindows-normal.
9974 (resize-subwindows): Rename to window--resize-subwindows.
9975 (resize-other-windows): Rename to window--resize-siblings.
9976 (resize-this-window): Rename to window--resize-this-window.
9977 (resize-root-window): Rename to window--resize-root-window.
9978 (resize-root-window-vertically): Rename to
9979 window--resize-root-window-vertically.
9980 (normalize-buffer-to-display): Rename to
9981 window-normalize-buffer-to-display.
9982 (normalize-buffer-to-switch-to): Rename to
9983 window-normalize-buffer-to-switch-to.
9984 Correspondingly update all callers of the functions listed
9985 above.
9986 (display-buffer-alist, display-buffer-normalize-arguments)
9987 (display-buffer-normalize-options, display-buffer)
9988 (display-buffer-alist-set): Use "function" instead of
9989 "fun-with-args".
9990
1176868d
CY
99912011-06-28 Chong Yidong <cyd@stupidchicken.com>
9992
9993 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9994 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9995 debbugs.gnu.org. Mention acknowledgment email.
9996
20a7a65f
LMI
99972011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998
9999 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10000 buffer multibyteness, since it shouldn't matter.
10001
5f45cca5
MR
100022011-06-28 Martin Rudalics <rudalics@gmx.at>
10003
10004 * window.el (display-buffer-in-side-window): Handle dedicated
10005 windows as in display-buffer-reuse-window.
10006 (display-buffer-normalize-alist): Use value of override
10007 specifier.
10008 (display-buffer-normalize-specifiers): Use value of
10009 other-window-means-other-frame specifier.
10010 (display-buffer-alist): Rewrite some texts in widgets.
10011 (display-buffer): Spread arguments when calling function
10012 specified by fun-with-args.
10013
ad85fe1f
DD
100142011-06-28 Deniz Dogan <deniz@dogan.se>
10015
1fa280a3
LM
10016 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10017 Unnest `let'.
da68c4c8 10018
ad85fe1f
DD
10019 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10020 selectors (Bug#5732).
ec49bd31 10021 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10022
a08cc025
JA
100232011-06-27 Jari Aalto <jari.aalto@cante.net>
10024
10025 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10026 (eshell-ls-date-format): New defcustom.
10027 (eshell-ls-file): Use it.
10028
e2b551c5
SM
100292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10032
8982b231
KY
100332011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10034
10035 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10036 (ange-ftp-make-tmp-name): New arg.
10037 (ange-ftp-file-local-copy): Use it.
10038
36c9fa27
J
100392011-06-27 Jambunathan K <kjambunathan@gmail.com>
10040
10041 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10042 no-conversion (Bug#8870).
10043
d68443dc
MR
100442011-06-27 Martin Rudalics <rudalics@gmx.at>
10045
10046 * window.el (window-right, window-left, window-child)
10047 (window-child-count, window-last-child)
10048 (window-iso-combination-p, walk-window-tree-1)
10049 (window-atom-check-1, window-tree-1, delete-window)
10050 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10051 new naming conventions - window-vchild, window-hchild,
10052 window-next and window-prev are now called window-top-child,
10053 window-left-child, window-next-sibling and window-prev-sibling
10054 respectively.
d615d6d2
MR
10055 (resize-window-reset): Rename to window-resize-reset.
10056 (resize-window-reset-1): Rename to window-resize-reset-1.
10057 (resize-window): Rename to window-resize.
10058 (window-min-height, window-min-width)
10059 (resize-mini-window, resize-this-window, resize-root-window)
10060 (resize-root-window-vertically, adjust-window-trailing-edge)
10061 (enlarge-window, shrink-window, maximize-window)
10062 (minimize-window, delete-window, quit-restore-window)
10063 (split-window, balance-windows, balance-windows-area-adjust)
10064 (balance-windows-area, window-state-put-2)
10065 (display-buffer-even-window-sizes, display-buffer-set-height)
10066 (display-buffer-set-width, set-window-text-height)
10067 (fit-window-to-buffer): Rename all "resize-window" prefixed
10068 calls to use the "window-resize" prefix convention.
10069 (display-buffer-alist): Fix symbol for label specifier.
10070 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10071 corresponding specifier.
10072 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10073
b6458526
VB
100742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10075
10076 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10077 convention.
10078 (ses-call-printer): Does not pass an empty string to formatter when the
10079 cell is empty to keep from barking printer Calc math-format-value.
10080
d31fd9ac
RS
100812011-06-27 Richard Stallman <rms@gnu.org>
10082
43d5bf84
RS
10083 * battery.el (battery-mode-line-limit): New variable.
10084 (battery-update): Handle it.
10085
d31fd9ac
RS
10086 * mail/rmailmm.el (rmail-mime-process-multipart):
10087 Handle truncated messages.
10088
819a6054
GM
100892011-06-27 Glenn Morris <rgm@gnu.org>
10090
10091 * progmodes/flymake.el (flymake-err-line-patterns):
10092 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10093
cedc73f2
VB
100942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10095
819a6054 10096 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10097 (ses--clean-!, ses--clean-_): New functions.
10098 (ses-range): Add configurability of readout order, and conversion
10099 to Calc vector.
10100
5e5d49b6
VB
10101 * ses.el (ses-repair-cell-reference-all): New function.
10102 (ses-cell-symbol): Set macro as safe, so that it can be used in
10103 formulas.
10104
56e6cc31 10105 * ses.el: Update cycle detection algorithm.
90ca8b49 10106 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10107 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10108 (ses-set-localvars): New function.
10109 (ses-make-cell): Add property-list as a cell element.
10110 (ses-cell-property-get-fun, ses-cell-property-get)
10111 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10112 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10113 New functions.
90ca8b49
VB
10114 (ses-cell-property-set, ses-cell-property-pop)
10115 (ses-cell-property-get-handle): New macro.
10116 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10117 New aliases, used for code readability.
10118 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10119 cycle detection.
10120 (ses-self-reference-early-detection): New defcustom.
fac916bf 10121 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10122 (ses-mode): Use ses-set-localvars.
10123 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10124 before lauching the update processing.
10125 (ses-initialize-Dijkstra-attempt): New function.
10126 (ses-recalculate-cell): Update for cycle detection based on
10127 Dijkstra algorithm.
10128
2bb63e81
VB
10129 * ses.el: Fix commenting and indenting convention.
10130
c9d29fb8
SM
101312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * bs.el (bs-cycle-next): Complete last change.
10134
d8e4b68b
JB
101352011-06-27 Drew Adams <drew.adams@oracle.com>
10136
10137 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10138
40098786
LMI
101392011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10140
c9d29fb8
SM
10141 * net/network-stream.el (network-stream-open-starttls):
10142 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10143 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10144
40098786
LMI
10145 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10146 to binary to possibly avoid line encoding issues on Windows (among
10147 other things).
10148
468d09d4
LMI
101492011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10150
10151 * net/network-stream.el (open-network-stream): Return an :error
10152 saying what the problem was, if possible.
10153
10154 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10155 server.
10156
10157 * net/network-stream.el (network-stream-open-starttls): If we
10158 wanted to use STARTTLS, and the server offered it, but we weren't
10159 able to because we had no STARTTLS support, then close the connection.
10160 (open-network-stream): Return an :error element, if present.
10161
16f07dd7
CY
101622011-06-26 Chong Yidong <cyd@stupidchicken.com>
10163
88821ca0
CY
10164 * hl-line.el (hl-line-sticky-flag): Doc fix.
10165 (global-hl-line-sticky-flag): New option (Bug#8323).
10166 (global-hl-line-highlight): Obey it.
10167
16f07dd7
CY
10168 * vc/vc.el (vc-revert-show-diff): Default to t.
10169
6b5ccddf
KM
101702011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10171
c9d29fb8
SM
10172 * allout-widgets.el (allout-widgets-post-command-business):
10173 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10174 undecorated when an isearch is continued past, and isearch
10175 automatically collapses them. This leads to "widget leaks", where
10176 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10177 hidden widgets can slow down cursor travel, substantially.
10178 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10179 so we're doing without this nicety.
10180
10181 (allout-widgets-tally-string): Don't try to do a hash-table-count
10182 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10183 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10184 *Messages* when allout-widgets-maintain-tally is t.
10185
355f2e07
MR
101862011-06-26 Martin Rudalics <rudalics@gmx.at>
10187
10188 * window.el (display-buffer-normalize-argument): Rename to
10189 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10190 LABEL argument. Respect special-display-function when popping up
10191 a new frame. Fix code searching for a window showing the buffer
10192 on another frame.
c9d29fb8
SM
10193 (display-buffer-normalize-specifiers):
10194 Call display-buffer-normalize-arguments.
355f2e07
MR
10195 (display-buffer-in-window): Don't undedicate the window if its
10196 buffer remains the same.
10197 Reported by Drew Adams <drew.adams@oracle.com>.
10198 (display-buffer-alist): Add choice for same-window macro
10199 specfier.
10200 (display-buffer): Mention special meaning of LABEL argument in
10201 doc-string. Fix quoting. Don't pop up a new frame even as
10202 fallback.
10203
7ca8fc42
JB
102042011-06-26 Juanma Barranquero <lekktu@gmail.com>
10205
10206 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10207 avoid deleting the current window in some cases (bug#8911).
10208
bc312254
AS
102092011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10210
10211 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10212 (Bug#8934)
10213
2db18f3f
LMI
102142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10215
c9d29fb8
SM
10216 * net/network-stream.el (network-stream-open-starttls):
10217 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10218 (network-stream-open-tls): Ditto.
10219
6302e0d3
LL
102202011-06-26 Leo Liu <sdl.web@gmail.com>
10221
10222 * register.el (registerv): New struct.
10223 (registerv-make): New function.
c9d29fb8
SM
10224 (jump-to-register, describe-register-1, insert-register):
10225 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10226 struct. (Bug#8415)
10227
5fdd4046
CY
102282011-06-26 Chong Yidong <cyd@stupidchicken.com>
10229
2afef60a
CY
10230 * vc/vc.el (vc-revert-show-diff): New defcustom.
10231 (vc-diff-internal): New arg specifying diff buffer.
10232 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10233 reuse an existing *vc-diff* buffer (Bug#8927).
10234
5fdd4046
CY
10235 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10236
e93db24a
GM
102372011-06-26 Glenn Morris <rgm@gnu.org>
10238
10239 * progmodes/f90.el (f90-critical-indent): New option.
10240 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10241 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10242 (f90-mode): Doc fix.
10243 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10244 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10245 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10246 (f90-match-end): Handle block, critical.
10247
eefff499
GM
102482011-06-25 Glenn Morris <rgm@gnu.org>
10249
f6ba4cc9
GM
10250 * calendar/diary-lib.el (diary-included-files): Doc fix.
10251 (diary-include-files): New function, extracted from
10252 diary-include-other-diary-files and diary-mark-included-diary-files.
10253 (diary-include-other-diary-files, diary-mark-included-diary-files):
10254 Just call diary-include-files.
10255 (diary-mark-entries): Reset diary-included-files on first call.
10256
16712304
GM
10257 * calendar/diary-lib.el (diary-mark-entries)
10258 (diary-mark-included-diary-files):
10259 Visit included diary-files in temp buffers.
10260
5d8e0d43
GM
10261 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10262 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10263 (f90-start-block-re, f90-imenu-generic-expression)
10264 (f90-looking-at-program-block-start, f90-no-block-limit):
10265 Add support for submodules.
10266
ccf7a5d5
GM
10267 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10268 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10269
11fdef7d 102702011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10271
10272 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10273 buffer-file-type before setting its value, to avoid disastrous
eefff499 10274 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10275
74f53697
JB
102762011-06-25 Juanma Barranquero <lekktu@gmail.com>
10277
10278 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10279
10280 * ses.el (ses-unload-function):
10281 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10282
10283 * proced.el (proced-unload-function):
10284 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10285
18a4ce5e
AR
102862011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10287
10288 * server.el (server-create-window-system-frame): Add parameters arg.
10289 (server-process-filter): Doc fix. Handle frame-parameters.
10290
519d22cc
JB
102912011-06-25 Juanma Barranquero <lekktu@gmail.com>
10292
10293 Fix bug#8730, bug#8781.
10294
10295 * loadhist.el (unload--set-major-mode): New function.
10296 (unload-feature): Use it.
10297
10298 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10299 (python-unload-function): New function.
10300
c206f5b0
SM
103012011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10304
f9ad64f3
GS
103052011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10306
10307 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10308 the candidates list.
10309
7d0da90e
JB
103102011-06-24 Juanma Barranquero <lekktu@gmail.com>
10311
10312 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10313
14b4e83d
RS
103142011-06-23 Richard Stallman <rms@gnu.org>
10315
10316 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10317 (rmail-variables): Set next-error-move-function.
10318 (rmail-what-message): Take argument POS.
10319 (rmail-next-error-move): New function.
10320
273d2baf
SM
103212011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10324 messages for adjacent non-terminals.
10325
56c2cc9a
RS
103262011-06-23 Richard Stallman <rms@gnu.org>
10327
10328 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10329 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10330 (rmail-start-mail): Don't specify use of rmail-mail-return;
10331 that's done by mail-bury now.
10332 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10333
d59eb518
MA
103342011-06-23 Michael Albinus <michael.albinus@gmx.de>
10335
10336 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10337 SIZE is a number.
10338
02cfc6d6
MR
103392011-06-23 Martin Rudalics <rudalics@gmx.at>
10340
10341 * window.el (get-lru-window, get-mru-window)
10342 (get-largest-window): Never return a minibuffer window.
10343 (display-buffer-pop-up-window): Fix a bug that could lead to
10344 reusing the minibuffer window.
10345 (display-buffer): Pass original specifier argument to
10346 display-buffer-function instead of the normalized one.
10347 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10348
4e323265
LL
103492011-06-22 Leo Liu <sdl.web@gmail.com>
10350
10351 * minibuffer.el (completing-read-function)
10352 (completing-read-default): Move from minibuf.c
10353
7a70468f
RS
103542011-06-22 Richard Stallman <rms@gnu.org>
10355
50718fc2
RS
10356 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10357 to Rmail even if not started by a special Rmail command.
10358
7a70468f
RS
10359 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10360 Copy the buffer currently showing just one message.
10361
297dde5a
RW
103622011-06-22 Roland Winkler <winkler@gnu.org>
10363
10364 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10365 (bibtex-clean-entry): First delete the old key so that a
10366 customized algorithm for generating the new key does not get
10367 confused by the old key.
10368 (bibtex-url): Obey regexp of first step.
10369 (bibtex-search-entries): Do not use add-to-list with local
10370 list-var.
10371
97bb1093
LMI
103722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10373
10374 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10375 stored a user name, then query for the password first, instead of
10376 waiting for SMTP to give an error message and the trying again.
10377
1c0f1a19
JD
103782011-06-22 Lawrence Mitchell <wence@gmx.li>
10379
10380 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10381 BUFFER in call-process.
10382
396f7c9d
LMI
103832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10384
10385 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10386 QUIT twice.
ddb7ffee
LMI
10387 (smtpmail-try-auth-methods): Require user name and password from
10388 auth-source.
396f7c9d 10389
8998d1b3
MR
103902011-06-22 Martin Rudalics <rudalics@gmx.at>
10391
10392 * window.el (display-buffer-default-specifiers)
10393 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10394 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10395 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10396
10397 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10398 (special-display-frame-alist, special-display-popup-frame):
10399 Remove duplicate declarations. These are now in window.el.
10400
4ea31e07
LMI
104012011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10402
c9d29fb8
SM
10403 * mail/smtpmail.el (smtpmail-via-smtp):
10404 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10405 server supports it. SMTP servers that support STARTTLS commonly
10406 require it.
10407
10408 * net/network-stream.el (network-stream-open-starttls): Support
10409 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10410 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10411
95f41d9a
LMI
10412 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10413 upgrades with `open-network-stream', and rely solely on
10414 auth-source for all credentials. Big changes throughout the file,
10415 but in particular:
c9d29fb8
SM
10416 (smtpmail-auth-credentials): Remove.
10417 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10418 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10419 MAIL FROM, too.
95f41d9a 10420
c9d29fb8
SM
10421 * net/network-stream.el (network-stream-open-starttls):
10422 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10423 STARTTLS.
10424 (auth-source): Require.
10425 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10426 (network-stream-certificate): Change cert-cert to cert and
10427 cert-key to key.
4ea31e07 10428
065ec2c7
MA
104292011-06-21 Michael Albinus <michael.albinus@gmx.de>
10430
10431 * net/tramp-cache.el (top): Don't load the persistency file when
10432 "emacs -Q" has been called.
10433
cd93b359
DR
104342011-06-21 Tim Harper <timcharper@gmail.com>
10435
d8e4b68b
JB
10436 * term/ns-win.el (ns-initialize-window-system):
10437 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10438 resource to NO as it is not yet supported by the NS port.
10439
ae9c0411
JB
104402011-06-21 Juanma Barranquero <lekktu@gmail.com>
10441
10442 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10443 (list-dynamic-libraries): ...not here.
10444
7f3f739f
LL
104452011-06-21 Leo Liu <sdl.web@gmail.com>
10446
10447 * subr.el (sha1): Implement sha1 using secure-hash.
10448
327c8fb1
MR
104492011-06-21 Martin Rudalics <rudalics@gmx.at>
10450
10451 * window.el (display-buffer-alist): In default value do not
10452 enforce searching a window on any but the selected frame.
10453 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10454 (display-buffer-select-window): Remove function.
10455 (display-buffer-in-window): When a window on another frame gets
10456 reused, do not select it any more but just raise its frame if
10457 necessary (Bug#8851) and (Bug#8856).
10458 (display-buffer-normalize-options): Handle pop-up-frames related
10459 options more faithfully.
10460 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10461 window if it is on another frame.
c9d29fb8
SM
10462 (display-buffer-alist, display-buffer-default-specifiers):
10463 Don't make new frame unsplittable by default.
9e9de014
MR
10464 (display-buffer-normalize-argument): Fix doc-string typo and use
10465 'same-frame-other-window instead of 'other-window when associating
10466 with display-buffer-macro-specifiers.
327c8fb1 10467
7cf3f556
VB
104682011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10469
10470 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10471 New functions.
10472 (5x5-mode-map, 5x5-mode-menu): Bind them.
10473 (5x5-draw-grid): Tweak the solver's rendering.
10474
60a406cf
SM
104752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10478 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10479
d8e4b68b 104802011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10481
10482 * menu-bar.el: Use function variable instead of switch-to-buffer.
10483 (menu-bar-select-buffer-function): New variable.
60a406cf 10484 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10485
478d6f95
SM
104862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10489 variable's status.
10490
ca530739
JD
104912011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10492
10493 * x-dnd.el (x-dnd-version-from-flags)
10494 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10495 and long as number (Bug#8899).
10496 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10497
bcd70d97
SM
104982011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10499
60a406cf 10500 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10501 (completion-try-completion, completion-all-completions): Compute the
10502 metadata argument if it's missing; make it optional (bug#8795).
10503
60a406cf 10504 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10505 (widget-complete): Use new :completion-function property.
10506 (widget-completions-at-point): New function.
10507 (default): Use :completion-function instead of :complete.
60a406cf
SM
10508 (widget-default-completions): Rename from widget-default-complete;
10509 Rewrite.
bcd70d97
SM
10510 (widget-string-complete, widget-file-complete, widget-color-complete):
10511 Remove functions.
10512 (file, symbol, function, variable, coding-system, color):
10513 * international/mule-cmds.el (default-input-method, charset)
10514 (language-info-custom-alist):
10515 * cus-edit.el (face): Use new property :completions.
10516
10517 * progmodes/pascal.el (pascal-completions-at-point): New function.
10518 (pascal-mode): Use it.
10519 (pascal-mode-map): Use completion-at-point.
10520 (pascal-toggle-completions): Make obsolete.
10521 (pascal-complete-word, pascal-show-completions):
10522 * progmodes/octave-mod.el (octave-complete-symbol):
10523 Redefine as obsolete alias.
10524 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10525 Signal absence of completion info for old Octave,
10526 (inferior-octave-complete): Redefine as obsolete alias.
10527 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10528 (meta-completions-at-point): Rename from meta-complete-symbol and
10529 adapt it for use on completion-at-point-functions.
10530 (meta-common-mode): Use it.
10531 (meta-looking-at-backward, meta-match-buffer): Remove.
10532 (meta-complete-symbol): Redefine as obsolete alias.
10533 (meta-common-mode-map): Use completion-at-point.
10534 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10535 (makefile-mode-map): Use completion-at-point.
10536 (makefile-completions-at-point): Rename from makefile-complete and
10537 adapt it for use on completion-at-point-functions.
10538 (makefile-mode): Use it.
10539 (makefile-complete): Redefine as obsolete alias.
10540
aebf69c8
DD
105412011-06-20 Deniz Dogan <deniz@dogan.se>
10542
10543 * net/rcirc.el: Delete trailing whitespaces once and for all.
10544
bfbbb27d
DC
105452011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10546
10547 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10548
d264a46b
CY
105492011-06-19 Chong Yidong <cyd@stupidchicken.com>
10550
4ca009e5
CY
10551 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10552
d264a46b
CY
10553 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10554
fbf5b3ce
MR
105552011-06-19 Martin Rudalics <rudalics@gmx.at>
10556
10557 * window.el (display-buffer-other-window-means-other-frame):
10558 Call display-buffer-normalize-alist.
10559 (display-buffer-normalize-specifiers-1): Rename to
10560 display-buffer-normalize-argument. New argument other-frame.
10561 Rewrite.
10562 (display-buffer-normalize-specifiers-2): Rename to
10563 display-buffer-normalize-options.
10564 (display-buffer-normalize-alist-1): New function.
10565 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10566 display-buffer-normalize-alist.
10567 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10568 (display-buffer-normalize-options-inhibit): New variable.
10569 (display-buffer-normalize-specifiers): Rewrite calling
10570 display-buffer-normalize-alist,
10571 display-buffer-normalize-argument, and
10572 display-buffer-normalize-options. Don't call the latter if
10573 display-buffer-normalize-options-inhibit is non-nil.
10574 (frame-auto-delete): New option.
10575 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10576 (window-list-no-nils, window-state-ignored-parameters)
10577 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10578 (window-state-put-1, window-state-put-2, window-state-put):
10579 New functions.
9a028c23
MR
10580 (display-buffer-normalize-options): Move special-display-p group
10581 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10582
6d10d800
CY
105832011-06-18 Chong Yidong <cyd@stupidchicken.com>
10584
6420d28b
CY
10585 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10586 groups (Bug#8776).
10587 (rx-submatch-n): New function.
10588 (rx): Document it.
10589
ddb8b596
CY
10590 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10591 (Bug#8768).
10592
10593 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10594
77080289
CY
10595 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10596
61dfb316
CY
10597 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10598 anytime existing face settings are present (Bug#8889).
10599
6d10d800
CY
10600 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10601 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10602 Remove unused argument.
10603
be3fb2b8
MR
106042011-06-18 Martin Rudalics <rudalics@gmx.at>
10605
bcd70d97
SM
10606 * window.el (display-buffer-default-specifiers):
10607 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10608 pop-up-window-min-width, and another reuse-window specifier
10609 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10610 (display-buffer-normalize-specifiers-2):
10611 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10612 pop-up-windows is unset. Add a reuse-window specifier for the
10613 case popping up a new window fails.
10614 (special-display-popup-frame): Remove double quoting.
28dec25a 10615 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10616
1c6d8c76
SM
106172011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10620 according to comint-completion-addsuffix.
10621
10622 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10623 (pcomplete-suffix-list): Mark as obsolete.
10624 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10625 pcomplete-seen in the closure.
10626 (pcomplete-comint-setup): Setup completion-at-point as well.
10627 (pcomplete--entries): New function.
10628 (pcomplete--env-regexp): New var.
10629 (pcomplete-entries): Rewrite to work with partial-completion and
10630 without relying on pcomplete-suffix-list.
10631 (pcomplete-pare-list): Remove, unused.
10632
25aef8b8
MR
106332011-06-17 Martin Rudalics <rudalics@gmx.at>
10634
10635 * window.el (display-buffer-alist): Set pop-up-window-min-height
10636 and pop-up-window-min-width in default value. Reported by
10637 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10638 other-window-means-other-frame.
10639 (display-buffer-macro-specifiers): Comment out entry for
10640 other-window specifier.
10641 (display-buffer-other-window-means-other-frame): New function.
10642 (display-buffer-normalize-specifiers-1): New arguments
10643 buffer-name and label. Treat other-window case specially.
10644 (display-buffer-normalize-specifiers-2): Treat other-window case
10645 specially.
10646 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10647 (display-buffer-normalize-specifiers):
10648 Call display-buffer-normalize-specifiers-3.
25aef8b8 10649
dbad4f69
MR
106502011-06-17 Martin Rudalics <rudalics@gmx.at>
10651
10652 * window.el (same-window-p): Fix two typos introduced when
10653 adding with-no-warnings.
d1067961
MR
10654 (display-buffer-normalize-specifiers-1): Don't check
10655 pop-up-frames for 'unset initialization.
10656 (display-buffer-normalize-specifiers-2): Major rewrite using
10657 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10658 (pop-up-frames, display-buffer-reuse-frames)
10659 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10660 Suggested by David Engster <deng@randomsample.de>.
10661 (even-window-heights): Initialize to 'unset.
10662 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10663 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10664 other window case.
dbad4f69 10665
9b9c9e3a
MR
106662011-06-16 Martin Rudalics <rudalics@gmx.at>
10667
bcd70d97
SM
10668 * window.el (display-buffer-normalize-specifiers-1):
10669 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10670 second argument of display-buffer (Bug#8865).
981d5c09
MR
10671 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10672 (switch-to-buffer-other-window-same-frame)
10673 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10674 Adams (Bug#8875).
9c2755e9
MR
10675 (display-buffer): Don't check noninteractive when calling
10676 display-buffer-pop-up-frame.
10677 (display-buffer-pop-up-frame): Never pop up a frame in
10678 noninteractive mode (Bug#8857).
67222e1d
MR
10679 (enlarge-window, shrink-window): Don't report an error when the
10680 window can't be resized as requested (Bug#8862).
9b9c9e3a 10681
2b75be67
SM
106822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10683
9ffdd3ba
SM
10684 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10685
cb581a67
SM
10686 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10687
2b75be67
SM
10688 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10689
8c0e3589
AM
106902011-06-15 Alan Mackenzie <acm@muc.de>
10691
cb581a67
SM
10692 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10693 for declarators, disable knr checking to speed up for normal files.
10694 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10695
b96e6cde
LMI
106962011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10697
4bba86e6
LMI
10698 * net/network-stream.el (open-network-stream): Add the keyword
10699 :always-query-capabilities for the case where you want to force a
10700 `plain' network connection, but the protocol still requires the
10701 capabilitiy command (i.e., SMTP and EHLO).
10702
2b75be67 10703 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10704 consistency with other `-live-p' functions.
10705
efdcdbf8
SM
107062011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10707
10708 * window.el (same-window-buffer-names, same-window-regexps)
10709 (special-display-frame-alist, special-display-popup-frame)
10710 (special-display-function, special-display-buffer-names)
10711 (special-display-regexps, pop-up-frame-alist)
10712 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10713 (pop-up-windows, split-window-preferred-function)
10714 (split-height-threshold, split-width-threshold, even-window-heights)
10715 (display-buffer-mark-dedicated): Don't encourage the use of
10716 display-buffer-alist from Elisp code.
10717
c5cde042
DN
107182011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10719
10720 * progmodes/python.el (python-mode): Derive from prog-mode.
10721 * progmodes/ps-mode.el (ps-mode):
10722 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10723 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10724 * progmodes/ld-script.el (ld-script-mode): Likewise.
10725
baa1c9ab
MR
107262011-06-15 Martin Rudalics <rudalics@gmx.at>
10727
10728 * window.el (display-buffer-alist): Trim default value to avoid
10729 popping up a new frame (Bug#8857) or reusing an arbitrary window
10730 on another frame.
10731 (display-buffer): Do not fall back on popping up a new frame in
10732 batch mode (Bug#8857).
10733
c5dd5a51
CY
107342011-06-14 Chong Yidong <cyd@stupidchicken.com>
10735
10736 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10737 (custom-theme-summary): New function.
10738 (customize-themes): Use it.
10739
d647b7c4
GM
107402011-06-13 Glenn Morris <rgm@gnu.org>
10741
10742 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10743
9481c002
MR
107442011-06-13 Martin Rudalics <rudalics@gmx.at>
10745
357f93d2
MR
10746 * help.el (help-window): Remove variable.
10747 (help-window-point-marker, temp-buffer-max-height)
10748 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10749 (help-print-return-message): Don't set help-window.
10750 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10751 (help-window-setup-finish): Remove.
10752 (help-window-display-message, help-window-setup)
10753 (with-help-window): Major rewrite based on new
10754 display-buffer-window variable.
10755
10756 * help-mode.el (help-mode-finish): Remove help-window related
10757 code.
10758
10759 * view.el (view-exits-all-viewing-windows): Remove reference to
10760 view-return-to-alist in doc-string.
10761 (view-return-to-alist): Make obsolete.
10762 (view-buffer): Call pop-to-buffer-same-window and remove
10763 undo-window code.
10764 (view-buffer-other-window): Call pop-to-buffer-other-window and
10765 simplify code. Ignore second argument.
10766 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10767 simplify code. Ignore second argument.
10768 (view-return-to-alist-update): Make obsolete.
10769 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10770 Rewrite using quit-restore window parameters.
2b75be67
SM
10771 (view-mode-exit): Rename second argument to EXIT-ONLY.
10772 Rewrite using quit-restore-window.
357f93d2
MR
10773 (View-exit, View-exit-and-edit, View-leave, View-quit)
10774 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10775 appropriate arguments.
10776 (view-end-message): Use quit-restore window parameter.
10777
9481c002
MR
10778 * window.el (display-buffer-function): Rewrite doc-string.
10779 (display-buffer-window, display-buffer-alist): New variables.
10780 (display-buffer-split-specifiers)
10781 (display-buffer-side-specifiers)
10782 (display-buffer-macro-specifiers): New constants.
10783 (display-buffer-even-window-sizes, display-buffer-set-height)
10784 (display-buffer-set-width, display-buffer-select-window)
10785 (display-buffer-in-window, display-buffer-reuse-window)
10786 (display-buffer-split-window-1, display-buffer-split-window)
10787 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10788 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10789 (display-buffer-in-side-window, normalize-buffer-to-display)
10790 (display-buffer-normalize-specifiers-1)
10791 (display-buffer-normalize-specifiers-2)
2b75be67
SM
10792 (display-buffer-normalize-specifiers, display-buffer-frame):
10793 New functions.
9481c002
MR
10794 (display-buffer): Major rewrite.
10795 (display-buffer-other-window, display-buffer-other-frame)
10796 (pop-to-buffer, switch-to-buffer-other-window)
10797 (switch-to-buffer-other-frame): Rewrite.
10798 (display-buffer-same-window, display-buffer-same-frame)
10799 (display-buffer-same-frame-other-window)
10800 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10801 (pop-to-buffer-other-window)
10802 (pop-to-buffer-same-frame-other-window)
10803 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10804 (switch-to-buffer-other-window-same-frame): New functions.
10805 (same-window-p, special-display-p): Rewrite disabling warnings.
10806 Make obsolete.
10807 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10808 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10809 Make obsolete
10810 (same-window-buffer-names, same-window-regexps)
10811 (special-display-frame-alist, special-display-popup-frame)
10812 (special-display-function, special-display-buffer-names)
10813 (special-display-regexps, pop-up-frame-alist)
10814 (pop-up-frame-function, split-window-preferred-function)
10815 (split-height-threshold, split-width-threshold)
10816 (even-window-heights): Make obsolete.
10817
9db51aca
GM
108182011-06-12 Glenn Morris <rgm@gnu.org>
10819
10820 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 10821 Misc simplifications.
9db51aca 10822
39cffb44
MR
108232011-06-12 Martin Rudalics <rudalics@gmx.at>
10824
10825 * window.el (window-safely-shrinkable-p): Restore function which
10826 was inadvertently removed in change from 2011-06-11. Declare as
10827 obsolete.
10828
2b75be67
SM
10829 * calendar/calendar.el (calendar-generate-window):
10830 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
10831 window-safely-shrinkable-p.
10832
a8955be7
GM
108332011-06-12 Glenn Morris <rgm@gnu.org>
10834
10835 * progmodes/fortran.el (fortran-mode-syntax-table):
10836 * progmodes/f90.el (f90-mode-syntax-table):
10837 Set % to punctuation. (Bug#8820)
10838 (f90-find-tag-default): Remove, no longer needed.
10839
f0d4059d
DC
108402011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10841
10842 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10843
1100a63c
CY
108442011-06-11 Chong Yidong <cyd@stupidchicken.com>
10845
10846 * image.el (image-animated-p): Return animation delay in seconds.
10847 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10848 (image-animate-timeout): Remove DELAY argument. Don't assume
10849 every subimage has the same delay; get it from image-animated-p.
10850 (image-animate): Caller changed.
10851
def722bf
MA
108522011-06-11 Michael Albinus <michael.albinus@gmx.de>
10853
10854 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10855 to ignored backtrace functions.
10856
0a2bb1a9
GM
108572011-06-11 Glenn Morris <rgm@gnu.org>
10858
10859 * calendar/appt.el (appt-disp-window-function): Doc fix.
10860 (appt-check): Handle overlapping appointments. (Bug#8337)
10861
6198ccd0
MR
108622011-06-11 Martin Rudalics <rudalics@gmx.at>
10863
10864 * window.el (window-tree-1, window-tree): New functions, moving
10865 the latter to window.el.
10866 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10867 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10868 (bw-refresh-edges): Remove.
10869 (balance-windows-1, balance-windows-2): New functions.
10870 (balance-windows): Rewrite in terms of window tree functions,
10871 balance-windows-1 and balance-windows-2.
10872 (bw-adjust-window): Remove.
10873 (balance-windows-area-adjust): New function with functionality of
10874 bw-adjust-window but using resize-window.
2b75be67
SM
10875 (set-window-text-height): Rewrite doc-string.
10876 Use normalize-live-window and resize-window.
10877 (enlarge-window-horizontally, shrink-window-horizontally):
10878 Rename argument to DELTA.
6198ccd0
MR
10879 (window-buffer-height): New function.
10880 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10881 Rewrite using new window resize routines.
2b75be67
SM
10882 (kill-buffer-and-window, mouse-autoselect-window-select):
10883 Use ignore-errors instead of condition-case.
6198ccd0
MR
10884 (quit-window): Call delete-frame instead of delete-windows-on
10885 for the only buffer on frame.
10886
9397e56f
MR
108872011-06-10 Martin Rudalics <rudalics@gmx.at>
10888
10889 * loadup.el (top-level): Load window before files for the sake
10890 of replace-buffer-in-windows.
10891
10892 * files.el (read-buffer-to-switch)
10893 (switch-to-buffer-other-window)
2b75be67
SM
10894 (switch-to-buffer-other-frame, display-buffer-other-frame):
10895 Move to window.el.
9397e56f
MR
10896
10897 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10898 (previous-buffer): Move to window.el.
10899
10900 * bindings.el (unbury-buffer): Move to window.el.
10901
10902 * window.el (delete-other-windows-vertically): Move after
10903 definition of delete-other-windows.
10904 (other-window, delete-windows-on, replace-buffer-in-windows):
10905 Move here from window.c.
10906 (record-window-buffer, unrecord-window-buffer)
10907 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10908 (switch-to-next-buffer): New functions.
10909 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10910 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
10911 (previous-buffer): Move here from simple.el.
10912 Call switch-to-prev-buffer.
9397e56f
MR
10913 (bury-buffer): Move here from buffer.c. Switch to previous
10914 buffer when window cannot be deleted.
10915 (unbury-buffer): Move here from bindings.el.
10916 (ctl-x-map): Move binding for other-window from window.c to
10917 here.
10918 (read-buffer-to-switch, switch-to-buffer-other-window)
10919 (switch-to-buffer-other-frame): Move here from files.el.
10920 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
10921 (switch-to-buffer): Move here from buffer.c.
10922 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 10923
562dd5e9
MR
109242011-06-10 Martin Rudalics <rudalics@gmx.at>
10925
10926 * window.el (window-min-height, window-min-width): Move here
10927 from window.c. Add defcustoms and rewrite doc-strings.
10928 (resize-mini-window, resize-window): New functions.
10929 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10930 Move here from window.c.
10931 (maximize-window, minimize-window): New functions.
10932 (delete-window, delete-other-windows, split-window): Move here
10933 from window.c.
10934 (window-split-min-size): New function.
10935 (split-window-keep-point): Mention split-window-above-each-other
10936 instead of split-window-vertically.
2b75be67 10937 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
10938 Rename split-window-vertically to split-window-above-each-other
10939 and provide defalias for old definition.
10940 (split-window-side-by-side, split-window-horizontally):
10941 Rename split-window-horizontally to split-window-side-by-side
10942 and provide defalias for the old definition.
562dd5e9
MR
10943 (ctl-x-map): Move bindings for delete-window,
10944 delete-other-windows and enlarge-window here from window.c.
10945 Replace bindings for split-window-vertically and
10946 split-window-horizontally by bindings for
10947 split-window-above-each-other and split-window-side-by-side.
10948
10949 * cus-start.el (all): Remove entries for window-min-height and
10950 window-min-width. Add entries for window-splits and
10951 window-nest.
10952
f0da764a
GM
109532011-06-09 Glenn Morris <rgm@gnu.org>
10954
80675c21
GM
10955 * calendar/appt.el (appt-mode-line): New function.
10956 (appt-check, appt-disp-window): Use it.
10957
f0da764a
GM
10958 * files.el (hack-one-local-variable-eval-safep):
10959 Allow minor-modes with explicit +/-1 arguments.
10960
59f623b7
TZ
109612011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10962
10963 * term/xterm.el (xterm): Add defgroup.
10964 (xterm-extra-capabilities): Add defcustom to supply known xterm
10965 capabilities, skip querying them, or query them (default).
10966 (terminal-init-xterm): Use it.
10967 (terminal-init-xterm-modify-other-keys): New function to set up
10968 modifyOtherKeys support to simplify `terminal-init-xterm'.
10969
9aab8e0d
MR
109702011-06-09 Martin Rudalics <rudalics@gmx.at>
10971
10972 * window.el (resize-window-reset, resize-window-reset-1)
10973 (resize-subwindows-skip-p, resize-subwindows-normal)
10974 (resize-subwindows, resize-other-windows, resize-this-window)
10975 (resize-root-window, resize-root-window-vertically)
10976 (window-deletable-p, window-or-subwindow-p)
10977 (frame-root-window-p): New functions.
10978
e8b08aee
GM
109792011-06-09 Glenn Morris <rgm@gnu.org>
10980
10981 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10982 (ange-ftp-get-files): Use it.
10983
254c37a5
AK
109842011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10985
10986 * mail/sendmail.el (mail-recover-1, mail-recover):
10987 * files.el (recover-file, recover-session):
10988 Handle dired-listing-switches not being just a single short option.
10989
35d7dbd3
GM
109902011-06-09 Glenn Morris <rgm@gnu.org>
10991
10992 * calendar/appt.el (appt-display-message, appt-disp-window):
10993 Handle lists of appointments.
10994
387522b2
MR
109952011-06-08 Martin Rudalics <rudalics@gmx.at>
10996
2b75be67
SM
10997 * window.el (one-window-p): Move down in code.
10998 Rewrite doc-string.
10999 (window-current-scroll-bars): Rewrite doc-string.
11000 Normalize live window argument.
387522b2
MR
11001 (walk-windows, get-window-with-predicate, count-windows):
11002 Rewrite doc-string. Use window-list-1.
11003 (window-in-direction-2, window-in-direction, get-mru-window):
11004 New functions.
11005
d8e4b68b 110062011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11007
11008 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11009 Doc fix (Bug#8713).
11010
110112011-06-08 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11014
110152011-06-08 Juanma Barranquero <lekktu@gmail.com>
11016
11017 * loadhist.el (unload-feature-special-hooks):
11018 Add `comint-output-filter-functions'.
11019
0de12c52
IK
110202011-06-08 Ivan Kanis <gnu@kanis.fr>
11021
11022 * calendar/appt.el (appt-check): Move some initializations into the let.
11023
f3d1777e
MR
110242011-06-08 Martin Rudalics <rudalics@gmx.at>
11025
11026 * window.el (window-height): Defalias to window-total-height.
11027 (window-width): Defalias to window-body-width.
11028
18af70d0
CY
110292011-06-07 Chong Yidong <cyd@stupidchicken.com>
11030
11031 * image-mode.el (image-toggle-animation): New command.
11032 (image-mode-map): Bind it to RET.
11033 (image-mode): Update message.
11034 (image-toggle-display-image): Avoid a spurious cache flush.
11035 (image-transform-rotation): Doc fix.
11036 (image-transform-properties): Return quickly in the normal case.
11037 (image-animate-loop): Rename from image-animate-max-time.
11038
2b75be67 11039 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11040 (create-animated-image): Remove unnecessary function.
11041 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11042 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11043 (image-animate-timer): Use car-safe.
11044 (image-animate-timeout): Rename argument.
11045
190b47e6
MR
110462011-06-07 Martin Rudalics <rudalics@gmx.at>
11047
11048 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11049 window.c. Rename first argument to ALL-FRAMES.
11050 Rephrase doc-strings.
11051 (get-buffer-window-list): Rewrite using window-list-1.
11052 Rephrase doc-string.
a1511caf
MR
11053 (window-safe-min-height, window-safe-min-width): New constants.
11054 (window-size-ignore, window-min-size, window-min-size-1)
11055 (window-sizable, window-sizable-p, window-size-fixed-1)
11056 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11057 (window-max-delta-1, window-max-delta, window-resizable)
11058 (window-resizable-p, window-total-height, window-total-width)
11059 (window-body-width): New functions.
11060 (window-full-height-p, window-full-width-p): Rewrite using
11061 window-total-size.
11062 (window-body-height): Rewrite using window-body-size.
190b47e6 11063
85cc1f11
MR
110642011-06-06 Martin Rudalics <rudalics@gmx.at>
11065
11066 * window.el (window-right, window-left, window-child)
11067 (window-child-count, window-last-child, window-any-p)
11068 (normalize-live-buffer, normalize-live-frame)
11069 (normalize-any-window, normalize-live-window)
11070 (window-iso-combination-p, window-iso-combined-p)
11071 (window-iso-combinations)
11072 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11073 (windows-with-parameter, window-with-parameter)
11074 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11075 (window-atom-check, window-side-check, window-check):
11076 New functions.
85cc1f11
MR
11077 (ignore-window-parameters, window-sides, window-sides-vertical)
11078 (window-sides-slots): New variables.
11079 (window-size-fixed): Move down in code. Minor doc-string fix.
11080
e7156492
AS
110812011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11082
11083 * comint.el (comint-dynamic-complete-as-filename)
11084 (comint-dynamic-complete-filename): Correctly call
11085 completion-in-region.
11086
7e821d0d
DD
110872011-06-05 Deniz Dogan <deniz@dogan.se>
11088
11089 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11090 in last change.
11091
ac09b8a1
DD
110922011-06-05 Deniz Dogan <deniz@dogan.se>
11093
11094 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11095 (rcirc): Use it to prompt for encryption.
11096
34699b85
RW
110972011-06-05 Roland Winkler <winkler@gnu.org>
11098
11099 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11100 (bibtex-search-entries): New command bound to C-c C-a.
11101 (bibtex-display-entries): New function.
11102
004dedd3
RW
111032011-06-05 Roland Winkler <winkler@gnu.org>
11104
11105 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11106 (bibtex-insert-kill): After yanking insert newline if necessary.
11107 (bibtex-initialize): Call bibtex-string-files-init only once.
11108 (bibtex-mode): Do not call easy-menu-add.
11109 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11110 (bibtex-yank): Set arg properly if nil.
11111
022fe7ce
RW
111122011-06-05 Roland Winkler <winkler@gnu.org>
11113
2b75be67
SM
11114 * textmodes/bibtex.el (bibtex-search-entry-globally):
11115 New variable.
022fe7ce
RW
11116 (bibtex-search-entry): Use it.
11117
b7c3692a
RW
111182011-06-05 Roland Winkler <winkler@gnu.org>
11119
11120 * textmodes/bibtex.el (bibtex-entry-format): New option
11121 sort-fields.
11122 (bibtex-format-entry, bibtex-reformat): Honor this option.
11123 (bibtex-parse-entry): Return fields in proper order.
11124
8eda563d
JB
111252011-06-05 Juanma Barranquero <lekktu@gmail.com>
11126
11127 * doc-view.el (doc-view-remove-if): Move computation of result out
11128 of `dolist' to silence misleading lexical-binding warning.
11129
7dbe3dbc
CY
111302011-06-04 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11133 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11134
0c33dd17
MA
111352011-06-04 Michael Albinus <michael.albinus@gmx.de>
11136
11137 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11138 "SunOS 5.10".
11139
f8f91c2b
MA
111402011-06-04 Michael Albinus <michael.albinus@gmx.de>
11141
11142 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11143 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11144 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11145 (tramp-parse-putty):
11146 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11147 (tramp-completion-function-alist-ssh)
11148 (tramp-completion-function-alist-telnet)
11149 (tramp-completion-function-alist-su)
11150 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11151 cookie.
11152
11153 * net/tramp-ftp.el:
11154 * net/tramp-sh.el:
11155 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11156 load "tramp.el" `tramp-set-completion-function'.
11157
e17d9003
SM
111582011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * shell.el: Require and use pcomplete.
11161 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11162 (shell-completion-vars): Set pcomplete-default-completion-function.
11163
6c4cab03
DD
111642011-06-04 Deniz Dogan <deniz@dogan.se>
11165
11166 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11167 `memq' (Bug#8799).
11168
ea9fafe0
SM
111692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11172
b3e945d3
JB
111732011-06-02 Juanma Barranquero <lekktu@gmail.com>
11174
11175 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11176 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11177 * vc/log-view.el (log-view-beginning-of-defun):
11178 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11179 (smerge-refine-forward, smerge-refine-chopup-region):
11180 Silence warning for unused `dotimes' counter variables.
11181
7d520089
SM
111822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * net/tramp.el (tramp-with-progress-reporter): Rename from
11185 with-progress-reporter. Use `declare'.
11186 * net/tramp-smb.el:
11187 * net/tramp-sh.el:
11188 * net/tramp-gvfs.el: Update all uses.
11189
a1c2400f
JB
111902011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11191
11192 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11193 buffer isn't killed before making it current.
11194
2403c841
SM
111952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 Silence various byte-compiler warnings.
11198 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11199 `access-type' and new obsolescence format.
11200 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11201 new format.
11202 (byte-compile-check-variable): New `access-type' argument.
11203 Only warn if the access-type is obsolete.
11204 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11205 (byte-compile-variable-set): Adjust callers.
11206 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11207 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11208 setting it as obsolete.
11209 * simple.el (minibuffer-completing-symbol):
11210 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11211 access as obsolete.
11212 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11213 obsolete yet.
11214 * international/quail.el (quail-mouse-choose-completion): Remove unused
11215 code referring to obsolete var.
11216 (quail-choose-completion-string): Remove.
11217 * server.el (server-clients-with, server-kill-buffer-query-function)
11218 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11219 * proced.el (proced-send-signal):
11220 * emacs-lisp/lisp.el (lisp-complete-symbol):
11221 Replace completion-annotate-function with completion-extra-properties.
11222
2462470b
SM
112232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11224
fb5b2591
SM
11225 * simple.el (goto-line): Use read-number.
11226 (overriding-map-is-bound): Remove.
11227 (saved-overriding-map): Change default.
11228 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11229 Take the map as argument.
11230 (universal-argument, negative-argument, digit-argument): Use it.
11231 (restore-overriding-map): Adjust.
11232 (do-auto-fill): Use fill-forward-paragraph.
11233 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11234
fd6fa53f
SM
11235 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11236 (minibuffer-inactive-mode): New major mode.
11237 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11238 the *Messages* buffer" hack.
11239 (mouse-popup-menubar): Don't burp if the event is a normal key.
11240
2462470b
SM
11241 Miscellaneous tweaks.
11242 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11243 lexical scoping as in subr.el's dolist and dotimes.
11244 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11245 Silence compiler warning.
11246 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11247 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11248 * international/ccl.el (ccl-compile): Trivial simplification.
11249 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11250 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11251 `printflag' argument.
11252 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11253 Purecopy the whole obsolescence data.
11254
108bf785
LL
112552011-06-01 Leo Liu <sdl.web@gmail.com>
11256
11257 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11258 improve doc-string as suggested by Marco Pessotto
11259 <melmothx@gmail.com>.
11260 (rcirc-print): Fix last change.
11261
30a23501
SM
112622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * minibuffer.el (complete-with-action): Return nil for the metadata and
11265 boundaries of non-functional tables.
11266 (completion-table-dynamic): Return nil for the metadata.
11267 (completion-table-with-terminator): Add default case, using
11268 complete-with-action.
11269 (completion--metadata): New function.
11270 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11271 to try and avoid pathological performance problems.
11272 (completion--embedded-envvar-table): Return `category' metadata.
11273
bcd54f83
LMI
112742011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11275
11276 * subr.el (process-alive-p): New tiny convenience function.
11277
e227544d
SM
112782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11281 content but also its previous major mode.
11282
e8296fdc
HE
112832011-05-31 Helmut Eller <eller.helmut@gmail.com>
11284
4d61f28d 11285 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11286 *Backtrace* buffer when we exit with C-M-c.
11287
620c53a6
SM
112882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11289
11290 * minibuffer.el: Add metadata method to completion tables.
11291 (completion-category-overrides): New defcustom.
11292 (completion-metadata, completion--field-metadata)
11293 (completion-metadata-get, completion--styles)
11294 (completion--cycle-threshold): New functions.
11295 (completion-try-completion, completion-all-completions):
11296 Add `metadata' argument to choose completion-styles.
11297 (completion--do-completion): Use metadata to choose cycling.
11298 (completion-all-sorted-completions): Use metadata for sorting.
11299 Remove :completion-cycle-penalty which is not needed any more.
11300 (completion--try-word-completion): Add `metadata' argument.
11301 (minibuffer-completion-help): Check metadata for annotation function
11302 and sorting.
11303 (completion-file-name-table): Return `category' metadata.
11304 (minibuffer-completing-file-name): Make obsolete.
11305 * simple.el (minibuffer-completing-symbol): Make obsolete.
11306 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11307 completion-try-completion.
11308
1257e755
SM
113092011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11312
3767e706
LL
113132011-05-30 Leo Liu <sdl.web@gmail.com>
11314
11315 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11316 (rcirc-print): Decode all incoming messages (bug#8744).
11317 (rcirc-decode-coding-system): Allow value nil for automatic coding
11318 system detection.
3767e706 11319
d1a5d56a
GM
113202011-06-01 Glenn Morris <rgm@gnu.org>
11321
11322 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11323
e8cbec34
CY
113242011-05-29 Chong Yidong <cyd@stupidchicken.com>
11325
11326 * image.el (image-animate-max-time): Allow nil and t values.
11327 Default to nil.
11328 (create-animated-image): Doc fix.
11329 (image-animate-start): Remove second arg; just use
11330 image-animate-max-time.
11331 (image-animate-timeout): Doc fix. Args changed.
11332
11333 * image-mode.el (image-toggle-display-image): Ensure that the
11334 image spec passed to the animate timer is the same object as in
58179cce 11335 the buffer's display property (Bug#6981).
e8cbec34
CY
11336 (image-transform-properties): Doc fix.
11337
11338 * image.el (image-animate-max-time): Default to nil.
11339
159daf87
MR
113402011-05-29 Martin Rudalics <rudalics@gmx.at>
11341
11342 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11343 entire buffer list (Bug#8184).
11344
d66c4c7c
CY
113452011-05-29 Chong Yidong <cyd@stupidchicken.com>
11346
11347 * image.el (imagemagick-types-inhibit)
11348 (imagemagick-register-types): Doc fix.
11349
80aec780
DD
113502011-05-29 Deniz Dogan <deniz@dogan.se>
11351
11352 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11353 default.
11354
1dd3c2d9
CY
113552011-05-29 Chong Yidong <cyd@stupidchicken.com>
11356
11357 * select.el: Don't perform clipboard-manager saving in hooks;
11358 leave the hooks empty.
11359
60e56523
LL
113602011-05-28 Leo Liu <sdl.web@gmail.com>
11361
11362 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11363 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11364 (occur-edit-mode): New major mode (Bug#8463).
11365 (occur-after-change-function): New function.
11366 (occur-engine): Give Occur tags a read-only property.
11367
2b1e1a22
KR
113682011-05-28 Kevin Ryde <user42@zip.com.au>
11369
11370 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11371
5d344e88
CY
113722011-05-28 Chong Yidong <cyd@stupidchicken.com>
11373
8e6ca83d
CY
11374 * bindings.el (help-echo): Make the initial non-indicator dash
11375 empty on graphical terminals (Bug#7295).
11376
5d344e88
CY
11377 * files.el (auto-mode-alist): Move config rule after the
11378 in-stripping one (Bug#8547).
11379
bfbbace7
CY
11380 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11381
fbeba6e2
CY
11382 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11383 setting (Bug#8740).
11384
60ed8c72
AA
113852011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11386
4ac619f0
AA
11387 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11388 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11389 (Bug#8539).
60ed8c72 11390
23db196e
CY
113912011-05-28 Chong Yidong <cyd@stupidchicken.com>
11392
11393 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11394
5012f24c
DK
113952011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11396
11397 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11398 (hs-hide-block-at-point, hs-find-block-beginning)
11399 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11400 (Bug#8279).
11401
6a639b16
GM
114022011-05-28 Glenn Morris <rgm@gnu.org>
11403
11404 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11405
d43eaf2c
CY
114062011-05-28 Chong Yidong <cyd@stupidchicken.com>
11407
5199bde1
CY
11408 * help-fns.el (describe-function-1): If the function is a derived
11409 major mode, print the parent mode.
11410
d43eaf2c
CY
11411 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11412 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11413
423428a8
SM
114142011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11415
0ff8e1ba 11416 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11417 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11418 * progmodes/etags.el (tags-completion-at-point-function):
11419 * info-look.el (info-lookup-completions-at-point): Mark as
11420 non-exclusive.
11421 (info-complete): Adjust accordingly.
11422
423428a8
SM
11423 * info-look.el: Convert to lexical-binding and completion-at-point.
11424 (info-lookup-completions-at-point): New function.
11425 (info-complete): Use it and completion-in-region.
11426
b74aa22b
DA
114272011-05-28 Drew Adams <drew.adams@oracle.com>
11428
11429 * isearch.el: Let M-e start with point at the first mismatched char.
11430 (isearch-fail-pos): New function.
11431 (isearch-edit-string): Use it.
11432
66e2e71d
DK
114332011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11434
11435 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11436
b1890b0f 114372011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11438
11439 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11440 traversal functions for avl-trees.
11441 (avl-tree--stack): New struct.
11442 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11443 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11444 (avl-tree--do-enter): Add optional `updatefun' arg.
11445 Change return value.
eb95d01d 11446 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11447 (avl-tree--do-delete): Add `test' and `nilflag' args.
11448 Change return value.
eb95d01d
TC
11449 (avl-tree-member): Add optional `nilflag'
11450 (avl-tree-member-p): New function.
11451 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11452 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11453 (avl-tree-stack-empty-p): New functions.
11454
3769ddcf
TC
11455 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11456 avl-tree--del-balance1 and make it work both ways.
11457 (avl-tree--del-balance2): Remove.
11458 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11459 make it work both ways.
11460 (avl-tree--enter-balance2): Remove.
11461 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11462 New macros.
11463 (avl-tree--mapc, avl-tree-map): Add direction argument.
11464
eb95d01d 114652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11466
11467 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11468
a9f737ee
CY
114692011-05-27 Chong Yidong <cyd@stupidchicken.com>
11470
11471 * select.el: Support clipboard managers with built-in function
11472 x-clipboard-manager-save, via delete-frame-functions and
11473 kill-emacs-hook.
11474 (xselect-convert-to-targets): Add MULTIPLE target to list.
11475 (xselect-convert-to-save-targets): New function.
11476
c92a1e54
KH
114772011-05-27 Kenichi Handa <handa@m17n.org>
11478
11479 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11480 let-binding rfc2047-encode-encoded-words to nil.
11481
e145f188
GM
114822011-05-27 Glenn Morris <rgm@gnu.org>
11483
5ec8a862
GM
11484 * mail/emacsbug.el: Don't require url-util.
11485
4b29d9fb
GM
11486 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11487
e145f188
GM
11488 * files.el (set-auto-mode):
11489 Also respect mode: entries at the end of the file. (Bug#8586)
11490
7d15102b
GM
114912011-05-26 Glenn Morris <rgm@gnu.org>
11492
98f593b8
GM
11493 * files.el (hack-local-variables-prop-line, hack-local-variables):
11494 Downcase mode names, as seems to be traditional.
27b48e63 11495 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11496
7d15102b
GM
11497 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11498 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11499
51d5b4ec
JD
115002011-05-25 Julien Danjou <julien@danjou.info>
11501
11502 * textmodes/rst.el (rst-define-level-faces): Do not define face
11503 symbol if it is already defined.
11504
91513f63
VB
115052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11506
11507 * play/5x5.el (5x5-new-game, 5x5-randomize):
11508 Reset 5x5-solver-output to nil when a new grid is cast.
11509 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11510 these debugging traces, as defmacro breaks the compiled code.
11511
4d90d6d0
DK
115122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11513
11514 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11515
e1b90ef6
LL
115162011-05-24 Leo Liu <sdl.web@gmail.com>
11517
11518 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11519 (vc-bzr-sha1): Adapt.
11520
d8e4b68b 11521 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11522
11523 * bindings.el: Provide sha1 feature.
11524
db0406bb 115252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11526
11527 * mail/sendmail.el: Require `rfc2047'.
11528 (mail-insert-from-field): Do not perform RFC2047 encoding.
11529 (mail-encode-header): New function.
11530 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11531 buffer to the return value of select-message-coding-system.
11532 Call mail-encode-header.
b8d747b9
KH
11533
11534 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11535
db0406bb 115362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11537
4d90d6d0
DK
11538 * mail/supercite.el (sc-default-cite-frame):
11539 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11540
eb8a5e9b
GM
115412011-05-24 Glenn Morris <rgm@gnu.org>
11542
f8630703
GM
11543 * progmodes/python.el (brm-menu): Declare.
11544
8831bbed
GM
11545 * emulation/viper.el (viper-set-hooks): Declare.
11546
eb8a5e9b
GM
11547 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11548 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11549 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11550 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11551 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11552 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11553
a2a25d24
SM
115542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 Add an :exit-function for completion-at-point.
11557
11558 * minibuffer.el (completion--done): New fun.
11559 (completion--do-completion): Use it. New arg `expect-exact'.
11560 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11561 since completion--do-completion does it for us now.
11562 (minibuffer-force-complete): Use completion--done and
11563 completion--replace. Handle sole-completion case with more care.
11564 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11565 (completion-extra-properties): New var.
11566 (completion-annotate-function): Make obsolete.
11567 (minibuffer-completion-help): Adjust accordingly.
11568 Use completion-list-insert-choice-function.
11569 (completion-at-point, completion-help-at-point):
11570 Bind completion-extra-properties.
11571 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11572 * simple.el (completion-list-insert-choice-function): New var.
11573 (completion-setup-function): Preserve it.
11574 (choose-completion): Pay attention to it, shuffle the code a bit.
11575 (choose-completion-string): New arg `insert-function'.
11576
11577 * textmodes/bibtex.el: Convert to lexical binding.
11578 (bibtex-mode-map): Use completion-at-point.
11579 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11580 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11581 (bibtex-complete): Define as obsolete alias.
11582 (bibtex-complete-internal): Remove.
11583 (bibtex-format-entry): Remove unused sub-group in regexp.
11584 * shell.el (shell--command-completion-data)
11585 (shell-environment-variable-completion):
11586 * pcomplete.el (pcomplete-completions-at-point):
11587 * comint.el (comint--complete-file-name-data): Use :exit-function
11588 instead of completion-table-with-terminator so it also works for
11589 choose-completion.
11590
e44e373d
SM
115912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11592
4f91a816
SM
11593 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11594
782fc819
SM
11595 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11596 (bug#8710).
11597
e44e373d
SM
11598 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11599
381987c3
KM
116002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11601
11602 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11603 customization variable and implement: If non-nil, auto-fill will
11604 be inhibited while on topic's header line.
11605
b776bc70
VB
116062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11607
11608 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11609 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11610 always have a solution in grid size = 5 cases.
11611 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11612 (5x5-solver-output, 5x5-log-buffer): New vars.
11613 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11614 Make these variables buffer local to achieve 5x5 multi-session-ness.
11615 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11616 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11617 (5x5-solve-suggest): New funs.
11618 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11619 randomize a grid so that we ensure that there is always a solution.
11620 (5x5-make-random-grid): Allow other movement than flipping.
11621
7de88b6e
KR
116222011-05-23 Kevin Ryde <user42@zip.com.au>
11623
11624 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11625 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11626 advice and passes PREDICATE.
11627
b1ef1257
SM
116282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11629
bbca48fe
SM
11630 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11631 byte-compile-lambda if it's actually a lambda.
11632
b1ef1257
SM
11633 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11634 Fix function quoting. Use backquote better.
11635
92a9cc65
YS
116362011-05-22 Yuanle Song <sylecn@gmail.com>
11637
11638 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11639 matching (Bug#8516).
11640
f0fb8059
JA
116412011-01-22 Jari Aalto <jari.aalto@cante.net>
11642
11643 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11644 different face (Bug#8178).
11645
d5b44c93
CY
116462011-05-22 Chong Yidong <cyd@stupidchicken.com>
11647
11648 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11649 defface (Bug#8144).
11650
79106a44
SM
116512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11652
9c848d8a
SM
11653 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11654 funcall as well (bug#8712). Warn when performing those conversions.
11655 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11656
79106a44
SM
11657 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11658
88dfa756
GM
116592011-05-22 Glenn Morris <rgm@gnu.org>
11660
11661 * files.el (hack-local-variables-prop-line): Small simplifications.
11662 (hack-local-variables, hack-local-variables-prop-line):
11663 If MODE-ONLY, return the mode, rather than just `t'.
11664
b7cf2c79
SM
116652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11668
3f1a8558
GM
116692011-05-21 Glenn Morris <rgm@gnu.org>
11670
7e4ccca3
GM
11671 * files.el (hack-local-variables-prop-line, hack-local-variables):
11672 If only interested in the mode, don't bother doing the other stuff.
11673
637d46ca
GM
11674 * image-mode.el (image-after-revert-hook):
11675 Redraw all frames on which the image is visible. (Bug#8567)
11676
973d955b
GM
11677 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11678
3f1a8558
GM
11679 * wid-edit.el (widget-checklist-match-inline):
11680 Fix 2011-04-19 change. (Bug#8649)
11681
96479927
SM
116822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11683
1dcf791f
SM
11684 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11685 Also allow singlespace after single-letter capitals followed by a dot.
11686
96479927
SM
11687 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11688 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11689
35fd0881
N
116902011-05-20 Nix <nix@esperi.org.uk>
11691
11692 * files.el (basic-save-buffer-2):
11693 Fix handling of break-hardlink-on-save with non-existent files.
11694
82745640
DD
116952011-05-19 Deniz Dogan <deniz@dogan.se>
11696
11697 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11698 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11699
4a720484
GM
117002011-05-19 Glenn Morris <rgm@gnu.org>
11701
d1f21341
GM
11702 * progmodes/f90.el (f90-type-def-re):
11703 Handle "type, bind(c)". (Bug#8691)
11704
4a720484
GM
11705 * emacs-lisp/autoload.el (batch-update-autoloads):
11706 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11707
2fb0a219
MA
117082011-05-18 Michael Albinus <michael.albinus@gmx.de>
11709
11710 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11711 property for the correct connection in case of multihops.
11712
e565dd37
GM
117132011-05-18 Glenn Morris <rgm@gnu.org>
11714
c2571358 11715 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11716 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11717
e565dd37
GM
11718 Rationalize calendar handling of day and month abbrev-arrays.
11719 * calendar/calendar.el (calendar-customized-p): New function.
11720 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11721 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11722 Add :set function.
11723 (calendar-abbrev-length, calendar-day-abbrev-array)
11724 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11725 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11726 Elements may no longer be nil.
11727 (calendar-day-name, calendar-month-name):
11728 Update for changed nature of abbrev arrays.
11729 * calendar/diary-lib.el (diary-name-pattern):
11730 Update for changed nature of abbrev arrays.
11731 (diary-mark-entries-1): Update calendar-make-alist calls.
11732 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11733 * calendar/cal-html.el (cal-html-day-abbrev-array):
11734 Simply inherit from calendar-day-abbrev-array.
11735
1d99a745
SM
117362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11737
11738 * progmodes/grep.el (grep-mode): Disable default
11739 compilation-directory-matcher setting (bug#8684).
11740
7c1d9aa0
MA
117412011-05-17 Michael Albinus <michael.albinus@gmx.de>
11742
11743 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11744 instead of "head" and "tail". There were problems with SunOS 5.9,
11745 and it performs better.
11746
3952e9d8
GM
117472011-05-17 Glenn Morris <rgm@gnu.org>
11748
2dd12e7f
GM
11749 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11750
e4157b9c
GM
11751 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11752 Replace obsolete function.
11753
8e249bbd
GM
11754 * shell.el (pcomplete-parse-arguments-function): Declare.
11755
3952e9d8
GM
11756 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11757 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11758 (appt-check): Doc fixes.
11759 (appt-disp-window-function, appt-delete-window-function):
11760 Remove needless special case in custom :type.
11761 (appt-display-count): Default to 0, not nil.
11762 (appt-check): Reset appt-display-count to 0, not nil.
11763
c71a0d48 117642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 11765
c71a0d48
GM
11766 * progmodes/python.el (python-font-lock-keywords):
11767 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 11768
31d55be9
SM
117692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11772
3bfacb2f
KR
117732011-05-16 Kevin Ryde <user42@zip.com.au>
11774
11775 * info-look.el (makefile-automake-mode): New setups, looking in
11776 automake manual, then makefile-mode.
11777 (makefile-mode): Remove automake manual, have it just in
11778 makefile-automake-mode since there's various things different or
11779 not relevant to plain make.
11780 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11781 believe a hypothetical automake-mode would go to makefile-mode,
11782 not the other way around.
11783
c8e83751
CY
117842011-05-15 Chong Yidong <cyd@stupidchicken.com>
11785
5e9e35cd
CY
11786 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11787 hunk-end tags (Bug#8672).
11788
c8e83751
CY
11789 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11790 vc-annotate-show-diff-revision-at-line (Bug#8671).
11791
50b23e5a
GM
117922011-05-14 Glenn Morris <rgm@gnu.org>
11793
7210a739
GM
11794 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11795 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
11796 (change-log-font-lock-keywords): Also handle multiple author lines
11797 with leading tabs. (Bug#8644)
7210a739 11798
4691905a
GM
11799 * calendar/appt.el (appt-check): Rename some local variables.
11800 Some simplification/reordering.
11801
50b23e5a
GM
11802 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11803 (feedmail-sendmail-f-doesnt-sell-me-out)
11804 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11805 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11806 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
11807 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11808 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
11809 (feedmail-binmail-gnulinuxish-template):
11810 Rename from feedmail-binmail-linuxish-template.
11811 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11812 Use insert-buffer-substring.
11813
215cda7c
BC
118142011-05-14 Bill Carpenter <bill@carpenter.org>
11815
11816 * mail/feedmail.el (feedmail-patch-level): Increase.
11817 (feedmail-debug): New custom group.
11818 (feedmail-confirm-outgoing-timeout)
11819 (feedmail-sendmail-f-doesnt-sell-me-out)
11820 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11821 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11822 (feedmail-sender-line, feedmail-from-line)
11823 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 11824 (feedmail-spray-this-address)
215cda7c
BC
11825 (feedmail-spray-address-fiddle-plex-list)
11826 (feedmail-queue-use-send-time-for-date)
11827 (feedmail-queue-use-send-time-for-message-id)
11828 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11829 (feedmail-buffer-eating-function):
11830 Doc fixes.
11831 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11832 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11833 (feedmail-message-action-scroll-down): New functions.
11834 (feedmail-queue-directory, feedmail-queue-draft-directory):
11835 Use expand-file-name.
11836 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11837 Remove C-v help entry.
11838 (feedmail-queue-buffer-file-name): New variable.
11839 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11840 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11841 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11842 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11843 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11844 (feedmail-message-action-toggle-spray)
11845 (feedmail-run-the-queue-no-prompts)
11846 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11847 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11848 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11849 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11850 (feedmail-envelope-deducer, feedmail-fiddle-from)
11851 (feedmail-fiddle-sender, feedmail-default-date-generator)
11852 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11853 (feedmail-fiddle-spray-address)
11854 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11855 (feedmail-fiddle-list-of-fiddle-plexes)
11856 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11857 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11858 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11859 Change default. Doc fix.
11860 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11861 (feedmail-binmail-linuxish-template): New constant.
11862 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11863 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11864 (feedmail-send-it): Add debug call.
11865 Use feedmail-queue-buffer-file-name, and
11866 feedmail-send-it-immediately-wrapper.
11867 (feedmail-message-action-send): Add debug call.
11868 Use feedmail-send-it-immediately-wrapper.
11869 (feedmail-queue-express-to-queue): Add debug call.
11870 Run feedmail-queue-express-hook.
11871 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11872 (feedmail-message-action-help-blat):
11873 Rename from feedmail-queue-send-edit-prompt-help-first.
11874 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11875 Check line-endings. Handle errors better.
11876 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11877 Doc fix. Add debug call.
11878 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11879 Use feedmail-queue-send-edit-prompt-inner.
11880 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11881 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11882 from feedmail-queue-send-edit-prompt.
11883 (feedmail-queue-send-edit-prompt-help)
11884 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11885 (feedmail-tidy-up-slug): Add debug call.
11886 Respect feedmail-queue-slug-suspect-regexp.
11887 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11888 (feedmail-dump-message-to-queue): Add debug call.
11889 Expand queue-directory.
11890 (feedmail-dump-message-to-queue): Change message slightly.
11891 Use feedmail-say-chatter.
11892 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11893 (feedmail-send-it-immediately-wrapper): New function.
11894 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11895 Insert empty string rather than newline. Handle full-frame case.
11896 Use catch/throw. Use feedmail-say-chatter.
11897 (feedmail-fiddle-from): Try mail-host-address.
11898 (feedmail-default-message-id-generator): Doc fix.
11899 Bind system-time-locale. Handle missing end.
11900 (feedmail-fiddle-x-mailer): Add debug call.
11901 Handle feedmail-x-mailer-line being nil.
11902 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11903 Add debug call. Use buffer-substring-no-properties.
11904 (feedmail-say-debug, feedmail-say-chatter): New functions.
11905 (feedmail-find-eoh): Give an explicit error.
11906
42c7e61e
UJ
119072011-05-13 Ulf Jasper <ulf.jasper@web.de>
11908
c2571358 11909 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 11910 family from helvetica to sans.
c2571358 11911 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11912 etc/images/newsticker.
11913
c2571358 11914 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
11915 family from helvetica to sans.
11916
11917 * net/newst-plainview.el (newsticker-new-item-face)
11918 (newsticker-old-item-face, newsticker-immortal-item-face)
11919 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 11920 (newsticker-statistics-face): Change default family from
42c7e61e 11921 helvetica to sans.
c2571358 11922 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
11923 etc/images/newsticker.
11924
5d3385a0
JB
11925 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11926 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
11927 auto-marking.
11928
8497a297
DV
119292011-05-13 Didier Verna <didier@xemacs.org>
11930
11931 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
11932 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11933 TODO entries.
8497a297
DV
11934 (lisp-lambda-list-keyword-parameter-indentation)
11935 (lisp-lambda-list-keyword-parameter-alignment)
11936 (lisp-lambda-list-keyword-alignment): New customizable user options.
11937 (lisp-indent-defun-method): Improve docstring.
11938 (extended-loop-p): Fix comment.
11939 (lisp-indent-lambda-list-keywords-regexp): New variable.
11940 (lisp-indent-lambda-list): New function.
11941 (lisp-indent-259): Use it.
11942 (lisp-indent-defmethod): Support for more than one
11943 method qualifier and properly indent methods lambda-lists.
11944 (defgeneric): Provide a missing common-lisp-indent-function property.
11945
f278f87f
SM
119462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11949 bounds for the empty string (bug#8667).
11950
5233edd7
GM
119512011-05-13 Glenn Morris <rgm@gnu.org>
11952
5237a44f
GM
11953 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11954
8340026c 11955 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 11956 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 11957
5233edd7 11958 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 11959 (appt-time-msg-list): Doc fix.
a5464014 11960 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 11961
92d10796
AS
119622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11963
11964 * progmodes/ld-script.el (ld-script-keywords)
11965 (ld-script-builtins): Update keywords list.
11966
914a0ae1
SM
119672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11968
c89be45f
SM
11969 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11970
914a0ae1
SM
11971 * shell.el (shell-completion-vars): New function.
11972 (shell-mode):
11973 * simple.el (read-shell-command): Use it.
11974 (blink-matching-open): No need for " [...]" in minibuffer-message.
11975
98dc3df3
GM
119762011-05-12 Glenn Morris <rgm@gnu.org>
11977
11978 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11979 (appt-check): Simplify.
11980
d2fc7e3d 119812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11982
4d61f28d 11983 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11984 literal "/dev/null".
11985
d2fc7e3d 119862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11987
11988 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11989 Fix typo.
11990
d2fc7e3d 119912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11992
3f254caa
SM
11993 * progmodes/which-func.el (which-function):
11994 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11995 which might not be defined (Bug#8260).
11996
d45885f7
GM
119972011-05-12 Glenn Morris <rgm@gnu.org>
11998
11999 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12000 Let byte-compile-initial-macro-environment always take precedence.
12001
488086f4
SM
120022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12003
12004 * net/rcirc.el: Add support for SSL/TLS connections.
12005 (rcirc-server-alist): New field `encryption'.
12006 (rcirc): Check `encryption' settings.
12007 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12008 Merge make-local-variable into `set'.
12009 (rcirc--connection-open-p): New function.
12010 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12011 the process is not a network process (e.g. running gnutls-cli).
12012 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12013 Make rcirc-(en|de)code-coding-system local here.
12014 (rcirc-mode): Merge make-local-variable into `set'.
12015 (rcirc-parent-buffer): Make permanent buffer-local.
12016 (rcirc-multiline-minor-mode): Don't do it here.
12017 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12018 there's no server buffer.
12019
7d3b9d44
GM
120202011-05-11 Glenn Morris <rgm@gnu.org>
12021
f64049c6
GM
12022 * newcomment.el (comment-kill): Prefix "unused" local.
12023
93c9df73
GM
12024 * term/w32console.el (get-screen-color): Declare.
12025
7d3b9d44
GM
12026 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12027 Handle symbol elements of byte-compile-initial-macro-environment.
12028
9e2dd53f
LL
120292011-05-10 Leo Liu <sdl.web@gmail.com>
12030
488086f4
SM
12031 * bookmark.el (bookmark-bmenu-mode-map):
12032 Bind bookmark-bmenu-search to `/'.
8b340240 12033
9e2dd53f 12034 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12035 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12036 (Footnote-unicode): New function.
12037 (footnote-style-alist): Add unicode style to the list.
12038 (footnote-style): Doc fix.
9e2dd53f 12039
79b70037
GM
120402011-05-10 Jim Meyering <meyering@redhat.com>
12041
12042 Fix doubled-word typos.
12043 * international/quail.el (quail-insert-kbd-layout): and and -> and
12044 * kermit.el: and and -> and
12045 * net/ldap.el (ldap-search-internal): to to -> to
12046 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12047 * progmodes/js.el (js-mode): and and -> and
12048 * textmodes/artist.el (artist-move-to-xy): at at -> at
12049 (artist-draw-region-trim-line-endings): if if -> if
12050 And Safetyc -> Safety.
12051 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12052
b8f82dc1 120532011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12054 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12055
12056 * files.el (hack-one-local-variable-eval-safep):
12057 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12058
4f99f44b
GM
120592011-05-10 Glenn Morris <rgm@gnu.org>
12060
12061 * calendar/diary-lib.el (diary-list-entries-hook)
12062 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12063 (diary-nongregorian-marking-hook, diary-list-entries)
12064 (diary-include-other-diary-files, diary-mark-entries)
12065 (diary-mark-included-diary-files): Doc fixes.
12066
84f29e6b
JB
120672011-05-09 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * misc.el: Require tabulated-list.el during compilation.
12070
9bedd73a
CY
120712011-05-09 Chong Yidong <cyd@stupidchicken.com>
12072
488086f4
SM
12073 * progmodes/compile.el (compilation-start):
12074 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12075 (compilation-filter-hook): Doc fix.
12076
797c735c
DD
120772011-05-09 Deniz Dogan <deniz@dogan.se>
12078
12079 * wdired.el: Remove outdated installation comment. Fix usage
12080 comment.
12081
5f4b1dfe
JB
120822011-05-09 Juanma Barranquero <lekktu@gmail.com>
12083
12084 * misc.el: Implement new command `list-dynamic-libraries'.
12085 (list-dynamic-libraries--loaded-only-p): New variable.
12086 (list-dynamic-libraries--refresh): New function.
12087 (list-dynamic-libraries): New command.
12088
4c44026c
CY
120892011-05-09 Chong Yidong <cyd@stupidchicken.com>
12090
488086f4
SM
12091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12092 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12093 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12094 higher priority to avoid clobbering by gnu.
12095
027f966d
CY
120962011-05-08 Chong Yidong <cyd@stupidchicken.com>
12097
12098 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12099 if the face has existing theme settings (Bug#8454).
12100
085f5d7d
CY
121012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12102
488086f4
SM
12103 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12104 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12105
2a86a00c
RS
12106 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12107 special file names `.' and `..' (Bug#8259).
12108
d9c54a06
CY
121092011-05-08 Chong Yidong <cyd@stupidchicken.com>
12110
488086f4
SM
12111 * progmodes/grep.el (grep-mode-font-lock-keywords):
12112 Remove buffer-changing entries.
d9c54a06
CY
12113 (grep-filter): New function.
12114 (grep-mode): Add it to compilation-filter-hook.
12115
12116 * progmodes/compile.el (compilation-filter-hook)
12117 (compilation-filter-start): New defvars.
12118 (compilation-filter): Call compilation-filter-hook prior to
12119 updating the process mark.
12120
c4662635
SM
121212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12124
b0512a1d
EZ
121252011-05-07 Eli Zaretskii <eliz@gnu.org>
12126
605c9376
EZ
12127 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12128 mailclient-send-it even if window-system is nil. (Bug#8595)
12129
c4662635
SM
12130 * term/w32console.el (terminal-init-w32console):
12131 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12132 background-mode. (Bug#8597)
12133
d1dc2cc2
SM
121342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12137 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12138 New functions.
12139 (defgeneric, eieio--defmethod): Use them.
12140 (eieio-defgeneric): Remove.
12141 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12142
915d1300
GM
121432011-05-07 Glenn Morris <rgm@gnu.org>
12144
a3961c3e
GM
12145 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12146 Use let rather than let*.
12147 (timeclock-find-discrep): Remove unused local.
12148
314347b9
GM
12149 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12150
915d1300
GM
12151 * calendar/appt.el (appt-time-msg-list): Doc fix.
12152
275b59b0
NF
121532011-05-06 Noah Friedman <friedman@splode.com>
12154
12155 * apropos.el (apropos-print-doc): Only use
12156 emacs-lisp-docstring-fill-column when it is bound to an integer,
12157 per that variable's documentation.
12158
6c19f744
SM
121592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12162 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12163
60f884b2
GM
121642011-05-06 Glenn Morris <rgm@gnu.org>
12165
5006e634
GM
12166 * calendar/appt.el (appt-message-warning-time): Doc fix.
12167 (appt-warning-time-regexp): New option.
12168 (appt-make-list): Respect appt-message-warning-time.
12169
548d0a63
GM
12170 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12171 New options.
12172 (diary-add-to-list): Strip comments from the displayed string.
12173 (diary-mode): Set comment-start and comment-end.
12174
60f884b2
GM
12175 * vc/diff-mode.el (smerge-refine-subst): Declare.
12176 (diff-refine-hunk): Don't require smerge-mode when compiling.
12177
989681bb
JB
121782011-05-06 Juanma Barranquero <lekktu@gmail.com>
12179
12180 * simple.el (list-processes): Return nil as the docstring says.
12181
a6bc05e1
MA
121822011-05-05 Michael Albinus <michael.albinus@gmx.de>
12183
12184 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12185 to "".
12186 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12187 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12188 determining of binary transfer. (Bug#7383)
12189
23c22e9a
MA
121902011-05-05 Michael Albinus <michael.albinus@gmx.de>
12191
c4662635
SM
12192 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12193 Fix port computation bug. (Bug#8618)
23c22e9a 12194
0bff894f
GM
121952011-05-05 Glenn Morris <rgm@gnu.org>
12196
b8296902
GM
12197 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12198
1f522ce8
GM
12199 * simple.el (shell-dynamic-complete-functions)
12200 (comint-dynamic-complete-functions): Declare.
12201
cf5bee67
GM
12202 * net/network-stream.el (gnutls-negotiate):
12203 * simple.el (tabulated-list-print): Fix declarations.
12204
12205 * progmodes/gud.el (syntax-symbol, syntax-point):
12206 Remove unnecessary and incorrect declarations.
12207
0bff894f
GM
12208 * emacs-lisp/check-declare.el (check-declare-scan):
12209 Handle byte-compile-initial-macro-environment in bytecomp.el
12210
9869b3ae
SM
122112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12212
12213 Fix earlier half-done eieio-defmethod change (bug#8338).
12214 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12215 Streamline and change calling convention.
12216 (defmethod): Adjust accordingly and simplify.
12217 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12218 new eieio--defmethod.
12219 (slot-boundp): Minor CSE simplification.
12220
9c1d5ac5
MZ
122212011-05-05 Milan Zamazal <pdm@zamazal.org>
12222
12223 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12224 (glasses-make-readable): Use glasses-separate-capital-groups.
12225
455c834e
JB
122262011-05-05 Juanma Barranquero <lekktu@gmail.com>
12227
12228 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12229 (warning-series): Doc fix.
12230 (display-warning): Don't try to create the buffer if we just found it.
12231
9ed7c8cb
CY
122322011-05-04 Chong Yidong <cyd@stupidchicken.com>
12233
12234 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12235 (autoload-find-generated-file): New function.
12236 (generate-file-autoloads): Bind generated-autoload-file to
12237 buffer-file-name.
9869b3ae
SM
12238 (update-file-autoloads, update-directory-autoloads):
12239 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12240 output file (Bug#7989).
12241 (batch-update-autoloads): Doc fix.
12242
0898ca10
JB
122432011-05-04 Juanma Barranquero <lekktu@gmail.com>
12244
12245 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12246
31dfb76c
GM
122472011-05-04 Glenn Morris <rgm@gnu.org>
12248
f330b642
GM
12249 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12250 function, so it follows changes in calendar-date-style.
12251 (diary-fancy-date-matcher): New function.
12252 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12253 (diary-fancy-font-lock-fontify-region-function):
12254 Use diary-fancy-date-pattern as a function.
12255
31dfb76c
GM
12256 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12257 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12258
48e79d6a
TZ
122592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12260
12261 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12262 instead of positional arguments. Allow :keylist and :crlfiles
12263 arguments.
12264 (open-gnutls-stream): Call it.
12265
12266 * net/network-stream.el (network-stream-open-starttls): Adjust to
12267 call `gnutls-negotiate' with :process and :hostname arguments.
12268
dd5a5ee0
SM
122692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12270
ef80fc09
SM
12271 * minibuffer.el (completion--message): New function.
12272 (completion--do-completion, minibuffer-complete)
12273 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12274 (completion--do-completion): Don't ignore completion-auto-help when in
12275 icomplete-mode.
12276
dd5a5ee0
SM
12277 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12278 internal encoding (e.g. tibetan zero is not whitespace).
12279 (global-whitespace-mode): Prefer save-current-buffer.
12280 (whitespace-trailing-regexp): Remove useless save-match-data.
12281 (whitespace-empty-at-bob-regexp): Minor simplification.
12282
b7d22a83
CY
122832011-05-03 Chong Yidong <cyd@stupidchicken.com>
12284
12285 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12286
5192af46
AM
122872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12288
12289 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12290 Use `concat' to create string for insertion.
5192af46 12291
5767d190
SM
122922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12293
12294 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12295 Avoid open-line which runs post-self-insert-hook.
12296 (bibtex-fill-entry): Remove unused `end' var.
12297
bf242939
AM
122982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12299
5767d190
SM
12300 * textmodes/ispell.el (ispell-add-per-file-word-list):
12301 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12302
25666126
LL
123032011-05-03 Leo Liu <sdl.web@gmail.com>
12304
12305 * isearch.el (isearch-yank-pop): New command.
5767d190 12306 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12307 (isearch-forward): Mention it.
12308
52d3c2d0
SM
123092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12310
1bcace58
SM
12311 * simple.el (minibuffer-complete-shell-command): Remove.
12312 (minibuffer-local-shell-command-map): Use completion-at-point.
12313 (read-shell-command): Setup completion vars here instead.
12314 (read-expression-map): Bind TAB to symbol completion.
12315
52d3c2d0
SM
12316 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12317 error directly rather via storing it into `results'.
12318
35813471
LL
123192011-05-02 Leo Liu <sdl.web@gmail.com>
12320
12321 * vc/diff.el: Fix description.
12322
e793a940
LMI
123232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12324
12325 * server.el (server-eval-at): New function.
12326
8de66e05
LMI
123272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12328
12329 * net/network-stream.el (open-network-stream): Take a :nowait
12330 parameter and pass it on to `make-network-process'.
12331 (network-stream-open-plain): Ditto.
12332
dcb79f20
AS
123332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12334
12335 * faces.el (face-spec-set-match-display): Don't match toolkit
12336 options on terminal frames.
12337
14a7fbd8
SM
123382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12339
7eabc1be
SM
12340 * progmodes/pascal.el: Use lexical binding.
12341 (pascal-mode-map): Remove author preferences.
12342
14a7fbd8
SM
12343 * pcomplete.el (pcomplete-std-complete): Don't abuse
12344 completion-at-point.
12345
50f84510
JB
123462011-04-28 Juanma Barranquero <lekktu@gmail.com>
12347
6e087a44
JB
12348 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12349 removing code that has been dead since 1991 or so.
12350
50f84510
JB
12351 * startup.el (command-line): When warning about "_emacs", use a
12352 delayed warning to allow the user to filter it out.
12353
0ba690bd
DD
123542011-04-28 Deniz Dogan <deniz@dogan.se>
12355
12356 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12357 user has not joined.
12358
08abfaad
SM
123592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12362 aren't any completions at point.
12363
638f053a
JB
123642011-04-28 Juanma Barranquero <lekktu@gmail.com>
12365
12366 * subr.el (display-delayed-warnings): New function.
12367 (delayed-warnings-hook): New variable.
12368
8fff8daa
SM
123692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12370
08abfaad
SM
12371 * minibuffer.el (completion-at-point, completion-help-at-point):
12372 Don't presume that a given completion-at-point-function will always
12373 use the same calling convention.
12374
8fff8daa
SM
12375 * pcomplete.el (pcomplete-completions-at-point):
12376 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12377 pcomplete-seen is non-nil.
12378 (pcomplete-comint-setup): Also recognize the new comint/shell
12379 completion functions.
12380 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12381 pcomplete-seen is non-nil.
12382
841a1577 123832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12384
841a1577 12385 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12386 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12387 the first character in the entry. This allows for code to add its
211ec907
UJ
12388 own uid to the entry.
12389 (icalendar--convert-float-to-ical): Add export of
12390 `diary-float'-entries save for those with the optional DAY
12391 argument.
12392
2a782793
DC
123932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12394
12395 * subr.el (shell-quote-argument): Use alternate escaping strategy
12396 when we spot a variable reference in a string.
12397
0438ce91
DC
123982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12399
12400 * cus-start.el (all): Define customization for debug-on-event.
12401
841a1577 124022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12403
12404 * subr.el (shell-quote-argument): Escape correctly under Windows.
12405
d090ed6c
SM
124062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12409
bfd31217
MA
124102011-04-25 Michael Albinus <michael.albinus@gmx.de>
12411
d090ed6c
SM
12412 * net/tramp.el (tramp-process-actions): Add POS argument.
12413 Delete region between POS and (pos).
bfd31217 12414
d090ed6c
SM
12415 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12416 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12417 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12418
12419 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12420 position in `tramp-process-actions' call.
12421
12422 * net/trampver.el: Update release number.
12423
e92f3bd3
SM
124242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12425
850256b5
SM
12426 * custom.el (defcustom): Obey lexical-binding.
12427
e92f3bd3
SM
12428 Fix octave-inf completion problems reported by Alexander Klimov.
12429 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12430 Inherit from octave-mode-syntax-table.
12431 (inferior-octave-mode): Set info-lookup-mode.
12432 (inferior-octave-completion-at-point): New function.
12433 (inferior-octave-complete): Use it and completion-in-region.
12434 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12435 comint-filename-completion.
12436 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12437 symbol elements which shouldn't be word elements.
12438 (octave-font-lock-keywords, octave-beginning-of-defun)
12439 (octave-function-header-regexp): Adjust regexps accordingly.
12440 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12441
cd22b309
JB
124422011-04-25 Juanma Barranquero <lekktu@gmail.com>
12443
12444 * net/gnutls.el (gnutls-errorp): Declare before first use.
12445
8b492194
TZ
124462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12447
12448 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12449 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12450 default trustfile exists before going to use it. Add missing
5a5fa834 12451 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12452 Reported by Claudio Bley <claudio.bley@gmail.com>.
12453 (open-gnutls-stream): Add usage example.
12454
12455 * net/network-stream.el (network-stream-open-starttls): Give host
12456 parameter to `gnutls-negotiate'.
12457 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12458 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12459
841a1577 124602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12461
cd22b309
JB
12462 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12463 Use correct match group (bug#8438).
05842630 12464
3ba7869c
CY
124652011-04-24 Chong Yidong <cyd@stupidchicken.com>
12466
512e3ae1
CY
12467 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12468 (package-menu--generate): New arg specifying packages to show.
12469 (package-menu-refresh, package-menu-execute, list-packages):
12470 Callers changed.
12471 (package-show-package-list): New function, replacing deleted
12472 package--list-packages (renamed because it is non-internal).
12473
12474 * finder.el (finder-list-matches): Use package-show-package-list
12475 instead of deleted package--list-packages.
12476
e92f3bd3
SM
12477 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12478 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12479 (vc-annotate-mode-map): Bind it to RET.
12480
7031be6d
UR
124812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12482
12483 * progmodes/etags.el (next-file): Don't use set-buffer to change
12484 buffers (Bug#8478).
12485
4ef177aa
CY
124862011-04-24 Chong Yidong <cyd@stupidchicken.com>
12487
c8d173eb
CY
12488 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12489
4ef177aa
CY
12490 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12491 (apropos-accumulator): Doc fix.
12492 (apropos-function, apropos-macro, apropos-command)
12493 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12494 (apropos-plist): Add face property.
12495 (apropos-symbols-internal): Fix indentation.
12496 (apropos-print): Simplify help, and recognize apropos-multi-type.
12497 (apropos-print-doc): Use button-type-get to extract the button's
12498 face property. Fill docstring (Bug#8352).
12499
4ffd0d6b 125002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12501
12502 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12503
c6c32125 12504 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12505 (mpuz-mode-map): Use mapc.
c6c32125
JB
12506 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12507 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12508 Fix typos in docstrings.
12509
58d468b4
JB
12510 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12511 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12512
6470c3c6
JB
12513 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12514
4ffd0d6b 125152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12516
12517 * minibuffer.el (completion--do-completion): Avoid the "Next char
12518 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12519
3ad8bad0
CY
12520 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12521 mouse-2 into unread-command-events, it is interpreted correctly.
12522
71d73c9c 12523 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12524 (image-toggle-display): Doc fix.
71d73c9c 12525
841a1577 125262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12527
4ffd0d6b
GM
12528 * textmodes/page.el (what-page): Use line-number-at-pos to
12529 calculate line number (Bug#6825).
6e1dbaa9 12530
c2fb1b60
JB
125312011-04-22 Juanma Barranquero <lekktu@gmail.com>
12532
12533 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12534 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12535 Pass argument NO-DEFAULT to `find-tag-interactive'.
12536
e02f48d7
JB
125372011-04-22 Juanma Barranquero <lekktu@gmail.com>
12538
12539 Lexical-binding cleanup.
12540
12541 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12542 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12543 * progmodes/ada-prj.el (ada-prj-initialize-values)
12544 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12545 (ada-prj-show-value):
12546 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12547 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12548 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12549 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12550 * progmodes/bug-reference.el (bug-reference-push-button):
12551 * progmodes/fortran.el (fortran-line-length):
12552 * progmodes/glasses.el (glasses-change):
12553 * progmodes/octave-mod.el (octave-fill-paragraph):
12554 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12555 (python-pdbtrack-grub-for-buffer, python-sentinel):
12556 * progmodes/sql.el (sql-save-connection):
12557 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12558 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12559 Mark unused parameters.
12560
12561 * progmodes/compile.el (compilation--flush-directory-cache)
12562 (compilation--flush-parse, compile-internal): Mark unused parameters.
12563 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12564 (compilation-next-error-function): Remove unused variable `timestamp'.
12565
12566 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12567 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12568
12569 * progmodes/dcl-mode.el (dcl-end-of-command):
12570 Remove unused variable `start'.
12571 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12572 (dcl-option-value-basic, dcl-option-value-offset)
12573 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12574 Mark unused parameters.
12575 (dcl-save-local-variable): Remove unused variable `val'.
12576 (mode): Declare.
12577
12578 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12579 Mark unused parameters.
12580 (delphi-ignore-changes): Move before first use.
12581 (delphi-charset-token-at): Remove unused variable `start'.
12582 (delphi-else-start): Remove unused variable `if-count'.
12583 (delphi-comment-block-start, delphi-comment-block-end):
12584 Remove unused variable `kind'.
12585 (delphi-indent-line): Remove unused variable `new-point'.
12586
12587 * progmodes/ebrowse.el (ebrowse-files-list)
12588 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12589 Mark unused parameters. Don't quote `lambda'.
12590 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12591 Don't quote `lambda'.
12592 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12593 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12594 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12595 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12596 Use `ignore-errors'.
12597 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12598 (ebrowse-view/find-file-and-search-pattern)
12599 (ebrowse-view/find-member-declaration/definition):
12600 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12601 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12602 Rename parameter PREFIX-ARG to PREFIX.
12603 (ebrowse-tags-read-name): Remove unused variables `start' and
12604 `member-info'.
12605 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12606 to `tags-file'.
12607
12608 * progmodes/etags.el (local-find-tag-hook): Declare.
12609 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12610 Mark unused parameters.
12611
12612 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12613 (executable-interpret): Mark unused parameter.
12614
12615 * progmodes/flymake.el (flymake-process-sentinel)
12616 (flymake-after-change-function)
12617 (flymake-create-temp-with-folder-structure)
12618 (flymake-get-include-dirs-dot): Mark unused parameters.
12619 (flymake-safe-delete-directory): Remove unused variable `err'.
12620
12621 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12622 (speedbar-timer-fn, speedbar-line-text)
12623 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12624 (speedbar-center-buffer-smartly): Declare functions.
12625 (gdb-find-watch-expression): Remove unused variable `array'.
12626 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12627 (gdb-starting): Mark unused parameters.
12628 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12629 (gdb-table-string): Remove unused variable `res'.
12630 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12631 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12632 (gdb-display-buffer): Remove unused variable `cur-size'.
12633
12634 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12635 allow lexical-binding compilation.
12636 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12637 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12638 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12639 Mark unused parameters.
12640 (gud-gdb-marker-filter): Remove unused variable `match'.
12641 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12642 lambda expressions and funcall them, instead of using `fset'.
12643
12644 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12645 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12646
12647 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12648 variable `header-beg'; use `let'.
12649
12650 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12651 `restart', `last-sexp' and `at-do'.
12652
12653 * progmodes/js.el (js--debug): Mark unused parameter.
12654 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12655 (js--splice-into-items): Remove unused variable `item'.
12656 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12657
12658 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12659 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12660 (makefile-complete): Remove unused variable `try'.
12661 (makefile-fill-paragraph, makefile-match-function-end):
12662 Mark unused parameters.
12663
12664 * progmodes/octave-inf.el (inferior-octave-complete):
12665 Remove unused variable `proc'.
12666 (inferior-octave-output-digest): Mark unused parameter.
12667
12668 * progmodes/perl-mode.el (perl-calculate-indent):
12669 Remove unused variable `err'.
12670
12671 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12672 (prolog-indent-line): Mark unused parameters.
12673 (prolog-indent-line): Remove unused variable `beg'.
12674
12675 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12676 (reporter-dont-compact-list): Declare.
12677
12678 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12679 Remove unused variable `char'.
12680 (sh-debug): Mark unused parameter.
12681 (sh-get-indent-info): Remove unused variable `start'.
12682 (sh-calculate-indent): Remove unused variable `var'.
12683
12684 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12685 (simula-electric-keyword): Remove unused variable `null'.
12686 (simula-search-backward, simula-search-forward): Remove unused
12687 variables `begin' and `end'.
12688
12689 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12690 Remove unused variable `pos'.
12691 (vera-electric-tab, vera-comment-uncomment-region):
12692 Mark unused parameters.
12693 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12694
7ede3b65
CY
126952011-04-22 Chong Yidong <cyd@stupidchicken.com>
12696
12697 * emacs-lisp/package.el (package--builtins, package-alist)
12698 (package-load-descriptor, package-built-in-p, package-activate)
12699 (define-package, package-installed-p)
12700 (package-compute-transaction, package-buffer-info)
12701 (package--push): Doc fix. Distinguish more clearly between
12702 version strings and version lists.
12703
121656e9
JB
127042011-04-21 Juanma Barranquero <lekktu@gmail.com>
12705
12706 Lexical-binding cleanup.
12707
12708 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12709 (5x5-make-mutate-best):
12710 * play/fortune.el (fortune-in-buffer):
12711 * play/gomoku.el (gomoku-init-display):
12712 * play/solitaire.el (solitaire, solitaire-do-check):
12713 * play/tetris.el (tetris-default-update-speed-function):
12714 Mark unused parameters.
12715
12716 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12717 (bubbles--shift): Remove unused variable `char-org'.
12718 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12719 (bubbles--show-images): Remove unused variable `char'.
12720
12721 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12722 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12723 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12724 (decipher-analyze-buffer): Use ?\s.
12725 (decipher-make-checkpoint): Remove unused variable `mapping'.
12726
12727 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12728
12729 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12730 Remove unused variable `result'; use `let'.
12731
12732 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12733 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12734 (gametree-children-shown-p, gametree-compute-reduced-score):
12735 Use `ignore-errors'.
12736
12737 * play/handwrite.el (ps-lpr-switches): Declare.
12738 (handwrite): Remove unused variables `pmin' and `lastp'.
12739
12740 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12741
12742 * play/landmark.el (landmark-init-display)
12743 (landmark-update-naught-weights): Mark unused parameters.
12744 (landmark-y): Remove unused variable `noise'. Simplify.
12745 (landmark-human-plays): Remove unused variable `score'.
12746
12747 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12748 (mpuz-try-proposal): Remove unused variable `game'.
12749
12750 * play/zone.el (life-patterns): Declare.
12751
80f499c7
JB
127522011-04-20 Juanma Barranquero <lekktu@gmail.com>
12753
12754 * vc/vc.el (ediff-vc-internal): Declare function.
12755
024ff170
SM
127562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12757
c0a193ea
SM
12758 * shell.el: Use lexical-binding and std completion UI.
12759 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12760 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12761 comint-preoutput-filter-functions rather than on
12762 comint-output-filter-functions.
12763 (shell-command-completion, shell--command-completion-data)
12764 (shell-filename-completion, shell-environment-variable-completion)
12765 (shell-c-a-p-replace-by-expanded-directory): New functions.
12766 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12767 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12768 (shell-dynamic-complete-environment-variable): Use them.
12769 (shell-dynamic-complete-as-environment-variable)
12770 (shell-dynamic-complete-as-command): Remove.
12771 (shell-match-partial-variable): Match past point.
12772 * comint.el: Clean up use of completion-at-point-functions.
12773 (comint-completion-at-point): New function.
12774 (comint-mode): Use it completion-at-point-functions.
12775 (comint-dynamic-complete): Make it obsolete.
12776 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12777 (comint-c-a-p-replace-by-expanded-history): New function.
12778 (comint-dynamic-complete-functions)
12779 (comint-replace-by-expanded-history): Use it.
12780 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12781 termination strings. Try harder to avoid second try-completion.
12782 (completion-in-region-mode-map): Disable bindings that don't work yet.
12783
2dbaa080
SM
12784 * comint.el: Use lexical-binding. Require CL.
12785 (comint-dynamic-complete-functions): Use comint-filename-completion.
12786 (comint-completion-addsuffix): Tweak custom type.
12787 (comint-filename-completion, comint--common-suffix)
12788 (comint--common-quoted-suffix, comint--table-subvert)
12789 (comint--complete-file-name-data): New functions.
12790 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12791 (comint-dynamic-list-filename-completions): Use them.
12792 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 12793
2dbaa080
SM
12794 * minibuffer.el (completion-in-region-mode):
12795 Keep completion-in-region-mode--predicate global.
12796 (completion-in-region--postch):
12797 Assume completion-in-region-mode--predicate is not null.
12798
c79a6f38
SM
12799 * progmodes/flymake.el (flymake-start-syntax-check-process):
12800 Obey `dir'. Simplify.
12801
024ff170
SM
12802 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12803 we're in VC after all.
12804
1c6c854e
CS
128052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12806
12807 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 12808 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
12809 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12810
bed7f140
SM
128112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12812
332e62ab
SM
12813 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12814 add sanity check.
12815
bed7f140
SM
12816 * obsolete/erc-hecomplete.el: Make obsolete.
12817 * obsolete/: Standardize obsolescence info in the header.
12818
f195c582
GM
128192011-04-20 Glenn Morris <rgm@gnu.org>
12820
12821 * calendar/solar.el (solar-horizontal-coordinates):
12822 Use the longitude argument rather than `calendar-longitude'.
12823 (solar-date-next-longitude): Remove unused locals.
12824
cb79b8c0
VJL
128252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12826
12827 * whitespace.el: New version 13.2.1.
12828
128292011-04-20 felix <EmacsWiki> (tiny change)
12830
d8e4b68b 12831 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
12832 switching between major modes on a file.
12833
602ea69d
SM
128342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12835
12836 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12837 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12838 multi-line comments as well.
12839
06b60517
JB
128402011-04-19 Juanma Barranquero <lekktu@gmail.com>
12841
12842 Lexical-binding cleanup.
12843
12844 * arc-mode.el (archive-mode-revert):
12845 * cmuscheme.el (scheme-interactively-start-process):
12846 * custom.el (custom-initialize-delay):
12847 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12848 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12849 * emacs-lock.el (emacs-lock-clear-sentinel):
12850 * ezimage.el (defezimage):
12851 * follow.el (follow-avoid-tail-recenter):
12852 * fringe.el (set-fringe-mode-1):
12853 * generic-x.el (bat-generic-mode-compile):
12854 * help-mode.el (help-info-variable, help-do-xref)
12855 (help-mode-revert-buffer):
12856 * help.el (view-emacs-todo):
12857 * iswitchb.el (iswitchb-completion-help):
12858 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12859 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12860 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12861 * locate.el (locate-update):
12862 * longlines.el (longlines-encode-region)
12863 (longlines-after-change-function):
12864 * outline.el (outline-isearch-open-invisible):
12865 * ps-def.el (declare-function, charset-dimension, char-width)
12866 (encode-char):
12867 * ps-mule.el (ps-mule-plot-string):
12868 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12869 (recentf-edit-list-select, recentf-edit-list-validate)
12870 (recentf-open-files-action):
12871 * rect.el (delete-whitespace-rectangle-line)
12872 (rectangle-number-line-callback):
12873 * register.el (window-configuration-to-register)
12874 (frame-configuration-to-register):
12875 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12876 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12877 (xselect-convert-to-targets, xselect-convert-to-delete)
12878 (xselect-convert-to-filename, xselect-convert-to-charpos)
12879 (xselect-convert-to-lineno, xselect-convert-to-colno)
12880 (xselect-convert-to-os, xselect-convert-to-host)
12881 (xselect-convert-to-user, xselect-convert-to-class)
12882 (xselect-convert-to-name, xselect-convert-to-integer)
12883 (xselect-convert-to-atom, xselect-convert-to-identity):
12884 * subr.el (declare, ignore, process-kill-without-query)
12885 (text-clone-maintain):
12886 * terminal.el (te-get-char, te-tic-sentinel):
12887 * tool-bar.el (tool-bar-make-keymap):
12888 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12889 * type-break.el (type-break-mode, type-break-noninteractive-query):
12890 * view.el (View-back-to-mark):
12891 * wid-browse.el (widget-browse-action, widget-browse-widget)
12892 (widget-browse-widgets, widget-browse-sexp):
12893 * widget.el (define-widget-keywords):
12894 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12895 Mark unused parameters.
12896
12897 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12898 (align-areas): Remove unused variable `look'.
12899 (align-region): Remove unused variables `real-end' and `pos-list'.
12900
12901 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12902
12903 * bindings.el (mode-line-modified, mode-line-remote):
12904 Mark unused parameters.
12905 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12906
12907 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12908 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12909
12910 * comint.el (comint-history-isearch-pop-state)
12911 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12912 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12913 (comint-substitute-in-file-name): Doc fix.
12914
12915 * completion.el (cmpl-statistics-block): Mark unused parameter.
12916 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12917 (save-completions-to-file, load-completions-from-file):
12918 Remove unused local variable `e'.
12919
12920 * composite.el (compose-chars): Remove unused variable `len'.
12921 (lgstring-insert-glyph): Remove unused variable `g'.
12922 (compose-glyph-string): Remove unused variables `ascent',
12923 `descent', `lbearing' and `rbearing'.
12924 (compose-glyph-string-relative): Remove unused variables
12925 `lbearing', `rbearing' and `wadjust'.
12926 (compose-gstring-for-graphic): Remove unused variables `header',
12927 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12928 (compose-gstring-for-terminal): Remove unused variables `header'
12929 and `nchars'. Use `let', not `let*'.
12930
12931 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12932 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12933 (Custom-buffer-done, custom-buffer-create-internal)
12934 (custom-browse-visibility-action, custom-browse-group-tag-action)
12935 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12936 (widget-magic-mouse-down-action, custom-toggle-parent)
12937 (custom-add-parent-links, custom-toggle-hide-variable)
12938 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12939 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12940 (custom-face-menu-create, custom-variable-menu-create, get)
12941 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12942 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12943 (customize-apropos): Remove unused variable `tests'.
12944 (custom-group-value-create): Remove unused variable `hidden-p'.
12945 (sort-fold-case): Declare.
12946
12947 * cus-theme.el (custom-reset-standard-faces-list)
12948 (custom-reset-standard-variables-list): Declare.
12949 (customize-create-theme, custom-theme-revert, custom-theme-write)
12950 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12951 Mark unused parameters.
12952
12953 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12954
12955 * delim-col.el (delimit-columns-max): Move defvar before first use.
12956
12957 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 12958 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
12959
12960 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12961 (auto-insert): Declare.
12962 (desktop-restore-file-buffer): Rename desktop-* parameters;
12963 mark unused ones.
12964 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12965 (desktop-buffer): Rename desktop-* parameters.
12966
12967 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12968 (dframe-reposition-frame-xemacs, dframe-help-echo)
12969 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12970 Mark unused parameters.
12971
12972 * dired-aux.el (backup-extract-version-start, overwrite-query)
12973 (overwrite-backup-query, rename-regexp-query)
12974 (rename-non-directory-query): Declare.
12975 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12976 (dired-add-entry): Remove unused variable `orig-file-name'.
12977 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12978 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12979 `dired-copy-preserve-time' directly.
12980 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12981 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12982
12983 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12984 (dired-virtual-revert, dired-make-relative-symlink):
12985 Mark unused parameters.
12986 (manual-program): Declare.
12987 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12988 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12989 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12990
12991 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12992
12993 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12994
12995 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12996 Declare.
12997
12998 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12999
13000 * electric.el (Electric-command-loop): Rename parameter
13001 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13002
13003 * expand.el (expand-in-literal): Remove unused variable `here'.
13004
13005 * facemenu.el (facemenu-add-new-color):
13006 Remove unused variable `docstring'.
13007
13008 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13009 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13010 (face-attr-construct): Mark unused parameter. Doc fix.
13011 (read-color): Remove unused variable `hex-string'.
13012
13013 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13014 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13015 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13016 (display-buffer-other-frame): Remove unused variable `old-window'.
13017 (kill-buffer-hook): Declare.
13018 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13019 Mark unused parameters.
13020 (after-find-file): Pass 1 to `auto-save-mode', not t.
13021
13022 * files-x.el (auto-insert): Declare.
13023 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13024
13025 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13026 variable `buf'. Mark unused parameter.
06b60517
JB
13027 (find-lisp-insert-directory): Mark unused parameter.
13028
13029 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13030 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13031 (format-common-tail): Remove, unused.
13032 (format-deannotate-region): Remove unused variable `loc'.
13033 (format-annotate-region): Remove unused variable `p'.
13034 (format-annotate-single-property-change): Remove unused variables
13035 `default' and `tail'.
13036
13037 * forms.el (read-file-filter): Declare.
13038 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13039
13040 * frame.el (frame-creation-function-alist): Mark unused parameter.
13041 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13042
13043 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13044 Remove unused parameters.
13045 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13046 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13047
13048 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13049 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13050 (hfy-prepare-tag-map): Mark unused parameters.
13051 (htmlfontify-buffer): Use `called-interactively-p'.
13052
13053 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13054 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13055 (ibuffer-do-occur): Mark unused parameters.
13056 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13057 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13058
13059 * ibuffer.el: Don't quote `lambda'.
13060 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13061 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13062 Mark unused parameters.
13063
13064 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13065 (ido-completing-read): Mark unused parameters.
13066 (ido-copy-current-word): Mark unused parameters;
13067 remove unused variable `name'.
13068 (ido-sort-merged-list): Remove unused parameter `dirs'.
13069
13070 * ielm.el (ielm-input-sender): Mark unused parameter.
13071 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13072 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13073 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13074 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13075 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13076
13077 * image-dired.el (image-dired-display-thumbs): Remove unused
13078 variables `curr-file' and `count'.
13079 (image-dired-remove-tag): Remove unused variable `start'.
13080 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13081 variable `curr-file'
13082 (image-dired-rotate-original): Remove unused variable `temp-file'.
13083 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13084 Remove unused variable `file'.
13085 (image-dired-gallery-generate): Remove unused variable `curr'.
13086 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13087
13088 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13089
13090 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13091
13092 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13093
13094 * isearch.el (minibuffer-history-symbol): Declare.
13095 (isearch-edit-string): Remove unused variable `err'.
13096 (isearch-message-prefix, isearch-message-suffix):
13097 Mark unused parameters.
13098
13099 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13100
13101 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13102
13103 * makesum.el (double-column): Remove unused variable `cnt'.
13104
13105 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13106 (ido-ignore-item-temp-list): Declare.
13107
13108 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13109 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13110 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13111 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13112 `mouse-col-delta'.
13113
13114 * mouse-sel.el (mouse-extend-internal):
13115 Remove unused variable `orig-window-frame'.
13116
13117 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13118 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13119 Move declarations before first use.
13120 (pcomplete-opt): Mark unused parameters; doc fix.
13121
13122 * proced.el (proced-revert): Mark unused parameter.
13123 (proced-send-signal): Remove unused variable `err'.
13124
13125 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13126 Rename parameter PREFIX-ARG to ARG.
13127 (ps-basic-plot-string, ps-basic-plot-whitespace):
13128 Mark unused parameters.
13129
13130 * replace.el (replace-count): Define.
13131 (occur-revert-function): Mark unused parameters.
13132 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13133 (isearch-case-fold-search, isearch-string): Declare.
13134 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13135 bind `case-fold-search'. Remove unused variables `beg' and `end',
13136 and simplify.
13137 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13138 COUNT and bind `replace-count'.
13139 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13140 to COUNT.
13141
13142 * savehist.el (print-readably, print-string-length): Declare.
13143
13144 * shadowfile.el (shadow-expand-cluster-in-file-name):
13145 Remove unused variable `cluster'.
13146 (shadow-copy-file): Remove unused variable `i'.
13147 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13148 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13149 (shadow-define-literal-group, shadow-define-regexp-group)
13150 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13151
13152 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13153 (shell): Use `called-interactively-p'.
13154 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13155
13156 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13157 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13158 (delete-backward-char): Remove unused variable `ocol'.
13159 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13160 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13161 (event-apply-hyper-modifier, event-apply-shift-modifier)
13162 (event-apply-control-modifier, event-apply-meta-modifier):
13163 Mark unused parameters.
13164 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13165 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13166
13167 * speedbar.el (speedbar-ignored-directory-expressions)
13168 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13169 (speedbar-find-file, speedbar-dir-follow)
13170 (speedbar-directory-buttons-follow, speedbar-tag-find)
13171 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13172 (speedbar-buffers-line-directory, speedbar-buffer-click):
13173 Mark unused parameters.
13174 (speedbar-tag-file): Remove unused variable `mode'.
13175 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13176
13177 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13178
13179 * talk.el (talk): Remove unused variable `display'.
13180
13181 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13182 (tar-write-region-annotate): Mark unused parameter.
13183
13184 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13185 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13186 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13187 warning by another.
13188
13189 * time-stamp.el (time-stamp-string-preprocess):
13190 Remove unused variable `require-padding'.
13191
13192 * tree-widget.el (widget-glyph-enable): Declare.
13193 (tree-widget-action): Mark unused parameter.
13194
13195 * w32-fns.el (x-get-selection): Mark unused parameter.
13196 (autoload-make-program, generated-autoload-file): Declare.
13197
13198 * wdired.el (wdired-revert): Mark unused parameters.
13199 (wdired-xcase-word): Remove unused variable `err'.
13200
13201 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13202 (whitespace-help-scroll): Remove unused variable `data-help'.
13203
13204 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13205 (widget-image-insert, widget-after-change, default)
13206 (widget-default-format-handler, widget-default-notify)
13207 (widget-default-prompt-value, widget-info-link-action)
13208 (widget-url-link-action, widget-function-link-action)
13209 (widget-variable-link-action, widget-file-link-action)
13210 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13211 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13212 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13213 (widget-insert-button-action, widget-delete-button-action, visibility)
13214 (widget-documentation-link-action, widget-documentation-string-action)
13215 (widget-const-prompt-value, widget-regexp-match, symbol)
13216 (widget-coding-system-prompt-value)
13217 (widget-key-sequence-value-to-external, sexp)
13218 (widget-sexp-value-to-internal, character, vector, cons)
13219 (widget-choice-prompt-value, widget-boolean-prompt-value)
13220 (widget-color--choose-action): Mark unused parameters.
13221 (widget-item-match-inline, widget-choice-match-inline)
13222 (widget-checklist-match, widget-checklist-match-inline)
13223 (widget-group-match): Rename parameter VALUES to VALS.
13224 (widget-field-value-set): Remove unused variable `size'.
13225 (widget-color-action): Remove unused variables `value' and `start'.
13226
13227 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13228 variable `dir'. Doc fix.
06b60517
JB
13229 (windmove-find-other-window): Don't pass it.
13230
13231 * window.el (count-windows): Mark unused parameter.
13232 (bw-adjust-window): Remove unused variable `err'.
13233
13234 * woman.el (woman-file-name): Remove unused variable `default'.
13235 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13236 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13237 (global-font-lock-mode): Declare.
13238 (woman-decode-region): Mark unused parameter.
13239 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13240
13241 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13242 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13243 (x-dnd-handle-moz-url): Remove unused variable `title'.
13244 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13245
13246 * xml.el (xml-parse-tag, xml-parse-attlist):
13247 Remove unused variable `pos'.
13248
bc4f7f3d
GM
132492011-04-19 Glenn Morris <rgm@gnu.org>
13250
13251 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13252 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13253 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13254 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13255 * calendar/cal-html.el (cal-html-insert-minical):
13256 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13257 (calendar-mark-date-pattern):
13258 Prefix "unused" locals.
13259
13260 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13261 optional argument `style'.
13262
13263 * calendar/appt.el (appt-make-list):
13264 * calendar/cal-china.el (calendar-chinese-date-string):
13265 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13266 (diary-hebrew-yahrzeit):
13267 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13268 * calendar/calendar.el (calendar-generate-window):
13269 * calendar/time-date.el (time-to-days):
13270 Remove unused local variables.
13271
16a43933
CY
132722011-04-18 Chong Yidong <cyd@stupidchicken.com>
13273
13274 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13275 glyphless-char-display table.
13276 (tabulated-list-glyphless-char-display): New var.
13277
7eed1860
SS
132782011-04-18 Sam Steingold <sds@gnu.org>
13279
13280 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13281 to acknowledgments.
13282
4d2d1ccd
GM
132832011-04-17 Glenn Morris <rgm@gnu.org>
13284
13285 * calendar/diary-lib.el (diary-sexp-entry):
13286 * calendar/holidays.el (holiday-sexp):
13287 Set debug-on-error rather than the removed stack-trace-on-error.
13288
239da61d
GM
132892011-04-16 Glenn Morris <rgm@gnu.org>
13290
13291 * progmodes/f90.el: Use lexical-binding.
13292 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13293
8b05752a
SM
132942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13295
daca8ba5
SM
13296 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13297 (mail-mode): Setup mailalias completion here instead.
13298 * mail/mailalias.el: Use lexical-binding.
13299 (pattern, mailalias-done): Declare dynamic.
13300 (mail-completion-at-point-function): New function, from mail-complete.
13301 (mail-complete): Use it.
13302 (mail-completion-expand): New function.
13303 (mail-get-names): Use it.
13304 (mail-directory, mail-directory-process, mail-directory-stream):
13305 Don't use `pattern' for lexically bound arg.
13306
6f542485
SM
13307 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13308
037e7c3f
SM
13309 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13310 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13311 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13312
8b05752a
SM
13313 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13314 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13315 (byte-interactive-p): Define them again, for use when inlining
13316 old code.
13317
49093f60
JB
133182011-04-15 Juanma Barranquero <lekktu@gmail.com>
13319
13320 * loadup.el: Use `string-to-number', not `string-to-int'.
13321
b5b8e7de
SM
133222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13323
13324 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13325 gud-gdb-complete-command.
13326 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13327 (gud-gdb-completion-at-point): New function.
13328 (gud-gdb-completions): Remove.
13329
f42efeb5
MA
133302011-04-14 Michael Albinus <michael.albinus@gmx.de>
13331
49093f60
JB
13332 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13333 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13334 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13335 whether `executable-find' is bound.
f42efeb5
MA
13336
13337 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13338
e240cc21
SM
133392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * minibuffer.el (completion-in-region-mode-predicate)
13342 (completion-in-region-mode--predicate): New vars.
13343 (completion-in-region, completion-in-region--postch)
13344 (completion-in-region-mode): Use them.
13345 (completion--capf-wrapper): Also return the hook function.
13346 (completion-at-point, completion-help-at-point):
13347 Adjust and provide a predicate.
c2bd2ab0
SM
13348
13349 Preserve arg names for advice of subr and lexical functions (bug#8457).
13350 * help-fns.el (help-function-arglist): Consolidate the subr and
13351 new-byte-code cases. Add argument `preserve-names' to extract names
13352 from the docstring when needed.
13353 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13354 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13355 (ad-arglist): Use help-function-arglist's new arg.
13356 (ad-definition-type): Use cond.
13357
c183f693
JB
133582011-04-13 Juanma Barranquero <lekktu@gmail.com>
13359
06641a47
JB
13360 * autorevert.el (auto-revert-handler):
13361 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13362 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13363 Don't quote lambda.
13364
c183f693
JB
13365 * image-mode.el (image-transform-set-scale):
13366 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13367
1e3b6001
G
133682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13369
13370 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13371 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13372 Upgrades via gnutls-cli are too slow to be done opportunistically.
13373
2d6af8dd
JB
133742011-04-12 Juanma Barranquero <lekktu@gmail.com>
13375
13376 * dframe.el (dframe-current-frame): Remove spurious quote.
13377
c0749a51
GM
133782011-04-12 Glenn Morris <rgm@gnu.org>
13379
088d0d61
GM
13380 * calendar/cal-tex.el (cal-tex-end-document):
13381 Try to automatically use latin1 input if needed.
13382
c0749a51
GM
13383 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13384 Don't try to cons a mark onto an empty element.
13385
5c90fde0
LL
133862011-04-11 Leo Liu <sdl.web@gmail.com>
13387
13388 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13389 buffers.
13390 (ido-kill-buffer-at-head): Support killing virtual buffers.
13391
369e974d
CY
133922011-04-10 Chong Yidong <cyd@stupidchicken.com>
13393
13394 * minibuffer.el (completion-show-inline-help): New var.
13395 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13396 (minibuffer-force-complete, minibuffer-complete-word):
13397 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13398
13399 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13400 to avoid interference from inline help (Bug#5849).
13401
37f1c930
LL
134022011-04-10 Leo Liu <sdl.web@gmail.com>
13403
099c39a4
JB
13404 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13405 Fix typo.
37f1c930 13406
a32d4040
CY
134072011-04-09 Chong Yidong <cyd@stupidchicken.com>
13408
13409 * image-mode.el (image-toggle-display-image): Signal an error if
13410 not in Image mode.
13411 (image-transform-mode, image-transform-resize)
13412 (image-transform-set-rotation): Doc fix.
daca8ba5 13413 (image-transform-set-resize): Delete.
a32d4040
CY
13414 (image-transform-set-scale, image-transform-fit-to-height)
13415 (image-transform-fit-to-width): Handle image-toggle-display-image
13416 and image-transform-resize directly.
13417
099c39a4 134182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13419
13420 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13421 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13422 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13423 (doc-view-mode-map): Add bindings for the new functions.
13424
099c39a4 134252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13426
4d61f28d 13427 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13428 Fix typo in docstring.
13429
3726838a
EZ
134302011-04-08 Eli Zaretskii <eliz@gnu.org>
13431
04f33f1e
EZ
13432 * files.el (file-size-human-readable): Produce one digit after
13433 decimal, like "ls -lh" does.
13434
13435 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13436 the file size representation.
13437
3726838a
EZ
13438 * simple.el (list-processes): If async subprocesses are not
13439 available, error out with a clear error message.
13440
cbb59342
CY
134412011-04-08 Chong Yidong <cyd@stupidchicken.com>
13442
13443 * help.el (help-form-show): New function, to be called from C.
13444 Put help-form output in a buffer named differently than *Help*.
13445
e3971c44
EZ
134462011-04-08 Eli Zaretskii <eliz@gnu.org>
13447
13448 * files.el (file-size-human-readable): New function.
13449
13450 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13451 computing the representation inline. Don't require `cl'.
13452
12544bbe
GM
134532011-04-08 Glenn Morris <rgm@gnu.org>
13454
a1de6c6a
GM
13455 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13456
3c4671f4
GM
13457 * net/browse-url.el (browse-url-firefox):
13458 Test system-type, not system-configuration.
13459
b605679c
GM
13460 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13461 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13462 Use log-edit-empty-buffer-p. (Bug#7598)
13463
56442f0c
GM
13464 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13465 (rlogin-mode-map): Initialize in the defvar.
13466 (rlogin): Use ignore-errors.
13467
12544bbe
GM
13468 * replace.el (occur-mode-map): Some fixes for menu items.
13469
eb237b0f
AH
134702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13471
13472 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13473
7d668f2c
CY
134742011-04-06 Chong Yidong <cyd@stupidchicken.com>
13475
e67a13ab
CY
13476 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13477 issuing unused warnings.
13478
13479 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13480 macro directly.
13481
7d668f2c
CY
13482 * simple.el: Lisp reimplement of list-processes. Based on an
13483 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13484 (process-menu-mode): New major mode.
13485 (list-processes--refresh, list-processes):
13486 (process-menu-visit-buffer): New functions.
13487
13488 * files.el (save-buffers-kill-emacs): Don't assume any return
13489 value of list-processes, which is undocumented anyway.
13490
a83ec3c9
CY
134912011-04-06 Chong Yidong <cyd@stupidchicken.com>
13492
13493 * emacs-lisp/tabulated-list.el: New file.
13494
e91a96fe
CY
13495 * emacs-lisp/package.el: Use Tabulated List mode.
13496 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13497 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13498 table format using Tabulated List mode variables.
13499 (package--push): New macro, replacing package-list-maybe-add.
13500 (package-menu--generate): Use package--push. Renamed from
13501 package--generate-package-list.
13502 (package-menu-refresh, list-packages): Use it.
daca8ba5 13503 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13504 Return insertion data instead of inserting it directly.
099c39a4
JB
13505 (package-menu-describe-package, package-menu-execute):
13506 Use tabulated-list-get-id.
e91a96fe
CY
13507 (package-menu-mark-delete, package-menu-mark-install)
13508 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13509 (package-menu-mark-obsolete-for-deletion):
13510 Use tabulated-list-put-tag.
e91a96fe
CY
13511 (package--list-packages, package-menu-revert)
13512 (package-menu-get-package, package-menu-get-version)
13513 (package-menu-sort-by-column): Functions deleted.
13514 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13515 (package-menu--status-predicate, package-menu--version-predicate)
13516 (package-menu--name-predicate)
13517 (package-menu--description-predicate): Handle arguments in the
13518 Tabulated List format.
13519 (package-list-packages-no-fetch): Call list-packages.
13520
3e214b50
JB
135212011-04-06 Juanma Barranquero <lekktu@gmail.com>
13522
13523 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13524 (after-find-file): Don't bind it.
3e214b50
JB
13525 (revert-buffer-in-progress-p): New variable.
13526 (revert-buffer): Bind it.
13527 Pass nil for `after-find-file-from-revert-buffer'.
13528
13529 * saveplace.el (save-place-find-file-hook): Use new variable
13530 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13531
3f0f1700
GM
135322011-04-06 Glenn Morris <rgm@gnu.org>
13533
c0274801
GM
13534 * Makefile.in (AUTOGEN_VCS): New variable.
13535 (autoloads): Use $AUTOGEN_VCS.
13536
3f0f1700
GM
13537 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13538 * calendar/calendar.el (calendar-mode-map):
13539 Check for toolkit scroll bars. (Bug#8305)
13540
41ea9e48
CY
135412011-04-05 Chong Yidong <cyd@stupidchicken.com>
13542
13543 * minibuffer.el (completion-in-region--postch)
13544 (completion-in-region-mode): Remove unnecessary messages.
13545
6194c800
JB
135462011-04-05 Juanma Barranquero <lekktu@gmail.com>
13547
33256f14
JB
13548 * font-lock.el (font-lock-refresh-defaults):
13549 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13550 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13551
6194c800
JB
13552 * info.el (Info-directory-list, Info-read-node-name-2)
13553 (Info-split-parameter-string): Doc fixes.
13554 (Info-virtual-nodes): Reflow docstring.
13555 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13556 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13557 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13558 Fix typos in docstrings.
13559 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13560 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13561 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13562 (Info-restore-desktop-buffer): Mark unused parameters.
13563 (Info-directory-find-file, Info-directory-find-node)
13564 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13565 (Info-virtual-index-find-node, Info-apropos-find-file)
13566 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13567 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13568 (Info-virtual-index): Remove unused local variable `nodename'.
13569
b87a8200 135702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13571
b87a8200
DD
13572 * net/rcirc.el: Update my e-mail address.
13573 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13574
3b2ff876
CY
135752011-04-05 Chong Yidong <cyd@stupidchicken.com>
13576
13577 * startup.el (command-line): Save the cursor's theme-face
13578 directly, instead of using face-override-spec.
13579
13580 * custom.el (load-theme): Minor optimization in assigning faces.
13581
8d17e7ca
JB
135822011-04-04 Juanma Barranquero <lekktu@gmail.com>
13583
13584 * help-fns.el (describe-variable): Complete all variables having
13585 documentation, including keywords.
13586 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13587
2fbc1934
JB
135882011-04-04 Juanma Barranquero <lekktu@gmail.com>
13589
13590 Convert to lexical-binding.
13591
13592 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13593 (bs--get-marked-string, bs--get-modified-string)
13594 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13595 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13596 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13597
13598 * ehelp.el (electric-help-execute-extended)
13599 (electric-help-ctrl-x-prefix):
13600 * hexl.el (hexl-revert-buffer-function):
13601 * linum.el (linum-after-change, linum-after-scroll):
13602 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13603
13604 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13605
74f50695
DU
136062011-04-04 Daiki Ueno <ueno@unixuser.org>
13607
13608 * epa-dired.el:
13609 * epa-mail.el:
13610 * epa-hook.el:
13611 * epa-file.el:
13612 * epa.el:
13613 * epg.el: Use lexical binding.
13614
c11325f7
CY
136152011-04-03 Chong Yidong <cyd@stupidchicken.com>
13616
0d9e9a12
CY
13617 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13618
c11325f7 13619 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13620 dictionary case for flyspell-mark-duplications-exceptions.
13621 Use regexp matching for languages.
c11325f7
CY
13622 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13623 default dictionary (Bug#7926).
13624
da91b5f2
CY
136252011-04-02 Chong Yidong <cyd@stupidchicken.com>
13626
099c39a4
JB
13627 * emacs-lisp/package.el (package--with-work-buffer):
13628 Recognize https URLs.
da91b5f2 13629
099c39a4
JB
13630 * net/network-stream.el: Move from gnus/proto-stream.el.
13631 Change prefix to network-stream throughout.
da91b5f2
CY
13632 (open-protocol-stream): Merge into open-network-stream, leaving
13633 open-protocol-stream as an alias. Handle nil BUFFER args.
13634
13635 * subr.el (open-network-stream): Move to net/network-stream.el.
13636
afa8e9f6
GM
136372011-04-02 Glenn Morris <rgm@gnu.org>
13638
1d2e369d
GM
13639 * find-dired.el (find-exec-terminator): New option.
13640 (find-ls-option): Test for -ls support.
13641 (find-ls-subdir-switches): Test for -b in find-ls-option.
13642 (find-dired, find-grep-dired): Doc fixes.
13643 (find-dired): Use find-exec-terminator.
13644
8abb7da8 13645 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13646 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13647 (find-name-arg): Remove purecopy.
8abb7da8 13648
f3ca7378
GM
13649 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13650 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13651 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13652 accordingly. Don't add the null-device if not needed.
13653
afa8e9f6
GM
13654 * files.el (save-some-buffers): Doc fix.
13655
35eae264
EZ
136562011-04-02 Eli Zaretskii <eliz@gnu.org>
13657
13658 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13659
26b51db5
JB
136602011-04-01 Juanma Barranquero <lekktu@gmail.com>
13661
13662 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13663 Use `dolist' rather than `mapcar'.
13664
7200d79c
SM
136652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13666
03408648 13667 Add lexical binding.
7200d79c 13668
03408648
SM
13669 * subr.el (apply-partially): Use new closures rather than CL.
13670 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13671 (dolist, dotimes): Use slightly different expansion for lexical code.
13672 (functionp): Move to C.
13673 (letrec): New macro.
13674 (with-wrapper-hook): Use it and apply-partially instead of CL.
13675 (eval-after-load): Preserve lexical-binding.
13676 (save-window-excursion, with-output-to-temp-buffer): Turn them
13677 into macros.
7200d79c 13678
03408648
SM
13679 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13680
13681 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13682 than the arglist.
13683 (help-add-fundoc-usage): Don't add `Not documented'.
13684 (help-function-arglist): Handle closures, subroutines, and new
13685 byte-code-functions.
13686 (help-make-usage): Remove leading underscores.
13687 (describe-function-1): Handle closures.
13688 (describe-variable): Use special-variable-p for completion.
13689
13690 * files.el (lexical-binding): Declare safe.
f488fb65 13691
03408648
SM
13692 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13693 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13694 (pcase): Add `let' pattern.
13695 Change memoization so it actually works.
13696 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13697 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13698 <let>: New case.
f488fb65 13699
03408648
SM
13700 * emacs-lisp/macroexp.el: Use lexical binding.
13701 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13702 Don't convert ' to #' without checking that it's indeed quoting
13703 a lambda.
13704
13705 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13706 Use eval-sexp-add-defvars.
03408648
SM
13707 (eval-sexp-add-defvars): New fun.
13708
13709 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13710
13711 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13712 Don't autoload.
13713 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13714 than the internal `byte-compile-lambda'.
13715 (defmethod): Don't hide code under quotes.
13716 (eieio-defmethod): New `code' argument.
13717
13718 * emacs-lisp/eieio-comp.el: Remove.
13719
13720 * emacs-lisp/edebug.el (edebug-eval-defun)
13721 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13722 (edebug-toggle): Avoid `eval'.
13723
13724 * emacs-lisp/disass.el (disassemble-internal): Handle new
13725 `closure' objects.
13726 (disassemble-1): Handle new byte codes.
13727
13728 * emacs-lisp/cl.el (pushnew): Silence warning.
13729
13730 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13731 (cl-byte-compile-throw): Remove.
13732 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13733
13734 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13735 closures.
13736
13737 * emacs-lisp/cconv.el: New file.
13738
13739 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13740 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13741 (byte-compile-initial-macro-environment):
13742 Handle declare-function here.
13743 (byte-compile--lexical-environment): New var.
13744 (byte-stack-ref, byte-stack-set, byte-discardN)
13745 (byte-discardN-preserve-tos): New lap codes.
13746 (byte-interactive-p): Don't use any more.
13747 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13748 New macros.
13749 (byte-compile-lapcode): Use them and handle new lap codes.
13750 (byte-compile-obsolete): Remove.
13751 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13752 (byte-compile-arglist-warn): Check late def of inlinable funs.
13753 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13754 since they should have been expanded by now.
13755 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13756 (byte-compile-from-buffer): Remove unused second arg.
13757 (byte-compile-preprocess): New function.
13758 (byte-compile-toplevel-file-form): New function to distinguish
13759 file-form calls from outside from file-form calls from hunk-handlers.
13760 (byte-compile-file-form): Simplify.
13761 (byte-compile-file-form-defsubst): Remove.
13762 (byte-compile-file-form-defmumble): Simplify now that
13763 byte-compile-lambda always returns a byte-code-function.
13764 (byte-compile): Preprocess.
13765 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13766 Remove, not used any more.
13767 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13768 (byte-compile-make-args-desc): New funs.
13769 (byte-compile-lambda): Handle lexical functions. Always return
13770 a byte-code-function.
13771 (byte-compile-reserved-constants): New var, to make up room for
13772 closed-over variables.
13773 (byte-compile-constants-vector): Obey it.
13774 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13775 (byte-compile-macroexpand-declare-function): New function.
13776 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13777 byte-code-functions.
13778 (byte-compile-form): Check obsolescence here.
13779 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13780 (byte-compile-variable-ref): Remove.
13781 (byte-compile-dynamic-variable-op): New fun.
13782 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13783 (byte-compile-variable-set): New funs.
13784 (byte-compile-discard): Add 2 args.
13785 (byte-compile-stack-ref, byte-compile-stack-set)
13786 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13787 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13788 macroexpand-all instead.
13789 (byte-compile-quote-form): Remove.
13790 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13791 (byte-compile-bind, byte-compile-unbind): New funs.
13792 (byte-compile-let): Handle let* and lexical binding.
13793 (byte-compile-let*): Remove.
13794 (byte-compile-catch, byte-compile-unwind-protect)
13795 (byte-compile-track-mouse, byte-compile-condition-case):
13796 Handle a new :fun-body form, used for lexical scoping.
13797 (byte-compile-save-window-excursion)
13798 (byte-compile-with-output-to-temp-buffer): Remove.
13799 (byte-compile-defun): Simplify.
13800 (byte-compile-stack-adjustment): New fun.
13801 (byte-compile-out): Use it.
13802 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13803
13804 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13805 handler any more.
13806
13807 * emacs-lisp/byte-opt.el: Use lexical binding.
13808 (byte-inline-lapcode): Remove (to bytecomp).
13809 (byte-compile-inline-expand): Pay attention to inlining to/from
13810 lexically bound code.
13811 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13812 any more.
13813 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13814 any more and don't call compiler-macros.
13815 (byte-compile-splice-in-already-compiled-code): Remove.
13816 (byte-code): Don't inline any more.
13817 (disassemble-offset): Receive `bytes' as argument rather than via
13818 dynamic scoping.
13819 (byte-compile-tag-number): Declare before first use.
13820 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13821 `return' even if make-spliceable.
13822 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13823 obsolete interactive-p.
13824 (byte-optimize-lapcode): Optimize new lap-codes.
13825 Don't trip up on new form of `byte-constant' lap code.
13826
13827 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13828
13829 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13830
13831 * custom.el (custom-initialize-default, custom-declare-variable):
13832 Use `defvar'.
13833
13834 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13835 New variables.
13836 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13837 (COMPILE_FIRST): Add macroexp and cconv.
13838 * makefile.w32-in: Mirror changes in Makefile.in.
13839
13840 * vc/cvs-status.el:
13841 * vc/diff-mode.el:
13842 * vc/log-edit.el:
13843 * vc/log-view.el:
13844 * vc/smerge-mode.el:
13845 * textmodes/bibtex-style.el:
13846 * textmodes/css.el:
13847 * startup.el:
13848 * uniquify.el:
da91b5f2
CY
13849 * minibuffer.el:
13850 * newcomment.el:
13851 * reveal.el:
13852 * server.el:
13853 * mpc.el:
13854 * emacs-lisp/smie.el:
13855 * doc-view.el:
13856 * dired.el:
03408648
SM
13857 * abbrev.el: Use lexical binding.
13858
0f0c1f27
EZ
138592011-04-01 Eli Zaretskii <eliz@gnu.org>
13860
13861 * info.el (info-display-manual): New function.
13862
c82b2579
SM
138632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13866
221ddf68
TH
138672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13868
13869 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 13870 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 13871
cba6e77e
GM
138722011-03-31 Glenn Morris <rgm@gnu.org>
13873
e040639f
GM
13874 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13875
cba6e77e
GM
13876 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13877
6d0f1c9e
CS
138782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13879
13880 * progmodes/python.el (python-default-interpreter)
13881 (python-python-command-args, python-jython-command-args)
13882 (python-which-shell, python-which-args, python-which-bufname)
13883 (python-file-queue, python-comint-output-filter-function)
13884 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13885 variables and functions.
13886
3e2d70fd
SM
138872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13888
13889 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13890 (completion-in-region-mode): New minor mode.
13891 (completion-in-region): Use it.
13892 (completion-in-region--data, completion-in-region-mode-map): New vars.
13893 (completion-in-region--postch): New function.
13894 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13895 New vars.
13896 (completion--capf-wrapper): New function.
13897 (completion-at-point): Use it to track well-behavedness of
13898 hook functions.
13899 (completion-help-at-point): New command.
13900
f3e4086c
JM
139012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13902
13903 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13904 syntax class to search for whitespace on a single line
13905 (Message-ID: <4D938140.4030905@redhat.com>).
13906
eb7ffc14
LL
139072011-03-30 Leo Liu <sdl.web@gmail.com>
13908
13909 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13910 New commands.
13911 (edit-abbrevs-map): Bind them here.
13912 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13913
d806ab68
KM
139142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13915
13916 * allout.el (allout-hide-by-annotation, allout-flag-region):
13917 Reduce possibility of overlay leakage by making them volatile.
13918
13919 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13920 hash is not shared between buffers. Mode initialization is
13921 responsible for giving it a useful starting value.
13922 (allout-item-span): Reduce possibility of overlay leakage by
13923 making them volatile.
13924 (allout-widgets-count-buttons-in-region): Add diagnostic function
13925 for tracking down button overlay leaks.
13926
ea622834
LL
139272011-03-29 Leo Liu <sdl.web@gmail.com>
13928
13929 * ido.el (ido-read-internal): Use the default history var
13930 minibuffer-history if no HISTORY is specified.
13931
b62f8267
G
139322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13933
03408648
SM
13934 * net/imap.el (imap-shell-open, imap-process-connection-type):
13935 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
13936 Kerberos, SSL, other subprocesses.
13937
947b6566
LL
139382011-03-28 Leo Liu <sdl.web@gmail.com>
13939
13940 * abbrev.el (abbrev-table-empty-p): New function.
13941 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13942 nonempty ones. (Bug#5937)
13943
5ffb62aa
JD
139442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13945
13946 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13947
7a097943
LL
139482011-03-27 Leo Liu <sdl.web@gmail.com>
13949
13950 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13951 for foreground and background colors.
13952 (ansi-color-make-color-map): Adapt.
13953
c5b40130
LL
139542011-03-25 Leo Liu <sdl.web@gmail.com>
13955
1f48f7d2
LL
13956 * midnight.el (midnight-time-float): Remove. Note it calculates
13957 the microsecond component incorrectly and seconds-to-time does the
13958 same job.
625897ec 13959 Remove redundant (require 'timer).
1f48f7d2 13960
c5b40130
LL
13961 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13962 (ido-completions): Remove unused arguments. (Bug#8329)
13963
d86d2721
SM
139642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * minibuffer.el (completion--flush-all-sorted-completions):
13967 Remove itself from hook.
13968 (completion-at-point): Let the functions perform the completion
13969 immediately and return nil or t.
13970 * comint.el (comint-dynamic-complete-functions): Now identical to
13971 completion-at-point-functions.
13972 (comint-dynamic-list-input-ring): Remove unused var `index'.
13973 (comint--match-partial-filename, comint--unquote&expand-filename):
13974 New funs, split from comint-match-partial-filename.
13975 (comint-dynamic-complete): Use completion-at-point.
13976 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13977
e8974c48
DA
139782011-03-24 Drew Adams <drew.adams@oracle.com>
13979
13980 * thingatpt.el: Support `defun'.
13981
def71b5e
LL
139822011-03-23 Leo Liu <sdl.web@gmail.com>
13983
cb5af48e
LL
13984 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13985
def71b5e
LL
13986 * help-mode.el (help-mode-finish): Tweak regexp.
13987
927c53e7
GM
139882011-03-23 Glenn Morris <rgm@gnu.org>
13989
18d05bed
GM
13990 * eshell/esh-opt.el (eshell-eval-using-options):
13991 Do not bind unused local variable `eshell-option-stub'.
13992
927c53e7
GM
13993 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13994
9d0da923
JB
139952011-03-22 Juanma Barranquero <lekktu@gmail.com>
13996
13997 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13998 keymap variable in `with-no-warnings' to avoid a warning when the
13999 keymap has been already `defconst'ed.
14000
4b978a67
LL
140012011-03-22 Leo Liu <sdl.web@gmail.com>
14002
14003 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14004 encode all chars in abbrevs; otherwise use emacs-mule or
14005 utf-8-emacs. (Bug#8308)
14006
5fd62452
JB
140072011-03-22 Juanma Barranquero <lekktu@gmail.com>
14008
0b1596c6
JB
14009 * simple.el (backward-delete-char-untabify):
14010 Avoid warning about using `delete-backward-char'.
14011
5fd62452
JB
14012 * image.el (image-type-file-name-regexps): Make it variable.
14013 `imagemagick-register-types' modifies it, and the user may want
14014 to add new extensions for known image types.
14015 (imagemagick-register-types): Throw error if not using ImageMagick.
14016
0b4e93f1
LL
140172011-03-22 Leo Liu <sdl.web@gmail.com>
14018
14019 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14020 located before rcirc-prompt-end-marker.
14021 (rcirc-complete): Error if point is not after rcirc prompt.
14022 Handle the case when table is nil.
9882e214 14023 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14024
fccee4ab
CY
140252011-03-22 Chong Yidong <cyd@stupidchicken.com>
14026
14027 * custom.el (custom--inhibit-theme-enable): Make it affect only
14028 custom-theme-set-variables and custom-theme-set-faces.
14029 (provide-theme): Ignore custom--inhibit-theme-enable.
14030 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14031 (custom-enabling-themes): Delete variable.
d86d2721
SM
14032 (enable-theme): Accept only loaded themes as arguments.
14033 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14034 (custom-enabled-themes): Forbid themes from setting this.
14035 Eliminate use of custom-enabling-themes.
14036 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14037
af896da6
LL
140382011-03-21 Leo Liu <sdl.web@gmail.com>
14039
14040 * ido.el (ido-read-internal): Add ido-selected to history instead
14041 of user input.
14042
78f64af0
SM
140432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14044
14045 * subr.el (deferred-action-list, deferred-action-function):
14046 Mark obsolete.
14047
b16ac1ec
LL
140482011-03-21 Leo Liu <sdl.web@gmail.com>
14049
810f7698
LL
14050 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14051 change on 2011-02-13 (bug#8309).
14052
b16ac1ec
LL
14053 * minibuffer.el (read-file-name-function): Change default value.
14054 (read-file-name--defaults): Rename from read-file-name-defaults.
14055 (read-file-name-default): Rename from read-file-name.
14056 (read-file-name): Call read-file-name-function.
14057
4e05e67e
GM
140582011-03-21 Glenn Morris <rgm@gnu.org>
14059
14060 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14061 Doc fixes.
14062
4359915b
CY
140632011-03-21 Chong Yidong <cyd@stupidchicken.com>
14064
14065 * cus-theme.el: Add missing provide statement.
14066 (customize-create-theme): Extract theme value correctly.
14067 (custom-theme-visit-theme): Autoload.
14068 (customize-create-theme): Prompt before inserting default faces.
14069
1fe275ee
JB
140702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14071
14072 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14073 units and musical notes.
14074
cd394be1 140752011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14076
14077 * ido.el (ido-read-internal): Use completing-read-default.
14078 (ido-completing-read): Fix compatibility with completing-read.
14079
7d476bde
CO
140802011-03-20 Christian Ohler <ohler@gnu.org>
14081
14082 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14083 (ert-delete-all-tests): Use `called-interactively-p' rather than
14084 `interactive-p'.
14085 (ert--make-xrefs-region): Respect END.
14086
fe0fb33e
CY
140872011-03-19 Chong Yidong <cyd@stupidchicken.com>
14088
ff854b0b
CY
14089 * dired-aux.el (dired-create-directory): Signal an error if the
14090 directory already exists (Bug#8246).
14091
fe0fb33e
CY
14092 * facemenu.el (list-colors-display): Call list-faces-display
14093 inside with-help-window.
14094 (list-colors-print): Use display property to align the final
14095 column, instead of checking window-width.
14096
576bce32
EZ
140972011-03-19 Eli Zaretskii <eliz@gnu.org>
14098
4d61f28d 14099 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14100 windows-nt systems.
14101 (emerge-protect-metachars): Quote correctly for ms-dos and
14102 windows-nt systems.
14103
89c41d68 141042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14105
14106 * info.el (info-initialize): Replace all uses of `:' with
14107 path-separator for compatibility with non-Unix systems.
14108 Cache quoting of path-separator. (Bug#8258)
14109
b14e3e21 141102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14111
14112 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14113 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14114 (mouse-avoidance-mode): Fix typos in docstrings.
14115
4525ce3e
CY
141162011-03-19 Chong Yidong <cyd@stupidchicken.com>
14117
14118 * startup.el (package-subdirectory-regexp): Move from package.el.
14119 Omit \\` and \\', and let callers add them.
14120
14121 * emacs-lisp/package.el (package-strip-version)
14122 (package-load-all-descriptors): Add \\` and \\' to
14123 package-subdirectory-regexp before using it.
14124 (package-untar-buffer): New arg DIR; ensure that file untars only
14125 into this expected directory. Remove superfluous delete-region.
14126 (package-unpack): Caller changed.
14127 (package-tar-file-info): Use package-subdirectory-regexp.
14128
a904a09a 141292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14130
a904a09a
SM
14131 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14132 diff-mode-shared-map (bug#8284).
14133 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14134
141352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14136
14137 * calendar/time-date.el (format-seconds): Use assoc instead of
14138 assoc-string, since assoc-string doesn't exist in XEmacs.
14139
171fc304
JB
141402011-03-17 Juanma Barranquero <lekktu@gmail.com>
14141
14142 * custom.el (custom-known-themes): Reflow docstring.
14143 (custom-theme-load-path): Fix typo in docstring.
14144 (load-theme): Fix typo in error message.
14145 (custom-available-themes, custom-variable-theme-value):
14146 Use `let', not `let*'.
14147
d71990a1
JB
141482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14149
14150 * calc/README: Mention inclusion of musical notes.
14151
14152 * calc/calc-units.el (calc-lu-quant): Rename from
14153 `calc-logunits-quantity'.
14154 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14155 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14156 (calc-db): Rename from `calc-dblevel'.
14157 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14158 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14159 (calc-np): Rename from `calc-nplevel'.
14160 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14161 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14162 (calc-lu-plus): Rename from `calc-logunits-add'.
14163 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14164 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14165 (calc-lu-minus): Rename from `calc-logunits-sub'.
14166 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14167 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14168 (calc-lu-times): Rename from `calc-logunits-mul'.
14169 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14170 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14171 (calc-lu-divide): Rename from `calc-logunits-div'.
14172 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14173 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14174
14175 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14176 functions being autoloaded.
14177
14178 * calc/calc.el (calc-lu-power-reference): Rename from
14179 `calc-logunits-power-reference'.
14180 (calc-lu-field-reference): Rename from
14181 `calc-logunits-field-reference'.
14182
7a71b18d
GM
14183 * calc/calc-help.el (calc-l-prefix-help):
14184 Mention musical note functions.
d71990a1 14185
40c2934b
SM
141862011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 * minibuffer.el (completion-all-sorted-completions):
14189 Use :completion-cycle-penalty text property if present.
14190
b0911414
KM
141912011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14192
14193 * allout.el (allout-yank-processing): Adjust for new rebulleting
14194 regime so bullet being yanked is used without prompting the user
14195 for a choice.
14196
8a05b668
JB
141972011-03-16 Juanma Barranquero <lekktu@gmail.com>
14198
14199 * startup.el (command-line): Warn the user that _emacs is deprecated.
14200
5ba5fb81
JB
142012011-03-16 Juanma Barranquero <lekktu@gmail.com>
14202
14203 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14204 (delphi-verbose, delphi-comment-face, delphi-string-face)
14205 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14206 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14207 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14208 (delphi-new-comment-line, delphi-font-lock-defaults)
14209 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14210 Fix typos in docstrings.
14211
2dab465b
KM
142122011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14213
5ba5fb81 14214 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14215 Invert the roles of character and string values for INSTEAD, so a
14216 string is used for the more common case of a defaulting prompt.
14217
0adf5618
SM
142182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * progmodes/ruby-mode.el (ruby-backward-sexp):
14221 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14222 * play/gamegrid.el (gamegrid-make-face):
14223 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14224 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14225 * notifications.el (notifications-notify):
14226 * net/xesam.el (xesam-search-engines):
14227 * net/quickurl.el (quickurl-list-insert):
14228 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14229
d72700e5
CY
142302011-03-15 Chong Yidong <cyd@stupidchicken.com>
14231
14232 * startup.el (command-line): Update package subdirectory regexp.
14233
49c5410a
SM
142342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14235
c6eee9aa
SM
14236 * allout.el (allout-abbreviate-flattened-numbering)
14237 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14238
49c5410a
SM
14239 * subr.el (read-char-choice): Only show the cursor after the prompt,
14240 not after the answer.
14241
047b2bb9
KR
142422011-03-15 Kevin Ryde <user42@zip.com.au>
14243
14244 * help-fns.el (variable-at-point): Skip leading quotes, if any
14245 (bug#8253).
14246
0a57d256
SM
142472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14248
14249 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14250 warning message.
14251
77c992bc
MA
142522011-03-14 Michael Albinus <michael.albinus@gmx.de>
14253
14254 * shell.el (shell): When called interactively, offer to change the
14255 shell file name on remote hosts.
14256
eebc475d
TZ
142572011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14258
14259 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14260 integration for LDAP parameters. The host, base, user or binddn,
14261 and secret tokens can be specified in a netrc file, for instance.
14262 This is optional because an `auth-source' parameter must be
14263 specified in the search attributes.
14264
9d05d1ba
JB
142652011-03-13 Juanma Barranquero <lekktu@gmail.com>
14266
14267 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14268
09d9db2c
GM
142692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14270
14271 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14272 into declaration. Remove redundant and harmful binding.
14273
142742011-03-12 Eli Zaretskii <eliz@gnu.org>
14275
14276 * files.el (file-ownership-preserved-p): Pass `integer' as an
14277 explicit 2nd argument to `file-attributes'. If the file's owner
14278 is the Administrators group on Windows, and the current user is
14279 Administrator, consider that a match.
14280
14281 * server.el (server-ensure-safe-dir): Consider server directory
14282 safe on MS-Windows if its owner is the Administrators group while
14283 the current Emacs user is Administrator. Use `=' to compare
14284 numerical UIDs, since they could be integers or floats.
14285
219bd536
JB
142862011-03-12 Juanma Barranquero <lekktu@gmail.com>
14287
14288 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14289
f3afd36b
MA
142902011-03-12 Michael Albinus <michael.albinus@gmx.de>
14291
14292 Sync with Tramp 2.2.1.
14293
14294 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14295
14296 * net/trampver.el: Update release number.
14297
3aaaa6f1
SM
142982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14299
94642599
SM
14300 * progmodes/compile.el (compilation--previous-directory): Fix up
14301 various nil/dead-marker mismatches (bug#8014).
14302 (compilation-directory-properties, compilation-error-properties):
14303 Don't call it at a position past the one we're about to change.
14304
3aaaa6f1
SM
14305 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14306 Disable obsolescence warnings in the file that declares it.
14307
14239447
KM
143082011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14309
099c39a4
JB
14310 * allout-widgets.el (allout-widgets-tally):
14311 Initialize allout-widgets-tally as a hash table rather than nil to
14312 prevent mode-line redisplay warnings. Also, clarify the module
14313 description and fix a comment typo.
14239447 14314
135e287c
JB
143152011-03-11 Juanma Barranquero <lekktu@gmail.com>
14316
14317 * help-fns.el (describe-variable): Don't complete keywords.
14318 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14319
ffbf300e
CY
143202011-03-10 Chong Yidong <cyd@stupidchicken.com>
14321
ba08b241
CY
14322 * emacs-lisp/package.el (package-version-join): Impose a standard
14323 string representation for pre/alpha/beta version lists.
14324 (package-unpack-single): Standardize the directory name by passing
14325 it through package-version-join.
14326 (package-strip-rcs-id): Accept any version string that does not
14327 signal an error in version-to-list.
ffbf300e 14328
f346fd6b
MA
143292011-03-10 Michael Albinus <michael.albinus@gmx.de>
14330
14331 * simple.el (delete-trailing-whitespace): Return nil for the
14332 benefit of `write-file-functions'.
14333
ccb55d27
GM
143342011-03-10 Glenn Morris <rgm@gnu.org>
14335
5ceaac0c
GM
14336 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14337
02da65ff
GM
14338 * vc/vc-git.el (vc-git-program): New option.
14339 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14340 (vc-git--call): Use it.
14341
b2f603cc
GM
14342 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14343
5772caab
GM
14344 * cus-edit.el (Custom-newline): If no button at point, look
14345 for a subgroup button at start-of-line. (Bug#2298)
14346
ccb55d27
GM
14347 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14348
ec6ecaed
JD
143492011-03-10 Julien Danjou <julien@danjou.info>
14350
14351 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14352 `cursor-type' is nil.
14353
9d5aa01d
JB
143542011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14355
14356 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14357
b6a5875b
KM
143582011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14359
7a71b18d 14360 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14361 preserves the existing header prefix, rebulleting it if necessary,
14362 rather than replacing it. This is necessary for proper operation
14363 of cooperative addons like allout-widgets.
1154d12e
JB
14364 (allout-make-topic-prefix, allout-rebullet-heading):
14365 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14366 value as alternate bullet to be used, instead of prompting the user
14367 for a bullet character.
b6a5875b 14368
ee545c35
MA
143692011-03-09 Michael Albinus <michael.albinus@gmx.de>
14370
d86d2721
SM
14371 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14372 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14373 `tramp-default-port'.
14374
c47971d7
DD
143752011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14376
14377 * net/rcirc.el (rcirc-handler-001): Remove useless
14378 with-rcirc-process-buffer.
14379 (rcirc-check-auth-status): Swap arguments to string-match.
14380
13522cb4
GM
143812011-03-09 Glenn Morris <rgm@gnu.org>
14382
0be6f4f1
GM
14383 * shell.el (shell-mode):
14384 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14385
13522cb4
GM
14386 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14387 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14388
515de2e3
CY
143892011-03-08 Chong Yidong <cyd@stupidchicken.com>
14390
14391 * emacs-lisp/package.el (package-refresh-contents)
14392 (package-menu-execute): Use condition-case-no-debug.
14393
b511b994
MA
143942011-03-08 Michael Albinus <michael.albinus@gmx.de>
14395
14396 * simple.el (shell-command-to-string): Use `process-file'.
14397
14398 * emacs-lisp/package.el (package-tar-file-info): Handle also
14399 remote files.
14400
d86d2721
SM
14401 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14402 Use `equal' for upload base check.
b511b994 14403
25bbfb31
AM
144042011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14405
14406 * textmodes/texinfo.el (texinfo-environments):
14407 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14408
be996521
GM
144092011-03-08 Glenn Morris <rgm@gnu.org>
14410
e9c8529f
GM
14411 * cus-start.el (cursor-in-non-selected-windows):
14412 Fix :set quoting oddness. (Bug#8192)
14413
be996521
GM
14414 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14415 in some setf expressions. (Bug#2159)
14416
2bb5649e
CY
144172011-03-08 Chong Yidong <cyd@stupidchicken.com>
14418
14419 * custom.el (custom-available-themes): Return themes in
14420 alphabetical order.
14421
33383987 14422See ChangeLog.15 for earlier changes.
e3d51b27
MR
14423
14424;; Local Variables:
14425;; coding: utf-8
e3d51b27
MR
14426;; End:
14427
acaf905b 14428 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14429
14430 This file is part of GNU Emacs.
14431
14432 GNU Emacs is free software: you can redistribute it and/or modify
14433 it under the terms of the GNU General Public License as published by
14434 the Free Software Foundation, either version 3 of the License, or
14435 (at your option) any later version.
14436
14437 GNU Emacs is distributed in the hope that it will be useful,
14438 but WITHOUT ANY WARRANTY; without even the implied warranty of
14439 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14440 GNU General Public License for more details.
14441
14442 You should have received a copy of the GNU General Public License
14443 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.