* subr.el (kbd): Make it its own function.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ed8bd4d7
SM
12012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (kbd): Make it its own function.
4
7b4cdbf4
SM
52012-06-07 Stefan Merten <smerten@oekonux.de>
6
7 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8 Silence compiler warnings. Fix versions.
ed8bd4d7 9 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 10 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 11 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
12 (rst-package-emacs-version-alist): Correct Emacs version to
13 represent major merge with upstream.
ed8bd4d7 14 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 15
2b48d721
GM
162012-06-06 Glenn Morris <rgm@gnu.org>
17
18 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
19 Only print environment variables if set.
20
fa779ab0
SM
212012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
24 (macroexp--cons): Rename from maybe-cons.
25 (macroexp--accumulate): Rename from macroexp-accumulate.
26 (macroexp--all-forms): Rename from macroexpand-all-forms.
27 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
28 (macroexp--expand-all): Rename from macroexpand-all-1.
29
628299e0
SS
302012-06-06 Sam Steingold <sds@gnu.org>
31
32 * calendar/calendar.el (calendar-in-read-only-buffer):
33 Call `special-mode' to enable the standard read-only keybindings.
34
b7bb5838
SM
352012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
38 with "loading" messages (bug#11635).
39
dfb308ba
MA
402012-06-06 Michael Albinus <michael.albinus@gmx.de>
41
42 * files.el (enable-remote-dir-locals): New option.
43 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
44
0372ee92
MA
45 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
46 Ensure, that the temp directory is local.
47
48 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
49 `temporary-file-directory'.
50
eed0bb91
MA
51 * progmodes/python.el (python-send-region): Ensure, that the
52 temporary file is created also in the remote case.
53
7a58f64d
GM
542012-06-06 Glenn Morris <rgm@gnu.org>
55
f7dd4e98
GM
56 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
57 (vc-rcs-update-changelog): Use it.
58
276d5f5d
GM
59 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
60
7a58f64d
GM
61 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
62 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
63 (vc-sccs-diff): Replace use of the external vcdiff script.
64
daed4003
GM
652012-06-05 Glenn Morris <rgm@gnu.org>
66
67 * ledit.el: Move to obsolete/.
68
48c455c7
SS
692012-06-05 Sam Steingold <sds@gnu.org>
70
71 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
72 patch (Bug#11140).
73
57a7d507
SM
742012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
75
d32926ff
SM
76 * emacs-list/cust-print.el: Move to obsolete.
77
53aacf21
SM
78 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
79 compiler-macro expansion.
80
57a7d507
SM
81 Add native compiler-macro support.
82 * emacs-lisp/macroexp.el (macroexpand-all-1):
83 Support compiler-macros directly. Properly follow aliases and apply
84 the compiler macros more thoroughly.
85 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
86 macroexpand now properly follows aliases.
87 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
88 (cl-compiler-macroexpand): Use new prop.
89 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
90
91 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
92
51a5f9d8
MR
932012-06-05 Martin Rudalics <rudalics@gmx.at>
94
95 * window.el (get-lru-window, get-mru-window, get-largest-window):
96 New argument NOT-SELECTED to avoid picking the selected window.
97 (window--display-buffer-1, window--display-buffer-2): Replace by
98 new function window--display-buffer
99 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
100 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
101 Use window--display-buffer.
51a5f9d8
MR
102 (display-buffer-use-some-window): Remove temporary dedication
103 hack by calling get-lru-window and get-largest-window with
104 NOT-SELECTED argument non-nil. Call window--display-buffer.
105
08f9f738
GM
1062012-06-05 Glenn Morris <rgm@gnu.org>
107
108 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
109 Replace external vcdiff script.
110
e364a2b7
SM
1112012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
114
041df390
CY
1152012-06-04 Chong Yidong <cyd@gnu.org>
116
e364a2b7
SM
117 * image.el (imagemagick-types-inhibit): Revert last change.
118 Add INFO and M.
47b36b94 119 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 120
7c1898a7
SM
1212012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * emacs-lisp/cl-lib.el: Rename from cl.el.
124 * emacs-lisp/cl.el: New compatibility file.
125 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
126 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
127 to obey the "cl-" prefix.
128 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
129
0c3461de
GM
1302012-06-03 Glenn Morris <rgm@gnu.org>
131
1e266c88
GM
132 * emacs-lisp/authors.el (authors-aliases): Addition.
133
0c3461de
GM
134 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
135 Fix :version.
136
d8a52e15
SM
1372012-06-03 Stefan Merten <smerten@oekonux.de>
138
139 * textmodes/rst.el: Add comments.
140 (rst-transition, rst-adornment): New faces.
141 (rst-adornment-faces-alist): Make default safe to reevaluate.
142 Fixes
143 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
144 Improve customization tags.
145 (rst-define-level-faces): Clarify meaning.
146
5205d6f6
CY
1472012-06-03 Chong Yidong <cyd@gnu.org>
148
149 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
150 (compilation-mode-line-run, compilation-mode-line-exit):
151 New faces.
5205d6f6
CY
152 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
153
757ee657
JD
1542012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
155
7c1898a7
SM
156 * progmodes/which-func.el (which-func-update-ediff-windows):
157 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 158
5f2c76c6
CY
1592012-06-03 Chong Yidong <cyd@gnu.org>
160
161 * bindings.el: Remove explicit help text from format-mode-line.
162 It is now supplied by mode-line-default-help-echo.
163 (mode-line-front-space, mode-line-end-spaces)
164 (mode-line-misc-info): New variables.
165 (mode-line-modes, mode-line-position): Move the default value to
166 the variable definition.
167 (mode-line-default-help-echo): New defcustom.
383f7350
CY
168 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
169 (mode-line-modified-help-echo): New functions.
170 (mode-line-mule-info, mode-line-modified): Use them.
171 (mode-line-eol-desc, propertized-buffer-identification):
172 Consistency fixes for help text.
cbe46e5f
CY
173 (mode-line-coding-system-map): Allow using mouse-3 to invoke
174 set-buffer-file-coding-system (Bug#289).
175 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 176
f2d6a3df
SM
1772012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * simple.el (execute-extended-command): Set real-this-command
180 (bug#11506).
181
37269466
CY
1822012-06-02 Chong Yidong <cyd@gnu.org>
183
184 Remove incorrect uses of "modeline" in comments, docstrings, and
185 function/variable names (Bug#10329).
186
187 * cus-edit.el (mode-line):
188 * dframe.el (dframe-mouse-hscroll):
189 * emacs-lisp/re-builder.el:
190 * emacs-lisp/easy-mmode.el (define-minor-mode):
191 * frame.el (set-frame-name):
192 * help.el (lookup-minor-mode-from-indicator):
193 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
194 * progmodes/cc-cmds.el (c-toggle-auto-newline)
195 (c-toggle-hungry-state):
196 * progmodes/antlr-mode.el (antlr-language-alist):
197 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
198 * progmodes/vhdl-mode.el (vhdl-mode):
199 * progmodes/which-func.el (which-func, which-func-cleanup-function):
200 * term/ns-win.el (ns-face-at-pos):
201 * term/sup-mouse.el (sup-mouse-report):
202 * textmodes/flyspell.el (flyspell-mode-line-string):
203 * textmodes/ispell.el (ispell-highlight-face):
204 * textmodes/reftex-global.el:
205 * vc/vc-arch.el (vc-arch-mode-line-string):
206 * vc/vc-cvs.el (vc-cvs-mode-line-string):
207 * vc/vc-git.el (vc-git-mode-line-string):
208 * vc/vc-hooks.el (vc-display-status)
209 (vc-default-mode-line-string):
210 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
211
212 * ansi-color.el (ansi-color-faces-vector): Change default faces.
213
214 * dired.el (dired-sort-set-mode-line): Rename from
215 dired-sort-set-modeline. All callers changed.
216
217 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
218 eshell-status-in-modeline.
219
220 * foldout.el (foldout-mode-line-string): Rename from
221 foldout-modeline-string. All callers changed.
222 (foldout-update-mode-line): Rename from foldout-update-modeline.
223
224 * subr.el (redraw-modeline): Make into obsolete alias.
225
226 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
227 timeclock-modeline-display. Make old name an alias.
228 (timeclock-update-mode-line): Likewise. All callers changed.
229 (timeclock-mode-line-display): No need to check before using
230 add-hook.
231 (timeclock-relative, timeclock-day-over-hook)
232 (timeclock-use-elapsed, timeclock-mode-string)
233 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
234
235 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
236 crisp-mode-modeline-string.
237
238 * play/solitaire.el (solitaire-build-mode-line): Rename from
239 solitaire-build-modeline. All callers changed.
240
241 * play/zone.el (zone-hiding-mode-line): Rename from
242 zone-hiding-modeline. All callers changed.
243 (zone): Remove unusued `modeline-hidden-level' property.
244
245 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
246 xscheme-modeline-initialize. All callers changed.
247
248 * strokes.el (strokes-lighter): Rename from
249 strokes-modeline-string.
250
251 * textmodes/sgml-mode.el (html-face-tag-alist)
252 (html-tag-face-alist): Use mode-line face instead of obsolete
253 alias modeline.
254
42152ee4
SM
2552012-06-02 Stefan Merten <smerten@oekonux.de>
256
257 * textmodes/rst.el: Always require `cl'.
4cf9b38d 258 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 259
95f520b5
CY
2602012-06-02 Chong Yidong <cyd@gnu.org>
261
262 * image.el (imagemagick-enabled-types): Rename from
263 imagemagick-types-enable. Add many more types.
264 (imagemagick-types-inhibit): Change default to nil.
265 (imagemagick-filter-types): Caller changed.
266
4a5f187a
SM
2672012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
268
03fef3e6
SM
269 * emacs-lisp/cl-macs.el: Use backquotes.
270 (cl-transform-function-property): Use eval-and-compile rather than
271 abusing `require'.
272 (defstruct): Use declare-function instead of with-no-warnings.
273
4a5f187a
SM
274 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
275 (byte-compile-output-docform): Re-add the print-circle bindings.
276 (byte-compile-fix-header): Use #$ just because it's shorter.
277 (byte-compile-output-file-form): Remove defun/defmacro.
278
bd56924f
MR
2792012-06-01 Martin Rudalics <rudalics@gmx.at>
280
281 * simple.el (choose-completion): Remove now obsolete binding for
282 owindow.
283
046e38ce
MA
2842012-06-01 Michael Albinus <michael.albinus@gmx.de>
285
286 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
287 in order to avoid "Stack overflow in regexp matcher".
288
32d72c2f
GM
2892012-05-31 Glenn Morris <rgm@gnu.org>
290
291 * image.el: For clarity, call imagemagick-register-types at
292 top-level, rather than relying on a custom :initialize.
293 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
294 (imagemagick-filter-types): New function. (Bug#7406)
295 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
296 If disabling support, remove elements altogether rather
297 than using an impossible regexp.
298 (imagemagick-types-inhibit): Give it the default init function.
299
dd41169b
SM
3002012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
301
4a5f187a
SM
302 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
303 Handle arbitrary file name lengths (Bug#11585).
dd41169b 304
efc00ab1 3052012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
306
307 * desktop.el (desktop-read): Clear previous and next buffers for
308 all windows and bury *Messages* buffer (bug#11556).
309
500fcedc
SM
3102012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 Add `declare' for `defun'. Align `defmacro's with it.
313 * emacs-lisp/easy-mmode.el (define-minor-mode)
314 (define-globalized-minor-mode): Don't autoload the var definitions.
315 * emacs-lisp/byte-run.el: Use lexical-binding.
316 (defun-declarations-alist, macro-declarations-alist): New vars.
317 (defmacro, defun): Use them.
318 (make-obsolete, define-obsolete-function-alias)
319 (make-obsolete-variable, define-obsolete-variable-alias):
320 Use `declare'.
321 (macro-declaration-function): Mark obsolete.
322 * emacs-lisp/autoload.el: Use lexical-binding.
323 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
324
6e8a1786
AM
3252012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
326
327 * textmodes/ispell.el (ispell-with-no-warnings):
328 Define as a macro.
500fcedc
SM
329 (ispell-kill-ispell, ispell-change-dictionary):
330 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
331 `interactive-p'.
332
61b108cc
SM
3332012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
336 (macro-declaration-function): Move var from C code.
337 (macro-declaration-function): Define function with defalias.
338 * emacs-lisp/macroexp.el (macroexpand-all-1):
339 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
340 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
341 defun/defmacro any more.
342 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
343 Provide fallback for unknown arglist.
344 (byte-compile-arglist-warn): Change calling convention.
345 (byte-compile-output-file-form): Move print-vars binding.
346 (byte-compile-output-docform): Simplify accordingly.
347 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
348 (byte-compile-defmacro-declaration): Remove.
349 (byte-compile-file-form-defmumble): Generalize to defalias.
350 (byte-compile-output-as-comment): Return byte-positions.
351 Simplify callers accordingly.
352 (byte-compile-lambda): Use `assert'.
353 (byte-compile-defun, byte-compile-defmacro): Remove.
354 (byte-compile-file-form-defalias):
355 Use byte-compile-file-form-defmumble.
356 (byte-compile-defalias-warn): Remove.
357
6d3f7c2f
SM
3582012-05-29 Stefan Merten <smerten@oekonux.de>
359
360 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 361 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
362
363 (rst-mode-abbrev-table): Merge definition.
364 (rst-mode): Make sure `font-lock-defaults' is buffer local.
365 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
366
6dbaa1c7
UJ
3672012-05-29 Ulf Jasper <ulf.jasper@web.de>
368
369 * calendar/icalendar.el
370 (icalendar-export-region): Export UID properly.
371
3722012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
373 * calendar/icalendar.el (icalendar-import-format):
374 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
375 (icalendar-import-format-uid): New.
376 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
377 Export UID.
378
6876a58d
SM
3792012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
382 different alternative patterns.
383 (pcase-codegen): Be more careful to preserve identity.
384 (pcase--u1): Don't forget to mark vars as used.
385
386 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
387 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
388 (byte-compile-from-buffer): ...rather than here.
389
390 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
391 functions from byte-compile-function-environment.
392
46b7967e
TN
3932012-05-29 Troels Nielsen <bn.troels@gmail.com>
394
395 * window.el (window-deletable-p): Avoid deleting the root window
396 of a frame with an active minibuffer.
397
69d565e2
MR
3982012-05-29 Martin Rudalics <rudalics@gmx.at>
399
400 * simple.el (choose-completion): Use quit-window (Bug#11567).
401
a149fa51
CY
4022012-05-29 Chong Yidong <cyd@gnu.org>
403
404 * whitespace.el (whitespace-cleanup): Fix usage of
405 whitespace-empty-at-bob-regexp (Bug#11492).
406
2b311310
AH
4072012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
408
409 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
410 revert (Bug#11488).
411
b9cb2387
JL
4122012-05-29 Juri Linkov <juri@jurta.org>
413
414 * isearch.el (isearch-mode-map): Bind `M-s _' to
415 `isearch-toggle-symbol'. Bind `M-s c' to
416 `isearch-toggle-case-fold'.
417 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
418 (isearch-forward): Add `M-s _' to the docstring.
419 (isearch-forward-symbol, isearch-toggle-case-fold)
420 (isearch-symbol-regexp): New functions. (Bug#11381)
421
d5e61c1c
JL
4222012-05-29 Juri Linkov <juri@jurta.org>
423
424 * isearch.el (isearch-word): Add docstring. (Bug#11381)
425 (isearch-occur, isearch-search-and-update): If `isearch-word' is
426 a function, call it to get the regexp.
427 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
428 property `isearch-message-prefix' instead of the string "word ".
429 (isearch-search-fun-default): For the case of `isearch-word',
430 return a lambda that calls re-search-forward/re-search-backward
431 with a regexp returned by `word-search-regexp' or by the function
432 in `isearch-word'.
433
8cbd80f7
JL
4342012-05-29 Juri Linkov <juri@jurta.org>
435
436 * isearch.el (isearch-search-fun-default): New function.
437 (isearch-search-fun): Move default part to the new function
438 `isearch-search-fun-default'.
439 (isearch-search-fun-function): Set the default value to
440 `isearch-search-fun-default'. (Bug#11381)
441
442 * comint.el (comint-history-isearch-end):
443 Use `isearch-search-fun-default'.
444 (comint-history-isearch-search): Use `isearch-search-fun-default'
445 and remove spacial case for `isearch-word'.
446 (comint-history-isearch-wrap): Remove spacial case for
447 `isearch-word'.
448
449 * hexl.el (hexl-isearch-search-function):
450 Use `isearch-search-fun-default'.
451
452 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
453 Use `word-search-regexp' for `isearch-word'.
454
455 * misearch.el (multi-isearch-search-fun):
456 Use `isearch-search-fun-default'.
457
458 * simple.el (minibuffer-history-isearch-search):
459 Use `isearch-search-fun-default' and remove spacial case for
460 `isearch-word'.
461 (minibuffer-history-isearch-wrap): Remove spacial case for
462 `isearch-word'.
463
464 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
465 Remove spacial case for `isearch-word'.
466 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
467
85c8c5b6
AM
4682012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
469
470 Decrease XEmacs incompatibilities.
471 * textmodes/flyspell.el (flyspell-check-pre-word-p):
472 Use `string-match'.
473 (flyspell-delete-region-overlays): Use alternative definition for
474 XEmacs.
475 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
476 (flyspell-word): Use `process-kill-without-query' if XEmacs.
477 (flyspell-mode-on): Use `interactive-p' if XEmacs.
478 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
479 `define-obsolete-face-alias' under XEmacs, but old method.
480
481 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
482 `with-no-warnings' definition or Emacs alias.
483 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
484 (ispell-word): Do not use `region-p' if XEmacs.
485
8cab9efc
AM
4862012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
487
488 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
489 Check for `ispell-dictionary-base-alist' instead of full
490 `ispell-dictionary-alist'.
491 (ispell-init-process): Show spellchecker when starting new Ispell
492 process.
493
fda91268
RZ
4942012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
497 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
498
694ea8e3
JB
4992012-05-27 Juanma Barranquero <lekktu@gmail.com>
500
501 * version.el (motif-version-string, gtk-version-string)
502 (ns-version-string): Declare.
503
e4d4f539
JL
5042012-05-27 Juri Linkov <juri@jurta.org>
505
506 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
507 after the `eval-defun-1' specialcaseing
508 like in `edebug-eval-defun' (bug#10181).
509
510 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
511 like in `eval-defun-1'.
512
33017faf 5132012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 514
fda91268
RZ
515 * mail/sendmail.el (mail-yank-region):
516 Recognize rmail-yank-current-message in addition to insert-buffer.
517 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
518 a *mail* buffer created through rmail-start-mail with sendmail as
519 mail-user-agent.
520
33017faf
GM
5212012-05-27 Chong Yidong <cyd@gnu.org>
522
523 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
524 Default to 256 (Bug#11267).
525
526 * help.el (describe-mode): Doc fix.
527
04188bb9
GM
5282012-05-26 Glenn Morris <rgm@gnu.org>
529
38264cc9
GM
530 * w32-fns.el (w32-init-info): Remove.
531 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
532
eb7afdad
GM
533 * info.el (info-initialize): For self-contained NS builds, put the
534 included info/ directory at the front. (Bug#2791)
535
04188bb9
GM
536 * paths.el (Info-default-directory-list): Make it a defcustom,
537 mainly so that we can use custom-initialize-delay.
538
a179e3f7
SM
5392012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
540
43416392
SM
541 * subr.el (buffer-has-markers-at): Mark obsolete.
542
a179e3f7 543 * subr.el (lambda): Use declare.
43416392 544
a179e3f7
SM
545 * emacs-lisp/lisp-mode.el (lambda):
546 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
547
34a008d9
AH
5482012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
549
550 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
551
0a3b289f
GM
5522012-05-26 Glenn Morris <rgm@gnu.org>
553
554 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
555
758c81e8
GM
5562012-05-25 Glenn Morris <rgm@gnu.org>
557
f9f334f0
GM
558 * paths.el: Remove no-byte-compile.
559 * loadup.el: No need to load paths.el uncompiled.
560
87eb79c2
GM
561 * image.el (imagemagick-types-inhibit): Doc fix.
562
758c81e8
GM
563 * version.el: Remove no-byte-compile and associated formatting.
564 * loadup.el: No need to load version.el uncompiled. AFAICS, this
565 is ancient code from when there was an "inc-vers.el".
566
e7e85dc0
SM
5672012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * progmodes/gdb-mi.el: Minor style changes.
570 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
571 Turn into minor modes.
572 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
573 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
574 (gdb-shell): Remove unneeded let-binding.
575 (gdb-get-many-fields): Eliminate O(n²) behavior.
576
f31237a4
EZ
5772012-05-25 Eli Zaretskii <eliz@gnu.org>
578
579 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
580 platforms that don't link in fontset.c.
581
bc1b21bb
JL
5822012-05-25 Juri Linkov <juri@jurta.org>
583
584 Use the same diff color scheme as in modern VCSes (bug#10181).
585
586 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
587 to avoid confusion with `diff-added' that now uses green colors.
588 (diff-removed): Use shades of red.
589 (diff-added): Use shades of green.
590 (diff-changed): Leave just the yellow color.
591 (diff-use-changed-face): New variable.
592 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
593 how to highlight context diff changes.
594 (diff-refine-change): Use shades of yellow.
595 (diff-refine-removed): New face that uses shades of red.
596 (diff-refine-added): New face that uses shades of green.
597 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
598 `diff-refine-removed' in the call to `smerge-refine-subst'
599 depending on the value of `diff-use-changed-face'.
600
601 * vc/smerge-mode.el (smerge-mine): Use shades of red.
602 (smerge-other): Use shades of green.
603 (smerge-base): Use shades of yellow.
604 (smerge-refined-change): Empty face.
605 (smerge-refined-removed): New face that uses shades of red.
606 (smerge-refined-added): New face that uses shades of green.
607 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
608 args `props-r' and `props-a', and use them. Doc fix.
609 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
610 on its value use different faces `smerge-refined-change',
611 `smerge-refined-removed', `smerge-refined-added' in the call to
612 `smerge-refine-subst'.
613
614 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
615 Add face condition `min-colors 88' with shades of red.
616 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
617 `min-colors 88' with shades of green.
618 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
619 `min-colors 88' with shades of yellow.
620
6df9112c
GM
6212012-05-24 Glenn Morris <rgm@gnu.org>
622
ead5edc0
GM
623 * paths.el (prune-directory-list, remote-shell-program): Move to...
624 * files.el (prune-directory-list, remote-shell-program): ...here.
625 For the latter, delay initialization, prefer ssh, just search PATH.
626
f18b81e6
GM
627 * paths.el (term-file-prefix): Move to faces.el (the only user).
628 * faces.el (term-file-prefix): Move here, make it a defcustom.
629
ee2f89a6
GM
630 * paths.el (news-directory, news-path, news-inews-program):
631 Move to gnus/nnspool.el.
61a583ca 632
f8815e4c
GM
633 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
634
c8f3b42c
GM
635 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
636 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
637 Make the latter a defcustom, with a delayed initialization.
638
6df9112c
GM
639 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
640 These were deleted from Gnus itself late 2010.
641
5dadff36
JB
6422012-05-22 Juanma Barranquero <lekktu@gmail.com>
643
9e1701c6
JB
644 * progmodes/which-func.el (which-func-ff-hook):
645 Check against user-error, not error.
646
bd7239f5 647 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
648 cl-specs.el, which no longer exists.
649
3290526d
GM
6502012-05-22 Glenn Morris <rgm@gnu.org>
651
652 * info.el (info-emacs-bug): New command.
653 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
654 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
655
ff0c3cfb
GM
6562012-05-21 Glenn Morris <rgm@gnu.org>
657
658 * makefile.w32-in (update-subdirs-SH):
659 * Makefile.in (update-subdirs): Update for moved update-subdirs.
660
5814f126
SM
6612012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
662
a52c0aa0
SM
663 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
664
5814f126
SM
665 * progmodes/compile.el (compilation-error-regexp-alist-alist):
666 Simplify Maven regexp, and make sure the file can't start with a space
667 (bug#11517).
668
b847032c
GM
6692012-05-21 Glenn Morris <rgm@gnu.org>
670
671 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
672 Scrap superfluous subshells.
673
3858bfe7
SM
6742012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
677 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
678
d14b0029
JB
6792012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
680
681 * calc/calc.el (calc-ensure-consistent-units): New variable.
682
a52c0aa0
SM
683 * calc/calc-units.el (math-consistent-units-p)
684 (math-check-unit-consistency): New functions.
685 (calc-quick-units, calc-convert-units):
686 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
687 is non-nil.
d14b0029
JB
688 (calc-extract-units): Fix typo.
689
60c4db3a
SM
6902012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
691
77f3b62e
SM
692 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
693
60c4db3a
SM
694 * textmodes/flyspell.el: Commenting style, plus code simplifications.
695 (flyspell-default-deplacement-commands): Don't spell check after
696 repeated window/frame switches (e.g. triggered by mouse-movement).
697 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
698 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
699 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
700 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
701 Remove unused vars.
702 (flyspell-get-casechars, flyspell-get-not-casechars):
703 Simplify; Don't bother removing a ] just to add it back.
704 * textmodes/ispell.el (ispell-program-name): Use executable-find.
705
b1a10716
RS
7062012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
707
708 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
709 New functions.
bd7239f5 710 (math-function-table): Add support for more C functions.
b1a10716 711
3f1b25b5
AM
7122012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
713
714 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
715 (flyspell-debug-signal-word-checked): Protect delay handling for
716 otherchars against empty otherchars.
717
b581bb5c
SM
7182012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
721 their respective macro declarations.
722 * skeleton.el (define-skeleton):
723 * progmodes/compile.el (define-compilation-mode):
724 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
725 (define-ibuffer-filter):
726 * emacs-lisp/generic.el (define-generic-mode):
727 * emacs-lisp/easy-mmode.el (define-minor-mode)
728 (define-globalized-minor-mode):
729 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
730 * emacs-lisp/byte-run.el (defsubst):
731 * custom.el (deftheme): Add doc-string metadata.
732
70b8ef8f
SM
7332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
736
b1198e17
SM
7372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
738
9abdc45d
SM
739 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
740
b1198e17
SM
741 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
742 * emacs-lisp/cl-macs.el: Idem.
743 * emacs-lisp/cl-specs.el: Remove.
744
4735906a
SM
7452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 Minor renaming of internal CL functions and variables.
748 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
749 (cl--position): Rename from cl-position.
750 (cl--delete-duplicates): Rename from cl-delete-duplicates.
751 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
752 (cl--random-state): Rename from *random-state*.
753
ac348012
SM
7542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
757 parens around the arg list (bug#11499).
758
a0a79cde
JL
7592012-05-17 Juri Linkov <juri@jurta.org>
760
761 * isearch.el (word-search-regexp, word-search-backward)
762 (word-search-forward, word-search-backward-lax)
763 (word-search-forward-lax): Move functions from search.c
764 (bug#10145, bug#11381).
765
65034a51
AM
7662012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
767
768 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
769 (flyspell-debug-signal-word-checked): Delay for otherchars as for
770 normal word components.
771
1a72a195
SM
7722012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * minibuffer.el (completion--sifn-requote): Fix last change.
775 (minibuffer-local-must-match-filename-map):
776 Move define-obsolete-variable-alias before its var.
777
fdb058c2
SM
7782012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
779
c41045e6
SM
780 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
781
036dfb8b
SM
782 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
783 behavior.
784 (completion--string-equal-p): New function.
785 (completion--twq-all): Use it to get better assertion failure data.
786
2473256d
SM
787 Only handle ".." and '..' quoting in shell-mode (bug#11466).
788 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
789 (shell--requote-argument): New functions.
790 (shell-completion-vars): Use them.
791 (shell--parse-pcomplete-arguments): Rename from
792 shell-parse-pcomplete-arguments.
793 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
794 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
795 Obey comint-file-name-quote-list.
796
fdb058c2
SM
797 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
798 (smie-indent-keyword): Use it.
799
51fa99f1
SM
8002012-05-14 Stefan Merten <smerten@oekonux.de>
801
802 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
803
e18afed7 8042012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
805
806 * net/rlogin.el (rlogin-mode-map): Fix last change.
807
e18afed7 8082012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
809
810 * mail/smtpmail.el (smtpmail-send-command): Send the command and
811 the following \r\n using a single `process-send-string', since the
812 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 813 with two `process-send-string's (Bug#11444).
8633b1f4 814
e18afed7 8152012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 816
fdb058c2
SM
817 * shell.el (shell-parse-pcomplete-arguments):
818 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 819
2d21d7f6
WJ
8202012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
821
e18afed7 822 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
823 (image-transform-scale, image-transform-right-angle-fudge): New vars.
824 (image-transform-width, image-transform-fit-width): New functions.
825 (image-transform-properties): Use them.
826 (image-transform-check-size): New function.
827 (image-toggle-display-image): Use it (for testing).
828 (image-transform-set-rotation): Reduce angle mod 360.
829 Delete obsolete comment.
830
7102e6d0
WJ
8312012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
832
833 * image-mode.el: Fix scaling (bug#11399).
834 (image-transform-resize): Doc fix.
835 (image-transform-properties): Default scale is 1 and height should
836 be an integer.
837
06bc5e6e
SM
8382012-05-13 Johan Bockgård <bojohan@gnu.org>
839
840 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
841 than hard-coding `car', to fix misbehavior when moving forward.
842
0ae03b6a
CY
8432012-05-13 Chong Yidong <cyd@gnu.org>
844
845 * emacs-lisp/tabulated-list.el (tabulated-list-format)
846 (tabulated-list-entries, tabulated-list-padding)
847 (tabulated-list-sort-key): Make permanent-local.
848
849 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
850 (electric-buffer-list): Put electric buffer menu
851 command descriptions in this docstring, instead of the docstring
852 of electric-buffer-menu-mode. Code cleanups.
853 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
854 Electric-buffer-menu-mode.
855 (electric-buffer-update-highlight): Minor code cleanup.
856
205a7391
MA
8572012-05-13 Michael Albinus <michael.albinus@gmx.de>
858
859 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
860 (Bug#11447)
861
e5bd0a28
SM
8622012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 Move define-obsolete-variable-alias before the var's definition.
865 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
866 * tooltip.el (tooltip-hook):
867 * textmodes/reftex-toc.el (reftex-toc-map):
868 * textmodes/reftex-sel.el (reftex-select-label-map)
869 (reftex-select-bib-map):
870 * textmodes/reftex-index.el (reftex-index-map)
871 (reftex-index-phrases-map):
872 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
873 * progmodes/meta-mode.el (meta-mode-map):
874 * novice.el (disabled-command-hook):
875 * loadhist.el (unload-hook-features-list):
876 * frame.el (blink-cursor):
877 * files.el (find-file-not-found-hooks, write-file-hooks)
878 (write-contents-hooks):
879 * emulation/tpu-edt.el (GOLD-map):
880 * emacs-lock.el (emacs-lock-from-exiting):
881 * emacs-lisp/generic.el (generic-font-lock-defaults):
882 * emacs-lisp/chart.el (chart-map):
883 * dos-fns.el (register-name-alist):
884 * dired-x.el (dired-omit-files-p):
885 * desktop.el (desktop-enable):
886 * cus-edit.el (custom-mode-hook):
887 * buff-menu.el (buffer-menu-mode-hook):
888 * bookmark.el (bookmark-read-annotation-text-func)
889 (bookmark-exit-hooks):
890 * allout.el (allout-mode-deactivate-hook)
891 (allout-exposure-change-hook, allout-structure-added-hook)
892 (allout-structure-deleted-hook, allout-structure-shifted-hook):
893 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
894 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
895 comes before the corresponding variable's definition.
896
ac59c2f6
CY
8972012-05-12 Chong Yidong <cyd@gnu.org>
898
899 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
900 (Buffer-menu-mouse-select): Restore function (Bug#11459).
901 (Buffer-menu-mode-map): Bind it.
902 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 903
dee6c9a3
SM
9042012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
905
2171cea5
SM
906 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
907 (prolog-upper-case-string, prolog-lower-case-string)
908 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
909 (prolog-use-smie, prolog-smie-grammar): New vars.
910 (prolog-smie-forward-token, prolog-smie-backward-token)
911 (prolog-smie-rules): New funs.
912 (prolog-comment-indent): Remove.
913 (prolog-mode-variables): Use default comment indentation instead.
914 Setup SMIE.
915 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
916 (prolog-mode): Don't call them any more.
917 (prolog-electric-colon, prolog-electric-dash)
918 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
919
aa0382bd
SM
920 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
921
dbacb4bd
SM
922 * minibuffer.el (completion--twq-all): Again, allow case differences.
923
13bdd94c
SM
924 * term.el: Move keymap initialization code to be more idiomatic.
925 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
926 (term-terminal-menu): Move initialization into declaration.
927 (term-escape-char): Let the user set it in her .emacs.
928
ff46c759
SM
929 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
930 Provide SMIE-based indentation (not enabled by default yet).
931 (sh-mode-map): Don't bind electric keys.
932 Use electric-pair-mode instead of skeleton-pair.
933 (sh-assignment-regexp): Fit within 80 columns.
934 (sh-indent-supported): Specify actual shell name instead of boolean.
935 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
936 (sh-maybe-here-document): Use it. Make obsolete.
937 (sh-electric-here-document-mode) New minor mode.
938 (sh-mode): Use it. Don't set sh-indent-supported-here here.
939 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
940 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
941 (sh-smie-rc-grammar, sh-use-smie): New vars.
942 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
943 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
944 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
945 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
946 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
947 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
948 (sh-set-shell): Use smie-setup if requested.
949
dee6c9a3
SM
950 * term.el (term-set-escape-char): Properly set term-escape-char.
951 See http://stackoverflow.com/questions/10524656.
952
9f9aa044
CY
9532012-05-10 Chong Yidong <cyd@gnu.org>
954
955 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
956 Use url-generic-parse-url, and handle host names and Windows
957 filenames properly.
958 (ffap-url-unwrap-remote): Use url-generic-parse-url.
959 (ffap-url-unwrap-remote): Accept list values, specifying a list of
960 URL schemes to work on.
961 (ffap--toggle-read-only): New function.
962 (ffap-read-only, ffap-read-only-other-window)
963 (ffap-read-only-other-frame): Use it.
964 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
965 necessary for ffap-url-unwrap-remote.
966
836d29b3
DA
9672012-05-10 Dave Abrahams <dave@boostpro.com>
968
969 * cus-start.el (create-lockfiles): Add it.
970
00fd78ed
CY
9712012-05-09 Chong Yidong <cyd@gnu.org>
972
973 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
974 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
975
666b903b 9762012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
977
978 * shell.el (shell-completion-vars): Fix last change (bug#11348).
979
666b903b 9802012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
981
982 * ansi-color.el (ansi-color-process-output): Check for validity of
983 comint-last-output-start before using it. This avoids a bad
984 interaction with gdb-mi's input/output buffer.
985
666b903b 9862012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
987
988 * files.el (dir-locals-read-from-file):
989 Mention dir-locals in any error message.
990
666b903b 9912012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
992
993 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
994 package (Bug#11410).
995
f677562b
CY
996 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
997 variables into description.
998
666b903b 9992012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1000
1001 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1002 shell-delimiter-argument-list (bug#11348).
1003 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1004
b499d8d0
JB
10052012-05-09 Juanma Barranquero <lekktu@gmail.com>
1006
8f6b6da8
JB
1007 * textmodes/rst.el: Silence byte-compiler warnings.
1008 (rst-re-alist, rst-reset-section-caches): Move around.
1009 (rst-re): Use `characterp', not `char-valid-p'.
1010 (font-lock-beg, font-lock-end): Declare.
1011
4824146a
JB
1012 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1013 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1014
b499d8d0
JB
1015 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1016
ad89bb83
GM
10172012-05-08 Glenn Morris <rgm@gnu.org>
1018
1019 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1020
8bba5a75
SM
10212012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1022
49ed9c8e
SM
1023 * vc/log-edit.el: Add GNU coding standards highlighting.
1024 (log-edit-font-lock-gnu-style)
1025 (log-edit-font-lock-gnu-keywords): New vars.
1026 (log-edit-font-lock-keywords): New fun.
1027 (log-edit-mode): Don't fold case in font-lock.
1028 (log-edit-font-lock-keywords): Do not assume case-folding.
1029
07d00b56
SM
1030 * imenu.el: Misc cleanup. Make docstrings out of comments.
1031 Use lexical-binding.
1032 (imenu--index-alist, imenu--last-menubar-index-alist)
1033 (imenu-menubar-modified-tick): Use defvar-local.
1034 (imenu--split-menu): Remove unused var.
1035 (imenu--cleanup-seen): Declare as global.
1036 (imenu--cleanup): Use dolist.
1037
8bba5a75
SM
1038 * subr.el (defvar-local): Add debug spec and doc-string position.
1039
5075bdb5
GM
10402012-05-08 Glenn Morris <rgm@gnu.org>
1041
c052c904
GM
1042 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1043 * language/english.el, language/georgian.el, language/greek.el:
1044 * language/japanese.el, language/khmer.el, language/korean.el:
1045 * language/lao.el, language/misc-lang.el, language/romanian.el:
1046 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1047 * language/thai.el, language/utf-8-lang.el:
1048 Remove no-byte-compile setting.
1049
5075bdb5
GM
1050 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1051
06f679a7
AH
10522012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1053
1054 * progmodes/make-mode.el (makefile-browse):
1055 Remove unnecessary interactive. (Bug#11324)
1056
03794570
GM
10572012-05-07 Glenn Morris <rgm@gnu.org>
1058
af8630f4
GM
1059 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1060
03794570
GM
1061 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1062
f0809a9d
SM
10632012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1064
28be5ce7
SM
1065 * loadup.el: Preload newcomment.el.
1066 * newcomment.el: Move autoload-only code to toplevel.
1067
f0809a9d
SM
1068 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1069 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1070 Handle new :right-align column property.
1071 (tabulated-list-print-col): Idem, plus use `display' text-property to
1072 try and preserve alignment for variable pitch fonts.
1073
1241b724
CY
10742012-05-07 Chong Yidong <cyd@gnu.org>
1075
1076 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1077 (tabulated-list-use-header-line): New var.
1078 (tabulated-list-init-header): Use it.
1079 (tabulated-list-print-fake-header): New function.
1080 (tabulated-list-print): Use it.
1081 (tabulated-list-sort-button-map): Add non-header-line commands.
1082 (tabulated-list-init-header): Add column name property to basic
1083 labels as well.
1084 (tabulated-list-col-sort): Handle non-header-line button case.
1085 (tabulated-list--sort-by-column-name): Fix a corner case.
1086
f0809a9d
SM
1087 * buff-menu.el (list-buffers--refresh):
1088 Handle Buffer-menu-use-header-line.
1241b724 1089
e5f9458f
CY
10902012-05-06 Chong Yidong <cyd@gnu.org>
1091
1092 * buff-menu.el: Convert to Tabulated List mode.
1093 (Buffer-menu-buffer+size-width): Make obsolete.
1094 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1095 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1096 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1097 documentation into docstring of buffer-menu.
1098 (Buffer-menu-toggle-files-only): Add an informative message.
1099 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1100 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1101 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1102 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1103 (Buffer-menu-execute, Buffer-menu-select)
1104 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1105 (Buffer-menu-bury): Use Tabulated List machinery.
1106 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1107 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1108 Delete.
e5f9458f
CY
1109 (list-buffers--refresh): New function.
1110 (list-buffers-noselect): Use it.
1111 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1112 (Buffer-menu--pretty-file-name): New helper functions.
1113
1114 * loadup.el: Preload tabulated-list.
1115
1116 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1117 tabulated-list-sort-column.
1118 (tabulated-list-init-header): Add the initial aligning space even
1119 if tabulated-list-padding is zero.
1120
e129292c
CS
11212012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1122
1123 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1124 whose cdr is not a cons cell correctly (bug#11038).
1125
6632d361
CY
11262012-05-06 Chong Yidong <cyd@gnu.org>
1127
e129292c
CS
1128 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1129 Accept additional plist in column descriptors.
6632d361
CY
1130 (tabulated-list-init-header): Obey it.
1131 (tabulated-list-get-entry): New function.
1132 (tabulated-list-put-tag): Use it. Use string-width instead of
1133 length.
1134 (tabulated-list--column-number): New function.
1135 (tabulated-list-print): Use it.
e129292c
CS
1136 (tabulated-list-print-col): New function.
1137 Set `tabulated-list-column-name' property on each column's text.
6632d361 1138 (tabulated-list-print-entry): Use it.
e129292c
CS
1139 (tabulated-list-delete-entry, tabulated-list-set-col):
1140 New functions.
6632d361
CY
1141 (tabulated-list-sort-column): New command (Bug#11337).
1142
3cc99f68
CY
1143 * buff-menu.el (list-buffers): Move C-x C-b binding from
1144 buff-menu.el to bindings.el.
1145
1146 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1147 :advertised-binding feature.
1148
52b61776
TN
11492012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1150
1151 * progmodes/compile.el (compilation-internal-error-properties):
1152 Calculate start position correctly when end-col is set but
1153 end-line is not (Bug#11382).
1154
ebfe2597
WJ
11552012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1156
1157 * man.el (Man-unindent): Use text-property-default-nonsticky to
1158 prevent untabify from inheriting face properties (Bug#11408).
1159
6d3f7c2f
SM
11602012-05-05 Stefan Merten <smerten@oekonux.de>
1161
1162 * textmodes/rst.el: Major merge with upstream development up to
1163 Docutils SVN r7399 / rst.el V1.2.1.
1164
1165 Clarify maintainership and authors.
1166
1167 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1168 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1169 (rst-official-version, rst-official-cvs-rev, rst-version)
1170 (rst-package-emacs-version-alist): New functions and variables
1171 for version information.
1172
1173 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1174 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1175 (rst-mode-syntax-table, rst-mode): New and corrected functions
1176 and variables representing reStructuredText features.
1177
1178 (rst-re): New function for reStructuredText regexes. Use in
1179 many places.
1180
1181 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1182 (rst-mode-map): Rebind keys.
1183
1184 (rst-mode-lazy, rst-font-lock-keywords)
1185 (rst-font-lock-extend-region)
1186 (rst-font-lock-extend-region-internal)
1187 (rst-font-lock-extend-region-extend)
1188 (rst-font-lock-find-unindented-line-limit)
1189 (rst-font-lock-find-unindented-line-match)
1190 (rst-adornment-level, rst-font-lock-adornment-level)
1191 (rst-font-lock-adornment-match)
1192 (rst-font-lock-handle-adornment-pre-match-form)
1193 (rst-font-lock-handle-adornment-matcher): Major revision of
1194 font-locking. Integrate with other code. Use `jit-lock-mode'.
1195
1196 (rst-preferred-adornments, rst-adjust-hook)
1197 (rst-new-adornment-down, rst-preferred-bullets)
1198 (rst-preferred-bullets, rst-indent, rst-indent-width)
1199 (rst-indent-field, rst-indent-literal-normal)
1200 (rst-indent-literal-minimized, rst-indent-comment): Change,
1201 extend and improve customization.
1202
1203 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1204 (rst-normalize-cursor-position, rst-get-decoration)
1205 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1206 (rst-rstrip, rst-toc-insert-find-delete-contents)
1207 (rst-shift-fill-region, rst-compute-bullet-tabs)
1208 (rst-debug-print-tabs, rst-debug-mark-found)
1209 (rst-shift-region-guts, rst-shift-region-right)
1210 (rst-shift-region-left, rst-use-char-classes)
1211 (rst-font-lock-keywords-function)
1212 (rst-font-lock-indentation-point)
1213 (rst-font-lock-find-unindented-line-begin)
1214 (rst-font-lock-find-unindented-line-end)
1215 (rst-font-lock-find-unindented-line)
1216 (rst-font-lock-adornment-point, rst-font-lock-level)
1217 (rst-adornment-level-alist): Remove functions and variables.
1218
1219 (rst-compare-adornments, rst-get-adornment-match)
1220 (rst-suggest-new-adornment, rst-get-adornments-around)
1221 (rst-adornment-complete-p, rst-get-next-adornment)
1222 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1223 (rst-straighten-adornments): Standardize function names to
1224 use "adornment" instead of "decoration". Correct callers.
1225 Similar standardizing in many places.
1226
1227 (rst-update-section, rst-adjust, rst-promote-region)
1228 (rst-enumerate-region, rst-bullet-list-region)
1229 (rst-repeat-last-character): Correct use of `interactive'.
1230
1231 (rst-classify-adornment, rst-find-all-adornments)
1232 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1233 (rst-find-leftmost-column, rst-repeat-last-character):
1234 Refactor functions.
1235
1236 (rst-find-title-line, rst-reset-section-caches)
1237 (rst-get-adornments-around, rst-adjust-adornment-work)
1238 (rst-arabic-to-roman, rst-roman-to-arabic)
1239 (rst-insert-list-pos, rst-insert-list-new-item)
1240 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1241 New functions.
1242
1243 (rst-all-sections, rst-section-hierarchy)
1244 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1245 New variables.
1246
1247 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1248 configuration instead of only buffer. Change where necessary.
1249
1250 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1251 (rst-shift-region, rst-adaptive-fill): New functions for
1252 indentation and filling.
1253
1254 (rst-comment-line-break, rst-comment-indent)
1255 (rst-comment-insert-comment, rst-comment-region)
1256 (rst-uncomment-region): New functions for handling comments.
1257
1258 (rst-compile): Quote shell arguments.
1259
1260 (rst-compile-pdf-preview, rst-compile-slides-preview):
1261 Delete temporary files after use.
1262
a43f98b3
GM
12632012-05-05 Glenn Morris <rgm@gnu.org>
1264
48176e8b
GM
1265 * calendar/cal-html.el: Optionally include holidays in the output.
1266 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1267 (cal-html-holidays): New option.
1268 (cal-html-css-default): Add holiday entry.
1269 (holiday-in-range): Autoload it.
1270 (cal-html-htmlify-entry): Add optional class argument.
1271 (cal-html-htmlify-list): Add optional holidays argument.
1272 (cal-html-insert-agenda-days): Include holidays in the output.
1273 (cal-html-one-month): Maybe include holidays.
1274
a43f98b3
GM
1275 * calendar/holidays.el (holiday-in-range):
1276 Move here from cal-tex-list-holidays.
1277 * calendar/cal-tex.el (cal-tex-list-holidays):
1278 Make it an obsolete alias for holiday-in-range. Update all callers.
1279
fef9d149 12802012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1281
1282 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1283 Nextstep.
1284
248da2f4
RW
12852012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1286
1287 * files.el (file-auto-mode-skip): New var.
1288 (set-auto-mode-1): Use it.
1289
f95e9344
SM
12902012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1291
df96ab1e
SM
1292 * repeat.el: Use lexical-binding.
1293 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1294 (repeat-undo-count): Remove.
1295 (repeat):
1296 * progmodes/octave-mod.el (octave-abbrev-start):
1297 * progmodes/f90.el (f90-abbrev-start):
1298 * face-remap.el (text-scale-adjust):
1299 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1300
5342bb06
SM
1301 * emacs-lisp/pcase.el (pcase--let*): New function.
1302 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1303 a bit more.
1304 (pcase--split-pred): Be more clever about ruling out overlap between
1305 a predicate and some constant pattern.
1306 (pcase--q1): Use `null' instead of (eq foo nil).
1307
f95e9344
SM
1308 * subr.el (setq-local, defvar-local): New macros.
1309 (kbd): Redefine as an alias.
1310 (with-selected-window): Leave unrelated frames alone.
1311 (set-temporary-overlay-map): New function.
1312
71873e2b
SM
13132012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * subr.el (user-error): New function.
1316 * window.el (switch-to-buffer):
1317 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1318 (smerge-match-conflict):
1319 * simple.el (previous-matching-history-element)
1320 (next-matching-history-element, goto-history-element, undo-more)
1321 (undo-start):
1322 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1323 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1324 (next-file, tags-loop-scan, list-tags, complete-tag):
1325 * progmodes/compile.el (compilation-loop):
1326 * mouse.el (mouse-minibuffer-check):
1327 * man.el (Man-bgproc-sentinel, Man-goto-page):
1328 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1329 (Info-history-forward, Info-follow-reference, Info-menu)
1330 (Info-extract-menu-item, Info-extract-menu-counting)
1331 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1332 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1333 (Info-next-reference, Info-prev-reference, Info-index)
1334 (Info-index-next, Info-follow-nearest-node)
1335 (Info-copy-current-node-name):
1336 * imenu.el (imenu--make-index-alist)
1337 (imenu-default-create-index-function, imenu-add-to-menubar):
1338 * files.el (basic-save-buffer, recover-file):
1339 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1340 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1341 (checkdoc-message-text, checkdoc-defun):
1342 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1343 * cus-edit.el (customize-changed-options, customize-rogue)
1344 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1345 (custom-variable-mark-to-reset-standard)
1346 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1347 (custom-file):
1348 * completion.el (check-completion-length):
1349 * comint.el (comint-search-arg)
1350 (comint-previous-matching-input-string-position)
1351 (comint-previous-matching-input)
1352 (comint-replace-by-expanded-history-before-point, comint-send-input)
1353 (comint-copy-old-input, comint-backward-matching-input)
1354 (comint-goto-process-mark, comint-set-process-mark):
1355 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1356 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1357
8a61ee22
SM
13582012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1359
66408d1e
SM
1360 * dabbrev.el (dabbrev--ignore-case-p): New function.
1361 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1362 Use it.
1363
8a61ee22
SM
1364 * files.el (automount-dir-prefix): Mark as obsolete.
1365
3c74813a
GM
13662012-05-04 Glenn Morris <rgm@gnu.org>
1367
1368 * patcomp.el, play/bruce.el: Move to obsolete/.
1369
0bfcf5c5
PE
13702012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1371
1372 Fix minor Y10k bugs.
1373 * arc-mode.el (archive-unixdate):
1374 * autoinsert.el (auto-insert-alist):
1375 * calc/calc-forms.el (math-this-year):
1376 * emacs-lisp/copyright.el (copyright-current-year)
1377 (copyright-update-year, copyright):
1378 * tar-mode.el (tar-clip-time-string):
1379 * time.el (display-time-update):
1380 Don't assume years have 4 digits.
1381
78f3273a
CY
13822012-05-04 Chong Yidong <cyd@gnu.org>
1383
1384 * dos-w32.el (file-name-buffer-file-type-alist)
1385 (direct-print-region-use-command-dot-com):
1386 * ffap.el (ffap-menu-regexp):
1387 * find-file.el (ff-special-constructs):
1388 * follow.el (follow-debug):
1389 * forms.el (forms--debug):
1390 * iswitchb.el (iswitchb-all-frames):
1391 * ido.el (ido-all-frames):
1392 * emacs-lisp/timer.el (timer-max-repeats):
1393 * mail/feedmail.el (feedmail-mail-send-hook)
1394 (feedmail-mail-send-hook-queued):
1395 * mail/footnote.el (footnote-signature-separator):
1396 * mail/mailabbrev.el (mail-alias-separator-string)
1397 (mail-abbrev-mode-regexp):
1398 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1399 * progmodes/idlwave.el (idlwave-libinfo-file)
1400 (idlwave-default-completion-case-is-down)
1401 (idlwave-library-routines): Convert defvars to defcustoms.
1402
1403 * mail/rmail.el (rmail-decode-mime-charset):
1404 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1405 (idlwave-shell-fix-inserted-breaks)
1406 (idlwave-shell-activate-alt-keybindings)
1407 (idlwave-shell-use-breakpoint-glyph):
1408 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1409
f7ae6719
SM
14102012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1411
1412 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1413
47086495
WS
14142012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1415
1416 * progmodes/verilog-mode.el (font-lock-keywords):
1417 Fix mis-highligting auto. Reported by Craig Barner.
1418 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1419 defines from global name space. Reported by Dan Dever.
1420 (verilog-auto-reset, verilog-auto-reset-widths)
1421 (verilog-auto-tieoff): Support using unbased numbers for
1422 AUTORESET and AUTOTIEOFF.
1423 (verilog-submit-bug-report): Update variable list.
1424 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1425 parenthesis from not matching. Reported by Michael Rytting.
1426 (verilog-auto-template-lint): Fix hash error when linting modules
1427 with no used templates.
1428 (verilog-warn, verilog-warn-error)
1429 (verilog-warn-fatal): When non-interactive report multiple
1430 warnings before exiting. Suggested by Brad Dobbie.
1431 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1432 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1433 to report unused template errors. Reported by Brad Dobbie.
1434 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1435 nets, bug438. Reported by Vns Blore.
1436 (verilog-auto-inout-module, verilog-auto-reg)
1437 (verilog-read-decls, verilog-read-sub-decls-sig)
1438 (verilog-signals-edit-wire-reg, verilog-signals-with):
1439 Fix passing of Verilog data types in ANSI input/output ports
1440 such as "output logic" into the AUTOs. Special case "wire" and
1441 "reg" for backwards compatibility presuming Verilog 2001.
1442 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1443 (verilog-preprocess): Fix replication of preprocess output.
1444 Reported by Brad Dobbie.
1445 (verilog-auto-inst-interfaced-ports):
1446 Create verilog-auto-inst-interfaced-ports, bug429.
1447 Reported by Julian Gorfajn.
1448 (verilog-after-save-font-hook)
1449 (verilog-before-save-font-hook): New variable.
1450 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1451 (verilog-save-font-mods): Wrap disabling fontification, reported
1452 by David Rogoff.
1453 (verilog-do-indent, verilog-pretty-declarations-auto)
1454 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1455 Reported by Pierre-David Pfister.
1456 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1457 of class declarations, bug292. Reported by Kevin Heilman.
1458 (verilog-read-decls): Fix 'parameter type' not appearing in
1459 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1460 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1461 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1462 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1463 Reported by David Kravitz.
1464
14652012-05-03 Michael McNamara <mac@mail.brushroad.com>
1466
1467 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1468 assignment with tests in ifs and for loops.
1469 (verilog-extended-complete-re, verilog-complete-reg): Change so
1470 that DPI inport functions don't look like fuction declarations.
1471 (verilog-pretty-expr): Don't line up assignment
1472 operations to the test and increment in if and for loops
1473 (verilog-extended-complete-re, verilog-complete-reg): Change so
1474 that DPI inport functions don't look like fuction declarations
1475
2e51d4b5
KH
14762012-05-03 Kenichi Handa <handa@m17n.org>
1477
1478 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1479 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1480 (Bug#11282).
1481
2bd785a2
SM
14822012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * emacs-lisp/bytecomp.el
1485 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1486 since cconv.el might have introduced :fun-body, internal-make-closure,
1487 and friends for bytecomp to handle (bug#11391).
1488 * custom.el (defcustom): Avoid ((λ ..) ..).
1489
99d27583
SM
14902012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1493
55a71479
JB
14942012-05-02 Juanma Barranquero <lekktu@gmail.com>
1495
1496 * notifications.el (dbus-debug):
1497 * term/linux.el (gpm-mouse-enable):
1498 * term/screen.el (xterm-register-default-colors): Declare.
1499
7b97c764
CY
15002012-05-02 Chong Yidong <cyd@gnu.org>
1501
2bc356d7
CY
1502 * cus-start.el (gc-cons-percentage, exec-suffixes)
1503 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1504 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1505 (make-cursor-line-fully-visible, void-text-area-pointer)
1506 (font-list-limit): Add customization data.
1507
7b97c764
CY
1508 * allout.el (allout-exposure-change-functions)
1509 (allout-structure-added-functions)
1510 (allout-structure-deleted-functions)
1511 (allout-structure-shifted-functions): Rename abnormal hooks from
1512 *-hook, and convert to defcustoms.
5d3385a0
JB
1513 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1514 Convert to defcustoms.
7b97c764
CY
1515 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1516
1517 * allout-widgets.el: Hook callers changed.
1518
90207a15 15192012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1520
1521 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1522 the yanked message in preference to the default value of
1523 buffer-file-coding-system.
1524
90207a15 15252012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1526
5d3385a0
JB
1527 * window.el (display-buffer--action-function-custom-type):
1528 Fix entry.
d9558cad 1529
90207a15 15302012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1531
1532 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1533
d80ac57b
GM
15342012-05-01 Glenn Morris <rgm@gnu.org>
1535
976f7668
GM
1536 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1537
beb83b5a
GM
1538 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1539
d80ac57b
GM
1540 * cus-edit.el (custom-variable-documentation): Simplify with format.
1541
b593d6a9
AH
15422012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1543 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * simple.el (suggest-key-bindings, execute-extended-command):
1546 Move from keyboard.c.
1547
782fbf2a
CY
15482012-05-01 Chong Yidong <cyd@gnu.org>
1549
1550 * follow.el: Eliminate advice.
1551 (set-process-filter, process-filter, sit-for): Advice deleted.
1552 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1553 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1554 Vars deleted.
782fbf2a
CY
1555 (follow-auto): Use a :set function.
1556 (follow-mode): Rewritten. Don't advise process filters.
1557 (follow-switch-to-current-buffer-all, follow-scroll-up)
1558 (follow-scroll-down): Assume follow-mode is bound.
1559 (follow-comint-scroll-to-bottom)
1560 (follow-align-compilation-windows): New functions.
1561 (follow--window-sorter): New function.
1562 (follow-all-followers): Use it to explicitly sort windows by their
1563 positions; don't make assumptions about next-window order.
1564 (follow-windows-start-end, follow-delete-other-windows-and-split)
1565 (follow-calc-win-start): Doc fix.
1566 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1567 vertical-motion unnecessarily.
1568 (follow-adjust-window): New function.
1569 (follow-post-command-hook): Use it.
1570 (follow-call-set-process-filter, follow-call-process-filter)
1571 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1572 (follow-stop-intercept-process-output, follow-generic-filter):
1573 Functions deleted.
1574 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1575 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1576 New functions, replacing advice on scroll-bar-* commands.
87233a14 1577 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1578
1579 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1580 (comint-postoutput-scroll-to-bottom): Use it.
1581 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1582
290af740
GM
15832012-05-01 Glenn Morris <rgm@gnu.org>
1584
1585 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1586 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1587 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1588 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1589 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1590 Remove no-byte-compile setting.
1591
6eac8dc9
SM
15922012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1595 all-completions code to not return a number in the last cdr.
1596
9cc7819c
LL
15972012-04-30 Leo Liu <sdl.web@gmail.com>
1598
1599 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1600 read-only error.
1601
c93b886f
CY
16022012-04-29 Chong Yidong <cyd@gnu.org>
1603
1604 * follow.el (follow-calc-win-end): Rewrite to handle partial
1605 screen lines correctly (Bug#8390).
1606 (follow-avoid-tail-recenter): Minor cleanup.
1607
8b6c19f4
SM
16082012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1609
1610 Avoid the obsolete `assoc' package.
1611 * speedbar.el (speedbar-refresh): Avoid adelete.
1612 (speedbar-file-lists): Simplify and avoid aput.
1613 * man.el (Man--sections, Man--refpages): New vars, replacing
1614 Man-sections-alist and Man-refpages-alist.
1615 (Man-build-section-alist, Man-build-references-alist):
1616 Use them; avoid aput.
1617 (Man--last-section, Man--last-refpage): New vars.
1618 (Man-follow-manual-reference): Use them.
1619 Use the `default' arg of completing-read.
1620 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1621
c5bb7569
CY
16222012-04-27 Chong Yidong <cyd@gnu.org>
1623
d1d2e2e8
CY
1624 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1625
15cd8efd
CY
1626 * startup.el (x-apply-session-resources): New function.
1627
1628 * term/ns-win.el (ns-initialize-window-system):
1629 * term/w32-win.el (w32-initialize-window-system):
1630 * term/x-win.el (x-initialize-window-system): Use it to properly
1631 set menu-bar-mode and other vars from X resources, even if the
1632 initial frame is not a window-system frame (Bug#2299).
1633
c5bb7569
CY
1634 * subr.el (read-key): Avoid running filter function when setting
1635 up temporary tool bar entries (Bug#9922).
1636
a8e7d6d7 16372012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1638
1639 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1640 (Bug#11344)
1641
a8e7d6d7 16422012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1643
1644 * select.el (xselect--encode-string): New function, split from
1645 xselect-convert-to-string.
1646 (xselect-convert-to-string): Use it.
1647 (xselect-convert-to-filename, xselect-convert-to-os)
1648 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1649 returned strings are properly encoded (Bug#11315).
1650
a8e7d6d7 16512012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1652
1653 * simple.el (delete-active-region): Move to killing custom group.
1654
a8e7d6d7 16552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1656
1657 * progmodes/which-func.el (which-func-current): Quote %
1658 characters for mode-line processing.
1659
578c1d4b 16602012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1661
1662 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1663 reaching eob (Bug#11286).
1664
a8e7d6d7 16652012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1666
1667 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1668 (gdb): Make it buffer-local and init to zero.
1669 (gdb-control-commands-regexp): New variable.
1670 (gdb-send): Don't wrap in "-interpreter-exec console" if
1671 gdb-control-level is positive. Increment gdb-control-level
1672 whenever the command matches gdb-control-commands-regexp, and
1673 decrement it each time the command is "end". (Bug#11279)
1674
a8e7d6d7 16752012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1676
1677 * window.el (adjust-window-trailing-edge, enlarge-window)
1678 (shrink-window, window-resize):
1679 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1680 windows (Bug#11276).
1681
b3608390
CY
16822012-04-27 Chong Yidong <cyd@gnu.org>
1683
1684 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1685 fix "missing prefix" warning. All callers changed.
b3608390 1686
797e6e88
SM
16872012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * emacs-lisp/assoc.el: Move to obsolete/.
1690
e95a67dc
SM
16912012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1692
657c21e4 1693 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1694
1695 * term/ns-win.el (ns-define-service):
1696 * progmodes/pascal.el (pascal-goto-defun):
1697 * progmodes/js.el (js--read-tab):
1698 * progmodes/etags.el (tags-lazy-completion-table):
1699 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1700 * emacs-lisp/ewoc.el (ewoc--wrap):
1701 * emacs-lisp/assoc.el (aput, adelete, amake):
1702 * doc-view.el (doc-view-convert-current-doc):
1703 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1704
cb3e7ae0
CY
17052012-04-26 Chong Yidong <cyd@gnu.org>
1706
dce04f7f
CY
1707 * image.el (image-type-from-buffer): Only return supported image
1708 type (Bug#9045).
1709
cb3e7ae0
CY
1710 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1711 value, for symmetry with diff-end-of-hunk.
1712 (diff-split-hunk, diff-find-source-location)
1713 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1714 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1715 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1716 compute the relevant hunk or file properly (Bug#6005).
1717 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1718
0d42eb3e
SM
17192012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * vc/vc-mtn.el:
1722 * vc/vc-hg.el:
1723 * vc/vc-git.el:
1724 * vc/vc-dir.el:
1725 * vc/vc-cvs.el:
1726 * vc/vc-bzr.el:
1727 * vc/vc-arch.el:
1728 * vc/vc.el: Replace lexical-let by lexical-binding.
1729 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1730 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1731 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1732
f08ae1c9
CY
17332012-04-26 Chong Yidong <cyd@gnu.org>
1734
8b71081d
CY
1735 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1736 (diff-mode-shared-map): Bind it to / and [remap undo].
1737
f08ae1c9
CY
1738 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1739 (ediff-window-setup-function): Use it as the default, to set up
1740 windows based on whether the current frame is graphical (Bug#2138).
1741 (ediff-choose-window-setup-function-automatically): Make obsolete.
1742
1743 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1744
ef24141c
SM
17452012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1746
cc356a5d
SM
1747 * ffap.el: Remove old code for obsolete package.
1748 (ffap-complete-as-file-p): Remove.
1749
b4ff4f1f
SM
1750 Use completion-table-with-quoting for comint and pcomplete.
1751 * comint.el (comint--unquote&requote-argument)
1752 (comint--unquote-argument, comint--requote-argument): New functions.
1753 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1754 (comint-quote-filename): Use regexp-opt-charset.
1755 (comint--common-suffix, comint--common-quoted-suffix)
1756 (comint--table-subvert): Remove.
1757 (comint-unquote-function, comint-requote-function): New vars.
1758 (comint--complete-file-name-data): Use them with
1759 completion-table-with-quoting.
1760 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1761 * pcomplete.el (pcomplete-arg-quote-list)
1762 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1763 (pcomplete-unquote-argument-function): Default to non-nil.
1764 (pcomplete-unquote-argument): Simplify.
1765 (pcomplete--common-quoted-suffix): Remove.
1766 (pcomplete-requote-argument-function): New var.
1767 (pcomplete--common-suffix): New function.
1768 (pcomplete-completions-at-point): Use completion-table-with-quoting
1769 and completion-table-subvert.
1770
79c4eeb4
SM
1771 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1772 (minibuffer--double-dollars): Preserve properties.
1773 (completion--sifn-requote): New function.
1774 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1775
ef24141c
SM
1776 * minibuffer.el: Add support for completion of quoted/escaped data.
1777 (completion-table-with-quoting, completion-table-subvert): New funs.
1778 (completion--twq-try, completion--twq-all): New functions.
1779 (completion--nth-completion): New function.
1780 (completion-try-completion, completion-all-completions): Use it.
1781
784e7d6e
LL
17822012-04-25 Leo Liu <sdl.web@gmail.com>
1783
dd2ac746
SM
1784 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1785 Use compilation-message if available to find real filename.
784e7d6e 1786
07875ee7
CY
17872012-04-25 Chong Yidong <cyd@gnu.org>
1788
1789 * vc/diff-mode.el (diff-setup-whitespace): New function.
1790 (diff-mode): Use it.
1791
1792 * vc/diff.el (diff-sentinel):
1793 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1794 Whitespace mode variables based on diff style (Bug#8612).
1795
5055880d
LL
17962012-04-25 Leo Liu <sdl.web@gmail.com>
1797
daf75653
LL
1798 * progmodes/python.el (python-send-region): Add suffix .py to the
1799 temp file.
1800
5055880d
LL
1801 * files.el (auto-mode-alist): Use javascript-mode instead.
1802
db9b177b
AH
18032012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1804
ef24141c 1805 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1806
1807 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1808 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1809 references, see Bug#9.
ef24141c 1810 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1811 when receiving a fault reply.
ef24141c 1812 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1813
1814 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1815 (soap-inspect-simple-type): New function.
db9b177b 1816
ef24141c 1817 * soap-client.el (soap-simple-type): New struct.
db9b177b 1818 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1819 (soap-decode-basic-type, soap-encode-basic-type):
1820 support unsignedInt and double basic types.
db9b177b 1821 (soap-resolve-references-for-simple-type)
ef24141c
SM
1822 (soap-parse-simple-type, soap-encode-simple-type): New function.
1823 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1824
1825 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1826 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1827 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1828 the local name of "soapenc:Array".
1829 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1830 decoding integer, byte and anyURI xsd types.
1831
1fc6097b
CY
18322012-04-25 Chong Yidong <cyd@gnu.org>
1833
1834 * cus-edit.el (custom-buffer-create-internal): Update header text.
1835
afc6df87
EZ
18362012-04-25 Eli Zaretskii <eliz@gnu.org>
1837
1838 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1839 settings on 'system-type', not on 'window-system'. On MS-Windows,
1840 set interactive-mode on in GDB.
1841
dfbd787f
SM
18422012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1845 (ruby-syntax-propertize-regexp): Remove.
1846 (ruby-syntax-propertize-function): Split regexp into chunks.
1847 Match following code directly.
1848
85222d44
DG
18492012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1850
51a8ea2a
DG
1851 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1852 (ruby-syntax-propertize-regexp): New function.
1853 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1854 by a special keyword.
1855
85222d44
DG
1856 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1857 (ruby-syntax-general-delimiters-goto-beg)
1858 (ruby-syntax-propertize-general-delimiters): New functions.
1859 (ruby-syntax-propertize-function): Use them to handle GDL.
1860 (ruby-font-lock-keywords): Move old handling of GDL...
1861 (ruby-font-lock-syntactic-keywords): .. to here.
1862 (ruby-calculate-indent): Adjust indentation for GDL.
1863
b613912b
MA
18642012-04-24 Michael Albinus <michael.albinus@gmx.de>
1865
b5380639
MA
1866 * notifications.el (top): Remove unneeded declarations.
1867 (notifications-specification-version): Change to "1.2".
e43042fe 1868 (notifications-interface, notifications-notify-method)
b613912b
MA
1869 (notifications-close-notification-method): Fix docstring.
1870 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1871 (notifications-notify): Add :action-items, :resident and
1872 :transient hints. Change "image_data" to "image-data" and
1873 "image_path" to "image-path".
b613912b
MA
1874 (notifications-get-capabilities): New defun.
1875
257440aa
LL
18762012-04-24 Leo Liu <sdl.web@gmail.com>
1877
1878 * progmodes/python.el: Move hideshow setup to the end.
1879
b1bac16e
MR
18802012-04-24 Martin Rudalics <rudalics@gmx.at>
1881
1882 * window.el (handle-select-window): Clear echo area since this is
1883 no more done by read_char (Bug#11304).
1884
d81bd059
SM
18852012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1888 and `/ M' to filter-derived-mode.
1889 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1890 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1891 (ibuffer-mark-by-mode): Use default rather than initial-input.
1892 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1893
c4cf6d91
IA
18942012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1895
1896 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1897 (ibuffer-filter-by-derived-mode): New filter.
1898 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1899
7511ded8
CY
19002012-04-23 Andreas Politz <politza@fh-trier.de>
1901
1902 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1903
775c916b
CY
19042012-04-23 Chong Yidong <cyd@gnu.org>
1905
1906 * cus-edit.el (customize-apropos, customize-apropos-options):
1907 Disable matching of non-option variables (Bug#11176).
1908 (customize-option, customize-option-other-window)
1909 (customize-changed-options): Doc fix.
1910 (customize-apropos-options, customize-apropos-faces)
1911 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1912
1913 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1914 Fix word list splitting (Bug#11132).
46c71e23
CY
1915 (apropos-symbol, apropos-keybinding, apropos-label)
1916 (apropos-property, apropos-function-button)
1917 (apropos-variable-button, apropos-misc-button): New faces.
1918 (apropos-symbol-face, apropos-keybinding-face)
1919 (apropos-label-face, apropos-property-face, apropos-match-face):
1920 Variables removed (Bug#8396).
1921 (apropos-library-button, apropos-format-plist, apropos-print)
1922 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1923
2df41f9c
MA
19242012-04-23 Michael Albinus <michael.albinus@gmx.de>
1925
1926 * net/xesam.el (xesam-mode-map): Use let-bound map in
1927 initialization. (Bug#11292)
1928
da00640a
AM
19292012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1930
1931 Preserve ispell session localwords when switching back to
1932 original buffer.
1933
1934 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1935 variable to hold buffer session localwords.
1936 (ispell-kill-ispell): add option 'clear to delete session
1937 localwords.
1938 (ispell-command-loop, ispell-change-dictionary)
1939 (ispell-buffer-local-words): Preserve session localwords when
1940 needed.
1941
1942 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1943 Preserve session localwords when needed.
1944
f621ccf5
AM
19452012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1946
1947 * ispell.el (ispell-insert-word) Remove unneeded function using
1948 obsolete `translation-table-for-input'.
ef24141c
SM
1949 (ispell-word, ispell-process-line, ispell-complete-word):
1950 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1951
c2d1019e
CY
19522012-04-22 Chong Yidong <cyd@gnu.org>
1953
1954 * cus-edit.el (custom-variable-menu)
1955 (custom-variable-reset-saved, custom-face-menu)
1956 (custom-face-reset-saved): If there is no saved value, make the
1957 "reset-saved" operation bring back the default (Bug#9509).
1958 (custom-face-state): Properly detect themed faces.
1959
eeddc531
CY
1960 * faces.el (face-spec-set): Stop supporting deprecated form of
1961 third arg.
1962
dcbf5805
MA
19632012-04-22 Michael Albinus <michael.albinus@gmx.de>
1964
1965 Move functions from C to Lisp. Make non-blocking method calls
1966 the default. Implement further D-Bus standard interfaces.
1967
ef24141c
SM
1968 * net/dbus.el (dbus-message-internal): Declare function.
1969 Remove unneeded function declarations.
dcbf5805
MA
1970 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1971 (dbus-message-type-method-return, dbus-message-type-error)
1972 (dbus-message-type-signal): Declare variables. Remove local
1973 definitions.
1974 (dbus-interface-dbus, dbus-interface-peer)
1975 (dbus-interface-introspectable, dbus-interface-properties)
1976 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1977 Adapt docstring.
1978 (dbus-interface-objectmanager): New defconst.
1979 (dbus-call-method, dbus-call-method-asynchronously)
1980 (dbus-send-signal, dbus-method-return-internal)
1981 (dbus-method-error-internal, dbus-register-service)
1982 (dbus-register-signal, dbus-register-method): New defuns, moved
1983 from dbusbind.c
1984 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1985 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1986 New defuns.
dcbf5805
MA
1987 (dbus-call-method-non-blocking): Make it an obsolete function.
1988 (dbus-unregister-object, dbus-unregister-service)
1989 (dbus-handle-event, dbus-register-property)
1990 (dbus-property-handler): Obey the new structure of
1991 `bus-registered-objects'.
1992 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1993 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1994 Use `dbus-call-method'.
1995
cf20dee0
CY
19962012-04-22 Chong Yidong <cyd@gnu.org>
1997
1998 * cus-edit.el (custom-commands, custom-reset-menu)
1999 (Custom-reset-standard): Tweak labels.
2000 (custom-reset-button-menu): Change default to t.
2001 (custom-buffer-create-internal): For the custom-reset-button-menu
2002 case, put the revert button first.
2003 (custom-group-subtitle): New face.
2004 (custom-group-value-create): Align docstring to a specific column.
2005
2006 * wid-edit.el (widget-documentation-link-add): Don't handle
2007 indentation in this function.
2008 (widget-documentation-string-indent-to): New function.
2009 (widget-documentation-string-value-create): Use it.
2010
2011 * autorevert.el (auto-revert):
2012 * epg-config.el (epg):
2013 * ibuffer.el (ibuffer):
2014 * mpc.el (mpc):
2015 * ses.el (ses):
2016 * eshell/eshell.el (eshell):
2017 * net/ange-ftp.el (ange-ftp):
2018 * progmodes/ebnf2ps.el (postscript):
2019 * progmodes/flymake.el (flymake):
2020 * progmodes/prolog.el (prolog):
2021 * progmodes/verilog-mode.el (verilog-mode):
2022 * progmodes/which-func.el (which-func):
2023 * term/xterm.el (xterm):
2024 * textmodes/picture.el (picture):
2025 * textmodes/tildify.el (tildify):
2026 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2027 customization buffers.
2028
583e23bd
AM
20292012-04-22 Alan Mackenzie <acm@muc.de>
2030
2031 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2032 Adding a ) can hide the resulting (..) from searches. Fix it.
2033 Bound the backward search to the position of the existing (.
2034
7dd51bf1
JB
20352012-04-21 Juanma Barranquero <lekktu@gmail.com>
2036
2037 * progmodes/verilog-mode.el (verilog-mode): Check whether
2038 which-func-modes is t before adding verilog-mode.
2039 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2040
d64a438f
LL
20412012-04-21 Leo Liu <sdl.web@gmail.com>
2042
7dd51bf1 2043 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2044
081e8d65
MV
20452012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2046
2047 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2048 filling of the last column of a table (Bug#5635).
2049 (woman-find-next-control-line): New arg, specifying an additional
2050 regexp component for the control line.
2051 (woman2-roff-buffer): Use it.
2052 (woman-break-table): New function.
2053 (woman2-TS): Use it.
2054
20552012-04-21 Chong Yidong <cyd@gnu.org>
2056
2057 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2058 (woman-horizontal-escapes, woman-negative-vertical-space)
2059 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2060 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2061
ed571ccb
SM
20622012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * minibuffer.el (completion-file-name-table): Complete user names.
2065
39773899
LL
20662012-04-20 Leo Liu <sdl.web@gmail.com>
2067
2068 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2069 and pcase-let*.
2070
de6ff46d
CY
20712012-04-20 Chong Yidong <cyd@gnu.org>
2072
2073 * server.el (server-execute): Respect initial-buffer-choice if it
2074 is a string and there are no files to open (Bug#2825).
2075 (server-create-window-system-frame, server-create-tty-frame):
2076 Don't switch buffers here.
2d0e8e61
CY
2077 (server-process-filter): Only try to open a window system frame if
2078 compiled with graphical support (Bug#8314).
de6ff46d 2079
54071013
DN
20802012-04-20 Dan Nicolaescu <dann@gnu.org>
2081
2082 * battery.el (battery-echo-area-format): Display remaining time
2083 for sysfs backend too (Bug#11269).
2084 (battery-linux-sysfs): Fix conditional for the charge.
2085
f30d612a
CY
20862012-04-20 Chong Yidong <cyd@gnu.org>
2087
c07a4c0b 2088 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2089 (gdb-inferior-io--init-proc): New function.
2090 (gdb-init-1): Use it.
2091 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2092 responsible for allocating a new pty and hooking it to gdb when
2093 the old pty gets an EIO due to process exit.
2094 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2095 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2096 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2097
2116e93c
EZ
20982012-04-20 Eli Zaretskii <eliz@gnu.org>
2099
2100 * window.el (window-min-size, window-sizable, window-min-delta)
2101 (window-max-delta, window--resizable, window-resizable)
2102 (window-total-size, window-full-height-p, window-full-width-p)
2103 (window-in-direction, window--resize-mini-window, window-resize)
2104 (window--resize-child-windows-normal)
2105 (window--resize-child-windows, window--resize-siblings)
2106 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2107 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2108
c07a4c0b 21092012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2110
ef24141c
SM
2111 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2112 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2113 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2114 pty process (Bug#11273).
2115 (gdb-update): New arg to suppress talking to the gdb process.
2116 (gdb-done-or-error): Use it.
2117 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2118 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2119 sentinel not being called.
2120
2121 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2122
d02766ab
CY
2123 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2124
c07a4c0b 21252012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2126
2127 * net/network-stream.el (open-network-stream): Doc fix.
2128
c07a4c0b 21292012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2130
2131 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2132
c07a4c0b 21332012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2134
2135 Ensure searching for keywords is case sensitive.
2136
2137 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2138 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2139 (c-defun-name, c-mark-function, c-cpp-define-name)
2140 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2141 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2142
ef24141c
SM
2143 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2144 Bind case-fold-search to nil.
f0f6bc35 2145
c07a4c0b 21462012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2147
2148 * mail/sendmail.el (mail-bury): Call return action with the right
2149 Rmail buffer (Bug#11242).
2150
9a864fa2
CY
2151 * server.el (server-process-filter): Handle corner case where both
2152 tty and nowait options are present (Bug#11102).
2153
539aa513
EZ
21542012-04-20 Eli Zaretskii <eliz@gnu.org>
2155
2156 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2157 (top level): Put into the executable the ident-style '$Id:' tag on
2158 windows-nt as well.
539aa513 2159
cfc7d5da
SM
21602012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * electric.el (electric-indent-post-self-insert-function): Check that
2163 electric-indent-mode is enabled in current buffer.
2164
5b01685c
JB
21652012-04-19 Juanma Barranquero <lekktu@gmail.com>
2166
2167 * imenu.el (imenu-progress-message): Restore; it is "used" in
2168 erc/erc-imenu.el and net/snmp-mode.el.
2169
4d6769e1
JB
21702012-04-19 Juanma Barranquero <lekktu@gmail.com>
2171
2172 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2173 (mouse-avoidance-nudge-mouse): Remove unused binding.
2174
2175 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2176
2177 * descr-text.el (describe-char):
2178 * progmodes/python.el (python-describe-symbol):
2179 Don't call `toggle-read-only', set `buffer-read-only'.
2180
2181 * imenu.el (imenu-default-goto-function): Mark unused args.
2182 (imenu-progress-message): Remove obsolete macro; all callers changed.
2183
2184 * subr.el (keymap-canonicalize): Remove unused binding.
2185 (read-passwd): Mark unused arg.
2186
2187 * tutorial.el (tutorial--display-changes): Remove unused binding.
2188 (tutorial--save-tutorial-to): Remove unused variable.
2189
2190 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2191 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2192 (package-generate-autoloads, package-menu--generate)
2193 (package-menu--find-upgrades): Remove unused bindings.
2194
2195 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2196 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2197 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2198 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2199 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2200 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2201 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2202 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2203 (cua-delete-char-rectangle): Mark unused args.
2204 (cua-align-rectangle): Remove unused binding.
2205
2206 * mail/rmail.el (compilation--message->loc)
2207 (epa--find-coding-system-for-mime-charset): Declare.
2208
2209 * net/dbus.el (dbus-register-service): Declare.
2210 (dbus-name-owner-changed-handler): Remove unused binding.
2211
2212 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2213 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2214 (nxml-scan-backward-within): Mark unused arg.
2215 (nxml-dynamic-markup-word): Remove unused binding.
2216
2217 * mouse.el (mouse-menu-major-mode-map):
2218 * emacs-lisp/authors.el (authors-scan-change-log)
2219 (authors-add-to-author-list):
2220 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2221 * emacs-lisp/smie.el (smie-auto-fill):
2222 * mail/sendmail.el (mail-bury):
2223 * mail/unrmail.el (unrmail):
2224 * net/tls.el (open-tls-stream):
2225 * textmodes/picture.el (picture-mouse-set-point):
2226 Remove unused bindings.
2227
8c8fc5df
MA
22282012-04-19 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * net/tramp.el (tramp-action-password): Let-bind
2231 `enable-recursive-minibuffers' to t.
2232
a77b0ac9
SS
22332012-04-18 Sam Steingold <sds@gnu.org>
2234
2235 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2236 instead of 'string to accommodate values like [f11].
2237 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2238 * progmodes/gdb-mi.el: Likewise.
2239
12a106a9
LL
22402012-04-18 Leo Liu <sdl.web@gmail.com>
2241
2242 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2243 current buffer.
2244 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2245 LOCAL is nil.
2246
bc6494ef
CY
22472012-04-18 Chong Yidong <cyd@gnu.org>
2248
2249 * simple.el (line-move): Use forward-line if in batch mode
2250 (Bug#11053).
2251
c09c46b2
CS
22522012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2253
2254 * files.el (after-find-file): Do not try to add a final newline if
2255 the buffer is read-only (Bug#11156).
2256
5f6530ea
RS
22572012-04-17 Richard Stallman <rms@gnu.org>
2258
2259 * mail/rmail.el (rmail-start-mail):
2260 Pass (rmail-mail-return...) for the return-action.
2261 Pass (rmail-yank-current-message...) for the yank-action.
2262 (rmail-yank-current-message): New function.
2263 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2264 (rmail-reply): Likewise.
2265 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2266
2267 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2268 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2269 buffer, not newbuf.
2270
197b6f3c
JB
22712012-04-17 Juanma Barranquero <lekktu@gmail.com>
2272
2273 * server.el (server-ensure-safe-dir): Simplify.
2274
2311d8e5 22752012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2276
2311d8e5
GM
2277 * emacs-lisp/smie.el: Provide smarter auto-filling.
2278 (smie-auto-fill): New function.
2279 (smie-setup): Use it.
98fb480e 2280
2311d8e5
GM
2281 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2282
22832012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2284
2285 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2286 (comment-indent): Use it.
2287
2311d8e5 22882012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2289
2290 * ses.el: The overall change is to add cell renaming, that is
2291 setting fancy names for cell symbols other than name matching
2292 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2293 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2294 (ses-create-cell-variable): New defun.
2311d8e5 2295 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2296 (ses-relocate-formula): Relocate formulas only for cells the
2297 symbols of which are not renamed, i.e. symbols whose names do not
2298 match regexp "\\`[A-Z]+[0-9]+\\'".
2299 (ses-relocate-all): Relocate values only for cells the symbols of
2300 which are not renamed.
2301 (ses-load): Create cells variables as the (ses-cell ...) are read,
2302 in order to check row col consistency with cell symbol name only
2303 for cells that are not renamed.
2304 (ses-replace-name-in-formula): New defun.
2305 (ses-rename-cell): New defun.
4bdf2ad2 2306
fc72b15c
PO
23072012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2308
2309 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2310 New option (bug#11118).
2311 (perl-calculate-indent): Respect it.
2312
12e10e61
GM
23132012-04-17 Glenn Morris <rgm@gnu.org>
2314
2315 * dired-aux.el (dired-mark-read-string): Doc fix.
2316
30009afd
DA
23172012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2318
2319 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2320 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2321
41f03f4d
GM
23222012-04-17 Glenn Morris <rgm@gnu.org>
2323
2324 * mouse.el (mouse-drag-track):
2325 * speedbar.el (speedbar-frame-mode):
2326 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2327
f45f90f3
LL
23282012-04-16 Leo Liu <sdl.web@gmail.com>
2329
2330 * progmodes/python.el: Trivial cleanup.
2331
94ee8db5
GM
23322012-04-16 Glenn Morris <rgm@gnu.org>
2333
121b8917
GM
2334 * vc/vc.el (vc-string-prefix-p):
2335 * vc/pcvs-util.el (cvs-string-prefix-p):
2336 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2337 * mpc.el (mpc-string-prefix-p):
2338 Make all of these into obsolete aliases for string-prefix-p.
2339 Update callers.
2340 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2341
1197ecfa
GM
2342 * textmodes/two-column.el: Move custom options to the start.
2343 (frame-width): Remove compat definition.
2344 (2C-associate-buffer, 2C-dissociate):
2345 Use with-current-buffer rather than save-excursion.
2346 (2C-dissociate): Force a mode-line update.
2347 (2C-autoscroll): Use ignore-errors.
2348
099e7202
GM
2349 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2350 Autoload trivia.
2351
bf350d6a
GM
2352 * emacs-lisp/cl-extra.el (*random-state*):
2353 Remove unnecessary declaration.
2354
0e829eab
GM
2355 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2356
e3ad7552
GM
2357 * play/cookie1.el (cookie-snarf):
2358 Give an explicit error if input file cannot be read.
2359
68892d27
GM
2360 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2361
20f0c46d
GM
2362 * progmodes/perl-mode.el (c-macro-expand):
2363 Remove unnecessary autoload (it is in loaddefs.el).
2364
5a0978ce
GM
2365 * textmodes/picture.el (picture-desired-column)
2366 (picture-update-desired-column): Convert comments to doc-strings.
2367 (picture-substitute): Remove function.
2368 (picture-mode-map): Initialize in the defvar.
2369
6b955486
GM
2370 * woman.el: Remove eval-after-load for tar-mode.
2371 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2372 (woman-tar-extract-file): Autoload it.
2373
94ee8db5
GM
2374 * frame.el (automatic-hscrolling): Make this alias obsolete.
2375
177eca34
AM
23762012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2377
2378 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2379 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2380 (ispell-dictionary-base-alist): Revert to original XEmacs
2381 friendly version for default. [:alpha:] will be added in
2382 `ispell-set-spellchecker-params' if needed
177eca34 2383
c505aaeb
CY
23842012-04-16 Chong Yidong <cyd@gnu.org>
2385
2386 * image.el (imagemagick--extension-regexp): New variable.
2387 (imagemagick-register-types): Use it.
2388 (imagemagick-types-inhibit): Add :set function. Allow new value
2389 of t to inhibit all types.
2390
2391 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2392 so we can preload it.
2393
2394 * loadup.el (fboundp): Preload regexp-opt, needed by
2395 imagemagick-register-types.
2396
60efac0f
CY
23972012-04-15 Chong Yidong <cyd@gnu.org>
2398
2399 * frame.el (scrolling): Remove nearly unused customization group.
2400
2401 * scroll-all.el (scroll-all-mode): Move to windows group.
2402
5dd1713e
CY
24032012-04-15 Chong Yidong <cyd@gnu.org>
2404
2405 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2406
e6fd457e
CY
24072012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2410 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2411
e153c136
GM
24122012-04-15 Glenn Morris <rgm@gnu.org>
2413
2414 * simple.el (process-file-side-effects): Doc fix.
2415
e6fd457e 24162012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2417
2418 * international/mule-cmds.el (set-language-environment): Doc fix.
2419
3603c3b1
JB
24202012-04-14 Juanma Barranquero <lekktu@gmail.com>
2421
2422 * server.el (server-auth-key, server-generate-key): Doc fixes.
2423 (server-get-auth-key): Doc fix. Use `string-match-p'.
2424 (server-start): Reflow docstring.
2425
e6de100c
LI
24262012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2427
2428 * server.el (server-generate-key): `called-interactively-p'
2429 requires a parameter.
2430
29734c21
MN
24312012-04-14 Michal Nazarewicz <mina86@mina86.com>
2432
2433 * server.el (server-auth-key): New variable.
75f1671a 2434 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2435 (server-start): Use the new variable and functions to allow
2436 setting a permanent server key (bug#9423).
2437
d65c9521
LL
24382012-04-14 Leo Liu <sdl.web@gmail.com>
2439
2440 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2441
5ae255c7
PE
24422012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2443
2444 Spelling fixes.
2445 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2446 Emacs uses American spelling.
2447
d5e6342e
JB
24482012-04-14 Juanma Barranquero <lekktu@gmail.com>
2449
2450 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2451 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2452 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2453 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2454
ab036cd7
SM
24552012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * progmodes/which-func.el (which-func-modes): Change default.
2458
35dc09a1 24592012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2460
2461 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2462 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2463
35dc09a1 24642012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2465
2466 * custom.el (custom-theme-set-variables): Doc fix.
2467
35dc09a1 24682012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2469
2470 * international/mule.el (set-auto-coding-for-load): Doc fix.
2471
35dc09a1 24722012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2473
35dc09a1
GM
2474 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2475 imenu work again for Objective C Mode. Correct the *-index values,
2476 these having been disturbed by a previous change in 2011-08.
57f845ee 2477
0de3da9f
AM
2478 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2479 Correct two search limits.
2480
35dc09a1 24812012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2482
2483 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2484
35dc09a1 24852012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2486
2487 * international/characters.el: Fix sorting.
2488
35dc09a1 24892012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2490
2491 * international/characters.el: Add more missing Latin case pairs.
2492
35dc09a1 24932012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2494
2495 * files.el (dir-locals-set-class-variables): Doc fix.
2496
35dc09a1 24972012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2498
3f1b5bf8
EZ
2499 * international/characters.el: Add set-case-syntax-pair call for
2500 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2501 counterpart. (Bug#11209)
2502
9f847f41
EZ
2503 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2504
35dc09a1 25052012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2506
2507 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2508
35dc09a1 25092012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2510
35dc09a1
GM
2511 * textmodes/ispell.el (ispell-dictionary-base-alist):
2512 Add data for Hebrew.
e2627d21 2513
35dc09a1 25142012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2515
35dc09a1
GM
2516 * net/rcirc.el (rcirc-cmd-quit):
2517 Revert 2012-03-18 change (Bug#11192).
5c14e333 2518
35dc09a1 25192012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2520
2521 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2522
35dc09a1 25232012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2524
4517fe3a
SM
2525 * minibuffer.el (completion-in-region-mode-map):
2526 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2527
b472a594
VD
25282012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2529
2530 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2531
09b95ce3
MY
25322012-04-13 Masatake YAMATO <yamato@redhat.com>
2533
2534 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2535 to allow `C-M-f' and `C-M-b' to move to the nearest path
2536 separator (bug#9511).
2537
4b63a9ca
LI
25382012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2539
2540 * avoid.el: Require cl when compiling. And also move the
2541 `provide' to the end.
2542
7b55b8bf
TV
25432012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2544
2545 * avoid.el (mouse-avoidance-banish-position): New variable.
2546 (mouse-avoidance-banish-destination): Use it (bug#10165).
2547
adedaa1f
LL
25482012-04-13 Leo Liu <sdl.web@gmail.com>
2549
2550 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2551
70e74021
KB
25522012-04-13 Ken Brown <kbrown@cornell.edu>
2553
2554 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2555 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2556 (browse-url-filename-alist): For the same reason, don't modify
2557 file:// URLs on Cygwin.
2558
e75e89ba
SM
25592012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2562 the region on shift if the binding is already shifted (bug#11221).
2563
82f289a4
GM
25642012-04-12 Glenn Morris <rgm@gnu.org>
2565
2566 * mail/mailpost.el: Move to obsolete/.
2567
d333dc4c
DA
25682012-04-12 Drew Adams <drew.adams@oracle.com>
2569
2570 * imenu.el (imenu--generic-function): Ignore invisible definitions
2571 (bug#10123).
2572
0d15b5ba
VD
25732012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2574
2575 * hexl.el (hexl-bits): New variable.
2576 (hexl-options): Mention the variable in the doc string.
75f1671a 2577 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2578 (hexl-mode): Mention the new variable.
75f1671a
JB
2579 (hexl-mode, hexl-current-address, hexl-current-address):
2580 Use the displen.
0d15b5ba
VD
2581 (hexl-ascii-start-column): New function.
2582 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2583 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2584
64a440db
AM
25852012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2586
2587 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2588 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2589 the encoding, as expected by hunspell.
2590
6decb6c2
SM
25912012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * battery.el (battery--linux-sysfs-regexp): New const.
2594 (battery-status-function): Use it. Remove yeeloong special case.
2595 (battery-yeeloong-sysfs): Remove.
2596 (battery-echo-area-format): Remove yeeloong special case.
2597
088be6fb
SM
25982012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2599
6622e416
SM
2600 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2601 Reported by Noah Friedman.
2602
088be6fb
SM
2603 * subr.el (read-passwd): Use read-string.
2604
b49f886e
LMI
26052012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2606
2607 * vcursor.el (vcursor-move): Increase the priority of the overlay
2608 (bug#9663).
2609
a63067fc
DD
26102012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2611
2612 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2613 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2614
ac3cf14a
WS
26152012-04-11 William Stevenson <yhvh2000@gmail.com>
2616
2617 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2618 define-minor-mode (bug#10760).
2619
c4fc691b 26202012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2621
4d6769e1 2622 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2623 that directories matching `grep-find-ignored-files' won't be
2624 pruned (bug#10351).
2625
af23e2e5
CY
26262012-04-11 Chong Yidong <cyd@gnu.org>
2627
2628 * startup.el (command-line): Remove support for long-obsolete
2629 variable font-lock-face-attributes.
2630
ab7ce8c1
GM
26312012-04-11 Glenn Morris <rgm@gnu.org>
2632
2633 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2634
de8c03dc
SM
26352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * window.el (window--state-get-1): Obey window-point-insertion-type.
2638
050cc68b
LB
26392012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2640
2641 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2642 to previous function when point is on the first character of a
75f1671a 2643 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2644
a38c310c
GM
26452012-04-11 Glenn Morris <rgm@gnu.org>
2646
effed0c2
GM
2647 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2648 not just file-errors.
2649
a38c310c
GM
2650 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2651 (vc-bzr-sha1): Use internal sha1.
2652
0221e323
SM
26532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2656
43956923
SG
26572012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2658
2659 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2660 that start in the middle of the line (bug#10496).
2661
6a8c9eaf
DN
26622012-04-10 Dan Nicolaescu <dann@gnu.org>
2663
2664 * battery.el (battery-linux-proc-acpi): Only one battery is
2665 discharged at a time, but that seems to confuse battery.el when
2666 computing `rate-type' for the battery not being discharged
2667 (bug#10332).
2668
1930bf5d
SM
26692012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2a718f6f
SM
2671 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2672
599430d0
SM
2673 * international/quail.el: Use dolist and simplify.
2674 (quail-define-package, quail-update-keyboard-layout)
2675 (quail-define-rules): Use dolist.
2676 (quail-insert-kbd-layout, quail-get-translation): CSE.
2677
a2754b6c
SM
2678 * tmm.el: Use dolist, remove left over hook.
2679 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2680 Use dolist.
2681 (calendar-load-hook): Don't mess with it.
2682
1930bf5d
SM
2683 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2684 Use derived-mode-p. Run the diff asynchronously.
2685
9f67961c
LMI
26862012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2687
2688 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2689
2a8ce227
JB
26902012-04-10 Juanma Barranquero <lekktu@gmail.com>
2691
2692 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2693 (list-dynamic-libraries--loaded): New function.
2694 (list-dynamic-libraries--refresh): Use it.
2695
8f33b5f8
NW
26962012-04-10 Nathan Weizenbaum <nweiz@google.com>
2697
1930bf5d
SM
2698 * progmodes/python.el (python-fill-paragraph):
2699 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2700 disabled (bug#7018).
2701
b12f0439
L
27022012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2703
1930bf5d 2704 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2705 DOS/MS Windows for the Baltic languages. There are still plenty
2706 of texts written in this encoding/codepage (bug#6519).
b12f0439 2707
57c3bd01
GM
27082012-04-10 Glenn Morris <rgm@gnu.org>
2709
2710 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2711 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2712
6c3eab30
FA
27132012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2714
1930bf5d 2715 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2716 next-line "n" and previous-line "p" in order to make recentf more
2717 consistent with ibuffer, dired or org-mode (bug#9387).
2718
24d78a88
LMI
27192012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2720
bc72b5d9
LMI
2721 * image.el (put-image): Return the overlay created instead of the
2722 optional input string (bug#7834). Note that this may break code
2723 that is (for some reason or other) depending on `put-image'
2724 returning the string.
2725
bd2dba5a
LMI
2726 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2727
74beb59f
LMI
2728 * simple.el (zap-to-char): Allow zapping using input methods
2729 (bug#1580).
2730
24d78a88
LMI
2731 * textmodes/fill.el (fill-region): Leave point and mark where they
2732 were before filling (bug#5399).
2733
263f20cd
GM
27342012-04-09 Glenn Morris <rgm@gnu.org>
2735
2736 * version.el (emacs-bzr-get-version):
2737 Handle lightweight checkouts of local branches.
2738
58d1f797
AS
27392012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2740
263f20cd 2741 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2742
b4d3bc10
CY
27432012-04-09 Chong Yidong <cyd@gnu.org>
2744
2745 * custom.el (custom-variable-p): Return nil for non-symbol
2746 arguments instead of signaling an error.
2747 (user-variable-p): Obsolete alias for custom-variable-p.
2748
2749 * apropos.el (apropos-variable):
2750 * files-x.el (read-file-local-variable):
2751 * simple.el (set-variable):
2752 * woman.el (woman-mini-help):
2753 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2754
fd06db5d
GM
27552012-04-09 Glenn Morris <rgm@gnu.org>
2756
e5fcdb5e
GM
2757 * startup.el (normal-top-level): Don't look for leim-list.el
2758 in places where it will not be found. (Bug#910)
2759
fd06db5d
GM
2760 * international/mule-cmds.el (set-default-coding-systems):
2761 * files.el (normal-mode):
2762 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2763 This function was removed with ucs-tables.el in 2008.
2764
b39bb7e1
EZ
27652012-04-08 Eli Zaretskii <eliz@gnu.org>
2766
2767 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2768 ispell-encoding8-command to "-i", without a trailing space.
2769 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2770 separate command-line arguments, to specify the encoding, since
2771 that's how hunspell expects it.
2772
5c5b8e23
GM
27732012-04-08 Glenn Morris <rgm@gnu.org>
2774
2775 * loadup.el: Load bindings before cus-start.
2776 This reduces somewhat the number of "rogue" settings in emacs -Q.
2777
a1ed8b05
GM
27782012-04-07 Glenn Morris <rgm@gnu.org>
2779
2780 * version.el (emacs-bzr-get-version): New function.
dfae128a 2781 (emacs-bzr-version): New variable.
a1ed8b05
GM
2782 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2783 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2784
b142f158
EZ
27852012-04-07 Eli Zaretskii <eliz@gnu.org>
2786
dfae128a
GM
2787 * international/uni-bidi.el, international/uni-category.el:
2788 * international/uni-combining.el, international/uni-decimal.el:
2789 * international/uni-decomposition.el, international/uni-digit.el:
2790 * international/uni-lowercase.el, international/uni-mirrored.el:
2791 * international/uni-name.el, international/uni-numeric.el:
2792 * international/uni-titlecase.el, international/uni-uppercase.el:
2793 Update for Unicode 6.1.
b142f158 2794
9078ead6
EZ
27952012-04-07 Eli Zaretskii <eliz@gnu.org>
2796
2797 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2798
f23d2c7d
LMI
27992012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2800
2801 * window.el (shrink-window): Mention the `window-min-height'
2802 variable in the doc string.
2803
0a0a3573
BG
28042012-04-05 Bastien Guerry <bzg@altern.org>
2805
2806 * color.el (color-lighten-name): Fix typo.
2807
e5248ac9
SM
28082012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * server.el (server--on-display-p): New function.
2811 (server--on-display-p): Use it.
2812
b4243e22
GV
28132012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2814
2815 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2816 (bug#11145).
2817
305d9f44
SM
28182012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * comint.el (comint--common-quoted-suffix): Check string boundary
2821 before comparing (bug#11158).
2822 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2823
3d439cd1
CY
28242012-04-04 Chong Yidong <cyd@gnu.org>
2825
321cc491
CY
2826 * minibuffer.el (completion-extra-properties): Doc fix.
2827
3d439cd1
CY
2828 * subr.el (delayed-warnings-hook): Doc fix.
2829
2d562c0f
DU
28302012-04-04 Daiki Ueno <ueno@unixuser.org>
2831
2832 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2833 selection (Bug#11159).
2834 (epa-insert-keys): Inform that the default public key will be
2835 exported if no key is selected.
2836
4443f204
RS
28372012-04-04 Richard Stallman <rms@gnu.org>
2838
2839 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2840
529c06b6
CY
28412012-04-03 Chong Yidong <cyd@gnu.org>
2842
2843 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2844 mail-insert-file, not its obsolete alias mail-attach-file.
2845
66b907dc
MA
28462012-04-03 Michael Albinus <michael.albinus@gmx.de>
2847
2848 * notifications.el (notifications-notify): Fix docstring.
2849
c0ea195d
GM
28502012-04-02 Glenn Morris <rgm@gnu.org>
2851
2852 * emacs-lisp/authors.el (authors-aliases): Another addition.
2853
5ca64e00
MA
28542012-04-02 Michael Albinus <michael.albinus@gmx.de>
2855
2856 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2857 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2858 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2859
42ee526b
CY
28602012-04-01 Chong Yidong <cyd@gnu.org>
2861
2862 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2863 Handle root directory properly.
2864 (copy-directory): Caller changed.
2865
2866 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2867 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2868
0b021094
GM
28692012-03-31 Glenn Morris <rgm@gnu.org>
2870
40f86458
GM
2871 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2872
7019c177
GM
2873 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2874
a1daddd6
GM
2875 * calendar/calendar.el (calendar-window-list)
2876 (calendar-hide-window): Restore. (Bug#11140)
2877 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2878
0b021094
GM
2879 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2880
40311efc
TV
28812012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2882
2883 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2884 Check if file is a symlink (Bug#10489).
2885
2886 * files.el (copy-directory): Likewise.
2887
5319014e
CY
28882012-03-30 Chong Yidong <cyd@gnu.org>
2889
2890 * image.el (imagemagick-types-inhibit)
2891 (imagemagick-register-types): Doc fix.
2892
935d1290
AM
28932012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2894
ef24141c
SM
2895 * ispell.el (ispell-get-extended-character-mode):
2896 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2897 and treats ~word as ordinary words in pipe mode.
935d1290 2898
61c6e8fd
GM
28992012-03-30 Glenn Morris <rgm@gnu.org>
2900
2901 * tutorial.el (help-with-tutorial): Ensure local variables don't
2902 happen to make the buffer read-only. (Bug#11127)
2903
81fdff00
SM
29042012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2907 (perl-calculate-indent): Return `noindent' in strings.
2908
6e7a6ec0
SS
29092012-03-28 Sam Steingold <sds@gnu.org>
2910
2911 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2912 instead of the broken adhockery which does not prevent calendar
2913 buffers from being displayed at random after exit.
2914 (calendar-window-list, calendar-hide-window): Remove the broken
2915 adhockery.
2916
fee88ca0
GM
29172012-03-28 Glenn Morris <rgm@gnu.org>
2918
2919 * replace.el (query-replace-map): Doc fix.
2920
38de3354
AS
29212012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2922
2923 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2924 contents. (Bug#11109)
2925
b973155e
SM
29262012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2929 (bug#11077).
2930 (avl-tree--check, avl-tree--check-node): New funs.
2931
dcb6e7b3
MR
29322012-03-27 Martin Rudalics <rudalics@gmx.at>
2933
2934 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2935 (switch-to-prev-buffer, switch-to-next-buffer):
2936 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2937 showing a buffer already is done on the same frame.
2938
b4fa35fa
GM
29392012-03-27 Glenn Morris <rgm@gnu.org>
2940
2941 * startup.el (mail-host-address): Doc fix.
2942
f9210e18
SM
29432012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2946 than 197 variables.
2947
c0bf7753
AF
29482012-03-26 Ami Fischman <ami@fischman.org>
2949
2950 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2951
33da7b16
GM
29522012-03-26 Glenn Morris <rgm@gnu.org>
2953
02243d9d
GM
2954 * files.el (save-buffers-kill-emacs): Doc fix.
2955
33da7b16
GM
2956 * startup.el (normal-top-level, command-line, command-line-1):
2957 Give them doc strings.
2958
e5a69fd0
EZ
29592012-03-25 Eli Zaretskii <eliz@gnu.org>
2960
2961 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2962 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2963
9a69676a
CY
29642012-03-25 Chong Yidong <cyd@gnu.org>
2965
4125cb8b
CY
2966 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2967 theme if it was previously enabled before (Bug#11031).
2968
dd470960
CY
2969 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2970 spec with custom-face-get-current-spec if its :shown-value is not
2971 determined yet (Bug#9337).
4125cb8b 2972 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2973
9a69676a
CY
2974 * button.el (button-at): Minor addition to docstring.
2975
6e7e90fa
SL
29762012-03-24 Simon Leinen <simon.leinen@gmail.com>
2977
2978 * vc/vc.el (vc-merge): Fix a prompt.
2979
f06e2758
CY
29802012-03-24 Chong Yidong <cyd@gnu.org>
2981
2982 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2983 point (Bug#9623).
2984
6e7e90fa
SL
2985 * button.el (button-at): Minor addition to docstring.
2986
b9d0879b
SM
29872012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * newcomment.el (comment-choose-indent): No space after BOL.
2990
e71cebb3
SS
29912012-03-22 Sam Steingold <sds@gnu.org>
2992
2993 * window.el (switch-to-prev-buffer): Revert last patch because the
2994 bug turned out to be an advertised feature (Elisp manual 28.14).
2995
335aff35
GM
29962012-03-22 Glenn Morris <rgm@gnu.org>
2997
2998 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2999 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3000
c676576a
LMI
30012012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3002
3003 * net/network-stream.el (network-stream-open-starttls): Make error
3004 message under Windows be less misleading.
3005
126f3d39
LW
30062012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3007
3008 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3009 understands (bug#9942).
3010
64fee311
CY
30112012-03-22 Chong Yidong <cyd@gnu.org>
3012
3013 * simple.el (end-of-visible-line): Handle return value of
3014 next-single-property-change properly (Bug#9371).
3015
a640d29a
KH
30162012-03-22 Kenichi Handa <handa@m17n.org>
3017
3018 * international/quail.el (quail-insert-kbd-layout): Fix previous
3019 change. To avoid unwanted bidi reordering, use
3020 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3021
39675016
DG
30222012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3023
3024 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3025 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3026 (ruby-beginning-of-indent): Be more careful with the difference
3027 between word-boundary and symbol boundary.
3028 (ruby-mode-syntax-table): Make : a symbol constituent.
3029
0a6934fc 30302012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3031
3d008e4f
SM
3032 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3033
0a6934fc
SM
30342012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3035
af67c9d7
SM
3036 * progmodes/etags.el (tags-completion-at-point-function):
3037 Improve last fix.
3038
1acad97c
SM
3039 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3040
e298b5da
SS
30412012-03-21 Sam Steingold <sds@gnu.org>
3042
3043 * progmodes/etags.el (tags-completion-at-point-function):
3044 Avoid the error when point is inside the pattern.
3045
91d82a70
JY
30462012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3047
3048 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3049 line (Bug#10855).
3050
69188b79
CY
30512012-03-21 Drew Adams <drew.adams@oracle.com>
3052
3053 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3054
99fc91fe
AK
30552012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3056
3057 * ido.el (ido-set-current-directory, ido-read-internal)
3058 (ido-choose-completion-string, ido-completion-help): Handle nil
3059 value of ido-completion-buffer (Bug#11008).
3060
087bbb4c
SS
30612012-03-21 Sam Steingold <sds@gnu.org>
3062
3063 * window.el (switch-to-prev-buffer): Do not switch to a visible
3064 window previous buffer, just like with the frame previous buffers.
3065
fb5b8aca
CY
30662012-03-21 Chong Yidong <cyd@gnu.org>
3067
3068 * faces.el (make-face, make-empty-face, copy-face):
3069 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3070 Doc fixes.
3071
dc9924b8
SM
30722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3075 (widget-complete): Remove broken use of it.
3076
f0bcceb9
CY
30772012-03-20 Chong Yidong <cyd@gnu.org>
3078
dc9924b8
SM
3079 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3080 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3081 characters.
3082
ee52ebf3
TH
30832012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3084
3085 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3086 to draw rectangles, not squares. (Regression introduced by revno
3087 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3088
4c5779ab
CY
30892012-03-18 Chong Yidong <cyd@gnu.org>
3090
3091 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3092 it is not yet defined (for temacs).
3093
15360934
LL
30942012-03-18 Leo Liu <sdl.web@gmail.com>
3095
dc9924b8 3096 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3097
d9a8eb66
EZ
30982012-03-17 Eli Zaretskii <eliz@gnu.org>
3099
3100 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3101 (ispell-choices-win-default-height, ispell-silently-savep)
3102 (ispell-dictionary-alist, ispell-encoding8-command)
3103 (ispell-check-version, ispell-aspell-find-dictionary)
3104 (ispell-valid-dictionary-list, ispell-words-keyword)
3105 (ispell-get-word, ispell-internal-change-dictionary)
3106 (ispell-region, ispell-skip-region-list)
3107 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3108 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3109 (ispell-message-text-end, ispell-message)
3110 (ispell-buffer-local-parsing): Doc fix.
3111
f02ff80d
J
31122012-03-13 Jambunathan K <kjambunathan@gmail.com>
3113
3114 * htmlfontify.el: Add support for code block fontification for ODT
3115 export (Bug #9914).
3116 (hfy-optimisations): Define new option
3117 `body-text-only'
3118 (hfy-fontify-buffer): Honor above setting.
3119 (hfy-begin-span, hfy-end-span): New routines factored out form
3120 `hfy-fontify-buffer'.
3121 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3122 that permit insertion of custom tags.
3123 (hfy-fontify-buffer): Use above handlers.
3124 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3125 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3126 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3127 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3128 bind a special variable `hfy-user-sheet-assoc'.
3129 (htmlfontify-string): New defun.
3130 (hfy-compile-face-map): Make sure that the last char in the
3131 buffer is correctly fontified.
3132 (hfy-face-resolve-face): Whitespace only change.
3133
9ac7a13f
EZ
31342012-03-17 Eli Zaretskii <eliz@gnu.org>
3135
3136 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3137 message more clear.
3138
e2b5bdd7
LL
31392012-03-16 Leo Liu <sdl.web@gmail.com>
3140
3141 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3142
2e492df3
AM
31432012-03-16 Alan Mackenzie <acm@muc.de>
3144
3145 Further optimise the handling of large macros.
3146
3147 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3148 limit to a call of `c-literal-limits'.
3149 (c-determine-+ve-limit): New function.
dc9924b8
SM
3150 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3151 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3152 In CASE 5B, restrict a search limit to 500.
3153 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3154
3155 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3156 Restrict macro bounds to +-500 from after-change's BEG END.
3157
50e94f0c
LL
31582012-03-16 Leo Liu <sdl.web@gmail.com>
3159
3160 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3161
6f09f6ed
AH
31622012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3163
3164 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3165 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3166
c7e73d51
GM
31672012-03-16 Glenn Morris <rgm@gnu.org>
3168
da986230
GM
3169 * view.el (view-buffer, view-buffer-other-window)
3170 (view-buffer-other-frame): Doc fixes re special mode-class.
3171
0835f01e
GM
3172 * subr.el (eval-after-load): If named feature is provided not from
3173 a file, run after-load forms. (Bug#10946)
3174
c7e73d51
GM
3175 * calendar/calendar.el (calendar-insert-at-column):
3176 Handle non-unit-width characters a bit better. (Bug#10978)
3177
3f2eafd1
CY
31782012-03-15 Chong Yidong <cyd@gnu.org>
3179
3180 * emacs-lisp/ring.el (ring-extend): New function.
3181 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3182
3183 * comint.el (comint-read-input-ring)
3184 (comint-add-to-input-history): Grow comint-input-ring lazily.
3185
103af3fe
SM
31862012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3187
663b1677
SM
3188 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3189 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3190
103af3fe
SM
3191 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3192 (imenu-add-to-menubar): Don't add a redundant index.
3193 (imenu-update-menubar): Handle a dynamically composed keymap.
3194
899cb7cb
KY
31952012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3196
3197 * mail/sendmail.el (mail-encode-header):
3198 Bind rfc2047-encode-encoded-words to nil.
3199
3809f91d
GM
32002012-03-13 Glenn Morris <rgm@gnu.org>
3201
3202 * calendar/calendar.el (calendar-string-spread):
3203 Handle non-unit-width characters a bit better. (Bug#10978)
3204
9e345a01
LL
32052012-03-13 Leo Liu <sdl.web@gmail.com>
3206
3207 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3208 directory and file as argument (Bug#10822).
3209
4a07df36
KS
32102012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3211
3212 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3213 For dynamically generated code, follow $PC.
3214 (gdb-disassembly-handler-custom): Handle no function name case.
3215
4aaa9356
TL
32162012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3217
3218 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3219 * emulation/ws-mode.el (ws-query-replace):
3220 * sort.el (sort-regexp-fields):
3221 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3222
225979da
SM
32232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * dabbrev.el: Fix cycle completion order (bug#10963).
3226 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3227 (dabbrev-completion): Don't use an obarray; provide
3228 a cycle-sort-function.
3229
e2f1fdab
LL
32302012-03-12 Leo Liu <sdl.web@gmail.com>
3231
dc9924b8 3232 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3233 (kill-do-not-save-duplicates): Doc fix.
3234
b19490ed
SM
32352012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * dabbrev.el: Fix cycle completion (bug#10963).
3238 Use lexical binding and wrap to 80 columns.
3239 (dabbrev-completion): Delay computing the list of completions.
3240
4b05d722
KH
32412012-03-12 Kenichi Handa <handa@m17n.org>
3242
3243 * international/quail.el (quail-insert-kbd-layout): Surround each
3244 row by LRO and PDF instead of inserting many LRMs. Pad the left
3245 and right of each non-spacing marks. Insert invisible space
3246 between lower and upper characters to prevent composition.
3247
dbbc2e69
SM
32482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * minibuffer.el (minibuffer-complete): Don't get confused when the
3251 function is run twice via different commands (bug#10958).
3252 (complete-with-action): Fix docstring.
3253
292112ed
CY
32542012-03-12 Chong Yidong <cyd@gnu.org>
3255
5d1ac394
CY
3256 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3257 (nxml-completion-at-point-function): New function.
3258 (nxml-mode): Use it.
3259 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3260
292112ed
CY
3261 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3262 Load generated autoloads file before byte compiling (Bug#10970).
3263 (package--make-autoloads-and-compile): New helper fun.
3264
4098f8f7
CS
32652012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3266
3267 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3268
8f754691
MA
32692012-03-11 Michael Albinus <michael.albinus@gmx.de>
3270
3271 * autorevert.el (auto-revert-handler): Ensure, that
3272 file-readable-p is applied only for local files or in
3273 auto-revert-tail-mode.
3274
e29ab36b
AS
32752012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3276
dbbc2e69
SM
3277 * server.el (server-eval-at): Handle non-tcp connections.
3278 Decode result string.
ad0bf5b6 3279
e29ab36b
AS
3280 * server.el (server-msg-size): New constant.
3281 (server-reply-print): New function.
3282 (server-eval-and-print): Use it.
3283 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3284 Handle -print-nonl.
3285
de5939ba
CS
32862012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3287
3288 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3289 (Bug#10987).
3290
0c93eabf
CY
32912012-03-11 Chong Yidong <cyd@gnu.org>
3292
397a688f
CY
3293 * simple.el (goto-line): Doc fix (Bug#9938).
3294
2cc775f9
CY
3295 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3296
0c93eabf
CY
3297 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3298 when finished (Bug#10963).
3299
c491fa41
MR
33002012-03-11 Martin Rudalics <rudalics@gmx.at>
3301
3302 * window.el (split-window-below): Fix bug in case where
3303 split-window-keep-point is nil (Bug#10971).
3304
300e8fa5
JL
33052012-03-11 Juri Linkov <juri@jurta.org>
3306
3307 * replace.el (replace-highlight): Set isearch-word to nil
3308 unconditionally. (Bug#10887)
3309
dbf6c5a1
EZ
33102012-03-10 Eli Zaretskii <eliz@gnu.org>
3311
3312 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3313 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3314 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3315 (mairix-widget-create-query): Add usage information about mairix
3316 search forms: negating words, searching for substrings, etc.
3317
b9e501de
JP
33182012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3319
3320 * international/fontset.el (font-encoding-alist): Add an entry for
3321 ksx1001 (Bug#5667).
3322
92795c91
RS
33232012-03-10 Richard Stallman <rms@gnu.org>
3324
1694e6c1
RS
3325 * mail/sendmail.el (mail-encode-header):
3326 Set rfc2047-encode-encoded-words.
3327
607e8555
RS
3328 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3329
de3bc99a
RS
3330 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3331 view buffer means not swapped.
3332 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3333 (rmail-write-region-annotate): Error if real text has disappeared.
3334
92795c91
RS
3335 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3336
699bd04e
CY
33372012-03-10 Chong Yidong <cyd@gnu.org>
3338
3339 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3340 * emulation/cua-base.el (cua--init-keymaps):
3341 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3342
570a1714
MR
33432012-03-10 Martin Rudalics <rudalics@gmx.at>
3344
dbbc2e69
SM
3345 * speedbar.el (speedbar-unhighlight-one-tag-line):
3346 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3347
82dcf4e4
CY
33482012-03-10 Chong Yidong <cyd@gnu.org>
3349
7a2c7ca7
CY
3350 * minibuffer.el (completion-in-region, completion-help-at-point):
3351 Give the completion field overlay a high priority (Bug#6830).
3352
82dcf4e4
CY
3353 * dired.el (dired-goto-file): Recognize absolute file name
3354 listings (Bug#7126).
3355 (dired-goto-file-1): New helper function.
3356 (dired-toggle-read-only): Inhibit warnings.
3357
052e28ac
MA
33582012-03-09 Michael Albinus <michael.albinus@gmx.de>
3359
75f1671a 3360 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3361 there are no properties.
3362
95d5e396
LL
33632012-03-09 Leo Liu <sdl.web@gmail.com>
3364
3365 * savehist.el (savehist-printable): Stricter check for string
3366 value (Bug#10937).
3367
3f018d6d
EZ
33682012-03-09 Eli Zaretskii <eliz@gnu.org>
3369
dbbc2e69
SM
3370 * mail/smtpmail.el (smtpmail-send-it):
3371 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3372 valid mbox format.
3373
f7fd3d79
GM
33742012-03-09 Glenn Morris <rgm@gnu.org>
3375
3376 * files.el (dir-locals-find-file):
3377 Don't check result is regular, readable.
3378 (dir-locals-read-from-file): Demote errors.
3379
6ff6e72f
EZ
33802012-03-08 Eli Zaretskii <eliz@gnu.org>
3381
dbbc2e69
SM
3382 * international/quail.el (quail-insert-kbd-layout):
3383 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3384 layout cell, to prevent their reordering by bidi display engine.
3385 For details, see the discussion in
3386 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3387
9cec7834
AM
33882012-03-08 Alan Mackenzie <acm@muc.de>
3389
3390 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3391 the starting position; make it extend the marked region when
3392 invoked repeatedly - all under appropriate circumstances.
3393 Fixes bugs #5525, #10906.
3394
9a40b8d4
GM
33952012-03-08 Glenn Morris <rgm@gnu.org>
3396
3397 * files.el (locate-dominating-file, dir-locals-find-file):
3398 Undo 2012-03-06 change.
3399
7a08ed35
EZ
34002012-03-07 Eli Zaretskii <eliz@gnu.org>
3401
dbbc2e69
SM
3402 * international/quail.el (quail-help):
3403 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3404 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3405 for the reason.
3406
5aca4f71 34072012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3408
3409 Avoid superfluous registering of signals. (Bug#10807)
3410
3411 * notifications.el (notifications-on-action-object)
3412 (notifications-on-close-object): New defvars.
3413 (notifications-on-action-signal, notifications-on-closed-signal):
3414 Unregister the signal if not needed any longer.
3415 (notifications-notify): Register `notifications-action-signal' or
3416 `notifications-closed-signal', if :on-action or :on-close has been
3417 passed as argument.
3418
78e8b10a
CY
34192012-03-07 Chong Yidong <cyd@gnu.org>
3420
3421 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3422 non-X platforms.
3423
69481eb8
GM
34242012-03-06 Glenn Morris <rgm@gnu.org>
3425
3426 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3427 (x-disown-selection-internal, x-get-selection-internal):
3428 Doc fix (add arglist signatures). (Bug#10783)
3429
133b8e11
KS
34302012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3431
3432 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3433 Handle breakpoints with no "type".
3434
99a83064
GM
34352012-03-06 Glenn Morris <rgm@gnu.org>
3436
3437 * files.el (locate-dominating-file): Add optional predicate argument.
3438 (dir-locals-find-file): Make use of above change.
3439
17798e78
TTN
34402012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3441
3442 * info.el (Info-insert-dir): Also try "dir.gz".
3443
eb182446
GM
34442012-03-06 Glenn Morris <rgm@gnu.org>
3445
8f2114ee
GM
3446 * files.el (dir-locals-find-file):
3447 Ignore non-readable or non-regular files. (Bug#10928)
3448
eb182446
GM
3449 * files.el (locate-dominating-file): Doc fix.
3450
24679323
AS
34512012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3452
3453 * calendar/calendar.el (calendar-set-mode-line):
3454 `getenv' returns a string. (Bug#10951)
3455
01d972a9
LL
34562012-03-05 Leo Liu <sdl.web@gmail.com>
3457
109aa8a9
LL
3458 * simple.el (backward-delete-char-untabify): Constrain point to
3459 field (Bug#10939).
3460
01d972a9
LL
3461 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3462
10607bea
CY
34632012-03-05 Chong Yidong <cyd@gnu.org>
3464
3465 * simple.el (count-words): If called from Lisp, return the word
3466 count, for symmetry with `count-lines'. Arglist changed.
3467 (count-words--message): Args changed. Consolidate counting code
3468 from count-words and count-words-region.
3469 (count-words-region): Caller changed.
3470 (count-lines-region): Make it an obsolete alias.
3471
5dd11cfe
TH
34722012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3473
3474 * saveplace.el (save-place-to-alist)
3475 (save-place-ignore-files-regexp): Allow value nil to disable this
3476 feature.
3477
c349f4e6
CY
34782012-03-04 Chong Yidong <cyd@gnu.org>
3479
3480 * faces.el (face-spec-reset-face): For the default face, reset the
3481 attributes to default values (Bug#10748).
3482
e627be4c
LMI
34832012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3484
3485 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3486 previous patch: Check `message-send-mail-function', and not the
3487 default function (bug#10897).
3488
ebeabff4
MA
34892012-03-04 Michael Albinus <michael.albinus@gmx.de>
3490
a41a6cf4
MA
3491 * notifications.el (notifications-on-action-signal)
3492 (notifications-on-closed-signal): Check for unique service name of
3493 incoming event. Fix error in removing entry.
ebeabff4 3494 (top): Register for signals with wildcard service name.
a41a6cf4 3495 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3496
c1ca42b4
CY
34972012-03-04 Chong Yidong <cyd@gnu.org>
3498
dc9924b8 3499 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3500
ea16568d
GM
35012012-03-04 Glenn Morris <rgm@gnu.org>
3502
3503 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3504 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3505 (expand-abbrev, define-abbrev-table): Doc fixes.
3506
fbae4637
LMI
35072012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3508
3509 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3510 `message-default-send-mail-function' and not `send-mail-function'
3511 when doing the prompting for `sendmail-query-once' before sending
3512 in Message buffers (bug#10897).
3513
a1e7225c
LMI
3514 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3515 This is inconsistent with all the other stream functions, which leave
3516 the setting up to the higher levels (if so wanted) (bug#10931).
3517
56d093a9
AM
35182012-03-02 Alan Mackenzie <acm@muc.de>
3519
3520 Depessimize the handling of very large macros.
3521
3522 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3523 (c-macro-cache-syntactic): New variables to implement a one
3524 element macro cache.
3525 (c-invalidate-macro-cache): New function.
3526 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3527 Adapt to use the new cache.
3528 (c-state-safe-place): Use better the cache of safe positions.
3529 (c-state-semi-nonlit-pos-cache)
3530 (c-state-semi-nonlit-pos-cache-limit):
3531 New variables for...
3532 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3533 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3534 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3535 Use c-state-semi-safe-place.
56d093a9 3536
dbbc2e69
SM
3537 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3538 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3539
817e5c3d
MA
35402012-03-02 Michael Albinus <michael.albinus@gmx.de>
3541
dbbc2e69
SM
3542 * jka-compr.el (jka-compr-call-process):
3543 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3544 not remote.
3545
a032a702
MA
35462012-03-01 Michael Albinus <michael.albinus@gmx.de>
3547
3548 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3549 access of FILE2, if FILE1 does not exist.
3550
99a54f21
MA
3551 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3552 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3553
3554 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3555 Add "PAGER=" to `process-environment'.
3556
f6561e1f
MM
35572012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3558
3559 * progmodes/sql.el: Bug fix
3560 (sql-get-login-ext): Save login values in globals.
3561 (sql-get-login): Use new version of `sql-get-login-ext'.
3562 (sql-interactive-mode): Set global `sql-connection' to nil.
3563 (sql-connect): Set global values for connection.
3564 (sql-product-interactive): Save global values as buffer local.
3565
2d44d9cc
LL
35662012-02-29 Leo Liu <sdl.web@gmail.com>
3567
3568 * abbrev.el (define-abbrevs): Reset sys to nil.
3569
96b49301 35702012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3571
bf7f9bc5
JB
3572 * files.el (file-equal-p): Rename from `files-equal-p'.
3573 Return nil when one or both files don't exist.
96b49301 3574 (file-subdir-of-p): Now only top directory must exists,
3575 return nil if it doesn't.
bf7f9bc5
JB
3576 (copy-directory): No need to test with `file-subdir-of-p' after
3577 creating dir.
3578 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3579 to `file-equal-p'.
96b49301 3580
44e97401
GM
35812012-02-28 Glenn Morris <rgm@gnu.org>
3582
3583 * shell.el (shell-mode):
3584 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3585 * play/landmark.el (landmark-font-lock-face-O):
3586 * play/handwrite.el (handwrite):
3587 * play/gomoku.el (gomoku-O):
3588 * net/browse-url.el (browse-url-browser-display):
3589 * international/mule.el (define-charset):
3590 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3591 * filesets.el (filesets-find-file-delay):
3592 * eshell/em-xtra.el (eshell-xtra):
3593 * eshell/em-unix.el (eshell-grep):
3594 * emulation/viper.el (viper-mode):
3595 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3596 * emacs-lisp/easymenu.el (easy-menu-define):
3597 * calendar/timeclock.el (timeclock-use-display-time):
3598 * bs.el (bs-mode):
3599 * bookmark.el (bookmark-save-flag):
3600 Doc fix (standardize possessive apostrophe usage).
3601
c98c6276
CY
36022012-02-27 Chong Yidong <cyd@gnu.org>
3603
bf7f9bc5
JB
3604 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3605 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3606
c98c6276
CY
3607 * font-lock.el (font-lock-specified-p): Rename from
3608 font-lock-spec-present. Callers changed.
3609
9c62cd04 36102012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3611
bf7f9bc5
JB
3612 * emacs-lisp/package.el (package-compute-transaction):
3613 Handle holding a package version to t in package-load-list.
8ac9e529 3614
530739c9
MA
36152012-02-26 Michael Albinus <michael.albinus@gmx.de>
3616
3617 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3618 (tramp-get-inode, tramp-get-device): Use cached values.
3619
487915d7
AM
36202012-02-26 Alan Mackenzie <acm@muc.de>
3621
3622 Check there is a font-lock specification before doing initial
3623 fontification.
3624
3625 * font-core.el (font-lock-mode): Move the conditional from
3626 :after-hook to font-lock-initial-fontify.
3627 (font-lock-default-function): Move the check for a specification
3628 to font-lock-spec-present.
3629
dc9924b8 3630 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3631 (font-lock-spec-present): New function.
3632
4fd96557
JB
36332012-02-26 Jim Blandy <jimb@red-bean.com>
3634
3635 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3636 (gdb-send): Apply it to the operand of the '-interpreter-exec
3637 console' command, so that we can pass arguments with (say) quotes
3638 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3639
9a4888c0
CY
36402012-02-26 Chong Yidong <cyd@gnu.org>
3641
07498861
CY
3642 * help-fns.el (describe-function-1): Clarify description of
3643 remapping (Bug#10844).
3644
9a4888c0
CY
3645 * files.el (files-equal-p): Doc fix.
3646 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3647 and quit the loop once a mismatch is found.
3648
ea8fb88d
JB
36492012-02-25 Juanma Barranquero <lekktu@gmail.com>
3650
3651 * bs.el (bs--show-with-configuration): Don't throw an error
3652 if the window cannot be split; otherwise, subsequent calls to
3653 bs-show fail, restoring a stale window config. (Bug#10882)
3654
525795c1
JD
36552012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3656
3657 * term/ns-win.el (global-map): Bind ns-drag-file to
3658 ns-find-file (Bug#5855, Bug#10050).
3659
f008086f
AS
36602012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3661
3662 * calendar/parse-time.el (parse-time-string): Allow extractor to
3663 return nil.
3664
a3fcfa99
MA
36652012-02-25 Michael Albinus <michael.albinus@gmx.de>
3666
91027d08
JB
3667 * net/tramp.el (tramp-file-name-for-operation):
3668 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3669
3670 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3671 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3672 Add COPY-CONTENTS argument.
a3fcfa99 3673
67b0de11
CY
36742012-02-25 Chong Yidong <cyd@gnu.org>
3675
3676 Add custom groups for VC backends, for consistency with vc-bzr.
3677
3678 * vc/vc-arch.el (vc-arch):
3679 * vc/vc-cvs.el (vc-cvs):
3680 * vc/vc-git.el (vc-git):
3681 * vc/vc-hg.el (vc-hg):
3682 * vc/vc-mtn.el (vc-mtn):
3683 * vc/vc-rcs.el (vc-rcs):
3684 * vc/vc-sccs.el (vc-sccs):
3685 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3686 All relevant defcustoms reassigned.
3687
3c9dfce6
CY
36882012-02-25 Chong Yidong <cyd@gnu.org>
3689
1339bf43
CY
3690 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3691
3c9dfce6
CY
3692 * term/x-win.el (x-initialize-window-system): Reduce default for
3693 x-selection-timeout to 5 seconds (Bug#8869).
3694
25b2e303 36952012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3696
ec70a47d
GM
3697 * files.el (files-equal-p, file-subdir-of-p): New functions.
3698 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3699 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3700 * dired-aux.el (dired-copy-file-recursive): Same.
3701 (dired-create-files): Modify destination when source is equal to
3702 dest when copying files.
53a46cd0 3703 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3704
914260cd
MA
37052012-02-24 Michael Albinus <michael.albinus@gmx.de>
3706
3707 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3708 (Bug#10874)
3709
2cb228f7
AM
37102012-02-23 Alan Mackenzie <acm@muc.de>
3711
3712 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3713 parameter "after-hook:" to allow the expansion to run code after
3714 the execution of the mode hooks.
3715
3716 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3717 from font-lock-mode-internal.
2cb228f7 3718
91027d08 3719 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3720 :after-hook.
3721
8f0fde21
SM
37222012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3e88618b
SM
3724 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3725 (completion--cache-all-sorted-completions): New function.
3726 (completion-all-sorted-completions): Use it.
3727 (completion--do-completion, minibuffer-force-complete):
3728 Use it to re-instate the flush hook.
3729
8f0fde21
SM
3730 * icomplete.el (icomplete-completions): Replace last fix with a better
3731 one (bug#10850).
3732
8e911f6f
DG
37332012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3734
3735 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3736 when it might call us back infinitely (bug#10797).
3737
49fe4321
GM
37382012-02-23 Glenn Morris <rgm@gnu.org>
3739
3740 * minibuffer.el (completion-category-overrides): Doc fix.
3741
b291b572
SM
37422012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3745 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3746
31a9ef2e
GM
37472012-02-23 Glenn Morris <rgm@gnu.org>
3748
5e6e6794 3749 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3750 (authors-obsolete-files-regexps, authors-ignored-files)
3751 (authors-ambiguous-files, authors-renamed-files-alist):
3752 Add more entries.
3753
0bd1e074
JL
37542012-02-23 Juri Linkov <juri@jurta.org>
3755
3756 * isearch.el (isearch-occur): Sync interactive spec with occur's
3757 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3758
b617673c
JL
3759 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3760
19e9789e
JL
37612012-02-22 Juri Linkov <juri@jurta.org>
3762
3763 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3764 (ucs-insert): Doc fix. Check for hex digits in the string.
3765 Don't display `nil' in the error message. (Bug#10857)
3766
f41ce09d
AM
37672012-02-22 Alan Mackenzie <acm@muc.de>
3768
7a71b18d 3769 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3770
ac2eceee
GM
37712012-02-22 Glenn Morris <rgm@gnu.org>
3772
3773 * ffap.el (ffap-c-path):
3774 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3775
abd1f678
CY
37762012-02-22 Chong Yidong <cyd@gnu.org>
3777
3778 * custom.el (load-theme): Doc fix.
3779
f25aef2e
GM
37802012-02-22 Glenn Morris <rgm@gnu.org>
3781
3782 * dired-x.el (dired-guess-shell-alist-default):
3783 Remove escape sequences from nroff output. (Bug#172)
3784
5f8dc2ca
GM
37852012-02-21 Glenn Morris <rgm@gnu.org>
3786
6ff86ec4
GM
3787 * vc/emerge.el (emerge-defvar-local):
3788 Set `permanent-local' property rather than unused `preserved'.
3789
be3223a3 3790 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3791 (picture-mode-map): Use it. (Bug#10860)
3792 (picture-mode): Doc fix.
3793
3fe58f4f
JB
37942012-02-21 Juanma Barranquero <lekktu@gmail.com>
3795
3796 * newcomment.el (uncomment-region-default): Remove unused binding.
3797
f9a998c3
GM
37982012-02-21 Glenn Morris <rgm@gnu.org>
3799
3800 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3801 (picture-self-insert, picture-tab-chars): Doc fix.
3802 (picture-mode-map): Fix C-a, C-e.
3803
c6029348
GM
38042012-02-20 Glenn Morris <rgm@gnu.org>
3805
3806 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3807
ab1ce9d7
LL
38082012-02-20 Leo Liu <sdl.web@gmail.com>
3809
3810 * icomplete.el (icomplete-completions): Check FROM arg before
3811 passing to substring (Bug#10850).
3812
0fd40f89
CY
38132012-02-19 Chong Yidong <cyd@gnu.org>
3814
3815 * comint.el: Require ansi-color.
3816 (comint-output-filter-functions): Add ansi-color-process-output.
3817
3818 * ansi-color.el: Don't set comint-output-filter-functions; it is
3819 now in the initial value defined in comint.el.
3820 (ansi-color-apply-face-function): New variable.
3821 (ansi-color-apply-on-region): Use it.
3822 (ansi-color-apply-overlay-face): New function.
3823
3824 * shell.el (shell): No need to require ansi-color.
3825 (shell-mode): Use ansi-color-apply-face-function to highlight
3826 color escapes using font-lock-face property (Bug#10835).
3827
20af2394
CY
38282012-02-19 Chong Yidong <cyd@gnu.org>
3829
3830 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3831 mode-line formats (Bug#10839).
3832
e23a3fbe
GM
38332012-02-18 Glenn Morris <rgm@gnu.org>
3834
b474519e
GM
3835 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3836
3837 * mail/undigest.el (unforward-rmail-message): Doc fix.
3838
e23a3fbe
GM
3839 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3840
57939ff4
EZ
38412012-02-18 Eli Zaretskii <eliz@gnu.org>
3842
3843 * international/characters.el (script-list): Sync with the latest
3844 Unicode Character Database.
3845
0c23686e
AS
38462012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3847
3848 * international/titdic-cnv.el: Remove duplicate coding tag.
3849 * language/cham.el: Likewise.
3850 * language/tai-viet.el: Likewise.
3851
6818b449
GM
38522012-02-18 Glenn Morris <rgm@gnu.org>
3853
3854 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3855 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3856 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3857 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3858 * calendar/holidays.el (holiday-bahai-holidays)
3859 (calendar-holidays, list-holidays):
3860 Use utf-8 Bahá'í in doc-strings, menus, etc.
3861
0311a3fc
TH
38622012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3863
3864 * saveplace.el (save-place-ignore-files-regexp): New variable
3865 allowing for excluding files from saving their location of point.
3866 The default value matches the temporary commit message editing
3867 files from Git, SVN, Bazaar, and Mercurial.
3868 (save-place-to-alist): Use it.
3869
eb864a71
LM
38702012-02-17 Lawrence Mitchell <wence@gmx.li>
3871 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * newcomment.el (uncomment-region-default): Don't leave extra space
3874 when an arg is provided (bug#8150).
3875
ee0ce425
TZ
38762012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3877
eb864a71 3878 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3879
95ddf442
GM
38802012-02-17 Glenn Morris <rgm@gnu.org>
3881
3882 * net/socks.el: Require network-stream. (Bug#10599)
3883
48dd1e39 38842012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3885
3886 * international/charprop.el:
3887 * international/uni-name.el:
3888 * international/uni-old-name.el:
3889 * international/uni-comment.el: Regenerate.
3890
d68cd087
GM
38912012-02-16 Glenn Morris <rgm@gnu.org>
3892
3893 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3894 Interactively in calendar buffer, give an error if not on a date.
3895
13932042
GM
38962012-02-15 Glenn Morris <rgm@gnu.org>
3897
3898 * shell.el (shell-delimiter-argument-list):
3899 Revert 2011-02-17 change. (Bug#8027)
3900
c3a70e2b
CY
39012012-02-15 Chong Yidong <cyd@gnu.org>
3902
60236b0d
CY
3903 * minibuffer.el (completion-at-point-functions): Doc fix.
3904
c3a70e2b
CY
3905 * custom.el (defcustom): Doc fix; note use of defvar.
3906
9f26dc24
GM
39072012-02-15 Glenn Morris <rgm@gnu.org>
3908
3909 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3910 Doc fixes.
3911
6546b134
GM
39122012-02-14 Glenn Morris <rgm@gnu.org>
3913
3914 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3915
d29b2b4c
LI
39162012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3917
3918 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3919 way the ports list is computed.
835bdcba
LI
3920 (smtpmail-query-smtp-server): Prompt the user for a port number if
3921 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3922
08dcdbc9
TZ
39232012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3924
3925 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3926
2605051a
GM
39272012-02-13 Glenn Morris <rgm@gnu.org>
3928
3929 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3930
7ee99f32
TZ
39312012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3932
3933 * net/gnutls.el (gnutls-trustfiles): New variable.
3934 (gnutls-negotiate): Use it.
3935
5f0af64f
LI
39362012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3937
3938 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3939 does its stuff if Gnus is running.
3940
c14fcc95
AM
39412012-02-13 Alan Mackenzie <acm@muc.de>
3942
3943 Fix a loop in c-set-fl-decl-start.
3944
7a71b18d 3945 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3946 c-backward-syntactic-ws actually moves backwards.
3947
142b4d90
LL
39482012-02-13 Leo Liu <sdl.web@gmail.com>
3949
3950 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3951 beginning so that all \C-o chars are removed.
3952
fa9958a6
TZ
39532012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3954
dc9924b8 3955 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3956
0bc5886a
AM
39572012-02-12 Alan Mackenzie <acm@muc.de>
3958
3959 Fix infinite loop with long macros.
4d6769e1 3960 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3961
d4bd55e7
CY
39622012-02-12 Chong Yidong <cyd@gnu.org>
3963
3964 * window.el (display-buffer): Doc fix (Bug#10785).
3965
66f3fe22
GM
39662012-02-12 Glenn Morris <rgm@gnu.org>
3967
bd7da63e
GM
3968 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3969 (x-disown-selection-internal, x-get-selection-internal):
3970 Sync docs with the xselect.c versions.
3971
66f3fe22
GM
3972 * allout-widgets.el: Add missing license notice.
3973
3e0d2fa7
GM
39742012-02-11 Glenn Morris <rgm@gnu.org>
3975
cfecdf09
GM
3976 * select.el (x-get-selection-internal, x-own-selection-internal)
3977 (x-disown-selection-internal):
3978 * x-dnd.el (x-get-selection-internal): Update declarations.
3979
6d216d7f
GM
3980 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3981
2bed3f04
GM
3982 * window.el (window-sides-slots):
3983 * tool-bar.el (tool-bar-position):
3984 * term/xterm.el (xterm-extra-capabilities):
3985 * ses.el (ses-self-reference-early-detection):
3986 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3987 (verilog-auto-wire-type)
3988 (verilog-auto-delete-trailing-whitespace)
3989 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3990 (verilog-auto-tieoff-declaration):
3991 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3992 (sql-oracle-statement-starters, sql-oracle-scan-on):
3993 * progmodes/prolog.el (prolog-align-comments-flag)
3994 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3995 (prolog-left-indent-regexp, prolog-paren-indent-p)
3996 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3997 (prolog-types, prolog-mode-specificators)
3998 (prolog-determinism-specificators, prolog-directives)
3999 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4000 (prolog-electric-dot-flag)
4001 (prolog-electric-dot-full-predicate-template)
4002 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4003 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4004 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4005 (prolog-program-switches, prolog-prompt-regexp)
4006 (prolog-debug-on-string, prolog-debug-off-string)
4007 (prolog-trace-on-string, prolog-trace-off-string)
4008 (prolog-zip-on-string, prolog-zip-off-string)
4009 (prolog-use-standard-consult-compile-method-flag)
4010 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4011 (prolog-imenu-max-lines, prolog-info-predicate-index)
4012 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4013 (prolog-char-quote-workaround):
4014 * progmodes/cc-vars.el (c-defun-tactic):
4015 * net/tramp.el (tramp-encoding-command-interactive)
4016 (tramp-local-end-of-line):
4017 * net/soap-client.el (soap-client):
4018 * net/netrc.el (netrc-file):
4019 * net/gnutls.el (gnutls):
4020 * minibuffer.el (completion-category-overrides)
4021 (completion-cycle-threshold)
4022 (completion-pcm-complete-word-inserts-delimiters):
4023 * man.el (Man-name-local-regexp):
4024 * mail/feedmail.el (feedmail-display-full-frame):
4025 * international/characters.el (glyphless-char-display-control):
4026 * eshell/em-ls.el (eshell-ls-date-format):
4027 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4028 (lisp-lambda-list-keyword-parameter-indentation)
4029 (lisp-lambda-list-keyword-parameter-alignment):
4030 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4031 * dired-x.el (dired-omit-verbose):
4032 * cus-theme.el (custom-theme-allow-multiple-selections):
4033 * calc/calc.el (calc-highlight-selections-with-faces)
4034 (calc-lu-field-reference, calc-lu-power-reference)
4035 (calc-note-threshold):
4036 * battery.el (battery-mode-line-limit):
4037 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4038 (archive-7z-update):
4039 * allout.el (allout-prefixed-keybindings)
4040 (allout-unprefixed-keybindings)
4041 (allout-inhibit-auto-fill-on-headline)
4042 (allout-flattened-numbering-abbreviation):
4043 * allout-widgets.el (allout-widgets-auto-activation)
4044 (allout-widgets-icons-dark-subdir)
4045 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4046 (allout-widgets-theme-dark-background)
4047 (allout-widgets-theme-light-background)
4048 (allout-widgets-item-image-properties-emacs)
4049 (allout-widgets-item-image-properties-xemacs)
4050 (allout-widgets-run-unit-tests-on-load)
4051 (allout-widgets-time-decoration-activity)
4052 (allout-widgets-hook-error-post-time)
4053 (allout-widgets-track-decoration):
4054 Add missing :version tags to new defcustoms and defgroups.
4055
5fec1b8e
GM
4056 * progmodes/sql.el (sql-ansi-statement-starters)
4057 (sql-oracle-statement-starters): Add custom type.
4058
3e0d2fa7
GM
4059 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4060 (prolog-system-version): Give it a type.
4061
90b671e2
EZ
40622012-02-11 Eli Zaretskii <eliz@gnu.org>
4063
4064 * term/pc-win.el (x-select-text, x-selection-owner-p)
4065 (x-own-selection-internal, x-disown-selection-internal)
4066 (x-get-selection-internal): Sync doc strings and argument lists
4067 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4068
5eac0c02
LL
40692012-02-11 Leo Liu <sdl.web@gmail.com>
4070
4071 * progmodes/python.el (python-end-of-statement): Fix infinite
4072 loop. (Bug#10788)
4073
f82cb659
GM
40742012-02-10 Glenn Morris <rgm@gnu.org>
4075
4076 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4077 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4078
cc26d239
LI
40792012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4080
4081 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4082 about SMTP before checking the From header.
4083
91027d08 4084 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4085 into own function for reuse by emacsbug.el.
4086
1be3ca5a
LL
40872012-02-10 Leo Liu <sdl.web@gmail.com>
4088
4089 * subr.el (condition-case-unless-debug): Rename from
4090 condition-case-no-debug. All callers changed.
4091 (with-demoted-errors): Fix caller.
4092
4093 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4094 * nxml/rng-valid.el (rng-do-some-validation):
4095 * emacs-lisp/package.el (package-refresh-contents)
4096 (package-menu-execute):
4097 * desktop.el (desktop-create-buffer):
91027d08 4098 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4099
b011fbfe
GM
41002012-02-10 Glenn Morris <rgm@gnu.org>
4101
b2096d72
GM
4102 * textmodes/bibtex.el:
4103 Add missing :version tags for new/changed defcustoms.
4104
b011fbfe
GM
4105 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4106
4c7e65bf
LI
41072012-02-09 Lars Ingebrigtsen <larsi@rusty>
4108
4109 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4110 (smtpmail-via-smtp): Use it, or fall back on the From address.
4111 (smtpmail-send-it): Ditto.
4112
f3934f6f
SM
41132012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4116 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4117 (byte-compile-tmp-var): New const.
4118 (byte-compile-defvar): Use it to minimize .elc size.
4119 Just use `defvar' rather than simulate it (bug#10761).
4120
a075a2c5
GM
41212012-02-09 Glenn Morris <rgm@gnu.org>
4122
cf3aa21b
GM
4123 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4124
354998cd
GM
4125 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4126 Add :version tags.
4127
dc9924b8
SM
4128 * progmodes/compile.el (compilation-error-screen-columns)
4129 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4130
dab3703d
GM
4131 * vc/log-view.el (log-view-toggle-entry-display):
4132 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4133
3f88cd72
GM
4134 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4135 (report-emacs-bug-can-use-xdg-email):
4136 (report-emacs-bug-insert-to-mailer): Doc fixes.
4137 (report-emacs-bug): Message fix.
4138
d95b247d
GM
4139 * net/browse-url.el (browse-url-can-use-xdg-open)
4140 (browse-url-xdg-open): Doc fixes.
4141
a075a2c5
GM
4142 * electric.el (electric-indent-mode, electric-pair-mode)
4143 (electric-layout-rules, electric-layout-mode): Doc fixes.
4144 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4145
ffb6157e
MR
41462012-02-08 Martin Rudalics <rudalics@gmx.at>
4147
4148 * server.el (server-unselect-display): Don't inadvertently kill
4149 the current buffer. (Bug#10729)
4150
e1ac4066
GM
41512012-02-08 Glenn Morris <rgm@gnu.org>
4152
34e8a2da
GM
4153 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4154 (sql-list-table): Doc fixes.
4155
b4ac6e8c
GM
4156 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4157 Comment out (does nothing).
4158
e1ac4066
GM
4159 * completion.el (dynamic-completion-mode):
4160 * dirtrack.el (dirtrack-debug-mode):
4161 * electric.el (electric-layout-mode):
4162 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4163 * face-remap.el (text-scale-mode, buffer-face-mode):
4164 * iimage.el (iimage-mode):
4165 * image-mode.el (image-transform-mode):
4166 * minibuffer.el (completion-in-region-mode):
4167 * scroll-lock.el (scroll-lock-mode):
4168 * simple.el (next-error-follow-minor-mode):
4169 * tar-mode.el (tar-subfile-mode):
4170 * tooltip.el (tooltip-mode):
4171 * vcursor.el (vcursor-use-vcursor-map):
4172 * wid-browse.el (widget-minor-mode):
4173 * emulation/tpu-edt.el (tpu-edt-mode):
4174 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4175 * international/iso-ascii.el (iso-ascii-mode):
4176 * language/thai-util.el (thai-word-mode):
4177 * mail/supercite.el (sc-minor-mode):
4178 * net/goto-addr.el (goto-address-mode):
4179 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4180 * progmodes/cwarn.el (cwarn-mode):
4181 * progmodes/flymake.el (flymake-mode):
4182 * progmodes/glasses.el (glasses-mode):
4183 * progmodes/hideshow.el (hs-minor-mode):
4184 * progmodes/pascal.el (pascal-outline-mode):
4185 * textmodes/enriched.el (enriched-mode):
4186 * vc/smerge-mode.el (smerge-mode):
4187 Doc fixes (minor mode argument).
4188
5e0d957f
EZ
41892012-02-07 Eli Zaretskii <eliz@gnu.org>
4190
4191 * ls-lisp.el (ls-lisp-sanitize): New function.
4192 (ls-lisp-insert-directory): Use it to fix or remove any elements
4193 in file-alist with missing attributes. (Bug#4673)
4194
98d7371e
AM
41952012-02-07 Alan Mackenzie <acm@muc.de>
4196
4197 Fix spurious recognition of c-in-knr-argdecl.
4198
4199 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4200 putative K&R region.
4201
667ced3a
AM
42022012-02-07 Alan Mackenzie <acm@muc.de>
4203
eb864a71
LM
4204 * progmodes/cc-engine.el (c-forward-objc-directive):
4205 Prevent looping in "#pragma mark @implementation".
667ced3a 4206
5b77774d
MA
42072012-02-07 Michael Albinus <michael.albinus@gmx.de>
4208
4209 * notifications.el (notifications-on-closed-signal): Make `reason'
4210 optional. (Bug#10744)
4211
af008560
GM
42122012-02-07 Glenn Morris <rgm@gnu.org>
4213
60d47423
GM
4214 * emacs-lisp/easy-mmode.el (define-minor-mode):
4215 Doc fixes for the macro and the mode it defines.
4216
dd605cc4
GM
4217 * image.el (imagemagick-types-inhibit): Doc fix.
4218
af008560
GM
4219 * cus-start.el (imagemagick-render-type): Add it.
4220
5cc59a37
LI
42212012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4222
4d6769e1
JB
4223 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4224 Set the default at load time, too, so that `font-lock-fontify-buffer'
4225 can be called without setting up the entire mode first. This fixes
4226 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4227
9a6dd747
CY
42282012-02-06 Chong Yidong <cyd@gnu.org>
4229
2d16b285
CY
4230 * simple.el (list-processes--refresh): Delete exited processes
4231 (Bug#8094).
4232
171e9b6e
CY
4233 * comint.el (comint-next-prompt): next-single-char-property-change
4234 and prev-single-char-property-change never return nil (Bug#8657).
4235
9a6dd747
CY
4236 * custom.el (defcustom): Doc fix (Bug#9711).
4237
aa4589a7
CY
42382012-02-05 Chong Yidong <cyd@gnu.org>
4239
5c2a252f
CY
4240 * cus-edit.el (custom-variable-reset-backup): Quote the value
4241 before storing it in the customized-value property (Bug#6712).
4aab9006 4242 (custom-display): Add a customization type tag.
983b9602 4243 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4244
aa4589a7
CY
4245 * wid-edit.el (widget-field-value-get): New optional arg to
4246 suppress trailing whitespace truncation.
4247 (character): Use it (Bug#2689).
4248
1ff980ae
AS
42492012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4250
4251 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4252 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4253
03988c98
CY
42542012-02-05 Chong Yidong <cyd@gnu.org>
4255
eeb6cc88
CY
4256 * cus-edit.el (custom-variable-value-create): For mismatched
4257 types, show the current value (Bug#7600).
4258
03988c98
CY
4259 * custom.el (defcustom): Doc fix.
4260
f8cdeef0
GM
42612012-02-05 Glenn Morris <rgm@gnu.org>
4262
4263 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4264
0696d255
JB
42652012-02-05 Juanma Barranquero <lekktu@gmail.com>
4266
4267 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4268 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4269 (pp-last-sexp): Use `looking-at-p'.
4270
34c99998
GM
42712012-02-04 Glenn Morris <rgm@gnu.org>
4272
8f05da42
GM
4273 * files.el (revert-buffer):
4274 Doc fix (mention revert-buffer-in-progress-p).
4275
f160676e
GM
4276 * emacs-lisp/ert-x.el (ert-simulate-command):
4277 Check deferred-action-list (which is obsolete) is bound.
4278
c7291ad9
GM
4279 * subr.el (with-wrapper-hook): Doc fixes.
4280
34c99998
GM
4281 * simple.el (filter-buffer-substring-functions)
4282 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4283
6283a7d3
LL
42842012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4285
4286 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4287 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4288
e96e3013
LL
42892012-02-04 Leo Liu <sdl.web@gmail.com>
4290
4291 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4292
8ded50f2
GM
42932012-02-04 Glenn Morris <rgm@gnu.org>
4294
82ff1d13
GM
4295 * image.el (image-extension-data): Add obsolete alias.
4296
987a0a16
GM
4297 * isearch.el (isearch-update): Doc fix.
4298
ea32ef46
GM
4299 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4300
8ded50f2
GM
4301 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4302
eea14f31
GM
43032012-02-03 Glenn Morris <rgm@gnu.org>
4304
4305 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4306 (image-animate-timeout): Doc fix.
4307
4308 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4309
12f381b7
GM
43102012-02-02 Glenn Morris <rgm@gnu.org>
4311
953cebf5
GM
4312 * server.el (server-auth-dir): Doc fix.
4313 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4314
12f381b7
GM
4315 * subr.el (run-mode-hooks): Doc fix.
4316
953a8c3b
JL
43172012-02-02 Juri Linkov <juri@jurta.org>
4318
4319 * image-mode.el (image-toggle-display-image): Remove tautological
4320 `major-mode' from the `derived-mode-p' test.
4321
c5d3843c
KH
43222012-02-02 Kenichi Handa <handa@m17n.org>
4323
9f6e692e 4324 * composite.el (compose-region): Cancel previous change.
c5d3843c 4325
159462d4 43262012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4327
4328 * composite.el (compose-region, compose-string): Signal error for
4329 a null string component (Bug#6988).
4330
9f562668
CY
43312012-02-01 Chong Yidong <cyd@gnu.org>
4332
e2cef717
CY
4333 * view.el (view-buffer-other-window, view-buffer-other-frame):
4334 Handle special modes like view-buffer (Bug#10650).
4335 (view-buffer): Simplify.
4336
9f562668
CY
4337 * frame.el (set-frame-font): Tweak meaning of third argument.
4338
9f6e692e
JB
4339 * dynamic-setting.el (font-setting-change-default-font):
4340 Use set-frame-font (Bug#9982).
9f562668 4341
781acb9f
GM
43422012-02-01 Glenn Morris <rgm@gnu.org>
4343
6035be52
GM
4344 * progmodes/compile.el (compilation-internal-error-properties):
4345 Respect compilation-first-column in the "*compilation*" buffer.
4346
781acb9f
GM
4347 * emacs-lisp/easy-mmode.el (define-minor-mode):
4348 Relax :variable's test for a named function.
4349
abbceb00
AM
43502012-01-31 Alan Mackenzie <acm@muc.de>
4351
4352 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4353 off by one error.
4354
fce3fdeb
CY
43552012-01-31 Chong Yidong <cyd@gnu.org>
4356
4357 * frame.el (set-frame-font): New arg ALL-FRAMES.
4358
4359 * menu-bar.el (menu-set-font): Use set-frame-font.
4360
4361 * faces.el (face-spec-reset-face): Don't apply unspecified
4362 attribute values to the default face.
4363
47893581
JB
43642012-01-31 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * progmodes/cwarn.el (cwarn): Remove dead link.
4367 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4368 Remove * from defcustom docstrings.
4369 (turn-on-cwarn-mode): Make obsolete.
4370 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4371 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4372
e58e988a
GM
43732012-01-31 Glenn Morris <rgm@gnu.org>
4374
60dc2671 4375 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4376 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4377 Allow named functions to be used as the cdr of :variable.
e58e988a 4378
7a3f511d
GM
43792012-01-30 Glenn Morris <rgm@gnu.org>
4380
4381 * emacs-lisp/authors.el (authors-fixed-entries):
4382 Remove reference to deleted file rnewspost.el.
4383
cb882333
JB
43842012-01-29 Juanma Barranquero <lekktu@gmail.com>
4385
4386 * window.el (window-with-parameter): Remove unused variable `windows'.
4387 (window--side-check): Remove unused variable `code'.
4388 (window--resize-siblings): Remove unused variable `first'.
4389 (adjust-window-trailing-edge): Remove unused variable `failed'.
4390 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4391 Use `let', not `let*'.
4392 (balance-windows-2): Remove unused variable `found'.
4393 (window--state-put-2): Remove unused variable `splits'.
4394 (window-state-put): Remove unused variable `selected'.
4395 (same-window-p): Use `string-match-p'.
4396 (display-buffer-assq-regexp): Remove unused variable `value'.
4397 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4398 Mark argument ALIST as ignored.
4399 (pop-to-buffer): Remove unused variable `old-window'.
4400
907201af
EZ
44012012-01-29 Eli Zaretskii <eliz@gnu.org>
4402
4403 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4404 and .lzma compressed files.
4405
ea162670
CY
44062012-01-29 Chong Yidong <cyd@gnu.org>
4407
5b95ee8a
CY
4408 * frame.el (window-system-default-frame-alist): Doc fix.
4409
ea162670
CY
4410 * dynamic-setting.el (font-setting-change-default-font): Don't
4411 change the default face if SET-FONT argument is non-nil (Bug#9982).
4412
d6e6f4b1
SB
44132012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4414
4415 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4416
0f29fa41 44172012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4418
4419 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4420 breakpoints in files outside current directory (Bug#6098).
4421
db174434
CY
44222012-01-29 Chong Yidong <cyd@gnu.org>
4423
6b25e4e2
SE
4424 * progmodes/python.el: Require ansi-color at top-level.
4425
6df6ae42
JB
4426 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4427 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4428 (lisp-mode-abbrev-table): Add doc.
4429 (lisp-mode-variables): Don't set local-abbrev-table.
4430 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4431
e70ee681
RW
44322012-01-28 Roland Winkler <winkler@gnu.org>
4433
4434 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4435
ace88aa2
RW
44362012-01-28 Roland Winkler <winkler@gnu.org>
4437
4438 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4439 (bibtex-set-dialect): Use it. Either set global values of
4440 dialect-dependent variables or bind these variables buffer-locally
4441 (Bug#10254).
4442 (bibtex-mode): Call bibtex-set-dialect via
4443 hack-local-variables-hook.
eb864a71
LM
4444 (bibtex-dialect): Update docstring.
4445 Add safe-local-variable predicate.
ace88aa2
RW
4446 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4447 bibtex-set-dialect.
4448 (bibtex-mode-map): Define menu for each dialect.
4449 (bibtex-entry): Fix docstring.
4450
93376c5b
CY
44512012-01-28 Chong Yidong <cyd@gnu.org>
4452
4453 * eshell/esh-arg.el (eshell-quote-argument): New function.
4454
4455 * eshell/esh-ext.el (eshell-invoke-batch-file):
4456 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4457 first arg to eshell-parse-command (Bug#10523).
4458
4372494f
DA
44592012-01-28 Drew Adams <drew.adams@oracle.com>
4460
4461 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4462 `default-directory' is non-nil.
4463
4d4ec1f8
EZ
44642012-01-28 Eli Zaretskii <eliz@gnu.org>
4465
4466 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4467 line that displays system-configuration-options. (Bug#9924)
4468
7c188927
DA
44692012-01-28 Drew Adams <drew.adams@oracle.com>
4470
4471 * descr-text.el (describe-char): Show information about POS, in
4472 addition to information about the character at POS. Improve and
4473 update the doc string. Change "code point" to "code point in
4474 charset", to avoid confusion with the character's Unicode code
4475 point shown above that. (Bug#10129)
4476
e0da685a
EZ
44772012-01-28 Eli Zaretskii <eliz@gnu.org>
4478
4479 * descr-text.el (describe-char): Show the raw character, not only
4480 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4481 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4482 for the reasons.
4483
70550acf
PH
44842012-01-28 Phil Hagelberg <phil@hagelb.org>
4485
eb864a71
LM
4486 * emacs-lisp/package.el (package-install):
4487 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4488
0ce8e868
CY
44892012-01-28 Chong Yidong <cyd@gnu.org>
4490
cb882333
JB
4491 * emacs-lisp/package.el (package-maybe-load-descriptor):
4492 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4493 (package-maybe-load-descriptor): Use it.
4494 (package-download-transaction): Fully load required packages
4495 inside the loop, so that `require' calls work (Bug#10593).
4496 (package-install): No need to call package-initialize now.
4497
2e7f3bea
CY
44982012-01-28 Chong Yidong <cyd@gnu.org>
4499
6e9bad14
CY
4500 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4501
f823b8ca
CY
4502 * tooltip.el (tooltip-mode): Doc fix.
4503 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4504
2680c309
CY
4505 * frame.el (set-cursor-color): Doc fix (Bug#352).
4506
d7a9e63b
CY
4507 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4508 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4509
2e7f3bea
CY
4510 * cus-edit.el (custom-buffer-create-internal): Fix search button
4511 action (Bug#10542).
2ae01800 4512 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4513
fc4f7a23
EW
45142012-01-27 Eduard Wiebe <usenet@pusto.de>
4515
4516 * dired.el (dired-mark-files-regexp):
4517 Include any subdirectory components. (Bug#10445)
4518
7dd37071
ML
45192012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4520
4521 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4522 Handle [host]:port syntax. (Bug#10533)
4523
a268160b
AH
45242012-01-27 Alex Harsanyi <harsanyi@mac.com>
4525
4526 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4527
e43273ef
GM
45282012-01-26 Glenn Morris <rgm@gnu.org>
4529
4530 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4531 * term.el (term-raw-escape-map): Use Control-X-prefix.
4532 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4533
1edf595d
MR
45342012-01-25 Martin Rudalics <rudalics@gmx.at>
4535
4536 * window.el (window-state-get, window--state-get-1): Don't deal
4537 with fixed-sizeness of windows. Simplify code.
4538
fa8eafef
JC
45392012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4540
6df6ae42
JB
4541 * window.el (window--state-get-1, window--state-put-2):
4542 Don't save and restore the mark.
fa8eafef 4543
0b21c100
CY
45442012-01-25 Chong Yidong <cyd@gnu.org>
4545
4546 * custom.el (custom-variable-p): Doc fix.
4547
5ae1a6c8
GM
45482012-01-25 Glenn Morris <rgm@gnu.org>
4549
40047858
GM
4550 * dired.el (dired-goto-file): Handle some of the more common
4551 characters that `ls -b' escapes. (Bug#10596)
4552
5ddce96c
GM
4553 * progmodes/compile.el (compilation-next-error-function):
4554 Respect compilation-first-column in the "*compilation*" buffer.
4555 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4556
5ae1a6c8
GM
4557 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4558
b559f1a9
GM
45592012-01-24 Glenn Morris <rgm@gnu.org>
4560
4561 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4562
6725d21a
JD
45632012-01-24 Julien Danjou <julien@danjou.info>
4564
4565 * color.el (color-rgb-to-hsl): Fix value computing.
4566 (color-hue-to-rgb): New function.
4567 (color-hsl-to-rgb): New function.
4568 (color-clamp, color-saturate-hsl, color-saturate-name)
4569 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4570 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4571
70df4bbe
GM
45722012-01-24 Glenn Morris <rgm@gnu.org>
4573
4574 * vc/vc-rcs.el (vc-rcs-create-tag):
4575 * vc/vc-sccs.el (vc-sccs-create-tag):
4576 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4577
802a2ae2
ML
45782012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4579
4580 * eshell/esh-util.el (eshell-read-hosts-file):
4581 Skip comment lines. (Bug#10549)
4582
d7128bb1
ML
4583 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4584
d1a5c3b4
JB
45852012-01-23 Juanma Barranquero <lekktu@gmail.com>
4586
2724d9c7
JB
4587 * subr.el (display-delayed-warnings): Doc fix.
4588 (collapse-delayed-warnings): New function to collapse identical
4589 adjacent warnings.
4590 (delayed-warnings-hook): Add it.
d1a5c3b4 4591
a5509865
MA
45922012-01-22 Michael Albinus <michael.albinus@gmx.de>
4593
4594 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4595
4596 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4597 properties, when "login-as" is set.
4598
4599 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4600 (tramp-default-user-alist): Don't add "pscp".
4601 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4602 property "login-as", if set. (Bug#10530)
4603
cc6d5805
MA
46042012-01-21 Michael Albinus <michael.albinus@gmx.de>
4605
4606 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4607 "plink1" and "psftp". (Bug#10530)
4608
46092012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4610
4611 * international/mule-cmds.el (prefer-coding-system): Show a
4612 warning message if the default value of file-name-coding-system
4613 was not changed.
4614
f0960428
JC
46152012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4616
cb882333
JB
4617 * windmove.el (windmove-reference-loc):
4618 Fix windmove-reference-loc miscalculation.
f0960428 4619
dd6f2a63
JB
46202012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4621
4622 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4623 default unit.
4624
7b447e9b
GM
46252012-01-21 Glenn Morris <rgm@gnu.org>
4626
117a9ea1
GM
4627 * international/mule.el (auto-coding-alist): Add .tbz.
4628
7b447e9b
GM
4629 * files.el (local-enable-local-variables): Doc fix.
4630 (inhibit-local-variables-regexps): Rename from
4631 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4632 Doc fix. Add some extensions from auto-coding-alist.
4633 (inhibit-local-variables-suffixes):
4634 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4635 (inhibit-local-variables-p):
4636 New function, extracted from set-auto-mode-1.
4637 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4638 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4639 (hack-local-variables): Doc fix. Make the mode-only case
4640 respect enable-local-variables and friends.
4641 Respect inhibit-local-variables-regexps for file-locals, but
4642 not for directory-locals.
4643 (set-visited-file-name):
4644 Take account of inhibit-local-variables-regexps.
4645 Whether it applies may change as the file name is changed.
4646 * jka-cmpr-hook.el (jka-compr-install):
4647 * jka-compr.el (jka-compr-uninstall):
4648 Update for inhibit-first-line-modes-suffixes name change.
4649
dd6e3cdd
MR
46502012-01-20 Martin Rudalics <rudalics@gmx.at>
4651
4652 * help-macro.el (make-help-screen): Temporarily restore original
4653 binding for minor-mode-map-alist (Bug#10454).
4654
0d0deb38
JD
46552012-01-19 Julien Danjou <julien@danjou.info>
4656
4657 * color.el (color-name-to-rgb): Use the white color to find the max
4658 color component value and return correctly computed values.
4659 (color-name-to-rgb): Add missing float conversion for max value.
4660
34a02f46
MR
46612012-01-19 Martin Rudalics <rudalics@gmx.at>
4662
4663 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4664 special state value for window-persistent-parameters.
4665 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4666 (window--state-put-2): Reset all window parameters to nil before
4667 assigning values of persistent parameters.
4668
606c44c4
AM
46692012-01-18 Alan Mackenzie <acm@muc.de>
4670
4671 Eliminate sluggishness and hangs in fontification of "semicolon
4672 deserts".
4673
cb882333
JB
4674 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4675 Change value 10000 -> 3000.
606c44c4
AM
4676 (c-state-safe-place): Reformulate so it doesn't stack up an
4677 infinite number of wrong entries in c-state-nonlit-pos-cache.
4678 (c-determine-limit-get-base, c-determine-limit): New functions to
4679 determine backward search limits disregarding literals.
4680 (c-find-decl-spots): Amend commenting.
4681 (c-cheap-inside-bracelist-p): New function which detects "={".
4682
4683 * progmodes/cc-fonts.el
4684 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4685 backward search.
4686 (c-font-lock-declarations): Fix an occurrence of point being
4687 undefined. Check additionally for point being in a bracelist or
4688 near a macro invocation without a semicolon so as to avoid a
4689 fruitless time consuming search for a declarator. Give a more
4690 precise search limit for declarators using the new
4691 c-determine-limit.
4692
f3860cea
GM
46932012-01-18 Glenn Morris <rgm@gnu.org>
4694
4695 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4696 (set-auto-mode): Doc fixes.
4697
1db03b16
GM
46982012-01-17 Glenn Morris <rgm@gnu.org>
4699
0e6038be
GM
4700 * isearch.el (search-nonincremental-instead): Fix doc typo.
4701
1db03b16
GM
4702 * dired.el (dired-insert-directory): Handle newlines in directory name.
4703 (dired-build-subdir-alist): Unescape newlines in directory name.
4704
4cb0aa75
MA
47052012-01-17 Michael Albinus <michael.albinus@gmx.de>
4706
4707 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4708 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4709 (tramp-action-terminal): Use it. (Bug#10530)
4710
1d00653d
SM
47112012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4714
6a6ee00d
MR
47152012-01-16 Martin Rudalics <rudalics@gmx.at>
4716
4717 * window.el (window-state-ignored-parameters): Remove variable.
4718 (window--state-get-1): Rename argument MARKERS to IGNORE.
4719 Handle persistent window parameters. Make copy of clone-of
4720 parameter only if requested. (Bug#10348)
4721 (window--state-put-2): Install a window parameter only if it has
4722 a non-nil value or an existing parameter shall be overwritten.
4723
97912def
MA
47242012-01-15 Michael Albinus <michael.albinus@gmx.de>
4725
4726 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4727
688070a5
EZ
47282012-01-14 Eli Zaretskii <eliz@gnu.org>
4729
4730 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4731 don't pass the (nil) value of `upnode' to string-match.
4732
301afadc
CY
47332012-01-14 Chong Yidong <cyd@gnu.org>
4734
4735 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4736 Fix values recognized by the cursorBlink resource.
301afadc 4737
9e5788aa
PE
47382012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4739
4740 * epg.el (epg--make-temp-file): Avoid permission race condition
4741 when running on old Emacs versions (bug#10403).
4742
3cdb7f5a
GM
47432012-01-14 Glenn Morris <rgm@gnu.org>
4744
4745 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4746
8c82b1b4
AM
47472012-01-13 Alan Mackenzie <acm@muc.de>
4748
4749 Fix filling for when filladapt mode is enabled.
4750
4751 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4752 c-mask-paragraph, pass in `fill-paragraph' rather than
4753 `fill-region-as-paragraph'. (This is a reversion of a previous
4754 change.)
eb864a71
LM
4755 * progmodes/cc-mode.el (c-basic-common-init):
4756 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4757
e517eda4
GM
47582012-01-13 Glenn Morris <rgm@gnu.org>
4759
1498536e
GM
4760 * dired.el (dired-switches-escape-p): New function.
4761 (dired-insert-directory): Use dired-switches-escape-p.
4762 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4763
e517eda4
GM
4764 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4765
328f984d
GM
47662012-01-12 Glenn Morris <rgm@gnu.org>
4767
4768 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4769 changes in adaptive-fill-regexp. (Bug#10276)
4770
2cc769a8
AM
47712012-01-11 Alan Mackenzie <acm@muc.de>
4772
4773 Fix Emacs bug #10463 - put `widen's around the critical spots.
4774
1d00653d 4775 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4776 widen around each invocation of c-state-pp-to-literal. Remove an
4777 unused let variable.
4778
e52c37fa
GM
47792012-01-11 Glenn Morris <rgm@gnu.org>
4780
4781 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4782 Doc fix.
e52c37fa 4783
96f8741e
CY
47842012-01-10 Chong Yidong <cyd@gnu.org>
4785
1d00653d
SM
4786 * net/network-stream.el (network-stream-open-starttls):
4787 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4788 response to the capability command.
4789
b09a806e
GM
47902012-01-10 Glenn Morris <rgm@gnu.org>
4791
4792 * mail/unrmail.el (unrmail): Tweak previous change.
4793
7655cb66
CY
47942012-01-09 Chong Yidong <cyd@gnu.org>
4795
4796 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4797
9d5a8f0b
AM
47982012-01-08 Alan Mackenzie <acm@muc.de>
4799
4800 Optimise font locking in long enum definitions.
4801
4802 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4803 arm to a cond form to handle enums.
4804 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4805 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4806
9a0115ab 48072012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4808
4809 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4810 (Bug#10401)
6bb72cbd 4811
f186bb95
LMI
48122012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
29232a68
LMI
4814 * faces.el (set-face-attribute): Clarify the meaning of the nil
4815 frame (bug#10294).
4816
4e5d086d
LMI
4817 * subr.el (with-selected-frame): Mention that the selected frame
4818 is restored (bug#9980).
4819
8e66aebe
LMI
4820 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4821 (bug#9759).
4822
cd394be1 4823 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4824 (password-read): Don't autoload unused function.
4825
adf4e762
JB
48262012-01-07 Juanma Barranquero <lekktu@gmail.com>
4827
4828 * progmodes/which-func.el (which-func-mode): Turn into a
4829 non-interactive function and mark as obsolete (bug#10428).
4830
89bd9ccd
CY
48312012-01-06 Chong Yidong <cyd@gnu.org>
4832
4833 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4834 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4835 functions, along with 1 and -1.
4836
4afee9d5
EZ
48372012-01-06 Eli Zaretskii <eliz@gnu.org>
4838
4839 * time.el (display-time-load-average)
4840 (display-time-default-load-average): Doc fixes. See the thread
4841 starting at
4842 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4843 for the details.
4844
536aea70
GM
48452012-01-06 Glenn Morris <rgm@gnu.org>
4846
665ae865
GM
4847 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4848 has no messages. (Bug#10377)
4849
c869783d
GM
4850 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4851 than Info-edit. (Bug#10385)
4852
2bb4227e
GM
4853 * time.el (display-time-load-average, display-time-next-load-average):
4854 Doc fixes.
4855
7d5944b9
GM
4856 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4857 local setting of buffer-read-only to the input buffer. (Bug#10419)
4858
536aea70
GM
4859 * calendar/calendar.el (calendar-mode):
4860 Locally set scroll-margin to 0. (Bug#10379)
4861
7dccca16
UM
48622012-01-06 Ulrich Mueller <ulm@gentoo.org>
4863
4864 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4865
afbb7930
GM
48662012-01-05 Glenn Morris <rgm@gnu.org>
4867
4868 * eshell/em-unix.el (diff-no-select): Autoload it.
4869 (eshell/diff): Use diff-no-select. (Bug#10420)
4870
04482335
CY
48712012-01-05 Chong Yidong <cyd@gnu.org>
4872
7baca3bc
CY
4873 * shell.el (shell-dynamic-complete-functions): Revert last change.
4874 (shell-command-completion-function): New function.
4875 (shell-completion-vars): Use it to implement
4876 shell-completion-execonly (Bug#10417).
4877
04482335
CY
4878 * custom.el (enable-theme): Don't set custom-safe-themes.
4879
1d00653d
SM
4880 * cus-theme.el (custom-theme-merge-theme):
4881 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4882
bb5aa5d6
MM
48832012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4884
4885 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4886 first prompt in `sql-interacive-mode'.
4887 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4888 keywords.
6df6ae42 4889 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4890 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4891 context of original buffer. Invoke `sql-login-hook'.
4892
a7183d7c
EZ
48932012-01-04 Eli Zaretskii <eliz@gnu.org>
4894
4895 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4896 letters in cite-prefix.
4897
a1eacd1e
LMI
48982012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4899
4900 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4901
787cdb34
CY
49022012-01-03 Chong Yidong <cyd@gnu.org>
4903
1d00653d
SM
4904 * shell.el (shell-dynamic-complete-functions):
4905 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4906 comint-filename-completion first (Bug#10417).
4907
30710442
RS
49082012-01-02 Richard Stallman <rms@gnu.org>
4909
4910 * battery.el (battery-status-function):
4911 Detect when to use battery-yeeloong-sysfs.
4912 (battery-echo-area-format): Add string for Yeeloong.
4913 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4914 (battery-yeeloong-sysfs): New function.
4915
f75bfc33
CY
49162012-01-02 Chong Yidong <cyd@gnu.org>
4917
4918 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4919 (dirtrack): Merge code for handling relative filenames in prompt
4920 from shell-dir-cookie-watcher.
4921 (dirtrack-debug-message): New arg to avoid excess format calls.
4922
4923 * shell.el (shell-dir-cookie-re): Variable deleted.
4924 (shell-dir-cookie-watcher): Function deleted.
4925 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4926 with dirtrack-mode.
4927
651e947e
EZ
49282012-01-01 Eli Zaretskii <eliz@gnu.org>
4929
1d00653d
SM
4930 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4931 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4932 libgnutls-26.dll.
4933
94d4c7dc
AS
49342011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4935
4936 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4937
8d43f3cd
EZ
49382011-12-31 Eli Zaretskii <eliz@gnu.org>
4939
4940 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4941 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4942
98c8795a
MA
49432011-12-29 Michael Albinus <michael.albinus@gmx.de>
4944
4945 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4946 also for alternative shells.
4947 (tramp-open-connection-setup-interactive-shell): Check, whether
4948 the shell is a busybox.
4949 (tramp-send-command): Don't suppress multiple prompts for
4950 busyboxes, it hurts.
4951
51281b32
CY
49522011-12-28 Chong Yidong <cyd@gnu.org>
4953
4954 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4955 (gdb-get-source-file): Move mode line update to
4956 gdb-get-source-file (Bug#10087).
4957
2170cb53
CY
49582011-12-25 Chong Yidong <cyd@gnu.org>
4959
4960 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4961 gud-gdb-marker-filter without taking it as an argument.
4962 (gud-gdb-run-command-fetch-lines): Caller changed.
4963 (gud-gdb-completion-function): New variable.
4964 (gud-gdb-completion-at-point): Use it.
4965 (gud-gdb-completions-1): Split from gud-gdb-completions.
4966
4967 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4968 function as separate arguments.
4969 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4970 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4971 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4972 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4973 (gdb-stopped, def-gdb-auto-update-trigger)
4974 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4975 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4976 Callers changed.
2170cb53
CY
4977 (gud-gdbmi-completions): New function.
4978 (gdb): Use it for generating the completion table.
4979
be8b11bb
AM
49802011-12-24 Alan Mackenzie <acm@muc.de>
4981
4982 Introduce a mechanism to widen the region used in context font
1d00653d 4983 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4984
1d00653d
SM
4985 * progmodes/cc-langs.el (c-before-font-lock-functions):
4986 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4987 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4988 functions to be run just before context (etc.) font locking.
4989
4990 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4991 New, functionality extracted from
be8b11bb 4992 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4993 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4994 (c-after-change): Set c-in-after-change-fontification.
4995 (c-set-fl-decl-start): Rejig its interface, so it can be called
4996 from both after-change and context fontifying.
b81d40f0
JB
4997 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4998 New functions.
4999 (c-standard-font-lock-fontify-region-function): New variable.
5000 (c-font-lock-fontify-region): New function.
be8b11bb 5001
341cf6ac
JL
50022011-12-24 Juri Linkov <juri@jurta.org>
5003
5004 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5005 (Bug#10348)
5006
bffcee0a
MA
50072011-12-23 Michael Albinus <michael.albinus@gmx.de>
5008
5009 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5010 existence of source file. (Bug#10325)
5011
cb5e207c
AM
50122011-12-23 Alan Mackenzie <acm@muc.de>
5013
5014 Fix unstable fontification inside templates.
5015
b81d40f0
JB
5016 * progmodes/cc-langs.el (c-before-font-lock-functions):
5017 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5018 additionally has c-set-fl-decl-start. The other languages (apart
5019 from AWK) have that as a single entry.
5020
b81d40f0
JB
5021 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5022 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5023 c-set-fl-decl-start.
5024
b81d40f0
JB
5025 * progmodes/cc-mode.el (c-common-init, c-after-change):
5026 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5027 (c-set-fl-decl-start): New function, extracted from
5028 c-font-lock-enclosing-decls and enhanced.
5029
60ff536c
JB
50302011-12-23 Juanma Barranquero <lekktu@gmail.com>
5031
5032 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5033
1c4757d6
JL
50342011-12-22 Juri Linkov <juri@jurta.org>
5035
5036 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5037
d031f2c7
CY
50382011-12-22 Chong Yidong <cyd@gnu.org>
5039
5040 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5041
bace743a
DA
50422011-12-21 Drew Adams <drew.adams@oracle.com>
5043
5044 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5045
728a1f2b
JC
50462011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5047
5048 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5049
0d373f73
TZ
50502011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5051
fec0aaa4
TZ
5052 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5053 highlighting and support. Fix up comments for capitalization.
5054 (cfengine-mode-debug): New var.
5055 (cfengine3-mode): Change the modeline indicator to "CFE3".
5056 (cfengine3-font-lock-keywords): Improve defun highlighting.
5057 (cfengine2-actions): Rename from `cfengine-actions'.
5058 (cfengine2-font-lock-keywords): Rename from
5059 `cfengine-font-lock-keywords'.
5060 (cfengine2-imenu-expression): Rename from
5061 `cfengine-imenu-expression'.
5062 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5063 (cfengine2-beginning-of-defun): Rename from
5064 `cfengine-beginning-of-defun'.
5065 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5066 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5067 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5068 modeline indicator to "CFE2".
5069 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5070 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5071
bc86f573
CY
50722011-12-21 Chong Yidong <cyd@gnu.org>
5073
5074 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5075 filename argument.
5076
d45ba96b
MR
50772011-12-20 Martin Rudalics <rudalics@gmx.at>
5078
5079 * window.el (window-normalize-buffer-to-display): Remove.
5080 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5081
a6198c90
CY
50822011-12-19 Chong Yidong <cyd@gnu.org>
5083
5084 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5085 Don't signal an error in a predicate function; return non-nil.
5086 (vc-dir-mark-file): Move the error here.
5087 (vc-dir-mark-unmark): If acting on the region, keep going if one
5088 of the entries cannot be marked/unmarked.
5089 (vc-dir-mark-all-files): If current entry is a directory, mark
5090 only child files, as documented.
5091
34c5fb55
VB
50922011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5093
5094 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5095 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5096 addition.
5097
c803b2b7
JD
50982011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5099
5100 * term/ns-win.el (ns-get-selection-internal)
5101 (ns-store-selection-internal): Declare.
1154d12e
JB
5102 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5103 Declare as obsolete.
5104 (ns-get-pasteboard, ns-paste-secondary):
5105 Use ns-get-selection-internal.
5106 (ns-set-pasteboard, ns-copy-including-secondary):
5107 Use ns-store-selection-internal.
c803b2b7 5108
9cff91f8 51092011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5110
5111 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5112 (vc-deduce-fileset): Doc fix.
99a289d9 5113
f16c898a
AS
51142011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5115
5116 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5117
763237c4
SS
51182011-12-13 Sam Steingold <sds@gnu.org>
5119
5120 * man.el (Man-getpage-in-background): When running under a
5121 window-system, ignore $MANWIDTH and $COLUMNS.
5122
5fc1c122
KH
51232011-12-15 Kenichi Handa <handa@m17n.org>
5124
5125 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5126 (setup-ethiopic-environment-internal): Comment out key-binding for
5127 ethio-toggle-punctuation.
5128
13d49cbb
AM
51292011-12-13 Alan Mackenzie <acm@muc.de>
5130
898169a2
AM
5131 Add the switch statement to AWK Mode.
5132
7a71b18d 5133 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5134 "default" to the keywords regexp.
5135
7a71b18d 5136 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5137 expression as the rest.
1d00653d
SM
5138 (c-nonlabel-token-key): Allow string literals for AWK.
5139 Refactor for the other modes.
898169a2 5140
13d49cbb 5141 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5142 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5143 routines. Limit backward searching in c-font-lock-enclosing.decl.
5144
5145 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5146 pp-state and literal type in addition to the limits.
1d00653d 5147 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5148 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5149 (c-slow-in-literal, c-fast-in-literal): Remove.
5150 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5151
5152 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5153 being in a literal. Add a limit for backward searching.
5154
5155 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5156 c-slow-in-literal.
5157
15e0efc7
SM
51582011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5161
454592a6
MR
51622011-12-13 Martin Rudalics <rudalics@gmx.at>
5163
5164 * window.el (delete-other-windows): Use correct frame in call to
5165 window-with-parameter.
5166
87393f26
DP
51672011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5168
5169 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5170 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5171 (makefile-gmake-statements, makefile-makepp-statements):
5172 Use it and add new makepp keywords.
5173 (makefile-makepp-font-lock-keywords): Add new patterns.
5174 (makefile-match-function-end): Match new [...] and [[...]].
5175
11636b22
JB
51762011-12-11 Juanma Barranquero <lekktu@gmail.com>
5177
5178 * ses.el (ses-call-printer-return, ses-cell-property-get)
5179 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5180 (ses-create-cell-variable, ses-reset-header-string)
5181 (ses-cell-set-formula, ses-repair-cell-reference-all)
5182 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5183 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5184 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5185 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5186 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5187 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5188 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5189 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5190 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5191 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5192 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5193 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5194
cf018193
VB
51952011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5196
5197 * ses.el: The overall change is to add cell renaming, that is
5198 setting fancy names for cell symbols other than name matching
5199 "\\`[A-Z]+[0-9]+\\'" regexp .
5200 (ses-create-cell-variable): New defun.
5201 (ses-relocate-formula): Relocate formulas only for cells the
5202 symbols of which are not renamed, i.e. symbols whose names do not
5203 match regexp "\\`[A-Z]+[0-9]+\\'".
5204 (ses-relocate-all): Relocate values only for cells the symbols of
5205 which are not renamed.
5206 (ses-load): Create cells variables as the (ses-cell ...) are read,
5207 in order to check row col consistency with cell symbol name only
5208 for cells that are not renamed.
5209 (ses-replace-name-in-formula): New defun.
5210 (ses-rename-cell): New defun.
5211
ee957461
CY
52122011-12-11 Chong Yidong <cyd@gnu.org>
5213
5214 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5215 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5216
9a9e9ef0
MR
52172011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5218
5219 * window.el (other-window): Fix docstring.
5220
92a8eba5
EZ
52212011-12-10 Eli Zaretskii <eliz@gnu.org>
5222
5223 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5224 `from' or `to' address before taking its substring.
5225 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5226 encoded name is chopped in the middle of the encoded string, and
5227 thus displayed encoded.
5228
e152e577
JB
52292011-12-10 Juanma Barranquero <lekktu@gmail.com>
5230
5231 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5232
e5d84bfe
EZ
52332011-12-10 Eli Zaretskii <eliz@gnu.org>
5234
5235 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5236 to use texinfo-update-node and commands that call it if the
5237 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5238 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5239 (texinfo-all-menus-update, texinfo-master-menu)
5240 (texinfo-update-node, texinfo-every-node-update)
5241 (texinfo-multiple-files-update): Doc fix. Warn against updating
5242 all the @node lines.
5243 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5244 argument is numeric. Explain better in the doc string what the
5245 function really does.
5246 (texinfo-insert-master-menu-list): Improve the error message
5247 displayed if there's no menu in the Top node.
5248 (Bug#2975) See also this thread:
e5d84bfe
EZ
5249 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5250
1d84e9bb
MG
52512011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5252
5253 * speedbar.el (speedbar-supported-extension-expressions):
5254 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5255
382c953b
JB
52562011-12-09 Juanma Barranquero <lekktu@gmail.com>
5257
5258 * printing.el (pr-mode-alist):
5259 * simple.el (filter-buffer-substring-functions)
5260 (completion-list-insert-choice-function):
5261 * window.el (window-with-parameter, window-atom-root)
5262 (window-sides-slots, window-size-fixed, window-min-delta)
5263 (window-max-delta, window--resize-mini-window)
5264 (window--resize-child-windows-normal, window-tree)
5265 (delete-other-windows, quit-window, split-window)
5266 (display-buffer-record-window, special-display-buffer-names)
5267 (special-display-regexps, special-display-popup-frame)
5268 (same-window-p, split-window-sensibly)
5269 (display-buffer-overriding-action, display-buffer-alist)
5270 (display-buffer-base-action, display-buffer, switch-to-buffer)
5271 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5272 (fit-window-to-buffer, recenter-positions)
5273 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5274 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5275 and remove unneeded backslashes in docstrings.
5276
39c9faef
SM
52772011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5278
98449af8
SM
5279 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5280
39c9faef
SM
5281 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5282 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5283 end in ".mk".
5284 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5285 when reading the makefile (bug#10116).
5286
86ed9fdc
SM
52872011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5288
5289 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5290 (bug#10116).
5291
5580f89d
GM
52922011-12-06 Glenn Morris <rgm@gnu.org>
5293
5294 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5295
28d3917c
CY
52962011-12-06 Chong Yidong <cyd@gnu.org>
5297
5298 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5299
a98edce9
JB
53002011-12-06 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * textmodes/table.el (table-shorten-cell): Fix typo.
5303
e65adfac
CG
53042011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5305
5306 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5307
71cc0b74
EZ
53082011-12-05 Eli Zaretskii <eliz@gnu.org>
5309
5310 * descr-text.el (describe-char): Fix display of strong
5311 right-to-left characters and directional embeddings and overrides.
5312
5313 * simple.el (what-cursor-position): Fix display of codepoints of
5314 strong right-to-left characters.
5315
315bc30d
CY
53162011-12-05 Chong Yidong <cyd@gnu.org>
5317
5318 * faces.el (read-color): Doc fix.
5319
58a70b94
GM
53202011-12-05 Glenn Morris <rgm@gnu.org>
5321
5322 * align.el (align--set-marker): Add doc-string.
5323 Don't try to move something that is not a marker. (Bug#10216)
5324
5158face
GM
53252011-12-04 Glenn Morris <rgm@gnu.org>
5326
5327 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5328 overly zealous deletion of trailing whitespace.
5329
520fca41
JB
53302011-12-04 Juanma Barranquero <lekktu@gmail.com>
5331
5332 * server.el (server-delete-client): On Windows, do not try to delete
5333 the only terminal.
5334 (server-process-filter): On Windows, treat requests for a tty frame as
5335 if they were for a GUI frame if the running server is in GUI mode.
5336
5e605a2e
GM
53372011-12-03 Glenn Morris <rgm@gnu.org>
5338
5339 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5340
5c3fe83f
SM
53412011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5342
6f5e57e7
SM
5343 * electric.el: Streamline electric-indent's hook.
5344 (electric-indent-chars): Revert to simple list.
5345 (electric-indent-functions): New var.
5346 (electric-indent-post-self-insert-function): Use it.
5347
5c3fe83f
SM
5348 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5349 there's no inferior buffer (bug#10196).
5350 (prolog-consult-compile): Don't use toggle-read-only.
5351
6bdac736
MA
53522011-12-02 Michael Albinus <michael.albinus@gmx.de>
5353
5354 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5355 interrupt. (Bug#10187)
5356
6131ba7f
SM
53572011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5358
99c79fee
SM
5359 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5360 (bug#9160).
5361
6131ba7f
SM
5362 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5363 (bug#10191).
5364
cb0a02ea
JL
53652011-12-02 Juri Linkov <juri@jurta.org>
5366
5367 * info.el (Info-search): Display "end of manual" when Isearch
5368 reaches the end of single-file Info manual. (Bug#9918)
5369
66e0570c
EZ
53702011-12-02 Eli Zaretskii <eliz@gnu.org>
5371
5372 * isearch.el (isearch-message-prefix): Run the input method part
5373 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5374
02b16839
JL
53752011-12-02 Juri Linkov <juri@jurta.org>
5376
5377 * isearch.el (isearch-occur): Use `word-search-regexp' for
5378 `isearch-word'.
5379 (isearch-search-and-update): Add condition for `isearch-word' and
5380 call `word-search-regexp'. (Bug#10145)
5381
0b950688
GM
53822011-12-01 Glenn Morris <rgm@gnu.org>
5383
5384 * eshell/em-hist.el (eshell-hist-initialize):
5385 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5386 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5387
9505c3c7
SM
53882011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5391
1bbe96b2 53922011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5393
a1beca85
SM
5394 * progmodes/verilog-mode.el (verilog-pretty-expr):
5395 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5396 verilog, such as += *= and the like.
5397 (verilog-assignment-operator-re): Regular expression to find the
5398 assigment operator in a verilog assignment.
5399 (verilog-assignment-operation-re): Regular expression to find an
5400 assignment statement for pretty-expr.
5401 (verilog-in-attribute-p): Query returns true if point is in an
5402 attribute context; used to skip these for expression line up from
5403 pretty-expr.
5404 (verilog-in-parameter-p): Query returns true if point is in an
5405 parameter definition context; used to skip these for expression
5406 line up from pretty-expr.
5407 (verilog-in-parenthesis-p): Query returns true if point is in a
5408 parenthetical expression, specifically ( ) but not [ ] or { };
5409 used by pretty-expr.
5410 (verilog-just-one-space): If there is no space, don't add one.
5411 (verilog-get-lineup-indent-2): Specifically skip just attribute
5412 contexts for expression lineup, rather than skipping all
5413 parenthetical expressions.
5414 (verilog-calculate-indent): Fix comment, and fix indent.
5415 (verilog-do-indent): Indent declarations in lists (suggested by
5416 Joachim Lechner).
5417 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5418 skeleton items.
5419 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5420 by Alain Mellan).
5421
1bbe96b2 54222011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5423
5424 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5425 parameters with embedded comments. Reported by Ray Stevens.
5426 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5427 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5428 Reported by Tim Holt.
5429 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5430 instantiated by upper module causing wrong expansion until AUTOed a
5431 second time. Reported by K C Buckenmaier.
5432 (verilog-diff-auto): Fix showing .* as a difference when
5433 `verilog-auto-star-save' off. Reported by Dan Dever.
5434 (verilog-auto-reset, verilog-read-always-signals)
5435 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5436 temporary signals in reset list if
5437 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5438 style to each signal's assignment type, bug381.
5439 Reported by Thomas Esposito.
6288f0ca
WS
5440 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5441 (verilog-uvm-statement-re): Support UVM indentation and
5442 highlighting, with old OVM keywords only.
a1beca85 5443 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5444 Support AUTOTIEOFF creating non-wire data types.
5445 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5446 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5447 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5448 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5449 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5450 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5451 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5452 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5453 non-numeric vector width. Reported by Alex Reed.
5454 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5455 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5456 (verilog-auto-delete-trailing-whitespace):
5457 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5458 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5459 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5460 Fix verilog-scan-cache corruption when running user AUTO expansion
5461 hooks that call indentation routines.
5462 (verilog-simplify-range-expression): Fix typo ignoring lower case
5463 identifiers.
5464 (verilog-delete-auto): Fix delete-autos to also remove user created
5465 automatics, as long as they start with AUTO.
5466 (verilog-batch-diff-auto, verilog-diff-auto)
5467 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5468 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5469 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5470 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5471 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5472 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5473 is disabled and its cache will get corrupt, causing AUTOS not to
5474 expand. Instead use only -quick functions.
5475 (verilog-scan-region): Fix scanning over escaped quotes.
5476 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5477 (verilog-re-search-backward-quick)
5478 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5479 related functions now ignore strings, to fix misparsing of strings
5480 with magic comments embedded in them.
a1beca85
SM
5481 (verilog-read-auto-template):
5482 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5483 Reported by Brad Dobbie.
5484 (verilog-read-auto-template):
5485 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5486 Reported by Brad Dobbie.
6288f0ca
WS
5487 (verilog-auto-inst, verilog-auto-inst-param)
5488 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5489 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5490 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5491 debugging templates without merge conflicts, bug357.
5492 Reported by Brad Dobbie.
5493 (verilog-read-auto-template):
5494 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5495 Reported by Brad Dobbie.
5496 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5497 abbrevs so user won't be asked to save.
5498 (verilog-read-auto-lisp-present): Fix to start at beginning of
5499 buffer in case called outside of verilog-auto.
5500 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5501 to "X-2". Reported by Matthew Myers.
5502 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5503 all inputs from module templates. Reported by Leith Johnson.
5504 (verilog-module-inside-filename-p): Fix locating programs as with
5505 modules.
5506 (verilog-auto-inst-port): Fix vl-width expressions when using
5507 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5508 (verilog-decls-get-regs, verilog-decls-get-signals,
5509 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5510 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5511 verilog-read-decls): Combine reg and wire structures into one var
5512 structure to represent SystemVerilog concepts.
5513 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5514 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5515 (verilog-auto-wire-type, verilog-insert-definition):
5516 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5517 SystemVerilog "logic" keyword instead of "wire"/"reg".
5518 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5519 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5520 ifdef or generate if so there's not a driver conflict).
5521 Reported by Matthew Myers.
5522 (verilog-auto-declare-nettype, verilog-insert-definition):
5523 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5524 `default_nettype none. Reported by Julian Gorfajn.
5525 (verilog-read-always-signals-recurse, verilog-read-decls)
5526 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5527 malformed end statement, bug325. Reported by Joshua Wise and
5528 Andrew Drake.
5529 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5530 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5531 when expanding .* in interfaces, bug320.
5532 Reported by Pierre-David Pfister.
6288f0ca 5533 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5534 name and open parenthesis, bug317.
5535 Reported by Pierre-David Pfister.
6288f0ca
WS
5536 (verilog-simplify-range-expression): Fix simplification of
5537 multiplications inside AUTOWIRE connections, bug303.
5538 (verilog-auto-inst-port): Support parameter expansion in
5539 multidimensional arrays.
5540 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5541 after "assert property". Reported by Julian Gorfajn.
5542 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5543 with multiplication, bug303.
5544 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5545 Reported by Jan Frode Lonnum.
5546
1bbe96b2
GM
55472011-11-30 Juanma Barranquero <lekktu@gmail.com>
5548
5549 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5550 (hfy-shell-file-name, hfy-shell):
5551 * international/fontset.el (x-decompose-font-name): Fix typos.
5552
55532011-11-29 Ken Brown <kbrown@cornell.edu>
5554
5555 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5556 (gdb-version): Remove defvar.
5557 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5558 (gdb-gud-context-command, gdb-non-stop-handler)
5559 (gdb-current-context-command, gdb-stopped): Use it.
5560 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5561 (gdb-non-stop-handler): Don't enable pretty-printing here.
5562 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5563 non-stop mode. Use the following.
5564 (gdb-check-target-async): New defun.
5565 (gud-watch, gdb-stopped): Fix whitespace.
5566 (gdb-get-source-file): Don't try to display the source file if
5567 `gdb-main-file' is nil.
5568
55692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * align.el: Try to generate fewer markers (bug#10047).
5572 (align--set-marker): New macro.
5573 (align-region): Use it.
5574
c935221f
SM
55752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5578
e70b5064
CY
55792011-11-29 Chong Yidong <cyd@gnu.org>
5580
5581 * indent.el (indent-for-tab-command, indent-according-to-mode):
5582 Doc fix.
5583 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5584
f3af92b7
MA
55852011-11-29 Michael Albinus <michael.albinus@gmx.de>
5586
5587 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5588 aware of remote file names. (Bug#10124)
5589
ed472be9
CY
55902011-11-29 Chong Yidong <cyd@gnu.org>
5591
5592 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5593
24510c22
SM
55942011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * files.el (find-file): Don't use force-same-window (bug#10144).
5597 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5598 use pop-to-buffer if the selected window can't be used.
5599 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5600
c60c3703
EZ
56012011-11-28 Eli Zaretskii <eliz@gnu.org>
5602
5603 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5604 special-mode-map.
5605
e95def75
CY
56062011-11-28 Chong Yidong <cyd@gnu.org>
5607
5608 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5609
c3f1c606
NR
56102011-11-27 Nick Roberts <nickrob@snap.net.nz>
5611
5612 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5613 gdb-get-source-file-list on gdb-create-source-file-list.
5614
00db469c
EZ
56152011-11-26 Eli Zaretskii <eliz@gnu.org>
5616
5617 * whitespace.el (whitespace-newline): Use a different foreground
5618 color for 16-color light-background displays.
5619
4ad3bc2a
CY
56202011-11-24 Chong Yidong <cyd@gnu.org>
5621
5622 * window.el (display-buffer--special-action): Doc fix.
5623
e9fce1ac
JB
56242011-11-25 Juanma Barranquero <lekktu@gmail.com>
5625
5626 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5627 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5628 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5629 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5630 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5631 (avl-tree-stack-first):
5632 * emacs-lisp/cconv.el (cconv--analyse-use):
5633 * net/gnutls.el (gnutls-negotiate): Fix typos.
5634
cb825e5d
GM
56352011-11-24 Glenn Morris <rgm@gnu.org>
5636
3adbe224
GM
5637 * lpr.el (lpr-windows-system, lpr-lp-system):
5638 * mail/binhex.el (binhex-begin-line):
5639 * progmodes/grep.el (grep-history, grep-find-history):
5640 * textmodes/flyspell.el:
5641 * vc/pcvs-defs.el (cvs-global-menu):
5642 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5643 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5644 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5645
321decc8
GM
5646 * net/tls.el: Fix case of "GnuTLS".
5647
420b63ad
GM
5648 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5649
cb825e5d
GM
5650 * version.el (emacs-build-system): Give it a doc-string.
5651
a0649f08
JL
56522011-11-24 Juri Linkov <juri@jurta.org>
5653
5654 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5655
c0bc0fd4
GM
56562011-11-24 Glenn Morris <rgm@gnu.org>
5657
5658 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5659 if called on a non-mime message just toggle the headers. (Bug#8006)
5660
20db1522
JB
56612011-11-24 Juanma Barranquero <lekktu@gmail.com>
5662
5663 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5664 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5665 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5666 (allout-rebullet-heading, allout-open-sibtopic)
5667 (allout-toggle-current-subtree-encryption)
5668 (allout-toggle-subtree-encryption, allout-encrypt-string)
5669 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5670 (allout-distinctive-bullets-string, allout-auto-activation):
5671 * window.el (window-normalize-buffer-to-display):
5672 * progmodes/verilog-mode.el (verilog-batch-indent):
5673 * textmodes/bibtex.el (bibtex-field-braces-opt)
5674 (bibtex-field-strings-opt):
5675 * vc/cvs-status.el (cvs-tree-merge):
5676 Fix typos.
5677
7262a87c
MA
56782011-11-23 Michael Albinus <michael.albinus@gmx.de>
5679
5680 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5681 `non-essential' to t, in order to avoid remote connections.
5682
283430a1
EZ
56832011-11-23 Eli Zaretskii <eliz@gnu.org>
5684
a1beca85
SM
5685 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5686 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5687 case-insensitively.
5688
d2992a38
ML
56892011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5690
5691 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5692
50419064
GM
56932011-11-23 Glenn Morris <rgm@gnu.org>
5694
da94eca1
GM
5695 * paths.el (rmail-file-name): Reformat the doc-string so that it
5696 is picked up.
5697
9aac4de2
GM
5698 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5699 (rmail-auto-file): Ignore case in the "special" field names,
5700 as mail-fetch-field does for all others.
5701
8038d2d2
GM
5702 * mail/rmail.el (rmail-forward):
5703 * mail/rmailkwd.el (rmail-set-label):
5704 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5705 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5706
f3fe222a
GM
5707 * mail/rmail.el (rmail-current-message): Doc fix.
5708
50419064
GM
5709 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5710
28109f49
SM
57112011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5712
5713 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5714
394c65f1
GM
57152011-11-22 Glenn Morris <rgm@gnu.org>
5716
5717 * mail/rmailmm.el (test-rmail-mime-handler)
5718 (test-rmail-mime-bulk-handler)
5719 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5720
f2a0aa3a
JL
57212011-11-21 Juri Linkov <juri@jurta.org>
5722
1154d12e
JB
5723 * calc/calc.el (calc-read-key-sequence):
5724 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5725
9c34a344
LMI
57262011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5727
5728 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5729 Tell the caller that the next line needs recomputation, even
5730 though it doesn't start a sexp (bug#10094).
5731
f04a3be9
SM
57322011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5735
7978747f
SM
57362011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5737
f04a3be9
SM
5738 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5739 Use force-same-window.
7978747f 5740
fe7a3057
JB
57412011-11-20 Juanma Barranquero <lekktu@gmail.com>
5742
5743 * descr-text.el (describe-char-unicode-data):
5744 * json.el (json-string-escape):
5745 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5746 (Footnote-unicode, Footnote-style-p):
5747 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5748
24901d61
CY
57492011-11-20 Chong Yidong <cyd@gnu.org>
5750
5751 * window.el (replace-buffer-in-windows): Restore interactive spec.
5752
bac7ff22
SM
57532011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5754
24f3d7b9
SM
5755 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5756
bac7ff22
SM
5757 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5758 (byte-compile-global-not-obsolete-vars): New var.
5759 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5760 Use it.
5761 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5762
cd1181db
JB
57632011-11-20 Juanma Barranquero <lekktu@gmail.com>
5764
5765 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5766 * progmodes/pascal.el (electric-pascal-equal):
5767 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5768 * xml.el (xml-substitute-special): Fix typos.
5769
7fb18e9e
GM
57702011-11-20 Glenn Morris <rgm@gnu.org>
5771
5772 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5773 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5774 Doc fixes.
5775 (rmail-decode-mime-charset): Mark as obsolete.
5776
5777 * mail/rmailsum.el (rmail-message-regexp-p-1):
5778 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5779 Before using mime functions, check they are set. (Bug#10077)
5780
d5a6b3ba
JL
57812011-11-19 Juri Linkov <juri@jurta.org>
5782
5783 * info.el (Info-finder-find-node): Use `package--builtins' instead
5784 of `package-alist'. Use node names formed by the pattern "Keyword "
5785 and the keyword name.
5786
e981b61f
AS
57872011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5788
1d00653d 5789 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5790
3ffbc301
JL
57912011-11-19 Juri Linkov <juri@jurta.org>
5792
5793 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5794 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5795 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5796 `old-history', `old-history-forward'. Add let-binding
5797 `window-selected'. Remove calls to `kill-buffer',
5798 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5799 before calling `Info-find-node', so `Info-find-node-2' will reread
5800 the Info file. Restore window positions only when `window-selected'
5801 is non-nil.
5802
30c62133
JL
58032011-11-19 Juri Linkov <juri@jurta.org>
5804
5805 * isearch.el (isearch-lazy-highlight-new-loop):
5806 Remove condition `(not isearch-error)'. (Bug#9918)
5807
5808 * misearch.el (multi-isearch-search-fun): Add condition
5809 `(not bound)' to ignore lazy-highlighting search.
5810 Add the search-failed message "end of multi" when the end of
5811 multi-sequence is reached. Uncapitalize the search-failed
5812 message "Repeat for next buffer".
5813
5814 * info.el (Info-search): Add the search-failed message
5815 "end of the manual" when the end of the manual is reached
5816 in Isearch mode.
5817
645ca9cf
JL
58182011-11-19 Juri Linkov <juri@jurta.org>
5819
5820 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5821 Use non-destructive `remove' instead of `delete' because
5822 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5823 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5824
df754f66
JL
58252011-11-19 Juri Linkov <juri@jurta.org>
5826
5827 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5828 to nil instead of binding `search-ring' and `regexp-search-ring'.
5829 (Bug#9185)
5830
0e23d96a
EZ
58312011-11-19 Eli Zaretskii <eliz@gnu.org>
5832
5833 * simple.el (line-move): Force movement by logical lines for any
5834 hscrolled window, not only when auto-hscroll-mode is on.
5835 (line-move-visual): Update doc string to that effect. (Bug#10076)
5836
8a6ccb66
AS
58372011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5838
5839 * language/european.el (macintosh): Define as alias for mac-roman.
5840
49ae5b39
EZ
58412011-11-19 Eli Zaretskii <eliz@gnu.org>
5842
5843 * mail/rmailmm.el (rmail-mime-display-header)
5844 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5845 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5846 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5847 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5848 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5849 of a raw aref.
5850 (rmail-mime-entity-segment): To get past the tagline, move forward
5851 2 more lines, to account for the 2 empty lines that precede and
5852 follow the line with the buttons.
5853 (rmail-mime-update-tagline): Move one more line, to get past the
5854 empty line that follows the buttons in the tagline. (Bug#9520)
5855
c56cad4a
MR
58562011-11-19 Martin Rudalics <rudalics@gmx.at>
5857
5858 * window.el (window-max-delta-1, window-min-delta-1)
5859 (window-min-size-1, window-state-get-1, window-state-put-1)
5860 (window-state-put-2): Use "window--" prefix.
5861
cbe71af3
SM
58622011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5863
2ad52c60
SM
5864 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5865 (smie-warning-count): New var.
5866 (smie-set-prec2tab): Use it.
5867 (smie-bnf->prec2): Improve warnings. Add docstring.
5868 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5869 (smie-bnf--set-class): New function.
5870 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5871 corner case.
5872
6944dbc1
SM
5873 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5874 (compilation-error-properties, compilation-move-to-column):
5875 Handle compilation-first-column while in the target buffer.
5876
c400c4d7
SM
5877 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5878 Don't hardcode point-min==1.
5879
6dbe3e96
SM
5880 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5881 (eshell-rewrite-for-command): Remove workaround.
5882 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5883 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5884 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5885
cbe71af3
SM
5886 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5887
a8e1496d
GM
58882011-11-17 Glenn Morris <rgm@gnu.org>
5889
5890 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5891 Ignore buffer-local generated-autoload-file if it is the same
5892 as the global value. (Bug#10049)
5893
df85d315
JB
58942011-11-17 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5897 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5898 (reftex-toc-previous-heading, reftex-toc-max-level)
5899 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5900 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5901 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5902 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5903 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5904 (reftex-toc-rename-label, reftex-toc-visit-location)
5905 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5906 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5907 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5908 leaving "*toc*" only for references to the buffer.
5909
a0c2d0ae
MR
59102011-11-17 Martin Rudalics <rudalics@gmx.at>
5911
5912 * window.el (window-resize, delete-window, split-window):
5913 Replace window-splits by window-combination-resize.
1d00653d 5914 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5915
35c0bac8
GM
59162011-11-17 Glenn Morris <rgm@gnu.org>
5917
5918 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5919 Make bash entry derive from sh entry, not shell entry.
5920
d0c8fc8a
MA
59212011-11-16 Michael Albinus <michael.albinus@gmx.de>
5922
d0c8fc8a
MA
5923 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5924 properties of linked files. (Bug#9879)
5925
7262a87c
MA
5926 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5927 local file name.
5928
7877f373
JB
59292011-11-16 Juanma Barranquero <lekktu@gmail.com>
5930
5931 * menu-bar.el (menu-bar-file-menu):
5932 * printing.el (pr-ps-utility):
5933 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5934 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5935 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5936 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5937 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5938 (icalendar--convert-cyclic-to-ical)
5939 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5940 (icalendar--convert-ical-to-diary)
5941 (icalendar--convert-recurring-to-diary)
5942 (icalendar--convert-non-recurring-all-day-to-diary)
5943 (icalendar-import-format-sample):
5944 * progmodes/idlw-shell.el (idlwave-shell-mode):
5945 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5946 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5947 (vhdl-ps-print-init): Fix typos.
5948
10649b82
KM
59492011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5950
9d0cfcd6
GM
5951 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5952 FSF and collapse date sequence, obscure author/maintainer email address
5953 better, remove extra version line, track relocation of author's webpage.
10649b82 5954
9d0cfcd6
GM
5955 * progmodes/python.el (python-pdbtrack-input-prompt)
5956 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5957 regular python pdb prompts. Adjustments shamelessly taken exactly as
5958 suggested in EmacsWiki page (tiny change):
5959 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5960
58179cce
JB
59612011-11-16 Juanma Barranquero <lekktu@gmail.com>
5962
5963 * expand.el (expand-pos, expand-index, expand-point):
5964 Remove redundant info from docstring.
5965 (expand-add-abbrevs): Doc fix.
5966 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5967 (expand-sample-perl-mode-expand-list): Fix typos.
5968
5969 * net/dbus.el (dbus-event-member-name):
5970 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5971 * term/pc-win.el (msdos-create-frame-with-faces):
5972 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5973
b6f67890
MR
59742011-11-16 Martin Rudalics <rudalics@gmx.at>
5975
5976 * window.el (split-window, window-state-get-1)
5977 (window-state-put-1, window-state-put-2): Rename occurrences of
5978 window-nest to window-combination-limit.
1d00653d 5979 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5980
ce7ddba0
CY
59812011-11-16 Chong Yidong <cyd@gnu.org>
5982
5983 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5984 regexp (Bug#10033).
5985
3ae704f4
SM
59862011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5989 `completing-read' will remove *Completions* and will preserve
5990 current-buffer for us.
5991 (tmm-add-prompt): Users of *Completions* will always (re)set its
5992 major mode.
5993 (tmm-old-comp-map): Remove.
5994
6ad1cdde
GM
59952011-11-16 Glenn Morris <rgm@gnu.org>
5996
5997 * mail/rmailedit.el: Require rmailmm when compiling.
5998 (rmail-old-mime-state): New declaration.
5999 (rmail-edit-current-message): If editing a mime message,
6000 edit the "raw" message from the mbox buffer.
6001 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6002
d20faa20
GM
60032011-11-15 Glenn Morris <rgm@gnu.org>
6004
6005 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6006 which wasn't being used. Add optional arg to force given state.
6007 (rmail-mime): Add optional arg to force given state.
6008
c7015153
JB
60092011-11-15 Juanma Barranquero <lekktu@gmail.com>
6010
6011 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6012 * frame.el (display-mm-dimensions-alist):
6013 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6014 (outline-move-subtree-down):
6015 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6016 (newsticker--treeview-do-get-node):
6017 * net/quickurl.el (quickurl-list-buffer-name):
6018 * progmodes/dcl-mode.el (dcl-mode):
6019 * progmodes/gdb-mi.el (gdb-mapcar*):
6020 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6021
45261b50
GM
60222011-11-15 Glenn Morris <rgm@gnu.org>
6023
6024 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6025 in a boolean sense, so just make it a boolean, and fix the doc.
6026 (rmail-show-mime-function, rmail-mime-feature)
6027 (rmail-require-mime-maybe): Doc fixes.
6028 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6029
6030 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6031
0d26e0b6
JB
60322011-11-15 Juanma Barranquero <lekktu@gmail.com>
6033
6034 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6035 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6036 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6037 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6038
447f30f6
GM
60392011-11-15 Glenn Morris <rgm@gnu.org>
6040
672b871d
GM
6041 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6042 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6043 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6044 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6045 (rmail-mime, rmail-show-mime): Doc fixes.
6046
f6aa5bb1
GM
6047 * term/ns-win.el (mode-line-frame-identification):
6048 Leave it alone. (Bug#10051)
6049
947cd66b
GM
6050 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6051
447f30f6
GM
6052 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6053 Handle empty buffers. (Bug#9978)
6054
0b381c7e
JB
60552011-11-14 Juanma Barranquero <lekktu@gmail.com>
6056
6057 * international/mule.el (define-charset):
6058 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6059 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6060 * progmodes/verilog-mode.el (verilog-backward-token):
6061 * textmodes/ispell.el (lookup-words):
6062 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6063
71e027ac
GM
60642011-11-14 Glenn Morris <rgm@gnu.org>
6065
56632ce4
GM
6066 * progmodes/executable.el
6067 (executable-make-buffer-file-executable-if-script-p):
6068 Handle file-modes returning nil.
6069
40500957
GM
6070 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6071 message - not necessary, and causes problems. (Bug#9831)
6072
071c2340
GM
6073 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6074
d3cfca60
GM
6075 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6076
71e027ac
GM
6077 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6078 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6079 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6080
89d61221
MR
60812011-11-12 Martin Rudalics <rudalics@gmx.at>
6082
6083 * window.el (window-resize, delete-window): Use window-splits
6084 variable instead of function.
6085 (window-state-get-1, window-state-put-2, window-state-put):
6086 Don't deal with windows' splits status.
6087
98282f6f
GM
60882011-11-12 Glenn Morris <rgm@gnu.org>
6089
6090 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6091 (apropos-documentation): Doc fixes.
6092
40a8bdf6
JB
60932011-11-11 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6096 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6097
65bd19ff
SM
60982011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6099
6100 * electric.el (electric-indent-post-self-insert-function): Make it
6101 possible for a char to only indent in some circumstances.
6102 (electric-indent-mode): Simplify.
6103
54f9154c
MR
61042011-11-11 Martin Rudalics <rudalics@gmx.at>
6105
6106 * window.el (windows-with-parameter): Remove unused function.
6107 (windows-at-side): Rename to window-at-side-list.
6108 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6109 (window-side-check, window-size-ignore, window-size-fixed-1)
6110 (window-in-direction-2): Prefix with "window--".
6111 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6112
68cbc58b
GM
61132011-11-11 Glenn Morris <rgm@gnu.org>
6114
6115 * subr.el (eval-after-load): If FILE is already loaded,
6116 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6117
b2621720
GM
61182011-11-10 Glenn Morris <rgm@gnu.org>
6119
9a4de110
GM
6120 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6121 Call svn via vc-svn-command rather than vc-do-command.
6122 (vc-svn-command): Add --non-interactive. (Bug#9993)
6123 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6124
b2621720
GM
6125 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6126 Add toggle-read-only. (Bug#7292)
6127 * files.el (toggle-read-only): Mention that it should only
6128 be used interactively. (Bug#10006)
6129
1dce7193
SM
61302011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6131
d9ac1a1e
SM
6132 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6133 Adjust regexp for OCaml warnings.
6134
0c325082
SM
6135 * electric.el (electric-pair-post-self-insert-function): Let user
6136 turn it off buffer-locally (bug#9932).
6137
90132c14
SM
6138 * progmodes/python.el (python-beginning-of-statement):
6139 Rewrite (bug#2703).
6140
1dce7193
SM
6141 * progmodes/compile.el: Better handle TABs (bug#9749).
6142 (compilation-internal-error-properties)
6143 (compilation-next-error-function): Obey the target buffer's
6144 compilation-error-screen-columns.
6145
c4e7c63a
JB
61462011-11-09 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * progmodes/meta-mode.el: Remove obsolete comments.
6149 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6150 Fix typos in docstrings.
6151
2cffd681
MR
61522011-11-09 Martin Rudalics <rudalics@gmx.at>
6153
6154 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6155 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6156 (window--resizable): New function. Make all callers of
6157 window-resizable call window--resizable instead.
6158 (window-resizable): Rewrite in terms of window--resizable.
6159
0edcba87
GM
61602011-11-08 Glenn Morris <rgm@gnu.org>
6161
6162 * progmodes/delphi.el (delphi-mode-syntax-table):
6163 Let define-derived-mode define a proper syntax table. (Bug#9994)
6164
4b0d61e3
SM
61652011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * window.el: Stay away from defsubst.
6168 (window-list-no-nils): Remove.
6169 (window-state-get-1, window-state-get): Use backquote instead.
6170
cd394be1 61712011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6172
4b0d61e3 6173 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6174 Fix incorrect use of default argument in `completing-read'.
6175
e1c2c6f2
MR
61762011-11-08 Martin Rudalics <rudalics@gmx.at>
6177
6178 * window.el (display-buffer-function, special-display-function):
6179 Mention display-buffer-record-window but do not mention
6180 help-setup parameter in doc-strings.
b3f4a882 6181 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6182
105216ed
CY
61832011-11-08 Chong Yidong <cyd@gnu.org>
6184
6185 * window.el (window-total-height, window-total-width): Doc fix.
6186 (window-body-size): Move from C.
6187 (window-body-height, window-body-width): Move to C.
6188
0a9f9ab5
SM
61892011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * window.el: Make special-display like display-buffer-alist (bug#9532).
6192 (display-buffer--special-action): New function, morphed
6193 from display-buffer--special.
6194 (display-buffer): Use it to handle special-display-buffers at higher
6195 priority (just after display-buffer-alist).
6196 (display-buffer-fallback-action, display-buffer--other-frame-action)
6197 (pop-to-buffer-same-window): Remove display-buffer--special.
6198
a769dd15
GM
61992011-11-07 Glenn Morris <rgm@gnu.org>
6200
6201 * calendar/cal-menu.el (cal-menu-set-date-title):
6202 Do nothing if not in a calendar. (Bug#9976)
6203
05a61ee3
SM
62042011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * files.el (find-file): Always use selected-window.
6207
be7f5545
MR
62082011-11-07 Martin Rudalics <rudalics@gmx.at>
6209
6210 * window.el (window-combinations): Make WINDOW argument
6211 mandatory. Rewrite doc-string.
6212 (walk-window-subtree, window-atom-check, window-min-delta)
6213 (window-max-delta, window--resize-this-window)
6214 (window--resize-root-window-vertically, window-tree)
6215 (balance-windows, window-state-put): Rewrite doc-strings as to
6216 not mention the term "subwindow".
6217 (window--resize-subwindows-skip-p): Rename to
6218 window--resize-child-windows-skip-p.
6219 (window--resize-subwindows-normal): Rename to
6220 window--resize-child-windows-normal.
6221 (window--resize-subwindows): Rename to
6222 window--resize-child-windows.
6223 (window-or-subwindow-p): Rename to window--in-subtree-p.
6224
3c6702ef
ML
62252011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6226
6227 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6228 Ensure that mbox format messages end in two newlines (Bug#9974).
6229
49745b39
CY
62302011-11-06 Chong Yidong <cyd@gnu.org>
6231
6232 * window.el (window-combination-p): Function deleted; its
6233 side-effect is not used in any existing code.
6234 (window-combinations, window-combined-p): Call window-*-child
6235 directly.
6236
24300f5f
CY
62372011-11-05 Chong Yidong <cyd@gnu.org>
6238
6239 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6240 (window-size-ignore, window-state-get): Callers changed.
6241 (window-normalize-window): Rename from window-normalize-any-window.
6242 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6243 (window-normalize-live-window): Delete.
447f16b8
CY
6244 (window-combination-p, window-combined-p, window-combinations)
6245 (walk-window-subtree, window-atom-root, window-min-size)
6246 (window-sizable, window-sizable-p, window-size-fixed-p)
6247 (window-min-delta, window-max-delta, window-resizable)
6248 (window-resizable-p, window-full-height-p, window-full-width-p)
6249 (window-current-scroll-bars, window-point-1, set-window-point-1)
6250 (window-at-side-p, window-in-direction, window-resize)
6251 (adjust-window-trailing-edge, maximize-window, minimize-window)
6252 (window-deletable-p, delete-window, delete-other-windows)
6253 (record-window-buffer, unrecord-window-buffer)
6254 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6255 (quit-window, split-window, window-state-put)
6256 (set-window-text-height, fit-window-to-buffer)
6257 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6258
89bd5ee1
EZ
62592011-11-04 Eli Zaretskii <eliz@gnu.org>
6260
53479029
EZ
6261 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6262 rfc2047-decode-string.
6263 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6264 warnings.
6265
89bd5ee1
EZ
6266 * window.el (window-body-height, window-body-width): Mention in
6267 the doc string that the return values are in frame's canonical
6268 units. (Bug#9949)
6269
bd17fdee
AM
62702011-11-03 Alan Mackenzie <acm@muc.de>
6271
6272 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6273 change in cc-engine.el.
6274
acc825c5
SM
62752011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6278
1885e5b8
MR
62792011-11-02 Martin Rudalics <rudalics@gmx.at>
6280
6281 * window.el (quit-window): Call unrecord-window-buffer after
6282 showing another buffer in the window. (Bug#9937)
acc825c5 6283 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6284
ebe06da9
JB
62852011-11-02 Juanma Barranquero <lekktu@gmail.com>
6286
6287 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6288 Accept status with more than 9 shelves. (Bug#9935)
6289 Reported by Colin D Bennett <colin@gibibit.com>.
6290
4ee88440
MR
62912011-11-01 Martin Rudalics <rudalics@gmx.at>
6292
6293 * help.el (with-help-window): Don't reference
6294 temp-buffer-show-specifiers in doc-string.
6295
08e1d82c
AS
62962011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6297
6298 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6299 menu-item.
6300
84bd6e9e
VJL
63012011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6302
6303 * whitespace.el: New version 13.2.2.
6304 (whitespace-newline-mode): Disable properly. Reported by Sarah
6305 <EmacsWiki>.
6306
dba0634a
UJ
63072011-10-30 Ulf Jasper <ulf.jasper@web.de>
6308
6309 * net/newst-treeview.el: Remove "Time-stamp".
6310 (newsticker--group-manage-orphan-feeds): Do not call
6311 newsticker--treeview-tree-update.
db22a3c2
JB
6312 (newsticker-treeview-update, newsticker-treeview):
6313 Call newsticker--treeview-tree-update if necessary.
dba0634a 6314
3d8daefe
MR
63152011-10-30 Martin Rudalics <rudalics@gmx.at>
6316
6317 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6318 (window-iso-combinations): Remove "iso-" infix.
6319 Suggested by Chong Yidong.
3d8daefe
MR
6320 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6321 (window-max-delta-1, window-resize, window--resize-siblings)
6322 (window--resize-this-window, adjust-window-trailing-edge)
6323 (split-window, balance-windows-1)
6324 (shrink-window-if-larger-than-buffer):
6325 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6326 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6327
1bc4c3ae
SM
63282011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6331 in place (bug#9907).
6332 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6333 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6334 (eshell-structure-basic-command, eshell-rewrite-while-command)
6335 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6336 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6337 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6338 (eshell-do-pipelines-synchronously, eshell-eval-command):
6339 Use backquotes and prefer setq to set.
6340 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6341 (eshell-macrop): Use functionp.
c1e2f5fa 6342 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6343
30b65d9c
CY
63442011-10-30 Chong Yidong <cyd@gnu.org>
6345
6346 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6347 instead of set-mark (Bug#9810).
6348
2d197ffb
CY
63492011-10-30 Chong Yidong <cyd@gnu.org>
6350
6351 * window.el (split-window-below, split-window-right): Rename from
6352 split-window-above-each-other and split-window-side-by-side
6353 respectively. All callers changed.
6354 (split-window-sensibly, split-window-sensibly): Use them.
6355 (split-window-keep-point): Doc fix.
6356
6357 * isearch.el: Add isearch-scroll property to split-window-below
6358 and split-window-right.
6359
6360 * follow.el (follow-mode):
6361 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6362 * progmodes/ada-xref.el (ada-gdb-application):
6363 * emulation/vip.el (vip-buffer-in-two-windows):
6364 * image-dired.el (image-dired-dired-with-window-configuration):
6365 * dired-x.el (dired-do-find-marked-files):
6366 * dired.el (dired-pop-to-buffer):
6367 * bs.el (bs--show-with-configuration):
6368 * vc/emerge.el (emerge-setup-windows):
6369 * textmodes/two-column.el (2C-two-columns):
6370 * textmodes/reftex-toc.el (reftex-toc):
6371 * progmodes/gdb-mi.el (gdb-setup-windows):
6372 * progmodes/fortran.el (fortran-window-create):
6373 * net/newst-treeview.el (newsticker--treeview-window-init):
6374 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6375 * emulation/tpu-edt.el (tpu-gold-map):
6376 * emulation/crisp.el (crisp-mode-map):
6377 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6378
38bb2ca8
CY
63792011-10-29 Chong Yidong <cyd@gnu.org>
6380
aa4de341
CY
6381 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6382
e1eb5385
CY
6383 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6384
5d2ece3c
CY
6385 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6386 forged Ispell output (Bug#7904).
6387
38bb2ca8
CY
6388 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6389
d0af9f77
SM
63902011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * doc-view.el: Avoid ugly errors about not finding nil.
6393 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6394 (doc-view-dvipdf-program, doc-view-unoconv-program)
6395 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6396 Avoid nil or absolute file name as default value.
6397 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6398
52bedd34
AM
63992011-10-28 Alan Mackenzie <acm@muc.de>
6400
db22a3c2 6401 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6402
7e43cfa5
AM
64032011-10-28 Alan Mackenzie <acm@muc.de>
6404
6405 Amend the handling of c-beginning/end-of-defun in nested declaration
6406 scopes.
6407
52bedd34
AM
6408 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6409 cc-langs.el. Change it to a defcustom.
7e43cfa5 6410
52bedd34
AM
6411 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6412 cc-vars.el.
7e43cfa5 6413
d0af9f77
SM
6414 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6415 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6416
52bedd34 6417 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6418 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6419 (c-widen-to-enclosing-decl-scope): New function.
6420 (c-while-widening-to-decl-block): New macro.
6421 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6422 outward for defun boundaries, and correspondingly change symbol
6423 `respect-enclosure' to `go-outward'.
6424 (c-declaration-limits): Change algorithm to report only the "innermost"
6425 defun's boundaries.
6426
1a2ce9ee
DD
64272011-10-28 Deniz Dogan <deniz@dogan.se>
6428
6429 * net/rcirc.el (rcirc-mode): Use hard newlines.
6430
bc97a826
AM
64312011-10-28 Alan Mackenzie <acm@muc.de>
6432
6433 Amend to indent and fontify macros "which include their own semicolon"
6434 correctly, using the "virtual semicolon" mechanism.
6435
52bedd34 6436 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6437
d0af9f77 6438 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6439 Recode to scan one line at a time rather than having \n and \r
58179cce 6440 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6441 (c-forward-label): Amend for virtual semicolons.
58179cce 6442 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6443
52bedd34
AM
6444 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6445 of the new C macros.
bc97a826 6446
52bedd34 6447 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6448 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6449 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6450 (c-opt-cpp-macro-define): Make into a full language variable.
6451 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6452 AWK Mode (including \n, \r) removed, no longer needed.
6453
d0af9f77
SM
6454 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6455 Invoke c-make-macro-with-semi-re.
bc97a826 6456
52bedd34
AM
6457 * progmodes/cc-vars.el (c-macro-with-semi-re):
6458 (c-macro-names-with-semicolon): New variables.
58179cce 6459 (c-make-macro-with-semi-re): New function.
bc97a826 6460
7a6c0941
SM
64612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6462
6463 * vc/log-edit.el: Fill empty field rather than adding new one.
6464 (log-edit-add-field): New function.
6465 (log-edit-insert-changelog): Use it.
6466
b0c4cdcf
ML
64672011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6468
6469 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6470
ee1f1da9
SM
64712011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6474 (gdb--check-interpreter): New function.
6475 (gdb): Use it.
6476
51bc5f8b
GM
64772011-10-27 Glenn Morris <rgm@gnu.org>
6478
416a2c45
GM
6479 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6480 (least-positive-float, least-negative-float)
6481 (least-positive-normalized-float, least-negative-normalized-float)
6482 (float-epsilon, float-negative-epsilon):
6483 Remove unnecessary declarations.
6484
6485 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6486 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6487 (least-positive-float, least-negative-float)
6488 (least-positive-normalized-float, least-negative-normalized-float)
6489 (float-epsilon, float-negative-epsilon): Add doc-strings,
6490 based on those in cl.texi.
6491
51bc5f8b
GM
6492 * files.el (set-visited-file-name): If the major-mode changed,
6493 reload the local variables. (Bug#9796)
6494
15de15c6
CY
64952011-10-27 Chong Yidong <cyd@gnu.org>
6496
6497 * subr.el (change-major-mode-after-body-hook): New hook.
6498 (run-mode-hooks): Run it.
6499
ee1f1da9
SM
6500 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6501 Use change-major-mode-before-body-hook.
15de15c6
CY
6502
6503 * simple.el (fundamental-mode):
6504 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6505 change introducing fundamental-mode-hook.
6506
5430d399
JB
65072011-10-26 Juanma Barranquero <lekktu@gmail.com>
6508
acc825c5 6509 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6510
ad74a69e
MA
65112011-10-26 Michael Albinus <michael.albinus@gmx.de>
6512
6513 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6514 tramp.el explicitly. (Bug#7583)
ad74a69e 6515
71d4c2a5
SM
65162011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * progmodes/octave-mod.el:
6519 * progmodes/octave-inf.el: Update maintainer.
6520
b1f6fa26
CY
65212011-10-26 Chong Yidong <cyd@gnu.org>
6522
6523 * subr.el (with-wrapper-hook): Rewrite doc.
6524
3f04efd6
MA
65252011-10-25 Michael Albinus <michael.albinus@gmx.de>
6526
6527 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6528 filenames "/method:foo:". (Bug#9793)
3f04efd6 6529
410488d3
SM
65302011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6533 (bug#9865).
6534
c1ebb47e
GM
65352011-10-24 Glenn Morris <rgm@gnu.org>
6536
6537 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6538
7f5c46c7
MA
65392011-10-24 Michael Albinus <michael.albinus@gmx.de>
6540
6541 * notifications.el: Add the requirement of a running D-Bus session
6542 bus to the Commentary.
6543
db2440b6
JL
65442011-10-24 Juri Linkov <juri@jurta.org>
6545
6546 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6547 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6548 (Bug#9364)
6549
feecf435
JL
65502011-10-24 Juri Linkov <juri@jurta.org>
6551
6552 * info.el (Info-following-node-name-re): Add newline to the list
6553 of allowed characters for leading space. (Bug#9824)
6554
a3839de2
SM
65552011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6556
acc825c5
SM
6557 * progmodes/octave-inf.el (inferior-octave-mode-map):
6558 Fix C-c C-h binding.
a3839de2
SM
6559 * progmodes/octave-mod.el (octave-help): Remove.
6560
09388e76
MA
65612011-10-23 Michael Albinus <michael.albinus@gmx.de>
6562
6563 Sync with Tramp 2.2.3.
6564
6565 * net/tramp-cache.el (top): Pacify byte-compiler using
6566 `init-file-user' and `site-run-file'.
6567
6568 * net/trampver.el: Update release number.
6569
86c60681
CY
65702011-10-23 Chong Yidong <cyd@gnu.org>
6571
6572 * files.el (toggle-read-only): Remove obsolete comment about
6573 version control.
6574
6575 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6576 for toggle-read-only. Note that this hasn't called vc-next-action
6577 since 2008-05-02, though it wasn't documented at the time.
6578
a3839de2
SM
6579 * vc/ediff-init.el (ediff-toggle-read-only-function):
6580 Use toggle-read-only.
86c60681 6581
cd5495ff
AM
65822011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6583
6584 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6585 of c-parse-state.
6586
00b77525 6587 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6588 correct faulty logical expression.
cd5495ff
AM
6589 (c-parse-state-state, c-record-parse-state-state):
6590 (c-replay-parse-state-state): New defvar/defuns.
6591 (c-debug-parse-state): Use new functions.
6592
42ee24ed
MR
65932011-10-22 Martin Rudalics <rudalics@gmx.at>
6594
6595 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6596 last fix. Use window-in-direction correctly.
42ee24ed 6597
a7dee7e7
CY
65982011-10-21 Chong Yidong <cyd@gnu.org>
6599
6600 * progmodes/idlwave.el (idlwave-mode):
6601 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6602 require-final-newline; that's done in prog-mode.
6603 Suggested by Stefan Monnier.
a7dee7e7 6604
e07b9a6d
MR
66052011-10-21 Martin Rudalics <rudalics@gmx.at>
6606
6607 * mouse.el (mouse-drag-window-above)
6608 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6609 (mouse-drag-mode-line-1, mouse-drag-header-line)
6610 (mouse-drag-vertical-line-rightward-window): Remove.
6611 (mouse-drag-line): New function.
6612 (mouse-drag-mode-line, mouse-drag-header-line)
6613 (mouse-drag-vertical-line): Call mouse-drag-line.
6614 * window.el (window-at-side-p, windows-at-side): New functions.
6615
7e1361d9
UM
66162011-10-21 Ulrich Mueller <ulm@gentoo.org>
6617
6618 * tar-mode.el (tar-grind-file-mode):
6619 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6620
30fcaf3a
CY
66212011-10-21 Chong Yidong <cyd@gnu.org>
6622
6623 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6624 * progmodes/vera-mode.el (vera-mode):
6625 Use mode-require-final-newline.
30fcaf3a 6626
516eddb0
GM
66272011-10-20 Glenn Morris <rgm@gnu.org>
6628
db22a3c2 6629 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6630
10d5f513
CS
66312011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6632
6633 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6634
ac6c8639
CY
66352011-10-20 Chong Yidong <cyd@gnu.org>
6636
6637 * emulation/cua-base.el (cua-mode):
6638 * mail/footnote.el (footnote-mode):
6639 * mail/mailabbrev.el (mail-abbrevs-mode):
6640 * net/xesam.el (xesam-minor-mode):
6641 * progmodes/bug-reference.el (bug-reference-mode):
6642 * progmodes/cap-words.el (capitalized-words-mode):
6643 * progmodes/compile.el (compilation-minor-mode)
6644 (compilation-shell-minor-mode):
6645 * progmodes/gud.el (gud-tooltip-mode):
6646 * progmodes/hideif.el (hide-ifdef-mode):
6647 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6648 * progmodes/subword.el (subword-mode):
6649 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6650 * progmodes/which-func.el (which-function-mode):
6651 * term/tvi970.el (tvi970-set-keypad-mode):
6652 * term/vt100.el (vt100-wide-mode):
6653 * textmodes/flyspell.el (flyspell-mode):
6654 * textmodes/ispell.el (ispell-minor-mode):
6655 * textmodes/nroff-mode.el (nroff-electric-mode):
6656 * textmodes/paragraphs.el (use-hard-newlines):
6657 * textmodes/refill.el (refill-mode):
6658 * textmodes/reftex.el (reftex-mode):
6659 * textmodes/rst.el (rst-minor-mode):
6660 * textmodes/sgml-mode.el (html-autoview-mode)
6661 (sgml-electric-tag-pair-mode):
6662 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6663 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6664 * emulation/crisp.el (crisp-mode):
6665 * emacs-lisp/eldoc.el (eldoc-mode):
6666 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6667 minor mode behavior.
6668
aa42ab43
JL
66692011-10-19 Juri Linkov <juri@jurta.org>
6670
6671 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6672 the list of hard-coded chars with escape-glyph face.
6673
89400f1d
SM
66742011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6677
305c07f6
MA
66782011-10-19 Michael Albinus <michael.albinus@gmx.de>
6679
6680 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6681 running process.
6682
13754b54
GM
66832011-10-19 Glenn Morris <rgm@gnu.org>
6684
6685 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6686 Ignore ignored files. (Bug#9726)
6687
06e21633
CY
66882011-10-19 Chong Yidong <cyd@gnu.org>
6689
6690 Doc fix for minor modes, stating that an omitted argument enables
6691 the mode unconditionally when called from Lisp.
6692
6693 * abbrev.el (abbrev-mode):
6694 * allout.el (allout-mode):
6695 * autoinsert.el (auto-insert-mode):
6696 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6697 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6698 (global-auto-revert-mode):
6699 * battery.el (display-battery-mode):
6700 * composite.el (global-auto-composition-mode)
6701 (auto-composition-mode):
6702 * delsel.el (delete-selection-mode):
6703 * desktop.el (desktop-save-mode):
6704 * dired-x.el (dired-omit-mode):
6705 * dirtrack.el (dirtrack-mode):
6706 * doc-view.el (doc-view-minor-mode):
6707 * double.el (double-mode):
6708 * electric.el (electric-indent-mode, electric-pair-mode):
6709 * emacs-lock.el (emacs-lock-mode):
6710 * epa-hook.el (auto-encryption-mode):
6711 * follow.el (follow-mode):
6712 * font-core.el (font-lock-mode):
6713 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6714 * help.el (temp-buffer-resize-mode):
6715 * hilit-chg.el (highlight-changes-mode)
6716 (highlight-changes-visible-mode):
6717 * hi-lock.el (hi-lock-mode):
6718 * hl-line.el (hl-line-mode, global-hl-line-mode):
6719 * icomplete.el (icomplete-mode):
6720 * ido.el (ido-everywhere):
6721 * image-file.el (auto-image-file-mode):
6722 * image-mode.el (image-minor-mode):
6723 * iswitchb.el (iswitchb-mode):
6724 * jka-cmpr-hook.el (auto-compression-mode):
6725 * linum.el (linum-mode):
6726 * longlines.el (longlines-mode):
6727 * master.el (master-mode):
6728 * mb-depth.el (minibuffer-depth-indicate-mode):
6729 * menu-bar.el (menu-bar-mode):
6730 * minibuf-eldef.el (minibuffer-electric-default-mode):
6731 * mouse-sel.el (mouse-sel-mode):
6732 * msb.el (msb-mode):
6733 * mwheel.el (mouse-wheel-mode):
6734 * outline.el (outline-minor-mode):
6735 * paren.el (show-paren-mode):
6736 * recentf.el (recentf-mode):
6737 * reveal.el (reveal-mode, global-reveal-mode):
6738 * rfn-eshadow.el (file-name-shadow-mode):
6739 * ruler-mode.el (ruler-mode):
6740 * savehist.el (savehist-mode):
6741 * scroll-all.el (scroll-all-mode):
6742 * scroll-bar.el (scroll-bar-mode):
6743 * server.el (server-mode):
6744 * shell.el (shell-dirtrack-mode):
6745 * simple.el (auto-fill-mode, transient-mark-mode)
6746 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6747 (line-number-mode, column-number-mode, size-indication-mode)
6748 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6749 * strokes.el (strokes-mode):
6750 * time.el (display-time-mode):
6751 * t-mouse.el (gpm-mouse-mode):
6752 * tool-bar.el (tool-bar-mode):
6753 * tooltip.el (tooltip-mode):
6754 * type-break.el (type-break-mode-line-message-mode)
6755 (type-break-query-mode):
6756 * view.el (view-mode):
6757 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6758 (global-whitespace-mode, global-whitespace-newline-mode):
6759 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6760
a3839de2
SM
6761 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6762 Fix autogenerated docstring.
06e21633 6763
5214e501
JL
67642011-10-19 Juri Linkov <juri@jurta.org>
6765
6766 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6767 by checking environment variables "DESKTOP_SESSION" and
6768 "XDG_CURRENT_DESKTOP". (Bug#9779)
6769
195f8db9
JL
67702011-10-19 Juri Linkov <juri@jurta.org>
6771
6772 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6773 (browse-url-chromium-program, browse-url-chromium-arguments):
6774 New defcustoms.
6775 (browse-url-default-browser): Check for `browse-url-chromium' and
6776 call `browse-url-chromium-program'.
6777 (browse-url-chromium): New command. (Bug#9779)
6778
343a34ff
JB
67792011-10-18 Juanma Barranquero <lekktu@gmail.com>
6780
6781 * facemenu.el (list-colors-duplicates): On Windows, detect more
6782 duplicates by assuming that only colors matching "^System" are
6783 special "system colors". (Bug#9722)
6784
6978a151
SM
67852011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6788 to distinguish the author from the committer.
6789
6a80b297
MA
67902011-10-18 Michael Albinus <michael.albinus@gmx.de>
6791
6792 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6793
b31a5677
JK
67942011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6795
6796 * international/mule.el (sgml-html-meta-auto-coding-function):
6797 Add support for detecting encoding in HTML5 specified only as
6798 <meta charset="UTF-8">. Implementation just makes http-equiv and
6799 content-type parts from HTML4 encoding string optional. (Bug#9716)
6800
80c6d77f
GM
68012011-10-18 Glenn Morris <rgm@gnu.org>
6802
6803 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6804
08b0fee8
CY
68052011-10-18 Chong Yidong <cyd@gnu.org>
6806
6807 * faces.el (cursor): Doc fix.
6808
67e729a5
CY
68092011-10-17 Chong Yidong <cyd@gnu.org>
6810
6811 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6812
343a34ff 68132011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6814
6815 * dirtrack.el (dirtrack): Support shell buffers with path
6816 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6817
0bc06380
TZ
68182011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6819
6820 * json.el: Bump version to 1.3 and note change in History.
6821 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6822
8b79f3e0
SM
68232011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6824
5a7c536b
SM
6825 * comint.el (comint-insert-input, comint-send-input)
6826 (comint-get-old-input-default, comint-backward-matching-input)
6827 (comint-next-prompt): Use nil instead of `input' for field property of
6828 past user input (bug#114).
6829
96a8a0df
SM
6830 * minibuffer.el (completion--replace): Inherit surrounding properties
6831 (bug#114).
6832 (minibuffer-complete-and-exit): Use it.
6833
8b79f3e0
SM
6834 * comint.el (comint--table-subvert): Quote the all-completions output
6835 (bug#9160).
6836
b8f7ff0d
MR
68372011-10-17 Martin Rudalics <rudalics@gmx.at>
6838
8b79f3e0 6839 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6840
b8f7ff0d 6841 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6842 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6843 entries and separate them from frame entries.
6844
c235b555
GM
68452011-10-15 Glenn Morris <rgm@gnu.org>
6846
6847 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6848 Doc fixes.
6849
6bbfa6e1
CY
68502011-10-15 Chong Yidong <cyd@stupidchicken.com>
6851
8b79f3e0
SM
6852 * net/network-stream.el (network-stream-open-starttls):
6853 Improve detection of failure due to lack of TLS support.
ec5c990d 6854
6bbfa6e1
CY
6855 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6856 putting the input text in front and in bold.
6857
98488977
SM
68582011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6859
3d1337be
SM
6860 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6861
ee0b45e4
SM
6862 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6863 empty buffer.
6864
98488977
SM
6865 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6866 unread-command-events rather than pushing yet-another event.
6867
186f4720
EZ
68682011-10-14 Eli Zaretskii <eliz@gnu.org>
6869
6870 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6871 the explanation of the possible choices. Make the options passed
6872 to completing-read shorter.
6873
8b7a997c
AM
68742011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6875
6876 * textmodes/flyspell.el (flyspell-large-region): Make sure
6877 extended character mode is used if defined (Bug#1339).
6878
12587bbb
EZ
68792011-10-13 Eli Zaretskii <eliz@gnu.org>
6880
6881 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6882 character info for LRE, LRO, RLE, and RLO characters by appending
6883 an invisible PDF.
12587bbb 6884
bad41229
SM
68852011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6888 even in case of error; add debug spec; simplify data flow.
6889 (with-timeout-handler): Remove.
6890
28dbc92f
MA
68912011-10-12 Michael Albinus <michael.albinus@gmx.de>
6892
6893 Fix Bug#6019, Bug#9315.
6894
6895 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6896 complete `buffer-file-name', the local file name part could look
6897 remotely (for example on VMS).
6898
6899 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6900 `tramp-run-real-handler'.
6901 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6902 already quoted by '"'.
6903
6904 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6905 Let `file-name-handler-alist' be nil, the local file name part
6906 could look remotely (for example on VMS).
6907
e1b0b23a
SM
69082011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6911 from here...
6912 (flyspell-post-command-hook): ...to here.
6913
a120bde9
SM
69142011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6917 if not needed.
6918 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6919 using completion. Protect against "slow" callers.
6920 Remove the "message hack".
6921
7ce7717b
JL
69222011-10-11 Juri Linkov <juri@jurta.org>
6923
6924 * isearch.el (isearch-lazy-highlight-word): New variable.
6925 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6926 Use it. (Bug#9727)
6927
c02ee9d6
GM
69282011-10-11 Glenn Morris <rgm@gnu.org>
6929
6930 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6931 like f90-previous-statement does.
6932
93e616fd 69332011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6934
1f190e73 6935 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6936 only in interactive use, to avoid error.
6937
af7b6078
SM
69382011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * minibuffer.el (completion-file-name-table): Fix last change,
6941 i.e. ignore normal errors but not the other ones.
6942
0563dae9
MR
69432011-10-10 Martin Rudalics <rudalics@gmx.at>
6944
6945 * window.el (special-display-buffer-names)
6946 (special-display-regexps): Remove some remnants of earlier
6947 changes from doc-strings.
366ca7f3
MR
6948 (quit-windows-on): New function.
6949
6950 * vc/vc.el (vc-revert, vc-rollback):
6951 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6952 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6953 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6954
49677495
MR
69552011-10-09 Martin Rudalics <rudalics@gmx.at>
6956
6957 * window.el (frame-auto-hide-function): Add version tag.
6958 (Bug#9699)
6959
56f2d1e1
MA
69602011-10-09 Michael Albinus <michael.albinus@gmx.de>
6961
6962 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6963 condition.
6964
112a6592
LL
69652011-10-09 Leo Liu <sdl.web@gmail.com>
6966
6967 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6968 (Bug#9701)
6969
0812589b
GM
69702011-10-08 Glenn Morris <rgm@gnu.org>
6971
6972 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6973 before the first code statement zero indent. (Bug#9690)
6974
b2b0776e
CY
69752011-10-08 Chong Yidong <cyd@stupidchicken.com>
6976
6977 * simple.el (count-words-region): Always count in the region.
6978 Report the number of lines and characters too.
6979 (count-words): New command, which counts in the buffer if the
6980 region is inactive, as count-words-region used to.
6981 (count-words--message): New function. Handle plurals.
6982 (count-lines-region): Make it an alias for count-words-region.
6983
6984 * bindings.el (esc-map): Replace count-lines-region with
6985 count-words-region.
6986
c557cd6b
MR
69872011-10-08 Martin Rudalics <rudalics@gmx.at>
6988
6989 * window.el (window--delete): Delete dedicated frame
6990 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6991 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6992
61a57ef4 69932011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6994
3a7d293b 6995 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6996
c3833279
CY
69972011-10-07 Chong Yidong <cyd@stupidchicken.com>
6998
6999 * bindings.el ([M-left],[M-right]): Bind to left-word and
7000 right-word respectively.
7001
21ce8245
GM
70022011-10-07 Glenn Morris <rgm@gnu.org>
7003
7004 * cus-start.el (debug-on-quit): Fix custom type.
7005
6d823bb2
LMI
70062011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7007
0181e193
LMI
7008 * subr.el (define-key-after): Clarify that the function is not
7009 useful for non-menu keymaps.
7010
6d823bb2
LMI
7011 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7012
8e3459ce 70132011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7014
21ce8245 7015 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7016 in current minibuffer (Fix bug with recursive minibuffers).
7017
a1c2d21e
CY
70182011-10-06 Chong Yidong <cyd@stupidchicken.com>
7019
7020 * progmodes/gdb-mi.el (gdb): Doc fix.
7021
5a4cf282
MR
70222011-10-05 Martin Rudalics <rudalics@gmx.at>
7023
7024 * window.el (frame-auto-hide-function): New option replacing
7025 frame-auto-delete. Suggested by Stefan Monnier.
7026 (window--delete): Call frame-auto-hide-function instead of
7027 investigating frame-auto-delete.
c96111ea
MR
7028 (window-point-1, set-window-point-1): New functions.
7029 (window-in-direction, record-window-buffer, window-state-get-1)
7030 (display-buffer-record-window): Use window-point-1 instead of
7031 window-point.
7032 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7033
9854542e
SM
70342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7037
8943cfb0
GM
70382011-10-05 Glenn Morris <rgm@gnu.org>
7039
7040 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7041 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7042
647ab967
LL
70432011-10-05 Leo Liu <sdl.web@gmail.com>
7044
7045 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7046 works with buffer object.
7047
3ddfbced
SM
70482011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * mpc.el (mpc-tool-bar-map): Add labels.
7051
bdfa5dd2
GM
70522011-10-04 Glenn Morris <rgm@gnu.org>
7053
7054 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7055
0e2070b5
MR
70562011-10-04 Martin Rudalics <rudalics@gmx.at>
7057
7058 * window.el (window--delete): New function.
7059 (frame-auto-delete): Resuscitate option.
7060 (bury-buffer, replace-buffer-in-windows)
7061 (quit-window): Rewrite using window--delete.
7062 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7063 Pass display-buffer-mark-dedicated to window--display-buffer-2
7064 (Bug#9639).
7065
3dc61a09
SM
70662011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7067
915a9b64
SM
7068 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7069 returns a list (bug#9554). Add remote file name completion.
7070 * comint.el (comint--table-subvert): Curry and get quote&unquote
7071 functions as arguments.
7072 (comint--complete-file-name-data): Adjust call accordingly.
7073 * pcomplete.el (pcomplete--table-subvert): Remove.
7074 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7075
3dc61a09
SM
7076 * minibuffer.el (completion-table-case-fold): Use currying.
7077 (completion--styles-type, completion--cycling-threshold-type):
7078 New constants.
7079 (completion-styles, completion-category-overrides)
7080 (completion-cycle-threshold): Use them.
7081 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7082 completion-table-case-fold.
7083
8ea0a993
SB
70842011-10-03 Stephen Berman <stephen.berman@gmx.net>
7085
7086 * minibuffer.el (completion-category-overrides): Fix type of styles
7087 and add more user friendly tags (bug#9660).
7088
8c24b7f6
SM
70892011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7092 (mule-input-method-string): New widget.
7093 (default-input-method, language-info-custom-alist): Use it.
7094
428fe61a
SM
70952011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7096
32c1fffd
SM
7097 * pcomplete.el: Require comint.
7098 (pcomplete--common-suffix): Remove.
7099 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7100 (pcomplete--table-subvert): Sync with comint--table-subvert.
7101 (pcomplete--entries): Use comint-completion-file-name-table.
7102 * comint.el (comint-unquote-filename): Simplify.
7103 (comint-completion-file-name-table): New function (bug#9616).
7104 (comint--complete-file-name-data): Use it.
7105
428fe61a
SM
7106 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7107 (pcmpl-gnu-tar-buffer): Remove.
7108 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7109 around. Make sure pcomplete-suffix-list is only changed temporarily.
7110 Don't look inside the tar's file if it's too large.
428fe61a 7111
04c52e2f
CY
71122011-10-01 Chong Yidong <cyd@stupidchicken.com>
7113
ce3cefcc
CY
7114 * cus-edit.el (custom-mode-map):
7115 * epa.el (epa-key-list-mode-map):
7116 * man.el (Man-mode-map):
7117 * startup.el (splash-screen-keymap):
7118 * simple.el (special-mode-map): Use scroll-up-command and
7119 scroll-down-command.
7120
7121 * progmodes/idlw-help.el (idlwave-help-mode-map):
7122 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7123 * net/newst-plainview.el (newsticker-mode-map):
7124 * emulation/ws-mode.el (wordstar-mode-map):
7125 * emulation/vi.el (vi-com-map):
7126 * calc/calc-graph.el (calc-graph-show-dumb):
7127 * term/sun.el (terminal-init-sun):
7128 * term/ns-win.el (global-map):
7129 * progmodes/grep.el (grep-mode-map):
7130 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7131 * mail/rmail.el (rmail-mode-map):
7132 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7133
04c52e2f
CY
7134 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7135 custom-safe-themes as special.
7136
79adf8c8
JD
71372011-10-01 Julien Danjou <julien@danjou.info>
7138
7139 * notifications.el (notifications-notify): Fix docstring.
7140
63bd50d3
PS
71412011-10-01 Per Starbäck <per@starback.se>
7142
7143 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7144
199e4c7e
MR
71452011-09-30 Martin Rudalics <rudalics@gmx.at>
7146
7147 * startup.el (command-line-1): Fix last fix by inserting
7148 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7149 (Bug#9605) and (Bug#9636)
199e4c7e 7150
fe5f08dd
EZ
71512011-09-29 Eli Zaretskii <eliz@gnu.org>
7152
7153 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7154 window is hscrolled, move by logical lines. (Bug#9607)
7155 (line-move-visual): Update the doc string to the above effect.
7156
b5516bbd
MR
71572011-09-29 Martin Rudalics <rudalics@gmx.at>
7158
ccee00c0
MR
7159 * window.el (display-buffer-record-window): When WINDOW is the
7160 selected window use `point' instead of `window-point'. (Bug#9626)
7161
b5516bbd
MR
7162 * startup.el (command-line-1): Use insert-before-markers when
7163 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7164
b5516bbd
MR
7165 * help.el (help-window): Remove variable.
7166
52aa0014
GM
71672011-09-29 Glenn Morris <rgm@gnu.org>
7168
7169 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7170
df9a7357
JB
71712011-09-29 Juanma Barranquero <lekktu@gmail.com>
7172
7173 * descr-text.el (describe-char-categories): Accept category
7174 descriptions more than one line long.
7175
a8406c20
SM
71762011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7177
88d9610c
SM
7178 * simple.el (delete-trailing-whitespace): Fix last change.
7179
a5daf810
SM
7180 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7181 Don't confuse "y => 3" as the beginning of a `y' operation.
7182
a8406c20
SM
7183 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7184 object has more than 4 slots (bug#9613).
7185
a239d4e9
JB
71862011-09-28 Juanma Barranquero <lekktu@gmail.com>
7187
7188 * subr.el (with-output-to-temp-buffer):
7189 * net/quickurl.el (quickurl, quickurl-browse-url):
7190 Fix typos in docstrings.
7191
693fbdb6
EZ
71922011-09-27 Eli Zaretskii <eliz@gnu.org>
7193
7194 * minibuffer.el (completion-styles)
7195 (completion-category-overrides): Cross reference each other in doc
7196 strings.
7197
8b457e28
GM
71982011-09-27 Glenn Morris <rgm@gnu.org>
7199
7200 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7201 to split-string. (Bug#9606)
7202
85a16208
LMI
72032011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7204
7205 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7206 (bug#9615).
7207
502f9ebd
CY
72082011-09-27 Chong Yidong <cyd@stupidchicken.com>
7209
7210 * emacs-lisp/package.el (list-packages): Fix echo area message.
7211
7690bdea
LL
72122011-09-27 Leo Liu <sdl.web@gmail.com>
7213
7214 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7215
e2ee6f30
MA
72162011-09-25 Michael Albinus <michael.albinus@gmx.de>
7217
7218 * net/dbus.el (dbus-unregister-object): Don't release services for
7219 registered signals. (Bug#9581)
7220
f3f98342
TZ
72212011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7222
7223 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7224 function that picks between cfengine 2 and 3 support
7225 automatically. Update docs accordingly.
7226
dd7aa8dd
KH
72272011-09-22 Kenichi Handa <handa@m17n.org>
7228
7229 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7230 ZERO.
7231 (indian-itrans-v5-table-for-tamil): New variable.
7232 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7233
3f2b07f8
KM
72342011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7235
7236 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7237 that's true if the current command involved collapsing of text.
7238 It's reset to false at the beginning of the next command.
7239 (allout-post-command-business): Move the cursor to the beginning
7240 of entry if the cursor is hidden and collapsing activity just
7241 happened.
7242
371d6a61
CY
72432011-09-24 Chong Yidong <cyd@stupidchicken.com>
7244
7245 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7246 tracking (Bug#9541).
7247
2ac2721a
UJ
72482011-09-24 Ulf Jasper <ulf.jasper@web.de>
7249
7250 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7251 (newsticker-show-news): Automatically load html rendering package
7252 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7253 because w3m-fill-column is let-bound" and the error "Symbol's value
7254 as variable is void: w3m-fill-column".
2ac2721a 7255
fac7ae53
MA
72562011-09-24 Michael Albinus <michael.albinus@gmx.de>
7257
7258 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7259 Release services only if they are defined. (Bug#9581)
7260
e08b633b
RS
72612011-09-23 Richard Stallman <rms@gnu.org>
7262
e488d29c
RS
7263 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7264 distinguish start of paragraph from start of its text.
7265
19c38752
RS
7266 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7267
e08b633b
RS
7268 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7269 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7270 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7271
0a39f27e
AS
72722011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7273
7274 * international/mule-diag.el (mule-diag): Insert a newline after
7275 each fontset description.
7276
db4e950d
SM
72772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * simple.el (delete-trailing-whitespace):
7280 Document last change; simplify.
7281
eca3f3ea
PW
72822011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7283
d68e189a
PW
7284 * simple.el (delete-trailing-whitespace): Also delete
7285 extra newlines at the end of the buffer.
7286
eca3f3ea
PW
7287 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7288 (picture-newline): Use forward-line so as to ignore fields.
7289
01c157cc
SM
72902011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * subr.el (with-wrapper-hook): Fix edebug spec.
7293
022de23e
LMI
72942011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7295
7296 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7297 (bug#4538).
7298
91683089
MA
72992011-09-23 Michael Albinus <michael.albinus@gmx.de>
7300
eca3f3ea
PW
7301 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7302 Fix nasty bug using wrong cached values.
91683089 7303
5bdd6fa4
AM
73042011-09-23 Alan Mackenzie <acm@muc.de>
7305
7306 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7307
97adfb97
CY
73082011-09-23 Chong Yidong <cyd@stupidchicken.com>
7309
7310 * window.el (pop-to-buffer): Ensure right window is selected if we
7311 chose another frame.
7312
d4ef2b50
EZ
73132011-09-22 Eli Zaretskii <eliz@gnu.org>
7314
7315 * simple.el (what-cursor-position): Use get-char-property-change
7316 and next-single-char-property-change, to be able to show display
7317 properties that come from overlays as well as text properties.
7318
72258fe5
CY
73192011-09-22 Chong Yidong <cyd@stupidchicken.com>
7320
7321 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7322
7323 * cmuscheme.el (run-scheme, switch-to-scheme):
7324 * cus-edit.el (customize-group, custom-buffer-create)
7325 (customize-browse):
7326 * info.el (info):
7327 * shell.el (shell):
7328 * mail/sendmail.el (mail):
7329 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7330
8f098516
RS
73312011-09-22 Richard Stallman <rms@gnu.org>
7332
7333 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7334 move back only to line beg, don't move back over blank lines.
7335
e74f1bb6
MA
73362011-09-22 Michael Albinus <michael.albinus@gmx.de>
7337
7338 * files.el (copy-directory): Set directory attributes only in case
7339 they could be retrieved from the source directory. (Bug#9565)
7340
bfeef8b6
DK
73412011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7342
7343 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7344 (hs-find-block-beginning, hs-hide-level-recursive):
7345 Ignore strings as well as comments. (Bug#9502)
7346
7e423bb8
AS
73472011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7348
7349 * progmodes/sql.el (sql-comint-postgres):
7350 Convert port number to a string. (Bug#9566)
7351
b4d72fcf
MR
73522011-09-22 Martin Rudalics <rudalics@gmx.at>
7353
7354 * window.el (quit-window): Undedicate window when switching to
7355 previous buffer. Reported by Thierry Volpiatto
7356 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7357 (special-display-popup-frame): When popping up a new frame reset
7358 its previous buffers to nil. Simplify code.
b4d72fcf 7359
a7b88dc6
MA
73602011-09-21 Michael Albinus <michael.albinus@gmx.de>
7361
7362 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7363 and process filter, as done also in `shell-command'.
7364
cf4eacfd
MR
73652011-09-21 Martin Rudalics <rudalics@gmx.at>
7366
eca3f3ea 7367 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7368 Call set-window-start with NOFORCE argument t.
7369 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7370 (quit-window): Reword doc-string. Handle new format of
7371 quit-restore parameter. Don't delete window if it has a
7372 previous buffer we can show instead of the present one.
7373 (display-buffer-record-window): Rewrite using a new format for
7374 the quit-restore window parameter
7375 (special-display-popup-frame, display-buffer-same-window)
7376 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7377 (display-buffer-pop-up-window, display-buffer-use-some-window):
7378 Adapt symbol passed to display-buffer-record-window.
7379 * help.el (help-window-setup): Handle new format of quit-restore
7380 parameter.
7381
8d28cb95
SM
73822011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7383
94ab793f
SM
7384 * faces.el (face-list): Fix docstring (bug#9564).
7385
8d28cb95
SM
7386 * window.el (display-buffer--action-function-custom-type):
7387 Don't include internal functions in the Custom interface.
7388
3820edeb
JL
73892011-09-20 Juri Linkov <juri@jurta.org>
7390
7391 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7392 (Info-forward-node, Info-backward-node, Info-next-preorder)
7393 (Info-last-preorder): Use it. (Bug#9528)
7394
5147931d
JL
73952011-09-20 Juri Linkov <juri@jurta.org>
7396
7397 * info.el (Info-last-preorder): Visit last menu item only when
7398 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7399
cf499a1a
JD
74002011-09-20 Julien Danjou <julien@danjou.info>
7401
7402 * password-cache.el (password-cache-remove): Remove entries even if the
7403 value is nil, so that password with a nil value (negative caching) is
7404 possible to invalidate.
7405
f84e2fe2
LM
74062011-09-20 Lawrence Mitchell <wence@gmx.li>
7407
7408 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7409 all whitespace around breakpoint. (Bug#9553)
7410 (f90-find-breakpoint): Only break at whitespace inside a comment.
7411
78054a46
SM
74122011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * minibuffer.el (completion-file-name-table): Keep track of errors.
7415 (completion-table-with-predicate): Handle the case where pred1 is nil.
7416 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7417
345083b2
SM
74182011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7419
e24e27be
SM
7420 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7421 (debugger-return-value): Signal an error if the debugging context does
7422 not await any return value.
7423
345083b2
SM
7424 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7425 * image-mode.el (image-toggle-display-text)
7426 (image-toggle-display-image): Stay away from evil `intangible'.
7427
08d355e3
LL
74282011-09-19 Leo Liu <sdl.web@gmail.com>
7429
7430 * replace.el (occur-revert-arguments): Make it permanent-local.
7431 (occur-mode): Don't call font-lock-defontify.
7432
f01da43f
CY
74332011-09-19 Chong Yidong <cyd@stupidchicken.com>
7434
7435 * net/ldap.el (ldap-search-internal): Don't push empty search
7436 result (Bug#9508).
7437
b6072fa6
SM
74382011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7441
443d6696
MA
74422011-09-19 Michael Albinus <michael.albinus@gmx.de>
7443
7444 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7445 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7446
7cc6e154
JL
74472011-09-18 Juri Linkov <juri@jurta.org>
7448
7449 * buff-menu.el (Buffer-menu-mode-map):
7450 * dired.el (dired-mode-map):
7451 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7452 (lisp-interaction-mode-map):
7453 * emacs-lisp/package.el (package-menu-mode-map):
7454 * epa.el (epa-key-list-mode-map):
7455 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7456 (menu-bar-options-menu):
7457 * outline.el (outline-mode-menu-bar-map):
7458 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7459 * vc/vc-dir.el (vc-dir-menu-map):
7460 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7461 Capitalize non-function content words in menu item strings.
7462
7463 * dired.el (dired-mode-map): Add menu item for
7464 `image-dired-dired-toggle-marked-thumbs'.
7465
80302a81
JL
74662011-09-18 Juri Linkov <juri@jurta.org>
7467
7468 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7469 to `isearch-case-fold-search' and restore its original value
7470 after the `isearch-mode' call.
7471
46c5cf66
JL
74722011-09-18 Juri Linkov <juri@jurta.org>
7473
7474 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7475 because `zgrep' returns 1 for successful matches (bug#9226).
7476
d18b513b
JL
74772011-09-18 Juri Linkov <juri@jurta.org>
7478
7479 * info.el (Info-extract-menu-node-name): Check the second match
7480 for empty string (second test-case of bug#9528).
7481 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7482 intermediate nodes to the history (first test-case of bug#9528).
7483
72753f87
JL
74842011-09-18 Juri Linkov <juri@jurta.org>
7485
7486 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7487 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7488
c9384295
JL
74892011-09-18 Juri Linkov <juri@jurta.org>
7490
1154d12e
JB
7491 * info.el (Info-file-supports-index-cookies):
7492 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7493 outputs one more line for long file names (bug#4142).
c9384295 7494
d473dce8
CY
74952011-09-18 Chong Yidong <cyd@stupidchicken.com>
7496
7497 * newcomment.el (comment-normalize-vars): If prompting for
7498 comment-start, set comment-start-skip too (Bug#8424).
7499
2176854d
JB
75002011-09-18 Johan Bockgård <bojohan@gnu.org>
7501
7502 * icomplete.el: Fix previous fix of Bug#5849.
7503 (icomplete-mode): Don't set completion-show-inline-help.
7504 (icomplete-minibuffer-setup): Set completion-show-inline-help
7505 locally during icompletion.
7506
3aace4e4
CY
75072011-09-18 Chong Yidong <cyd@stupidchicken.com>
7508
c940224f
CY
7509 * woman.el (woman2-process-escapes): Don't delete unrecognized
7510 escapes (Bug#7843).
7511
3aace4e4
CY
7512 * files.el (inhibit-first-line-modes-regexps): Add image files.
7513 (hack-local-variables-prop-line): Return nil for malformed
7514 prop-lines (Bug#9044).
7515
710dec63
MA
75162011-09-18 Michael Albinus <michael.albinus@gmx.de>
7517
7518 * net/tramp.el (top): Don't require 'shell.
7519 (tramp-methods): Fix docstring.
7520 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7521 Return complete remote file name. Handle "smb" case.
7522 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7523 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7524
7525 * net/tramp-compat.el (top): Require 'shell.
7526
7527 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7528 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7529 `tramp-current-host'.
7530 (tramp-get-remote-tmpdir): Remove.
7531
7532 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7533 `tramp-tmpdir' entries.
7534 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7535 (tramp-smb-handle-file-attributes): Ignore errors.
7536 (tramp-smb-wait-for-output): Check also for process end.
7537
5d5ac8ec
LMI
75382011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7539
7540 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7541 when sending QUIT (bug#9312).
7542
8c0f49f0
CY
75432011-09-17 Chong Yidong <cyd@stupidchicken.com>
7544
7545 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7546 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7547 occur-mode-display-occurrence.
7548 (occur-edit-mode): Add usage message.
7549 (occur-cease-edit): New command.
7550 (occur-after-change-function): Use text properties to find the
7551 position of the prefix text.
7552 (occur-engine): Set stickiness of prefix text properties.
7553
8f1383f7
GM
75542011-09-17 Glenn Morris <rgm@gnu.org>
7555
7556 * progmodes/etags.el (complete-tag):
7557 Fix call to completion-in-region. (Bug#9526)
7558
744ba0e3
JL
75592011-09-17 Juri Linkov <juri@jurta.org>
7560
7561 * textmodes/ispell.el (ispell-word): Add to the error message
7562 the word, ispell program name and current dictionary (bug#9121).
7563 (ispell-tex-arg-end): Capitalize "error" in the error message.
7564
d9bbf400
AS
75652011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7566
7567 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7568 check. (Bug#4251)
7569
8da11505
JL
75702011-09-17 Juri Linkov <juri@jurta.org>
7571
7572 * window.el (window-safe-min-height, window-safe-min-width):
7573 Fix typos (followup to bug#9522).
7574
a91adc7e
SJ
75752011-09-17 Sven Joachim <svenjoac@gmx.de>
7576
7577 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7578
064f328a
EZ
75792011-09-16 Eli Zaretskii <eliz@gnu.org>
7580
7581 * simple.el (line-move): If goal-column is set, move by logical
7582 lines, not by display lines. (Bug#971)
7583 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7584 to reflect the above change.
7585
e69df516
SM
75862011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * image.el (imagemagick-register-types): Use regexp-opt.
7589
cbb0f9ab
CY
75902011-09-15 Chong Yidong <cyd@stupidchicken.com>
7591
7592 * window.el (display-buffer-base-action): Rename from
7593 display-buffer-default-action. Make default value empty.
7594 (display-buffer-overriding-action): Convert to defvar.
7595 (display-buffer-fallback-action): New var.
7596
25322144
CY
75972011-09-15 Chong Yidong <cyd@stupidchicken.com>
7598
7599 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7600 declaration.
7601 (package--add-to-archive-contents): If there is a duplicate entry
7602 with an older version, remove it.
7603 (package-menu-mark-delete, package-menu-mark-install)
7604 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7605 (package-menu-mark-obsolete-for-deletion):
7606 Use package-menu-get-status instead of a regexp search.
25322144
CY
7607 (package-menu-get-status): Use tabulated-list-entry.
7608 (package-menu-mark-upgrades): New command.
d770725a 7609 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7610 (package-menu-execute): Do installation before deletion.
7611 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7612 instead of checking major-mode.
7613 (package-menu--find-upgrades): New function.
7614
7520339c
LMI
76152011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7616
7617 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7618 passwords in the log buffer.
65a046c4
LMI
7619 (smtpmail-process-filter): Update the process marker so that the
7620 "broken by peer" status message is inserted in the right place.
7520339c 7621
d3c30954
SM
76222011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7623
3fe48822
SM
7624 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7625 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7626 bibtex-completion-at-point-function.
7627 (bibtex-completion-at-point-function): Use them.
7628
1b8b3954
SM
7629 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7630
d3c30954
SM
7631 * mpc.el (mpc-constraints-tag-lookup): New function.
7632 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7633 also to browser "album|playlist".
7634
72779976
JL
76352011-09-14 Juri Linkov <juri@jurta.org>
7636
7637 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7638 (isearch-edit-string): Use length of `isearch-string' when
7639 `isearch-fail-pos' returns nil.
7640 (isearch-message): Remove duplicate code and call
7641 `isearch-fail-pos' with arg `t'.
7642
a0bf2bcd
CY
76432011-09-14 Chong Yidong <cyd@stupidchicken.com>
7644
17bb0a2d
CY
7645 * replace.el (occur-mode-goto-occurrence): Don't force using other
7646 window (Bug#9499).
7647
a0bf2bcd
CY
7648 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7649
f678e0b6
MR
76502011-09-14 Martin Rudalics <rudalics@gmx.at>
7651
7652 * window.el (display-buffer-window): Remove.
7653 (display-buffer-record-window): Use help-setup window parameter
7654 instead of variable display-buffer-window.
7655 (display-buffer-function, special-display-buffer-names)
7656 (special-display-function): Mention help-setup parameter instead
7657 of display-buffer-window in doc-string.
d3c30954
SM
7658 * help.el (help-window-setup): New argument help-window.
7659 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7660 Reword some messages.
7661 (with-help-window): Pass window used for displaying the buffer
7662 to help-window-setup. Don't set display-buffer-window.
7663
8e39b2e8
GM
76642011-09-13 Glenn Morris <rgm@gnu.org>
7665
7666 * emacs-lisp/debug.el (debugger-make-xrefs):
7667 Preserve point. (Bug#9462)
7668
85e9c04b
CY
76692011-09-13 Chong Yidong <cyd@stupidchicken.com>
7670
7671 * window.el (window-deletable-p): Use next-frame.
7672
1b36ed6a
MR
76732011-09-13 Martin Rudalics <rudalics@gmx.at>
7674
7675 * window.el (window-auto-delete): Remove.
7676 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7677 dedication and previous buffers.
1b36ed6a
MR
7678 (switch-to-prev-buffer): Don't delete window.
7679 (delete-windows-on): Delete a window's frame if and only if the
7680 window is dedicated.
7681 (replace-buffer-in-windows): Delete buffer's window or frame if
7682 and only if window is dedicated.
7683 (quit-window): Handle quit-restore as before last change.
4d61f28d 7684 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7685
ef8ef9fb
CY
76862011-09-13 Chong Yidong <cyd@stupidchicken.com>
7687
7688 * window.el (window-deletable-p): Never delete the last frame on a
7689 given terminal.
7690
b2cba41e
GM
76912011-09-13 Glenn Morris <rgm@gnu.org>
7692
7693 * help.el (describe-key-briefly): Copy previous standard-output change.
7694
51553db6 76952011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7696
7697 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7698
b7556719
GM
76992011-09-13 Glenn Morris <rgm@gnu.org>
7700
7701 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7702 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7703
64b51947
CY
77042011-09-12 Chong Yidong <cyd@stupidchicken.com>
7705
7706 * dired-aux.el (dired-mark-read-string): Don't return default
7707 value on empty input (Bug#9361).
7708 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7709 Omit initial minibuffer contents.
7710 (dired-do-chmod): Signal an error on empty input.
7711 (dired-mark-read-string): Don't return default on empty input.
7712
7713 * files.el (file-modes-symbolic-to-number): Doc fix.
7714
393a301e
SM
77152011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7716
7717 * international/mule-cmds.el (ucs-completions): Remove.
7718 (read-char-by-name): Use complete-with-action instead; add metadata.
7719
fa5660f9
CY
77202011-09-11 Chong Yidong <cyd@stupidchicken.com>
7721
7722 * window.el (display-buffer--action-function-custom-type)
7723 (display-buffer--action-custom-type): New vars.
7724 (display-buffer-alist, display-buffer-default-action)
7725 (display-buffer-overriding-action): Add defcustom types.
7726
4a592f66
CY
7727 * frame.el (delete-other-frames): Doc fix (Bug#276).
7728
73d56dbd
LMI
77292011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7730
7731 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7732
37ac18a3
CY
77332011-09-11 Chong Yidong <cyd@stupidchicken.com>
7734
7735 Change modes that used same-window-* vars to use switch-to-buffer.
7736
7737 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7738 Use switch-to-buffer.
7739
7740 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7741 (customize-browse, custom-buffer-create-other-window):
7742 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7743
7744 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7745 (Info-prev, Info-up, Info-speedbar-goto-node)
7746 (info-display-manual): Use switch-to-buffer.
7747 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7748
7749 * mail/sendmail.el (mail): Use switch-to-buffer.
7750 (mail-recover): Use switch-to-buffer-other-window.
7751
7752 * cmuscheme.el (run-scheme, switch-to-scheme):
7753 * ielm.el (ielm):
7754 * shell.el (shell):
7755 * net/rlogin.el (rlogin):
7756 * net/telnet.el (telnet, rsh):
7757 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7758
10195bd6
AS
77592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7760
7761 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7762
b322f63a
LMI
77632011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7764
39d7fed6
LMI
7765 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7766 so don't mention it (bug#9301).
ba5a81f1 7767 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7768
ee0e9f11
LMI
7769 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7770 match `x', `w32' and `ns', like the manual says (bug#9029).
7771
0b1c89c1 7772 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7773 (process-kill-buffer-query-function): Mention the buffer name in
7774 the query.
0b1c89c1 7775
77549ea8
LMI
7776 * image-mode.el (image-next-line): The line parameter is mandatory
7777 (bug#9258).
7778
803ef892
LMI
7779 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7780 which can be useful (bug#9301).
7781
12980837
LMI
7782 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7783
91054f8f
LMI
7784 * subr.el (match-string): Mention that the current buffer should
7785 be the same as the search was done in (bug#9282).
7786
b322f63a
LMI
7787 * facemenu.el: Disable the remove-* commands if the mark isn't
7788 active (bug#9162).
7789
3199b96f
CY
77902011-09-10 Chong Yidong <cyd@stupidchicken.com>
7791
7792 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7793 of display-buffer.
7794 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7795
7796 * replace.el (occur-mode-goto-occurrence)
7797 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7798 and display-buffer.
7799
7800 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7801 display-buffer.
7802
7803 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7804 special-display and same-window variables.
7805 (mail-other-window): Use switch-to-buffer-other-window.
7806 (mail-other-frame): USe switch-to-buffer-other-frame.
7807
393a301e
SM
7808 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7809 Use display-buffer-other-frame.
3199b96f
CY
7810 (gdb-display-gdb-buffer): Use pop-to-buffer.
7811
7812 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7813
7814 * progmodes/python.el: Don't set same-window-buffer-names.
7815
7816 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7817
7818 * window.el (display-buffer-alist): Add *Python*.
7819
8319e0bf
CY
78202011-09-10 Chong Yidong <cyd@stupidchicken.com>
7821
7822 * window.el (display-buffer-alist): Add entry for buffers
7823 previously handled same-window-*.
7824 (display-buffer-alist, display-buffer-default-action)
7825 (display-buffer-overriding-action): Mark as risky.
7826 (display-buffer-alist): Document action function changes.
7827 (display-buffer--same-window-action)
7828 (display-buffer--other-frame-action): New variables.
7829 (switch-to-buffer, display-buffer-other-frame): Use them.
7830 (display-buffer): Rename reuse-frame entry to reusable-frames.
7831 (display-buffer-reuse-selected-window): Function deleted.
7832 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7833 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7834 (display-buffer-special): New function.
7835 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7836 display-buffer-reuse-or-pop-window. Split off special-display
7837 part into display-buffer-special.
7838 (display-buffer-use-some-window): Don't perform any special
7839 pop-up-frames handling.
7840 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7841 (display-buffer--maybe-same-window): Rename from
0d3ff375 7842 display-buffer-maybe-same-window.
8319e0bf 7843
919a69aa
CY
7844 * info.el: Don't set same-window-regexps.
7845 (info-setup): New function.
7846 (info-other-window, info): Call it.
7847
7848 * cus-edit.el: Don't set same-window-regexps.
7849 (customize-group): New argument.
7850 (customize-group-other-window): Use it.
7851 (customize-face, customize-face-other-window): Likewise.
7852 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7853
8319e0bf
CY
7854 * net/rlogin.el:
7855 * net/telnet.el:
7856 * progmodes/gud.el: Don't set same-window-regexps.
7857
7858 * cmuscheme.el:
7859 * ielm.el:
7860 * shell.el:
7861 * mail/sendmail.el:
7862 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7863
25173000
JL
78642011-09-10 Juri Linkov <juri@jurta.org>
7865
7866 * isearch.el (isearch-edit-string): Remove obsolete mention of
7867 `C-w' (`isearch-yank-word-or-char') from docstring.
7868 (isearch-query-replace): Fix typo in docstring (bug#9466).
7869
056e44ef
JL
78702011-09-10 Juri Linkov <juri@jurta.org>
7871
7872 * paren.el (show-paren-function): Don't show escaped parens.
7873 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7874
c3760c17
EZ
78752011-09-10 Eli Zaretskii <eliz@gnu.org>
7876
7877 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7878 (mm-default-file-encoding): Remove autoload forms, they are
7879 replaced with autoload cookies in mml.el and mm-encode.el.
7880 (mail-add-attachment): New command.
7881 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7882 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7883 the doc string.
7884 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7885
fece895e
RT
78862011-09-10 Reuben Thomas <rrt@sc3d.org>
7887
e69df516
SM
7888 * simple.el (count-words-region): Use buffer if there's no region
7889 (bug#9429).
fece895e 7890
5e68ce4a
JL
78912011-09-09 Juri Linkov <juri@jurta.org>
7892
7893 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7894 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7895 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7896
0a6b9622
AM
78972011-09-09 Alan Mackenzie <acm@muc.de>
7898
7899 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7900 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7901
14a29deb
EZ
79022011-09-09 Eli Zaretskii <eliz@gnu.org>
7903
7904 Fix for Savannah bug#9392.
7905 * simple.el (mail-encode-mml): New defvar.
7906
7907 * mail/rmail.el (mail-encode-mml): Add a defvar.
7908 (rmail-enable-mime-composing): Default to t.
7909 (rmail-forward): Use MIME method of forwarding only if both
7910 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7911 Set mail-encode-mml non-nil if the MIME method was used.
7912
7913 * mail/sendmail.el (mml-to-mime): Add autoload form.
7914 (mail-encode-mml): Add a defvar.
7915 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7916 to nil.
7917 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7918 message through mml-to-mime, and reset mail-encode-mml to nil.
7919
28c45130
GM
79202011-09-09 Glenn Morris <rgm@gnu.org>
7921
7922 * woman.el (woman-if-body): When processing an .el block,
7923 do not delete the next .el block as well. (Bug#9447)
69f4b618 7924 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7925
9b1c252e
MR
79262011-09-08 Martin Rudalics <rudalics@gmx.at>
7927
7928 * window.el (window-deletable-p): Make sure window is live before
7929 invoking window-prev-buffers.
7930
567457e3
LL
79312011-09-08 Leo Liu <sdl.web@gmail.com>
7932
7933 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7934
97f05794
JL
79352011-09-08 Juri Linkov <juri@jurta.org>
7936
7937 * progmodes/compile.el (compilation-environment): Make it
7938 a defcustom (bug#8340).
7939
8b0874b5
MR
79402011-09-08 Martin Rudalics <rudalics@gmx.at>
7941
7942 * window.el (frame-auto-delete): Rename to window-auto-delete.
7943 Make it control auto-deletion of windows and/or frames.
7944 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7945 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7946 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7947 Rewrite handling of case when window/frame can be deleted.
7948 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7949 argument t. (Bug#9456)
8b0874b5 7950
4feb6e73
CY
79512011-09-07 Chong Yidong <cyd@stupidchicken.com>
7952
7953 * help-mode.el (help-mode): Restore autoload.
7954
91ab9c13
JL
79552011-09-07 Juri Linkov <juri@jurta.org>
7956
7957 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7958 `compilation-environment'. Set buffer-local
7959 `compilation-environment' to `thisenv' later after (funcall mode).
7960 (Bug#8340)
7961
7962 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7963 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7964 instead of replacing its value. (Bug#8340)
7965
0527e251
JL
79662011-09-07 Juri Linkov <juri@jurta.org>
7967
7968 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7969 based on text properties put by `grep-filter' instead of matching
7970 escape sequences.
7971 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7972 to the value of `grep-error-screen-columns' (bug#9438).
7973
249f792c
JL
79742011-09-07 Juri Linkov <juri@jurta.org>
7975
7976 * simple.el (next-error-highlight, next-error-highlight-no-select):
7977 Doc fix (bug#9432).
7978
ff7271b9
OT
79792011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7980
7981 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7982 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7983
183fc730
LL
79842011-09-07 Leo Liu <sdl.web@gmail.com>
7985
7986 * net/rcirc.el (rcirc-mode): Conditionally initialize
7987 rcirc-input-ring.
7988
77694924
SM
79892011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * emacs-lisp/find-func.el (find-function-C-source): Only set
7992 find-function-C-source-directory after checking that we found a source
7993 file there (bug#9440).
7994
d809b8eb
AM
79952011-09-06 Alan Mackenzie <acm@muc.de>
7996
7997 * isearch.el (isearch-other-meta-char): Wherever a key list is
7998 unread, "unread" the prefix arg, too. This fixes bug #8901.
7999
453de99f
OG
80002011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8001
8002 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8003
90439906
JL
80042011-09-05 Juri Linkov <juri@jurta.org>
8005
8006 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8007
f62bd846
JL
80082011-09-05 Juri Linkov <juri@jurta.org>
8009
8010 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8011 keeping point where processing of grep matches begins, and
8012 continue to delete remaining escape sequences from the same point.
8013 (grep-filter): Make leading zero optional in "0?1;31m" because
8014 git-grep emits "\033[1;31m" escape sequences unlike expected
8015 "\033[01;31m" as GNU Grep does (bug#9408).
8016 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8017
045820ec
JL
80182011-09-05 Juri Linkov <juri@jurta.org>
8019
8020 * subr.el (y-or-n-p): Capitalize "yes".
8021
f5e29b9b
MA
80222011-09-04 Michael Albinus <michael.albinus@gmx.de>
8023
8024 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8025 `tramp-cache-unload-hook' where appropriate.
8026 (tramp-methods): Rename `tramp-remote-sh' to
8027 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8028 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8029
8030 * net/tramp-sh.el (top): Don't require 'shell.
8031 (tramp-methods): Add `tramp-remote-shell' and
8032 `tramp-remote-shell-args' entries.
8033 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8034 (tramp-sh-handle-shell-command): Remove.
8035 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8036 Use `tramp-remote-shell'.
8037
2784c434
CY
80382011-09-03 Chong Yidong <cyd@stupidchicken.com>
8039
393a301e 8040 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8041 (sendmail-query-once): Save directly to send-mail-function.
8042 Update message-send-mail-function too.
8043
8044 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8045
464cdf56
CS
80462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8047
8048 * progmodes/python.el (python-mode-map): Use correct function to
8049 start python interpreter from menu-bar (as reported by Geert
8050 Kloosterman).
8051 (inferior-python-mode-map): Fix typo.
393a301e 8052 (python-shell-map): Remove.
464cdf56 8053
d37e5c87
DD
80542011-09-03 Deniz Dogan <deniz@dogan.se>
8055
8056 * net/rcirc.el (rcirc-print): Simplify code for
8057 rcirc-scroll-show-maximum-output. There is no need to walk
8058 through all windows to find the right one.
8059
f3ada0ee
CS
80602011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8061
8062 * help.el (help-return-method): Doc fix.
8063
1f3c99ca
MR
80642011-09-03 Martin Rudalics <rudalics@gmx.at>
8065
8066 * window.el (window-deletable-p): Don't return a non-nil value
8067 when there's a buffer that was shown in the window before.
8068 (Bug#9419)
393a301e
SM
8069 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8070 Set window's previous buffers to nil.
1f3c99ca 8071
a3cf097f
EZ
80722011-09-03 Eli Zaretskii <eliz@gnu.org>
8073
8074 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8075 newline before and after the tag line, so it doesn't interfere
8076 with determining the paragraph direction of bidirectional text.
8077
3d03de90
LL
80782011-09-03 Leo Liu <sdl.web@gmail.com>
8079
8080 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8081
c3313451
CY
80822011-09-02 Chong Yidong <cyd@stupidchicken.com>
8083
393a301e 8084 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8085 (pop-to-buffer): Change interactive spec. Pass second argument
8086 directly to display-buffer.
8087 (display-buffer): Fix interactive spec. Use functionp to
8088 distinguish between a function and a list of functions.
8089
8090 * abbrev.el (edit-abbrevs):
8091 * arc-mode.el (archive-extract):
8092 * autoinsert.el (auto-insert):
8093 * bookmark.el (bookmark-bmenu-list):
8094 * files.el (find-file):
8095 * view.el (view-buffer):
8096 * progmodes/compile.el (compilation-goto-locus):
8097 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8098
89894cd8
CY
80992011-09-02 Chong Yidong <cyd@stupidchicken.com>
8100
8101 * window.el (display-buffer-alist): Doc fix.
8102 (display-buffer): Add docstring. Don't treat
8103 display-buffer-default specially.
8104 (display-buffer-reuse-selected-window)
8105 (display-buffer-same-window, display-buffer-maybe-same-window)
8106 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8107 (display-buffer-pop-up-window)
8108 (display-buffer-reuse-or-pop-window)
8109 (display-buffer-use-some-window): New functions.
8110 (display-buffer-default-action): Use them.
393a301e 8111 (display-buffer-default): Delete.
89894cd8
CY
8112 (pop-to-buffer-1): Fix choice of actions.
8113
ae0bc9fb
SM
81142011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * minibuffer.el (completion--insert-strings): Don't get confused by
8117 completion entries that end with an LF char.
8118
e9d90883
EZ
81192011-09-01 Eli Zaretskii <eliz@gnu.org>
8120
8121 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8122
437014c8
CY
81232011-09-01 Chong Yidong <cyd@stupidchicken.com>
8124
8125 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8126 (display-buffer-same-window, display-buffer-other-window):
8127 New functions.
437014c8
CY
8128 (pop-to-buffer-1): New function. Use the above.
8129 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8130 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8131
8132 * view.el (view-buffer-other-window, view-buffer-other-frame):
8133 Just use pop-to-buffer.
8134
a5e063d5
TV
81352011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8136
8137 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8138
793d32bb
WH
81392011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8140
8141 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8142
d65e4c15
RS
81432011-08-31 Richard Stallman <rms@gnu.org>
8144
8145 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8146 of the separation of rmail-view-buffer from rmail-buffer.
8147 If you say no to "replace original", the decrypt is in the
8148 view buffer. If you say yes, the decrypt goes into the
8149 rmail buffer also.
8150
f818cd2a
MR
81512011-08-31 Martin Rudalics <rudalics@gmx.at>
8152
8153 * window.el (display-buffer-window): Rewrite doc-string.
8154 (display-buffer-record-window): New function.
8155 (display-buffer-macro-specifiers)
8156 (display-buffer-even-window-sizes, display-buffer-set-height)
8157 (display-buffer-set-width, display-buffer-in-window)
8158 (display-buffer-reuse-window, display-buffer-split-specifiers)
8159 (display-buffer-side-specifiers, display-buffer-split-window-1)
8160 (display-buffer-split-window, display-buffer-split-atom-window)
8161 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8162 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8163 (display-buffer-other-window-means-other-frame)
8164 (display-buffer-normalize-special)
8165 (display-buffer-normalize-default)
8166 (display-buffer-normalize-argument)
8167 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8168 (display-buffer-normalize-specifiers, display-buffer-frame)
8169 (display-buffer-same-window, display-buffer-same-frame)
8170 (display-buffer-other-window)
8171 (display-buffer-same-frame-other-window)
8172 (display-buffer-other-frame, pop-to-buffer-same-window)
8173 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8174 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8175 (switch-to-buffer-same-frame)
8176 (switch-to-buffer-other-window-same-frame)
8177 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8178 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8179 (display-buffer-alist-set): Remove.
8180 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8181 (special-display-regexps, special-display-function):
8182 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8183 parameter.
8184 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8185 (special-display-frame-alist, special-display-popup-frame)
8186 (same-window-buffer-names, same-window-regexps, same-window-p)
8187 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8188 (split-window-preferred-function, split-height-threshold)
8189 (split-width-threshold, window-splittable-p)
8190 (split-window-sensibly, window--try-to-split-window)
8191 (window--frame-usable-p, even-window-heights)
8192 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8193 (window--display-buffer-2, display-buffer-other-frame):
8194 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8195 (display-buffer-default, display-buffer-assq-regexp): New functions.
8196 (display-buffer-alist): Rewrite doc-string.
8197 (display-buffer-default-action)
8198 (display-buffer-overriding-action): New variables.
8199 (display-buffer, switch-to-buffer): Rewrite.
8200 (pop-to-buffer): Restore Emacs 23 behavior but use
8201 window-normalize-buffer-to-display.
8202 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8203 Restore Emacs 23 behavior but use
8204 window-normalize-buffer-to-switch-to.
8205 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8206 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8207 Rewrite using Emacs 23 options.
f818cd2a 8208
5bc3b51d
MA
82092011-08-31 Michael Albinus <michael.albinus@gmx.de>
8210
8211 * net/tramp.el (tramp-root-regexp): Remove.
8212 (tramp-completion-file-name-regexp-unified)
8213 (tramp-completion-file-name-regexp-separate)
8214 (tramp-completion-file-name-regexp-url): Don't use leading volume
8215 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8216 (tramp-drop-volume-letter): Simplify definition.
8217 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8218
b1a4f8e1
SM
82192011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8222 (bug#9356).
8223
5664fa7b
RT
82242011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8225
b1a4f8e1 8226 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8227
9a45d6c3
JL
82282011-08-29 Juri Linkov <juri@jurta.org>
8229
8230 * isearch.el (isearch-done): Don't display message "Mark saved"
8231 when arg `edit' is non-nil to prevent its flicker in the echo area.
8232
fb87e0fb
CY
82332011-08-28 Chong Yidong <cyd@stupidchicken.com>
8234
8235 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8236 obsolete packages for deletion.
8237
09ac1c2a
CS
82382011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8239
8240 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8241 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8242 view-mode from help-mode.
8243 (help-xref-override-view-map): Remove.
8244 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8245 view-mode is not used anymore.
8246
7a1ff57f
CY
82472011-08-28 Chong Yidong <cyd@stupidchicken.com>
8248
8249 * server.el (server-port): Doc fix.
8250
b9696605
CY
8251 * cus-theme.el (custom-theme-choose-mode): Inherit from
8252 special-mode (Bug#9124).
8253 (custom-theme-choose-mode-map): Add special-mode to parent.
8254
ef8cdf8c
AM
82552011-08-28 Alan Mackenzie <acm@muc.de>
8256
8257 * progmodes/cc-fonts.el
8258 (c-make-font-lock-BO-decl-search-function): New function.
8259 (c-basic-matchers-after - "Fontify the clauses after various
8260 keywords"): Extract the three keyword lists for the 3 erroneous
8261 constructs from the list of four, and use the new function above
8262 in place of an old one.
8263
27de4e20
DD
82642011-08-28 Deniz Dogan <deniz@dogan.se>
8265
8266 * net/rcirc.el (rcirc-insert-prev-input)
8267 (rcirc-insert-next-input): Remove unused argument.
8268
356a3681
SM
82692011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8272
3fc9b218
AM
82732011-08-27 Alan Mackenzie <acm@muc.de>
8274
8275 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8276 handle function pointer parameters properly.
8277
538a061c
MR
82782011-08-27 Martin Rudalics <rudalics@gmx.at>
8279
8280 * window.el (display-buffer-reuse-window): Fix case where
8281 selected window was reused with non-nil OTHER-WINDOW argument.
8282 (Bug#9381)
8283
35b1c40c
DD
82842011-08-27 Deniz Dogan <deniz@dogan.se>
8285
8286 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8287 oftc's NickServ messages.
8288
2f6a3e79
GM
82892011-08-27 Glenn Morris <rgm@gnu.org>
8290
8291 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8292
7254299e
CY
82932011-08-26 Chong Yidong <cyd@stupidchicken.com>
8294
8295 * emacs-lisp/package.el (package-install): Call package-initialize
8296 if called interactively.
8297
f8ccf167
LL
82982011-08-26 Leo Liu <sdl.web@gmail.com>
8299
8300 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8301
3e8cd5ce
JL
83022011-08-25 Juri Linkov <juri@jurta.org>
8303
8304 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8305 `search-whitespace-regexp' (bug#9364).
8306
93eb7113
JL
83072011-08-25 Juri Linkov <juri@jurta.org>
8308
8309 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8310 `regexp-search-ring' to their global values to protect from
8311 updating by `read-from-minibuffer' (bug#9185).
8312
f65d1611
JL
83132011-08-25 Juri Linkov <juri@jurta.org>
8314
8315 * textmodes/ispell.el (ispell-command-loop): Add newline
8316 at the end of the "Use option `i'..." line.
8317
f1cf7a31
JL
83182011-08-25 Juri Linkov <juri@jurta.org>
8319
8320 * battery.el (display-battery-mode): If `battery-status-function'
8321 or `battery-mode-line-format' is nil, display the message and set
8322 `display-battery-mode' to nil (bug#9363).
8323
0c95fcf7
EZ
83242011-08-25 Eli Zaretskii <eliz@gnu.org>
8325
8326 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8327 bidi-string-mark-left-to-right; they are unnecessary now.
8328
a2ebe600
DD
83292011-08-25 Deniz Dogan <deniz@dogan.se>
8330
8331 * net/quickurl.el: Documentation typo fixes.
8332
e4ed06f1
CY
83332011-08-25 Chong Yidong <cyd@stupidchicken.com>
8334
8335 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8336
e5f1c99e
GM
83372011-08-25 Glenn Morris <rgm@gnu.org>
8338
b2948976
GM
8339 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8340
e5f1c99e
GM
8341 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8342 (smtpmail-via-smtp): Handle nil response from smtp.
8343
f22f4808
JL
83442011-08-24 Juri Linkov <juri@jurta.org>
8345
8346 * proced.el (proced-marked): Inherit from `error' instead of
8347 `font-lock-warning-face'.
8348
8349 * ibuffer.el (ibuffer-marked-face): Change default face from
8350 `font-lock-warning-face' to `warning'.
8351 (ibuffer-deletion-face): Change default face from
8352 `font-lock-type-face' to `error'.
8353
8354 * battery.el (battery-update): Use the face `error' instead of
8355 `font-lock-warning-face' (bug#6117).
8356
6a93965e
JL
83572011-08-24 Juri Linkov <juri@jurta.org>
8358
8359 * faces.el (success): Change face color from "Green3" to
8360 "ForestGreen" on light background (bug#9353).
8361
1ed43b09
CY
83622011-08-24 Chong Yidong <cyd@stupidchicken.com>
8363
5664fa7b
RT
8364 * window.el (quit-window): Rename from quit-restore-window.
8365 Use same arglist as old quit-window.
1ed43b09
CY
8366 (frame-auto-delete): Doc fix.
8367
8368 * view.el (view-mode-exit): Use quit-window.
8369
11dcdbb2
JL
83702011-08-24 Juri Linkov <juri@jurta.org>
8371
8372 * isearch.el (isearch-ring-adjust1): Start visiting previous
8373 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8374 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8375 for empty search string (when the last search string is reused
8376 automatically) to adjust the isearch ring to the last element and
8377 prepare the correct index for further M-p commands (bug#9185).
8378
de62b4df
KH
83792011-08-24 Kenichi Handa <handa@m17n.org>
8380
8381 * international/ucs-normalize.el: If decomposition property of
8382 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8383 nil.
8384 (nfd, nfkd): Likewise.
8385
963b492b
SM
83862011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8389 from process filters aren't reliably transmitted to the surrounding
8390 accept-process-output.
8391 (mpc-proc-check): New function.
8392 (mpc-proc-sync): Use it (bug#8293)
8393
93b6b5e1
SM
83942011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8397 Add compatibility functions (bug#9313).
8398
bca633fb
EZ
83992011-08-23 Eli Zaretskii <eliz@gnu.org>
8400
b177498a
EZ
8401 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8402
6df6ae42 8403 * international/uni-bidi.el: Regenerate.
bca633fb 8404
0902a04e
KH
84052011-08-23 Kenichi Handa <handa@m17n.org>
8406
8407 * international/charprop.el:
8408 * international/uni-bidi.el:
8409 * international/uni-category.el:
8410 * international/uni-combining.el:
8411 * international/uni-comment.el:
8412 * international/uni-decimal.el:
8413 * international/uni-decomposition.el:
8414 * international/uni-digit.el:
8415 * international/uni-lowercase.el:
8416 * international/uni-mirrored.el:
8417 * international/uni-name.el:
8418 * international/uni-numeric.el:
8419 * international/uni-old-name.el:
8420 * international/uni-titlecase.el:
8421 * international/uni-uppercase.el: Regenerate.
8422
3bbf23bc
MR
84232011-08-23 Martin Rudalics <rudalics@gmx.at>
8424
8425 * help.el (help-window-setup): Fix message displayed when other
8426 window is reused. (Bug#9341)
8427
b3fd59bd
SM
84282011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8429
1802e444
SM
8430 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8431 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8432
b3fd59bd
SM
8433 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8434 Mark obsolete.
8435 * shell.el (shell-parse-pcomplete-arguments): New function.
8436 (shell-completion-vars): Use it instead (bug#9160).
8437
4eb61348
SM
84382011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8439
867cab74
SM
8440 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8441 strings and comments (bug#9333).
8442
4eb61348
SM
8443 * emacs-lisp/debug.el (debug-arglist): New function.
8444 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8445 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8446
262a1439
JL
84472011-08-22 Juri Linkov <juri@jurta.org>
8448
56ee679c
JL
8449 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8450 Revert regexp that highlights output switches to its old
8451 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8452
262a1439
JL
8453 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8454 to check for empty output (bug#9226).
8455
f13f86fb
CY
84562011-08-22 Chong Yidong <cyd@stupidchicken.com>
8457
8458 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8459 symbol-constituent as the default, as that stops font-lock from
8460 working properly (Bug#8843).
8461
c65c9622
LMI
84622011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8463
8464 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8465 `coding-system-for-*' around the process open call to avoid
8466 auth-source side effects.
e7f2c178 8467 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8468 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8469 probe hangs.
c65c9622 8470
23a8a5ab
CY
84712011-08-21 Chong Yidong <cyd@stupidchicken.com>
8472
ff98b2dd
CY
8473 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8474
23a8a5ab
CY
8475 * emacs-lisp/find-func.el (find-function-noselect): New arg
8476 lisp-only.
8477
8478 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8479 signal an error for built-in functions (Bug#6664).
8480
f5e3c598
LMI
84812011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8482
8483 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8484 (smtpmail-try-auth-methods): Use it.
8485
a3f2468a
CY
84862011-08-21 Chong Yidong <cyd@stupidchicken.com>
8487
2c34e8da
CY
8488 * font-lock.el (font-lock-fontify-region)
8489 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8490 (font-lock-default-unfontify-buffer)
8491 (font-lock-default-fontify-region)
8492 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8493
b3fd59bd
SM
8494 * progmodes/compile.el (compilation-error-properties):
8495 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8496 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8497 `ant' regexp.
ee31aabc 8498
a3f2468a
CY
8499 * net/browse-url.el (browse-url-firefox): Don't call
8500 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8501
8e999f70
GM
85022011-08-20 Glenn Morris <rgm@gnu.org>
8503
c21a496a
GM
8504 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8505
59ee0542
GM
8506 * tutorial.el (tutorial--default-keys): Update some default bindings.
8507
8e999f70
GM
8508 * files.el (hack-local-variables): Fully ignore case for "mode:".
8509
e3715033
AM
85102011-08-20 Alan Mackenzie <acm@muc.de>
8511
8512 Resolve invalid use of a regexp in regexp-opt.
8513
4d61f28d
JB
8514 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8515 detection for a java annotation.
e3715033 8516
4d61f28d 8517 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8518 detection for a java annotation.
8519
4d61f28d
JB
8520 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8521 handling for java.
e3715033
AM
8522 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8523
04ed2e9c
CY
85242011-08-20 Chong Yidong <cyd@stupidchicken.com>
8525
8526 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8527 (Bug#9274).
8528
826cee64
AM
85292011-08-20 Alan Mackenzie <acm@muc.de>
8530
58179cce 8531 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8532 such a construct. Mainly for when jit-lock etc. starts a chunk
8533 here.
8534
58179cce 8535 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8536 variable.
58179cce 8537 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8538 c-make-font-lock-search-function.
8539 (c-make-font-lock-search-function): Use the above function.
8540 (c-make-font-lock-context-search-function): New function.
8541 (c-cpp-matchers): Enhance the preprocessor expression case with
8542 the above function
8543 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8544 which takes an expression.
8545
8546 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8547
13009bd8
MR
85482011-08-20 Martin Rudalics <rudalics@gmx.at>
8549
8550 * window.el (display-buffer-reuse-window)
8551 (display-buffer-pop-up-window): Don't reuse or split a side
8552 window.
8553
9234ff7f
GM
85542011-08-19 Glenn Morris <rgm@gnu.org>
8555
8556 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8557 Downcase "Mode:". (Bug#9331)
9234ff7f 8558
f635daa1
CY
85592011-08-18 Chong Yidong <cyd@stupidchicken.com>
8560
8561 * international/characters.el: Add L and R categories.
8562
8563 * subr.el (bidi-string-mark-left-to-right): Rename from
8564 string-mark-left-to-right. Use category search.
8565
8566 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8567
bc987f8b
JL
85682011-08-18 Juri Linkov <juri@jurta.org>
8569
8570 * faces.el (error, warning, success): New faces with definitions
8571 copied from old default values of `font-lock-warning-face',
8572 `compilation-warning', `compilation-info' (bug#6117).
8573
8574 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8575
8576 * progmodes/compile.el (compilation-error): Inherit from `error'.
8577 (compilation-warning): Inherit from `warning'.
8578 (compilation-info): Inherit from `success'.
8579
8580 * dired.el (dired-marked): Inherit from `warning'.
8581 (dired-flagged): Inherit from `error'.
8582
57173b96
LMI
85832011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8584
3e79eb87
LMI
8585 * mail/smtpmail.el (auth-source): Require to avoid problems with
8586 binding variables (bug#9298). Also clean up some unused
8587 autoloads.
8588
b3fd59bd
SM
8589 * net/network-stream.el (network-stream-open-starttls):
8590 Support using starttls.el without using gnutls-cli.
57173b96 8591
02b404de
JL
85922011-08-17 Juri Linkov <juri@jurta.org>
8593
8594 * progmodes/grep.el (rgrep): Handle the case when
8595 `grep-find-command' is a cons cell (bug#9278).
8596
8c9177f2
MR
85972011-08-17 Martin Rudalics <rudalics@gmx.at>
8598
8599 * window.el (display-buffer-pop-up-frame): Run frame creation
8600 function with BUFFER current (as special-display-popup-frame
8601 does). Reported by Drew Adams.
8602
3644a0ab
DU
86032011-08-17 Daiki Ueno <ueno@unixuser.org>
8604
8605 * epa-mail.el: Simplify GnuPG group expansion using
8606 epg-expand-group.
8607 (epa-mail-group-alist, epa-mail-group-modtime)
8608 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8609 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8610 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8611 Remove.
8612
5e617bc2 86132011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8614
8615 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8616
9c4aeabf
AM
86172011-08-16 Alan Mackenzie <acm@muc.de>
8618
8619 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8620 Correct, to avoid the inside of macros.
8621
3a99bf64
RS
86222011-08-16 Richard Stallman <rms@gnu.org>
8623
04963aa8
RS
8624 * epa-mail.el: Handle GnuPG group definitions.
8625 (epa-mail-group-alist, epa-mail-group-modtime)
8626 (epa-mail-gnupg-conf-file): New variables.
8627 (epa-mail-parse-groups, epa-mail-sync-groups)
8628 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8629 (epa-mail-expand-recipients): New functions.
8630 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8631
177549d0
RS
8632 * mail/rmail.el (rmail-epa-decrypt): New command.
8633
fe38beef
RS
8634 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8635 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8636 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8637 (epa-decrypt-armor-in-region): Make error message clearer.
8638
934eacb9
SM
86392011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8642 and "a2b" to "ab" for `prefix'.
8643
d024fb4e
CY
86442011-08-14 Chong Yidong <cyd@stupidchicken.com>
8645
8646 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8647 filter groups.
de148fee
CY
8648 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8649 Fourquet (Bug#8804).
d024fb4e 8650
62f1ca49
JB
86512011-08-12 Juanma Barranquero <lekktu@gmail.com>
8652
8653 * startup.el (argi): Declare as global variable (bug#9275).
8654
9ccaaa4b
CY
86552011-08-12 Chong Yidong <cyd@stupidchicken.com>
8656
8657 * subr.el (string-mark-left-to-right): Search the entire string
8658 for RTL script, not just the terminating character. Doc fix.
8659
a3dae87a
SM
86602011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8661
6cd18349
SM
8662 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8663 New function.
8664 (js--regexp-literal, js-syntax-propertize-function): Remove.
8665 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8666 (js-mode-map): Don't rebind electric keys.
8667 (js-insert-and-indent): Remove.
8668 (js-mode): Setup electric-layout and electric-indent instead.
8669
a3dae87a
SM
8670 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8671
9d5cb631
DU
86722011-08-12 Daiki Ueno <ueno@unixuser.org>
8673
8674 * epa.el (epa-progress-callback-function): Fix the logic of
8675 displaying progress.
8676 * epa-file.el (epa-file-insert-file-contents): Make progress
8677 display more user-friendly.
8678 (epa-file-write-region): Ditto.
8679
3e26a4a2
CY
86802011-08-10 Chong Yidong <cyd@stupidchicken.com>
8681
8682 * subr.el (string-mark-left-to-right): New function.
8683
8684 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8685 Use string-mark-left-to-right.
8686 (list-buffers-noselect): Caller changed.
8687
a3dae87a
SM
8688 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8689 Use string-mark-left-to-right.
3e26a4a2
CY
8690 (tabulated-list-print): Recenter after moving point.
8691
ac8cf6e6
JL
86922011-08-10 Juri Linkov <juri@jurta.org>
8693
8694 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8695 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8696 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8697
8d96c9a4
CY
86982011-08-09 Chong Yidong <cyd@stupidchicken.com>
8699
8700 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8701 (Bug#7554).
8702
7be1c708 87032011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8704
8705 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8706 character. (Bug#6594)
8707
37e11a63
CY
87082011-08-08 Chong Yidong <cyd@stupidchicken.com>
8709
839dde57
CY
8710 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8711 (image-dired--with-db-file): New macro.
8712 (image-dired-write-tags, image-dired-remove-tag)
8713 (image-dired-create-gallery-lists, image-dired-write-comments)
8714 (image-dired-get-comment, image-dired-mark-tagged-files)
8715 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8716 (image-dired-gallery-generate): Use insert-file-contents.
8717
37e11a63
CY
8718 * time.el (display-time-world-list, display-time-world-display):
8719 * time-stamp.el (time-stamp-string):
8720 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8721 set-time-zone-rule (Bug#7337).
8722
0b4946c4
DU
87232011-08-08 Daiki Ueno <ueno@unixuser.org>
8724
8725 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8726 (epg-error-to-string, epg-errors-to-string): New function.
8727 (epg-wait-for-completion): Reverse errors list.
8728 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8729 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8730 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8731 (epg-sign-keys, epg-generate-key-from-file)
8732 (epg-generate-key-from-string): Format errors by using
8733 epg-errors-to-string (bug#9255).
8734 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8735
75bfc667
JL
87362011-08-07 Juri Linkov <juri@jurta.org>
8737
8738 * faces.el (list-faces-display): Remove extra angle bracket
8739 from `help-mode-map'.
8740
8741 * info.el (Info-history-toc-nodes): Doc fix.
8742
8743 * longlines.el (longlines-mode): Doc fix.
8744
673e08bb
SM
87452011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8746
4640dd88
SM
8747 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8748 of statements and in a few more cases (bug#9183).
8749
673e08bb
SM
8750 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8751 New functions.
8752 (cl-transform-lambda): Use them (bug#9239).
8753
89b3f019
MR
87542011-08-05 Martin Rudalics <rudalics@gmx.at>
8755
8756 * window.el (display-buffer-same-window)
8757 (display-buffer-same-frame, display-buffer-other-window)
8758 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8759 (pop-to-buffer-other-window)
8760 (pop-to-buffer-same-frame-other-window)
8761 (pop-to-buffer-other-frame): Make them defuns.
8762 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8763
640c8776
SM
87642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * subr.el (make-composed-keymap): Move from C. Change calling
8767 convention, and improve docstring to bring attention to a subtle point.
8768 * minibuffer.el (completing-read-default): Adjust accordingly.
8769
63648a95
MA
87702011-08-03 Michael Albinus <michael.albinus@gmx.de>
8771
8772 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8773 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8774
8775 * net/trampver.el: Update release number.
8776
b796c9b7
SM
87772011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8780 "in" (bug#9190).
8781
2239d7d5
LMI
87822011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8783
e07dd7c3
LMI
8784 * mail/sendmail.el (sendmail-query-once): Restore the current
8785 buffer after querying (bug#9074).
8786
0e6a2bd7
LMI
8787 * dired.el (dired-flagged): Use different faces for marked and
8788 flagged files (bug#6117).
8789
ce887515
LMI
8790 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8791 (bug#4433).
8792
92f2affc
LMI
8793 * ido.el (ido-mode): Switch off the message if called
8794 non-interactively.
8795
57d5aff0
LMI
8796 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8797 before 587, since it appears that that's more likely to work for
8798 more people.
8799
98cd6c18 8800 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8801 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8802 exist.
8803
b96dec83
LMI
8804 * info.el: Remove the `Info-beginning-of-buffer' function
8805 (bug#8325).
8806
b796c9b7
SM
8807 * net/network-stream.el (network-stream-open-starttls):
8808 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8809
d90e2ea0
MR
88102011-08-01 Martin Rudalics <rudalics@gmx.at>
8811
8812 * window.el (display-buffer-in-window): Don't set dedicated status
8813 of window here (Bug#9215).
8814 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8815 (display-buffer-pop-up-side-window)
b796c9b7 8816 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8817
cca09170
SM
88182011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8819
8820 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8821 before binding generated-autoload-file.
8822
027b979c
DD
88232011-08-01 Deniz Dogan <deniz@dogan.se>
8824
8825 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8826
3c7ee4f3
MA
88272011-07-30 Michael Albinus <michael.albinus@gmx.de>
8828
8829 Sync with Tramp 2.2.2.
8830
8831 * net/trampver.el: Update release number.
8832
2cc8e51a
JL
88332011-07-30 Juri Linkov <juri@jurta.org>
8834
8835 * dired-aux.el (dired-touch-initial): Remove function.
8836 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8837 current time, and `default' to the last modification time of the
8838 current marked file (bug#6887).
8839
a514d856
JM
88402011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8841
8842 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8843 numeric argument to read-number (bug#9163).
a514d856 8844
8a7eddd7
MA
88452011-07-27 Michael Albinus <michael.albinus@gmx.de>
8846
8847 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8848 connection process, it could be nil.
8849
1ddd96f5
LL
88502011-07-27 Leo Liu <sdl.web@gmail.com>
8851
8852 Simplify url handling in rcirc-mode.
8853
8854 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8855 (rcirc-browse-url-at-mouse): Remove.
8856 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8857
b248a85d
AM
88582011-07-26 Alan Mackenzie <acm@muc.de>
8859
8860 Fontify bitfield declarations properly.
8861
8862 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8863 (c-symbol-chars): Now exported as a lang variable.
8864 (c-not-primitive-type-keywords): New lang variable.
8865
8866 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8867 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8868 parsed as a bitfield declaration.
b248a85d 8869
b796c9b7
SM
8870 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8871 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8872 (c-punctuation-in): New function.
8873 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8874 declarations properly.
8875
68575ab0
UJ
88762011-07-26 Ulf Jasper <ulf.jasper@web.de>
8877
8878 * calendar/icalendar.el (icalendar--all-events): Take care of
8879 multiple vcalendars in a single file.
b796c9b7 8880 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8881
0f0a88b9
DD
88822011-07-25 Deniz Dogan <deniz@dogan.se>
8883
8884 * image.el (insert-image): Clarifying docstring.
8885
0b3f36df
MA
88862011-07-24 Michael Albinus <michael.albinus@gmx.de>
8887
8888 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8889 `tramp-send-command-and-check' if there is no error.
8890 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8891
a9901f61
AM
88922011-07-22 Alan Mackenzie <acm@muc.de>
8893
8894 Prevent cc-langs.elc being loaded at run time.
8895
8896 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8897 cc-langs.
8898
4d61f28d 8899 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8900 "(require 'cc-langs)". Quote a form so it will evaluate at
8901 (cc-mode's) compilation time.
8902
11d074b2
MA
89032011-07-22 Michael Albinus <michael.albinus@gmx.de>
8904
8905 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8906 loading. (Bug#9114)
8907
938b94c8
MR
89082011-07-21 Martin Rudalics <rudalics@gmx.at>
8909
8910 * window.el (display-buffer-pop-up-window)
8911 (display-buffer-pop-up-side-window)
8912 (display-buffer-in-side-window): Call display-buffer-set-height
8913 and display-buffer-set-width after setting the new window's
b796c9b7 8914 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8915
bfa4f190
SS
89162011-07-20 Sam Steingold <sds@gnu.org>
8917
8918 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8919 (etags-tags-included-tables): Call `convert-standard-filename' on
8920 the file names contained in TAGS so that windows Emacs can handle
8921 TAGS files created by cygwin ctags.
8922
8ca42262
LMI
89232011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8924
8925 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8926 which apparently didn't work.
8927
5db2afd2 89282011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8929
5db2afd2
RW
8930 * proced.el (proced-send-signal): For *Marked Processes* buffer
8931 put point at beginning of buffer.
8932
92e15d10
SB
89332011-07-19 Stephen Berman <stephen.berman@gmx.net>
8934
8935 * proced.el (proced-format): Make header lines align with the text
8936 (bug#1779).
8937
1bfd59e5
LMI
89382011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8939
8940 * view.el (view-buffer): Allow running in `special' modes if we're
8941 visiting a file (bug#8615).
8942
f5aae37c
MR
89432011-07-19 Martin Rudalics <rudalics@gmx.at>
8944
8945 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8946 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8947 New functions.
f5aae37c
MR
8948 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8949 more accurately.
8950
bf2c1571
AM
89512011-07-18 Alan Mackenzie <acm@muc.de>
8952
8953 Fontify declarators properly when, e.g., a jit-lock chunk begins
8954 inside a declaration.
8955
8956 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8957
b796c9b7
SM
8958 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8959 New function.
bf2c1571
AM
8960 (c-complex-decl-matchers): Insert reference to
8961 c-font-lock-enclosing-decls.
8962
8963 * progmodes/cc-engine.el (c-backward-single-comment):
8964 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8965 to nil around calls to (forward-comment -1).
8966
4e190b80
LMI
89672011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8968
12dc863d
LMI
8969 * image.el (put-image): Doc typo fix.
8970
a762e966
LMI
8971 * progmodes/etags.el (tags-search): Doc typo fix.
8972
4e190b80
LMI
8973 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8974 password if we get errors 550 to 554.
8975
f019fb21
LMI
89762011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8977
b796c9b7 8978 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8979
81746738
LMI
8980 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8981 indentation character (bug#6380).
8982
3ee3a1b5
LMI
8983 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8984
c82f64de
LMI
8985 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8986 to clarify what the problem is (bug#4291).
8987
f019fb21
LMI
8988 * simple.el (current-kill): Clarify what
8989 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8990 (auto-fill-mode): Document `auto-fill-function' in relation to
8991 `auto-fill-mode' (bug#2470).
f019fb21 8992
0794775d
LM
89932011-07-16 Lawrence Mitchell <wence@gmx.li>
8994
8995 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8996 method if slot is read-only (bug#9035).
8997
be39b8cc
MR
89982011-07-16 Martin Rudalics <rudalics@gmx.at>
8999
b796c9b7 9000 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9001 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9002 selected before, see discussion of (Bug#8615), (Bug#6954).
9003 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9004
6ccf7859
GM
90052011-07-15 Glenn Morris <rgm@gnu.org>
9006
9007 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9008 Respect help-form.
6ccf7859 9009
87e86684
LM
90102011-07-09 Lawrence Mitchell <wence@gmx.li>
9011
9012 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9013 (gnutls-negotiate): Use it.
9014
d6066239
LMI
90152011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9016
b796c9b7
SM
9017 * net/gnutls.el (gnutls-negotiate):
9018 Upcase `gnutls-algorithm-priority'.
d6066239 9019
bd23ebc0
GM
90202011-07-15 Glenn Morris <rgm@gnu.org>
9021
c65bca65
GM
9022 * jka-compr.el (jka-compr-verbose): Move from here...
9023 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9024 Add missing :version tag.
9025 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9026
478615cc
LMI
90272011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9028
7b41decb
LMI
9029 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9030 (gnutls-negotiate): Use it.
9031
dbc44fcd
LMI
9032 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9033
06789f97
LMI
9034 * info.el (Info-beginning-of-buffer): New command.
9035 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9036 announcing `b' as the key (bug#8325).
ab896c37 9037 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9038
c39da690
LMI
9039 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9040
3aa5f34b
LMI
9041 * international/mule-cmds.el
9042 (describe-specified-language-support): Make the error message
9043 clearer (bug#8905).
9044
4bf0979f
LMI
9045 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9046
478615cc
LMI
9047 * isearch.el (isearch-barrier): Add a doc string, since it's
9048 mentioned in a function doc string (bug#8678).
9049
75c68aa1
MR
90502011-07-15 Martin Rudalics <rudalics@gmx.at>
9051
9052 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9053 buffer argument (Bug#9083) and self-identifying label argument.
9054
a7c33da2
GM
90552011-07-15 Glenn Morris <rgm@gnu.org>
9056
9057 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9058
2f5c6024
LMI
90592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9060
9061 * man.el (Man-fontify-manpage): Fix message when formatting the
9062 man page (bug#7929).
9063
0bb23927 90642011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9065
9066 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9067 argument LRM; if non-nil, append an invisible LRM character to the
9068 buffer name.
9069 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9070 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9071 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9072 paragraph direction.
cce4b0a7 9073
621ef9ab
LMI
90742011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9075
d1583c48
LMI
9076 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9077 the man page name (bug#7929).
9078
6a57fb5f
LMI
9079 * image.el (put-image): Mention the `put-image' overlay property
9080 (bug#7834).
9081
d7956b14
LMI
9082 * scroll-bar.el (set-scroll-bar-mode): Mention that
9083 `scroll-bar-mode' lists the values (bug#7772).
9084
5b2d4a66
LMI
9085 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9086 command (bug#7729).
9087
7509a874
LMI
9088 * rect.el (apply-on-rectangle): Return the point after the last
9089 operation.
9090 (string-rectangle): Go to the point after the last operation
9091 (bug#7522).
9092
4fe74b19
LMI
9093 * printing.el (pr-toggle-region): Clarify the documentation
9094 slightly (bug#7493).
9095
b796c9b7
SM
9096 * time.el (display-time-update):
9097 Allow `display-time-mail-function' to return nil (bug#7158).
9098 Fix suggested by Detlev Zundel.
ab283561 9099
fc233c9d
LMI
9100 * vc/diff.el (diff): Clarify the order the file names are read
9101 (bug#7111).
9102
43f5740b
LMI
9103 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9104 the doc string (bug#7015).
9105
f2182a76
LMI
9106 * font-lock.el (font-lock-maximum-decoration): Mention what
9107 numeric levels mean (bug#6935).
9108
621ef9ab
LMI
9109 * startup.el (initial-buffer-choice): Don't mention the `none'
9110 selection, which is against policy.
9111
adc47434
MR
91122011-07-14 Martin Rudalics <rudalics@gmx.at>
9113
b796c9b7
SM
9114 * window.el (display-buffer-normalize-special):
9115 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9116
7e5bfb8f
EZ
91172011-07-14 Eli Zaretskii <eliz@gnu.org>
9118
9119 * subr.el (version<, version<=, version=): Mention "-CVS" and
9120 "-12345" alpha version numbers.
9121
27fa387a
CY
91222011-07-14 Chong Yidong <cyd@stupidchicken.com>
9123
9124 * bindings.el: Add advertised binding for set-mark-command
9125 (Bug#5772).
9126
8bdfa064
CY
91272011-07-14 Chong Yidong <cyd@stupidchicken.com>
9128
9129 * bindings.el (mode-line-other-buffer):
9130 * bookmark.el (bookmark-bmenu-2-window):
9131 * bs.el (bs-cycle-next, bs-cycle-previous):
9132 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9133 switch-to-buffer.
9134
9135 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9136 Delete.
8bdfa064 9137
5eba16a3
JB
91382011-07-14 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * follow.el (follow-debug-message, follow-redisplay):
9141 * jka-cmpr-hook.el (with-auto-compression-mode):
9142 Fix typos in docstrings.
9143
15853710
LMI
91442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9145
a28e4607
LMI
9146 * subr.el (with-silent-modifications): Clarify somewhat what the
9147 macro inhibits (bug#6525).
9148
15853710
LMI
9149 * simple.el (eval-expression): Note what it does if called
9150 interactively (bug#6495).
9151
bee0fcef
CY
91522011-07-13 Chong Yidong <cyd@stupidchicken.com>
9153
b796c9b7
SM
9154 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9155 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9156
9157 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9158 Remove switch-to-buffer.
9159
58274504
LMI
91602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9161
bd2fcc8d
LMI
9162 * files.el (make-directory): Clarify that an error will be raised
9163 if there's an error (bug#6397).
9164
0f04b32c
LMI
9165 * startup.el (initial-buffer-choice): Add `none' as a choice
9166 (bug#6234).
9167
465c5fc8
LMI
9168 * subr.el (add-hook): Clarify section about buffer-local hooks
9169 (bug#6218).
9170
58274504
LMI
9171 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9172
bead9a43
JB
91732011-07-13 Juanma Barranquero <lekktu@gmail.com>
9174
9175 * tabify.el (untabify): Preserve the current column so that point
9176 doesn't move (bug#6032).
9177
3af98a7b
LMI
91782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9179
b796c9b7
SM
9180 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9181 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9182
6240145a
GM
91832011-07-13 Glenn Morris <rgm@gnu.org>
9184
9185 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9186 (dired-insert-directory): Give a message the first time
9187 if ls is found not to support --dired.
9188
1d8c2ccc
LMI
91892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9190
9191 * simple.el (toggle-truncate-lines): Clarify what is toggled
9192 (bug#5580). Text by Drew Adams.
9193
5fc4038e
CY
91942011-07-13 Chong Yidong <cyd@stupidchicken.com>
9195
9196 * simple.el (blink-matching-open): Make the error message from the
9197 last change less verbose.
9198
bf6012e5
DN
91992011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9200
9201 * font-lock.el (font-lock-comment-face): Use the high contrast
9202 "yellow" color for font-lock-comment-face on low color terminals
9203 using a dark background color (bug#4221).
9204
343c3b5a
LMI
92052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9206
7e9505c5
LMI
9207 * dired.el (dired-insert-set-properties): Make the doc string
9208 reflect what it does now (bug#5325).
9209
c26fdcf5
LMI
9210 * simple.el (blink-matching-open): Say that we were unable to find
9211 the match within the limit, if we're limited (bug#5122).
9212
bb388cc5
LMI
9213 * international/mule-cmds.el (prefer-coding-system): Add an
9214 example (bug#4869).
9215
343c3b5a
LMI
9216 * progmodes/etags.el (tags-search): Document `file-list-form'
9217 (bug#4731).
9218
2a517d45
LM
92192011-07-13 Lawrence Mitchell <wence@gmx.li>
9220
9221 * net/browse-url.el (browse-url-default-browser)
9222 (browse-url-browser-function): Make the default browser choice a
9223 bit more logical (bug#4300). Also clean up the doc string.
9224
b6c78ef2
JB
92252011-07-13 Juanma Barranquero <lekktu@gmail.com>
9226
9227 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9228 binary endings (bug#4440).
9229
1c4dd947
LMI
92302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9231
a2014063
LMI
9232 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9233 which can be pretty annoying (bug#8971).
9234
9c9c2d88
LMI
9235 * jka-compr.el (jka-compr-verbose): New variable, and use
9236 throughout (bug#8971).
9237
1c4dd947
LMI
9238 * info.el (Info-find-file): Fall back on the installation
9239 directory if we can't find the info node anywhere else.
9240
a1c9f41b
SO
92412011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9242
9243 * vc/vc.el (vc-revert-file):
9244 Don't set file time-stamp in the past. (Bug#5181)
9245
536f3d36
LMI
92462011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9247
7152b011
LMI
9248 * files.el (after-find-file): Give a better error message when
9249 trying to find a symlink that points to a file that doesn't exist
9250 (bug#4398).
9251
536f3d36
LMI
9252 * progmodes/cc-vars.el: Remove (probably) misleading comment
9253 (bug#4396).
9254
460c0fba
JB
92552011-07-12 Johan Bockgård <bojohan@gnu.org>
9256
9257 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9258
7a6bda45
CY
92592011-07-12 Chong Yidong <cyd@stupidchicken.com>
9260
9261 * mouse-sel.el: Hack restoring functionality, while keeping
9262 compatibility with 2010-07-03 changes to mouse selection.
9263 (mouse-sel-primary-overlay): New var.
9264 (mouse-sel-selection-alist): Use it.
9265 (mouse-sel-mode): Doc fix; remove points that are default features
9266 of mouse.el.
9267
c79598ef
JB
92682011-07-12 Johan Bockgård <bojohan@gnu.org>
9269
9270 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9271 Fix previous fix (bug#2490).
9272
ff8be6ef
RW
92732011-07-12 Roland Winkler <winkler@gnu.org>
9274
b796c9b7
SM
9275 * textmodes/bibtex.el (bibtex-initialize):
9276 Use pop-to-buffer-same-window.
ff8be6ef
RW
9277 (bibtex-search-entries): Fix interactive call.
9278
296ba3ee
LMI
92792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280
f5242a02 9281 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9282 Fontise bytecomp Error lines more correctly (bug#2490).
9283 Fix suggested by Johan Bockgård.
f5242a02 9284
296ba3ee
LMI
9285 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9286
9287 * dired-x.el (dired-guess-default): Use `delete-dups'.
9288
f69fd0d2
CY
92892011-07-12 Chong Yidong <cyd@stupidchicken.com>
9290
9291 * dired.el (dired-mark-prompt):
9292 * dired-aux.el (dired-read-shell-command): Doc fix.
9293
eab5dc07
LMI
92942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295
b796c9b7
SM
9296 * mail/sendmail.el (sendmail-query-once):
9297 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9298 emacs -Q.
9299
9300 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9301
eab5dc07
LMI
9302 * cus-edit.el (custom-file): Take an optional no-error variable.
9303 (customize-save-variable): Set the variable, and give a warning if
9304 running under "emacs -q".
9305
a1e65d42
JB
93062011-07-11 Juanma Barranquero <lekktu@gmail.com>
9307
9308 * loadhist.el (unload-feature-special-hooks):
9309 Add `auto-coding-functions', `fill-nobreak-predicate' and
9310 `find-directory-functions' (bug#5327).
9311
1d52da10
LMI
93122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9313
be958f1d
LMI
9314 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9315
5bedb26c
LMI
9316 * cus-edit.el (custom-guess-name-alist): -alist variables should
9317 use the `alist' type (bug#3120). Suggested by Drew Adams.
9318
1d52da10
LMI
9319 * printing.el: Add documentation to all the `pr-toggle-' commands.
9320
cd394be1 93212011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9322
9323 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9324 backends where it makes sense (bug#2623).
9325
dcc88d8a
LMI
93262011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
c3de9feb
LMI
9328 * dired-x.el (dired-guess-default): Remove duplicate shell command
9329 entries (bug#2028).
8a93078b 9330 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9331 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9332
dcc88d8a
LMI
9333 * subr.el (remove-duplicates): New conveniency function.
9334
505e3645
LMI
93352011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
9337 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9338 (bug#1526).
9339
93402011-07-10 Martin Rudalics <rudalics@gmx.at>
9341
9342 * window.el (display-buffer-normalize-default): Don't invert
9343 meaning of even-window-heights. Reported by Eli Zaretskii
9344 <eliz@gnu.org>.
9345
455e4fa1
BR
93462011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9347
9348 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9349
8e0bc3e9
CY
93502011-07-10 Chong Yidong <cyd@stupidchicken.com>
9351
9352 * window.el (display-buffer): Fix arguments to
9353 display-buffer-reuse-window in last change.
9354
fa7c3228
CY
9355 * faces.el (link): Use a less saturated blue on light backgrounds.
9356
9357 * startup.el (fancy-startup-text, fancy-about-text)
9358 (fancy-startup-tail): Use font-lock faces, for background safety.
9359
c0a7f300
BN
93602011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9361
b796c9b7
SM
9362 * emulation/viper-cmd.el (viper-change-state-to-vi):
9363 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9364
4dc2a129
MR
93652011-07-09 Martin Rudalics <rudalics@gmx.at>
9366
9367 * window.el (display-buffer-default-specifiers): Remove.
9368 (display-buffer-macro-specifiers): Remove default specifiers.
9369 (display-buffer-alist): Default to nil.
b796c9b7 9370 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9371 (display-buffer-pop-up-window): Allow splitting internal
9372 windows. Check whether a live window was created.
9373 (display-buffer-other-window-means-other-frame)
9374 (display-buffer-normalize-arguments): Rename to
9375 display-buffer-normalize-argument and rewrite. Set the
9376 other-window specifier.
9377 (display-buffer-normalize-special): New function.
9378 (display-buffer-normalize-options): Rename to
9379 display-buffer-normalize-default and rewrite.
9380 (display-buffer-normalize-options-inhibit): Remove.
9381 (display-buffer-normalize-specifiers): Rewrite.
9382 (display-buffer): Process other-window specifier and call
9383 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9384 more faithfully.
b796c9b7 9385 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9386 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9387 (display-buffer-in-window, display-buffer-alist-set):
9388 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9389 <tassilo@member.fsf.org>.
9390
2d43b8c9
LL
93912011-07-09 Leo Liu <sdl.web@gmail.com>
9392
9393 * register.el (insert-register): Restore accidental change on
9394 2011-06-26. (Bug#9028)
9395
7f9b7c53
GM
93962011-07-09 Glenn Morris <rgm@gnu.org>
9397
9398 * subr.el (remq): Handle the empty list. (Bug#9024)
9399
f042cfd8
AS
94002011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9401
9402 * mail/sendmail.el (send-mail-function): No longer delay custom
9403 initialization.
9404 * custom.el (custom-initialize-delay): Doc fix.
9405
856b2f11
SM
94062011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9409
afae1d68
MA
94102011-07-08 Michael Albinus <michael.albinus@gmx.de>
9411
9412 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9413 human-friendly prompt.
9414
0757af94
SM
94152011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9418 provided by a particular plugin.
9419
d760b731
LMI
94202011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9421
9422 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9423 save customizations (with "emacs -Q"), just set the variable
9424 instead of erroring out.
9425
9426 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9427
cd79ce90
JL
94282011-07-08 Juri Linkov <juri@jurta.org>
9429
9430 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9431 (archive-zip-update-case): Use 7z if found by `executable-find'.
9432 The order of searching the available programs is the same as in
9433 `archive-zip-extract' (bug#8968).
9434
14cc04aa
CY
94352011-07-07 Chong Yidong <cyd@stupidchicken.com>
9436
9437 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9438 (menu-bar-options-menu): Tweak descriptions.
9439
0a1848ec
LMI
94402011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9441
9442 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9443 menu items into verb phrases (bug#1421). Also refill to fit under
9444 80 columns.
9445
f5bd0689
CY
94462011-07-07 Chong Yidong <cyd@stupidchicken.com>
9447
538e85c6
CY
9448 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9449 (Info-read-node-name): Doc fix (Bug#1084).
9450
f5bd0689
CY
9451 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9452 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9453 (end-of-sexp, beginning-of-sexp)
9454 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9455 (forward-symbol, forward-same-syntax, word-at-point)
9456 (sentence-at-point): Doc fix (Bug#1144).
9457
56ec5115
LMI
94582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9459
f3f8e37f
LMI
9460 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9461 should cover it (bug#1281).
9462
0757af94 9463 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9464
e9fce1ac 9465 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9466 negotiation fails, then possibly try again with a non-encrypted
9467 connection (bug#9017).
9468
56ec5115
LMI
9469 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9470 be used.
9471
c2f9aec8
RS
94722011-07-07 Richard Stallman <rms@gnu.org>
9473
9474 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9475 property, and handle its changed format.
9476 Look for the correct line number.
9477 Use file's line contents (but not past first =) to find
9478 correct line in message.
9479
ef7b981d 94802011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9481
9482 * international/characters.el (build-unicode-category-table):
9483 Delete it.
0757af94 9484 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9485
0757af94 9486 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9487 to src/chartab.c.
9488 (get-char-code-property): Call unicode-property-table-internal to
9489 load a file. Call get-unicode-property-internal where necessary.
9490 (put-char-code-property): Call unicode-property-table-internal to
9491 load a file. Call put-unicode-property-internal where necessary.
9492 put-unicode-property-internal where necessary.
0757af94
SM
9493 (char-code-property-description):
9494 Call unicode-property-table-internal to load a file.
c805dec0
KH
9495
9496 * international/charprop.el:
9497 * international/uni-bidi.el:
9498 * international/uni-category.el:
9499 * international/uni-combining.el:
9500 * international/uni-comment.el:
9501 * international/uni-decimal.el:
9502 * international/uni-decomposition.el:
9503 * international/uni-digit.el:
9504 * international/uni-lowercase.el:
9505 * international/uni-mirrored.el:
9506 * international/uni-name.el:
9507 * international/uni-numeric.el:
9508 * international/uni-old-name.el:
9509 * international/uni-titlecase.el:
9510 * international/uni-uppercase.el: Regenerate.
9511
9512 * loadup.el: Load international/charprop.el before
9513 international/characters.
9514
e14b388a
CY
95152011-07-07 Chong Yidong <cyd@stupidchicken.com>
9516
9517 * window.el (next-buffer, previous-buffer): Signal an error if
9518 called from a minibuffer window.
9519
9520 * bindings.el: Revert 2011-07-04 change.
9521
354cf0ba
RS
95222011-07-06 Richard Stallman <rms@gnu.org>
9523
9524 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9525 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9526 Treat markers like ints.
9527 (rmail-mime-entity): Doc fix.
9528
a48868a7
LMI
95292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9530
4906cd3d
LMI
9531 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9532 defcustom again for backwards compatibility.
9533
e0457abe
LMI
9534 * simple.el (shell-command-on-region): Fill.
9535
d67f7e1f
LMI
9536 * dired-aux.el (dired-kill-line): Add a doc string.
9537
fe204702
LMI
9538 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9539 to "\\sw\\|\\s_" (bug#358).
9540
a48868a7
LMI
9541 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9542 (dired-unmark-backward): Ditto.
9543 (dired-flag-backup-files): Ditto.
9544
9545 * dired-x.el (dired-mark-sexp): Ditto.
9546
aa8a705c
RS
95472011-07-06 Richard Stallman <rms@gnu.org>
9548
9549 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9550 (rmail-mime-entity): New arg TRUNCATED.
9551 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9552 New functions.
9553 (rmail-mime-save): Warn if entity is truncated.
9554 (rmail-mime-toggle-hidden): Likewise, for showing.
9555 (rmail-mime-process-multipart): Record when an entity is truncated.
9556
a9a936b9
RS
9557 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9558 if ENTITY is a string.
9559
1f2b92cb
LMI
95602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9561
f4f73198 9562 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9563 of faces when `M-C-x'-ing their definitions (bug#8378).
9564 Also clean up the code slightly.
f4f73198 9565
12b16734 9566 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9567 because that makes the colors go away.
12b16734 9568
f0691d22
LMI
9569 * mail/sendmail.el (send-mail-function): Change the default to
9570 `sendmail-query-once'.
9e87df06 9571 (sendmail-query-once): Add an autoload cookie.
f0691d22 9572
1f2b92cb
LMI
9573 * net/network-stream.el (network-stream-open-starttls): Try using
9574 a plain connection even if the server offered STARTTLS, and we
9575 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9576 capability. This should make smtpmail.el work in slightly more
9577 configurations.
9578
1cdd2a1b
MA
95792011-07-06 Michael Albinus <michael.albinus@gmx.de>
9580
9581 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9582 New defun.
9583 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9584
fbcc67e2
MM
95852011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9586
9587 * progmodes/sql.el: Version 3.0
0757af94 9588 (sql-product-alist): Add product :completion-object,
fbcc67e2 9589 :completion-column, and :statement attributes.
0757af94 9590 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9591 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9592 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9593 ansi keywords.
9594 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9595 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9596 (sql-oracle-show-reserved-words): New function for development.
9597 (sql-product-font-lock): Simplify for source code buffers.
9598 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9599 New functions.
9600 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9601 (sql-mode-map): Add statement movement functions.
9602 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9603 New variable.
fbcc67e2
MM
9604 (sql-statement-regexp, sql-beginning-of-statement)
9605 (sql-end-of-statement, sql-signum): New functions.
0757af94 9606 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9607 (sql-show-sqli-buffer): Bug fix.
9608 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9609 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9610 with sql-interactive-mode.
9611 (sql-save-connection): Save buffer local settings.
0757af94 9612 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9613 (sql-product-interactive): Bug fix.
9614 (sql-preoutput-hold): New variable.
9615 (sql-interactive-remove-continuation-prompt): Bug fixes.
9616 (sql-debug-redirect): New variable.
9617 (sql-str-literal): New function.
9618 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9619 Redesign.
fbcc67e2
MM
9620 (sql-oracle-save-settings, sql-oracle-restore-settings)
9621 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9622 (sql-completion-object, sql-completion-column)
9623 (sql-completion-sqlbuf): New variables.
9624 (sql-build-completions-1, sql-build-completions)
9625 (sql-try-completion): New functions.
9626 (sql-read-table-name): Use them.
9627 (sql-contains-names): New buffer local variable.
9628 (sql-list-all, sql-list-table): Use it.
9629 (sql-oracle-completion-types): New variable.
9630 (sql-oracle-completion-object, sql-sqlite-completion-object)
9631 (sql-postgres-completion-object): New functions.
9632
d4eaeab1
GM
96332011-07-06 Glenn Morris <rgm@gnu.org>
9634
9635 * window.el (pop-to-buffer): Doc fix.
9636
322b7dab 96372011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9638
9639 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9640
322b7dab 96412011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9642
322b7dab 9643 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9644
322b7dab 9645 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9646
605dd5bf
CY
96472011-07-05 Chong Yidong <cyd@stupidchicken.com>
9648
9649 * button.el (button): Inherit from link face. Suggested by Dan
9650 Nicolaescu.
9651
7dbfa719
SM
96522011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9653
3db614b0
SM
9654 * progmodes/gdb-mi.el: Fit in 80 columns.
9655 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9656 switch-to-buffer.
9657
7dbfa719
SM
9658 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9659 if imenu is simply not configured (bug#8941).
9660
919d884a
KM
96612011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9662
9663 * allout.el (allout-post-undo-hook): New allout outline-change
9664 event hook to signal undo activity.
9665 (allout-post-command-business): Run allout-post-undo-hook if an
9666 undo just occurred.
7dbfa719
SM
9667 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9668 * allout-widgets.el (allout-widgets-after-undo-function):
9669 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9670 in the vicinity of an undo.
9671 (allout-widgets-mode): Include allout-widgets-after-undo-function
9672 on the new allout-post-undo-hook.
9673
450a0f09
SM
96742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9677 Let define-derived-mode define it.
9678 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9679 cycles of abbrev-table inheritance (bug#8998).
9680
2de69e00
RW
96812011-07-05 Roland Winkler <winkler@gnu.org>
9682
9683 * textmodes/bibtex.el: Add support for biblatex.
9684 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9685 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9686 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9687 (bibtex-entry-alist, bibtex-field-alist): New variables.
9688 (bibtex-entry-field-alist): Obsolete alias for
9689 bibtex-BibTeX-entry-alist.
9690 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9691 (bibtex-set-dialect): New command.
9692 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9693 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9694 Bind via bibtex-set-dialect.
2de69e00
RW
9695 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9696 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9697 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9698 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9699 Define via bibtex-set-dialect.
450a0f09
SM
9700 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9701 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9702 (bibtex-vec-push, bibtex-vec-incr): New functions.
9703 (bibtex-format-entry, bibtex-field-list)
9704 (bibtex-print-help-message, bibtex-validate)
9705 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9706
2dcdbdd9
SM
97072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9708
9709 * progmodes/compile.el (compilation-goto-locus):
9710 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9711 * bs.el (bs-cycle-next, bs-cycle-previous):
9712 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9713 * bindings.el (mode-line-other-buffer):
9714 * autoinsert.el (auto-insert):
9715 * arc-mode.el (archive-extract):
9716 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9717
b27640fe
JB
97182011-07-05 Juanma Barranquero <lekktu@gmail.com>
9719
9720 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9721 Fix check of `emacs-lock-unlockable-modes'.
9722 Coerce true values of `emacs-lock--try-unlocking' to t.
9723
53bbe3ad
JB
97242011-07-05 Juanma Barranquero <lekktu@gmail.com>
9725
9726 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9727 * emacs-lock.el: New file.
9728
1d3cdbc7
JD
97292011-07-05 Julien Danjou <julien@danjou.info>
9730
9731 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9732 than `boundp' to check if face is set.
9733
9173deec
JB
97342011-07-05 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * register.el (registerv-make):
9737 * window.el (window-min-height): Fix typos in docstrings.
9738
869795d6
JD
97392011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9740
9173deec 9741 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9742 Update doc string.
9743
b768cdcd
JB
97442011-07-04 Juanma Barranquero <lekktu@gmail.com>
9745
9746 * server.el (server-execute): Catch quit and call
9747 `server-return-error' to pass the error back to emacsclient and
9748 close the connection (bug#8942).
9749
13aa217b
KM
97502011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9751
9752 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9753 insecure exception for current topic. Also note that auto-saves
9754 are handled differently.
9755
5d3385a0 9756 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9757 State variables for tracking auto-save inhibition situation.
9758
9759 (allout-write-contents-hook-handler): Rename from
9760 'allout-write-file-hook-handler', and describe how it depends on
9761 write-contents-functions sensitivity to non-nil value to prevent
9762 file write.
9763
9764 (allout-auto-save-hook-handler): Remove. auto-save does not check
9765 this in individual buffers, only in the starting buffer, so this
9766 is not the right way for us to inhibit auto-save in a buffer
9767 according to its condition.
9768
9769 (allout-mode): Use new allout-write-contents-hook-handler, and
9770 only with write-contents-functions. Remove auto-save provisions -
9771 they're implemented elsewhere.
9772
9773 (allout-before-change-handler): If undo is in progress, note that
9774 for attention of allout-post-command-business.
9775
9776 (allout-post-command-business): If the command we're following was
9777 an undo, check for change in the status of encrypted items and
9778 adjust auto-save inhibitions accordingly.
9779
9780 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9781 according to whether there are or aren't any plain-text topics
9782 pending encryption.
9783
2dcdbdd9 9784 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9785 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9786 if there are plain-text topics pending encryption.
13aa217b
KM
9787
9788 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9789 buffer-saved-size and some allout state to not inhibit auto-saves
9790 if there are no longer any plain-text topics pending encryption.
9791
0757af94
SM
9792 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9793 No longer provide for exemption of the current topic.
13aa217b 9794
ac89b32c
JL
97952011-07-04 Juri Linkov <juri@jurta.org>
9796
9797 Add 7z operations to delete and save changed members (bug#8968).
9798 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9799 New defcustoms.
9800 (archive-7z-write-file-member): New function.
9801 (archive-7z-summarize): Fix the number of dashes in the
9802 listing output.
9803
8fa39615
SM
98042011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9807 (bug#8958).
9808
2f11b3f1
CY
98092011-07-04 Chong Yidong <cyd@stupidchicken.com>
9810
d66fef2b
CY
9811 * bindings.el: Ignore next-buffer and previous-buffer in
9812 minibuffer-local-map.
9813
2f11b3f1
CY
9814 * font-lock.el (font-lock-builtin-face): Change light background
9815 color to dark slate blue (Bug#6693).
9816
f932a347
WD
98172011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9818
9819 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9820
c8af70e1
SM
98212011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9824 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9825 Add switch-to-buffer.
9826
f158badc
LMI
98272011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9828
9829 * isearch.el (isearch-search-fun-function): Clarify further the
9830 meaning of the function returned.
9831
6d95bd46
MA
98322011-07-04 Michael Albinus <michael.albinus@gmx.de>
9833
9834 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9835
9836 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9837 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9838 Use it.
9839 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9840 `tramp-default-remote-path' does not exist.
9841 (tramp-send-command-and-read): New optional argument NOERROR.
9842 (tramp-open-connection-setup-interactive-shell)
9843 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9844 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9845 (tramp-process-sentinel): Flush also process' connection property.
9846 (tramp-sh-handle-start-file-process): Do not set process
9847 sentinel. It is done now ...
9848 (tramp-maybe-open-connection): ... here. (Bug#8929)
9849
909e6b67
MK
98502011-07-04 MON KEY <monkey@sandpframing.com>
9851
9852 * play/animate.el (animate-string): Doc fixes and allow changing
9853 the buffer name (bug#5417).
9854
98552011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9856
c8af70e1 9857 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9858
f34755dc
PE
98592011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9860
396cec72
PE
9861 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9862 This is simpler and helps future-proof the code.
9863 (timer-until): Use time-subtract and float-time.
08235028 9864 (timer--time-less-p): Use time-less-p.
f34755dc 9865
56e6cc31
JB
98662011-07-04 Juanma Barranquero <lekktu@gmail.com>
9867
3abb79e5
JB
9868 * type-break.el (timep): Use the value of `float-time' to avoid a
9869 byte-compiler warning.
9870
56e6cc31
JB
9871 * server.el (server-eval-and-print): Return any result, even nil.
9872
7b9430b4
PE
98732011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9874
9875 * type-break.el: Accept time formats that the builtins accept.
9876 (timep, type-break-time-difference): Accept any format that
9877 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9878 This is simpler and helps future-proof the code.
9879 (type-break-time-difference): Round rather than ignoring
9880 subseconds components.
9881
3034e9e7
LMI
98822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9883
9884 * info.el (Info-apropos-matches): Make non-interactive, since it
9885 doesn't seem to do anything useful as a command (bug#8829).
9886
1485f4c0
CY
98872011-07-03 Chong Yidong <cyd@stupidchicken.com>
9888
9889 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9890 Move from faces.el.
1485f4c0
CY
9891 (frame-default-terminal-background): New function.
9892
9893 * custom.el (custom-push-theme): Don't record faces in `changed'
9894 theme; this doesn't work correctly for per-frame face settings.
9895 (disable-theme): Use face-set-after-frame-default to reset faces.
9896 (custom--frame-color-default): New function.
9897
9fa3dd45
LMI
98982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9899
c8af70e1 9900 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9901 (bug#8769).
9902
6cbbc20c
KR
99032011-03-29 Kevin Ryde <user42@zip.com.au>
9904
9905 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9906 `perl-Test2' extend to match possible "fail #N" rep count
9907 (bug#8377).
9908
c7f98048
LMI
99092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9910
65676592
LMI
9911 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9912 `smtpmail-via-smtp' now returns the error instead of nil.
9913
c7f98048
LMI
9914 * isearch.el (isearch-search-fun-function): Clarify the doc string
9915 (bug#8101).
9916
56e6cc31 99172011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9918
9919 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9920 unnecessary spaces (bug#8987).
9921
2b216704
LMI
99222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9923
9924 * net/network-stream.el (open-network-stream): Use the
9925 :end-of-capability command thoughout.
9926
99272011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9928
9929 * net/network-stream.el (open-network-stream): Add the
9930 :end-of-capability command parameter, used by pop3.el.
9931
36adf6ce
LMI
99322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9933
1ca0da0e
LMI
9934 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9935
fc00f69c
LMI
9936 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9937 for list)" (bug#6475).
9938
28fd8759 9939 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9940 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9941 an error (bug#6297).
9942
0dd8b6da
LMI
9943 * man.el (Man-reference-regexp): Allow matching possible
9944 word-wrapped references (bug#6289).
9945
ce1438d6
LMI
9946 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9947 for consistency with the other vc buffers (bug#6197).
9948 (vc-checkin): Ditto.
9949
9950 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9951
36adf6ce
LMI
9952 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9953
e83cc1f7
LMI
99542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9955
8a20ca4c
LMI
9956 * custom.el (defcustom): Clarify that :set is only used in the
9957 Customize user interface (bug#6089).
9958
83319045
LMI
9959 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9960 associated with a file, refuse to run instead of erroring out
9961 (bug#6084).
9962
a8392169
LMI
9963 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9964 the doc string, since it appears that using `fill-column' always
9965 controls the width (bug#7845).
9966
e83cc1f7
LMI
9967 * simple.el (shell-command-on-region): Say where the error output
9968 went if `shell-command-default-error-buffer' is set (bug#6857).
9969
e47ca23b
KM
99702011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9971
9972 * allout.el (allout-yank-processing): Adjust cursor position for
9973 backwards-deleted space.
9974
9975 (allout-rebullet-heading): Register changes with
9976 allout-exposure-changed-hook, so the modified topic is properly
9977 decorated.
9978
5cf56143
LMI
99792011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9980
08549772
LMI
9981 * minibuffer.el (completion-in-region): Document PREDICATE
9982 (bug#7136).
9983
48e96771
LMI
9984 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9985 of keyword/argument pairs (bug#6904).
9986
c8af70e1
SM
9987 * replace.el (multi-occur):
9988 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9989
e17d05e2
LMI
99902011-07-02 Drew Adams <drew.adams@oracle.com>
9991
9992 * dired.el (dired-mark-if): Make the message about whether it's
9993 marking or unmarking clearer (bug#8523).
9994
063b0e45
LMI
99952011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9996
9997 * disp-table.el (display-table-print-array): New function.
9998 (describe-display-table): Use it to print the vectors more pretty
9999 (Bug#8859).
10000
28545e04
MR
100012011-07-02 Martin Rudalics <rudalics@gmx.at>
10002
10003 * window.el (window-state-get-1): Don't assign clone numbers.
10004 Add clone-of item to list of window parameters.
10005 (window-state-put-2): Don't process clone numbers.
10006 (display-buffer-alist): Fix doc-string.
10007
3349e122
SM
100082011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 * subr.el (remq): Don't allocate if it's not needed.
10011 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10012 (keymap--merge-bindings): New functions.
10013 (keymap-canonicalize): Use them to refine the canonicalization.
10014 * minibuffer.el (minibuffer-local-completion-map)
10015 (minibuffer-local-must-match-map): Move initialization from C.
10016 (minibuffer-local-filename-completion-map): Move initialization from C;
10017 don't inherit from anything here.
10018 (minibuffer-local-filename-must-match-map): Make obsolete.
10019 (completing-read-default): Use make-composed-keymap to combine
10020 minibuffer-local-filename-completion-map with either
10021 minibuffer-local-must-match-map or
10022 minibuffer-local-filename-completion-map.
10023
d224ac83
GM
100242011-07-01 Glenn Morris <rgm@gnu.org>
10025
3de63bf8
GM
10026 * type-break.el (type-break-time-sum): Use dolist.
10027
d224ac83
GM
10028 * textmodes/flyspell.el (flyspell-word-search-backward):
10029 Replace CL function.
10030
1a1e3f32
SM
100312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10032
fe3f64d5
SM
10033 * mouse.el (mouse--strip-first-event): New function.
10034 (function-key-map): Use it to map fringe clicks to normal clicks
10035 by default.
10036
eb604e34
SM
10037 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10038 (vc-bzr-revision-completion-table): Add support for annotate and date.
10039
1a1e3f32
SM
10040 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10041 inherit from parent.
10042
5bd35902
LMI
100432011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10044
ace6c69c 10045 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10046 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10047
191e2bed
LMI
10048 * dired.el (dired-mode): Fix up the doc string as suggested by
10049 Drew Adams (bug#8817).
10050
5bd35902
LMI
10051 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10052 cookie, since the manual says that it should be possible to add
10053 this function to `find-file-hook' (bug#8709).
10054
eee8207a
TZ
100552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10056
10057 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10058 here. Noted Ted Zlatanov as the maintainer.
10059 (cfengine-common-settings, cfengine-common-syntax): New functions
10060 to set up common things between `cfengine-mode' and
10061 `cfengine3-mode'.
10062 (cfengine3-mode): New mode.
10063 (cfengine3-defuns cfengine3-defuns-regex
10064 (cfengine3-class-selector-regex cfengine3-category-regex)
10065 (cfengine3-vartypes cfengine3-font-lock-keywords)
10066 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10067 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10068
36b148cf
MA
100692011-07-01 Michael Albinus <michael.albinus@gmx.de>
10070
10071 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10072
10073 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10074
0bf4ba9a
MR
100752011-07-01 Martin Rudalics <rudalics@gmx.at>
10076
10077 * window.el (same-window-buffer-names, same-window-regexps)
10078 (same-window-p, special-display-frame-alist)
10079 (special-display-popup-frame, special-display-function)
10080 (special-display-buffer-names, special-display-regexps)
10081 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10082 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10083 (split-window-preferred-function, split-height-threshold)
10084 (split-width-threshold, even-window-heights)
10085 (display-buffer-mark-dedicated, window-splittable-p)
10086 (split-window-sensibly, window-safely-shrinkable-p):
10087 Un-obsolete.
10088 (display-buffer): Don't spread args with function specifier
10089 because special-display-popup-frame won't like it.
10090
35837f51
PE
100912011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10092
d0672f86
PE
10093 Time-stamp simplifications and fixes.
10094 These improve accuracy slightly, and future-proof the code
10095 against some potential changes to current-time format.
10096
b9444d97
PE
10097 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10098 by using time-since and float-time.
10099
0ef923dc
PE
10100 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10101 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10102 + NNN microseconds".
10103
2f81380d
PE
10104 * type-break.el (type-break-time-sum): Rewrite using time-add.
10105
845b5c3e
PE
10106 * play/hanoi.el (hanoi-current-time-float): Remove.
10107 All uses replaced by float-time.
10108
ee6f1be0
PE
10109 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10110 This yields a more-accurate answer.
10111 (rng-time-to-float): Remove; no longer needed.
10112
fe955043
PE
10113 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10114
5777162a
PE
10115 * calendar/timeclock.el (timeclock-seconds-to-time):
10116 Defalias to seconds-to-time, since they're the same thing.
10117
3103f8b6 10118 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10119 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10120 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10121
0e61a35f
SM
101222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * window.el (bury-buffer): Don't iconify the only frame.
10125 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10126 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10127
ddd63a1e
CY
101282011-07-01 Chong Yidong <cyd@stupidchicken.com>
10129
0e61a35f
SM
10130 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10131 Add mouse-yank-primary.
ddd63a1e 10132
055f4923
TZ
101332011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10134
10135 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10136
6a2fb145
SM
101372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10140 (find-library-name): Use it to find relative load names when provided
10141 absolute file name (bug#8803).
10142
fd4983f2
LMI
101432011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10144
887d14ad
LMI
10145 * textmodes/flyspell.el (flyspell-word): Consider words that
10146 differ only in case as potential doublons (bug#5687).
10147
c53dc7fc
LMI
10148 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10149 Remove two rather uninteresting debugging-like messages to make
10150 debbugs.el more silent.
10151
fd4983f2
LMI
10152 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10153 a password-like phrase.
10154
7a71b18d 101552011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10156
10157 * progmodes/cc-guess.el: New file.
10158
6a2fb145 10159 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10160
10161 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10162 derived from `c-basic-common-init'.
10163
10164 * progmodes/cc-mode.el (top-level): Require cc-guess.
10165 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10166
1fa280a3
LM
101672011-06-30 Lawrence Mitchell <wence@gmx.li>
10168
10169 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10170
e6597158
AM
101712011-06-30 Alan Mackenzie <acm@muc.de>
10172
1fa280a3
LM
10173 * progmodes/cc-engine.el (c-guess-continued-construct):
10174 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10175 lock is disabled. Name this case as "CASE G".
10176
68ba37fb
KM
101772011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10178
10179 * allout.el (allout-yank-processing): Fix injection of extra space
10180 between bullet and non-whitespace character in first topic when
10181 pasting, ensuring that the actual spacing in the pasted topic
10182 following the bullet char is preserved. This extra space was
10183 causing pasted encrypted topics to get a decrypted status even
10184 when the content was actually still encrypted. Now the decryption
10185 status from before the paste is preserved.
10186
10187 (allout-flag-region): Set all allout overlays so they evaporate
10188 when reduced to zero length (evanescent), to prevent overlay
10189 leakage.
10190
887a0b34
GM
101912011-06-30 Glenn Morris <rgm@gnu.org>
10192
94b9acce
GM
10193 * w32-fns.el (w32-charset-info-alist): Declare.
10194
1d9b46d4
GM
10195 * find-dired.el (find-grep-options): Simplify.
10196
cc232200
GM
10197 * term/ns-win.el (ns-set-resource): Declare.
10198
28e77c46
GM
10199 * ses.el (row, col): Declare dynamic variables honestly.
10200
887a0b34
GM
10201 * textmodes/reftex-parse.el (index-tags): Declare.
10202
658d8eb8
CY
102032011-06-30 Chong Yidong <cyd@stupidchicken.com>
10204
10205 * cus-edit.el (customize-push-and-save): New function.
10206
10207 * files.el (hack-local-variables-confirm): Use it.
10208
1fa280a3
LM
10209 * custom.el (load-theme): New arg NO-CONFIRM.
10210 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10211 (custom-enabled-themes): Doc fix.
10212
10213 * cus-theme.el (customize-create-theme)
10214 (custom-theme-merge-theme): Callers to load-theme changed.
10215
bb617717
LMI
102162011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10217
d61bdd5d
LMI
10218 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10219 short URLs have at least one dot in them (bug #7614).
10220
bb617717
LMI
10221 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10222 nil, because using a pty is apparently too slow (bug #895).
10223
2f31f37a
LMI
102242011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10225
10226 * mail/sendmail.el (sendmail-query-once): New function.
10227 (sendmail-query-once-function): New variable.
10228
3076b24e
GM
102292011-06-29 Glenn Morris <rgm@gnu.org>
10230
faf2a174
GM
10231 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10232
3076b24e
GM
10233 * ses.el (top-level): Require cl when compiling.
10234 (ses-set-localvars): Fix error statement.
10235 Call it at compile time to silence a storm of warnings.
10236
5386012d
MR
102372011-06-29 Martin Rudalics <rudalics@gmx.at>
10238
10239 * window.el (normalize-live-buffer): Rename to
10240 window-normalize-buffer.
10241 (normalize-live-frame): Rename to window-normalize-frame.
10242 (normalize-any-window): Rename to window-normalize-any-window.
10243 (normalize-live-window): Rename to window-normalize-live-window.
10244 (make-window-atom): Rename to window-make-atom.
10245 (window-resize-reset): Rename to window--resize-reset.
10246 (window-resize-reset-1): Rename to window--resize-reset-1.
10247 (resize-mini-window): Rename to window--resize-mini-window.
10248 (resize-subwindows-skip-p): Rename to
10249 window--resize-subwindows-skip-p.
10250 (resize-subwindows-normal): Rename to
10251 window--resize-subwindows-normal.
10252 (resize-subwindows): Rename to window--resize-subwindows.
10253 (resize-other-windows): Rename to window--resize-siblings.
10254 (resize-this-window): Rename to window--resize-this-window.
10255 (resize-root-window): Rename to window--resize-root-window.
10256 (resize-root-window-vertically): Rename to
10257 window--resize-root-window-vertically.
10258 (normalize-buffer-to-display): Rename to
10259 window-normalize-buffer-to-display.
10260 (normalize-buffer-to-switch-to): Rename to
10261 window-normalize-buffer-to-switch-to.
10262 Correspondingly update all callers of the functions listed
10263 above.
10264 (display-buffer-alist, display-buffer-normalize-arguments)
10265 (display-buffer-normalize-options, display-buffer)
10266 (display-buffer-alist-set): Use "function" instead of
10267 "fun-with-args".
10268
1176868d
CY
102692011-06-28 Chong Yidong <cyd@stupidchicken.com>
10270
10271 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10272 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10273 debbugs.gnu.org. Mention acknowledgment email.
10274
20a7a65f
LMI
102752011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10276
10277 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10278 buffer multibyteness, since it shouldn't matter.
10279
5f45cca5
MR
102802011-06-28 Martin Rudalics <rudalics@gmx.at>
10281
10282 * window.el (display-buffer-in-side-window): Handle dedicated
10283 windows as in display-buffer-reuse-window.
10284 (display-buffer-normalize-alist): Use value of override
10285 specifier.
10286 (display-buffer-normalize-specifiers): Use value of
10287 other-window-means-other-frame specifier.
10288 (display-buffer-alist): Rewrite some texts in widgets.
10289 (display-buffer): Spread arguments when calling function
10290 specified by fun-with-args.
10291
ad85fe1f
DD
102922011-06-28 Deniz Dogan <deniz@dogan.se>
10293
1fa280a3
LM
10294 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10295 Unnest `let'.
da68c4c8 10296
ad85fe1f
DD
10297 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10298 selectors (Bug#5732).
ec49bd31 10299 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10300
a08cc025
JA
103012011-06-27 Jari Aalto <jari.aalto@cante.net>
10302
10303 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10304 (eshell-ls-date-format): New defcustom.
10305 (eshell-ls-file): Use it.
10306
e2b551c5
SM
103072011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10310
8982b231
KY
103112011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10312
10313 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10314 (ange-ftp-make-tmp-name): New arg.
10315 (ange-ftp-file-local-copy): Use it.
10316
36c9fa27
J
103172011-06-27 Jambunathan K <kjambunathan@gmail.com>
10318
10319 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10320 no-conversion (Bug#8870).
10321
d68443dc
MR
103222011-06-27 Martin Rudalics <rudalics@gmx.at>
10323
10324 * window.el (window-right, window-left, window-child)
10325 (window-child-count, window-last-child)
10326 (window-iso-combination-p, walk-window-tree-1)
10327 (window-atom-check-1, window-tree-1, delete-window)
10328 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10329 new naming conventions - window-vchild, window-hchild,
10330 window-next and window-prev are now called window-top-child,
10331 window-left-child, window-next-sibling and window-prev-sibling
10332 respectively.
d615d6d2
MR
10333 (resize-window-reset): Rename to window-resize-reset.
10334 (resize-window-reset-1): Rename to window-resize-reset-1.
10335 (resize-window): Rename to window-resize.
10336 (window-min-height, window-min-width)
10337 (resize-mini-window, resize-this-window, resize-root-window)
10338 (resize-root-window-vertically, adjust-window-trailing-edge)
10339 (enlarge-window, shrink-window, maximize-window)
10340 (minimize-window, delete-window, quit-restore-window)
10341 (split-window, balance-windows, balance-windows-area-adjust)
10342 (balance-windows-area, window-state-put-2)
10343 (display-buffer-even-window-sizes, display-buffer-set-height)
10344 (display-buffer-set-width, set-window-text-height)
10345 (fit-window-to-buffer): Rename all "resize-window" prefixed
10346 calls to use the "window-resize" prefix convention.
10347 (display-buffer-alist): Fix symbol for label specifier.
10348 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10349 corresponding specifier.
10350 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10351
b6458526
VB
103522011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10353
10354 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10355 convention.
10356 (ses-call-printer): Does not pass an empty string to formatter when the
10357 cell is empty to keep from barking printer Calc math-format-value.
10358
d31fd9ac
RS
103592011-06-27 Richard Stallman <rms@gnu.org>
10360
43d5bf84
RS
10361 * battery.el (battery-mode-line-limit): New variable.
10362 (battery-update): Handle it.
10363
d31fd9ac
RS
10364 * mail/rmailmm.el (rmail-mime-process-multipart):
10365 Handle truncated messages.
10366
819a6054
GM
103672011-06-27 Glenn Morris <rgm@gnu.org>
10368
10369 * progmodes/flymake.el (flymake-err-line-patterns):
10370 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10371
cedc73f2
VB
103722011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10373
819a6054 10374 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10375 (ses--clean-!, ses--clean-_): New functions.
10376 (ses-range): Add configurability of readout order, and conversion
10377 to Calc vector.
10378
5e5d49b6
VB
10379 * ses.el (ses-repair-cell-reference-all): New function.
10380 (ses-cell-symbol): Set macro as safe, so that it can be used in
10381 formulas.
10382
56e6cc31 10383 * ses.el: Update cycle detection algorithm.
90ca8b49 10384 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10385 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10386 (ses-set-localvars): New function.
10387 (ses-make-cell): Add property-list as a cell element.
10388 (ses-cell-property-get-fun, ses-cell-property-get)
10389 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10390 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10391 New functions.
90ca8b49
VB
10392 (ses-cell-property-set, ses-cell-property-pop)
10393 (ses-cell-property-get-handle): New macro.
10394 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10395 New aliases, used for code readability.
10396 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10397 cycle detection.
10398 (ses-self-reference-early-detection): New defcustom.
fac916bf 10399 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10400 (ses-mode): Use ses-set-localvars.
10401 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10402 before lauching the update processing.
10403 (ses-initialize-Dijkstra-attempt): New function.
10404 (ses-recalculate-cell): Update for cycle detection based on
10405 Dijkstra algorithm.
10406
2bb63e81
VB
10407 * ses.el: Fix commenting and indenting convention.
10408
c9d29fb8
SM
104092011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10410
10411 * bs.el (bs-cycle-next): Complete last change.
10412
d8e4b68b
JB
104132011-06-27 Drew Adams <drew.adams@oracle.com>
10414
10415 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10416
40098786
LMI
104172011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10418
c9d29fb8
SM
10419 * net/network-stream.el (network-stream-open-starttls):
10420 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10421 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10422
40098786
LMI
10423 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10424 to binary to possibly avoid line encoding issues on Windows (among
10425 other things).
10426
468d09d4
LMI
104272011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10428
10429 * net/network-stream.el (open-network-stream): Return an :error
10430 saying what the problem was, if possible.
10431
10432 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10433 server.
10434
10435 * net/network-stream.el (network-stream-open-starttls): If we
10436 wanted to use STARTTLS, and the server offered it, but we weren't
10437 able to because we had no STARTTLS support, then close the connection.
10438 (open-network-stream): Return an :error element, if present.
10439
16f07dd7
CY
104402011-06-26 Chong Yidong <cyd@stupidchicken.com>
10441
88821ca0
CY
10442 * hl-line.el (hl-line-sticky-flag): Doc fix.
10443 (global-hl-line-sticky-flag): New option (Bug#8323).
10444 (global-hl-line-highlight): Obey it.
10445
16f07dd7
CY
10446 * vc/vc.el (vc-revert-show-diff): Default to t.
10447
6b5ccddf
KM
104482011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10449
c9d29fb8
SM
10450 * allout-widgets.el (allout-widgets-post-command-business):
10451 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10452 undecorated when an isearch is continued past, and isearch
10453 automatically collapses them. This leads to "widget leaks", where
10454 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10455 hidden widgets can slow down cursor travel, substantially.
10456 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10457 so we're doing without this nicety.
10458
10459 (allout-widgets-tally-string): Don't try to do a hash-table-count
10460 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10461 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10462 *Messages* when allout-widgets-maintain-tally is t.
10463
355f2e07
MR
104642011-06-26 Martin Rudalics <rudalics@gmx.at>
10465
10466 * window.el (display-buffer-normalize-argument): Rename to
10467 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10468 LABEL argument. Respect special-display-function when popping up
10469 a new frame. Fix code searching for a window showing the buffer
10470 on another frame.
c9d29fb8
SM
10471 (display-buffer-normalize-specifiers):
10472 Call display-buffer-normalize-arguments.
355f2e07
MR
10473 (display-buffer-in-window): Don't undedicate the window if its
10474 buffer remains the same.
10475 Reported by Drew Adams <drew.adams@oracle.com>.
10476 (display-buffer-alist): Add choice for same-window macro
10477 specfier.
10478 (display-buffer): Mention special meaning of LABEL argument in
10479 doc-string. Fix quoting. Don't pop up a new frame even as
10480 fallback.
10481
7ca8fc42
JB
104822011-06-26 Juanma Barranquero <lekktu@gmail.com>
10483
10484 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10485 avoid deleting the current window in some cases (bug#8911).
10486
bc312254
AS
104872011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10488
10489 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10490 (Bug#8934)
10491
2db18f3f
LMI
104922011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10493
c9d29fb8
SM
10494 * net/network-stream.el (network-stream-open-starttls):
10495 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10496 (network-stream-open-tls): Ditto.
10497
6302e0d3
LL
104982011-06-26 Leo Liu <sdl.web@gmail.com>
10499
10500 * register.el (registerv): New struct.
10501 (registerv-make): New function.
c9d29fb8
SM
10502 (jump-to-register, describe-register-1, insert-register):
10503 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10504 struct. (Bug#8415)
10505
5fdd4046
CY
105062011-06-26 Chong Yidong <cyd@stupidchicken.com>
10507
2afef60a
CY
10508 * vc/vc.el (vc-revert-show-diff): New defcustom.
10509 (vc-diff-internal): New arg specifying diff buffer.
10510 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10511 reuse an existing *vc-diff* buffer (Bug#8927).
10512
5fdd4046
CY
10513 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10514
e93db24a
GM
105152011-06-26 Glenn Morris <rgm@gnu.org>
10516
10517 * progmodes/f90.el (f90-critical-indent): New option.
10518 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10519 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10520 (f90-mode): Doc fix.
10521 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10522 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10523 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10524 (f90-match-end): Handle block, critical.
10525
eefff499
GM
105262011-06-25 Glenn Morris <rgm@gnu.org>
10527
f6ba4cc9
GM
10528 * calendar/diary-lib.el (diary-included-files): Doc fix.
10529 (diary-include-files): New function, extracted from
10530 diary-include-other-diary-files and diary-mark-included-diary-files.
10531 (diary-include-other-diary-files, diary-mark-included-diary-files):
10532 Just call diary-include-files.
10533 (diary-mark-entries): Reset diary-included-files on first call.
10534
16712304
GM
10535 * calendar/diary-lib.el (diary-mark-entries)
10536 (diary-mark-included-diary-files):
10537 Visit included diary-files in temp buffers.
10538
5d8e0d43
GM
10539 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10540 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10541 (f90-start-block-re, f90-imenu-generic-expression)
10542 (f90-looking-at-program-block-start, f90-no-block-limit):
10543 Add support for submodules.
10544
ccf7a5d5
GM
10545 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10546 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10547
11fdef7d 105482011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10549
10550 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10551 buffer-file-type before setting its value, to avoid disastrous
eefff499 10552 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10553
74f53697
JB
105542011-06-25 Juanma Barranquero <lekktu@gmail.com>
10555
10556 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10557
10558 * ses.el (ses-unload-function):
10559 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10560
10561 * proced.el (proced-unload-function):
10562 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10563
18a4ce5e
AR
105642011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10565
10566 * server.el (server-create-window-system-frame): Add parameters arg.
10567 (server-process-filter): Doc fix. Handle frame-parameters.
10568
519d22cc
JB
105692011-06-25 Juanma Barranquero <lekktu@gmail.com>
10570
10571 Fix bug#8730, bug#8781.
10572
10573 * loadhist.el (unload--set-major-mode): New function.
10574 (unload-feature): Use it.
10575
10576 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10577 (python-unload-function): New function.
10578
c206f5b0
SM
105792011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10582
f9ad64f3
GS
105832011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10584
10585 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10586 the candidates list.
10587
7d0da90e
JB
105882011-06-24 Juanma Barranquero <lekktu@gmail.com>
10589
10590 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10591
14b4e83d
RS
105922011-06-23 Richard Stallman <rms@gnu.org>
10593
10594 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10595 (rmail-variables): Set next-error-move-function.
10596 (rmail-what-message): Take argument POS.
10597 (rmail-next-error-move): New function.
10598
273d2baf
SM
105992011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10600
10601 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10602 messages for adjacent non-terminals.
10603
56c2cc9a
RS
106042011-06-23 Richard Stallman <rms@gnu.org>
10605
10606 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10607 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10608 (rmail-start-mail): Don't specify use of rmail-mail-return;
10609 that's done by mail-bury now.
10610 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10611
d59eb518
MA
106122011-06-23 Michael Albinus <michael.albinus@gmx.de>
10613
10614 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10615 SIZE is a number.
10616
02cfc6d6
MR
106172011-06-23 Martin Rudalics <rudalics@gmx.at>
10618
10619 * window.el (get-lru-window, get-mru-window)
10620 (get-largest-window): Never return a minibuffer window.
10621 (display-buffer-pop-up-window): Fix a bug that could lead to
10622 reusing the minibuffer window.
10623 (display-buffer): Pass original specifier argument to
10624 display-buffer-function instead of the normalized one.
10625 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10626
4e323265
LL
106272011-06-22 Leo Liu <sdl.web@gmail.com>
10628
10629 * minibuffer.el (completing-read-function)
10630 (completing-read-default): Move from minibuf.c
10631
7a70468f
RS
106322011-06-22 Richard Stallman <rms@gnu.org>
10633
50718fc2
RS
10634 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10635 to Rmail even if not started by a special Rmail command.
10636
7a70468f
RS
10637 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10638 Copy the buffer currently showing just one message.
10639
297dde5a
RW
106402011-06-22 Roland Winkler <winkler@gnu.org>
10641
10642 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10643 (bibtex-clean-entry): First delete the old key so that a
10644 customized algorithm for generating the new key does not get
10645 confused by the old key.
10646 (bibtex-url): Obey regexp of first step.
10647 (bibtex-search-entries): Do not use add-to-list with local
10648 list-var.
10649
97bb1093
LMI
106502011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651
10652 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10653 stored a user name, then query for the password first, instead of
10654 waiting for SMTP to give an error message and the trying again.
10655
1c0f1a19
JD
106562011-06-22 Lawrence Mitchell <wence@gmx.li>
10657
10658 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10659 BUFFER in call-process.
10660
396f7c9d
LMI
106612011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10662
10663 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10664 QUIT twice.
ddb7ffee
LMI
10665 (smtpmail-try-auth-methods): Require user name and password from
10666 auth-source.
396f7c9d 10667
8998d1b3
MR
106682011-06-22 Martin Rudalics <rudalics@gmx.at>
10669
10670 * window.el (display-buffer-default-specifiers)
10671 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10672 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10673 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10674
10675 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10676 (special-display-frame-alist, special-display-popup-frame):
10677 Remove duplicate declarations. These are now in window.el.
10678
4ea31e07
LMI
106792011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10680
c9d29fb8
SM
10681 * mail/smtpmail.el (smtpmail-via-smtp):
10682 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10683 server supports it. SMTP servers that support STARTTLS commonly
10684 require it.
10685
10686 * net/network-stream.el (network-stream-open-starttls): Support
10687 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10688 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10689
95f41d9a
LMI
10690 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10691 upgrades with `open-network-stream', and rely solely on
10692 auth-source for all credentials. Big changes throughout the file,
10693 but in particular:
c9d29fb8
SM
10694 (smtpmail-auth-credentials): Remove.
10695 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10696 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10697 MAIL FROM, too.
95f41d9a 10698
c9d29fb8
SM
10699 * net/network-stream.el (network-stream-open-starttls):
10700 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10701 STARTTLS.
10702 (auth-source): Require.
10703 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10704 (network-stream-certificate): Change cert-cert to cert and
10705 cert-key to key.
4ea31e07 10706
065ec2c7
MA
107072011-06-21 Michael Albinus <michael.albinus@gmx.de>
10708
10709 * net/tramp-cache.el (top): Don't load the persistency file when
10710 "emacs -Q" has been called.
10711
cd93b359
DR
107122011-06-21 Tim Harper <timcharper@gmail.com>
10713
d8e4b68b
JB
10714 * term/ns-win.el (ns-initialize-window-system):
10715 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10716 resource to NO as it is not yet supported by the NS port.
10717
ae9c0411
JB
107182011-06-21 Juanma Barranquero <lekktu@gmail.com>
10719
10720 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10721 (list-dynamic-libraries): ...not here.
10722
7f3f739f
LL
107232011-06-21 Leo Liu <sdl.web@gmail.com>
10724
10725 * subr.el (sha1): Implement sha1 using secure-hash.
10726
327c8fb1
MR
107272011-06-21 Martin Rudalics <rudalics@gmx.at>
10728
10729 * window.el (display-buffer-alist): In default value do not
10730 enforce searching a window on any but the selected frame.
10731 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10732 (display-buffer-select-window): Remove function.
10733 (display-buffer-in-window): When a window on another frame gets
10734 reused, do not select it any more but just raise its frame if
10735 necessary (Bug#8851) and (Bug#8856).
10736 (display-buffer-normalize-options): Handle pop-up-frames related
10737 options more faithfully.
10738 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10739 window if it is on another frame.
c9d29fb8
SM
10740 (display-buffer-alist, display-buffer-default-specifiers):
10741 Don't make new frame unsplittable by default.
9e9de014
MR
10742 (display-buffer-normalize-argument): Fix doc-string typo and use
10743 'same-frame-other-window instead of 'other-window when associating
10744 with display-buffer-macro-specifiers.
327c8fb1 10745
7cf3f556
VB
107462011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10747
10748 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10749 New functions.
10750 (5x5-mode-map, 5x5-mode-menu): Bind them.
10751 (5x5-draw-grid): Tweak the solver's rendering.
10752
60a406cf
SM
107532011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10754
10755 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10756 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10757
d8e4b68b 107582011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10759
10760 * menu-bar.el: Use function variable instead of switch-to-buffer.
10761 (menu-bar-select-buffer-function): New variable.
60a406cf 10762 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10763
478d6f95
SM
107642011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10767 variable's status.
10768
ca530739
JD
107692011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10770
10771 * x-dnd.el (x-dnd-version-from-flags)
10772 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10773 and long as number (Bug#8899).
10774 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10775
bcd70d97
SM
107762011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10777
60a406cf 10778 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10779 (completion-try-completion, completion-all-completions): Compute the
10780 metadata argument if it's missing; make it optional (bug#8795).
10781
60a406cf 10782 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10783 (widget-complete): Use new :completion-function property.
10784 (widget-completions-at-point): New function.
10785 (default): Use :completion-function instead of :complete.
60a406cf
SM
10786 (widget-default-completions): Rename from widget-default-complete;
10787 Rewrite.
bcd70d97
SM
10788 (widget-string-complete, widget-file-complete, widget-color-complete):
10789 Remove functions.
10790 (file, symbol, function, variable, coding-system, color):
10791 * international/mule-cmds.el (default-input-method, charset)
10792 (language-info-custom-alist):
10793 * cus-edit.el (face): Use new property :completions.
10794
10795 * progmodes/pascal.el (pascal-completions-at-point): New function.
10796 (pascal-mode): Use it.
10797 (pascal-mode-map): Use completion-at-point.
10798 (pascal-toggle-completions): Make obsolete.
10799 (pascal-complete-word, pascal-show-completions):
10800 * progmodes/octave-mod.el (octave-complete-symbol):
10801 Redefine as obsolete alias.
10802 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10803 Signal absence of completion info for old Octave,
10804 (inferior-octave-complete): Redefine as obsolete alias.
10805 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10806 (meta-completions-at-point): Rename from meta-complete-symbol and
10807 adapt it for use on completion-at-point-functions.
10808 (meta-common-mode): Use it.
10809 (meta-looking-at-backward, meta-match-buffer): Remove.
10810 (meta-complete-symbol): Redefine as obsolete alias.
10811 (meta-common-mode-map): Use completion-at-point.
10812 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10813 (makefile-mode-map): Use completion-at-point.
10814 (makefile-completions-at-point): Rename from makefile-complete and
10815 adapt it for use on completion-at-point-functions.
10816 (makefile-mode): Use it.
10817 (makefile-complete): Redefine as obsolete alias.
10818
aebf69c8
DD
108192011-06-20 Deniz Dogan <deniz@dogan.se>
10820
10821 * net/rcirc.el: Delete trailing whitespaces once and for all.
10822
bfbbb27d
DC
108232011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10824
10825 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10826
d264a46b
CY
108272011-06-19 Chong Yidong <cyd@stupidchicken.com>
10828
4ca009e5
CY
10829 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10830
d264a46b
CY
10831 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10832
fbf5b3ce
MR
108332011-06-19 Martin Rudalics <rudalics@gmx.at>
10834
10835 * window.el (display-buffer-other-window-means-other-frame):
10836 Call display-buffer-normalize-alist.
10837 (display-buffer-normalize-specifiers-1): Rename to
10838 display-buffer-normalize-argument. New argument other-frame.
10839 Rewrite.
10840 (display-buffer-normalize-specifiers-2): Rename to
10841 display-buffer-normalize-options.
10842 (display-buffer-normalize-alist-1): New function.
10843 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10844 display-buffer-normalize-alist.
10845 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10846 (display-buffer-normalize-options-inhibit): New variable.
10847 (display-buffer-normalize-specifiers): Rewrite calling
10848 display-buffer-normalize-alist,
10849 display-buffer-normalize-argument, and
10850 display-buffer-normalize-options. Don't call the latter if
10851 display-buffer-normalize-options-inhibit is non-nil.
10852 (frame-auto-delete): New option.
10853 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10854 (window-list-no-nils, window-state-ignored-parameters)
10855 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10856 (window-state-put-1, window-state-put-2, window-state-put):
10857 New functions.
9a028c23
MR
10858 (display-buffer-normalize-options): Move special-display-p group
10859 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10860
6d10d800
CY
108612011-06-18 Chong Yidong <cyd@stupidchicken.com>
10862
6420d28b
CY
10863 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10864 groups (Bug#8776).
10865 (rx-submatch-n): New function.
10866 (rx): Document it.
10867
ddb8b596
CY
10868 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10869 (Bug#8768).
10870
10871 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10872
77080289
CY
10873 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10874
61dfb316
CY
10875 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10876 anytime existing face settings are present (Bug#8889).
10877
6d10d800
CY
10878 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10879 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10880 Remove unused argument.
10881
be3fb2b8
MR
108822011-06-18 Martin Rudalics <rudalics@gmx.at>
10883
bcd70d97
SM
10884 * window.el (display-buffer-default-specifiers):
10885 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10886 pop-up-window-min-width, and another reuse-window specifier
10887 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10888 (display-buffer-normalize-specifiers-2):
10889 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10890 pop-up-windows is unset. Add a reuse-window specifier for the
10891 case popping up a new window fails.
10892 (special-display-popup-frame): Remove double quoting.
28dec25a 10893 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10894
1c6d8c76
SM
108952011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10898 according to comint-completion-addsuffix.
10899
10900 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10901 (pcomplete-suffix-list): Mark as obsolete.
10902 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10903 pcomplete-seen in the closure.
10904 (pcomplete-comint-setup): Setup completion-at-point as well.
10905 (pcomplete--entries): New function.
10906 (pcomplete--env-regexp): New var.
10907 (pcomplete-entries): Rewrite to work with partial-completion and
10908 without relying on pcomplete-suffix-list.
10909 (pcomplete-pare-list): Remove, unused.
10910
25aef8b8
MR
109112011-06-17 Martin Rudalics <rudalics@gmx.at>
10912
10913 * window.el (display-buffer-alist): Set pop-up-window-min-height
10914 and pop-up-window-min-width in default value. Reported by
10915 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10916 other-window-means-other-frame.
10917 (display-buffer-macro-specifiers): Comment out entry for
10918 other-window specifier.
10919 (display-buffer-other-window-means-other-frame): New function.
10920 (display-buffer-normalize-specifiers-1): New arguments
10921 buffer-name and label. Treat other-window case specially.
10922 (display-buffer-normalize-specifiers-2): Treat other-window case
10923 specially.
10924 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10925 (display-buffer-normalize-specifiers):
10926 Call display-buffer-normalize-specifiers-3.
25aef8b8 10927
dbad4f69
MR
109282011-06-17 Martin Rudalics <rudalics@gmx.at>
10929
10930 * window.el (same-window-p): Fix two typos introduced when
10931 adding with-no-warnings.
d1067961
MR
10932 (display-buffer-normalize-specifiers-1): Don't check
10933 pop-up-frames for 'unset initialization.
10934 (display-buffer-normalize-specifiers-2): Major rewrite using
10935 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10936 (pop-up-frames, display-buffer-reuse-frames)
10937 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10938 Suggested by David Engster <deng@randomsample.de>.
10939 (even-window-heights): Initialize to 'unset.
10940 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10941 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10942 other window case.
dbad4f69 10943
9b9c9e3a
MR
109442011-06-16 Martin Rudalics <rudalics@gmx.at>
10945
bcd70d97
SM
10946 * window.el (display-buffer-normalize-specifiers-1):
10947 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10948 second argument of display-buffer (Bug#8865).
981d5c09
MR
10949 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10950 (switch-to-buffer-other-window-same-frame)
10951 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10952 Adams (Bug#8875).
9c2755e9
MR
10953 (display-buffer): Don't check noninteractive when calling
10954 display-buffer-pop-up-frame.
10955 (display-buffer-pop-up-frame): Never pop up a frame in
10956 noninteractive mode (Bug#8857).
67222e1d
MR
10957 (enlarge-window, shrink-window): Don't report an error when the
10958 window can't be resized as requested (Bug#8862).
9b9c9e3a 10959
2b75be67
SM
109602011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10961
9ffdd3ba
SM
10962 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10963
cb581a67
SM
10964 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10965
2b75be67
SM
10966 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10967
8c0e3589
AM
109682011-06-15 Alan Mackenzie <acm@muc.de>
10969
cb581a67
SM
10970 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10971 for declarators, disable knr checking to speed up for normal files.
10972 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10973
b96e6cde
LMI
109742011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10975
4bba86e6
LMI
10976 * net/network-stream.el (open-network-stream): Add the keyword
10977 :always-query-capabilities for the case where you want to force a
10978 `plain' network connection, but the protocol still requires the
10979 capabilitiy command (i.e., SMTP and EHLO).
10980
2b75be67 10981 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10982 consistency with other `-live-p' functions.
10983
efdcdbf8
SM
109842011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * window.el (same-window-buffer-names, same-window-regexps)
10987 (special-display-frame-alist, special-display-popup-frame)
10988 (special-display-function, special-display-buffer-names)
10989 (special-display-regexps, pop-up-frame-alist)
10990 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10991 (pop-up-windows, split-window-preferred-function)
10992 (split-height-threshold, split-width-threshold, even-window-heights)
10993 (display-buffer-mark-dedicated): Don't encourage the use of
10994 display-buffer-alist from Elisp code.
10995
c5cde042
DN
109962011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10997
10998 * progmodes/python.el (python-mode): Derive from prog-mode.
10999 * progmodes/ps-mode.el (ps-mode):
11000 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11001 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11002 * progmodes/ld-script.el (ld-script-mode): Likewise.
11003
baa1c9ab
MR
110042011-06-15 Martin Rudalics <rudalics@gmx.at>
11005
11006 * window.el (display-buffer-alist): Trim default value to avoid
11007 popping up a new frame (Bug#8857) or reusing an arbitrary window
11008 on another frame.
11009 (display-buffer): Do not fall back on popping up a new frame in
11010 batch mode (Bug#8857).
11011
c5dd5a51
CY
110122011-06-14 Chong Yidong <cyd@stupidchicken.com>
11013
11014 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11015 (custom-theme-summary): New function.
11016 (customize-themes): Use it.
11017
d647b7c4
GM
110182011-06-13 Glenn Morris <rgm@gnu.org>
11019
11020 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11021
9481c002
MR
110222011-06-13 Martin Rudalics <rudalics@gmx.at>
11023
357f93d2
MR
11024 * help.el (help-window): Remove variable.
11025 (help-window-point-marker, temp-buffer-max-height)
11026 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11027 (help-print-return-message): Don't set help-window.
11028 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11029 (help-window-setup-finish): Remove.
11030 (help-window-display-message, help-window-setup)
11031 (with-help-window): Major rewrite based on new
11032 display-buffer-window variable.
11033
11034 * help-mode.el (help-mode-finish): Remove help-window related
11035 code.
11036
11037 * view.el (view-exits-all-viewing-windows): Remove reference to
11038 view-return-to-alist in doc-string.
11039 (view-return-to-alist): Make obsolete.
11040 (view-buffer): Call pop-to-buffer-same-window and remove
11041 undo-window code.
11042 (view-buffer-other-window): Call pop-to-buffer-other-window and
11043 simplify code. Ignore second argument.
11044 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11045 simplify code. Ignore second argument.
11046 (view-return-to-alist-update): Make obsolete.
11047 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11048 Rewrite using quit-restore window parameters.
2b75be67
SM
11049 (view-mode-exit): Rename second argument to EXIT-ONLY.
11050 Rewrite using quit-restore-window.
357f93d2
MR
11051 (View-exit, View-exit-and-edit, View-leave, View-quit)
11052 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11053 appropriate arguments.
11054 (view-end-message): Use quit-restore window parameter.
11055
9481c002
MR
11056 * window.el (display-buffer-function): Rewrite doc-string.
11057 (display-buffer-window, display-buffer-alist): New variables.
11058 (display-buffer-split-specifiers)
11059 (display-buffer-side-specifiers)
11060 (display-buffer-macro-specifiers): New constants.
11061 (display-buffer-even-window-sizes, display-buffer-set-height)
11062 (display-buffer-set-width, display-buffer-select-window)
11063 (display-buffer-in-window, display-buffer-reuse-window)
11064 (display-buffer-split-window-1, display-buffer-split-window)
11065 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11066 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11067 (display-buffer-in-side-window, normalize-buffer-to-display)
11068 (display-buffer-normalize-specifiers-1)
11069 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11070 (display-buffer-normalize-specifiers, display-buffer-frame):
11071 New functions.
9481c002
MR
11072 (display-buffer): Major rewrite.
11073 (display-buffer-other-window, display-buffer-other-frame)
11074 (pop-to-buffer, switch-to-buffer-other-window)
11075 (switch-to-buffer-other-frame): Rewrite.
11076 (display-buffer-same-window, display-buffer-same-frame)
11077 (display-buffer-same-frame-other-window)
11078 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11079 (pop-to-buffer-other-window)
11080 (pop-to-buffer-same-frame-other-window)
11081 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11082 (switch-to-buffer-other-window-same-frame): New functions.
11083 (same-window-p, special-display-p): Rewrite disabling warnings.
11084 Make obsolete.
11085 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11086 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11087 Make obsolete
11088 (same-window-buffer-names, same-window-regexps)
11089 (special-display-frame-alist, special-display-popup-frame)
11090 (special-display-function, special-display-buffer-names)
11091 (special-display-regexps, pop-up-frame-alist)
11092 (pop-up-frame-function, split-window-preferred-function)
11093 (split-height-threshold, split-width-threshold)
11094 (even-window-heights): Make obsolete.
11095
9db51aca
GM
110962011-06-12 Glenn Morris <rgm@gnu.org>
11097
11098 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11099 Misc simplifications.
9db51aca 11100
39cffb44
MR
111012011-06-12 Martin Rudalics <rudalics@gmx.at>
11102
11103 * window.el (window-safely-shrinkable-p): Restore function which
11104 was inadvertently removed in change from 2011-06-11. Declare as
11105 obsolete.
11106
2b75be67
SM
11107 * calendar/calendar.el (calendar-generate-window):
11108 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11109 window-safely-shrinkable-p.
11110
a8955be7
GM
111112011-06-12 Glenn Morris <rgm@gnu.org>
11112
11113 * progmodes/fortran.el (fortran-mode-syntax-table):
11114 * progmodes/f90.el (f90-mode-syntax-table):
11115 Set % to punctuation. (Bug#8820)
11116 (f90-find-tag-default): Remove, no longer needed.
11117
f0d4059d
DC
111182011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11119
11120 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11121
1100a63c
CY
111222011-06-11 Chong Yidong <cyd@stupidchicken.com>
11123
11124 * image.el (image-animated-p): Return animation delay in seconds.
11125 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11126 (image-animate-timeout): Remove DELAY argument. Don't assume
11127 every subimage has the same delay; get it from image-animated-p.
11128 (image-animate): Caller changed.
11129
def722bf
MA
111302011-06-11 Michael Albinus <michael.albinus@gmx.de>
11131
11132 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11133 to ignored backtrace functions.
11134
0a2bb1a9
GM
111352011-06-11 Glenn Morris <rgm@gnu.org>
11136
11137 * calendar/appt.el (appt-disp-window-function): Doc fix.
11138 (appt-check): Handle overlapping appointments. (Bug#8337)
11139
6198ccd0
MR
111402011-06-11 Martin Rudalics <rudalics@gmx.at>
11141
11142 * window.el (window-tree-1, window-tree): New functions, moving
11143 the latter to window.el.
11144 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11145 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11146 (bw-refresh-edges): Remove.
11147 (balance-windows-1, balance-windows-2): New functions.
11148 (balance-windows): Rewrite in terms of window tree functions,
11149 balance-windows-1 and balance-windows-2.
11150 (bw-adjust-window): Remove.
11151 (balance-windows-area-adjust): New function with functionality of
11152 bw-adjust-window but using resize-window.
2b75be67
SM
11153 (set-window-text-height): Rewrite doc-string.
11154 Use normalize-live-window and resize-window.
11155 (enlarge-window-horizontally, shrink-window-horizontally):
11156 Rename argument to DELTA.
6198ccd0
MR
11157 (window-buffer-height): New function.
11158 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11159 Rewrite using new window resize routines.
2b75be67
SM
11160 (kill-buffer-and-window, mouse-autoselect-window-select):
11161 Use ignore-errors instead of condition-case.
6198ccd0
MR
11162 (quit-window): Call delete-frame instead of delete-windows-on
11163 for the only buffer on frame.
11164
9397e56f
MR
111652011-06-10 Martin Rudalics <rudalics@gmx.at>
11166
11167 * loadup.el (top-level): Load window before files for the sake
11168 of replace-buffer-in-windows.
11169
11170 * files.el (read-buffer-to-switch)
11171 (switch-to-buffer-other-window)
2b75be67
SM
11172 (switch-to-buffer-other-frame, display-buffer-other-frame):
11173 Move to window.el.
9397e56f
MR
11174
11175 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11176 (previous-buffer): Move to window.el.
11177
11178 * bindings.el (unbury-buffer): Move to window.el.
11179
11180 * window.el (delete-other-windows-vertically): Move after
11181 definition of delete-other-windows.
11182 (other-window, delete-windows-on, replace-buffer-in-windows):
11183 Move here from window.c.
11184 (record-window-buffer, unrecord-window-buffer)
11185 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11186 (switch-to-next-buffer): New functions.
11187 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11188 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11189 (previous-buffer): Move here from simple.el.
11190 Call switch-to-prev-buffer.
9397e56f
MR
11191 (bury-buffer): Move here from buffer.c. Switch to previous
11192 buffer when window cannot be deleted.
11193 (unbury-buffer): Move here from bindings.el.
11194 (ctl-x-map): Move binding for other-window from window.c to
11195 here.
11196 (read-buffer-to-switch, switch-to-buffer-other-window)
11197 (switch-to-buffer-other-frame): Move here from files.el.
11198 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11199 (switch-to-buffer): Move here from buffer.c.
11200 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11201
562dd5e9
MR
112022011-06-10 Martin Rudalics <rudalics@gmx.at>
11203
11204 * window.el (window-min-height, window-min-width): Move here
11205 from window.c. Add defcustoms and rewrite doc-strings.
11206 (resize-mini-window, resize-window): New functions.
11207 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11208 Move here from window.c.
11209 (maximize-window, minimize-window): New functions.
11210 (delete-window, delete-other-windows, split-window): Move here
11211 from window.c.
11212 (window-split-min-size): New function.
11213 (split-window-keep-point): Mention split-window-above-each-other
11214 instead of split-window-vertically.
2b75be67 11215 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11216 Rename split-window-vertically to split-window-above-each-other
11217 and provide defalias for old definition.
11218 (split-window-side-by-side, split-window-horizontally):
11219 Rename split-window-horizontally to split-window-side-by-side
11220 and provide defalias for the old definition.
562dd5e9
MR
11221 (ctl-x-map): Move bindings for delete-window,
11222 delete-other-windows and enlarge-window here from window.c.
11223 Replace bindings for split-window-vertically and
11224 split-window-horizontally by bindings for
11225 split-window-above-each-other and split-window-side-by-side.
11226
11227 * cus-start.el (all): Remove entries for window-min-height and
11228 window-min-width. Add entries for window-splits and
11229 window-nest.
11230
f0da764a
GM
112312011-06-09 Glenn Morris <rgm@gnu.org>
11232
80675c21
GM
11233 * calendar/appt.el (appt-mode-line): New function.
11234 (appt-check, appt-disp-window): Use it.
11235
f0da764a
GM
11236 * files.el (hack-one-local-variable-eval-safep):
11237 Allow minor-modes with explicit +/-1 arguments.
11238
59f623b7
TZ
112392011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11240
11241 * term/xterm.el (xterm): Add defgroup.
11242 (xterm-extra-capabilities): Add defcustom to supply known xterm
11243 capabilities, skip querying them, or query them (default).
11244 (terminal-init-xterm): Use it.
11245 (terminal-init-xterm-modify-other-keys): New function to set up
11246 modifyOtherKeys support to simplify `terminal-init-xterm'.
11247
9aab8e0d
MR
112482011-06-09 Martin Rudalics <rudalics@gmx.at>
11249
11250 * window.el (resize-window-reset, resize-window-reset-1)
11251 (resize-subwindows-skip-p, resize-subwindows-normal)
11252 (resize-subwindows, resize-other-windows, resize-this-window)
11253 (resize-root-window, resize-root-window-vertically)
11254 (window-deletable-p, window-or-subwindow-p)
11255 (frame-root-window-p): New functions.
11256
e8b08aee
GM
112572011-06-09 Glenn Morris <rgm@gnu.org>
11258
11259 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11260 (ange-ftp-get-files): Use it.
11261
254c37a5
AK
112622011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11263
11264 * mail/sendmail.el (mail-recover-1, mail-recover):
11265 * files.el (recover-file, recover-session):
11266 Handle dired-listing-switches not being just a single short option.
11267
35d7dbd3
GM
112682011-06-09 Glenn Morris <rgm@gnu.org>
11269
11270 * calendar/appt.el (appt-display-message, appt-disp-window):
11271 Handle lists of appointments.
11272
387522b2
MR
112732011-06-08 Martin Rudalics <rudalics@gmx.at>
11274
2b75be67
SM
11275 * window.el (one-window-p): Move down in code.
11276 Rewrite doc-string.
11277 (window-current-scroll-bars): Rewrite doc-string.
11278 Normalize live window argument.
387522b2
MR
11279 (walk-windows, get-window-with-predicate, count-windows):
11280 Rewrite doc-string. Use window-list-1.
11281 (window-in-direction-2, window-in-direction, get-mru-window):
11282 New functions.
11283
d8e4b68b 112842011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11285
11286 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11287 Doc fix (Bug#8713).
11288
112892011-06-08 Chong Yidong <cyd@stupidchicken.com>
11290
11291 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11292
112932011-06-08 Juanma Barranquero <lekktu@gmail.com>
11294
11295 * loadhist.el (unload-feature-special-hooks):
11296 Add `comint-output-filter-functions'.
11297
0de12c52
IK
112982011-06-08 Ivan Kanis <gnu@kanis.fr>
11299
11300 * calendar/appt.el (appt-check): Move some initializations into the let.
11301
f3d1777e
MR
113022011-06-08 Martin Rudalics <rudalics@gmx.at>
11303
11304 * window.el (window-height): Defalias to window-total-height.
11305 (window-width): Defalias to window-body-width.
11306
18af70d0
CY
113072011-06-07 Chong Yidong <cyd@stupidchicken.com>
11308
11309 * image-mode.el (image-toggle-animation): New command.
11310 (image-mode-map): Bind it to RET.
11311 (image-mode): Update message.
11312 (image-toggle-display-image): Avoid a spurious cache flush.
11313 (image-transform-rotation): Doc fix.
11314 (image-transform-properties): Return quickly in the normal case.
11315 (image-animate-loop): Rename from image-animate-max-time.
11316
2b75be67 11317 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11318 (create-animated-image): Remove unnecessary function.
11319 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11320 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11321 (image-animate-timer): Use car-safe.
11322 (image-animate-timeout): Rename argument.
11323
190b47e6
MR
113242011-06-07 Martin Rudalics <rudalics@gmx.at>
11325
11326 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11327 window.c. Rename first argument to ALL-FRAMES.
11328 Rephrase doc-strings.
11329 (get-buffer-window-list): Rewrite using window-list-1.
11330 Rephrase doc-string.
a1511caf
MR
11331 (window-safe-min-height, window-safe-min-width): New constants.
11332 (window-size-ignore, window-min-size, window-min-size-1)
11333 (window-sizable, window-sizable-p, window-size-fixed-1)
11334 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11335 (window-max-delta-1, window-max-delta, window-resizable)
11336 (window-resizable-p, window-total-height, window-total-width)
11337 (window-body-width): New functions.
11338 (window-full-height-p, window-full-width-p): Rewrite using
11339 window-total-size.
11340 (window-body-height): Rewrite using window-body-size.
190b47e6 11341
85cc1f11
MR
113422011-06-06 Martin Rudalics <rudalics@gmx.at>
11343
11344 * window.el (window-right, window-left, window-child)
11345 (window-child-count, window-last-child, window-any-p)
11346 (normalize-live-buffer, normalize-live-frame)
11347 (normalize-any-window, normalize-live-window)
11348 (window-iso-combination-p, window-iso-combined-p)
11349 (window-iso-combinations)
11350 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11351 (windows-with-parameter, window-with-parameter)
11352 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11353 (window-atom-check, window-side-check, window-check):
11354 New functions.
85cc1f11
MR
11355 (ignore-window-parameters, window-sides, window-sides-vertical)
11356 (window-sides-slots): New variables.
11357 (window-size-fixed): Move down in code. Minor doc-string fix.
11358
e7156492
AS
113592011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11360
11361 * comint.el (comint-dynamic-complete-as-filename)
11362 (comint-dynamic-complete-filename): Correctly call
11363 completion-in-region.
11364
7e821d0d
DD
113652011-06-05 Deniz Dogan <deniz@dogan.se>
11366
11367 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11368 in last change.
11369
ac09b8a1
DD
113702011-06-05 Deniz Dogan <deniz@dogan.se>
11371
11372 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11373 (rcirc): Use it to prompt for encryption.
11374
34699b85
RW
113752011-06-05 Roland Winkler <winkler@gnu.org>
11376
11377 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11378 (bibtex-search-entries): New command bound to C-c C-a.
11379 (bibtex-display-entries): New function.
11380
004dedd3
RW
113812011-06-05 Roland Winkler <winkler@gnu.org>
11382
11383 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11384 (bibtex-insert-kill): After yanking insert newline if necessary.
11385 (bibtex-initialize): Call bibtex-string-files-init only once.
11386 (bibtex-mode): Do not call easy-menu-add.
11387 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11388 (bibtex-yank): Set arg properly if nil.
11389
022fe7ce
RW
113902011-06-05 Roland Winkler <winkler@gnu.org>
11391
2b75be67
SM
11392 * textmodes/bibtex.el (bibtex-search-entry-globally):
11393 New variable.
022fe7ce
RW
11394 (bibtex-search-entry): Use it.
11395
b7c3692a
RW
113962011-06-05 Roland Winkler <winkler@gnu.org>
11397
11398 * textmodes/bibtex.el (bibtex-entry-format): New option
11399 sort-fields.
11400 (bibtex-format-entry, bibtex-reformat): Honor this option.
11401 (bibtex-parse-entry): Return fields in proper order.
11402
8eda563d
JB
114032011-06-05 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * doc-view.el (doc-view-remove-if): Move computation of result out
11406 of `dolist' to silence misleading lexical-binding warning.
11407
7dbe3dbc
CY
114082011-06-04 Chong Yidong <cyd@stupidchicken.com>
11409
11410 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11411 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11412
0c33dd17
MA
114132011-06-04 Michael Albinus <michael.albinus@gmx.de>
11414
11415 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11416 "SunOS 5.10".
11417
f8f91c2b
MA
114182011-06-04 Michael Albinus <michael.albinus@gmx.de>
11419
11420 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11421 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11422 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11423 (tramp-parse-putty):
11424 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11425 (tramp-completion-function-alist-ssh)
11426 (tramp-completion-function-alist-telnet)
11427 (tramp-completion-function-alist-su)
11428 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11429 cookie.
11430
11431 * net/tramp-ftp.el:
11432 * net/tramp-sh.el:
11433 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11434 load "tramp.el" `tramp-set-completion-function'.
11435
e17d9003
SM
114362011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * shell.el: Require and use pcomplete.
11439 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11440 (shell-completion-vars): Set pcomplete-default-completion-function.
11441
6c4cab03
DD
114422011-06-04 Deniz Dogan <deniz@dogan.se>
11443
11444 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11445 `memq' (Bug#8799).
11446
ea9fafe0
SM
114472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11450
b3e945d3
JB
114512011-06-02 Juanma Barranquero <lekktu@gmail.com>
11452
11453 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11454 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11455 * vc/log-view.el (log-view-beginning-of-defun):
11456 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11457 (smerge-refine-forward, smerge-refine-chopup-region):
11458 Silence warning for unused `dotimes' counter variables.
11459
7d520089
SM
114602011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11461
11462 * net/tramp.el (tramp-with-progress-reporter): Rename from
11463 with-progress-reporter. Use `declare'.
11464 * net/tramp-smb.el:
11465 * net/tramp-sh.el:
11466 * net/tramp-gvfs.el: Update all uses.
11467
a1c2400f
JB
114682011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11469
11470 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11471 buffer isn't killed before making it current.
11472
2403c841
SM
114732011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11474
11475 Silence various byte-compiler warnings.
11476 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11477 `access-type' and new obsolescence format.
11478 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11479 new format.
11480 (byte-compile-check-variable): New `access-type' argument.
11481 Only warn if the access-type is obsolete.
11482 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11483 (byte-compile-variable-set): Adjust callers.
11484 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11485 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11486 setting it as obsolete.
11487 * simple.el (minibuffer-completing-symbol):
11488 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11489 access as obsolete.
11490 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11491 obsolete yet.
11492 * international/quail.el (quail-mouse-choose-completion): Remove unused
11493 code referring to obsolete var.
11494 (quail-choose-completion-string): Remove.
11495 * server.el (server-clients-with, server-kill-buffer-query-function)
11496 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11497 * proced.el (proced-send-signal):
11498 * emacs-lisp/lisp.el (lisp-complete-symbol):
11499 Replace completion-annotate-function with completion-extra-properties.
11500
2462470b
SM
115012011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11502
fb5b2591
SM
11503 * simple.el (goto-line): Use read-number.
11504 (overriding-map-is-bound): Remove.
11505 (saved-overriding-map): Change default.
11506 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11507 Take the map as argument.
11508 (universal-argument, negative-argument, digit-argument): Use it.
11509 (restore-overriding-map): Adjust.
11510 (do-auto-fill): Use fill-forward-paragraph.
11511 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11512
fd6fa53f
SM
11513 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11514 (minibuffer-inactive-mode): New major mode.
11515 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11516 the *Messages* buffer" hack.
11517 (mouse-popup-menubar): Don't burp if the event is a normal key.
11518
2462470b
SM
11519 Miscellaneous tweaks.
11520 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11521 lexical scoping as in subr.el's dolist and dotimes.
11522 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11523 Silence compiler warning.
11524 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11525 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11526 * international/ccl.el (ccl-compile): Trivial simplification.
11527 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11528 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11529 `printflag' argument.
11530 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11531 Purecopy the whole obsolescence data.
11532
108bf785
LL
115332011-06-01 Leo Liu <sdl.web@gmail.com>
11534
11535 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11536 improve doc-string as suggested by Marco Pessotto
11537 <melmothx@gmail.com>.
11538 (rcirc-print): Fix last change.
11539
30a23501
SM
115402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11541
11542 * minibuffer.el (complete-with-action): Return nil for the metadata and
11543 boundaries of non-functional tables.
11544 (completion-table-dynamic): Return nil for the metadata.
11545 (completion-table-with-terminator): Add default case, using
11546 complete-with-action.
11547 (completion--metadata): New function.
11548 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11549 to try and avoid pathological performance problems.
11550 (completion--embedded-envvar-table): Return `category' metadata.
11551
bcd54f83
LMI
115522011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11553
11554 * subr.el (process-alive-p): New tiny convenience function.
11555
e227544d
SM
115562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11557
11558 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11559 content but also its previous major mode.
11560
e8296fdc
HE
115612011-05-31 Helmut Eller <eller.helmut@gmail.com>
11562
4d61f28d 11563 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11564 *Backtrace* buffer when we exit with C-M-c.
11565
620c53a6
SM
115662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * minibuffer.el: Add metadata method to completion tables.
11569 (completion-category-overrides): New defcustom.
11570 (completion-metadata, completion--field-metadata)
11571 (completion-metadata-get, completion--styles)
11572 (completion--cycle-threshold): New functions.
11573 (completion-try-completion, completion-all-completions):
11574 Add `metadata' argument to choose completion-styles.
11575 (completion--do-completion): Use metadata to choose cycling.
11576 (completion-all-sorted-completions): Use metadata for sorting.
11577 Remove :completion-cycle-penalty which is not needed any more.
11578 (completion--try-word-completion): Add `metadata' argument.
11579 (minibuffer-completion-help): Check metadata for annotation function
11580 and sorting.
11581 (completion-file-name-table): Return `category' metadata.
11582 (minibuffer-completing-file-name): Make obsolete.
11583 * simple.el (minibuffer-completing-symbol): Make obsolete.
11584 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11585 completion-try-completion.
11586
1257e755
SM
115872011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11590
3767e706
LL
115912011-05-30 Leo Liu <sdl.web@gmail.com>
11592
11593 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11594 (rcirc-print): Decode all incoming messages (bug#8744).
11595 (rcirc-decode-coding-system): Allow value nil for automatic coding
11596 system detection.
3767e706 11597
d1a5d56a
GM
115982011-06-01 Glenn Morris <rgm@gnu.org>
11599
11600 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11601
e8cbec34
CY
116022011-05-29 Chong Yidong <cyd@stupidchicken.com>
11603
11604 * image.el (image-animate-max-time): Allow nil and t values.
11605 Default to nil.
11606 (create-animated-image): Doc fix.
11607 (image-animate-start): Remove second arg; just use
11608 image-animate-max-time.
11609 (image-animate-timeout): Doc fix. Args changed.
11610
11611 * image-mode.el (image-toggle-display-image): Ensure that the
11612 image spec passed to the animate timer is the same object as in
58179cce 11613 the buffer's display property (Bug#6981).
e8cbec34
CY
11614 (image-transform-properties): Doc fix.
11615
11616 * image.el (image-animate-max-time): Default to nil.
11617
159daf87
MR
116182011-05-29 Martin Rudalics <rudalics@gmx.at>
11619
11620 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11621 entire buffer list (Bug#8184).
11622
d66c4c7c
CY
116232011-05-29 Chong Yidong <cyd@stupidchicken.com>
11624
11625 * image.el (imagemagick-types-inhibit)
11626 (imagemagick-register-types): Doc fix.
11627
80aec780
DD
116282011-05-29 Deniz Dogan <deniz@dogan.se>
11629
11630 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11631 default.
11632
1dd3c2d9
CY
116332011-05-29 Chong Yidong <cyd@stupidchicken.com>
11634
11635 * select.el: Don't perform clipboard-manager saving in hooks;
11636 leave the hooks empty.
11637
60e56523
LL
116382011-05-28 Leo Liu <sdl.web@gmail.com>
11639
11640 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11641 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11642 (occur-edit-mode): New major mode (Bug#8463).
11643 (occur-after-change-function): New function.
11644 (occur-engine): Give Occur tags a read-only property.
11645
2b1e1a22
KR
116462011-05-28 Kevin Ryde <user42@zip.com.au>
11647
11648 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11649
5d344e88
CY
116502011-05-28 Chong Yidong <cyd@stupidchicken.com>
11651
8e6ca83d
CY
11652 * bindings.el (help-echo): Make the initial non-indicator dash
11653 empty on graphical terminals (Bug#7295).
11654
5d344e88
CY
11655 * files.el (auto-mode-alist): Move config rule after the
11656 in-stripping one (Bug#8547).
11657
bfbbace7
CY
11658 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11659
fbeba6e2
CY
11660 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11661 setting (Bug#8740).
11662
60ed8c72
AA
116632011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11664
4ac619f0
AA
11665 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11666 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11667 (Bug#8539).
60ed8c72 11668
23db196e
CY
116692011-05-28 Chong Yidong <cyd@stupidchicken.com>
11670
11671 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11672
5012f24c
DK
116732011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11674
11675 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11676 (hs-hide-block-at-point, hs-find-block-beginning)
11677 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11678 (Bug#8279).
11679
6a639b16
GM
116802011-05-28 Glenn Morris <rgm@gnu.org>
11681
11682 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11683
d43eaf2c
CY
116842011-05-28 Chong Yidong <cyd@stupidchicken.com>
11685
5199bde1
CY
11686 * help-fns.el (describe-function-1): If the function is a derived
11687 major mode, print the parent mode.
11688
d43eaf2c
CY
11689 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11690 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11691
423428a8
SM
116922011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11693
0ff8e1ba 11694 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11695 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11696 * progmodes/etags.el (tags-completion-at-point-function):
11697 * info-look.el (info-lookup-completions-at-point): Mark as
11698 non-exclusive.
11699 (info-complete): Adjust accordingly.
11700
423428a8
SM
11701 * info-look.el: Convert to lexical-binding and completion-at-point.
11702 (info-lookup-completions-at-point): New function.
11703 (info-complete): Use it and completion-in-region.
11704
b74aa22b
DA
117052011-05-28 Drew Adams <drew.adams@oracle.com>
11706
11707 * isearch.el: Let M-e start with point at the first mismatched char.
11708 (isearch-fail-pos): New function.
11709 (isearch-edit-string): Use it.
11710
66e2e71d
DK
117112011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11712
11713 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11714
b1890b0f 117152011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11716
11717 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11718 traversal functions for avl-trees.
11719 (avl-tree--stack): New struct.
11720 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11721 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11722 (avl-tree--do-enter): Add optional `updatefun' arg.
11723 Change return value.
eb95d01d 11724 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11725 (avl-tree--do-delete): Add `test' and `nilflag' args.
11726 Change return value.
eb95d01d
TC
11727 (avl-tree-member): Add optional `nilflag'
11728 (avl-tree-member-p): New function.
11729 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11730 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11731 (avl-tree-stack-empty-p): New functions.
11732
3769ddcf
TC
11733 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11734 avl-tree--del-balance1 and make it work both ways.
11735 (avl-tree--del-balance2): Remove.
11736 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11737 make it work both ways.
11738 (avl-tree--enter-balance2): Remove.
11739 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11740 New macros.
11741 (avl-tree--mapc, avl-tree-map): Add direction argument.
11742
eb95d01d 117432011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11744
11745 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11746
a9f737ee
CY
117472011-05-27 Chong Yidong <cyd@stupidchicken.com>
11748
11749 * select.el: Support clipboard managers with built-in function
11750 x-clipboard-manager-save, via delete-frame-functions and
11751 kill-emacs-hook.
11752 (xselect-convert-to-targets): Add MULTIPLE target to list.
11753 (xselect-convert-to-save-targets): New function.
11754
c92a1e54
KH
117552011-05-27 Kenichi Handa <handa@m17n.org>
11756
11757 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11758 let-binding rfc2047-encode-encoded-words to nil.
11759
e145f188
GM
117602011-05-27 Glenn Morris <rgm@gnu.org>
11761
5ec8a862
GM
11762 * mail/emacsbug.el: Don't require url-util.
11763
4b29d9fb
GM
11764 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11765
e145f188
GM
11766 * files.el (set-auto-mode):
11767 Also respect mode: entries at the end of the file. (Bug#8586)
11768
7d15102b
GM
117692011-05-26 Glenn Morris <rgm@gnu.org>
11770
98f593b8
GM
11771 * files.el (hack-local-variables-prop-line, hack-local-variables):
11772 Downcase mode names, as seems to be traditional.
27b48e63 11773 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11774
7d15102b
GM
11775 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11776 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11777
51d5b4ec
JD
117782011-05-25 Julien Danjou <julien@danjou.info>
11779
11780 * textmodes/rst.el (rst-define-level-faces): Do not define face
11781 symbol if it is already defined.
11782
91513f63
VB
117832011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11784
11785 * play/5x5.el (5x5-new-game, 5x5-randomize):
11786 Reset 5x5-solver-output to nil when a new grid is cast.
11787 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11788 these debugging traces, as defmacro breaks the compiled code.
11789
4d90d6d0
DK
117902011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11791
11792 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11793
e1b90ef6
LL
117942011-05-24 Leo Liu <sdl.web@gmail.com>
11795
11796 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11797 (vc-bzr-sha1): Adapt.
11798
d8e4b68b 11799 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11800
11801 * bindings.el: Provide sha1 feature.
11802
db0406bb 118032011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11804
11805 * mail/sendmail.el: Require `rfc2047'.
11806 (mail-insert-from-field): Do not perform RFC2047 encoding.
11807 (mail-encode-header): New function.
11808 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11809 buffer to the return value of select-message-coding-system.
11810 Call mail-encode-header.
b8d747b9
KH
11811
11812 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11813
db0406bb 118142011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11815
4d90d6d0
DK
11816 * mail/supercite.el (sc-default-cite-frame):
11817 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11818
eb8a5e9b
GM
118192011-05-24 Glenn Morris <rgm@gnu.org>
11820
f8630703
GM
11821 * progmodes/python.el (brm-menu): Declare.
11822
8831bbed
GM
11823 * emulation/viper.el (viper-set-hooks): Declare.
11824
eb8a5e9b
GM
11825 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11826 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11827 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11828 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11829 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11830 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11831
a2a25d24
SM
118322011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 Add an :exit-function for completion-at-point.
11835
11836 * minibuffer.el (completion--done): New fun.
11837 (completion--do-completion): Use it. New arg `expect-exact'.
11838 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11839 since completion--do-completion does it for us now.
11840 (minibuffer-force-complete): Use completion--done and
11841 completion--replace. Handle sole-completion case with more care.
11842 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11843 (completion-extra-properties): New var.
11844 (completion-annotate-function): Make obsolete.
11845 (minibuffer-completion-help): Adjust accordingly.
11846 Use completion-list-insert-choice-function.
11847 (completion-at-point, completion-help-at-point):
11848 Bind completion-extra-properties.
11849 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11850 * simple.el (completion-list-insert-choice-function): New var.
11851 (completion-setup-function): Preserve it.
11852 (choose-completion): Pay attention to it, shuffle the code a bit.
11853 (choose-completion-string): New arg `insert-function'.
11854
11855 * textmodes/bibtex.el: Convert to lexical binding.
11856 (bibtex-mode-map): Use completion-at-point.
11857 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11858 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11859 (bibtex-complete): Define as obsolete alias.
11860 (bibtex-complete-internal): Remove.
11861 (bibtex-format-entry): Remove unused sub-group in regexp.
11862 * shell.el (shell--command-completion-data)
11863 (shell-environment-variable-completion):
11864 * pcomplete.el (pcomplete-completions-at-point):
11865 * comint.el (comint--complete-file-name-data): Use :exit-function
11866 instead of completion-table-with-terminator so it also works for
11867 choose-completion.
11868
e44e373d
SM
118692011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11870
4f91a816
SM
11871 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11872
782fc819
SM
11873 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11874 (bug#8710).
11875
e44e373d
SM
11876 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11877
381987c3
KM
118782011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11879
11880 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11881 customization variable and implement: If non-nil, auto-fill will
11882 be inhibited while on topic's header line.
11883
b776bc70
VB
118842011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11885
11886 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11887 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11888 always have a solution in grid size = 5 cases.
11889 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11890 (5x5-solver-output, 5x5-log-buffer): New vars.
11891 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11892 Make these variables buffer local to achieve 5x5 multi-session-ness.
11893 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11894 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11895 (5x5-solve-suggest): New funs.
11896 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11897 randomize a grid so that we ensure that there is always a solution.
11898 (5x5-make-random-grid): Allow other movement than flipping.
11899
7de88b6e
KR
119002011-05-23 Kevin Ryde <user42@zip.com.au>
11901
11902 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11903 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11904 advice and passes PREDICATE.
11905
b1ef1257
SM
119062011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11907
bbca48fe
SM
11908 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11909 byte-compile-lambda if it's actually a lambda.
11910
b1ef1257
SM
11911 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11912 Fix function quoting. Use backquote better.
11913
92a9cc65
YS
119142011-05-22 Yuanle Song <sylecn@gmail.com>
11915
11916 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11917 matching (Bug#8516).
11918
f0fb8059
JA
119192011-01-22 Jari Aalto <jari.aalto@cante.net>
11920
11921 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11922 different face (Bug#8178).
11923
d5b44c93
CY
119242011-05-22 Chong Yidong <cyd@stupidchicken.com>
11925
11926 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11927 defface (Bug#8144).
11928
79106a44
SM
119292011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11930
9c848d8a
SM
11931 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11932 funcall as well (bug#8712). Warn when performing those conversions.
11933 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11934
79106a44
SM
11935 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11936
88dfa756
GM
119372011-05-22 Glenn Morris <rgm@gnu.org>
11938
11939 * files.el (hack-local-variables-prop-line): Small simplifications.
11940 (hack-local-variables, hack-local-variables-prop-line):
11941 If MODE-ONLY, return the mode, rather than just `t'.
11942
b7cf2c79
SM
119432011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11946
3f1a8558
GM
119472011-05-21 Glenn Morris <rgm@gnu.org>
11948
7e4ccca3
GM
11949 * files.el (hack-local-variables-prop-line, hack-local-variables):
11950 If only interested in the mode, don't bother doing the other stuff.
11951
637d46ca
GM
11952 * image-mode.el (image-after-revert-hook):
11953 Redraw all frames on which the image is visible. (Bug#8567)
11954
973d955b
GM
11955 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11956
3f1a8558
GM
11957 * wid-edit.el (widget-checklist-match-inline):
11958 Fix 2011-04-19 change. (Bug#8649)
11959
96479927
SM
119602011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11961
1dcf791f
SM
11962 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11963 Also allow singlespace after single-letter capitals followed by a dot.
11964
96479927
SM
11965 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11966 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11967
35fd0881
N
119682011-05-20 Nix <nix@esperi.org.uk>
11969
11970 * files.el (basic-save-buffer-2):
11971 Fix handling of break-hardlink-on-save with non-existent files.
11972
82745640
DD
119732011-05-19 Deniz Dogan <deniz@dogan.se>
11974
11975 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11976 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11977
4a720484
GM
119782011-05-19 Glenn Morris <rgm@gnu.org>
11979
d1f21341
GM
11980 * progmodes/f90.el (f90-type-def-re):
11981 Handle "type, bind(c)". (Bug#8691)
11982
4a720484
GM
11983 * emacs-lisp/autoload.el (batch-update-autoloads):
11984 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11985
2fb0a219
MA
119862011-05-18 Michael Albinus <michael.albinus@gmx.de>
11987
11988 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11989 property for the correct connection in case of multihops.
11990
e565dd37
GM
119912011-05-18 Glenn Morris <rgm@gnu.org>
11992
c2571358 11993 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11994 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11995
e565dd37
GM
11996 Rationalize calendar handling of day and month abbrev-arrays.
11997 * calendar/calendar.el (calendar-customized-p): New function.
11998 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11999 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12000 Add :set function.
12001 (calendar-abbrev-length, calendar-day-abbrev-array)
12002 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12003 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12004 Elements may no longer be nil.
12005 (calendar-day-name, calendar-month-name):
12006 Update for changed nature of abbrev arrays.
12007 * calendar/diary-lib.el (diary-name-pattern):
12008 Update for changed nature of abbrev arrays.
12009 (diary-mark-entries-1): Update calendar-make-alist calls.
12010 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12011 * calendar/cal-html.el (cal-html-day-abbrev-array):
12012 Simply inherit from calendar-day-abbrev-array.
12013
1d99a745
SM
120142011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * progmodes/grep.el (grep-mode): Disable default
12017 compilation-directory-matcher setting (bug#8684).
12018
7c1d9aa0
MA
120192011-05-17 Michael Albinus <michael.albinus@gmx.de>
12020
12021 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12022 instead of "head" and "tail". There were problems with SunOS 5.9,
12023 and it performs better.
12024
3952e9d8
GM
120252011-05-17 Glenn Morris <rgm@gnu.org>
12026
2dd12e7f
GM
12027 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12028
e4157b9c
GM
12029 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12030 Replace obsolete function.
12031
8e249bbd
GM
12032 * shell.el (pcomplete-parse-arguments-function): Declare.
12033
3952e9d8
GM
12034 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12035 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12036 (appt-check): Doc fixes.
12037 (appt-disp-window-function, appt-delete-window-function):
12038 Remove needless special case in custom :type.
12039 (appt-display-count): Default to 0, not nil.
12040 (appt-check): Reset appt-display-count to 0, not nil.
12041
c71a0d48 120422011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12043
c71a0d48
GM
12044 * progmodes/python.el (python-font-lock-keywords):
12045 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12046
31d55be9
SM
120472011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12048
12049 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12050
3bfacb2f
KR
120512011-05-16 Kevin Ryde <user42@zip.com.au>
12052
12053 * info-look.el (makefile-automake-mode): New setups, looking in
12054 automake manual, then makefile-mode.
12055 (makefile-mode): Remove automake manual, have it just in
12056 makefile-automake-mode since there's various things different or
12057 not relevant to plain make.
12058 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12059 believe a hypothetical automake-mode would go to makefile-mode,
12060 not the other way around.
12061
c8e83751
CY
120622011-05-15 Chong Yidong <cyd@stupidchicken.com>
12063
5e9e35cd
CY
12064 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12065 hunk-end tags (Bug#8672).
12066
c8e83751
CY
12067 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12068 vc-annotate-show-diff-revision-at-line (Bug#8671).
12069
50b23e5a
GM
120702011-05-14 Glenn Morris <rgm@gnu.org>
12071
7210a739
GM
12072 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12073 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12074 (change-log-font-lock-keywords): Also handle multiple author lines
12075 with leading tabs. (Bug#8644)
7210a739 12076
4691905a
GM
12077 * calendar/appt.el (appt-check): Rename some local variables.
12078 Some simplification/reordering.
12079
50b23e5a
GM
12080 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12081 (feedmail-sendmail-f-doesnt-sell-me-out)
12082 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12083 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12084 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12085 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12086 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12087 (feedmail-binmail-gnulinuxish-template):
12088 Rename from feedmail-binmail-linuxish-template.
12089 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12090 Use insert-buffer-substring.
12091
215cda7c
BC
120922011-05-14 Bill Carpenter <bill@carpenter.org>
12093
12094 * mail/feedmail.el (feedmail-patch-level): Increase.
12095 (feedmail-debug): New custom group.
12096 (feedmail-confirm-outgoing-timeout)
12097 (feedmail-sendmail-f-doesnt-sell-me-out)
12098 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12099 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12100 (feedmail-sender-line, feedmail-from-line)
12101 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12102 (feedmail-spray-this-address)
215cda7c
BC
12103 (feedmail-spray-address-fiddle-plex-list)
12104 (feedmail-queue-use-send-time-for-date)
12105 (feedmail-queue-use-send-time-for-message-id)
12106 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12107 (feedmail-buffer-eating-function):
12108 Doc fixes.
12109 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12110 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12111 (feedmail-message-action-scroll-down): New functions.
12112 (feedmail-queue-directory, feedmail-queue-draft-directory):
12113 Use expand-file-name.
12114 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12115 Remove C-v help entry.
12116 (feedmail-queue-buffer-file-name): New variable.
12117 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12118 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12119 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12120 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12121 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12122 (feedmail-message-action-toggle-spray)
12123 (feedmail-run-the-queue-no-prompts)
12124 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12125 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12126 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12127 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12128 (feedmail-envelope-deducer, feedmail-fiddle-from)
12129 (feedmail-fiddle-sender, feedmail-default-date-generator)
12130 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12131 (feedmail-fiddle-spray-address)
12132 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12133 (feedmail-fiddle-list-of-fiddle-plexes)
12134 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12135 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12136 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12137 Change default. Doc fix.
12138 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12139 (feedmail-binmail-linuxish-template): New constant.
12140 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12141 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12142 (feedmail-send-it): Add debug call.
12143 Use feedmail-queue-buffer-file-name, and
12144 feedmail-send-it-immediately-wrapper.
12145 (feedmail-message-action-send): Add debug call.
12146 Use feedmail-send-it-immediately-wrapper.
12147 (feedmail-queue-express-to-queue): Add debug call.
12148 Run feedmail-queue-express-hook.
12149 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12150 (feedmail-message-action-help-blat):
12151 Rename from feedmail-queue-send-edit-prompt-help-first.
12152 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12153 Check line-endings. Handle errors better.
12154 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12155 Doc fix. Add debug call.
12156 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12157 Use feedmail-queue-send-edit-prompt-inner.
12158 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12159 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12160 from feedmail-queue-send-edit-prompt.
12161 (feedmail-queue-send-edit-prompt-help)
12162 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12163 (feedmail-tidy-up-slug): Add debug call.
12164 Respect feedmail-queue-slug-suspect-regexp.
12165 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12166 (feedmail-dump-message-to-queue): Add debug call.
12167 Expand queue-directory.
12168 (feedmail-dump-message-to-queue): Change message slightly.
12169 Use feedmail-say-chatter.
12170 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12171 (feedmail-send-it-immediately-wrapper): New function.
12172 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12173 Insert empty string rather than newline. Handle full-frame case.
12174 Use catch/throw. Use feedmail-say-chatter.
12175 (feedmail-fiddle-from): Try mail-host-address.
12176 (feedmail-default-message-id-generator): Doc fix.
12177 Bind system-time-locale. Handle missing end.
12178 (feedmail-fiddle-x-mailer): Add debug call.
12179 Handle feedmail-x-mailer-line being nil.
12180 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12181 Add debug call. Use buffer-substring-no-properties.
12182 (feedmail-say-debug, feedmail-say-chatter): New functions.
12183 (feedmail-find-eoh): Give an explicit error.
12184
42c7e61e
UJ
121852011-05-13 Ulf Jasper <ulf.jasper@web.de>
12186
c2571358 12187 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12188 family from helvetica to sans.
c2571358 12189 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12190 etc/images/newsticker.
12191
c2571358 12192 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12193 family from helvetica to sans.
12194
12195 * net/newst-plainview.el (newsticker-new-item-face)
12196 (newsticker-old-item-face, newsticker-immortal-item-face)
12197 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12198 (newsticker-statistics-face): Change default family from
42c7e61e 12199 helvetica to sans.
c2571358 12200 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12201 etc/images/newsticker.
12202
5d3385a0
JB
12203 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12204 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12205 auto-marking.
12206
8497a297
DV
122072011-05-13 Didier Verna <didier@xemacs.org>
12208
12209 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12210 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12211 TODO entries.
8497a297
DV
12212 (lisp-lambda-list-keyword-parameter-indentation)
12213 (lisp-lambda-list-keyword-parameter-alignment)
12214 (lisp-lambda-list-keyword-alignment): New customizable user options.
12215 (lisp-indent-defun-method): Improve docstring.
12216 (extended-loop-p): Fix comment.
12217 (lisp-indent-lambda-list-keywords-regexp): New variable.
12218 (lisp-indent-lambda-list): New function.
12219 (lisp-indent-259): Use it.
12220 (lisp-indent-defmethod): Support for more than one
12221 method qualifier and properly indent methods lambda-lists.
12222 (defgeneric): Provide a missing common-lisp-indent-function property.
12223
f278f87f
SM
122242011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12227 bounds for the empty string (bug#8667).
12228
5233edd7
GM
122292011-05-13 Glenn Morris <rgm@gnu.org>
12230
5237a44f
GM
12231 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12232
8340026c 12233 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12234 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12235
5233edd7 12236 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12237 (appt-time-msg-list): Doc fix.
a5464014 12238 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12239
92d10796
AS
122402011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12241
12242 * progmodes/ld-script.el (ld-script-keywords)
12243 (ld-script-builtins): Update keywords list.
12244
914a0ae1
SM
122452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12246
c89be45f
SM
12247 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12248
914a0ae1
SM
12249 * shell.el (shell-completion-vars): New function.
12250 (shell-mode):
12251 * simple.el (read-shell-command): Use it.
12252 (blink-matching-open): No need for " [...]" in minibuffer-message.
12253
98dc3df3
GM
122542011-05-12 Glenn Morris <rgm@gnu.org>
12255
12256 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12257 (appt-check): Simplify.
12258
d2fc7e3d 122592011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12260
4d61f28d 12261 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12262 literal "/dev/null".
12263
d2fc7e3d 122642011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12265
12266 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12267 Fix typo.
12268
d2fc7e3d 122692011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12270
3f254caa
SM
12271 * progmodes/which-func.el (which-function):
12272 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12273 which might not be defined (Bug#8260).
12274
d45885f7
GM
122752011-05-12 Glenn Morris <rgm@gnu.org>
12276
12277 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12278 Let byte-compile-initial-macro-environment always take precedence.
12279
488086f4
SM
122802011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * net/rcirc.el: Add support for SSL/TLS connections.
12283 (rcirc-server-alist): New field `encryption'.
12284 (rcirc): Check `encryption' settings.
12285 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12286 Merge make-local-variable into `set'.
12287 (rcirc--connection-open-p): New function.
12288 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12289 the process is not a network process (e.g. running gnutls-cli).
12290 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12291 Make rcirc-(en|de)code-coding-system local here.
12292 (rcirc-mode): Merge make-local-variable into `set'.
12293 (rcirc-parent-buffer): Make permanent buffer-local.
12294 (rcirc-multiline-minor-mode): Don't do it here.
12295 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12296 there's no server buffer.
12297
7d3b9d44
GM
122982011-05-11 Glenn Morris <rgm@gnu.org>
12299
f64049c6
GM
12300 * newcomment.el (comment-kill): Prefix "unused" local.
12301
93c9df73
GM
12302 * term/w32console.el (get-screen-color): Declare.
12303
7d3b9d44
GM
12304 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12305 Handle symbol elements of byte-compile-initial-macro-environment.
12306
9e2dd53f
LL
123072011-05-10 Leo Liu <sdl.web@gmail.com>
12308
488086f4
SM
12309 * bookmark.el (bookmark-bmenu-mode-map):
12310 Bind bookmark-bmenu-search to `/'.
8b340240 12311
9e2dd53f 12312 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12313 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12314 (Footnote-unicode): New function.
12315 (footnote-style-alist): Add unicode style to the list.
12316 (footnote-style): Doc fix.
9e2dd53f 12317
79b70037
GM
123182011-05-10 Jim Meyering <meyering@redhat.com>
12319
12320 Fix doubled-word typos.
12321 * international/quail.el (quail-insert-kbd-layout): and and -> and
12322 * kermit.el: and and -> and
12323 * net/ldap.el (ldap-search-internal): to to -> to
12324 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12325 * progmodes/js.el (js-mode): and and -> and
12326 * textmodes/artist.el (artist-move-to-xy): at at -> at
12327 (artist-draw-region-trim-line-endings): if if -> if
12328 And Safetyc -> Safety.
12329 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12330
b8f82dc1 123312011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12332 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12333
12334 * files.el (hack-one-local-variable-eval-safep):
12335 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12336
4f99f44b
GM
123372011-05-10 Glenn Morris <rgm@gnu.org>
12338
12339 * calendar/diary-lib.el (diary-list-entries-hook)
12340 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12341 (diary-nongregorian-marking-hook, diary-list-entries)
12342 (diary-include-other-diary-files, diary-mark-entries)
12343 (diary-mark-included-diary-files): Doc fixes.
12344
84f29e6b
JB
123452011-05-09 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * misc.el: Require tabulated-list.el during compilation.
12348
9bedd73a
CY
123492011-05-09 Chong Yidong <cyd@stupidchicken.com>
12350
488086f4
SM
12351 * progmodes/compile.el (compilation-start):
12352 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12353 (compilation-filter-hook): Doc fix.
12354
797c735c
DD
123552011-05-09 Deniz Dogan <deniz@dogan.se>
12356
12357 * wdired.el: Remove outdated installation comment. Fix usage
12358 comment.
12359
5f4b1dfe
JB
123602011-05-09 Juanma Barranquero <lekktu@gmail.com>
12361
12362 * misc.el: Implement new command `list-dynamic-libraries'.
12363 (list-dynamic-libraries--loaded-only-p): New variable.
12364 (list-dynamic-libraries--refresh): New function.
12365 (list-dynamic-libraries): New command.
12366
4c44026c
CY
123672011-05-09 Chong Yidong <cyd@stupidchicken.com>
12368
488086f4
SM
12369 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12370 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12371 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12372 higher priority to avoid clobbering by gnu.
12373
027f966d
CY
123742011-05-08 Chong Yidong <cyd@stupidchicken.com>
12375
12376 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12377 if the face has existing theme settings (Bug#8454).
12378
085f5d7d
CY
123792011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12380
488086f4
SM
12381 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12382 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12383
2a86a00c
RS
12384 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12385 special file names `.' and `..' (Bug#8259).
12386
d9c54a06
CY
123872011-05-08 Chong Yidong <cyd@stupidchicken.com>
12388
488086f4
SM
12389 * progmodes/grep.el (grep-mode-font-lock-keywords):
12390 Remove buffer-changing entries.
d9c54a06
CY
12391 (grep-filter): New function.
12392 (grep-mode): Add it to compilation-filter-hook.
12393
12394 * progmodes/compile.el (compilation-filter-hook)
12395 (compilation-filter-start): New defvars.
12396 (compilation-filter): Call compilation-filter-hook prior to
12397 updating the process mark.
12398
c4662635
SM
123992011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12402
b0512a1d
EZ
124032011-05-07 Eli Zaretskii <eliz@gnu.org>
12404
605c9376
EZ
12405 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12406 mailclient-send-it even if window-system is nil. (Bug#8595)
12407
c4662635
SM
12408 * term/w32console.el (terminal-init-w32console):
12409 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12410 background-mode. (Bug#8597)
12411
d1dc2cc2
SM
124122011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12413
12414 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12415 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12416 New functions.
12417 (defgeneric, eieio--defmethod): Use them.
12418 (eieio-defgeneric): Remove.
12419 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12420
915d1300
GM
124212011-05-07 Glenn Morris <rgm@gnu.org>
12422
a3961c3e
GM
12423 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12424 Use let rather than let*.
12425 (timeclock-find-discrep): Remove unused local.
12426
314347b9
GM
12427 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12428
915d1300
GM
12429 * calendar/appt.el (appt-time-msg-list): Doc fix.
12430
275b59b0
NF
124312011-05-06 Noah Friedman <friedman@splode.com>
12432
12433 * apropos.el (apropos-print-doc): Only use
12434 emacs-lisp-docstring-fill-column when it is bound to an integer,
12435 per that variable's documentation.
12436
6c19f744
SM
124372011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12438
12439 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12440 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12441
60f884b2
GM
124422011-05-06 Glenn Morris <rgm@gnu.org>
12443
5006e634
GM
12444 * calendar/appt.el (appt-message-warning-time): Doc fix.
12445 (appt-warning-time-regexp): New option.
12446 (appt-make-list): Respect appt-message-warning-time.
12447
548d0a63
GM
12448 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12449 New options.
12450 (diary-add-to-list): Strip comments from the displayed string.
12451 (diary-mode): Set comment-start and comment-end.
12452
60f884b2
GM
12453 * vc/diff-mode.el (smerge-refine-subst): Declare.
12454 (diff-refine-hunk): Don't require smerge-mode when compiling.
12455
989681bb
JB
124562011-05-06 Juanma Barranquero <lekktu@gmail.com>
12457
12458 * simple.el (list-processes): Return nil as the docstring says.
12459
a6bc05e1
MA
124602011-05-05 Michael Albinus <michael.albinus@gmx.de>
12461
12462 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12463 to "".
12464 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12465 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12466 determining of binary transfer. (Bug#7383)
12467
23c22e9a
MA
124682011-05-05 Michael Albinus <michael.albinus@gmx.de>
12469
c4662635
SM
12470 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12471 Fix port computation bug. (Bug#8618)
23c22e9a 12472
0bff894f
GM
124732011-05-05 Glenn Morris <rgm@gnu.org>
12474
b8296902
GM
12475 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12476
1f522ce8
GM
12477 * simple.el (shell-dynamic-complete-functions)
12478 (comint-dynamic-complete-functions): Declare.
12479
cf5bee67
GM
12480 * net/network-stream.el (gnutls-negotiate):
12481 * simple.el (tabulated-list-print): Fix declarations.
12482
12483 * progmodes/gud.el (syntax-symbol, syntax-point):
12484 Remove unnecessary and incorrect declarations.
12485
0bff894f
GM
12486 * emacs-lisp/check-declare.el (check-declare-scan):
12487 Handle byte-compile-initial-macro-environment in bytecomp.el
12488
9869b3ae
SM
124892011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12490
12491 Fix earlier half-done eieio-defmethod change (bug#8338).
12492 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12493 Streamline and change calling convention.
12494 (defmethod): Adjust accordingly and simplify.
12495 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12496 new eieio--defmethod.
12497 (slot-boundp): Minor CSE simplification.
12498
9c1d5ac5
MZ
124992011-05-05 Milan Zamazal <pdm@zamazal.org>
12500
12501 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12502 (glasses-make-readable): Use glasses-separate-capital-groups.
12503
455c834e
JB
125042011-05-05 Juanma Barranquero <lekktu@gmail.com>
12505
12506 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12507 (warning-series): Doc fix.
12508 (display-warning): Don't try to create the buffer if we just found it.
12509
9ed7c8cb
CY
125102011-05-04 Chong Yidong <cyd@stupidchicken.com>
12511
12512 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12513 (autoload-find-generated-file): New function.
12514 (generate-file-autoloads): Bind generated-autoload-file to
12515 buffer-file-name.
9869b3ae
SM
12516 (update-file-autoloads, update-directory-autoloads):
12517 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12518 output file (Bug#7989).
12519 (batch-update-autoloads): Doc fix.
12520
0898ca10
JB
125212011-05-04 Juanma Barranquero <lekktu@gmail.com>
12522
12523 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12524
31dfb76c
GM
125252011-05-04 Glenn Morris <rgm@gnu.org>
12526
f330b642
GM
12527 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12528 function, so it follows changes in calendar-date-style.
12529 (diary-fancy-date-matcher): New function.
12530 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12531 (diary-fancy-font-lock-fontify-region-function):
12532 Use diary-fancy-date-pattern as a function.
12533
31dfb76c
GM
12534 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12535 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12536
48e79d6a
TZ
125372011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12538
12539 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12540 instead of positional arguments. Allow :keylist and :crlfiles
12541 arguments.
12542 (open-gnutls-stream): Call it.
12543
12544 * net/network-stream.el (network-stream-open-starttls): Adjust to
12545 call `gnutls-negotiate' with :process and :hostname arguments.
12546
dd5a5ee0
SM
125472011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12548
ef80fc09
SM
12549 * minibuffer.el (completion--message): New function.
12550 (completion--do-completion, minibuffer-complete)
12551 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12552 (completion--do-completion): Don't ignore completion-auto-help when in
12553 icomplete-mode.
12554
dd5a5ee0
SM
12555 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12556 internal encoding (e.g. tibetan zero is not whitespace).
12557 (global-whitespace-mode): Prefer save-current-buffer.
12558 (whitespace-trailing-regexp): Remove useless save-match-data.
12559 (whitespace-empty-at-bob-regexp): Minor simplification.
12560
b7d22a83
CY
125612011-05-03 Chong Yidong <cyd@stupidchicken.com>
12562
12563 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12564
5192af46
AM
125652011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12566
12567 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12568 Use `concat' to create string for insertion.
5192af46 12569
5767d190
SM
125702011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12573 Avoid open-line which runs post-self-insert-hook.
12574 (bibtex-fill-entry): Remove unused `end' var.
12575
bf242939
AM
125762011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12577
5767d190
SM
12578 * textmodes/ispell.el (ispell-add-per-file-word-list):
12579 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12580
25666126
LL
125812011-05-03 Leo Liu <sdl.web@gmail.com>
12582
12583 * isearch.el (isearch-yank-pop): New command.
5767d190 12584 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12585 (isearch-forward): Mention it.
12586
52d3c2d0
SM
125872011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12588
1bcace58
SM
12589 * simple.el (minibuffer-complete-shell-command): Remove.
12590 (minibuffer-local-shell-command-map): Use completion-at-point.
12591 (read-shell-command): Setup completion vars here instead.
12592 (read-expression-map): Bind TAB to symbol completion.
12593
52d3c2d0
SM
12594 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12595 error directly rather via storing it into `results'.
12596
35813471
LL
125972011-05-02 Leo Liu <sdl.web@gmail.com>
12598
12599 * vc/diff.el: Fix description.
12600
e793a940
LMI
126012011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12602
12603 * server.el (server-eval-at): New function.
12604
8de66e05
LMI
126052011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12606
12607 * net/network-stream.el (open-network-stream): Take a :nowait
12608 parameter and pass it on to `make-network-process'.
12609 (network-stream-open-plain): Ditto.
12610
dcb79f20
AS
126112011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12612
12613 * faces.el (face-spec-set-match-display): Don't match toolkit
12614 options on terminal frames.
12615
14a7fbd8
SM
126162011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12617
7eabc1be
SM
12618 * progmodes/pascal.el: Use lexical binding.
12619 (pascal-mode-map): Remove author preferences.
12620
14a7fbd8
SM
12621 * pcomplete.el (pcomplete-std-complete): Don't abuse
12622 completion-at-point.
12623
50f84510
JB
126242011-04-28 Juanma Barranquero <lekktu@gmail.com>
12625
6e087a44
JB
12626 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12627 removing code that has been dead since 1991 or so.
12628
50f84510
JB
12629 * startup.el (command-line): When warning about "_emacs", use a
12630 delayed warning to allow the user to filter it out.
12631
0ba690bd
DD
126322011-04-28 Deniz Dogan <deniz@dogan.se>
12633
12634 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12635 user has not joined.
12636
08abfaad
SM
126372011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12638
12639 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12640 aren't any completions at point.
12641
638f053a
JB
126422011-04-28 Juanma Barranquero <lekktu@gmail.com>
12643
12644 * subr.el (display-delayed-warnings): New function.
12645 (delayed-warnings-hook): New variable.
12646
8fff8daa
SM
126472011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12648
08abfaad
SM
12649 * minibuffer.el (completion-at-point, completion-help-at-point):
12650 Don't presume that a given completion-at-point-function will always
12651 use the same calling convention.
12652
8fff8daa
SM
12653 * pcomplete.el (pcomplete-completions-at-point):
12654 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12655 pcomplete-seen is non-nil.
12656 (pcomplete-comint-setup): Also recognize the new comint/shell
12657 completion functions.
12658 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12659 pcomplete-seen is non-nil.
12660
841a1577 126612011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12662
841a1577 12663 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12664 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12665 the first character in the entry. This allows for code to add its
211ec907
UJ
12666 own uid to the entry.
12667 (icalendar--convert-float-to-ical): Add export of
12668 `diary-float'-entries save for those with the optional DAY
12669 argument.
12670
2a782793
DC
126712011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12672
12673 * subr.el (shell-quote-argument): Use alternate escaping strategy
12674 when we spot a variable reference in a string.
12675
0438ce91
DC
126762011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12677
12678 * cus-start.el (all): Define customization for debug-on-event.
12679
841a1577 126802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12681
12682 * subr.el (shell-quote-argument): Escape correctly under Windows.
12683
d090ed6c
SM
126842011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12685
12686 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12687
bfd31217
MA
126882011-04-25 Michael Albinus <michael.albinus@gmx.de>
12689
d090ed6c
SM
12690 * net/tramp.el (tramp-process-actions): Add POS argument.
12691 Delete region between POS and (pos).
bfd31217 12692
d090ed6c
SM
12693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12694 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12695 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12696
12697 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12698 position in `tramp-process-actions' call.
12699
12700 * net/trampver.el: Update release number.
12701
e92f3bd3
SM
127022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12703
850256b5
SM
12704 * custom.el (defcustom): Obey lexical-binding.
12705
e92f3bd3
SM
12706 Fix octave-inf completion problems reported by Alexander Klimov.
12707 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12708 Inherit from octave-mode-syntax-table.
12709 (inferior-octave-mode): Set info-lookup-mode.
12710 (inferior-octave-completion-at-point): New function.
12711 (inferior-octave-complete): Use it and completion-in-region.
12712 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12713 comint-filename-completion.
12714 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12715 symbol elements which shouldn't be word elements.
12716 (octave-font-lock-keywords, octave-beginning-of-defun)
12717 (octave-function-header-regexp): Adjust regexps accordingly.
12718 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12719
cd22b309
JB
127202011-04-25 Juanma Barranquero <lekktu@gmail.com>
12721
12722 * net/gnutls.el (gnutls-errorp): Declare before first use.
12723
8b492194
TZ
127242011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12725
12726 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12727 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12728 default trustfile exists before going to use it. Add missing
5a5fa834 12729 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12730 Reported by Claudio Bley <claudio.bley@gmail.com>.
12731 (open-gnutls-stream): Add usage example.
12732
12733 * net/network-stream.el (network-stream-open-starttls): Give host
12734 parameter to `gnutls-negotiate'.
12735 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12736 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12737
841a1577 127382011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12739
cd22b309
JB
12740 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12741 Use correct match group (bug#8438).
05842630 12742
3ba7869c
CY
127432011-04-24 Chong Yidong <cyd@stupidchicken.com>
12744
512e3ae1
CY
12745 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12746 (package-menu--generate): New arg specifying packages to show.
12747 (package-menu-refresh, package-menu-execute, list-packages):
12748 Callers changed.
12749 (package-show-package-list): New function, replacing deleted
12750 package--list-packages (renamed because it is non-internal).
12751
12752 * finder.el (finder-list-matches): Use package-show-package-list
12753 instead of deleted package--list-packages.
12754
e92f3bd3
SM
12755 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12756 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12757 (vc-annotate-mode-map): Bind it to RET.
12758
7031be6d
UR
127592011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12760
12761 * progmodes/etags.el (next-file): Don't use set-buffer to change
12762 buffers (Bug#8478).
12763
4ef177aa
CY
127642011-04-24 Chong Yidong <cyd@stupidchicken.com>
12765
c8d173eb
CY
12766 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12767
4ef177aa
CY
12768 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12769 (apropos-accumulator): Doc fix.
12770 (apropos-function, apropos-macro, apropos-command)
12771 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12772 (apropos-plist): Add face property.
12773 (apropos-symbols-internal): Fix indentation.
12774 (apropos-print): Simplify help, and recognize apropos-multi-type.
12775 (apropos-print-doc): Use button-type-get to extract the button's
12776 face property. Fill docstring (Bug#8352).
12777
4ffd0d6b 127782011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12779
12780 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12781
c6c32125 12782 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12783 (mpuz-mode-map): Use mapc.
c6c32125
JB
12784 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12785 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12786 Fix typos in docstrings.
12787
58d468b4
JB
12788 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12789 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12790
6470c3c6
JB
12791 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12792
4ffd0d6b 127932011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12794
12795 * minibuffer.el (completion--do-completion): Avoid the "Next char
12796 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12797
3ad8bad0
CY
12798 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12799 mouse-2 into unread-command-events, it is interpreted correctly.
12800
71d73c9c 12801 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12802 (image-toggle-display): Doc fix.
71d73c9c 12803
841a1577 128042011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12805
4ffd0d6b
GM
12806 * textmodes/page.el (what-page): Use line-number-at-pos to
12807 calculate line number (Bug#6825).
6e1dbaa9 12808
c2fb1b60
JB
128092011-04-22 Juanma Barranquero <lekktu@gmail.com>
12810
12811 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12812 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12813 Pass argument NO-DEFAULT to `find-tag-interactive'.
12814
e02f48d7
JB
128152011-04-22 Juanma Barranquero <lekktu@gmail.com>
12816
12817 Lexical-binding cleanup.
12818
12819 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12820 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12821 * progmodes/ada-prj.el (ada-prj-initialize-values)
12822 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12823 (ada-prj-show-value):
12824 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12825 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12826 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12827 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12828 * progmodes/bug-reference.el (bug-reference-push-button):
12829 * progmodes/fortran.el (fortran-line-length):
12830 * progmodes/glasses.el (glasses-change):
12831 * progmodes/octave-mod.el (octave-fill-paragraph):
12832 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12833 (python-pdbtrack-grub-for-buffer, python-sentinel):
12834 * progmodes/sql.el (sql-save-connection):
12835 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12836 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12837 Mark unused parameters.
12838
12839 * progmodes/compile.el (compilation--flush-directory-cache)
12840 (compilation--flush-parse, compile-internal): Mark unused parameters.
12841 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12842 (compilation-next-error-function): Remove unused variable `timestamp'.
12843
12844 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12845 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12846
12847 * progmodes/dcl-mode.el (dcl-end-of-command):
12848 Remove unused variable `start'.
12849 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12850 (dcl-option-value-basic, dcl-option-value-offset)
12851 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12852 Mark unused parameters.
12853 (dcl-save-local-variable): Remove unused variable `val'.
12854 (mode): Declare.
12855
12856 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12857 Mark unused parameters.
12858 (delphi-ignore-changes): Move before first use.
12859 (delphi-charset-token-at): Remove unused variable `start'.
12860 (delphi-else-start): Remove unused variable `if-count'.
12861 (delphi-comment-block-start, delphi-comment-block-end):
12862 Remove unused variable `kind'.
12863 (delphi-indent-line): Remove unused variable `new-point'.
12864
12865 * progmodes/ebrowse.el (ebrowse-files-list)
12866 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12867 Mark unused parameters. Don't quote `lambda'.
12868 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12869 Don't quote `lambda'.
12870 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12871 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12872 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12873 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12874 Use `ignore-errors'.
12875 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12876 (ebrowse-view/find-file-and-search-pattern)
12877 (ebrowse-view/find-member-declaration/definition):
12878 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12879 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12880 Rename parameter PREFIX-ARG to PREFIX.
12881 (ebrowse-tags-read-name): Remove unused variables `start' and
12882 `member-info'.
12883 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12884 to `tags-file'.
12885
12886 * progmodes/etags.el (local-find-tag-hook): Declare.
12887 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12888 Mark unused parameters.
12889
12890 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12891 (executable-interpret): Mark unused parameter.
12892
12893 * progmodes/flymake.el (flymake-process-sentinel)
12894 (flymake-after-change-function)
12895 (flymake-create-temp-with-folder-structure)
12896 (flymake-get-include-dirs-dot): Mark unused parameters.
12897 (flymake-safe-delete-directory): Remove unused variable `err'.
12898
12899 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12900 (speedbar-timer-fn, speedbar-line-text)
12901 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12902 (speedbar-center-buffer-smartly): Declare functions.
12903 (gdb-find-watch-expression): Remove unused variable `array'.
12904 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12905 (gdb-starting): Mark unused parameters.
12906 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12907 (gdb-table-string): Remove unused variable `res'.
12908 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12909 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12910 (gdb-display-buffer): Remove unused variable `cur-size'.
12911
12912 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12913 allow lexical-binding compilation.
12914 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12915 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12916 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12917 Mark unused parameters.
12918 (gud-gdb-marker-filter): Remove unused variable `match'.
12919 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12920 lambda expressions and funcall them, instead of using `fset'.
12921
12922 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12923 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12924
12925 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12926 variable `header-beg'; use `let'.
12927
12928 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12929 `restart', `last-sexp' and `at-do'.
12930
12931 * progmodes/js.el (js--debug): Mark unused parameter.
12932 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12933 (js--splice-into-items): Remove unused variable `item'.
12934 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12935
12936 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12937 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12938 (makefile-complete): Remove unused variable `try'.
12939 (makefile-fill-paragraph, makefile-match-function-end):
12940 Mark unused parameters.
12941
12942 * progmodes/octave-inf.el (inferior-octave-complete):
12943 Remove unused variable `proc'.
12944 (inferior-octave-output-digest): Mark unused parameter.
12945
12946 * progmodes/perl-mode.el (perl-calculate-indent):
12947 Remove unused variable `err'.
12948
12949 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12950 (prolog-indent-line): Mark unused parameters.
12951 (prolog-indent-line): Remove unused variable `beg'.
12952
12953 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12954 (reporter-dont-compact-list): Declare.
12955
12956 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12957 Remove unused variable `char'.
12958 (sh-debug): Mark unused parameter.
12959 (sh-get-indent-info): Remove unused variable `start'.
12960 (sh-calculate-indent): Remove unused variable `var'.
12961
12962 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12963 (simula-electric-keyword): Remove unused variable `null'.
12964 (simula-search-backward, simula-search-forward): Remove unused
12965 variables `begin' and `end'.
12966
12967 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12968 Remove unused variable `pos'.
12969 (vera-electric-tab, vera-comment-uncomment-region):
12970 Mark unused parameters.
12971 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12972
7ede3b65
CY
129732011-04-22 Chong Yidong <cyd@stupidchicken.com>
12974
12975 * emacs-lisp/package.el (package--builtins, package-alist)
12976 (package-load-descriptor, package-built-in-p, package-activate)
12977 (define-package, package-installed-p)
12978 (package-compute-transaction, package-buffer-info)
12979 (package--push): Doc fix. Distinguish more clearly between
12980 version strings and version lists.
12981
121656e9
JB
129822011-04-21 Juanma Barranquero <lekktu@gmail.com>
12983
12984 Lexical-binding cleanup.
12985
12986 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12987 (5x5-make-mutate-best):
12988 * play/fortune.el (fortune-in-buffer):
12989 * play/gomoku.el (gomoku-init-display):
12990 * play/solitaire.el (solitaire, solitaire-do-check):
12991 * play/tetris.el (tetris-default-update-speed-function):
12992 Mark unused parameters.
12993
12994 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12995 (bubbles--shift): Remove unused variable `char-org'.
12996 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12997 (bubbles--show-images): Remove unused variable `char'.
12998
12999 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13000 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13001 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13002 (decipher-analyze-buffer): Use ?\s.
13003 (decipher-make-checkpoint): Remove unused variable `mapping'.
13004
13005 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13006
13007 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13008 Remove unused variable `result'; use `let'.
13009
13010 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13011 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13012 (gametree-children-shown-p, gametree-compute-reduced-score):
13013 Use `ignore-errors'.
13014
13015 * play/handwrite.el (ps-lpr-switches): Declare.
13016 (handwrite): Remove unused variables `pmin' and `lastp'.
13017
13018 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13019
13020 * play/landmark.el (landmark-init-display)
13021 (landmark-update-naught-weights): Mark unused parameters.
13022 (landmark-y): Remove unused variable `noise'. Simplify.
13023 (landmark-human-plays): Remove unused variable `score'.
13024
13025 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13026 (mpuz-try-proposal): Remove unused variable `game'.
13027
13028 * play/zone.el (life-patterns): Declare.
13029
80f499c7
JB
130302011-04-20 Juanma Barranquero <lekktu@gmail.com>
13031
13032 * vc/vc.el (ediff-vc-internal): Declare function.
13033
024ff170
SM
130342011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13035
c0a193ea
SM
13036 * shell.el: Use lexical-binding and std completion UI.
13037 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13038 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13039 comint-preoutput-filter-functions rather than on
13040 comint-output-filter-functions.
13041 (shell-command-completion, shell--command-completion-data)
13042 (shell-filename-completion, shell-environment-variable-completion)
13043 (shell-c-a-p-replace-by-expanded-directory): New functions.
13044 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13045 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13046 (shell-dynamic-complete-environment-variable): Use them.
13047 (shell-dynamic-complete-as-environment-variable)
13048 (shell-dynamic-complete-as-command): Remove.
13049 (shell-match-partial-variable): Match past point.
13050 * comint.el: Clean up use of completion-at-point-functions.
13051 (comint-completion-at-point): New function.
13052 (comint-mode): Use it completion-at-point-functions.
13053 (comint-dynamic-complete): Make it obsolete.
13054 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13055 (comint-c-a-p-replace-by-expanded-history): New function.
13056 (comint-dynamic-complete-functions)
13057 (comint-replace-by-expanded-history): Use it.
13058 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13059 termination strings. Try harder to avoid second try-completion.
13060 (completion-in-region-mode-map): Disable bindings that don't work yet.
13061
2dbaa080
SM
13062 * comint.el: Use lexical-binding. Require CL.
13063 (comint-dynamic-complete-functions): Use comint-filename-completion.
13064 (comint-completion-addsuffix): Tweak custom type.
13065 (comint-filename-completion, comint--common-suffix)
13066 (comint--common-quoted-suffix, comint--table-subvert)
13067 (comint--complete-file-name-data): New functions.
13068 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13069 (comint-dynamic-list-filename-completions): Use them.
13070 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13071
2dbaa080
SM
13072 * minibuffer.el (completion-in-region-mode):
13073 Keep completion-in-region-mode--predicate global.
13074 (completion-in-region--postch):
13075 Assume completion-in-region-mode--predicate is not null.
13076
c79a6f38
SM
13077 * progmodes/flymake.el (flymake-start-syntax-check-process):
13078 Obey `dir'. Simplify.
13079
024ff170
SM
13080 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13081 we're in VC after all.
13082
1c6c854e
CS
130832011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13084
13085 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13086 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13087 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13088
bed7f140
SM
130892011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13090
332e62ab
SM
13091 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13092 add sanity check.
13093
bed7f140
SM
13094 * obsolete/erc-hecomplete.el: Make obsolete.
13095 * obsolete/: Standardize obsolescence info in the header.
13096
f195c582
GM
130972011-04-20 Glenn Morris <rgm@gnu.org>
13098
13099 * calendar/solar.el (solar-horizontal-coordinates):
13100 Use the longitude argument rather than `calendar-longitude'.
13101 (solar-date-next-longitude): Remove unused locals.
13102
cb79b8c0
VJL
131032011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13104
13105 * whitespace.el: New version 13.2.1.
13106
131072011-04-20 felix <EmacsWiki> (tiny change)
13108
d8e4b68b 13109 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13110 switching between major modes on a file.
13111
602ea69d
SM
131122011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13115 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13116 multi-line comments as well.
13117
06b60517
JB
131182011-04-19 Juanma Barranquero <lekktu@gmail.com>
13119
13120 Lexical-binding cleanup.
13121
13122 * arc-mode.el (archive-mode-revert):
13123 * cmuscheme.el (scheme-interactively-start-process):
13124 * custom.el (custom-initialize-delay):
13125 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13126 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13127 * emacs-lock.el (emacs-lock-clear-sentinel):
13128 * ezimage.el (defezimage):
13129 * follow.el (follow-avoid-tail-recenter):
13130 * fringe.el (set-fringe-mode-1):
13131 * generic-x.el (bat-generic-mode-compile):
13132 * help-mode.el (help-info-variable, help-do-xref)
13133 (help-mode-revert-buffer):
13134 * help.el (view-emacs-todo):
13135 * iswitchb.el (iswitchb-completion-help):
13136 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13137 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13138 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13139 * locate.el (locate-update):
13140 * longlines.el (longlines-encode-region)
13141 (longlines-after-change-function):
13142 * outline.el (outline-isearch-open-invisible):
13143 * ps-def.el (declare-function, charset-dimension, char-width)
13144 (encode-char):
13145 * ps-mule.el (ps-mule-plot-string):
13146 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13147 (recentf-edit-list-select, recentf-edit-list-validate)
13148 (recentf-open-files-action):
13149 * rect.el (delete-whitespace-rectangle-line)
13150 (rectangle-number-line-callback):
13151 * register.el (window-configuration-to-register)
13152 (frame-configuration-to-register):
13153 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13154 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13155 (xselect-convert-to-targets, xselect-convert-to-delete)
13156 (xselect-convert-to-filename, xselect-convert-to-charpos)
13157 (xselect-convert-to-lineno, xselect-convert-to-colno)
13158 (xselect-convert-to-os, xselect-convert-to-host)
13159 (xselect-convert-to-user, xselect-convert-to-class)
13160 (xselect-convert-to-name, xselect-convert-to-integer)
13161 (xselect-convert-to-atom, xselect-convert-to-identity):
13162 * subr.el (declare, ignore, process-kill-without-query)
13163 (text-clone-maintain):
13164 * terminal.el (te-get-char, te-tic-sentinel):
13165 * tool-bar.el (tool-bar-make-keymap):
13166 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13167 * type-break.el (type-break-mode, type-break-noninteractive-query):
13168 * view.el (View-back-to-mark):
13169 * wid-browse.el (widget-browse-action, widget-browse-widget)
13170 (widget-browse-widgets, widget-browse-sexp):
13171 * widget.el (define-widget-keywords):
13172 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13173 Mark unused parameters.
13174
13175 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13176 (align-areas): Remove unused variable `look'.
13177 (align-region): Remove unused variables `real-end' and `pos-list'.
13178
13179 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13180
13181 * bindings.el (mode-line-modified, mode-line-remote):
13182 Mark unused parameters.
13183 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13184
13185 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13186 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13187
13188 * comint.el (comint-history-isearch-pop-state)
13189 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13190 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13191 (comint-substitute-in-file-name): Doc fix.
13192
13193 * completion.el (cmpl-statistics-block): Mark unused parameter.
13194 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13195 (save-completions-to-file, load-completions-from-file):
13196 Remove unused local variable `e'.
13197
13198 * composite.el (compose-chars): Remove unused variable `len'.
13199 (lgstring-insert-glyph): Remove unused variable `g'.
13200 (compose-glyph-string): Remove unused variables `ascent',
13201 `descent', `lbearing' and `rbearing'.
13202 (compose-glyph-string-relative): Remove unused variables
13203 `lbearing', `rbearing' and `wadjust'.
13204 (compose-gstring-for-graphic): Remove unused variables `header',
13205 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13206 (compose-gstring-for-terminal): Remove unused variables `header'
13207 and `nchars'. Use `let', not `let*'.
13208
13209 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13210 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13211 (Custom-buffer-done, custom-buffer-create-internal)
13212 (custom-browse-visibility-action, custom-browse-group-tag-action)
13213 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13214 (widget-magic-mouse-down-action, custom-toggle-parent)
13215 (custom-add-parent-links, custom-toggle-hide-variable)
13216 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13217 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13218 (custom-face-menu-create, custom-variable-menu-create, get)
13219 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13220 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13221 (customize-apropos): Remove unused variable `tests'.
13222 (custom-group-value-create): Remove unused variable `hidden-p'.
13223 (sort-fold-case): Declare.
13224
13225 * cus-theme.el (custom-reset-standard-faces-list)
13226 (custom-reset-standard-variables-list): Declare.
13227 (customize-create-theme, custom-theme-revert, custom-theme-write)
13228 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13229 Mark unused parameters.
13230
13231 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13232
13233 * delim-col.el (delimit-columns-max): Move defvar before first use.
13234
13235 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13236 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13237
13238 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13239 (auto-insert): Declare.
13240 (desktop-restore-file-buffer): Rename desktop-* parameters;
13241 mark unused ones.
13242 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13243 (desktop-buffer): Rename desktop-* parameters.
13244
13245 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13246 (dframe-reposition-frame-xemacs, dframe-help-echo)
13247 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13248 Mark unused parameters.
13249
13250 * dired-aux.el (backup-extract-version-start, overwrite-query)
13251 (overwrite-backup-query, rename-regexp-query)
13252 (rename-non-directory-query): Declare.
13253 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13254 (dired-add-entry): Remove unused variable `orig-file-name'.
13255 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13256 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13257 `dired-copy-preserve-time' directly.
13258 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13259 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13260
13261 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13262 (dired-virtual-revert, dired-make-relative-symlink):
13263 Mark unused parameters.
13264 (manual-program): Declare.
13265 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13266 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13267 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13268
13269 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13270
13271 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13272
13273 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13274 Declare.
13275
13276 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13277
13278 * electric.el (Electric-command-loop): Rename parameter
13279 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13280
13281 * expand.el (expand-in-literal): Remove unused variable `here'.
13282
13283 * facemenu.el (facemenu-add-new-color):
13284 Remove unused variable `docstring'.
13285
13286 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13287 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13288 (face-attr-construct): Mark unused parameter. Doc fix.
13289 (read-color): Remove unused variable `hex-string'.
13290
13291 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13292 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13293 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13294 (display-buffer-other-frame): Remove unused variable `old-window'.
13295 (kill-buffer-hook): Declare.
13296 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13297 Mark unused parameters.
13298 (after-find-file): Pass 1 to `auto-save-mode', not t.
13299
13300 * files-x.el (auto-insert): Declare.
13301 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13302
13303 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13304 variable `buf'. Mark unused parameter.
06b60517
JB
13305 (find-lisp-insert-directory): Mark unused parameter.
13306
13307 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13308 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13309 (format-common-tail): Remove, unused.
13310 (format-deannotate-region): Remove unused variable `loc'.
13311 (format-annotate-region): Remove unused variable `p'.
13312 (format-annotate-single-property-change): Remove unused variables
13313 `default' and `tail'.
13314
13315 * forms.el (read-file-filter): Declare.
13316 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13317
13318 * frame.el (frame-creation-function-alist): Mark unused parameter.
13319 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13320
13321 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13322 Remove unused parameters.
13323 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13324 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13325
13326 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13327 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13328 (hfy-prepare-tag-map): Mark unused parameters.
13329 (htmlfontify-buffer): Use `called-interactively-p'.
13330
13331 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13332 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13333 (ibuffer-do-occur): Mark unused parameters.
13334 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13335 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13336
13337 * ibuffer.el: Don't quote `lambda'.
13338 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13339 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13340 Mark unused parameters.
13341
13342 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13343 (ido-completing-read): Mark unused parameters.
13344 (ido-copy-current-word): Mark unused parameters;
13345 remove unused variable `name'.
13346 (ido-sort-merged-list): Remove unused parameter `dirs'.
13347
13348 * ielm.el (ielm-input-sender): Mark unused parameter.
13349 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13350 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13351 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13352 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13353 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13354
13355 * image-dired.el (image-dired-display-thumbs): Remove unused
13356 variables `curr-file' and `count'.
13357 (image-dired-remove-tag): Remove unused variable `start'.
13358 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13359 variable `curr-file'
13360 (image-dired-rotate-original): Remove unused variable `temp-file'.
13361 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13362 Remove unused variable `file'.
13363 (image-dired-gallery-generate): Remove unused variable `curr'.
13364 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13365
13366 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13367
13368 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13369
13370 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13371
13372 * isearch.el (minibuffer-history-symbol): Declare.
13373 (isearch-edit-string): Remove unused variable `err'.
13374 (isearch-message-prefix, isearch-message-suffix):
13375 Mark unused parameters.
13376
13377 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13378
13379 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13380
13381 * makesum.el (double-column): Remove unused variable `cnt'.
13382
13383 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13384 (ido-ignore-item-temp-list): Declare.
13385
13386 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13387 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13388 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13389 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13390 `mouse-col-delta'.
13391
13392 * mouse-sel.el (mouse-extend-internal):
13393 Remove unused variable `orig-window-frame'.
13394
13395 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13396 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13397 Move declarations before first use.
13398 (pcomplete-opt): Mark unused parameters; doc fix.
13399
13400 * proced.el (proced-revert): Mark unused parameter.
13401 (proced-send-signal): Remove unused variable `err'.
13402
13403 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13404 Rename parameter PREFIX-ARG to ARG.
13405 (ps-basic-plot-string, ps-basic-plot-whitespace):
13406 Mark unused parameters.
13407
13408 * replace.el (replace-count): Define.
13409 (occur-revert-function): Mark unused parameters.
13410 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13411 (isearch-case-fold-search, isearch-string): Declare.
13412 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13413 bind `case-fold-search'. Remove unused variables `beg' and `end',
13414 and simplify.
13415 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13416 COUNT and bind `replace-count'.
13417 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13418 to COUNT.
13419
13420 * savehist.el (print-readably, print-string-length): Declare.
13421
13422 * shadowfile.el (shadow-expand-cluster-in-file-name):
13423 Remove unused variable `cluster'.
13424 (shadow-copy-file): Remove unused variable `i'.
13425 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13426 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13427 (shadow-define-literal-group, shadow-define-regexp-group)
13428 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13429
13430 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13431 (shell): Use `called-interactively-p'.
13432 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13433
13434 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13435 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13436 (delete-backward-char): Remove unused variable `ocol'.
13437 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13438 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13439 (event-apply-hyper-modifier, event-apply-shift-modifier)
13440 (event-apply-control-modifier, event-apply-meta-modifier):
13441 Mark unused parameters.
13442 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13443 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13444
13445 * speedbar.el (speedbar-ignored-directory-expressions)
13446 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13447 (speedbar-find-file, speedbar-dir-follow)
13448 (speedbar-directory-buttons-follow, speedbar-tag-find)
13449 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13450 (speedbar-buffers-line-directory, speedbar-buffer-click):
13451 Mark unused parameters.
13452 (speedbar-tag-file): Remove unused variable `mode'.
13453 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13454
13455 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13456
13457 * talk.el (talk): Remove unused variable `display'.
13458
13459 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13460 (tar-write-region-annotate): Mark unused parameter.
13461
13462 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13463 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13464 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13465 warning by another.
13466
13467 * time-stamp.el (time-stamp-string-preprocess):
13468 Remove unused variable `require-padding'.
13469
13470 * tree-widget.el (widget-glyph-enable): Declare.
13471 (tree-widget-action): Mark unused parameter.
13472
13473 * w32-fns.el (x-get-selection): Mark unused parameter.
13474 (autoload-make-program, generated-autoload-file): Declare.
13475
13476 * wdired.el (wdired-revert): Mark unused parameters.
13477 (wdired-xcase-word): Remove unused variable `err'.
13478
13479 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13480 (whitespace-help-scroll): Remove unused variable `data-help'.
13481
13482 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13483 (widget-image-insert, widget-after-change, default)
13484 (widget-default-format-handler, widget-default-notify)
13485 (widget-default-prompt-value, widget-info-link-action)
13486 (widget-url-link-action, widget-function-link-action)
13487 (widget-variable-link-action, widget-file-link-action)
13488 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13489 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13490 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13491 (widget-insert-button-action, widget-delete-button-action, visibility)
13492 (widget-documentation-link-action, widget-documentation-string-action)
13493 (widget-const-prompt-value, widget-regexp-match, symbol)
13494 (widget-coding-system-prompt-value)
13495 (widget-key-sequence-value-to-external, sexp)
13496 (widget-sexp-value-to-internal, character, vector, cons)
13497 (widget-choice-prompt-value, widget-boolean-prompt-value)
13498 (widget-color--choose-action): Mark unused parameters.
13499 (widget-item-match-inline, widget-choice-match-inline)
13500 (widget-checklist-match, widget-checklist-match-inline)
13501 (widget-group-match): Rename parameter VALUES to VALS.
13502 (widget-field-value-set): Remove unused variable `size'.
13503 (widget-color-action): Remove unused variables `value' and `start'.
13504
13505 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13506 variable `dir'. Doc fix.
06b60517
JB
13507 (windmove-find-other-window): Don't pass it.
13508
13509 * window.el (count-windows): Mark unused parameter.
13510 (bw-adjust-window): Remove unused variable `err'.
13511
13512 * woman.el (woman-file-name): Remove unused variable `default'.
13513 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13514 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13515 (global-font-lock-mode): Declare.
13516 (woman-decode-region): Mark unused parameter.
13517 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13518
13519 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13520 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13521 (x-dnd-handle-moz-url): Remove unused variable `title'.
13522 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13523
13524 * xml.el (xml-parse-tag, xml-parse-attlist):
13525 Remove unused variable `pos'.
13526
bc4f7f3d
GM
135272011-04-19 Glenn Morris <rgm@gnu.org>
13528
13529 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13530 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13531 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13532 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13533 * calendar/cal-html.el (cal-html-insert-minical):
13534 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13535 (calendar-mark-date-pattern):
13536 Prefix "unused" locals.
13537
13538 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13539 optional argument `style'.
13540
13541 * calendar/appt.el (appt-make-list):
13542 * calendar/cal-china.el (calendar-chinese-date-string):
13543 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13544 (diary-hebrew-yahrzeit):
13545 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13546 * calendar/calendar.el (calendar-generate-window):
13547 * calendar/time-date.el (time-to-days):
13548 Remove unused local variables.
13549
16a43933
CY
135502011-04-18 Chong Yidong <cyd@stupidchicken.com>
13551
13552 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13553 glyphless-char-display table.
13554 (tabulated-list-glyphless-char-display): New var.
13555
7eed1860
SS
135562011-04-18 Sam Steingold <sds@gnu.org>
13557
13558 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13559 to acknowledgments.
13560
4d2d1ccd
GM
135612011-04-17 Glenn Morris <rgm@gnu.org>
13562
13563 * calendar/diary-lib.el (diary-sexp-entry):
13564 * calendar/holidays.el (holiday-sexp):
13565 Set debug-on-error rather than the removed stack-trace-on-error.
13566
239da61d
GM
135672011-04-16 Glenn Morris <rgm@gnu.org>
13568
13569 * progmodes/f90.el: Use lexical-binding.
13570 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13571
8b05752a
SM
135722011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13573
daca8ba5
SM
13574 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13575 (mail-mode): Setup mailalias completion here instead.
13576 * mail/mailalias.el: Use lexical-binding.
13577 (pattern, mailalias-done): Declare dynamic.
13578 (mail-completion-at-point-function): New function, from mail-complete.
13579 (mail-complete): Use it.
13580 (mail-completion-expand): New function.
13581 (mail-get-names): Use it.
13582 (mail-directory, mail-directory-process, mail-directory-stream):
13583 Don't use `pattern' for lexically bound arg.
13584
6f542485
SM
13585 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13586
037e7c3f
SM
13587 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13588 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13589 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13590
8b05752a
SM
13591 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13592 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13593 (byte-interactive-p): Define them again, for use when inlining
13594 old code.
13595
49093f60
JB
135962011-04-15 Juanma Barranquero <lekktu@gmail.com>
13597
13598 * loadup.el: Use `string-to-number', not `string-to-int'.
13599
b5b8e7de
SM
136002011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13601
13602 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13603 gud-gdb-complete-command.
13604 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13605 (gud-gdb-completion-at-point): New function.
13606 (gud-gdb-completions): Remove.
13607
f42efeb5
MA
136082011-04-14 Michael Albinus <michael.albinus@gmx.de>
13609
49093f60
JB
13610 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13611 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13612 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13613 whether `executable-find' is bound.
f42efeb5
MA
13614
13615 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13616
e240cc21
SM
136172011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * minibuffer.el (completion-in-region-mode-predicate)
13620 (completion-in-region-mode--predicate): New vars.
13621 (completion-in-region, completion-in-region--postch)
13622 (completion-in-region-mode): Use them.
13623 (completion--capf-wrapper): Also return the hook function.
13624 (completion-at-point, completion-help-at-point):
13625 Adjust and provide a predicate.
c2bd2ab0
SM
13626
13627 Preserve arg names for advice of subr and lexical functions (bug#8457).
13628 * help-fns.el (help-function-arglist): Consolidate the subr and
13629 new-byte-code cases. Add argument `preserve-names' to extract names
13630 from the docstring when needed.
13631 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13632 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13633 (ad-arglist): Use help-function-arglist's new arg.
13634 (ad-definition-type): Use cond.
13635
c183f693
JB
136362011-04-13 Juanma Barranquero <lekktu@gmail.com>
13637
06641a47
JB
13638 * autorevert.el (auto-revert-handler):
13639 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13640 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13641 Don't quote lambda.
13642
c183f693
JB
13643 * image-mode.el (image-transform-set-scale):
13644 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13645
1e3b6001
G
136462011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13647
13648 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13649 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13650 Upgrades via gnutls-cli are too slow to be done opportunistically.
13651
2d6af8dd
JB
136522011-04-12 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * dframe.el (dframe-current-frame): Remove spurious quote.
13655
c0749a51
GM
136562011-04-12 Glenn Morris <rgm@gnu.org>
13657
088d0d61
GM
13658 * calendar/cal-tex.el (cal-tex-end-document):
13659 Try to automatically use latin1 input if needed.
13660
c0749a51
GM
13661 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13662 Don't try to cons a mark onto an empty element.
13663
5c90fde0
LL
136642011-04-11 Leo Liu <sdl.web@gmail.com>
13665
13666 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13667 buffers.
13668 (ido-kill-buffer-at-head): Support killing virtual buffers.
13669
369e974d
CY
136702011-04-10 Chong Yidong <cyd@stupidchicken.com>
13671
13672 * minibuffer.el (completion-show-inline-help): New var.
13673 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13674 (minibuffer-force-complete, minibuffer-complete-word):
13675 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13676
13677 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13678 to avoid interference from inline help (Bug#5849).
13679
37f1c930
LL
136802011-04-10 Leo Liu <sdl.web@gmail.com>
13681
099c39a4
JB
13682 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13683 Fix typo.
37f1c930 13684
a32d4040
CY
136852011-04-09 Chong Yidong <cyd@stupidchicken.com>
13686
13687 * image-mode.el (image-toggle-display-image): Signal an error if
13688 not in Image mode.
13689 (image-transform-mode, image-transform-resize)
13690 (image-transform-set-rotation): Doc fix.
daca8ba5 13691 (image-transform-set-resize): Delete.
a32d4040
CY
13692 (image-transform-set-scale, image-transform-fit-to-height)
13693 (image-transform-fit-to-width): Handle image-toggle-display-image
13694 and image-transform-resize directly.
13695
099c39a4 136962011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13697
13698 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13699 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13700 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13701 (doc-view-mode-map): Add bindings for the new functions.
13702
099c39a4 137032011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13704
4d61f28d 13705 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13706 Fix typo in docstring.
13707
3726838a
EZ
137082011-04-08 Eli Zaretskii <eliz@gnu.org>
13709
04f33f1e
EZ
13710 * files.el (file-size-human-readable): Produce one digit after
13711 decimal, like "ls -lh" does.
13712
13713 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13714 the file size representation.
13715
3726838a
EZ
13716 * simple.el (list-processes): If async subprocesses are not
13717 available, error out with a clear error message.
13718
cbb59342
CY
137192011-04-08 Chong Yidong <cyd@stupidchicken.com>
13720
13721 * help.el (help-form-show): New function, to be called from C.
13722 Put help-form output in a buffer named differently than *Help*.
13723
e3971c44
EZ
137242011-04-08 Eli Zaretskii <eliz@gnu.org>
13725
13726 * files.el (file-size-human-readable): New function.
13727
13728 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13729 computing the representation inline. Don't require `cl'.
13730
12544bbe
GM
137312011-04-08 Glenn Morris <rgm@gnu.org>
13732
a1de6c6a
GM
13733 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13734
3c4671f4
GM
13735 * net/browse-url.el (browse-url-firefox):
13736 Test system-type, not system-configuration.
13737
b605679c
GM
13738 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13739 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13740 Use log-edit-empty-buffer-p. (Bug#7598)
13741
56442f0c
GM
13742 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13743 (rlogin-mode-map): Initialize in the defvar.
13744 (rlogin): Use ignore-errors.
13745
12544bbe
GM
13746 * replace.el (occur-mode-map): Some fixes for menu items.
13747
eb237b0f
AH
137482011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13749
13750 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13751
7d668f2c
CY
137522011-04-06 Chong Yidong <cyd@stupidchicken.com>
13753
e67a13ab
CY
13754 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13755 issuing unused warnings.
13756
13757 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13758 macro directly.
13759
7d668f2c
CY
13760 * simple.el: Lisp reimplement of list-processes. Based on an
13761 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13762 (process-menu-mode): New major mode.
13763 (list-processes--refresh, list-processes):
13764 (process-menu-visit-buffer): New functions.
13765
13766 * files.el (save-buffers-kill-emacs): Don't assume any return
13767 value of list-processes, which is undocumented anyway.
13768
a83ec3c9
CY
137692011-04-06 Chong Yidong <cyd@stupidchicken.com>
13770
13771 * emacs-lisp/tabulated-list.el: New file.
13772
e91a96fe
CY
13773 * emacs-lisp/package.el: Use Tabulated List mode.
13774 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13775 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13776 table format using Tabulated List mode variables.
13777 (package--push): New macro, replacing package-list-maybe-add.
13778 (package-menu--generate): Use package--push. Renamed from
13779 package--generate-package-list.
13780 (package-menu-refresh, list-packages): Use it.
daca8ba5 13781 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13782 Return insertion data instead of inserting it directly.
099c39a4
JB
13783 (package-menu-describe-package, package-menu-execute):
13784 Use tabulated-list-get-id.
e91a96fe
CY
13785 (package-menu-mark-delete, package-menu-mark-install)
13786 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13787 (package-menu-mark-obsolete-for-deletion):
13788 Use tabulated-list-put-tag.
e91a96fe
CY
13789 (package--list-packages, package-menu-revert)
13790 (package-menu-get-package, package-menu-get-version)
13791 (package-menu-sort-by-column): Functions deleted.
13792 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13793 (package-menu--status-predicate, package-menu--version-predicate)
13794 (package-menu--name-predicate)
13795 (package-menu--description-predicate): Handle arguments in the
13796 Tabulated List format.
13797 (package-list-packages-no-fetch): Call list-packages.
13798
3e214b50
JB
137992011-04-06 Juanma Barranquero <lekktu@gmail.com>
13800
13801 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13802 (after-find-file): Don't bind it.
3e214b50
JB
13803 (revert-buffer-in-progress-p): New variable.
13804 (revert-buffer): Bind it.
13805 Pass nil for `after-find-file-from-revert-buffer'.
13806
13807 * saveplace.el (save-place-find-file-hook): Use new variable
13808 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13809
3f0f1700
GM
138102011-04-06 Glenn Morris <rgm@gnu.org>
13811
c0274801
GM
13812 * Makefile.in (AUTOGEN_VCS): New variable.
13813 (autoloads): Use $AUTOGEN_VCS.
13814
3f0f1700
GM
13815 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13816 * calendar/calendar.el (calendar-mode-map):
13817 Check for toolkit scroll bars. (Bug#8305)
13818
41ea9e48
CY
138192011-04-05 Chong Yidong <cyd@stupidchicken.com>
13820
13821 * minibuffer.el (completion-in-region--postch)
13822 (completion-in-region-mode): Remove unnecessary messages.
13823
6194c800
JB
138242011-04-05 Juanma Barranquero <lekktu@gmail.com>
13825
33256f14
JB
13826 * font-lock.el (font-lock-refresh-defaults):
13827 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13828 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13829
6194c800
JB
13830 * info.el (Info-directory-list, Info-read-node-name-2)
13831 (Info-split-parameter-string): Doc fixes.
13832 (Info-virtual-nodes): Reflow docstring.
13833 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13834 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13835 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13836 Fix typos in docstrings.
13837 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13838 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13839 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13840 (Info-restore-desktop-buffer): Mark unused parameters.
13841 (Info-directory-find-file, Info-directory-find-node)
13842 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13843 (Info-virtual-index-find-node, Info-apropos-find-file)
13844 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13845 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13846 (Info-virtual-index): Remove unused local variable `nodename'.
13847
b87a8200 138482011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13849
b87a8200
DD
13850 * net/rcirc.el: Update my e-mail address.
13851 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13852
3b2ff876
CY
138532011-04-05 Chong Yidong <cyd@stupidchicken.com>
13854
13855 * startup.el (command-line): Save the cursor's theme-face
13856 directly, instead of using face-override-spec.
13857
13858 * custom.el (load-theme): Minor optimization in assigning faces.
13859
8d17e7ca
JB
138602011-04-04 Juanma Barranquero <lekktu@gmail.com>
13861
13862 * help-fns.el (describe-variable): Complete all variables having
13863 documentation, including keywords.
13864 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13865
2fbc1934
JB
138662011-04-04 Juanma Barranquero <lekktu@gmail.com>
13867
13868 Convert to lexical-binding.
13869
13870 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13871 (bs--get-marked-string, bs--get-modified-string)
13872 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13873 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13874 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13875
13876 * ehelp.el (electric-help-execute-extended)
13877 (electric-help-ctrl-x-prefix):
13878 * hexl.el (hexl-revert-buffer-function):
13879 * linum.el (linum-after-change, linum-after-scroll):
13880 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13881
13882 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13883
74f50695
DU
138842011-04-04 Daiki Ueno <ueno@unixuser.org>
13885
13886 * epa-dired.el:
13887 * epa-mail.el:
13888 * epa-hook.el:
13889 * epa-file.el:
13890 * epa.el:
13891 * epg.el: Use lexical binding.
13892
c11325f7
CY
138932011-04-03 Chong Yidong <cyd@stupidchicken.com>
13894
0d9e9a12
CY
13895 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13896
c11325f7 13897 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13898 dictionary case for flyspell-mark-duplications-exceptions.
13899 Use regexp matching for languages.
c11325f7
CY
13900 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13901 default dictionary (Bug#7926).
13902
da91b5f2
CY
139032011-04-02 Chong Yidong <cyd@stupidchicken.com>
13904
099c39a4
JB
13905 * emacs-lisp/package.el (package--with-work-buffer):
13906 Recognize https URLs.
da91b5f2 13907
099c39a4
JB
13908 * net/network-stream.el: Move from gnus/proto-stream.el.
13909 Change prefix to network-stream throughout.
da91b5f2
CY
13910 (open-protocol-stream): Merge into open-network-stream, leaving
13911 open-protocol-stream as an alias. Handle nil BUFFER args.
13912
13913 * subr.el (open-network-stream): Move to net/network-stream.el.
13914
afa8e9f6
GM
139152011-04-02 Glenn Morris <rgm@gnu.org>
13916
1d2e369d
GM
13917 * find-dired.el (find-exec-terminator): New option.
13918 (find-ls-option): Test for -ls support.
13919 (find-ls-subdir-switches): Test for -b in find-ls-option.
13920 (find-dired, find-grep-dired): Doc fixes.
13921 (find-dired): Use find-exec-terminator.
13922
8abb7da8 13923 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13924 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13925 (find-name-arg): Remove purecopy.
8abb7da8 13926
f3ca7378
GM
13927 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13928 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13929 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13930 accordingly. Don't add the null-device if not needed.
13931
afa8e9f6
GM
13932 * files.el (save-some-buffers): Doc fix.
13933
35eae264
EZ
139342011-04-02 Eli Zaretskii <eliz@gnu.org>
13935
13936 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13937
26b51db5
JB
139382011-04-01 Juanma Barranquero <lekktu@gmail.com>
13939
13940 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13941 Use `dolist' rather than `mapcar'.
13942
7200d79c
SM
139432011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13944
03408648 13945 Add lexical binding.
7200d79c 13946
03408648
SM
13947 * subr.el (apply-partially): Use new closures rather than CL.
13948 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13949 (dolist, dotimes): Use slightly different expansion for lexical code.
13950 (functionp): Move to C.
13951 (letrec): New macro.
13952 (with-wrapper-hook): Use it and apply-partially instead of CL.
13953 (eval-after-load): Preserve lexical-binding.
13954 (save-window-excursion, with-output-to-temp-buffer): Turn them
13955 into macros.
7200d79c 13956
03408648
SM
13957 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13958
13959 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13960 than the arglist.
13961 (help-add-fundoc-usage): Don't add `Not documented'.
13962 (help-function-arglist): Handle closures, subroutines, and new
13963 byte-code-functions.
13964 (help-make-usage): Remove leading underscores.
13965 (describe-function-1): Handle closures.
13966 (describe-variable): Use special-variable-p for completion.
13967
13968 * files.el (lexical-binding): Declare safe.
f488fb65 13969
03408648
SM
13970 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13971 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13972 (pcase): Add `let' pattern.
13973 Change memoization so it actually works.
13974 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13975 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13976 <let>: New case.
f488fb65 13977
03408648
SM
13978 * emacs-lisp/macroexp.el: Use lexical binding.
13979 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13980 Don't convert ' to #' without checking that it's indeed quoting
13981 a lambda.
13982
13983 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13984 Use eval-sexp-add-defvars.
03408648
SM
13985 (eval-sexp-add-defvars): New fun.
13986
13987 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13988
13989 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13990 Don't autoload.
13991 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13992 than the internal `byte-compile-lambda'.
13993 (defmethod): Don't hide code under quotes.
13994 (eieio-defmethod): New `code' argument.
13995
13996 * emacs-lisp/eieio-comp.el: Remove.
13997
13998 * emacs-lisp/edebug.el (edebug-eval-defun)
13999 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14000 (edebug-toggle): Avoid `eval'.
14001
14002 * emacs-lisp/disass.el (disassemble-internal): Handle new
14003 `closure' objects.
14004 (disassemble-1): Handle new byte codes.
14005
14006 * emacs-lisp/cl.el (pushnew): Silence warning.
14007
14008 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14009 (cl-byte-compile-throw): Remove.
14010 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14011
14012 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14013 closures.
14014
14015 * emacs-lisp/cconv.el: New file.
14016
14017 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14018 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14019 (byte-compile-initial-macro-environment):
14020 Handle declare-function here.
14021 (byte-compile--lexical-environment): New var.
14022 (byte-stack-ref, byte-stack-set, byte-discardN)
14023 (byte-discardN-preserve-tos): New lap codes.
14024 (byte-interactive-p): Don't use any more.
14025 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14026 New macros.
14027 (byte-compile-lapcode): Use them and handle new lap codes.
14028 (byte-compile-obsolete): Remove.
14029 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14030 (byte-compile-arglist-warn): Check late def of inlinable funs.
14031 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14032 since they should have been expanded by now.
14033 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14034 (byte-compile-from-buffer): Remove unused second arg.
14035 (byte-compile-preprocess): New function.
14036 (byte-compile-toplevel-file-form): New function to distinguish
14037 file-form calls from outside from file-form calls from hunk-handlers.
14038 (byte-compile-file-form): Simplify.
14039 (byte-compile-file-form-defsubst): Remove.
14040 (byte-compile-file-form-defmumble): Simplify now that
14041 byte-compile-lambda always returns a byte-code-function.
14042 (byte-compile): Preprocess.
14043 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14044 Remove, not used any more.
14045 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14046 (byte-compile-make-args-desc): New funs.
14047 (byte-compile-lambda): Handle lexical functions. Always return
14048 a byte-code-function.
14049 (byte-compile-reserved-constants): New var, to make up room for
14050 closed-over variables.
14051 (byte-compile-constants-vector): Obey it.
14052 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14053 (byte-compile-macroexpand-declare-function): New function.
14054 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14055 byte-code-functions.
14056 (byte-compile-form): Check obsolescence here.
14057 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14058 (byte-compile-variable-ref): Remove.
14059 (byte-compile-dynamic-variable-op): New fun.
14060 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14061 (byte-compile-variable-set): New funs.
14062 (byte-compile-discard): Add 2 args.
14063 (byte-compile-stack-ref, byte-compile-stack-set)
14064 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14065 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14066 macroexpand-all instead.
14067 (byte-compile-quote-form): Remove.
14068 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14069 (byte-compile-bind, byte-compile-unbind): New funs.
14070 (byte-compile-let): Handle let* and lexical binding.
14071 (byte-compile-let*): Remove.
14072 (byte-compile-catch, byte-compile-unwind-protect)
14073 (byte-compile-track-mouse, byte-compile-condition-case):
14074 Handle a new :fun-body form, used for lexical scoping.
14075 (byte-compile-save-window-excursion)
14076 (byte-compile-with-output-to-temp-buffer): Remove.
14077 (byte-compile-defun): Simplify.
14078 (byte-compile-stack-adjustment): New fun.
14079 (byte-compile-out): Use it.
14080 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14081
14082 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14083 handler any more.
14084
14085 * emacs-lisp/byte-opt.el: Use lexical binding.
14086 (byte-inline-lapcode): Remove (to bytecomp).
14087 (byte-compile-inline-expand): Pay attention to inlining to/from
14088 lexically bound code.
14089 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14090 any more.
14091 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14092 any more and don't call compiler-macros.
14093 (byte-compile-splice-in-already-compiled-code): Remove.
14094 (byte-code): Don't inline any more.
14095 (disassemble-offset): Receive `bytes' as argument rather than via
14096 dynamic scoping.
14097 (byte-compile-tag-number): Declare before first use.
14098 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14099 `return' even if make-spliceable.
14100 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14101 obsolete interactive-p.
14102 (byte-optimize-lapcode): Optimize new lap-codes.
14103 Don't trip up on new form of `byte-constant' lap code.
14104
14105 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14106
14107 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14108
14109 * custom.el (custom-initialize-default, custom-declare-variable):
14110 Use `defvar'.
14111
14112 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14113 New variables.
14114 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14115 (COMPILE_FIRST): Add macroexp and cconv.
14116 * makefile.w32-in: Mirror changes in Makefile.in.
14117
14118 * vc/cvs-status.el:
14119 * vc/diff-mode.el:
14120 * vc/log-edit.el:
14121 * vc/log-view.el:
14122 * vc/smerge-mode.el:
14123 * textmodes/bibtex-style.el:
14124 * textmodes/css.el:
14125 * startup.el:
14126 * uniquify.el:
da91b5f2
CY
14127 * minibuffer.el:
14128 * newcomment.el:
14129 * reveal.el:
14130 * server.el:
14131 * mpc.el:
14132 * emacs-lisp/smie.el:
14133 * doc-view.el:
14134 * dired.el:
03408648
SM
14135 * abbrev.el: Use lexical binding.
14136
0f0c1f27
EZ
141372011-04-01 Eli Zaretskii <eliz@gnu.org>
14138
14139 * info.el (info-display-manual): New function.
14140
c82b2579
SM
141412011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14144
221ddf68
TH
141452011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14146
14147 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14148 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14149
cba6e77e
GM
141502011-03-31 Glenn Morris <rgm@gnu.org>
14151
e040639f
GM
14152 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14153
cba6e77e
GM
14154 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14155
6d0f1c9e
CS
141562011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14157
14158 * progmodes/python.el (python-default-interpreter)
14159 (python-python-command-args, python-jython-command-args)
14160 (python-which-shell, python-which-args, python-which-bufname)
14161 (python-file-queue, python-comint-output-filter-function)
14162 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14163 variables and functions.
14164
3e2d70fd
SM
141652011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14168 (completion-in-region-mode): New minor mode.
14169 (completion-in-region): Use it.
14170 (completion-in-region--data, completion-in-region-mode-map): New vars.
14171 (completion-in-region--postch): New function.
14172 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14173 New vars.
14174 (completion--capf-wrapper): New function.
14175 (completion-at-point): Use it to track well-behavedness of
14176 hook functions.
14177 (completion-help-at-point): New command.
14178
f3e4086c
JM
141792011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14180
14181 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14182 syntax class to search for whitespace on a single line
14183 (Message-ID: <4D938140.4030905@redhat.com>).
14184
eb7ffc14
LL
141852011-03-30 Leo Liu <sdl.web@gmail.com>
14186
14187 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14188 New commands.
14189 (edit-abbrevs-map): Bind them here.
14190 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14191
d806ab68
KM
141922011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14193
14194 * allout.el (allout-hide-by-annotation, allout-flag-region):
14195 Reduce possibility of overlay leakage by making them volatile.
14196
14197 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14198 hash is not shared between buffers. Mode initialization is
14199 responsible for giving it a useful starting value.
14200 (allout-item-span): Reduce possibility of overlay leakage by
14201 making them volatile.
14202 (allout-widgets-count-buttons-in-region): Add diagnostic function
14203 for tracking down button overlay leaks.
14204
ea622834
LL
142052011-03-29 Leo Liu <sdl.web@gmail.com>
14206
14207 * ido.el (ido-read-internal): Use the default history var
14208 minibuffer-history if no HISTORY is specified.
14209
b62f8267
G
142102011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14211
03408648
SM
14212 * net/imap.el (imap-shell-open, imap-process-connection-type):
14213 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14214 Kerberos, SSL, other subprocesses.
14215
947b6566
LL
142162011-03-28 Leo Liu <sdl.web@gmail.com>
14217
14218 * abbrev.el (abbrev-table-empty-p): New function.
14219 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14220 nonempty ones. (Bug#5937)
14221
5ffb62aa
JD
142222011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14223
14224 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14225
7a097943
LL
142262011-03-27 Leo Liu <sdl.web@gmail.com>
14227
14228 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14229 for foreground and background colors.
14230 (ansi-color-make-color-map): Adapt.
14231
c5b40130
LL
142322011-03-25 Leo Liu <sdl.web@gmail.com>
14233
1f48f7d2
LL
14234 * midnight.el (midnight-time-float): Remove. Note it calculates
14235 the microsecond component incorrectly and seconds-to-time does the
14236 same job.
625897ec 14237 Remove redundant (require 'timer).
1f48f7d2 14238
c5b40130
LL
14239 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14240 (ido-completions): Remove unused arguments. (Bug#8329)
14241
d86d2721
SM
142422011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * minibuffer.el (completion--flush-all-sorted-completions):
14245 Remove itself from hook.
14246 (completion-at-point): Let the functions perform the completion
14247 immediately and return nil or t.
14248 * comint.el (comint-dynamic-complete-functions): Now identical to
14249 completion-at-point-functions.
14250 (comint-dynamic-list-input-ring): Remove unused var `index'.
14251 (comint--match-partial-filename, comint--unquote&expand-filename):
14252 New funs, split from comint-match-partial-filename.
14253 (comint-dynamic-complete): Use completion-at-point.
14254 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14255
e8974c48
DA
142562011-03-24 Drew Adams <drew.adams@oracle.com>
14257
14258 * thingatpt.el: Support `defun'.
14259
def71b5e
LL
142602011-03-23 Leo Liu <sdl.web@gmail.com>
14261
cb5af48e
LL
14262 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14263
def71b5e
LL
14264 * help-mode.el (help-mode-finish): Tweak regexp.
14265
927c53e7
GM
142662011-03-23 Glenn Morris <rgm@gnu.org>
14267
18d05bed
GM
14268 * eshell/esh-opt.el (eshell-eval-using-options):
14269 Do not bind unused local variable `eshell-option-stub'.
14270
927c53e7
GM
14271 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14272
9d0da923
JB
142732011-03-22 Juanma Barranquero <lekktu@gmail.com>
14274
14275 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14276 keymap variable in `with-no-warnings' to avoid a warning when the
14277 keymap has been already `defconst'ed.
14278
4b978a67
LL
142792011-03-22 Leo Liu <sdl.web@gmail.com>
14280
14281 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14282 encode all chars in abbrevs; otherwise use emacs-mule or
14283 utf-8-emacs. (Bug#8308)
14284
5fd62452
JB
142852011-03-22 Juanma Barranquero <lekktu@gmail.com>
14286
0b1596c6
JB
14287 * simple.el (backward-delete-char-untabify):
14288 Avoid warning about using `delete-backward-char'.
14289
5fd62452
JB
14290 * image.el (image-type-file-name-regexps): Make it variable.
14291 `imagemagick-register-types' modifies it, and the user may want
14292 to add new extensions for known image types.
14293 (imagemagick-register-types): Throw error if not using ImageMagick.
14294
0b4e93f1
LL
142952011-03-22 Leo Liu <sdl.web@gmail.com>
14296
14297 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14298 located before rcirc-prompt-end-marker.
14299 (rcirc-complete): Error if point is not after rcirc prompt.
14300 Handle the case when table is nil.
9882e214 14301 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14302
fccee4ab
CY
143032011-03-22 Chong Yidong <cyd@stupidchicken.com>
14304
14305 * custom.el (custom--inhibit-theme-enable): Make it affect only
14306 custom-theme-set-variables and custom-theme-set-faces.
14307 (provide-theme): Ignore custom--inhibit-theme-enable.
14308 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14309 (custom-enabling-themes): Delete variable.
d86d2721
SM
14310 (enable-theme): Accept only loaded themes as arguments.
14311 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14312 (custom-enabled-themes): Forbid themes from setting this.
14313 Eliminate use of custom-enabling-themes.
14314 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14315
af896da6
LL
143162011-03-21 Leo Liu <sdl.web@gmail.com>
14317
14318 * ido.el (ido-read-internal): Add ido-selected to history instead
14319 of user input.
14320
78f64af0
SM
143212011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * subr.el (deferred-action-list, deferred-action-function):
14324 Mark obsolete.
14325
b16ac1ec
LL
143262011-03-21 Leo Liu <sdl.web@gmail.com>
14327
810f7698
LL
14328 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14329 change on 2011-02-13 (bug#8309).
14330
b16ac1ec
LL
14331 * minibuffer.el (read-file-name-function): Change default value.
14332 (read-file-name--defaults): Rename from read-file-name-defaults.
14333 (read-file-name-default): Rename from read-file-name.
14334 (read-file-name): Call read-file-name-function.
14335
4e05e67e
GM
143362011-03-21 Glenn Morris <rgm@gnu.org>
14337
14338 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14339 Doc fixes.
14340
4359915b
CY
143412011-03-21 Chong Yidong <cyd@stupidchicken.com>
14342
14343 * cus-theme.el: Add missing provide statement.
14344 (customize-create-theme): Extract theme value correctly.
14345 (custom-theme-visit-theme): Autoload.
14346 (customize-create-theme): Prompt before inserting default faces.
14347
1fe275ee
JB
143482011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14349
14350 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14351 units and musical notes.
14352
cd394be1 143532011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14354
14355 * ido.el (ido-read-internal): Use completing-read-default.
14356 (ido-completing-read): Fix compatibility with completing-read.
14357
7d476bde
CO
143582011-03-20 Christian Ohler <ohler@gnu.org>
14359
14360 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14361 (ert-delete-all-tests): Use `called-interactively-p' rather than
14362 `interactive-p'.
14363 (ert--make-xrefs-region): Respect END.
14364
fe0fb33e
CY
143652011-03-19 Chong Yidong <cyd@stupidchicken.com>
14366
ff854b0b
CY
14367 * dired-aux.el (dired-create-directory): Signal an error if the
14368 directory already exists (Bug#8246).
14369
fe0fb33e
CY
14370 * facemenu.el (list-colors-display): Call list-faces-display
14371 inside with-help-window.
14372 (list-colors-print): Use display property to align the final
14373 column, instead of checking window-width.
14374
576bce32
EZ
143752011-03-19 Eli Zaretskii <eliz@gnu.org>
14376
4d61f28d 14377 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14378 windows-nt systems.
14379 (emerge-protect-metachars): Quote correctly for ms-dos and
14380 windows-nt systems.
14381
89c41d68 143822011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14383
14384 * info.el (info-initialize): Replace all uses of `:' with
14385 path-separator for compatibility with non-Unix systems.
14386 Cache quoting of path-separator. (Bug#8258)
14387
b14e3e21 143882011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14389
14390 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14391 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14392 (mouse-avoidance-mode): Fix typos in docstrings.
14393
4525ce3e
CY
143942011-03-19 Chong Yidong <cyd@stupidchicken.com>
14395
14396 * startup.el (package-subdirectory-regexp): Move from package.el.
14397 Omit \\` and \\', and let callers add them.
14398
14399 * emacs-lisp/package.el (package-strip-version)
14400 (package-load-all-descriptors): Add \\` and \\' to
14401 package-subdirectory-regexp before using it.
14402 (package-untar-buffer): New arg DIR; ensure that file untars only
14403 into this expected directory. Remove superfluous delete-region.
14404 (package-unpack): Caller changed.
14405 (package-tar-file-info): Use package-subdirectory-regexp.
14406
a904a09a 144072011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14408
a904a09a
SM
14409 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14410 diff-mode-shared-map (bug#8284).
14411 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14412
144132011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14414
14415 * calendar/time-date.el (format-seconds): Use assoc instead of
14416 assoc-string, since assoc-string doesn't exist in XEmacs.
14417
171fc304
JB
144182011-03-17 Juanma Barranquero <lekktu@gmail.com>
14419
14420 * custom.el (custom-known-themes): Reflow docstring.
14421 (custom-theme-load-path): Fix typo in docstring.
14422 (load-theme): Fix typo in error message.
14423 (custom-available-themes, custom-variable-theme-value):
14424 Use `let', not `let*'.
14425
d71990a1
JB
144262011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14427
14428 * calc/README: Mention inclusion of musical notes.
14429
14430 * calc/calc-units.el (calc-lu-quant): Rename from
14431 `calc-logunits-quantity'.
14432 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14433 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14434 (calc-db): Rename from `calc-dblevel'.
14435 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14436 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14437 (calc-np): Rename from `calc-nplevel'.
14438 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14439 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14440 (calc-lu-plus): Rename from `calc-logunits-add'.
14441 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14442 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14443 (calc-lu-minus): Rename from `calc-logunits-sub'.
14444 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14445 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14446 (calc-lu-times): Rename from `calc-logunits-mul'.
14447 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14448 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14449 (calc-lu-divide): Rename from `calc-logunits-div'.
14450 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14451 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14452
14453 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14454 functions being autoloaded.
14455
14456 * calc/calc.el (calc-lu-power-reference): Rename from
14457 `calc-logunits-power-reference'.
14458 (calc-lu-field-reference): Rename from
14459 `calc-logunits-field-reference'.
14460
7a71b18d
GM
14461 * calc/calc-help.el (calc-l-prefix-help):
14462 Mention musical note functions.
d71990a1 14463
40c2934b
SM
144642011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14465
14466 * minibuffer.el (completion-all-sorted-completions):
14467 Use :completion-cycle-penalty text property if present.
14468
b0911414
KM
144692011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14470
14471 * allout.el (allout-yank-processing): Adjust for new rebulleting
14472 regime so bullet being yanked is used without prompting the user
14473 for a choice.
14474
8a05b668
JB
144752011-03-16 Juanma Barranquero <lekktu@gmail.com>
14476
14477 * startup.el (command-line): Warn the user that _emacs is deprecated.
14478
5ba5fb81
JB
144792011-03-16 Juanma Barranquero <lekktu@gmail.com>
14480
14481 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14482 (delphi-verbose, delphi-comment-face, delphi-string-face)
14483 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14484 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14485 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14486 (delphi-new-comment-line, delphi-font-lock-defaults)
14487 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14488 Fix typos in docstrings.
14489
2dab465b
KM
144902011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14491
5ba5fb81 14492 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14493 Invert the roles of character and string values for INSTEAD, so a
14494 string is used for the more common case of a defaulting prompt.
14495
0adf5618
SM
144962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14497
14498 * progmodes/ruby-mode.el (ruby-backward-sexp):
14499 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14500 * play/gamegrid.el (gamegrid-make-face):
14501 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14502 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14503 * notifications.el (notifications-notify):
14504 * net/xesam.el (xesam-search-engines):
14505 * net/quickurl.el (quickurl-list-insert):
14506 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14507
d72700e5
CY
145082011-03-15 Chong Yidong <cyd@stupidchicken.com>
14509
14510 * startup.el (command-line): Update package subdirectory regexp.
14511
49c5410a
SM
145122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14513
c6eee9aa
SM
14514 * allout.el (allout-abbreviate-flattened-numbering)
14515 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14516
49c5410a
SM
14517 * subr.el (read-char-choice): Only show the cursor after the prompt,
14518 not after the answer.
14519
047b2bb9
KR
145202011-03-15 Kevin Ryde <user42@zip.com.au>
14521
14522 * help-fns.el (variable-at-point): Skip leading quotes, if any
14523 (bug#8253).
14524
0a57d256
SM
145252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14526
14527 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14528 warning message.
14529
77c992bc
MA
145302011-03-14 Michael Albinus <michael.albinus@gmx.de>
14531
14532 * shell.el (shell): When called interactively, offer to change the
14533 shell file name on remote hosts.
14534
eebc475d
TZ
145352011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14536
14537 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14538 integration for LDAP parameters. The host, base, user or binddn,
14539 and secret tokens can be specified in a netrc file, for instance.
14540 This is optional because an `auth-source' parameter must be
14541 specified in the search attributes.
14542
9d05d1ba
JB
145432011-03-13 Juanma Barranquero <lekktu@gmail.com>
14544
14545 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14546
09d9db2c
GM
145472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14548
14549 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14550 into declaration. Remove redundant and harmful binding.
14551
145522011-03-12 Eli Zaretskii <eliz@gnu.org>
14553
14554 * files.el (file-ownership-preserved-p): Pass `integer' as an
14555 explicit 2nd argument to `file-attributes'. If the file's owner
14556 is the Administrators group on Windows, and the current user is
14557 Administrator, consider that a match.
14558
14559 * server.el (server-ensure-safe-dir): Consider server directory
14560 safe on MS-Windows if its owner is the Administrators group while
14561 the current Emacs user is Administrator. Use `=' to compare
14562 numerical UIDs, since they could be integers or floats.
14563
219bd536
JB
145642011-03-12 Juanma Barranquero <lekktu@gmail.com>
14565
14566 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14567
f3afd36b
MA
145682011-03-12 Michael Albinus <michael.albinus@gmx.de>
14569
14570 Sync with Tramp 2.2.1.
14571
14572 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14573
14574 * net/trampver.el: Update release number.
14575
3aaaa6f1
SM
145762011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14577
94642599
SM
14578 * progmodes/compile.el (compilation--previous-directory): Fix up
14579 various nil/dead-marker mismatches (bug#8014).
14580 (compilation-directory-properties, compilation-error-properties):
14581 Don't call it at a position past the one we're about to change.
14582
3aaaa6f1
SM
14583 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14584 Disable obsolescence warnings in the file that declares it.
14585
14239447
KM
145862011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14587
099c39a4
JB
14588 * allout-widgets.el (allout-widgets-tally):
14589 Initialize allout-widgets-tally as a hash table rather than nil to
14590 prevent mode-line redisplay warnings. Also, clarify the module
14591 description and fix a comment typo.
14239447 14592
135e287c
JB
145932011-03-11 Juanma Barranquero <lekktu@gmail.com>
14594
14595 * help-fns.el (describe-variable): Don't complete keywords.
14596 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14597
ffbf300e
CY
145982011-03-10 Chong Yidong <cyd@stupidchicken.com>
14599
ba08b241
CY
14600 * emacs-lisp/package.el (package-version-join): Impose a standard
14601 string representation for pre/alpha/beta version lists.
14602 (package-unpack-single): Standardize the directory name by passing
14603 it through package-version-join.
14604 (package-strip-rcs-id): Accept any version string that does not
14605 signal an error in version-to-list.
ffbf300e 14606
f346fd6b
MA
146072011-03-10 Michael Albinus <michael.albinus@gmx.de>
14608
14609 * simple.el (delete-trailing-whitespace): Return nil for the
14610 benefit of `write-file-functions'.
14611
ccb55d27
GM
146122011-03-10 Glenn Morris <rgm@gnu.org>
14613
5ceaac0c
GM
14614 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14615
02da65ff
GM
14616 * vc/vc-git.el (vc-git-program): New option.
14617 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14618 (vc-git--call): Use it.
14619
b2f603cc
GM
14620 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14621
5772caab
GM
14622 * cus-edit.el (Custom-newline): If no button at point, look
14623 for a subgroup button at start-of-line. (Bug#2298)
14624
ccb55d27
GM
14625 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14626
ec6ecaed
JD
146272011-03-10 Julien Danjou <julien@danjou.info>
14628
14629 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14630 `cursor-type' is nil.
14631
9d5aa01d
JB
146322011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14633
14634 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14635
b6a5875b
KM
146362011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14637
7a71b18d 14638 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14639 preserves the existing header prefix, rebulleting it if necessary,
14640 rather than replacing it. This is necessary for proper operation
14641 of cooperative addons like allout-widgets.
1154d12e
JB
14642 (allout-make-topic-prefix, allout-rebullet-heading):
14643 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14644 value as alternate bullet to be used, instead of prompting the user
14645 for a bullet character.
b6a5875b 14646
ee545c35
MA
146472011-03-09 Michael Albinus <michael.albinus@gmx.de>
14648
d86d2721
SM
14649 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14650 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14651 `tramp-default-port'.
14652
c47971d7
DD
146532011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14654
14655 * net/rcirc.el (rcirc-handler-001): Remove useless
14656 with-rcirc-process-buffer.
14657 (rcirc-check-auth-status): Swap arguments to string-match.
14658
13522cb4
GM
146592011-03-09 Glenn Morris <rgm@gnu.org>
14660
0be6f4f1
GM
14661 * shell.el (shell-mode):
14662 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14663
13522cb4
GM
14664 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14665 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14666
515de2e3
CY
146672011-03-08 Chong Yidong <cyd@stupidchicken.com>
14668
14669 * emacs-lisp/package.el (package-refresh-contents)
14670 (package-menu-execute): Use condition-case-no-debug.
14671
b511b994
MA
146722011-03-08 Michael Albinus <michael.albinus@gmx.de>
14673
14674 * simple.el (shell-command-to-string): Use `process-file'.
14675
14676 * emacs-lisp/package.el (package-tar-file-info): Handle also
14677 remote files.
14678
d86d2721
SM
14679 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14680 Use `equal' for upload base check.
b511b994 14681
25bbfb31
AM
146822011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14683
14684 * textmodes/texinfo.el (texinfo-environments):
14685 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14686
be996521
GM
146872011-03-08 Glenn Morris <rgm@gnu.org>
14688
e9c8529f
GM
14689 * cus-start.el (cursor-in-non-selected-windows):
14690 Fix :set quoting oddness. (Bug#8192)
14691
be996521
GM
14692 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14693 in some setf expressions. (Bug#2159)
14694
2bb5649e
CY
146952011-03-08 Chong Yidong <cyd@stupidchicken.com>
14696
14697 * custom.el (custom-available-themes): Return themes in
14698 alphabetical order.
14699
33383987 14700See ChangeLog.15 for earlier changes.
e3d51b27
MR
14701
14702;; Local Variables:
14703;; coding: utf-8
e3d51b27
MR
14704;; End:
14705
acaf905b 14706 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14707
14708 This file is part of GNU Emacs.
14709
14710 GNU Emacs is free software: you can redistribute it and/or modify
14711 it under the terms of the GNU General Public License as published by
14712 the Free Software Foundation, either version 3 of the License, or
14713 (at your option) any later version.
14714
14715 GNU Emacs is distributed in the hope that it will be useful,
14716 but WITHOUT ANY WARRANTY; without even the implied warranty of
14717 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14718 GNU General Public License for more details.
14719
14720 You should have received a copy of the GNU General Public License
14721 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.