* lisp/emacs-lisp/macroexp.el: Don't require CL since we don't use it.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fa779ab0
SM
12012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4 (macroexp--cons): Rename from maybe-cons.
5 (macroexp--accumulate): Rename from macroexp-accumulate.
6 (macroexp--all-forms): Rename from macroexpand-all-forms.
7 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8 (macroexp--expand-all): Rename from macroexpand-all-1.
9
628299e0
SS
102012-06-06 Sam Steingold <sds@gnu.org>
11
12 * calendar/calendar.el (calendar-in-read-only-buffer):
13 Call `special-mode' to enable the standard read-only keybindings.
14
b7bb5838
SM
152012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
18 with "loading" messages (bug#11635).
19
dfb308ba
MA
202012-06-06 Michael Albinus <michael.albinus@gmx.de>
21
22 * files.el (enable-remote-dir-locals): New option.
23 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
24
0372ee92
MA
25 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
26 Ensure, that the temp directory is local.
27
28 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
29 `temporary-file-directory'.
30
eed0bb91
MA
31 * progmodes/python.el (python-send-region): Ensure, that the
32 temporary file is created also in the remote case.
33
7a58f64d
GM
342012-06-06 Glenn Morris <rgm@gnu.org>
35
f7dd4e98
GM
36 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
37 (vc-rcs-update-changelog): Use it.
38
276d5f5d
GM
39 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
40
7a58f64d
GM
41 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
42 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
43 (vc-sccs-diff): Replace use of the external vcdiff script.
44
daed4003
GM
452012-06-05 Glenn Morris <rgm@gnu.org>
46
47 * ledit.el: Move to obsolete/.
48
48c455c7
SS
492012-06-05 Sam Steingold <sds@gnu.org>
50
51 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
52 patch (Bug#11140).
53
57a7d507
SM
542012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
55
d32926ff
SM
56 * emacs-list/cust-print.el: Move to obsolete.
57
53aacf21
SM
58 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
59 compiler-macro expansion.
60
57a7d507
SM
61 Add native compiler-macro support.
62 * emacs-lisp/macroexp.el (macroexpand-all-1):
63 Support compiler-macros directly. Properly follow aliases and apply
64 the compiler macros more thoroughly.
65 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
66 macroexpand now properly follows aliases.
67 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
68 (cl-compiler-macroexpand): Use new prop.
69 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
70
71 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
72
51a5f9d8
MR
732012-06-05 Martin Rudalics <rudalics@gmx.at>
74
75 * window.el (get-lru-window, get-mru-window, get-largest-window):
76 New argument NOT-SELECTED to avoid picking the selected window.
77 (window--display-buffer-1, window--display-buffer-2): Replace by
78 new function window--display-buffer
79 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
80 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
81 Use window--display-buffer.
51a5f9d8
MR
82 (display-buffer-use-some-window): Remove temporary dedication
83 hack by calling get-lru-window and get-largest-window with
84 NOT-SELECTED argument non-nil. Call window--display-buffer.
85
08f9f738
GM
862012-06-05 Glenn Morris <rgm@gnu.org>
87
88 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
89 Replace external vcdiff script.
90
e364a2b7
SM
912012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
94
041df390
CY
952012-06-04 Chong Yidong <cyd@gnu.org>
96
e364a2b7
SM
97 * image.el (imagemagick-types-inhibit): Revert last change.
98 Add INFO and M.
47b36b94 99 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 100
7c1898a7
SM
1012012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * emacs-lisp/cl-lib.el: Rename from cl.el.
104 * emacs-lisp/cl.el: New compatibility file.
105 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
106 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
107 to obey the "cl-" prefix.
108 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
109
0c3461de
GM
1102012-06-03 Glenn Morris <rgm@gnu.org>
111
1e266c88
GM
112 * emacs-lisp/authors.el (authors-aliases): Addition.
113
0c3461de
GM
114 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
115 Fix :version.
116
d8a52e15
SM
1172012-06-03 Stefan Merten <smerten@oekonux.de>
118
119 * textmodes/rst.el: Add comments.
120 (rst-transition, rst-adornment): New faces.
121 (rst-adornment-faces-alist): Make default safe to reevaluate.
122 Fixes
123 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
124 Improve customization tags.
125 (rst-define-level-faces): Clarify meaning.
126
5205d6f6
CY
1272012-06-03 Chong Yidong <cyd@gnu.org>
128
129 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
130 (compilation-mode-line-run, compilation-mode-line-exit):
131 New faces.
5205d6f6
CY
132 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
133
757ee657
JD
1342012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
135
7c1898a7
SM
136 * progmodes/which-func.el (which-func-update-ediff-windows):
137 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 138
5f2c76c6
CY
1392012-06-03 Chong Yidong <cyd@gnu.org>
140
141 * bindings.el: Remove explicit help text from format-mode-line.
142 It is now supplied by mode-line-default-help-echo.
143 (mode-line-front-space, mode-line-end-spaces)
144 (mode-line-misc-info): New variables.
145 (mode-line-modes, mode-line-position): Move the default value to
146 the variable definition.
147 (mode-line-default-help-echo): New defcustom.
383f7350
CY
148 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
149 (mode-line-modified-help-echo): New functions.
150 (mode-line-mule-info, mode-line-modified): Use them.
151 (mode-line-eol-desc, propertized-buffer-identification):
152 Consistency fixes for help text.
cbe46e5f
CY
153 (mode-line-coding-system-map): Allow using mouse-3 to invoke
154 set-buffer-file-coding-system (Bug#289).
155 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 156
f2d6a3df
SM
1572012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * simple.el (execute-extended-command): Set real-this-command
160 (bug#11506).
161
37269466
CY
1622012-06-02 Chong Yidong <cyd@gnu.org>
163
164 Remove incorrect uses of "modeline" in comments, docstrings, and
165 function/variable names (Bug#10329).
166
167 * cus-edit.el (mode-line):
168 * dframe.el (dframe-mouse-hscroll):
169 * emacs-lisp/re-builder.el:
170 * emacs-lisp/easy-mmode.el (define-minor-mode):
171 * frame.el (set-frame-name):
172 * help.el (lookup-minor-mode-from-indicator):
173 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
174 * progmodes/cc-cmds.el (c-toggle-auto-newline)
175 (c-toggle-hungry-state):
176 * progmodes/antlr-mode.el (antlr-language-alist):
177 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
178 * progmodes/vhdl-mode.el (vhdl-mode):
179 * progmodes/which-func.el (which-func, which-func-cleanup-function):
180 * term/ns-win.el (ns-face-at-pos):
181 * term/sup-mouse.el (sup-mouse-report):
182 * textmodes/flyspell.el (flyspell-mode-line-string):
183 * textmodes/ispell.el (ispell-highlight-face):
184 * textmodes/reftex-global.el:
185 * vc/vc-arch.el (vc-arch-mode-line-string):
186 * vc/vc-cvs.el (vc-cvs-mode-line-string):
187 * vc/vc-git.el (vc-git-mode-line-string):
188 * vc/vc-hooks.el (vc-display-status)
189 (vc-default-mode-line-string):
190 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
191
192 * ansi-color.el (ansi-color-faces-vector): Change default faces.
193
194 * dired.el (dired-sort-set-mode-line): Rename from
195 dired-sort-set-modeline. All callers changed.
196
197 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
198 eshell-status-in-modeline.
199
200 * foldout.el (foldout-mode-line-string): Rename from
201 foldout-modeline-string. All callers changed.
202 (foldout-update-mode-line): Rename from foldout-update-modeline.
203
204 * subr.el (redraw-modeline): Make into obsolete alias.
205
206 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
207 timeclock-modeline-display. Make old name an alias.
208 (timeclock-update-mode-line): Likewise. All callers changed.
209 (timeclock-mode-line-display): No need to check before using
210 add-hook.
211 (timeclock-relative, timeclock-day-over-hook)
212 (timeclock-use-elapsed, timeclock-mode-string)
213 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
214
215 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
216 crisp-mode-modeline-string.
217
218 * play/solitaire.el (solitaire-build-mode-line): Rename from
219 solitaire-build-modeline. All callers changed.
220
221 * play/zone.el (zone-hiding-mode-line): Rename from
222 zone-hiding-modeline. All callers changed.
223 (zone): Remove unusued `modeline-hidden-level' property.
224
225 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
226 xscheme-modeline-initialize. All callers changed.
227
228 * strokes.el (strokes-lighter): Rename from
229 strokes-modeline-string.
230
231 * textmodes/sgml-mode.el (html-face-tag-alist)
232 (html-tag-face-alist): Use mode-line face instead of obsolete
233 alias modeline.
234
42152ee4
SM
2352012-06-02 Stefan Merten <smerten@oekonux.de>
236
237 * textmodes/rst.el: Always require `cl'.
4cf9b38d 238 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 239
95f520b5
CY
2402012-06-02 Chong Yidong <cyd@gnu.org>
241
242 * image.el (imagemagick-enabled-types): Rename from
243 imagemagick-types-enable. Add many more types.
244 (imagemagick-types-inhibit): Change default to nil.
245 (imagemagick-filter-types): Caller changed.
246
4a5f187a
SM
2472012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
248
03fef3e6
SM
249 * emacs-lisp/cl-macs.el: Use backquotes.
250 (cl-transform-function-property): Use eval-and-compile rather than
251 abusing `require'.
252 (defstruct): Use declare-function instead of with-no-warnings.
253
4a5f187a
SM
254 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
255 (byte-compile-output-docform): Re-add the print-circle bindings.
256 (byte-compile-fix-header): Use #$ just because it's shorter.
257 (byte-compile-output-file-form): Remove defun/defmacro.
258
bd56924f
MR
2592012-06-01 Martin Rudalics <rudalics@gmx.at>
260
261 * simple.el (choose-completion): Remove now obsolete binding for
262 owindow.
263
046e38ce
MA
2642012-06-01 Michael Albinus <michael.albinus@gmx.de>
265
266 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
267 in order to avoid "Stack overflow in regexp matcher".
268
32d72c2f
GM
2692012-05-31 Glenn Morris <rgm@gnu.org>
270
271 * image.el: For clarity, call imagemagick-register-types at
272 top-level, rather than relying on a custom :initialize.
273 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
274 (imagemagick-filter-types): New function. (Bug#7406)
275 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
276 If disabling support, remove elements altogether rather
277 than using an impossible regexp.
278 (imagemagick-types-inhibit): Give it the default init function.
279
dd41169b
SM
2802012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
281
4a5f187a
SM
282 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
283 Handle arbitrary file name lengths (Bug#11585).
dd41169b 284
efc00ab1 2852012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
286
287 * desktop.el (desktop-read): Clear previous and next buffers for
288 all windows and bury *Messages* buffer (bug#11556).
289
500fcedc
SM
2902012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 Add `declare' for `defun'. Align `defmacro's with it.
293 * emacs-lisp/easy-mmode.el (define-minor-mode)
294 (define-globalized-minor-mode): Don't autoload the var definitions.
295 * emacs-lisp/byte-run.el: Use lexical-binding.
296 (defun-declarations-alist, macro-declarations-alist): New vars.
297 (defmacro, defun): Use them.
298 (make-obsolete, define-obsolete-function-alias)
299 (make-obsolete-variable, define-obsolete-variable-alias):
300 Use `declare'.
301 (macro-declaration-function): Mark obsolete.
302 * emacs-lisp/autoload.el: Use lexical-binding.
303 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
304
6e8a1786
AM
3052012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
306
307 * textmodes/ispell.el (ispell-with-no-warnings):
308 Define as a macro.
500fcedc
SM
309 (ispell-kill-ispell, ispell-change-dictionary):
310 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
311 `interactive-p'.
312
61b108cc
SM
3132012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
316 (macro-declaration-function): Move var from C code.
317 (macro-declaration-function): Define function with defalias.
318 * emacs-lisp/macroexp.el (macroexpand-all-1):
319 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
320 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
321 defun/defmacro any more.
322 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
323 Provide fallback for unknown arglist.
324 (byte-compile-arglist-warn): Change calling convention.
325 (byte-compile-output-file-form): Move print-vars binding.
326 (byte-compile-output-docform): Simplify accordingly.
327 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
328 (byte-compile-defmacro-declaration): Remove.
329 (byte-compile-file-form-defmumble): Generalize to defalias.
330 (byte-compile-output-as-comment): Return byte-positions.
331 Simplify callers accordingly.
332 (byte-compile-lambda): Use `assert'.
333 (byte-compile-defun, byte-compile-defmacro): Remove.
334 (byte-compile-file-form-defalias):
335 Use byte-compile-file-form-defmumble.
336 (byte-compile-defalias-warn): Remove.
337
6d3f7c2f
SM
3382012-05-29 Stefan Merten <smerten@oekonux.de>
339
340 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 341 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
342
343 (rst-mode-abbrev-table): Merge definition.
344 (rst-mode): Make sure `font-lock-defaults' is buffer local.
345 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
346
6dbaa1c7
UJ
3472012-05-29 Ulf Jasper <ulf.jasper@web.de>
348
349 * calendar/icalendar.el
350 (icalendar-export-region): Export UID properly.
351
3522012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
353 * calendar/icalendar.el (icalendar-import-format):
354 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
355 (icalendar-import-format-uid): New.
356 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
357 Export UID.
358
6876a58d
SM
3592012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
362 different alternative patterns.
363 (pcase-codegen): Be more careful to preserve identity.
364 (pcase--u1): Don't forget to mark vars as used.
365
366 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
367 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
368 (byte-compile-from-buffer): ...rather than here.
369
370 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
371 functions from byte-compile-function-environment.
372
46b7967e
TN
3732012-05-29 Troels Nielsen <bn.troels@gmail.com>
374
375 * window.el (window-deletable-p): Avoid deleting the root window
376 of a frame with an active minibuffer.
377
69d565e2
MR
3782012-05-29 Martin Rudalics <rudalics@gmx.at>
379
380 * simple.el (choose-completion): Use quit-window (Bug#11567).
381
a149fa51
CY
3822012-05-29 Chong Yidong <cyd@gnu.org>
383
384 * whitespace.el (whitespace-cleanup): Fix usage of
385 whitespace-empty-at-bob-regexp (Bug#11492).
386
2b311310
AH
3872012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
388
389 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
390 revert (Bug#11488).
391
b9cb2387
JL
3922012-05-29 Juri Linkov <juri@jurta.org>
393
394 * isearch.el (isearch-mode-map): Bind `M-s _' to
395 `isearch-toggle-symbol'. Bind `M-s c' to
396 `isearch-toggle-case-fold'.
397 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
398 (isearch-forward): Add `M-s _' to the docstring.
399 (isearch-forward-symbol, isearch-toggle-case-fold)
400 (isearch-symbol-regexp): New functions. (Bug#11381)
401
d5e61c1c
JL
4022012-05-29 Juri Linkov <juri@jurta.org>
403
404 * isearch.el (isearch-word): Add docstring. (Bug#11381)
405 (isearch-occur, isearch-search-and-update): If `isearch-word' is
406 a function, call it to get the regexp.
407 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
408 property `isearch-message-prefix' instead of the string "word ".
409 (isearch-search-fun-default): For the case of `isearch-word',
410 return a lambda that calls re-search-forward/re-search-backward
411 with a regexp returned by `word-search-regexp' or by the function
412 in `isearch-word'.
413
8cbd80f7
JL
4142012-05-29 Juri Linkov <juri@jurta.org>
415
416 * isearch.el (isearch-search-fun-default): New function.
417 (isearch-search-fun): Move default part to the new function
418 `isearch-search-fun-default'.
419 (isearch-search-fun-function): Set the default value to
420 `isearch-search-fun-default'. (Bug#11381)
421
422 * comint.el (comint-history-isearch-end):
423 Use `isearch-search-fun-default'.
424 (comint-history-isearch-search): Use `isearch-search-fun-default'
425 and remove spacial case for `isearch-word'.
426 (comint-history-isearch-wrap): Remove spacial case for
427 `isearch-word'.
428
429 * hexl.el (hexl-isearch-search-function):
430 Use `isearch-search-fun-default'.
431
432 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
433 Use `word-search-regexp' for `isearch-word'.
434
435 * misearch.el (multi-isearch-search-fun):
436 Use `isearch-search-fun-default'.
437
438 * simple.el (minibuffer-history-isearch-search):
439 Use `isearch-search-fun-default' and remove spacial case for
440 `isearch-word'.
441 (minibuffer-history-isearch-wrap): Remove spacial case for
442 `isearch-word'.
443
444 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
445 Remove spacial case for `isearch-word'.
446 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
447
85c8c5b6
AM
4482012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
449
450 Decrease XEmacs incompatibilities.
451 * textmodes/flyspell.el (flyspell-check-pre-word-p):
452 Use `string-match'.
453 (flyspell-delete-region-overlays): Use alternative definition for
454 XEmacs.
455 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
456 (flyspell-word): Use `process-kill-without-query' if XEmacs.
457 (flyspell-mode-on): Use `interactive-p' if XEmacs.
458 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
459 `define-obsolete-face-alias' under XEmacs, but old method.
460
461 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
462 `with-no-warnings' definition or Emacs alias.
463 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
464 (ispell-word): Do not use `region-p' if XEmacs.
465
8cab9efc
AM
4662012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
467
468 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
469 Check for `ispell-dictionary-base-alist' instead of full
470 `ispell-dictionary-alist'.
471 (ispell-init-process): Show spellchecker when starting new Ispell
472 process.
473
fda91268
RZ
4742012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
477 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
478
694ea8e3
JB
4792012-05-27 Juanma Barranquero <lekktu@gmail.com>
480
481 * version.el (motif-version-string, gtk-version-string)
482 (ns-version-string): Declare.
483
e4d4f539
JL
4842012-05-27 Juri Linkov <juri@jurta.org>
485
486 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
487 after the `eval-defun-1' specialcaseing
488 like in `edebug-eval-defun' (bug#10181).
489
490 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
491 like in `eval-defun-1'.
492
33017faf 4932012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 494
fda91268
RZ
495 * mail/sendmail.el (mail-yank-region):
496 Recognize rmail-yank-current-message in addition to insert-buffer.
497 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
498 a *mail* buffer created through rmail-start-mail with sendmail as
499 mail-user-agent.
500
33017faf
GM
5012012-05-27 Chong Yidong <cyd@gnu.org>
502
503 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
504 Default to 256 (Bug#11267).
505
506 * help.el (describe-mode): Doc fix.
507
04188bb9
GM
5082012-05-26 Glenn Morris <rgm@gnu.org>
509
38264cc9
GM
510 * w32-fns.el (w32-init-info): Remove.
511 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
512
eb7afdad
GM
513 * info.el (info-initialize): For self-contained NS builds, put the
514 included info/ directory at the front. (Bug#2791)
515
04188bb9
GM
516 * paths.el (Info-default-directory-list): Make it a defcustom,
517 mainly so that we can use custom-initialize-delay.
518
a179e3f7
SM
5192012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
520
43416392
SM
521 * subr.el (buffer-has-markers-at): Mark obsolete.
522
a179e3f7 523 * subr.el (lambda): Use declare.
43416392 524
a179e3f7
SM
525 * emacs-lisp/lisp-mode.el (lambda):
526 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
527
34a008d9
AH
5282012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
529
530 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
531
0a3b289f
GM
5322012-05-26 Glenn Morris <rgm@gnu.org>
533
534 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
535
758c81e8
GM
5362012-05-25 Glenn Morris <rgm@gnu.org>
537
f9f334f0
GM
538 * paths.el: Remove no-byte-compile.
539 * loadup.el: No need to load paths.el uncompiled.
540
87eb79c2
GM
541 * image.el (imagemagick-types-inhibit): Doc fix.
542
758c81e8
GM
543 * version.el: Remove no-byte-compile and associated formatting.
544 * loadup.el: No need to load version.el uncompiled. AFAICS, this
545 is ancient code from when there was an "inc-vers.el".
546
e7e85dc0
SM
5472012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * progmodes/gdb-mi.el: Minor style changes.
550 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
551 Turn into minor modes.
552 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
553 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
554 (gdb-shell): Remove unneeded let-binding.
555 (gdb-get-many-fields): Eliminate O(n²) behavior.
556
f31237a4
EZ
5572012-05-25 Eli Zaretskii <eliz@gnu.org>
558
559 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
560 platforms that don't link in fontset.c.
561
bc1b21bb
JL
5622012-05-25 Juri Linkov <juri@jurta.org>
563
564 Use the same diff color scheme as in modern VCSes (bug#10181).
565
566 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
567 to avoid confusion with `diff-added' that now uses green colors.
568 (diff-removed): Use shades of red.
569 (diff-added): Use shades of green.
570 (diff-changed): Leave just the yellow color.
571 (diff-use-changed-face): New variable.
572 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
573 how to highlight context diff changes.
574 (diff-refine-change): Use shades of yellow.
575 (diff-refine-removed): New face that uses shades of red.
576 (diff-refine-added): New face that uses shades of green.
577 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
578 `diff-refine-removed' in the call to `smerge-refine-subst'
579 depending on the value of `diff-use-changed-face'.
580
581 * vc/smerge-mode.el (smerge-mine): Use shades of red.
582 (smerge-other): Use shades of green.
583 (smerge-base): Use shades of yellow.
584 (smerge-refined-change): Empty face.
585 (smerge-refined-removed): New face that uses shades of red.
586 (smerge-refined-added): New face that uses shades of green.
587 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
588 args `props-r' and `props-a', and use them. Doc fix.
589 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
590 on its value use different faces `smerge-refined-change',
591 `smerge-refined-removed', `smerge-refined-added' in the call to
592 `smerge-refine-subst'.
593
594 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
595 Add face condition `min-colors 88' with shades of red.
596 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
597 `min-colors 88' with shades of green.
598 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
599 `min-colors 88' with shades of yellow.
600
6df9112c
GM
6012012-05-24 Glenn Morris <rgm@gnu.org>
602
ead5edc0
GM
603 * paths.el (prune-directory-list, remote-shell-program): Move to...
604 * files.el (prune-directory-list, remote-shell-program): ...here.
605 For the latter, delay initialization, prefer ssh, just search PATH.
606
f18b81e6
GM
607 * paths.el (term-file-prefix): Move to faces.el (the only user).
608 * faces.el (term-file-prefix): Move here, make it a defcustom.
609
ee2f89a6
GM
610 * paths.el (news-directory, news-path, news-inews-program):
611 Move to gnus/nnspool.el.
61a583ca 612
f8815e4c
GM
613 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
614
c8f3b42c
GM
615 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
616 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
617 Make the latter a defcustom, with a delayed initialization.
618
6df9112c
GM
619 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
620 These were deleted from Gnus itself late 2010.
621
5dadff36
JB
6222012-05-22 Juanma Barranquero <lekktu@gmail.com>
623
9e1701c6
JB
624 * progmodes/which-func.el (which-func-ff-hook):
625 Check against user-error, not error.
626
bd7239f5 627 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
628 cl-specs.el, which no longer exists.
629
3290526d
GM
6302012-05-22 Glenn Morris <rgm@gnu.org>
631
632 * info.el (info-emacs-bug): New command.
633 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
634 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
635
ff0c3cfb
GM
6362012-05-21 Glenn Morris <rgm@gnu.org>
637
638 * makefile.w32-in (update-subdirs-SH):
639 * Makefile.in (update-subdirs): Update for moved update-subdirs.
640
5814f126
SM
6412012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
642
a52c0aa0
SM
643 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
644
5814f126
SM
645 * progmodes/compile.el (compilation-error-regexp-alist-alist):
646 Simplify Maven regexp, and make sure the file can't start with a space
647 (bug#11517).
648
b847032c
GM
6492012-05-21 Glenn Morris <rgm@gnu.org>
650
651 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
652 Scrap superfluous subshells.
653
3858bfe7
SM
6542012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
657 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
658
d14b0029
JB
6592012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
660
661 * calc/calc.el (calc-ensure-consistent-units): New variable.
662
a52c0aa0
SM
663 * calc/calc-units.el (math-consistent-units-p)
664 (math-check-unit-consistency): New functions.
665 (calc-quick-units, calc-convert-units):
666 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
667 is non-nil.
d14b0029
JB
668 (calc-extract-units): Fix typo.
669
60c4db3a
SM
6702012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
671
77f3b62e
SM
672 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
673
60c4db3a
SM
674 * textmodes/flyspell.el: Commenting style, plus code simplifications.
675 (flyspell-default-deplacement-commands): Don't spell check after
676 repeated window/frame switches (e.g. triggered by mouse-movement).
677 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
678 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
679 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
680 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
681 Remove unused vars.
682 (flyspell-get-casechars, flyspell-get-not-casechars):
683 Simplify; Don't bother removing a ] just to add it back.
684 * textmodes/ispell.el (ispell-program-name): Use executable-find.
685
b1a10716
RS
6862012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
687
688 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
689 New functions.
bd7239f5 690 (math-function-table): Add support for more C functions.
b1a10716 691
3f1b25b5
AM
6922012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
693
694 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
695 (flyspell-debug-signal-word-checked): Protect delay handling for
696 otherchars against empty otherchars.
697
b581bb5c
SM
6982012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
701 their respective macro declarations.
702 * skeleton.el (define-skeleton):
703 * progmodes/compile.el (define-compilation-mode):
704 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
705 (define-ibuffer-filter):
706 * emacs-lisp/generic.el (define-generic-mode):
707 * emacs-lisp/easy-mmode.el (define-minor-mode)
708 (define-globalized-minor-mode):
709 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
710 * emacs-lisp/byte-run.el (defsubst):
711 * custom.el (deftheme): Add doc-string metadata.
712
70b8ef8f
SM
7132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
716
b1198e17
SM
7172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
718
9abdc45d
SM
719 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
720
b1198e17
SM
721 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
722 * emacs-lisp/cl-macs.el: Idem.
723 * emacs-lisp/cl-specs.el: Remove.
724
4735906a
SM
7252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 Minor renaming of internal CL functions and variables.
728 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
729 (cl--position): Rename from cl-position.
730 (cl--delete-duplicates): Rename from cl-delete-duplicates.
731 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
732 (cl--random-state): Rename from *random-state*.
733
ac348012
SM
7342012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
737 parens around the arg list (bug#11499).
738
a0a79cde
JL
7392012-05-17 Juri Linkov <juri@jurta.org>
740
741 * isearch.el (word-search-regexp, word-search-backward)
742 (word-search-forward, word-search-backward-lax)
743 (word-search-forward-lax): Move functions from search.c
744 (bug#10145, bug#11381).
745
65034a51
AM
7462012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
747
748 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
749 (flyspell-debug-signal-word-checked): Delay for otherchars as for
750 normal word components.
751
1a72a195
SM
7522012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * minibuffer.el (completion--sifn-requote): Fix last change.
755 (minibuffer-local-must-match-filename-map):
756 Move define-obsolete-variable-alias before its var.
757
fdb058c2
SM
7582012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
759
c41045e6
SM
760 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
761
036dfb8b
SM
762 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
763 behavior.
764 (completion--string-equal-p): New function.
765 (completion--twq-all): Use it to get better assertion failure data.
766
2473256d
SM
767 Only handle ".." and '..' quoting in shell-mode (bug#11466).
768 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
769 (shell--requote-argument): New functions.
770 (shell-completion-vars): Use them.
771 (shell--parse-pcomplete-arguments): Rename from
772 shell-parse-pcomplete-arguments.
773 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
774 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
775 Obey comint-file-name-quote-list.
776
fdb058c2
SM
777 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
778 (smie-indent-keyword): Use it.
779
51fa99f1
SM
7802012-05-14 Stefan Merten <smerten@oekonux.de>
781
782 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
783
e18afed7 7842012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
785
786 * net/rlogin.el (rlogin-mode-map): Fix last change.
787
e18afed7 7882012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
789
790 * mail/smtpmail.el (smtpmail-send-command): Send the command and
791 the following \r\n using a single `process-send-string', since the
792 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 793 with two `process-send-string's (Bug#11444).
8633b1f4 794
e18afed7 7952012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 796
fdb058c2
SM
797 * shell.el (shell-parse-pcomplete-arguments):
798 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 799
2d21d7f6
WJ
8002012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
801
e18afed7 802 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
803 (image-transform-scale, image-transform-right-angle-fudge): New vars.
804 (image-transform-width, image-transform-fit-width): New functions.
805 (image-transform-properties): Use them.
806 (image-transform-check-size): New function.
807 (image-toggle-display-image): Use it (for testing).
808 (image-transform-set-rotation): Reduce angle mod 360.
809 Delete obsolete comment.
810
7102e6d0
WJ
8112012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
812
813 * image-mode.el: Fix scaling (bug#11399).
814 (image-transform-resize): Doc fix.
815 (image-transform-properties): Default scale is 1 and height should
816 be an integer.
817
06bc5e6e
SM
8182012-05-13 Johan Bockgård <bojohan@gnu.org>
819
820 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
821 than hard-coding `car', to fix misbehavior when moving forward.
822
0ae03b6a
CY
8232012-05-13 Chong Yidong <cyd@gnu.org>
824
825 * emacs-lisp/tabulated-list.el (tabulated-list-format)
826 (tabulated-list-entries, tabulated-list-padding)
827 (tabulated-list-sort-key): Make permanent-local.
828
829 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
830 (electric-buffer-list): Put electric buffer menu
831 command descriptions in this docstring, instead of the docstring
832 of electric-buffer-menu-mode. Code cleanups.
833 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
834 Electric-buffer-menu-mode.
835 (electric-buffer-update-highlight): Minor code cleanup.
836
205a7391
MA
8372012-05-13 Michael Albinus <michael.albinus@gmx.de>
838
839 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
840 (Bug#11447)
841
e5bd0a28
SM
8422012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 Move define-obsolete-variable-alias before the var's definition.
845 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
846 * tooltip.el (tooltip-hook):
847 * textmodes/reftex-toc.el (reftex-toc-map):
848 * textmodes/reftex-sel.el (reftex-select-label-map)
849 (reftex-select-bib-map):
850 * textmodes/reftex-index.el (reftex-index-map)
851 (reftex-index-phrases-map):
852 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
853 * progmodes/meta-mode.el (meta-mode-map):
854 * novice.el (disabled-command-hook):
855 * loadhist.el (unload-hook-features-list):
856 * frame.el (blink-cursor):
857 * files.el (find-file-not-found-hooks, write-file-hooks)
858 (write-contents-hooks):
859 * emulation/tpu-edt.el (GOLD-map):
860 * emacs-lock.el (emacs-lock-from-exiting):
861 * emacs-lisp/generic.el (generic-font-lock-defaults):
862 * emacs-lisp/chart.el (chart-map):
863 * dos-fns.el (register-name-alist):
864 * dired-x.el (dired-omit-files-p):
865 * desktop.el (desktop-enable):
866 * cus-edit.el (custom-mode-hook):
867 * buff-menu.el (buffer-menu-mode-hook):
868 * bookmark.el (bookmark-read-annotation-text-func)
869 (bookmark-exit-hooks):
870 * allout.el (allout-mode-deactivate-hook)
871 (allout-exposure-change-hook, allout-structure-added-hook)
872 (allout-structure-deleted-hook, allout-structure-shifted-hook):
873 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
874 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
875 comes before the corresponding variable's definition.
876
ac59c2f6
CY
8772012-05-12 Chong Yidong <cyd@gnu.org>
878
879 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
880 (Buffer-menu-mouse-select): Restore function (Bug#11459).
881 (Buffer-menu-mode-map): Bind it.
882 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 883
dee6c9a3
SM
8842012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
885
2171cea5
SM
886 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
887 (prolog-upper-case-string, prolog-lower-case-string)
888 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
889 (prolog-use-smie, prolog-smie-grammar): New vars.
890 (prolog-smie-forward-token, prolog-smie-backward-token)
891 (prolog-smie-rules): New funs.
892 (prolog-comment-indent): Remove.
893 (prolog-mode-variables): Use default comment indentation instead.
894 Setup SMIE.
895 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
896 (prolog-mode): Don't call them any more.
897 (prolog-electric-colon, prolog-electric-dash)
898 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
899
aa0382bd
SM
900 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
901
dbacb4bd
SM
902 * minibuffer.el (completion--twq-all): Again, allow case differences.
903
13bdd94c
SM
904 * term.el: Move keymap initialization code to be more idiomatic.
905 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
906 (term-terminal-menu): Move initialization into declaration.
907 (term-escape-char): Let the user set it in her .emacs.
908
ff46c759
SM
909 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
910 Provide SMIE-based indentation (not enabled by default yet).
911 (sh-mode-map): Don't bind electric keys.
912 Use electric-pair-mode instead of skeleton-pair.
913 (sh-assignment-regexp): Fit within 80 columns.
914 (sh-indent-supported): Specify actual shell name instead of boolean.
915 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
916 (sh-maybe-here-document): Use it. Make obsolete.
917 (sh-electric-here-document-mode) New minor mode.
918 (sh-mode): Use it. Don't set sh-indent-supported-here here.
919 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
920 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
921 (sh-smie-rc-grammar, sh-use-smie): New vars.
922 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
923 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
924 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
925 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
926 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
927 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
928 (sh-set-shell): Use smie-setup if requested.
929
dee6c9a3
SM
930 * term.el (term-set-escape-char): Properly set term-escape-char.
931 See http://stackoverflow.com/questions/10524656.
932
9f9aa044
CY
9332012-05-10 Chong Yidong <cyd@gnu.org>
934
935 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
936 Use url-generic-parse-url, and handle host names and Windows
937 filenames properly.
938 (ffap-url-unwrap-remote): Use url-generic-parse-url.
939 (ffap-url-unwrap-remote): Accept list values, specifying a list of
940 URL schemes to work on.
941 (ffap--toggle-read-only): New function.
942 (ffap-read-only, ffap-read-only-other-window)
943 (ffap-read-only-other-frame): Use it.
944 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
945 necessary for ffap-url-unwrap-remote.
946
836d29b3
DA
9472012-05-10 Dave Abrahams <dave@boostpro.com>
948
949 * cus-start.el (create-lockfiles): Add it.
950
00fd78ed
CY
9512012-05-09 Chong Yidong <cyd@gnu.org>
952
953 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
954 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
955
666b903b 9562012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
957
958 * shell.el (shell-completion-vars): Fix last change (bug#11348).
959
666b903b 9602012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
961
962 * ansi-color.el (ansi-color-process-output): Check for validity of
963 comint-last-output-start before using it. This avoids a bad
964 interaction with gdb-mi's input/output buffer.
965
666b903b 9662012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
967
968 * files.el (dir-locals-read-from-file):
969 Mention dir-locals in any error message.
970
666b903b 9712012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
972
973 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
974 package (Bug#11410).
975
f677562b
CY
976 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
977 variables into description.
978
666b903b 9792012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
980
981 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
982 shell-delimiter-argument-list (bug#11348).
983 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
984
b499d8d0
JB
9852012-05-09 Juanma Barranquero <lekktu@gmail.com>
986
8f6b6da8
JB
987 * textmodes/rst.el: Silence byte-compiler warnings.
988 (rst-re-alist, rst-reset-section-caches): Move around.
989 (rst-re): Use `characterp', not `char-valid-p'.
990 (font-lock-beg, font-lock-end): Declare.
991
4824146a
JB
992 * progmodes/idlw-shell.el (specs): Remove reference to deleted
993 variable `idlwave-shell-activate-alt-keybindings' and simplify.
994
b499d8d0
JB
995 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
996
ad89bb83
GM
9972012-05-08 Glenn Morris <rgm@gnu.org>
998
999 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1000
8bba5a75
SM
10012012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1002
49ed9c8e
SM
1003 * vc/log-edit.el: Add GNU coding standards highlighting.
1004 (log-edit-font-lock-gnu-style)
1005 (log-edit-font-lock-gnu-keywords): New vars.
1006 (log-edit-font-lock-keywords): New fun.
1007 (log-edit-mode): Don't fold case in font-lock.
1008 (log-edit-font-lock-keywords): Do not assume case-folding.
1009
07d00b56
SM
1010 * imenu.el: Misc cleanup. Make docstrings out of comments.
1011 Use lexical-binding.
1012 (imenu--index-alist, imenu--last-menubar-index-alist)
1013 (imenu-menubar-modified-tick): Use defvar-local.
1014 (imenu--split-menu): Remove unused var.
1015 (imenu--cleanup-seen): Declare as global.
1016 (imenu--cleanup): Use dolist.
1017
8bba5a75
SM
1018 * subr.el (defvar-local): Add debug spec and doc-string position.
1019
5075bdb5
GM
10202012-05-08 Glenn Morris <rgm@gnu.org>
1021
c052c904
GM
1022 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1023 * language/english.el, language/georgian.el, language/greek.el:
1024 * language/japanese.el, language/khmer.el, language/korean.el:
1025 * language/lao.el, language/misc-lang.el, language/romanian.el:
1026 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1027 * language/thai.el, language/utf-8-lang.el:
1028 Remove no-byte-compile setting.
1029
5075bdb5
GM
1030 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1031
06f679a7
AH
10322012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1033
1034 * progmodes/make-mode.el (makefile-browse):
1035 Remove unnecessary interactive. (Bug#11324)
1036
03794570
GM
10372012-05-07 Glenn Morris <rgm@gnu.org>
1038
af8630f4
GM
1039 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1040
03794570
GM
1041 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1042
f0809a9d
SM
10432012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1044
28be5ce7
SM
1045 * loadup.el: Preload newcomment.el.
1046 * newcomment.el: Move autoload-only code to toplevel.
1047
f0809a9d
SM
1048 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1049 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1050 Handle new :right-align column property.
1051 (tabulated-list-print-col): Idem, plus use `display' text-property to
1052 try and preserve alignment for variable pitch fonts.
1053
1241b724
CY
10542012-05-07 Chong Yidong <cyd@gnu.org>
1055
1056 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1057 (tabulated-list-use-header-line): New var.
1058 (tabulated-list-init-header): Use it.
1059 (tabulated-list-print-fake-header): New function.
1060 (tabulated-list-print): Use it.
1061 (tabulated-list-sort-button-map): Add non-header-line commands.
1062 (tabulated-list-init-header): Add column name property to basic
1063 labels as well.
1064 (tabulated-list-col-sort): Handle non-header-line button case.
1065 (tabulated-list--sort-by-column-name): Fix a corner case.
1066
f0809a9d
SM
1067 * buff-menu.el (list-buffers--refresh):
1068 Handle Buffer-menu-use-header-line.
1241b724 1069
e5f9458f
CY
10702012-05-06 Chong Yidong <cyd@gnu.org>
1071
1072 * buff-menu.el: Convert to Tabulated List mode.
1073 (Buffer-menu-buffer+size-width): Make obsolete.
1074 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1075 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1076 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1077 documentation into docstring of buffer-menu.
1078 (Buffer-menu-toggle-files-only): Add an informative message.
1079 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1080 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1081 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1082 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1083 (Buffer-menu-execute, Buffer-menu-select)
1084 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1085 (Buffer-menu-bury): Use Tabulated List machinery.
1086 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1087 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1088 Delete.
e5f9458f
CY
1089 (list-buffers--refresh): New function.
1090 (list-buffers-noselect): Use it.
1091 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1092 (Buffer-menu--pretty-file-name): New helper functions.
1093
1094 * loadup.el: Preload tabulated-list.
1095
1096 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1097 tabulated-list-sort-column.
1098 (tabulated-list-init-header): Add the initial aligning space even
1099 if tabulated-list-padding is zero.
1100
e129292c
CS
11012012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1102
1103 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1104 whose cdr is not a cons cell correctly (bug#11038).
1105
6632d361
CY
11062012-05-06 Chong Yidong <cyd@gnu.org>
1107
e129292c
CS
1108 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1109 Accept additional plist in column descriptors.
6632d361
CY
1110 (tabulated-list-init-header): Obey it.
1111 (tabulated-list-get-entry): New function.
1112 (tabulated-list-put-tag): Use it. Use string-width instead of
1113 length.
1114 (tabulated-list--column-number): New function.
1115 (tabulated-list-print): Use it.
e129292c
CS
1116 (tabulated-list-print-col): New function.
1117 Set `tabulated-list-column-name' property on each column's text.
6632d361 1118 (tabulated-list-print-entry): Use it.
e129292c
CS
1119 (tabulated-list-delete-entry, tabulated-list-set-col):
1120 New functions.
6632d361
CY
1121 (tabulated-list-sort-column): New command (Bug#11337).
1122
3cc99f68
CY
1123 * buff-menu.el (list-buffers): Move C-x C-b binding from
1124 buff-menu.el to bindings.el.
1125
1126 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1127 :advertised-binding feature.
1128
52b61776
TN
11292012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1130
1131 * progmodes/compile.el (compilation-internal-error-properties):
1132 Calculate start position correctly when end-col is set but
1133 end-line is not (Bug#11382).
1134
ebfe2597
WJ
11352012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1136
1137 * man.el (Man-unindent): Use text-property-default-nonsticky to
1138 prevent untabify from inheriting face properties (Bug#11408).
1139
6d3f7c2f
SM
11402012-05-05 Stefan Merten <smerten@oekonux.de>
1141
1142 * textmodes/rst.el: Major merge with upstream development up to
1143 Docutils SVN r7399 / rst.el V1.2.1.
1144
1145 Clarify maintainership and authors.
1146
1147 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1148 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1149 (rst-official-version, rst-official-cvs-rev, rst-version)
1150 (rst-package-emacs-version-alist): New functions and variables
1151 for version information.
1152
1153 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1154 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1155 (rst-mode-syntax-table, rst-mode): New and corrected functions
1156 and variables representing reStructuredText features.
1157
1158 (rst-re): New function for reStructuredText regexes. Use in
1159 many places.
1160
1161 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1162 (rst-mode-map): Rebind keys.
1163
1164 (rst-mode-lazy, rst-font-lock-keywords)
1165 (rst-font-lock-extend-region)
1166 (rst-font-lock-extend-region-internal)
1167 (rst-font-lock-extend-region-extend)
1168 (rst-font-lock-find-unindented-line-limit)
1169 (rst-font-lock-find-unindented-line-match)
1170 (rst-adornment-level, rst-font-lock-adornment-level)
1171 (rst-font-lock-adornment-match)
1172 (rst-font-lock-handle-adornment-pre-match-form)
1173 (rst-font-lock-handle-adornment-matcher): Major revision of
1174 font-locking. Integrate with other code. Use `jit-lock-mode'.
1175
1176 (rst-preferred-adornments, rst-adjust-hook)
1177 (rst-new-adornment-down, rst-preferred-bullets)
1178 (rst-preferred-bullets, rst-indent, rst-indent-width)
1179 (rst-indent-field, rst-indent-literal-normal)
1180 (rst-indent-literal-minimized, rst-indent-comment): Change,
1181 extend and improve customization.
1182
1183 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1184 (rst-normalize-cursor-position, rst-get-decoration)
1185 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1186 (rst-rstrip, rst-toc-insert-find-delete-contents)
1187 (rst-shift-fill-region, rst-compute-bullet-tabs)
1188 (rst-debug-print-tabs, rst-debug-mark-found)
1189 (rst-shift-region-guts, rst-shift-region-right)
1190 (rst-shift-region-left, rst-use-char-classes)
1191 (rst-font-lock-keywords-function)
1192 (rst-font-lock-indentation-point)
1193 (rst-font-lock-find-unindented-line-begin)
1194 (rst-font-lock-find-unindented-line-end)
1195 (rst-font-lock-find-unindented-line)
1196 (rst-font-lock-adornment-point, rst-font-lock-level)
1197 (rst-adornment-level-alist): Remove functions and variables.
1198
1199 (rst-compare-adornments, rst-get-adornment-match)
1200 (rst-suggest-new-adornment, rst-get-adornments-around)
1201 (rst-adornment-complete-p, rst-get-next-adornment)
1202 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1203 (rst-straighten-adornments): Standardize function names to
1204 use "adornment" instead of "decoration". Correct callers.
1205 Similar standardizing in many places.
1206
1207 (rst-update-section, rst-adjust, rst-promote-region)
1208 (rst-enumerate-region, rst-bullet-list-region)
1209 (rst-repeat-last-character): Correct use of `interactive'.
1210
1211 (rst-classify-adornment, rst-find-all-adornments)
1212 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1213 (rst-find-leftmost-column, rst-repeat-last-character):
1214 Refactor functions.
1215
1216 (rst-find-title-line, rst-reset-section-caches)
1217 (rst-get-adornments-around, rst-adjust-adornment-work)
1218 (rst-arabic-to-roman, rst-roman-to-arabic)
1219 (rst-insert-list-pos, rst-insert-list-new-item)
1220 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1221 New functions.
1222
1223 (rst-all-sections, rst-section-hierarchy)
1224 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1225 New variables.
1226
1227 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1228 configuration instead of only buffer. Change where necessary.
1229
1230 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1231 (rst-shift-region, rst-adaptive-fill): New functions for
1232 indentation and filling.
1233
1234 (rst-comment-line-break, rst-comment-indent)
1235 (rst-comment-insert-comment, rst-comment-region)
1236 (rst-uncomment-region): New functions for handling comments.
1237
1238 (rst-compile): Quote shell arguments.
1239
1240 (rst-compile-pdf-preview, rst-compile-slides-preview):
1241 Delete temporary files after use.
1242
a43f98b3
GM
12432012-05-05 Glenn Morris <rgm@gnu.org>
1244
48176e8b
GM
1245 * calendar/cal-html.el: Optionally include holidays in the output.
1246 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1247 (cal-html-holidays): New option.
1248 (cal-html-css-default): Add holiday entry.
1249 (holiday-in-range): Autoload it.
1250 (cal-html-htmlify-entry): Add optional class argument.
1251 (cal-html-htmlify-list): Add optional holidays argument.
1252 (cal-html-insert-agenda-days): Include holidays in the output.
1253 (cal-html-one-month): Maybe include holidays.
1254
a43f98b3
GM
1255 * calendar/holidays.el (holiday-in-range):
1256 Move here from cal-tex-list-holidays.
1257 * calendar/cal-tex.el (cal-tex-list-holidays):
1258 Make it an obsolete alias for holiday-in-range. Update all callers.
1259
fef9d149 12602012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1261
1262 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1263 Nextstep.
1264
248da2f4
RW
12652012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1266
1267 * files.el (file-auto-mode-skip): New var.
1268 (set-auto-mode-1): Use it.
1269
f95e9344
SM
12702012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1271
df96ab1e
SM
1272 * repeat.el: Use lexical-binding.
1273 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1274 (repeat-undo-count): Remove.
1275 (repeat):
1276 * progmodes/octave-mod.el (octave-abbrev-start):
1277 * progmodes/f90.el (f90-abbrev-start):
1278 * face-remap.el (text-scale-adjust):
1279 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1280
5342bb06
SM
1281 * emacs-lisp/pcase.el (pcase--let*): New function.
1282 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1283 a bit more.
1284 (pcase--split-pred): Be more clever about ruling out overlap between
1285 a predicate and some constant pattern.
1286 (pcase--q1): Use `null' instead of (eq foo nil).
1287
f95e9344
SM
1288 * subr.el (setq-local, defvar-local): New macros.
1289 (kbd): Redefine as an alias.
1290 (with-selected-window): Leave unrelated frames alone.
1291 (set-temporary-overlay-map): New function.
1292
71873e2b
SM
12932012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * subr.el (user-error): New function.
1296 * window.el (switch-to-buffer):
1297 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1298 (smerge-match-conflict):
1299 * simple.el (previous-matching-history-element)
1300 (next-matching-history-element, goto-history-element, undo-more)
1301 (undo-start):
1302 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1303 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1304 (next-file, tags-loop-scan, list-tags, complete-tag):
1305 * progmodes/compile.el (compilation-loop):
1306 * mouse.el (mouse-minibuffer-check):
1307 * man.el (Man-bgproc-sentinel, Man-goto-page):
1308 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1309 (Info-history-forward, Info-follow-reference, Info-menu)
1310 (Info-extract-menu-item, Info-extract-menu-counting)
1311 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1312 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1313 (Info-next-reference, Info-prev-reference, Info-index)
1314 (Info-index-next, Info-follow-nearest-node)
1315 (Info-copy-current-node-name):
1316 * imenu.el (imenu--make-index-alist)
1317 (imenu-default-create-index-function, imenu-add-to-menubar):
1318 * files.el (basic-save-buffer, recover-file):
1319 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1320 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1321 (checkdoc-message-text, checkdoc-defun):
1322 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1323 * cus-edit.el (customize-changed-options, customize-rogue)
1324 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1325 (custom-variable-mark-to-reset-standard)
1326 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1327 (custom-file):
1328 * completion.el (check-completion-length):
1329 * comint.el (comint-search-arg)
1330 (comint-previous-matching-input-string-position)
1331 (comint-previous-matching-input)
1332 (comint-replace-by-expanded-history-before-point, comint-send-input)
1333 (comint-copy-old-input, comint-backward-matching-input)
1334 (comint-goto-process-mark, comint-set-process-mark):
1335 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1336 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1337
8a61ee22
SM
13382012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1339
66408d1e
SM
1340 * dabbrev.el (dabbrev--ignore-case-p): New function.
1341 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1342 Use it.
1343
8a61ee22
SM
1344 * files.el (automount-dir-prefix): Mark as obsolete.
1345
3c74813a
GM
13462012-05-04 Glenn Morris <rgm@gnu.org>
1347
1348 * patcomp.el, play/bruce.el: Move to obsolete/.
1349
0bfcf5c5
PE
13502012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1351
1352 Fix minor Y10k bugs.
1353 * arc-mode.el (archive-unixdate):
1354 * autoinsert.el (auto-insert-alist):
1355 * calc/calc-forms.el (math-this-year):
1356 * emacs-lisp/copyright.el (copyright-current-year)
1357 (copyright-update-year, copyright):
1358 * tar-mode.el (tar-clip-time-string):
1359 * time.el (display-time-update):
1360 Don't assume years have 4 digits.
1361
78f3273a
CY
13622012-05-04 Chong Yidong <cyd@gnu.org>
1363
1364 * dos-w32.el (file-name-buffer-file-type-alist)
1365 (direct-print-region-use-command-dot-com):
1366 * ffap.el (ffap-menu-regexp):
1367 * find-file.el (ff-special-constructs):
1368 * follow.el (follow-debug):
1369 * forms.el (forms--debug):
1370 * iswitchb.el (iswitchb-all-frames):
1371 * ido.el (ido-all-frames):
1372 * emacs-lisp/timer.el (timer-max-repeats):
1373 * mail/feedmail.el (feedmail-mail-send-hook)
1374 (feedmail-mail-send-hook-queued):
1375 * mail/footnote.el (footnote-signature-separator):
1376 * mail/mailabbrev.el (mail-alias-separator-string)
1377 (mail-abbrev-mode-regexp):
1378 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1379 * progmodes/idlwave.el (idlwave-libinfo-file)
1380 (idlwave-default-completion-case-is-down)
1381 (idlwave-library-routines): Convert defvars to defcustoms.
1382
1383 * mail/rmail.el (rmail-decode-mime-charset):
1384 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1385 (idlwave-shell-fix-inserted-breaks)
1386 (idlwave-shell-activate-alt-keybindings)
1387 (idlwave-shell-use-breakpoint-glyph):
1388 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1389
f7ae6719
SM
13902012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1393
47086495
WS
13942012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1395
1396 * progmodes/verilog-mode.el (font-lock-keywords):
1397 Fix mis-highligting auto. Reported by Craig Barner.
1398 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1399 defines from global name space. Reported by Dan Dever.
1400 (verilog-auto-reset, verilog-auto-reset-widths)
1401 (verilog-auto-tieoff): Support using unbased numbers for
1402 AUTORESET and AUTOTIEOFF.
1403 (verilog-submit-bug-report): Update variable list.
1404 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1405 parenthesis from not matching. Reported by Michael Rytting.
1406 (verilog-auto-template-lint): Fix hash error when linting modules
1407 with no used templates.
1408 (verilog-warn, verilog-warn-error)
1409 (verilog-warn-fatal): When non-interactive report multiple
1410 warnings before exiting. Suggested by Brad Dobbie.
1411 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1412 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1413 to report unused template errors. Reported by Brad Dobbie.
1414 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1415 nets, bug438. Reported by Vns Blore.
1416 (verilog-auto-inout-module, verilog-auto-reg)
1417 (verilog-read-decls, verilog-read-sub-decls-sig)
1418 (verilog-signals-edit-wire-reg, verilog-signals-with):
1419 Fix passing of Verilog data types in ANSI input/output ports
1420 such as "output logic" into the AUTOs. Special case "wire" and
1421 "reg" for backwards compatibility presuming Verilog 2001.
1422 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1423 (verilog-preprocess): Fix replication of preprocess output.
1424 Reported by Brad Dobbie.
1425 (verilog-auto-inst-interfaced-ports):
1426 Create verilog-auto-inst-interfaced-ports, bug429.
1427 Reported by Julian Gorfajn.
1428 (verilog-after-save-font-hook)
1429 (verilog-before-save-font-hook): New variable.
1430 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1431 (verilog-save-font-mods): Wrap disabling fontification, reported
1432 by David Rogoff.
1433 (verilog-do-indent, verilog-pretty-declarations-auto)
1434 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1435 Reported by Pierre-David Pfister.
1436 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1437 of class declarations, bug292. Reported by Kevin Heilman.
1438 (verilog-read-decls): Fix 'parameter type' not appearing in
1439 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1440 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1441 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1442 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1443 Reported by David Kravitz.
1444
14452012-05-03 Michael McNamara <mac@mail.brushroad.com>
1446
1447 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1448 assignment with tests in ifs and for loops.
1449 (verilog-extended-complete-re, verilog-complete-reg): Change so
1450 that DPI inport functions don't look like fuction declarations.
1451 (verilog-pretty-expr): Don't line up assignment
1452 operations to the test and increment in if and for loops
1453 (verilog-extended-complete-re, verilog-complete-reg): Change so
1454 that DPI inport functions don't look like fuction declarations
1455
2e51d4b5
KH
14562012-05-03 Kenichi Handa <handa@m17n.org>
1457
1458 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1459 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1460 (Bug#11282).
1461
2bd785a2
SM
14622012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * emacs-lisp/bytecomp.el
1465 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1466 since cconv.el might have introduced :fun-body, internal-make-closure,
1467 and friends for bytecomp to handle (bug#11391).
1468 * custom.el (defcustom): Avoid ((λ ..) ..).
1469
99d27583
SM
14702012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1473
55a71479
JB
14742012-05-02 Juanma Barranquero <lekktu@gmail.com>
1475
1476 * notifications.el (dbus-debug):
1477 * term/linux.el (gpm-mouse-enable):
1478 * term/screen.el (xterm-register-default-colors): Declare.
1479
7b97c764
CY
14802012-05-02 Chong Yidong <cyd@gnu.org>
1481
2bc356d7
CY
1482 * cus-start.el (gc-cons-percentage, exec-suffixes)
1483 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1484 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1485 (make-cursor-line-fully-visible, void-text-area-pointer)
1486 (font-list-limit): Add customization data.
1487
7b97c764
CY
1488 * allout.el (allout-exposure-change-functions)
1489 (allout-structure-added-functions)
1490 (allout-structure-deleted-functions)
1491 (allout-structure-shifted-functions): Rename abnormal hooks from
1492 *-hook, and convert to defcustoms.
5d3385a0
JB
1493 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1494 Convert to defcustoms.
7b97c764
CY
1495 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1496
1497 * allout-widgets.el: Hook callers changed.
1498
90207a15 14992012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1500
1501 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1502 the yanked message in preference to the default value of
1503 buffer-file-coding-system.
1504
90207a15 15052012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1506
5d3385a0
JB
1507 * window.el (display-buffer--action-function-custom-type):
1508 Fix entry.
d9558cad 1509
90207a15 15102012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1511
1512 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1513
d80ac57b
GM
15142012-05-01 Glenn Morris <rgm@gnu.org>
1515
976f7668
GM
1516 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1517
beb83b5a
GM
1518 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1519
d80ac57b
GM
1520 * cus-edit.el (custom-variable-documentation): Simplify with format.
1521
b593d6a9
AH
15222012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1523 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * simple.el (suggest-key-bindings, execute-extended-command):
1526 Move from keyboard.c.
1527
782fbf2a
CY
15282012-05-01 Chong Yidong <cyd@gnu.org>
1529
1530 * follow.el: Eliminate advice.
1531 (set-process-filter, process-filter, sit-for): Advice deleted.
1532 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1533 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1534 Vars deleted.
782fbf2a
CY
1535 (follow-auto): Use a :set function.
1536 (follow-mode): Rewritten. Don't advise process filters.
1537 (follow-switch-to-current-buffer-all, follow-scroll-up)
1538 (follow-scroll-down): Assume follow-mode is bound.
1539 (follow-comint-scroll-to-bottom)
1540 (follow-align-compilation-windows): New functions.
1541 (follow--window-sorter): New function.
1542 (follow-all-followers): Use it to explicitly sort windows by their
1543 positions; don't make assumptions about next-window order.
1544 (follow-windows-start-end, follow-delete-other-windows-and-split)
1545 (follow-calc-win-start): Doc fix.
1546 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1547 vertical-motion unnecessarily.
1548 (follow-adjust-window): New function.
1549 (follow-post-command-hook): Use it.
1550 (follow-call-set-process-filter, follow-call-process-filter)
1551 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1552 (follow-stop-intercept-process-output, follow-generic-filter):
1553 Functions deleted.
1554 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1555 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1556 New functions, replacing advice on scroll-bar-* commands.
87233a14 1557 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1558
1559 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1560 (comint-postoutput-scroll-to-bottom): Use it.
1561 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1562
290af740
GM
15632012-05-01 Glenn Morris <rgm@gnu.org>
1564
1565 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1566 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1567 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1568 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1569 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1570 Remove no-byte-compile setting.
1571
6eac8dc9
SM
15722012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1575 all-completions code to not return a number in the last cdr.
1576
9cc7819c
LL
15772012-04-30 Leo Liu <sdl.web@gmail.com>
1578
1579 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1580 read-only error.
1581
c93b886f
CY
15822012-04-29 Chong Yidong <cyd@gnu.org>
1583
1584 * follow.el (follow-calc-win-end): Rewrite to handle partial
1585 screen lines correctly (Bug#8390).
1586 (follow-avoid-tail-recenter): Minor cleanup.
1587
8b6c19f4
SM
15882012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 Avoid the obsolete `assoc' package.
1591 * speedbar.el (speedbar-refresh): Avoid adelete.
1592 (speedbar-file-lists): Simplify and avoid aput.
1593 * man.el (Man--sections, Man--refpages): New vars, replacing
1594 Man-sections-alist and Man-refpages-alist.
1595 (Man-build-section-alist, Man-build-references-alist):
1596 Use them; avoid aput.
1597 (Man--last-section, Man--last-refpage): New vars.
1598 (Man-follow-manual-reference): Use them.
1599 Use the `default' arg of completing-read.
1600 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1601
c5bb7569
CY
16022012-04-27 Chong Yidong <cyd@gnu.org>
1603
d1d2e2e8
CY
1604 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1605
15cd8efd
CY
1606 * startup.el (x-apply-session-resources): New function.
1607
1608 * term/ns-win.el (ns-initialize-window-system):
1609 * term/w32-win.el (w32-initialize-window-system):
1610 * term/x-win.el (x-initialize-window-system): Use it to properly
1611 set menu-bar-mode and other vars from X resources, even if the
1612 initial frame is not a window-system frame (Bug#2299).
1613
c5bb7569
CY
1614 * subr.el (read-key): Avoid running filter function when setting
1615 up temporary tool bar entries (Bug#9922).
1616
a8e7d6d7 16172012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1618
1619 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1620 (Bug#11344)
1621
a8e7d6d7 16222012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1623
1624 * select.el (xselect--encode-string): New function, split from
1625 xselect-convert-to-string.
1626 (xselect-convert-to-string): Use it.
1627 (xselect-convert-to-filename, xselect-convert-to-os)
1628 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1629 returned strings are properly encoded (Bug#11315).
1630
a8e7d6d7 16312012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1632
1633 * simple.el (delete-active-region): Move to killing custom group.
1634
a8e7d6d7 16352012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1636
1637 * progmodes/which-func.el (which-func-current): Quote %
1638 characters for mode-line processing.
1639
578c1d4b 16402012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1641
1642 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1643 reaching eob (Bug#11286).
1644
a8e7d6d7 16452012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1646
1647 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1648 (gdb): Make it buffer-local and init to zero.
1649 (gdb-control-commands-regexp): New variable.
1650 (gdb-send): Don't wrap in "-interpreter-exec console" if
1651 gdb-control-level is positive. Increment gdb-control-level
1652 whenever the command matches gdb-control-commands-regexp, and
1653 decrement it each time the command is "end". (Bug#11279)
1654
a8e7d6d7 16552012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1656
1657 * window.el (adjust-window-trailing-edge, enlarge-window)
1658 (shrink-window, window-resize):
1659 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1660 windows (Bug#11276).
1661
b3608390
CY
16622012-04-27 Chong Yidong <cyd@gnu.org>
1663
1664 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1665 fix "missing prefix" warning. All callers changed.
b3608390 1666
797e6e88
SM
16672012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacs-lisp/assoc.el: Move to obsolete/.
1670
e95a67dc
SM
16712012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1672
657c21e4 1673 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1674
1675 * term/ns-win.el (ns-define-service):
1676 * progmodes/pascal.el (pascal-goto-defun):
1677 * progmodes/js.el (js--read-tab):
1678 * progmodes/etags.el (tags-lazy-completion-table):
1679 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1680 * emacs-lisp/ewoc.el (ewoc--wrap):
1681 * emacs-lisp/assoc.el (aput, adelete, amake):
1682 * doc-view.el (doc-view-convert-current-doc):
1683 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1684
cb3e7ae0
CY
16852012-04-26 Chong Yidong <cyd@gnu.org>
1686
dce04f7f
CY
1687 * image.el (image-type-from-buffer): Only return supported image
1688 type (Bug#9045).
1689
cb3e7ae0
CY
1690 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1691 value, for symmetry with diff-end-of-hunk.
1692 (diff-split-hunk, diff-find-source-location)
1693 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1694 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1695 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1696 compute the relevant hunk or file properly (Bug#6005).
1697 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1698
0d42eb3e
SM
16992012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * vc/vc-mtn.el:
1702 * vc/vc-hg.el:
1703 * vc/vc-git.el:
1704 * vc/vc-dir.el:
1705 * vc/vc-cvs.el:
1706 * vc/vc-bzr.el:
1707 * vc/vc-arch.el:
1708 * vc/vc.el: Replace lexical-let by lexical-binding.
1709 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1710 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1711 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1712
f08ae1c9
CY
17132012-04-26 Chong Yidong <cyd@gnu.org>
1714
8b71081d
CY
1715 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1716 (diff-mode-shared-map): Bind it to / and [remap undo].
1717
f08ae1c9
CY
1718 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1719 (ediff-window-setup-function): Use it as the default, to set up
1720 windows based on whether the current frame is graphical (Bug#2138).
1721 (ediff-choose-window-setup-function-automatically): Make obsolete.
1722
1723 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1724
ef24141c
SM
17252012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1726
cc356a5d
SM
1727 * ffap.el: Remove old code for obsolete package.
1728 (ffap-complete-as-file-p): Remove.
1729
b4ff4f1f
SM
1730 Use completion-table-with-quoting for comint and pcomplete.
1731 * comint.el (comint--unquote&requote-argument)
1732 (comint--unquote-argument, comint--requote-argument): New functions.
1733 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1734 (comint-quote-filename): Use regexp-opt-charset.
1735 (comint--common-suffix, comint--common-quoted-suffix)
1736 (comint--table-subvert): Remove.
1737 (comint-unquote-function, comint-requote-function): New vars.
1738 (comint--complete-file-name-data): Use them with
1739 completion-table-with-quoting.
1740 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1741 * pcomplete.el (pcomplete-arg-quote-list)
1742 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1743 (pcomplete-unquote-argument-function): Default to non-nil.
1744 (pcomplete-unquote-argument): Simplify.
1745 (pcomplete--common-quoted-suffix): Remove.
1746 (pcomplete-requote-argument-function): New var.
1747 (pcomplete--common-suffix): New function.
1748 (pcomplete-completions-at-point): Use completion-table-with-quoting
1749 and completion-table-subvert.
1750
79c4eeb4
SM
1751 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1752 (minibuffer--double-dollars): Preserve properties.
1753 (completion--sifn-requote): New function.
1754 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1755
ef24141c
SM
1756 * minibuffer.el: Add support for completion of quoted/escaped data.
1757 (completion-table-with-quoting, completion-table-subvert): New funs.
1758 (completion--twq-try, completion--twq-all): New functions.
1759 (completion--nth-completion): New function.
1760 (completion-try-completion, completion-all-completions): Use it.
1761
784e7d6e
LL
17622012-04-25 Leo Liu <sdl.web@gmail.com>
1763
dd2ac746
SM
1764 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1765 Use compilation-message if available to find real filename.
784e7d6e 1766
07875ee7
CY
17672012-04-25 Chong Yidong <cyd@gnu.org>
1768
1769 * vc/diff-mode.el (diff-setup-whitespace): New function.
1770 (diff-mode): Use it.
1771
1772 * vc/diff.el (diff-sentinel):
1773 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1774 Whitespace mode variables based on diff style (Bug#8612).
1775
5055880d
LL
17762012-04-25 Leo Liu <sdl.web@gmail.com>
1777
daf75653
LL
1778 * progmodes/python.el (python-send-region): Add suffix .py to the
1779 temp file.
1780
5055880d
LL
1781 * files.el (auto-mode-alist): Use javascript-mode instead.
1782
db9b177b
AH
17832012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1784
ef24141c 1785 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
1786
1787 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 1788 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 1789 references, see Bug#9.
ef24141c 1790 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 1791 when receiving a fault reply.
ef24141c 1792 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
1793
1794 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 1795 (soap-inspect-simple-type): New function.
db9b177b 1796
ef24141c 1797 * soap-client.el (soap-simple-type): New struct.
db9b177b 1798 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
1799 (soap-decode-basic-type, soap-encode-basic-type):
1800 support unsignedInt and double basic types.
db9b177b 1801 (soap-resolve-references-for-simple-type)
ef24141c
SM
1802 (soap-parse-simple-type, soap-encode-simple-type): New function.
1803 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
1804
1805 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
1806 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1807 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1808 the local name of "soapenc:Array".
1809 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
1810 decoding integer, byte and anyURI xsd types.
1811
1fc6097b
CY
18122012-04-25 Chong Yidong <cyd@gnu.org>
1813
1814 * cus-edit.el (custom-buffer-create-internal): Update header text.
1815
afc6df87
EZ
18162012-04-25 Eli Zaretskii <eliz@gnu.org>
1817
1818 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1819 settings on 'system-type', not on 'window-system'. On MS-Windows,
1820 set interactive-mode on in GDB.
1821
dfbd787f
SM
18222012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1825 (ruby-syntax-propertize-regexp): Remove.
1826 (ruby-syntax-propertize-function): Split regexp into chunks.
1827 Match following code directly.
1828
85222d44
DG
18292012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1830
51a8ea2a
DG
1831 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1832 (ruby-syntax-propertize-regexp): New function.
1833 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1834 by a special keyword.
1835
85222d44
DG
1836 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1837 (ruby-syntax-general-delimiters-goto-beg)
1838 (ruby-syntax-propertize-general-delimiters): New functions.
1839 (ruby-syntax-propertize-function): Use them to handle GDL.
1840 (ruby-font-lock-keywords): Move old handling of GDL...
1841 (ruby-font-lock-syntactic-keywords): .. to here.
1842 (ruby-calculate-indent): Adjust indentation for GDL.
1843
b613912b
MA
18442012-04-24 Michael Albinus <michael.albinus@gmx.de>
1845
b5380639
MA
1846 * notifications.el (top): Remove unneeded declarations.
1847 (notifications-specification-version): Change to "1.2".
e43042fe 1848 (notifications-interface, notifications-notify-method)
b613912b
MA
1849 (notifications-close-notification-method): Fix docstring.
1850 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
1851 (notifications-notify): Add :action-items, :resident and
1852 :transient hints. Change "image_data" to "image-data" and
1853 "image_path" to "image-path".
b613912b
MA
1854 (notifications-get-capabilities): New defun.
1855
257440aa
LL
18562012-04-24 Leo Liu <sdl.web@gmail.com>
1857
1858 * progmodes/python.el: Move hideshow setup to the end.
1859
b1bac16e
MR
18602012-04-24 Martin Rudalics <rudalics@gmx.at>
1861
1862 * window.el (handle-select-window): Clear echo area since this is
1863 no more done by read_char (Bug#11304).
1864
d81bd059
SM
18652012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1868 and `/ M' to filter-derived-mode.
1869 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1870 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1871 (ibuffer-mark-by-mode): Use default rather than initial-input.
1872 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1873
c4cf6d91
IA
18742012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1875
1876 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1877 (ibuffer-filter-by-derived-mode): New filter.
1878 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1879
7511ded8
CY
18802012-04-23 Andreas Politz <politza@fh-trier.de>
1881
1882 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1883
775c916b
CY
18842012-04-23 Chong Yidong <cyd@gnu.org>
1885
1886 * cus-edit.el (customize-apropos, customize-apropos-options):
1887 Disable matching of non-option variables (Bug#11176).
1888 (customize-option, customize-option-other-window)
1889 (customize-changed-options): Doc fix.
1890 (customize-apropos-options, customize-apropos-faces)
1891 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1892
1893 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 1894 Fix word list splitting (Bug#11132).
46c71e23
CY
1895 (apropos-symbol, apropos-keybinding, apropos-label)
1896 (apropos-property, apropos-function-button)
1897 (apropos-variable-button, apropos-misc-button): New faces.
1898 (apropos-symbol-face, apropos-keybinding-face)
1899 (apropos-label-face, apropos-property-face, apropos-match-face):
1900 Variables removed (Bug#8396).
1901 (apropos-library-button, apropos-format-plist, apropos-print)
1902 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 1903
2df41f9c
MA
19042012-04-23 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * net/xesam.el (xesam-mode-map): Use let-bound map in
1907 initialization. (Bug#11292)
1908
da00640a
AM
19092012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1910
1911 Preserve ispell session localwords when switching back to
1912 original buffer.
1913
1914 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1915 variable to hold buffer session localwords.
1916 (ispell-kill-ispell): add option 'clear to delete session
1917 localwords.
1918 (ispell-command-loop, ispell-change-dictionary)
1919 (ispell-buffer-local-words): Preserve session localwords when
1920 needed.
1921
1922 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1923 Preserve session localwords when needed.
1924
f621ccf5
AM
19252012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1926
1927 * ispell.el (ispell-insert-word) Remove unneeded function using
1928 obsolete `translation-table-for-input'.
ef24141c
SM
1929 (ispell-word, ispell-process-line, ispell-complete-word):
1930 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 1931
c2d1019e
CY
19322012-04-22 Chong Yidong <cyd@gnu.org>
1933
1934 * cus-edit.el (custom-variable-menu)
1935 (custom-variable-reset-saved, custom-face-menu)
1936 (custom-face-reset-saved): If there is no saved value, make the
1937 "reset-saved" operation bring back the default (Bug#9509).
1938 (custom-face-state): Properly detect themed faces.
1939
eeddc531
CY
1940 * faces.el (face-spec-set): Stop supporting deprecated form of
1941 third arg.
1942
dcbf5805
MA
19432012-04-22 Michael Albinus <michael.albinus@gmx.de>
1944
1945 Move functions from C to Lisp. Make non-blocking method calls
1946 the default. Implement further D-Bus standard interfaces.
1947
ef24141c
SM
1948 * net/dbus.el (dbus-message-internal): Declare function.
1949 Remove unneeded function declarations.
dcbf5805
MA
1950 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1951 (dbus-message-type-method-return, dbus-message-type-error)
1952 (dbus-message-type-signal): Declare variables. Remove local
1953 definitions.
1954 (dbus-interface-dbus, dbus-interface-peer)
1955 (dbus-interface-introspectable, dbus-interface-properties)
1956 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1957 Adapt docstring.
1958 (dbus-interface-objectmanager): New defconst.
1959 (dbus-call-method, dbus-call-method-asynchronously)
1960 (dbus-send-signal, dbus-method-return-internal)
1961 (dbus-method-error-internal, dbus-register-service)
1962 (dbus-register-signal, dbus-register-method): New defuns, moved
1963 from dbusbind.c
1964 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
1965 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1966 New defuns.
dcbf5805
MA
1967 (dbus-call-method-non-blocking): Make it an obsolete function.
1968 (dbus-unregister-object, dbus-unregister-service)
1969 (dbus-handle-event, dbus-register-property)
1970 (dbus-property-handler): Obey the new structure of
1971 `bus-registered-objects'.
1972 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1973 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1974 Use `dbus-call-method'.
1975
cf20dee0
CY
19762012-04-22 Chong Yidong <cyd@gnu.org>
1977
1978 * cus-edit.el (custom-commands, custom-reset-menu)
1979 (Custom-reset-standard): Tweak labels.
1980 (custom-reset-button-menu): Change default to t.
1981 (custom-buffer-create-internal): For the custom-reset-button-menu
1982 case, put the revert button first.
1983 (custom-group-subtitle): New face.
1984 (custom-group-value-create): Align docstring to a specific column.
1985
1986 * wid-edit.el (widget-documentation-link-add): Don't handle
1987 indentation in this function.
1988 (widget-documentation-string-indent-to): New function.
1989 (widget-documentation-string-value-create): Use it.
1990
1991 * autorevert.el (auto-revert):
1992 * epg-config.el (epg):
1993 * ibuffer.el (ibuffer):
1994 * mpc.el (mpc):
1995 * ses.el (ses):
1996 * eshell/eshell.el (eshell):
1997 * net/ange-ftp.el (ange-ftp):
1998 * progmodes/ebnf2ps.el (postscript):
1999 * progmodes/flymake.el (flymake):
2000 * progmodes/prolog.el (prolog):
2001 * progmodes/verilog-mode.el (verilog-mode):
2002 * progmodes/which-func.el (which-func):
2003 * term/xterm.el (xterm):
2004 * textmodes/picture.el (picture):
2005 * textmodes/tildify.el (tildify):
2006 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2007 customization buffers.
2008
583e23bd
AM
20092012-04-22 Alan Mackenzie <acm@muc.de>
2010
2011 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2012 Adding a ) can hide the resulting (..) from searches. Fix it.
2013 Bound the backward search to the position of the existing (.
2014
7dd51bf1
JB
20152012-04-21 Juanma Barranquero <lekktu@gmail.com>
2016
2017 * progmodes/verilog-mode.el (verilog-mode): Check whether
2018 which-func-modes is t before adding verilog-mode.
2019 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2020
d64a438f
LL
20212012-04-21 Leo Liu <sdl.web@gmail.com>
2022
7dd51bf1 2023 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2024
081e8d65
MV
20252012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2026
2027 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2028 filling of the last column of a table (Bug#5635).
2029 (woman-find-next-control-line): New arg, specifying an additional
2030 regexp component for the control line.
2031 (woman2-roff-buffer): Use it.
2032 (woman-break-table): New function.
2033 (woman2-TS): Use it.
2034
20352012-04-21 Chong Yidong <cyd@gnu.org>
2036
2037 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2038 (woman-horizontal-escapes, woman-negative-vertical-space)
2039 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2040 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2041
ed571ccb
SM
20422012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * minibuffer.el (completion-file-name-table): Complete user names.
2045
39773899
LL
20462012-04-20 Leo Liu <sdl.web@gmail.com>
2047
2048 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2049 and pcase-let*.
2050
de6ff46d
CY
20512012-04-20 Chong Yidong <cyd@gnu.org>
2052
2053 * server.el (server-execute): Respect initial-buffer-choice if it
2054 is a string and there are no files to open (Bug#2825).
2055 (server-create-window-system-frame, server-create-tty-frame):
2056 Don't switch buffers here.
2d0e8e61
CY
2057 (server-process-filter): Only try to open a window system frame if
2058 compiled with graphical support (Bug#8314).
de6ff46d 2059
54071013
DN
20602012-04-20 Dan Nicolaescu <dann@gnu.org>
2061
2062 * battery.el (battery-echo-area-format): Display remaining time
2063 for sysfs backend too (Bug#11269).
2064 (battery-linux-sysfs): Fix conditional for the charge.
2065
f30d612a
CY
20662012-04-20 Chong Yidong <cyd@gnu.org>
2067
c07a4c0b 2068 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2069 (gdb-inferior-io--init-proc): New function.
2070 (gdb-init-1): Use it.
2071 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2072 responsible for allocating a new pty and hooking it to gdb when
2073 the old pty gets an EIO due to process exit.
2074 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2075 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2076 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2077
2116e93c
EZ
20782012-04-20 Eli Zaretskii <eliz@gnu.org>
2079
2080 * window.el (window-min-size, window-sizable, window-min-delta)
2081 (window-max-delta, window--resizable, window-resizable)
2082 (window-total-size, window-full-height-p, window-full-width-p)
2083 (window-in-direction, window--resize-mini-window, window-resize)
2084 (window--resize-child-windows-normal)
2085 (window--resize-child-windows, window--resize-siblings)
2086 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2087 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2088
c07a4c0b 20892012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2090
ef24141c
SM
2091 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2092 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2093 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2094 pty process (Bug#11273).
2095 (gdb-update): New arg to suppress talking to the gdb process.
2096 (gdb-done-or-error): Use it.
2097 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2098 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2099 sentinel not being called.
2100
2101 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2102
d02766ab
CY
2103 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2104
c07a4c0b 21052012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2106
2107 * net/network-stream.el (open-network-stream): Doc fix.
2108
c07a4c0b 21092012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2110
2111 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2112
c07a4c0b 21132012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2114
2115 Ensure searching for keywords is case sensitive.
2116
2117 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2118 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2119 (c-defun-name, c-mark-function, c-cpp-define-name)
2120 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2121 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2122
ef24141c
SM
2123 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2124 Bind case-fold-search to nil.
f0f6bc35 2125
c07a4c0b 21262012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2127
2128 * mail/sendmail.el (mail-bury): Call return action with the right
2129 Rmail buffer (Bug#11242).
2130
9a864fa2
CY
2131 * server.el (server-process-filter): Handle corner case where both
2132 tty and nowait options are present (Bug#11102).
2133
539aa513
EZ
21342012-04-20 Eli Zaretskii <eliz@gnu.org>
2135
2136 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2137 (top level): Put into the executable the ident-style '$Id:' tag on
2138 windows-nt as well.
539aa513 2139
cfc7d5da
SM
21402012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * electric.el (electric-indent-post-self-insert-function): Check that
2143 electric-indent-mode is enabled in current buffer.
2144
5b01685c
JB
21452012-04-19 Juanma Barranquero <lekktu@gmail.com>
2146
2147 * imenu.el (imenu-progress-message): Restore; it is "used" in
2148 erc/erc-imenu.el and net/snmp-mode.el.
2149
4d6769e1
JB
21502012-04-19 Juanma Barranquero <lekktu@gmail.com>
2151
2152 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2153 (mouse-avoidance-nudge-mouse): Remove unused binding.
2154
2155 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2156
2157 * descr-text.el (describe-char):
2158 * progmodes/python.el (python-describe-symbol):
2159 Don't call `toggle-read-only', set `buffer-read-only'.
2160
2161 * imenu.el (imenu-default-goto-function): Mark unused args.
2162 (imenu-progress-message): Remove obsolete macro; all callers changed.
2163
2164 * subr.el (keymap-canonicalize): Remove unused binding.
2165 (read-passwd): Mark unused arg.
2166
2167 * tutorial.el (tutorial--display-changes): Remove unused binding.
2168 (tutorial--save-tutorial-to): Remove unused variable.
2169
2170 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2171 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2172 (package-generate-autoloads, package-menu--generate)
2173 (package-menu--find-upgrades): Remove unused bindings.
2174
2175 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2176 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2177 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2178 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2179 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2180 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2181 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2182 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2183 (cua-delete-char-rectangle): Mark unused args.
2184 (cua-align-rectangle): Remove unused binding.
2185
2186 * mail/rmail.el (compilation--message->loc)
2187 (epa--find-coding-system-for-mime-charset): Declare.
2188
2189 * net/dbus.el (dbus-register-service): Declare.
2190 (dbus-name-owner-changed-handler): Remove unused binding.
2191
2192 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2193 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2194 (nxml-scan-backward-within): Mark unused arg.
2195 (nxml-dynamic-markup-word): Remove unused binding.
2196
2197 * mouse.el (mouse-menu-major-mode-map):
2198 * emacs-lisp/authors.el (authors-scan-change-log)
2199 (authors-add-to-author-list):
2200 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2201 * emacs-lisp/smie.el (smie-auto-fill):
2202 * mail/sendmail.el (mail-bury):
2203 * mail/unrmail.el (unrmail):
2204 * net/tls.el (open-tls-stream):
2205 * textmodes/picture.el (picture-mouse-set-point):
2206 Remove unused bindings.
2207
8c8fc5df
MA
22082012-04-19 Michael Albinus <michael.albinus@gmx.de>
2209
2210 * net/tramp.el (tramp-action-password): Let-bind
2211 `enable-recursive-minibuffers' to t.
2212
a77b0ac9
SS
22132012-04-18 Sam Steingold <sds@gnu.org>
2214
2215 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2216 instead of 'string to accommodate values like [f11].
2217 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2218 * progmodes/gdb-mi.el: Likewise.
2219
12a106a9
LL
22202012-04-18 Leo Liu <sdl.web@gmail.com>
2221
2222 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2223 current buffer.
2224 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2225 LOCAL is nil.
2226
bc6494ef
CY
22272012-04-18 Chong Yidong <cyd@gnu.org>
2228
2229 * simple.el (line-move): Use forward-line if in batch mode
2230 (Bug#11053).
2231
c09c46b2
CS
22322012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2233
2234 * files.el (after-find-file): Do not try to add a final newline if
2235 the buffer is read-only (Bug#11156).
2236
5f6530ea
RS
22372012-04-17 Richard Stallman <rms@gnu.org>
2238
2239 * mail/rmail.el (rmail-start-mail):
2240 Pass (rmail-mail-return...) for the return-action.
2241 Pass (rmail-yank-current-message...) for the yank-action.
2242 (rmail-yank-current-message): New function.
2243 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2244 (rmail-reply): Likewise.
2245 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2246
2247 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2248 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2249 buffer, not newbuf.
2250
197b6f3c
JB
22512012-04-17 Juanma Barranquero <lekktu@gmail.com>
2252
2253 * server.el (server-ensure-safe-dir): Simplify.
2254
2311d8e5 22552012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2256
2311d8e5
GM
2257 * emacs-lisp/smie.el: Provide smarter auto-filling.
2258 (smie-auto-fill): New function.
2259 (smie-setup): Use it.
98fb480e 2260
2311d8e5
GM
2261 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2262
22632012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2264
2265 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2266 (comment-indent): Use it.
2267
2311d8e5 22682012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2269
2270 * ses.el: The overall change is to add cell renaming, that is
2271 setting fancy names for cell symbols other than name matching
2272 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2273 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2274 (ses-create-cell-variable): New defun.
2311d8e5 2275 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2276 (ses-relocate-formula): Relocate formulas only for cells the
2277 symbols of which are not renamed, i.e. symbols whose names do not
2278 match regexp "\\`[A-Z]+[0-9]+\\'".
2279 (ses-relocate-all): Relocate values only for cells the symbols of
2280 which are not renamed.
2281 (ses-load): Create cells variables as the (ses-cell ...) are read,
2282 in order to check row col consistency with cell symbol name only
2283 for cells that are not renamed.
2284 (ses-replace-name-in-formula): New defun.
2285 (ses-rename-cell): New defun.
4bdf2ad2 2286
fc72b15c
PO
22872012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2288
2289 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2290 New option (bug#11118).
2291 (perl-calculate-indent): Respect it.
2292
12e10e61
GM
22932012-04-17 Glenn Morris <rgm@gnu.org>
2294
2295 * dired-aux.el (dired-mark-read-string): Doc fix.
2296
30009afd
DA
22972012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2298
2299 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2300 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2301
41f03f4d
GM
23022012-04-17 Glenn Morris <rgm@gnu.org>
2303
2304 * mouse.el (mouse-drag-track):
2305 * speedbar.el (speedbar-frame-mode):
2306 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2307
f45f90f3
LL
23082012-04-16 Leo Liu <sdl.web@gmail.com>
2309
2310 * progmodes/python.el: Trivial cleanup.
2311
94ee8db5
GM
23122012-04-16 Glenn Morris <rgm@gnu.org>
2313
121b8917
GM
2314 * vc/vc.el (vc-string-prefix-p):
2315 * vc/pcvs-util.el (cvs-string-prefix-p):
2316 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2317 * mpc.el (mpc-string-prefix-p):
2318 Make all of these into obsolete aliases for string-prefix-p.
2319 Update callers.
2320 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2321
1197ecfa
GM
2322 * textmodes/two-column.el: Move custom options to the start.
2323 (frame-width): Remove compat definition.
2324 (2C-associate-buffer, 2C-dissociate):
2325 Use with-current-buffer rather than save-excursion.
2326 (2C-dissociate): Force a mode-line update.
2327 (2C-autoscroll): Use ignore-errors.
2328
099e7202
GM
2329 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2330 Autoload trivia.
2331
bf350d6a
GM
2332 * emacs-lisp/cl-extra.el (*random-state*):
2333 Remove unnecessary declaration.
2334
0e829eab
GM
2335 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2336
e3ad7552
GM
2337 * play/cookie1.el (cookie-snarf):
2338 Give an explicit error if input file cannot be read.
2339
68892d27
GM
2340 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2341
20f0c46d
GM
2342 * progmodes/perl-mode.el (c-macro-expand):
2343 Remove unnecessary autoload (it is in loaddefs.el).
2344
5a0978ce
GM
2345 * textmodes/picture.el (picture-desired-column)
2346 (picture-update-desired-column): Convert comments to doc-strings.
2347 (picture-substitute): Remove function.
2348 (picture-mode-map): Initialize in the defvar.
2349
6b955486
GM
2350 * woman.el: Remove eval-after-load for tar-mode.
2351 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2352 (woman-tar-extract-file): Autoload it.
2353
94ee8db5
GM
2354 * frame.el (automatic-hscrolling): Make this alias obsolete.
2355
177eca34
AM
23562012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2357
2358 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2359 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2360 (ispell-dictionary-base-alist): Revert to original XEmacs
2361 friendly version for default. [:alpha:] will be added in
2362 `ispell-set-spellchecker-params' if needed
177eca34 2363
c505aaeb
CY
23642012-04-16 Chong Yidong <cyd@gnu.org>
2365
2366 * image.el (imagemagick--extension-regexp): New variable.
2367 (imagemagick-register-types): Use it.
2368 (imagemagick-types-inhibit): Add :set function. Allow new value
2369 of t to inhibit all types.
2370
2371 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2372 so we can preload it.
2373
2374 * loadup.el (fboundp): Preload regexp-opt, needed by
2375 imagemagick-register-types.
2376
60efac0f
CY
23772012-04-15 Chong Yidong <cyd@gnu.org>
2378
2379 * frame.el (scrolling): Remove nearly unused customization group.
2380
2381 * scroll-all.el (scroll-all-mode): Move to windows group.
2382
5dd1713e
CY
23832012-04-15 Chong Yidong <cyd@gnu.org>
2384
2385 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2386
e6fd457e
CY
23872012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2390 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2391
e153c136
GM
23922012-04-15 Glenn Morris <rgm@gnu.org>
2393
2394 * simple.el (process-file-side-effects): Doc fix.
2395
e6fd457e 23962012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2397
2398 * international/mule-cmds.el (set-language-environment): Doc fix.
2399
3603c3b1
JB
24002012-04-14 Juanma Barranquero <lekktu@gmail.com>
2401
2402 * server.el (server-auth-key, server-generate-key): Doc fixes.
2403 (server-get-auth-key): Doc fix. Use `string-match-p'.
2404 (server-start): Reflow docstring.
2405
e6de100c
LI
24062012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2407
2408 * server.el (server-generate-key): `called-interactively-p'
2409 requires a parameter.
2410
29734c21
MN
24112012-04-14 Michal Nazarewicz <mina86@mina86.com>
2412
2413 * server.el (server-auth-key): New variable.
75f1671a 2414 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2415 (server-start): Use the new variable and functions to allow
2416 setting a permanent server key (bug#9423).
2417
d65c9521
LL
24182012-04-14 Leo Liu <sdl.web@gmail.com>
2419
2420 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2421
5ae255c7
PE
24222012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2423
2424 Spelling fixes.
2425 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2426 Emacs uses American spelling.
2427
d5e6342e
JB
24282012-04-14 Juanma Barranquero <lekktu@gmail.com>
2429
2430 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2431 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2432 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2433 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2434
ab036cd7
SM
24352012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * progmodes/which-func.el (which-func-modes): Change default.
2438
35dc09a1 24392012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2440
2441 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2442 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2443
35dc09a1 24442012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2445
2446 * custom.el (custom-theme-set-variables): Doc fix.
2447
35dc09a1 24482012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2449
2450 * international/mule.el (set-auto-coding-for-load): Doc fix.
2451
35dc09a1 24522012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2453
35dc09a1
GM
2454 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2455 imenu work again for Objective C Mode. Correct the *-index values,
2456 these having been disturbed by a previous change in 2011-08.
57f845ee 2457
0de3da9f
AM
2458 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2459 Correct two search limits.
2460
35dc09a1 24612012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2462
2463 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2464
35dc09a1 24652012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2466
2467 * international/characters.el: Fix sorting.
2468
35dc09a1 24692012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2470
2471 * international/characters.el: Add more missing Latin case pairs.
2472
35dc09a1 24732012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2474
2475 * files.el (dir-locals-set-class-variables): Doc fix.
2476
35dc09a1 24772012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2478
3f1b5bf8
EZ
2479 * international/characters.el: Add set-case-syntax-pair call for
2480 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2481 counterpart. (Bug#11209)
2482
9f847f41
EZ
2483 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2484
35dc09a1 24852012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2486
2487 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2488
35dc09a1 24892012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2490
35dc09a1
GM
2491 * textmodes/ispell.el (ispell-dictionary-base-alist):
2492 Add data for Hebrew.
e2627d21 2493
35dc09a1 24942012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2495
35dc09a1
GM
2496 * net/rcirc.el (rcirc-cmd-quit):
2497 Revert 2012-03-18 change (Bug#11192).
5c14e333 2498
35dc09a1 24992012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2500
2501 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2502
35dc09a1 25032012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2504
4517fe3a
SM
2505 * minibuffer.el (completion-in-region-mode-map):
2506 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2507
b472a594
VD
25082012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2509
2510 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2511
09b95ce3
MY
25122012-04-13 Masatake YAMATO <yamato@redhat.com>
2513
2514 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2515 to allow `C-M-f' and `C-M-b' to move to the nearest path
2516 separator (bug#9511).
2517
4b63a9ca
LI
25182012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2519
2520 * avoid.el: Require cl when compiling. And also move the
2521 `provide' to the end.
2522
7b55b8bf
TV
25232012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2524
2525 * avoid.el (mouse-avoidance-banish-position): New variable.
2526 (mouse-avoidance-banish-destination): Use it (bug#10165).
2527
adedaa1f
LL
25282012-04-13 Leo Liu <sdl.web@gmail.com>
2529
2530 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2531
70e74021
KB
25322012-04-13 Ken Brown <kbrown@cornell.edu>
2533
2534 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2535 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2536 (browse-url-filename-alist): For the same reason, don't modify
2537 file:// URLs on Cygwin.
2538
e75e89ba
SM
25392012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2542 the region on shift if the binding is already shifted (bug#11221).
2543
82f289a4
GM
25442012-04-12 Glenn Morris <rgm@gnu.org>
2545
2546 * mail/mailpost.el: Move to obsolete/.
2547
d333dc4c
DA
25482012-04-12 Drew Adams <drew.adams@oracle.com>
2549
2550 * imenu.el (imenu--generic-function): Ignore invisible definitions
2551 (bug#10123).
2552
0d15b5ba
VD
25532012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2554
2555 * hexl.el (hexl-bits): New variable.
2556 (hexl-options): Mention the variable in the doc string.
75f1671a 2557 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2558 (hexl-mode): Mention the new variable.
75f1671a
JB
2559 (hexl-mode, hexl-current-address, hexl-current-address):
2560 Use the displen.
0d15b5ba
VD
2561 (hexl-ascii-start-column): New function.
2562 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2563 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2564
64a440db
AM
25652012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2566
2567 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2568 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2569 the encoding, as expected by hunspell.
2570
6decb6c2
SM
25712012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * battery.el (battery--linux-sysfs-regexp): New const.
2574 (battery-status-function): Use it. Remove yeeloong special case.
2575 (battery-yeeloong-sysfs): Remove.
2576 (battery-echo-area-format): Remove yeeloong special case.
2577
088be6fb
SM
25782012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2579
6622e416
SM
2580 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2581 Reported by Noah Friedman.
2582
088be6fb
SM
2583 * subr.el (read-passwd): Use read-string.
2584
b49f886e
LMI
25852012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2586
2587 * vcursor.el (vcursor-move): Increase the priority of the overlay
2588 (bug#9663).
2589
a63067fc
DD
25902012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2591
2592 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2593 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2594
ac3cf14a
WS
25952012-04-11 William Stevenson <yhvh2000@gmail.com>
2596
2597 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2598 define-minor-mode (bug#10760).
2599
c4fc691b 26002012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2601
4d6769e1 2602 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2603 that directories matching `grep-find-ignored-files' won't be
2604 pruned (bug#10351).
2605
af23e2e5
CY
26062012-04-11 Chong Yidong <cyd@gnu.org>
2607
2608 * startup.el (command-line): Remove support for long-obsolete
2609 variable font-lock-face-attributes.
2610
ab7ce8c1
GM
26112012-04-11 Glenn Morris <rgm@gnu.org>
2612
2613 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2614
de8c03dc
SM
26152012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * window.el (window--state-get-1): Obey window-point-insertion-type.
2618
050cc68b
LB
26192012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2620
2621 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2622 to previous function when point is on the first character of a
75f1671a 2623 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2624
a38c310c
GM
26252012-04-11 Glenn Morris <rgm@gnu.org>
2626
effed0c2
GM
2627 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2628 not just file-errors.
2629
a38c310c
GM
2630 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2631 (vc-bzr-sha1): Use internal sha1.
2632
0221e323
SM
26332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2636
43956923
SG
26372012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2638
2639 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2640 that start in the middle of the line (bug#10496).
2641
6a8c9eaf
DN
26422012-04-10 Dan Nicolaescu <dann@gnu.org>
2643
2644 * battery.el (battery-linux-proc-acpi): Only one battery is
2645 discharged at a time, but that seems to confuse battery.el when
2646 computing `rate-type' for the battery not being discharged
2647 (bug#10332).
2648
1930bf5d
SM
26492012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2a718f6f
SM
2651 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2652
599430d0
SM
2653 * international/quail.el: Use dolist and simplify.
2654 (quail-define-package, quail-update-keyboard-layout)
2655 (quail-define-rules): Use dolist.
2656 (quail-insert-kbd-layout, quail-get-translation): CSE.
2657
a2754b6c
SM
2658 * tmm.el: Use dolist, remove left over hook.
2659 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2660 Use dolist.
2661 (calendar-load-hook): Don't mess with it.
2662
1930bf5d
SM
2663 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2664 Use derived-mode-p. Run the diff asynchronously.
2665
9f67961c
LMI
26662012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2667
2668 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2669
2a8ce227
JB
26702012-04-10 Juanma Barranquero <lekktu@gmail.com>
2671
2672 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2673 (list-dynamic-libraries--loaded): New function.
2674 (list-dynamic-libraries--refresh): Use it.
2675
8f33b5f8
NW
26762012-04-10 Nathan Weizenbaum <nweiz@google.com>
2677
1930bf5d
SM
2678 * progmodes/python.el (python-fill-paragraph):
2679 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2680 disabled (bug#7018).
2681
b12f0439
L
26822012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2683
1930bf5d 2684 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2685 DOS/MS Windows for the Baltic languages. There are still plenty
2686 of texts written in this encoding/codepage (bug#6519).
b12f0439 2687
57c3bd01
GM
26882012-04-10 Glenn Morris <rgm@gnu.org>
2689
2690 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2691 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2692
6c3eab30
FA
26932012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2694
1930bf5d 2695 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2696 next-line "n" and previous-line "p" in order to make recentf more
2697 consistent with ibuffer, dired or org-mode (bug#9387).
2698
24d78a88
LMI
26992012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2700
bc72b5d9
LMI
2701 * image.el (put-image): Return the overlay created instead of the
2702 optional input string (bug#7834). Note that this may break code
2703 that is (for some reason or other) depending on `put-image'
2704 returning the string.
2705
bd2dba5a
LMI
2706 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2707
74beb59f
LMI
2708 * simple.el (zap-to-char): Allow zapping using input methods
2709 (bug#1580).
2710
24d78a88
LMI
2711 * textmodes/fill.el (fill-region): Leave point and mark where they
2712 were before filling (bug#5399).
2713
263f20cd
GM
27142012-04-09 Glenn Morris <rgm@gnu.org>
2715
2716 * version.el (emacs-bzr-get-version):
2717 Handle lightweight checkouts of local branches.
2718
58d1f797
AS
27192012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2720
263f20cd 2721 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2722
b4d3bc10
CY
27232012-04-09 Chong Yidong <cyd@gnu.org>
2724
2725 * custom.el (custom-variable-p): Return nil for non-symbol
2726 arguments instead of signaling an error.
2727 (user-variable-p): Obsolete alias for custom-variable-p.
2728
2729 * apropos.el (apropos-variable):
2730 * files-x.el (read-file-local-variable):
2731 * simple.el (set-variable):
2732 * woman.el (woman-mini-help):
2733 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2734
fd06db5d
GM
27352012-04-09 Glenn Morris <rgm@gnu.org>
2736
e5fcdb5e
GM
2737 * startup.el (normal-top-level): Don't look for leim-list.el
2738 in places where it will not be found. (Bug#910)
2739
fd06db5d
GM
2740 * international/mule-cmds.el (set-default-coding-systems):
2741 * files.el (normal-mode):
2742 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2743 This function was removed with ucs-tables.el in 2008.
2744
b39bb7e1
EZ
27452012-04-08 Eli Zaretskii <eliz@gnu.org>
2746
2747 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2748 ispell-encoding8-command to "-i", without a trailing space.
2749 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2750 separate command-line arguments, to specify the encoding, since
2751 that's how hunspell expects it.
2752
5c5b8e23
GM
27532012-04-08 Glenn Morris <rgm@gnu.org>
2754
2755 * loadup.el: Load bindings before cus-start.
2756 This reduces somewhat the number of "rogue" settings in emacs -Q.
2757
a1ed8b05
GM
27582012-04-07 Glenn Morris <rgm@gnu.org>
2759
2760 * version.el (emacs-bzr-get-version): New function.
dfae128a 2761 (emacs-bzr-version): New variable.
a1ed8b05
GM
2762 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2763 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2764
b142f158
EZ
27652012-04-07 Eli Zaretskii <eliz@gnu.org>
2766
dfae128a
GM
2767 * international/uni-bidi.el, international/uni-category.el:
2768 * international/uni-combining.el, international/uni-decimal.el:
2769 * international/uni-decomposition.el, international/uni-digit.el:
2770 * international/uni-lowercase.el, international/uni-mirrored.el:
2771 * international/uni-name.el, international/uni-numeric.el:
2772 * international/uni-titlecase.el, international/uni-uppercase.el:
2773 Update for Unicode 6.1.
b142f158 2774
9078ead6
EZ
27752012-04-07 Eli Zaretskii <eliz@gnu.org>
2776
2777 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2778
f23d2c7d
LMI
27792012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2780
2781 * window.el (shrink-window): Mention the `window-min-height'
2782 variable in the doc string.
2783
0a0a3573
BG
27842012-04-05 Bastien Guerry <bzg@altern.org>
2785
2786 * color.el (color-lighten-name): Fix typo.
2787
e5248ac9
SM
27882012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * server.el (server--on-display-p): New function.
2791 (server--on-display-p): Use it.
2792
b4243e22
GV
27932012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2794
2795 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2796 (bug#11145).
2797
305d9f44
SM
27982012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * comint.el (comint--common-quoted-suffix): Check string boundary
2801 before comparing (bug#11158).
2802 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2803
3d439cd1
CY
28042012-04-04 Chong Yidong <cyd@gnu.org>
2805
321cc491
CY
2806 * minibuffer.el (completion-extra-properties): Doc fix.
2807
3d439cd1
CY
2808 * subr.el (delayed-warnings-hook): Doc fix.
2809
2d562c0f
DU
28102012-04-04 Daiki Ueno <ueno@unixuser.org>
2811
2812 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2813 selection (Bug#11159).
2814 (epa-insert-keys): Inform that the default public key will be
2815 exported if no key is selected.
2816
4443f204
RS
28172012-04-04 Richard Stallman <rms@gnu.org>
2818
2819 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2820
529c06b6
CY
28212012-04-03 Chong Yidong <cyd@gnu.org>
2822
2823 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2824 mail-insert-file, not its obsolete alias mail-attach-file.
2825
66b907dc
MA
28262012-04-03 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * notifications.el (notifications-notify): Fix docstring.
2829
c0ea195d
GM
28302012-04-02 Glenn Morris <rgm@gnu.org>
2831
2832 * emacs-lisp/authors.el (authors-aliases): Another addition.
2833
5ca64e00
MA
28342012-04-02 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2837 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2838 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2839
42ee526b
CY
28402012-04-01 Chong Yidong <cyd@gnu.org>
2841
2842 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2843 Handle root directory properly.
2844 (copy-directory): Caller changed.
2845
2846 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2847 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2848
0b021094
GM
28492012-03-31 Glenn Morris <rgm@gnu.org>
2850
40f86458
GM
2851 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2852
7019c177
GM
2853 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2854
a1daddd6
GM
2855 * calendar/calendar.el (calendar-window-list)
2856 (calendar-hide-window): Restore. (Bug#11140)
2857 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2858
0b021094
GM
2859 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2860
40311efc
TV
28612012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2862
2863 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2864 Check if file is a symlink (Bug#10489).
2865
2866 * files.el (copy-directory): Likewise.
2867
5319014e
CY
28682012-03-30 Chong Yidong <cyd@gnu.org>
2869
2870 * image.el (imagemagick-types-inhibit)
2871 (imagemagick-register-types): Doc fix.
2872
935d1290
AM
28732012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2874
ef24141c
SM
2875 * ispell.el (ispell-get-extended-character-mode):
2876 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 2877 and treats ~word as ordinary words in pipe mode.
935d1290 2878
61c6e8fd
GM
28792012-03-30 Glenn Morris <rgm@gnu.org>
2880
2881 * tutorial.el (help-with-tutorial): Ensure local variables don't
2882 happen to make the buffer read-only. (Bug#11127)
2883
81fdff00
SM
28842012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2887 (perl-calculate-indent): Return `noindent' in strings.
2888
6e7a6ec0
SS
28892012-03-28 Sam Steingold <sds@gnu.org>
2890
2891 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2892 instead of the broken adhockery which does not prevent calendar
2893 buffers from being displayed at random after exit.
2894 (calendar-window-list, calendar-hide-window): Remove the broken
2895 adhockery.
2896
fee88ca0
GM
28972012-03-28 Glenn Morris <rgm@gnu.org>
2898
2899 * replace.el (query-replace-map): Doc fix.
2900
38de3354
AS
29012012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2902
2903 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2904 contents. (Bug#11109)
2905
b973155e
SM
29062012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2909 (bug#11077).
2910 (avl-tree--check, avl-tree--check-node): New funs.
2911
dcb6e7b3
MR
29122012-03-27 Martin Rudalics <rudalics@gmx.at>
2913
2914 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
2915 (switch-to-prev-buffer, switch-to-next-buffer):
2916 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
2917 showing a buffer already is done on the same frame.
2918
b4fa35fa
GM
29192012-03-27 Glenn Morris <rgm@gnu.org>
2920
2921 * startup.el (mail-host-address): Doc fix.
2922
f9210e18
SM
29232012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2926 than 197 variables.
2927
c0bf7753
AF
29282012-03-26 Ami Fischman <ami@fischman.org>
2929
2930 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2931
33da7b16
GM
29322012-03-26 Glenn Morris <rgm@gnu.org>
2933
02243d9d
GM
2934 * files.el (save-buffers-kill-emacs): Doc fix.
2935
33da7b16
GM
2936 * startup.el (normal-top-level, command-line, command-line-1):
2937 Give them doc strings.
2938
e5a69fd0
EZ
29392012-03-25 Eli Zaretskii <eliz@gnu.org>
2940
2941 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 2942 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 2943
9a69676a
CY
29442012-03-25 Chong Yidong <cyd@gnu.org>
2945
4125cb8b
CY
2946 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2947 theme if it was previously enabled before (Bug#11031).
2948
dd470960
CY
2949 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2950 spec with custom-face-get-current-spec if its :shown-value is not
2951 determined yet (Bug#9337).
4125cb8b 2952 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 2953
9a69676a
CY
2954 * button.el (button-at): Minor addition to docstring.
2955
6e7e90fa
SL
29562012-03-24 Simon Leinen <simon.leinen@gmail.com>
2957
2958 * vc/vc.el (vc-merge): Fix a prompt.
2959
f06e2758
CY
29602012-03-24 Chong Yidong <cyd@gnu.org>
2961
2962 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2963 point (Bug#9623).
2964
6e7e90fa
SL
2965 * button.el (button-at): Minor addition to docstring.
2966
b9d0879b
SM
29672012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * newcomment.el (comment-choose-indent): No space after BOL.
2970
e71cebb3
SS
29712012-03-22 Sam Steingold <sds@gnu.org>
2972
2973 * window.el (switch-to-prev-buffer): Revert last patch because the
2974 bug turned out to be an advertised feature (Elisp manual 28.14).
2975
335aff35
GM
29762012-03-22 Glenn Morris <rgm@gnu.org>
2977
2978 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2979 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2980
c676576a
LMI
29812012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2982
2983 * net/network-stream.el (network-stream-open-starttls): Make error
2984 message under Windows be less misleading.
2985
126f3d39
LW
29862012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2987
2988 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2989 understands (bug#9942).
2990
64fee311
CY
29912012-03-22 Chong Yidong <cyd@gnu.org>
2992
2993 * simple.el (end-of-visible-line): Handle return value of
2994 next-single-property-change properly (Bug#9371).
2995
a640d29a
KH
29962012-03-22 Kenichi Handa <handa@m17n.org>
2997
2998 * international/quail.el (quail-insert-kbd-layout): Fix previous
2999 change. To avoid unwanted bidi reordering, use
3000 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3001
39675016
DG
30022012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3003
3004 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3005 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3006 (ruby-beginning-of-indent): Be more careful with the difference
3007 between word-boundary and symbol boundary.
3008 (ruby-mode-syntax-table): Make : a symbol constituent.
3009
0a6934fc 30102012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3011
3d008e4f
SM
3012 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3013
0a6934fc
SM
30142012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3015
af67c9d7
SM
3016 * progmodes/etags.el (tags-completion-at-point-function):
3017 Improve last fix.
3018
1acad97c
SM
3019 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3020
e298b5da
SS
30212012-03-21 Sam Steingold <sds@gnu.org>
3022
3023 * progmodes/etags.el (tags-completion-at-point-function):
3024 Avoid the error when point is inside the pattern.
3025
91d82a70
JY
30262012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3027
3028 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3029 line (Bug#10855).
3030
69188b79
CY
30312012-03-21 Drew Adams <drew.adams@oracle.com>
3032
3033 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3034
99fc91fe
AK
30352012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3036
3037 * ido.el (ido-set-current-directory, ido-read-internal)
3038 (ido-choose-completion-string, ido-completion-help): Handle nil
3039 value of ido-completion-buffer (Bug#11008).
3040
087bbb4c
SS
30412012-03-21 Sam Steingold <sds@gnu.org>
3042
3043 * window.el (switch-to-prev-buffer): Do not switch to a visible
3044 window previous buffer, just like with the frame previous buffers.
3045
fb5b8aca
CY
30462012-03-21 Chong Yidong <cyd@gnu.org>
3047
3048 * faces.el (make-face, make-empty-face, copy-face):
3049 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3050 Doc fixes.
3051
dc9924b8
SM
30522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3055 (widget-complete): Remove broken use of it.
3056
f0bcceb9
CY
30572012-03-20 Chong Yidong <cyd@gnu.org>
3058
dc9924b8
SM
3059 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3060 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3061 characters.
3062
ee52ebf3
TH
30632012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3064
3065 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3066 to draw rectangles, not squares. (Regression introduced by revno
3067 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3068
4c5779ab
CY
30692012-03-18 Chong Yidong <cyd@gnu.org>
3070
3071 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3072 it is not yet defined (for temacs).
3073
15360934
LL
30742012-03-18 Leo Liu <sdl.web@gmail.com>
3075
dc9924b8 3076 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3077
d9a8eb66
EZ
30782012-03-17 Eli Zaretskii <eliz@gnu.org>
3079
3080 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3081 (ispell-choices-win-default-height, ispell-silently-savep)
3082 (ispell-dictionary-alist, ispell-encoding8-command)
3083 (ispell-check-version, ispell-aspell-find-dictionary)
3084 (ispell-valid-dictionary-list, ispell-words-keyword)
3085 (ispell-get-word, ispell-internal-change-dictionary)
3086 (ispell-region, ispell-skip-region-list)
3087 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3088 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3089 (ispell-message-text-end, ispell-message)
3090 (ispell-buffer-local-parsing): Doc fix.
3091
f02ff80d
J
30922012-03-13 Jambunathan K <kjambunathan@gmail.com>
3093
3094 * htmlfontify.el: Add support for code block fontification for ODT
3095 export (Bug #9914).
3096 (hfy-optimisations): Define new option
3097 `body-text-only'
3098 (hfy-fontify-buffer): Honor above setting.
3099 (hfy-begin-span, hfy-end-span): New routines factored out form
3100 `hfy-fontify-buffer'.
3101 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3102 that permit insertion of custom tags.
3103 (hfy-fontify-buffer): Use above handlers.
3104 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3105 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3106 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3107 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3108 bind a special variable `hfy-user-sheet-assoc'.
3109 (htmlfontify-string): New defun.
3110 (hfy-compile-face-map): Make sure that the last char in the
3111 buffer is correctly fontified.
3112 (hfy-face-resolve-face): Whitespace only change.
3113
9ac7a13f
EZ
31142012-03-17 Eli Zaretskii <eliz@gnu.org>
3115
3116 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3117 message more clear.
3118
e2b5bdd7
LL
31192012-03-16 Leo Liu <sdl.web@gmail.com>
3120
3121 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3122
2e492df3
AM
31232012-03-16 Alan Mackenzie <acm@muc.de>
3124
3125 Further optimise the handling of large macros.
3126
3127 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3128 limit to a call of `c-literal-limits'.
3129 (c-determine-+ve-limit): New function.
dc9924b8
SM
3130 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3131 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3132 In CASE 5B, restrict a search limit to 500.
3133 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3134
3135 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3136 Restrict macro bounds to +-500 from after-change's BEG END.
3137
50e94f0c
LL
31382012-03-16 Leo Liu <sdl.web@gmail.com>
3139
3140 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3141
6f09f6ed
AH
31422012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3143
3144 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3145 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3146
c7e73d51
GM
31472012-03-16 Glenn Morris <rgm@gnu.org>
3148
da986230
GM
3149 * view.el (view-buffer, view-buffer-other-window)
3150 (view-buffer-other-frame): Doc fixes re special mode-class.
3151
0835f01e
GM
3152 * subr.el (eval-after-load): If named feature is provided not from
3153 a file, run after-load forms. (Bug#10946)
3154
c7e73d51
GM
3155 * calendar/calendar.el (calendar-insert-at-column):
3156 Handle non-unit-width characters a bit better. (Bug#10978)
3157
3f2eafd1
CY
31582012-03-15 Chong Yidong <cyd@gnu.org>
3159
3160 * emacs-lisp/ring.el (ring-extend): New function.
3161 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3162
3163 * comint.el (comint-read-input-ring)
3164 (comint-add-to-input-history): Grow comint-input-ring lazily.
3165
103af3fe
SM
31662012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3167
663b1677
SM
3168 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3169 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3170
103af3fe
SM
3171 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3172 (imenu-add-to-menubar): Don't add a redundant index.
3173 (imenu-update-menubar): Handle a dynamically composed keymap.
3174
899cb7cb
KY
31752012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3176
3177 * mail/sendmail.el (mail-encode-header):
3178 Bind rfc2047-encode-encoded-words to nil.
3179
3809f91d
GM
31802012-03-13 Glenn Morris <rgm@gnu.org>
3181
3182 * calendar/calendar.el (calendar-string-spread):
3183 Handle non-unit-width characters a bit better. (Bug#10978)
3184
9e345a01
LL
31852012-03-13 Leo Liu <sdl.web@gmail.com>
3186
3187 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3188 directory and file as argument (Bug#10822).
3189
4a07df36
KS
31902012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3191
3192 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3193 For dynamically generated code, follow $PC.
3194 (gdb-disassembly-handler-custom): Handle no function name case.
3195
4aaa9356
TL
31962012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3197
3198 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3199 * emulation/ws-mode.el (ws-query-replace):
3200 * sort.el (sort-regexp-fields):
3201 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3202
225979da
SM
32032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * dabbrev.el: Fix cycle completion order (bug#10963).
3206 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3207 (dabbrev-completion): Don't use an obarray; provide
3208 a cycle-sort-function.
3209
e2f1fdab
LL
32102012-03-12 Leo Liu <sdl.web@gmail.com>
3211
dc9924b8 3212 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3213 (kill-do-not-save-duplicates): Doc fix.
3214
b19490ed
SM
32152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * dabbrev.el: Fix cycle completion (bug#10963).
3218 Use lexical binding and wrap to 80 columns.
3219 (dabbrev-completion): Delay computing the list of completions.
3220
4b05d722
KH
32212012-03-12 Kenichi Handa <handa@m17n.org>
3222
3223 * international/quail.el (quail-insert-kbd-layout): Surround each
3224 row by LRO and PDF instead of inserting many LRMs. Pad the left
3225 and right of each non-spacing marks. Insert invisible space
3226 between lower and upper characters to prevent composition.
3227
dbbc2e69
SM
32282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * minibuffer.el (minibuffer-complete): Don't get confused when the
3231 function is run twice via different commands (bug#10958).
3232 (complete-with-action): Fix docstring.
3233
292112ed
CY
32342012-03-12 Chong Yidong <cyd@gnu.org>
3235
5d1ac394
CY
3236 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3237 (nxml-completion-at-point-function): New function.
3238 (nxml-mode): Use it.
3239 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3240
292112ed
CY
3241 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3242 Load generated autoloads file before byte compiling (Bug#10970).
3243 (package--make-autoloads-and-compile): New helper fun.
3244
4098f8f7
CS
32452012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3246
3247 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3248
8f754691
MA
32492012-03-11 Michael Albinus <michael.albinus@gmx.de>
3250
3251 * autorevert.el (auto-revert-handler): Ensure, that
3252 file-readable-p is applied only for local files or in
3253 auto-revert-tail-mode.
3254
e29ab36b
AS
32552012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3256
dbbc2e69
SM
3257 * server.el (server-eval-at): Handle non-tcp connections.
3258 Decode result string.
ad0bf5b6 3259
e29ab36b
AS
3260 * server.el (server-msg-size): New constant.
3261 (server-reply-print): New function.
3262 (server-eval-and-print): Use it.
3263 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3264 Handle -print-nonl.
3265
de5939ba
CS
32662012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3267
3268 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3269 (Bug#10987).
3270
0c93eabf
CY
32712012-03-11 Chong Yidong <cyd@gnu.org>
3272
397a688f
CY
3273 * simple.el (goto-line): Doc fix (Bug#9938).
3274
2cc775f9
CY
3275 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3276
0c93eabf
CY
3277 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3278 when finished (Bug#10963).
3279
c491fa41
MR
32802012-03-11 Martin Rudalics <rudalics@gmx.at>
3281
3282 * window.el (split-window-below): Fix bug in case where
3283 split-window-keep-point is nil (Bug#10971).
3284
300e8fa5
JL
32852012-03-11 Juri Linkov <juri@jurta.org>
3286
3287 * replace.el (replace-highlight): Set isearch-word to nil
3288 unconditionally. (Bug#10887)
3289
dbf6c5a1
EZ
32902012-03-10 Eli Zaretskii <eliz@gnu.org>
3291
3292 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3293 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3294 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3295 (mairix-widget-create-query): Add usage information about mairix
3296 search forms: negating words, searching for substrings, etc.
3297
b9e501de
JP
32982012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3299
3300 * international/fontset.el (font-encoding-alist): Add an entry for
3301 ksx1001 (Bug#5667).
3302
92795c91
RS
33032012-03-10 Richard Stallman <rms@gnu.org>
3304
1694e6c1
RS
3305 * mail/sendmail.el (mail-encode-header):
3306 Set rfc2047-encode-encoded-words.
3307
607e8555
RS
3308 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3309
de3bc99a
RS
3310 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3311 view buffer means not swapped.
3312 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3313 (rmail-write-region-annotate): Error if real text has disappeared.
3314
92795c91
RS
3315 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3316
699bd04e
CY
33172012-03-10 Chong Yidong <cyd@gnu.org>
3318
3319 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3320 * emulation/cua-base.el (cua--init-keymaps):
3321 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3322
570a1714
MR
33232012-03-10 Martin Rudalics <rudalics@gmx.at>
3324
dbbc2e69
SM
3325 * speedbar.el (speedbar-unhighlight-one-tag-line):
3326 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3327
82dcf4e4
CY
33282012-03-10 Chong Yidong <cyd@gnu.org>
3329
7a2c7ca7
CY
3330 * minibuffer.el (completion-in-region, completion-help-at-point):
3331 Give the completion field overlay a high priority (Bug#6830).
3332
82dcf4e4
CY
3333 * dired.el (dired-goto-file): Recognize absolute file name
3334 listings (Bug#7126).
3335 (dired-goto-file-1): New helper function.
3336 (dired-toggle-read-only): Inhibit warnings.
3337
052e28ac
MA
33382012-03-09 Michael Albinus <michael.albinus@gmx.de>
3339
75f1671a 3340 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3341 there are no properties.
3342
95d5e396
LL
33432012-03-09 Leo Liu <sdl.web@gmail.com>
3344
3345 * savehist.el (savehist-printable): Stricter check for string
3346 value (Bug#10937).
3347
3f018d6d
EZ
33482012-03-09 Eli Zaretskii <eliz@gnu.org>
3349
dbbc2e69
SM
3350 * mail/smtpmail.el (smtpmail-send-it):
3351 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3352 valid mbox format.
3353
f7fd3d79
GM
33542012-03-09 Glenn Morris <rgm@gnu.org>
3355
3356 * files.el (dir-locals-find-file):
3357 Don't check result is regular, readable.
3358 (dir-locals-read-from-file): Demote errors.
3359
6ff6e72f
EZ
33602012-03-08 Eli Zaretskii <eliz@gnu.org>
3361
dbbc2e69
SM
3362 * international/quail.el (quail-insert-kbd-layout):
3363 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3364 layout cell, to prevent their reordering by bidi display engine.
3365 For details, see the discussion in
3366 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3367
9cec7834
AM
33682012-03-08 Alan Mackenzie <acm@muc.de>
3369
3370 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3371 the starting position; make it extend the marked region when
3372 invoked repeatedly - all under appropriate circumstances.
3373 Fixes bugs #5525, #10906.
3374
9a40b8d4
GM
33752012-03-08 Glenn Morris <rgm@gnu.org>
3376
3377 * files.el (locate-dominating-file, dir-locals-find-file):
3378 Undo 2012-03-06 change.
3379
7a08ed35
EZ
33802012-03-07 Eli Zaretskii <eliz@gnu.org>
3381
dbbc2e69
SM
3382 * international/quail.el (quail-help):
3383 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3384 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3385 for the reason.
3386
5aca4f71 33872012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3388
3389 Avoid superfluous registering of signals. (Bug#10807)
3390
3391 * notifications.el (notifications-on-action-object)
3392 (notifications-on-close-object): New defvars.
3393 (notifications-on-action-signal, notifications-on-closed-signal):
3394 Unregister the signal if not needed any longer.
3395 (notifications-notify): Register `notifications-action-signal' or
3396 `notifications-closed-signal', if :on-action or :on-close has been
3397 passed as argument.
3398
78e8b10a
CY
33992012-03-07 Chong Yidong <cyd@gnu.org>
3400
3401 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3402 non-X platforms.
3403
69481eb8
GM
34042012-03-06 Glenn Morris <rgm@gnu.org>
3405
3406 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3407 (x-disown-selection-internal, x-get-selection-internal):
3408 Doc fix (add arglist signatures). (Bug#10783)
3409
133b8e11
KS
34102012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3411
3412 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3413 Handle breakpoints with no "type".
3414
99a83064
GM
34152012-03-06 Glenn Morris <rgm@gnu.org>
3416
3417 * files.el (locate-dominating-file): Add optional predicate argument.
3418 (dir-locals-find-file): Make use of above change.
3419
17798e78
TTN
34202012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3421
3422 * info.el (Info-insert-dir): Also try "dir.gz".
3423
eb182446
GM
34242012-03-06 Glenn Morris <rgm@gnu.org>
3425
8f2114ee
GM
3426 * files.el (dir-locals-find-file):
3427 Ignore non-readable or non-regular files. (Bug#10928)
3428
eb182446
GM
3429 * files.el (locate-dominating-file): Doc fix.
3430
24679323
AS
34312012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3432
3433 * calendar/calendar.el (calendar-set-mode-line):
3434 `getenv' returns a string. (Bug#10951)
3435
01d972a9
LL
34362012-03-05 Leo Liu <sdl.web@gmail.com>
3437
109aa8a9
LL
3438 * simple.el (backward-delete-char-untabify): Constrain point to
3439 field (Bug#10939).
3440
01d972a9
LL
3441 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3442
10607bea
CY
34432012-03-05 Chong Yidong <cyd@gnu.org>
3444
3445 * simple.el (count-words): If called from Lisp, return the word
3446 count, for symmetry with `count-lines'. Arglist changed.
3447 (count-words--message): Args changed. Consolidate counting code
3448 from count-words and count-words-region.
3449 (count-words-region): Caller changed.
3450 (count-lines-region): Make it an obsolete alias.
3451
5dd11cfe
TH
34522012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3453
3454 * saveplace.el (save-place-to-alist)
3455 (save-place-ignore-files-regexp): Allow value nil to disable this
3456 feature.
3457
c349f4e6
CY
34582012-03-04 Chong Yidong <cyd@gnu.org>
3459
3460 * faces.el (face-spec-reset-face): For the default face, reset the
3461 attributes to default values (Bug#10748).
3462
e627be4c
LMI
34632012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3464
3465 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3466 previous patch: Check `message-send-mail-function', and not the
3467 default function (bug#10897).
3468
ebeabff4
MA
34692012-03-04 Michael Albinus <michael.albinus@gmx.de>
3470
a41a6cf4
MA
3471 * notifications.el (notifications-on-action-signal)
3472 (notifications-on-closed-signal): Check for unique service name of
3473 incoming event. Fix error in removing entry.
ebeabff4 3474 (top): Register for signals with wildcard service name.
a41a6cf4 3475 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3476
c1ca42b4
CY
34772012-03-04 Chong Yidong <cyd@gnu.org>
3478
dc9924b8 3479 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3480
ea16568d
GM
34812012-03-04 Glenn Morris <rgm@gnu.org>
3482
3483 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3484 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3485 (expand-abbrev, define-abbrev-table): Doc fixes.
3486
fbae4637
LMI
34872012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3488
3489 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3490 `message-default-send-mail-function' and not `send-mail-function'
3491 when doing the prompting for `sendmail-query-once' before sending
3492 in Message buffers (bug#10897).
3493
a1e7225c
LMI
3494 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3495 This is inconsistent with all the other stream functions, which leave
3496 the setting up to the higher levels (if so wanted) (bug#10931).
3497
56d093a9
AM
34982012-03-02 Alan Mackenzie <acm@muc.de>
3499
3500 Depessimize the handling of very large macros.
3501
3502 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3503 (c-macro-cache-syntactic): New variables to implement a one
3504 element macro cache.
3505 (c-invalidate-macro-cache): New function.
3506 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3507 Adapt to use the new cache.
3508 (c-state-safe-place): Use better the cache of safe positions.
3509 (c-state-semi-nonlit-pos-cache)
3510 (c-state-semi-nonlit-pos-cache-limit):
3511 New variables for...
3512 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3513 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3514 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3515 Use c-state-semi-safe-place.
56d093a9 3516
dbbc2e69
SM
3517 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3518 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3519
817e5c3d
MA
35202012-03-02 Michael Albinus <michael.albinus@gmx.de>
3521
dbbc2e69
SM
3522 * jka-compr.el (jka-compr-call-process):
3523 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3524 not remote.
3525
a032a702
MA
35262012-03-01 Michael Albinus <michael.albinus@gmx.de>
3527
3528 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3529 access of FILE2, if FILE1 does not exist.
3530
99a54f21
MA
3531 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3532 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3533
3534 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3535 Add "PAGER=" to `process-environment'.
3536
f6561e1f
MM
35372012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3538
3539 * progmodes/sql.el: Bug fix
3540 (sql-get-login-ext): Save login values in globals.
3541 (sql-get-login): Use new version of `sql-get-login-ext'.
3542 (sql-interactive-mode): Set global `sql-connection' to nil.
3543 (sql-connect): Set global values for connection.
3544 (sql-product-interactive): Save global values as buffer local.
3545
2d44d9cc
LL
35462012-02-29 Leo Liu <sdl.web@gmail.com>
3547
3548 * abbrev.el (define-abbrevs): Reset sys to nil.
3549
96b49301 35502012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3551
bf7f9bc5
JB
3552 * files.el (file-equal-p): Rename from `files-equal-p'.
3553 Return nil when one or both files don't exist.
96b49301 3554 (file-subdir-of-p): Now only top directory must exists,
3555 return nil if it doesn't.
bf7f9bc5
JB
3556 (copy-directory): No need to test with `file-subdir-of-p' after
3557 creating dir.
3558 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3559 to `file-equal-p'.
96b49301 3560
44e97401
GM
35612012-02-28 Glenn Morris <rgm@gnu.org>
3562
3563 * shell.el (shell-mode):
3564 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3565 * play/landmark.el (landmark-font-lock-face-O):
3566 * play/handwrite.el (handwrite):
3567 * play/gomoku.el (gomoku-O):
3568 * net/browse-url.el (browse-url-browser-display):
3569 * international/mule.el (define-charset):
3570 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3571 * filesets.el (filesets-find-file-delay):
3572 * eshell/em-xtra.el (eshell-xtra):
3573 * eshell/em-unix.el (eshell-grep):
3574 * emulation/viper.el (viper-mode):
3575 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3576 * emacs-lisp/easymenu.el (easy-menu-define):
3577 * calendar/timeclock.el (timeclock-use-display-time):
3578 * bs.el (bs-mode):
3579 * bookmark.el (bookmark-save-flag):
3580 Doc fix (standardize possessive apostrophe usage).
3581
c98c6276
CY
35822012-02-27 Chong Yidong <cyd@gnu.org>
3583
bf7f9bc5
JB
3584 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3585 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3586
c98c6276
CY
3587 * font-lock.el (font-lock-specified-p): Rename from
3588 font-lock-spec-present. Callers changed.
3589
9c62cd04 35902012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3591
bf7f9bc5
JB
3592 * emacs-lisp/package.el (package-compute-transaction):
3593 Handle holding a package version to t in package-load-list.
8ac9e529 3594
530739c9
MA
35952012-02-26 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3598 (tramp-get-inode, tramp-get-device): Use cached values.
3599
487915d7
AM
36002012-02-26 Alan Mackenzie <acm@muc.de>
3601
3602 Check there is a font-lock specification before doing initial
3603 fontification.
3604
3605 * font-core.el (font-lock-mode): Move the conditional from
3606 :after-hook to font-lock-initial-fontify.
3607 (font-lock-default-function): Move the check for a specification
3608 to font-lock-spec-present.
3609
dc9924b8 3610 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3611 (font-lock-spec-present): New function.
3612
4fd96557
JB
36132012-02-26 Jim Blandy <jimb@red-bean.com>
3614
3615 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3616 (gdb-send): Apply it to the operand of the '-interpreter-exec
3617 console' command, so that we can pass arguments with (say) quotes
3618 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3619
9a4888c0
CY
36202012-02-26 Chong Yidong <cyd@gnu.org>
3621
07498861
CY
3622 * help-fns.el (describe-function-1): Clarify description of
3623 remapping (Bug#10844).
3624
9a4888c0
CY
3625 * files.el (files-equal-p): Doc fix.
3626 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3627 and quit the loop once a mismatch is found.
3628
ea8fb88d
JB
36292012-02-25 Juanma Barranquero <lekktu@gmail.com>
3630
3631 * bs.el (bs--show-with-configuration): Don't throw an error
3632 if the window cannot be split; otherwise, subsequent calls to
3633 bs-show fail, restoring a stale window config. (Bug#10882)
3634
525795c1
JD
36352012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3636
3637 * term/ns-win.el (global-map): Bind ns-drag-file to
3638 ns-find-file (Bug#5855, Bug#10050).
3639
f008086f
AS
36402012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3641
3642 * calendar/parse-time.el (parse-time-string): Allow extractor to
3643 return nil.
3644
a3fcfa99
MA
36452012-02-25 Michael Albinus <michael.albinus@gmx.de>
3646
91027d08
JB
3647 * net/tramp.el (tramp-file-name-for-operation):
3648 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3649
3650 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3651 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3652 Add COPY-CONTENTS argument.
a3fcfa99 3653
67b0de11
CY
36542012-02-25 Chong Yidong <cyd@gnu.org>
3655
3656 Add custom groups for VC backends, for consistency with vc-bzr.
3657
3658 * vc/vc-arch.el (vc-arch):
3659 * vc/vc-cvs.el (vc-cvs):
3660 * vc/vc-git.el (vc-git):
3661 * vc/vc-hg.el (vc-hg):
3662 * vc/vc-mtn.el (vc-mtn):
3663 * vc/vc-rcs.el (vc-rcs):
3664 * vc/vc-sccs.el (vc-sccs):
3665 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3666 All relevant defcustoms reassigned.
3667
3c9dfce6
CY
36682012-02-25 Chong Yidong <cyd@gnu.org>
3669
1339bf43
CY
3670 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3671
3c9dfce6
CY
3672 * term/x-win.el (x-initialize-window-system): Reduce default for
3673 x-selection-timeout to 5 seconds (Bug#8869).
3674
25b2e303 36752012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3676
ec70a47d
GM
3677 * files.el (files-equal-p, file-subdir-of-p): New functions.
3678 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3679 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3680 * dired-aux.el (dired-copy-file-recursive): Same.
3681 (dired-create-files): Modify destination when source is equal to
3682 dest when copying files.
53a46cd0 3683 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3684
914260cd
MA
36852012-02-24 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3688 (Bug#10874)
3689
2cb228f7
AM
36902012-02-23 Alan Mackenzie <acm@muc.de>
3691
3692 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3693 parameter "after-hook:" to allow the expansion to run code after
3694 the execution of the mode hooks.
3695
3696 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3697 from font-lock-mode-internal.
2cb228f7 3698
91027d08 3699 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3700 :after-hook.
3701
8f0fde21
SM
37022012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3e88618b
SM
3704 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3705 (completion--cache-all-sorted-completions): New function.
3706 (completion-all-sorted-completions): Use it.
3707 (completion--do-completion, minibuffer-force-complete):
3708 Use it to re-instate the flush hook.
3709
8f0fde21
SM
3710 * icomplete.el (icomplete-completions): Replace last fix with a better
3711 one (bug#10850).
3712
8e911f6f
DG
37132012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3714
3715 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3716 when it might call us back infinitely (bug#10797).
3717
49fe4321
GM
37182012-02-23 Glenn Morris <rgm@gnu.org>
3719
3720 * minibuffer.el (completion-category-overrides): Doc fix.
3721
b291b572
SM
37222012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3725 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3726
31a9ef2e
GM
37272012-02-23 Glenn Morris <rgm@gnu.org>
3728
5e6e6794 3729 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3730 (authors-obsolete-files-regexps, authors-ignored-files)
3731 (authors-ambiguous-files, authors-renamed-files-alist):
3732 Add more entries.
3733
0bd1e074
JL
37342012-02-23 Juri Linkov <juri@jurta.org>
3735
3736 * isearch.el (isearch-occur): Sync interactive spec with occur's
3737 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3738
b617673c
JL
3739 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3740
19e9789e
JL
37412012-02-22 Juri Linkov <juri@jurta.org>
3742
3743 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3744 (ucs-insert): Doc fix. Check for hex digits in the string.
3745 Don't display `nil' in the error message. (Bug#10857)
3746
f41ce09d
AM
37472012-02-22 Alan Mackenzie <acm@muc.de>
3748
7a71b18d 3749 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3750
ac2eceee
GM
37512012-02-22 Glenn Morris <rgm@gnu.org>
3752
3753 * ffap.el (ffap-c-path):
3754 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3755
abd1f678
CY
37562012-02-22 Chong Yidong <cyd@gnu.org>
3757
3758 * custom.el (load-theme): Doc fix.
3759
f25aef2e
GM
37602012-02-22 Glenn Morris <rgm@gnu.org>
3761
3762 * dired-x.el (dired-guess-shell-alist-default):
3763 Remove escape sequences from nroff output. (Bug#172)
3764
5f8dc2ca
GM
37652012-02-21 Glenn Morris <rgm@gnu.org>
3766
6ff86ec4
GM
3767 * vc/emerge.el (emerge-defvar-local):
3768 Set `permanent-local' property rather than unused `preserved'.
3769
be3223a3 3770 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3771 (picture-mode-map): Use it. (Bug#10860)
3772 (picture-mode): Doc fix.
3773
3fe58f4f
JB
37742012-02-21 Juanma Barranquero <lekktu@gmail.com>
3775
3776 * newcomment.el (uncomment-region-default): Remove unused binding.
3777
f9a998c3
GM
37782012-02-21 Glenn Morris <rgm@gnu.org>
3779
3780 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3781 (picture-self-insert, picture-tab-chars): Doc fix.
3782 (picture-mode-map): Fix C-a, C-e.
3783
c6029348
GM
37842012-02-20 Glenn Morris <rgm@gnu.org>
3785
3786 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3787
ab1ce9d7
LL
37882012-02-20 Leo Liu <sdl.web@gmail.com>
3789
3790 * icomplete.el (icomplete-completions): Check FROM arg before
3791 passing to substring (Bug#10850).
3792
0fd40f89
CY
37932012-02-19 Chong Yidong <cyd@gnu.org>
3794
3795 * comint.el: Require ansi-color.
3796 (comint-output-filter-functions): Add ansi-color-process-output.
3797
3798 * ansi-color.el: Don't set comint-output-filter-functions; it is
3799 now in the initial value defined in comint.el.
3800 (ansi-color-apply-face-function): New variable.
3801 (ansi-color-apply-on-region): Use it.
3802 (ansi-color-apply-overlay-face): New function.
3803
3804 * shell.el (shell): No need to require ansi-color.
3805 (shell-mode): Use ansi-color-apply-face-function to highlight
3806 color escapes using font-lock-face property (Bug#10835).
3807
20af2394
CY
38082012-02-19 Chong Yidong <cyd@gnu.org>
3809
3810 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3811 mode-line formats (Bug#10839).
3812
e23a3fbe
GM
38132012-02-18 Glenn Morris <rgm@gnu.org>
3814
b474519e
GM
3815 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3816
3817 * mail/undigest.el (unforward-rmail-message): Doc fix.
3818
e23a3fbe
GM
3819 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3820
57939ff4
EZ
38212012-02-18 Eli Zaretskii <eliz@gnu.org>
3822
3823 * international/characters.el (script-list): Sync with the latest
3824 Unicode Character Database.
3825
0c23686e
AS
38262012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3827
3828 * international/titdic-cnv.el: Remove duplicate coding tag.
3829 * language/cham.el: Likewise.
3830 * language/tai-viet.el: Likewise.
3831
6818b449
GM
38322012-02-18 Glenn Morris <rgm@gnu.org>
3833
3834 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3835 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3836 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3837 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3838 * calendar/holidays.el (holiday-bahai-holidays)
3839 (calendar-holidays, list-holidays):
3840 Use utf-8 Bahá'í in doc-strings, menus, etc.
3841
0311a3fc
TH
38422012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3843
3844 * saveplace.el (save-place-ignore-files-regexp): New variable
3845 allowing for excluding files from saving their location of point.
3846 The default value matches the temporary commit message editing
3847 files from Git, SVN, Bazaar, and Mercurial.
3848 (save-place-to-alist): Use it.
3849
eb864a71
LM
38502012-02-17 Lawrence Mitchell <wence@gmx.li>
3851 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * newcomment.el (uncomment-region-default): Don't leave extra space
3854 when an arg is provided (bug#8150).
3855
ee0ce425
TZ
38562012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3857
eb864a71 3858 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 3859
95ddf442
GM
38602012-02-17 Glenn Morris <rgm@gnu.org>
3861
3862 * net/socks.el: Require network-stream. (Bug#10599)
3863
48dd1e39 38642012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
3865
3866 * international/charprop.el:
3867 * international/uni-name.el:
3868 * international/uni-old-name.el:
3869 * international/uni-comment.el: Regenerate.
3870
d68cd087
GM
38712012-02-16 Glenn Morris <rgm@gnu.org>
3872
3873 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3874 Interactively in calendar buffer, give an error if not on a date.
3875
13932042
GM
38762012-02-15 Glenn Morris <rgm@gnu.org>
3877
3878 * shell.el (shell-delimiter-argument-list):
3879 Revert 2011-02-17 change. (Bug#8027)
3880
c3a70e2b
CY
38812012-02-15 Chong Yidong <cyd@gnu.org>
3882
60236b0d
CY
3883 * minibuffer.el (completion-at-point-functions): Doc fix.
3884
c3a70e2b
CY
3885 * custom.el (defcustom): Doc fix; note use of defvar.
3886
9f26dc24
GM
38872012-02-15 Glenn Morris <rgm@gnu.org>
3888
3889 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3890 Doc fixes.
3891
6546b134
GM
38922012-02-14 Glenn Morris <rgm@gnu.org>
3893
3894 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3895
d29b2b4c
LI
38962012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3897
3898 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3899 way the ports list is computed.
835bdcba
LI
3900 (smtpmail-query-smtp-server): Prompt the user for a port number if
3901 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 3902
08dcdbc9
TZ
39032012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3904
3905 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3906
2605051a
GM
39072012-02-13 Glenn Morris <rgm@gnu.org>
3908
3909 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3910
7ee99f32
TZ
39112012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3912
3913 * net/gnutls.el (gnutls-trustfiles): New variable.
3914 (gnutls-negotiate): Use it.
3915
5f0af64f
LI
39162012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3917
3918 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3919 does its stuff if Gnus is running.
3920
c14fcc95
AM
39212012-02-13 Alan Mackenzie <acm@muc.de>
3922
3923 Fix a loop in c-set-fl-decl-start.
3924
7a71b18d 3925 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
3926 c-backward-syntactic-ws actually moves backwards.
3927
142b4d90
LL
39282012-02-13 Leo Liu <sdl.web@gmail.com>
3929
3930 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3931 beginning so that all \C-o chars are removed.
3932
fa9958a6
TZ
39332012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3934
dc9924b8 3935 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 3936
0bc5886a
AM
39372012-02-12 Alan Mackenzie <acm@muc.de>
3938
3939 Fix infinite loop with long macros.
4d6769e1 3940 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 3941
d4bd55e7
CY
39422012-02-12 Chong Yidong <cyd@gnu.org>
3943
3944 * window.el (display-buffer): Doc fix (Bug#10785).
3945
66f3fe22
GM
39462012-02-12 Glenn Morris <rgm@gnu.org>
3947
bd7da63e
GM
3948 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3949 (x-disown-selection-internal, x-get-selection-internal):
3950 Sync docs with the xselect.c versions.
3951
66f3fe22
GM
3952 * allout-widgets.el: Add missing license notice.
3953
3e0d2fa7
GM
39542012-02-11 Glenn Morris <rgm@gnu.org>
3955
cfecdf09
GM
3956 * select.el (x-get-selection-internal, x-own-selection-internal)
3957 (x-disown-selection-internal):
3958 * x-dnd.el (x-get-selection-internal): Update declarations.
3959
6d216d7f
GM
3960 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3961
2bed3f04
GM
3962 * window.el (window-sides-slots):
3963 * tool-bar.el (tool-bar-position):
3964 * term/xterm.el (xterm-extra-capabilities):
3965 * ses.el (ses-self-reference-early-detection):
3966 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3967 (verilog-auto-wire-type)
3968 (verilog-auto-delete-trailing-whitespace)
3969 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3970 (verilog-auto-tieoff-declaration):
3971 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3972 (sql-oracle-statement-starters, sql-oracle-scan-on):
3973 * progmodes/prolog.el (prolog-align-comments-flag)
3974 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3975 (prolog-left-indent-regexp, prolog-paren-indent-p)
3976 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3977 (prolog-types, prolog-mode-specificators)
3978 (prolog-determinism-specificators, prolog-directives)
3979 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3980 (prolog-electric-dot-flag)
3981 (prolog-electric-dot-full-predicate-template)
3982 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3983 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3984 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3985 (prolog-program-switches, prolog-prompt-regexp)
3986 (prolog-debug-on-string, prolog-debug-off-string)
3987 (prolog-trace-on-string, prolog-trace-off-string)
3988 (prolog-zip-on-string, prolog-zip-off-string)
3989 (prolog-use-standard-consult-compile-method-flag)
3990 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3991 (prolog-imenu-max-lines, prolog-info-predicate-index)
3992 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3993 (prolog-char-quote-workaround):
3994 * progmodes/cc-vars.el (c-defun-tactic):
3995 * net/tramp.el (tramp-encoding-command-interactive)
3996 (tramp-local-end-of-line):
3997 * net/soap-client.el (soap-client):
3998 * net/netrc.el (netrc-file):
3999 * net/gnutls.el (gnutls):
4000 * minibuffer.el (completion-category-overrides)
4001 (completion-cycle-threshold)
4002 (completion-pcm-complete-word-inserts-delimiters):
4003 * man.el (Man-name-local-regexp):
4004 * mail/feedmail.el (feedmail-display-full-frame):
4005 * international/characters.el (glyphless-char-display-control):
4006 * eshell/em-ls.el (eshell-ls-date-format):
4007 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4008 (lisp-lambda-list-keyword-parameter-indentation)
4009 (lisp-lambda-list-keyword-parameter-alignment):
4010 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4011 * dired-x.el (dired-omit-verbose):
4012 * cus-theme.el (custom-theme-allow-multiple-selections):
4013 * calc/calc.el (calc-highlight-selections-with-faces)
4014 (calc-lu-field-reference, calc-lu-power-reference)
4015 (calc-note-threshold):
4016 * battery.el (battery-mode-line-limit):
4017 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4018 (archive-7z-update):
4019 * allout.el (allout-prefixed-keybindings)
4020 (allout-unprefixed-keybindings)
4021 (allout-inhibit-auto-fill-on-headline)
4022 (allout-flattened-numbering-abbreviation):
4023 * allout-widgets.el (allout-widgets-auto-activation)
4024 (allout-widgets-icons-dark-subdir)
4025 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4026 (allout-widgets-theme-dark-background)
4027 (allout-widgets-theme-light-background)
4028 (allout-widgets-item-image-properties-emacs)
4029 (allout-widgets-item-image-properties-xemacs)
4030 (allout-widgets-run-unit-tests-on-load)
4031 (allout-widgets-time-decoration-activity)
4032 (allout-widgets-hook-error-post-time)
4033 (allout-widgets-track-decoration):
4034 Add missing :version tags to new defcustoms and defgroups.
4035
5fec1b8e
GM
4036 * progmodes/sql.el (sql-ansi-statement-starters)
4037 (sql-oracle-statement-starters): Add custom type.
4038
3e0d2fa7
GM
4039 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4040 (prolog-system-version): Give it a type.
4041
90b671e2
EZ
40422012-02-11 Eli Zaretskii <eliz@gnu.org>
4043
4044 * term/pc-win.el (x-select-text, x-selection-owner-p)
4045 (x-own-selection-internal, x-disown-selection-internal)
4046 (x-get-selection-internal): Sync doc strings and argument lists
4047 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4048
5eac0c02
LL
40492012-02-11 Leo Liu <sdl.web@gmail.com>
4050
4051 * progmodes/python.el (python-end-of-statement): Fix infinite
4052 loop. (Bug#10788)
4053
f82cb659
GM
40542012-02-10 Glenn Morris <rgm@gnu.org>
4055
4056 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4057 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4058
cc26d239
LI
40592012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4060
4061 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4062 about SMTP before checking the From header.
4063
91027d08 4064 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4065 into own function for reuse by emacsbug.el.
4066
1be3ca5a
LL
40672012-02-10 Leo Liu <sdl.web@gmail.com>
4068
4069 * subr.el (condition-case-unless-debug): Rename from
4070 condition-case-no-debug. All callers changed.
4071 (with-demoted-errors): Fix caller.
4072
4073 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4074 * nxml/rng-valid.el (rng-do-some-validation):
4075 * emacs-lisp/package.el (package-refresh-contents)
4076 (package-menu-execute):
4077 * desktop.el (desktop-create-buffer):
91027d08 4078 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4079
b011fbfe
GM
40802012-02-10 Glenn Morris <rgm@gnu.org>
4081
b2096d72
GM
4082 * textmodes/bibtex.el:
4083 Add missing :version tags for new/changed defcustoms.
4084
b011fbfe
GM
4085 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4086
4c7e65bf
LI
40872012-02-09 Lars Ingebrigtsen <larsi@rusty>
4088
4089 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4090 (smtpmail-via-smtp): Use it, or fall back on the From address.
4091 (smtpmail-send-it): Ditto.
4092
f3934f6f
SM
40932012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4096 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4097 (byte-compile-tmp-var): New const.
4098 (byte-compile-defvar): Use it to minimize .elc size.
4099 Just use `defvar' rather than simulate it (bug#10761).
4100
a075a2c5
GM
41012012-02-09 Glenn Morris <rgm@gnu.org>
4102
cf3aa21b
GM
4103 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4104
354998cd
GM
4105 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4106 Add :version tags.
4107
dc9924b8
SM
4108 * progmodes/compile.el (compilation-error-screen-columns)
4109 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4110
dab3703d
GM
4111 * vc/log-view.el (log-view-toggle-entry-display):
4112 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4113
3f88cd72
GM
4114 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4115 (report-emacs-bug-can-use-xdg-email):
4116 (report-emacs-bug-insert-to-mailer): Doc fixes.
4117 (report-emacs-bug): Message fix.
4118
d95b247d
GM
4119 * net/browse-url.el (browse-url-can-use-xdg-open)
4120 (browse-url-xdg-open): Doc fixes.
4121
a075a2c5
GM
4122 * electric.el (electric-indent-mode, electric-pair-mode)
4123 (electric-layout-rules, electric-layout-mode): Doc fixes.
4124 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4125
ffb6157e
MR
41262012-02-08 Martin Rudalics <rudalics@gmx.at>
4127
4128 * server.el (server-unselect-display): Don't inadvertently kill
4129 the current buffer. (Bug#10729)
4130
e1ac4066
GM
41312012-02-08 Glenn Morris <rgm@gnu.org>
4132
34e8a2da
GM
4133 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4134 (sql-list-table): Doc fixes.
4135
b4ac6e8c
GM
4136 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4137 Comment out (does nothing).
4138
e1ac4066
GM
4139 * completion.el (dynamic-completion-mode):
4140 * dirtrack.el (dirtrack-debug-mode):
4141 * electric.el (electric-layout-mode):
4142 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4143 * face-remap.el (text-scale-mode, buffer-face-mode):
4144 * iimage.el (iimage-mode):
4145 * image-mode.el (image-transform-mode):
4146 * minibuffer.el (completion-in-region-mode):
4147 * scroll-lock.el (scroll-lock-mode):
4148 * simple.el (next-error-follow-minor-mode):
4149 * tar-mode.el (tar-subfile-mode):
4150 * tooltip.el (tooltip-mode):
4151 * vcursor.el (vcursor-use-vcursor-map):
4152 * wid-browse.el (widget-minor-mode):
4153 * emulation/tpu-edt.el (tpu-edt-mode):
4154 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4155 * international/iso-ascii.el (iso-ascii-mode):
4156 * language/thai-util.el (thai-word-mode):
4157 * mail/supercite.el (sc-minor-mode):
4158 * net/goto-addr.el (goto-address-mode):
4159 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4160 * progmodes/cwarn.el (cwarn-mode):
4161 * progmodes/flymake.el (flymake-mode):
4162 * progmodes/glasses.el (glasses-mode):
4163 * progmodes/hideshow.el (hs-minor-mode):
4164 * progmodes/pascal.el (pascal-outline-mode):
4165 * textmodes/enriched.el (enriched-mode):
4166 * vc/smerge-mode.el (smerge-mode):
4167 Doc fixes (minor mode argument).
4168
5e0d957f
EZ
41692012-02-07 Eli Zaretskii <eliz@gnu.org>
4170
4171 * ls-lisp.el (ls-lisp-sanitize): New function.
4172 (ls-lisp-insert-directory): Use it to fix or remove any elements
4173 in file-alist with missing attributes. (Bug#4673)
4174
98d7371e
AM
41752012-02-07 Alan Mackenzie <acm@muc.de>
4176
4177 Fix spurious recognition of c-in-knr-argdecl.
4178
4179 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4180 putative K&R region.
4181
667ced3a
AM
41822012-02-07 Alan Mackenzie <acm@muc.de>
4183
eb864a71
LM
4184 * progmodes/cc-engine.el (c-forward-objc-directive):
4185 Prevent looping in "#pragma mark @implementation".
667ced3a 4186
5b77774d
MA
41872012-02-07 Michael Albinus <michael.albinus@gmx.de>
4188
4189 * notifications.el (notifications-on-closed-signal): Make `reason'
4190 optional. (Bug#10744)
4191
af008560
GM
41922012-02-07 Glenn Morris <rgm@gnu.org>
4193
60d47423
GM
4194 * emacs-lisp/easy-mmode.el (define-minor-mode):
4195 Doc fixes for the macro and the mode it defines.
4196
dd605cc4
GM
4197 * image.el (imagemagick-types-inhibit): Doc fix.
4198
af008560
GM
4199 * cus-start.el (imagemagick-render-type): Add it.
4200
5cc59a37
LI
42012012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4202
4d6769e1
JB
4203 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4204 Set the default at load time, too, so that `font-lock-fontify-buffer'
4205 can be called without setting up the entire mode first. This fixes
4206 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4207
9a6dd747
CY
42082012-02-06 Chong Yidong <cyd@gnu.org>
4209
2d16b285
CY
4210 * simple.el (list-processes--refresh): Delete exited processes
4211 (Bug#8094).
4212
171e9b6e
CY
4213 * comint.el (comint-next-prompt): next-single-char-property-change
4214 and prev-single-char-property-change never return nil (Bug#8657).
4215
9a6dd747
CY
4216 * custom.el (defcustom): Doc fix (Bug#9711).
4217
aa4589a7
CY
42182012-02-05 Chong Yidong <cyd@gnu.org>
4219
5c2a252f
CY
4220 * cus-edit.el (custom-variable-reset-backup): Quote the value
4221 before storing it in the customized-value property (Bug#6712).
4aab9006 4222 (custom-display): Add a customization type tag.
983b9602 4223 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4224
aa4589a7
CY
4225 * wid-edit.el (widget-field-value-get): New optional arg to
4226 suppress trailing whitespace truncation.
4227 (character): Use it (Bug#2689).
4228
1ff980ae
AS
42292012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4230
4231 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4232 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4233
03988c98
CY
42342012-02-05 Chong Yidong <cyd@gnu.org>
4235
eeb6cc88
CY
4236 * cus-edit.el (custom-variable-value-create): For mismatched
4237 types, show the current value (Bug#7600).
4238
03988c98
CY
4239 * custom.el (defcustom): Doc fix.
4240
f8cdeef0
GM
42412012-02-05 Glenn Morris <rgm@gnu.org>
4242
4243 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4244
0696d255
JB
42452012-02-05 Juanma Barranquero <lekktu@gmail.com>
4246
4247 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4248 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4249 (pp-last-sexp): Use `looking-at-p'.
4250
34c99998
GM
42512012-02-04 Glenn Morris <rgm@gnu.org>
4252
8f05da42
GM
4253 * files.el (revert-buffer):
4254 Doc fix (mention revert-buffer-in-progress-p).
4255
f160676e
GM
4256 * emacs-lisp/ert-x.el (ert-simulate-command):
4257 Check deferred-action-list (which is obsolete) is bound.
4258
c7291ad9
GM
4259 * subr.el (with-wrapper-hook): Doc fixes.
4260
34c99998
GM
4261 * simple.el (filter-buffer-substring-functions)
4262 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4263
6283a7d3
LL
42642012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4265
4266 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4267 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4268
e96e3013
LL
42692012-02-04 Leo Liu <sdl.web@gmail.com>
4270
4271 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4272
8ded50f2
GM
42732012-02-04 Glenn Morris <rgm@gnu.org>
4274
82ff1d13
GM
4275 * image.el (image-extension-data): Add obsolete alias.
4276
987a0a16
GM
4277 * isearch.el (isearch-update): Doc fix.
4278
ea32ef46
GM
4279 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4280
8ded50f2
GM
4281 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4282
eea14f31
GM
42832012-02-03 Glenn Morris <rgm@gnu.org>
4284
4285 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4286 (image-animate-timeout): Doc fix.
4287
4288 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4289
12f381b7
GM
42902012-02-02 Glenn Morris <rgm@gnu.org>
4291
953cebf5
GM
4292 * server.el (server-auth-dir): Doc fix.
4293 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4294
12f381b7
GM
4295 * subr.el (run-mode-hooks): Doc fix.
4296
953a8c3b
JL
42972012-02-02 Juri Linkov <juri@jurta.org>
4298
4299 * image-mode.el (image-toggle-display-image): Remove tautological
4300 `major-mode' from the `derived-mode-p' test.
4301
c5d3843c
KH
43022012-02-02 Kenichi Handa <handa@m17n.org>
4303
9f6e692e 4304 * composite.el (compose-region): Cancel previous change.
c5d3843c 4305
159462d4 43062012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4307
4308 * composite.el (compose-region, compose-string): Signal error for
4309 a null string component (Bug#6988).
4310
9f562668
CY
43112012-02-01 Chong Yidong <cyd@gnu.org>
4312
e2cef717
CY
4313 * view.el (view-buffer-other-window, view-buffer-other-frame):
4314 Handle special modes like view-buffer (Bug#10650).
4315 (view-buffer): Simplify.
4316
9f562668
CY
4317 * frame.el (set-frame-font): Tweak meaning of third argument.
4318
9f6e692e
JB
4319 * dynamic-setting.el (font-setting-change-default-font):
4320 Use set-frame-font (Bug#9982).
9f562668 4321
781acb9f
GM
43222012-02-01 Glenn Morris <rgm@gnu.org>
4323
6035be52
GM
4324 * progmodes/compile.el (compilation-internal-error-properties):
4325 Respect compilation-first-column in the "*compilation*" buffer.
4326
781acb9f
GM
4327 * emacs-lisp/easy-mmode.el (define-minor-mode):
4328 Relax :variable's test for a named function.
4329
abbceb00
AM
43302012-01-31 Alan Mackenzie <acm@muc.de>
4331
4332 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4333 off by one error.
4334
fce3fdeb
CY
43352012-01-31 Chong Yidong <cyd@gnu.org>
4336
4337 * frame.el (set-frame-font): New arg ALL-FRAMES.
4338
4339 * menu-bar.el (menu-set-font): Use set-frame-font.
4340
4341 * faces.el (face-spec-reset-face): Don't apply unspecified
4342 attribute values to the default face.
4343
47893581
JB
43442012-01-31 Juanma Barranquero <lekktu@gmail.com>
4345
4346 * progmodes/cwarn.el (cwarn): Remove dead link.
4347 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4348 Remove * from defcustom docstrings.
4349 (turn-on-cwarn-mode): Make obsolete.
4350 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4351 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4352
e58e988a
GM
43532012-01-31 Glenn Morris <rgm@gnu.org>
4354
60dc2671 4355 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4356 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4357 Allow named functions to be used as the cdr of :variable.
e58e988a 4358
7a3f511d
GM
43592012-01-30 Glenn Morris <rgm@gnu.org>
4360
4361 * emacs-lisp/authors.el (authors-fixed-entries):
4362 Remove reference to deleted file rnewspost.el.
4363
cb882333
JB
43642012-01-29 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * window.el (window-with-parameter): Remove unused variable `windows'.
4367 (window--side-check): Remove unused variable `code'.
4368 (window--resize-siblings): Remove unused variable `first'.
4369 (adjust-window-trailing-edge): Remove unused variable `failed'.
4370 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4371 Use `let', not `let*'.
4372 (balance-windows-2): Remove unused variable `found'.
4373 (window--state-put-2): Remove unused variable `splits'.
4374 (window-state-put): Remove unused variable `selected'.
4375 (same-window-p): Use `string-match-p'.
4376 (display-buffer-assq-regexp): Remove unused variable `value'.
4377 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4378 Mark argument ALIST as ignored.
4379 (pop-to-buffer): Remove unused variable `old-window'.
4380
907201af
EZ
43812012-01-29 Eli Zaretskii <eliz@gnu.org>
4382
4383 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4384 and .lzma compressed files.
4385
ea162670
CY
43862012-01-29 Chong Yidong <cyd@gnu.org>
4387
5b95ee8a
CY
4388 * frame.el (window-system-default-frame-alist): Doc fix.
4389
ea162670
CY
4390 * dynamic-setting.el (font-setting-change-default-font): Don't
4391 change the default face if SET-FONT argument is non-nil (Bug#9982).
4392
d6e6f4b1
SB
43932012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4394
4395 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4396
0f29fa41 43972012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4398
4399 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4400 breakpoints in files outside current directory (Bug#6098).
4401
db174434
CY
44022012-01-29 Chong Yidong <cyd@gnu.org>
4403
6b25e4e2
SE
4404 * progmodes/python.el: Require ansi-color at top-level.
4405
6df6ae42
JB
4406 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4407 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4408 (lisp-mode-abbrev-table): Add doc.
4409 (lisp-mode-variables): Don't set local-abbrev-table.
4410 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4411
e70ee681
RW
44122012-01-28 Roland Winkler <winkler@gnu.org>
4413
4414 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4415
ace88aa2
RW
44162012-01-28 Roland Winkler <winkler@gnu.org>
4417
4418 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4419 (bibtex-set-dialect): Use it. Either set global values of
4420 dialect-dependent variables or bind these variables buffer-locally
4421 (Bug#10254).
4422 (bibtex-mode): Call bibtex-set-dialect via
4423 hack-local-variables-hook.
eb864a71
LM
4424 (bibtex-dialect): Update docstring.
4425 Add safe-local-variable predicate.
ace88aa2
RW
4426 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4427 bibtex-set-dialect.
4428 (bibtex-mode-map): Define menu for each dialect.
4429 (bibtex-entry): Fix docstring.
4430
93376c5b
CY
44312012-01-28 Chong Yidong <cyd@gnu.org>
4432
4433 * eshell/esh-arg.el (eshell-quote-argument): New function.
4434
4435 * eshell/esh-ext.el (eshell-invoke-batch-file):
4436 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4437 first arg to eshell-parse-command (Bug#10523).
4438
4372494f
DA
44392012-01-28 Drew Adams <drew.adams@oracle.com>
4440
4441 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4442 `default-directory' is non-nil.
4443
4d4ec1f8
EZ
44442012-01-28 Eli Zaretskii <eliz@gnu.org>
4445
4446 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4447 line that displays system-configuration-options. (Bug#9924)
4448
7c188927
DA
44492012-01-28 Drew Adams <drew.adams@oracle.com>
4450
4451 * descr-text.el (describe-char): Show information about POS, in
4452 addition to information about the character at POS. Improve and
4453 update the doc string. Change "code point" to "code point in
4454 charset", to avoid confusion with the character's Unicode code
4455 point shown above that. (Bug#10129)
4456
e0da685a
EZ
44572012-01-28 Eli Zaretskii <eliz@gnu.org>
4458
4459 * descr-text.el (describe-char): Show the raw character, not only
4460 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4461 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4462 for the reasons.
4463
70550acf
PH
44642012-01-28 Phil Hagelberg <phil@hagelb.org>
4465
eb864a71
LM
4466 * emacs-lisp/package.el (package-install):
4467 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4468
0ce8e868
CY
44692012-01-28 Chong Yidong <cyd@gnu.org>
4470
cb882333
JB
4471 * emacs-lisp/package.el (package-maybe-load-descriptor):
4472 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4473 (package-maybe-load-descriptor): Use it.
4474 (package-download-transaction): Fully load required packages
4475 inside the loop, so that `require' calls work (Bug#10593).
4476 (package-install): No need to call package-initialize now.
4477
2e7f3bea
CY
44782012-01-28 Chong Yidong <cyd@gnu.org>
4479
6e9bad14
CY
4480 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4481
f823b8ca
CY
4482 * tooltip.el (tooltip-mode): Doc fix.
4483 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4484
2680c309
CY
4485 * frame.el (set-cursor-color): Doc fix (Bug#352).
4486
d7a9e63b
CY
4487 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4488 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4489
2e7f3bea
CY
4490 * cus-edit.el (custom-buffer-create-internal): Fix search button
4491 action (Bug#10542).
2ae01800 4492 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4493
fc4f7a23
EW
44942012-01-27 Eduard Wiebe <usenet@pusto.de>
4495
4496 * dired.el (dired-mark-files-regexp):
4497 Include any subdirectory components. (Bug#10445)
4498
7dd37071
ML
44992012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4500
4501 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4502 Handle [host]:port syntax. (Bug#10533)
4503
a268160b
AH
45042012-01-27 Alex Harsanyi <harsanyi@mac.com>
4505
4506 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4507
e43273ef
GM
45082012-01-26 Glenn Morris <rgm@gnu.org>
4509
4510 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4511 * term.el (term-raw-escape-map): Use Control-X-prefix.
4512 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4513
1edf595d
MR
45142012-01-25 Martin Rudalics <rudalics@gmx.at>
4515
4516 * window.el (window-state-get, window--state-get-1): Don't deal
4517 with fixed-sizeness of windows. Simplify code.
4518
fa8eafef
JC
45192012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4520
6df6ae42
JB
4521 * window.el (window--state-get-1, window--state-put-2):
4522 Don't save and restore the mark.
fa8eafef 4523
0b21c100
CY
45242012-01-25 Chong Yidong <cyd@gnu.org>
4525
4526 * custom.el (custom-variable-p): Doc fix.
4527
5ae1a6c8
GM
45282012-01-25 Glenn Morris <rgm@gnu.org>
4529
40047858
GM
4530 * dired.el (dired-goto-file): Handle some of the more common
4531 characters that `ls -b' escapes. (Bug#10596)
4532
5ddce96c
GM
4533 * progmodes/compile.el (compilation-next-error-function):
4534 Respect compilation-first-column in the "*compilation*" buffer.
4535 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4536
5ae1a6c8
GM
4537 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4538
b559f1a9
GM
45392012-01-24 Glenn Morris <rgm@gnu.org>
4540
4541 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4542
6725d21a
JD
45432012-01-24 Julien Danjou <julien@danjou.info>
4544
4545 * color.el (color-rgb-to-hsl): Fix value computing.
4546 (color-hue-to-rgb): New function.
4547 (color-hsl-to-rgb): New function.
4548 (color-clamp, color-saturate-hsl, color-saturate-name)
4549 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4550 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4551
70df4bbe
GM
45522012-01-24 Glenn Morris <rgm@gnu.org>
4553
4554 * vc/vc-rcs.el (vc-rcs-create-tag):
4555 * vc/vc-sccs.el (vc-sccs-create-tag):
4556 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4557
802a2ae2
ML
45582012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4559
4560 * eshell/esh-util.el (eshell-read-hosts-file):
4561 Skip comment lines. (Bug#10549)
4562
d7128bb1
ML
4563 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4564
d1a5c3b4
JB
45652012-01-23 Juanma Barranquero <lekktu@gmail.com>
4566
2724d9c7
JB
4567 * subr.el (display-delayed-warnings): Doc fix.
4568 (collapse-delayed-warnings): New function to collapse identical
4569 adjacent warnings.
4570 (delayed-warnings-hook): Add it.
d1a5c3b4 4571
a5509865
MA
45722012-01-22 Michael Albinus <michael.albinus@gmx.de>
4573
4574 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4575
4576 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4577 properties, when "login-as" is set.
4578
4579 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4580 (tramp-default-user-alist): Don't add "pscp".
4581 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4582 property "login-as", if set. (Bug#10530)
4583
cc6d5805
MA
45842012-01-21 Michael Albinus <michael.albinus@gmx.de>
4585
4586 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4587 "plink1" and "psftp". (Bug#10530)
4588
45892012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4590
4591 * international/mule-cmds.el (prefer-coding-system): Show a
4592 warning message if the default value of file-name-coding-system
4593 was not changed.
4594
f0960428
JC
45952012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4596
cb882333
JB
4597 * windmove.el (windmove-reference-loc):
4598 Fix windmove-reference-loc miscalculation.
f0960428 4599
dd6f2a63
JB
46002012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4601
4602 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4603 default unit.
4604
7b447e9b
GM
46052012-01-21 Glenn Morris <rgm@gnu.org>
4606
117a9ea1
GM
4607 * international/mule.el (auto-coding-alist): Add .tbz.
4608
7b447e9b
GM
4609 * files.el (local-enable-local-variables): Doc fix.
4610 (inhibit-local-variables-regexps): Rename from
4611 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4612 Doc fix. Add some extensions from auto-coding-alist.
4613 (inhibit-local-variables-suffixes):
4614 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4615 (inhibit-local-variables-p):
4616 New function, extracted from set-auto-mode-1.
4617 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4618 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4619 (hack-local-variables): Doc fix. Make the mode-only case
4620 respect enable-local-variables and friends.
4621 Respect inhibit-local-variables-regexps for file-locals, but
4622 not for directory-locals.
4623 (set-visited-file-name):
4624 Take account of inhibit-local-variables-regexps.
4625 Whether it applies may change as the file name is changed.
4626 * jka-cmpr-hook.el (jka-compr-install):
4627 * jka-compr.el (jka-compr-uninstall):
4628 Update for inhibit-first-line-modes-suffixes name change.
4629
dd6e3cdd
MR
46302012-01-20 Martin Rudalics <rudalics@gmx.at>
4631
4632 * help-macro.el (make-help-screen): Temporarily restore original
4633 binding for minor-mode-map-alist (Bug#10454).
4634
0d0deb38
JD
46352012-01-19 Julien Danjou <julien@danjou.info>
4636
4637 * color.el (color-name-to-rgb): Use the white color to find the max
4638 color component value and return correctly computed values.
4639 (color-name-to-rgb): Add missing float conversion for max value.
4640
34a02f46
MR
46412012-01-19 Martin Rudalics <rudalics@gmx.at>
4642
4643 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4644 special state value for window-persistent-parameters.
4645 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4646 (window--state-put-2): Reset all window parameters to nil before
4647 assigning values of persistent parameters.
4648
606c44c4
AM
46492012-01-18 Alan Mackenzie <acm@muc.de>
4650
4651 Eliminate sluggishness and hangs in fontification of "semicolon
4652 deserts".
4653
cb882333
JB
4654 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4655 Change value 10000 -> 3000.
606c44c4
AM
4656 (c-state-safe-place): Reformulate so it doesn't stack up an
4657 infinite number of wrong entries in c-state-nonlit-pos-cache.
4658 (c-determine-limit-get-base, c-determine-limit): New functions to
4659 determine backward search limits disregarding literals.
4660 (c-find-decl-spots): Amend commenting.
4661 (c-cheap-inside-bracelist-p): New function which detects "={".
4662
4663 * progmodes/cc-fonts.el
4664 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4665 backward search.
4666 (c-font-lock-declarations): Fix an occurrence of point being
4667 undefined. Check additionally for point being in a bracelist or
4668 near a macro invocation without a semicolon so as to avoid a
4669 fruitless time consuming search for a declarator. Give a more
4670 precise search limit for declarators using the new
4671 c-determine-limit.
4672
f3860cea
GM
46732012-01-18 Glenn Morris <rgm@gnu.org>
4674
4675 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4676 (set-auto-mode): Doc fixes.
4677
1db03b16
GM
46782012-01-17 Glenn Morris <rgm@gnu.org>
4679
0e6038be
GM
4680 * isearch.el (search-nonincremental-instead): Fix doc typo.
4681
1db03b16
GM
4682 * dired.el (dired-insert-directory): Handle newlines in directory name.
4683 (dired-build-subdir-alist): Unescape newlines in directory name.
4684
4cb0aa75
MA
46852012-01-17 Michael Albinus <michael.albinus@gmx.de>
4686
4687 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4688 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4689 (tramp-action-terminal): Use it. (Bug#10530)
4690
1d00653d
SM
46912012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4694
6a6ee00d
MR
46952012-01-16 Martin Rudalics <rudalics@gmx.at>
4696
4697 * window.el (window-state-ignored-parameters): Remove variable.
4698 (window--state-get-1): Rename argument MARKERS to IGNORE.
4699 Handle persistent window parameters. Make copy of clone-of
4700 parameter only if requested. (Bug#10348)
4701 (window--state-put-2): Install a window parameter only if it has
4702 a non-nil value or an existing parameter shall be overwritten.
4703
97912def
MA
47042012-01-15 Michael Albinus <michael.albinus@gmx.de>
4705
4706 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4707
688070a5
EZ
47082012-01-14 Eli Zaretskii <eliz@gnu.org>
4709
4710 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4711 don't pass the (nil) value of `upnode' to string-match.
4712
301afadc
CY
47132012-01-14 Chong Yidong <cyd@gnu.org>
4714
4715 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4716 Fix values recognized by the cursorBlink resource.
301afadc 4717
9e5788aa
PE
47182012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4719
4720 * epg.el (epg--make-temp-file): Avoid permission race condition
4721 when running on old Emacs versions (bug#10403).
4722
3cdb7f5a
GM
47232012-01-14 Glenn Morris <rgm@gnu.org>
4724
4725 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4726
8c82b1b4
AM
47272012-01-13 Alan Mackenzie <acm@muc.de>
4728
4729 Fix filling for when filladapt mode is enabled.
4730
4731 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4732 c-mask-paragraph, pass in `fill-paragraph' rather than
4733 `fill-region-as-paragraph'. (This is a reversion of a previous
4734 change.)
eb864a71
LM
4735 * progmodes/cc-mode.el (c-basic-common-init):
4736 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4737
e517eda4
GM
47382012-01-13 Glenn Morris <rgm@gnu.org>
4739
1498536e
GM
4740 * dired.el (dired-switches-escape-p): New function.
4741 (dired-insert-directory): Use dired-switches-escape-p.
4742 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4743
e517eda4
GM
4744 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4745
328f984d
GM
47462012-01-12 Glenn Morris <rgm@gnu.org>
4747
4748 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4749 changes in adaptive-fill-regexp. (Bug#10276)
4750
2cc769a8
AM
47512012-01-11 Alan Mackenzie <acm@muc.de>
4752
4753 Fix Emacs bug #10463 - put `widen's around the critical spots.
4754
1d00653d 4755 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4756 widen around each invocation of c-state-pp-to-literal. Remove an
4757 unused let variable.
4758
e52c37fa
GM
47592012-01-11 Glenn Morris <rgm@gnu.org>
4760
4761 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4762 Doc fix.
e52c37fa 4763
96f8741e
CY
47642012-01-10 Chong Yidong <cyd@gnu.org>
4765
1d00653d
SM
4766 * net/network-stream.el (network-stream-open-starttls):
4767 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4768 response to the capability command.
4769
b09a806e
GM
47702012-01-10 Glenn Morris <rgm@gnu.org>
4771
4772 * mail/unrmail.el (unrmail): Tweak previous change.
4773
7655cb66
CY
47742012-01-09 Chong Yidong <cyd@gnu.org>
4775
4776 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4777
9d5a8f0b
AM
47782012-01-08 Alan Mackenzie <acm@muc.de>
4779
4780 Optimise font locking in long enum definitions.
4781
4782 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4783 arm to a cond form to handle enums.
4784 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4785 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4786
9a0115ab 47872012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
4788
4789 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 4790 (Bug#10401)
6bb72cbd 4791
f186bb95
LMI
47922012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4793
29232a68
LMI
4794 * faces.el (set-face-attribute): Clarify the meaning of the nil
4795 frame (bug#10294).
4796
4e5d086d
LMI
4797 * subr.el (with-selected-frame): Mention that the selected frame
4798 is restored (bug#9980).
4799
8e66aebe
LMI
4800 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4801 (bug#9759).
4802
cd394be1 4803 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
4804 (password-read): Don't autoload unused function.
4805
adf4e762
JB
48062012-01-07 Juanma Barranquero <lekktu@gmail.com>
4807
4808 * progmodes/which-func.el (which-func-mode): Turn into a
4809 non-interactive function and mark as obsolete (bug#10428).
4810
89bd9ccd
CY
48112012-01-06 Chong Yidong <cyd@gnu.org>
4812
4813 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4814 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4815 functions, along with 1 and -1.
4816
4afee9d5
EZ
48172012-01-06 Eli Zaretskii <eliz@gnu.org>
4818
4819 * time.el (display-time-load-average)
4820 (display-time-default-load-average): Doc fixes. See the thread
4821 starting at
4822 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4823 for the details.
4824
536aea70
GM
48252012-01-06 Glenn Morris <rgm@gnu.org>
4826
665ae865
GM
4827 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4828 has no messages. (Bug#10377)
4829
c869783d
GM
4830 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4831 than Info-edit. (Bug#10385)
4832
2bb4227e
GM
4833 * time.el (display-time-load-average, display-time-next-load-average):
4834 Doc fixes.
4835
7d5944b9
GM
4836 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4837 local setting of buffer-read-only to the input buffer. (Bug#10419)
4838
536aea70
GM
4839 * calendar/calendar.el (calendar-mode):
4840 Locally set scroll-margin to 0. (Bug#10379)
4841
7dccca16
UM
48422012-01-06 Ulrich Mueller <ulm@gentoo.org>
4843
4844 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4845
afbb7930
GM
48462012-01-05 Glenn Morris <rgm@gnu.org>
4847
4848 * eshell/em-unix.el (diff-no-select): Autoload it.
4849 (eshell/diff): Use diff-no-select. (Bug#10420)
4850
04482335
CY
48512012-01-05 Chong Yidong <cyd@gnu.org>
4852
7baca3bc
CY
4853 * shell.el (shell-dynamic-complete-functions): Revert last change.
4854 (shell-command-completion-function): New function.
4855 (shell-completion-vars): Use it to implement
4856 shell-completion-execonly (Bug#10417).
4857
04482335
CY
4858 * custom.el (enable-theme): Don't set custom-safe-themes.
4859
1d00653d
SM
4860 * cus-theme.el (custom-theme-merge-theme):
4861 Ignore custom-enabled-themes and custom-safe-themes.
04482335 4862
bb5aa5d6
MM
48632012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4864
4865 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4866 first prompt in `sql-interacive-mode'.
4867 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 4868 keywords.
6df6ae42 4869 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
4870 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4871 context of original buffer. Invoke `sql-login-hook'.
4872
a7183d7c
EZ
48732012-01-04 Eli Zaretskii <eliz@gnu.org>
4874
4875 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4876 letters in cite-prefix.
4877
a1eacd1e
LMI
48782012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4879
4880 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4881
787cdb34
CY
48822012-01-03 Chong Yidong <cyd@gnu.org>
4883
1d00653d
SM
4884 * shell.el (shell-dynamic-complete-functions):
4885 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
4886 comint-filename-completion first (Bug#10417).
4887
30710442
RS
48882012-01-02 Richard Stallman <rms@gnu.org>
4889
4890 * battery.el (battery-status-function):
4891 Detect when to use battery-yeeloong-sysfs.
4892 (battery-echo-area-format): Add string for Yeeloong.
4893 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4894 (battery-yeeloong-sysfs): New function.
4895
f75bfc33
CY
48962012-01-02 Chong Yidong <cyd@gnu.org>
4897
4898 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4899 (dirtrack): Merge code for handling relative filenames in prompt
4900 from shell-dir-cookie-watcher.
4901 (dirtrack-debug-message): New arg to avoid excess format calls.
4902
4903 * shell.el (shell-dir-cookie-re): Variable deleted.
4904 (shell-dir-cookie-watcher): Function deleted.
4905 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4906 with dirtrack-mode.
4907
651e947e
EZ
49082012-01-01 Eli Zaretskii <eliz@gnu.org>
4909
1d00653d
SM
4910 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4911 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
4912 libgnutls-26.dll.
4913
94d4c7dc
AS
49142011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4915
4916 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4917
8d43f3cd
EZ
49182011-12-31 Eli Zaretskii <eliz@gnu.org>
4919
4920 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4921 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4922
98c8795a
MA
49232011-12-29 Michael Albinus <michael.albinus@gmx.de>
4924
4925 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4926 also for alternative shells.
4927 (tramp-open-connection-setup-interactive-shell): Check, whether
4928 the shell is a busybox.
4929 (tramp-send-command): Don't suppress multiple prompts for
4930 busyboxes, it hurts.
4931
51281b32
CY
49322011-12-28 Chong Yidong <cyd@gnu.org>
4933
4934 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4935 (gdb-get-source-file): Move mode line update to
4936 gdb-get-source-file (Bug#10087).
4937
2170cb53
CY
49382011-12-25 Chong Yidong <cyd@gnu.org>
4939
4940 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4941 gud-gdb-marker-filter without taking it as an argument.
4942 (gud-gdb-run-command-fetch-lines): Caller changed.
4943 (gud-gdb-completion-function): New variable.
4944 (gud-gdb-completion-at-point): Use it.
4945 (gud-gdb-completions-1): Split from gud-gdb-completions.
4946
4947 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4948 function as separate arguments.
4949 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4950 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4951 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4952 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4953 (gdb-stopped, def-gdb-auto-update-trigger)
4954 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
4955 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4956 Callers changed.
2170cb53
CY
4957 (gud-gdbmi-completions): New function.
4958 (gdb): Use it for generating the completion table.
4959
be8b11bb
AM
49602011-12-24 Alan Mackenzie <acm@muc.de>
4961
4962 Introduce a mechanism to widen the region used in context font
1d00653d 4963 locking. Use this to protect declarations from losing their contexts.
be8b11bb 4964
1d00653d
SM
4965 * progmodes/cc-langs.el (c-before-font-lock-functions):
4966 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 4967 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
4968 functions to be run just before context (etc.) font locking.
4969
4970 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 4971 New, functionality extracted from
be8b11bb 4972 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 4973 (c-in-after-change-fontification): New variable.
be8b11bb
AM
4974 (c-after-change): Set c-in-after-change-fontification.
4975 (c-set-fl-decl-start): Rejig its interface, so it can be called
4976 from both after-change and context fontifying.
b81d40f0
JB
4977 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4978 New functions.
4979 (c-standard-font-lock-fontify-region-function): New variable.
4980 (c-font-lock-fontify-region): New function.
be8b11bb 4981
341cf6ac
JL
49822011-12-24 Juri Linkov <juri@jurta.org>
4983
4984 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4985 (Bug#10348)
4986
bffcee0a
MA
49872011-12-23 Michael Albinus <michael.albinus@gmx.de>
4988
4989 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4990 existence of source file. (Bug#10325)
4991
cb5e207c
AM
49922011-12-23 Alan Mackenzie <acm@muc.de>
4993
4994 Fix unstable fontification inside templates.
4995
b81d40f0
JB
4996 * progmodes/cc-langs.el (c-before-font-lock-functions):
4997 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
4998 additionally has c-set-fl-decl-start. The other languages (apart
4999 from AWK) have that as a single entry.
5000
b81d40f0
JB
5001 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5002 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5003 c-set-fl-decl-start.
5004
b81d40f0
JB
5005 * progmodes/cc-mode.el (c-common-init, c-after-change):
5006 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5007 (c-set-fl-decl-start): New function, extracted from
5008 c-font-lock-enclosing-decls and enhanced.
5009
60ff536c
JB
50102011-12-23 Juanma Barranquero <lekktu@gmail.com>
5011
5012 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5013
1c4757d6
JL
50142011-12-22 Juri Linkov <juri@jurta.org>
5015
5016 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5017
d031f2c7
CY
50182011-12-22 Chong Yidong <cyd@gnu.org>
5019
5020 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5021
bace743a
DA
50222011-12-21 Drew Adams <drew.adams@oracle.com>
5023
5024 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5025
728a1f2b
JC
50262011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5027
5028 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5029
0d373f73
TZ
50302011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5031
fec0aaa4
TZ
5032 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5033 highlighting and support. Fix up comments for capitalization.
5034 (cfengine-mode-debug): New var.
5035 (cfengine3-mode): Change the modeline indicator to "CFE3".
5036 (cfengine3-font-lock-keywords): Improve defun highlighting.
5037 (cfengine2-actions): Rename from `cfengine-actions'.
5038 (cfengine2-font-lock-keywords): Rename from
5039 `cfengine-font-lock-keywords'.
5040 (cfengine2-imenu-expression): Rename from
5041 `cfengine-imenu-expression'.
5042 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5043 (cfengine2-beginning-of-defun): Rename from
5044 `cfengine-beginning-of-defun'.
5045 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5046 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5047 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5048 modeline indicator to "CFE2".
5049 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5050 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5051
bc86f573
CY
50522011-12-21 Chong Yidong <cyd@gnu.org>
5053
5054 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5055 filename argument.
5056
d45ba96b
MR
50572011-12-20 Martin Rudalics <rudalics@gmx.at>
5058
5059 * window.el (window-normalize-buffer-to-display): Remove.
5060 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5061
a6198c90
CY
50622011-12-19 Chong Yidong <cyd@gnu.org>
5063
5064 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5065 Don't signal an error in a predicate function; return non-nil.
5066 (vc-dir-mark-file): Move the error here.
5067 (vc-dir-mark-unmark): If acting on the region, keep going if one
5068 of the entries cannot be marked/unmarked.
5069 (vc-dir-mark-all-files): If current entry is a directory, mark
5070 only child files, as documented.
5071
34c5fb55
VB
50722011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5073
5074 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5075 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5076 addition.
5077
c803b2b7
JD
50782011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5079
5080 * term/ns-win.el (ns-get-selection-internal)
5081 (ns-store-selection-internal): Declare.
1154d12e
JB
5082 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5083 Declare as obsolete.
5084 (ns-get-pasteboard, ns-paste-secondary):
5085 Use ns-get-selection-internal.
5086 (ns-set-pasteboard, ns-copy-including-secondary):
5087 Use ns-store-selection-internal.
c803b2b7 5088
9cff91f8 50892011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5090
5091 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5092 (vc-deduce-fileset): Doc fix.
99a289d9 5093
f16c898a
AS
50942011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5095
5096 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5097
763237c4
SS
50982011-12-13 Sam Steingold <sds@gnu.org>
5099
5100 * man.el (Man-getpage-in-background): When running under a
5101 window-system, ignore $MANWIDTH and $COLUMNS.
5102
5fc1c122
KH
51032011-12-15 Kenichi Handa <handa@m17n.org>
5104
5105 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5106 (setup-ethiopic-environment-internal): Comment out key-binding for
5107 ethio-toggle-punctuation.
5108
13d49cbb
AM
51092011-12-13 Alan Mackenzie <acm@muc.de>
5110
898169a2
AM
5111 Add the switch statement to AWK Mode.
5112
7a71b18d 5113 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5114 "default" to the keywords regexp.
5115
7a71b18d 5116 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5117 expression as the rest.
1d00653d
SM
5118 (c-nonlabel-token-key): Allow string literals for AWK.
5119 Refactor for the other modes.
898169a2 5120
13d49cbb 5121 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5122 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5123 routines. Limit backward searching in c-font-lock-enclosing.decl.
5124
5125 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5126 pp-state and literal type in addition to the limits.
1d00653d 5127 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5128 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5129 (c-slow-in-literal, c-fast-in-literal): Remove.
5130 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5131
5132 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5133 being in a literal. Add a limit for backward searching.
5134
5135 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5136 c-slow-in-literal.
5137
15e0efc7
SM
51382011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5141
454592a6
MR
51422011-12-13 Martin Rudalics <rudalics@gmx.at>
5143
5144 * window.el (delete-other-windows): Use correct frame in call to
5145 window-with-parameter.
5146
87393f26
DP
51472011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5148
5149 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5150 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5151 (makefile-gmake-statements, makefile-makepp-statements):
5152 Use it and add new makepp keywords.
5153 (makefile-makepp-font-lock-keywords): Add new patterns.
5154 (makefile-match-function-end): Match new [...] and [[...]].
5155
11636b22
JB
51562011-12-11 Juanma Barranquero <lekktu@gmail.com>
5157
5158 * ses.el (ses-call-printer-return, ses-cell-property-get)
5159 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5160 (ses-create-cell-variable, ses-reset-header-string)
5161 (ses-cell-set-formula, ses-repair-cell-reference-all)
5162 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5163 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5164 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5165 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5166 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5167 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5168 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5169 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5170 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5171 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5172 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5173 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5174
cf018193
VB
51752011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5176
5177 * ses.el: The overall change is to add cell renaming, that is
5178 setting fancy names for cell symbols other than name matching
5179 "\\`[A-Z]+[0-9]+\\'" regexp .
5180 (ses-create-cell-variable): New defun.
5181 (ses-relocate-formula): Relocate formulas only for cells the
5182 symbols of which are not renamed, i.e. symbols whose names do not
5183 match regexp "\\`[A-Z]+[0-9]+\\'".
5184 (ses-relocate-all): Relocate values only for cells the symbols of
5185 which are not renamed.
5186 (ses-load): Create cells variables as the (ses-cell ...) are read,
5187 in order to check row col consistency with cell symbol name only
5188 for cells that are not renamed.
5189 (ses-replace-name-in-formula): New defun.
5190 (ses-rename-cell): New defun.
5191
ee957461
CY
51922011-12-11 Chong Yidong <cyd@gnu.org>
5193
5194 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5195 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5196
9a9e9ef0
MR
51972011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5198
5199 * window.el (other-window): Fix docstring.
5200
92a8eba5
EZ
52012011-12-10 Eli Zaretskii <eliz@gnu.org>
5202
5203 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5204 `from' or `to' address before taking its substring.
5205 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5206 encoded name is chopped in the middle of the encoded string, and
5207 thus displayed encoded.
5208
e152e577
JB
52092011-12-10 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5212
e5d84bfe
EZ
52132011-12-10 Eli Zaretskii <eliz@gnu.org>
5214
5215 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5216 to use texinfo-update-node and commands that call it if the
5217 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5218 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5219 (texinfo-all-menus-update, texinfo-master-menu)
5220 (texinfo-update-node, texinfo-every-node-update)
5221 (texinfo-multiple-files-update): Doc fix. Warn against updating
5222 all the @node lines.
5223 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5224 argument is numeric. Explain better in the doc string what the
5225 function really does.
5226 (texinfo-insert-master-menu-list): Improve the error message
5227 displayed if there's no menu in the Top node.
5228 (Bug#2975) See also this thread:
e5d84bfe
EZ
5229 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5230
1d84e9bb
MG
52312011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5232
5233 * speedbar.el (speedbar-supported-extension-expressions):
5234 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5235
382c953b
JB
52362011-12-09 Juanma Barranquero <lekktu@gmail.com>
5237
5238 * printing.el (pr-mode-alist):
5239 * simple.el (filter-buffer-substring-functions)
5240 (completion-list-insert-choice-function):
5241 * window.el (window-with-parameter, window-atom-root)
5242 (window-sides-slots, window-size-fixed, window-min-delta)
5243 (window-max-delta, window--resize-mini-window)
5244 (window--resize-child-windows-normal, window-tree)
5245 (delete-other-windows, quit-window, split-window)
5246 (display-buffer-record-window, special-display-buffer-names)
5247 (special-display-regexps, special-display-popup-frame)
5248 (same-window-p, split-window-sensibly)
5249 (display-buffer-overriding-action, display-buffer-alist)
5250 (display-buffer-base-action, display-buffer, switch-to-buffer)
5251 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5252 (fit-window-to-buffer, recenter-positions)
5253 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5254 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5255 and remove unneeded backslashes in docstrings.
5256
39c9faef
SM
52572011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5258
98449af8
SM
5259 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5260
39c9faef
SM
5261 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5262 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5263 end in ".mk".
5264 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5265 when reading the makefile (bug#10116).
5266
86ed9fdc
SM
52672011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5270 (bug#10116).
5271
5580f89d
GM
52722011-12-06 Glenn Morris <rgm@gnu.org>
5273
5274 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5275
28d3917c
CY
52762011-12-06 Chong Yidong <cyd@gnu.org>
5277
5278 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5279
a98edce9
JB
52802011-12-06 Juanma Barranquero <lekktu@gmail.com>
5281
5282 * textmodes/table.el (table-shorten-cell): Fix typo.
5283
e65adfac
CG
52842011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5285
5286 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5287
71cc0b74
EZ
52882011-12-05 Eli Zaretskii <eliz@gnu.org>
5289
5290 * descr-text.el (describe-char): Fix display of strong
5291 right-to-left characters and directional embeddings and overrides.
5292
5293 * simple.el (what-cursor-position): Fix display of codepoints of
5294 strong right-to-left characters.
5295
315bc30d
CY
52962011-12-05 Chong Yidong <cyd@gnu.org>
5297
5298 * faces.el (read-color): Doc fix.
5299
58a70b94
GM
53002011-12-05 Glenn Morris <rgm@gnu.org>
5301
5302 * align.el (align--set-marker): Add doc-string.
5303 Don't try to move something that is not a marker. (Bug#10216)
5304
5158face
GM
53052011-12-04 Glenn Morris <rgm@gnu.org>
5306
5307 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5308 overly zealous deletion of trailing whitespace.
5309
520fca41
JB
53102011-12-04 Juanma Barranquero <lekktu@gmail.com>
5311
5312 * server.el (server-delete-client): On Windows, do not try to delete
5313 the only terminal.
5314 (server-process-filter): On Windows, treat requests for a tty frame as
5315 if they were for a GUI frame if the running server is in GUI mode.
5316
5e605a2e
GM
53172011-12-03 Glenn Morris <rgm@gnu.org>
5318
5319 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5320
5c3fe83f
SM
53212011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5322
6f5e57e7
SM
5323 * electric.el: Streamline electric-indent's hook.
5324 (electric-indent-chars): Revert to simple list.
5325 (electric-indent-functions): New var.
5326 (electric-indent-post-self-insert-function): Use it.
5327
5c3fe83f
SM
5328 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5329 there's no inferior buffer (bug#10196).
5330 (prolog-consult-compile): Don't use toggle-read-only.
5331
6bdac736
MA
53322011-12-02 Michael Albinus <michael.albinus@gmx.de>
5333
5334 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5335 interrupt. (Bug#10187)
5336
6131ba7f
SM
53372011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5338
99c79fee
SM
5339 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5340 (bug#9160).
5341
6131ba7f
SM
5342 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5343 (bug#10191).
5344
cb0a02ea
JL
53452011-12-02 Juri Linkov <juri@jurta.org>
5346
5347 * info.el (Info-search): Display "end of manual" when Isearch
5348 reaches the end of single-file Info manual. (Bug#9918)
5349
66e0570c
EZ
53502011-12-02 Eli Zaretskii <eliz@gnu.org>
5351
5352 * isearch.el (isearch-message-prefix): Run the input method part
5353 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5354
02b16839
JL
53552011-12-02 Juri Linkov <juri@jurta.org>
5356
5357 * isearch.el (isearch-occur): Use `word-search-regexp' for
5358 `isearch-word'.
5359 (isearch-search-and-update): Add condition for `isearch-word' and
5360 call `word-search-regexp'. (Bug#10145)
5361
0b950688
GM
53622011-12-01 Glenn Morris <rgm@gnu.org>
5363
5364 * eshell/em-hist.el (eshell-hist-initialize):
5365 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5366 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5367
9505c3c7
SM
53682011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5371
1bbe96b2 53722011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5373
a1beca85
SM
5374 * progmodes/verilog-mode.el (verilog-pretty-expr):
5375 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5376 verilog, such as += *= and the like.
5377 (verilog-assignment-operator-re): Regular expression to find the
5378 assigment operator in a verilog assignment.
5379 (verilog-assignment-operation-re): Regular expression to find an
5380 assignment statement for pretty-expr.
5381 (verilog-in-attribute-p): Query returns true if point is in an
5382 attribute context; used to skip these for expression line up from
5383 pretty-expr.
5384 (verilog-in-parameter-p): Query returns true if point is in an
5385 parameter definition context; used to skip these for expression
5386 line up from pretty-expr.
5387 (verilog-in-parenthesis-p): Query returns true if point is in a
5388 parenthetical expression, specifically ( ) but not [ ] or { };
5389 used by pretty-expr.
5390 (verilog-just-one-space): If there is no space, don't add one.
5391 (verilog-get-lineup-indent-2): Specifically skip just attribute
5392 contexts for expression lineup, rather than skipping all
5393 parenthetical expressions.
5394 (verilog-calculate-indent): Fix comment, and fix indent.
5395 (verilog-do-indent): Indent declarations in lists (suggested by
5396 Joachim Lechner).
5397 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5398 skeleton items.
5399 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5400 by Alain Mellan).
5401
1bbe96b2 54022011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5403
5404 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5405 parameters with embedded comments. Reported by Ray Stevens.
5406 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5407 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5408 Reported by Tim Holt.
5409 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5410 instantiated by upper module causing wrong expansion until AUTOed a
5411 second time. Reported by K C Buckenmaier.
5412 (verilog-diff-auto): Fix showing .* as a difference when
5413 `verilog-auto-star-save' off. Reported by Dan Dever.
5414 (verilog-auto-reset, verilog-read-always-signals)
5415 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5416 temporary signals in reset list if
5417 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5418 style to each signal's assignment type, bug381.
5419 Reported by Thomas Esposito.
6288f0ca
WS
5420 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5421 (verilog-uvm-statement-re): Support UVM indentation and
5422 highlighting, with old OVM keywords only.
a1beca85 5423 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5424 Support AUTOTIEOFF creating non-wire data types.
5425 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5426 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5427 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5428 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5429 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5430 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5431 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5432 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5433 non-numeric vector width. Reported by Alex Reed.
5434 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5435 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5436 (verilog-auto-delete-trailing-whitespace):
5437 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5438 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5439 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5440 Fix verilog-scan-cache corruption when running user AUTO expansion
5441 hooks that call indentation routines.
5442 (verilog-simplify-range-expression): Fix typo ignoring lower case
5443 identifiers.
5444 (verilog-delete-auto): Fix delete-autos to also remove user created
5445 automatics, as long as they start with AUTO.
5446 (verilog-batch-diff-auto, verilog-diff-auto)
5447 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5448 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5449 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5450 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5451 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5452 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5453 is disabled and its cache will get corrupt, causing AUTOS not to
5454 expand. Instead use only -quick functions.
5455 (verilog-scan-region): Fix scanning over escaped quotes.
5456 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5457 (verilog-re-search-backward-quick)
5458 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5459 related functions now ignore strings, to fix misparsing of strings
5460 with magic comments embedded in them.
a1beca85
SM
5461 (verilog-read-auto-template):
5462 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5463 Reported by Brad Dobbie.
5464 (verilog-read-auto-template):
5465 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5466 Reported by Brad Dobbie.
6288f0ca
WS
5467 (verilog-auto-inst, verilog-auto-inst-param)
5468 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5469 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5470 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5471 debugging templates without merge conflicts, bug357.
5472 Reported by Brad Dobbie.
5473 (verilog-read-auto-template):
5474 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5475 Reported by Brad Dobbie.
5476 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5477 abbrevs so user won't be asked to save.
5478 (verilog-read-auto-lisp-present): Fix to start at beginning of
5479 buffer in case called outside of verilog-auto.
5480 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5481 to "X-2". Reported by Matthew Myers.
5482 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5483 all inputs from module templates. Reported by Leith Johnson.
5484 (verilog-module-inside-filename-p): Fix locating programs as with
5485 modules.
5486 (verilog-auto-inst-port): Fix vl-width expressions when using
5487 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5488 (verilog-decls-get-regs, verilog-decls-get-signals,
5489 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5490 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5491 verilog-read-decls): Combine reg and wire structures into one var
5492 structure to represent SystemVerilog concepts.
5493 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5494 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5495 (verilog-auto-wire-type, verilog-insert-definition):
5496 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5497 SystemVerilog "logic" keyword instead of "wire"/"reg".
5498 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5499 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5500 ifdef or generate if so there's not a driver conflict).
5501 Reported by Matthew Myers.
5502 (verilog-auto-declare-nettype, verilog-insert-definition):
5503 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5504 `default_nettype none. Reported by Julian Gorfajn.
5505 (verilog-read-always-signals-recurse, verilog-read-decls)
5506 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5507 malformed end statement, bug325. Reported by Joshua Wise and
5508 Andrew Drake.
5509 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5510 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5511 when expanding .* in interfaces, bug320.
5512 Reported by Pierre-David Pfister.
6288f0ca 5513 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5514 name and open parenthesis, bug317.
5515 Reported by Pierre-David Pfister.
6288f0ca
WS
5516 (verilog-simplify-range-expression): Fix simplification of
5517 multiplications inside AUTOWIRE connections, bug303.
5518 (verilog-auto-inst-port): Support parameter expansion in
5519 multidimensional arrays.
5520 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5521 after "assert property". Reported by Julian Gorfajn.
5522 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5523 with multiplication, bug303.
5524 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5525 Reported by Jan Frode Lonnum.
5526
1bbe96b2
GM
55272011-11-30 Juanma Barranquero <lekktu@gmail.com>
5528
5529 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5530 (hfy-shell-file-name, hfy-shell):
5531 * international/fontset.el (x-decompose-font-name): Fix typos.
5532
55332011-11-29 Ken Brown <kbrown@cornell.edu>
5534
5535 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5536 (gdb-version): Remove defvar.
5537 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5538 (gdb-gud-context-command, gdb-non-stop-handler)
5539 (gdb-current-context-command, gdb-stopped): Use it.
5540 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5541 (gdb-non-stop-handler): Don't enable pretty-printing here.
5542 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5543 non-stop mode. Use the following.
5544 (gdb-check-target-async): New defun.
5545 (gud-watch, gdb-stopped): Fix whitespace.
5546 (gdb-get-source-file): Don't try to display the source file if
5547 `gdb-main-file' is nil.
5548
55492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * align.el: Try to generate fewer markers (bug#10047).
5552 (align--set-marker): New macro.
5553 (align-region): Use it.
5554
c935221f
SM
55552011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5558
e70b5064
CY
55592011-11-29 Chong Yidong <cyd@gnu.org>
5560
5561 * indent.el (indent-for-tab-command, indent-according-to-mode):
5562 Doc fix.
5563 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5564
f3af92b7
MA
55652011-11-29 Michael Albinus <michael.albinus@gmx.de>
5566
5567 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5568 aware of remote file names. (Bug#10124)
5569
ed472be9
CY
55702011-11-29 Chong Yidong <cyd@gnu.org>
5571
5572 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5573
24510c22
SM
55742011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * files.el (find-file): Don't use force-same-window (bug#10144).
5577 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5578 use pop-to-buffer if the selected window can't be used.
5579 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5580
c60c3703
EZ
55812011-11-28 Eli Zaretskii <eliz@gnu.org>
5582
5583 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5584 special-mode-map.
5585
e95def75
CY
55862011-11-28 Chong Yidong <cyd@gnu.org>
5587
5588 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5589
c3f1c606
NR
55902011-11-27 Nick Roberts <nickrob@snap.net.nz>
5591
5592 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5593 gdb-get-source-file-list on gdb-create-source-file-list.
5594
00db469c
EZ
55952011-11-26 Eli Zaretskii <eliz@gnu.org>
5596
5597 * whitespace.el (whitespace-newline): Use a different foreground
5598 color for 16-color light-background displays.
5599
4ad3bc2a
CY
56002011-11-24 Chong Yidong <cyd@gnu.org>
5601
5602 * window.el (display-buffer--special-action): Doc fix.
5603
e9fce1ac
JB
56042011-11-25 Juanma Barranquero <lekktu@gmail.com>
5605
5606 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5607 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5608 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5609 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5610 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5611 (avl-tree-stack-first):
5612 * emacs-lisp/cconv.el (cconv--analyse-use):
5613 * net/gnutls.el (gnutls-negotiate): Fix typos.
5614
cb825e5d
GM
56152011-11-24 Glenn Morris <rgm@gnu.org>
5616
3adbe224
GM
5617 * lpr.el (lpr-windows-system, lpr-lp-system):
5618 * mail/binhex.el (binhex-begin-line):
5619 * progmodes/grep.el (grep-history, grep-find-history):
5620 * textmodes/flyspell.el:
5621 * vc/pcvs-defs.el (cvs-global-menu):
5622 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5623 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5624 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5625
321decc8
GM
5626 * net/tls.el: Fix case of "GnuTLS".
5627
420b63ad
GM
5628 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5629
cb825e5d
GM
5630 * version.el (emacs-build-system): Give it a doc-string.
5631
a0649f08
JL
56322011-11-24 Juri Linkov <juri@jurta.org>
5633
5634 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5635
c0bc0fd4
GM
56362011-11-24 Glenn Morris <rgm@gnu.org>
5637
5638 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5639 if called on a non-mime message just toggle the headers. (Bug#8006)
5640
20db1522
JB
56412011-11-24 Juanma Barranquero <lekktu@gmail.com>
5642
5643 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5644 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5645 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5646 (allout-rebullet-heading, allout-open-sibtopic)
5647 (allout-toggle-current-subtree-encryption)
5648 (allout-toggle-subtree-encryption, allout-encrypt-string)
5649 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5650 (allout-distinctive-bullets-string, allout-auto-activation):
5651 * window.el (window-normalize-buffer-to-display):
5652 * progmodes/verilog-mode.el (verilog-batch-indent):
5653 * textmodes/bibtex.el (bibtex-field-braces-opt)
5654 (bibtex-field-strings-opt):
5655 * vc/cvs-status.el (cvs-tree-merge):
5656 Fix typos.
5657
7262a87c
MA
56582011-11-23 Michael Albinus <michael.albinus@gmx.de>
5659
5660 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5661 `non-essential' to t, in order to avoid remote connections.
5662
283430a1
EZ
56632011-11-23 Eli Zaretskii <eliz@gnu.org>
5664
a1beca85
SM
5665 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5666 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5667 case-insensitively.
5668
d2992a38
ML
56692011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5670
5671 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5672
50419064
GM
56732011-11-23 Glenn Morris <rgm@gnu.org>
5674
da94eca1
GM
5675 * paths.el (rmail-file-name): Reformat the doc-string so that it
5676 is picked up.
5677
9aac4de2
GM
5678 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5679 (rmail-auto-file): Ignore case in the "special" field names,
5680 as mail-fetch-field does for all others.
5681
8038d2d2
GM
5682 * mail/rmail.el (rmail-forward):
5683 * mail/rmailkwd.el (rmail-set-label):
5684 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5685 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5686
f3fe222a
GM
5687 * mail/rmail.el (rmail-current-message): Doc fix.
5688
50419064
GM
5689 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5690
28109f49
SM
56912011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5694
394c65f1
GM
56952011-11-22 Glenn Morris <rgm@gnu.org>
5696
5697 * mail/rmailmm.el (test-rmail-mime-handler)
5698 (test-rmail-mime-bulk-handler)
5699 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5700
f2a0aa3a
JL
57012011-11-21 Juri Linkov <juri@jurta.org>
5702
1154d12e
JB
5703 * calc/calc.el (calc-read-key-sequence):
5704 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5705
9c34a344
LMI
57062011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5707
5708 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5709 Tell the caller that the next line needs recomputation, even
5710 though it doesn't start a sexp (bug#10094).
5711
f04a3be9
SM
57122011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5715
7978747f
SM
57162011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5717
f04a3be9
SM
5718 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5719 Use force-same-window.
7978747f 5720
fe7a3057
JB
57212011-11-20 Juanma Barranquero <lekktu@gmail.com>
5722
5723 * descr-text.el (describe-char-unicode-data):
5724 * json.el (json-string-escape):
5725 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5726 (Footnote-unicode, Footnote-style-p):
5727 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5728
24901d61
CY
57292011-11-20 Chong Yidong <cyd@gnu.org>
5730
5731 * window.el (replace-buffer-in-windows): Restore interactive spec.
5732
bac7ff22
SM
57332011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5734
24f3d7b9
SM
5735 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5736
bac7ff22
SM
5737 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5738 (byte-compile-global-not-obsolete-vars): New var.
5739 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5740 Use it.
5741 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5742
cd1181db
JB
57432011-11-20 Juanma Barranquero <lekktu@gmail.com>
5744
5745 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5746 * progmodes/pascal.el (electric-pascal-equal):
5747 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5748 * xml.el (xml-substitute-special): Fix typos.
5749
7fb18e9e
GM
57502011-11-20 Glenn Morris <rgm@gnu.org>
5751
5752 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5753 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5754 Doc fixes.
5755 (rmail-decode-mime-charset): Mark as obsolete.
5756
5757 * mail/rmailsum.el (rmail-message-regexp-p-1):
5758 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5759 Before using mime functions, check they are set. (Bug#10077)
5760
d5a6b3ba
JL
57612011-11-19 Juri Linkov <juri@jurta.org>
5762
5763 * info.el (Info-finder-find-node): Use `package--builtins' instead
5764 of `package-alist'. Use node names formed by the pattern "Keyword "
5765 and the keyword name.
5766
e981b61f
AS
57672011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5768
1d00653d 5769 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5770
3ffbc301
JL
57712011-11-19 Juri Linkov <juri@jurta.org>
5772
5773 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5774 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5775 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5776 `old-history', `old-history-forward'. Add let-binding
5777 `window-selected'. Remove calls to `kill-buffer',
5778 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5779 before calling `Info-find-node', so `Info-find-node-2' will reread
5780 the Info file. Restore window positions only when `window-selected'
5781 is non-nil.
5782
30c62133
JL
57832011-11-19 Juri Linkov <juri@jurta.org>
5784
5785 * isearch.el (isearch-lazy-highlight-new-loop):
5786 Remove condition `(not isearch-error)'. (Bug#9918)
5787
5788 * misearch.el (multi-isearch-search-fun): Add condition
5789 `(not bound)' to ignore lazy-highlighting search.
5790 Add the search-failed message "end of multi" when the end of
5791 multi-sequence is reached. Uncapitalize the search-failed
5792 message "Repeat for next buffer".
5793
5794 * info.el (Info-search): Add the search-failed message
5795 "end of the manual" when the end of the manual is reached
5796 in Isearch mode.
5797
645ca9cf
JL
57982011-11-19 Juri Linkov <juri@jurta.org>
5799
5800 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5801 Use non-destructive `remove' instead of `delete' because
5802 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5803 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5804
df754f66
JL
58052011-11-19 Juri Linkov <juri@jurta.org>
5806
5807 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5808 to nil instead of binding `search-ring' and `regexp-search-ring'.
5809 (Bug#9185)
5810
0e23d96a
EZ
58112011-11-19 Eli Zaretskii <eliz@gnu.org>
5812
5813 * simple.el (line-move): Force movement by logical lines for any
5814 hscrolled window, not only when auto-hscroll-mode is on.
5815 (line-move-visual): Update doc string to that effect. (Bug#10076)
5816
8a6ccb66
AS
58172011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5818
5819 * language/european.el (macintosh): Define as alias for mac-roman.
5820
49ae5b39
EZ
58212011-11-19 Eli Zaretskii <eliz@gnu.org>
5822
5823 * mail/rmailmm.el (rmail-mime-display-header)
5824 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5825 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5826 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5827 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5828 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5829 of a raw aref.
5830 (rmail-mime-entity-segment): To get past the tagline, move forward
5831 2 more lines, to account for the 2 empty lines that precede and
5832 follow the line with the buttons.
5833 (rmail-mime-update-tagline): Move one more line, to get past the
5834 empty line that follows the buttons in the tagline. (Bug#9520)
5835
c56cad4a
MR
58362011-11-19 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (window-max-delta-1, window-min-delta-1)
5839 (window-min-size-1, window-state-get-1, window-state-put-1)
5840 (window-state-put-2): Use "window--" prefix.
5841
cbe71af3
SM
58422011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5843
2ad52c60
SM
5844 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5845 (smie-warning-count): New var.
5846 (smie-set-prec2tab): Use it.
5847 (smie-bnf->prec2): Improve warnings. Add docstring.
5848 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5849 (smie-bnf--set-class): New function.
5850 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5851 corner case.
5852
6944dbc1
SM
5853 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5854 (compilation-error-properties, compilation-move-to-column):
5855 Handle compilation-first-column while in the target buffer.
5856
c400c4d7
SM
5857 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5858 Don't hardcode point-min==1.
5859
6dbe3e96
SM
5860 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5861 (eshell-rewrite-for-command): Remove workaround.
5862 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5863 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5864 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5865
cbe71af3
SM
5866 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5867
a8e1496d
GM
58682011-11-17 Glenn Morris <rgm@gnu.org>
5869
5870 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5871 Ignore buffer-local generated-autoload-file if it is the same
5872 as the global value. (Bug#10049)
5873
df85d315
JB
58742011-11-17 Juanma Barranquero <lekktu@gmail.com>
5875
5876 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5877 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5878 (reftex-toc-previous-heading, reftex-toc-max-level)
5879 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5880 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5881 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5882 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5883 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5884 (reftex-toc-rename-label, reftex-toc-visit-location)
5885 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5886 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5887 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5888 leaving "*toc*" only for references to the buffer.
5889
a0c2d0ae
MR
58902011-11-17 Martin Rudalics <rudalics@gmx.at>
5891
5892 * window.el (window-resize, delete-window, split-window):
5893 Replace window-splits by window-combination-resize.
1d00653d 5894 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 5895
35c0bac8
GM
58962011-11-17 Glenn Morris <rgm@gnu.org>
5897
5898 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5899 Make bash entry derive from sh entry, not shell entry.
5900
d0c8fc8a
MA
59012011-11-16 Michael Albinus <michael.albinus@gmx.de>
5902
d0c8fc8a
MA
5903 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5904 properties of linked files. (Bug#9879)
5905
7262a87c
MA
5906 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5907 local file name.
5908
7877f373
JB
59092011-11-16 Juanma Barranquero <lekktu@gmail.com>
5910
5911 * menu-bar.el (menu-bar-file-menu):
5912 * printing.el (pr-ps-utility):
5913 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5914 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5915 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5916 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5917 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5918 (icalendar--convert-cyclic-to-ical)
5919 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5920 (icalendar--convert-ical-to-diary)
5921 (icalendar--convert-recurring-to-diary)
5922 (icalendar--convert-non-recurring-all-day-to-diary)
5923 (icalendar-import-format-sample):
5924 * progmodes/idlw-shell.el (idlwave-shell-mode):
5925 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5926 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5927 (vhdl-ps-print-init): Fix typos.
5928
10649b82
KM
59292011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5930
9d0cfcd6
GM
5931 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5932 FSF and collapse date sequence, obscure author/maintainer email address
5933 better, remove extra version line, track relocation of author's webpage.
10649b82 5934
9d0cfcd6
GM
5935 * progmodes/python.el (python-pdbtrack-input-prompt)
5936 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5937 regular python pdb prompts. Adjustments shamelessly taken exactly as
5938 suggested in EmacsWiki page (tiny change):
5939 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 5940
58179cce
JB
59412011-11-16 Juanma Barranquero <lekktu@gmail.com>
5942
5943 * expand.el (expand-pos, expand-index, expand-point):
5944 Remove redundant info from docstring.
5945 (expand-add-abbrevs): Doc fix.
5946 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5947 (expand-sample-perl-mode-expand-list): Fix typos.
5948
5949 * net/dbus.el (dbus-event-member-name):
5950 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5951 * term/pc-win.el (msdos-create-frame-with-faces):
5952 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5953
b6f67890
MR
59542011-11-16 Martin Rudalics <rudalics@gmx.at>
5955
5956 * window.el (split-window, window-state-get-1)
5957 (window-state-put-1, window-state-put-2): Rename occurrences of
5958 window-nest to window-combination-limit.
1d00653d 5959 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 5960
ce7ddba0
CY
59612011-11-16 Chong Yidong <cyd@gnu.org>
5962
5963 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5964 regexp (Bug#10033).
5965
3ae704f4
SM
59662011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5969 `completing-read' will remove *Completions* and will preserve
5970 current-buffer for us.
5971 (tmm-add-prompt): Users of *Completions* will always (re)set its
5972 major mode.
5973 (tmm-old-comp-map): Remove.
5974
6ad1cdde
GM
59752011-11-16 Glenn Morris <rgm@gnu.org>
5976
5977 * mail/rmailedit.el: Require rmailmm when compiling.
5978 (rmail-old-mime-state): New declaration.
5979 (rmail-edit-current-message): If editing a mime message,
5980 edit the "raw" message from the mbox buffer.
5981 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5982
d20faa20
GM
59832011-11-15 Glenn Morris <rgm@gnu.org>
5984
5985 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5986 which wasn't being used. Add optional arg to force given state.
5987 (rmail-mime): Add optional arg to force given state.
5988
c7015153
JB
59892011-11-15 Juanma Barranquero <lekktu@gmail.com>
5990
5991 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5992 * frame.el (display-mm-dimensions-alist):
5993 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5994 (outline-move-subtree-down):
5995 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5996 (newsticker--treeview-do-get-node):
5997 * net/quickurl.el (quickurl-list-buffer-name):
5998 * progmodes/dcl-mode.el (dcl-mode):
5999 * progmodes/gdb-mi.el (gdb-mapcar*):
6000 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6001
45261b50
GM
60022011-11-15 Glenn Morris <rgm@gnu.org>
6003
6004 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6005 in a boolean sense, so just make it a boolean, and fix the doc.
6006 (rmail-show-mime-function, rmail-mime-feature)
6007 (rmail-require-mime-maybe): Doc fixes.
6008 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6009
6010 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6011
0d26e0b6
JB
60122011-11-15 Juanma Barranquero <lekktu@gmail.com>
6013
6014 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6015 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6016 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6017 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6018
447f30f6
GM
60192011-11-15 Glenn Morris <rgm@gnu.org>
6020
672b871d
GM
6021 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6022 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6023 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6024 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6025 (rmail-mime, rmail-show-mime): Doc fixes.
6026
f6aa5bb1
GM
6027 * term/ns-win.el (mode-line-frame-identification):
6028 Leave it alone. (Bug#10051)
6029
947cd66b
GM
6030 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6031
447f30f6
GM
6032 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6033 Handle empty buffers. (Bug#9978)
6034
0b381c7e
JB
60352011-11-14 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * international/mule.el (define-charset):
6038 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6039 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6040 * progmodes/verilog-mode.el (verilog-backward-token):
6041 * textmodes/ispell.el (lookup-words):
6042 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6043
71e027ac
GM
60442011-11-14 Glenn Morris <rgm@gnu.org>
6045
56632ce4
GM
6046 * progmodes/executable.el
6047 (executable-make-buffer-file-executable-if-script-p):
6048 Handle file-modes returning nil.
6049
40500957
GM
6050 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6051 message - not necessary, and causes problems. (Bug#9831)
6052
071c2340
GM
6053 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6054
d3cfca60
GM
6055 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6056
71e027ac
GM
6057 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6058 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6059 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6060
89d61221
MR
60612011-11-12 Martin Rudalics <rudalics@gmx.at>
6062
6063 * window.el (window-resize, delete-window): Use window-splits
6064 variable instead of function.
6065 (window-state-get-1, window-state-put-2, window-state-put):
6066 Don't deal with windows' splits status.
6067
98282f6f
GM
60682011-11-12 Glenn Morris <rgm@gnu.org>
6069
6070 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6071 (apropos-documentation): Doc fixes.
6072
40a8bdf6
JB
60732011-11-11 Juanma Barranquero <lekktu@gmail.com>
6074
6075 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6076 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6077
65bd19ff
SM
60782011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * electric.el (electric-indent-post-self-insert-function): Make it
6081 possible for a char to only indent in some circumstances.
6082 (electric-indent-mode): Simplify.
6083
54f9154c
MR
60842011-11-11 Martin Rudalics <rudalics@gmx.at>
6085
6086 * window.el (windows-with-parameter): Remove unused function.
6087 (windows-at-side): Rename to window-at-side-list.
6088 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6089 (window-side-check, window-size-ignore, window-size-fixed-1)
6090 (window-in-direction-2): Prefix with "window--".
6091 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6092
68cbc58b
GM
60932011-11-11 Glenn Morris <rgm@gnu.org>
6094
6095 * subr.el (eval-after-load): If FILE is already loaded,
6096 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6097
b2621720
GM
60982011-11-10 Glenn Morris <rgm@gnu.org>
6099
9a4de110
GM
6100 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6101 Call svn via vc-svn-command rather than vc-do-command.
6102 (vc-svn-command): Add --non-interactive. (Bug#9993)
6103 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6104
b2621720
GM
6105 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6106 Add toggle-read-only. (Bug#7292)
6107 * files.el (toggle-read-only): Mention that it should only
6108 be used interactively. (Bug#10006)
6109
1dce7193
SM
61102011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6111
d9ac1a1e
SM
6112 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6113 Adjust regexp for OCaml warnings.
6114
0c325082
SM
6115 * electric.el (electric-pair-post-self-insert-function): Let user
6116 turn it off buffer-locally (bug#9932).
6117
90132c14
SM
6118 * progmodes/python.el (python-beginning-of-statement):
6119 Rewrite (bug#2703).
6120
1dce7193
SM
6121 * progmodes/compile.el: Better handle TABs (bug#9749).
6122 (compilation-internal-error-properties)
6123 (compilation-next-error-function): Obey the target buffer's
6124 compilation-error-screen-columns.
6125
c4e7c63a
JB
61262011-11-09 Juanma Barranquero <lekktu@gmail.com>
6127
6128 * progmodes/meta-mode.el: Remove obsolete comments.
6129 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6130 Fix typos in docstrings.
6131
2cffd681
MR
61322011-11-09 Martin Rudalics <rudalics@gmx.at>
6133
6134 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6135 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6136 (window--resizable): New function. Make all callers of
6137 window-resizable call window--resizable instead.
6138 (window-resizable): Rewrite in terms of window--resizable.
6139
0edcba87
GM
61402011-11-08 Glenn Morris <rgm@gnu.org>
6141
6142 * progmodes/delphi.el (delphi-mode-syntax-table):
6143 Let define-derived-mode define a proper syntax table. (Bug#9994)
6144
4b0d61e3
SM
61452011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * window.el: Stay away from defsubst.
6148 (window-list-no-nils): Remove.
6149 (window-state-get-1, window-state-get): Use backquote instead.
6150
cd394be1 61512011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6152
4b0d61e3 6153 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6154 Fix incorrect use of default argument in `completing-read'.
6155
e1c2c6f2
MR
61562011-11-08 Martin Rudalics <rudalics@gmx.at>
6157
6158 * window.el (display-buffer-function, special-display-function):
6159 Mention display-buffer-record-window but do not mention
6160 help-setup parameter in doc-strings.
b3f4a882 6161 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6162
105216ed
CY
61632011-11-08 Chong Yidong <cyd@gnu.org>
6164
6165 * window.el (window-total-height, window-total-width): Doc fix.
6166 (window-body-size): Move from C.
6167 (window-body-height, window-body-width): Move to C.
6168
0a9f9ab5
SM
61692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * window.el: Make special-display like display-buffer-alist (bug#9532).
6172 (display-buffer--special-action): New function, morphed
6173 from display-buffer--special.
6174 (display-buffer): Use it to handle special-display-buffers at higher
6175 priority (just after display-buffer-alist).
6176 (display-buffer-fallback-action, display-buffer--other-frame-action)
6177 (pop-to-buffer-same-window): Remove display-buffer--special.
6178
a769dd15
GM
61792011-11-07 Glenn Morris <rgm@gnu.org>
6180
6181 * calendar/cal-menu.el (cal-menu-set-date-title):
6182 Do nothing if not in a calendar. (Bug#9976)
6183
05a61ee3
SM
61842011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * files.el (find-file): Always use selected-window.
6187
be7f5545
MR
61882011-11-07 Martin Rudalics <rudalics@gmx.at>
6189
6190 * window.el (window-combinations): Make WINDOW argument
6191 mandatory. Rewrite doc-string.
6192 (walk-window-subtree, window-atom-check, window-min-delta)
6193 (window-max-delta, window--resize-this-window)
6194 (window--resize-root-window-vertically, window-tree)
6195 (balance-windows, window-state-put): Rewrite doc-strings as to
6196 not mention the term "subwindow".
6197 (window--resize-subwindows-skip-p): Rename to
6198 window--resize-child-windows-skip-p.
6199 (window--resize-subwindows-normal): Rename to
6200 window--resize-child-windows-normal.
6201 (window--resize-subwindows): Rename to
6202 window--resize-child-windows.
6203 (window-or-subwindow-p): Rename to window--in-subtree-p.
6204
3c6702ef
ML
62052011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6206
6207 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6208 Ensure that mbox format messages end in two newlines (Bug#9974).
6209
49745b39
CY
62102011-11-06 Chong Yidong <cyd@gnu.org>
6211
6212 * window.el (window-combination-p): Function deleted; its
6213 side-effect is not used in any existing code.
6214 (window-combinations, window-combined-p): Call window-*-child
6215 directly.
6216
24300f5f
CY
62172011-11-05 Chong Yidong <cyd@gnu.org>
6218
6219 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6220 (window-size-ignore, window-state-get): Callers changed.
6221 (window-normalize-window): Rename from window-normalize-any-window.
6222 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6223 (window-normalize-live-window): Delete.
447f16b8
CY
6224 (window-combination-p, window-combined-p, window-combinations)
6225 (walk-window-subtree, window-atom-root, window-min-size)
6226 (window-sizable, window-sizable-p, window-size-fixed-p)
6227 (window-min-delta, window-max-delta, window-resizable)
6228 (window-resizable-p, window-full-height-p, window-full-width-p)
6229 (window-current-scroll-bars, window-point-1, set-window-point-1)
6230 (window-at-side-p, window-in-direction, window-resize)
6231 (adjust-window-trailing-edge, maximize-window, minimize-window)
6232 (window-deletable-p, delete-window, delete-other-windows)
6233 (record-window-buffer, unrecord-window-buffer)
6234 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6235 (quit-window, split-window, window-state-put)
6236 (set-window-text-height, fit-window-to-buffer)
6237 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6238
89bd5ee1
EZ
62392011-11-04 Eli Zaretskii <eliz@gnu.org>
6240
53479029
EZ
6241 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6242 rfc2047-decode-string.
6243 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6244 warnings.
6245
89bd5ee1
EZ
6246 * window.el (window-body-height, window-body-width): Mention in
6247 the doc string that the return values are in frame's canonical
6248 units. (Bug#9949)
6249
bd17fdee
AM
62502011-11-03 Alan Mackenzie <acm@muc.de>
6251
6252 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6253 change in cc-engine.el.
6254
acc825c5
SM
62552011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6258
1885e5b8
MR
62592011-11-02 Martin Rudalics <rudalics@gmx.at>
6260
6261 * window.el (quit-window): Call unrecord-window-buffer after
6262 showing another buffer in the window. (Bug#9937)
acc825c5 6263 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6264
ebe06da9
JB
62652011-11-02 Juanma Barranquero <lekktu@gmail.com>
6266
6267 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6268 Accept status with more than 9 shelves. (Bug#9935)
6269 Reported by Colin D Bennett <colin@gibibit.com>.
6270
4ee88440
MR
62712011-11-01 Martin Rudalics <rudalics@gmx.at>
6272
6273 * help.el (with-help-window): Don't reference
6274 temp-buffer-show-specifiers in doc-string.
6275
08e1d82c
AS
62762011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6277
6278 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6279 menu-item.
6280
84bd6e9e
VJL
62812011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6282
6283 * whitespace.el: New version 13.2.2.
6284 (whitespace-newline-mode): Disable properly. Reported by Sarah
6285 <EmacsWiki>.
6286
dba0634a
UJ
62872011-10-30 Ulf Jasper <ulf.jasper@web.de>
6288
6289 * net/newst-treeview.el: Remove "Time-stamp".
6290 (newsticker--group-manage-orphan-feeds): Do not call
6291 newsticker--treeview-tree-update.
db22a3c2
JB
6292 (newsticker-treeview-update, newsticker-treeview):
6293 Call newsticker--treeview-tree-update if necessary.
dba0634a 6294
3d8daefe
MR
62952011-10-30 Martin Rudalics <rudalics@gmx.at>
6296
6297 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6298 (window-iso-combinations): Remove "iso-" infix.
6299 Suggested by Chong Yidong.
3d8daefe
MR
6300 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6301 (window-max-delta-1, window-resize, window--resize-siblings)
6302 (window--resize-this-window, adjust-window-trailing-edge)
6303 (split-window, balance-windows-1)
6304 (shrink-window-if-larger-than-buffer):
6305 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6306 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6307
1bc4c3ae
SM
63082011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6311 in place (bug#9907).
6312 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6313 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6314 (eshell-structure-basic-command, eshell-rewrite-while-command)
6315 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6316 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6317 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6318 (eshell-do-pipelines-synchronously, eshell-eval-command):
6319 Use backquotes and prefer setq to set.
6320 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6321 (eshell-macrop): Use functionp.
c1e2f5fa 6322 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6323
30b65d9c
CY
63242011-10-30 Chong Yidong <cyd@gnu.org>
6325
6326 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6327 instead of set-mark (Bug#9810).
6328
2d197ffb
CY
63292011-10-30 Chong Yidong <cyd@gnu.org>
6330
6331 * window.el (split-window-below, split-window-right): Rename from
6332 split-window-above-each-other and split-window-side-by-side
6333 respectively. All callers changed.
6334 (split-window-sensibly, split-window-sensibly): Use them.
6335 (split-window-keep-point): Doc fix.
6336
6337 * isearch.el: Add isearch-scroll property to split-window-below
6338 and split-window-right.
6339
6340 * follow.el (follow-mode):
6341 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6342 * progmodes/ada-xref.el (ada-gdb-application):
6343 * emulation/vip.el (vip-buffer-in-two-windows):
6344 * image-dired.el (image-dired-dired-with-window-configuration):
6345 * dired-x.el (dired-do-find-marked-files):
6346 * dired.el (dired-pop-to-buffer):
6347 * bs.el (bs--show-with-configuration):
6348 * vc/emerge.el (emerge-setup-windows):
6349 * textmodes/two-column.el (2C-two-columns):
6350 * textmodes/reftex-toc.el (reftex-toc):
6351 * progmodes/gdb-mi.el (gdb-setup-windows):
6352 * progmodes/fortran.el (fortran-window-create):
6353 * net/newst-treeview.el (newsticker--treeview-window-init):
6354 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6355 * emulation/tpu-edt.el (tpu-gold-map):
6356 * emulation/crisp.el (crisp-mode-map):
6357 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6358
38bb2ca8
CY
63592011-10-29 Chong Yidong <cyd@gnu.org>
6360
aa4de341
CY
6361 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6362
e1eb5385
CY
6363 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6364
5d2ece3c
CY
6365 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6366 forged Ispell output (Bug#7904).
6367
38bb2ca8
CY
6368 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6369
d0af9f77
SM
63702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * doc-view.el: Avoid ugly errors about not finding nil.
6373 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6374 (doc-view-dvipdf-program, doc-view-unoconv-program)
6375 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6376 Avoid nil or absolute file name as default value.
6377 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6378
52bedd34
AM
63792011-10-28 Alan Mackenzie <acm@muc.de>
6380
db22a3c2 6381 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6382
7e43cfa5
AM
63832011-10-28 Alan Mackenzie <acm@muc.de>
6384
6385 Amend the handling of c-beginning/end-of-defun in nested declaration
6386 scopes.
6387
52bedd34
AM
6388 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6389 cc-langs.el. Change it to a defcustom.
7e43cfa5 6390
52bedd34
AM
6391 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6392 cc-vars.el.
7e43cfa5 6393
d0af9f77
SM
6394 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6395 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6396
52bedd34 6397 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6398 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6399 (c-widen-to-enclosing-decl-scope): New function.
6400 (c-while-widening-to-decl-block): New macro.
6401 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6402 outward for defun boundaries, and correspondingly change symbol
6403 `respect-enclosure' to `go-outward'.
6404 (c-declaration-limits): Change algorithm to report only the "innermost"
6405 defun's boundaries.
6406
1a2ce9ee
DD
64072011-10-28 Deniz Dogan <deniz@dogan.se>
6408
6409 * net/rcirc.el (rcirc-mode): Use hard newlines.
6410
bc97a826
AM
64112011-10-28 Alan Mackenzie <acm@muc.de>
6412
6413 Amend to indent and fontify macros "which include their own semicolon"
6414 correctly, using the "virtual semicolon" mechanism.
6415
52bedd34 6416 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6417
d0af9f77 6418 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6419 Recode to scan one line at a time rather than having \n and \r
58179cce 6420 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6421 (c-forward-label): Amend for virtual semicolons.
58179cce 6422 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6423
52bedd34
AM
6424 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6425 of the new C macros.
bc97a826 6426
52bedd34 6427 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6428 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6429 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6430 (c-opt-cpp-macro-define): Make into a full language variable.
6431 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6432 AWK Mode (including \n, \r) removed, no longer needed.
6433
d0af9f77
SM
6434 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6435 Invoke c-make-macro-with-semi-re.
bc97a826 6436
52bedd34
AM
6437 * progmodes/cc-vars.el (c-macro-with-semi-re):
6438 (c-macro-names-with-semicolon): New variables.
58179cce 6439 (c-make-macro-with-semi-re): New function.
bc97a826 6440
7a6c0941
SM
64412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * vc/log-edit.el: Fill empty field rather than adding new one.
6444 (log-edit-add-field): New function.
6445 (log-edit-insert-changelog): Use it.
6446
b0c4cdcf
ML
64472011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6448
6449 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6450
ee1f1da9
SM
64512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6454 (gdb--check-interpreter): New function.
6455 (gdb): Use it.
6456
51bc5f8b
GM
64572011-10-27 Glenn Morris <rgm@gnu.org>
6458
416a2c45
GM
6459 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6460 (least-positive-float, least-negative-float)
6461 (least-positive-normalized-float, least-negative-normalized-float)
6462 (float-epsilon, float-negative-epsilon):
6463 Remove unnecessary declarations.
6464
6465 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6466 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6467 (least-positive-float, least-negative-float)
6468 (least-positive-normalized-float, least-negative-normalized-float)
6469 (float-epsilon, float-negative-epsilon): Add doc-strings,
6470 based on those in cl.texi.
6471
51bc5f8b
GM
6472 * files.el (set-visited-file-name): If the major-mode changed,
6473 reload the local variables. (Bug#9796)
6474
15de15c6
CY
64752011-10-27 Chong Yidong <cyd@gnu.org>
6476
6477 * subr.el (change-major-mode-after-body-hook): New hook.
6478 (run-mode-hooks): Run it.
6479
ee1f1da9
SM
6480 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6481 Use change-major-mode-before-body-hook.
15de15c6
CY
6482
6483 * simple.el (fundamental-mode):
6484 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6485 change introducing fundamental-mode-hook.
6486
5430d399
JB
64872011-10-26 Juanma Barranquero <lekktu@gmail.com>
6488
acc825c5 6489 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6490
ad74a69e
MA
64912011-10-26 Michael Albinus <michael.albinus@gmx.de>
6492
6493 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6494 tramp.el explicitly. (Bug#7583)
ad74a69e 6495
71d4c2a5
SM
64962011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * progmodes/octave-mod.el:
6499 * progmodes/octave-inf.el: Update maintainer.
6500
b1f6fa26
CY
65012011-10-26 Chong Yidong <cyd@gnu.org>
6502
6503 * subr.el (with-wrapper-hook): Rewrite doc.
6504
3f04efd6
MA
65052011-10-25 Michael Albinus <michael.albinus@gmx.de>
6506
6507 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6508 filenames "/method:foo:". (Bug#9793)
3f04efd6 6509
410488d3
SM
65102011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6513 (bug#9865).
6514
c1ebb47e
GM
65152011-10-24 Glenn Morris <rgm@gnu.org>
6516
6517 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6518
7f5c46c7
MA
65192011-10-24 Michael Albinus <michael.albinus@gmx.de>
6520
6521 * notifications.el: Add the requirement of a running D-Bus session
6522 bus to the Commentary.
6523
db2440b6
JL
65242011-10-24 Juri Linkov <juri@jurta.org>
6525
6526 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6527 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6528 (Bug#9364)
6529
feecf435
JL
65302011-10-24 Juri Linkov <juri@jurta.org>
6531
6532 * info.el (Info-following-node-name-re): Add newline to the list
6533 of allowed characters for leading space. (Bug#9824)
6534
a3839de2
SM
65352011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6536
acc825c5
SM
6537 * progmodes/octave-inf.el (inferior-octave-mode-map):
6538 Fix C-c C-h binding.
a3839de2
SM
6539 * progmodes/octave-mod.el (octave-help): Remove.
6540
09388e76
MA
65412011-10-23 Michael Albinus <michael.albinus@gmx.de>
6542
6543 Sync with Tramp 2.2.3.
6544
6545 * net/tramp-cache.el (top): Pacify byte-compiler using
6546 `init-file-user' and `site-run-file'.
6547
6548 * net/trampver.el: Update release number.
6549
86c60681
CY
65502011-10-23 Chong Yidong <cyd@gnu.org>
6551
6552 * files.el (toggle-read-only): Remove obsolete comment about
6553 version control.
6554
6555 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6556 for toggle-read-only. Note that this hasn't called vc-next-action
6557 since 2008-05-02, though it wasn't documented at the time.
6558
a3839de2
SM
6559 * vc/ediff-init.el (ediff-toggle-read-only-function):
6560 Use toggle-read-only.
86c60681 6561
cd5495ff
AM
65622011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6563
6564 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6565 of c-parse-state.
6566
00b77525 6567 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6568 correct faulty logical expression.
cd5495ff
AM
6569 (c-parse-state-state, c-record-parse-state-state):
6570 (c-replay-parse-state-state): New defvar/defuns.
6571 (c-debug-parse-state): Use new functions.
6572
42ee24ed
MR
65732011-10-22 Martin Rudalics <rudalics@gmx.at>
6574
6575 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6576 last fix. Use window-in-direction correctly.
42ee24ed 6577
a7dee7e7
CY
65782011-10-21 Chong Yidong <cyd@gnu.org>
6579
6580 * progmodes/idlwave.el (idlwave-mode):
6581 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6582 require-final-newline; that's done in prog-mode.
6583 Suggested by Stefan Monnier.
a7dee7e7 6584
e07b9a6d
MR
65852011-10-21 Martin Rudalics <rudalics@gmx.at>
6586
6587 * mouse.el (mouse-drag-window-above)
6588 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6589 (mouse-drag-mode-line-1, mouse-drag-header-line)
6590 (mouse-drag-vertical-line-rightward-window): Remove.
6591 (mouse-drag-line): New function.
6592 (mouse-drag-mode-line, mouse-drag-header-line)
6593 (mouse-drag-vertical-line): Call mouse-drag-line.
6594 * window.el (window-at-side-p, windows-at-side): New functions.
6595
7e1361d9
UM
65962011-10-21 Ulrich Mueller <ulm@gentoo.org>
6597
6598 * tar-mode.el (tar-grind-file-mode):
6599 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6600
30fcaf3a
CY
66012011-10-21 Chong Yidong <cyd@gnu.org>
6602
6603 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6604 * progmodes/vera-mode.el (vera-mode):
6605 Use mode-require-final-newline.
30fcaf3a 6606
516eddb0
GM
66072011-10-20 Glenn Morris <rgm@gnu.org>
6608
db22a3c2 6609 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6610
10d5f513
CS
66112011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6612
6613 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6614
ac6c8639
CY
66152011-10-20 Chong Yidong <cyd@gnu.org>
6616
6617 * emulation/cua-base.el (cua-mode):
6618 * mail/footnote.el (footnote-mode):
6619 * mail/mailabbrev.el (mail-abbrevs-mode):
6620 * net/xesam.el (xesam-minor-mode):
6621 * progmodes/bug-reference.el (bug-reference-mode):
6622 * progmodes/cap-words.el (capitalized-words-mode):
6623 * progmodes/compile.el (compilation-minor-mode)
6624 (compilation-shell-minor-mode):
6625 * progmodes/gud.el (gud-tooltip-mode):
6626 * progmodes/hideif.el (hide-ifdef-mode):
6627 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6628 * progmodes/subword.el (subword-mode):
6629 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6630 * progmodes/which-func.el (which-function-mode):
6631 * term/tvi970.el (tvi970-set-keypad-mode):
6632 * term/vt100.el (vt100-wide-mode):
6633 * textmodes/flyspell.el (flyspell-mode):
6634 * textmodes/ispell.el (ispell-minor-mode):
6635 * textmodes/nroff-mode.el (nroff-electric-mode):
6636 * textmodes/paragraphs.el (use-hard-newlines):
6637 * textmodes/refill.el (refill-mode):
6638 * textmodes/reftex.el (reftex-mode):
6639 * textmodes/rst.el (rst-minor-mode):
6640 * textmodes/sgml-mode.el (html-autoview-mode)
6641 (sgml-electric-tag-pair-mode):
6642 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6643 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6644 * emulation/crisp.el (crisp-mode):
6645 * emacs-lisp/eldoc.el (eldoc-mode):
6646 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6647 minor mode behavior.
6648
aa42ab43
JL
66492011-10-19 Juri Linkov <juri@jurta.org>
6650
6651 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6652 the list of hard-coded chars with escape-glyph face.
6653
89400f1d
SM
66542011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6657
305c07f6
MA
66582011-10-19 Michael Albinus <michael.albinus@gmx.de>
6659
6660 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6661 running process.
6662
13754b54
GM
66632011-10-19 Glenn Morris <rgm@gnu.org>
6664
6665 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6666 Ignore ignored files. (Bug#9726)
6667
06e21633
CY
66682011-10-19 Chong Yidong <cyd@gnu.org>
6669
6670 Doc fix for minor modes, stating that an omitted argument enables
6671 the mode unconditionally when called from Lisp.
6672
6673 * abbrev.el (abbrev-mode):
6674 * allout.el (allout-mode):
6675 * autoinsert.el (auto-insert-mode):
6676 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6677 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6678 (global-auto-revert-mode):
6679 * battery.el (display-battery-mode):
6680 * composite.el (global-auto-composition-mode)
6681 (auto-composition-mode):
6682 * delsel.el (delete-selection-mode):
6683 * desktop.el (desktop-save-mode):
6684 * dired-x.el (dired-omit-mode):
6685 * dirtrack.el (dirtrack-mode):
6686 * doc-view.el (doc-view-minor-mode):
6687 * double.el (double-mode):
6688 * electric.el (electric-indent-mode, electric-pair-mode):
6689 * emacs-lock.el (emacs-lock-mode):
6690 * epa-hook.el (auto-encryption-mode):
6691 * follow.el (follow-mode):
6692 * font-core.el (font-lock-mode):
6693 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6694 * help.el (temp-buffer-resize-mode):
6695 * hilit-chg.el (highlight-changes-mode)
6696 (highlight-changes-visible-mode):
6697 * hi-lock.el (hi-lock-mode):
6698 * hl-line.el (hl-line-mode, global-hl-line-mode):
6699 * icomplete.el (icomplete-mode):
6700 * ido.el (ido-everywhere):
6701 * image-file.el (auto-image-file-mode):
6702 * image-mode.el (image-minor-mode):
6703 * iswitchb.el (iswitchb-mode):
6704 * jka-cmpr-hook.el (auto-compression-mode):
6705 * linum.el (linum-mode):
6706 * longlines.el (longlines-mode):
6707 * master.el (master-mode):
6708 * mb-depth.el (minibuffer-depth-indicate-mode):
6709 * menu-bar.el (menu-bar-mode):
6710 * minibuf-eldef.el (minibuffer-electric-default-mode):
6711 * mouse-sel.el (mouse-sel-mode):
6712 * msb.el (msb-mode):
6713 * mwheel.el (mouse-wheel-mode):
6714 * outline.el (outline-minor-mode):
6715 * paren.el (show-paren-mode):
6716 * recentf.el (recentf-mode):
6717 * reveal.el (reveal-mode, global-reveal-mode):
6718 * rfn-eshadow.el (file-name-shadow-mode):
6719 * ruler-mode.el (ruler-mode):
6720 * savehist.el (savehist-mode):
6721 * scroll-all.el (scroll-all-mode):
6722 * scroll-bar.el (scroll-bar-mode):
6723 * server.el (server-mode):
6724 * shell.el (shell-dirtrack-mode):
6725 * simple.el (auto-fill-mode, transient-mark-mode)
6726 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6727 (line-number-mode, column-number-mode, size-indication-mode)
6728 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6729 * strokes.el (strokes-mode):
6730 * time.el (display-time-mode):
6731 * t-mouse.el (gpm-mouse-mode):
6732 * tool-bar.el (tool-bar-mode):
6733 * tooltip.el (tooltip-mode):
6734 * type-break.el (type-break-mode-line-message-mode)
6735 (type-break-query-mode):
6736 * view.el (view-mode):
6737 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6738 (global-whitespace-mode, global-whitespace-newline-mode):
6739 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6740
a3839de2
SM
6741 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6742 Fix autogenerated docstring.
06e21633 6743
5214e501
JL
67442011-10-19 Juri Linkov <juri@jurta.org>
6745
6746 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6747 by checking environment variables "DESKTOP_SESSION" and
6748 "XDG_CURRENT_DESKTOP". (Bug#9779)
6749
195f8db9
JL
67502011-10-19 Juri Linkov <juri@jurta.org>
6751
6752 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6753 (browse-url-chromium-program, browse-url-chromium-arguments):
6754 New defcustoms.
6755 (browse-url-default-browser): Check for `browse-url-chromium' and
6756 call `browse-url-chromium-program'.
6757 (browse-url-chromium): New command. (Bug#9779)
6758
343a34ff
JB
67592011-10-18 Juanma Barranquero <lekktu@gmail.com>
6760
6761 * facemenu.el (list-colors-duplicates): On Windows, detect more
6762 duplicates by assuming that only colors matching "^System" are
6763 special "system colors". (Bug#9722)
6764
6978a151
SM
67652011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6768 to distinguish the author from the committer.
6769
6a80b297
MA
67702011-10-18 Michael Albinus <michael.albinus@gmx.de>
6771
6772 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6773
b31a5677
JK
67742011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6775
6776 * international/mule.el (sgml-html-meta-auto-coding-function):
6777 Add support for detecting encoding in HTML5 specified only as
6778 <meta charset="UTF-8">. Implementation just makes http-equiv and
6779 content-type parts from HTML4 encoding string optional. (Bug#9716)
6780
80c6d77f
GM
67812011-10-18 Glenn Morris <rgm@gnu.org>
6782
6783 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6784
08b0fee8
CY
67852011-10-18 Chong Yidong <cyd@gnu.org>
6786
6787 * faces.el (cursor): Doc fix.
6788
67e729a5
CY
67892011-10-17 Chong Yidong <cyd@gnu.org>
6790
6791 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6792
343a34ff 67932011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
6794
6795 * dirtrack.el (dirtrack): Support shell buffers with path
6796 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6797
0bc06380
TZ
67982011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6799
6800 * json.el: Bump version to 1.3 and note change in History.
6801 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6802
8b79f3e0
SM
68032011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6804
5a7c536b
SM
6805 * comint.el (comint-insert-input, comint-send-input)
6806 (comint-get-old-input-default, comint-backward-matching-input)
6807 (comint-next-prompt): Use nil instead of `input' for field property of
6808 past user input (bug#114).
6809
96a8a0df
SM
6810 * minibuffer.el (completion--replace): Inherit surrounding properties
6811 (bug#114).
6812 (minibuffer-complete-and-exit): Use it.
6813
8b79f3e0
SM
6814 * comint.el (comint--table-subvert): Quote the all-completions output
6815 (bug#9160).
6816
b8f7ff0d
MR
68172011-10-17 Martin Rudalics <rudalics@gmx.at>
6818
8b79f3e0 6819 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 6820
b8f7ff0d 6821 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 6822 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
6823 entries and separate them from frame entries.
6824
c235b555
GM
68252011-10-15 Glenn Morris <rgm@gnu.org>
6826
6827 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6828 Doc fixes.
6829
6bbfa6e1
CY
68302011-10-15 Chong Yidong <cyd@stupidchicken.com>
6831
8b79f3e0
SM
6832 * net/network-stream.el (network-stream-open-starttls):
6833 Improve detection of failure due to lack of TLS support.
ec5c990d 6834
6bbfa6e1
CY
6835 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6836 putting the input text in front and in bold.
6837
98488977
SM
68382011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6839
3d1337be
SM
6840 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6841
ee0b45e4
SM
6842 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6843 empty buffer.
6844
98488977
SM
6845 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6846 unread-command-events rather than pushing yet-another event.
6847
186f4720
EZ
68482011-10-14 Eli Zaretskii <eliz@gnu.org>
6849
6850 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6851 the explanation of the possible choices. Make the options passed
6852 to completing-read shorter.
6853
8b7a997c
AM
68542011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6855
6856 * textmodes/flyspell.el (flyspell-large-region): Make sure
6857 extended character mode is used if defined (Bug#1339).
6858
12587bbb
EZ
68592011-10-13 Eli Zaretskii <eliz@gnu.org>
6860
6861 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
6862 character info for LRE, LRO, RLE, and RLO characters by appending
6863 an invisible PDF.
12587bbb 6864
bad41229
SM
68652011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6868 even in case of error; add debug spec; simplify data flow.
6869 (with-timeout-handler): Remove.
6870
28dbc92f
MA
68712011-10-12 Michael Albinus <michael.albinus@gmx.de>
6872
6873 Fix Bug#6019, Bug#9315.
6874
6875 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6876 complete `buffer-file-name', the local file name part could look
6877 remotely (for example on VMS).
6878
6879 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6880 `tramp-run-real-handler'.
6881 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6882 already quoted by '"'.
6883
6884 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6885 Let `file-name-handler-alist' be nil, the local file name part
6886 could look remotely (for example on VMS).
6887
e1b0b23a
SM
68882011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6891 from here...
6892 (flyspell-post-command-hook): ...to here.
6893
a120bde9
SM
68942011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6897 if not needed.
6898 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6899 using completion. Protect against "slow" callers.
6900 Remove the "message hack".
6901
7ce7717b
JL
69022011-10-11 Juri Linkov <juri@jurta.org>
6903
6904 * isearch.el (isearch-lazy-highlight-word): New variable.
6905 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6906 Use it. (Bug#9727)
6907
c02ee9d6
GM
69082011-10-11 Glenn Morris <rgm@gnu.org>
6909
6910 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6911 like f90-previous-statement does.
6912
93e616fd 69132011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6914
1f190e73 6915 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
6916 only in interactive use, to avoid error.
6917
af7b6078
SM
69182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * minibuffer.el (completion-file-name-table): Fix last change,
6921 i.e. ignore normal errors but not the other ones.
6922
0563dae9
MR
69232011-10-10 Martin Rudalics <rudalics@gmx.at>
6924
6925 * window.el (special-display-buffer-names)
6926 (special-display-regexps): Remove some remnants of earlier
6927 changes from doc-strings.
366ca7f3
MR
6928 (quit-windows-on): New function.
6929
6930 * vc/vc.el (vc-revert, vc-rollback):
6931 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6932 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 6933 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 6934
49677495
MR
69352011-10-09 Martin Rudalics <rudalics@gmx.at>
6936
6937 * window.el (frame-auto-hide-function): Add version tag.
6938 (Bug#9699)
6939
56f2d1e1
MA
69402011-10-09 Michael Albinus <michael.albinus@gmx.de>
6941
6942 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6943 condition.
6944
112a6592
LL
69452011-10-09 Leo Liu <sdl.web@gmail.com>
6946
6947 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6948 (Bug#9701)
6949
0812589b
GM
69502011-10-08 Glenn Morris <rgm@gnu.org>
6951
6952 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6953 before the first code statement zero indent. (Bug#9690)
6954
b2b0776e
CY
69552011-10-08 Chong Yidong <cyd@stupidchicken.com>
6956
6957 * simple.el (count-words-region): Always count in the region.
6958 Report the number of lines and characters too.
6959 (count-words): New command, which counts in the buffer if the
6960 region is inactive, as count-words-region used to.
6961 (count-words--message): New function. Handle plurals.
6962 (count-lines-region): Make it an alias for count-words-region.
6963
6964 * bindings.el (esc-map): Replace count-lines-region with
6965 count-words-region.
6966
c557cd6b
MR
69672011-10-08 Martin Rudalics <rudalics@gmx.at>
6968
6969 * window.el (window--delete): Delete dedicated frame
6970 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 6971 (switch-to-buffer): Fix doc-string typo.
c557cd6b 6972
61a57ef4 69732011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6974
3a7d293b 6975 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 6976
c3833279
CY
69772011-10-07 Chong Yidong <cyd@stupidchicken.com>
6978
6979 * bindings.el ([M-left],[M-right]): Bind to left-word and
6980 right-word respectively.
6981
21ce8245
GM
69822011-10-07 Glenn Morris <rgm@gnu.org>
6983
6984 * cus-start.el (debug-on-quit): Fix custom type.
6985
6d823bb2
LMI
69862011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6987
0181e193
LMI
6988 * subr.el (define-key-after): Clarify that the function is not
6989 useful for non-menu keymaps.
6990
6d823bb2
LMI
6991 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6992
8e3459ce 69932011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6994
21ce8245 6995 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 6996 in current minibuffer (Fix bug with recursive minibuffers).
6997
a1c2d21e
CY
69982011-10-06 Chong Yidong <cyd@stupidchicken.com>
6999
7000 * progmodes/gdb-mi.el (gdb): Doc fix.
7001
5a4cf282
MR
70022011-10-05 Martin Rudalics <rudalics@gmx.at>
7003
7004 * window.el (frame-auto-hide-function): New option replacing
7005 frame-auto-delete. Suggested by Stefan Monnier.
7006 (window--delete): Call frame-auto-hide-function instead of
7007 investigating frame-auto-delete.
c96111ea
MR
7008 (window-point-1, set-window-point-1): New functions.
7009 (window-in-direction, record-window-buffer, window-state-get-1)
7010 (display-buffer-record-window): Use window-point-1 instead of
7011 window-point.
7012 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7013
9854542e
SM
70142011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7017
8943cfb0
GM
70182011-10-05 Glenn Morris <rgm@gnu.org>
7019
7020 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7021 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7022
647ab967
LL
70232011-10-05 Leo Liu <sdl.web@gmail.com>
7024
7025 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7026 works with buffer object.
7027
3ddfbced
SM
70282011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * mpc.el (mpc-tool-bar-map): Add labels.
7031
bdfa5dd2
GM
70322011-10-04 Glenn Morris <rgm@gnu.org>
7033
7034 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7035
0e2070b5
MR
70362011-10-04 Martin Rudalics <rudalics@gmx.at>
7037
7038 * window.el (window--delete): New function.
7039 (frame-auto-delete): Resuscitate option.
7040 (bury-buffer, replace-buffer-in-windows)
7041 (quit-window): Rewrite using window--delete.
7042 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7043 Pass display-buffer-mark-dedicated to window--display-buffer-2
7044 (Bug#9639).
7045
3dc61a09
SM
70462011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7047
915a9b64
SM
7048 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7049 returns a list (bug#9554). Add remote file name completion.
7050 * comint.el (comint--table-subvert): Curry and get quote&unquote
7051 functions as arguments.
7052 (comint--complete-file-name-data): Adjust call accordingly.
7053 * pcomplete.el (pcomplete--table-subvert): Remove.
7054 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7055
3dc61a09
SM
7056 * minibuffer.el (completion-table-case-fold): Use currying.
7057 (completion--styles-type, completion--cycling-threshold-type):
7058 New constants.
7059 (completion-styles, completion-category-overrides)
7060 (completion-cycle-threshold): Use them.
7061 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7062 completion-table-case-fold.
7063
8ea0a993
SB
70642011-10-03 Stephen Berman <stephen.berman@gmx.net>
7065
7066 * minibuffer.el (completion-category-overrides): Fix type of styles
7067 and add more user friendly tags (bug#9660).
7068
8c24b7f6
SM
70692011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7072 (mule-input-method-string): New widget.
7073 (default-input-method, language-info-custom-alist): Use it.
7074
428fe61a
SM
70752011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7076
32c1fffd
SM
7077 * pcomplete.el: Require comint.
7078 (pcomplete--common-suffix): Remove.
7079 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7080 (pcomplete--table-subvert): Sync with comint--table-subvert.
7081 (pcomplete--entries): Use comint-completion-file-name-table.
7082 * comint.el (comint-unquote-filename): Simplify.
7083 (comint-completion-file-name-table): New function (bug#9616).
7084 (comint--complete-file-name-data): Use it.
7085
428fe61a
SM
7086 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7087 (pcmpl-gnu-tar-buffer): Remove.
7088 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7089 around. Make sure pcomplete-suffix-list is only changed temporarily.
7090 Don't look inside the tar's file if it's too large.
428fe61a 7091
04c52e2f
CY
70922011-10-01 Chong Yidong <cyd@stupidchicken.com>
7093
ce3cefcc
CY
7094 * cus-edit.el (custom-mode-map):
7095 * epa.el (epa-key-list-mode-map):
7096 * man.el (Man-mode-map):
7097 * startup.el (splash-screen-keymap):
7098 * simple.el (special-mode-map): Use scroll-up-command and
7099 scroll-down-command.
7100
7101 * progmodes/idlw-help.el (idlwave-help-mode-map):
7102 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7103 * net/newst-plainview.el (newsticker-mode-map):
7104 * emulation/ws-mode.el (wordstar-mode-map):
7105 * emulation/vi.el (vi-com-map):
7106 * calc/calc-graph.el (calc-graph-show-dumb):
7107 * term/sun.el (terminal-init-sun):
7108 * term/ns-win.el (global-map):
7109 * progmodes/grep.el (grep-mode-map):
7110 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7111 * mail/rmail.el (rmail-mode-map):
7112 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7113
04c52e2f
CY
7114 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7115 custom-safe-themes as special.
7116
79adf8c8
JD
71172011-10-01 Julien Danjou <julien@danjou.info>
7118
7119 * notifications.el (notifications-notify): Fix docstring.
7120
63bd50d3
PS
71212011-10-01 Per Starbäck <per@starback.se>
7122
7123 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7124
199e4c7e
MR
71252011-09-30 Martin Rudalics <rudalics@gmx.at>
7126
7127 * startup.el (command-line-1): Fix last fix by inserting
7128 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7129 (Bug#9605) and (Bug#9636)
199e4c7e 7130
fe5f08dd
EZ
71312011-09-29 Eli Zaretskii <eliz@gnu.org>
7132
7133 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7134 window is hscrolled, move by logical lines. (Bug#9607)
7135 (line-move-visual): Update the doc string to the above effect.
7136
b5516bbd
MR
71372011-09-29 Martin Rudalics <rudalics@gmx.at>
7138
ccee00c0
MR
7139 * window.el (display-buffer-record-window): When WINDOW is the
7140 selected window use `point' instead of `window-point'. (Bug#9626)
7141
b5516bbd
MR
7142 * startup.el (command-line-1): Use insert-before-markers when
7143 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7144
b5516bbd
MR
7145 * help.el (help-window): Remove variable.
7146
52aa0014
GM
71472011-09-29 Glenn Morris <rgm@gnu.org>
7148
7149 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7150
df9a7357
JB
71512011-09-29 Juanma Barranquero <lekktu@gmail.com>
7152
7153 * descr-text.el (describe-char-categories): Accept category
7154 descriptions more than one line long.
7155
a8406c20
SM
71562011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7157
88d9610c
SM
7158 * simple.el (delete-trailing-whitespace): Fix last change.
7159
a5daf810
SM
7160 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7161 Don't confuse "y => 3" as the beginning of a `y' operation.
7162
a8406c20
SM
7163 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7164 object has more than 4 slots (bug#9613).
7165
a239d4e9
JB
71662011-09-28 Juanma Barranquero <lekktu@gmail.com>
7167
7168 * subr.el (with-output-to-temp-buffer):
7169 * net/quickurl.el (quickurl, quickurl-browse-url):
7170 Fix typos in docstrings.
7171
693fbdb6
EZ
71722011-09-27 Eli Zaretskii <eliz@gnu.org>
7173
7174 * minibuffer.el (completion-styles)
7175 (completion-category-overrides): Cross reference each other in doc
7176 strings.
7177
8b457e28
GM
71782011-09-27 Glenn Morris <rgm@gnu.org>
7179
7180 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7181 to split-string. (Bug#9606)
7182
85a16208
LMI
71832011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7184
7185 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7186 (bug#9615).
7187
502f9ebd
CY
71882011-09-27 Chong Yidong <cyd@stupidchicken.com>
7189
7190 * emacs-lisp/package.el (list-packages): Fix echo area message.
7191
7690bdea
LL
71922011-09-27 Leo Liu <sdl.web@gmail.com>
7193
7194 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7195
e2ee6f30
MA
71962011-09-25 Michael Albinus <michael.albinus@gmx.de>
7197
7198 * net/dbus.el (dbus-unregister-object): Don't release services for
7199 registered signals. (Bug#9581)
7200
f3f98342
TZ
72012011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7202
7203 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7204 function that picks between cfengine 2 and 3 support
7205 automatically. Update docs accordingly.
7206
dd7aa8dd
KH
72072011-09-22 Kenichi Handa <handa@m17n.org>
7208
7209 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7210 ZERO.
7211 (indian-itrans-v5-table-for-tamil): New variable.
7212 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7213
3f2b07f8
KM
72142011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7215
7216 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7217 that's true if the current command involved collapsing of text.
7218 It's reset to false at the beginning of the next command.
7219 (allout-post-command-business): Move the cursor to the beginning
7220 of entry if the cursor is hidden and collapsing activity just
7221 happened.
7222
371d6a61
CY
72232011-09-24 Chong Yidong <cyd@stupidchicken.com>
7224
7225 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7226 tracking (Bug#9541).
7227
2ac2721a
UJ
72282011-09-24 Ulf Jasper <ulf.jasper@web.de>
7229
7230 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7231 (newsticker-show-news): Automatically load html rendering package
7232 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7233 because w3m-fill-column is let-bound" and the error "Symbol's value
7234 as variable is void: w3m-fill-column".
2ac2721a 7235
fac7ae53
MA
72362011-09-24 Michael Albinus <michael.albinus@gmx.de>
7237
7238 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7239 Release services only if they are defined. (Bug#9581)
7240
e08b633b
RS
72412011-09-23 Richard Stallman <rms@gnu.org>
7242
e488d29c
RS
7243 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7244 distinguish start of paragraph from start of its text.
7245
19c38752
RS
7246 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7247
e08b633b
RS
7248 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7249 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7250 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7251
0a39f27e
AS
72522011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7253
7254 * international/mule-diag.el (mule-diag): Insert a newline after
7255 each fontset description.
7256
db4e950d
SM
72572011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * simple.el (delete-trailing-whitespace):
7260 Document last change; simplify.
7261
eca3f3ea
PW
72622011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7263
d68e189a
PW
7264 * simple.el (delete-trailing-whitespace): Also delete
7265 extra newlines at the end of the buffer.
7266
eca3f3ea
PW
7267 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7268 (picture-newline): Use forward-line so as to ignore fields.
7269
01c157cc
SM
72702011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * subr.el (with-wrapper-hook): Fix edebug spec.
7273
022de23e
LMI
72742011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7275
7276 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7277 (bug#4538).
7278
91683089
MA
72792011-09-23 Michael Albinus <michael.albinus@gmx.de>
7280
eca3f3ea
PW
7281 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7282 Fix nasty bug using wrong cached values.
91683089 7283
5bdd6fa4
AM
72842011-09-23 Alan Mackenzie <acm@muc.de>
7285
7286 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7287
97adfb97
CY
72882011-09-23 Chong Yidong <cyd@stupidchicken.com>
7289
7290 * window.el (pop-to-buffer): Ensure right window is selected if we
7291 chose another frame.
7292
d4ef2b50
EZ
72932011-09-22 Eli Zaretskii <eliz@gnu.org>
7294
7295 * simple.el (what-cursor-position): Use get-char-property-change
7296 and next-single-char-property-change, to be able to show display
7297 properties that come from overlays as well as text properties.
7298
72258fe5
CY
72992011-09-22 Chong Yidong <cyd@stupidchicken.com>
7300
7301 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7302
7303 * cmuscheme.el (run-scheme, switch-to-scheme):
7304 * cus-edit.el (customize-group, custom-buffer-create)
7305 (customize-browse):
7306 * info.el (info):
7307 * shell.el (shell):
7308 * mail/sendmail.el (mail):
7309 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7310
8f098516
RS
73112011-09-22 Richard Stallman <rms@gnu.org>
7312
7313 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7314 move back only to line beg, don't move back over blank lines.
7315
e74f1bb6
MA
73162011-09-22 Michael Albinus <michael.albinus@gmx.de>
7317
7318 * files.el (copy-directory): Set directory attributes only in case
7319 they could be retrieved from the source directory. (Bug#9565)
7320
bfeef8b6
DK
73212011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7322
7323 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7324 (hs-find-block-beginning, hs-hide-level-recursive):
7325 Ignore strings as well as comments. (Bug#9502)
7326
7e423bb8
AS
73272011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7328
7329 * progmodes/sql.el (sql-comint-postgres):
7330 Convert port number to a string. (Bug#9566)
7331
b4d72fcf
MR
73322011-09-22 Martin Rudalics <rudalics@gmx.at>
7333
7334 * window.el (quit-window): Undedicate window when switching to
7335 previous buffer. Reported by Thierry Volpiatto
7336 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7337 (special-display-popup-frame): When popping up a new frame reset
7338 its previous buffers to nil. Simplify code.
b4d72fcf 7339
a7b88dc6
MA
73402011-09-21 Michael Albinus <michael.albinus@gmx.de>
7341
7342 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7343 and process filter, as done also in `shell-command'.
7344
cf4eacfd
MR
73452011-09-21 Martin Rudalics <rudalics@gmx.at>
7346
eca3f3ea 7347 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7348 Call set-window-start with NOFORCE argument t.
7349 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7350 (quit-window): Reword doc-string. Handle new format of
7351 quit-restore parameter. Don't delete window if it has a
7352 previous buffer we can show instead of the present one.
7353 (display-buffer-record-window): Rewrite using a new format for
7354 the quit-restore window parameter
7355 (special-display-popup-frame, display-buffer-same-window)
7356 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7357 (display-buffer-pop-up-window, display-buffer-use-some-window):
7358 Adapt symbol passed to display-buffer-record-window.
7359 * help.el (help-window-setup): Handle new format of quit-restore
7360 parameter.
7361
8d28cb95
SM
73622011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7363
94ab793f
SM
7364 * faces.el (face-list): Fix docstring (bug#9564).
7365
8d28cb95
SM
7366 * window.el (display-buffer--action-function-custom-type):
7367 Don't include internal functions in the Custom interface.
7368
3820edeb
JL
73692011-09-20 Juri Linkov <juri@jurta.org>
7370
7371 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7372 (Info-forward-node, Info-backward-node, Info-next-preorder)
7373 (Info-last-preorder): Use it. (Bug#9528)
7374
5147931d
JL
73752011-09-20 Juri Linkov <juri@jurta.org>
7376
7377 * info.el (Info-last-preorder): Visit last menu item only when
7378 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7379
cf499a1a
JD
73802011-09-20 Julien Danjou <julien@danjou.info>
7381
7382 * password-cache.el (password-cache-remove): Remove entries even if the
7383 value is nil, so that password with a nil value (negative caching) is
7384 possible to invalidate.
7385
f84e2fe2
LM
73862011-09-20 Lawrence Mitchell <wence@gmx.li>
7387
7388 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7389 all whitespace around breakpoint. (Bug#9553)
7390 (f90-find-breakpoint): Only break at whitespace inside a comment.
7391
78054a46
SM
73922011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * minibuffer.el (completion-file-name-table): Keep track of errors.
7395 (completion-table-with-predicate): Handle the case where pred1 is nil.
7396 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7397
345083b2
SM
73982011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7399
e24e27be
SM
7400 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7401 (debugger-return-value): Signal an error if the debugging context does
7402 not await any return value.
7403
345083b2
SM
7404 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7405 * image-mode.el (image-toggle-display-text)
7406 (image-toggle-display-image): Stay away from evil `intangible'.
7407
08d355e3
LL
74082011-09-19 Leo Liu <sdl.web@gmail.com>
7409
7410 * replace.el (occur-revert-arguments): Make it permanent-local.
7411 (occur-mode): Don't call font-lock-defontify.
7412
f01da43f
CY
74132011-09-19 Chong Yidong <cyd@stupidchicken.com>
7414
7415 * net/ldap.el (ldap-search-internal): Don't push empty search
7416 result (Bug#9508).
7417
b6072fa6
SM
74182011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7421
443d6696
MA
74222011-09-19 Michael Albinus <michael.albinus@gmx.de>
7423
7424 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7425 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7426
7cc6e154
JL
74272011-09-18 Juri Linkov <juri@jurta.org>
7428
7429 * buff-menu.el (Buffer-menu-mode-map):
7430 * dired.el (dired-mode-map):
7431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7432 (lisp-interaction-mode-map):
7433 * emacs-lisp/package.el (package-menu-mode-map):
7434 * epa.el (epa-key-list-mode-map):
7435 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7436 (menu-bar-options-menu):
7437 * outline.el (outline-mode-menu-bar-map):
7438 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7439 * vc/vc-dir.el (vc-dir-menu-map):
7440 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7441 Capitalize non-function content words in menu item strings.
7442
7443 * dired.el (dired-mode-map): Add menu item for
7444 `image-dired-dired-toggle-marked-thumbs'.
7445
80302a81
JL
74462011-09-18 Juri Linkov <juri@jurta.org>
7447
7448 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7449 to `isearch-case-fold-search' and restore its original value
7450 after the `isearch-mode' call.
7451
46c5cf66
JL
74522011-09-18 Juri Linkov <juri@jurta.org>
7453
7454 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7455 because `zgrep' returns 1 for successful matches (bug#9226).
7456
d18b513b
JL
74572011-09-18 Juri Linkov <juri@jurta.org>
7458
7459 * info.el (Info-extract-menu-node-name): Check the second match
7460 for empty string (second test-case of bug#9528).
7461 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7462 intermediate nodes to the history (first test-case of bug#9528).
7463
72753f87
JL
74642011-09-18 Juri Linkov <juri@jurta.org>
7465
7466 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7467 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7468
c9384295
JL
74692011-09-18 Juri Linkov <juri@jurta.org>
7470
1154d12e
JB
7471 * info.el (Info-file-supports-index-cookies):
7472 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7473 outputs one more line for long file names (bug#4142).
c9384295 7474
d473dce8
CY
74752011-09-18 Chong Yidong <cyd@stupidchicken.com>
7476
7477 * newcomment.el (comment-normalize-vars): If prompting for
7478 comment-start, set comment-start-skip too (Bug#8424).
7479
2176854d
JB
74802011-09-18 Johan Bockgård <bojohan@gnu.org>
7481
7482 * icomplete.el: Fix previous fix of Bug#5849.
7483 (icomplete-mode): Don't set completion-show-inline-help.
7484 (icomplete-minibuffer-setup): Set completion-show-inline-help
7485 locally during icompletion.
7486
3aace4e4
CY
74872011-09-18 Chong Yidong <cyd@stupidchicken.com>
7488
c940224f
CY
7489 * woman.el (woman2-process-escapes): Don't delete unrecognized
7490 escapes (Bug#7843).
7491
3aace4e4
CY
7492 * files.el (inhibit-first-line-modes-regexps): Add image files.
7493 (hack-local-variables-prop-line): Return nil for malformed
7494 prop-lines (Bug#9044).
7495
710dec63
MA
74962011-09-18 Michael Albinus <michael.albinus@gmx.de>
7497
7498 * net/tramp.el (top): Don't require 'shell.
7499 (tramp-methods): Fix docstring.
7500 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7501 Return complete remote file name. Handle "smb" case.
7502 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7503 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7504
7505 * net/tramp-compat.el (top): Require 'shell.
7506
7507 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7508 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7509 `tramp-current-host'.
7510 (tramp-get-remote-tmpdir): Remove.
7511
7512 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7513 `tramp-tmpdir' entries.
7514 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7515 (tramp-smb-handle-file-attributes): Ignore errors.
7516 (tramp-smb-wait-for-output): Check also for process end.
7517
5d5ac8ec
LMI
75182011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7519
7520 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7521 when sending QUIT (bug#9312).
7522
8c0f49f0
CY
75232011-09-17 Chong Yidong <cyd@stupidchicken.com>
7524
7525 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7526 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7527 occur-mode-display-occurrence.
7528 (occur-edit-mode): Add usage message.
7529 (occur-cease-edit): New command.
7530 (occur-after-change-function): Use text properties to find the
7531 position of the prefix text.
7532 (occur-engine): Set stickiness of prefix text properties.
7533
8f1383f7
GM
75342011-09-17 Glenn Morris <rgm@gnu.org>
7535
7536 * progmodes/etags.el (complete-tag):
7537 Fix call to completion-in-region. (Bug#9526)
7538
744ba0e3
JL
75392011-09-17 Juri Linkov <juri@jurta.org>
7540
7541 * textmodes/ispell.el (ispell-word): Add to the error message
7542 the word, ispell program name and current dictionary (bug#9121).
7543 (ispell-tex-arg-end): Capitalize "error" in the error message.
7544
d9bbf400
AS
75452011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7546
7547 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7548 check. (Bug#4251)
7549
8da11505
JL
75502011-09-17 Juri Linkov <juri@jurta.org>
7551
7552 * window.el (window-safe-min-height, window-safe-min-width):
7553 Fix typos (followup to bug#9522).
7554
a91adc7e
SJ
75552011-09-17 Sven Joachim <svenjoac@gmx.de>
7556
7557 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7558
064f328a
EZ
75592011-09-16 Eli Zaretskii <eliz@gnu.org>
7560
7561 * simple.el (line-move): If goal-column is set, move by logical
7562 lines, not by display lines. (Bug#971)
7563 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7564 to reflect the above change.
7565
e69df516
SM
75662011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * image.el (imagemagick-register-types): Use regexp-opt.
7569
cbb0f9ab
CY
75702011-09-15 Chong Yidong <cyd@stupidchicken.com>
7571
7572 * window.el (display-buffer-base-action): Rename from
7573 display-buffer-default-action. Make default value empty.
7574 (display-buffer-overriding-action): Convert to defvar.
7575 (display-buffer-fallback-action): New var.
7576
25322144
CY
75772011-09-15 Chong Yidong <cyd@stupidchicken.com>
7578
7579 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7580 declaration.
7581 (package--add-to-archive-contents): If there is a duplicate entry
7582 with an older version, remove it.
7583 (package-menu-mark-delete, package-menu-mark-install)
7584 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7585 (package-menu-mark-obsolete-for-deletion):
7586 Use package-menu-get-status instead of a regexp search.
25322144
CY
7587 (package-menu-get-status): Use tabulated-list-entry.
7588 (package-menu-mark-upgrades): New command.
d770725a 7589 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7590 (package-menu-execute): Do installation before deletion.
7591 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7592 instead of checking major-mode.
7593 (package-menu--find-upgrades): New function.
7594
7520339c
LMI
75952011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7596
7597 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7598 passwords in the log buffer.
65a046c4
LMI
7599 (smtpmail-process-filter): Update the process marker so that the
7600 "broken by peer" status message is inserted in the right place.
7520339c 7601
d3c30954
SM
76022011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7603
3fe48822
SM
7604 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7605 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7606 bibtex-completion-at-point-function.
7607 (bibtex-completion-at-point-function): Use them.
7608
1b8b3954
SM
7609 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7610
d3c30954
SM
7611 * mpc.el (mpc-constraints-tag-lookup): New function.
7612 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7613 also to browser "album|playlist".
7614
72779976
JL
76152011-09-14 Juri Linkov <juri@jurta.org>
7616
7617 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7618 (isearch-edit-string): Use length of `isearch-string' when
7619 `isearch-fail-pos' returns nil.
7620 (isearch-message): Remove duplicate code and call
7621 `isearch-fail-pos' with arg `t'.
7622
a0bf2bcd
CY
76232011-09-14 Chong Yidong <cyd@stupidchicken.com>
7624
17bb0a2d
CY
7625 * replace.el (occur-mode-goto-occurrence): Don't force using other
7626 window (Bug#9499).
7627
a0bf2bcd
CY
7628 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7629
f678e0b6
MR
76302011-09-14 Martin Rudalics <rudalics@gmx.at>
7631
7632 * window.el (display-buffer-window): Remove.
7633 (display-buffer-record-window): Use help-setup window parameter
7634 instead of variable display-buffer-window.
7635 (display-buffer-function, special-display-buffer-names)
7636 (special-display-function): Mention help-setup parameter instead
7637 of display-buffer-window in doc-string.
d3c30954
SM
7638 * help.el (help-window-setup): New argument help-window.
7639 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7640 Reword some messages.
7641 (with-help-window): Pass window used for displaying the buffer
7642 to help-window-setup. Don't set display-buffer-window.
7643
8e39b2e8
GM
76442011-09-13 Glenn Morris <rgm@gnu.org>
7645
7646 * emacs-lisp/debug.el (debugger-make-xrefs):
7647 Preserve point. (Bug#9462)
7648
85e9c04b
CY
76492011-09-13 Chong Yidong <cyd@stupidchicken.com>
7650
7651 * window.el (window-deletable-p): Use next-frame.
7652
1b36ed6a
MR
76532011-09-13 Martin Rudalics <rudalics@gmx.at>
7654
7655 * window.el (window-auto-delete): Remove.
7656 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7657 dedication and previous buffers.
1b36ed6a
MR
7658 (switch-to-prev-buffer): Don't delete window.
7659 (delete-windows-on): Delete a window's frame if and only if the
7660 window is dedicated.
7661 (replace-buffer-in-windows): Delete buffer's window or frame if
7662 and only if window is dedicated.
7663 (quit-window): Handle quit-restore as before last change.
4d61f28d 7664 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7665
ef8ef9fb
CY
76662011-09-13 Chong Yidong <cyd@stupidchicken.com>
7667
7668 * window.el (window-deletable-p): Never delete the last frame on a
7669 given terminal.
7670
b2cba41e
GM
76712011-09-13 Glenn Morris <rgm@gnu.org>
7672
7673 * help.el (describe-key-briefly): Copy previous standard-output change.
7674
51553db6 76752011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7676
7677 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7678
b7556719
GM
76792011-09-13 Glenn Morris <rgm@gnu.org>
7680
7681 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7682 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7683
64b51947
CY
76842011-09-12 Chong Yidong <cyd@stupidchicken.com>
7685
7686 * dired-aux.el (dired-mark-read-string): Don't return default
7687 value on empty input (Bug#9361).
7688 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7689 Omit initial minibuffer contents.
7690 (dired-do-chmod): Signal an error on empty input.
7691 (dired-mark-read-string): Don't return default on empty input.
7692
7693 * files.el (file-modes-symbolic-to-number): Doc fix.
7694
393a301e
SM
76952011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * international/mule-cmds.el (ucs-completions): Remove.
7698 (read-char-by-name): Use complete-with-action instead; add metadata.
7699
fa5660f9
CY
77002011-09-11 Chong Yidong <cyd@stupidchicken.com>
7701
7702 * window.el (display-buffer--action-function-custom-type)
7703 (display-buffer--action-custom-type): New vars.
7704 (display-buffer-alist, display-buffer-default-action)
7705 (display-buffer-overriding-action): Add defcustom types.
7706
4a592f66
CY
7707 * frame.el (delete-other-frames): Doc fix (Bug#276).
7708
73d56dbd
LMI
77092011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7710
7711 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7712
37ac18a3
CY
77132011-09-11 Chong Yidong <cyd@stupidchicken.com>
7714
7715 Change modes that used same-window-* vars to use switch-to-buffer.
7716
7717 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7718 Use switch-to-buffer.
7719
7720 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7721 (customize-browse, custom-buffer-create-other-window):
7722 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7723
7724 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7725 (Info-prev, Info-up, Info-speedbar-goto-node)
7726 (info-display-manual): Use switch-to-buffer.
7727 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7728
7729 * mail/sendmail.el (mail): Use switch-to-buffer.
7730 (mail-recover): Use switch-to-buffer-other-window.
7731
7732 * cmuscheme.el (run-scheme, switch-to-scheme):
7733 * ielm.el (ielm):
7734 * shell.el (shell):
7735 * net/rlogin.el (rlogin):
7736 * net/telnet.el (telnet, rsh):
7737 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7738
10195bd6
AS
77392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7740
7741 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7742
b322f63a
LMI
77432011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744
39d7fed6
LMI
7745 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7746 so don't mention it (bug#9301).
ba5a81f1 7747 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7748
ee0e9f11
LMI
7749 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7750 match `x', `w32' and `ns', like the manual says (bug#9029).
7751
0b1c89c1 7752 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7753 (process-kill-buffer-query-function): Mention the buffer name in
7754 the query.
0b1c89c1 7755
77549ea8
LMI
7756 * image-mode.el (image-next-line): The line parameter is mandatory
7757 (bug#9258).
7758
803ef892
LMI
7759 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7760 which can be useful (bug#9301).
7761
12980837
LMI
7762 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7763
91054f8f
LMI
7764 * subr.el (match-string): Mention that the current buffer should
7765 be the same as the search was done in (bug#9282).
7766
b322f63a
LMI
7767 * facemenu.el: Disable the remove-* commands if the mark isn't
7768 active (bug#9162).
7769
3199b96f
CY
77702011-09-10 Chong Yidong <cyd@stupidchicken.com>
7771
7772 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7773 of display-buffer.
7774 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7775
7776 * replace.el (occur-mode-goto-occurrence)
7777 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7778 and display-buffer.
7779
7780 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7781 display-buffer.
7782
7783 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7784 special-display and same-window variables.
7785 (mail-other-window): Use switch-to-buffer-other-window.
7786 (mail-other-frame): USe switch-to-buffer-other-frame.
7787
393a301e
SM
7788 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7789 Use display-buffer-other-frame.
3199b96f
CY
7790 (gdb-display-gdb-buffer): Use pop-to-buffer.
7791
7792 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7793
7794 * progmodes/python.el: Don't set same-window-buffer-names.
7795
7796 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7797
7798 * window.el (display-buffer-alist): Add *Python*.
7799
8319e0bf
CY
78002011-09-10 Chong Yidong <cyd@stupidchicken.com>
7801
7802 * window.el (display-buffer-alist): Add entry for buffers
7803 previously handled same-window-*.
7804 (display-buffer-alist, display-buffer-default-action)
7805 (display-buffer-overriding-action): Mark as risky.
7806 (display-buffer-alist): Document action function changes.
7807 (display-buffer--same-window-action)
7808 (display-buffer--other-frame-action): New variables.
7809 (switch-to-buffer, display-buffer-other-frame): Use them.
7810 (display-buffer): Rename reuse-frame entry to reusable-frames.
7811 (display-buffer-reuse-selected-window): Function deleted.
7812 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7813 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7814 (display-buffer-special): New function.
7815 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7816 display-buffer-reuse-or-pop-window. Split off special-display
7817 part into display-buffer-special.
7818 (display-buffer-use-some-window): Don't perform any special
7819 pop-up-frames handling.
7820 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 7821 (display-buffer--maybe-same-window): Rename from
0d3ff375 7822 display-buffer-maybe-same-window.
8319e0bf 7823
919a69aa
CY
7824 * info.el: Don't set same-window-regexps.
7825 (info-setup): New function.
7826 (info-other-window, info): Call it.
7827
7828 * cus-edit.el: Don't set same-window-regexps.
7829 (customize-group): New argument.
7830 (customize-group-other-window): Use it.
7831 (customize-face, customize-face-other-window): Likewise.
7832 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7833
8319e0bf
CY
7834 * net/rlogin.el:
7835 * net/telnet.el:
7836 * progmodes/gud.el: Don't set same-window-regexps.
7837
7838 * cmuscheme.el:
7839 * ielm.el:
7840 * shell.el:
7841 * mail/sendmail.el:
7842 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7843
25173000
JL
78442011-09-10 Juri Linkov <juri@jurta.org>
7845
7846 * isearch.el (isearch-edit-string): Remove obsolete mention of
7847 `C-w' (`isearch-yank-word-or-char') from docstring.
7848 (isearch-query-replace): Fix typo in docstring (bug#9466).
7849
056e44ef
JL
78502011-09-10 Juri Linkov <juri@jurta.org>
7851
7852 * paren.el (show-paren-function): Don't show escaped parens.
7853 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7854
c3760c17
EZ
78552011-09-10 Eli Zaretskii <eliz@gnu.org>
7856
7857 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7858 (mm-default-file-encoding): Remove autoload forms, they are
7859 replaced with autoload cookies in mml.el and mm-encode.el.
7860 (mail-add-attachment): New command.
7861 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7862 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7863 the doc string.
7864 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7865
fece895e
RT
78662011-09-10 Reuben Thomas <rrt@sc3d.org>
7867
e69df516
SM
7868 * simple.el (count-words-region): Use buffer if there's no region
7869 (bug#9429).
fece895e 7870
5e68ce4a
JL
78712011-09-09 Juri Linkov <juri@jurta.org>
7872
7873 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7874 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7875 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7876
0a6b9622
AM
78772011-09-09 Alan Mackenzie <acm@muc.de>
7878
7879 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7880 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7881
14a29deb
EZ
78822011-09-09 Eli Zaretskii <eliz@gnu.org>
7883
7884 Fix for Savannah bug#9392.
7885 * simple.el (mail-encode-mml): New defvar.
7886
7887 * mail/rmail.el (mail-encode-mml): Add a defvar.
7888 (rmail-enable-mime-composing): Default to t.
7889 (rmail-forward): Use MIME method of forwarding only if both
7890 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7891 Set mail-encode-mml non-nil if the MIME method was used.
7892
7893 * mail/sendmail.el (mml-to-mime): Add autoload form.
7894 (mail-encode-mml): Add a defvar.
7895 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7896 to nil.
7897 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7898 message through mml-to-mime, and reset mail-encode-mml to nil.
7899
28c45130
GM
79002011-09-09 Glenn Morris <rgm@gnu.org>
7901
7902 * woman.el (woman-if-body): When processing an .el block,
7903 do not delete the next .el block as well. (Bug#9447)
69f4b618 7904 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 7905
9b1c252e
MR
79062011-09-08 Martin Rudalics <rudalics@gmx.at>
7907
7908 * window.el (window-deletable-p): Make sure window is live before
7909 invoking window-prev-buffers.
7910
567457e3
LL
79112011-09-08 Leo Liu <sdl.web@gmail.com>
7912
7913 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7914
97f05794
JL
79152011-09-08 Juri Linkov <juri@jurta.org>
7916
7917 * progmodes/compile.el (compilation-environment): Make it
7918 a defcustom (bug#8340).
7919
8b0874b5
MR
79202011-09-08 Martin Rudalics <rudalics@gmx.at>
7921
7922 * window.el (frame-auto-delete): Rename to window-auto-delete.
7923 Make it control auto-deletion of windows and/or frames.
7924 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 7925 for deleting window/frame. (Bug#9419)
8b0874b5
MR
7926 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7927 Rewrite handling of case when window/frame can be deleted.
7928 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 7929 argument t. (Bug#9456)
8b0874b5 7930
4feb6e73
CY
79312011-09-07 Chong Yidong <cyd@stupidchicken.com>
7932
7933 * help-mode.el (help-mode): Restore autoload.
7934
91ab9c13
JL
79352011-09-07 Juri Linkov <juri@jurta.org>
7936
7937 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7938 `compilation-environment'. Set buffer-local
7939 `compilation-environment' to `thisenv' later after (funcall mode).
7940 (Bug#8340)
7941
7942 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7943 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7944 instead of replacing its value. (Bug#8340)
7945
0527e251
JL
79462011-09-07 Juri Linkov <juri@jurta.org>
7947
7948 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7949 based on text properties put by `grep-filter' instead of matching
7950 escape sequences.
7951 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7952 to the value of `grep-error-screen-columns' (bug#9438).
7953
249f792c
JL
79542011-09-07 Juri Linkov <juri@jurta.org>
7955
7956 * simple.el (next-error-highlight, next-error-highlight-no-select):
7957 Doc fix (bug#9432).
7958
ff7271b9
OT
79592011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7960
7961 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7962 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7963
183fc730
LL
79642011-09-07 Leo Liu <sdl.web@gmail.com>
7965
7966 * net/rcirc.el (rcirc-mode): Conditionally initialize
7967 rcirc-input-ring.
7968
77694924
SM
79692011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * emacs-lisp/find-func.el (find-function-C-source): Only set
7972 find-function-C-source-directory after checking that we found a source
7973 file there (bug#9440).
7974
d809b8eb
AM
79752011-09-06 Alan Mackenzie <acm@muc.de>
7976
7977 * isearch.el (isearch-other-meta-char): Wherever a key list is
7978 unread, "unread" the prefix arg, too. This fixes bug #8901.
7979
453de99f
OG
79802011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7981
7982 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7983
90439906
JL
79842011-09-05 Juri Linkov <juri@jurta.org>
7985
7986 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7987
f62bd846
JL
79882011-09-05 Juri Linkov <juri@jurta.org>
7989
7990 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7991 keeping point where processing of grep matches begins, and
7992 continue to delete remaining escape sequences from the same point.
7993 (grep-filter): Make leading zero optional in "0?1;31m" because
7994 git-grep emits "\033[1;31m" escape sequences unlike expected
7995 "\033[01;31m" as GNU Grep does (bug#9408).
7996 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7997
045820ec
JL
79982011-09-05 Juri Linkov <juri@jurta.org>
7999
8000 * subr.el (y-or-n-p): Capitalize "yes".
8001
f5e29b9b
MA
80022011-09-04 Michael Albinus <michael.albinus@gmx.de>
8003
8004 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8005 `tramp-cache-unload-hook' where appropriate.
8006 (tramp-methods): Rename `tramp-remote-sh' to
8007 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8008 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8009
8010 * net/tramp-sh.el (top): Don't require 'shell.
8011 (tramp-methods): Add `tramp-remote-shell' and
8012 `tramp-remote-shell-args' entries.
8013 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8014 (tramp-sh-handle-shell-command): Remove.
8015 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8016 Use `tramp-remote-shell'.
8017
2784c434
CY
80182011-09-03 Chong Yidong <cyd@stupidchicken.com>
8019
393a301e 8020 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8021 (sendmail-query-once): Save directly to send-mail-function.
8022 Update message-send-mail-function too.
8023
8024 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8025
464cdf56
CS
80262011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8027
8028 * progmodes/python.el (python-mode-map): Use correct function to
8029 start python interpreter from menu-bar (as reported by Geert
8030 Kloosterman).
8031 (inferior-python-mode-map): Fix typo.
393a301e 8032 (python-shell-map): Remove.
464cdf56 8033
d37e5c87
DD
80342011-09-03 Deniz Dogan <deniz@dogan.se>
8035
8036 * net/rcirc.el (rcirc-print): Simplify code for
8037 rcirc-scroll-show-maximum-output. There is no need to walk
8038 through all windows to find the right one.
8039
f3ada0ee
CS
80402011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8041
8042 * help.el (help-return-method): Doc fix.
8043
1f3c99ca
MR
80442011-09-03 Martin Rudalics <rudalics@gmx.at>
8045
8046 * window.el (window-deletable-p): Don't return a non-nil value
8047 when there's a buffer that was shown in the window before.
8048 (Bug#9419)
393a301e
SM
8049 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8050 Set window's previous buffers to nil.
1f3c99ca 8051
a3cf097f
EZ
80522011-09-03 Eli Zaretskii <eliz@gnu.org>
8053
8054 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8055 newline before and after the tag line, so it doesn't interfere
8056 with determining the paragraph direction of bidirectional text.
8057
3d03de90
LL
80582011-09-03 Leo Liu <sdl.web@gmail.com>
8059
8060 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8061
c3313451
CY
80622011-09-02 Chong Yidong <cyd@stupidchicken.com>
8063
393a301e 8064 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8065 (pop-to-buffer): Change interactive spec. Pass second argument
8066 directly to display-buffer.
8067 (display-buffer): Fix interactive spec. Use functionp to
8068 distinguish between a function and a list of functions.
8069
8070 * abbrev.el (edit-abbrevs):
8071 * arc-mode.el (archive-extract):
8072 * autoinsert.el (auto-insert):
8073 * bookmark.el (bookmark-bmenu-list):
8074 * files.el (find-file):
8075 * view.el (view-buffer):
8076 * progmodes/compile.el (compilation-goto-locus):
8077 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8078
89894cd8
CY
80792011-09-02 Chong Yidong <cyd@stupidchicken.com>
8080
8081 * window.el (display-buffer-alist): Doc fix.
8082 (display-buffer): Add docstring. Don't treat
8083 display-buffer-default specially.
8084 (display-buffer-reuse-selected-window)
8085 (display-buffer-same-window, display-buffer-maybe-same-window)
8086 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8087 (display-buffer-pop-up-window)
8088 (display-buffer-reuse-or-pop-window)
8089 (display-buffer-use-some-window): New functions.
8090 (display-buffer-default-action): Use them.
393a301e 8091 (display-buffer-default): Delete.
89894cd8
CY
8092 (pop-to-buffer-1): Fix choice of actions.
8093
ae0bc9fb
SM
80942011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * minibuffer.el (completion--insert-strings): Don't get confused by
8097 completion entries that end with an LF char.
8098
e9d90883
EZ
80992011-09-01 Eli Zaretskii <eliz@gnu.org>
8100
8101 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8102
437014c8
CY
81032011-09-01 Chong Yidong <cyd@stupidchicken.com>
8104
8105 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8106 (display-buffer-same-window, display-buffer-other-window):
8107 New functions.
437014c8
CY
8108 (pop-to-buffer-1): New function. Use the above.
8109 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8110 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8111
8112 * view.el (view-buffer-other-window, view-buffer-other-frame):
8113 Just use pop-to-buffer.
8114
a5e063d5
TV
81152011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8116
8117 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8118
793d32bb
WH
81192011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8120
8121 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8122
d65e4c15
RS
81232011-08-31 Richard Stallman <rms@gnu.org>
8124
8125 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8126 of the separation of rmail-view-buffer from rmail-buffer.
8127 If you say no to "replace original", the decrypt is in the
8128 view buffer. If you say yes, the decrypt goes into the
8129 rmail buffer also.
8130
f818cd2a
MR
81312011-08-31 Martin Rudalics <rudalics@gmx.at>
8132
8133 * window.el (display-buffer-window): Rewrite doc-string.
8134 (display-buffer-record-window): New function.
8135 (display-buffer-macro-specifiers)
8136 (display-buffer-even-window-sizes, display-buffer-set-height)
8137 (display-buffer-set-width, display-buffer-in-window)
8138 (display-buffer-reuse-window, display-buffer-split-specifiers)
8139 (display-buffer-side-specifiers, display-buffer-split-window-1)
8140 (display-buffer-split-window, display-buffer-split-atom-window)
8141 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8142 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8143 (display-buffer-other-window-means-other-frame)
8144 (display-buffer-normalize-special)
8145 (display-buffer-normalize-default)
8146 (display-buffer-normalize-argument)
8147 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8148 (display-buffer-normalize-specifiers, display-buffer-frame)
8149 (display-buffer-same-window, display-buffer-same-frame)
8150 (display-buffer-other-window)
8151 (display-buffer-same-frame-other-window)
8152 (display-buffer-other-frame, pop-to-buffer-same-window)
8153 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8154 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8155 (switch-to-buffer-same-frame)
8156 (switch-to-buffer-other-window-same-frame)
8157 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8158 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8159 (display-buffer-alist-set): Remove.
8160 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8161 (special-display-regexps, special-display-function):
8162 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8163 parameter.
8164 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8165 (special-display-frame-alist, special-display-popup-frame)
8166 (same-window-buffer-names, same-window-regexps, same-window-p)
8167 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8168 (split-window-preferred-function, split-height-threshold)
8169 (split-width-threshold, window-splittable-p)
8170 (split-window-sensibly, window--try-to-split-window)
8171 (window--frame-usable-p, even-window-heights)
8172 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8173 (window--display-buffer-2, display-buffer-other-frame):
8174 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8175 (display-buffer-default, display-buffer-assq-regexp): New functions.
8176 (display-buffer-alist): Rewrite doc-string.
8177 (display-buffer-default-action)
8178 (display-buffer-overriding-action): New variables.
8179 (display-buffer, switch-to-buffer): Rewrite.
8180 (pop-to-buffer): Restore Emacs 23 behavior but use
8181 window-normalize-buffer-to-display.
8182 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8183 Restore Emacs 23 behavior but use
8184 window-normalize-buffer-to-switch-to.
8185 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8186 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8187 Rewrite using Emacs 23 options.
f818cd2a 8188
5bc3b51d
MA
81892011-08-31 Michael Albinus <michael.albinus@gmx.de>
8190
8191 * net/tramp.el (tramp-root-regexp): Remove.
8192 (tramp-completion-file-name-regexp-unified)
8193 (tramp-completion-file-name-regexp-separate)
8194 (tramp-completion-file-name-regexp-url): Don't use leading volume
8195 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8196 (tramp-drop-volume-letter): Simplify definition.
8197 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8198
b1a4f8e1
SM
81992011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8202 (bug#9356).
8203
5664fa7b
RT
82042011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8205
b1a4f8e1 8206 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8207
9a45d6c3
JL
82082011-08-29 Juri Linkov <juri@jurta.org>
8209
8210 * isearch.el (isearch-done): Don't display message "Mark saved"
8211 when arg `edit' is non-nil to prevent its flicker in the echo area.
8212
fb87e0fb
CY
82132011-08-28 Chong Yidong <cyd@stupidchicken.com>
8214
8215 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8216 obsolete packages for deletion.
8217
09ac1c2a
CS
82182011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8219
8220 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8221 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8222 view-mode from help-mode.
8223 (help-xref-override-view-map): Remove.
8224 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8225 view-mode is not used anymore.
8226
7a1ff57f
CY
82272011-08-28 Chong Yidong <cyd@stupidchicken.com>
8228
8229 * server.el (server-port): Doc fix.
8230
b9696605
CY
8231 * cus-theme.el (custom-theme-choose-mode): Inherit from
8232 special-mode (Bug#9124).
8233 (custom-theme-choose-mode-map): Add special-mode to parent.
8234
ef8cdf8c
AM
82352011-08-28 Alan Mackenzie <acm@muc.de>
8236
8237 * progmodes/cc-fonts.el
8238 (c-make-font-lock-BO-decl-search-function): New function.
8239 (c-basic-matchers-after - "Fontify the clauses after various
8240 keywords"): Extract the three keyword lists for the 3 erroneous
8241 constructs from the list of four, and use the new function above
8242 in place of an old one.
8243
27de4e20
DD
82442011-08-28 Deniz Dogan <deniz@dogan.se>
8245
8246 * net/rcirc.el (rcirc-insert-prev-input)
8247 (rcirc-insert-next-input): Remove unused argument.
8248
356a3681
SM
82492011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8252
3fc9b218
AM
82532011-08-27 Alan Mackenzie <acm@muc.de>
8254
8255 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8256 handle function pointer parameters properly.
8257
538a061c
MR
82582011-08-27 Martin Rudalics <rudalics@gmx.at>
8259
8260 * window.el (display-buffer-reuse-window): Fix case where
8261 selected window was reused with non-nil OTHER-WINDOW argument.
8262 (Bug#9381)
8263
35b1c40c
DD
82642011-08-27 Deniz Dogan <deniz@dogan.se>
8265
8266 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8267 oftc's NickServ messages.
8268
2f6a3e79
GM
82692011-08-27 Glenn Morris <rgm@gnu.org>
8270
8271 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8272
7254299e
CY
82732011-08-26 Chong Yidong <cyd@stupidchicken.com>
8274
8275 * emacs-lisp/package.el (package-install): Call package-initialize
8276 if called interactively.
8277
f8ccf167
LL
82782011-08-26 Leo Liu <sdl.web@gmail.com>
8279
8280 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8281
3e8cd5ce
JL
82822011-08-25 Juri Linkov <juri@jurta.org>
8283
8284 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8285 `search-whitespace-regexp' (bug#9364).
8286
93eb7113
JL
82872011-08-25 Juri Linkov <juri@jurta.org>
8288
8289 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8290 `regexp-search-ring' to their global values to protect from
8291 updating by `read-from-minibuffer' (bug#9185).
8292
f65d1611
JL
82932011-08-25 Juri Linkov <juri@jurta.org>
8294
8295 * textmodes/ispell.el (ispell-command-loop): Add newline
8296 at the end of the "Use option `i'..." line.
8297
f1cf7a31
JL
82982011-08-25 Juri Linkov <juri@jurta.org>
8299
8300 * battery.el (display-battery-mode): If `battery-status-function'
8301 or `battery-mode-line-format' is nil, display the message and set
8302 `display-battery-mode' to nil (bug#9363).
8303
0c95fcf7
EZ
83042011-08-25 Eli Zaretskii <eliz@gnu.org>
8305
8306 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8307 bidi-string-mark-left-to-right; they are unnecessary now.
8308
a2ebe600
DD
83092011-08-25 Deniz Dogan <deniz@dogan.se>
8310
8311 * net/quickurl.el: Documentation typo fixes.
8312
e4ed06f1
CY
83132011-08-25 Chong Yidong <cyd@stupidchicken.com>
8314
8315 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8316
e5f1c99e
GM
83172011-08-25 Glenn Morris <rgm@gnu.org>
8318
b2948976
GM
8319 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8320
e5f1c99e
GM
8321 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8322 (smtpmail-via-smtp): Handle nil response from smtp.
8323
f22f4808
JL
83242011-08-24 Juri Linkov <juri@jurta.org>
8325
8326 * proced.el (proced-marked): Inherit from `error' instead of
8327 `font-lock-warning-face'.
8328
8329 * ibuffer.el (ibuffer-marked-face): Change default face from
8330 `font-lock-warning-face' to `warning'.
8331 (ibuffer-deletion-face): Change default face from
8332 `font-lock-type-face' to `error'.
8333
8334 * battery.el (battery-update): Use the face `error' instead of
8335 `font-lock-warning-face' (bug#6117).
8336
6a93965e
JL
83372011-08-24 Juri Linkov <juri@jurta.org>
8338
8339 * faces.el (success): Change face color from "Green3" to
8340 "ForestGreen" on light background (bug#9353).
8341
1ed43b09
CY
83422011-08-24 Chong Yidong <cyd@stupidchicken.com>
8343
5664fa7b
RT
8344 * window.el (quit-window): Rename from quit-restore-window.
8345 Use same arglist as old quit-window.
1ed43b09
CY
8346 (frame-auto-delete): Doc fix.
8347
8348 * view.el (view-mode-exit): Use quit-window.
8349
11dcdbb2
JL
83502011-08-24 Juri Linkov <juri@jurta.org>
8351
8352 * isearch.el (isearch-ring-adjust1): Start visiting previous
8353 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8354 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8355 for empty search string (when the last search string is reused
8356 automatically) to adjust the isearch ring to the last element and
8357 prepare the correct index for further M-p commands (bug#9185).
8358
de62b4df
KH
83592011-08-24 Kenichi Handa <handa@m17n.org>
8360
8361 * international/ucs-normalize.el: If decomposition property of
8362 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8363 nil.
8364 (nfd, nfkd): Likewise.
8365
963b492b
SM
83662011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8369 from process filters aren't reliably transmitted to the surrounding
8370 accept-process-output.
8371 (mpc-proc-check): New function.
8372 (mpc-proc-sync): Use it (bug#8293)
8373
93b6b5e1
SM
83742011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8377 Add compatibility functions (bug#9313).
8378
bca633fb
EZ
83792011-08-23 Eli Zaretskii <eliz@gnu.org>
8380
b177498a
EZ
8381 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8382
6df6ae42 8383 * international/uni-bidi.el: Regenerate.
bca633fb 8384
0902a04e
KH
83852011-08-23 Kenichi Handa <handa@m17n.org>
8386
8387 * international/charprop.el:
8388 * international/uni-bidi.el:
8389 * international/uni-category.el:
8390 * international/uni-combining.el:
8391 * international/uni-comment.el:
8392 * international/uni-decimal.el:
8393 * international/uni-decomposition.el:
8394 * international/uni-digit.el:
8395 * international/uni-lowercase.el:
8396 * international/uni-mirrored.el:
8397 * international/uni-name.el:
8398 * international/uni-numeric.el:
8399 * international/uni-old-name.el:
8400 * international/uni-titlecase.el:
8401 * international/uni-uppercase.el: Regenerate.
8402
3bbf23bc
MR
84032011-08-23 Martin Rudalics <rudalics@gmx.at>
8404
8405 * help.el (help-window-setup): Fix message displayed when other
8406 window is reused. (Bug#9341)
8407
b3fd59bd
SM
84082011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8409
1802e444
SM
8410 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8411 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8412
b3fd59bd
SM
8413 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8414 Mark obsolete.
8415 * shell.el (shell-parse-pcomplete-arguments): New function.
8416 (shell-completion-vars): Use it instead (bug#9160).
8417
4eb61348
SM
84182011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8419
867cab74
SM
8420 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8421 strings and comments (bug#9333).
8422
4eb61348
SM
8423 * emacs-lisp/debug.el (debug-arglist): New function.
8424 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8425 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8426
262a1439
JL
84272011-08-22 Juri Linkov <juri@jurta.org>
8428
56ee679c
JL
8429 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8430 Revert regexp that highlights output switches to its old
8431 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8432
262a1439
JL
8433 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8434 to check for empty output (bug#9226).
8435
f13f86fb
CY
84362011-08-22 Chong Yidong <cyd@stupidchicken.com>
8437
8438 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8439 symbol-constituent as the default, as that stops font-lock from
8440 working properly (Bug#8843).
8441
c65c9622
LMI
84422011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8443
8444 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8445 `coding-system-for-*' around the process open call to avoid
8446 auth-source side effects.
e7f2c178 8447 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8448 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8449 probe hangs.
c65c9622 8450
23a8a5ab
CY
84512011-08-21 Chong Yidong <cyd@stupidchicken.com>
8452
ff98b2dd
CY
8453 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8454
23a8a5ab
CY
8455 * emacs-lisp/find-func.el (find-function-noselect): New arg
8456 lisp-only.
8457
8458 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8459 signal an error for built-in functions (Bug#6664).
8460
f5e3c598
LMI
84612011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8462
8463 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8464 (smtpmail-try-auth-methods): Use it.
8465
a3f2468a
CY
84662011-08-21 Chong Yidong <cyd@stupidchicken.com>
8467
2c34e8da
CY
8468 * font-lock.el (font-lock-fontify-region)
8469 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8470 (font-lock-default-unfontify-buffer)
8471 (font-lock-default-fontify-region)
8472 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8473
b3fd59bd
SM
8474 * progmodes/compile.el (compilation-error-properties):
8475 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8476 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8477 `ant' regexp.
ee31aabc 8478
a3f2468a
CY
8479 * net/browse-url.el (browse-url-firefox): Don't call
8480 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8481
8e999f70
GM
84822011-08-20 Glenn Morris <rgm@gnu.org>
8483
c21a496a
GM
8484 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8485
59ee0542
GM
8486 * tutorial.el (tutorial--default-keys): Update some default bindings.
8487
8e999f70
GM
8488 * files.el (hack-local-variables): Fully ignore case for "mode:".
8489
e3715033
AM
84902011-08-20 Alan Mackenzie <acm@muc.de>
8491
8492 Resolve invalid use of a regexp in regexp-opt.
8493
4d61f28d
JB
8494 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8495 detection for a java annotation.
e3715033 8496
4d61f28d 8497 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8498 detection for a java annotation.
8499
4d61f28d
JB
8500 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8501 handling for java.
e3715033
AM
8502 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8503
04ed2e9c
CY
85042011-08-20 Chong Yidong <cyd@stupidchicken.com>
8505
8506 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8507 (Bug#9274).
8508
826cee64
AM
85092011-08-20 Alan Mackenzie <acm@muc.de>
8510
58179cce 8511 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8512 such a construct. Mainly for when jit-lock etc. starts a chunk
8513 here.
8514
58179cce 8515 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8516 variable.
58179cce 8517 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8518 c-make-font-lock-search-function.
8519 (c-make-font-lock-search-function): Use the above function.
8520 (c-make-font-lock-context-search-function): New function.
8521 (c-cpp-matchers): Enhance the preprocessor expression case with
8522 the above function
8523 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8524 which takes an expression.
8525
8526 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8527
13009bd8
MR
85282011-08-20 Martin Rudalics <rudalics@gmx.at>
8529
8530 * window.el (display-buffer-reuse-window)
8531 (display-buffer-pop-up-window): Don't reuse or split a side
8532 window.
8533
9234ff7f
GM
85342011-08-19 Glenn Morris <rgm@gnu.org>
8535
8536 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8537 Downcase "Mode:". (Bug#9331)
9234ff7f 8538
f635daa1
CY
85392011-08-18 Chong Yidong <cyd@stupidchicken.com>
8540
8541 * international/characters.el: Add L and R categories.
8542
8543 * subr.el (bidi-string-mark-left-to-right): Rename from
8544 string-mark-left-to-right. Use category search.
8545
8546 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8547
bc987f8b
JL
85482011-08-18 Juri Linkov <juri@jurta.org>
8549
8550 * faces.el (error, warning, success): New faces with definitions
8551 copied from old default values of `font-lock-warning-face',
8552 `compilation-warning', `compilation-info' (bug#6117).
8553
8554 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8555
8556 * progmodes/compile.el (compilation-error): Inherit from `error'.
8557 (compilation-warning): Inherit from `warning'.
8558 (compilation-info): Inherit from `success'.
8559
8560 * dired.el (dired-marked): Inherit from `warning'.
8561 (dired-flagged): Inherit from `error'.
8562
57173b96
LMI
85632011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8564
3e79eb87
LMI
8565 * mail/smtpmail.el (auth-source): Require to avoid problems with
8566 binding variables (bug#9298). Also clean up some unused
8567 autoloads.
8568
b3fd59bd
SM
8569 * net/network-stream.el (network-stream-open-starttls):
8570 Support using starttls.el without using gnutls-cli.
57173b96 8571
02b404de
JL
85722011-08-17 Juri Linkov <juri@jurta.org>
8573
8574 * progmodes/grep.el (rgrep): Handle the case when
8575 `grep-find-command' is a cons cell (bug#9278).
8576
8c9177f2
MR
85772011-08-17 Martin Rudalics <rudalics@gmx.at>
8578
8579 * window.el (display-buffer-pop-up-frame): Run frame creation
8580 function with BUFFER current (as special-display-popup-frame
8581 does). Reported by Drew Adams.
8582
3644a0ab
DU
85832011-08-17 Daiki Ueno <ueno@unixuser.org>
8584
8585 * epa-mail.el: Simplify GnuPG group expansion using
8586 epg-expand-group.
8587 (epa-mail-group-alist, epa-mail-group-modtime)
8588 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8589 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8590 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8591 Remove.
8592
5e617bc2 85932011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8594
8595 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8596
9c4aeabf
AM
85972011-08-16 Alan Mackenzie <acm@muc.de>
8598
8599 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8600 Correct, to avoid the inside of macros.
8601
3a99bf64
RS
86022011-08-16 Richard Stallman <rms@gnu.org>
8603
04963aa8
RS
8604 * epa-mail.el: Handle GnuPG group definitions.
8605 (epa-mail-group-alist, epa-mail-group-modtime)
8606 (epa-mail-gnupg-conf-file): New variables.
8607 (epa-mail-parse-groups, epa-mail-sync-groups)
8608 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8609 (epa-mail-expand-recipients): New functions.
8610 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8611
177549d0
RS
8612 * mail/rmail.el (rmail-epa-decrypt): New command.
8613
fe38beef
RS
8614 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8615 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8616 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8617 (epa-decrypt-armor-in-region): Make error message clearer.
8618
934eacb9
SM
86192011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8622 and "a2b" to "ab" for `prefix'.
8623
d024fb4e
CY
86242011-08-14 Chong Yidong <cyd@stupidchicken.com>
8625
8626 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8627 filter groups.
de148fee
CY
8628 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8629 Fourquet (Bug#8804).
d024fb4e 8630
62f1ca49
JB
86312011-08-12 Juanma Barranquero <lekktu@gmail.com>
8632
8633 * startup.el (argi): Declare as global variable (bug#9275).
8634
9ccaaa4b
CY
86352011-08-12 Chong Yidong <cyd@stupidchicken.com>
8636
8637 * subr.el (string-mark-left-to-right): Search the entire string
8638 for RTL script, not just the terminating character. Doc fix.
8639
a3dae87a
SM
86402011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8641
6cd18349
SM
8642 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8643 New function.
8644 (js--regexp-literal, js-syntax-propertize-function): Remove.
8645 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8646 (js-mode-map): Don't rebind electric keys.
8647 (js-insert-and-indent): Remove.
8648 (js-mode): Setup electric-layout and electric-indent instead.
8649
a3dae87a
SM
8650 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8651
9d5cb631
DU
86522011-08-12 Daiki Ueno <ueno@unixuser.org>
8653
8654 * epa.el (epa-progress-callback-function): Fix the logic of
8655 displaying progress.
8656 * epa-file.el (epa-file-insert-file-contents): Make progress
8657 display more user-friendly.
8658 (epa-file-write-region): Ditto.
8659
3e26a4a2
CY
86602011-08-10 Chong Yidong <cyd@stupidchicken.com>
8661
8662 * subr.el (string-mark-left-to-right): New function.
8663
8664 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8665 Use string-mark-left-to-right.
8666 (list-buffers-noselect): Caller changed.
8667
a3dae87a
SM
8668 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8669 Use string-mark-left-to-right.
3e26a4a2
CY
8670 (tabulated-list-print): Recenter after moving point.
8671
ac8cf6e6
JL
86722011-08-10 Juri Linkov <juri@jurta.org>
8673
8674 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8675 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8676 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8677
8d96c9a4
CY
86782011-08-09 Chong Yidong <cyd@stupidchicken.com>
8679
8680 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8681 (Bug#7554).
8682
7be1c708 86832011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8684
8685 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8686 character. (Bug#6594)
8687
37e11a63
CY
86882011-08-08 Chong Yidong <cyd@stupidchicken.com>
8689
839dde57
CY
8690 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8691 (image-dired--with-db-file): New macro.
8692 (image-dired-write-tags, image-dired-remove-tag)
8693 (image-dired-create-gallery-lists, image-dired-write-comments)
8694 (image-dired-get-comment, image-dired-mark-tagged-files)
8695 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8696 (image-dired-gallery-generate): Use insert-file-contents.
8697
37e11a63
CY
8698 * time.el (display-time-world-list, display-time-world-display):
8699 * time-stamp.el (time-stamp-string):
8700 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8701 set-time-zone-rule (Bug#7337).
8702
0b4946c4
DU
87032011-08-08 Daiki Ueno <ueno@unixuser.org>
8704
8705 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8706 (epg-error-to-string, epg-errors-to-string): New function.
8707 (epg-wait-for-completion): Reverse errors list.
8708 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8709 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8710 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8711 (epg-sign-keys, epg-generate-key-from-file)
8712 (epg-generate-key-from-string): Format errors by using
8713 epg-errors-to-string (bug#9255).
8714 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8715
75bfc667
JL
87162011-08-07 Juri Linkov <juri@jurta.org>
8717
8718 * faces.el (list-faces-display): Remove extra angle bracket
8719 from `help-mode-map'.
8720
8721 * info.el (Info-history-toc-nodes): Doc fix.
8722
8723 * longlines.el (longlines-mode): Doc fix.
8724
673e08bb
SM
87252011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8726
4640dd88
SM
8727 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8728 of statements and in a few more cases (bug#9183).
8729
673e08bb
SM
8730 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8731 New functions.
8732 (cl-transform-lambda): Use them (bug#9239).
8733
89b3f019
MR
87342011-08-05 Martin Rudalics <rudalics@gmx.at>
8735
8736 * window.el (display-buffer-same-window)
8737 (display-buffer-same-frame, display-buffer-other-window)
8738 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8739 (pop-to-buffer-other-window)
8740 (pop-to-buffer-same-frame-other-window)
8741 (pop-to-buffer-other-frame): Make them defuns.
8742 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8743
640c8776
SM
87442011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * subr.el (make-composed-keymap): Move from C. Change calling
8747 convention, and improve docstring to bring attention to a subtle point.
8748 * minibuffer.el (completing-read-default): Adjust accordingly.
8749
63648a95
MA
87502011-08-03 Michael Albinus <michael.albinus@gmx.de>
8751
8752 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8753 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8754
8755 * net/trampver.el: Update release number.
8756
b796c9b7
SM
87572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8760 "in" (bug#9190).
8761
2239d7d5
LMI
87622011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8763
e07dd7c3
LMI
8764 * mail/sendmail.el (sendmail-query-once): Restore the current
8765 buffer after querying (bug#9074).
8766
0e6a2bd7
LMI
8767 * dired.el (dired-flagged): Use different faces for marked and
8768 flagged files (bug#6117).
8769
ce887515
LMI
8770 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8771 (bug#4433).
8772
92f2affc
LMI
8773 * ido.el (ido-mode): Switch off the message if called
8774 non-interactively.
8775
57d5aff0
LMI
8776 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8777 before 587, since it appears that that's more likely to work for
8778 more people.
8779
98cd6c18 8780 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 8781 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
8782 exist.
8783
b96dec83
LMI
8784 * info.el: Remove the `Info-beginning-of-buffer' function
8785 (bug#8325).
8786
b796c9b7
SM
8787 * net/network-stream.el (network-stream-open-starttls):
8788 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 8789
d90e2ea0
MR
87902011-08-01 Martin Rudalics <rudalics@gmx.at>
8791
8792 * window.el (display-buffer-in-window): Don't set dedicated status
8793 of window here (Bug#9215).
8794 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8795 (display-buffer-pop-up-side-window)
b796c9b7 8796 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 8797
cca09170
SM
87982011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8799
8800 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8801 before binding generated-autoload-file.
8802
027b979c
DD
88032011-08-01 Deniz Dogan <deniz@dogan.se>
8804
8805 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8806
3c7ee4f3
MA
88072011-07-30 Michael Albinus <michael.albinus@gmx.de>
8808
8809 Sync with Tramp 2.2.2.
8810
8811 * net/trampver.el: Update release number.
8812
2cc8e51a
JL
88132011-07-30 Juri Linkov <juri@jurta.org>
8814
8815 * dired-aux.el (dired-touch-initial): Remove function.
8816 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8817 current time, and `default' to the last modification time of the
8818 current marked file (bug#6887).
8819
a514d856
JM
88202011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8821
8822 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 8823 numeric argument to read-number (bug#9163).
a514d856 8824
8a7eddd7
MA
88252011-07-27 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8828 connection process, it could be nil.
8829
1ddd96f5
LL
88302011-07-27 Leo Liu <sdl.web@gmail.com>
8831
8832 Simplify url handling in rcirc-mode.
8833
8834 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8835 (rcirc-browse-url-at-mouse): Remove.
8836 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8837
b248a85d
AM
88382011-07-26 Alan Mackenzie <acm@muc.de>
8839
8840 Fontify bitfield declarations properly.
8841
8842 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8843 (c-symbol-chars): Now exported as a lang variable.
8844 (c-not-primitive-type-keywords): New lang variable.
8845
8846 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8847 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 8848 parsed as a bitfield declaration.
b248a85d 8849
b796c9b7
SM
8850 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8851 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
8852 (c-punctuation-in): New function.
8853 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8854 declarations properly.
8855
68575ab0
UJ
88562011-07-26 Ulf Jasper <ulf.jasper@web.de>
8857
8858 * calendar/icalendar.el (icalendar--all-events): Take care of
8859 multiple vcalendars in a single file.
b796c9b7 8860 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 8861
0f0a88b9
DD
88622011-07-25 Deniz Dogan <deniz@dogan.se>
8863
8864 * image.el (insert-image): Clarifying docstring.
8865
0b3f36df
MA
88662011-07-24 Michael Albinus <michael.albinus@gmx.de>
8867
8868 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8869 `tramp-send-command-and-check' if there is no error.
8870 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8871
a9901f61
AM
88722011-07-22 Alan Mackenzie <acm@muc.de>
8873
8874 Prevent cc-langs.elc being loaded at run time.
8875
8876 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8877 cc-langs.
8878
4d61f28d 8879 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
8880 "(require 'cc-langs)". Quote a form so it will evaluate at
8881 (cc-mode's) compilation time.
8882
11d074b2
MA
88832011-07-22 Michael Albinus <michael.albinus@gmx.de>
8884
8885 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8886 loading. (Bug#9114)
8887
938b94c8
MR
88882011-07-21 Martin Rudalics <rudalics@gmx.at>
8889
8890 * window.el (display-buffer-pop-up-window)
8891 (display-buffer-pop-up-side-window)
8892 (display-buffer-in-side-window): Call display-buffer-set-height
8893 and display-buffer-set-width after setting the new window's
b796c9b7 8894 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 8895
bfa4f190
SS
88962011-07-20 Sam Steingold <sds@gnu.org>
8897
8898 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8899 (etags-tags-included-tables): Call `convert-standard-filename' on
8900 the file names contained in TAGS so that windows Emacs can handle
8901 TAGS files created by cygwin ctags.
8902
8ca42262
LMI
89032011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8904
8905 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8906 which apparently didn't work.
8907
5db2afd2 89082011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 8909
5db2afd2
RW
8910 * proced.el (proced-send-signal): For *Marked Processes* buffer
8911 put point at beginning of buffer.
8912
92e15d10
SB
89132011-07-19 Stephen Berman <stephen.berman@gmx.net>
8914
8915 * proced.el (proced-format): Make header lines align with the text
8916 (bug#1779).
8917
1bfd59e5
LMI
89182011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8919
8920 * view.el (view-buffer): Allow running in `special' modes if we're
8921 visiting a file (bug#8615).
8922
f5aae37c
MR
89232011-07-19 Martin Rudalics <rudalics@gmx.at>
8924
8925 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
8926 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8927 New functions.
f5aae37c
MR
8928 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8929 more accurately.
8930
bf2c1571
AM
89312011-07-18 Alan Mackenzie <acm@muc.de>
8932
8933 Fontify declarators properly when, e.g., a jit-lock chunk begins
8934 inside a declaration.
8935
8936 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8937
b796c9b7
SM
8938 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8939 New function.
bf2c1571
AM
8940 (c-complex-decl-matchers): Insert reference to
8941 c-font-lock-enclosing-decls.
8942
8943 * progmodes/cc-engine.el (c-backward-single-comment):
8944 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8945 to nil around calls to (forward-comment -1).
8946
4e190b80
LMI
89472011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8948
12dc863d
LMI
8949 * image.el (put-image): Doc typo fix.
8950
a762e966
LMI
8951 * progmodes/etags.el (tags-search): Doc typo fix.
8952
4e190b80
LMI
8953 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8954 password if we get errors 550 to 554.
8955
f019fb21
LMI
89562011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8957
b796c9b7 8958 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 8959
81746738
LMI
8960 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8961 indentation character (bug#6380).
8962
3ee3a1b5
LMI
8963 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8964
c82f64de
LMI
8965 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8966 to clarify what the problem is (bug#4291).
8967
f019fb21
LMI
8968 * simple.el (current-kill): Clarify what
8969 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
8970 (auto-fill-mode): Document `auto-fill-function' in relation to
8971 `auto-fill-mode' (bug#2470).
f019fb21 8972
0794775d
LM
89732011-07-16 Lawrence Mitchell <wence@gmx.li>
8974
8975 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8976 method if slot is read-only (bug#9035).
8977
be39b8cc
MR
89782011-07-16 Martin Rudalics <rudalics@gmx.at>
8979
b796c9b7 8980 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 8981 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
8982 selected before, see discussion of (Bug#8615), (Bug#6954).
8983 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 8984
6ccf7859
GM
89852011-07-15 Glenn Morris <rgm@gnu.org>
8986
8987 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 8988 Respect help-form.
6ccf7859 8989
87e86684
LM
89902011-07-09 Lawrence Mitchell <wence@gmx.li>
8991
8992 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8993 (gnutls-negotiate): Use it.
8994
d6066239
LMI
89952011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8996
b796c9b7
SM
8997 * net/gnutls.el (gnutls-negotiate):
8998 Upcase `gnutls-algorithm-priority'.
d6066239 8999
bd23ebc0
GM
90002011-07-15 Glenn Morris <rgm@gnu.org>
9001
c65bca65
GM
9002 * jka-compr.el (jka-compr-verbose): Move from here...
9003 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9004 Add missing :version tag.
9005 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9006
478615cc
LMI
90072011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9008
7b41decb
LMI
9009 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9010 (gnutls-negotiate): Use it.
9011
dbc44fcd
LMI
9012 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9013
06789f97
LMI
9014 * info.el (Info-beginning-of-buffer): New command.
9015 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9016 announcing `b' as the key (bug#8325).
ab896c37 9017 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9018
c39da690
LMI
9019 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9020
3aa5f34b
LMI
9021 * international/mule-cmds.el
9022 (describe-specified-language-support): Make the error message
9023 clearer (bug#8905).
9024
4bf0979f
LMI
9025 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9026
478615cc
LMI
9027 * isearch.el (isearch-barrier): Add a doc string, since it's
9028 mentioned in a function doc string (bug#8678).
9029
75c68aa1
MR
90302011-07-15 Martin Rudalics <rudalics@gmx.at>
9031
9032 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9033 buffer argument (Bug#9083) and self-identifying label argument.
9034
a7c33da2
GM
90352011-07-15 Glenn Morris <rgm@gnu.org>
9036
9037 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9038
2f5c6024
LMI
90392011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9040
9041 * man.el (Man-fontify-manpage): Fix message when formatting the
9042 man page (bug#7929).
9043
0bb23927 90442011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9045
9046 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9047 argument LRM; if non-nil, append an invisible LRM character to the
9048 buffer name.
9049 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9050 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9051 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9052 paragraph direction.
cce4b0a7 9053
621ef9ab
LMI
90542011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9055
d1583c48
LMI
9056 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9057 the man page name (bug#7929).
9058
6a57fb5f
LMI
9059 * image.el (put-image): Mention the `put-image' overlay property
9060 (bug#7834).
9061
d7956b14
LMI
9062 * scroll-bar.el (set-scroll-bar-mode): Mention that
9063 `scroll-bar-mode' lists the values (bug#7772).
9064
5b2d4a66
LMI
9065 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9066 command (bug#7729).
9067
7509a874
LMI
9068 * rect.el (apply-on-rectangle): Return the point after the last
9069 operation.
9070 (string-rectangle): Go to the point after the last operation
9071 (bug#7522).
9072
4fe74b19
LMI
9073 * printing.el (pr-toggle-region): Clarify the documentation
9074 slightly (bug#7493).
9075
b796c9b7
SM
9076 * time.el (display-time-update):
9077 Allow `display-time-mail-function' to return nil (bug#7158).
9078 Fix suggested by Detlev Zundel.
ab283561 9079
fc233c9d
LMI
9080 * vc/diff.el (diff): Clarify the order the file names are read
9081 (bug#7111).
9082
43f5740b
LMI
9083 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9084 the doc string (bug#7015).
9085
f2182a76
LMI
9086 * font-lock.el (font-lock-maximum-decoration): Mention what
9087 numeric levels mean (bug#6935).
9088
621ef9ab
LMI
9089 * startup.el (initial-buffer-choice): Don't mention the `none'
9090 selection, which is against policy.
9091
adc47434
MR
90922011-07-14 Martin Rudalics <rudalics@gmx.at>
9093
b796c9b7
SM
9094 * window.el (display-buffer-normalize-special):
9095 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9096
7e5bfb8f
EZ
90972011-07-14 Eli Zaretskii <eliz@gnu.org>
9098
9099 * subr.el (version<, version<=, version=): Mention "-CVS" and
9100 "-12345" alpha version numbers.
9101
27fa387a
CY
91022011-07-14 Chong Yidong <cyd@stupidchicken.com>
9103
9104 * bindings.el: Add advertised binding for set-mark-command
9105 (Bug#5772).
9106
8bdfa064
CY
91072011-07-14 Chong Yidong <cyd@stupidchicken.com>
9108
9109 * bindings.el (mode-line-other-buffer):
9110 * bookmark.el (bookmark-bmenu-2-window):
9111 * bs.el (bs-cycle-next, bs-cycle-previous):
9112 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9113 switch-to-buffer.
9114
9115 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9116 Delete.
8bdfa064 9117
5eba16a3
JB
91182011-07-14 Juanma Barranquero <lekktu@gmail.com>
9119
9120 * follow.el (follow-debug-message, follow-redisplay):
9121 * jka-cmpr-hook.el (with-auto-compression-mode):
9122 Fix typos in docstrings.
9123
15853710
LMI
91242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9125
a28e4607
LMI
9126 * subr.el (with-silent-modifications): Clarify somewhat what the
9127 macro inhibits (bug#6525).
9128
15853710
LMI
9129 * simple.el (eval-expression): Note what it does if called
9130 interactively (bug#6495).
9131
bee0fcef
CY
91322011-07-13 Chong Yidong <cyd@stupidchicken.com>
9133
b796c9b7
SM
9134 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9135 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9136
9137 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9138 Remove switch-to-buffer.
9139
58274504
LMI
91402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9141
bd2fcc8d
LMI
9142 * files.el (make-directory): Clarify that an error will be raised
9143 if there's an error (bug#6397).
9144
0f04b32c
LMI
9145 * startup.el (initial-buffer-choice): Add `none' as a choice
9146 (bug#6234).
9147
465c5fc8
LMI
9148 * subr.el (add-hook): Clarify section about buffer-local hooks
9149 (bug#6218).
9150
58274504
LMI
9151 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9152
bead9a43
JB
91532011-07-13 Juanma Barranquero <lekktu@gmail.com>
9154
9155 * tabify.el (untabify): Preserve the current column so that point
9156 doesn't move (bug#6032).
9157
3af98a7b
LMI
91582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9159
b796c9b7
SM
9160 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9161 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9162
6240145a
GM
91632011-07-13 Glenn Morris <rgm@gnu.org>
9164
9165 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9166 (dired-insert-directory): Give a message the first time
9167 if ls is found not to support --dired.
9168
1d8c2ccc
LMI
91692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9170
9171 * simple.el (toggle-truncate-lines): Clarify what is toggled
9172 (bug#5580). Text by Drew Adams.
9173
5fc4038e
CY
91742011-07-13 Chong Yidong <cyd@stupidchicken.com>
9175
9176 * simple.el (blink-matching-open): Make the error message from the
9177 last change less verbose.
9178
bf6012e5
DN
91792011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9180
9181 * font-lock.el (font-lock-comment-face): Use the high contrast
9182 "yellow" color for font-lock-comment-face on low color terminals
9183 using a dark background color (bug#4221).
9184
343c3b5a
LMI
91852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9186
7e9505c5
LMI
9187 * dired.el (dired-insert-set-properties): Make the doc string
9188 reflect what it does now (bug#5325).
9189
c26fdcf5
LMI
9190 * simple.el (blink-matching-open): Say that we were unable to find
9191 the match within the limit, if we're limited (bug#5122).
9192
bb388cc5
LMI
9193 * international/mule-cmds.el (prefer-coding-system): Add an
9194 example (bug#4869).
9195
343c3b5a
LMI
9196 * progmodes/etags.el (tags-search): Document `file-list-form'
9197 (bug#4731).
9198
2a517d45
LM
91992011-07-13 Lawrence Mitchell <wence@gmx.li>
9200
9201 * net/browse-url.el (browse-url-default-browser)
9202 (browse-url-browser-function): Make the default browser choice a
9203 bit more logical (bug#4300). Also clean up the doc string.
9204
b6c78ef2
JB
92052011-07-13 Juanma Barranquero <lekktu@gmail.com>
9206
9207 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9208 binary endings (bug#4440).
9209
1c4dd947
LMI
92102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9211
a2014063
LMI
9212 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9213 which can be pretty annoying (bug#8971).
9214
9c9c2d88
LMI
9215 * jka-compr.el (jka-compr-verbose): New variable, and use
9216 throughout (bug#8971).
9217
1c4dd947
LMI
9218 * info.el (Info-find-file): Fall back on the installation
9219 directory if we can't find the info node anywhere else.
9220
a1c9f41b
SO
92212011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9222
9223 * vc/vc.el (vc-revert-file):
9224 Don't set file time-stamp in the past. (Bug#5181)
9225
536f3d36
LMI
92262011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9227
7152b011
LMI
9228 * files.el (after-find-file): Give a better error message when
9229 trying to find a symlink that points to a file that doesn't exist
9230 (bug#4398).
9231
536f3d36
LMI
9232 * progmodes/cc-vars.el: Remove (probably) misleading comment
9233 (bug#4396).
9234
460c0fba
JB
92352011-07-12 Johan Bockgård <bojohan@gnu.org>
9236
9237 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9238
7a6bda45
CY
92392011-07-12 Chong Yidong <cyd@stupidchicken.com>
9240
9241 * mouse-sel.el: Hack restoring functionality, while keeping
9242 compatibility with 2010-07-03 changes to mouse selection.
9243 (mouse-sel-primary-overlay): New var.
9244 (mouse-sel-selection-alist): Use it.
9245 (mouse-sel-mode): Doc fix; remove points that are default features
9246 of mouse.el.
9247
c79598ef
JB
92482011-07-12 Johan Bockgård <bojohan@gnu.org>
9249
9250 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9251 Fix previous fix (bug#2490).
9252
ff8be6ef
RW
92532011-07-12 Roland Winkler <winkler@gnu.org>
9254
b796c9b7
SM
9255 * textmodes/bibtex.el (bibtex-initialize):
9256 Use pop-to-buffer-same-window.
ff8be6ef
RW
9257 (bibtex-search-entries): Fix interactive call.
9258
296ba3ee
LMI
92592011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9260
f5242a02 9261 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9262 Fontise bytecomp Error lines more correctly (bug#2490).
9263 Fix suggested by Johan Bockgård.
f5242a02 9264
296ba3ee
LMI
9265 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9266
9267 * dired-x.el (dired-guess-default): Use `delete-dups'.
9268
f69fd0d2
CY
92692011-07-12 Chong Yidong <cyd@stupidchicken.com>
9270
9271 * dired.el (dired-mark-prompt):
9272 * dired-aux.el (dired-read-shell-command): Doc fix.
9273
eab5dc07
LMI
92742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9275
b796c9b7
SM
9276 * mail/sendmail.el (sendmail-query-once):
9277 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9278 emacs -Q.
9279
9280 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9281
eab5dc07
LMI
9282 * cus-edit.el (custom-file): Take an optional no-error variable.
9283 (customize-save-variable): Set the variable, and give a warning if
9284 running under "emacs -q".
9285
a1e65d42
JB
92862011-07-11 Juanma Barranquero <lekktu@gmail.com>
9287
9288 * loadhist.el (unload-feature-special-hooks):
9289 Add `auto-coding-functions', `fill-nobreak-predicate' and
9290 `find-directory-functions' (bug#5327).
9291
1d52da10
LMI
92922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9293
be958f1d
LMI
9294 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9295
5bedb26c
LMI
9296 * cus-edit.el (custom-guess-name-alist): -alist variables should
9297 use the `alist' type (bug#3120). Suggested by Drew Adams.
9298
1d52da10
LMI
9299 * printing.el: Add documentation to all the `pr-toggle-' commands.
9300
cd394be1 93012011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9302
9303 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9304 backends where it makes sense (bug#2623).
9305
dcc88d8a
LMI
93062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9307
c3de9feb
LMI
9308 * dired-x.el (dired-guess-default): Remove duplicate shell command
9309 entries (bug#2028).
8a93078b 9310 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9311 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9312
dcc88d8a
LMI
9313 * subr.el (remove-duplicates): New conveniency function.
9314
505e3645
LMI
93152011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9316
9317 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9318 (bug#1526).
9319
93202011-07-10 Martin Rudalics <rudalics@gmx.at>
9321
9322 * window.el (display-buffer-normalize-default): Don't invert
9323 meaning of even-window-heights. Reported by Eli Zaretskii
9324 <eliz@gnu.org>.
9325
455e4fa1
BR
93262011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9327
9328 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9329
8e0bc3e9
CY
93302011-07-10 Chong Yidong <cyd@stupidchicken.com>
9331
9332 * window.el (display-buffer): Fix arguments to
9333 display-buffer-reuse-window in last change.
9334
fa7c3228
CY
9335 * faces.el (link): Use a less saturated blue on light backgrounds.
9336
9337 * startup.el (fancy-startup-text, fancy-about-text)
9338 (fancy-startup-tail): Use font-lock faces, for background safety.
9339
c0a7f300
BN
93402011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9341
b796c9b7
SM
9342 * emulation/viper-cmd.el (viper-change-state-to-vi):
9343 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9344
4dc2a129
MR
93452011-07-09 Martin Rudalics <rudalics@gmx.at>
9346
9347 * window.el (display-buffer-default-specifiers): Remove.
9348 (display-buffer-macro-specifiers): Remove default specifiers.
9349 (display-buffer-alist): Default to nil.
b796c9b7 9350 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9351 (display-buffer-pop-up-window): Allow splitting internal
9352 windows. Check whether a live window was created.
9353 (display-buffer-other-window-means-other-frame)
9354 (display-buffer-normalize-arguments): Rename to
9355 display-buffer-normalize-argument and rewrite. Set the
9356 other-window specifier.
9357 (display-buffer-normalize-special): New function.
9358 (display-buffer-normalize-options): Rename to
9359 display-buffer-normalize-default and rewrite.
9360 (display-buffer-normalize-options-inhibit): Remove.
9361 (display-buffer-normalize-specifiers): Rewrite.
9362 (display-buffer): Process other-window specifier and call
9363 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9364 more faithfully.
b796c9b7 9365 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9366 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9367 (display-buffer-in-window, display-buffer-alist-set):
9368 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9369 <tassilo@member.fsf.org>.
9370
2d43b8c9
LL
93712011-07-09 Leo Liu <sdl.web@gmail.com>
9372
9373 * register.el (insert-register): Restore accidental change on
9374 2011-06-26. (Bug#9028)
9375
7f9b7c53
GM
93762011-07-09 Glenn Morris <rgm@gnu.org>
9377
9378 * subr.el (remq): Handle the empty list. (Bug#9024)
9379
f042cfd8
AS
93802011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9381
9382 * mail/sendmail.el (send-mail-function): No longer delay custom
9383 initialization.
9384 * custom.el (custom-initialize-delay): Doc fix.
9385
856b2f11
SM
93862011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9389
afae1d68
MA
93902011-07-08 Michael Albinus <michael.albinus@gmx.de>
9391
9392 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9393 human-friendly prompt.
9394
0757af94
SM
93952011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9398 provided by a particular plugin.
9399
d760b731
LMI
94002011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9401
9402 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9403 save customizations (with "emacs -Q"), just set the variable
9404 instead of erroring out.
9405
9406 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9407
cd79ce90
JL
94082011-07-08 Juri Linkov <juri@jurta.org>
9409
9410 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9411 (archive-zip-update-case): Use 7z if found by `executable-find'.
9412 The order of searching the available programs is the same as in
9413 `archive-zip-extract' (bug#8968).
9414
14cc04aa
CY
94152011-07-07 Chong Yidong <cyd@stupidchicken.com>
9416
9417 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9418 (menu-bar-options-menu): Tweak descriptions.
9419
0a1848ec
LMI
94202011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9421
9422 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9423 menu items into verb phrases (bug#1421). Also refill to fit under
9424 80 columns.
9425
f5bd0689
CY
94262011-07-07 Chong Yidong <cyd@stupidchicken.com>
9427
538e85c6
CY
9428 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9429 (Info-read-node-name): Doc fix (Bug#1084).
9430
f5bd0689
CY
9431 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9432 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9433 (end-of-sexp, beginning-of-sexp)
9434 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9435 (forward-symbol, forward-same-syntax, word-at-point)
9436 (sentence-at-point): Doc fix (Bug#1144).
9437
56ec5115
LMI
94382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9439
f3f8e37f
LMI
9440 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9441 should cover it (bug#1281).
9442
0757af94 9443 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9444
e9fce1ac 9445 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9446 negotiation fails, then possibly try again with a non-encrypted
9447 connection (bug#9017).
9448
56ec5115
LMI
9449 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9450 be used.
9451
c2f9aec8
RS
94522011-07-07 Richard Stallman <rms@gnu.org>
9453
9454 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9455 property, and handle its changed format.
9456 Look for the correct line number.
9457 Use file's line contents (but not past first =) to find
9458 correct line in message.
9459
ef7b981d 94602011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9461
9462 * international/characters.el (build-unicode-category-table):
9463 Delete it.
0757af94 9464 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9465
0757af94 9466 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9467 to src/chartab.c.
9468 (get-char-code-property): Call unicode-property-table-internal to
9469 load a file. Call get-unicode-property-internal where necessary.
9470 (put-char-code-property): Call unicode-property-table-internal to
9471 load a file. Call put-unicode-property-internal where necessary.
9472 put-unicode-property-internal where necessary.
0757af94
SM
9473 (char-code-property-description):
9474 Call unicode-property-table-internal to load a file.
c805dec0
KH
9475
9476 * international/charprop.el:
9477 * international/uni-bidi.el:
9478 * international/uni-category.el:
9479 * international/uni-combining.el:
9480 * international/uni-comment.el:
9481 * international/uni-decimal.el:
9482 * international/uni-decomposition.el:
9483 * international/uni-digit.el:
9484 * international/uni-lowercase.el:
9485 * international/uni-mirrored.el:
9486 * international/uni-name.el:
9487 * international/uni-numeric.el:
9488 * international/uni-old-name.el:
9489 * international/uni-titlecase.el:
9490 * international/uni-uppercase.el: Regenerate.
9491
9492 * loadup.el: Load international/charprop.el before
9493 international/characters.
9494
e14b388a
CY
94952011-07-07 Chong Yidong <cyd@stupidchicken.com>
9496
9497 * window.el (next-buffer, previous-buffer): Signal an error if
9498 called from a minibuffer window.
9499
9500 * bindings.el: Revert 2011-07-04 change.
9501
354cf0ba
RS
95022011-07-06 Richard Stallman <rms@gnu.org>
9503
9504 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9505 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9506 Treat markers like ints.
9507 (rmail-mime-entity): Doc fix.
9508
a48868a7
LMI
95092011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9510
4906cd3d
LMI
9511 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9512 defcustom again for backwards compatibility.
9513
e0457abe
LMI
9514 * simple.el (shell-command-on-region): Fill.
9515
d67f7e1f
LMI
9516 * dired-aux.el (dired-kill-line): Add a doc string.
9517
fe204702
LMI
9518 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9519 to "\\sw\\|\\s_" (bug#358).
9520
a48868a7
LMI
9521 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9522 (dired-unmark-backward): Ditto.
9523 (dired-flag-backup-files): Ditto.
9524
9525 * dired-x.el (dired-mark-sexp): Ditto.
9526
aa8a705c
RS
95272011-07-06 Richard Stallman <rms@gnu.org>
9528
9529 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9530 (rmail-mime-entity): New arg TRUNCATED.
9531 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9532 New functions.
9533 (rmail-mime-save): Warn if entity is truncated.
9534 (rmail-mime-toggle-hidden): Likewise, for showing.
9535 (rmail-mime-process-multipart): Record when an entity is truncated.
9536
a9a936b9
RS
9537 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9538 if ENTITY is a string.
9539
1f2b92cb
LMI
95402011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9541
f4f73198 9542 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9543 of faces when `M-C-x'-ing their definitions (bug#8378).
9544 Also clean up the code slightly.
f4f73198 9545
12b16734 9546 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9547 because that makes the colors go away.
12b16734 9548
f0691d22
LMI
9549 * mail/sendmail.el (send-mail-function): Change the default to
9550 `sendmail-query-once'.
9e87df06 9551 (sendmail-query-once): Add an autoload cookie.
f0691d22 9552
1f2b92cb
LMI
9553 * net/network-stream.el (network-stream-open-starttls): Try using
9554 a plain connection even if the server offered STARTTLS, and we
9555 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9556 capability. This should make smtpmail.el work in slightly more
9557 configurations.
9558
1cdd2a1b
MA
95592011-07-06 Michael Albinus <michael.albinus@gmx.de>
9560
9561 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9562 New defun.
9563 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9564
fbcc67e2
MM
95652011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9566
9567 * progmodes/sql.el: Version 3.0
0757af94 9568 (sql-product-alist): Add product :completion-object,
fbcc67e2 9569 :completion-column, and :statement attributes.
0757af94 9570 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9571 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9572 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9573 ansi keywords.
9574 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9575 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9576 (sql-oracle-show-reserved-words): New function for development.
9577 (sql-product-font-lock): Simplify for source code buffers.
9578 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9579 New functions.
9580 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9581 (sql-mode-map): Add statement movement functions.
9582 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9583 New variable.
fbcc67e2
MM
9584 (sql-statement-regexp, sql-beginning-of-statement)
9585 (sql-end-of-statement, sql-signum): New functions.
0757af94 9586 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9587 (sql-show-sqli-buffer): Bug fix.
9588 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9589 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9590 with sql-interactive-mode.
9591 (sql-save-connection): Save buffer local settings.
0757af94 9592 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9593 (sql-product-interactive): Bug fix.
9594 (sql-preoutput-hold): New variable.
9595 (sql-interactive-remove-continuation-prompt): Bug fixes.
9596 (sql-debug-redirect): New variable.
9597 (sql-str-literal): New function.
9598 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9599 Redesign.
fbcc67e2
MM
9600 (sql-oracle-save-settings, sql-oracle-restore-settings)
9601 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9602 (sql-completion-object, sql-completion-column)
9603 (sql-completion-sqlbuf): New variables.
9604 (sql-build-completions-1, sql-build-completions)
9605 (sql-try-completion): New functions.
9606 (sql-read-table-name): Use them.
9607 (sql-contains-names): New buffer local variable.
9608 (sql-list-all, sql-list-table): Use it.
9609 (sql-oracle-completion-types): New variable.
9610 (sql-oracle-completion-object, sql-sqlite-completion-object)
9611 (sql-postgres-completion-object): New functions.
9612
d4eaeab1
GM
96132011-07-06 Glenn Morris <rgm@gnu.org>
9614
9615 * window.el (pop-to-buffer): Doc fix.
9616
322b7dab 96172011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9618
9619 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9620
322b7dab 96212011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9622
322b7dab 9623 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9624
322b7dab 9625 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9626
605dd5bf
CY
96272011-07-05 Chong Yidong <cyd@stupidchicken.com>
9628
9629 * button.el (button): Inherit from link face. Suggested by Dan
9630 Nicolaescu.
9631
7dbfa719
SM
96322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9633
3db614b0
SM
9634 * progmodes/gdb-mi.el: Fit in 80 columns.
9635 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9636 switch-to-buffer.
9637
7dbfa719
SM
9638 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9639 if imenu is simply not configured (bug#8941).
9640
919d884a
KM
96412011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9642
9643 * allout.el (allout-post-undo-hook): New allout outline-change
9644 event hook to signal undo activity.
9645 (allout-post-command-business): Run allout-post-undo-hook if an
9646 undo just occurred.
7dbfa719
SM
9647 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9648 * allout-widgets.el (allout-widgets-after-undo-function):
9649 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9650 in the vicinity of an undo.
9651 (allout-widgets-mode): Include allout-widgets-after-undo-function
9652 on the new allout-post-undo-hook.
9653
450a0f09
SM
96542011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9657 Let define-derived-mode define it.
9658 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9659 cycles of abbrev-table inheritance (bug#8998).
9660
2de69e00
RW
96612011-07-05 Roland Winkler <winkler@gnu.org>
9662
9663 * textmodes/bibtex.el: Add support for biblatex.
9664 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9665 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9666 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9667 (bibtex-entry-alist, bibtex-field-alist): New variables.
9668 (bibtex-entry-field-alist): Obsolete alias for
9669 bibtex-BibTeX-entry-alist.
9670 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9671 (bibtex-set-dialect): New command.
9672 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9673 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9674 Bind via bibtex-set-dialect.
2de69e00
RW
9675 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9676 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9677 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9678 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9679 Define via bibtex-set-dialect.
450a0f09
SM
9680 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9681 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9682 (bibtex-vec-push, bibtex-vec-incr): New functions.
9683 (bibtex-format-entry, bibtex-field-list)
9684 (bibtex-print-help-message, bibtex-validate)
9685 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9686
2dcdbdd9
SM
96872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * progmodes/compile.el (compilation-goto-locus):
9690 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9691 * bs.el (bs-cycle-next, bs-cycle-previous):
9692 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9693 * bindings.el (mode-line-other-buffer):
9694 * autoinsert.el (auto-insert):
9695 * arc-mode.el (archive-extract):
9696 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9697
b27640fe
JB
96982011-07-05 Juanma Barranquero <lekktu@gmail.com>
9699
9700 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9701 Fix check of `emacs-lock-unlockable-modes'.
9702 Coerce true values of `emacs-lock--try-unlocking' to t.
9703
53bbe3ad
JB
97042011-07-05 Juanma Barranquero <lekktu@gmail.com>
9705
9706 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9707 * emacs-lock.el: New file.
9708
1d3cdbc7
JD
97092011-07-05 Julien Danjou <julien@danjou.info>
9710
9711 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9712 than `boundp' to check if face is set.
9713
9173deec
JB
97142011-07-05 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * register.el (registerv-make):
9717 * window.el (window-min-height): Fix typos in docstrings.
9718
869795d6
JD
97192011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9720
9173deec 9721 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9722 Update doc string.
9723
b768cdcd
JB
97242011-07-04 Juanma Barranquero <lekktu@gmail.com>
9725
9726 * server.el (server-execute): Catch quit and call
9727 `server-return-error' to pass the error back to emacsclient and
9728 close the connection (bug#8942).
9729
13aa217b
KM
97302011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9731
9732 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9733 insecure exception for current topic. Also note that auto-saves
9734 are handled differently.
9735
5d3385a0 9736 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9737 State variables for tracking auto-save inhibition situation.
9738
9739 (allout-write-contents-hook-handler): Rename from
9740 'allout-write-file-hook-handler', and describe how it depends on
9741 write-contents-functions sensitivity to non-nil value to prevent
9742 file write.
9743
9744 (allout-auto-save-hook-handler): Remove. auto-save does not check
9745 this in individual buffers, only in the starting buffer, so this
9746 is not the right way for us to inhibit auto-save in a buffer
9747 according to its condition.
9748
9749 (allout-mode): Use new allout-write-contents-hook-handler, and
9750 only with write-contents-functions. Remove auto-save provisions -
9751 they're implemented elsewhere.
9752
9753 (allout-before-change-handler): If undo is in progress, note that
9754 for attention of allout-post-command-business.
9755
9756 (allout-post-command-business): If the command we're following was
9757 an undo, check for change in the status of encrypted items and
9758 adjust auto-save inhibitions accordingly.
9759
9760 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9761 according to whether there are or aren't any plain-text topics
9762 pending encryption.
9763
2dcdbdd9 9764 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9765 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9766 if there are plain-text topics pending encryption.
13aa217b
KM
9767
9768 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9769 buffer-saved-size and some allout state to not inhibit auto-saves
9770 if there are no longer any plain-text topics pending encryption.
9771
0757af94
SM
9772 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9773 No longer provide for exemption of the current topic.
13aa217b 9774
ac89b32c
JL
97752011-07-04 Juri Linkov <juri@jurta.org>
9776
9777 Add 7z operations to delete and save changed members (bug#8968).
9778 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9779 New defcustoms.
9780 (archive-7z-write-file-member): New function.
9781 (archive-7z-summarize): Fix the number of dashes in the
9782 listing output.
9783
8fa39615
SM
97842011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9786 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9787 (bug#8958).
9788
2f11b3f1
CY
97892011-07-04 Chong Yidong <cyd@stupidchicken.com>
9790
d66fef2b
CY
9791 * bindings.el: Ignore next-buffer and previous-buffer in
9792 minibuffer-local-map.
9793
2f11b3f1
CY
9794 * font-lock.el (font-lock-builtin-face): Change light background
9795 color to dark slate blue (Bug#6693).
9796
f932a347
WD
97972011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9798
9799 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9800
c8af70e1
SM
98012011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9804 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9805 Add switch-to-buffer.
9806
f158badc
LMI
98072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9808
9809 * isearch.el (isearch-search-fun-function): Clarify further the
9810 meaning of the function returned.
9811
6d95bd46
MA
98122011-07-04 Michael Albinus <michael.albinus@gmx.de>
9813
9814 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9815
9816 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9817 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9818 Use it.
9819 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9820 `tramp-default-remote-path' does not exist.
9821 (tramp-send-command-and-read): New optional argument NOERROR.
9822 (tramp-open-connection-setup-interactive-shell)
9823 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9824 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9825 (tramp-process-sentinel): Flush also process' connection property.
9826 (tramp-sh-handle-start-file-process): Do not set process
9827 sentinel. It is done now ...
9828 (tramp-maybe-open-connection): ... here. (Bug#8929)
9829
909e6b67
MK
98302011-07-04 MON KEY <monkey@sandpframing.com>
9831
9832 * play/animate.el (animate-string): Doc fixes and allow changing
9833 the buffer name (bug#5417).
9834
98352011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9836
c8af70e1 9837 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 9838
f34755dc
PE
98392011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9840
396cec72
PE
9841 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9842 This is simpler and helps future-proof the code.
9843 (timer-until): Use time-subtract and float-time.
08235028 9844 (timer--time-less-p): Use time-less-p.
f34755dc 9845
56e6cc31
JB
98462011-07-04 Juanma Barranquero <lekktu@gmail.com>
9847
3abb79e5
JB
9848 * type-break.el (timep): Use the value of `float-time' to avoid a
9849 byte-compiler warning.
9850
56e6cc31
JB
9851 * server.el (server-eval-and-print): Return any result, even nil.
9852
7b9430b4
PE
98532011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9854
9855 * type-break.el: Accept time formats that the builtins accept.
9856 (timep, type-break-time-difference): Accept any format that
9857 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9858 This is simpler and helps future-proof the code.
9859 (type-break-time-difference): Round rather than ignoring
9860 subseconds components.
9861
3034e9e7
LMI
98622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9863
9864 * info.el (Info-apropos-matches): Make non-interactive, since it
9865 doesn't seem to do anything useful as a command (bug#8829).
9866
1485f4c0
CY
98672011-07-03 Chong Yidong <cyd@stupidchicken.com>
9868
9869 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 9870 Move from faces.el.
1485f4c0
CY
9871 (frame-default-terminal-background): New function.
9872
9873 * custom.el (custom-push-theme): Don't record faces in `changed'
9874 theme; this doesn't work correctly for per-frame face settings.
9875 (disable-theme): Use face-set-after-frame-default to reset faces.
9876 (custom--frame-color-default): New function.
9877
9fa3dd45
LMI
98782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9879
c8af70e1 9880 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
9881 (bug#8769).
9882
6cbbc20c
KR
98832011-03-29 Kevin Ryde <user42@zip.com.au>
9884
9885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9886 `perl-Test2' extend to match possible "fail #N" rep count
9887 (bug#8377).
9888
c7f98048
LMI
98892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9890
65676592
LMI
9891 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9892 `smtpmail-via-smtp' now returns the error instead of nil.
9893
c7f98048
LMI
9894 * isearch.el (isearch-search-fun-function): Clarify the doc string
9895 (bug#8101).
9896
56e6cc31 98972011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
9898
9899 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9900 unnecessary spaces (bug#8987).
9901
2b216704
LMI
99022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
9904 * net/network-stream.el (open-network-stream): Use the
9905 :end-of-capability command thoughout.
9906
99072011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9908
9909 * net/network-stream.el (open-network-stream): Add the
9910 :end-of-capability command parameter, used by pop3.el.
9911
36adf6ce
LMI
99122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9913
1ca0da0e
LMI
9914 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9915
fc00f69c
LMI
9916 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9917 for list)" (bug#6475).
9918
28fd8759 9919 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 9920 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
9921 an error (bug#6297).
9922
0dd8b6da
LMI
9923 * man.el (Man-reference-regexp): Allow matching possible
9924 word-wrapped references (bug#6289).
9925
ce1438d6
LMI
9926 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9927 for consistency with the other vc buffers (bug#6197).
9928 (vc-checkin): Ditto.
9929
9930 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9931
36adf6ce
LMI
9932 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9933
e83cc1f7
LMI
99342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9935
8a20ca4c
LMI
9936 * custom.el (defcustom): Clarify that :set is only used in the
9937 Customize user interface (bug#6089).
9938
83319045
LMI
9939 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9940 associated with a file, refuse to run instead of erroring out
9941 (bug#6084).
9942
a8392169
LMI
9943 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9944 the doc string, since it appears that using `fill-column' always
9945 controls the width (bug#7845).
9946
e83cc1f7
LMI
9947 * simple.el (shell-command-on-region): Say where the error output
9948 went if `shell-command-default-error-buffer' is set (bug#6857).
9949
e47ca23b
KM
99502011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9951
9952 * allout.el (allout-yank-processing): Adjust cursor position for
9953 backwards-deleted space.
9954
9955 (allout-rebullet-heading): Register changes with
9956 allout-exposure-changed-hook, so the modified topic is properly
9957 decorated.
9958
5cf56143
LMI
99592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9960
08549772
LMI
9961 * minibuffer.el (completion-in-region): Document PREDICATE
9962 (bug#7136).
9963
48e96771
LMI
9964 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9965 of keyword/argument pairs (bug#6904).
9966
c8af70e1
SM
9967 * replace.el (multi-occur):
9968 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 9969
e17d05e2
LMI
99702011-07-02 Drew Adams <drew.adams@oracle.com>
9971
9972 * dired.el (dired-mark-if): Make the message about whether it's
9973 marking or unmarking clearer (bug#8523).
9974
063b0e45
LMI
99752011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9976
9977 * disp-table.el (display-table-print-array): New function.
9978 (describe-display-table): Use it to print the vectors more pretty
9979 (Bug#8859).
9980
28545e04
MR
99812011-07-02 Martin Rudalics <rudalics@gmx.at>
9982
9983 * window.el (window-state-get-1): Don't assign clone numbers.
9984 Add clone-of item to list of window parameters.
9985 (window-state-put-2): Don't process clone numbers.
9986 (display-buffer-alist): Fix doc-string.
9987
3349e122
SM
99882011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * subr.el (remq): Don't allocate if it's not needed.
9991 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9992 (keymap--merge-bindings): New functions.
9993 (keymap-canonicalize): Use them to refine the canonicalization.
9994 * minibuffer.el (minibuffer-local-completion-map)
9995 (minibuffer-local-must-match-map): Move initialization from C.
9996 (minibuffer-local-filename-completion-map): Move initialization from C;
9997 don't inherit from anything here.
9998 (minibuffer-local-filename-must-match-map): Make obsolete.
9999 (completing-read-default): Use make-composed-keymap to combine
10000 minibuffer-local-filename-completion-map with either
10001 minibuffer-local-must-match-map or
10002 minibuffer-local-filename-completion-map.
10003
d224ac83
GM
100042011-07-01 Glenn Morris <rgm@gnu.org>
10005
3de63bf8
GM
10006 * type-break.el (type-break-time-sum): Use dolist.
10007
d224ac83
GM
10008 * textmodes/flyspell.el (flyspell-word-search-backward):
10009 Replace CL function.
10010
1a1e3f32
SM
100112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10012
fe3f64d5
SM
10013 * mouse.el (mouse--strip-first-event): New function.
10014 (function-key-map): Use it to map fringe clicks to normal clicks
10015 by default.
10016
eb604e34
SM
10017 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10018 (vc-bzr-revision-completion-table): Add support for annotate and date.
10019
1a1e3f32
SM
10020 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10021 inherit from parent.
10022
5bd35902
LMI
100232011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10024
ace6c69c 10025 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10026 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10027
191e2bed
LMI
10028 * dired.el (dired-mode): Fix up the doc string as suggested by
10029 Drew Adams (bug#8817).
10030
5bd35902
LMI
10031 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10032 cookie, since the manual says that it should be possible to add
10033 this function to `find-file-hook' (bug#8709).
10034
eee8207a
TZ
100352011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10036
10037 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10038 here. Noted Ted Zlatanov as the maintainer.
10039 (cfengine-common-settings, cfengine-common-syntax): New functions
10040 to set up common things between `cfengine-mode' and
10041 `cfengine3-mode'.
10042 (cfengine3-mode): New mode.
10043 (cfengine3-defuns cfengine3-defuns-regex
10044 (cfengine3-class-selector-regex cfengine3-category-regex)
10045 (cfengine3-vartypes cfengine3-font-lock-keywords)
10046 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10047 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10048
36b148cf
MA
100492011-07-01 Michael Albinus <michael.albinus@gmx.de>
10050
10051 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10052
10053 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10054
0bf4ba9a
MR
100552011-07-01 Martin Rudalics <rudalics@gmx.at>
10056
10057 * window.el (same-window-buffer-names, same-window-regexps)
10058 (same-window-p, special-display-frame-alist)
10059 (special-display-popup-frame, special-display-function)
10060 (special-display-buffer-names, special-display-regexps)
10061 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10062 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10063 (split-window-preferred-function, split-height-threshold)
10064 (split-width-threshold, even-window-heights)
10065 (display-buffer-mark-dedicated, window-splittable-p)
10066 (split-window-sensibly, window-safely-shrinkable-p):
10067 Un-obsolete.
10068 (display-buffer): Don't spread args with function specifier
10069 because special-display-popup-frame won't like it.
10070
35837f51
PE
100712011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10072
d0672f86
PE
10073 Time-stamp simplifications and fixes.
10074 These improve accuracy slightly, and future-proof the code
10075 against some potential changes to current-time format.
10076
b9444d97
PE
10077 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10078 by using time-since and float-time.
10079
0ef923dc
PE
10080 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10081 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10082 + NNN microseconds".
10083
2f81380d
PE
10084 * type-break.el (type-break-time-sum): Rewrite using time-add.
10085
845b5c3e
PE
10086 * play/hanoi.el (hanoi-current-time-float): Remove.
10087 All uses replaced by float-time.
10088
ee6f1be0
PE
10089 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10090 This yields a more-accurate answer.
10091 (rng-time-to-float): Remove; no longer needed.
10092
fe955043
PE
10093 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10094
5777162a
PE
10095 * calendar/timeclock.el (timeclock-seconds-to-time):
10096 Defalias to seconds-to-time, since they're the same thing.
10097
3103f8b6 10098 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10099 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10100 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10101
0e61a35f
SM
101022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * window.el (bury-buffer): Don't iconify the only frame.
10105 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10106 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10107
ddd63a1e
CY
101082011-07-01 Chong Yidong <cyd@stupidchicken.com>
10109
0e61a35f
SM
10110 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10111 Add mouse-yank-primary.
ddd63a1e 10112
055f4923
TZ
101132011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10114
10115 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10116
6a2fb145
SM
101172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10120 (find-library-name): Use it to find relative load names when provided
10121 absolute file name (bug#8803).
10122
fd4983f2
LMI
101232011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10124
887d14ad
LMI
10125 * textmodes/flyspell.el (flyspell-word): Consider words that
10126 differ only in case as potential doublons (bug#5687).
10127
c53dc7fc
LMI
10128 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10129 Remove two rather uninteresting debugging-like messages to make
10130 debbugs.el more silent.
10131
fd4983f2
LMI
10132 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10133 a password-like phrase.
10134
7a71b18d 101352011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10136
10137 * progmodes/cc-guess.el: New file.
10138
6a2fb145 10139 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10140
10141 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10142 derived from `c-basic-common-init'.
10143
10144 * progmodes/cc-mode.el (top-level): Require cc-guess.
10145 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10146
1fa280a3
LM
101472011-06-30 Lawrence Mitchell <wence@gmx.li>
10148
10149 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10150
e6597158
AM
101512011-06-30 Alan Mackenzie <acm@muc.de>
10152
1fa280a3
LM
10153 * progmodes/cc-engine.el (c-guess-continued-construct):
10154 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10155 lock is disabled. Name this case as "CASE G".
10156
68ba37fb
KM
101572011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10158
10159 * allout.el (allout-yank-processing): Fix injection of extra space
10160 between bullet and non-whitespace character in first topic when
10161 pasting, ensuring that the actual spacing in the pasted topic
10162 following the bullet char is preserved. This extra space was
10163 causing pasted encrypted topics to get a decrypted status even
10164 when the content was actually still encrypted. Now the decryption
10165 status from before the paste is preserved.
10166
10167 (allout-flag-region): Set all allout overlays so they evaporate
10168 when reduced to zero length (evanescent), to prevent overlay
10169 leakage.
10170
887a0b34
GM
101712011-06-30 Glenn Morris <rgm@gnu.org>
10172
94b9acce
GM
10173 * w32-fns.el (w32-charset-info-alist): Declare.
10174
1d9b46d4
GM
10175 * find-dired.el (find-grep-options): Simplify.
10176
cc232200
GM
10177 * term/ns-win.el (ns-set-resource): Declare.
10178
28e77c46
GM
10179 * ses.el (row, col): Declare dynamic variables honestly.
10180
887a0b34
GM
10181 * textmodes/reftex-parse.el (index-tags): Declare.
10182
658d8eb8
CY
101832011-06-30 Chong Yidong <cyd@stupidchicken.com>
10184
10185 * cus-edit.el (customize-push-and-save): New function.
10186
10187 * files.el (hack-local-variables-confirm): Use it.
10188
1fa280a3
LM
10189 * custom.el (load-theme): New arg NO-CONFIRM.
10190 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10191 (custom-enabled-themes): Doc fix.
10192
10193 * cus-theme.el (customize-create-theme)
10194 (custom-theme-merge-theme): Callers to load-theme changed.
10195
bb617717
LMI
101962011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10197
d61bdd5d
LMI
10198 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10199 short URLs have at least one dot in them (bug #7614).
10200
bb617717
LMI
10201 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10202 nil, because using a pty is apparently too slow (bug #895).
10203
2f31f37a
LMI
102042011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10205
10206 * mail/sendmail.el (sendmail-query-once): New function.
10207 (sendmail-query-once-function): New variable.
10208
3076b24e
GM
102092011-06-29 Glenn Morris <rgm@gnu.org>
10210
faf2a174
GM
10211 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10212
3076b24e
GM
10213 * ses.el (top-level): Require cl when compiling.
10214 (ses-set-localvars): Fix error statement.
10215 Call it at compile time to silence a storm of warnings.
10216
5386012d
MR
102172011-06-29 Martin Rudalics <rudalics@gmx.at>
10218
10219 * window.el (normalize-live-buffer): Rename to
10220 window-normalize-buffer.
10221 (normalize-live-frame): Rename to window-normalize-frame.
10222 (normalize-any-window): Rename to window-normalize-any-window.
10223 (normalize-live-window): Rename to window-normalize-live-window.
10224 (make-window-atom): Rename to window-make-atom.
10225 (window-resize-reset): Rename to window--resize-reset.
10226 (window-resize-reset-1): Rename to window--resize-reset-1.
10227 (resize-mini-window): Rename to window--resize-mini-window.
10228 (resize-subwindows-skip-p): Rename to
10229 window--resize-subwindows-skip-p.
10230 (resize-subwindows-normal): Rename to
10231 window--resize-subwindows-normal.
10232 (resize-subwindows): Rename to window--resize-subwindows.
10233 (resize-other-windows): Rename to window--resize-siblings.
10234 (resize-this-window): Rename to window--resize-this-window.
10235 (resize-root-window): Rename to window--resize-root-window.
10236 (resize-root-window-vertically): Rename to
10237 window--resize-root-window-vertically.
10238 (normalize-buffer-to-display): Rename to
10239 window-normalize-buffer-to-display.
10240 (normalize-buffer-to-switch-to): Rename to
10241 window-normalize-buffer-to-switch-to.
10242 Correspondingly update all callers of the functions listed
10243 above.
10244 (display-buffer-alist, display-buffer-normalize-arguments)
10245 (display-buffer-normalize-options, display-buffer)
10246 (display-buffer-alist-set): Use "function" instead of
10247 "fun-with-args".
10248
1176868d
CY
102492011-06-28 Chong Yidong <cyd@stupidchicken.com>
10250
10251 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10252 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10253 debbugs.gnu.org. Mention acknowledgment email.
10254
20a7a65f
LMI
102552011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10256
10257 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10258 buffer multibyteness, since it shouldn't matter.
10259
5f45cca5
MR
102602011-06-28 Martin Rudalics <rudalics@gmx.at>
10261
10262 * window.el (display-buffer-in-side-window): Handle dedicated
10263 windows as in display-buffer-reuse-window.
10264 (display-buffer-normalize-alist): Use value of override
10265 specifier.
10266 (display-buffer-normalize-specifiers): Use value of
10267 other-window-means-other-frame specifier.
10268 (display-buffer-alist): Rewrite some texts in widgets.
10269 (display-buffer): Spread arguments when calling function
10270 specified by fun-with-args.
10271
ad85fe1f
DD
102722011-06-28 Deniz Dogan <deniz@dogan.se>
10273
1fa280a3
LM
10274 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10275 Unnest `let'.
da68c4c8 10276
ad85fe1f
DD
10277 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10278 selectors (Bug#5732).
ec49bd31 10279 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10280
a08cc025
JA
102812011-06-27 Jari Aalto <jari.aalto@cante.net>
10282
10283 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10284 (eshell-ls-date-format): New defcustom.
10285 (eshell-ls-file): Use it.
10286
e2b551c5
SM
102872011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10290
8982b231
KY
102912011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10292
10293 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10294 (ange-ftp-make-tmp-name): New arg.
10295 (ange-ftp-file-local-copy): Use it.
10296
36c9fa27
J
102972011-06-27 Jambunathan K <kjambunathan@gmail.com>
10298
10299 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10300 no-conversion (Bug#8870).
10301
d68443dc
MR
103022011-06-27 Martin Rudalics <rudalics@gmx.at>
10303
10304 * window.el (window-right, window-left, window-child)
10305 (window-child-count, window-last-child)
10306 (window-iso-combination-p, walk-window-tree-1)
10307 (window-atom-check-1, window-tree-1, delete-window)
10308 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10309 new naming conventions - window-vchild, window-hchild,
10310 window-next and window-prev are now called window-top-child,
10311 window-left-child, window-next-sibling and window-prev-sibling
10312 respectively.
d615d6d2
MR
10313 (resize-window-reset): Rename to window-resize-reset.
10314 (resize-window-reset-1): Rename to window-resize-reset-1.
10315 (resize-window): Rename to window-resize.
10316 (window-min-height, window-min-width)
10317 (resize-mini-window, resize-this-window, resize-root-window)
10318 (resize-root-window-vertically, adjust-window-trailing-edge)
10319 (enlarge-window, shrink-window, maximize-window)
10320 (minimize-window, delete-window, quit-restore-window)
10321 (split-window, balance-windows, balance-windows-area-adjust)
10322 (balance-windows-area, window-state-put-2)
10323 (display-buffer-even-window-sizes, display-buffer-set-height)
10324 (display-buffer-set-width, set-window-text-height)
10325 (fit-window-to-buffer): Rename all "resize-window" prefixed
10326 calls to use the "window-resize" prefix convention.
10327 (display-buffer-alist): Fix symbol for label specifier.
10328 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10329 corresponding specifier.
10330 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10331
b6458526
VB
103322011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10333
10334 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10335 convention.
10336 (ses-call-printer): Does not pass an empty string to formatter when the
10337 cell is empty to keep from barking printer Calc math-format-value.
10338
d31fd9ac
RS
103392011-06-27 Richard Stallman <rms@gnu.org>
10340
43d5bf84
RS
10341 * battery.el (battery-mode-line-limit): New variable.
10342 (battery-update): Handle it.
10343
d31fd9ac
RS
10344 * mail/rmailmm.el (rmail-mime-process-multipart):
10345 Handle truncated messages.
10346
819a6054
GM
103472011-06-27 Glenn Morris <rgm@gnu.org>
10348
10349 * progmodes/flymake.el (flymake-err-line-patterns):
10350 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10351
cedc73f2
VB
103522011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10353
819a6054 10354 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10355 (ses--clean-!, ses--clean-_): New functions.
10356 (ses-range): Add configurability of readout order, and conversion
10357 to Calc vector.
10358
5e5d49b6
VB
10359 * ses.el (ses-repair-cell-reference-all): New function.
10360 (ses-cell-symbol): Set macro as safe, so that it can be used in
10361 formulas.
10362
56e6cc31 10363 * ses.el: Update cycle detection algorithm.
90ca8b49 10364 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10365 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10366 (ses-set-localvars): New function.
10367 (ses-make-cell): Add property-list as a cell element.
10368 (ses-cell-property-get-fun, ses-cell-property-get)
10369 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10370 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10371 New functions.
90ca8b49
VB
10372 (ses-cell-property-set, ses-cell-property-pop)
10373 (ses-cell-property-get-handle): New macro.
10374 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10375 New aliases, used for code readability.
10376 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10377 cycle detection.
10378 (ses-self-reference-early-detection): New defcustom.
fac916bf 10379 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10380 (ses-mode): Use ses-set-localvars.
10381 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10382 before lauching the update processing.
10383 (ses-initialize-Dijkstra-attempt): New function.
10384 (ses-recalculate-cell): Update for cycle detection based on
10385 Dijkstra algorithm.
10386
2bb63e81
VB
10387 * ses.el: Fix commenting and indenting convention.
10388
c9d29fb8
SM
103892011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * bs.el (bs-cycle-next): Complete last change.
10392
d8e4b68b
JB
103932011-06-27 Drew Adams <drew.adams@oracle.com>
10394
10395 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10396
40098786
LMI
103972011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10398
c9d29fb8
SM
10399 * net/network-stream.el (network-stream-open-starttls):
10400 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10401 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10402
40098786
LMI
10403 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10404 to binary to possibly avoid line encoding issues on Windows (among
10405 other things).
10406
468d09d4
LMI
104072011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10408
10409 * net/network-stream.el (open-network-stream): Return an :error
10410 saying what the problem was, if possible.
10411
10412 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10413 server.
10414
10415 * net/network-stream.el (network-stream-open-starttls): If we
10416 wanted to use STARTTLS, and the server offered it, but we weren't
10417 able to because we had no STARTTLS support, then close the connection.
10418 (open-network-stream): Return an :error element, if present.
10419
16f07dd7
CY
104202011-06-26 Chong Yidong <cyd@stupidchicken.com>
10421
88821ca0
CY
10422 * hl-line.el (hl-line-sticky-flag): Doc fix.
10423 (global-hl-line-sticky-flag): New option (Bug#8323).
10424 (global-hl-line-highlight): Obey it.
10425
16f07dd7
CY
10426 * vc/vc.el (vc-revert-show-diff): Default to t.
10427
6b5ccddf
KM
104282011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10429
c9d29fb8
SM
10430 * allout-widgets.el (allout-widgets-post-command-business):
10431 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10432 undecorated when an isearch is continued past, and isearch
10433 automatically collapses them. This leads to "widget leaks", where
10434 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10435 hidden widgets can slow down cursor travel, substantially.
10436 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10437 so we're doing without this nicety.
10438
10439 (allout-widgets-tally-string): Don't try to do a hash-table-count
10440 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10441 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10442 *Messages* when allout-widgets-maintain-tally is t.
10443
355f2e07
MR
104442011-06-26 Martin Rudalics <rudalics@gmx.at>
10445
10446 * window.el (display-buffer-normalize-argument): Rename to
10447 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10448 LABEL argument. Respect special-display-function when popping up
10449 a new frame. Fix code searching for a window showing the buffer
10450 on another frame.
c9d29fb8
SM
10451 (display-buffer-normalize-specifiers):
10452 Call display-buffer-normalize-arguments.
355f2e07
MR
10453 (display-buffer-in-window): Don't undedicate the window if its
10454 buffer remains the same.
10455 Reported by Drew Adams <drew.adams@oracle.com>.
10456 (display-buffer-alist): Add choice for same-window macro
10457 specfier.
10458 (display-buffer): Mention special meaning of LABEL argument in
10459 doc-string. Fix quoting. Don't pop up a new frame even as
10460 fallback.
10461
7ca8fc42
JB
104622011-06-26 Juanma Barranquero <lekktu@gmail.com>
10463
10464 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10465 avoid deleting the current window in some cases (bug#8911).
10466
bc312254
AS
104672011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10468
10469 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10470 (Bug#8934)
10471
2db18f3f
LMI
104722011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10473
c9d29fb8
SM
10474 * net/network-stream.el (network-stream-open-starttls):
10475 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10476 (network-stream-open-tls): Ditto.
10477
6302e0d3
LL
104782011-06-26 Leo Liu <sdl.web@gmail.com>
10479
10480 * register.el (registerv): New struct.
10481 (registerv-make): New function.
c9d29fb8
SM
10482 (jump-to-register, describe-register-1, insert-register):
10483 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10484 struct. (Bug#8415)
10485
5fdd4046
CY
104862011-06-26 Chong Yidong <cyd@stupidchicken.com>
10487
2afef60a
CY
10488 * vc/vc.el (vc-revert-show-diff): New defcustom.
10489 (vc-diff-internal): New arg specifying diff buffer.
10490 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10491 reuse an existing *vc-diff* buffer (Bug#8927).
10492
5fdd4046
CY
10493 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10494
e93db24a
GM
104952011-06-26 Glenn Morris <rgm@gnu.org>
10496
10497 * progmodes/f90.el (f90-critical-indent): New option.
10498 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10499 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10500 (f90-mode): Doc fix.
10501 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10502 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10503 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10504 (f90-match-end): Handle block, critical.
10505
eefff499
GM
105062011-06-25 Glenn Morris <rgm@gnu.org>
10507
f6ba4cc9
GM
10508 * calendar/diary-lib.el (diary-included-files): Doc fix.
10509 (diary-include-files): New function, extracted from
10510 diary-include-other-diary-files and diary-mark-included-diary-files.
10511 (diary-include-other-diary-files, diary-mark-included-diary-files):
10512 Just call diary-include-files.
10513 (diary-mark-entries): Reset diary-included-files on first call.
10514
16712304
GM
10515 * calendar/diary-lib.el (diary-mark-entries)
10516 (diary-mark-included-diary-files):
10517 Visit included diary-files in temp buffers.
10518
5d8e0d43
GM
10519 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10520 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10521 (f90-start-block-re, f90-imenu-generic-expression)
10522 (f90-looking-at-program-block-start, f90-no-block-limit):
10523 Add support for submodules.
10524
ccf7a5d5
GM
10525 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10526 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10527
11fdef7d 105282011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10529
10530 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10531 buffer-file-type before setting its value, to avoid disastrous
eefff499 10532 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10533
74f53697
JB
105342011-06-25 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10537
10538 * ses.el (ses-unload-function):
10539 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10540
10541 * proced.el (proced-unload-function):
10542 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10543
18a4ce5e
AR
105442011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10545
10546 * server.el (server-create-window-system-frame): Add parameters arg.
10547 (server-process-filter): Doc fix. Handle frame-parameters.
10548
519d22cc
JB
105492011-06-25 Juanma Barranquero <lekktu@gmail.com>
10550
10551 Fix bug#8730, bug#8781.
10552
10553 * loadhist.el (unload--set-major-mode): New function.
10554 (unload-feature): Use it.
10555
10556 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10557 (python-unload-function): New function.
10558
c206f5b0
SM
105592011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10562
f9ad64f3
GS
105632011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10564
10565 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10566 the candidates list.
10567
7d0da90e
JB
105682011-06-24 Juanma Barranquero <lekktu@gmail.com>
10569
10570 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10571
14b4e83d
RS
105722011-06-23 Richard Stallman <rms@gnu.org>
10573
10574 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10575 (rmail-variables): Set next-error-move-function.
10576 (rmail-what-message): Take argument POS.
10577 (rmail-next-error-move): New function.
10578
273d2baf
SM
105792011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10582 messages for adjacent non-terminals.
10583
56c2cc9a
RS
105842011-06-23 Richard Stallman <rms@gnu.org>
10585
10586 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10587 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10588 (rmail-start-mail): Don't specify use of rmail-mail-return;
10589 that's done by mail-bury now.
10590 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10591
d59eb518
MA
105922011-06-23 Michael Albinus <michael.albinus@gmx.de>
10593
10594 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10595 SIZE is a number.
10596
02cfc6d6
MR
105972011-06-23 Martin Rudalics <rudalics@gmx.at>
10598
10599 * window.el (get-lru-window, get-mru-window)
10600 (get-largest-window): Never return a minibuffer window.
10601 (display-buffer-pop-up-window): Fix a bug that could lead to
10602 reusing the minibuffer window.
10603 (display-buffer): Pass original specifier argument to
10604 display-buffer-function instead of the normalized one.
10605 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10606
4e323265
LL
106072011-06-22 Leo Liu <sdl.web@gmail.com>
10608
10609 * minibuffer.el (completing-read-function)
10610 (completing-read-default): Move from minibuf.c
10611
7a70468f
RS
106122011-06-22 Richard Stallman <rms@gnu.org>
10613
50718fc2
RS
10614 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10615 to Rmail even if not started by a special Rmail command.
10616
7a70468f
RS
10617 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10618 Copy the buffer currently showing just one message.
10619
297dde5a
RW
106202011-06-22 Roland Winkler <winkler@gnu.org>
10621
10622 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10623 (bibtex-clean-entry): First delete the old key so that a
10624 customized algorithm for generating the new key does not get
10625 confused by the old key.
10626 (bibtex-url): Obey regexp of first step.
10627 (bibtex-search-entries): Do not use add-to-list with local
10628 list-var.
10629
97bb1093
LMI
106302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10631
10632 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10633 stored a user name, then query for the password first, instead of
10634 waiting for SMTP to give an error message and the trying again.
10635
1c0f1a19
JD
106362011-06-22 Lawrence Mitchell <wence@gmx.li>
10637
10638 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10639 BUFFER in call-process.
10640
396f7c9d
LMI
106412011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10642
10643 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10644 QUIT twice.
ddb7ffee
LMI
10645 (smtpmail-try-auth-methods): Require user name and password from
10646 auth-source.
396f7c9d 10647
8998d1b3
MR
106482011-06-22 Martin Rudalics <rudalics@gmx.at>
10649
10650 * window.el (display-buffer-default-specifiers)
10651 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10652 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10653 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10654
10655 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10656 (special-display-frame-alist, special-display-popup-frame):
10657 Remove duplicate declarations. These are now in window.el.
10658
4ea31e07
LMI
106592011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10660
c9d29fb8
SM
10661 * mail/smtpmail.el (smtpmail-via-smtp):
10662 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10663 server supports it. SMTP servers that support STARTTLS commonly
10664 require it.
10665
10666 * net/network-stream.el (network-stream-open-starttls): Support
10667 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10668 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10669
95f41d9a
LMI
10670 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10671 upgrades with `open-network-stream', and rely solely on
10672 auth-source for all credentials. Big changes throughout the file,
10673 but in particular:
c9d29fb8
SM
10674 (smtpmail-auth-credentials): Remove.
10675 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10676 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10677 MAIL FROM, too.
95f41d9a 10678
c9d29fb8
SM
10679 * net/network-stream.el (network-stream-open-starttls):
10680 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10681 STARTTLS.
10682 (auth-source): Require.
10683 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10684 (network-stream-certificate): Change cert-cert to cert and
10685 cert-key to key.
4ea31e07 10686
065ec2c7
MA
106872011-06-21 Michael Albinus <michael.albinus@gmx.de>
10688
10689 * net/tramp-cache.el (top): Don't load the persistency file when
10690 "emacs -Q" has been called.
10691
cd93b359
DR
106922011-06-21 Tim Harper <timcharper@gmail.com>
10693
d8e4b68b
JB
10694 * term/ns-win.el (ns-initialize-window-system):
10695 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10696 resource to NO as it is not yet supported by the NS port.
10697
ae9c0411
JB
106982011-06-21 Juanma Barranquero <lekktu@gmail.com>
10699
10700 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10701 (list-dynamic-libraries): ...not here.
10702
7f3f739f
LL
107032011-06-21 Leo Liu <sdl.web@gmail.com>
10704
10705 * subr.el (sha1): Implement sha1 using secure-hash.
10706
327c8fb1
MR
107072011-06-21 Martin Rudalics <rudalics@gmx.at>
10708
10709 * window.el (display-buffer-alist): In default value do not
10710 enforce searching a window on any but the selected frame.
10711 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10712 (display-buffer-select-window): Remove function.
10713 (display-buffer-in-window): When a window on another frame gets
10714 reused, do not select it any more but just raise its frame if
10715 necessary (Bug#8851) and (Bug#8856).
10716 (display-buffer-normalize-options): Handle pop-up-frames related
10717 options more faithfully.
10718 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10719 window if it is on another frame.
c9d29fb8
SM
10720 (display-buffer-alist, display-buffer-default-specifiers):
10721 Don't make new frame unsplittable by default.
9e9de014
MR
10722 (display-buffer-normalize-argument): Fix doc-string typo and use
10723 'same-frame-other-window instead of 'other-window when associating
10724 with display-buffer-macro-specifiers.
327c8fb1 10725
7cf3f556
VB
107262011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10727
10728 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10729 New functions.
10730 (5x5-mode-map, 5x5-mode-menu): Bind them.
10731 (5x5-draw-grid): Tweak the solver's rendering.
10732
60a406cf
SM
107332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10736 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10737
d8e4b68b 107382011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10739
10740 * menu-bar.el: Use function variable instead of switch-to-buffer.
10741 (menu-bar-select-buffer-function): New variable.
60a406cf 10742 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10743
478d6f95
SM
107442011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10745
10746 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10747 variable's status.
10748
ca530739
JD
107492011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10750
10751 * x-dnd.el (x-dnd-version-from-flags)
10752 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10753 and long as number (Bug#8899).
10754 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10755
bcd70d97
SM
107562011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10757
60a406cf 10758 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10759 (completion-try-completion, completion-all-completions): Compute the
10760 metadata argument if it's missing; make it optional (bug#8795).
10761
60a406cf 10762 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10763 (widget-complete): Use new :completion-function property.
10764 (widget-completions-at-point): New function.
10765 (default): Use :completion-function instead of :complete.
60a406cf
SM
10766 (widget-default-completions): Rename from widget-default-complete;
10767 Rewrite.
bcd70d97
SM
10768 (widget-string-complete, widget-file-complete, widget-color-complete):
10769 Remove functions.
10770 (file, symbol, function, variable, coding-system, color):
10771 * international/mule-cmds.el (default-input-method, charset)
10772 (language-info-custom-alist):
10773 * cus-edit.el (face): Use new property :completions.
10774
10775 * progmodes/pascal.el (pascal-completions-at-point): New function.
10776 (pascal-mode): Use it.
10777 (pascal-mode-map): Use completion-at-point.
10778 (pascal-toggle-completions): Make obsolete.
10779 (pascal-complete-word, pascal-show-completions):
10780 * progmodes/octave-mod.el (octave-complete-symbol):
10781 Redefine as obsolete alias.
10782 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10783 Signal absence of completion info for old Octave,
10784 (inferior-octave-complete): Redefine as obsolete alias.
10785 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10786 (meta-completions-at-point): Rename from meta-complete-symbol and
10787 adapt it for use on completion-at-point-functions.
10788 (meta-common-mode): Use it.
10789 (meta-looking-at-backward, meta-match-buffer): Remove.
10790 (meta-complete-symbol): Redefine as obsolete alias.
10791 (meta-common-mode-map): Use completion-at-point.
10792 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10793 (makefile-mode-map): Use completion-at-point.
10794 (makefile-completions-at-point): Rename from makefile-complete and
10795 adapt it for use on completion-at-point-functions.
10796 (makefile-mode): Use it.
10797 (makefile-complete): Redefine as obsolete alias.
10798
aebf69c8
DD
107992011-06-20 Deniz Dogan <deniz@dogan.se>
10800
10801 * net/rcirc.el: Delete trailing whitespaces once and for all.
10802
bfbbb27d
DC
108032011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10804
10805 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10806
d264a46b
CY
108072011-06-19 Chong Yidong <cyd@stupidchicken.com>
10808
4ca009e5
CY
10809 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10810
d264a46b
CY
10811 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10812
fbf5b3ce
MR
108132011-06-19 Martin Rudalics <rudalics@gmx.at>
10814
10815 * window.el (display-buffer-other-window-means-other-frame):
10816 Call display-buffer-normalize-alist.
10817 (display-buffer-normalize-specifiers-1): Rename to
10818 display-buffer-normalize-argument. New argument other-frame.
10819 Rewrite.
10820 (display-buffer-normalize-specifiers-2): Rename to
10821 display-buffer-normalize-options.
10822 (display-buffer-normalize-alist-1): New function.
10823 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
10824 display-buffer-normalize-alist.
10825 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
10826 (display-buffer-normalize-options-inhibit): New variable.
10827 (display-buffer-normalize-specifiers): Rewrite calling
10828 display-buffer-normalize-alist,
10829 display-buffer-normalize-argument, and
10830 display-buffer-normalize-options. Don't call the latter if
10831 display-buffer-normalize-options-inhibit is non-nil.
10832 (frame-auto-delete): New option.
10833 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
10834 (window-list-no-nils, window-state-ignored-parameters)
10835 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
10836 (window-state-put-1, window-state-put-2, window-state-put):
10837 New functions.
9a028c23
MR
10838 (display-buffer-normalize-options): Move special-display-p group
10839 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 10840
6d10d800
CY
108412011-06-18 Chong Yidong <cyd@stupidchicken.com>
10842
6420d28b
CY
10843 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10844 groups (Bug#8776).
10845 (rx-submatch-n): New function.
10846 (rx): Document it.
10847
ddb8b596
CY
10848 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10849 (Bug#8768).
10850
10851 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10852
77080289
CY
10853 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10854
61dfb316
CY
10855 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10856 anytime existing face settings are present (Bug#8889).
10857
6d10d800
CY
10858 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10859 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10860 Remove unused argument.
10861
be3fb2b8
MR
108622011-06-18 Martin Rudalics <rudalics@gmx.at>
10863
bcd70d97
SM
10864 * window.el (display-buffer-default-specifiers):
10865 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
10866 pop-up-window-min-width, and another reuse-window specifier
10867 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
10868 (display-buffer-normalize-specifiers-2):
10869 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
10870 pop-up-windows is unset. Add a reuse-window specifier for the
10871 case popping up a new window fails.
10872 (special-display-popup-frame): Remove double quoting.
28dec25a 10873 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 10874
1c6d8c76
SM
108752011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10878 according to comint-completion-addsuffix.
10879
10880 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10881 (pcomplete-suffix-list): Mark as obsolete.
10882 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10883 pcomplete-seen in the closure.
10884 (pcomplete-comint-setup): Setup completion-at-point as well.
10885 (pcomplete--entries): New function.
10886 (pcomplete--env-regexp): New var.
10887 (pcomplete-entries): Rewrite to work with partial-completion and
10888 without relying on pcomplete-suffix-list.
10889 (pcomplete-pare-list): Remove, unused.
10890
25aef8b8
MR
108912011-06-17 Martin Rudalics <rudalics@gmx.at>
10892
10893 * window.el (display-buffer-alist): Set pop-up-window-min-height
10894 and pop-up-window-min-width in default value. Reported by
10895 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10896 other-window-means-other-frame.
10897 (display-buffer-macro-specifiers): Comment out entry for
10898 other-window specifier.
10899 (display-buffer-other-window-means-other-frame): New function.
10900 (display-buffer-normalize-specifiers-1): New arguments
10901 buffer-name and label. Treat other-window case specially.
10902 (display-buffer-normalize-specifiers-2): Treat other-window case
10903 specially.
10904 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
10905 (display-buffer-normalize-specifiers):
10906 Call display-buffer-normalize-specifiers-3.
25aef8b8 10907
dbad4f69
MR
109082011-06-17 Martin Rudalics <rudalics@gmx.at>
10909
10910 * window.el (same-window-p): Fix two typos introduced when
10911 adding with-no-warnings.
d1067961
MR
10912 (display-buffer-normalize-specifiers-1): Don't check
10913 pop-up-frames for 'unset initialization.
10914 (display-buffer-normalize-specifiers-2): Major rewrite using
10915 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10916 (pop-up-frames, display-buffer-reuse-frames)
10917 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10918 Suggested by David Engster <deng@randomsample.de>.
10919 (even-window-heights): Initialize to 'unset.
10920 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
10921 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10922 other window case.
dbad4f69 10923
9b9c9e3a
MR
109242011-06-16 Martin Rudalics <rudalics@gmx.at>
10925
bcd70d97
SM
10926 * window.el (display-buffer-normalize-specifiers-1):
10927 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 10928 second argument of display-buffer (Bug#8865).
981d5c09
MR
10929 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10930 (switch-to-buffer-other-window-same-frame)
10931 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10932 Adams (Bug#8875).
9c2755e9
MR
10933 (display-buffer): Don't check noninteractive when calling
10934 display-buffer-pop-up-frame.
10935 (display-buffer-pop-up-frame): Never pop up a frame in
10936 noninteractive mode (Bug#8857).
67222e1d
MR
10937 (enlarge-window, shrink-window): Don't report an error when the
10938 window can't be resized as requested (Bug#8862).
9b9c9e3a 10939
2b75be67
SM
109402011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10941
9ffdd3ba
SM
10942 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10943
cb581a67
SM
10944 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10945
2b75be67
SM
10946 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10947
8c0e3589
AM
109482011-06-15 Alan Mackenzie <acm@muc.de>
10949
cb581a67
SM
10950 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10951 for declarators, disable knr checking to speed up for normal files.
10952 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 10953
b96e6cde
LMI
109542011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10955
4bba86e6
LMI
10956 * net/network-stream.el (open-network-stream): Add the keyword
10957 :always-query-capabilities for the case where you want to force a
10958 `plain' network connection, but the protocol still requires the
10959 capabilitiy command (i.e., SMTP and EHLO).
10960
2b75be67 10961 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
10962 consistency with other `-live-p' functions.
10963
efdcdbf8
SM
109642011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * window.el (same-window-buffer-names, same-window-regexps)
10967 (special-display-frame-alist, special-display-popup-frame)
10968 (special-display-function, special-display-buffer-names)
10969 (special-display-regexps, pop-up-frame-alist)
10970 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10971 (pop-up-windows, split-window-preferred-function)
10972 (split-height-threshold, split-width-threshold, even-window-heights)
10973 (display-buffer-mark-dedicated): Don't encourage the use of
10974 display-buffer-alist from Elisp code.
10975
c5cde042
DN
109762011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10977
10978 * progmodes/python.el (python-mode): Derive from prog-mode.
10979 * progmodes/ps-mode.el (ps-mode):
10980 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 10981 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
10982 * progmodes/ld-script.el (ld-script-mode): Likewise.
10983
baa1c9ab
MR
109842011-06-15 Martin Rudalics <rudalics@gmx.at>
10985
10986 * window.el (display-buffer-alist): Trim default value to avoid
10987 popping up a new frame (Bug#8857) or reusing an arbitrary window
10988 on another frame.
10989 (display-buffer): Do not fall back on popping up a new frame in
10990 batch mode (Bug#8857).
10991
c5dd5a51
CY
109922011-06-14 Chong Yidong <cyd@stupidchicken.com>
10993
10994 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10995 (custom-theme-summary): New function.
10996 (customize-themes): Use it.
10997
d647b7c4
GM
109982011-06-13 Glenn Morris <rgm@gnu.org>
10999
11000 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11001
9481c002
MR
110022011-06-13 Martin Rudalics <rudalics@gmx.at>
11003
357f93d2
MR
11004 * help.el (help-window): Remove variable.
11005 (help-window-point-marker, temp-buffer-max-height)
11006 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11007 (help-print-return-message): Don't set help-window.
11008 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11009 (help-window-setup-finish): Remove.
11010 (help-window-display-message, help-window-setup)
11011 (with-help-window): Major rewrite based on new
11012 display-buffer-window variable.
11013
11014 * help-mode.el (help-mode-finish): Remove help-window related
11015 code.
11016
11017 * view.el (view-exits-all-viewing-windows): Remove reference to
11018 view-return-to-alist in doc-string.
11019 (view-return-to-alist): Make obsolete.
11020 (view-buffer): Call pop-to-buffer-same-window and remove
11021 undo-window code.
11022 (view-buffer-other-window): Call pop-to-buffer-other-window and
11023 simplify code. Ignore second argument.
11024 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11025 simplify code. Ignore second argument.
11026 (view-return-to-alist-update): Make obsolete.
11027 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11028 Rewrite using quit-restore window parameters.
2b75be67
SM
11029 (view-mode-exit): Rename second argument to EXIT-ONLY.
11030 Rewrite using quit-restore-window.
357f93d2
MR
11031 (View-exit, View-exit-and-edit, View-leave, View-quit)
11032 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11033 appropriate arguments.
11034 (view-end-message): Use quit-restore window parameter.
11035
9481c002
MR
11036 * window.el (display-buffer-function): Rewrite doc-string.
11037 (display-buffer-window, display-buffer-alist): New variables.
11038 (display-buffer-split-specifiers)
11039 (display-buffer-side-specifiers)
11040 (display-buffer-macro-specifiers): New constants.
11041 (display-buffer-even-window-sizes, display-buffer-set-height)
11042 (display-buffer-set-width, display-buffer-select-window)
11043 (display-buffer-in-window, display-buffer-reuse-window)
11044 (display-buffer-split-window-1, display-buffer-split-window)
11045 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11046 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11047 (display-buffer-in-side-window, normalize-buffer-to-display)
11048 (display-buffer-normalize-specifiers-1)
11049 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11050 (display-buffer-normalize-specifiers, display-buffer-frame):
11051 New functions.
9481c002
MR
11052 (display-buffer): Major rewrite.
11053 (display-buffer-other-window, display-buffer-other-frame)
11054 (pop-to-buffer, switch-to-buffer-other-window)
11055 (switch-to-buffer-other-frame): Rewrite.
11056 (display-buffer-same-window, display-buffer-same-frame)
11057 (display-buffer-same-frame-other-window)
11058 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11059 (pop-to-buffer-other-window)
11060 (pop-to-buffer-same-frame-other-window)
11061 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11062 (switch-to-buffer-other-window-same-frame): New functions.
11063 (same-window-p, special-display-p): Rewrite disabling warnings.
11064 Make obsolete.
11065 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11066 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11067 Make obsolete
11068 (same-window-buffer-names, same-window-regexps)
11069 (special-display-frame-alist, special-display-popup-frame)
11070 (special-display-function, special-display-buffer-names)
11071 (special-display-regexps, pop-up-frame-alist)
11072 (pop-up-frame-function, split-window-preferred-function)
11073 (split-height-threshold, split-width-threshold)
11074 (even-window-heights): Make obsolete.
11075
9db51aca
GM
110762011-06-12 Glenn Morris <rgm@gnu.org>
11077
11078 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11079 Misc simplifications.
9db51aca 11080
39cffb44
MR
110812011-06-12 Martin Rudalics <rudalics@gmx.at>
11082
11083 * window.el (window-safely-shrinkable-p): Restore function which
11084 was inadvertently removed in change from 2011-06-11. Declare as
11085 obsolete.
11086
2b75be67
SM
11087 * calendar/calendar.el (calendar-generate-window):
11088 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11089 window-safely-shrinkable-p.
11090
a8955be7
GM
110912011-06-12 Glenn Morris <rgm@gnu.org>
11092
11093 * progmodes/fortran.el (fortran-mode-syntax-table):
11094 * progmodes/f90.el (f90-mode-syntax-table):
11095 Set % to punctuation. (Bug#8820)
11096 (f90-find-tag-default): Remove, no longer needed.
11097
f0d4059d
DC
110982011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11099
11100 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11101
1100a63c
CY
111022011-06-11 Chong Yidong <cyd@stupidchicken.com>
11103
11104 * image.el (image-animated-p): Return animation delay in seconds.
11105 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11106 (image-animate-timeout): Remove DELAY argument. Don't assume
11107 every subimage has the same delay; get it from image-animated-p.
11108 (image-animate): Caller changed.
11109
def722bf
MA
111102011-06-11 Michael Albinus <michael.albinus@gmx.de>
11111
11112 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11113 to ignored backtrace functions.
11114
0a2bb1a9
GM
111152011-06-11 Glenn Morris <rgm@gnu.org>
11116
11117 * calendar/appt.el (appt-disp-window-function): Doc fix.
11118 (appt-check): Handle overlapping appointments. (Bug#8337)
11119
6198ccd0
MR
111202011-06-11 Martin Rudalics <rudalics@gmx.at>
11121
11122 * window.el (window-tree-1, window-tree): New functions, moving
11123 the latter to window.el.
11124 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11125 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11126 (bw-refresh-edges): Remove.
11127 (balance-windows-1, balance-windows-2): New functions.
11128 (balance-windows): Rewrite in terms of window tree functions,
11129 balance-windows-1 and balance-windows-2.
11130 (bw-adjust-window): Remove.
11131 (balance-windows-area-adjust): New function with functionality of
11132 bw-adjust-window but using resize-window.
2b75be67
SM
11133 (set-window-text-height): Rewrite doc-string.
11134 Use normalize-live-window and resize-window.
11135 (enlarge-window-horizontally, shrink-window-horizontally):
11136 Rename argument to DELTA.
6198ccd0
MR
11137 (window-buffer-height): New function.
11138 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11139 Rewrite using new window resize routines.
2b75be67
SM
11140 (kill-buffer-and-window, mouse-autoselect-window-select):
11141 Use ignore-errors instead of condition-case.
6198ccd0
MR
11142 (quit-window): Call delete-frame instead of delete-windows-on
11143 for the only buffer on frame.
11144
9397e56f
MR
111452011-06-10 Martin Rudalics <rudalics@gmx.at>
11146
11147 * loadup.el (top-level): Load window before files for the sake
11148 of replace-buffer-in-windows.
11149
11150 * files.el (read-buffer-to-switch)
11151 (switch-to-buffer-other-window)
2b75be67
SM
11152 (switch-to-buffer-other-frame, display-buffer-other-frame):
11153 Move to window.el.
9397e56f
MR
11154
11155 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11156 (previous-buffer): Move to window.el.
11157
11158 * bindings.el (unbury-buffer): Move to window.el.
11159
11160 * window.el (delete-other-windows-vertically): Move after
11161 definition of delete-other-windows.
11162 (other-window, delete-windows-on, replace-buffer-in-windows):
11163 Move here from window.c.
11164 (record-window-buffer, unrecord-window-buffer)
11165 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11166 (switch-to-next-buffer): New functions.
11167 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11168 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11169 (previous-buffer): Move here from simple.el.
11170 Call switch-to-prev-buffer.
9397e56f
MR
11171 (bury-buffer): Move here from buffer.c. Switch to previous
11172 buffer when window cannot be deleted.
11173 (unbury-buffer): Move here from bindings.el.
11174 (ctl-x-map): Move binding for other-window from window.c to
11175 here.
11176 (read-buffer-to-switch, switch-to-buffer-other-window)
11177 (switch-to-buffer-other-frame): Move here from files.el.
11178 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11179 (switch-to-buffer): Move here from buffer.c.
11180 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11181
562dd5e9
MR
111822011-06-10 Martin Rudalics <rudalics@gmx.at>
11183
11184 * window.el (window-min-height, window-min-width): Move here
11185 from window.c. Add defcustoms and rewrite doc-strings.
11186 (resize-mini-window, resize-window): New functions.
11187 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11188 Move here from window.c.
11189 (maximize-window, minimize-window): New functions.
11190 (delete-window, delete-other-windows, split-window): Move here
11191 from window.c.
11192 (window-split-min-size): New function.
11193 (split-window-keep-point): Mention split-window-above-each-other
11194 instead of split-window-vertically.
2b75be67 11195 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11196 Rename split-window-vertically to split-window-above-each-other
11197 and provide defalias for old definition.
11198 (split-window-side-by-side, split-window-horizontally):
11199 Rename split-window-horizontally to split-window-side-by-side
11200 and provide defalias for the old definition.
562dd5e9
MR
11201 (ctl-x-map): Move bindings for delete-window,
11202 delete-other-windows and enlarge-window here from window.c.
11203 Replace bindings for split-window-vertically and
11204 split-window-horizontally by bindings for
11205 split-window-above-each-other and split-window-side-by-side.
11206
11207 * cus-start.el (all): Remove entries for window-min-height and
11208 window-min-width. Add entries for window-splits and
11209 window-nest.
11210
f0da764a
GM
112112011-06-09 Glenn Morris <rgm@gnu.org>
11212
80675c21
GM
11213 * calendar/appt.el (appt-mode-line): New function.
11214 (appt-check, appt-disp-window): Use it.
11215
f0da764a
GM
11216 * files.el (hack-one-local-variable-eval-safep):
11217 Allow minor-modes with explicit +/-1 arguments.
11218
59f623b7
TZ
112192011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11220
11221 * term/xterm.el (xterm): Add defgroup.
11222 (xterm-extra-capabilities): Add defcustom to supply known xterm
11223 capabilities, skip querying them, or query them (default).
11224 (terminal-init-xterm): Use it.
11225 (terminal-init-xterm-modify-other-keys): New function to set up
11226 modifyOtherKeys support to simplify `terminal-init-xterm'.
11227
9aab8e0d
MR
112282011-06-09 Martin Rudalics <rudalics@gmx.at>
11229
11230 * window.el (resize-window-reset, resize-window-reset-1)
11231 (resize-subwindows-skip-p, resize-subwindows-normal)
11232 (resize-subwindows, resize-other-windows, resize-this-window)
11233 (resize-root-window, resize-root-window-vertically)
11234 (window-deletable-p, window-or-subwindow-p)
11235 (frame-root-window-p): New functions.
11236
e8b08aee
GM
112372011-06-09 Glenn Morris <rgm@gnu.org>
11238
11239 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11240 (ange-ftp-get-files): Use it.
11241
254c37a5
AK
112422011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11243
11244 * mail/sendmail.el (mail-recover-1, mail-recover):
11245 * files.el (recover-file, recover-session):
11246 Handle dired-listing-switches not being just a single short option.
11247
35d7dbd3
GM
112482011-06-09 Glenn Morris <rgm@gnu.org>
11249
11250 * calendar/appt.el (appt-display-message, appt-disp-window):
11251 Handle lists of appointments.
11252
387522b2
MR
112532011-06-08 Martin Rudalics <rudalics@gmx.at>
11254
2b75be67
SM
11255 * window.el (one-window-p): Move down in code.
11256 Rewrite doc-string.
11257 (window-current-scroll-bars): Rewrite doc-string.
11258 Normalize live window argument.
387522b2
MR
11259 (walk-windows, get-window-with-predicate, count-windows):
11260 Rewrite doc-string. Use window-list-1.
11261 (window-in-direction-2, window-in-direction, get-mru-window):
11262 New functions.
11263
d8e4b68b 112642011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11265
11266 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11267 Doc fix (Bug#8713).
11268
112692011-06-08 Chong Yidong <cyd@stupidchicken.com>
11270
11271 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11272
112732011-06-08 Juanma Barranquero <lekktu@gmail.com>
11274
11275 * loadhist.el (unload-feature-special-hooks):
11276 Add `comint-output-filter-functions'.
11277
0de12c52
IK
112782011-06-08 Ivan Kanis <gnu@kanis.fr>
11279
11280 * calendar/appt.el (appt-check): Move some initializations into the let.
11281
f3d1777e
MR
112822011-06-08 Martin Rudalics <rudalics@gmx.at>
11283
11284 * window.el (window-height): Defalias to window-total-height.
11285 (window-width): Defalias to window-body-width.
11286
18af70d0
CY
112872011-06-07 Chong Yidong <cyd@stupidchicken.com>
11288
11289 * image-mode.el (image-toggle-animation): New command.
11290 (image-mode-map): Bind it to RET.
11291 (image-mode): Update message.
11292 (image-toggle-display-image): Avoid a spurious cache flush.
11293 (image-transform-rotation): Doc fix.
11294 (image-transform-properties): Return quickly in the normal case.
11295 (image-animate-loop): Rename from image-animate-max-time.
11296
2b75be67 11297 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11298 (create-animated-image): Remove unnecessary function.
11299 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11300 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11301 (image-animate-timer): Use car-safe.
11302 (image-animate-timeout): Rename argument.
11303
190b47e6
MR
113042011-06-07 Martin Rudalics <rudalics@gmx.at>
11305
11306 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11307 window.c. Rename first argument to ALL-FRAMES.
11308 Rephrase doc-strings.
11309 (get-buffer-window-list): Rewrite using window-list-1.
11310 Rephrase doc-string.
a1511caf
MR
11311 (window-safe-min-height, window-safe-min-width): New constants.
11312 (window-size-ignore, window-min-size, window-min-size-1)
11313 (window-sizable, window-sizable-p, window-size-fixed-1)
11314 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11315 (window-max-delta-1, window-max-delta, window-resizable)
11316 (window-resizable-p, window-total-height, window-total-width)
11317 (window-body-width): New functions.
11318 (window-full-height-p, window-full-width-p): Rewrite using
11319 window-total-size.
11320 (window-body-height): Rewrite using window-body-size.
190b47e6 11321
85cc1f11
MR
113222011-06-06 Martin Rudalics <rudalics@gmx.at>
11323
11324 * window.el (window-right, window-left, window-child)
11325 (window-child-count, window-last-child, window-any-p)
11326 (normalize-live-buffer, normalize-live-frame)
11327 (normalize-any-window, normalize-live-window)
11328 (window-iso-combination-p, window-iso-combined-p)
11329 (window-iso-combinations)
11330 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11331 (windows-with-parameter, window-with-parameter)
11332 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11333 (window-atom-check, window-side-check, window-check):
11334 New functions.
85cc1f11
MR
11335 (ignore-window-parameters, window-sides, window-sides-vertical)
11336 (window-sides-slots): New variables.
11337 (window-size-fixed): Move down in code. Minor doc-string fix.
11338
e7156492
AS
113392011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11340
11341 * comint.el (comint-dynamic-complete-as-filename)
11342 (comint-dynamic-complete-filename): Correctly call
11343 completion-in-region.
11344
7e821d0d
DD
113452011-06-05 Deniz Dogan <deniz@dogan.se>
11346
11347 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11348 in last change.
11349
ac09b8a1
DD
113502011-06-05 Deniz Dogan <deniz@dogan.se>
11351
11352 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11353 (rcirc): Use it to prompt for encryption.
11354
34699b85
RW
113552011-06-05 Roland Winkler <winkler@gnu.org>
11356
11357 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11358 (bibtex-search-entries): New command bound to C-c C-a.
11359 (bibtex-display-entries): New function.
11360
004dedd3
RW
113612011-06-05 Roland Winkler <winkler@gnu.org>
11362
11363 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11364 (bibtex-insert-kill): After yanking insert newline if necessary.
11365 (bibtex-initialize): Call bibtex-string-files-init only once.
11366 (bibtex-mode): Do not call easy-menu-add.
11367 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11368 (bibtex-yank): Set arg properly if nil.
11369
022fe7ce
RW
113702011-06-05 Roland Winkler <winkler@gnu.org>
11371
2b75be67
SM
11372 * textmodes/bibtex.el (bibtex-search-entry-globally):
11373 New variable.
022fe7ce
RW
11374 (bibtex-search-entry): Use it.
11375
b7c3692a
RW
113762011-06-05 Roland Winkler <winkler@gnu.org>
11377
11378 * textmodes/bibtex.el (bibtex-entry-format): New option
11379 sort-fields.
11380 (bibtex-format-entry, bibtex-reformat): Honor this option.
11381 (bibtex-parse-entry): Return fields in proper order.
11382
8eda563d
JB
113832011-06-05 Juanma Barranquero <lekktu@gmail.com>
11384
11385 * doc-view.el (doc-view-remove-if): Move computation of result out
11386 of `dolist' to silence misleading lexical-binding warning.
11387
7dbe3dbc
CY
113882011-06-04 Chong Yidong <cyd@stupidchicken.com>
11389
11390 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11391 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11392
0c33dd17
MA
113932011-06-04 Michael Albinus <michael.albinus@gmx.de>
11394
11395 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11396 "SunOS 5.10".
11397
f8f91c2b
MA
113982011-06-04 Michael Albinus <michael.albinus@gmx.de>
11399
11400 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11401 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11402 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11403 (tramp-parse-putty):
11404 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11405 (tramp-completion-function-alist-ssh)
11406 (tramp-completion-function-alist-telnet)
11407 (tramp-completion-function-alist-su)
11408 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11409 cookie.
11410
11411 * net/tramp-ftp.el:
11412 * net/tramp-sh.el:
11413 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11414 load "tramp.el" `tramp-set-completion-function'.
11415
e17d9003
SM
114162011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * shell.el: Require and use pcomplete.
11419 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11420 (shell-completion-vars): Set pcomplete-default-completion-function.
11421
6c4cab03
DD
114222011-06-04 Deniz Dogan <deniz@dogan.se>
11423
11424 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11425 `memq' (Bug#8799).
11426
ea9fafe0
SM
114272011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11430
b3e945d3
JB
114312011-06-02 Juanma Barranquero <lekktu@gmail.com>
11432
11433 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11434 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11435 * vc/log-view.el (log-view-beginning-of-defun):
11436 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11437 (smerge-refine-forward, smerge-refine-chopup-region):
11438 Silence warning for unused `dotimes' counter variables.
11439
7d520089
SM
114402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * net/tramp.el (tramp-with-progress-reporter): Rename from
11443 with-progress-reporter. Use `declare'.
11444 * net/tramp-smb.el:
11445 * net/tramp-sh.el:
11446 * net/tramp-gvfs.el: Update all uses.
11447
a1c2400f
JB
114482011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11449
11450 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11451 buffer isn't killed before making it current.
11452
2403c841
SM
114532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 Silence various byte-compiler warnings.
11456 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11457 `access-type' and new obsolescence format.
11458 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11459 new format.
11460 (byte-compile-check-variable): New `access-type' argument.
11461 Only warn if the access-type is obsolete.
11462 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11463 (byte-compile-variable-set): Adjust callers.
11464 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11465 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11466 setting it as obsolete.
11467 * simple.el (minibuffer-completing-symbol):
11468 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11469 access as obsolete.
11470 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11471 obsolete yet.
11472 * international/quail.el (quail-mouse-choose-completion): Remove unused
11473 code referring to obsolete var.
11474 (quail-choose-completion-string): Remove.
11475 * server.el (server-clients-with, server-kill-buffer-query-function)
11476 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11477 * proced.el (proced-send-signal):
11478 * emacs-lisp/lisp.el (lisp-complete-symbol):
11479 Replace completion-annotate-function with completion-extra-properties.
11480
2462470b
SM
114812011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11482
fb5b2591
SM
11483 * simple.el (goto-line): Use read-number.
11484 (overriding-map-is-bound): Remove.
11485 (saved-overriding-map): Change default.
11486 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11487 Take the map as argument.
11488 (universal-argument, negative-argument, digit-argument): Use it.
11489 (restore-overriding-map): Adjust.
11490 (do-auto-fill): Use fill-forward-paragraph.
11491 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11492
fd6fa53f
SM
11493 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11494 (minibuffer-inactive-mode): New major mode.
11495 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11496 the *Messages* buffer" hack.
11497 (mouse-popup-menubar): Don't burp if the event is a normal key.
11498
2462470b
SM
11499 Miscellaneous tweaks.
11500 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11501 lexical scoping as in subr.el's dolist and dotimes.
11502 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11503 Silence compiler warning.
11504 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11505 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11506 * international/ccl.el (ccl-compile): Trivial simplification.
11507 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11508 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11509 `printflag' argument.
11510 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11511 Purecopy the whole obsolescence data.
11512
108bf785
LL
115132011-06-01 Leo Liu <sdl.web@gmail.com>
11514
11515 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11516 improve doc-string as suggested by Marco Pessotto
11517 <melmothx@gmail.com>.
11518 (rcirc-print): Fix last change.
11519
30a23501
SM
115202011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11521
11522 * minibuffer.el (complete-with-action): Return nil for the metadata and
11523 boundaries of non-functional tables.
11524 (completion-table-dynamic): Return nil for the metadata.
11525 (completion-table-with-terminator): Add default case, using
11526 complete-with-action.
11527 (completion--metadata): New function.
11528 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11529 to try and avoid pathological performance problems.
11530 (completion--embedded-envvar-table): Return `category' metadata.
11531
bcd54f83
LMI
115322011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
11534 * subr.el (process-alive-p): New tiny convenience function.
11535
e227544d
SM
115362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11537
11538 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11539 content but also its previous major mode.
11540
e8296fdc
HE
115412011-05-31 Helmut Eller <eller.helmut@gmail.com>
11542
4d61f28d 11543 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11544 *Backtrace* buffer when we exit with C-M-c.
11545
620c53a6
SM
115462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11547
11548 * minibuffer.el: Add metadata method to completion tables.
11549 (completion-category-overrides): New defcustom.
11550 (completion-metadata, completion--field-metadata)
11551 (completion-metadata-get, completion--styles)
11552 (completion--cycle-threshold): New functions.
11553 (completion-try-completion, completion-all-completions):
11554 Add `metadata' argument to choose completion-styles.
11555 (completion--do-completion): Use metadata to choose cycling.
11556 (completion-all-sorted-completions): Use metadata for sorting.
11557 Remove :completion-cycle-penalty which is not needed any more.
11558 (completion--try-word-completion): Add `metadata' argument.
11559 (minibuffer-completion-help): Check metadata for annotation function
11560 and sorting.
11561 (completion-file-name-table): Return `category' metadata.
11562 (minibuffer-completing-file-name): Make obsolete.
11563 * simple.el (minibuffer-completing-symbol): Make obsolete.
11564 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11565 completion-try-completion.
11566
1257e755
SM
115672011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11570
3767e706
LL
115712011-05-30 Leo Liu <sdl.web@gmail.com>
11572
11573 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11574 (rcirc-print): Decode all incoming messages (bug#8744).
11575 (rcirc-decode-coding-system): Allow value nil for automatic coding
11576 system detection.
3767e706 11577
d1a5d56a
GM
115782011-06-01 Glenn Morris <rgm@gnu.org>
11579
11580 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11581
e8cbec34
CY
115822011-05-29 Chong Yidong <cyd@stupidchicken.com>
11583
11584 * image.el (image-animate-max-time): Allow nil and t values.
11585 Default to nil.
11586 (create-animated-image): Doc fix.
11587 (image-animate-start): Remove second arg; just use
11588 image-animate-max-time.
11589 (image-animate-timeout): Doc fix. Args changed.
11590
11591 * image-mode.el (image-toggle-display-image): Ensure that the
11592 image spec passed to the animate timer is the same object as in
58179cce 11593 the buffer's display property (Bug#6981).
e8cbec34
CY
11594 (image-transform-properties): Doc fix.
11595
11596 * image.el (image-animate-max-time): Default to nil.
11597
159daf87
MR
115982011-05-29 Martin Rudalics <rudalics@gmx.at>
11599
11600 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11601 entire buffer list (Bug#8184).
11602
d66c4c7c
CY
116032011-05-29 Chong Yidong <cyd@stupidchicken.com>
11604
11605 * image.el (imagemagick-types-inhibit)
11606 (imagemagick-register-types): Doc fix.
11607
80aec780
DD
116082011-05-29 Deniz Dogan <deniz@dogan.se>
11609
11610 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11611 default.
11612
1dd3c2d9
CY
116132011-05-29 Chong Yidong <cyd@stupidchicken.com>
11614
11615 * select.el: Don't perform clipboard-manager saving in hooks;
11616 leave the hooks empty.
11617
60e56523
LL
116182011-05-28 Leo Liu <sdl.web@gmail.com>
11619
11620 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11621 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11622 (occur-edit-mode): New major mode (Bug#8463).
11623 (occur-after-change-function): New function.
11624 (occur-engine): Give Occur tags a read-only property.
11625
2b1e1a22
KR
116262011-05-28 Kevin Ryde <user42@zip.com.au>
11627
11628 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11629
5d344e88
CY
116302011-05-28 Chong Yidong <cyd@stupidchicken.com>
11631
8e6ca83d
CY
11632 * bindings.el (help-echo): Make the initial non-indicator dash
11633 empty on graphical terminals (Bug#7295).
11634
5d344e88
CY
11635 * files.el (auto-mode-alist): Move config rule after the
11636 in-stripping one (Bug#8547).
11637
bfbbace7
CY
11638 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11639
fbeba6e2
CY
11640 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11641 setting (Bug#8740).
11642
60ed8c72
AA
116432011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11644
4ac619f0
AA
11645 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11646 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11647 (Bug#8539).
60ed8c72 11648
23db196e
CY
116492011-05-28 Chong Yidong <cyd@stupidchicken.com>
11650
11651 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11652
5012f24c
DK
116532011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11654
11655 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11656 (hs-hide-block-at-point, hs-find-block-beginning)
11657 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11658 (Bug#8279).
11659
6a639b16
GM
116602011-05-28 Glenn Morris <rgm@gnu.org>
11661
11662 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11663
d43eaf2c
CY
116642011-05-28 Chong Yidong <cyd@stupidchicken.com>
11665
5199bde1
CY
11666 * help-fns.el (describe-function-1): If the function is a derived
11667 major mode, print the parent mode.
11668
d43eaf2c
CY
11669 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11670 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11671
423428a8
SM
116722011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11673
0ff8e1ba 11674 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11675 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11676 * progmodes/etags.el (tags-completion-at-point-function):
11677 * info-look.el (info-lookup-completions-at-point): Mark as
11678 non-exclusive.
11679 (info-complete): Adjust accordingly.
11680
423428a8
SM
11681 * info-look.el: Convert to lexical-binding and completion-at-point.
11682 (info-lookup-completions-at-point): New function.
11683 (info-complete): Use it and completion-in-region.
11684
b74aa22b
DA
116852011-05-28 Drew Adams <drew.adams@oracle.com>
11686
11687 * isearch.el: Let M-e start with point at the first mismatched char.
11688 (isearch-fail-pos): New function.
11689 (isearch-edit-string): Use it.
11690
66e2e71d
DK
116912011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11692
11693 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11694
b1890b0f 116952011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11696
11697 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11698 traversal functions for avl-trees.
11699 (avl-tree--stack): New struct.
11700 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11701 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11702 (avl-tree--do-enter): Add optional `updatefun' arg.
11703 Change return value.
eb95d01d 11704 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11705 (avl-tree--do-delete): Add `test' and `nilflag' args.
11706 Change return value.
eb95d01d
TC
11707 (avl-tree-member): Add optional `nilflag'
11708 (avl-tree-member-p): New function.
11709 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11710 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11711 (avl-tree-stack-empty-p): New functions.
11712
3769ddcf
TC
11713 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11714 avl-tree--del-balance1 and make it work both ways.
11715 (avl-tree--del-balance2): Remove.
11716 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11717 make it work both ways.
11718 (avl-tree--enter-balance2): Remove.
11719 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11720 New macros.
11721 (avl-tree--mapc, avl-tree-map): Add direction argument.
11722
eb95d01d 117232011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11724
11725 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11726
a9f737ee
CY
117272011-05-27 Chong Yidong <cyd@stupidchicken.com>
11728
11729 * select.el: Support clipboard managers with built-in function
11730 x-clipboard-manager-save, via delete-frame-functions and
11731 kill-emacs-hook.
11732 (xselect-convert-to-targets): Add MULTIPLE target to list.
11733 (xselect-convert-to-save-targets): New function.
11734
c92a1e54
KH
117352011-05-27 Kenichi Handa <handa@m17n.org>
11736
11737 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11738 let-binding rfc2047-encode-encoded-words to nil.
11739
e145f188
GM
117402011-05-27 Glenn Morris <rgm@gnu.org>
11741
5ec8a862
GM
11742 * mail/emacsbug.el: Don't require url-util.
11743
4b29d9fb
GM
11744 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11745
e145f188
GM
11746 * files.el (set-auto-mode):
11747 Also respect mode: entries at the end of the file. (Bug#8586)
11748
7d15102b
GM
117492011-05-26 Glenn Morris <rgm@gnu.org>
11750
98f593b8
GM
11751 * files.el (hack-local-variables-prop-line, hack-local-variables):
11752 Downcase mode names, as seems to be traditional.
27b48e63 11753 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11754
7d15102b
GM
11755 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11756 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11757
51d5b4ec
JD
117582011-05-25 Julien Danjou <julien@danjou.info>
11759
11760 * textmodes/rst.el (rst-define-level-faces): Do not define face
11761 symbol if it is already defined.
11762
91513f63
VB
117632011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11764
11765 * play/5x5.el (5x5-new-game, 5x5-randomize):
11766 Reset 5x5-solver-output to nil when a new grid is cast.
11767 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11768 these debugging traces, as defmacro breaks the compiled code.
11769
4d90d6d0
DK
117702011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11771
11772 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11773
e1b90ef6
LL
117742011-05-24 Leo Liu <sdl.web@gmail.com>
11775
11776 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11777 (vc-bzr-sha1): Adapt.
11778
d8e4b68b 11779 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
11780
11781 * bindings.el: Provide sha1 feature.
11782
db0406bb 117832011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
11784
11785 * mail/sendmail.el: Require `rfc2047'.
11786 (mail-insert-from-field): Do not perform RFC2047 encoding.
11787 (mail-encode-header): New function.
11788 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
11789 buffer to the return value of select-message-coding-system.
11790 Call mail-encode-header.
b8d747b9
KH
11791
11792 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11793
db0406bb 117942011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 11795
4d90d6d0
DK
11796 * mail/supercite.el (sc-default-cite-frame):
11797 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 11798
eb8a5e9b
GM
117992011-05-24 Glenn Morris <rgm@gnu.org>
11800
f8630703
GM
11801 * progmodes/python.el (brm-menu): Declare.
11802
8831bbed
GM
11803 * emulation/viper.el (viper-set-hooks): Declare.
11804
eb8a5e9b
GM
11805 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11806 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11807 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11808 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11809 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11810 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11811
a2a25d24
SM
118122011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 Add an :exit-function for completion-at-point.
11815
11816 * minibuffer.el (completion--done): New fun.
11817 (completion--do-completion): Use it. New arg `expect-exact'.
11818 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11819 since completion--do-completion does it for us now.
11820 (minibuffer-force-complete): Use completion--done and
11821 completion--replace. Handle sole-completion case with more care.
11822 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11823 (completion-extra-properties): New var.
11824 (completion-annotate-function): Make obsolete.
11825 (minibuffer-completion-help): Adjust accordingly.
11826 Use completion-list-insert-choice-function.
11827 (completion-at-point, completion-help-at-point):
11828 Bind completion-extra-properties.
11829 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11830 * simple.el (completion-list-insert-choice-function): New var.
11831 (completion-setup-function): Preserve it.
11832 (choose-completion): Pay attention to it, shuffle the code a bit.
11833 (choose-completion-string): New arg `insert-function'.
11834
11835 * textmodes/bibtex.el: Convert to lexical binding.
11836 (bibtex-mode-map): Use completion-at-point.
11837 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11838 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11839 (bibtex-complete): Define as obsolete alias.
11840 (bibtex-complete-internal): Remove.
11841 (bibtex-format-entry): Remove unused sub-group in regexp.
11842 * shell.el (shell--command-completion-data)
11843 (shell-environment-variable-completion):
11844 * pcomplete.el (pcomplete-completions-at-point):
11845 * comint.el (comint--complete-file-name-data): Use :exit-function
11846 instead of completion-table-with-terminator so it also works for
11847 choose-completion.
11848
e44e373d
SM
118492011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11850
4f91a816
SM
11851 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11852
782fc819
SM
11853 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11854 (bug#8710).
11855
e44e373d
SM
11856 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11857
381987c3
KM
118582011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11859
11860 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11861 customization variable and implement: If non-nil, auto-fill will
11862 be inhibited while on topic's header line.
11863
b776bc70
VB
118642011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11865
11866 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 11867 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
11868 always have a solution in grid size = 5 cases.
11869 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11870 (5x5-solver-output, 5x5-log-buffer): New vars.
11871 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11872 Make these variables buffer local to achieve 5x5 multi-session-ness.
11873 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11874 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11875 (5x5-solve-suggest): New funs.
11876 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11877 randomize a grid so that we ensure that there is always a solution.
11878 (5x5-make-random-grid): Allow other movement than flipping.
11879
7de88b6e
KR
118802011-05-23 Kevin Ryde <user42@zip.com.au>
11881
11882 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 11883 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
11884 advice and passes PREDICATE.
11885
b1ef1257
SM
118862011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11887
bbca48fe
SM
11888 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11889 byte-compile-lambda if it's actually a lambda.
11890
b1ef1257
SM
11891 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11892 Fix function quoting. Use backquote better.
11893
92a9cc65
YS
118942011-05-22 Yuanle Song <sylecn@gmail.com>
11895
11896 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11897 matching (Bug#8516).
11898
f0fb8059
JA
118992011-01-22 Jari Aalto <jari.aalto@cante.net>
11900
11901 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11902 different face (Bug#8178).
11903
d5b44c93
CY
119042011-05-22 Chong Yidong <cyd@stupidchicken.com>
11905
11906 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11907 defface (Bug#8144).
11908
79106a44
SM
119092011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11910
9c848d8a
SM
11911 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11912 funcall as well (bug#8712). Warn when performing those conversions.
11913 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11914
79106a44
SM
11915 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11916
88dfa756
GM
119172011-05-22 Glenn Morris <rgm@gnu.org>
11918
11919 * files.el (hack-local-variables-prop-line): Small simplifications.
11920 (hack-local-variables, hack-local-variables-prop-line):
11921 If MODE-ONLY, return the mode, rather than just `t'.
11922
b7cf2c79
SM
119232011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11926
3f1a8558
GM
119272011-05-21 Glenn Morris <rgm@gnu.org>
11928
7e4ccca3
GM
11929 * files.el (hack-local-variables-prop-line, hack-local-variables):
11930 If only interested in the mode, don't bother doing the other stuff.
11931
637d46ca
GM
11932 * image-mode.el (image-after-revert-hook):
11933 Redraw all frames on which the image is visible. (Bug#8567)
11934
973d955b
GM
11935 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11936
3f1a8558
GM
11937 * wid-edit.el (widget-checklist-match-inline):
11938 Fix 2011-04-19 change. (Bug#8649)
11939
96479927
SM
119402011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11941
1dcf791f
SM
11942 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11943 Also allow singlespace after single-letter capitals followed by a dot.
11944
96479927
SM
11945 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11946 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11947
35fd0881
N
119482011-05-20 Nix <nix@esperi.org.uk>
11949
11950 * files.el (basic-save-buffer-2):
11951 Fix handling of break-hardlink-on-save with non-existent files.
11952
82745640
DD
119532011-05-19 Deniz Dogan <deniz@dogan.se>
11954
11955 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 11956 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 11957
4a720484
GM
119582011-05-19 Glenn Morris <rgm@gnu.org>
11959
d1f21341
GM
11960 * progmodes/f90.el (f90-type-def-re):
11961 Handle "type, bind(c)". (Bug#8691)
11962
4a720484
GM
11963 * emacs-lisp/autoload.el (batch-update-autoloads):
11964 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11965
2fb0a219
MA
119662011-05-18 Michael Albinus <michael.albinus@gmx.de>
11967
11968 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11969 property for the correct connection in case of multihops.
11970
e565dd37
GM
119712011-05-18 Glenn Morris <rgm@gnu.org>
11972
c2571358 11973 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
11974 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11975
e565dd37
GM
11976 Rationalize calendar handling of day and month abbrev-arrays.
11977 * calendar/calendar.el (calendar-customized-p): New function.
11978 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11979 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11980 Add :set function.
11981 (calendar-abbrev-length, calendar-day-abbrev-array)
11982 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11983 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11984 Elements may no longer be nil.
11985 (calendar-day-name, calendar-month-name):
11986 Update for changed nature of abbrev arrays.
11987 * calendar/diary-lib.el (diary-name-pattern):
11988 Update for changed nature of abbrev arrays.
11989 (diary-mark-entries-1): Update calendar-make-alist calls.
11990 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11991 * calendar/cal-html.el (cal-html-day-abbrev-array):
11992 Simply inherit from calendar-day-abbrev-array.
11993
1d99a745
SM
119942011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 * progmodes/grep.el (grep-mode): Disable default
11997 compilation-directory-matcher setting (bug#8684).
11998
7c1d9aa0
MA
119992011-05-17 Michael Albinus <michael.albinus@gmx.de>
12000
12001 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12002 instead of "head" and "tail". There were problems with SunOS 5.9,
12003 and it performs better.
12004
3952e9d8
GM
120052011-05-17 Glenn Morris <rgm@gnu.org>
12006
2dd12e7f
GM
12007 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12008
e4157b9c
GM
12009 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12010 Replace obsolete function.
12011
8e249bbd
GM
12012 * shell.el (pcomplete-parse-arguments-function): Declare.
12013
3952e9d8
GM
12014 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12015 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12016 (appt-check): Doc fixes.
12017 (appt-disp-window-function, appt-delete-window-function):
12018 Remove needless special case in custom :type.
12019 (appt-display-count): Default to 0, not nil.
12020 (appt-check): Reset appt-display-count to 0, not nil.
12021
c71a0d48 120222011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12023
c71a0d48
GM
12024 * progmodes/python.el (python-font-lock-keywords):
12025 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12026
31d55be9
SM
120272011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12030
3bfacb2f
KR
120312011-05-16 Kevin Ryde <user42@zip.com.au>
12032
12033 * info-look.el (makefile-automake-mode): New setups, looking in
12034 automake manual, then makefile-mode.
12035 (makefile-mode): Remove automake manual, have it just in
12036 makefile-automake-mode since there's various things different or
12037 not relevant to plain make.
12038 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12039 believe a hypothetical automake-mode would go to makefile-mode,
12040 not the other way around.
12041
c8e83751
CY
120422011-05-15 Chong Yidong <cyd@stupidchicken.com>
12043
5e9e35cd
CY
12044 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12045 hunk-end tags (Bug#8672).
12046
c8e83751
CY
12047 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12048 vc-annotate-show-diff-revision-at-line (Bug#8671).
12049
50b23e5a
GM
120502011-05-14 Glenn Morris <rgm@gnu.org>
12051
7210a739
GM
12052 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12053 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12054 (change-log-font-lock-keywords): Also handle multiple author lines
12055 with leading tabs. (Bug#8644)
7210a739 12056
4691905a
GM
12057 * calendar/appt.el (appt-check): Rename some local variables.
12058 Some simplification/reordering.
12059
50b23e5a
GM
12060 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12061 (feedmail-sendmail-f-doesnt-sell-me-out)
12062 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12063 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12064 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12065 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12066 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12067 (feedmail-binmail-gnulinuxish-template):
12068 Rename from feedmail-binmail-linuxish-template.
12069 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12070 Use insert-buffer-substring.
12071
215cda7c
BC
120722011-05-14 Bill Carpenter <bill@carpenter.org>
12073
12074 * mail/feedmail.el (feedmail-patch-level): Increase.
12075 (feedmail-debug): New custom group.
12076 (feedmail-confirm-outgoing-timeout)
12077 (feedmail-sendmail-f-doesnt-sell-me-out)
12078 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12079 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12080 (feedmail-sender-line, feedmail-from-line)
12081 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12082 (feedmail-spray-this-address)
215cda7c
BC
12083 (feedmail-spray-address-fiddle-plex-list)
12084 (feedmail-queue-use-send-time-for-date)
12085 (feedmail-queue-use-send-time-for-message-id)
12086 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12087 (feedmail-buffer-eating-function):
12088 Doc fixes.
12089 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12090 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12091 (feedmail-message-action-scroll-down): New functions.
12092 (feedmail-queue-directory, feedmail-queue-draft-directory):
12093 Use expand-file-name.
12094 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12095 Remove C-v help entry.
12096 (feedmail-queue-buffer-file-name): New variable.
12097 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12098 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12099 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12100 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12101 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12102 (feedmail-message-action-toggle-spray)
12103 (feedmail-run-the-queue-no-prompts)
12104 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12105 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12106 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12107 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12108 (feedmail-envelope-deducer, feedmail-fiddle-from)
12109 (feedmail-fiddle-sender, feedmail-default-date-generator)
12110 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12111 (feedmail-fiddle-spray-address)
12112 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12113 (feedmail-fiddle-list-of-fiddle-plexes)
12114 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12115 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12116 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12117 Change default. Doc fix.
12118 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12119 (feedmail-binmail-linuxish-template): New constant.
12120 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12121 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12122 (feedmail-send-it): Add debug call.
12123 Use feedmail-queue-buffer-file-name, and
12124 feedmail-send-it-immediately-wrapper.
12125 (feedmail-message-action-send): Add debug call.
12126 Use feedmail-send-it-immediately-wrapper.
12127 (feedmail-queue-express-to-queue): Add debug call.
12128 Run feedmail-queue-express-hook.
12129 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12130 (feedmail-message-action-help-blat):
12131 Rename from feedmail-queue-send-edit-prompt-help-first.
12132 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12133 Check line-endings. Handle errors better.
12134 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12135 Doc fix. Add debug call.
12136 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12137 Use feedmail-queue-send-edit-prompt-inner.
12138 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12139 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12140 from feedmail-queue-send-edit-prompt.
12141 (feedmail-queue-send-edit-prompt-help)
12142 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12143 (feedmail-tidy-up-slug): Add debug call.
12144 Respect feedmail-queue-slug-suspect-regexp.
12145 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12146 (feedmail-dump-message-to-queue): Add debug call.
12147 Expand queue-directory.
12148 (feedmail-dump-message-to-queue): Change message slightly.
12149 Use feedmail-say-chatter.
12150 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12151 (feedmail-send-it-immediately-wrapper): New function.
12152 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12153 Insert empty string rather than newline. Handle full-frame case.
12154 Use catch/throw. Use feedmail-say-chatter.
12155 (feedmail-fiddle-from): Try mail-host-address.
12156 (feedmail-default-message-id-generator): Doc fix.
12157 Bind system-time-locale. Handle missing end.
12158 (feedmail-fiddle-x-mailer): Add debug call.
12159 Handle feedmail-x-mailer-line being nil.
12160 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12161 Add debug call. Use buffer-substring-no-properties.
12162 (feedmail-say-debug, feedmail-say-chatter): New functions.
12163 (feedmail-find-eoh): Give an explicit error.
12164
42c7e61e
UJ
121652011-05-13 Ulf Jasper <ulf.jasper@web.de>
12166
c2571358 12167 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12168 family from helvetica to sans.
c2571358 12169 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12170 etc/images/newsticker.
12171
c2571358 12172 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12173 family from helvetica to sans.
12174
12175 * net/newst-plainview.el (newsticker-new-item-face)
12176 (newsticker-old-item-face, newsticker-immortal-item-face)
12177 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12178 (newsticker-statistics-face): Change default family from
42c7e61e 12179 helvetica to sans.
c2571358 12180 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12181 etc/images/newsticker.
12182
5d3385a0
JB
12183 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12184 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12185 auto-marking.
12186
8497a297
DV
121872011-05-13 Didier Verna <didier@xemacs.org>
12188
12189 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12190 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12191 TODO entries.
8497a297
DV
12192 (lisp-lambda-list-keyword-parameter-indentation)
12193 (lisp-lambda-list-keyword-parameter-alignment)
12194 (lisp-lambda-list-keyword-alignment): New customizable user options.
12195 (lisp-indent-defun-method): Improve docstring.
12196 (extended-loop-p): Fix comment.
12197 (lisp-indent-lambda-list-keywords-regexp): New variable.
12198 (lisp-indent-lambda-list): New function.
12199 (lisp-indent-259): Use it.
12200 (lisp-indent-defmethod): Support for more than one
12201 method qualifier and properly indent methods lambda-lists.
12202 (defgeneric): Provide a missing common-lisp-indent-function property.
12203
f278f87f
SM
122042011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12207 bounds for the empty string (bug#8667).
12208
5233edd7
GM
122092011-05-13 Glenn Morris <rgm@gnu.org>
12210
5237a44f
GM
12211 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12212
8340026c 12213 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12214 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12215
5233edd7 12216 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12217 (appt-time-msg-list): Doc fix.
a5464014 12218 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12219
92d10796
AS
122202011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12221
12222 * progmodes/ld-script.el (ld-script-keywords)
12223 (ld-script-builtins): Update keywords list.
12224
914a0ae1
SM
122252011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12226
c89be45f
SM
12227 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12228
914a0ae1
SM
12229 * shell.el (shell-completion-vars): New function.
12230 (shell-mode):
12231 * simple.el (read-shell-command): Use it.
12232 (blink-matching-open): No need for " [...]" in minibuffer-message.
12233
98dc3df3
GM
122342011-05-12 Glenn Morris <rgm@gnu.org>
12235
12236 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12237 (appt-check): Simplify.
12238
d2fc7e3d 122392011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12240
4d61f28d 12241 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12242 literal "/dev/null".
12243
d2fc7e3d 122442011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12245
12246 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12247 Fix typo.
12248
d2fc7e3d 122492011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12250
3f254caa
SM
12251 * progmodes/which-func.el (which-function):
12252 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12253 which might not be defined (Bug#8260).
12254
d45885f7
GM
122552011-05-12 Glenn Morris <rgm@gnu.org>
12256
12257 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12258 Let byte-compile-initial-macro-environment always take precedence.
12259
488086f4
SM
122602011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * net/rcirc.el: Add support for SSL/TLS connections.
12263 (rcirc-server-alist): New field `encryption'.
12264 (rcirc): Check `encryption' settings.
12265 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12266 Merge make-local-variable into `set'.
12267 (rcirc--connection-open-p): New function.
12268 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12269 the process is not a network process (e.g. running gnutls-cli).
12270 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12271 Make rcirc-(en|de)code-coding-system local here.
12272 (rcirc-mode): Merge make-local-variable into `set'.
12273 (rcirc-parent-buffer): Make permanent buffer-local.
12274 (rcirc-multiline-minor-mode): Don't do it here.
12275 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12276 there's no server buffer.
12277
7d3b9d44
GM
122782011-05-11 Glenn Morris <rgm@gnu.org>
12279
f64049c6
GM
12280 * newcomment.el (comment-kill): Prefix "unused" local.
12281
93c9df73
GM
12282 * term/w32console.el (get-screen-color): Declare.
12283
7d3b9d44
GM
12284 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12285 Handle symbol elements of byte-compile-initial-macro-environment.
12286
9e2dd53f
LL
122872011-05-10 Leo Liu <sdl.web@gmail.com>
12288
488086f4
SM
12289 * bookmark.el (bookmark-bmenu-mode-map):
12290 Bind bookmark-bmenu-search to `/'.
8b340240 12291
9e2dd53f 12292 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12293 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12294 (Footnote-unicode): New function.
12295 (footnote-style-alist): Add unicode style to the list.
12296 (footnote-style): Doc fix.
9e2dd53f 12297
79b70037
GM
122982011-05-10 Jim Meyering <meyering@redhat.com>
12299
12300 Fix doubled-word typos.
12301 * international/quail.el (quail-insert-kbd-layout): and and -> and
12302 * kermit.el: and and -> and
12303 * net/ldap.el (ldap-search-internal): to to -> to
12304 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12305 * progmodes/js.el (js-mode): and and -> and
12306 * textmodes/artist.el (artist-move-to-xy): at at -> at
12307 (artist-draw-region-trim-line-endings): if if -> if
12308 And Safetyc -> Safety.
12309 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12310
b8f82dc1 123112011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12312 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12313
12314 * files.el (hack-one-local-variable-eval-safep):
12315 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12316
4f99f44b
GM
123172011-05-10 Glenn Morris <rgm@gnu.org>
12318
12319 * calendar/diary-lib.el (diary-list-entries-hook)
12320 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12321 (diary-nongregorian-marking-hook, diary-list-entries)
12322 (diary-include-other-diary-files, diary-mark-entries)
12323 (diary-mark-included-diary-files): Doc fixes.
12324
84f29e6b
JB
123252011-05-09 Juanma Barranquero <lekktu@gmail.com>
12326
12327 * misc.el: Require tabulated-list.el during compilation.
12328
9bedd73a
CY
123292011-05-09 Chong Yidong <cyd@stupidchicken.com>
12330
488086f4
SM
12331 * progmodes/compile.el (compilation-start):
12332 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12333 (compilation-filter-hook): Doc fix.
12334
797c735c
DD
123352011-05-09 Deniz Dogan <deniz@dogan.se>
12336
12337 * wdired.el: Remove outdated installation comment. Fix usage
12338 comment.
12339
5f4b1dfe
JB
123402011-05-09 Juanma Barranquero <lekktu@gmail.com>
12341
12342 * misc.el: Implement new command `list-dynamic-libraries'.
12343 (list-dynamic-libraries--loaded-only-p): New variable.
12344 (list-dynamic-libraries--refresh): New function.
12345 (list-dynamic-libraries): New command.
12346
4c44026c
CY
123472011-05-09 Chong Yidong <cyd@stupidchicken.com>
12348
488086f4
SM
12349 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12350 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12351 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12352 higher priority to avoid clobbering by gnu.
12353
027f966d
CY
123542011-05-08 Chong Yidong <cyd@stupidchicken.com>
12355
12356 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12357 if the face has existing theme settings (Bug#8454).
12358
085f5d7d
CY
123592011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12360
488086f4
SM
12361 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12362 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12363
2a86a00c
RS
12364 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12365 special file names `.' and `..' (Bug#8259).
12366
d9c54a06
CY
123672011-05-08 Chong Yidong <cyd@stupidchicken.com>
12368
488086f4
SM
12369 * progmodes/grep.el (grep-mode-font-lock-keywords):
12370 Remove buffer-changing entries.
d9c54a06
CY
12371 (grep-filter): New function.
12372 (grep-mode): Add it to compilation-filter-hook.
12373
12374 * progmodes/compile.el (compilation-filter-hook)
12375 (compilation-filter-start): New defvars.
12376 (compilation-filter): Call compilation-filter-hook prior to
12377 updating the process mark.
12378
c4662635
SM
123792011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12382
b0512a1d
EZ
123832011-05-07 Eli Zaretskii <eliz@gnu.org>
12384
605c9376
EZ
12385 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12386 mailclient-send-it even if window-system is nil. (Bug#8595)
12387
c4662635
SM
12388 * term/w32console.el (terminal-init-w32console):
12389 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12390 background-mode. (Bug#8597)
12391
d1dc2cc2
SM
123922011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12395 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12396 New functions.
12397 (defgeneric, eieio--defmethod): Use them.
12398 (eieio-defgeneric): Remove.
12399 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12400
915d1300
GM
124012011-05-07 Glenn Morris <rgm@gnu.org>
12402
a3961c3e
GM
12403 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12404 Use let rather than let*.
12405 (timeclock-find-discrep): Remove unused local.
12406
314347b9
GM
12407 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12408
915d1300
GM
12409 * calendar/appt.el (appt-time-msg-list): Doc fix.
12410
275b59b0
NF
124112011-05-06 Noah Friedman <friedman@splode.com>
12412
12413 * apropos.el (apropos-print-doc): Only use
12414 emacs-lisp-docstring-fill-column when it is bound to an integer,
12415 per that variable's documentation.
12416
6c19f744
SM
124172011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12420 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12421
60f884b2
GM
124222011-05-06 Glenn Morris <rgm@gnu.org>
12423
5006e634
GM
12424 * calendar/appt.el (appt-message-warning-time): Doc fix.
12425 (appt-warning-time-regexp): New option.
12426 (appt-make-list): Respect appt-message-warning-time.
12427
548d0a63
GM
12428 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12429 New options.
12430 (diary-add-to-list): Strip comments from the displayed string.
12431 (diary-mode): Set comment-start and comment-end.
12432
60f884b2
GM
12433 * vc/diff-mode.el (smerge-refine-subst): Declare.
12434 (diff-refine-hunk): Don't require smerge-mode when compiling.
12435
989681bb
JB
124362011-05-06 Juanma Barranquero <lekktu@gmail.com>
12437
12438 * simple.el (list-processes): Return nil as the docstring says.
12439
a6bc05e1
MA
124402011-05-05 Michael Albinus <michael.albinus@gmx.de>
12441
12442 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12443 to "".
12444 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12445 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12446 determining of binary transfer. (Bug#7383)
12447
23c22e9a
MA
124482011-05-05 Michael Albinus <michael.albinus@gmx.de>
12449
c4662635
SM
12450 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12451 Fix port computation bug. (Bug#8618)
23c22e9a 12452
0bff894f
GM
124532011-05-05 Glenn Morris <rgm@gnu.org>
12454
b8296902
GM
12455 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12456
1f522ce8
GM
12457 * simple.el (shell-dynamic-complete-functions)
12458 (comint-dynamic-complete-functions): Declare.
12459
cf5bee67
GM
12460 * net/network-stream.el (gnutls-negotiate):
12461 * simple.el (tabulated-list-print): Fix declarations.
12462
12463 * progmodes/gud.el (syntax-symbol, syntax-point):
12464 Remove unnecessary and incorrect declarations.
12465
0bff894f
GM
12466 * emacs-lisp/check-declare.el (check-declare-scan):
12467 Handle byte-compile-initial-macro-environment in bytecomp.el
12468
9869b3ae
SM
124692011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 Fix earlier half-done eieio-defmethod change (bug#8338).
12472 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12473 Streamline and change calling convention.
12474 (defmethod): Adjust accordingly and simplify.
12475 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12476 new eieio--defmethod.
12477 (slot-boundp): Minor CSE simplification.
12478
9c1d5ac5
MZ
124792011-05-05 Milan Zamazal <pdm@zamazal.org>
12480
12481 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12482 (glasses-make-readable): Use glasses-separate-capital-groups.
12483
455c834e
JB
124842011-05-05 Juanma Barranquero <lekktu@gmail.com>
12485
12486 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12487 (warning-series): Doc fix.
12488 (display-warning): Don't try to create the buffer if we just found it.
12489
9ed7c8cb
CY
124902011-05-04 Chong Yidong <cyd@stupidchicken.com>
12491
12492 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12493 (autoload-find-generated-file): New function.
12494 (generate-file-autoloads): Bind generated-autoload-file to
12495 buffer-file-name.
9869b3ae
SM
12496 (update-file-autoloads, update-directory-autoloads):
12497 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12498 output file (Bug#7989).
12499 (batch-update-autoloads): Doc fix.
12500
0898ca10
JB
125012011-05-04 Juanma Barranquero <lekktu@gmail.com>
12502
12503 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12504
31dfb76c
GM
125052011-05-04 Glenn Morris <rgm@gnu.org>
12506
f330b642
GM
12507 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12508 function, so it follows changes in calendar-date-style.
12509 (diary-fancy-date-matcher): New function.
12510 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12511 (diary-fancy-font-lock-fontify-region-function):
12512 Use diary-fancy-date-pattern as a function.
12513
31dfb76c
GM
12514 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12515 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12516
48e79d6a
TZ
125172011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12518
12519 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12520 instead of positional arguments. Allow :keylist and :crlfiles
12521 arguments.
12522 (open-gnutls-stream): Call it.
12523
12524 * net/network-stream.el (network-stream-open-starttls): Adjust to
12525 call `gnutls-negotiate' with :process and :hostname arguments.
12526
dd5a5ee0
SM
125272011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12528
ef80fc09
SM
12529 * minibuffer.el (completion--message): New function.
12530 (completion--do-completion, minibuffer-complete)
12531 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12532 (completion--do-completion): Don't ignore completion-auto-help when in
12533 icomplete-mode.
12534
dd5a5ee0
SM
12535 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12536 internal encoding (e.g. tibetan zero is not whitespace).
12537 (global-whitespace-mode): Prefer save-current-buffer.
12538 (whitespace-trailing-regexp): Remove useless save-match-data.
12539 (whitespace-empty-at-bob-regexp): Minor simplification.
12540
b7d22a83
CY
125412011-05-03 Chong Yidong <cyd@stupidchicken.com>
12542
12543 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12544
5192af46
AM
125452011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12546
12547 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12548 Use `concat' to create string for insertion.
5192af46 12549
5767d190
SM
125502011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12551
12552 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12553 Avoid open-line which runs post-self-insert-hook.
12554 (bibtex-fill-entry): Remove unused `end' var.
12555
bf242939
AM
125562011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12557
5767d190
SM
12558 * textmodes/ispell.el (ispell-add-per-file-word-list):
12559 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12560
25666126
LL
125612011-05-03 Leo Liu <sdl.web@gmail.com>
12562
12563 * isearch.el (isearch-yank-pop): New command.
5767d190 12564 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12565 (isearch-forward): Mention it.
12566
52d3c2d0
SM
125672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12568
1bcace58
SM
12569 * simple.el (minibuffer-complete-shell-command): Remove.
12570 (minibuffer-local-shell-command-map): Use completion-at-point.
12571 (read-shell-command): Setup completion vars here instead.
12572 (read-expression-map): Bind TAB to symbol completion.
12573
52d3c2d0
SM
12574 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12575 error directly rather via storing it into `results'.
12576
35813471
LL
125772011-05-02 Leo Liu <sdl.web@gmail.com>
12578
12579 * vc/diff.el: Fix description.
12580
e793a940
LMI
125812011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12582
12583 * server.el (server-eval-at): New function.
12584
8de66e05
LMI
125852011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12586
12587 * net/network-stream.el (open-network-stream): Take a :nowait
12588 parameter and pass it on to `make-network-process'.
12589 (network-stream-open-plain): Ditto.
12590
dcb79f20
AS
125912011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12592
12593 * faces.el (face-spec-set-match-display): Don't match toolkit
12594 options on terminal frames.
12595
14a7fbd8
SM
125962011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12597
7eabc1be
SM
12598 * progmodes/pascal.el: Use lexical binding.
12599 (pascal-mode-map): Remove author preferences.
12600
14a7fbd8
SM
12601 * pcomplete.el (pcomplete-std-complete): Don't abuse
12602 completion-at-point.
12603
50f84510
JB
126042011-04-28 Juanma Barranquero <lekktu@gmail.com>
12605
6e087a44
JB
12606 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12607 removing code that has been dead since 1991 or so.
12608
50f84510
JB
12609 * startup.el (command-line): When warning about "_emacs", use a
12610 delayed warning to allow the user to filter it out.
12611
0ba690bd
DD
126122011-04-28 Deniz Dogan <deniz@dogan.se>
12613
12614 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12615 user has not joined.
12616
08abfaad
SM
126172011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12620 aren't any completions at point.
12621
638f053a
JB
126222011-04-28 Juanma Barranquero <lekktu@gmail.com>
12623
12624 * subr.el (display-delayed-warnings): New function.
12625 (delayed-warnings-hook): New variable.
12626
8fff8daa
SM
126272011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12628
08abfaad
SM
12629 * minibuffer.el (completion-at-point, completion-help-at-point):
12630 Don't presume that a given completion-at-point-function will always
12631 use the same calling convention.
12632
8fff8daa
SM
12633 * pcomplete.el (pcomplete-completions-at-point):
12634 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12635 pcomplete-seen is non-nil.
12636 (pcomplete-comint-setup): Also recognize the new comint/shell
12637 completion functions.
12638 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12639 pcomplete-seen is non-nil.
12640
841a1577 126412011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12642
841a1577 12643 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12644 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12645 the first character in the entry. This allows for code to add its
211ec907
UJ
12646 own uid to the entry.
12647 (icalendar--convert-float-to-ical): Add export of
12648 `diary-float'-entries save for those with the optional DAY
12649 argument.
12650
2a782793
DC
126512011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12652
12653 * subr.el (shell-quote-argument): Use alternate escaping strategy
12654 when we spot a variable reference in a string.
12655
0438ce91
DC
126562011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12657
12658 * cus-start.el (all): Define customization for debug-on-event.
12659
841a1577 126602011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12661
12662 * subr.el (shell-quote-argument): Escape correctly under Windows.
12663
d090ed6c
SM
126642011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12667
bfd31217
MA
126682011-04-25 Michael Albinus <michael.albinus@gmx.de>
12669
d090ed6c
SM
12670 * net/tramp.el (tramp-process-actions): Add POS argument.
12671 Delete region between POS and (pos).
bfd31217 12672
d090ed6c
SM
12673 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12674 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12675 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12676
12677 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12678 position in `tramp-process-actions' call.
12679
12680 * net/trampver.el: Update release number.
12681
e92f3bd3
SM
126822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12683
850256b5
SM
12684 * custom.el (defcustom): Obey lexical-binding.
12685
e92f3bd3
SM
12686 Fix octave-inf completion problems reported by Alexander Klimov.
12687 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12688 Inherit from octave-mode-syntax-table.
12689 (inferior-octave-mode): Set info-lookup-mode.
12690 (inferior-octave-completion-at-point): New function.
12691 (inferior-octave-complete): Use it and completion-in-region.
12692 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12693 comint-filename-completion.
12694 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12695 symbol elements which shouldn't be word elements.
12696 (octave-font-lock-keywords, octave-beginning-of-defun)
12697 (octave-function-header-regexp): Adjust regexps accordingly.
12698 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12699
cd22b309
JB
127002011-04-25 Juanma Barranquero <lekktu@gmail.com>
12701
12702 * net/gnutls.el (gnutls-errorp): Declare before first use.
12703
8b492194
TZ
127042011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12705
12706 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12707 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12708 default trustfile exists before going to use it. Add missing
5a5fa834 12709 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12710 Reported by Claudio Bley <claudio.bley@gmail.com>.
12711 (open-gnutls-stream): Add usage example.
12712
12713 * net/network-stream.el (network-stream-open-starttls): Give host
12714 parameter to `gnutls-negotiate'.
12715 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12716 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12717
841a1577 127182011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12719
cd22b309
JB
12720 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12721 Use correct match group (bug#8438).
05842630 12722
3ba7869c
CY
127232011-04-24 Chong Yidong <cyd@stupidchicken.com>
12724
512e3ae1
CY
12725 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12726 (package-menu--generate): New arg specifying packages to show.
12727 (package-menu-refresh, package-menu-execute, list-packages):
12728 Callers changed.
12729 (package-show-package-list): New function, replacing deleted
12730 package--list-packages (renamed because it is non-internal).
12731
12732 * finder.el (finder-list-matches): Use package-show-package-list
12733 instead of deleted package--list-packages.
12734
e92f3bd3
SM
12735 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12736 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12737 (vc-annotate-mode-map): Bind it to RET.
12738
7031be6d
UR
127392011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12740
12741 * progmodes/etags.el (next-file): Don't use set-buffer to change
12742 buffers (Bug#8478).
12743
4ef177aa
CY
127442011-04-24 Chong Yidong <cyd@stupidchicken.com>
12745
c8d173eb
CY
12746 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12747
4ef177aa
CY
12748 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12749 (apropos-accumulator): Doc fix.
12750 (apropos-function, apropos-macro, apropos-command)
12751 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12752 (apropos-plist): Add face property.
12753 (apropos-symbols-internal): Fix indentation.
12754 (apropos-print): Simplify help, and recognize apropos-multi-type.
12755 (apropos-print-doc): Use button-type-get to extract the button's
12756 face property. Fill docstring (Bug#8352).
12757
4ffd0d6b 127582011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12759
12760 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12761
c6c32125 12762 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12763 (mpuz-mode-map): Use mapc.
c6c32125
JB
12764 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12765 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12766 Fix typos in docstrings.
12767
58d468b4
JB
12768 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12769 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12770
6470c3c6
JB
12771 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12772
4ffd0d6b 127732011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12774
12775 * minibuffer.el (completion--do-completion): Avoid the "Next char
12776 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12777
3ad8bad0
CY
12778 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12779 mouse-2 into unread-command-events, it is interpreted correctly.
12780
71d73c9c 12781 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 12782 (image-toggle-display): Doc fix.
71d73c9c 12783
841a1577 127842011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 12785
4ffd0d6b
GM
12786 * textmodes/page.el (what-page): Use line-number-at-pos to
12787 calculate line number (Bug#6825).
6e1dbaa9 12788
c2fb1b60
JB
127892011-04-22 Juanma Barranquero <lekktu@gmail.com>
12790
12791 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12792 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12793 Pass argument NO-DEFAULT to `find-tag-interactive'.
12794
e02f48d7
JB
127952011-04-22 Juanma Barranquero <lekktu@gmail.com>
12796
12797 Lexical-binding cleanup.
12798
12799 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12800 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12801 * progmodes/ada-prj.el (ada-prj-initialize-values)
12802 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12803 (ada-prj-show-value):
12804 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12805 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12806 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12807 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12808 * progmodes/bug-reference.el (bug-reference-push-button):
12809 * progmodes/fortran.el (fortran-line-length):
12810 * progmodes/glasses.el (glasses-change):
12811 * progmodes/octave-mod.el (octave-fill-paragraph):
12812 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12813 (python-pdbtrack-grub-for-buffer, python-sentinel):
12814 * progmodes/sql.el (sql-save-connection):
12815 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12816 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12817 Mark unused parameters.
12818
12819 * progmodes/compile.el (compilation--flush-directory-cache)
12820 (compilation--flush-parse, compile-internal): Mark unused parameters.
12821 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12822 (compilation-next-error-function): Remove unused variable `timestamp'.
12823
12824 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12825 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12826
12827 * progmodes/dcl-mode.el (dcl-end-of-command):
12828 Remove unused variable `start'.
12829 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12830 (dcl-option-value-basic, dcl-option-value-offset)
12831 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12832 Mark unused parameters.
12833 (dcl-save-local-variable): Remove unused variable `val'.
12834 (mode): Declare.
12835
12836 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12837 Mark unused parameters.
12838 (delphi-ignore-changes): Move before first use.
12839 (delphi-charset-token-at): Remove unused variable `start'.
12840 (delphi-else-start): Remove unused variable `if-count'.
12841 (delphi-comment-block-start, delphi-comment-block-end):
12842 Remove unused variable `kind'.
12843 (delphi-indent-line): Remove unused variable `new-point'.
12844
12845 * progmodes/ebrowse.el (ebrowse-files-list)
12846 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12847 Mark unused parameters. Don't quote `lambda'.
12848 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12849 Don't quote `lambda'.
12850 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12851 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12852 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12853 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12854 Use `ignore-errors'.
12855 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12856 (ebrowse-view/find-file-and-search-pattern)
12857 (ebrowse-view/find-member-declaration/definition):
12858 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12859 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12860 Rename parameter PREFIX-ARG to PREFIX.
12861 (ebrowse-tags-read-name): Remove unused variables `start' and
12862 `member-info'.
12863 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12864 to `tags-file'.
12865
12866 * progmodes/etags.el (local-find-tag-hook): Declare.
12867 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12868 Mark unused parameters.
12869
12870 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12871 (executable-interpret): Mark unused parameter.
12872
12873 * progmodes/flymake.el (flymake-process-sentinel)
12874 (flymake-after-change-function)
12875 (flymake-create-temp-with-folder-structure)
12876 (flymake-get-include-dirs-dot): Mark unused parameters.
12877 (flymake-safe-delete-directory): Remove unused variable `err'.
12878
12879 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12880 (speedbar-timer-fn, speedbar-line-text)
12881 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12882 (speedbar-center-buffer-smartly): Declare functions.
12883 (gdb-find-watch-expression): Remove unused variable `array'.
12884 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12885 (gdb-starting): Mark unused parameters.
12886 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12887 (gdb-table-string): Remove unused variable `res'.
12888 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12889 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12890 (gdb-display-buffer): Remove unused variable `cur-size'.
12891
12892 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12893 allow lexical-binding compilation.
12894 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12895 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12896 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12897 Mark unused parameters.
12898 (gud-gdb-marker-filter): Remove unused variable `match'.
12899 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12900 lambda expressions and funcall them, instead of using `fset'.
12901
12902 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12903 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12904
12905 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12906 variable `header-beg'; use `let'.
12907
12908 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12909 `restart', `last-sexp' and `at-do'.
12910
12911 * progmodes/js.el (js--debug): Mark unused parameter.
12912 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12913 (js--splice-into-items): Remove unused variable `item'.
12914 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12915
12916 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12917 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12918 (makefile-complete): Remove unused variable `try'.
12919 (makefile-fill-paragraph, makefile-match-function-end):
12920 Mark unused parameters.
12921
12922 * progmodes/octave-inf.el (inferior-octave-complete):
12923 Remove unused variable `proc'.
12924 (inferior-octave-output-digest): Mark unused parameter.
12925
12926 * progmodes/perl-mode.el (perl-calculate-indent):
12927 Remove unused variable `err'.
12928
12929 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12930 (prolog-indent-line): Mark unused parameters.
12931 (prolog-indent-line): Remove unused variable `beg'.
12932
12933 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12934 (reporter-dont-compact-list): Declare.
12935
12936 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12937 Remove unused variable `char'.
12938 (sh-debug): Mark unused parameter.
12939 (sh-get-indent-info): Remove unused variable `start'.
12940 (sh-calculate-indent): Remove unused variable `var'.
12941
12942 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12943 (simula-electric-keyword): Remove unused variable `null'.
12944 (simula-search-backward, simula-search-forward): Remove unused
12945 variables `begin' and `end'.
12946
12947 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12948 Remove unused variable `pos'.
12949 (vera-electric-tab, vera-comment-uncomment-region):
12950 Mark unused parameters.
12951 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12952
7ede3b65
CY
129532011-04-22 Chong Yidong <cyd@stupidchicken.com>
12954
12955 * emacs-lisp/package.el (package--builtins, package-alist)
12956 (package-load-descriptor, package-built-in-p, package-activate)
12957 (define-package, package-installed-p)
12958 (package-compute-transaction, package-buffer-info)
12959 (package--push): Doc fix. Distinguish more clearly between
12960 version strings and version lists.
12961
121656e9
JB
129622011-04-21 Juanma Barranquero <lekktu@gmail.com>
12963
12964 Lexical-binding cleanup.
12965
12966 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12967 (5x5-make-mutate-best):
12968 * play/fortune.el (fortune-in-buffer):
12969 * play/gomoku.el (gomoku-init-display):
12970 * play/solitaire.el (solitaire, solitaire-do-check):
12971 * play/tetris.el (tetris-default-update-speed-function):
12972 Mark unused parameters.
12973
12974 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12975 (bubbles--shift): Remove unused variable `char-org'.
12976 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12977 (bubbles--show-images): Remove unused variable `char'.
12978
12979 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12980 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12981 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12982 (decipher-analyze-buffer): Use ?\s.
12983 (decipher-make-checkpoint): Remove unused variable `mapping'.
12984
12985 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12986
12987 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12988 Remove unused variable `result'; use `let'.
12989
12990 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12991 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12992 (gametree-children-shown-p, gametree-compute-reduced-score):
12993 Use `ignore-errors'.
12994
12995 * play/handwrite.el (ps-lpr-switches): Declare.
12996 (handwrite): Remove unused variables `pmin' and `lastp'.
12997
12998 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12999
13000 * play/landmark.el (landmark-init-display)
13001 (landmark-update-naught-weights): Mark unused parameters.
13002 (landmark-y): Remove unused variable `noise'. Simplify.
13003 (landmark-human-plays): Remove unused variable `score'.
13004
13005 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13006 (mpuz-try-proposal): Remove unused variable `game'.
13007
13008 * play/zone.el (life-patterns): Declare.
13009
80f499c7
JB
130102011-04-20 Juanma Barranquero <lekktu@gmail.com>
13011
13012 * vc/vc.el (ediff-vc-internal): Declare function.
13013
024ff170
SM
130142011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13015
c0a193ea
SM
13016 * shell.el: Use lexical-binding and std completion UI.
13017 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13018 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13019 comint-preoutput-filter-functions rather than on
13020 comint-output-filter-functions.
13021 (shell-command-completion, shell--command-completion-data)
13022 (shell-filename-completion, shell-environment-variable-completion)
13023 (shell-c-a-p-replace-by-expanded-directory): New functions.
13024 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13025 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13026 (shell-dynamic-complete-environment-variable): Use them.
13027 (shell-dynamic-complete-as-environment-variable)
13028 (shell-dynamic-complete-as-command): Remove.
13029 (shell-match-partial-variable): Match past point.
13030 * comint.el: Clean up use of completion-at-point-functions.
13031 (comint-completion-at-point): New function.
13032 (comint-mode): Use it completion-at-point-functions.
13033 (comint-dynamic-complete): Make it obsolete.
13034 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13035 (comint-c-a-p-replace-by-expanded-history): New function.
13036 (comint-dynamic-complete-functions)
13037 (comint-replace-by-expanded-history): Use it.
13038 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13039 termination strings. Try harder to avoid second try-completion.
13040 (completion-in-region-mode-map): Disable bindings that don't work yet.
13041
2dbaa080
SM
13042 * comint.el: Use lexical-binding. Require CL.
13043 (comint-dynamic-complete-functions): Use comint-filename-completion.
13044 (comint-completion-addsuffix): Tweak custom type.
13045 (comint-filename-completion, comint--common-suffix)
13046 (comint--common-quoted-suffix, comint--table-subvert)
13047 (comint--complete-file-name-data): New functions.
13048 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13049 (comint-dynamic-list-filename-completions): Use them.
13050 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13051
2dbaa080
SM
13052 * minibuffer.el (completion-in-region-mode):
13053 Keep completion-in-region-mode--predicate global.
13054 (completion-in-region--postch):
13055 Assume completion-in-region-mode--predicate is not null.
13056
c79a6f38
SM
13057 * progmodes/flymake.el (flymake-start-syntax-check-process):
13058 Obey `dir'. Simplify.
13059
024ff170
SM
13060 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13061 we're in VC after all.
13062
1c6c854e
CS
130632011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13064
13065 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13066 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13067 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13068
bed7f140
SM
130692011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13070
332e62ab
SM
13071 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13072 add sanity check.
13073
bed7f140
SM
13074 * obsolete/erc-hecomplete.el: Make obsolete.
13075 * obsolete/: Standardize obsolescence info in the header.
13076
f195c582
GM
130772011-04-20 Glenn Morris <rgm@gnu.org>
13078
13079 * calendar/solar.el (solar-horizontal-coordinates):
13080 Use the longitude argument rather than `calendar-longitude'.
13081 (solar-date-next-longitude): Remove unused locals.
13082
cb79b8c0
VJL
130832011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13084
13085 * whitespace.el: New version 13.2.1.
13086
130872011-04-20 felix <EmacsWiki> (tiny change)
13088
d8e4b68b 13089 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13090 switching between major modes on a file.
13091
602ea69d
SM
130922011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13093
13094 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13095 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13096 multi-line comments as well.
13097
06b60517
JB
130982011-04-19 Juanma Barranquero <lekktu@gmail.com>
13099
13100 Lexical-binding cleanup.
13101
13102 * arc-mode.el (archive-mode-revert):
13103 * cmuscheme.el (scheme-interactively-start-process):
13104 * custom.el (custom-initialize-delay):
13105 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13106 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13107 * emacs-lock.el (emacs-lock-clear-sentinel):
13108 * ezimage.el (defezimage):
13109 * follow.el (follow-avoid-tail-recenter):
13110 * fringe.el (set-fringe-mode-1):
13111 * generic-x.el (bat-generic-mode-compile):
13112 * help-mode.el (help-info-variable, help-do-xref)
13113 (help-mode-revert-buffer):
13114 * help.el (view-emacs-todo):
13115 * iswitchb.el (iswitchb-completion-help):
13116 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13117 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13118 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13119 * locate.el (locate-update):
13120 * longlines.el (longlines-encode-region)
13121 (longlines-after-change-function):
13122 * outline.el (outline-isearch-open-invisible):
13123 * ps-def.el (declare-function, charset-dimension, char-width)
13124 (encode-char):
13125 * ps-mule.el (ps-mule-plot-string):
13126 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13127 (recentf-edit-list-select, recentf-edit-list-validate)
13128 (recentf-open-files-action):
13129 * rect.el (delete-whitespace-rectangle-line)
13130 (rectangle-number-line-callback):
13131 * register.el (window-configuration-to-register)
13132 (frame-configuration-to-register):
13133 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13134 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13135 (xselect-convert-to-targets, xselect-convert-to-delete)
13136 (xselect-convert-to-filename, xselect-convert-to-charpos)
13137 (xselect-convert-to-lineno, xselect-convert-to-colno)
13138 (xselect-convert-to-os, xselect-convert-to-host)
13139 (xselect-convert-to-user, xselect-convert-to-class)
13140 (xselect-convert-to-name, xselect-convert-to-integer)
13141 (xselect-convert-to-atom, xselect-convert-to-identity):
13142 * subr.el (declare, ignore, process-kill-without-query)
13143 (text-clone-maintain):
13144 * terminal.el (te-get-char, te-tic-sentinel):
13145 * tool-bar.el (tool-bar-make-keymap):
13146 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13147 * type-break.el (type-break-mode, type-break-noninteractive-query):
13148 * view.el (View-back-to-mark):
13149 * wid-browse.el (widget-browse-action, widget-browse-widget)
13150 (widget-browse-widgets, widget-browse-sexp):
13151 * widget.el (define-widget-keywords):
13152 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13153 Mark unused parameters.
13154
13155 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13156 (align-areas): Remove unused variable `look'.
13157 (align-region): Remove unused variables `real-end' and `pos-list'.
13158
13159 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13160
13161 * bindings.el (mode-line-modified, mode-line-remote):
13162 Mark unused parameters.
13163 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13164
13165 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13166 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13167
13168 * comint.el (comint-history-isearch-pop-state)
13169 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13170 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13171 (comint-substitute-in-file-name): Doc fix.
13172
13173 * completion.el (cmpl-statistics-block): Mark unused parameter.
13174 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13175 (save-completions-to-file, load-completions-from-file):
13176 Remove unused local variable `e'.
13177
13178 * composite.el (compose-chars): Remove unused variable `len'.
13179 (lgstring-insert-glyph): Remove unused variable `g'.
13180 (compose-glyph-string): Remove unused variables `ascent',
13181 `descent', `lbearing' and `rbearing'.
13182 (compose-glyph-string-relative): Remove unused variables
13183 `lbearing', `rbearing' and `wadjust'.
13184 (compose-gstring-for-graphic): Remove unused variables `header',
13185 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13186 (compose-gstring-for-terminal): Remove unused variables `header'
13187 and `nchars'. Use `let', not `let*'.
13188
13189 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13190 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13191 (Custom-buffer-done, custom-buffer-create-internal)
13192 (custom-browse-visibility-action, custom-browse-group-tag-action)
13193 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13194 (widget-magic-mouse-down-action, custom-toggle-parent)
13195 (custom-add-parent-links, custom-toggle-hide-variable)
13196 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13197 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13198 (custom-face-menu-create, custom-variable-menu-create, get)
13199 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13200 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13201 (customize-apropos): Remove unused variable `tests'.
13202 (custom-group-value-create): Remove unused variable `hidden-p'.
13203 (sort-fold-case): Declare.
13204
13205 * cus-theme.el (custom-reset-standard-faces-list)
13206 (custom-reset-standard-variables-list): Declare.
13207 (customize-create-theme, custom-theme-revert, custom-theme-write)
13208 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13209 Mark unused parameters.
13210
13211 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13212
13213 * delim-col.el (delimit-columns-max): Move defvar before first use.
13214
13215 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13216 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13217
13218 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13219 (auto-insert): Declare.
13220 (desktop-restore-file-buffer): Rename desktop-* parameters;
13221 mark unused ones.
13222 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13223 (desktop-buffer): Rename desktop-* parameters.
13224
13225 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13226 (dframe-reposition-frame-xemacs, dframe-help-echo)
13227 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13228 Mark unused parameters.
13229
13230 * dired-aux.el (backup-extract-version-start, overwrite-query)
13231 (overwrite-backup-query, rename-regexp-query)
13232 (rename-non-directory-query): Declare.
13233 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13234 (dired-add-entry): Remove unused variable `orig-file-name'.
13235 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13236 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13237 `dired-copy-preserve-time' directly.
13238 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13239 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13240
13241 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13242 (dired-virtual-revert, dired-make-relative-symlink):
13243 Mark unused parameters.
13244 (manual-program): Declare.
13245 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13246 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13247 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13248
13249 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13250
13251 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13252
13253 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13254 Declare.
13255
13256 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13257
13258 * electric.el (Electric-command-loop): Rename parameter
13259 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13260
13261 * expand.el (expand-in-literal): Remove unused variable `here'.
13262
13263 * facemenu.el (facemenu-add-new-color):
13264 Remove unused variable `docstring'.
13265
13266 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13267 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13268 (face-attr-construct): Mark unused parameter. Doc fix.
13269 (read-color): Remove unused variable `hex-string'.
13270
13271 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13272 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13273 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13274 (display-buffer-other-frame): Remove unused variable `old-window'.
13275 (kill-buffer-hook): Declare.
13276 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13277 Mark unused parameters.
13278 (after-find-file): Pass 1 to `auto-save-mode', not t.
13279
13280 * files-x.el (auto-insert): Declare.
13281 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13282
13283 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13284 variable `buf'. Mark unused parameter.
06b60517
JB
13285 (find-lisp-insert-directory): Mark unused parameter.
13286
13287 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13288 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13289 (format-common-tail): Remove, unused.
13290 (format-deannotate-region): Remove unused variable `loc'.
13291 (format-annotate-region): Remove unused variable `p'.
13292 (format-annotate-single-property-change): Remove unused variables
13293 `default' and `tail'.
13294
13295 * forms.el (read-file-filter): Declare.
13296 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13297
13298 * frame.el (frame-creation-function-alist): Mark unused parameter.
13299 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13300
13301 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13302 Remove unused parameters.
13303 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13304 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13305
13306 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13307 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13308 (hfy-prepare-tag-map): Mark unused parameters.
13309 (htmlfontify-buffer): Use `called-interactively-p'.
13310
13311 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13312 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13313 (ibuffer-do-occur): Mark unused parameters.
13314 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13315 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13316
13317 * ibuffer.el: Don't quote `lambda'.
13318 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13319 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13320 Mark unused parameters.
13321
13322 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13323 (ido-completing-read): Mark unused parameters.
13324 (ido-copy-current-word): Mark unused parameters;
13325 remove unused variable `name'.
13326 (ido-sort-merged-list): Remove unused parameter `dirs'.
13327
13328 * ielm.el (ielm-input-sender): Mark unused parameter.
13329 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13330 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13331 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13332 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13333 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13334
13335 * image-dired.el (image-dired-display-thumbs): Remove unused
13336 variables `curr-file' and `count'.
13337 (image-dired-remove-tag): Remove unused variable `start'.
13338 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13339 variable `curr-file'
13340 (image-dired-rotate-original): Remove unused variable `temp-file'.
13341 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13342 Remove unused variable `file'.
13343 (image-dired-gallery-generate): Remove unused variable `curr'.
13344 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13345
13346 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13347
13348 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13349
13350 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13351
13352 * isearch.el (minibuffer-history-symbol): Declare.
13353 (isearch-edit-string): Remove unused variable `err'.
13354 (isearch-message-prefix, isearch-message-suffix):
13355 Mark unused parameters.
13356
13357 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13358
13359 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13360
13361 * makesum.el (double-column): Remove unused variable `cnt'.
13362
13363 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13364 (ido-ignore-item-temp-list): Declare.
13365
13366 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13367 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13368 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13369 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13370 `mouse-col-delta'.
13371
13372 * mouse-sel.el (mouse-extend-internal):
13373 Remove unused variable `orig-window-frame'.
13374
13375 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13376 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13377 Move declarations before first use.
13378 (pcomplete-opt): Mark unused parameters; doc fix.
13379
13380 * proced.el (proced-revert): Mark unused parameter.
13381 (proced-send-signal): Remove unused variable `err'.
13382
13383 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13384 Rename parameter PREFIX-ARG to ARG.
13385 (ps-basic-plot-string, ps-basic-plot-whitespace):
13386 Mark unused parameters.
13387
13388 * replace.el (replace-count): Define.
13389 (occur-revert-function): Mark unused parameters.
13390 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13391 (isearch-case-fold-search, isearch-string): Declare.
13392 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13393 bind `case-fold-search'. Remove unused variables `beg' and `end',
13394 and simplify.
13395 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13396 COUNT and bind `replace-count'.
13397 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13398 to COUNT.
13399
13400 * savehist.el (print-readably, print-string-length): Declare.
13401
13402 * shadowfile.el (shadow-expand-cluster-in-file-name):
13403 Remove unused variable `cluster'.
13404 (shadow-copy-file): Remove unused variable `i'.
13405 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13406 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13407 (shadow-define-literal-group, shadow-define-regexp-group)
13408 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13409
13410 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13411 (shell): Use `called-interactively-p'.
13412 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13413
13414 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13415 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13416 (delete-backward-char): Remove unused variable `ocol'.
13417 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13418 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13419 (event-apply-hyper-modifier, event-apply-shift-modifier)
13420 (event-apply-control-modifier, event-apply-meta-modifier):
13421 Mark unused parameters.
13422 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13423 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13424
13425 * speedbar.el (speedbar-ignored-directory-expressions)
13426 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13427 (speedbar-find-file, speedbar-dir-follow)
13428 (speedbar-directory-buttons-follow, speedbar-tag-find)
13429 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13430 (speedbar-buffers-line-directory, speedbar-buffer-click):
13431 Mark unused parameters.
13432 (speedbar-tag-file): Remove unused variable `mode'.
13433 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13434
13435 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13436
13437 * talk.el (talk): Remove unused variable `display'.
13438
13439 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13440 (tar-write-region-annotate): Mark unused parameter.
13441
13442 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13443 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13444 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13445 warning by another.
13446
13447 * time-stamp.el (time-stamp-string-preprocess):
13448 Remove unused variable `require-padding'.
13449
13450 * tree-widget.el (widget-glyph-enable): Declare.
13451 (tree-widget-action): Mark unused parameter.
13452
13453 * w32-fns.el (x-get-selection): Mark unused parameter.
13454 (autoload-make-program, generated-autoload-file): Declare.
13455
13456 * wdired.el (wdired-revert): Mark unused parameters.
13457 (wdired-xcase-word): Remove unused variable `err'.
13458
13459 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13460 (whitespace-help-scroll): Remove unused variable `data-help'.
13461
13462 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13463 (widget-image-insert, widget-after-change, default)
13464 (widget-default-format-handler, widget-default-notify)
13465 (widget-default-prompt-value, widget-info-link-action)
13466 (widget-url-link-action, widget-function-link-action)
13467 (widget-variable-link-action, widget-file-link-action)
13468 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13469 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13470 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13471 (widget-insert-button-action, widget-delete-button-action, visibility)
13472 (widget-documentation-link-action, widget-documentation-string-action)
13473 (widget-const-prompt-value, widget-regexp-match, symbol)
13474 (widget-coding-system-prompt-value)
13475 (widget-key-sequence-value-to-external, sexp)
13476 (widget-sexp-value-to-internal, character, vector, cons)
13477 (widget-choice-prompt-value, widget-boolean-prompt-value)
13478 (widget-color--choose-action): Mark unused parameters.
13479 (widget-item-match-inline, widget-choice-match-inline)
13480 (widget-checklist-match, widget-checklist-match-inline)
13481 (widget-group-match): Rename parameter VALUES to VALS.
13482 (widget-field-value-set): Remove unused variable `size'.
13483 (widget-color-action): Remove unused variables `value' and `start'.
13484
13485 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13486 variable `dir'. Doc fix.
06b60517
JB
13487 (windmove-find-other-window): Don't pass it.
13488
13489 * window.el (count-windows): Mark unused parameter.
13490 (bw-adjust-window): Remove unused variable `err'.
13491
13492 * woman.el (woman-file-name): Remove unused variable `default'.
13493 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13494 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13495 (global-font-lock-mode): Declare.
13496 (woman-decode-region): Mark unused parameter.
13497 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13498
13499 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13500 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13501 (x-dnd-handle-moz-url): Remove unused variable `title'.
13502 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13503
13504 * xml.el (xml-parse-tag, xml-parse-attlist):
13505 Remove unused variable `pos'.
13506
bc4f7f3d
GM
135072011-04-19 Glenn Morris <rgm@gnu.org>
13508
13509 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13510 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13511 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13512 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13513 * calendar/cal-html.el (cal-html-insert-minical):
13514 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13515 (calendar-mark-date-pattern):
13516 Prefix "unused" locals.
13517
13518 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13519 optional argument `style'.
13520
13521 * calendar/appt.el (appt-make-list):
13522 * calendar/cal-china.el (calendar-chinese-date-string):
13523 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13524 (diary-hebrew-yahrzeit):
13525 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13526 * calendar/calendar.el (calendar-generate-window):
13527 * calendar/time-date.el (time-to-days):
13528 Remove unused local variables.
13529
16a43933
CY
135302011-04-18 Chong Yidong <cyd@stupidchicken.com>
13531
13532 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13533 glyphless-char-display table.
13534 (tabulated-list-glyphless-char-display): New var.
13535
7eed1860
SS
135362011-04-18 Sam Steingold <sds@gnu.org>
13537
13538 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13539 to acknowledgments.
13540
4d2d1ccd
GM
135412011-04-17 Glenn Morris <rgm@gnu.org>
13542
13543 * calendar/diary-lib.el (diary-sexp-entry):
13544 * calendar/holidays.el (holiday-sexp):
13545 Set debug-on-error rather than the removed stack-trace-on-error.
13546
239da61d
GM
135472011-04-16 Glenn Morris <rgm@gnu.org>
13548
13549 * progmodes/f90.el: Use lexical-binding.
13550 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13551
8b05752a
SM
135522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13553
daca8ba5
SM
13554 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13555 (mail-mode): Setup mailalias completion here instead.
13556 * mail/mailalias.el: Use lexical-binding.
13557 (pattern, mailalias-done): Declare dynamic.
13558 (mail-completion-at-point-function): New function, from mail-complete.
13559 (mail-complete): Use it.
13560 (mail-completion-expand): New function.
13561 (mail-get-names): Use it.
13562 (mail-directory, mail-directory-process, mail-directory-stream):
13563 Don't use `pattern' for lexically bound arg.
13564
6f542485
SM
13565 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13566
037e7c3f
SM
13567 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13568 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13569 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13570
8b05752a
SM
13571 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13572 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13573 (byte-interactive-p): Define them again, for use when inlining
13574 old code.
13575
49093f60
JB
135762011-04-15 Juanma Barranquero <lekktu@gmail.com>
13577
13578 * loadup.el: Use `string-to-number', not `string-to-int'.
13579
b5b8e7de
SM
135802011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13581
13582 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13583 gud-gdb-complete-command.
13584 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13585 (gud-gdb-completion-at-point): New function.
13586 (gud-gdb-completions): Remove.
13587
f42efeb5
MA
135882011-04-14 Michael Albinus <michael.albinus@gmx.de>
13589
49093f60
JB
13590 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13591 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13592 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13593 whether `executable-find' is bound.
f42efeb5
MA
13594
13595 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13596
e240cc21
SM
135972011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13598
13599 * minibuffer.el (completion-in-region-mode-predicate)
13600 (completion-in-region-mode--predicate): New vars.
13601 (completion-in-region, completion-in-region--postch)
13602 (completion-in-region-mode): Use them.
13603 (completion--capf-wrapper): Also return the hook function.
13604 (completion-at-point, completion-help-at-point):
13605 Adjust and provide a predicate.
c2bd2ab0
SM
13606
13607 Preserve arg names for advice of subr and lexical functions (bug#8457).
13608 * help-fns.el (help-function-arglist): Consolidate the subr and
13609 new-byte-code cases. Add argument `preserve-names' to extract names
13610 from the docstring when needed.
13611 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13612 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13613 (ad-arglist): Use help-function-arglist's new arg.
13614 (ad-definition-type): Use cond.
13615
c183f693
JB
136162011-04-13 Juanma Barranquero <lekktu@gmail.com>
13617
06641a47
JB
13618 * autorevert.el (auto-revert-handler):
13619 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13620 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13621 Don't quote lambda.
13622
c183f693
JB
13623 * image-mode.el (image-transform-set-scale):
13624 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13625
1e3b6001
G
136262011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13627
13628 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13629 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13630 Upgrades via gnutls-cli are too slow to be done opportunistically.
13631
2d6af8dd
JB
136322011-04-12 Juanma Barranquero <lekktu@gmail.com>
13633
13634 * dframe.el (dframe-current-frame): Remove spurious quote.
13635
c0749a51
GM
136362011-04-12 Glenn Morris <rgm@gnu.org>
13637
088d0d61
GM
13638 * calendar/cal-tex.el (cal-tex-end-document):
13639 Try to automatically use latin1 input if needed.
13640
c0749a51
GM
13641 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13642 Don't try to cons a mark onto an empty element.
13643
5c90fde0
LL
136442011-04-11 Leo Liu <sdl.web@gmail.com>
13645
13646 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13647 buffers.
13648 (ido-kill-buffer-at-head): Support killing virtual buffers.
13649
369e974d
CY
136502011-04-10 Chong Yidong <cyd@stupidchicken.com>
13651
13652 * minibuffer.el (completion-show-inline-help): New var.
13653 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13654 (minibuffer-force-complete, minibuffer-complete-word):
13655 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13656
13657 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13658 to avoid interference from inline help (Bug#5849).
13659
37f1c930
LL
136602011-04-10 Leo Liu <sdl.web@gmail.com>
13661
099c39a4
JB
13662 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13663 Fix typo.
37f1c930 13664
a32d4040
CY
136652011-04-09 Chong Yidong <cyd@stupidchicken.com>
13666
13667 * image-mode.el (image-toggle-display-image): Signal an error if
13668 not in Image mode.
13669 (image-transform-mode, image-transform-resize)
13670 (image-transform-set-rotation): Doc fix.
daca8ba5 13671 (image-transform-set-resize): Delete.
a32d4040
CY
13672 (image-transform-set-scale, image-transform-fit-to-height)
13673 (image-transform-fit-to-width): Handle image-toggle-display-image
13674 and image-transform-resize directly.
13675
099c39a4 136762011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13677
13678 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13679 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13680 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13681 (doc-view-mode-map): Add bindings for the new functions.
13682
099c39a4 136832011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13684
4d61f28d 13685 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13686 Fix typo in docstring.
13687
3726838a
EZ
136882011-04-08 Eli Zaretskii <eliz@gnu.org>
13689
04f33f1e
EZ
13690 * files.el (file-size-human-readable): Produce one digit after
13691 decimal, like "ls -lh" does.
13692
13693 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13694 the file size representation.
13695
3726838a
EZ
13696 * simple.el (list-processes): If async subprocesses are not
13697 available, error out with a clear error message.
13698
cbb59342
CY
136992011-04-08 Chong Yidong <cyd@stupidchicken.com>
13700
13701 * help.el (help-form-show): New function, to be called from C.
13702 Put help-form output in a buffer named differently than *Help*.
13703
e3971c44
EZ
137042011-04-08 Eli Zaretskii <eliz@gnu.org>
13705
13706 * files.el (file-size-human-readable): New function.
13707
13708 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13709 computing the representation inline. Don't require `cl'.
13710
12544bbe
GM
137112011-04-08 Glenn Morris <rgm@gnu.org>
13712
a1de6c6a
GM
13713 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13714
3c4671f4
GM
13715 * net/browse-url.el (browse-url-firefox):
13716 Test system-type, not system-configuration.
13717
b605679c
GM
13718 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13719 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13720 Use log-edit-empty-buffer-p. (Bug#7598)
13721
56442f0c
GM
13722 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13723 (rlogin-mode-map): Initialize in the defvar.
13724 (rlogin): Use ignore-errors.
13725
12544bbe
GM
13726 * replace.el (occur-mode-map): Some fixes for menu items.
13727
eb237b0f
AH
137282011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13729
13730 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13731
7d668f2c
CY
137322011-04-06 Chong Yidong <cyd@stupidchicken.com>
13733
e67a13ab
CY
13734 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13735 issuing unused warnings.
13736
13737 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13738 macro directly.
13739
7d668f2c
CY
13740 * simple.el: Lisp reimplement of list-processes. Based on an
13741 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13742 (process-menu-mode): New major mode.
13743 (list-processes--refresh, list-processes):
13744 (process-menu-visit-buffer): New functions.
13745
13746 * files.el (save-buffers-kill-emacs): Don't assume any return
13747 value of list-processes, which is undocumented anyway.
13748
a83ec3c9
CY
137492011-04-06 Chong Yidong <cyd@stupidchicken.com>
13750
13751 * emacs-lisp/tabulated-list.el: New file.
13752
e91a96fe
CY
13753 * emacs-lisp/package.el: Use Tabulated List mode.
13754 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13755 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13756 table format using Tabulated List mode variables.
13757 (package--push): New macro, replacing package-list-maybe-add.
13758 (package-menu--generate): Use package--push. Renamed from
13759 package--generate-package-list.
13760 (package-menu-refresh, list-packages): Use it.
daca8ba5 13761 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13762 Return insertion data instead of inserting it directly.
099c39a4
JB
13763 (package-menu-describe-package, package-menu-execute):
13764 Use tabulated-list-get-id.
e91a96fe
CY
13765 (package-menu-mark-delete, package-menu-mark-install)
13766 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13767 (package-menu-mark-obsolete-for-deletion):
13768 Use tabulated-list-put-tag.
e91a96fe
CY
13769 (package--list-packages, package-menu-revert)
13770 (package-menu-get-package, package-menu-get-version)
13771 (package-menu-sort-by-column): Functions deleted.
13772 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13773 (package-menu--status-predicate, package-menu--version-predicate)
13774 (package-menu--name-predicate)
13775 (package-menu--description-predicate): Handle arguments in the
13776 Tabulated List format.
13777 (package-list-packages-no-fetch): Call list-packages.
13778
3e214b50
JB
137792011-04-06 Juanma Barranquero <lekktu@gmail.com>
13780
13781 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 13782 (after-find-file): Don't bind it.
3e214b50
JB
13783 (revert-buffer-in-progress-p): New variable.
13784 (revert-buffer): Bind it.
13785 Pass nil for `after-find-file-from-revert-buffer'.
13786
13787 * saveplace.el (save-place-find-file-hook): Use new variable
13788 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13789
3f0f1700
GM
137902011-04-06 Glenn Morris <rgm@gnu.org>
13791
c0274801
GM
13792 * Makefile.in (AUTOGEN_VCS): New variable.
13793 (autoloads): Use $AUTOGEN_VCS.
13794
3f0f1700
GM
13795 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13796 * calendar/calendar.el (calendar-mode-map):
13797 Check for toolkit scroll bars. (Bug#8305)
13798
41ea9e48
CY
137992011-04-05 Chong Yidong <cyd@stupidchicken.com>
13800
13801 * minibuffer.el (completion-in-region--postch)
13802 (completion-in-region-mode): Remove unnecessary messages.
13803
6194c800
JB
138042011-04-05 Juanma Barranquero <lekktu@gmail.com>
13805
33256f14
JB
13806 * font-lock.el (font-lock-refresh-defaults):
13807 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13808 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13809
6194c800
JB
13810 * info.el (Info-directory-list, Info-read-node-name-2)
13811 (Info-split-parameter-string): Doc fixes.
13812 (Info-virtual-nodes): Reflow docstring.
13813 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13814 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13815 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13816 Fix typos in docstrings.
13817 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13818 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13819 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13820 (Info-restore-desktop-buffer): Mark unused parameters.
13821 (Info-directory-find-file, Info-directory-find-node)
13822 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13823 (Info-virtual-index-find-node, Info-apropos-find-file)
13824 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 13825 Mark unused parameters; fix typos in docstrings.
6194c800
JB
13826 (Info-virtual-index): Remove unused local variable `nodename'.
13827
b87a8200 138282011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 13829
b87a8200
DD
13830 * net/rcirc.el: Update my e-mail address.
13831 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 13832
3b2ff876
CY
138332011-04-05 Chong Yidong <cyd@stupidchicken.com>
13834
13835 * startup.el (command-line): Save the cursor's theme-face
13836 directly, instead of using face-override-spec.
13837
13838 * custom.el (load-theme): Minor optimization in assigning faces.
13839
8d17e7ca
JB
138402011-04-04 Juanma Barranquero <lekktu@gmail.com>
13841
13842 * help-fns.el (describe-variable): Complete all variables having
13843 documentation, including keywords.
13844 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13845
2fbc1934
JB
138462011-04-04 Juanma Barranquero <lekktu@gmail.com>
13847
13848 Convert to lexical-binding.
13849
13850 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13851 (bs--get-marked-string, bs--get-modified-string)
13852 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13853 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13854 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13855
13856 * ehelp.el (electric-help-execute-extended)
13857 (electric-help-ctrl-x-prefix):
13858 * hexl.el (hexl-revert-buffer-function):
13859 * linum.el (linum-after-change, linum-after-scroll):
13860 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13861
13862 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13863
74f50695
DU
138642011-04-04 Daiki Ueno <ueno@unixuser.org>
13865
13866 * epa-dired.el:
13867 * epa-mail.el:
13868 * epa-hook.el:
13869 * epa-file.el:
13870 * epa.el:
13871 * epg.el: Use lexical binding.
13872
c11325f7
CY
138732011-04-03 Chong Yidong <cyd@stupidchicken.com>
13874
0d9e9a12
CY
13875 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13876
c11325f7 13877 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
13878 dictionary case for flyspell-mark-duplications-exceptions.
13879 Use regexp matching for languages.
c11325f7
CY
13880 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13881 default dictionary (Bug#7926).
13882
da91b5f2
CY
138832011-04-02 Chong Yidong <cyd@stupidchicken.com>
13884
099c39a4
JB
13885 * emacs-lisp/package.el (package--with-work-buffer):
13886 Recognize https URLs.
da91b5f2 13887
099c39a4
JB
13888 * net/network-stream.el: Move from gnus/proto-stream.el.
13889 Change prefix to network-stream throughout.
da91b5f2
CY
13890 (open-protocol-stream): Merge into open-network-stream, leaving
13891 open-protocol-stream as an alias. Handle nil BUFFER args.
13892
13893 * subr.el (open-network-stream): Move to net/network-stream.el.
13894
afa8e9f6
GM
138952011-04-02 Glenn Morris <rgm@gnu.org>
13896
1d2e369d
GM
13897 * find-dired.el (find-exec-terminator): New option.
13898 (find-ls-option): Test for -ls support.
13899 (find-ls-subdir-switches): Test for -b in find-ls-option.
13900 (find-dired, find-grep-dired): Doc fixes.
13901 (find-dired): Use find-exec-terminator.
13902
8abb7da8 13903 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
13904 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13905 (find-name-arg): Remove purecopy.
8abb7da8 13906
f3ca7378
GM
13907 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13908 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13909 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13910 accordingly. Don't add the null-device if not needed.
13911
afa8e9f6
GM
13912 * files.el (save-some-buffers): Doc fix.
13913
35eae264
EZ
139142011-04-02 Eli Zaretskii <eliz@gnu.org>
13915
13916 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13917
26b51db5
JB
139182011-04-01 Juanma Barranquero <lekktu@gmail.com>
13919
13920 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13921 Use `dolist' rather than `mapcar'.
13922
7200d79c
SM
139232011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13924
03408648 13925 Add lexical binding.
7200d79c 13926
03408648
SM
13927 * subr.el (apply-partially): Use new closures rather than CL.
13928 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13929 (dolist, dotimes): Use slightly different expansion for lexical code.
13930 (functionp): Move to C.
13931 (letrec): New macro.
13932 (with-wrapper-hook): Use it and apply-partially instead of CL.
13933 (eval-after-load): Preserve lexical-binding.
13934 (save-window-excursion, with-output-to-temp-buffer): Turn them
13935 into macros.
7200d79c 13936
03408648
SM
13937 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13938
13939 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13940 than the arglist.
13941 (help-add-fundoc-usage): Don't add `Not documented'.
13942 (help-function-arglist): Handle closures, subroutines, and new
13943 byte-code-functions.
13944 (help-make-usage): Remove leading underscores.
13945 (describe-function-1): Handle closures.
13946 (describe-variable): Use special-variable-p for completion.
13947
13948 * files.el (lexical-binding): Declare safe.
f488fb65 13949
03408648
SM
13950 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13951 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13952 (pcase): Add `let' pattern.
13953 Change memoization so it actually works.
13954 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13955 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13956 <let>: New case.
f488fb65 13957
03408648
SM
13958 * emacs-lisp/macroexp.el: Use lexical binding.
13959 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13960 Don't convert ' to #' without checking that it's indeed quoting
13961 a lambda.
13962
13963 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 13964 Use eval-sexp-add-defvars.
03408648
SM
13965 (eval-sexp-add-defvars): New fun.
13966
13967 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13968
13969 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13970 Don't autoload.
13971 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13972 than the internal `byte-compile-lambda'.
13973 (defmethod): Don't hide code under quotes.
13974 (eieio-defmethod): New `code' argument.
13975
13976 * emacs-lisp/eieio-comp.el: Remove.
13977
13978 * emacs-lisp/edebug.el (edebug-eval-defun)
13979 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13980 (edebug-toggle): Avoid `eval'.
13981
13982 * emacs-lisp/disass.el (disassemble-internal): Handle new
13983 `closure' objects.
13984 (disassemble-1): Handle new byte codes.
13985
13986 * emacs-lisp/cl.el (pushnew): Silence warning.
13987
13988 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13989 (cl-byte-compile-throw): Remove.
13990 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13991
13992 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13993 closures.
13994
13995 * emacs-lisp/cconv.el: New file.
13996
13997 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13998 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13999 (byte-compile-initial-macro-environment):
14000 Handle declare-function here.
14001 (byte-compile--lexical-environment): New var.
14002 (byte-stack-ref, byte-stack-set, byte-discardN)
14003 (byte-discardN-preserve-tos): New lap codes.
14004 (byte-interactive-p): Don't use any more.
14005 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14006 New macros.
14007 (byte-compile-lapcode): Use them and handle new lap codes.
14008 (byte-compile-obsolete): Remove.
14009 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14010 (byte-compile-arglist-warn): Check late def of inlinable funs.
14011 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14012 since they should have been expanded by now.
14013 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14014 (byte-compile-from-buffer): Remove unused second arg.
14015 (byte-compile-preprocess): New function.
14016 (byte-compile-toplevel-file-form): New function to distinguish
14017 file-form calls from outside from file-form calls from hunk-handlers.
14018 (byte-compile-file-form): Simplify.
14019 (byte-compile-file-form-defsubst): Remove.
14020 (byte-compile-file-form-defmumble): Simplify now that
14021 byte-compile-lambda always returns a byte-code-function.
14022 (byte-compile): Preprocess.
14023 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14024 Remove, not used any more.
14025 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14026 (byte-compile-make-args-desc): New funs.
14027 (byte-compile-lambda): Handle lexical functions. Always return
14028 a byte-code-function.
14029 (byte-compile-reserved-constants): New var, to make up room for
14030 closed-over variables.
14031 (byte-compile-constants-vector): Obey it.
14032 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14033 (byte-compile-macroexpand-declare-function): New function.
14034 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14035 byte-code-functions.
14036 (byte-compile-form): Check obsolescence here.
14037 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14038 (byte-compile-variable-ref): Remove.
14039 (byte-compile-dynamic-variable-op): New fun.
14040 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14041 (byte-compile-variable-set): New funs.
14042 (byte-compile-discard): Add 2 args.
14043 (byte-compile-stack-ref, byte-compile-stack-set)
14044 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14045 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14046 macroexpand-all instead.
14047 (byte-compile-quote-form): Remove.
14048 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14049 (byte-compile-bind, byte-compile-unbind): New funs.
14050 (byte-compile-let): Handle let* and lexical binding.
14051 (byte-compile-let*): Remove.
14052 (byte-compile-catch, byte-compile-unwind-protect)
14053 (byte-compile-track-mouse, byte-compile-condition-case):
14054 Handle a new :fun-body form, used for lexical scoping.
14055 (byte-compile-save-window-excursion)
14056 (byte-compile-with-output-to-temp-buffer): Remove.
14057 (byte-compile-defun): Simplify.
14058 (byte-compile-stack-adjustment): New fun.
14059 (byte-compile-out): Use it.
14060 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14061
14062 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14063 handler any more.
14064
14065 * emacs-lisp/byte-opt.el: Use lexical binding.
14066 (byte-inline-lapcode): Remove (to bytecomp).
14067 (byte-compile-inline-expand): Pay attention to inlining to/from
14068 lexically bound code.
14069 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14070 any more.
14071 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14072 any more and don't call compiler-macros.
14073 (byte-compile-splice-in-already-compiled-code): Remove.
14074 (byte-code): Don't inline any more.
14075 (disassemble-offset): Receive `bytes' as argument rather than via
14076 dynamic scoping.
14077 (byte-compile-tag-number): Declare before first use.
14078 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14079 `return' even if make-spliceable.
14080 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14081 obsolete interactive-p.
14082 (byte-optimize-lapcode): Optimize new lap-codes.
14083 Don't trip up on new form of `byte-constant' lap code.
14084
14085 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14086
14087 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14088
14089 * custom.el (custom-initialize-default, custom-declare-variable):
14090 Use `defvar'.
14091
14092 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14093 New variables.
14094 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14095 (COMPILE_FIRST): Add macroexp and cconv.
14096 * makefile.w32-in: Mirror changes in Makefile.in.
14097
14098 * vc/cvs-status.el:
14099 * vc/diff-mode.el:
14100 * vc/log-edit.el:
14101 * vc/log-view.el:
14102 * vc/smerge-mode.el:
14103 * textmodes/bibtex-style.el:
14104 * textmodes/css.el:
14105 * startup.el:
14106 * uniquify.el:
da91b5f2
CY
14107 * minibuffer.el:
14108 * newcomment.el:
14109 * reveal.el:
14110 * server.el:
14111 * mpc.el:
14112 * emacs-lisp/smie.el:
14113 * doc-view.el:
14114 * dired.el:
03408648
SM
14115 * abbrev.el: Use lexical binding.
14116
0f0c1f27
EZ
141172011-04-01 Eli Zaretskii <eliz@gnu.org>
14118
14119 * info.el (info-display-manual): New function.
14120
c82b2579
SM
141212011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14124
221ddf68
TH
141252011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14126
14127 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14128 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14129
cba6e77e
GM
141302011-03-31 Glenn Morris <rgm@gnu.org>
14131
e040639f
GM
14132 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14133
cba6e77e
GM
14134 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14135
6d0f1c9e
CS
141362011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14137
14138 * progmodes/python.el (python-default-interpreter)
14139 (python-python-command-args, python-jython-command-args)
14140 (python-which-shell, python-which-args, python-which-bufname)
14141 (python-file-queue, python-comint-output-filter-function)
14142 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14143 variables and functions.
14144
3e2d70fd
SM
141452011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14146
14147 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14148 (completion-in-region-mode): New minor mode.
14149 (completion-in-region): Use it.
14150 (completion-in-region--data, completion-in-region-mode-map): New vars.
14151 (completion-in-region--postch): New function.
14152 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14153 New vars.
14154 (completion--capf-wrapper): New function.
14155 (completion-at-point): Use it to track well-behavedness of
14156 hook functions.
14157 (completion-help-at-point): New command.
14158
f3e4086c
JM
141592011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14160
14161 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14162 syntax class to search for whitespace on a single line
14163 (Message-ID: <4D938140.4030905@redhat.com>).
14164
eb7ffc14
LL
141652011-03-30 Leo Liu <sdl.web@gmail.com>
14166
14167 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14168 New commands.
14169 (edit-abbrevs-map): Bind them here.
14170 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14171
d806ab68
KM
141722011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14173
14174 * allout.el (allout-hide-by-annotation, allout-flag-region):
14175 Reduce possibility of overlay leakage by making them volatile.
14176
14177 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14178 hash is not shared between buffers. Mode initialization is
14179 responsible for giving it a useful starting value.
14180 (allout-item-span): Reduce possibility of overlay leakage by
14181 making them volatile.
14182 (allout-widgets-count-buttons-in-region): Add diagnostic function
14183 for tracking down button overlay leaks.
14184
ea622834
LL
141852011-03-29 Leo Liu <sdl.web@gmail.com>
14186
14187 * ido.el (ido-read-internal): Use the default history var
14188 minibuffer-history if no HISTORY is specified.
14189
b62f8267
G
141902011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14191
03408648
SM
14192 * net/imap.el (imap-shell-open, imap-process-connection-type):
14193 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14194 Kerberos, SSL, other subprocesses.
14195
947b6566
LL
141962011-03-28 Leo Liu <sdl.web@gmail.com>
14197
14198 * abbrev.el (abbrev-table-empty-p): New function.
14199 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14200 nonempty ones. (Bug#5937)
14201
5ffb62aa
JD
142022011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14203
14204 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14205
7a097943
LL
142062011-03-27 Leo Liu <sdl.web@gmail.com>
14207
14208 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14209 for foreground and background colors.
14210 (ansi-color-make-color-map): Adapt.
14211
c5b40130
LL
142122011-03-25 Leo Liu <sdl.web@gmail.com>
14213
1f48f7d2
LL
14214 * midnight.el (midnight-time-float): Remove. Note it calculates
14215 the microsecond component incorrectly and seconds-to-time does the
14216 same job.
625897ec 14217 Remove redundant (require 'timer).
1f48f7d2 14218
c5b40130
LL
14219 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14220 (ido-completions): Remove unused arguments. (Bug#8329)
14221
d86d2721
SM
142222011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14223
14224 * minibuffer.el (completion--flush-all-sorted-completions):
14225 Remove itself from hook.
14226 (completion-at-point): Let the functions perform the completion
14227 immediately and return nil or t.
14228 * comint.el (comint-dynamic-complete-functions): Now identical to
14229 completion-at-point-functions.
14230 (comint-dynamic-list-input-ring): Remove unused var `index'.
14231 (comint--match-partial-filename, comint--unquote&expand-filename):
14232 New funs, split from comint-match-partial-filename.
14233 (comint-dynamic-complete): Use completion-at-point.
14234 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14235
e8974c48
DA
142362011-03-24 Drew Adams <drew.adams@oracle.com>
14237
14238 * thingatpt.el: Support `defun'.
14239
def71b5e
LL
142402011-03-23 Leo Liu <sdl.web@gmail.com>
14241
cb5af48e
LL
14242 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14243
def71b5e
LL
14244 * help-mode.el (help-mode-finish): Tweak regexp.
14245
927c53e7
GM
142462011-03-23 Glenn Morris <rgm@gnu.org>
14247
18d05bed
GM
14248 * eshell/esh-opt.el (eshell-eval-using-options):
14249 Do not bind unused local variable `eshell-option-stub'.
14250
927c53e7
GM
14251 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14252
9d0da923
JB
142532011-03-22 Juanma Barranquero <lekktu@gmail.com>
14254
14255 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14256 keymap variable in `with-no-warnings' to avoid a warning when the
14257 keymap has been already `defconst'ed.
14258
4b978a67
LL
142592011-03-22 Leo Liu <sdl.web@gmail.com>
14260
14261 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14262 encode all chars in abbrevs; otherwise use emacs-mule or
14263 utf-8-emacs. (Bug#8308)
14264
5fd62452
JB
142652011-03-22 Juanma Barranquero <lekktu@gmail.com>
14266
0b1596c6
JB
14267 * simple.el (backward-delete-char-untabify):
14268 Avoid warning about using `delete-backward-char'.
14269
5fd62452
JB
14270 * image.el (image-type-file-name-regexps): Make it variable.
14271 `imagemagick-register-types' modifies it, and the user may want
14272 to add new extensions for known image types.
14273 (imagemagick-register-types): Throw error if not using ImageMagick.
14274
0b4e93f1
LL
142752011-03-22 Leo Liu <sdl.web@gmail.com>
14276
14277 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14278 located before rcirc-prompt-end-marker.
14279 (rcirc-complete): Error if point is not after rcirc prompt.
14280 Handle the case when table is nil.
9882e214 14281 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14282
fccee4ab
CY
142832011-03-22 Chong Yidong <cyd@stupidchicken.com>
14284
14285 * custom.el (custom--inhibit-theme-enable): Make it affect only
14286 custom-theme-set-variables and custom-theme-set-faces.
14287 (provide-theme): Ignore custom--inhibit-theme-enable.
14288 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14289 (custom-enabling-themes): Delete variable.
d86d2721
SM
14290 (enable-theme): Accept only loaded themes as arguments.
14291 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14292 (custom-enabled-themes): Forbid themes from setting this.
14293 Eliminate use of custom-enabling-themes.
14294 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14295
af896da6
LL
142962011-03-21 Leo Liu <sdl.web@gmail.com>
14297
14298 * ido.el (ido-read-internal): Add ido-selected to history instead
14299 of user input.
14300
78f64af0
SM
143012011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14302
14303 * subr.el (deferred-action-list, deferred-action-function):
14304 Mark obsolete.
14305
b16ac1ec
LL
143062011-03-21 Leo Liu <sdl.web@gmail.com>
14307
810f7698
LL
14308 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14309 change on 2011-02-13 (bug#8309).
14310
b16ac1ec
LL
14311 * minibuffer.el (read-file-name-function): Change default value.
14312 (read-file-name--defaults): Rename from read-file-name-defaults.
14313 (read-file-name-default): Rename from read-file-name.
14314 (read-file-name): Call read-file-name-function.
14315
4e05e67e
GM
143162011-03-21 Glenn Morris <rgm@gnu.org>
14317
14318 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14319 Doc fixes.
14320
4359915b
CY
143212011-03-21 Chong Yidong <cyd@stupidchicken.com>
14322
14323 * cus-theme.el: Add missing provide statement.
14324 (customize-create-theme): Extract theme value correctly.
14325 (custom-theme-visit-theme): Autoload.
14326 (customize-create-theme): Prompt before inserting default faces.
14327
1fe275ee
JB
143282011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14329
14330 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14331 units and musical notes.
14332
cd394be1 143332011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14334
14335 * ido.el (ido-read-internal): Use completing-read-default.
14336 (ido-completing-read): Fix compatibility with completing-read.
14337
7d476bde
CO
143382011-03-20 Christian Ohler <ohler@gnu.org>
14339
14340 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14341 (ert-delete-all-tests): Use `called-interactively-p' rather than
14342 `interactive-p'.
14343 (ert--make-xrefs-region): Respect END.
14344
fe0fb33e
CY
143452011-03-19 Chong Yidong <cyd@stupidchicken.com>
14346
ff854b0b
CY
14347 * dired-aux.el (dired-create-directory): Signal an error if the
14348 directory already exists (Bug#8246).
14349
fe0fb33e
CY
14350 * facemenu.el (list-colors-display): Call list-faces-display
14351 inside with-help-window.
14352 (list-colors-print): Use display property to align the final
14353 column, instead of checking window-width.
14354
576bce32
EZ
143552011-03-19 Eli Zaretskii <eliz@gnu.org>
14356
4d61f28d 14357 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14358 windows-nt systems.
14359 (emerge-protect-metachars): Quote correctly for ms-dos and
14360 windows-nt systems.
14361
89c41d68 143622011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14363
14364 * info.el (info-initialize): Replace all uses of `:' with
14365 path-separator for compatibility with non-Unix systems.
14366 Cache quoting of path-separator. (Bug#8258)
14367
b14e3e21 143682011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14369
14370 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14371 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14372 (mouse-avoidance-mode): Fix typos in docstrings.
14373
4525ce3e
CY
143742011-03-19 Chong Yidong <cyd@stupidchicken.com>
14375
14376 * startup.el (package-subdirectory-regexp): Move from package.el.
14377 Omit \\` and \\', and let callers add them.
14378
14379 * emacs-lisp/package.el (package-strip-version)
14380 (package-load-all-descriptors): Add \\` and \\' to
14381 package-subdirectory-regexp before using it.
14382 (package-untar-buffer): New arg DIR; ensure that file untars only
14383 into this expected directory. Remove superfluous delete-region.
14384 (package-unpack): Caller changed.
14385 (package-tar-file-info): Use package-subdirectory-regexp.
14386
a904a09a 143872011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14388
a904a09a
SM
14389 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14390 diff-mode-shared-map (bug#8284).
14391 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14392
143932011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14394
14395 * calendar/time-date.el (format-seconds): Use assoc instead of
14396 assoc-string, since assoc-string doesn't exist in XEmacs.
14397
171fc304
JB
143982011-03-17 Juanma Barranquero <lekktu@gmail.com>
14399
14400 * custom.el (custom-known-themes): Reflow docstring.
14401 (custom-theme-load-path): Fix typo in docstring.
14402 (load-theme): Fix typo in error message.
14403 (custom-available-themes, custom-variable-theme-value):
14404 Use `let', not `let*'.
14405
d71990a1
JB
144062011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14407
14408 * calc/README: Mention inclusion of musical notes.
14409
14410 * calc/calc-units.el (calc-lu-quant): Rename from
14411 `calc-logunits-quantity'.
14412 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14413 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14414 (calc-db): Rename from `calc-dblevel'.
14415 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14416 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14417 (calc-np): Rename from `calc-nplevel'.
14418 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14419 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14420 (calc-lu-plus): Rename from `calc-logunits-add'.
14421 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14422 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14423 (calc-lu-minus): Rename from `calc-logunits-sub'.
14424 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14425 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14426 (calc-lu-times): Rename from `calc-logunits-mul'.
14427 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14428 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14429 (calc-lu-divide): Rename from `calc-logunits-div'.
14430 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14431 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14432
14433 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14434 functions being autoloaded.
14435
14436 * calc/calc.el (calc-lu-power-reference): Rename from
14437 `calc-logunits-power-reference'.
14438 (calc-lu-field-reference): Rename from
14439 `calc-logunits-field-reference'.
14440
7a71b18d
GM
14441 * calc/calc-help.el (calc-l-prefix-help):
14442 Mention musical note functions.
d71990a1 14443
40c2934b
SM
144442011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14445
14446 * minibuffer.el (completion-all-sorted-completions):
14447 Use :completion-cycle-penalty text property if present.
14448
b0911414
KM
144492011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14450
14451 * allout.el (allout-yank-processing): Adjust for new rebulleting
14452 regime so bullet being yanked is used without prompting the user
14453 for a choice.
14454
8a05b668
JB
144552011-03-16 Juanma Barranquero <lekktu@gmail.com>
14456
14457 * startup.el (command-line): Warn the user that _emacs is deprecated.
14458
5ba5fb81
JB
144592011-03-16 Juanma Barranquero <lekktu@gmail.com>
14460
14461 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14462 (delphi-verbose, delphi-comment-face, delphi-string-face)
14463 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14464 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14465 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14466 (delphi-new-comment-line, delphi-font-lock-defaults)
14467 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14468 Fix typos in docstrings.
14469
2dab465b
KM
144702011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14471
5ba5fb81 14472 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14473 Invert the roles of character and string values for INSTEAD, so a
14474 string is used for the more common case of a defaulting prompt.
14475
0adf5618
SM
144762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14477
14478 * progmodes/ruby-mode.el (ruby-backward-sexp):
14479 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14480 * play/gamegrid.el (gamegrid-make-face):
14481 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14482 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14483 * notifications.el (notifications-notify):
14484 * net/xesam.el (xesam-search-engines):
14485 * net/quickurl.el (quickurl-list-insert):
14486 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14487
d72700e5
CY
144882011-03-15 Chong Yidong <cyd@stupidchicken.com>
14489
14490 * startup.el (command-line): Update package subdirectory regexp.
14491
49c5410a
SM
144922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14493
c6eee9aa
SM
14494 * allout.el (allout-abbreviate-flattened-numbering)
14495 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14496
49c5410a
SM
14497 * subr.el (read-char-choice): Only show the cursor after the prompt,
14498 not after the answer.
14499
047b2bb9
KR
145002011-03-15 Kevin Ryde <user42@zip.com.au>
14501
14502 * help-fns.el (variable-at-point): Skip leading quotes, if any
14503 (bug#8253).
14504
0a57d256
SM
145052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14506
14507 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14508 warning message.
14509
77c992bc
MA
145102011-03-14 Michael Albinus <michael.albinus@gmx.de>
14511
14512 * shell.el (shell): When called interactively, offer to change the
14513 shell file name on remote hosts.
14514
eebc475d
TZ
145152011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14516
14517 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14518 integration for LDAP parameters. The host, base, user or binddn,
14519 and secret tokens can be specified in a netrc file, for instance.
14520 This is optional because an `auth-source' parameter must be
14521 specified in the search attributes.
14522
9d05d1ba
JB
145232011-03-13 Juanma Barranquero <lekktu@gmail.com>
14524
14525 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14526
09d9db2c
GM
145272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14528
14529 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14530 into declaration. Remove redundant and harmful binding.
14531
145322011-03-12 Eli Zaretskii <eliz@gnu.org>
14533
14534 * files.el (file-ownership-preserved-p): Pass `integer' as an
14535 explicit 2nd argument to `file-attributes'. If the file's owner
14536 is the Administrators group on Windows, and the current user is
14537 Administrator, consider that a match.
14538
14539 * server.el (server-ensure-safe-dir): Consider server directory
14540 safe on MS-Windows if its owner is the Administrators group while
14541 the current Emacs user is Administrator. Use `=' to compare
14542 numerical UIDs, since they could be integers or floats.
14543
219bd536
JB
145442011-03-12 Juanma Barranquero <lekktu@gmail.com>
14545
14546 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14547
f3afd36b
MA
145482011-03-12 Michael Albinus <michael.albinus@gmx.de>
14549
14550 Sync with Tramp 2.2.1.
14551
14552 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14553
14554 * net/trampver.el: Update release number.
14555
3aaaa6f1
SM
145562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14557
94642599
SM
14558 * progmodes/compile.el (compilation--previous-directory): Fix up
14559 various nil/dead-marker mismatches (bug#8014).
14560 (compilation-directory-properties, compilation-error-properties):
14561 Don't call it at a position past the one we're about to change.
14562
3aaaa6f1
SM
14563 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14564 Disable obsolescence warnings in the file that declares it.
14565
14239447
KM
145662011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14567
099c39a4
JB
14568 * allout-widgets.el (allout-widgets-tally):
14569 Initialize allout-widgets-tally as a hash table rather than nil to
14570 prevent mode-line redisplay warnings. Also, clarify the module
14571 description and fix a comment typo.
14239447 14572
135e287c
JB
145732011-03-11 Juanma Barranquero <lekktu@gmail.com>
14574
14575 * help-fns.el (describe-variable): Don't complete keywords.
14576 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14577
ffbf300e
CY
145782011-03-10 Chong Yidong <cyd@stupidchicken.com>
14579
ba08b241
CY
14580 * emacs-lisp/package.el (package-version-join): Impose a standard
14581 string representation for pre/alpha/beta version lists.
14582 (package-unpack-single): Standardize the directory name by passing
14583 it through package-version-join.
14584 (package-strip-rcs-id): Accept any version string that does not
14585 signal an error in version-to-list.
ffbf300e 14586
f346fd6b
MA
145872011-03-10 Michael Albinus <michael.albinus@gmx.de>
14588
14589 * simple.el (delete-trailing-whitespace): Return nil for the
14590 benefit of `write-file-functions'.
14591
ccb55d27
GM
145922011-03-10 Glenn Morris <rgm@gnu.org>
14593
5ceaac0c
GM
14594 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14595
02da65ff
GM
14596 * vc/vc-git.el (vc-git-program): New option.
14597 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14598 (vc-git--call): Use it.
14599
b2f603cc
GM
14600 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14601
5772caab
GM
14602 * cus-edit.el (Custom-newline): If no button at point, look
14603 for a subgroup button at start-of-line. (Bug#2298)
14604
ccb55d27
GM
14605 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14606
ec6ecaed
JD
146072011-03-10 Julien Danjou <julien@danjou.info>
14608
14609 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14610 `cursor-type' is nil.
14611
9d5aa01d
JB
146122011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14613
14614 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14615
b6a5875b
KM
146162011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14617
7a71b18d 14618 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14619 preserves the existing header prefix, rebulleting it if necessary,
14620 rather than replacing it. This is necessary for proper operation
14621 of cooperative addons like allout-widgets.
1154d12e
JB
14622 (allout-make-topic-prefix, allout-rebullet-heading):
14623 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14624 value as alternate bullet to be used, instead of prompting the user
14625 for a bullet character.
b6a5875b 14626
ee545c35
MA
146272011-03-09 Michael Albinus <michael.albinus@gmx.de>
14628
d86d2721
SM
14629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14630 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14631 `tramp-default-port'.
14632
c47971d7
DD
146332011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14634
14635 * net/rcirc.el (rcirc-handler-001): Remove useless
14636 with-rcirc-process-buffer.
14637 (rcirc-check-auth-status): Swap arguments to string-match.
14638
13522cb4
GM
146392011-03-09 Glenn Morris <rgm@gnu.org>
14640
0be6f4f1
GM
14641 * shell.el (shell-mode):
14642 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14643
13522cb4
GM
14644 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14645 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14646
515de2e3
CY
146472011-03-08 Chong Yidong <cyd@stupidchicken.com>
14648
14649 * emacs-lisp/package.el (package-refresh-contents)
14650 (package-menu-execute): Use condition-case-no-debug.
14651
b511b994
MA
146522011-03-08 Michael Albinus <michael.albinus@gmx.de>
14653
14654 * simple.el (shell-command-to-string): Use `process-file'.
14655
14656 * emacs-lisp/package.el (package-tar-file-info): Handle also
14657 remote files.
14658
d86d2721
SM
14659 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14660 Use `equal' for upload base check.
b511b994 14661
25bbfb31
AM
146622011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14663
14664 * textmodes/texinfo.el (texinfo-environments):
14665 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14666
be996521
GM
146672011-03-08 Glenn Morris <rgm@gnu.org>
14668
e9c8529f
GM
14669 * cus-start.el (cursor-in-non-selected-windows):
14670 Fix :set quoting oddness. (Bug#8192)
14671
be996521
GM
14672 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14673 in some setf expressions. (Bug#2159)
14674
2bb5649e
CY
146752011-03-08 Chong Yidong <cyd@stupidchicken.com>
14676
14677 * custom.el (custom-available-themes): Return themes in
14678 alphabetical order.
14679
33383987 14680See ChangeLog.15 for earlier changes.
e3d51b27
MR
14681
14682;; Local Variables:
14683;; coding: utf-8
e3d51b27
MR
14684;; End:
14685
acaf905b 14686 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14687
14688 This file is part of GNU Emacs.
14689
14690 GNU Emacs is free software: you can redistribute it and/or modify
14691 it under the terms of the GNU General Public License as published by
14692 the Free Software Foundation, either version 3 of the License, or
14693 (at your option) any later version.
14694
14695 GNU Emacs is distributed in the hope that it will be useful,
14696 but WITHOUT ANY WARRANTY; without even the implied warranty of
14697 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14698 GNU General Public License for more details.
14699
14700 You should have received a copy of the GNU General Public License
14701 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.